/* ==========================================================================
   pd.css  — Premium Product & Listing UI
   Fair Ford Pharma B2B Platform
   Covers: product detail page (pd-*) + listing hero (ph-*)
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --pd-blue:    #0F4C81;
  --pd-blue-dk: #073B7A;
  --pd-cyan:    #00BCD4;
  --pd-emerald: #16A34A;
  --pd-gold:    #D97706;
  --pd-red:     #DC2626;
  --pd-bg:      #F8FAFC;
  --pd-surface: #FFFFFF;
  --pd-border:  #E5E7EB;
  --pd-text:    #111827;
  --pd-muted:   #6B7280;
  --pd-r-sm:    10px;
  --pd-r:       16px;
  --pd-r-lg:    22px;
  --pd-ease:    cubic-bezier(.22,.61,.36,1);
  --pd-sh1:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --pd-sh2:     0 4px 16px rgba(15,76,129,.10);
  --pd-sh3:     0 12px 40px -8px rgba(15,76,129,.22);
  --pd-glass:   rgba(255,255,255,.85);
}

/* ---------- BREADCRUMB ---------- */
.pd-bread {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .8rem;
  color: var(--pd-muted);
  margin: 20px 0 6px;
  padding: 10px 14px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r-sm);
}
.pd-bread a { color: var(--pd-blue); font-weight: 500; transition: opacity .15s; }
.pd-bread a:hover { opacity: .7; }
.pd-bread-sep { color: #CBD5E1; font-size: .9rem; }
.pd-bread-cur { color: var(--pd-text); font-weight: 600; }

/* ============================================================
   HERO  –  2-column layout
   ============================================================ */
.pd-hero {
  display: grid;
  /* Cap the gallery column so the product image doesn't dominate the page on
     wide screens. Info column takes the remaining space. */
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 40px;
  margin-top: 24px;
  align-items: start;
}

/* ---------- Gallery Column ---------- */
.pd-gal-col { display: flex; flex-direction: column; gap: 14px; }

.pd-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-bdg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pd-bdg-blue   { background: rgba(15,76,129,.1);  color: var(--pd-blue);    border: 1px solid rgba(15,76,129,.2);  }
.pd-bdg-green  { background: rgba(22,163,74,.1);  color: var(--pd-emerald); border: 1px solid rgba(22,163,74,.2);  }
.pd-bdg-gold   { background: rgba(217,119,6,.1);  color: var(--pd-gold);    border: 1px solid rgba(217,119,6,.2);  }
.pd-bdg-emerald{ background: rgba(16,185,129,.12); color: #059669;           border: 1px solid rgba(16,185,129,.25);}
.pd-bdg-red    { background: rgba(220,38,38,.1);  color: var(--pd-red);     border: 1px solid rgba(220,38,38,.2);  }

.pd-main-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #ffffff;
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow .3s var(--pd-ease);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.pd-main-img:hover { box-shadow: var(--pd-sh3); }

.pd-main-img-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform .4s var(--pd-ease);
}
.pd-main-img:hover .pd-main-img-el { transform: scale(1.06); }

.pd-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pd-img-ph-icon { width: 100%; height: 100%; display: grid; place-items: center; }
.pd-img-ph-icon svg { width: 78%; height: 78%; max-width: 210px; }
.pd-img-ph-txt  { font-size: .85rem; color: var(--pd-muted); text-align: center; max-width: 180px; }

.pd-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17,24,39,.65);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.pd-thumbs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid var(--pd-border);
  background: linear-gradient(135deg, #F0F7FF, #EBF5F9);
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  font-size: 1.4rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { border-color: var(--pd-cyan); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,188,212,.18); }
.pd-thumb-on  { border-color: var(--pd-blue); box-shadow: 0 0 0 3px rgba(15,76,129,.15); }

.pd-gal-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-gal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--pd-muted);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s var(--pd-ease);
}
.pd-gal-btn:hover { color: var(--pd-blue); border-color: var(--pd-blue); background: rgba(15,76,129,.04); transform: translateY(-1px); }
.pd-gal-btn.pd-wish-on { color: #DC2626; border-color: #FCA5A5; background: rgba(220,38,38,.05); }
.pd-gal-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.pd-trust-item svg { width: 12px; height: 12px; color: var(--pd-emerald); flex-shrink: 0; }
.pd-bdg svg { width: 11px; height: 11px; flex-shrink: 0; }

/* ---------- Info Column ---------- */
.pd-info-col { display: flex; flex-direction: column; gap: 18px; }

.pd-chips-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.pd-brand-tag {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pd-blue);
  background: rgba(15,76,129,.08);
  border: 1px solid rgba(15,76,129,.18);
  padding: 5px 12px;
  border-radius: 999px;
}

.pd-chip {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.pd-chip-blue { background: rgba(0,188,212,.1); color: #0891B2; border: 1px solid rgba(0,188,212,.2); }
.pd-chip-teal { background: rgba(22,163,74,.1);  color: #15803D;  border: 1px solid rgba(22,163,74,.2);  }

.pd-prod-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  color: var(--pd-text);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.pd-metas { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--pd-muted);
  background: var(--pd-bg);
  border: 1px solid var(--pd-border);
  padding: 4px 10px;
  border-radius: 8px;
}

.pd-rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-stars      { display: inline-flex; gap: 2px; }
.pd-star       { font-size: 1rem; line-height: 1; }
.pd-star-full  { color: #F59E0B; }
.pd-star-half  { color: #F59E0B; opacity: .6; }
.pd-star-empty { color: #D1D5DB; }
.pd-stars-sm .pd-star { font-size: .85rem; }
.pd-rat-num  { font-size: .95rem; font-weight: 800; color: var(--pd-text); }
.pd-rat-cnt  { font-size: .8rem;  color: var(--pd-muted); }
.pd-verif {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--pd-emerald);
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.2);
  padding: 3px 9px;
  border-radius: 999px;
}

.pd-avail { display: flex; }
.pd-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 10px;
}
.pd-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pd-avail-green { background: rgba(22,163,74,.1); color: #15803D; }
.pd-avail-green .pd-avail-dot { background: var(--pd-emerald); box-shadow: 0 0 0 3px rgba(22,163,74,.2); animation: dot-pulse 2s ease-in-out infinite; }
.pd-avail-red   { background: rgba(220,38,38,.08); color: var(--pd-red); }
.pd-avail-red .pd-avail-dot   { background: var(--pd-red); }

@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(22,163,74,.05); }
}

.pd-short-desc {
  font-size: .92rem;
  color: var(--pd-muted);
  line-height: 1.65;
  padding: 14px 16px;
  background: var(--pd-bg);
  border-radius: var(--pd-r-sm);
  border-left: 3px solid var(--pd-blue);
}

/* ---------- Pricing ---------- */
.pd-price-section { display: flex; flex-direction: column; gap: 10px; }

.pd-price-cards-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-price-card {
  flex: 1;
  min-width: 110px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r);
  padding: 16px;
  box-shadow: var(--pd-sh1);
  transition: transform .2s, box-shadow .2s;
}
.pd-price-card:hover { transform: translateY(-2px); box-shadow: var(--pd-sh2); }
.pd-price-card-main {
  background: linear-gradient(135deg, var(--pd-blue) 0%, var(--pd-blue-dk) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(15,76,129,.45);
}
.pd-price-card-accent {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(5,150,105,.35);
}
.pd-price-card-label  { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.pd-price-card-main .pd-price-card-label, .pd-price-card-accent .pd-price-card-label { color: rgba(255,255,255,.8); }
.pd-price-card-amount { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.55rem; font-weight: 800; color: var(--pd-text); line-height: 1; }
.pd-price-card-main .pd-price-card-amount,
.pd-price-card-accent .pd-price-card-amount { color: #fff; }
.pd-price-striked { text-decoration: line-through; opacity: .55; }
.pd-price-card-save {
  display: inline-block;
  margin-top: 5px;
  font-size: .7rem;
  font-weight: 700;
  background: rgba(255,255,255,.25);
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
}
.pd-price-card-note { font-size: .72rem; color: var(--pd-muted); margin-top: 4px; }
.pd-price-card-main .pd-price-card-note,
.pd-price-card-accent .pd-price-card-note { color: rgba(255,255,255,.7); }

.pd-tax-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--pd-emerald);
  font-weight: 600;
}

/* ---------- Purchase Panel ---------- */
.pd-purchase-card {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r-lg);
  padding: 22px;
  box-shadow: var(--pd-sh2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-qty-label { font-size: .82rem; font-weight: 700; color: var(--pd-text); white-space: nowrap; }
.pd-qty-wrap  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pd-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--pd-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--pd-surface);
  box-shadow: var(--pd-sh1);
}
.pd-qty-btn {
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pd-blue);
  background: var(--pd-bg);
  border: none;
  cursor: pointer;
  transition: background .15s;
  display: grid;
  place-items: center;
}
.pd-qty-btn:hover { background: rgba(15,76,129,.08); }
.pd-qty-inp {
  width: 60px;
  height: 42px;
  border: none;
  border-inline: 1.5px solid var(--pd-border);
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--pd-text);
  outline: none;
  background: #fff;
}
.pd-moq-tag {
  font-size: .73rem;
  font-weight: 600;
  color: var(--pd-muted);
  background: var(--pd-bg);
  border: 1px solid var(--pd-border);
  padding: 5px 10px;
  border-radius: 8px;
}

.pd-cta-row { display: flex; gap: 10px; }
.pd-cta-row-sec { flex-wrap: wrap; }

.pd-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .22s var(--pd-ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.pd-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background .2s;
  pointer-events: none;
}
.pd-cta:hover::after { background: rgba(255,255,255,.08); }
.pd-cta:active { transform: scale(.98); }
.pd-cta:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.pd-cta-primary {
  background: linear-gradient(135deg, var(--pd-blue) 0%, var(--pd-blue-dk) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(15,76,129,.5);
}
.pd-cta-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(15,76,129,.55); }

.pd-cta-dark {
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(17,24,39,.35);
}
.pd-cta-dark:hover:not(:disabled) { background: #1E293B; transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(17,24,39,.4); }

.pd-cta-outline {
  background: transparent;
  color: var(--pd-blue);
  border: 1.5px solid var(--pd-blue);
  box-shadow: none;
}
.pd-cta-outline:hover { background: rgba(15,76,129,.05); transform: translateY(-1px); }

.pd-cta-ghost {
  background: var(--pd-bg);
  color: var(--pd-muted);
  border: 1px solid var(--pd-border);
  box-shadow: none;
}
.pd-cta-ghost:hover { background: var(--pd-surface); color: var(--pd-text); border-color: #CBD5E1; }

.pd-trust-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid var(--pd-border);
}
.pd-trust-item {
  font-size: .72rem;
  font-weight: 600;
  color: var(--pd-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.pd-section {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r-lg);
  padding: 32px;
  margin-top: 28px;
  box-shadow: var(--pd-sh1);
}
.pd-sect-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.pd-sect-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pd-text);
  letter-spacing: -.02em;
}
.pd-sect-sub { font-size: .85rem; color: var(--pd-muted); margin-top: 3px; }

/* ============================================================
   PRODUCT HIGHLIGHTS
   ============================================================ */
.pd-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.pd-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--pd-bg);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r);
  transition: all .22s var(--pd-ease);
  cursor: default;
}
.pd-feat-card:hover {
  background: #fff;
  border-color: rgba(15,76,129,.2);
  box-shadow: var(--pd-sh2);
  transform: translateY(-3px);
}
.pd-feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.pd-feat-ico svg { width: 20px; height: 20px; }
.pd-feat-lbl { font-size: .88rem; font-weight: 700; color: var(--pd-text); margin-bottom: 3px; }
.pd-feat-dsc { font-size: .75rem; color: var(--pd-muted); line-height: 1.4; }

/* ============================================================
   TABS
   ============================================================ */
.pd-tabs-section { padding: 0; overflow: hidden; }

.pd-tabs-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--pd-border);
  padding: 0 8px;
  background: var(--pd-bg);
}
.pd-tabs-nav::-webkit-scrollbar { display: none; }

.pd-tab-btn {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pd-muted);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.pd-tab-btn:hover { color: var(--pd-blue); }
.pd-tab-on  {
  color: var(--pd-blue) !important;
  border-bottom-color: var(--pd-blue);
  font-weight: 700;
}

.pd-tabs-body { padding: 28px 32px; }

.pd-tab-pane { display: none; animation: pdTabIn .25s var(--pd-ease); }
.pd-pane-on  { display: block; }

@keyframes pdTabIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.pd-tab-inner { max-width: 720px; }
.pd-tab-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pd-text);
  margin-bottom: 12px;
}
.pd-tab-p {
  font-size: .92rem;
  color: #374151;
  line-height: 1.75;
}

.pd-empty-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
  color: var(--pd-muted);
  font-size: .9rem;
}
.pd-warn-box {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--pd-r-sm);
  font-size: .85rem;
  color: #92400E;
  font-weight: 500;
  max-width: 500px;
}

/* Composition list */
.pd-comp-list { display: flex; flex-direction: column; gap: 8px; }
.pd-comp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--pd-bg);
  border-radius: 10px;
  border: 1px solid var(--pd-border);
}
.pd-comp-n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-dk));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.pd-comp-name { font-size: .9rem; font-weight: 600; color: var(--pd-text); }

/* Spec table */
.pd-spec-tbl { width: 100%; border-collapse: collapse; }
.pd-spec-tbl tr { border-bottom: 1px solid var(--pd-border); }
.pd-spec-tbl tr:last-child { border-bottom: none; }
.pd-spec-tbl th {
  text-align: left;
  padding: 12px 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--pd-muted);
  width: 40%;
}
.pd-spec-tbl td {
  padding: 12px 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--pd-text);
}
.pd-spec-tbl tr:nth-child(even) th,
.pd-spec-tbl tr:nth-child(even) td { background: rgba(248,250,252,.7); }

/* Storage */
.pd-storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.pd-storage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 14px;
  background: var(--pd-bg);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r);
  text-align: center;
  transition: all .2s var(--pd-ease);
}
.pd-storage-card:hover { background: #fff; box-shadow: var(--pd-sh2); transform: translateY(-3px); }
.pd-storage-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.pd-storage-ico svg { width: 24px; height: 24px; }
.pd-storage-lbl  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pd-muted); }
.pd-storage-val  { font-size: .82rem; font-weight: 600; color: var(--pd-text); }

/* ============================================================
   REVIEWS
   ============================================================ */
.pd-rat-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-rat-big {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--pd-text);
  line-height: 1;
}
.pd-rat-total { font-size: .76rem; color: var(--pd-muted); margin-top: 4px; }

.pd-reviews-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.pd-rat-bars { display: flex; flex-direction: column; gap: 8px; }
.pd-rbar { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.pd-rbar-n    { width: 34px; font-weight: 700; color: var(--pd-text); white-space: nowrap; }
.pd-rbar-track {
  flex: 1;
  height: 7px;
  background: var(--pd-border);
  border-radius: 999px;
  overflow: hidden;
}
.pd-rbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #D97706);
  border-radius: 999px;
  transition: width .6s var(--pd-ease);
}
.pd-rbar-pct { width: 34px; text-align: right; color: var(--pd-muted); }

.pd-rev-cards { display: flex; flex-direction: column; gap: 20px; }
.pd-rev-card {
  padding: 20px;
  background: var(--pd-bg);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r);
  transition: box-shadow .2s;
}
.pd-rev-card:hover { box-shadow: var(--pd-sh2); background: #fff; }

.pd-rev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.pd-rev-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pd-blue), var(--pd-cyan));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.pd-rev-info { flex: 1; }
.pd-rev-name { font-size: .88rem; font-weight: 700; color: var(--pd-text); display: flex; align-items: center; gap: 6px; }
.pd-rev-date { font-size: .75rem; color: var(--pd-muted); margin-top: 2px; }
.pd-verif-sm {
  font-size: .65rem;
  font-weight: 700;
  color: var(--pd-emerald);
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.2);
  padding: 2px 7px;
  border-radius: 999px;
}

.pd-rev-title { font-size: .9rem; font-weight: 700; color: var(--pd-text); margin-bottom: 6px; }
.pd-rev-body  { font-size: .85rem; color: var(--pd-muted); line-height: 1.6; margin-bottom: 12px; }
.pd-rev-acts  { display: flex; gap: 8px; }
.pd-rev-btn {
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--pd-border);
  background: var(--pd-surface);
  color: var(--pd-muted);
  cursor: pointer;
  transition: all .15s;
}
.pd-rev-btn:hover { color: var(--pd-blue); border-color: rgba(15,76,129,.25); background: rgba(15,76,129,.04); }

/* ============================================================
   FAQ
   ============================================================ */
.pd-faq-list { display: flex; flex-direction: column; gap: 10px; }
.pd-faq-item {
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.pd-faq-item.pd-faq-open {
  border-color: rgba(15,76,129,.25);
  box-shadow: var(--pd-sh2);
}
.pd-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--pd-surface);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .92rem;
  font-weight: 700;
  color: var(--pd-text);
  transition: background .2s;
}
.pd-faq-q:hover { background: var(--pd-bg); }
.pd-faq-item.pd-faq-open .pd-faq-q { background: rgba(15,76,129,.03); }
.pd-faq-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--pd-bg);
  color: var(--pd-blue);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s var(--pd-ease);
}
.pd-faq-item.pd-faq-open .pd-faq-ico {
  background: var(--pd-blue);
  color: #fff;
  transform: rotate(45deg);
}
.pd-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--pd-ease);
}
.pd-faq-a p {
  padding: 0 20px 18px;
  font-size: .88rem;
  color: var(--pd-muted);
  line-height: 1.7;
}

/* ============================================================
   STICKY FLOATING WIDGET
   ============================================================ */
.pd-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  transform: translateY(110%);
  transition: transform .35s var(--pd-ease), box-shadow .35s;
  background: var(--pd-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--pd-border);
  box-shadow: 0 -4px 30px rgba(15,76,129,.12);
}
.pd-sw-visible { transform: translateY(0); box-shadow: 0 -8px 40px rgba(15,76,129,.18); }

.pd-sw-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pd-sw-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15,76,129,.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.pd-sw-thumb svg { width: 100%; height: 100%; }
.pd-sw-info { flex: 1; min-width: 0; }
.pd-sw-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--pd-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-sw-price { font-size: 1rem; font-weight: 800; color: var(--pd-blue); margin-top: 2px; }

.pd-sw-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--pd-border);
  border-radius: 10px;
  overflow: hidden;
}
.pd-sw-qbtn {
  width: 34px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pd-blue);
  background: var(--pd-bg);
  border: none;
  cursor: pointer;
  transition: background .15s;
  display: grid;
  place-items: center;
}
.pd-sw-qbtn:hover { background: rgba(15,76,129,.08); }
.pd-sw-qinp {
  width: 50px;
  height: 36px;
  border: none;
  border-inline: 1.5px solid var(--pd-border);
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  color: var(--pd-text);
  outline: none;
  background: #fff;
}
.pd-sw-cart {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-dk));
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s var(--pd-ease);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(15,76,129,.35);
}
.pd-sw-cart:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15,76,129,.4); }
.pd-sw-cart:disabled { opacity: .5; cursor: not-allowed; }
.pd-sw-cart { display: inline-flex; align-items: center; gap: 7px; }
.pd-sw-cart svg { width: 15px; height: 15px; flex-shrink: 0; }
.pd-rev-btn { display: inline-flex; align-items: center; gap: 5px; }
.pd-rev-btn svg { flex-shrink: 0; }

/* ============================================================
   PRODUCT LISTING  –  PREMIUM ENTERPRISE HERO BANNER v2
   ============================================================ */

/* ── Base shell ── */
.ph-hero {
  background: #07111F;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  min-height: 600px;
  display: flex;
  align-items: stretch;
}

/* Deep gradient base */
.ph-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 5% 50%,  rgba(15,76,129,.75) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 80% 20%,  rgba(0,188,212,.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 95% 85%,  rgba(22,163,74,.07) 0%, transparent 50%),
    linear-gradient(160deg, #0D1F3C 0%, #07111F 60%, #030C16 100%);
  pointer-events: none;
}

/* Fine grid overlay */
.ph-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* Hex tile overlay */
.ph-bg-hex {
  position: absolute;
  inset: 0;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='56'%3E%3Cpolygon points='32,1 63,16.5 63,39.5 32,55 1,39.5 1,16.5' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 64px 56px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow orb top-right */
.ph-bg-orb {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,188,212,.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Molecular structure dots (decorative) */
.ph-mol {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ph-mol-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,188,212,.35);
  box-shadow: 0 0 8px rgba(0,188,212,.2);
}
.ph-mol-line {
  position: absolute;
  height: 1px;
  background: rgba(0,188,212,.15);
  transform-origin: left center;
}

/* ── Layout grid ── */
.ph-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── Certification badge ── */
.ph-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,188,212,.22);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
  width: fit-content;
  transition: all .3s ease;
  animation: phFadeUp .5s ease both;
}
.ph-cert-badge:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,188,212,.4);
  box-shadow: 0 0 24px rgba(0,188,212,.12);
}
.ph-cert-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #00BCD4 0%, #0F4C81 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0,188,212,.35);
}
.ph-cert-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.4);
  animation: phDotPulse 2.2s ease-in-out infinite;
}
.ph-cert-live { color: #4ADE80; font-size: .65rem; font-weight: 700; }

@keyframes phDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  60%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── Hero heading ── */
.ph-hero-title {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 22px;
  animation: phFadeUp .5s .1s ease both;
}
.ph-grad-text {
  background: linear-gradient(125deg, #38BDF8 0%, #00BCD4 45%, #67E8F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Subtitle ── */
.ph-hero-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.58);
  line-height: 1.78;
  max-width: 440px;
  margin-bottom: 38px;
  animation: phFadeUp .5s .2s ease both;
}

/* ── CTA row ── */
.ph-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: phFadeUp .5s .28s ease both;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  font-family: "Plus Jakarta Sans", "Bricolage Grotesque", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22,.61,.36,1),
              box-shadow .22s cubic-bezier(.22,.61,.36,1),
              background .2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.ph-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
  border-radius: inherit;
  pointer-events: none;
}
.ph-btn:hover::before { background: rgba(255,255,255,.07); }
.ph-btn:active { transform: scale(.97) !important; }

.ph-btn-primary {
  background: linear-gradient(135deg, #1565C0 0%, #0F4C81 100%);
  color: #fff;
  box-shadow: 0 6px 28px -4px rgba(15,76,129,.55), inset 0 1px 0 rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
}
.ph-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -4px rgba(15,76,129,.65), inset 0 1px 0 rgba(255,255,255,.18);
}
.ph-btn-primary svg { color: rgba(255,255,255,.8); }

.ph-btn-secondary {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.ph-btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

/* ── Stats strip ── */
.ph-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  animation: phFadeUp .5s .36s ease both;
}
.ph-stat2 {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 26px;
}
.ph-stat2:first-child { padding-left: 0; }
.ph-stat2-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0,188,212,.1);
  border: 1px solid rgba(0,188,212,.18);
  display: grid;
  place-items: center;
  color: #38BDF8;
  flex-shrink: 0;
}
.ph-stat2-num {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.ph-stat2-lbl {
  display: block;
  font-size: .63rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 3px;
}
.ph-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Right: Dashboard cards ── */
.ph-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phFadeUp .5s .18s ease both;
}
.ph-dashboard-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.ph-dash-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}
/* Top sheen line */
.ph-dash-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
}
.ph-dash-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 56px -8px rgba(0,0,0,.45);
}
.ph-dash-card:hover { animation-play-state: paused; }

/* Staggered float */
.ph-dash-card-1 { animation: phFloat 6s      ease-in-out infinite; }
.ph-dash-card-2 { animation: phFloat 6s 1.5s ease-in-out infinite; }
.ph-dash-card-3 { animation: phFloat 6s  .75s ease-in-out infinite; }
.ph-dash-card-4 { animation: phFloat 6s 2.25s ease-in-out infinite; }

@keyframes phFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

/* Product image area */
.ph-dash-img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ph-dash-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.1);
}
.ph-dash-img-tablet  { background: linear-gradient(135deg, rgba(56,189,248,.18) 0%, rgba(15,76,129,.28) 100%); }
.ph-dash-img-syrup   { background: linear-gradient(135deg, rgba(251,191,36,.18) 0%, rgba(217,119,6,.28)  100%); }
.ph-dash-img-inject  { background: linear-gradient(135deg, rgba(110,231,183,.18) 0%, rgba(5,150,105,.28)  100%); }
.ph-dash-img-supp    { background: linear-gradient(135deg, rgba(167,139,250,.18) 0%, rgba(124,58,237,.28)  100%); }

/* Info block */
.ph-dash-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ph-dash-cat {
  font-size: .86rem;
  font-weight: 700;
  color: rgba(255,255,255,.94);
  letter-spacing: -.01em;
}
.ph-dash-sku {
  font-size: .69rem;
  font-weight: 500;
  color: rgba(255,255,255,.38);
}

/* Trend */
.ph-dash-trend {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-dash-pct {
  font-size: .72rem;
  font-weight: 700;
  color: #4ADE80;
}
.ph-dash-arrow {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.2);
  display: grid;
  place-items: center;
  color: #4ADE80;
}

/* ── Fade-up keyframe (shared) ── */
@keyframes phFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   STICKY WIDGET COEXISTENCE
   When the sticky product bar is visible:
   1. Add page padding-bottom so the footer scrolls fully above the bar
   2. Push the back-to-top button above the bar
   ============================================================ */
body.pd-sw-active {
  padding-bottom: 72px;
}
body.pd-sw-active .back-to-top {
  bottom: calc(72px + 2rem) !important;
  transition: bottom .3s cubic-bezier(.22,.61,.36,1), background .2s, transform .2s, box-shadow .2s !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .pd-hero          { grid-template-columns: 1fr; }
  .pd-gal-col       { max-width: 560px; }
  .pd-reviews-wrap  { grid-template-columns: 1fr; }
  .pd-rat-bars      { max-width: 400px; }
  .ph-hero-inner    { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .ph-hero-visual   { display: none; }
  .ph-hero-title    { font-size: clamp(2rem, 4vw, 3rem); }
}

@media (max-width: 768px) {
  .pd-section        { padding: 22px 18px; }
  .pd-tabs-body      { padding: 20px 18px; }
  .pd-feat-grid      { grid-template-columns: 1fr 1fr; }
  .pd-price-cards-row{ flex-wrap: wrap; }
  .pd-price-card     { min-width: 130px; }
  .pd-cta-row        { flex-wrap: wrap; }
  .pd-cta            { flex: unset; width: 100%; }
  .pd-sw-info        { display: none; }
  .ph-stats-strip    { gap: 0; }
  .ph-stat2          { padding: 8px 16px; }
  .ph-hero-ctas      { flex-direction: column; }
  .ph-btn            { justify-content: center; }
}

@media (max-width: 540px) {
  .pd-hero          { gap: 24px; }
  .pd-feat-grid     { grid-template-columns: 1fr; }
  .pd-storage-grid  { grid-template-columns: 1fr 1fr; }
  .pd-purchase-card { padding: 16px; }
  .ph-hero-inner    { padding-top: 40px; padding-bottom: 40px; }
  .ph-hero-title    { font-size: 2rem; letter-spacing: -.03em; }
  .ph-stat2         { padding: 7px 12px; }
  .ph-stat-sep      { height: 28px; }
  .pd-thumbs-row    { gap: 7px; }
  .pd-thumb         { width: 58px; height: 58px; }
}

/* ============================================================
   PRODUCT LISTING CARDS  —  Premium Enterprise Grid
   pl-* namespace — product.html cards only
   ============================================================ */

/* ── Card shell ── */
.pl-card {
  background: #fff;
  border: 1px solid rgba(229,231,235,.85);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s var(--pd-ease), box-shadow .35s var(--pd-ease), border-color .3s;
  animation: plCardIn .45s var(--pd-ease) both;
}
.pl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px -16px rgba(15,76,129,.22), 0 8px 24px -8px rgba(0,0,0,.07);
  border-color: rgba(15,76,129,.2);
}
@keyframes plCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ── Media area ── */
.pl-card-media {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.pl-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #EBF4FF 0%, #F0F8FF 55%, #E8F4FD 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .4s var(--pd-ease);
}
.pl-card:hover .pl-img-wrap { transform: scale(1.025); }
.pl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .4s var(--pd-ease);
}
.pl-card:hover .pl-img { transform: scale(1.06); }
.pl-img-svg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.pl-img-svg svg { width: 55%; height: 55%; opacity: .86; }

/* ── Stock chip (top-left of image) ── */
.pl-stock-chip {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 7px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.pl-stock-in  { background: rgba(22,163,74,.12);  color: #16A34A; border: 1px solid rgba(22,163,74,.22); }
.pl-stock-low { background: rgba(217,119,6,.12);  color: #B45309; border: 1px solid rgba(217,119,6,.22); }
.pl-stock-out { background: rgba(107,114,128,.1); color: #6B7280; border: 1px solid rgba(107,114,128,.2); }

.pl-stock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pl-stock-in  .pl-stock-dot { background: #16A34A; animation: plDotPulse 2.2s ease-in-out infinite; }
.pl-stock-low .pl-stock-dot { background: #D97706; }
.pl-stock-out .pl-stock-dot { background: #9CA3AF; }
@keyframes plDotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
  60%     { box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}

/* ── Wishlist button (top-right of image) ── */
.pl-wish {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229,231,235,.7);
  display: grid;
  place-items: center;
  color: #9CA3AF;
  box-shadow: 0 2px 8px rgba(0,0,0,.09);
  transition: all .2s var(--pd-ease);
}
.pl-wish:hover  { color: #EF4444; transform: scale(1.1); box-shadow: 0 4px 14px rgba(239,68,68,.2); }
.pl-wish.active { color: #EF4444; }
.pl-wish.active svg { fill: #EF4444; }
.pl-wish svg { width: 15px; height: 15px; }

/* ── Hover overlay — Quick View button ── */
.pl-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,17,31,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s var(--pd-ease);
  pointer-events: none;
  z-index: 3;
}
.pl-card:hover .pl-hover-overlay { opacity: 1; pointer-events: auto; }
.pl-quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: rgba(255,255,255,.96);
  color: #0F4C81;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transform: translateY(10px);
  transition: transform .3s var(--pd-ease), background .18s;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  white-space: nowrap;
}
.pl-card:hover .pl-quick-view-btn { transform: translateY(0); }
.pl-quick-view-btn:hover { background: #fff; }
.pl-quick-view-btn svg { width: 14px; height: 14px; }

/* ── Card body ── */
.pl-card-body {
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

/* ── Meta row: category + brand ── */
.pl-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pl-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: rgba(15,76,129,.08);
  color: #0F4C81;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(15,76,129,.14);
  white-space: nowrap;
  flex-shrink: 0;
}
.pl-brand-name {
  font-size: .68rem;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Product name ── */
.pl-pname {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: .93rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  letter-spacing: -.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color .15s;
  margin: 0;
}
.pl-pname:hover { color: #0F4C81; }

/* ── Specs pills ── */
.pl-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pl-spec-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #F3F4F6;
  color: #6B7280;
  font-size: .67rem;
  font-weight: 600;
  border-radius: 5px;
  white-space: nowrap;
}

/* ── Rating row ── */
.pl-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pl-rating-val {
  font-size: .78rem;
  font-weight: 700;
  color: #111827;
}
.pl-rating-cnt {
  font-size: .72rem;
  color: #9CA3AF;
}

/* ── Pricing box ── */
.pl-pricing-box {
  padding: 9px 11px;
  background: linear-gradient(135deg, #EEF5FF 0%, #F7FBFF 100%);
  border: 1px solid rgba(15,76,129,.1);
  border-radius: 11px;
  margin-top: 1px;
}
.pl-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.pl-price-main {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F4C81;
  letter-spacing: -.025em;
  line-height: 1;
}
.pl-price-mrp {
  font-size: .75rem;
  color: #9CA3AF;
  text-decoration: line-through;
  font-weight: 500;
}
.pl-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(22,163,74,.1);
  color: #16A34A;
  font-size: .63rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(22,163,74,.2);
  letter-spacing: .03em;
  white-space: nowrap;
}
.pl-price-label {
  font-size: .67rem;
  color: #9CA3AF;
  font-weight: 500;
  align-self: center;
}
.pl-margin-note {
  margin-top: 4px;
  font-size: .67rem;
  font-weight: 600;
  color: #059669;
  letter-spacing: .02em;
}

/* ── Action buttons ── */
.pl-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}
.pl-btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #1565C0 0%, #0F4C81 100%);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .22s var(--pd-ease);
  box-shadow: 0 4px 14px rgba(15,76,129,.28);
  white-space: nowrap;
}
.pl-btn-cart:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15,76,129,.38);
}
.pl-btn-cart.pl-btn-oos,
.pl-btn-cart:disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.pl-btn-cart svg { width: 14px; height: 14px; flex-shrink: 0; }
.pl-btn-view {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(15,76,129,.18);
  border-radius: 10px;
  color: #0F4C81;
  background: transparent;
  cursor: pointer;
  transition: all .2s var(--pd-ease);
}
.pl-btn-view:hover { background: rgba(15,76,129,.07); border-color: rgba(15,76,129,.38); }
.pl-btn-view svg { width: 16px; height: 16px; }

/* ── Premium skeleton cards ── */
.pl-skel {
  background: #fff;
  border: 1px solid rgba(229,231,235,.7);
  border-radius: 20px;
  overflow: hidden;
}
.pl-skel-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(100deg, #f0f3f7 0%, #e5e9ee 45%, #f0f3f7 80%);
  background-size: 200% 100%;
  animation: plShimmer 1.6s linear infinite;
}
.pl-skel-body {
  padding: 13px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
@keyframes plShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Premium empty state ── */
.pl-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}
.pl-empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,76,129,.08) 0%, rgba(0,188,212,.06) 100%);
  border: 1.5px dashed rgba(15,76,129,.22);
  display: grid;
  place-items: center;
  color: #0F4C81;
  margin-bottom: 18px;
  opacity: .85;
}
.pl-empty-icon svg { width: 34px; height: 34px; }
.pl-empty-state h3 {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.pl-empty-state p {
  font-size: .88rem;
  color: #6B7280;
  max-width: 320px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.pl-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #1565C0 0%, #0F4C81 100%);
  color: #fff;
  font-size: .83rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .22s var(--pd-ease);
  box-shadow: 0 4px 14px rgba(15,76,129,.3);
  font-family: inherit;
}
.pl-empty-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,76,129,.4); }

/* ── Responsive overrides ── */
@media (max-width: 640px) {
  .pl-card-body    { padding: 11px 13px 13px; }
  .pl-pricing-box  { padding: 8px 10px; }
  .pl-price-main   { font-size: 1.06rem; }
  .pl-btn-cart     { font-size: .76rem; padding: 9px 10px; }
  .pl-hover-overlay { display: none; }
}

/* ── Sticky header: product & product-detail pages ────────────
   Makes the entire #site-header block (topbar + nav bar) stick
   together. z-index 100 keeps it above scrolling content but
   below the mobile drawer (110), toasts (200), lightbox (300). */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
#site-header .header {
  position: relative;
}
