/* ============================================================
   Sple Store — Custom CSS
   CSS Variables, Utility Classes, and Animations
   (Tailwind CDN handles utility classes; this file handles
    CSS custom property-based classes and brand utilities)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
/* Loaded via functions.php wp_enqueue_style */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
    --background: 0 0% 8%;
    --foreground: 36 20% 92%;

    --card: 0 0% 9%;
    --card-foreground: 36 20% 92%;

    --popover: 0 0% 9%;
    --popover-foreground: 36 20% 92%;

    --primary: 0 0% 6%;
    --primary-foreground: 36 24% 92%;

    --secondary: 0 0% 11%;
    --secondary-foreground: 36 20% 92%;

    --muted: 0 0% 15%;
    --muted-foreground: 34 14% 70%;

    --accent: 32 48% 52%;
    --accent-foreground: 0 0% 8%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 20 14% 28%;
    --input: 20 14% 28%;
    --ring: 32 48% 52%;

    --radius: 0.5rem;

    /* Storefront brand tokens */
    --gold: 32 48% 52%;
    --gold-light: 34 46% 64%;
    --gold-dark: 28 44% 38%;
    --noir: 0 0% 6%;
    --noir-light: 0 0% 12%;
    --cream: 36 24% 92%;
    --cream-dark: 34 14% 70%;
    --burgundy: 0 0% 12%;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;

    /* Shadows */
    --shadow-luxury: 0 18px 52px hsl(0 0% 0% / 0.38);
    --shadow-gold: 0 14px 32px hsl(32 48% 52% / 0.24);
    --shadow-elevated: 0 28px 80px hsl(0 0% 0% / 0.52);

    /* Transitions */
    --transition-luxury: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hard safety net: prevent sideways "blank page" scroll on mobile */
html, body { overflow-x: hidden; }

/* -----------------------------
   Quick View modal
------------------------------ */
.rt-qv-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.rt-qv-modal.is-open { display: block; }
.rt-qv-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rt-qv-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  border-radius: 10px;
}
.rt-qv-close {
  position: sticky;
  top: 0;
  float: right;
  margin: .75rem .75rem 0 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
}
.rt-qv-body { padding: 1.25rem 1.25rem 1.5rem; }
.rt-qv-loading, .rt-qv-error { padding: 2rem 1rem; text-align: center; color: hsl(var(--muted-foreground)); font-family: var(--font-sans); }
.rt-qv-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 900px) { .rt-qv-grid { grid-template-columns: 1.1fr .9fr; } }
.rt-qv-media img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid hsl(var(--border)); }
.rt-qv-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin: .25rem 0 .5rem; }
.rt-qv-title { font-family: var(--font-serif); font-size: 28px; line-height: 1.15; margin: 0 0 .5rem; }
.rt-qv-price { margin: .25rem 0 .75rem; font-family: var(--font-sans); }
.rt-qv-desc { color: hsl(var(--muted-foreground)); font-family: var(--font-sans); font-size: 14px; line-height: 1.7; }
.rt-qv-actions { margin-top: 1rem; }

html.rt-modal-open { overflow: hidden; }

/* Quick View button (product cards) */
.rt-quickview-btn{
  height:2.25rem;
  padding:0 .75rem;
  border-radius:9999px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--primary)/.55);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  color:hsl(var(--primary-foreground));
  font-family:var(--font-sans);
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition: var(--transition-luxury);
}
.rt-quickview-btn:hover{ border-color:hsl(var(--accent)); color:hsl(var(--accent)); }

:root[data-theme="light"] {
    --background: 36 24% 96%;
    --foreground: 0 0% 10%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 10%;
    --primary: 0 0% 12%;
    --primary-foreground: 36 24% 96%;
    --secondary: 30 22% 92%;
    --secondary-foreground: 0 0% 10%;
    --muted: 24 14% 90%;
    --muted-foreground: 0 0% 38%;
    --border: 24 12% 82%;
    --input: 24 12% 82%;
}

/* Light mode compatibility for premium dark sections */
:root[data-theme="light"] .bg-primary,
:root[data-theme="light"] section.bg-primary,
:root[data-theme="light"] footer.bg-primary {
    background: hsl(var(--background)) !important;
    color: hsl(var(--foreground)) !important;
}

/* Light mode should not globally invert `.text-primary-foreground` because many cards use it on dark overlays. */
:root[data-theme="light"] .bg-primary .text-primary-foreground,
:root[data-theme="light"] section.bg-primary .text-primary-foreground,
:root[data-theme="light"] footer.bg-primary .text-primary-foreground {
    color: hsl(var(--foreground)) !important;
}

:root[data-theme="light"] #hero-carousel,
:root[data-theme="light"] #hero-carousel .text-primary-foreground,
:root[data-theme="light"] #hero-carousel .hero-title,
:root[data-theme="light"] #hero-carousel .hero-desc {
    color: hsl(36 24% 94%) !important;
}

:root[data-theme="light"] section.bg-primary p,
:root[data-theme="light"] section.bg-primary h1,
:root[data-theme="light"] section.bg-primary h2,
:root[data-theme="light"] section.bg-primary h3,
:root[data-theme="light"] section.bg-primary h4,
:root[data-theme="light"] section.bg-primary li,
:root[data-theme="light"] footer.bg-primary p,
:root[data-theme="light"] footer.bg-primary h3,
:root[data-theme="light"] footer.bg-primary h4,
:root[data-theme="light"] footer.bg-primary li,
:root[data-theme="light"] footer.bg-primary a {
    color: hsl(var(--foreground)) !important;
}

:root[data-theme="light"] section.bg-primary .text-muted-foreground,
:root[data-theme="light"] footer.bg-primary .text-muted-foreground {
    color: hsl(var(--muted-foreground)) !important;
}

:root[data-theme="light"] section.bg-primary .group > .relative.overflow-hidden.bg-card,
:root[data-theme="light"] section.bg-primary article,
:root[data-theme="light"] section.bg-primary .rt-review-slide,
:root[data-theme="light"] footer.bg-primary .rt-paymark {
    background: hsl(var(--card)) !important;
    border-color: hsl(var(--border)) !important;
    color: hsl(var(--foreground)) !important;
}

:root[data-theme="light"] section.bg-primary .btn-hero-outline,
:root[data-theme="light"] section.bg-primary .rt-cta-secondary {
    color: hsl(var(--foreground)) !important;
    border-color: hsl(var(--border)) !important;
    background: transparent !important;
}

:root[data-theme="light"] section.bg-primary .btn-hero-outline:hover,
:root[data-theme="light"] section.bg-primary .rt-cta-secondary:hover {
    background: hsl(var(--secondary)) !important;
}

:root[data-theme="light"] footer.bg-primary .rt-footer-bottom {
    border-top: 1px solid hsl(var(--border)) !important;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .tracking-luxury,
html[dir="rtl"] .tracking-wide-luxury {
    letter-spacing: 0.08em;
}
html[dir="rtl"] .container,
html[dir="rtl"] section,
html[dir="rtl"] footer,
html[dir="rtl"] header {
    text-align: right;
}
html[dir="rtl"] .flex.items-center.justify-center {
    flex-direction: row-reverse;
}
html[dir="rtl"] .hero-copy-wrap,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-kicker,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-desc,
html[dir="rtl"] .hero-ctas {
    text-align: right !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}
html[dir="rtl"] .hero-ctas {
    flex-direction: row-reverse;
}
html[dir="rtl"] .hero-controls {
    justify-content: flex-end !important;
}
html[dir="rtl"] .rt-footer-bottom,
html[dir="rtl"] .rt-payment-logos {
    justify-content: space-between;
}
@media (max-width: 1023px) {
    html[dir="rtl"] .hero-copy-wrap,
    html[dir="rtl"] .hero-content,
    html[dir="rtl"] .hero-kicker,
    html[dir="rtl"] .hero-title,
    html[dir="rtl"] .hero-desc,
    html[dir="rtl"] .hero-ctas {
        text-align: right !important;
        justify-content: flex-start !important;
    }
}

/* Research-led commerce upgrades: search, confidence cues, and card controls */
html,
body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

.rt-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.rt-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.rt-search-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    background: hsl(var(--primary) / 0.68);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.rt-search-panel {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: clamp(6rem, 12vh, 9rem);
    width: min(92vw, 760px);
    transform: translateX(-50%) translateY(12px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    box-shadow: 0 34px 90px hsl(0 0% 0% / 0.28);
    padding: clamp(1.25rem, 4vw, 2.5rem);
    transition: transform 220ms ease;
}

.rt-search-overlay.is-open .rt-search-panel {
    transform: translateX(-50%) translateY(0);
}

.rt-search-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.rt-search-head p,
.rt-search-links a,
.rt-card-urgency {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rt-search-head p,
.rt-search-links a {
    color: hsl(var(--accent));
}

.rt-search-head button {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    background: transparent;
    color: hsl(var(--foreground));
    cursor: pointer;
}

.rt-search-panel h2 {
    margin: 0 0 1.25rem;
    max-width: 12ch;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.rt-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.rt-search-form input[type="search"] {
    width: 100%;
    min-height: 3.4rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: 0 1rem;
    font-family: var(--font-sans);
    outline: none;
}

.rt-search-form input[type="search"]:focus {
    border-color: hsl(var(--accent));
}

.rt-search-form button {
    min-height: 3.4rem;
    border: 0;
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    padding: 0 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

.rt-search-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rt-search-links a {
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    padding: 0.6rem 0.85rem;
    text-decoration: none;
}

.rt-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.25rem 0 0.35rem;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    font-size: 0.68rem;
}

.rt-card-rating strong {
    color: hsl(var(--accent));
    font-weight: 700;
}

.rt-card-rating em {
    font-style: normal;
    color: hsl(var(--muted-foreground));
}

.rt-card-rating--sale,
.rt-card-rating--sale em {
    color: hsl(var(--primary-foreground) / 0.58);
}

.rt-card-urgency {
    margin-top: 0.45rem;
    color: hsl(var(--accent));
}

.rt-card-urgency--sale {
    color: hsl(var(--accent));
}

.rt-qv-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.75rem 0 1rem;
}

.rt-qv-proof span,
.rt-qv-wa {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rt-qv-proof span {
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 0.45rem 0.55rem;
}

.rt-qv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.rt-qv-wa {
    color: hsl(var(--accent));
    text-decoration: none;
}

.rt-product-summary form.cart {
    width: 100%;
}

.rt-product-summary #rt-product-addons {
    flex-basis: 100%;
    width: 100%;
}

.rt-purchase-trust {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rt-purchase-trust span {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.55);
    color: hsl(var(--muted-foreground));
    border-radius: 999px;
    padding: 0.4rem 0.62rem;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rt-product-video {
    margin-top: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / 0.7);
    border-radius: 4px;
    padding: 0.72rem;
}

.rt-product-video-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.rt-product-video-head span {
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rt-product-video-head strong {
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
}

.rt-product-video-frame {
    aspect-ratio: 16 / 9;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    overflow: hidden;
}

.rt-product-video-frame iframe,
.rt-product-video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.rt-product-video-frame a {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rt-shop-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.rt-shop-filter-chips a {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-luxury);
}

.rt-shop-filter-chips a:hover {
    border-color: hsl(var(--accent));
    color: hsl(var(--accent));
    transform: translateY(-2px);
}

.rt-shop-filter-chips a.is-active,
.rt-shop-filter-chips a[aria-current="true"],
.rt-shop-attribute-filters a.is-active,
.rt-shop-attribute-filters a[aria-current="true"] {
    border-color: hsl(var(--accent));
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.rt-shop-filter-chips a.rt-clear-filters {
    border-style: dashed;
    color: hsl(var(--muted-foreground));
}

.rt-shop-attribute-filters {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / 0.72);
}

.rt-shop-filter-group {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.16fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
}

.rt-shop-filter-group > span {
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rt-shop-filter-group > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rt-shop-attribute-filters a {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-luxury);
}

.rt-shop-attribute-filters a:hover {
    border-color: hsl(var(--accent));
    color: hsl(var(--accent));
}

@media (max-width: 640px) {
    .rt-search-form {
        grid-template-columns: 1fr;
    }

    .rt-search-panel h2 {
        max-width: 100%;
    }

    .rt-shop-filter-group {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

/* ── Base Reset ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    margin: 0;
    padding: 0;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; padding: 0; }

/* ── Tailwind CSS-variable-based Semantic Classes ─────────── */
/* These are needed because Tailwind Play CDN doesn't know    */
/* our CSS variable values — we define them explicitly.       */

.bg-background  { background-color: hsl(var(--background)); }
.text-foreground { color: hsl(var(--foreground)); }

.bg-card        { background-color: hsl(var(--card)); }
.text-card-foreground { color: hsl(var(--card-foreground)); }

.bg-primary     { background-color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }

.bg-secondary   { background-color: hsl(var(--secondary)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }

.bg-muted       { background-color: hsl(var(--muted)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }

.bg-accent      { background-color: hsl(var(--accent)); }
.text-accent    { color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

.border-border  { border-color: hsl(var(--border)); }
.border-accent  { border-color: hsl(var(--accent)); }

/* Secondary/30 = opacity variant */
.bg-secondary\/30  { background-color: hsl(var(--secondary) / 0.3); }
.bg-secondary\/50  { background-color: hsl(var(--secondary) / 0.5); }

/* Primary foreground opacity variants */
.text-primary-foreground\/40 { color: hsl(var(--primary-foreground) / 0.4); }
.text-primary-foreground\/50 { color: hsl(var(--primary-foreground) / 0.5); }
.text-primary-foreground\/60 { color: hsl(var(--primary-foreground) / 0.6); }
.text-primary-foreground\/70 { color: hsl(var(--primary-foreground) / 0.7); }
.text-primary-foreground\/30 { color: hsl(var(--primary-foreground) / 0.3); }
.border-primary-foreground\/10 { border-color: hsl(var(--primary-foreground) / 0.1); }
.border-primary-foreground\/20 { border-color: hsl(var(--primary-foreground) / 0.2); }
.border-primary-foreground\/30 { border-color: hsl(var(--primary-foreground) / 0.3); }
.bg-primary\/60 { background-color: hsl(var(--primary) / 0.6); }
.bg-background\/80 { background-color: hsl(var(--background) / 0.8); }
.border-border\/50 { border-color: hsl(var(--border) / 0.5); }

/* ── Luxury Brand Utility Classes ─────────────────────────── */
.font-serif    { font-family: var(--font-serif); }
.font-sans     { font-family: var(--font-sans); }

.text-gold     { color: hsl(var(--gold)); }
.bg-gold       { background-color: hsl(var(--gold)); }
.border-gold   { border-color: hsl(var(--gold)); }

.text-noir     { color: hsl(var(--noir)); }
.bg-noir       { background-color: hsl(var(--noir)); }

.text-burgundy { color: hsl(var(--burgundy)); }
.bg-burgundy   { background-color: hsl(var(--burgundy)); }

.shadow-luxury   { box-shadow: var(--shadow-luxury); }
.shadow-gold     { box-shadow: var(--shadow-gold); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }

.transition-luxury { transition: var(--transition-luxury); }

.tracking-luxury      { letter-spacing: 0.2em; }
.tracking-wide-luxury { letter-spacing: 0.35em; }

/* ── Button Variants ──────────────────────────────────────── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--accent-foreground));
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.95rem 2.25rem;
    transition: var(--transition-luxury);
    border: 1px solid hsl(var(--gold-dark) / 0.18);
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    background-color: hsl(var(--gold-dark));
    color: hsl(var(--accent-foreground));
    transform: translateY(-2px);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: hsl(var(--primary-foreground));
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.95rem 2.25rem;
    border: 1px solid hsl(var(--primary-foreground) / 0.3);
    border-radius: var(--radius);
    transition: var(--transition-luxury);
    cursor: pointer;
}
.btn-hero-outline:hover {
    background-color: hsl(var(--primary-foreground) / 0.1);
    border-color: hsl(var(--primary-foreground) / 0.55);
}
.rt-cta-secondary {
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary-foreground)/.42);
    background: hsl(var(--primary)/.22);
}
.rt-cta-secondary:hover {
    background: hsl(var(--primary-foreground)/.12);
}

/* ── Hero Section ─────────────────────────────────────────── */
/* Default: all slides hidden — prevents flash before JS fires  */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 1200ms ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide picture,
.hero-slide img {
    width: 100%;
    height: 100%;
}

.hero-slide picture {
    display: block;
}

.hero-slide img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 8000ms ease-out;
}
.hero-slide.active img {
    transform: scale(1.1);
}

@media (min-width: 1024px) {
    #hero-carousel {
        min-height: 92vh;
        align-items: center !important;
    }

    .hero-slide img {
        object-fit: cover;
        object-position: center 15%;
        background: linear-gradient(180deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.92) 100%);
    }

    .hero-slide.active img {
        transform: scale(1);
    }
}

/* Hero content vertical placement */
.hero-content-wrap {
    padding-bottom: 7rem;
}
@media (min-width: 1024px) {
    .hero-content-wrap {
        padding-bottom: 0;
        transform: translateY(-1rem);
    }
}

@media (max-width: 1023px) {
    .hero-slide img {
        object-fit: cover;
        object-position: 68% center;
        filter: saturate(1.03) contrast(1.08);
    }

    .hero-slide.active img {
        transform: none !important;
    }

    /* Compact hero text on mobile - all slides */
    .hero-content-wrap {
        padding-top: 8rem;
    }

    .hero-copy-wrap {
        padding-top: 0;
    }

    .hero-kicker {
        margin-bottom: 0.75rem !important;
    }

    .hero-kicker p {
        font-size: 0.65rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
        margin-bottom: 1rem !important;
        line-height: 0.9 !important;
    }

    .hero-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
    }

    .hero-ctas {
        gap: 0.75rem !important;
    }

    .btn-gold {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.65rem !important;
    }
}

/* Default: all content hidden + shifted down */
.hero-content {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.hero-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes progress-bar {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Group Hover Utilities ────────────────────────────────── */
/* Tailwind CDN handles group/group-hover, but we add helpers */
.product-card:hover .wishlist-btn,
.product-card:hover .add-to-bag {
    opacity: 1;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* ── Header / Nav ─────────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    overflow-x: clip;
}

/* ── Vertical writing mode ────────────────────────────────── */
.writing-vertical {
    writing-mode: vertical-lr;
}

/* ── Container override ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ── Gradient overlays ────────────────────────────────────── */
.gradient-to-t-primary {
    background: linear-gradient(to top, hsl(var(--primary) / 0.8), hsl(var(--primary) / 0.2), transparent);
}

.gradient-to-t-primary-hero {
    background: linear-gradient(to top, hsl(var(--primary)), hsl(var(--primary) / 0.6), hsl(var(--primary) / 0.1));
}

.gradient-from-primary-r {
    background: linear-gradient(to right, hsl(var(--primary) / 0.5), transparent);
}

/* ── Aspect ratio helpers ─────────────────────────────────── */
.aspect-3-4 {
    aspect-ratio: 3 / 4;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* ── Misc ─────────────────────────────────────────────────── */
.line-through-price {
    text-decoration: line-through;
}

/* ── Mobile Layout Fixes ──────────────────────────────────── */

/* Ensure sections don't overflow on small screens */
section {
    overflow-x: hidden;
}

/* Prevent images from breaking layout on mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Hero section min-height: full viewport minus potential header */
#hero-carousel {
    min-height: 100svh; /* small viewport height for mobile */
    min-height: 100vh;  /* fallback */
}

/* Product grid: 2 columns on mobile, 4 on desktop */
@media (max-width: 639px) {
    /* Tighter product card text on very small screens */
    .product-card-name {
        font-size: 0.75rem;
    }

    /* Hero content padding on mobile */
    #hero-carousel .container {
        padding-bottom: 5rem;
    }

    /* Newsletter form stacks on mobile */
    #newsletter-form {
        flex-direction: column;
    }

    /* Footer grid single column on mobile */
    footer .grid {
        grid-template-columns: 1fr;
    }

    /* Header logo sizing */
    .site-logo-text {
        font-size: 1.125rem;
    }
}

/* Tablet breakpoint adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
    /* Collection grid: 2 cols on tablet */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure fixed header accounts for page scroll properly */
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    width: 100%;
    max-width: 100%;
    position: relative;
    overscroll-behavior-x: none;
}

main,
#product-page,
#site-header,
footer {
    max-width: 100%;
    overflow-x: clip;
}

/* Anchor offset for fixed header (so nav links don't hide section titles) */
#categories,
#new-collection,
#bespoke {
    scroll-margin-top: 6rem;
}

/* Tailwind group-hover: ensure opacity transitions work */
.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05) !important;
}

/* Fix for aspect-ratio on older browsers */
@supports not (aspect-ratio: 3/4) {
    .aspect-3-4 {
        position: relative;
        padding-bottom: 133.33%;
    }
    .aspect-3-4 > * {
        position: absolute;
        inset: 0;
    }
}

/* WhatsApp button spacing from bottom on mobile (above any mobile browser chrome) */
@media (max-width: 639px) {
    .whatsapp-btn {
        bottom: 1.25rem;
        right: 1rem;
    }
}

/* Typography scale adjustments for mobile */
@media (max-width: 639px) {
    h1.hero-heading {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE — LUXURY OVERRIDES
   WC default styles are disabled (woocommerce_enqueue_styles →
   empty array). Everything is styled here.
   ══════════════════════════════════════════════════════════════ */

/* ── Prices ─────────────────────────────────────────────────── */
.woocommerce .price,
.woocommerce-page .price,
.wc-price {
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-weight: 500;
}
.woocommerce .price del,
.woocommerce-page .price del {
    color: hsl(var(--muted-foreground));
    opacity: 0.6;
    font-weight: 400;
    margin-right: 0.25rem;
}
.woocommerce .price ins,
.woocommerce-page .price ins {
    text-decoration: none;
    color: hsl(var(--accent));
    font-weight: 600;
}
.wc-sale-price .price del { color: hsl(var(--primary-foreground) / 0.3); }
.wc-sale-price .price ins, .wc-sale-price .price { color: hsl(var(--accent)); }

/* ── Buttons ─────────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--gold));
    color: hsl(var(--accent-foreground));
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-luxury);
    text-decoration: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: hsl(var(--gold-dark));
    color: hsl(var(--accent-foreground));
}
.woocommerce form.cart .single_add_to_cart_button {
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}
.woocommerce form.cart { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ── Quantity input ──────────────────────────────────────────── */
.woocommerce form.cart .quantity input.qty {
    width: 60px;
    height: 3rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-align: center;
    outline: none;
    padding: 0;
}
.woocommerce form.cart .quantity input.qty:focus { border-color: hsl(var(--accent)); }

/* Luxury single product experience */
.rt-product-hero {
    background: hsl(var(--background));
}

.rt-product-gallery {
    min-width: 0;
    align-self: start;
    height: max-content;
}
.rt-product-layout,
#product-cols {
    align-items: start;
}
@media (min-width: 1024px) {
    .rt-product-gallery {
        position: sticky;
        top: 7rem;
    }
    .rt-product-gallery .rt-product-main-image {
        aspect-ratio: 4 / 5 !important;
        max-height: calc(100vh - 13rem);
    }
}
.rt-product-main-image {
    border: 1px solid hsl(var(--border) / 0.3);
    box-shadow: 0 8px 30px hsl(0 0% 0% / 0.08);
}
.rt-product-main-image img {
    filter: saturate(0.96) contrast(1.04);
}
.rt-product-thumbs {
    padding-top: 0.35rem;
}
.rt-product-thumb {
    transition: transform 220ms ease, border-color 220ms ease, opacity 220ms ease;
}
.rt-product-thumb:hover {
    border-color: hsl(var(--accent)) !important;
    transform: translateY(-2px);
}
.rt-product-summary {
    padding: clamp(1rem, 2vw, 2rem);
    border: 1px solid hsl(var(--border) / 0.3);
    background: transparent;
    box-shadow: none;
}
.rt-product-eyebrow {
    letter-spacing: 0.22em !important;
}
.rt-product-title {
    font-size: clamp(2.2rem, 4vw, 4rem) !important;
    line-height: 0.95 !important;
    letter-spacing: 0 !important;
}
.rt-product-price .amount,
.rt-product-price {
    color: hsl(var(--accent));
    font-weight: 500;
}
.rt-product-short-desc {
    font-size: 0.95rem !important;
}
.rt-atelier-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}
.rt-atelier-notes div {
    border: 1px solid hsl(var(--border) / 0.76);
    background: hsl(var(--secondary) / 0.38);
    padding: 0.9rem;
}
.rt-atelier-notes span,
.rt-service-label,
.rt-product-accordions summary {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.rt-atelier-notes span,
.rt-service-label {
    color: hsl(var(--accent));
}
.rt-atelier-notes strong {
    display: block;
    margin-top: 0.35rem;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.rt-size-guide-card {
    border: 1px solid hsl(var(--border) / 0.78);
    background:
        linear-gradient(145deg, hsl(var(--card) / 0.96), hsl(var(--secondary) / 0.36)),
        radial-gradient(circle at 100% 0%, hsl(var(--accent) / 0.16), transparent 14rem);
    box-shadow: 0 18px 46px hsl(0 0% 0% / 0.08);
    padding: 1.1rem;
    margin-bottom: 1.5rem;
}
.rt-size-guide-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
}
.rt-size-guide-head span,
.rt-size-result span,
.rt-accessory-info span,
.rt-product-section-head span {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: hsl(var(--accent));
}
.rt-size-guide-head strong {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.15;
    color: hsl(var(--foreground));
}
.rt-size-guide-head p,
.rt-size-result small {
    margin: 0;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.6;
}
.rt-size-unit-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 1rem;
}
.rt-size-unit-tabs button {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.72);
    color: hsl(var(--foreground));
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.75rem 0.8rem;
    transition: var(--transition-luxury);
}
.rt-size-unit-tabs button.is-active {
    border-color: hsl(var(--accent));
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}
.rt-size-inputs {
    display: none;
    gap: 0.6rem;
    margin-top: 0.75rem;
}
.rt-size-inputs.is-active {
    display: grid;
}
.rt-size-ft.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rt-size-inputs label span {
    display: block;
    margin-bottom: 0.35rem;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    font-size: 0.72rem;
}
.rt-size-inputs input {
    width: 100%;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: 0.82rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
}
.rt-size-inputs input:focus {
    border-color: hsl(var(--accent));
    box-shadow: 0 0 0 3px hsl(var(--accent) / 0.12);
}
.rt-size-result {
    margin-top: 0.95rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 0.95rem;
}
.rt-size-result strong {
    display: block;
    margin: 0.25rem 0;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1.45rem;
    line-height: 1.1;
}
.rt-service-strip > div {
    align-items: flex-start;
    padding: 0.78rem 0;
    border-bottom: 1px solid hsl(var(--border) / 0.62);
}
.rt-service-label {
    min-width: 5.9rem;
}
.rt-concierge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid hsl(var(--accent) / 0.55);
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: var(--transition-luxury);
}
.rt-concierge-link:hover {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}
.rt-product-accordions {
    margin-top: 1.35rem;
    border-top: 1px solid hsl(var(--border));
}
.rt-product-accordions details {
    border-bottom: 1px solid hsl(var(--border));
    padding: 1rem 0;
}
.rt-product-accordions summary {
    cursor: pointer;
    color: hsl(var(--foreground));
    list-style: none;
}
.rt-product-accordions summary::-webkit-details-marker {
    display: none;
}
.rt-product-accordions summary::after {
    content: "+";
    float: right;
    color: hsl(var(--accent));
    font-size: 1rem;
    line-height: 1;
}
.rt-product-accordions details[open] summary::after {
    content: "-";
}
.rt-product-accordions p {
    margin-top: 0.85rem;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    font-size: 0.86rem;
    line-height: 1.75;
}
.rt-product-accessories {
    border-top: 1px solid hsl(var(--border));
}
.rt-product-section-head {
    max-width: 48rem;
    margin: 0 auto 2rem;
    text-align: center;
}
.rt-product-section-head h2 {
    margin: 0.55rem 0 0.65rem;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
}
.rt-product-section-head p {
    margin: 0;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    line-height: 1.7;
}
.rt-accessory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.rt-accessory-card {
    border: 1px solid hsl(var(--border) / 0.76);
    background: hsl(var(--card));
    overflow: hidden;
    box-shadow: 0 16px 42px hsl(0 0% 0% / 0.08);
    transition: transform 450ms ease, border-color 450ms ease, box-shadow 450ms ease;
}
.rt-accessory-card:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--accent) / 0.7);
    box-shadow: 0 24px 70px hsl(0 0% 0% / 0.16);
}
.rt-accessory-image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: hsl(var(--primary));
}
.rt-accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 700ms ease, filter 700ms ease;
}
.rt-accessory-card:hover .rt-accessory-image img {
    transform: scale(1.07);
    filter: contrast(1.04) saturate(1.05);
}
.rt-accessory-info {
    padding: 1rem;
}
.rt-accessory-info h3 {
    margin: 0.35rem 0 0.9rem;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.2;
}
.rt-accessory-info div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rt-accessory-info strong {
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.86rem;
}
.rt-accessory-info a {
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 1023px) {
    .rt-product-summary {
        position: static !important;
        padding: 1.1rem 0 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .rt-atelier-notes {
        grid-template-columns: 1fr;
    }
    .rt-accessory-grid {
        display: flex;
        overflow-x: auto;
        gap: 0.85rem;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.45rem;
    }
    .rt-accessory-grid::-webkit-scrollbar {
        display: none;
    }
    .rt-accessory-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
    .rt-product-main-image {
        box-shadow: 0 18px 42px hsl(0 0% 0% / 0.18);
    }
}

/* ── Product Tabs ─────────────────────────────────────────────── */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    border-bottom: 1px solid hsl(var(--border));
}
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: none; background: none; padding: 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: hsl(var(--muted-foreground));
    padding: 0.75rem 1.5rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition-luxury);
    text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: hsl(var(--foreground));
    border-bottom-color: hsl(var(--accent));
}
.woocommerce div.product .woocommerce-tabs .panel {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.8;
    color: hsl(var(--muted-foreground));
}
.woocommerce div.product .woocommerce-tabs .panel h2 { display: none; }

/* ── Shop Attributes Table ──────────────────────────────────── */
.woocommerce table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}
.woocommerce table.shop_attributes th {
    width: 30%;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    border-bottom: 1px solid hsl(var(--border));
    text-align: left;
    letter-spacing: 0.05em;
}
.woocommerce table.shop_attributes td {
    padding: 0.75rem 1rem;
    color: hsl(var(--muted-foreground));
    border-bottom: 1px solid hsl(var(--border));
}

/* ── Star Ratings ────────────────────────────────────────────── */
.woocommerce .star-rating { color: hsl(var(--accent)); font-size: 1rem; float: none; display: inline-block; }
.woocommerce .star-rating::before { color: hsl(var(--border)); }

/* ── Review Form ─────────────────────────────────────────────── */
#review_form .comment-form input,
#review_form .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    font-size: 0.875rem;
    outline: none;
    border-radius: 0;
    transition: var(--transition-luxury);
}
#review_form .comment-form input:focus,
#review_form .comment-form textarea:focus { border-color: hsl(var(--accent)); }

/* ── Related / Upsell Product Headings ──────────────────────── */
.woocommerce .related > h2,
.woocommerce .upsells > h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
    font-weight: 400;
}
.woocommerce .related ul.products,
.woocommerce .upsells ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce ul.products li.product { margin: 0; }

/* ── Catalog Ordering ────────────────────────────────────────── */
.woocommerce-ordering select {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    outline: none;
    cursor: pointer;
}
.woocommerce-result-count { font-family: var(--font-sans); font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ── Pagination ──────────────────────────────────────────────── */
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition-luxury);
}
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: hsl(var(--accent));
    border-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* ── WC Notices ──────────────────────────────────────────────── */
.woocommerce-message { background: hsl(var(--secondary)); border-left: 3px solid hsl(var(--accent)); color: hsl(var(--foreground)); font-family: var(--font-sans); font-size: 0.875rem; padding: 1rem 1.5rem; margin-bottom: 1.5rem; }
.woocommerce-info    { background: hsl(var(--secondary)); border-left: 3px solid hsl(var(--primary)); color: hsl(var(--foreground)); font-family: var(--font-sans); font-size: 0.875rem; padding: 1rem 1.5rem; margin-bottom: 1.5rem; }
.woocommerce-error   { background: hsl(var(--destructive) / 0.1); border-left: 3px solid hsl(var(--destructive)); color: hsl(var(--destructive)); font-family: var(--font-sans); font-size: 0.875rem; padding: 1rem 1.5rem; margin-bottom: 1.5rem; list-style: none; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.woocommerce-breadcrumb { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.woocommerce-breadcrumb a { color: hsl(var(--muted-foreground)); text-decoration: none; transition: var(--transition-luxury); }
.woocommerce-breadcrumb a:hover { color: hsl(var(--accent)); }

/* ── Cart / Checkout Tables ──────────────────────────────────── */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    text-align: left;
}
.woocommerce table.shop_table td {
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    color: hsl(var(--foreground));
    vertical-align: middle;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

/* ── Form Fields ─────────────────────────────────────────────── */
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
    font-family: var(--font-sans) !important;
    border-radius: 0 !important;
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--background)) !important;
    color: hsl(var(--foreground)) !important;
}
.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper select:focus,
.woocommerce-input-wrapper textarea:focus {
    border-color: hsl(var(--accent)) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── WC main wrapper min height ─────────────────────────────── */
.woocommerce-main { min-height: 60vh; }

/* Sple Store visual refresh */
body {
    background:
        linear-gradient(180deg, hsl(var(--background)) 0%, hsl(0 0% 5%) 50%, hsl(var(--background)) 100%);
}

#site-header {
    background: hsl(var(--background) / 0.94);
    border-bottom: 1px solid hsl(var(--border) / 0.75);
    box-shadow: 0 8px 28px hsl(var(--foreground) / 0.05);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

#site-header .font-serif {
    font-weight: 700;
    letter-spacing: 0.16em;
}

#site-header .desktop-nav a,
#mobile-menu a {
    letter-spacing: 0.12em !important;
}

#site-header .desktop-nav a:hover,
#mobile-menu a:hover {
    color: hsl(var(--accent)) !important;
}

.rounded-sm {
    border-radius: var(--radius);
}

section.bg-secondary\/30,
section.bg-secondary\/50 {
    background:
        linear-gradient(135deg, hsl(var(--secondary) / 0.86), hsl(var(--noir-light) / 0.82));
}

.group > .relative.overflow-hidden.bg-card,
.woocommerce div.product div.images,
.woocommerce table.shop_table,
.woocommerce .related ul.products li.product {
    border: 1px solid hsl(var(--border) / 0.72);
    box-shadow: var(--shadow-luxury);
}

.group > .relative.overflow-hidden.bg-card {
    background: hsl(var(--card));
}

/* Keep general photo polish, but avoid washing out the hero (it reads as "blurry" on mobile). */
.relative.overflow-hidden img {
    filter: saturate(0.94) contrast(1.03);
}

.hero-slide img {
    filter: none;
    image-rendering: auto;
}

@media (max-width: 1023px) {
    .hero-slide img {
        filter: saturate(1.03) contrast(1.08) !important;
    }
}

.hero-content h1 {
    letter-spacing: 0;
}
.hero-content {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.hero-title {
    text-shadow: 0 10px 30px hsl(0 0% 0% / 0.45);
}
.hero-kicker p {
    letter-spacing: 0.32em !important;
    font-weight: 500;
    color: hsl(var(--accent)) !important;
}
.hero-desc {
    color: hsl(var(--primary-foreground)/.82) !important;
    font-size: clamp(1rem, 2.1vw, 1.22rem) !important;
}
.hero-ctas .btn-gold {
    border-radius: 10px;
    padding: 1rem 2.6rem;
    box-shadow: 0 14px 36px hsl(var(--accent) / 0.28);
}
.hero-ctas .btn-gold:hover {
    transform: translateY(-3px) scale(1.01);
}
.hero-ctas a:last-child {
    border-bottom-width: 2px !important;
}

.bg-primary {
    background:
        linear-gradient(135deg, hsl(var(--primary)), hsl(0 0% 3%));
}

.bg-accent,
.bg-gold {
    background: hsl(var(--accent));
}

.text-gold,
.text-accent {
    color: hsl(var(--accent));
}

input,
select,
textarea,
.woocommerce-ordering select {
    border-radius: var(--radius);
}

/* Premium motion and mobile alignment */
.rt-category-card {
    animation: fade-in 700ms ease-out both;
    animation-delay: var(--card-delay, 0ms);
}
.rt-category-sheen {
    position: absolute;
    inset: -30% -120%;
    background: linear-gradient(110deg, transparent 35%, hsl(var(--primary-foreground)/.22) 50%, transparent 65%);
    transform: translateX(-30%);
    transition: transform 900ms ease;
}
.rt-category-card:hover .rt-category-sheen {
    transform: translateX(60%);
}

/* Reuse the same "alive" premium motion on other card surfaces */
.rt-premium-card,
.rt-blog-card,
.rt-review-slide,
.rt-accessory-card {
    animation: fade-in 700ms ease-out both;
}

.rt-premium-card {
    position: relative;
    overflow: hidden;
}

.rt-premium-card::after {
    content: "";
    position: absolute;
    inset: -30% -120%;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, hsl(var(--primary-foreground)/.18) 50%, transparent 65%);
    transform: translateX(-30%);
    transition: transform 700ms ease;
    opacity: 0;
}

.rt-premium-card:hover::after {
    transform: translateX(60%);
    opacity: 1;
}

/* Product card swipe images */
.rt-card-swipe {
    position: relative;
    touch-action: pan-y pinch-zoom;
}

.rt-card-swipe .rt-card-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 280ms ease;
    will-change: opacity;
}

.rt-card-swipe .rt-card-img.is-active {
    opacity: 1;
}

.rt-card-dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    z-index: 5;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: hsl(0 0% 0% / 0.28);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.rt-card-dot {
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: hsl(var(--primary-foreground) / 0.28);
}

.rt-card-dot.is-active {
    background: hsl(var(--accent));
}

.rt-swipe-carousel,
.rt-editorial-carousel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    contain: layout paint;
}
.rt-editorial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.rt-editorial-slide {
    min-width: 0;
}
.rt-review-carousel {
    position: relative;
}
.rt-review-track {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}
.rt-review-slide {
    display: none;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}
.rt-review-slide.is-active {
    display: block;
    animation: fade-in .45s ease;
}
.rt-review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-top: 1rem;
}
.rt-review-arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rt-review-dots {
    display: flex;
    gap: .4rem;
}
.rt-review-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 9999px;
    border: 1px solid hsl(var(--border));
    background: transparent;
}
.rt-review-dot.is-active {
    background: hsl(var(--accent));
    border-color: hsl(var(--accent));
}
.rt-payment-logos .rt-paymark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid hsl(var(--primary-foreground)/.18);
    border-radius: 9999px;
    color: hsl(var(--primary-foreground)/.86);
}
.rt-payment-logos .rt-paymark svg {
    height: 1rem;
    width: auto;
    display: block;
}
.rt-payment-logos .rt-paymark img {
    display: block;
}

/* Keep payment marks readable on dark mode footers. */
html.dark .rt-payment-logos .rt-paymark,
body.dark .rt-payment-logos .rt-paymark,
[data-theme="dark"] .rt-payment-logos .rt-paymark {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1023px) {
    #site-header {
        overflow-x: clip;
    }

    #site-header .container {
        max-width: 100%;
        width: 100%;
    }

    #site-header .container > .flex {
        display: grid !important;
        grid-template-columns: 4.85rem minmax(0, 1fr) 4.85rem;
        align-items: center;
        min-width: 0;
        gap: 0.35rem;
    }

    #mobile-menu-btn {
        justify-self: start;
        flex: 0 0 auto;
        width: 2rem;
    }

    #site-header .site-brand {
        justify-self: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        gap: 0.55rem !important;
        overflow: hidden;
    }

    #site-header .site-brand > span[aria-hidden="true"] {
        flex: 0 0 2rem;
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.75rem !important;
    }

    #site-header .site-brand-text {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        align-items: center;
        text-align: center;
    }

    #site-header .site-brand-name,
    #site-header .site-brand-tagline {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #site-header .site-brand-name {
        font-size: clamp(1rem, 4.7vw, 1.34rem) !important;
        letter-spacing: 0.1em !important;
    }

    #site-header .site-brand-tagline {
        font-size: 0.5rem !important;
        letter-spacing: 0.22em !important;
    }

    #site-header .site-header-actions {
        justify-self: end;
        flex: 0 0 auto;
        gap: 0.38rem !important;
        min-width: 0;
    }

    #site-header .site-header-actions button,
    #site-header .site-header-actions a {
        flex: 0 0 auto;
    }

    #site-header .site-header-actions #theme-mode-toggle {
        display: none;
    }

    #site-header .site-header-actions svg {
        width: 19px;
        height: 19px;
    }

    .hero-shell,
    .hero-copy-wrap,
    .hero-content,
    .hero-kicker,
    .hero-ctas,
    .hero-controls {
        text-align: center;
        justify-content: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
        line-height: 1.02 !important;
    }
    .hero-desc {
        max-width: 22rem !important;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas .btn-gold,
    .hero-ctas .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    .rt-swipe-track {
        display: flex !important;
        overflow-x: auto;
        max-width: 100%;
        width: 100%;
        overscroll-behavior-x: contain;
        gap: 0.85rem;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.25rem;
    }
    .rt-swipe-track::-webkit-scrollbar {
        display: none;
    }
    .rt-slide {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .rt-editorial-track {
        display: flex;
        overflow-x: auto;
        max-width: 100%;
        width: 100%;
        overscroll-behavior-x: contain;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
    }
    .rt-editorial-track::-webkit-scrollbar {
        display: none;
    }
    .rt-editorial-slide {
        flex: 0 0 88%;
        scroll-snap-align: center;
    }

    .rt-footer-grid,
    .rt-footer-brand,
    .rt-footer-bottom {
        text-align: center;
        justify-content: center !important;
    }

    .rt-blog-section .rt-blog-meta,
    .rt-blog-section .rt-blog-excerpt {
        display: none !important;
    }
    .rt-blog-section .rt-blog-card img {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .rt-blog-section .rt-blog-card h3 {
        margin-bottom: 0 !important;
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }
}

/* Premium animated product page refresh */
.rt-product-breadcrumb {
    position: relative;
    z-index: 2;
}
.rt-product-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, hsl(var(--accent) / 0.18), transparent 18rem),
        radial-gradient(circle at 90% 8%, hsl(0 0% 0% / 0.62), transparent 26rem),
        linear-gradient(135deg, hsl(0 0% 4%), hsl(0 0% 2%) 52%, hsl(210 18% 7%));
    color: hsl(var(--primary-foreground));
}
.rt-product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, hsl(var(--primary-foreground) / 0.05) 1px, transparent 1px),
        linear-gradient(0deg, hsl(var(--primary-foreground) / 0.035) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: radial-gradient(circle at 50% 10%, black, transparent 72%);
    mask-image: radial-gradient(circle at 50% 10%, black, transparent 72%);
    opacity: 0.45;
}
.rt-product-hero .container {
    position: relative;
    z-index: 1;
}
.rt-gallery-kicker,
.rt-product-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    color: hsl(var(--primary-foreground) / 0.66);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.rt-product-main-image {
    border-color: hsl(var(--primary-foreground) / 0.18);
    background: linear-gradient(145deg, hsl(0 0% 3%), hsl(220 28% 9%));
    box-shadow:
        0 42px 120px hsl(0 0% 0% / 0.48),
        0 0 0 1px hsl(var(--accent) / 0.1) inset;
    isolation: isolate;
}
.rt-product-main-image::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid hsl(var(--primary-foreground) / 0.12);
    pointer-events: none;
    z-index: 2;
}
.rt-product-main-image img {
    transition: opacity 180ms ease, transform 900ms ease, filter 900ms ease;
    object-position: center top;
}
.rt-product-main-image:hover img {
    transform: scale(1.035);
    filter: saturate(1.02) contrast(1.08);
}
.rt-product-thumbs img {
    object-position: center top;
}
.rt-gallery-shine {
    position: absolute;
    inset: -30% -80%;
    z-index: 3;
    background: linear-gradient(110deg, transparent 40%, hsl(var(--primary-foreground) / 0.18) 50%, transparent 60%);
    transform: translateX(-65%);
    transition: transform 1100ms cubic-bezier(.22,1,.36,1);
    pointer-events: none;
}
.rt-product-main-image:hover .rt-gallery-shine {
    transform: translateX(58%);
}
.rt-gallery-caption {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 4;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid hsl(var(--primary-foreground) / 0.14);
    background: hsl(0 0% 0% / 0.42);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.rt-gallery-caption span,
.rt-purchase-head span {
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.rt-gallery-caption strong,
.rt-purchase-head strong {
    color: hsl(var(--primary-foreground));
    font-family: var(--font-serif);
    font-size: 1rem;
}
.rt-product-thumbs {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)) !important;
    gap: 0.65rem !important;
}
.rt-product-thumb {
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid hsl(var(--primary-foreground) / 0.16) !important;
    background: hsl(0 0% 4%);
    box-shadow: 0 10px 28px hsl(0 0% 0% / 0.22);
}
.rt-product-thumb.is-active,
.rt-product-thumb:hover {
    border-color: hsl(var(--accent)) !important;
    transform: translateY(-3px);
}
.rt-product-summary {
    border-color: hsl(var(--primary-foreground) / 0.14);
    background:
        linear-gradient(145deg, hsl(var(--primary-foreground) / 0.095), hsl(var(--primary-foreground) / 0.035)),
        hsl(0 0% 5% / 0.62);
    color: hsl(var(--primary-foreground));
    box-shadow: 0 34px 90px hsl(0 0% 0% / 0.42);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.rt-product-summary .text-foreground,
.rt-product-summary .rt-product-title,
.rt-product-summary .rt-atelier-notes strong,
.rt-product-summary .rt-size-guide-head strong,
.rt-product-summary .rt-size-result strong,
.rt-product-summary .rt-product-accordions summary {
    color: hsl(var(--primary-foreground)) !important;
}
.rt-product-summary .text-muted-foreground,
.rt-product-summary .rt-product-short-desc,
.rt-product-summary .rt-size-guide-head p,
.rt-product-summary .rt-size-result small,
.rt-product-summary .rt-product-accordions p {
    color: hsl(var(--primary-foreground) / 0.72) !important;
}
.rt-product-status-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 0 1.25rem;
}
.rt-product-status-row span {
    border: 1px solid hsl(var(--primary-foreground) / 0.12);
    padding: 0.35rem 0.58rem;
    background: hsl(var(--primary-foreground) / 0.045);
}
.rt-atelier-notes div,
.rt-size-guide-card,
.rt-purchase-panel {
    border-color: hsl(var(--primary-foreground) / 0.12);
    background:
        linear-gradient(145deg, hsl(var(--primary-foreground) / 0.09), hsl(var(--primary-foreground) / 0.035)),
        hsl(0 0% 0% / 0.14);
}
.rt-purchase-panel {
    margin: 1.1rem 0 0;
    padding: 1rem;
    box-shadow: 0 18px 46px hsl(0 0% 0% / 0.22);
}
.rt-purchase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}
.rt-purchase-head strong {
    font-size: 1.15rem;
}
.rt-product-summary .woocommerce form.cart {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.rt-product-summary .woocommerce form.cart .quantity input.qty,
.rt-product-summary .rt-size-inputs input {
    background: hsl(0 0% 0% / 0.28);
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary-foreground) / 0.16);
}
.rt-product-summary .single_add_to_cart_button,
.rt-product-summary button.single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 3rem;
    background: linear-gradient(135deg, hsl(35 58% 54%), hsl(31 46% 43%)) !important;
    color: hsl(0 0% 6%) !important;
    box-shadow: 0 18px 42px hsl(var(--accent) / 0.22);
}
.rt-product-summary .single_add_to_cart_button::after {
    content: "";
    position: absolute;
    inset: -40% -80%;
    background: linear-gradient(105deg, transparent 40%, hsl(0 0% 100% / 0.32), transparent 60%);
    transform: translateX(-60%);
    transition: transform 900ms ease;
}
.rt-product-summary .single_add_to_cart_button:hover::after {
    transform: translateX(60%);
}
.rt-stock-note {
    color: hsl(142 60% 66%) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.rt-service-strip > div,
.rt-product-accordions,
.rt-product-accordions details {
    border-color: hsl(var(--primary-foreground) / 0.12);
}
.rt-concierge-link {
    border-color: hsl(var(--accent) / 0.62);
    background: hsl(var(--accent) / 0.08);
}
.rt-product-accessories {
    background:
        radial-gradient(circle at 50% 0%, hsl(var(--accent) / 0.08), transparent 26rem),
        hsl(var(--background));
}
.rt-product-tabs-section {
    background:
        linear-gradient(180deg, hsl(var(--secondary) / 0.32), hsl(var(--background)));
}
.rt-related-products {
    background:
        radial-gradient(circle at 85% 0%, hsl(var(--accent) / 0.08), transparent 22rem),
        hsl(var(--background));
}
.rt-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,1,.36,1);
}
.rt-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.rt-accessory-card:nth-child(2) { transition-delay: 70ms; }
.rt-accessory-card:nth-child(3) { transition-delay: 140ms; }
.rt-accessory-card:nth-child(4) { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
    .rt-reveal,
    .rt-product-main-image img,
    .rt-gallery-shine,
    .rt-accessory-card,
    .rt-accessory-image img {
        transition: none !important;
        animation: none !important;
    }
    .rt-reveal {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 1023px) {
    .rt-product-hero {
        padding-top: 2rem;
        background:
            radial-gradient(circle at 18% 0%, hsl(var(--accent) / 0.15), transparent 16rem),
            linear-gradient(160deg, hsl(0 0% 4%), hsl(0 0% 2%) 58%, hsl(210 18% 7%));
    }
    .rt-gallery-kicker,
    .rt-product-status-row {
        font-size: 0.58rem;
        letter-spacing: 0.14em;
    }
    .rt-gallery-caption {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
        padding: 0.75rem;
    }
    .rt-product-summary {
        padding: 1rem;
        border: 1px solid hsl(var(--primary-foreground) / 0.12);
        background: hsl(0 0% 5% / 0.72);
        box-shadow: 0 18px 46px hsl(0 0% 0% / 0.3);
    }
    .rt-product-summary .woocommerce form.cart {
        flex-direction: column;
    }
    .rt-product-summary .woocommerce form.cart .quantity input.qty {
        width: 100%;
    }
    .rt-purchase-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Light mode hero readability */
:root[data-theme="light"] #hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, hsl(0 0% 0% / 0.72), hsl(0 0% 0% / 0.34) 48%, hsl(0 0% 0% / 0.14)),
        linear-gradient(0deg, hsl(0 0% 0% / 0.72), hsl(0 0% 0% / 0.18) 62%, hsl(0 0% 0% / 0.22));
}
:root[data-theme="light"] #hero-carousel .hero-title,
:root[data-theme="light"] #hero-carousel .hero-title span,
:root[data-theme="light"] #hero-carousel .hero-desc,
:root[data-theme="light"] #hero-carousel .hero-kicker p,
:root[data-theme="light"] #hero-carousel .hero-ctas a:last-child {
    color: hsl(36 24% 96%) !important;
    text-shadow: none !important;
}
:root[data-theme="light"] #hero-carousel .hero-title .text-accent,
:root[data-theme="light"] #hero-carousel .text-accent {
    color: hsl(var(--accent)) !important;
}
:root[data-theme="light"] #hero-carousel .hero-copy-wrap::before {
    content: none;
    display: none;
}
@media (max-width: 1023px) {
    :root[data-theme="light"] #hero-carousel::after {
        background:
            linear-gradient(0deg, hsl(0 0% 0% / 0.78), hsl(0 0% 0% / 0.22) 70%),
            linear-gradient(90deg, hsl(0 0% 0% / 0.48), hsl(0 0% 0% / 0.18));
    }
    :root[data-theme="light"] #hero-carousel .hero-copy-wrap::before {
        content: none;
        display: none;
    }
}

/* Product tabs and related product polish */
.rt-product-tabs-section .woocommerce-tabs {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    box-shadow: 0 22px 70px hsl(var(--foreground) / 0.08);
    padding: clamp(1.2rem, 3vw, 2.4rem);
}
.rt-product-tabs-section .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none !important;
    margin: 0 0 1.75rem !important;
    padding: 0 0 1.25rem !important;
    border-bottom: 1px solid hsl(var(--border)) !important;
}
.rt-product-tabs-section .woocommerce-tabs ul.tabs::before,
.rt-product-tabs-section .woocommerce-tabs ul.tabs::after,
.rt-product-tabs-section .woocommerce-tabs ul.tabs li::before,
.rt-product-tabs-section .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}
.rt-product-tabs-section .woocommerce-tabs ul.tabs li {
    border: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rt-product-tabs-section .woocommerce-tabs ul.tabs li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    border: 1px solid hsl(var(--border)) !important;
    border-radius: 999px;
    background: hsl(var(--background));
    color: hsl(var(--muted-foreground)) !important;
    padding: 0.65rem 1rem !important;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: var(--transition-luxury);
}
.rt-product-tabs-section .woocommerce-tabs ul.tabs li.active a,
.rt-product-tabs-section .woocommerce-tabs ul.tabs li a:hover {
    border-color: hsl(var(--accent)) !important;
    background: hsl(var(--primary)) !important;
    color: hsl(var(--primary-foreground)) !important;
}
.rt-product-tabs-section .woocommerce-tabs .panel {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: hsl(var(--foreground)) !important;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    line-height: 1.85;
}
.rt-product-tabs-section .woocommerce-tabs .panel h2 {
    display: block !important;
    margin: 0 0 0.85rem;
    color: hsl(var(--foreground)) !important;
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 5vw, 2.6rem);
    line-height: 1.05;
}
.rt-product-tabs-section .woocommerce-tabs .panel p,
.rt-product-tabs-section .woocommerce-tabs .panel li,
.rt-product-tabs-section .woocommerce-tabs .panel td,
.rt-product-tabs-section .woocommerce-tabs .panel th {
    color: hsl(var(--muted-foreground)) !important;
}
.rt-product-tabs-section table.shop_attributes {
    margin-top: 0.75rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
}
.rt-related-products .related.products {
    width: 100%;
}
.rt-related-products .related.products > h2 {
    margin: 0 0 2rem;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1;
    text-align: center;
}
.rt-related-products .related.products > h2::before {
    content: "You may also love";
    display: block;
    margin-bottom: 0.8rem;
    color: hsl(var(--accent));
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.rt-related-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rt-related-products ul.products::before,
.rt-related-products ul.products::after {
    display: none !important;
}
.rt-related-products ul.products li.product {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: hidden;
}
.rt-related-products ul.products li.product > * {
    min-width: 0;
    max-width: 100%;
}
.rt-related-products ul.products li.product h2,
.rt-related-products ul.products li.product h3,
.rt-related-products ul.products li.product a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.rt-related-products ul.products li.product .relative.overflow-hidden {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    box-shadow: 0 18px 50px hsl(var(--foreground) / 0.08);
}
@media (min-width: 1024px) {
    .rt-related-products ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}
@media (max-width: 639px) {
    .rt-product-tabs-section {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }
    .rt-product-tabs-section .container,
    .rt-related-products .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .rt-product-tabs-section .woocommerce-tabs {
        padding: 1rem;
    }
    .rt-product-tabs-section .woocommerce-tabs ul.tabs {
        display: grid !important;
        grid-template-columns: 1fr;
    }
    .rt-product-tabs-section .woocommerce-tabs ul.tabs li a {
        width: 100%;
    }
    .rt-related-products {
        padding-top: 3rem !important;
    }
}

/* Mobile viewport hard lock: prevent the whole store from panning into blank space */
html,
body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip !important;
    }
}

body {
    min-width: 0 !important;
    touch-action: pan-y pinch-zoom;
}

#site-header,
main,
footer,
section,
.rt-header-spacer,
#product-page {
    max-width: 100vw !important;
    min-width: 0 !important;
}

#site-header,
main,
footer,
section,
#product-page {
    overflow-x: clip !important;
}

.rt-swipe-carousel,
.rt-editorial-carousel,
.rt-accessory-grid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: contain;
    touch-action: pan-y pinch-zoom;
}

.rt-swipe-track,
.rt-editorial-track,
.rt-accessory-grid {
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
}

@media (max-width: 1023px) {
    .container,
    .rt-header-spacer {
        max-width: 100vw !important;
        min-width: 0 !important;
    }

    .rt-swipe-track,
    .rt-editorial-track,
    .rt-accessory-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .hero-slide,
    #hero-carousel,
    #hero-carousel .container {
        max-width: 100vw !important;
        overflow-x: clip !important;
    }
}

/* Desktop header controls: language + light/dark mode */
.rt-desktop-language-select,
.rt-desktop-theme-toggle {
    min-height: 2.35rem;
    border: 1px solid hsl(var(--border));
    border-radius: 9999px;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rt-desktop-language-select {
    display: inline-flex;
    min-width: 4.8rem;
    padding: 0.35rem 0.7rem;
}

.rt-desktop-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
}

.rt-desktop-theme-toggle:hover,
.rt-desktop-language-select:hover {
    border-color: hsl(var(--accent));
}

.rt-desktop-theme-toggle .rt-theme-mode-label {
    white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1180px) {
    #site-header .desktop-nav {
        gap: 1rem !important;
    }

    .rt-desktop-theme-toggle .rt-theme-mode-label {
        display: none;
    }
}

@media (max-width: 1023px) {
    .rt-desktop-language-select,
    .rt-desktop-theme-toggle {
        display: none !important;
    }
}

/* Collection cards: keep image text clean (title + CTA only). */
.rt-collection-showcase .rt-collection-card-copy p,
body.home.blog > main > section.py-16.bg-background:nth-of-type(5) .grid a p {
    display: none !important;
}

/* Product page: compact desktop layout + true light-mode treatment */
.rt-gallery-description-card {
    display: none;
}

@media (min-width: 1024px) {
    #product-cols {
        grid-template-columns: minmax(0, 44%) minmax(420px, 1fr) !important;
        gap: 2rem 3rem !important;
    }

    .rt-product-hero {
        padding-top: 2.5rem !important;
        padding-bottom: 3rem !important;
    }

    .rt-product-gallery .rt-product-main-image {
        aspect-ratio: 4 / 5 !important;
        max-height: min(64vh, 620px) !important;
    }

    .rt-product-summary {
        top: 6.25rem !important;
    }

    .rt-gallery-description-card {
        display: block;
        margin-top: 1rem;
        padding: 1.1rem;
        border: 1px solid hsl(var(--primary-foreground) / 0.14);
        background: hsl(0 0% 0% / 0.18);
        color: hsl(var(--primary-foreground));
        box-shadow: 0 18px 48px hsl(0 0% 0% / 0.22);
    }

    .rt-gallery-description-card > span {
        display: block;
        margin-bottom: 0.45rem;
        color: hsl(var(--accent));
        font-family: var(--font-sans);
        font-size: 0.62rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .rt-gallery-description-card h2 {
        margin: 0 0 0.7rem;
        color: hsl(var(--primary-foreground));
        font-family: var(--font-serif);
        font-size: clamp(1.35rem, 2vw, 1.9rem);
        line-height: 1.05;
    }

    .rt-gallery-description-card p,
    .rt-gallery-description-card dd {
        color: hsl(var(--primary-foreground) / 0.74);
        font-family: var(--font-sans);
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .rt-gallery-description-card dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin: 1rem 0 0;
    }

    .rt-gallery-description-card dl > div {
        border-top: 1px solid hsl(var(--primary-foreground) / 0.12);
        padding-top: 0.75rem;
    }

    .rt-gallery-description-card dt {
        color: hsl(var(--accent));
        font-family: var(--font-sans);
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }
}

:root[data-theme="light"] .rt-product-hero {
    background:
        radial-gradient(circle at 14% 0%, hsl(var(--accent) / 0.12), transparent 20rem),
        linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary) / 0.34)) !important;
    color: hsl(var(--foreground)) !important;
}

:root[data-theme="light"] .rt-product-hero::before {
    background:
        linear-gradient(90deg, hsl(var(--foreground) / 0.035) 1px, transparent 1px),
        linear-gradient(0deg, hsl(var(--foreground) / 0.025) 1px, transparent 1px);
    opacity: 0.36;
}

:root[data-theme="light"] .rt-gallery-kicker,
:root[data-theme="light"] .rt-product-status-row {
    color: hsl(var(--muted-foreground)) !important;
}

:root[data-theme="light"] .rt-product-main-image {
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--card)) !important;
    box-shadow: 0 28px 80px hsl(var(--foreground) / 0.11), 0 0 0 1px hsl(var(--accent) / 0.08) inset !important;
}

:root[data-theme="light"] .rt-product-main-image::before {
    border-color: hsl(var(--foreground) / 0.1) !important;
}

:root[data-theme="light"] .rt-product-thumb {
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--card)) !important;
    box-shadow: 0 10px 28px hsl(var(--foreground) / 0.08) !important;
}

:root[data-theme="light"] .rt-gallery-caption,
:root[data-theme="light"] .rt-gallery-description-card {
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--card) / 0.88) !important;
    color: hsl(var(--foreground)) !important;
    box-shadow: 0 18px 48px hsl(var(--foreground) / 0.08) !important;
}

:root[data-theme="light"] .rt-gallery-caption strong,
:root[data-theme="light"] .rt-gallery-description-card h2,
:root[data-theme="light"] .rt-gallery-description-card dd,
:root[data-theme="light"] .rt-product-summary .text-foreground,
:root[data-theme="light"] .rt-product-summary .rt-product-title,
:root[data-theme="light"] .rt-product-summary .rt-atelier-notes strong,
:root[data-theme="light"] .rt-product-summary .rt-size-guide-head strong,
:root[data-theme="light"] .rt-product-summary .rt-size-result strong,
:root[data-theme="light"] .rt-product-summary .rt-product-accordions summary,
:root[data-theme="light"] .rt-product-summary .rt-purchase-head strong {
    color: hsl(var(--foreground)) !important;
}

:root[data-theme="light"] .rt-gallery-description-card p,
:root[data-theme="light"] .rt-product-summary .text-muted-foreground,
:root[data-theme="light"] .rt-product-summary .rt-product-short-desc,
:root[data-theme="light"] .rt-product-summary .rt-size-guide-head p,
:root[data-theme="light"] .rt-product-summary .rt-size-result small,
:root[data-theme="light"] .rt-product-summary .rt-product-accordions p,
:root[data-theme="light"] .rt-product-summary .rt-service-strip > div {
    color: hsl(var(--muted-foreground)) !important;
}

:root[data-theme="light"] .rt-product-summary {
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--card) / 0.94) !important;
    color: hsl(var(--foreground)) !important;
    box-shadow: 0 30px 80px hsl(var(--foreground) / 0.1) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

:root[data-theme="light"] .rt-product-status-row span,
:root[data-theme="light"] .rt-atelier-notes div,
:root[data-theme="light"] .rt-size-guide-card,
:root[data-theme="light"] .rt-purchase-panel {
    border-color: hsl(var(--border)) !important;
    background: hsl(var(--background) / 0.78) !important;
}

:root[data-theme="light"] .rt-product-summary .woocommerce form.cart .quantity input.qty,
:root[data-theme="light"] .rt-product-summary .rt-size-inputs input {
    background: hsl(var(--background)) !important;
    color: hsl(var(--foreground)) !important;
    border-color: hsl(var(--border)) !important;
}

:root[data-theme="light"] .rt-service-strip > div,
:root[data-theme="light"] .rt-product-accordions,
:root[data-theme="light"] .rt-product-accordions details,
:root[data-theme="light"] .rt-gallery-description-card dl > div {
    border-color: hsl(var(--border)) !important;
}

:root[data-theme="light"] .rt-stock-note {
    color: hsl(145 48% 30%) !important;
}

@media (max-width: 1023px) {
    :root[data-theme="light"] .rt-product-hero {
        background:
            radial-gradient(circle at 18% 0%, hsl(var(--accent) / 0.12), transparent 16rem),
            linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary) / 0.36)) !important;
    }

    :root[data-theme="light"] .rt-product-summary {
        border-color: hsl(var(--border)) !important;
        background: hsl(var(--card)) !important;
        box-shadow: 0 18px 46px hsl(var(--foreground) / 0.08) !important;
    }
}

/* Desktop PDP rebuild: premium abaya-store layout. Mobile remains untouched. */
.rt-desktop-pdp-assurance,
.rt-desktop-product-story {
    display: none;
}

@media (min-width: 1024px) {
    #product-page .rt-product-hero {
        padding-top: clamp(2rem, 3vw, 3.5rem) !important;
        padding-bottom: clamp(2.5rem, 4vw, 4rem) !important;
        overflow: visible !important;
        overflow-x: visible !important;
    }

    #product-page .rt-product-hero .container,
    #product-page #product-cols {
        overflow: visible !important;
        overflow-x: visible !important;
    }

    #product-page #product-cols {
        grid-template-columns: minmax(0, 1.35fr) minmax(390px, 1fr) !important;
        gap: clamp(2rem, 4vw, 4.75rem) !important;
        align-items: start !important;
    }

    #product-page .rt-product-gallery {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-rows: auto minmax(0, auto) auto;
        gap: 0.9rem 1rem;
        position: sticky;
        top: 6.25rem;
        align-self: start;
        height: auto !important;
        min-height: 0 !important;
    }

    #product-page .rt-gallery-kicker {
        grid-column: 1 / -1;
        margin: 0;
        padding: 0.8rem 0;
        border-top: 1px solid hsl(var(--border) / 0.38);
        border-bottom: 1px solid hsl(var(--border) / 0.38);
        color: hsl(var(--muted-foreground));
    }

    #product-page .rt-product-main-image {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        margin: 0 !important;
        aspect-ratio: 4 / 5 !important;
        max-height: min(70vh, 720px) !important;
        min-height: clamp(440px, 56vh, 560px);
        box-shadow: 0 34px 100px hsl(0 0% 0% / 0.34);
    }

    #product-page .rt-product-thumbs {
        grid-column: 1;
        grid-row: 2;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: 112px;
        gap: 0.75rem;
        max-height: min(72vh, 760px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 0.15rem 0 0 !important;
        scrollbar-width: thin;
    }

    #product-page .rt-product-thumb {
        width: 100% !important;
        height: 112px !important;
        min-width: 0 !important;
        border: 1px solid hsl(var(--border) / 0.42);
        opacity: 0.72;
        transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease;
    }

    #product-page .rt-product-thumb:hover,
    #product-page .rt-product-thumb.is-active {
        opacity: 1;
        transform: translateY(-2px);
        border-color: hsl(var(--accent) / 0.75);
    }

    #product-page .rt-gallery-description-card {
        display: none !important;
    }

    #product-page .rt-product-summary {
        position: relative !important;
        top: auto !important;
        max-height: none;
        overflow: visible;
        scrollbar-width: thin;
        padding: clamp(1.35rem, 2vw, 2.15rem) !important;
        border-radius: 0;
        background:
            linear-gradient(145deg, hsl(var(--primary-foreground) / 0.095), hsl(var(--primary-foreground) / 0.03)),
            hsl(0 0% 5% / 0.78);
        box-shadow: 0 30px 90px hsl(0 0% 0% / 0.34);
    }

    #product-page .rt-product-title {
        font-size: clamp(2.2rem, 3.1vw, 4.1rem) !important;
        line-height: 0.98;
        letter-spacing: 0;
    }

    #product-page .rt-product-short-desc {
        max-width: 44rem;
        margin-bottom: 1.1rem !important;
    }

    #product-page .woocommerce-product-rating:empty {
        display: none !important;
        margin: 0 !important;
    }

    #product-page .rt-atelier-notes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.7rem;
        margin-bottom: 0.9rem;
    }

    #product-page .rt-atelier-notes div,
    #product-page .rt-size-guide-card,
    #product-page .rt-purchase-panel {
        background: hsl(0 0% 100% / 0.055);
    }

    #product-page .rt-desktop-pdp-assurance {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
        margin: 0 0 1rem;
    }

    #product-page .rt-desktop-pdp-assurance div {
        min-height: 5.1rem;
        padding: 0.75rem;
        border: 1px solid hsl(var(--primary-foreground) / 0.12);
        background: hsl(0 0% 100% / 0.045);
    }

    #product-page .rt-desktop-pdp-assurance span {
        display: block;
        margin-bottom: 0.4rem;
        color: hsl(var(--accent));
        font-family: var(--font-sans);
        font-size: 0.58rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    #product-page .rt-desktop-pdp-assurance strong {
        display: block;
        color: hsl(var(--primary-foreground) / 0.82);
        font-family: var(--font-sans);
        font-size: 0.72rem;
        font-weight: 400;
        line-height: 1.55;
    }

    #product-page .rt-size-guide-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.95fr);
        gap: 0.75rem 1rem;
        margin-top: 0;
        margin-bottom: 1rem;
        padding: 0.9rem;
    }

    #product-page .rt-size-guide-head {
        gap: 0.35rem;
    }

    #product-page .rt-size-guide-head strong {
        font-size: 1.02rem;
    }

    #product-page .rt-size-guide-head p,
    #product-page .rt-size-result small {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    #product-page .rt-size-unit-tabs {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        margin-top: 0;
    }

    #product-page .rt-size-unit-tabs button {
        padding: 0.62rem 0.65rem;
    }

    #product-page .rt-size-inputs {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        margin-top: 0;
    }

    #product-page .rt-size-inputs input {
        padding: 0.68rem 0.75rem;
    }

    #product-page .rt-size-result {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 0.25rem 1rem;
        align-items: center;
        margin-top: 0.25rem;
        padding-top: 0.7rem;
    }

    #product-page .rt-size-result strong {
        margin: 0;
        font-size: 1.18rem;
    }

    #product-page .rt-size-result small {
        grid-column: 2;
    }

    #product-page .rt-purchase-panel {
        margin-top: 1rem;
        padding: 0.85rem;
    }

    #product-page .rt-service-strip {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem !important;
    }

    #product-page .rt-service-strip > div {
        align-items: flex-start !important;
        padding: 0.52rem 0;
        border-top: 1px solid hsl(var(--primary-foreground) / 0.12);
        font-size: 0.74rem !important;
        line-height: 1.45;
    }

    #product-page .rt-concierge-link {
        margin-top: 1.15rem;
    }

    #product-page .rt-desktop-product-story {
        display: block;
        padding: clamp(1.25rem, 2vw, 2rem) 0 clamp(2.5rem, 4vw, 4.5rem);
        background: hsl(var(--background));
    }

    #product-page .rt-desktop-story-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr) minmax(280px, 0.9fr);
        gap: clamp(1rem, 2vw, 1.6rem);
    }

    #product-page .rt-desktop-story-grid article {
        min-height: 100%;
        padding: clamp(1.25rem, 2vw, 1.8rem);
        border: 1px solid hsl(var(--border));
        background: hsl(var(--card) / 0.88);
        box-shadow: 0 22px 70px hsl(var(--foreground) / 0.07);
    }

    #product-page .rt-desktop-story-grid article > span {
        display: block;
        margin-bottom: 0.85rem;
        color: hsl(var(--accent));
        font-family: var(--font-sans);
        font-size: 0.66rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    #product-page .rt-desktop-story-grid h2 {
        margin: 0 0 1rem;
        color: hsl(var(--foreground));
        font-family: var(--font-serif);
        font-size: clamp(1.55rem, 2.3vw, 2.5rem);
        line-height: 1.05;
        letter-spacing: 0;
    }

    #product-page .rt-desktop-story-grid p,
    #product-page .rt-desktop-story-grid li,
    #product-page .rt-desktop-story-grid dd {
        color: hsl(var(--muted-foreground));
        font-family: var(--font-sans);
        font-size: 0.92rem;
        line-height: 1.78;
    }

    #product-page .rt-desktop-story-grid dl,
    #product-page .rt-desktop-story-grid ul {
        display: grid;
        gap: 0.95rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #product-page .rt-desktop-story-grid dt {
        margin-bottom: 0.22rem;
        color: hsl(var(--foreground));
        font-family: var(--font-serif);
        font-size: 1.05rem;
    }

    #product-page .rt-desktop-story-service a {
        display: inline-flex;
        margin-top: 1.15rem;
        padding: 0.8rem 1rem;
        border: 1px solid hsl(var(--accent) / 0.45);
        color: hsl(var(--foreground));
        font-family: var(--font-sans);
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    #product-page .rt-product-accessories {
        padding-top: clamp(2.5rem, 4vw, 4rem) !important;
        padding-bottom: clamp(2.5rem, 4vw, 4rem) !important;
    }

    #product-page .rt-product-tabs-section {
        padding-top: clamp(2.5rem, 4vw, 4rem) !important;
        padding-bottom: clamp(2.5rem, 4vw, 4rem) !important;
    }

    #product-page .rt-related-products {
        padding-top: clamp(2.5rem, 4vw, 4rem) !important;
        padding-bottom: clamp(2.5rem, 4vw, 4rem) !important;
    }

    #product-page section.related.products {
        max-width: none;
    }
}

@media (min-width: 1024px) {
    :root[data-theme="light"] #product-page .rt-product-hero,
    :root[data-theme="light"] #product-page .rt-desktop-product-story {
        background:
            radial-gradient(circle at 12% 0%, hsl(var(--accent) / 0.1), transparent 24rem),
            linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary) / 0.36)) !important;
        color: hsl(var(--foreground)) !important;
    }

    :root[data-theme="light"] #product-page .rt-product-summary {
        border-color: hsl(var(--border)) !important;
        background: hsl(var(--card) / 0.96) !important;
        color: hsl(var(--foreground)) !important;
        box-shadow: 0 32px 88px hsl(var(--foreground) / 0.11) !important;
    }

    :root[data-theme="light"] #product-page .rt-desktop-pdp-assurance div,
    :root[data-theme="light"] #product-page .rt-atelier-notes div,
    :root[data-theme="light"] #product-page .rt-size-guide-card,
    :root[data-theme="light"] #product-page .rt-purchase-panel {
        border-color: hsl(var(--border)) !important;
        background: hsl(var(--background) / 0.84) !important;
    }

    :root[data-theme="light"] #product-page .rt-desktop-pdp-assurance strong {
        color: hsl(var(--muted-foreground)) !important;
    }

    :root[data-theme="light"] #product-page .rt-service-strip > div {
        border-color: hsl(var(--border)) !important;
    }
}

/* Competitor-inspired PDP support sections */
.rt-product-faq,
.rt-recently-viewed-products {
    background:
        radial-gradient(circle at 12% 0%, hsl(var(--accent) / 0.08), transparent 20rem),
        hsl(var(--background));
}

.rt-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.rt-faq-item {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / 0.92);
    box-shadow: 0 18px 50px hsl(var(--foreground) / 0.06);
    transition: var(--transition-luxury);
}

.rt-faq-item:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--accent) / 0.6);
}

.rt-faq-item summary {
    cursor: pointer;
    padding: 1rem 1.1rem;
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    list-style: none;
}

.rt-faq-item summary::-webkit-details-marker {
    display: none;
}

.rt-faq-item summary::after {
    content: "+";
    float: right;
    color: hsl(var(--accent));
    font-family: var(--font-sans);
}

.rt-faq-item[open] summary::after {
    content: "-";
}

.rt-faq-item p {
    margin: 0;
    padding: 0 1.1rem 1.15rem;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.75;
}

.rt-recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 1024px) {
    .rt-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .rt-recently-viewed-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (hover: none), (max-width: 767px) {
    .rt-premium-card .rt-wishlist-btn,
    .rt-premium-card .rt-quickview-btn,
    .rt-premium-card .absolute.bottom-0.left-0.right-0 {
        opacity: 1 !important;
    }

    .rt-premium-card .rt-quickview-btn {
        font-size: 0;
        width: 2.25rem;
        padding: 0;
    }

    .rt-premium-card .rt-quickview-btn::before {
        content: "View";
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }
}
