/* =========================================================================
   Parineeta Gold — Master Design System (theme.css)
   Signature 6-Color Royal Palette:
     - Champagne Gold: #F6D69D (luminous gold highlights & dark-mode accents)
     - Honey Gold:     #EDB763 (primary gold accent, stars, borders, dark-bg CTAs)
     - Warm Ivory:     #FFF6E7 (luminous main canvas & warm surfaces)
     - Deep Burgundy:  #801F1E (primary brand action, prices, active states)
     - Near Black:     #121212 (sticky header, dark surfaces, primary body ink)
     - Slate Blue:     #5A6A8F (refined secondary text, metadata & utility pills)
     - Card Surface:   White #FFFFFF (6px radius)
     - Typography:     Cormorant Garamond (headings), Inter (body), Noto Sans Bengali
     - Layout:         max-width 1280px, 32px desktop / 16px mobile gutters
     - Accessibility:  >=44px touch targets, visible :focus-visible outline, WCAG AA+
   ========================================================================= */

/* =========================================================================
   1. DESIGN TOKENS
   ========================================================================= */
:root {
  /* Core Parineeta Gold 6-Color Palette */
  --champagne:      #F6D69D;
  --honey-gold:     #EDB763;
  --ivory:          #FFF6E7;
  --ivory-alt:      #F9ECD4;
  --burgundy:       #801F1E;
  --burgundy-dark:  #631615;
  --burgundy-soft:  #F8E9E7;
  --near-black:     #121212;
  --slate:          #5A6A8F;
  --slate-soft:     #EEF1F7;
  --paper:          #FFFFFF;

  /* Semantic Design Tokens */
  --espresso:       var(--burgundy);
  --espresso-dark:  var(--burgundy-dark);
  --espresso-soft:  var(--burgundy-soft);
  --gold:           var(--honey-gold);
  --gold-text:      var(--burgundy);
  --gold-soft:      var(--champagne);
  --gold-light:     var(--ivory-alt);
  --ink:            var(--near-black);
  --ink-soft:       var(--slate);
  --ink-muted:      var(--slate);
  --line:           #EBD9BC;
  --line-strong:    #D9BE94;
  --line-light:     rgba(246, 214, 157, 0.24);

  /* Backward-compatible legacy variable aliases */
  --crimson:        var(--burgundy);
  --crimson-dark:   var(--burgundy-dark);
  --crimson-light:  #9C2A29;
  --cream:          var(--ivory-alt);
  --pearl:          var(--ivory);

  /* Typography */
  --serif:          'Cormorant Garamond', 'Noto Sans Bengali', Georgia, 'Times New Roman', serif;
  --display:        'Cormorant Garamond', 'Noto Sans Bengali', Georgia, serif;
  --sans:           'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:   var(--display);
  --font-body:      var(--sans);
  --font-bn:        'Noto Sans Bengali', var(--sans);

  /* Motion & Elevation */
  --ease:           cubic-bezier(0.23, 1, 0.32, 1);
  --fast:           0.16s var(--ease);
  --med:            0.28s var(--ease);
  --sh-xs:          0 2px 8px rgba(18, 18, 18, 0.05);
  --shadow-sm:      0 6px 18px rgba(18, 18, 18, 0.08);
  --shadow:         0 18px 42px rgba(18, 18, 18, 0.10);
  --shadow-lg:      0 26px 60px rgba(18, 18, 18, 0.16);
  --sh-sm:          var(--shadow-sm);
  --sh:             var(--shadow);
  --sh-lg:          var(--shadow-lg);
  --sh-pop:         0 28px 64px rgba(18, 18, 18, 0.42);

  /* Spacing Scale (4, 8, 12, 16, 24, 32, 48, 64, 96) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Click Shop bridge tokens */
  --cs-primary:       var(--burgundy);
  --cs-primary-hover: var(--burgundy-dark);
  --cs-primary-soft:  var(--burgundy-soft);
  --cs-on-primary:    #FFF6E7;
  --cs-accent:        var(--honey-gold);
  --cs-accent-hover:  var(--champagne);
  --cs-accent-soft:   var(--ivory-alt);
  --cs-bg:            var(--ivory);
  --cs-surface:       var(--paper);
  --cs-surface-2:     var(--ivory-alt);
  --cs-heading:       var(--near-black);
  --cs-ink:           var(--near-black);
  --cs-muted:         var(--slate);
  --cs-faint:         var(--slate);
  --cs-line:          var(--line);
  --cs-line-2:        #F3E6CE;

  /* Status badges */
  --st-pending:    #5A6A8F;  --st-pending-bg:    #EEF1F7;
  --st-processing: #3C4D73;  --st-processing-bg: #E5EBF5;
  --st-hold:       #801F1E;  --st-hold-bg:       #F9ECD4;
  --st-complete:   #1F5F35;  --st-complete-bg:   #E5F3EA;
  --st-incomplete: #801F1E;  --st-incomplete-bg: #F8E9E7;

  /* Radii (Card radius 6px) */
  --r-xs:   4px;
  --r-sm:   4px;
  --r:      6px;
  --r-lg:   6px;
  --r-xl:   10px;
  --r-pill: 999px;

  /* Layout */
  --maxw:     1280px;
  --gut:      32px;
  --header-h: 82px;

  /* Legacy aliases */
  --cs-text:           var(--near-black);
  --cs-border:         var(--line);
  --cs-radius:         var(--r);
  --cs-radius-lg:      var(--r-lg);
  --cs-shadow:         var(--shadow);
  --cs-font-head:      var(--display);
  --cs-link:           var(--burgundy);
  --cs-footer-bg:      var(--ivory-alt);
  --cs-footer-surface: var(--paper);
  --cs-footer-text:    var(--slate);
  --cs-footer-muted:   var(--slate);
  --cs-footer-heading: var(--near-black);
  --cs-footer-border:  var(--line);
}

:root[data-round="sharp"] { --r-xs: 2px; --r-sm: 3px; --r: 4px; --r-lg: 4px; }
:root[data-round="round"] { --r-xs: 8px; --r-sm: 10px; --r: 12px; --r-lg: 16px; }

:root[data-skin="parineeta"] {
  --burgundy: #801F1E; --burgundy-dark: #631615;
  --espresso: #801F1E; --espresso-dark: #631615;
  --cs-primary: #801F1E; --cs-primary-hover: #631615;
  --gold: #EDB763; --gold-soft: #F6D69D; --gold-text: #801F1E;
  --cs-accent: #EDB763; --cs-accent-hover: #F6D69D;
}

:root[data-theme="dark"] {
  --ivory:       #121212;
  --ivory-alt:   #1B1818;
  --paper:       #1F1C1C;
  --ink:         #FFF6E7;
  --ink-soft:    #B4C0DC;
  --ink-muted:   #B4C0DC;
  --gold-text:   #F6D69D;
  --line:        rgba(246, 214, 157, 0.2);
  --line-strong: rgba(237, 183, 99, 0.36);
  --cs-bg:       #121212;
  --cs-surface:  #1F1C1C;
  --cs-surface-2:#1B1818;
  --cs-heading:  #FFF6E7;
  --cs-ink:      #FFF6E7;
  --cs-muted:    #B4C0DC;
  --cs-line:     rgba(246, 214, 157, 0.2);
}

/* =========================================================================
   2. BASE, TYPOGRAPHY & ACCESSIBLE FOCUS
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.16;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--espresso);
  color: #FFFFFF;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 14px; }

.container, .wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

.section { padding: var(--s-8) 0; }
.section-tight { padding: var(--s-7) 0; }

/* Typography Helpers (Spec Heading Scale: Hero 40–64px, Section 28–40px, Product 18–22px) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow svg { width: 14px; height: 14px; }

.pg-italic-eyebrow {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.pg-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-6);
}
.pg-section-head--left { text-align: left; margin-left: 0; }

.pg-section-title,
.section-heading {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
}
.section-heading em {
  font-style: italic;
  color: var(--gold-text);
  font-weight: 500;
}

.pg-section-subtitle,
.section-copy {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.pg-sec-head, .sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}

.pg-section-cta-wrap {
  margin-top: var(--s-6);
  text-align: center;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.empty-state svg { width: 32px; height: 32px; margin: 0 auto 12px; color: var(--gold-text); }
.empty-state h3 { font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.pg-empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* =========================================================================
   3. BUTTONS (Spec: Primary Espresso + White; Secondary Espresso Outline; >=44px touch)
   ========================================================================= */
.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.button svg, .btn svg { width: 16px; height: 16px; flex: none; }

.button-primary, .btn-primary, .button-crimson {
  background: var(--burgundy);
  color: var(--ivory);
  border-color: var(--burgundy);
}
.button-primary:hover, .btn-primary:hover, .button-crimson:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: #FFFFFF;
}

.button-secondary, .btn-ghost, .button-quiet {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.button-secondary:hover, .btn-ghost:hover, .button-quiet:hover {
  background: var(--burgundy);
  color: var(--ivory);
}

.button-gold {
  background: var(--honey-gold);
  color: var(--near-black);
  border-color: var(--honey-gold);
}
.button-gold:hover { background: var(--champagne); border-color: var(--champagne); color: var(--near-black); }

.button:disabled, .btn:disabled { opacity: 0.55; cursor: not-allowed; }

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { border-color: var(--honey-gold); color: var(--burgundy); }

/* =========================================================================
   4. NEAR-BLACK SITE HEADER (#121212) WITH HONEY & CHAMPAGNE GOLD ACCENTS
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--near-black);
  color: var(--ivory);
  border-bottom: 1px solid rgba(237, 183, 99, 0.38);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* =========================================================================
   4B. LUXURY LIVE BAJUS GOLD RATE RIBBON (.pg-gold-ribbon)
   Docked cleanly beneath .site-header · 22K · 21K · 18K · Sonaton
   ========================================================================= */
.pg-gold-ribbon {
  position: relative;
  z-index: 40;
  background: linear-gradient(
    90deg,
    #100D0D 0%,
    #1A1112 24%,
    #221314 50%,
    #1A1112 76%,
    #100D0D 100%
  );
  color: var(--ivory);
  border-bottom: 1px solid rgba(237, 183, 99, 0.28);
  box-shadow: inset 0 1px 0 rgba(246, 214, 157, 0.08);
}

.pg-gold-ribbon__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px var(--gut);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pg-gold-ribbon__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 32px;
  padding: 2px 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  white-space: nowrap;
  transition: color var(--fast);
}
.pg-gold-ribbon__badge:hover {
  color: #FFFFFF;
}
.pg-gold-ribbon__label-short { display: none; }

.pg-gold-ribbon__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--honey-gold);
  box-shadow: 0 0 0 0 rgba(237, 183, 99, 0.65);
  animation: pgGoldPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes pgGoldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(237, 183, 99, 0.65); }
  70%  { box-shadow: 0 0 0 7px rgba(237, 183, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 183, 99, 0); }
}

.pg-gold-ribbon__divider {
  width: 1px;
  height: 18px;
  flex: none;
  background: linear-gradient(
    180deg,
    rgba(237, 183, 99, 0) 0%,
    rgba(237, 183, 99, 0.48) 50%,
    rgba(237, 183, 99, 0) 100%
  );
}

.pg-gold-ribbon__scroller {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.pg-gold-ribbon__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.pg-gold-ribbon__viewport::before,
.pg-gold-ribbon__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.pg-gold-ribbon__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #181011 0%, rgba(24, 16, 17, 0) 100%);
}
.pg-gold-ribbon__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #140F10 0%, rgba(20, 15, 16, 0) 100%);
}
.pg-gold-ribbon__scroller.has-overflow-left .pg-gold-ribbon__viewport::before { opacity: 1; }
.pg-gold-ribbon__scroller.has-overflow-right .pg-gold-ribbon__viewport::after { opacity: 1; }

.pg-gold-ribbon__track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 2px 1px;
}
.pg-gold-ribbon__track::-webkit-scrollbar { display: none; }
.pg-gold-ribbon__track:focus-visible {
  outline: 1.5px solid var(--honey-gold);
  outline-offset: 2px;
  border-radius: var(--r-pill);
}

.pg-gold-ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  scroll-snap-align: start;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(246, 214, 157, 0.15);
  background: rgba(255, 246, 231, 0.035);
  color: var(--ivory);
  white-space: nowrap;
  transition: border-color var(--fast), background var(--fast), transform var(--fast), box-shadow var(--fast);
}
.pg-gold-ribbon__item:hover,
.pg-gold-ribbon__item:focus-visible {
  border-color: rgba(237, 183, 99, 0.55);
  background: rgba(237, 183, 99, 0.13);
  transform: translateY(-1px);
}

.pg-gold-ribbon__item.is-featured {
  background: linear-gradient(
    135deg,
    rgba(237, 183, 99, 0.18) 0%,
    rgba(128, 31, 30, 0.28) 100%
  );
  border-color: rgba(237, 183, 99, 0.45);
  box-shadow: inset 0 1px 0 rgba(246, 214, 157, 0.18);
}
.pg-gold-ribbon__item.is-featured:hover,
.pg-gold-ribbon__item.is-featured:focus-visible {
  border-color: var(--champagne);
  background: linear-gradient(
    135deg,
    rgba(237, 183, 99, 0.25) 0%,
    rgba(128, 31, 30, 0.34) 100%
  );
}

.pg-gold-ribbon__karat {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--honey-gold);
  line-height: 1.2;
}
.pg-gold-ribbon__item.is-featured .pg-gold-ribbon__karat {
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #F6D69D 0%, #EDB763 100%);
  color: #121212;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pg-gold-ribbon__price {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.2;
}
.pg-gold-ribbon__value {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #FFF6E7;
  font-variant-numeric: tabular-nums;
}
.pg-gold-ribbon__item.is-featured .pg-gold-ribbon__value {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.pg-gold-ribbon__unit {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(246, 214, 157, 0.7);
}

.pg-gold-ribbon__item.is-updated {
  animation: pgGoldFlash 1.1s var(--ease);
}
@keyframes pgGoldFlash {
  0%   { border-color: var(--champagne); box-shadow: 0 0 0 2px rgba(246, 214, 157, 0.38); }
  100% { box-shadow: 0 0 0 0 rgba(246, 214, 157, 0); }
}

.pg-gold-ribbon__nav {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(237, 183, 99, 0.42);
  background: rgba(18, 14, 14, 0.92);
  color: var(--champagne);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.pg-gold-ribbon__nav[hidden] { display: none !important; }
.pg-gold-ribbon__nav svg { width: 14px; height: 14px; }
.pg-gold-ribbon__nav:hover {
  background: var(--honey-gold);
  border-color: var(--honey-gold);
  color: #121212;
}

@media (max-width: 540px), (hover: none) and (pointer: coarse) {
  .pg-gold-ribbon__nav { display: none !important; }
}

.nav-shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .icon-button {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.9);
}
.site-header .icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-soft);
}

.menu-button { display: none; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  min-height: 44px;
}
.wordmark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(216, 185, 134, 0.45);
  background: rgba(216, 185, 134, 0.12);
  padding: 3px;
}
.wordmark-text {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #FFFFFF;
}
.wordmark-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.nav-links > a,
.nav-link-dropdown,
.pg-primary-menu-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--fast);
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-link-dropdown:hover,
.pg-primary-menu-list > li > a:hover { color: var(--gold-soft); }

.pg-primary-menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chevron-icon svg { width: 14px; height: 14px; transition: transform var(--fast); }
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-wrapper.is-open .chevron-icon svg { transform: rotate(180deg); }

/* Mega-Menu Panel */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: -48px;
  width: min(780px, 90vw);
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
  z-index: 100;
}
.nav-dropdown-wrapper.is-open .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; }
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mega-menu-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-text);
}
.mega-menu-view-all svg { width: 14px; height: 14px; }
.mega-menu-categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-menu-cat-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background var(--fast), border-color var(--fast);
}
.mega-menu-cat-item:hover { background: var(--ivory); border-color: var(--line); }
.mega-menu-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.cat-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--gold-light);
  color: var(--gold-text);
}
.mega-menu-cat-desc { margin: 3px 0 0; font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.mega-menu-col-feature {
  padding-left: 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega-menu-feature-cards { display: flex; flex-direction: column; gap: 10px; }
.mega-menu-feature-card {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: border-color var(--fast), transform var(--fast);
}
.mega-menu-feature-card:hover { border-color: var(--gold); transform: translateX(3px); }
.feature-card-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-text); }
.mega-menu-feature-card h4 { font-size: 18px; margin: 4px 0 6px; color: var(--ink); }
.feature-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--espresso); }
.feature-card-link svg { width: 13px; height: 13px; }

/* Header Right Actions */
.nav-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.pg-hdr-account {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.pg-hdr-account:hover { color: var(--gold-soft); }

.header-wishlist-badge, .pg-hdr-badge {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--honey-gold);
  color: var(--near-black);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}
.header-wishlist-badge[hidden], .pg-hdr-badge[hidden] { display: none; }

.pg-hdr-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--r);
  color: #FFFFFF;
  transition: background var(--fast);
}
.pg-hdr-cart:hover { background: rgba(255, 255, 255, 0.08); color: var(--gold-soft); }
.pg-hdr-cart__icon { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; }
.pg-hdr-cart__icon svg { width: 19px; height: 19px; }
.pg-hdr-cart__icon .header-wishlist-badge { top: -5px; right: -7px; }
.pg-cart-subtotal { font-size: 13px; font-weight: 600; color: var(--gold-soft); white-space: nowrap; }

/* Mobile Drawer + Accordions */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(31, 18, 18, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: flex-start;
}
.mobile-drawer-backdrop[hidden] { display: none !important; }
.mobile-drawer {
  width: min(88vw, 360px);
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-pop);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--near-black);
  color: var(--ivory);
  border-bottom: 1px solid rgba(237, 183, 99, 0.35);
}
.mobile-drawer-header .icon-button { background: transparent; border-color: rgba(255,255,255,0.2); color: #FFFFFF; }
.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}
.mobile-drawer-nav > a,
.pg-drawer-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  width: 100%;
  text-align: left;
}
.mobile-drawer-nav > a svg, .pg-drawer-acc-btn svg { width: 16px; height: 16px; color: var(--ink-soft); transition: transform var(--fast); }
.pg-drawer-acc-btn.is-open .pg-acc-chevron svg { transform: rotate(180deg); }
.mobile-drawer-sub {
  display: flex;
  flex-direction: column;
  padding: 6px 0 8px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.mobile-drawer-sub[hidden] { display: none; }
.mobile-drawer-sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 4px 8px;
}
.mobile-drawer-sub a:hover { color: var(--espresso); }
.mobile-drawer-actions {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ivory);
}

/* Live Search Dialog */
.pg-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(31, 18, 18, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 24px;
}
.pg-search-overlay[hidden] { display: none !important; }
.pg-search-modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--sh-pop);
}
.pg-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pg-search-form { display: flex; gap: 10px; }
.pg-search-form input {
  flex: 1;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--ivory);
  font-size: 15px;
}
.pg-search-live-results { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pg-live-search-list { list-style: none; margin: 0; padding: 0; }
.pg-live-search-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: background var(--fast);
}
.pg-live-search-item:hover { background: var(--ivory); }
.pg-live-search-thumb {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ivory-alt);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-text);
}
.pg-live-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-live-search-info strong { display: block; font-size: 14.5px; color: var(--ink); }
.pg-live-search-info small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.pg-live-search-price { font-size: 14px; font-weight: 600; color: var(--gold-text); white-space: nowrap; }
.pg-live-search-foot { padding: 12px 14px; background: var(--ivory); text-align: center; font-size: 13.5px; font-weight: 600; color: var(--espresso); }
.pg-live-search-state { padding: 20px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.pg-live-search-state p { margin: 0 0 8px; color: var(--ink); font-weight: 500; }
.pg-search-quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}
.pg-search-quick-links a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font-size: 12.5px;
}
.pg-search-quick-links a:hover { border-color: var(--gold); color: var(--gold-text); }

/* =========================================================================
   5. BREADCRUMBS
   ========================================================================= */
.breadcrumbs-nav { margin-bottom: 20px; }
.breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumbs-item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); }
.breadcrumbs-link:hover { color: var(--espresso); }
.breadcrumbs-link svg, .breadcrumbs-separator svg { width: 13px; height: 13px; }
.breadcrumbs-current { color: var(--ink); font-weight: 500; }

/* =========================================================================
   6. PRODUCT GRID & EDITORIAL JEWELLERY CARD (with Floating White Hover Bar)
   Neutralizes WooCommerce core `woocommerce-layout.css` float/width &
   clearfix `::before`/`::after` pseudo-elements so cards never collapse.
   ========================================================================= */
.product-grid:not(.pg-bridal-track):not(.carousel),
ul.products:not(.pg-bridal-track):not(.carousel),
.woocommerce ul.products:not(.pg-bridal-track):not(.carousel),
.woocommerce-page ul.products:not(.pg-bridal-track):not(.carousel) {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}
.product-grid::before,
.product-grid::after,
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

.product-grid.grid-cols-2:not(.pg-bridal-track),
ul.products.grid-cols-2:not(.pg-bridal-track),
.woocommerce ul.products.grid-cols-2:not(.pg-bridal-track),
.woocommerce-page ul.products.grid-cols-2:not(.pg-bridal-track) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.grid-cols-3:not(.pg-bridal-track),
ul.products.grid-cols-3:not(.pg-bridal-track),
.woocommerce ul.products.grid-cols-3:not(.pg-bridal-track),
.woocommerce-page ul.products.grid-cols-3:not(.pg-bridal-track) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.grid-cols-4:not(.pg-bridal-track),
ul.products.grid-cols-4:not(.pg-bridal-track),
.woocommerce ul.products.grid-cols-4:not(.pg-bridal-track),
.woocommerce-page ul.products.grid-cols-4:not(.pg-bridal-track) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-grid:not(.pg-bridal-track):not(.carousel) > li,
ul.products:not(.pg-bridal-track):not(.carousel) > li.product,
ul.products:not(.pg-bridal-track):not(.carousel) > li.product-category,
.woocommerce ul.products:not(.pg-bridal-track):not(.carousel) li.product,
.woocommerce-page ul.products:not(.pg-bridal-track):not(.carousel) li.product,
.woocommerce ul.products:not(.pg-bridal-track):not(.carousel) li.product-category,
.woocommerce-page ul.products:not(.pg-bridal-track):not(.carousel) li.product-category,
.woocommerce ul.products[class*="columns-"]:not(.pg-bridal-track):not(.carousel) li.product,
.woocommerce-page ul.products[class*="columns-"]:not(.pg-bridal-track):not(.carousel) li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.product-card-wrapper { margin: 0; min-width: 0; }
.product-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--med), border-color var(--med), transform var(--med);
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--cs-line-2);
}
.product-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px;
}
.product-img-primary,
.product-img-secondary {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.product-img-secondary {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  opacity: 0;
}
.product-card:hover .product-img-primary { transform: scale(1.04); }
.product-card:hover .product-image.has-secondary-img .product-img-secondary { opacity: 1; }

.pg-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  background: var(--ivory);
  border: 1px solid rgba(237, 183, 99, 0.25);
  border-radius: 4px;
  color: var(--gold-text);
  text-align: center;
  padding: 34px 10px 12px;
  overflow: hidden;
}
.pg-card-placeholder__mark {
  font-family: var(--display);
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0.12em;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: break-word;
}
.pg-card-placeholder__sub {
  font-size: clamp(9.5px, 1vw, 11px);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  max-width: 100%;
}

.card-badge-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}
.card-purity-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--near-black);
  color: var(--champagne);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.card-collection-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
}
.card-badge--muted { background: var(--slate-soft); color: var(--slate); border: 1px solid rgba(90, 106, 143, 0.28); }

/* Floating White Action Bar (Screenshot 4 & 5) with Dark Espresso Tooltips */
.pg-card-actions {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(10px);
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 24px rgba(46, 28, 28, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast), transform var(--fast);
  z-index: 4;
}
.product-card:hover .pg-card-actions,
.product-card:focus-within .pg-card-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.pg-action-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  transition: color var(--fast), background var(--fast);
}
.pg-action-btn + .pg-action-btn { border-left: 1px solid var(--cs-line-2); }
.pg-action-btn svg { width: 17px; height: 17px; }
.pg-action-btn:hover,
.pg-action-btn.is-active,
.pg-action-btn[aria-pressed="true"] { color: var(--gold-text); background: var(--ivory); }

.pg-action-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--near-black);
  color: var(--champagne);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast), transform var(--fast);
  box-shadow: 0 6px 14px rgba(18, 18, 18, 0.28);
}
.pg-action-btn[data-tooltip]:hover::before,
.pg-action-btn[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Card Typography (Spec: Product title 18–22px) */
.product-meta {
  padding: 16px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.product-cat-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-meta h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.product-meta h3 a:hover { color: var(--gold-text); }

.product-spec-line {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.product-price-row { margin-top: 2px; }
.product-price {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-price-old { font-size: 13px; color: var(--ink-soft); font-weight: 400; text-decoration: line-through; }
.product-price-request {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--espresso);
}
.product-card-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--cs-line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.product-availability { display: inline-flex; align-items: center; gap: 4px; color: #1F5F35; font-weight: 500; white-space: nowrap; }
.product-availability.is-out { color: var(--ink-soft); }
.avail-dot { font-size: 8px; flex: none; }
.product-sku-mini { font-family: monospace; font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

/* =========================================================================
   7. COMPARE PAGE TABLE (`.pg-compare-wrap`)
   ========================================================================= */
.pg-compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pg-compare-scroll {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.pg-compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}
.pg-compare-table th,
.pg-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--cs-line-2);
  vertical-align: top;
  text-align: left;
}
.pg-compare-table th:first-child,
.pg-compare-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--ivory);
  font-weight: 600;
  color: var(--ink);
  min-width: 150px;
  z-index: 2;
}
.pg-compare-prod-head { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.pg-compare-prod-head img { width: 96px; height: 96px; object-fit: contain; border-radius: 4px; background: #FFFFFF; border: 1px solid var(--line); padding: 6px; }
.pg-compare-prod-head h3 { font-size: 18px; }
.pg-compare-remove { font-size: 12px; color: var(--gold-text); text-decoration: underline; min-height: 32px; }

/* =========================================================================
   8. MINI-CART INTERACTIVE DRAWER & WISHLIST DRAWER
   ========================================================================= */
.pg-minicart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-minicart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ivory);
}
.pg-minicart-thumb { width: 72px; height: 72px; border-radius: 4px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); }
.pg-minicart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pg-minicart-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pg-minicart-name { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.pg-minicart-remove {
  min-width: 32px;
  min-height: 32px;
  font-size: 18px;
  color: var(--ink-soft);
  border-radius: 4px;
}
.pg-minicart-remove:hover { color: var(--espresso); background: var(--ivory-alt); }
.pg-minicart-variants { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.pg-minicart-variants dl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pg-minicart-variants dt, .pg-minicart-variants dd { margin: 0; display: inline; }
.pg-minicart-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.pg-mc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
}
.pg-mc-step { width: 34px; height: 34px; display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.pg-mc-step:hover { background: var(--ivory); }
.pg-mc-val { min-width: 28px; text-align: center; font-size: 13.5px; font-weight: 600; }
.pg-minicart-price { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.pg-minicart-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pg-minicart-subtotal { display: flex; justify-content: space-between; font-size: 16px; margin: 0 0 8px; }
.pg-minicart-subtotal strong { color: var(--espresso); font-size: 18px; }
.pg-minicart-note { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 14px; }
.pg-minicart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
[data-pg-minicart-body].is-loading { opacity: 0.6; pointer-events: none; }

/* Wishlist Drawer */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 145;
  background: rgba(31, 18, 18, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: flex-end;
}
.wishlist-overlay[hidden] { display: none !important; }
.wishlist-drawer {
  width: min(92vw, 420px);
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-pop);
}
.wishlist-header { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.wishlist-header h3 { font-size: 20px; }
.wishlist-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.wishlist-empty { text-align: center; padding: 52px 16px; }
.wishlist-items-list { display: flex; flex-direction: column; gap: 12px; }
.wishlist-item-card {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ivory);
}
.wishlist-item-image { width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #FFFFFF; }
.wishlist-item-image img { width: 100%; height: 100%; object-fit: contain; }
.wishlist-item-title { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.wishlist-item-spec { font-size: 12px; color: var(--ink-soft); }
.wishlist-item-price { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.wishlist-item-remove { color: var(--ink-soft); min-width: 32px; min-height: 32px; }
.wishlist-footer { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--ivory); }

/* =========================================================================
   9. FORMS, CONTACT, GOLD RATES BOARD, FAQ, POLICIES & AI CHATBOX
   ========================================================================= */
.form-card {
  max-width: 740px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: 15px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field-wide { grid-column: 1 / -1; }
.pg-field-error { display: block; margin-top: 4px; font-size: 12.5px; color: var(--st-incomplete); min-height: 1em; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--st-incomplete); }
.form-status.is-success { color: var(--st-complete); }

.pg-contact-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 28px; align-items: start; }
.pg-profile-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.pg-profile-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pg-profile-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--espresso-soft); color: var(--espresso); display: grid; place-items: center; flex: none; }
.pg-profile-card__head h2 { font-size: 22px; }
.pg-profile-card__sub { font-size: 13px; color: var(--ink-soft); }
.pg-profile-card__rows { display: flex; flex-direction: column; gap: 14px; }
.pg-profile-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.pg-profile-row strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 2px; }
.pg-crimson-link, .pg-maps-link { color: var(--gold-text); font-weight: 600; }
.pg-profile-card__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* Gold Rates Board */
.pg-gold-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-gold-rate-card { padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 6px; transition: border-color var(--fast), transform var(--fast), box-shadow var(--fast); }
.pg-gold-rate-card:hover { border-color: var(--honey-gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pg-gold-rate-card.is-featured { background: linear-gradient(155deg, #161111 0%, #241415 100%); color: var(--ivory); border-color: var(--honey-gold); box-shadow: var(--shadow); }
.pg-rate-karat { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.pg-gold-rate-card.is-featured .pg-rate-karat { color: var(--gold-soft); }
.pg-rate-bhori { font-size: 23px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pg-rate-bhori small { font-size: 12px; font-weight: 500; opacity: 0.78; }
.pg-rate-gram { font-size: 13.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pg-gold-rate-card.is-featured .pg-rate-gram { color: rgba(255, 255, 255, 0.84); }
.pg-rate-sub { font-size: 12px; color: var(--ink-soft); margin-top: auto; }
.pg-gold-rate-card.is-featured .pg-rate-sub { color: var(--gold-soft); }
.pg-gold-calc__grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 18px; align-items: start; }
.pg-gold-calc__result { padding: 18px 20px; background: var(--ivory); border: 1px solid var(--gold); border-radius: var(--r); display: flex; flex-direction: column; gap: 8px; }
.pg-calc-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pg-calc-row--total { padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 16px; font-weight: 700; color: var(--ink); }

/* Standalone Gold Rates Strip Section (.pg-rates-strip) */
.pg-rates-strip { background: linear-gradient(90deg, #120E0E 0%, #201314 50%, #120E0E 100%); color: var(--ivory); border-top: 1px solid rgba(237, 183, 99, 0.25); border-bottom: 1px solid rgba(237, 183, 99, 0.25); padding: 20px 0; }
.pg-rates-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pg-rates-strip__label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-rates-strip__label strong { font-family: var(--display); font-size: 19px; letter-spacing: 0.06em; color: var(--champagne); }
.pg-rates-strip__label span:last-child { font-size: 12px; color: rgba(255, 246, 231, 0.72); }
.pg-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey-gold); box-shadow: 0 0 0 0 rgba(237, 183, 99, 0.65); animation: pgGoldPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.pg-rates-strip__grid { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; justify-content: center; }
.pg-rates-strip__item { display: inline-flex; flex-direction: column; gap: 2px; padding: 8px 16px; border-radius: var(--r); border: 1px solid rgba(246, 214, 157, 0.18); background: rgba(255, 246, 231, 0.04); }
.pg-rates-strip__item.is-featured { border-color: rgba(237, 183, 99, 0.5); background: rgba(237, 183, 99, 0.14); }
.pg-rates-strip__karat { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--honey-gold); }
.pg-rates-strip__price { font-size: 16px; font-weight: 700; color: #FFF6E7; font-variant-numeric: tabular-nums; }
.pg-rates-strip__cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--r); border: 1px solid rgba(237, 183, 99, 0.45); color: var(--champagne); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: background var(--fast), color var(--fast); }
.pg-rates-strip__cta svg { width: 14px; height: 14px; }
.pg-rates-strip__cta:hover { background: var(--honey-gold); color: #121212; }

/* FAQ & Policies */
.pg-faq-list, .pg-faq-card { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.pg-faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.pg-faq-item summary { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-faq-item summary::-webkit-details-marker { display: none; }
.pg-faq-item summary::after { content: '+'; color: var(--gold-text); font-size: 22px; font-family: var(--sans); font-weight: 400; }
.pg-faq-item[open] summary::after { content: '−'; }
.pg-faq-item p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.pg-policies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pg-policy-card, .pg-policies-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.pg-policy-card h3, .pg-policies-card h2 { margin: 0 0 10px; font-size: 22px; color: var(--espresso); }
.pg-policy-block { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Parineeta AI ChatBox */
.pg-chatbox { padding: 0; overflow: hidden; }
.pg-chatbox__head { padding: 18px 24px; background: var(--espresso); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-chatbox__brand { display: flex; align-items: center; gap: 12px; }
.pg-chatbox__bot-ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(216, 185, 134, 0.16); color: var(--gold-soft); display: grid; place-items: center; }
.pg-chatbox__brand strong { display: block; font-family: var(--display); font-size: 18px; color: #FFFFFF; }
.pg-chatbox__brand span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.pg-chatbox__reset { padding: 6px 12px; border: 1px solid rgba(216, 185, 134, 0.4); border-radius: 4px; font-size: 12px; color: var(--gold-soft); }
.pg-chatbox__messages { padding: 22px 24px; min-height: 280px; max-height: 480px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; background: var(--ivory); }
.pg-chatbox__suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chat-suggest-btn, .pg-chat-chip { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--ink); }
.pg-chat-suggest-btn:hover, .pg-chat-chip:hover { border-color: var(--espresso); background: var(--espresso-soft); }
.pg-chat-msg { max-width: 86%; padding: 12px 16px; border-radius: var(--r); font-size: 14.5px; line-height: 1.58; white-space: pre-wrap; }
.pg-chat-msg--user { align-self: flex-end; background: var(--espresso); color: #FFFFFF; }
.pg-chat-msg--assistant { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.pg-chatbox__form { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.pg-chatbox__form input { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--ivory); }
.pg-chatbox__foot { padding: 10px 24px 14px; font-size: 12.5px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--paper); }

/* =========================================================================
   10. 5-COLUMN EDITORIAL FOOTER (Screenshot 2 Adapted to Warm Ivory / Stone)
   ========================================================================= */
.site-footer {
  background: var(--ivory-alt);
  color: var(--slate);
  border-top: 2px solid var(--honey-gold);
  padding: 64px 0 28px;
  margin-top: var(--s-7);
}
.pg-footer-5col {
  display: grid;
  grid-template-columns: 1.45fr 1.25fr 0.95fr 0.95fr 0.95fr;
  gap: 32px;
  padding-bottom: 44px;
}
.site-footer .wordmark-text { color: var(--near-black); }
.site-footer .wordmark-sub { color: var(--burgundy); }
.site-footer .wordmark img { background: var(--near-black); border-color: var(--honey-gold); }
.footer-intro { margin: 14px 0 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.footer-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact-ic svg { width: 15px; height: 15px; color: var(--gold-text); margin-top: 3px; flex: none; }
.footer-contact-list a:hover { color: var(--espresso); }

.foot-social { display: flex; gap: 8px; margin-top: 18px; }
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--espresso);
  display: grid;
  place-items: center;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.foot-social a svg { width: 16px; height: 16px; }
.foot-social a:hover { background: var(--espresso); border-color: var(--espresso); color: #FFFFFF; }

.footer-col h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.footer-col > li { list-style: none; margin: 0; padding: 0; }
.footer-col > a,
.footer-col li a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--fast);
}
.footer-col > a:hover, .footer-col li a:hover { color: var(--espresso); }

.footer-posts-list { display: flex; flex-direction: column; gap: 14px; }
.footer-post-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.footer-post-item:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-post-thumb { width: 60px; height: 50px; border-radius: 4px; overflow: hidden; background: var(--paper); }
.footer-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.footer-post-meta strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.footer-post-meta time { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; }
.footer-post-item:hover .footer-post-meta strong { color: var(--gold-text); }

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-payments__label { font-size: 12px; font-weight: 600; color: var(--ink); }
.footer-pay-pill {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Scroll-to-Top Circular Elevated White Button (Screenshot 1–12) & Floating AI */
.pg-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--espresso);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  transition: transform var(--fast), background var(--fast), color var(--fast);
}
.pg-scroll-top[hidden] { display: none; }
.pg-scroll-top svg { width: 18px; height: 18px; }
.pg-scroll-top:hover { background: var(--espresso); color: #FFFFFF; transform: translateY(-2px); }

.floating-ai {
  position: fixed;
  z-index: 55;
  right: 24px;
  bottom: 82px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--espresso);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
}
.floating-ai svg { width: 16px; height: 16px; color: var(--gold-soft); }

/* =========================================================================
   11. SHARED INFRASTRUCTURE (Drawers, Modals, Cards, Status Badges, Mobile Bar)
   ========================================================================= */
.card  { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-xs); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .cs-field__label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.input, .select { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-size: 15px; }

.sbadge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sbadge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sbadge.pending    { background: var(--st-pending-bg); color: var(--st-pending); }
.sbadge.processing { background: var(--st-processing-bg); color: var(--st-processing); }
.sbadge.hold       { background: var(--st-hold-bg); color: var(--st-hold); }
.sbadge.completed  { background: var(--st-complete-bg); color: var(--st-complete); }
.sbadge.cancelled, .sbadge.failed, .sbadge.incomplete { background: var(--st-incomplete-bg); color: var(--st-incomplete); }

.scrim { position: fixed; inset: 0; background: rgba(31, 18, 18, 0.56); backdrop-filter: blur(3px); z-index: 120; opacity: 0; visibility: hidden; transition: opacity var(--med), visibility var(--med); }
.scrim.open { opacity: 1; visibility: visible; }

/* Keep off-screen panel shadows from painting over the storefront. */
.drawer, .skinpanel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: var(--sh-pop);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--med), visibility var(--med);
}
.drawer.open, .skinpanel.open { transform: none; visibility: visible; }
.drawer { width: min(420px, 94vw); z-index: 130; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.drawer__head h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.drawer__head .x, .modal__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.drawer__head .x:hover, .modal__x:hover { border-color: var(--espresso); color: var(--espresso); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }

.modal { position: fixed; inset: 0; z-index: 155; display: grid; place-items: center; padding: 16px; background: rgba(31, 18, 18, 0.65); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity var(--med), visibility var(--med); }
.modal.open, .modal.is-open { opacity: 1; visibility: visible; }
.modal[hidden] { display: none !important; }
.modal__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); width: min(860px, 96vw); max-height: 92vh; overflow: hidden; box-shadow: var(--sh-pop); display: flex; flex-direction: column; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.modal__head h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.modal__head h3 .qchip { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; background: var(--espresso); color: #FFFFFF; padding: 3px 8px; border-radius: 4px; }
.modal__body { overflow-y: auto; padding: 22px 24px; }

.skinpanel { width: min(340px, 92vw); z-index: 135; }
.skinpanel__head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: var(--ivory); }
.skinpanel__body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.skin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.skin-sw { aspect-ratio: 1; border-radius: 4px; border: 2px solid transparent; }
.skin-sw.on { border-color: var(--ink); }
.seg { display: flex; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: 3px; gap: 3px; }
.seg button { flex: 1; min-height: 38px; border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: var(--sh-xs); }

/* Mobile Bottom Nav (4 items: Shop, Wishlist, Account, Cart — reserves bottom space cleanly) */
.mbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 65;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(46, 28, 28, 0.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mbar__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mbar a, .mbar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}
.mbar a svg, .mbar__btn svg { width: 20px; height: 20px; }
.mbar a.active { color: var(--espresso); }
.mbar__ic { position: relative; display: inline-grid; place-items: center; }
.mbar__badge {
  position: absolute;
  top: -5px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.mbar__badge[hidden] { display: none; }

/* Utilities */
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.sumrow { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; }
.sumrow.total { font-size: 18px; font-weight: 700; color: var(--ink); font-family: var(--display); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* =========================================================================
   12. RESPONSIVE BREAKPOINTS (1024px, 768px, 640px — zero overflow at 360px+)
   ========================================================================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-button { display: inline-grid; }
  .hide-tablet { display: none !important; }
  .product-grid:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .product-grid.grid-cols-4:not(.pg-bridal-track),
  ul.products.grid-cols-4:not(.pg-bridal-track),
  .woocommerce ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .woocommerce-page ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .woocommerce ul.products.grid-cols-4:not(.pg-bridal-track),
  .woocommerce-page ul.products.grid-cols-4:not(.pg-bridal-track) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-footer-5col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-gold-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-gold-calc__grid { grid-template-columns: 1fr; }
  .pg-gold-ribbon__inner { justify-content: flex-start; gap: 12px; }
  .pg-gold-ribbon__scroller { flex: 1; }
}

@media (max-width: 768px) {
  :root { --gut: 16px; --header-h: 68px; }
  .mbar { display: block; }
  body:not(.single-product) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .pg-scroll-top { bottom: calc(78px + env(safe-area-inset-bottom)); right: 16px; }
  .floating-ai { bottom: calc(134px + env(safe-area-inset-bottom)); right: 16px; }

  /* Guarantee crisp 2-column jewellery product grids on all mobile pages (overrides desktop specificity) */
  .product-grid:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .product-grid.grid-cols-3:not(.pg-bridal-track),
  .product-grid.grid-cols-4:not(.pg-bridal-track),
  ul.products.grid-cols-3:not(.pg-bridal-track),
  ul.products.grid-cols-4:not(.pg-bridal-track),
  .woocommerce ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .woocommerce-page ul.products:not(.pg-bridal-track):not(.carousel):not(.grid-view-list),
  .woocommerce ul.products.grid-cols-3:not(.pg-bridal-track),
  .woocommerce ul.products.grid-cols-4:not(.pg-bridal-track),
  .woocommerce-page ul.products.grid-cols-3:not(.pg-bridal-track),
  .woocommerce-page ul.products.grid-cols-4:not(.pg-bridal-track) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Keep 1:1 square image while revealing the 4-button action toolbar cleanly beneath it */
  .product-image {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .product-image-link {
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 10px;
  }
  .product-img-secondary {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
  .card-badge-container {
    top: 8px;
    left: 8px;
    gap: 4px;
  }
  .card-purity-badge,
  .card-collection-badge {
    padding: 2px 6px;
    font-size: 10px;
  }
  .pg-card-placeholder {
    padding: 30px 8px 10px;
  }
  .pg-card-placeholder__mark {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .pg-card-placeholder__sub {
    font-size: 9.5px;
  }
  .pg-card-actions {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 0;
    border-top: 1px solid var(--cs-line-2);
    border-radius: 0;
    box-shadow: none;
  }
  .pg-action-btn {
    width: 100%;
    height: 38px;
  }
  .pg-action-btn svg {
    width: 15px;
    height: 15px;
  }
  .pg-action-btn[data-tooltip]::before { display: none; }

  .product-meta {
    padding: 12px 10px 12px;
    gap: 4px;
  }
  .product-cat-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.25;
  }
  .product-meta h3 {
    font-size: 16px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-spec-line {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .product-price {
    font-size: 14.5px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
  }
  .product-card-footer {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 6px;
    padding-top: 7px;
    font-size: 11px;
  }
  .product-sku-mini {
    font-size: 10px;
  }

  .pg-contact-grid, .pg-policies-grid, .form-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 38px 0 22px; margin-top: var(--s-6); }
  .pg-footer-5col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding-bottom: 26px;
  }
  .pg-footer-5col .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .pg-footer-5col .footer-col-posts { order: 4; }
  .footer-intro { margin: 10px 0 12px; font-size: 13.5px; line-height: 1.55; }
  .footer-contact-list { gap: 8px; font-size: 13px; }
  .foot-social { margin-top: 14px; }
  .footer-col h3 { font-size: 11px; letter-spacing: 0.12em; margin-bottom: 10px; }
  .footer-col > a,
  .footer-col li a { padding: 4px 0; font-size: 13px; line-height: 1.4; }
  .footer-posts-list { gap: 10px; }
  .footer-post-item { grid-template-columns: 46px 1fr; gap: 9px; padding-bottom: 10px; }
  .footer-post-thumb { width: 46px; height: 42px; }
  .footer-post-meta strong {
    font-size: 12.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-post-meta time { font-size: 11px; }
  .footer-bottom { padding-top: 18px; gap: 12px; font-size: 12px; }
  .pg-gold-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-gold-ribbon__inner { padding: 6px 12px; gap: 10px; min-height: 44px; }
  .pg-gold-ribbon__badge { font-size: 10px; letter-spacing: 0.12em; gap: 6px; }
  .pg-gold-ribbon__track { gap: 8px; }
  .pg-gold-ribbon__item { padding: 5px 11px; gap: 6px; }
  .pg-gold-ribbon__value { font-size: 12.5px; }
  .pg-gold-ribbon__item.is-featured .pg-gold-ribbon__value { font-size: 13px; }
  .pg-gold-ribbon__unit { font-size: 10px; }
  .section { padding: var(--s-7) 0; }
}

@media (max-width: 540px) {
  .pg-gold-ribbon__label-full { display: none; }
  .pg-gold-ribbon__label-short { display: inline; }
  .pg-gold-ribbon__divider { height: 16px; }
  .pg-gold-ribbon__item { padding: 4px 10px; }
}

@media (max-width: 480px) {
  .pg-footer-5col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .pg-gold-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-gold-rate-card { padding: 15px 12px; }
  .pg-rate-bhori { font-size: 17px; }
  .pg-rate-gram { font-size: 12px; }
  .nav-shell { gap: 8px; padding: 0 10px; }
  .wordmark { gap: 8px; min-width: 0; }
  .wordmark img { width: 32px; height: 32px; }
  .wordmark-text { font-size: 13px; letter-spacing: 0.08em; }
  .wordmark-sub { font-size: 8.5px; letter-spacing: 0.14em; }
  .product-meta { padding: 10px 8px 11px; }
  .product-meta h3 { font-size: 15px; }
  .product-price { font-size: 14px; }
  .product-card-footer { justify-content: center; gap: 3px 8px; }
  .pg-search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================================
   13. LUXURY SCROLL CHOREOGRAPHY, EDITORIAL DEPTH & VIEW TRANSITIONS
   ========================================================================= */

/* 13.1 Cross-Document Native View Transitions & Smooth Page Navigation */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: pgViewTransitionOut 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  ::view-transition-new(root) {
    animation: pgViewTransitionIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes pgViewTransitionOut {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to   { opacity: 0; transform: translate3d(0, -10px, 0); }
  }
  @keyframes pgViewTransitionIn {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  /* Fallback smooth exit curtain when navigating between pages */
  html.is-page-leaving .cs-main {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .cs-main {
    transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1), transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* 13.2 Golden Scroll Progress Hairline & Sticky Header Condensation */
.site-header {
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled {
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(237, 183, 99, 0.52);
}
.site-header .nav-shell {
  transition: min-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled .nav-shell {
  min-height: 66px;
}

.pg-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--honey-gold) 52%, var(--champagne) 100%);
  transform-origin: 0 50%;
  transform: scaleX(var(--pg-scroll-progress, 0));
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 10px rgba(237, 183, 99, 0.45);
}

/* 13.3 Luxury Specular Gold Sheen on Primary CTAs & Nav Hover Underline */
.button-primary,
.btn-primary,
.button-crimson,
.button-gold,
.pg-hero-btn-primary {
  position: relative;
  overflow: hidden;
}
.button-primary::after,
.btn-primary::after,
.button-crimson::after,
.button-gold::after,
.pg-hero-btn-primary::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -130%;
  width: 65%;
  height: 140%;
  background: linear-gradient(
    115deg,
    rgba(255, 246, 231, 0) 0%,
    rgba(246, 214, 157, 0.28) 48%,
    rgba(255, 246, 231, 0) 100%
  );
  transform: skewX(-22deg);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.button-primary:hover::after,
.btn-primary:hover::after,
.button-crimson:hover::after,
.button-gold:hover::after,
.pg-hero-btn-primary:hover::after {
  transform: translate3d(340%, 0, 0) skewX(-22deg);
}

/* 13.4 Scroll-Driven Editorial Reveal Choreography (GPU Composited, 60fps) */
@media (prefers-reduced-motion: no-preference) {
  html.pg-motion-ready .pg-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--pg-stagger, 0) * 75ms);
  }

  html.pg-motion-ready .pg-reveal.pg-reveal--left {
    transform: translate3d(-32px, 0, 0);
  }

  html.pg-motion-ready .pg-reveal.pg-reveal--right {
    transform: translate3d(32px, 0, 0);
  }

  html.pg-motion-ready .pg-reveal.pg-reveal--scale {
    transform: translate3d(0, 22px, 0) scale3d(0.965, 0.965, 1);
  }

  /* Special vertical-centering preservation for overlapping foreground photo */
  html.pg-motion-ready .pg-intro-photo--front.pg-reveal {
    transform: translate3d(28px, calc(-48% + var(--pg-parallax, 0px)), 0);
  }

  html.pg-motion-ready .pg-reveal.is-inview {
    opacity: 1;
    transform: translate3d(0, var(--pg-parallax, 0px), 0) scale3d(1, 1, 1);
  }

  html.pg-motion-ready .pg-intro-photo--front.pg-reveal.is-inview {
    opacity: 1;
    transform: translate3d(0, calc(-48% + var(--pg-parallax, 0px)), 0);
  }

  /* Editorial photography subtle zoom-settle unveil when entering viewport */
  html.pg-motion-ready .pg-intro-photo .pg-intro-img,
  html.pg-motion-ready .pg-editorial-photo .pg-editorial-photo__img,
  html.pg-motion-ready .pg-video-poster .pg-video-poster__img,
  html.pg-motion-ready .pg-campaign-photo .pg-campaign-img,
  html.pg-motion-ready .pg-bust-promo__media .pg-bust-promo__img {
    transform: scale3d(1.06, 1.06, 1);
    transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html.pg-motion-ready .pg-intro-photo.is-inview .pg-intro-img,
  html.pg-motion-ready .pg-editorial-photo.is-inview .pg-editorial-photo__img,
  html.pg-motion-ready .pg-video-poster.is-inview .pg-video-poster__img,
  html.pg-motion-ready .pg-campaign-photo.is-inview .pg-campaign-img,
  html.pg-motion-ready .pg-bust-promo.is-inview .pg-bust-promo__img {
    transform: scale3d(1, 1, 1);
  }

  /* Golden vertical divider bar grow-in on reveal */
  html.pg-motion-ready .pg-intro-copy .pg-gold-vbar,
  html.pg-motion-ready .pg-video-promo__copy .pg-video-rule {
    transform-origin: top center;
    transform: scaleY(0.15);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
  }
  html.pg-motion-ready .pg-intro-copy.is-inview .pg-gold-vbar,
  html.pg-motion-ready .pg-video-promo__copy.is-inview .pg-video-rule {
    transform: scaleY(1);
  }

  /* Campaign golden frame subtle offset float */
  html.pg-motion-ready .pg-campaign-frame {
    transform: translate3d(0, calc(var(--pg-parallax, 0px) * -0.45), 0);
    transition: transform 0.18s linear;
  }
}

/* 13.5 Enhanced Luxury Card & Gallery Hover Depth */
.product-card {
  transition:
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover {
  border-color: var(--honey-gold);
  box-shadow: 0 16px 36px rgba(46, 28, 28, 0.11);
  transform: translate3d(0, -4px, 0);
}
.pg-showroom-card,
.pg-newsletter-card {
  transition:
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pg-showroom-card:hover {
  border-color: var(--honey-gold);
  box-shadow: var(--shadow-sm);
  transform: translate3d(0, -3px, 0);
}

/* =========================================================================
   14. RENDERING & RESPONSIVE IMAGE PERFORMANCE (Zero CLS, Fast Paint & Scroll)
   ========================================================================= */
.product-image img,
.product-gallery-main-view img {
  display: block;
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.product-image {
  background-color: #FAF7F2;
  contain: layout paint;
}

.pg-brand-editorial,
.pg-bridal-section,
.pg-video-promo,
.pg-campaign-promo,
.pg-secondary-merch,
.pg-showrooms-section,
.pg-social-gallery,
.pg-newsletter-testimonials,
.pg-journal-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}

/* =========================================================================
   15. FLEXIBLE CUSTOMIZATION STYLES (Logo Modes, Header Styles, Top Strip,
       Header CTA, Floating WhatsApp Button)
   ========================================================================= */
.wordmark img {
  width: var(--cs-logo-h, 38px);
  height: var(--cs-logo-h, 38px);
}
.wordmark--logo_only img.wordmark-full-logo {
  width: auto;
  height: auto;
  max-height: var(--cs-logo-h, 42px);
  max-width: 190px;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

/* Optional Top Contact & Announcement Strip */
.pg-top-strip {
  background: var(--near-black);
  color: rgba(255, 246, 231, 0.88);
  border-bottom: 1px solid rgba(246, 214, 157, 0.2);
  font-size: 12.5px;
}
.pg-top-strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.pg-top-strip__left,
.pg-top-strip__right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.pg-top-strip__link,
.pg-top-strip__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: color var(--fast);
}
.pg-top-strip__link:hover { color: var(--champagne); }
.pg-top-strip__link svg,
.pg-top-strip__meta svg { width: 13px; height: 13px; color: var(--honey-gold); }
.pg-top-strip__offer {
  font-weight: 500;
  color: var(--champagne);
  letter-spacing: 0.03em;
  text-align: center;
}

/* Optional Header Style Presets */
.site-header--light {
  background: var(--paper);
  color: var(--near-black);
  border-bottom: 1px solid var(--line);
}
.site-header--light .wordmark-text { color: var(--near-black); }
.site-header--light .wordmark-sub { color: var(--burgundy); }
.site-header--light .nav-links > a,
.site-header--light .nav-link-dropdown,
.site-header--light .pg-primary-menu-list > li > a,
.site-header--light .pg-hdr-account,
.site-header--light .pg-hdr-cart,
.site-header--light .icon-button { color: var(--near-black); }
.site-header--light .nav-links > a:hover,
.site-header--light .nav-link-dropdown:hover,
.site-header--light .icon-button:hover { color: var(--burgundy); background: var(--ivory-alt); }
.site-header--primary {
  background: var(--cs-primary);
  color: var(--cs-on-primary);
  border-bottom: 1px solid rgba(246, 214, 157, 0.25);
}

/* Optional Header CTA Pill */
.pg-hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--honey-gold);
  color: var(--near-black);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--fast), transform var(--fast);
}
.pg-hdr-cta svg { width: 14px; height: 14px; }
.pg-hdr-cta:hover { background: var(--champagne); transform: translateY(-1px); }

/* Optional Floating WhatsApp Quick-Chat Button */
.floating-wa {
  position: fixed;
  z-index: 56;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform var(--fast), box-shadow var(--fast);
}
.floating-wa svg { width: 20px; height: 20px; }
.floating-wa:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #FFFFFF; }
@media (max-width: 1080px) {
  .floating-wa { bottom: calc(78px + env(safe-area-inset-bottom)); left: 16px; }
}
