/* ============================================
   فوتر اختصاصی Luxury Lady
   ============================================ */

/* فوتر پیش‌فرض Hello/المنتور دیگر چاپ نمی‌شود؛ اگر افزونه‌ای چاپش کرد، پنهان */
#site-footer.site-footer { display: none !important; }

.ll-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px clamp(16px, 4vw, 60px) 26px;
  background: #040B08;
  border-top: 1px solid rgba(199, 164, 106, .12);
  color: rgba(245, 240, 232, .7);
  font-family: var(--font-body);
  direction: rtl;
}
.ll-footer a { text-decoration: none; }


/* ردیف بالا: خبرنامه (راست) + لوگو (چپ) */
.ll-footer__top {
  max-width: 1200px;
  margin: 0 auto;
  /* همان چهار ستونِ پایین، تا خبرنامه با ستون اول (گالری) و لوگو با ستون آخر (ارتباط با ما) هم‌خط باشد */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 40px 30px;
}
.ll-footer__top .ll-sub { grid-column: 1 / span 2; margin: 0; max-width: 560px; text-align: right; justify-self: start; }
.ll-footer__top .ll-footer__brand { grid-column: 4; justify-self: start; margin: 0; }
.ll-footer__top .ll-sub__note { text-align: right; }

.ll-footer__brand {
  /* گنبد نور به اندازه‌ی لوگو و نوشته */
  width: max-content;
  margin: 0 auto;
  padding: 10px 18px 4px;
  text-align: center;
  --dome-x: 34px;
  --dome-top: 46px;
  --dome-bottom: 30px;
  --dome-curve: 52%;
  --dome-a: .15;
}
.ll-footer__logo { display: inline-block; }
.ll-footer__logo img {
  display: block;
  width: 86px;
  height: auto;
  opacity: .92;
  transition: opacity .5s var(--lux-transition);
}
.ll-footer__logo:hover img { opacity: 1; }
.ll-footer__tagline {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  background: linear-gradient(180deg, #F6E7C3, #B48F55);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- خبرنامه ---------- */
.ll-sub {
  max-width: 560px;
  margin: 56px auto 0;
  text-align: center;
}
.ll-sub__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--lux-champagne);
}
.ll-sub__text { margin: 8px 0 18px; font-size: 14px; font-weight: 300; color: rgba(245, 240, 232, .6); }
.ll-sub__form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(199, 164, 106, .22);
  border-radius: 999px;
  background: rgba(6, 19, 13, .7);
  transition: border-color .4s var(--lux-transition), box-shadow .4s;
}
.ll-sub__form:focus-within { border-color: rgba(199, 164, 106, .6); box-shadow: 0 0 0 4px rgba(199, 164, 106, .08); }
.ll-sub__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 18px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--lux-ivory) !important;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none !important;
  box-shadow: none !important;
  text-align: right;
}
.ll-sub__input::placeholder { color: rgba(245, 240, 232, .35); }
.ll-sub .ll-sub__btn { min-height: 44px; padding: 0 26px; flex: 0 0 auto; cursor: pointer; }
.ll-sub__form.is-loading .ll-sub__btn { opacity: .6; pointer-events: none; }
.ll-sub__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ll-sub__msg { min-height: 1.6em; margin: 10px 0 0; font-size: 13px; color: var(--lux-champagne); }
.ll-sub__msg.is-error { color: #E3A9A0; }
.ll-sub__note { margin: 0; font-size: 11.5px; color: rgba(245, 240, 232, .35); }

.ll-footer__cols {
  max-width: 1200px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 30px;
}
.ll-footer__col h2 {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: rgba(199, 164, 106, .85);
}
.ll-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ll-footer__col li { margin: 0 0 11px; }
.ll-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(245, 240, 232, .68) !important;
  transition: color .4s var(--lux-transition), transform .4s var(--lux-transition);
}
.ll-footer__col a:hover,
.ll-footer__col a:focus-visible {
  color: var(--lux-champagne) !important;
  transform: translateX(-3px);
}
.ll-footer__contact svg { width: 18px; height: 18px; color: var(--lux-gold); flex: 0 0 auto; }

.ll-footer__bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(199, 164, 106, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ll-footer__copy { margin: 0; font-size: 12.5px; color: rgba(245, 240, 232, .5); }
.ll-footer__mark {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 10.5px;
  letter-spacing: .32em;
  color: rgba(199, 164, 106, .6);
  direction: ltr;
}
.ll-footer__badges { display: flex; gap: 12px; align-items: center; }
.ll-footer__badges img { max-height: 72px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }

/* صفحه‌ی محصول: فضای نوار ثابت پایین */
body.single-product .ll-footer { padding-bottom: 100px; }

@media (max-width: 900px) {
  .ll-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-footer__top { grid-template-columns: 1fr; justify-items: center; }
  .ll-footer__top .ll-footer__brand { order: -1; grid-column: auto; justify-self: center; }
  .ll-footer__top .ll-sub { grid-column: auto; text-align: center; justify-self: stretch; margin: 0 auto; }
  .ll-footer__top .ll-sub__note { text-align: center; }
}
@media (max-width: 520px) {
  .ll-footer { padding-top: 76px; }
  .ll-footer__cols { gap: 34px 20px; margin-top: 50px; }
  .ll-footer__bottom { flex-direction: column; text-align: center; }
}
