/* ============================================
   صفحه‌ی محصول
   قالب: woocommerce/content-single-product.php
   موتیف: «اسپات‌لایت» — همان نور نوار دسته‌های فروشگاه؛
   عکس فعال روشن است و بقیه در سایه.
   ============================================ */

/* چیدمان قدیمی woocommerce.css برای این صفحه خنثی می‌شود */
.single-product div.product.ll-pdp {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0;
}

body.single-product.ll-pad-top .site-main,
body.single-product.ll-pad-top main {
  padding-top: 118px !important;
}
@media (max-width: 780px) {
  body.single-product.ll-pad-top .site-main,
  body.single-product.ll-pad-top main { padding-top: 84px !important; }
}

/* ============================================
   بخش بالا: گالری (راست) + اطلاعات (چپ)
   ============================================ */

.ll-pdp-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 56px) clamp(48px, 6vw, 88px);
  box-sizing: border-box;
}

/* ---------- گالری ---------- */

.ll-pdp-gallery {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: sticky;
  top: 100px;
}

/* عکس‌های کوچک: ستون عمودی سمت راست عکس اصلی */
.ll-pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 62px;
  max-height: min(78vh, 720px);
  overflow-y: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.ll-pdp-thumbs::-webkit-scrollbar { display: none; }

.ll-pdp-thumbs__btn {
  position: relative;
  isolation: isolate;
  display: block;
  width: 62px;
  aspect-ratio: 4 / 5;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  overflow: hidden;
  cursor: pointer;
  background: #06130D !important;
  -webkit-tap-highlight-color: transparent;
}

.ll-pdp-thumbs__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* خاموش: در سایه */
  filter: brightness(0.32) saturate(0.55);
  transform: scale(1.02);
  transition: filter 0.6s var(--lux-transition), transform 0.8s var(--lux-transition);
}

/* مخروط نور که از بالا روی عکس می‌تابد */
.ll-pdp-thumbs__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% -10%, rgba(240,220,174,0.38) 0%, rgba(240,220,174,0.08) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* لبه‌ی نور (قاب) */
.ll-pdp-thumbs__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(199,164,106,0.12);
  transition: box-shadow 0.5s ease;
  pointer-events: none;
}

.ll-pdp-thumbs__btn:hover img,
.ll-pdp-thumbs__btn:focus-visible img { filter: brightness(0.7) saturate(0.85); }
.ll-pdp-thumbs__btn:hover::before,
.ll-pdp-thumbs__btn:focus-visible::before { opacity: 0.6; }

/* روشن: عکس انتخاب‌شده زیر نور */
.ll-pdp-thumbs__btn.is-active img { filter: brightness(1.05) saturate(1); transform: scale(1); }
.ll-pdp-thumbs__btn.is-active::before { opacity: 1; }
.ll-pdp-thumbs__btn.is-active::after {
  box-shadow: inset 0 0 0 1px rgba(199,164,106,0.75), 0 0 22px -4px rgba(240,220,174,0.35);
}

/* عکس اصلی */
.ll-pdp-frame {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #08170F;
  box-shadow: 0 0 0 1px rgba(199,164,106,0.14), 0 40px 80px -40px rgba(0,0,0,0.9);
}

.ll-pdp-frame__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.ll-pdp-frame__track::-webkit-scrollbar { display: none; }
.ll-pdp-frame__track:focus-visible { box-shadow: inset 0 0 0 1px var(--lux-gold); }

.ll-pdp-frame__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 760px);
}

.ll-pdp-frame__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.ll-pdp-dots { display: none; }

/* دکمه‌ی بزرگ‌نمایی روی عکس اصلی */
.ll-pdp-frame__track { cursor: zoom-in; }

.ll-pdp-zoom {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(199,164,106,0.35) !important;
  background: rgba(6,19,13,0.55) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--lux-silver) !important;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.ll-pdp-zoom svg { width: 20px; height: 20px; }
.ll-pdp-zoom:hover,
.ll-pdp-zoom:focus-visible { border-color: var(--lux-gold) !important; color: var(--lux-gold) !important; }

/* ---------- نمایشگر تمام‌صفحه (بزرگ‌نمایی) ---------- */
.ll-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #040C08;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.ll-lightbox.is-open { opacity: 1; visibility: visible; }

.ll-lightbox__stage {
  direction: ltr;
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  touch-action: manipulation;
}
.ll-lightbox.is-zoomed .ll-lightbox__stage {
  overflow: auto;
  display: block;
  cursor: zoom-out;
  -webkit-overflow-scrolling: touch;
}

.ll-lightbox__img {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.ll-lightbox.is-zoomed .ll-lightbox__img {
  max-width: none;
  max-height: none;
  width: 220%;
  margin: 0 auto;
}
@media (min-width: 781px) {
  .ll-lightbox.is-zoomed .ll-lightbox__img { width: auto; height: 220vh; }
}

.ll-lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(199,164,106,0.35) !important;
  background: rgba(6,19,13,0.7) !important;
  color: var(--lux-silver) !important;
  cursor: pointer;
}
.ll-lightbox__btn:hover { border-color: var(--lux-gold) !important; color: var(--lux-gold) !important; }
.ll-lightbox__btn svg { width: 22px; height: 22px; }
.ll-lightbox__close { top: 18px; left: 18px; }
.ll-lightbox__prev { right: 18px; top: 50%; transform: translateY(-50%); }
.ll-lightbox__next { left: 18px; top: 50%; transform: translateY(-50%); }
.ll-lightbox__count {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--lux-ivory-dim);
}
.ll-lightbox__hint {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 50%;
  transform: translateX(50%);
  font-size: 12px;
  color: var(--lux-ivory-dim);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ll-lightbox.is-zoomed .ll-lightbox__hint { opacity: 0; }
.ll-lightbox.is-single .ll-lightbox__prev,
.ll-lightbox.is-single .ll-lightbox__next,
.ll-lightbox.is-single .ll-lightbox__count { display: none; }
.ll-lightbox.is-zoomed .ll-lightbox__prev,
.ll-lightbox.is-zoomed .ll-lightbox__next { display: none; }

body.ll-lightbox-open { overflow: hidden; }

/* ---------- اطلاعات ---------- */

.ll-pdp-info {
  position: sticky;
  top: 110px;
  color: var(--lux-silver);
  padding-top: 6px;
}

.ll-pdp-info__cat {
  display: inline-block;
  font-size: 12px;
  color: var(--lux-ivory-dim) !important;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.ll-pdp-info__cat:hover { color: var(--lux-gold) !important; }

.woocommerce div.product .ll-pdp-info__title,
.ll-pdp-info__title {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: clamp(28px, 2.8vw, 40px) !important;
  line-height: 1.35 !important;
  color: var(--lux-ivory) !important;
  margin: 0 0 16px !important;
  text-align: right;
}
.woocommerce div.product .ll-pdp-info__title::after { display: none; }

.ll-pdp-info__price,
.ll-pdp-info__price .amount {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--lux-champagne);
}
.ll-pdp-info__price del { color: var(--lux-ivory-dim); font-size: 16px; margin-inline-start: 8px; }
.ll-pdp-info__price ins { text-decoration: none; }

.ll-pdp-info__lead {
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--lux-gold-border);
  font-size: 15px;
  line-height: 2.1;
  color: rgba(232,228,220,0.82);
  max-width: 56ch;
}
.ll-pdp-info__lead p { margin: 0 0 8px; }

.ll-pdp-info__buy { margin-top: 28px; }

.ll-pdp-info__buy form.cart {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 !important;
}

/* انتخاب سایز (محصول متغیر) */
.ll-pdp-info__buy form.variations_form { display: block !important; }
.ll-pdp-info__buy table.variations,
.ll-pdp-info__buy table.variations tbody {
  display: block;
  width: 100% !important;
  margin: 0 0 14px !important;
  border: 0;
  background: transparent;
}
.ll-pdp-info__buy table.variations tr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; width: 100%; }
.ll-pdp-info__buy table.variations td.value { width: 100%; }
.ll-pdp-info__buy table.variations th,
.ll-pdp-info__buy table.variations td { padding: 0 !important; border: 0 !important; background: transparent !important; text-align: right; }
.ll-pdp-info__buy table.variations th label { font-size: 13px; font-weight: 400; color: var(--lux-ivory-dim); }

.woocommerce div.product .ll-pdp-info__buy table.variations select {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 52px;
  padding: 0 16px 0 40px;
  background: rgba(20,51,37,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7A46A' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 14px;
  border: 1px solid var(--lux-gold-border);
  border-radius: 12px;
  color: var(--lux-ivory);
  font-family: var(--font-body);
  font-size: 14px;
}
.ll-pdp-info__buy table.variations select option { background: var(--lux-emerald); }
.ll-pdp-info__buy .reset_variations { font-size: 12px; color: var(--lux-ivory-dim) !important; }
.ll-pdp-info__buy .woocommerce-variation-price .price { font-family: var(--font-display); font-size: 18px; color: var(--lux-champagne); }
.ll-pdp-info__buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.ll-pdp-info__buy .single_variation_wrap { width: 100%; }

/* انتخاب تعداد: [+] عدد [−] کنار دکمه‌ی خرید */
.ll-pdp-info__buy .quantity {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: 58px;
  margin: 0 !important;
  border: 1px solid var(--lux-gold-border);
  border-radius: 12px;
  background: rgba(20,51,37,0.4);
  overflow: hidden;
}
/* محصولی که «فقط یک عدد» فروخته می‌شود: ووکامرس فیلد را مخفی می‌کند */
.ll-pdp-info__buy .quantity.hidden,
.ll-pdp-info__buy .quantity:has(input[type="hidden"]) { display: none !important; }

.ll-pdp-info__buy .quantity .qty {
  width: 46px !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lux-ivory) !important;
  font-family: var(--font-display);
  font-size: 17px !important;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none !important;
}
.ll-pdp-info__buy .quantity .qty::-webkit-outer-spin-button,
.ll-pdp-info__buy .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ll-pdp-info__buy .quantity .qty:focus { outline: none; }

.ll-qty-btn {
  width: 44px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lux-gold) !important;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}
.ll-qty-btn svg { width: 16px; height: 16px; }
.ll-qty-btn:hover { color: var(--lux-champagne) !important; background: rgba(199,164,106,0.08) !important; }
.ll-qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.ll-qty-btn:focus-visible { outline: 1px solid var(--lux-gold); outline-offset: -3px; }

.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button {
  flex: 1 1 200px;
  width: auto;
  min-height: 58px;
  font-size: 15px !important;
  letter-spacing: 0.04em;
  background: var(--lux-gold) !important;
  color: var(--lux-emerald) !important;
  border: 1px solid var(--lux-gold) !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
}
.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button:hover {
  background: var(--lux-champagne) !important;
  border-color: var(--lux-champagne) !important;
  color: var(--lux-emerald) !important;
}
.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button.is-loading { opacity: 0.6; pointer-events: none; }

.ll-pdp-soldout {
  padding: 18px;
  border: 1px solid var(--lux-gold-border);
  border-radius: 12px;
  text-align: center;
  color: var(--lux-ivory-dim);
}

.ll-pdp-msg { width: 100%; margin: 4px 0 0; font-size: 13px; color: #E8B4B4; }

/* مشاوره و خدمات */
.ll-pdp-services {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ll-pdp-services > li { font-size: 13px; line-height: 1.9; color: var(--lux-ivory-dim); }
.ll-pdp-services p { margin: 4px 0 0; }
.ll-pdp-services svg { width: 18px; height: 18px; color: var(--lux-gold); flex-shrink: 0; }

.ll-pdp-services__consult a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lux-silver) !important;
  text-decoration: underline;
  text-decoration-color: rgba(199,164,106,0.5);
  text-underline-offset: 6px;
  font-size: 14px;
}
.ll-pdp-services__consult a:hover { color: var(--lux-champagne) !important; text-decoration-color: var(--lux-gold); }

.ll-pdp-services__list { display: flex; gap: 10px; align-items: flex-start; }
.ll-pdp-services__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.ll-pdp-services__list li { position: relative; }
.ll-pdp-services__list li + li::before {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lux-gold-dim);
}

/* ============================================
   تب‌ها: داستان · مشخصات · نگهداری · ارسال · اصالت
   تب فعال زیر همان نور اسپات‌لایت نوار دسته‌ها
   ============================================ */

.ll-tabs {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3.5vw, 48px) clamp(56px, 7vw, 104px);
  box-sizing: border-box;
  color: var(--lux-silver);
}

.ll-tabs__bar {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* خط محو زیر تب‌ها */
.ll-tabs__bar::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,164,106,0.3) 25%, rgba(199,164,106,0.3) 75%, transparent);
  pointer-events: none;
}

.ll-tabs__tab {
  position: relative;
  isolation: isolate;
  height: 76px;
  padding: 0 clamp(14px, 2vw, 26px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(232,228,220,0.5) !important;
  cursor: pointer;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

/* جداکننده‌ی بسیار ظریف بین تب‌ها (در راست هر تب، به‌جز اولی) */
.ll-tabs__tab + .ll-tabs__tab {
  background-image: linear-gradient(rgba(199,164,106,0.2), rgba(199,164,106,0.2)) !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: 1px 16px !important;
}

/* مخروط نور */
.ll-tabs__tab::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 170%;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(240,220,174,0.32) 0%, rgba(240,220,174,0.1) 55%, rgba(240,220,174,0) 100%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  filter: blur(7px);
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

/* منبع نور */
.ll-tabs__tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 1px;
  transform: translateX(-50%) scaleX(0.4);
  background: var(--lux-champagne);
  box-shadow: 0 0 10px 2px rgba(240,220,174,0.55);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s var(--lux-transition);
  pointer-events: none;
}

.ll-tabs__tab:hover,
.ll-tabs__tab:focus-visible {
  color: rgba(246,238,220,0.85) !important;
  outline: none;
}
.ll-tabs__tab:hover::before,
.ll-tabs__tab:focus-visible::before { opacity: 0.45; }

.ll-tabs__tab.is-active {
  color: #F6EEDC !important;
  text-shadow: 0 0 18px rgba(240,220,174,0.4);
}
.ll-tabs__tab.is-active::before { opacity: 1; }
.ll-tabs__tab.is-active::after { opacity: 1; transform: translateX(-50%) scaleX(1); }

/* پنل‌ها: بدون جاوااسکریپت همه دیده می‌شوند؛ با جاوااسکریپت فقط پنل فعال */
.ll-tabs__panel { outline: none; }
.ll-tabs__panel + .ll-tabs__panel { margin-top: 48px; }
.ll-tabs.is-ready .ll-tabs__panel { display: none; margin-top: 0; }
.ll-tabs.is-ready .ll-tabs__panel.is-active { display: block; animation: ll-tab-in 0.6s var(--lux-transition); }

@keyframes ll-tab-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* عنوان پنل فقط وقتی تب‌ها فعال نیستند (بدون JS) دیده می‌شود */
.ll-tabs__panel-title {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  color: var(--lux-gold) !important;
  margin: 0 0 16px !important;
}
.ll-tabs.is-ready .ll-tabs__panel-title {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

/* ---------- داستان: عکس در قاب «دروازه» + متن ---------- */

.ll-story {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ll-story.has-image {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  justify-items: stretch;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1040px;
  text-align: right;
}

.ll-story__media {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  /* قاب طاق‌دار: اشاره به «دروازه»ی برند */
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(199,164,106,0.28), 0 40px 80px -40px rgba(0,0,0,0.9);
}
.ll-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(240,220,174,0.16), transparent 70%);
  pointer-events: none;
}

.ll-story__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

.ll-story__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.4;
  color: var(--lux-ivory);
  margin: 0 0 22px;
}

.ll-story__lead {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 2;
  color: var(--lux-champagne);
  margin-bottom: 22px;
}
.ll-story__lead p { margin: 0; }

.ll-story__text {
  font-size: 15px;
  line-height: 2.3;
  color: rgba(232,228,220,0.78);
  max-width: 58ch;
}
.ll-story:not(.has-image) .ll-story__text { margin-inline: auto; }
.ll-story__text p { margin: 0 0 16px; }
.ll-story__text p:last-child { margin-bottom: 0; }

/* ---------- سایر تب‌ها ---------- */

.ll-tab-narrow { max-width: 620px; margin: 0 auto; }

.ll-tab-prose {
  font-size: 15px;
  line-height: 2.3;
  color: rgba(232,228,220,0.78);
  text-align: right;
}
.ll-tab-prose p { margin: 0 0 16px; }
.ll-tab-prose p:last-child { margin-bottom: 0; }

.ll-specs { margin: 0; }
.ll-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(199,164,106,0.14);
  font-size: 15px;
}
.ll-specs__row:last-child { border-bottom: 0; }
.ll-specs dt { color: var(--lux-ivory-dim); }
.ll-specs dd { margin: 0; color: var(--lux-ivory); text-align: left; }

/* ============================================
   آثار مرتبط: ردیف افقی
   ============================================ */

.ll-pdp-related {
  padding: clamp(40px, 5vw, 72px) 0 100px;
  border-top: 1px solid var(--lux-gold-border);
}

.ll-pdp-related__title {
  text-align: center;
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: clamp(22px, 2.2vw, 28px) !important;
  color: var(--lux-ivory) !important;
  margin: 0 0 32px !important;
}

.ll-pdp-related ul.products {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(199,164,106,0.4) transparent;
  padding: 6px clamp(16px, 3.5vw, 56px) 16px !important;
  scroll-padding-inline: clamp(16px, 3.5vw, 56px);
  margin-bottom: 0 !important;
}
.ll-pdp-related ul.products li.product {
  flex: 0 0 calc((100% - 3 * clamp(16px, 1.6vw, 28px)) / 4);
  scroll-snap-align: start;
}
@media (max-width: 1023px) { .ll-pdp-related ul.products li.product { flex-basis: 40%; } }
@media (max-width: 600px)  { .ll-pdp-related ul.products li.product { flex-basis: 78%; } }

/* ============================================
   نوار کوچک ثابت
   ============================================ */

.ll-pdp-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: min(640px, calc(100vw - 32px));
  padding: 8px;
  background: rgba(6,19,13,0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(199,164,106,0.3);
  border-radius: 14px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.9);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--lux-transition), opacity 0.4s ease;
  box-sizing: border-box;
}
.ll-pdp-bar.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

.ll-pdp-bar__thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ll-pdp-bar__name {
  font-size: 13px;
  color: var(--lux-silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 260px;
}
.ll-pdp-bar__price, .ll-pdp-bar__price .amount { font-size: 14px; color: var(--lux-champagne); white-space: nowrap; }
.ll-pdp-bar__price del { display: none; }

.ll-pdp-bar__cta {
  flex-shrink: 0;
  height: 42px;
  padding: 0 22px !important;
  border-radius: 10px !important;
  background: var(--lux-gold) !important;
  color: var(--lux-emerald) !important;
  border: 0 !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.ll-pdp-bar__cta:hover { background: var(--lux-champagne) !important; }
.ll-pdp-bar__cta:disabled { opacity: 0.5; cursor: not-allowed; }

body.single-product .ll-top { bottom: 96px; }

/* ============================================
   تبلت و موبایل
   ============================================ */

@media (max-width: 900px) {
  .ll-pdp-top { grid-template-columns: 1fr; gap: 26px; padding: 0 0 40px; }
  .ll-pdp-gallery { position: static; flex-direction: column; gap: 12px; }
  .ll-pdp-info { position: static; padding: 0 20px; }

  .ll-pdp-frame { order: 1; width: 100%; border-radius: 0; box-shadow: none; }
  .ll-pdp-frame__slide { max-height: none; }

  /* عکس‌های کوچک زیر عکس اصلی، افقی */
  .ll-pdp-thumbs {
    order: 2;
    flex-direction: row;
    flex: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px;
    gap: 10px;
  }
  .ll-pdp-thumbs__btn { width: 52px; flex: 0 0 52px; }

  .ll-pdp-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    pointer-events: none;
  }
  .ll-pdp-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(242,239,233,0.5); transition: background 0.3s, transform 0.3s; }
  .ll-pdp-dots i.is-active { background: var(--lux-gold); transform: scale(1.25); }
}

@media (max-width: 900px) {
  .ll-story.has-image { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .ll-story__media { width: min(78%, 360px); }
  .ll-story__text { margin-inline: auto; }
}

@media (max-width: 780px) {
  .ll-tabs__bar {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .ll-tabs__bar::-webkit-scrollbar { display: none; }
  .ll-tabs__tab { height: 62px; flex: 0 0 auto; }

  .ll-pdp-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    border-radius: 16px 16px 0 0;
    border-width: 1px 0 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%);
  }
  .ll-pdp-bar.is-visible { transform: translateY(0); }
  .ll-pdp-bar__thumb { display: none; }
  .ll-pdp-bar__name { flex: 1 1 auto; max-width: none; }
  .ll-pdp-bar__cta { height: 46px; padding: 0 26px !important; }
  body.single-product .ll-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-pdp-frame__track { scroll-behavior: auto; }
}

/* ============================================
   ردیف خرید — ظریف‌تر (1.6.2)
   تعداد و دکمه همیشه در یک ردیف؛ ارتفاع کمتر
   ============================================ */
.ll-pdp-info__buy .quantity { height: 52px; box-sizing: border-box; }
.woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button { min-height: 52px; height: 52px; }

@media (max-width: 780px) {
  .ll-pdp-info__buy form.cart:not(.variations_form),
  .ll-pdp-info__buy .woocommerce-variation-add-to-cart {
    flex-wrap: nowrap !important;
    gap: 10px;
  }
  .ll-pdp-info__buy .quantity { height: 46px; border-radius: 10px; }
  .ll-pdp-info__buy .quantity .qty { width: 34px !important; font-size: 15px !important; }
  .ll-qty-btn { width: 34px; }
  .ll-qty-btn svg { width: 14px; height: 14px; }
  .woocommerce div.product .ll-pdp-info__buy form.cart .single_add_to_cart_button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    height: 46px;
    padding: 0 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    white-space: nowrap;
  }
  .woocommerce div.product .ll-pdp-info__buy table.variations select { height: 46px; border-radius: 10px; }
}
