/* ==============================================================
   product-detail.css — page-specific styles for product-detail.php
   Loaded only on the product detail page via $PAGE_EXTRA_HEAD.
   Works WITH .pc product-card classes from style-home.css.
   Brand palette: #C9A24B gold · #F4D58D highlight · #18110A dark
   ============================================================== */

.pd-wrap{
  max-width:1280px;
  margin:0 auto;
  padding:22px clamp(16px,4vw,24px) 60px;
}

/* ── Breadcrumb ── */
.pd-breadcrumb{
  font-size:12px;
  color:#888;
  letter-spacing:.02em;
  margin-bottom:22px;
}
.pd-breadcrumb a{color:#888;text-decoration:none;transition:color .15s}
.pd-breadcrumb a:hover{color:#C9A24B}
.pd-breadcrumb span.sep{margin:0 6px;color:#bbb}
.pd-breadcrumb span.current{color:#18110A;font-weight:500}

/* ── Main grid: gallery (left) + info (right) ── */
.pd-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px;
  align-items:start;
  margin-bottom:60px;
}

/* ── Gallery ── */
.pd-gallery{
  display:grid;
  grid-template-columns:84px 1fr;
  gap:12px;
  position:sticky;
  top:90px;
}
.pd-thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:580px;
  overflow-y:auto;
  scrollbar-width:thin;
  padding-right:2px;
}
.pd-thumbs::-webkit-scrollbar{width:4px}
.pd-thumbs::-webkit-scrollbar-thumb{background:rgba(201,162,75,.35);border-radius:2px}
.pd-thumb{
  width:72px;
  height:96px;
  border:1.5px solid #eee;
  border-radius:10px;
  overflow:hidden;
  background:#faf6f0;
  cursor:pointer;
  transition:border-color .2s, transform .2s, box-shadow .2s;
  padding:0;
  display:block;
  flex-shrink:0;
}
.pd-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pd-thumb:hover{border-color:#C9A24B;transform:translateY(-1px)}
.pd-thumb.active{
  border-color:#C9A24B;
  box-shadow:0 4px 12px rgba(201,162,75,.2);
}

.pd-main-image{
  position:relative;
  aspect-ratio:3/4;
  border-radius:16px;
  overflow:hidden;
  background:#faf6f0;
  border:1px solid #f1eee5;
  box-shadow:0 8px 30px rgba(15,23,42,.06);
}
.pd-main-image-inner{
  width:100%;
  height:100%;
  display:block;
  cursor:zoom-in;
  position:relative;
  overflow:hidden;
}
.pd-main-image-inner img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transition:transform .45s ease;
  will-change:transform;
  display:block;
}
.pd-main-image.zoomed .pd-main-image-inner img{cursor:zoom-out}
.pd-nav-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
  color:#18110A;
  transition:background .15s, transform .15s;
}
.pd-nav-btn:hover{background:#18110A;color:#F4D58D;transform:translateY(-50%) scale(1.06)}
.pd-nav-prev{left:14px}
.pd-nav-next{right:14px}
.pd-gal-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:linear-gradient(135deg,#C9A24B,#F4D58D);
  color:#18110A;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:999px;
  z-index:2;
  box-shadow:0 4px 10px rgba(201,162,75,.3);
}
.pd-gal-share{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 10px rgba(0,0,0,.1);
  color:#18110A;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
  transition:background .15s, color .15s;
}
.pd-gal-share:hover{background:#18110A;color:#F4D58D}

/* ── Info column ── */
.pd-info{min-width:0}
.pd-brand{
  display:inline-block;
  font-size:11px;
  color:#C9A24B;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.pd-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:clamp(22px,3vw,30px);
  color:#18110A;
  margin:0 0 12px;
  letter-spacing:.01em;
  line-height:1.25;
}
.pd-rate{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-size:.88rem;
  color:#666;
}
.pd-stars{color:#d9a441;font-size:15px;letter-spacing:1px}
.pd-rate a{color:#888;text-decoration:underline;transition:color .15s}
.pd-rate a:hover{color:#C9A24B}

.pd-price-row{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.pd-price-new{
  font-family:'Playfair Display', Georgia, serif;
  font-size:32px;
  color:#18110A;
  font-weight:600;
}
.pd-price-old{
  font-size:17px;
  color:#999;
  text-decoration:line-through;
}
.pd-price-save{
  display:inline-block;
  background:linear-gradient(135deg,#C9A24B,#F4D58D);
  color:#18110A;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  padding:4px 10px;
  border-radius:999px;
}
.pd-tax-note{font-size:.78rem;color:#888;margin:4px 0 14px}

/* ── Stock badge ── */
.pd-stock{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.82rem;
  font-weight:600;
  padding:5px 12px;
  border-radius:999px;
  margin-bottom:18px;
  letter-spacing:.02em;
}
.pd-stock .dot{
  width:7px;
  height:7px;
  border-radius:50%;
  display:inline-block;
  animation:pd-pulse 1.8s ease-in-out infinite;
}
.pd-stock.in{background:#f1faed;color:#3e7d2a;border:1px solid #d7edc7}
.pd-stock.in .dot{background:#3e7d2a}
.pd-stock.out{background:#fbecec;color:#c0392b;border:1px solid #eccfcc}
.pd-stock.out .dot{background:#c0392b;animation:none}
@keyframes pd-pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.35);opacity:.65}
}
.pd-sold-today{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.78rem;
  color:#F2721C;
  margin-left:8px;
}

/* ── Variants ── */
.pd-variant-section{margin-bottom:22px}
.pd-variant-label{
  font-size:.82rem;
  color:#444;
  font-weight:600;
  letter-spacing:.02em;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.pd-variant-label .value{color:#18110A;font-weight:500}
.pd-variant-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));
  gap:10px;
}
.pd-variant-card{
  border:1.5px solid #eee;
  border-radius:12px;
  padding:8px;
  cursor:pointer;
  transition:border-color .2s, transform .2s, box-shadow .2s;
  background:#fff;
  position:relative;
  text-align:left;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.pd-variant-card:hover{border-color:#C9A24B;transform:translateY(-2px);box-shadow:0 6px 16px rgba(15,23,42,.06)}
.pd-variant-card.active{
  border-color:#C9A24B;
  box-shadow:0 4px 12px rgba(201,162,75,.22);
  background:#faf5e8;
}
.pd-variant-card.active::after{
  content:'✓';
  position:absolute;
  top:-8px;
  right:-8px;
  background:linear-gradient(135deg,#C9A24B,#F4D58D);
  color:#18110A;
  width:22px;
  height:22px;
  border-radius:50%;
  font-size:13px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 3px 8px rgba(201,162,75,.35);
  z-index:2;
}
.pd-variant-card.disabled{opacity:.5;cursor:not-allowed}
.pd-variant-card.disabled:hover{border-color:#eee;transform:none;box-shadow:none}
.pd-v-img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:6px;
  background:#faf6f0;
  margin-bottom:6px;
}
.pd-v-attr{
  font-size:11px;
  color:#444;
  line-height:1.35;
  margin-bottom:1px;
}
.pd-v-attr .lbl{color:#888;font-weight:500}
.pd-v-attr .val{color:#18110A;font-weight:600}
.pd-v-price{
  font-size:12px;
  color:#18110A;
  font-weight:700;
  margin-top:4px;
}
.pd-v-price .old{font-size:10px;color:#999;text-decoration:line-through;margin-left:4px;font-weight:500}
.pd-v-oos{font-size:10px;color:#c0392b;margin-top:2px;font-weight:600}

/* ── Quantity + CTAs ── */
.pd-cta-wrap{
  display:flex;
  gap:12px;
  align-items:stretch;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.pd-qty{
  display:inline-flex;
  align-items:center;
  border:1.5px solid #e3ddd0;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
  height:52px;
  flex-shrink:0;
}
.pd-qty button{
  width:42px;
  height:100%;
  border:0;
  background:transparent;
  color:#18110A;
  font-size:20px;
  font-weight:600;
  cursor:pointer;
  line-height:1;
  transition:background .15s;
}
.pd-qty button:hover{background:#faf5e8;color:#C9A24B}
.pd-qty input{
  width:48px;
  height:100%;
  border:0;
  text-align:center;
  font-size:1rem;
  font-weight:600;
  color:#18110A;
  background:transparent;
  outline:none;
  padding:0;
  font-family:inherit;
}
.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.pd-btn{
  flex:1;
  min-width:190px;
  height:60px;
  border:0;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:1rem;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:transform .15s, box-shadow .15s, background .15s;
  text-decoration:none;
  font-family:inherit;
  padding:0 24px;
}
.pd-btn-primary{
  background:#18110A;
  color:#F4D58D;
}
.pd-btn-primary:hover:not(.disabled){background:#2a1d11;color:#fff;transform:translateY(-1px);box-shadow:0 8px 20px rgba(24,17,10,.25)}
.pd-btn-gold{
  background:linear-gradient(135deg,#C9A24B 0%,#F4D58D 50%,#C9A24B 100%);
  color:#18110A;
}
.pd-btn-gold:hover:not(.disabled){transform:translateY(-1px);box-shadow:0 8px 20px rgba(201,162,75,.3)}
.pd-btn-wa{
  background:#25D366;
  color:#fff;
  width:100%;
  flex:unset;
}
.pd-btn-wa:hover:not(.disabled){background:#1ebe5a;transform:translateY(-1px);box-shadow:0 8px 20px rgba(37,211,102,.25)}
.pd-btn.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}

.pd-buy-now-wrap{margin-bottom:14px}

/* ── Prominent "Ask on WhatsApp" CTA ── */
.pd-wa-enquire{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  padding:14px 18px;
  margin:4px 0 16px;
  background:linear-gradient(180deg,#f7fef8 0%,#eefaf1 100%);
  border:1px solid #bfe5c8;
  border-radius:12px;
  text-decoration:none;
  color:#18110A;
  transition:all .18s ease;
  box-shadow:0 1px 3px rgba(37,211,102,.08);
}
.pd-wa-enquire:hover{
  background:linear-gradient(180deg,#eefaf1 0%,#deefe2 100%);
  border-color:#7fc892;
  box-shadow:0 6px 18px rgba(37,211,102,.15);
  transform:translateY(-1px);
}
.pd-wa-enquire > svg:first-child{flex-shrink:0}
.pd-wa-enquire > div{flex:1;display:flex;flex-direction:column;line-height:1.35}
.pd-wa-enquire strong{font-size:.98rem;color:#0f6e2e;font-weight:700;letter-spacing:.01em}
.pd-wa-enquire span{font-size:.82rem;color:#4a7255;margin-top:1px}
.pd-wa-enquire > svg:last-child{flex-shrink:0;opacity:.65}

/* ── Trust / Authenticity badges ── */
.pd-trust{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 14px;
  padding:16px 18px;
  background:#fbf4e0;
  border:1px solid #e8dcba;
  border-radius:10px;
  margin:4px 0 18px;
}
.pd-trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;
  color:#5a4f3a;
  font-weight:500;
  cursor:default;
}
.pd-trust-item span{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;height:18px;
  border-radius:50%;
  background:#C49A3C;
  color:#fff;
  font-size:.7rem;
  font-weight:700;
}

/* ── Extra links ── */
.pd-extra-links{
  display:flex;
  justify-content:center;
  gap:26px;
  margin:18px 0;
  font-size:.85rem;
}
.pd-extra-links a{
  color:#666;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:5px;
  transition:color .15s;
}
.pd-extra-links a:hover{color:#C9A24B}
.pd-extra-links svg{width:16px;height:16px}

/* ── SKU/Cat ── */
.pd-meta-list{
  list-style:none;
  margin:14px 0 22px;
  padding:14px 0;
  border-top:1px solid #f1eee5;
  border-bottom:1px solid #f1eee5;
  font-size:.82rem;
  color:#666;
  letter-spacing:.02em;
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
}
.pd-meta-list li{margin:0;padding:0}
.pd-meta-list .lbl{color:#888}
.pd-meta-list .val{color:#18110A;font-weight:600;margin-left:4px}

/* ── Coupon slider ── */
.pd-coupon-section{margin-bottom:22px}
.pd-coupon-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.05rem;
  color:#18110A;
  text-align:center;
  margin:0 0 12px;
}
.pd-coupon-scroll{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:4px 2px 10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.pd-coupon-scroll::-webkit-scrollbar{height:4px}
.pd-coupon-scroll::-webkit-scrollbar-thumb{background:rgba(201,162,75,.3);border-radius:2px}
.pd-coupon-card{
  flex-shrink:0;
  width:232px;
  background:linear-gradient(135deg,#fff9e6 0%,#faf0c8 100%);
  border:1px solid #e9d9a3;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  scroll-snap-align:start;
  position:relative;
  box-shadow:0 4px 12px rgba(201,162,75,.08);
}
.pd-coupon-card::before,
.pd-coupon-card::after{
  content:'';
  position:absolute;
  top:calc(100% - 40px);
  width:16px;
  height:16px;
  background:#fff;
  border-radius:50%;
  z-index:2;
}
.pd-coupon-card::before{left:-9px}
.pd-coupon-card::after{right:-9px}
.pd-coupon-header{
  background:rgba(24,17,10,.08);
  padding:9px 10px;
  text-align:center;
  font-weight:700;
  font-size:12px;
  color:#18110A;
  border-bottom:1px dashed #c9a24b;
  letter-spacing:.04em;
}
.pd-coupon-body{
  padding:14px 12px;
  text-align:center;
  flex-grow:1;
}
.pd-coupon-body .sub{font-size:11px;color:#666;margin-bottom:4px}
.pd-coupon-body .main{font-size:15px;font-weight:700;color:#18110A;line-height:1.3}
.pd-coupon-body .scope{font-size:10px;color:#8a6a1f;margin-top:6px}
.pd-coupon-body .prepaid{font-size:10px;color:#c0392b;margin-top:4px;font-weight:600}
.pd-coupon-footer{
  padding:9px 10px;
  background:#fff;
  text-align:center;
  border-top:1px dashed #c9a24b;
  cursor:pointer;
  transition:background .15s;
  font-size:11px;
  font-weight:700;
  color:#18110A;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.pd-coupon-footer:hover{background:#faf5e8;color:#C9A24B}

/* ── Delivery info strip ── */
.pd-delivery{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 18px;
  background:#fafaf7;
  border:1px solid #f1eee5;
  border-radius:12px;
  margin-bottom:18px;
}
.pd-delivery-item{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:.88rem;
  color:#333;
}
.pd-delivery-item svg{
  width:22px;
  height:22px;
  color:#C9A24B;
  flex-shrink:0;
}
.pd-delivery-item b{color:#18110A}

/* ── Accordion (descriptions) ── */
.pd-accordion{margin-top:22px}
.pd-accordion-item{
  border-bottom:1px solid #f1eee5;
}
.pd-accordion-item:first-child{border-top:1px solid #f1eee5}
.pd-accordion-btn{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:16px 0;
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.02rem;
  color:#18110A;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  letter-spacing:.01em;
}
.pd-accordion-btn .chev{
  transition:transform .25s;
  color:#C9A24B;
  font-size:18px;
  line-height:1;
}
.pd-accordion-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.pd-accordion-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.pd-accordion-panel-inner{
  padding:0 0 18px;
  font-size:.92rem;
  color:#444;
  line-height:1.7;
}
.pd-accordion-panel-inner ul{margin:0;padding-left:20px}
.pd-accordion-panel-inner li{margin-bottom:6px}
.pd-accordion-panel-inner table{
  width:100%;
  border-collapse:collapse;
  font-size:.88rem;
}
.pd-accordion-panel-inner table th,
.pd-accordion-panel-inner table td{
  padding:8px 12px;
  text-align:left;
  border-bottom:1px solid #f1eee5;
}
.pd-accordion-panel-inner table th{
  color:#888;
  font-weight:500;
  width:30%;
  background:#fafaf7;
}
.pd-accordion-panel-inner table td{color:#18110A;font-weight:500}

/* ── A+ Plus Listings ── */
.pd-plus-section{
  margin:50px 0;
  padding-top:40px;
  border-top:1px solid #f1eee5;
}
.pd-section-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:clamp(22px,3vw,28px);
  color:#18110A;
  text-align:center;
  margin:0 0 30px;
  letter-spacing:.01em;
}
.pd-section-title::after{
  content:'';
  display:block;
  width:50px;
  height:2px;
  background:linear-gradient(90deg,#C9A24B,#F4D58D);
  margin:10px auto 0;
  border-radius:2px;
}
.pd-plus-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:22px;
}
.pd-plus-card{
  background:#fff;
  border:1px solid #f1eee5;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(15,23,42,.04);
  transition:transform .25s, box-shadow .25s;
}
.pd-plus-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.pd-plus-img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#f9f7f0;
  display:block;
}
.pd-plus-content{padding:22px}
.pd-plus-content h3{
  font-family:'Playfair Display', Georgia, serif;
  font-size:1.15rem;
  color:#18110A;
  margin:0 0 8px;
}
.pd-plus-content p{
  font-size:.92rem;
  color:#555;
  line-height:1.65;
  margin:0;
}

/* ── Category sliders ── */
.pd-cat-slider-section{
  margin:50px 0;
}
.pd-cat-slider-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  gap:16px;
  flex-wrap:wrap;
}
.pd-cat-slider-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:clamp(20px,2.5vw,26px);
  color:#18110A;
  margin:0;
  letter-spacing:.01em;
}
.pd-cat-view-all{
  font-size:.82rem;
  color:#C9A24B;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.pd-cat-view-all:hover{color:#18110A}

.pd-cat-slider-scroll{
  display:flex;
  gap:18px;
  overflow-x:auto;
  padding:4px 2px 10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.pd-cat-slider-scroll::-webkit-scrollbar{height:4px}
.pd-cat-slider-scroll::-webkit-scrollbar-thumb{background:rgba(201,162,75,.3);border-radius:2px}
.pd-cat-slider-scroll .pc{
  flex-shrink:0;
  width:240px;
  scroll-snap-align:start;
}
.pd-cat-slider-scroll .pc{min-width:unset;max-width:unset}

/* ── Reviews ── */
.pd-reviews-section{
  margin:50px 0 10px;
  padding-top:40px;
  border-top:1px solid #f1eee5;
}
.pd-reviews-summary{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:30px;
  padding:26px;
  background:#fff;
  border:1px solid #f1eee5;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(15,23,42,.04);
  margin-bottom:30px;
}
.pd-reviews-score{text-align:center}
.pd-reviews-score .avg{
  font-family:'Playfair Display', Georgia, serif;
  font-size:54px;
  color:#18110A;
  font-weight:600;
  line-height:1;
  margin-bottom:6px;
}
.pd-reviews-score .stars{color:#d9a441;font-size:20px;letter-spacing:2px;margin-bottom:6px}
.pd-reviews-score .total{color:#777;font-size:.85rem}

.pd-reviews-bars{display:flex;flex-direction:column;gap:8px;justify-content:center}
.pd-rev-bar{display:flex;align-items:center;gap:12px}
.pd-rev-bar .lbl{width:56px;font-size:.82rem;color:#555;flex-shrink:0}
.pd-rev-bar .bar{
  flex-grow:1;
  height:8px;
  background:#f1eee5;
  border-radius:4px;
  overflow:hidden;
}
.pd-rev-bar .fill{
  height:100%;
  background:linear-gradient(90deg,#C9A24B,#F4D58D);
  border-radius:4px;
  transition:width .4s ease;
}
.pd-rev-bar .cnt{width:30px;text-align:right;font-size:.82rem;color:#777;flex-shrink:0}

.pd-review-list{display:flex;flex-direction:column;gap:20px}
.pd-review-item{
  background:#fff;
  border:1px solid #f1eee5;
  border-radius:12px;
  padding:18px 22px;
}
.pd-review-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.pd-review-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,#C9A24B,#F4D58D);
  color:#18110A;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:16px;
  flex-shrink:0;
}
.pd-review-name{font-weight:600;color:#18110A;font-size:.92rem}
.pd-review-date{color:#999;font-size:.8rem;margin-left:auto}
.pd-review-stars{color:#d9a441;font-size:14px;letter-spacing:2px;margin-bottom:8px}
.pd-review-text{
  font-size:.92rem;
  color:#444;
  line-height:1.65;
  margin:0;
}
.pd-review-empty{
  text-align:center;
  padding:40px 20px;
  color:#888;
  background:#fff;
  border:1px dashed #e3ddd0;
  border-radius:14px;
}

/* ── Share toast ── */
.pd-toast{
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%) translateY(20px);
  background:#18110A;
  color:#F4D58D;
  padding:12px 22px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:500;
  letter-spacing:.02em;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  z-index:9999;
  opacity:0;
  transition:transform .25s, opacity .25s;
  pointer-events:none;
}
.pd-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ── Responsive ── */
@media (max-width:1023.98px){
  .pd-main{grid-template-columns:1fr;gap:26px}
  .pd-gallery{position:static;top:auto}
}
@media (max-width:767.98px){
  .pd-wrap{padding:16px 12px 40px}
  .pd-gallery{grid-template-columns:56px 1fr;gap:8px}
  .pd-thumb{width:56px;height:74px;border-radius:8px}
  .pd-thumbs{max-height:440px}
  .pd-reviews-summary{grid-template-columns:1fr;padding:20px;gap:22px;text-align:center}
  .pd-reviews-bars{padding:0 10px}
  .pd-title{font-size:1.5rem}
  .pd-price-new{font-size:26px}
  .pd-cta-wrap{flex-direction:column;gap:10px}
  .pd-qty{width:100%;justify-content:center}
  .pd-qty input{flex:1;max-width:none}
  .pd-btn{width:100%;min-width:unset;height:56px;font-size:.95rem}
  .pd-extra-links{gap:18px;font-size:.8rem}
  .pd-meta-list{font-size:.78rem;flex-direction:column;gap:4px}
  .pd-cat-slider-scroll .pc{width:190px}
  .pd-coupon-card{width:210px}
}
@media (max-width:480px){
  .pd-gallery{grid-template-columns:48px 1fr}
  .pd-thumb{width:48px;height:64px}
  .pd-variant-grid{grid-template-columns:repeat(auto-fill, minmax(110px, 1fr));gap:8px}
}

/* ═══ FULLSCREEN IMAGE LIGHTBOX ═══ */
#pdMainImage{cursor:zoom-in}
.pd-lightbox{
  position:fixed;inset:0;
  background:rgba(12,8,4,.94);
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .25s ease;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.pd-lightbox.open{display:flex;opacity:1}
.pd-lb-stage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 60px;
  box-sizing:border-box;
  cursor:zoom-out;
}
.pd-lb-stage img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  border-radius:4px;
  user-select:none;
  transition:opacity .18s ease;
}
.pd-lb-stage img.swapping{opacity:0}
.pd-lb-close{
  position:absolute;
  top:22px;right:26px;
  width:44px;height:44px;
  border:none;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:1.8rem;
  line-height:1;
  border-radius:50%;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease,transform .15s ease;
  z-index:2;
}
.pd-lb-close:hover{background:rgba(255,255,255,.2);transform:rotate(90deg)}
.pd-lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;height:50px;
  border:none;
  background:rgba(255,255,255,.1);
  color:#fff;
  border-radius:50%;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease;
  z-index:2;
}
.pd-lb-nav:hover{background:rgba(196,154,60,.8)}
.pd-lb-prev{left:24px}
.pd-lb-next{right:24px}
.pd-lb-counter{
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  background:rgba(0,0,0,.4);
  padding:7px 16px;
  border-radius:20px;
  font-size:.85rem;
  font-weight:500;
  letter-spacing:.05em;
  font-variant-numeric:tabular-nums;
  z-index:2;
}
@media (max-width:768px){
  .pd-lb-stage{padding:60px 12px}
  .pd-lb-close{top:12px;right:12px;width:40px;height:40px;font-size:1.5rem}
  .pd-lb-nav{width:40px;height:40px}
  .pd-lb-prev{left:10px}
  .pd-lb-next{right:10px}
  .pd-lb-nav svg{width:22px;height:22px}
  .pd-lb-counter{bottom:14px;font-size:.78rem;padding:5px 12px}
}

/* ═══ AUTHENTICITY CERTIFICATE BADGE (JPearls-style) ═══ */
.pd-cert-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:flex-start;
  background:linear-gradient(135deg,#fffaf0 0%,#fbf3df 100%);
  border:1px solid #e8d49a;
  border-radius:14px;
  padding:18px 20px;
  margin:18px 0 16px;
  box-shadow:0 4px 16px rgba(201,162,75,.12);
  position:relative;
  overflow:hidden;
}
.pd-cert-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#F4D58D,#C9A24B,#9B7626,#C9A24B,#F4D58D);
}
.pd-cert-seal{flex-shrink:0;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 4px 10px rgba(201,162,75,.35))}
.pd-cert-body{min-width:0}
.pd-cert-title{
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.1rem;
  color:#18110A;
  margin:0 0 5px;
  letter-spacing:.01em;
  font-weight:600;
}
.pd-cert-sub{
  font-size:.83rem;
  color:#5a4a32;
  line-height:1.5;
  margin:0 0 10px;
}
.pd-cert-sub strong{color:#18110A;font-weight:600}
.pd-cert-points{
  list-style:none;
  margin:0 0 12px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
}
.pd-cert-points li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.78rem;
  color:#3a2e1f;
  font-weight:500;
}
.pd-cert-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:transparent;
  border:1px solid #C9A24B;
  color:#9B7626;
  font-family:'DM Sans',sans-serif;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:7px 14px;
  border-radius:999px;
  cursor:pointer;
  transition:all .2s ease;
}
.pd-cert-link:hover{background:#18110A;color:#F4D58D;border-color:#18110A;transform:translateY(-1px)}
@media(max-width:520px){
  .pd-cert-card{grid-template-columns:1fr;text-align:center;padding:16px;gap:10px}
  .pd-cert-seal{margin:0 auto}
  .pd-cert-points{justify-content:center}
}

/* ─── Certificate preview modal ─── */
.pd-cert-modal{
  position:fixed;inset:0;
  z-index:9998;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  transition:opacity .25s ease;
}
.pd-cert-modal.open{display:flex;opacity:1}
.pd-cert-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(12,8,4,.78);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  cursor:pointer;
}
.pd-cert-modal-card{
  position:relative;
  width:min(640px,100%);
  max-height:90vh;
  overflow-y:auto;
  background:transparent;
  animation:pdCertIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes pdCertIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
.pd-cert-modal-close{
  position:absolute;top:8px;right:8px;
  width:36px;height:36px;border-radius:50%;
  background:#fff;border:0;
  font-size:1.4rem;color:#18110A;cursor:pointer;
  z-index:3;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
  transition:transform .15s;
}
.pd-cert-modal-close:hover{transform:rotate(90deg)}

.pd-cert-paper{
  background:linear-gradient(135deg,#fdf9ee 0%,#f5ecd0 100%);
  padding:8px;
  border-radius:6px;
  box-shadow:0 24px 60px rgba(0,0,0,.5);
}
.pd-cert-paper-border{
  border:2px solid #C9A24B;
  outline:1px solid #C9A24B;
  outline-offset:4px;
  padding:36px 32px 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,162,75,.06), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(201,162,75,.06), transparent 60%),
    #fdfaef;
}
.pd-cert-paper-head{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px dashed rgba(201,162,75,.4)}
.pd-cert-paper-mono{
  width:54px;height:54px;border-radius:50%;
  background:linear-gradient(135deg,#F4D58D,#C9A24B);
  color:#18110A;
  display:flex;align-items:center;justify-content:center;
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.3rem;font-weight:700;
  flex-shrink:0;
  box-shadow:0 4px 10px rgba(201,162,75,.4);
}
.pd-cert-paper-brand h4{
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.05rem;
  color:#18110A;letter-spacing:.06em;
  margin:0 0 2px;font-weight:600;
}
.pd-cert-paper-brand span{font-size:.72rem;color:#7a6238;letter-spacing:.04em}
.pd-cert-paper-title{
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.6rem;
  color:#18110A;
  text-align:center;
  margin:0 0 8px;
  letter-spacing:.04em;
  font-style:italic;
}
.pd-cert-paper-intro{
  text-align:center;
  font-size:.82rem;
  color:#5a4a32;
  margin:0 auto 22px;
  max-width:90%;
  line-height:1.55;
  font-style:italic;
}
.pd-cert-paper-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 22px;
  margin:0 0 22px;
  padding:14px 18px;
  background:rgba(255,255,255,.5);
  border:1px dashed rgba(201,162,75,.4);
  border-radius:4px;
}
.pd-cert-paper-grid > div{display:flex;flex-direction:column;gap:1px}
.pd-cert-paper-grid .lbl{font-size:.66rem;color:#9b7626;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.pd-cert-paper-grid .val{font-size:.86rem;color:#18110A;font-weight:500}
.pd-cert-paper-foot{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin:18px 0 14px;
  gap:20px;
}
.pd-cert-stamp{flex-shrink:0;opacity:.85}
.pd-cert-sign{flex:1;text-align:right}
.pd-cert-sign-name{
  display:block;
  font-size:1.5rem;
  color:#18110A;
  margin-bottom:2px;
}
.pd-cert-sign-line{
  display:block;
  height:1px;
  background:#18110A;
  margin:2px 0 6px;
}
.pd-cert-sign-lbl{
  font-size:.7rem;
  color:#7a6238;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pd-cert-paper-note{
  text-align:center;
  font-size:.7rem;
  color:#7a6238;
  margin:14px 0 0;
  padding-top:12px;
  border-top:1px dashed rgba(201,162,75,.3);
  line-height:1.5;
}
.pd-cert-paper-note strong{color:#18110A}
@media(max-width:520px){
  .pd-cert-paper-border{padding:24px 18px 18px}
  .pd-cert-paper-title{font-size:1.25rem}
  .pd-cert-paper-grid{grid-template-columns:1fr;gap:8px;padding:12px 14px}
  .pd-cert-paper-foot{flex-direction:column;align-items:center;text-align:center;gap:10px}
  .pd-cert-sign{text-align:center}
}
