/*
Theme Name: Sparkle & Glow
Theme URI: https://th.webtestsdev.com/sparkle-glow/
Author: TheLegenDesk
Author URI: https://thelegendesk.com
Description: Bespoke WooCommerce theme for Sparkle & Glow Jewels — hand-built, no page builder. Cormorant Garamond + Jost, gold/ivory/rose/plum palette, fully dynamic content via ACF.
Version: 2.0.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sparkle-glow
Tags: e-commerce, custom-theme
WC requires at least: 8.0
WC tested up to: 11.1
*/

/* ==========================================================================
   Sparkle & Glow Jewels — Homepage (Phase 1 prototype)
   Display: Cormorant Garamond · Body: Jost (both carried over from the live theme)
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — derived from the live site's gold / ivory / rose / plum */
  --ink: #170f13;
  --ink-deep: #0f090c;
  --ink-2: #21151b;
  --ivory: #fbf7f1;
  --champagne: #f4ece0;
  --sand: #e8dcc9;
  --blush: #f2e3dd;
  --rose: #d98a96;
  --rose-deep: #a85463;
  --gold: #c9a35c;
  --gold-soft: #e8caa0;
  --gold-deep: #8a6a2f;
  --gold-text: #7a5a22;

  --text: #2b1f24;
  --text-soft: #6b5b57;
  --on-dark: rgba(251, 247, 241, 0.78);
  --line: rgba(23, 15, 19, 0.12);
  --line-gold: rgba(201, 163, 92, 0.38);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 136px;
  --radius: 6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layered, colour-tinted shadows (base → elevated → floating) */
  --shadow-elevated: 0 1px 2px rgba(23, 15, 19, 0.05), 0 10px 22px -12px rgba(23, 15, 19, 0.22), 0 26px 48px -28px rgba(138, 106, 47, 0.32);
  --shadow-floating: 0 2px 4px rgba(23, 15, 19, 0.06), 0 18px 36px -14px rgba(23, 15, 19, 0.35), 0 44px 80px -36px rgba(138, 106, 47, 0.45);

  /* Grain */
  --grain-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 1  0 1 0 0 1  0 0 1 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
[hidden] { display: none !important; }

/* Fine grain over the ivory canvas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: var(--grain-dark);
  opacity: 0.045;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Focus */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.announce :focus-visible, .site-header :focus-visible, .hero :focus-visible,
.closing :focus-visible, .footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--gold); }

/* ---------- Icons ---------- */
.icon {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 16px; height: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 em, .h3 em, .closing__title em, .hero__title em { font-style: italic; font-weight: 400; color: var(--gold-text); letter-spacing: -0.02em; }
.h2--light { color: var(--ivory); }
.h2--light em { color: var(--gold-soft); }
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h3--light { color: var(--ivory); }
.lead { font-size: 1.0625rem; line-height: 1.75; color: var(--text-soft); max-width: 54ch; }
.lead + .lead { margin-top: 1.1em; }
.lead--light { color: var(--on-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 38px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--ink); color: var(--ivory); box-shadow: 0 10px 24px -14px rgba(23, 15, 19, 0.7); }
.btn--primary::before { background: var(--gold-deep); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(201, 163, 92, 0.75); }
.btn--gold::before { background: var(--gold-soft); }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.28);
  transition: transform 0.6s var(--ease);
}
.link-arrow .icon { transition: transform 0.5s var(--ease); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(5px); }
.link-arrow:active { transform: translateY(1px); }
.link-arrow--light { color: var(--ivory); }
.link-arrow--sm { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--gold-text); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn__count {
  position: absolute;
  top: 3px; right: 1px;
  display: grid;
  place-items: center;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
}
.icon-btn__count.is-pop { animation: pop 0.6s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.round-btn:hover { transform: scale(1.08); }
.round-btn:active { transform: scale(0.94); }

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announce {
  position: relative;
  z-index: 61;
  display: grid;
  place-items: center;
  height: 40px;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.announce__track { display: grid; width: 100%; padding-inline: var(--gutter); text-align: center; }
.announce__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  line-height: 40px;
}
.announce__item.is-active { opacity: 1; transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--ivory);
  transition: transform 0.6s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 26px;
  background: linear-gradient(rgba(15, 9, 12, 0.45), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
display:none;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold) 20%, var(--line-gold) 80%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-hidden::before, .site-header.is-hidden::after { opacity: 0; }
/* Near the page top the header must snap (not slide) back into its flow slot,
   otherwise the empty slot shows the page background as a white band. */
.site-header.is-instant { transition: none; }

.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.header__left, .header__right { display: flex; align-items: center; min-width: 0; }
.header__right { justify-content: flex-end; gap: clamp(20px, 2.6vw, 44px); }

.brand { display: block; padding-inline: clamp(12px, 3vw, 44px); }
.brand img { height: 120px; width: auto; transition: transform 0.7s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.nav ul { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.86;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.55s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-expanded="true"] { opacity: 1; }
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link .icon { transition: transform 0.45s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 2px; }
.nav-toggle { display: none; margin-left: -10px; }

/* Mega menu */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--ivory);
  color: var(--text);
  border-top: 1px solid var(--line-gold);
  box-shadow: var(--shadow-floating);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.4s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.3fr;
  gap: clamp(32px, 5vw, 96px);
  padding-block: 48px 56px;
}
.mega__label {
  margin-bottom: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.mega__list li + li { margin-top: 4px; }
.mega__list a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: 0.95rem;
  color: var(--text);
  transition: transform 0.45s var(--ease);
}
.mega__list a:hover, .mega__list a:focus-visible { transform: translateX(6px); }
.mega__list--lg a { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.mega__feature {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}
.mega__feature-img { overflow: hidden; border-radius: 999px 999px 4px 4px; aspect-ratio: 3/4; background: var(--sand); }
.mega__feature-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.mega__feature:hover img { scale: 1.07; }
.mega__feature-copy { display: grid; gap: 14px; justify-items: start; }
.mega__feature-copy .eyebrow { margin: 0; }
.mega__feature-title { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.mega__feature .link-arrow { color: var(--gold-text); font-size: 0.7rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  height: calc(100vh - 200px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(52% 64% at 76% 42%, rgba(201, 163, 92, 0.26), transparent 66%),
    radial-gradient(40% 50% at 8% 92%, rgba(217, 138, 150, 0.17), transparent 68%),
    radial-gradient(70% 50% at 50% -12%, rgba(232, 202, 160, 0.13), transparent 62%),
    linear-gradient(180deg, #1b1116 0%, #170f13 55%, #110a0e 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-light);
  opacity: 0.06;
  mix-blend-mode: screen;
}
/* Background video → overlay → content */
.hero__media {
  --hero-video-x: 50%;
  --hero-video-y: 50%;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
}
.hero__poster, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-video-x) var(--hero-video-y);
}
.hero__video {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero.is-video-playing .hero__video { opacity: 1; }
.hero.is-video-playing.is-video-ending .hero__video { opacity: 0; }
.hero.is-video-failed .hero__video { display: none; }
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-play-button,
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.hero__video::-moz-media-controls { display: none !important; }

/* Subtle overlay — only as dark as the text needs; the right side stays open so the jewelry glows */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(23 15 19 / 36%) 0%, rgb(23 15 19 / 18%) 32%, rgba(23, 15, 19, 0.26) 58%, rgba(23, 15, 19, 0) 78%), 
              linear-gradient(180deg, rgb(23 15 19 / 0%) 0%, rgb(23 15 19 / 0%) 22%), 
              linear-gradient(0deg, rgb(15 9 12 / 0%) 0%, rgb(15 9 12 / 0%) 28%);
}
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-light);
  opacity: 0.05;
  mix-blend-mode: screen;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 4vw, 80px);
  padding-block: clamp(36px, 4.5vw, 64px) clamp(56px, 6vw, 92px);
}
.hero__copy { max-width: 760px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.3rem, 5.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ivory);
  text-shadow: 0 2px 36px rgba(15, 9, 12, 0.4);
}
.hero__line { display: block; }
.hero__title em {
  padding-right: 0.06em;
  background: linear-gradient(100deg, #f1d9ae 0%, #c9a35c 45%, #efcf98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-soft);
}
.hero__lead {
  margin-top: clamp(24px, 2.6vw, 34px);
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.8;
  color: rgba(251, 247, 241, 0.86);
  text-shadow: 0 1px 20px rgba(15, 9, 12, 0.55);
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: clamp(30px, 3.4vw, 46px); }
.hero__cta .link-arrow { text-shadow: 0 1px 16px rgba(15, 9, 12, 0.7); }

/* Right column keeps its original footprint (so the hero height is unchanged); the video shows through it */
.hero__visual {
  position: relative;
  width: min(100%, 610px);
  margin-inline: auto 0;
  aspect-ratio: 1 / 0.74;
}
.reveal-img { overflow: hidden; }
.seal {
  position: absolute;
  right: 4%; top: 6%;
  display: grid;
  place-items: center;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: rgba(23, 15, 19, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--line-gold), 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 46s linear infinite; }
.seal__gem { width: 30px; height: 30px; stroke-width: 1.3; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.product-tag {
  position: absolute;
  right: -2%; bottom: 8%;
  display: grid;
  gap: 4px;
  width: 232px;
  padding: 16px 18px 14px;
  border-radius: 4px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow-floating);
  transition: transform 0.6s var(--ease);
}
.product-tag:hover, .product-tag:focus-visible { transform: translateY(-5px); }
.product-tag:active { transform: translateY(-1px) scale(0.99); }
.product-tag__label { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); }
.product-tag__name { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.product-tag__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-tag__price { font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em; }
.product-tag__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--ivory); transition: transform 0.5s var(--ease); }
.product-tag:hover .product-tag__go { transform: translateX(4px); }

/* Pause / play control (WCAG 2.2.2) — also lets people start the video if the browser blocked autoplay */
.hero__toggle {
  position: absolute;
  right: 0; bottom: 20px;
  z-index: 2;
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15, 9, 12, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  box-shadow: 0 0 0 1px var(--line-gold);
  opacity: 0.85;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.js .hero__toggle { display: grid; }
.hero__toggle:hover { transform: scale(1.08); opacity: 1; }
.hero__toggle:active { transform: scale(0.94); }
.hero__toggle-play { display: none; }
.hero.is-video-paused .hero__toggle-pause { display: none; }
.hero.is-video-paused .hero__toggle-play { display: block; }

/* Trust band */
.hero__trust { position: absolute; border-top: 1px solid var(--line-gold); background: rgba(15, 9, 12, 0.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); left: 0; width: 100%;
    bottom: 0; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 247, 241, 0.86);
}
.trust-list li + li::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-gold); }
.trust-list .icon { color: var(--gold); width: 26px; height: 26px; stroke-width: 1.3; }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding-block: clamp(80px, 9.5vw, 148px); }
.section--ivory { background: var(--ivory); }
.section--champagne { background: var(--champagne); }
.section--blush { background: var(--blush); }

.section-head { margin-bottom: clamp(44px, 5.5vw, 80px); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(24px, 6vw, 120px);
}
.section-head--split .eyebrow { margin-bottom: 22px; }
.section-head__aside { display: grid; gap: 22px; justify-items: start; padding-bottom: 8px; }
.section-head__aside .link-arrow { color: var(--ink); }
.section-cta { display: flex; justify-content: center; margin-top: clamp(48px, 5vw, 80px); }

/* Image colour treatment (lifestyle imagery only — never product shots) */
.treat { position: relative; isolation: isolate; }
.treat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(232, 202, 160, 0.42), rgba(168, 84, 99, 0.2));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ==========================================================================
   Featured collections — reference layout: plain square photo, caption
   centered below (no overlay, no per-card copy/CTA)
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.cat-card__link {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 1.8vw, 22px);
  text-align: center;
}
.cat-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 1px 2px rgba(23, 15, 19, 0.05);
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.cat-card__link:hover .cat-card__media img, .cat-card__link:focus-visible .cat-card__media img { scale: 1.06; }
.cat-card__link:active .cat-card__media img { scale: 1.03; }
.cat-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.5vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.35s var(--ease);
}
.cat-card__link:hover .cat-card__title, .cat-card__link:focus-visible .cat-card__title { color: var(--gold-text); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4.2vw, 64px) clamp(18px, 2.2vw, 32px);
}
.product-card { position: relative; }
.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--sand);
}
.product-card__link { position: absolute; inset: 0; display: block; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.3s var(--ease), opacity 0.7s var(--ease); }
.product-card__img--alt { opacity: 0; }
.product-card:hover .product-card__img, .product-card:focus-within .product-card__img { scale: 1.045; }
.product-card:hover .product-card__img--alt, .product-card:focus-within .product-card__img--alt { opacity: 1; }

.badge {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 3;
  padding: 6px 12px 5px;
  border-radius: 2px;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.wish-btn {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(251, 247, 241, 0.9);
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(23, 15, 19, 0.5);
  transition: transform 0.45s var(--ease);
}
.wish-btn .icon { width: 19px; height: 19px; }
.wish-btn:hover { transform: scale(1.1); }
.wish-btn:active { transform: scale(0.9); }
.wish-btn[aria-pressed="true"] { color: var(--rose-deep); }
.wish-btn[aria-pressed="true"] .icon { fill: currentColor; }
.wish-btn.is-pop { animation: pop 0.6s var(--spring); }

.quick-add {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 2px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px -12px rgba(23, 15, 19, 0.55);
  transform: translateY(calc(100% + 18px));
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.product-card:hover .quick-add, .product-card:focus-within .quick-add { transform: none; opacity: 1; }
.quick-add:hover { transform: translateY(-2px); }
.quick-add:active { transform: scale(0.98); }

.product-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "cat price" "name name" "meta meta";
  align-items: baseline;
  gap: 8px 14px;
  padding-top: 20px;
}
.product-card__cat { grid-area: cat; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.5; color: var(--gold-text); }
.product-card__price { grid-area: price; }
.product-card__meta { grid-area: meta; margin-top: -2px; }
.product-card__name { grid-area: name; font-family: var(--font-display); font-size: clamp(1.28rem, 1.55vw, 1.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.product-card__name a { display: inline; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.product-card__name a:hover, .product-card__name a:focus-visible { background-size: 100% 1px; }
.product-card__price { font-size: 0.96rem; font-weight: 500; letter-spacing: 0.05em; }
.product-card__meta { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-soft); }

/* Best Sellers slider — 4 visible on desktop, paged with prev/next; the track
   is measured in JS so these flex-basis values are the only thing that has
   to stay in sync with the "items per view" breakpoints in main.js. */
.product-slider { --slider-gap: clamp(18px, 2.2vw, 32px); position: relative; }
.product-slider__viewport { overflow: hidden; }
.product-slider__track {
  display: flex;
  gap: var(--slider-gap);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.product-slider__track > .product-card { flex: 0 0 calc((100% - 3 * var(--slider-gap)) / 4); min-width: 0; }
.product-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  background: rgba(251, 247, 241, 0.92);
  box-shadow: 0 10px 26px -14px rgba(23, 15, 19, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-slider__nav:hover { transform: translateY(-50%) scale(1.08); }
.product-slider__nav:active { transform: translateY(-50%) scale(0.94); }
.product-slider__nav--prev { left: 4px; }
.product-slider__nav--next { right: 4px; }
.product-slider__nav:disabled { opacity: 0.32; pointer-events: none; }

/* ==========================================================================
   Story + Why choose us
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}
.story__media { position: relative; padding: 0 0 36px 0; }
.story__media::before {
  content: "";
  position: absolute;
  left: -20px; top: 24px; right: 20px; bottom: 0;
  border: 1px solid var(--gold);
  border-radius: 6px;
  opacity: 0.55;
}
.story__figure { position: relative; aspect-ratio: 5 / 4.15; border-radius: 6px; box-shadow: var(--shadow-elevated); }
.story__figure img { width: 100%; height: 100%; object-fit: cover; }
.story__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(23, 15, 19, 0.35), transparent 45%);
  pointer-events: none;
}
.story__note {
  position: absolute;
  right: clamp(-12px, -1vw, 0px);
  bottom: 0;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 20px 28px 18px;
  border-radius: 4px;
  background: var(--ivory);
  box-shadow: var(--shadow-floating);
}
.story__note-label { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); }
.story__note-name { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.2; letter-spacing: -0.01em; }
.story__copy .h2 { margin-bottom: 28px; }
.story__copy .lead:last-of-type { margin-bottom: 38px; }

.why { margin-top: clamp(80px, 9vw, 140px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.why__head { margin-bottom: clamp(36px, 4vw, 56px); }
.why__head .eyebrow { margin-bottom: 18px; }
.why__head .h3 { font-size: clamp(2.1rem, 3.4vw, 3.2rem); letter-spacing: -0.03em; }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.why__list li { padding: 34px clamp(20px, 3vw, 48px) 40px 0; border-top: 1px solid var(--line); }
.why__list li:nth-child(3n + 2), .why__list li:nth-child(3n + 3) { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.why__num { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: 2.1rem; font-style: italic; line-height: 1; color: var(--gold-deep); }
.why__list h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.why__list p { max-width: 32ch; font-size: 0.96rem; color: var(--text-soft); }

/* ==========================================================================
   Promise + testimonials
   ========================================================================== */
.voices__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 140px);
}
.voices__promise .h2 { margin-bottom: 26px; }
.voices__slider {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 10px;
  background: var(--ivory);
  box-shadow: var(--shadow-elevated);
}
.voices__slider .eyebrow { margin-bottom: 14px; }
.voices__slider .h3 { margin-bottom: 26px; }
.quotes { display: grid; }
.quote {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s linear 0.7s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote__mark { width: 44px; height: 44px; color: var(--gold); opacity: 0.55; }
.stars { display: flex; gap: 4px; color: var(--gold-deep); }
.stars .icon { width: 18px; height: 18px; }
.quote blockquote p { font-family: var(--font-display); font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-style: italic; font-weight: 400; line-height: 1.32; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.quote figcaption { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); }
.slider-controls { display: flex; align-items: center; gap: 22px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.slider-count { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.06em; }
.slider-count__sep { width: 32px; height: 1px; background: var(--line-gold); }

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 11vw, 176px);
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}
.closing__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46% 62% at 50% 46%, rgba(201, 163, 92, 0.2), transparent 68%),
    radial-gradient(38% 50% at 12% 100%, rgba(217, 138, 150, 0.16), transparent 70%),
    radial-gradient(38% 50% at 92% 0%, rgba(232, 202, 160, 0.1), transparent 70%),
    linear-gradient(180deg, #1c1218, #150d11);
}
.closing__bg::after { content: ""; position: absolute; inset: 0; background-image: var(--grain-light); opacity: 0.06; mix-blend-mode: screen; }
.closing__inner { position: relative; display: grid; justify-items: center; max-width: 780px; }
.closing__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 26px;
}
.closing__title em { color: var(--gold-soft); }
.closing .lead { margin-inline: auto; margin-bottom: 42px; }
.closing__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 38px; }
.closing__art {
  position: absolute;
  z-index: -1;
  width: clamp(150px, 15vw, 230px);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 6px 6px;
  box-shadow: 0 0 0 1px var(--line-gold), 0 0 0 10px rgba(15, 9, 12, 0.4), 0 0 0 11px var(--line-gold), 0 34px 70px -28px rgba(0, 0, 0, 0.8);
}
.closing__art img { width: 100%; height: 100%; object-fit: cover; }
.closing__art--left { left: clamp(24px, 6vw, 110px); top: 16%; rotate: -4deg; }
.closing__art--right { right: clamp(24px, 6vw, 110px); bottom: 14%; rotate: 4deg; }

/* ==========================================================================
   Footer + newsletter
   ========================================================================== */
.footer { background: var(--ink-deep); color: var(--on-dark); }
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 110px);
  padding-block: clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--line-gold);
}
.newsletter__copy { display: grid; gap: 14px; }
.newsletter__copy p { max-width: 52ch; font-size: 0.98rem; line-height: 1.75; }
.newsletter__field { display: flex; gap: 12px; }
.newsletter__field input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-gold);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.newsletter__field input::placeholder { color: rgba(251, 247, 241, 0.5); }
.newsletter__field input:focus { outline: 0; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.newsletter__msg { min-height: 1.7em; margin-top: 12px; font-size: 0.88rem; color: var(--gold-soft); }
.newsletter__msg.is-error { color: #f0b3ba; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(56px, 6vw, 88px);
}
.footer__logo { display: inline-block; margin-bottom: 22px; }
.footer__logo img { width: 156px; height: auto; }
.footer__brand p { max-width: 36ch; font-size: 0.96rem; line-height: 1.75; }
.social { display: flex; gap: 12px; margin-top: 26px; }
.social a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-soft);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.social a:hover { transform: translateY(-3px) scale(1.05); }
.social a:active { transform: scale(0.94); }
.footer__col h3 { margin-bottom: 22px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.footer__col li + li { margin-top: 10px; }
.footer__col a, .footer__name { display: inline-block; font-size: 0.96rem; overflow-wrap: anywhere; }
.footer__name { color: var(--ivory); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; margin-bottom: 6px; }
.footer__col a { position: relative; opacity: 0.86; transition: transform 0.45s var(--ease), opacity 0.3s; }
.footer__col a:hover, .footer__col a:focus-visible { opacity: 1; transform: translateX(5px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 26px 34px;
  border-top: 1px solid rgba(201, 163, 92, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(251, 247, 241, 0.6);
}

/* ==========================================================================
   Overlays: scrim, mobile menu, search, bag
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 9, 12, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.scrim.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }

.mobile-menu, .cart-drawer {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s linear 0.7s;
}
.mobile-menu.is-open, .cart-drawer.is-open { visibility: visible; transform: none; transition-delay: 0s; }

.mobile-menu { left: 0; width: min(420px, 90vw); background: var(--ink); color: var(--ivory); transform: translateX(-102%); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 14px 24px; border-bottom: 1px solid var(--line-gold); }
.mobile-menu__logo img { height: 64px; width: auto; }
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 18px 24px; }
.mobile-menu__nav > a, .mobile-menu__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(201, 163, 92, 0.18);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group summary .icon { transition: transform 0.45s var(--ease); color: var(--gold); }
.mobile-menu__group[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__group ul { padding: 12px 0 14px 4px; border-bottom: 1px solid rgba(201, 163, 92, 0.18); }
.mobile-menu__group li a { display: block; padding-block: 9px; font-size: 1rem; letter-spacing: 0.04em; color: var(--on-dark); }
.mobile-menu__foot { padding: 20px 24px 28px; border-top: 1px solid var(--line-gold); font-size: 0.86rem; line-height: 1.7; color: rgba(251, 247, 241, 0.65); }
.mobile-menu__links { display: flex; gap: 24px; margin-bottom: 14px; }
.mobile-menu__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); }

.search-panel {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 100;
  background: var(--ivory);
  box-shadow: var(--shadow-floating);
  transform: translateY(-104%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0s linear 0.7s;
}
.search-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.search-panel__inner { padding-block: 28px 40px; }
.search-form { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); }
.search-form input { flex: 1; min-width: 0; min-height: 64px; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; color: var(--ink); }
.search-form input:focus { outline: 0; }
.search-form input::placeholder { color: rgba(43, 31, 36, 0.4); }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-panel__body { padding-top: 26px; }
.search-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.search-chips span { margin-right: 6px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); }
.search-chips button { min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; transition: transform 0.45s var(--ease); }
.search-chips button:hover { transform: translateY(-2px); border-color: var(--gold-deep); }
.search-chips button:active { transform: scale(0.96); }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 32px; margin-top: 22px; }
.search-results a { display: flex; align-items: center; gap: 16px; padding: 8px; border-radius: 6px; transition: transform 0.45s var(--ease); }
.search-results a:hover, .search-results a:focus-visible { transform: translateX(4px); }
.search-results img { width: 56px; height: 72px; object-fit: cover; border-radius: 3px; background: var(--sand); }
.search-results strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.search-results a > span > span { font-size: 0.86rem; color: var(--text-soft); }
.search-results .search-empty { grid-column: 1 / -1; padding: 8px; color: var(--text-soft); }

.cart-drawer { right: 0; background: var(--ivory); color: var(--text); box-shadow: var(--shadow-floating); transform: translateX(102%); }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 20px 28px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; }
.cart-drawer__head h2 span { font-size: 1.1rem; color: var(--text-soft); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-list li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.cart-list img { width: 84px; height: 112px; object-fit: cover; border-radius: 4px; background: var(--sand); }
.cart-item__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.cart-item__price { margin-top: 4px; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--text-soft); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.4s var(--ease); }
.qty button:hover { transform: scale(1.12); }
.qty button:active { transform: scale(0.9); }
.qty span { min-width: 26px; text-align: center; font-size: 0.92rem; font-weight: 500; }
.cart-item__remove { min-height: 40px; padding-inline: 4px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); text-decoration: underline; text-underline-offset: 4px; }
.cart-item__remove:hover { color: var(--rose-deep); }
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 72px 12px; text-align: center; color: var(--text-soft); }
.cart-empty .icon { width: 40px; height: 40px; stroke-width: 1.1; color: var(--gold-deep); }
.cart-empty p { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.cart-empty[hidden] { display: none; }
.cart-drawer__foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: var(--champagne); }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.cart-subtotal strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.01em; text-transform: none; }
.cart-note { margin: 4px 0 20px; font-size: 0.82rem; color: var(--text-soft); }

/* ==========================================================================
   Scroll reveal (only active when JS is running)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .reveal-img img { transform: scale(1.14); transition: transform 1.8s var(--ease), scale 1.3s var(--ease); }
.js .is-in .reveal-img img, .js .reveal-img.is-in img { transform: none; }

/* ==========================================================================
   Hover only for real pointers
   ========================================================================== */
@media (hover: none) {
  .quick-add {
    left: auto; right: 10px; bottom: 10px;
    width: 46px; min-height: 46px;
    padding: 0;
    border-radius: 50%;
    transform: none;
    opacity: 1;
  }
  .quick-add span { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1600px) {
  :root { --container: 1480px; }
  .hero__visual { width: min(100%, 700px); }
}

@media (max-width: 1180px) {
  .nav ul { gap: 22px; }
  .nav__link { letter-spacing: 0.16em; }
  .icon-btn--account { display: none; }
  .mega__inner { grid-template-columns: 1fr 0.8fr 1.2fr; }
}

@media (max-width: 1040px) {
  :root { --header-h: 105px; }
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .mega { display: none; }
  .brand img { height: 89px; }
  .brand { padding-inline: 8px; }
  .icon-btn--account { display: inline-grid; }

  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 84px; }
  .hero__copy { max-width: 720px; }
  .hero__visual { width: 100%; margin-inline: 0; aspect-ratio: auto; min-height: clamp(230px, 44vw, 380px); }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(23, 15, 19, 0.86) 0%, rgba(23, 15, 19, 0.74) 40%, rgba(23, 15, 19, 0.3) 68%, rgba(15, 9, 12, 0.74) 100%);
  }

  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li { justify-content: flex-start; padding: 20px 8px; }
  .trust-list li:nth-child(3), .trust-list li:nth-child(4) { border-top: 1px solid var(--line-gold); }
  .trust-list li:nth-child(3)::before { display: none; }

  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { gap: 40px 22px; }
  .product-slider__track > .product-card { flex: 0 0 calc((100% - 1 * var(--slider-gap)) / 2); }

  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 680px; margin-inline: auto; width: 100%; padding-bottom: 30px; }
  .why__head { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list li:nth-child(3n + 2), .why__list li:nth-child(3n + 3) { padding-left: 0; border-left: 0; }
  .why__list li:nth-child(even) { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }

  .voices__grid { grid-template-columns: 1fr; gap: 48px; }
  .newsletter { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .closing__art { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 91px; }
  .announce { font-size: 0.62rem; letter-spacing: 0.18em; }
  .brand img { height: 77px; }
  .header__actions .icon-btn--wish { display: none; }
  .icon-btn--account { display: none; }

  .hero__title { font-size: clamp(2.6rem, 11.4vw, 4rem); }
  .hero__cta { gap: 18px 28px; }
  .btn { padding: 0 30px; min-height: 52px; }
  .hero__visual { min-height: 250px; }
  .seal { width: 92px; height: 92px; right: 2%; top: 0; }
  .seal__gem { width: 24px; height: 24px; }
  .product-tag { right: 0; bottom: 0; width: 196px; padding: 13px 15px 12px; }
  .product-tag__name { font-size: 1.08rem; }

  .trust-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 6px; font-size: 0.66rem; letter-spacing: 0.14em; line-height: 1.5; }
  .trust-list .icon { width: 22px; height: 22px; }

  .h2 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .cat-grid, .product-grid { gap: 36px 14px; }
  .cat-card__title { font-size: 1.18rem; }
  .product-card__name { font-size: 1.14rem; }
  .product-card__info { padding-top: 14px; }
  .product-card__cat { font-size: 0.6rem; letter-spacing: 0.18em; }
  .wish-btn { width: 38px; height: 38px; right: 8px; top: 8px; }
  .badge { left: 8px; top: 8px; }
  .product-slider__track > .product-card { flex: 0 0 100%; }
  .product-slider__nav { width: 40px; height: 40px; }
  .product-slider__nav .icon { width: 16px; height: 16px; }

  .why__list { grid-template-columns: 1fr; }
  .why__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .story__note { right: 10px; padding: 16px 20px 14px; }
  .story__media::before { left: -10px; right: 10px; }

  .voices__slider { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .newsletter__field { flex-direction: column; }
  .newsletter__field .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
  .cart-drawer { width: 100%; }
}

@media (max-width: 380px) {
  .product-card__name { font-size: 1.05rem; }
  .cat-card__title { font-size: 1.08rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .reveal-img img { transform: none; }
  .seal__ring { animation: none; }
}


/* ==========================================================================
   WordPress adaptations
   ========================================================================== */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.wp-post-image { height: auto; }

/* ==========================================================================
   Interior page banner
   ========================================================================== */
.page-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(320px, 40vh, 500px);
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--grain-light);
  opacity: 0.05;
  pointer-events: none;
}
.page-banner__media,
.page-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-banner__media img { object-fit: cover; }
.page-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 15, 19, 0.55) 0%, rgba(23, 15, 19, 0.35) 45%, rgba(15, 9, 12, 0.88) 100%);
}
.page-banner__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding-block: clamp(44px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
.page-banner__inner .eyebrow { margin-bottom: 12px; }
.page-banner__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-banner__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.page-banner__inner .lead { max-width: 62ch; }
.page-banner--plain { min-height: 0; }
.page-banner--plain .page-banner__inner { padding-block: clamp(40px, 6vw, 72px); }
.page-banner--slim .page-banner__title { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* ==========================================================================
   Shared interior components
   ========================================================================== */
.section-head--center { text-align: center; display: grid; justify-items: center; gap: 4px; }

.cat-card__count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.story__grid--flip .story__media { order: 2; }
.story__grid--flip .story__copy { order: 1; }
@media (max-width: 1040px) {
  .story__grid--flip .story__media { order: 1; }
  .story__grid--flip .story__copy { order: 2; }
}

/* Pull-quote band (Our Story) */
.story-quote__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 860px;
  text-align: center;
}
.story-quote .quote__mark { width: 40px; height: 40px; color: var(--gold); }
.story-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.story-quote__cite { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }

/* Offer CTA band */
.offer-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 130px);
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.offer-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 18% 10%, rgba(168, 84, 99, 0.24), transparent 62%),
    radial-gradient(55% 85% at 85% 90%, rgba(201, 163, 92, 0.2), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink-deep));
}
.offer-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-light);
  opacity: 0.05;
}
.offer-band__inner { display: grid; justify-items: center; gap: 10px; }
.offer-band__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ivory);
  text-wrap: balance;
}
.offer-band__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.offer-band__inner .lead { margin-inline: auto; }
.offer-band__cta { margin-top: 26px; }

/* Occasions grid */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.occasion-card__link { display: grid; gap: 16px; justify-items: center; text-align: center; }
.occasion-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow-elevated);
}
.occasion-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.occasion-card__link:hover .occasion-card__media img,
.occasion-card__link:focus-visible .occasion-card__media img { scale: 1.06; }
.occasion-card__link:active .occasion-card__media img { scale: 1.03; }
.occasion-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.35s var(--ease);
}
.occasion-card__link:hover .occasion-card__title,
.occasion-card__link:focus-visible .occasion-card__title { color: var(--gold-text); }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.faq-head { grid-column: 1 / -1; margin-bottom: clamp(12px, 2vw, 28px); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-text); }
.faq-item__plus { color: var(--gold-deep); transition: transform 0.45s var(--ease); }
.faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.faq-item__answer { padding: 0 44px 26px 0; }
.faq-item__answer p { max-width: 68ch; color: var(--text-soft); line-height: 1.75; }
.faq-cta {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 34px 32px 38px;
  border-radius: var(--radius);
  background: var(--champagne);
  box-shadow: var(--shadow-elevated);
}
.faq-cta__text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.faq-cta__lead { font-size: 0.94rem; color: var(--text-soft); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 30px;
  padding: 38px 36px 42px;
  border-radius: var(--radius);
  background: var(--champagne);
  box-shadow: var(--shadow-elevated);
}
.contact-info__owner { display: grid; gap: 2px; padding-bottom: 24px; border-bottom: 1px solid var(--line-gold); }
.contact-info__list { display: grid; gap: 24px; }
.contact-info__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__list .icon { margin-top: 3px; color: var(--gold-deep); }
.contact-info__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.contact-info__list a { text-decoration: underline; text-decoration-color: var(--line-gold); text-underline-offset: 4px; transition: color 0.3s; overflow-wrap: anywhere; }
.contact-info__list a:hover { color: var(--gold-deep); }
.contact-info__list p { font-size: 0.94rem; color: var(--text-soft); }
.social--dark a { color: var(--gold-deep); border-color: var(--line-gold); }
.contact-form .h3 { margin-bottom: 8px; }

/* Policy / prose */
.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.policy-layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.prose { max-width: 74ch; }
.prose__updated {
  margin-bottom: 34px;
  padding: 10px 18px;
  display: inline-block;
  border-radius: 999px;
  background: var(--champagne);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.prose h2, .prose h3, .prose h4 {
  margin: 2em 0 0.6em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.prose h3 { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.prose p { margin-bottom: 1.15em; line-height: 1.8; color: var(--text-soft); }
.prose ul, .prose ol { margin: 0 0 1.3em 1.2em; color: var(--text-soft); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; line-height: 1.7; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--rose-deep); }
.prose strong { color: var(--text); }
.policy-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 32px 30px 36px;
  border-radius: var(--radius);
  background: var(--champagne);
  box-shadow: var(--shadow-elevated);
}
.policy-aside__label { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; }
.policy-aside p:not(.policy-aside__label) { font-size: 0.94rem; color: var(--text-soft); }

/* Empty listing / 404 */
.listing-empty, .error-404__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(48px, 7vw, 96px) 16px;
  text-align: center;
}
.listing-empty .icon, .error-404__inner > .icon { width: 44px; height: 44px; stroke-width: 1.1; color: var(--gold-deep); }
.listing-empty p { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); text-wrap: balance; }
.error-404__inner .lead { margin-inline: auto; }
.error-404__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; margin-top: 10px; }

/* Badge variants */
.badge--muted { background: var(--sand); color: var(--text-soft); }

/* Cart drawer additions */
.cart-drawer__inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-drawer__view {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cart-drawer__view:hover { color: var(--gold-deep); }
.cart-item__name a { transition: color 0.3s; }
.cart-item__name a:hover { color: var(--gold-text); }
.btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ==========================================================================
   Forms — Contact Form 7 + WooCommerce fields share one language
   ========================================================================== */
.wpcf7 form { display: grid; gap: 26px; margin-top: 26px; }
.wpcf7 form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.wpcf7 form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.woocommerce-page input.input-text,
.woocommerce input.input-text,
.woocommerce-page select,
.woocommerce select {
  width: 100%;
  min-height: 52px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(23, 15, 19, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7 textarea,
.woocommerce textarea.input-text,
.woocommerce-page textarea.input-text {
  width: 100%;
  min-height: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 15, 19, 0.3);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.woocommerce input.input-text:focus,
.woocommerce-page input.input-text:focus,
.woocommerce textarea.input-text:focus,
.woocommerce-page textarea.input-text:focus,
.woocommerce select:focus,
.woocommerce-page select:focus {
  outline: 0;
  border-color: var(--gold-deep);
  box-shadow: 0 1px 0 0 var(--gold-deep);
}
.wpcf7 textarea:focus { box-shadow: 0 0 0 1px var(--gold-deep); }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: rgba(43, 31, 36, 0.42); }
.wpcf7 input[type="submit"] {
  justify-self: start;
  min-height: 54px;
  padding: 0 38px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(23, 15, 19, 0.7);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.wpcf7 input[type="submit"]:hover, .wpcf7 input[type="submit"]:focus-visible { background: var(--gold-deep); }
.wpcf7 input[type="submit"]:active { transform: translateY(1px) scale(0.985); }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 8px; font-size: 0.84rem; color: var(--rose-deep); }
.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 14px 20px;
  border: 1px solid var(--line-gold) !important;
  border-radius: 3px;
  font-size: 0.92rem;
  color: var(--gold-text);
  background: var(--champagne);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--rose-deep) !important; color: var(--rose-deep); background: var(--blush); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold) !important; }

/* Newsletter (dark footer) variant */
.newsletter .wpcf7 form { display: block; margin-top: 0; }
.newsletter .wpcf7 p { display: flex; gap: 12px; align-items: stretch; margin: 0; }
.newsletter .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.newsletter .wpcf7 input[type="email"] {
  min-height: 54px;
  border-bottom: 1px solid var(--line-gold);
  color: var(--ivory);
}
.newsletter .wpcf7 input[type="email"]::placeholder { color: rgba(251, 247, 241, 0.5); }
.newsletter .wpcf7 input[type="email"]:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.newsletter .wpcf7 input[type="submit"] {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(201, 163, 92, 0.75);
}
.newsletter .wpcf7 input[type="submit"]:hover, .newsletter .wpcf7 input[type="submit"]:focus-visible { background: var(--gold-soft); }
.newsletter .wpcf7 .wpcf7-response-output { margin-top: 14px; background: transparent; color: var(--gold-soft); border-color: rgba(201, 163, 92, 0.35) !important; }
.newsletter .wpcf7 .wpcf7-not-valid-tip { color: #f0b3ba; }
@media (max-width: 640px) {
  .newsletter .wpcf7 p { flex-direction: column; }
  .wpcf7 form .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WooCommerce — notices
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
  display: block;
  margin: 0 0 30px;
  padding: 16px 22px;
  border-radius: 3px;
  border: 1px solid var(--line-gold);
  background: var(--champagne);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
ul.woocommerce-error { display: grid; gap: 8px; border-color: var(--rose-deep); background: var(--blush); color: var(--rose-deep); }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  float: right;
  margin-left: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--gold-deep);
}
.woocommerce-message a, .woocommerce-info a { color: var(--gold-deep); }

/* ==========================================================================
   WooCommerce — buttons
   ========================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
#place_order,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-register .woocommerce-form-register__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(23, 15, 19, 0.7);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page a.button:hover,
#place_order:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--gold-deep);
  color: var(--ivory);
}
.woocommerce a.button:active, .woocommerce button.button:active, #place_order:active { transform: translateY(1px) scale(0.985); }
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
  padding: 0 34px;
  background: var(--ink);
  color: var(--ivory);
  opacity: 0.4;
}
.wc-proceed-to-checkout a.checkout-button { width: 100%; background: var(--gold); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(201, 163, 92, 0.75); }
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--gold-soft); color: var(--ink); }

/* ==========================================================================
   WooCommerce — archive toolbar + pagination
   ========================================================================== */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(30px, 4vw, 52px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.woocommerce-result-count { margin: 0; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select.orderby {
  min-height: 44px;
  padding: 0 30px 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(23, 15, 19, 0.3);
  background: transparent;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.woocommerce-pagination { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-pagination .page-numbers li .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 8px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 500;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.woocommerce-pagination .page-numbers li .page-numbers:hover { transform: scale(1.08); }
.woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* Sale price in cards and single */
.product-card__price del, .price del { opacity: 0.5; text-decoration: line-through; margin-right: 8px; }
.product-card__price ins, .price ins { text-decoration: none; color: var(--rose-deep); }

/* ==========================================================================
   WooCommerce — single product
   ========================================================================== */
.sg-breadcrumb {
  margin-bottom: clamp(24px, 3vw, 40px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.sg-breadcrumb a { transition: color 0.3s; }
.sg-breadcrumb a:hover { color: var(--gold-deep); }
.sg-breadcrumb .sep { margin-inline: 10px; color: var(--gold); }

.woo-main div.product { position: relative; }
.single-product .woo-main { padding-block: clamp(48px, 6vw, 88px) clamp(80px, 9vw, 140px); background: var(--ivory); }
.single-product .woo-main > div.product,
.single-product .woo-main .sg-breadcrumb,
.single-product .woo-main .woocommerce-notices-wrapper {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
div.product .sg-product-top,
div.product:not(.has-post-thumbnail) .summary { width: 100%; }
div.product { display: block; }
div.product .onsale {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 5;
  padding: 6px 12px 5px;
  border-radius: 2px;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
div.product .woocommerce-product-gallery { position: relative; float: left; width: 48%; }
div.product .summary { float: right; width: 46%; }
div.product::after, .woocommerce-tabs::before { content: ""; display: block; clear: both; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); }
.woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger {
  position: absolute;
  right: 14px; top: 14px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(251, 247, 241, 0.9);
  box-shadow: 0 6px 16px -8px rgba(23, 15, 19, 0.5);
  font-size: 0;
}
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--ink); }

div.product .summary .product_title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
div.product .summary .price {
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
div.product .summary .woocommerce-product-details__short-description { max-width: 54ch; color: var(--text-soft); line-height: 1.75; margin-bottom: 26px; }
div.product .summary form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-bottom: 30px; }
div.product .summary form.cart div.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
div.product .summary form.cart .qty {
  width: 74px;
  min-height: 52px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}
div.product .summary form.cart .qty:focus { outline: 2px solid var(--gold-deep); outline-offset: -2px; }
div.product .summary .single_add_to_cart_button { flex: 1; min-width: 220px; }
div.product .summary .product_meta {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
div.product .summary .product_meta a { color: var(--gold-deep); }
div.product .summary .product_meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Star ratings (display) */
.star-rating {
  position: relative;
  display: inline-block;
  width: 5.4em;
  height: 1em;
  line-height: 1;
  font-size: 0.9rem;
  overflow: hidden;
}
.star-rating::before {
  content: "★★★★★";
  position: absolute;
  inset: 0;
  letter-spacing: 0.1em;
  color: var(--sand);
}
.star-rating span {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
}
.star-rating span::before {
  content: "★★★★★";
  position: absolute;
  left: 0; top: 0;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.star-rating span strong, .star-rating span .rating { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce-product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.woocommerce-review-link { font-size: 0.82rem; color: var(--text-soft); }
.woocommerce-review-link:hover { color: var(--gold-deep); }

/* Tabs */
.woocommerce-tabs { clear: both; padding-top: clamp(48px, 6vw, 80px); }
.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 34px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 2px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.woocommerce-tabs .panel > h2:first-of-type { display: none; }
.woocommerce-tabs .panel { max-width: 74ch; color: var(--text-soft); line-height: 1.8; }
.woocommerce-tabs .panel p { margin-bottom: 1em; }
table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
table.woocommerce-product-attributes th, table.woocommerce-product-attributes td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
table.woocommerce-product-attributes th { width: 220px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }

/* Related products */
.related.products, .up-sells.products { clear: both; padding-top: clamp(56px, 7vw, 96px); }
.related.products > h2, .up-sells.products > h2 {
  margin-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  letter-spacing: -0.02em;
}

/* Reviews */
#reviews .commentlist { display: grid; gap: 22px; margin-bottom: 40px; }
#reviews .commentlist li .comment_container {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--champagne);
}
#reviews .commentlist img.avatar { width: 52px; height: 52px; border-radius: 50%; }
#reviews .comment-text .meta { margin: 6px 0 10px; font-size: 0.82rem; color: var(--text-soft); }
#reviews .comment-text .meta strong { color: var(--text); }
#reviews .comment-text .description p { margin: 0; }
#review_form .comment-reply-title { display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
#review_form .comment-form { display: grid; gap: 22px; max-width: 640px; }
#review_form label { display: block; margin-bottom: 8px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
#review_form input[type="text"], #review_form input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(23, 15, 19, 0.3);
  background: transparent;
  font: inherit;
}
#review_form textarea {
  width: 100%;
  min-height: 130px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 15, 19, 0.3);
  border-radius: 3px;
  background: transparent;
  font: inherit;
}
#review_form input:focus, #review_form textarea:focus { outline: 0; border-color: var(--gold-deep); }
p.stars { display: inline-flex; gap: 4px; font-size: 0; }
p.stars a { position: relative; width: 22px; height: 22px; text-indent: -9999px; }
p.stars a::before { content: "★"; position: absolute; inset: 0; text-indent: 0; font-size: 20px; line-height: 22px; color: var(--sand); }
p.stars:hover a::before { color: var(--gold); }
p.stars a:hover ~ a::before { color: var(--sand); }
p.stars.selected a.active::before, p.stars.selected a.active ~ a.inactive::before { color: var(--sand); }
p.stars.selected a::before { color: var(--gold); }
p.stars.selected a.active ~ a::before { color: var(--sand); }

/* ==========================================================================
   WooCommerce — cart page
   ========================================================================== */
.woo-page table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 34px;
}
.woo-page table.shop_table th, .woo-page table.shop_table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.woo-page table.shop_table thead th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.woo-page td.product-thumbnail img { width: 84px; height: 112px; object-fit: cover; border-radius: 4px; background: var(--sand); }
.woo-page td.product-name a { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.woo-page td.product-name a:hover { color: var(--gold-text); }
.woo-page td.product-remove a.remove {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-soft) !important;
  transition: color 0.3s, background-color 0.3s;
}
.woo-page td.product-remove a.remove:hover { color: var(--rose-deep) !important; background: var(--blush); }
.woo-page .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
.woo-page .quantity .qty { width: 64px; min-height: 46px; border: 0; background: transparent; text-align: center; font: inherit; }
.woo-page .quantity .qty:focus { outline: 2px solid var(--gold-deep); outline-offset: -2px; }
.woo-page td.actions { padding-top: 26px; }
.woo-page td.actions .coupon { float: left; display: flex; gap: 12px; }
.woo-page td.actions .coupon .input-text { min-width: 210px; }
.woo-page td.actions > .button { float: right; }
.cart-collaterals { display: grid; justify-content: end; }
.cart-collaterals .cart_totals { width: min(100%, 440px); padding: 30px 32px 34px; border-radius: var(--radius); background: var(--champagne); box-shadow: var(--shadow-elevated); }
.cart-collaterals .cart_totals h2 { margin-bottom: 14px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.015em; }
.cart-collaterals table.shop_table th, .cart-collaterals table.shop_table td { padding: 14px 4px; border-bottom-color: var(--line-gold); }
.cart-collaterals .order-total td { font-family: var(--font-display); font-size: 1.5rem; }
.wc-proceed-to-checkout { padding-top: 22px; }
.cart-empty.woocommerce-info { text-align: center; }
.return-to-shop { text-align: center; margin-top: 20px; }

/* Cross-sells inside the cart page */
.cart-collaterals .cross-sells > h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin-bottom: 24px; }

/* ==========================================================================
   WooCommerce — checkout
   ========================================================================== */
.woocommerce-form-coupon-toggle .woocommerce-info { cursor: default; }
form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: 'notice notice' 'details heading' 'details review';
  grid-template-rows: auto auto 1fr;
  gap: 0 clamp(36px, 5vw, 80px);
  align-items: start;
}
form.checkout .woocommerce-NoticeGroup { grid-area: notice; }
form.checkout #customer_details { grid-area: details; }
form.checkout #order_review_heading { grid-area: heading; margin-bottom: 20px; }
form.checkout #order_review { grid-area: review; }
form.checkout .col2-set { display: grid; gap: 34px; }
form.checkout .col2-set .col-1, form.checkout .col2-set .col-2 { width: 100%; }
#customer_details h3, #order_review_heading, .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.woocommerce form .form-row { margin-bottom: 18px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.woocommerce form .form-row .required { color: var(--rose-deep); text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 10px); display: inline-block; }
.woocommerce form .form-row-first { margin-right: 16px; }
.woocommerce form .woocommerce-input-wrapper { display: block; }
#order_review { padding: 30px 32px 34px; border-radius: var(--radius); background: var(--champagne); box-shadow: var(--shadow-elevated); }

#order_review table.shop_table th, #order_review table.shop_table td { padding: 13px 4px; border-bottom: 1px solid var(--line-gold); background: transparent; }
#order_review table.shop_table tfoot .order-total td, #order_review table.shop_table tfoot .order-total th { font-family: var(--font-display); font-size: 1.4rem; }
#payment { margin-top: 22px; }
#payment ul.wc_payment_methods { display: grid; gap: 10px; margin-bottom: 22px; }
#payment ul.wc_payment_methods li { padding: 14px 18px; border: 1px solid var(--line-gold); border-radius: 3px; background: rgba(251, 247, 241, 0.6); }
#payment ul.wc_payment_methods li label { display: inline; margin-left: 8px; font-weight: 500; cursor: pointer; }
#payment div.payment_box { margin-top: 10px; padding: 12px 14px; border-radius: 3px; background: rgba(232, 220, 201, 0.5); font-size: 0.9rem; color: var(--text-soft); }
#payment .place-order { margin-top: 6px; }
#place_order { width: 100%; background: var(--gold); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(201, 163, 92, 0.75); }
#place_order:hover { background: var(--gold-soft); color: var(--ink); }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 0.88rem; color: var(--text-soft); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Select2 / selectWoo alignment with the underline inputs */
.select2-container .select2-selection--single { height: 52px; border: 0; border-bottom: 1px solid rgba(23, 15, 19, 0.3); border-radius: 0; background: transparent; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 52px; padding-left: 2px; color: var(--text); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 50px; }
.select2-container--open .select2-dropdown { border-color: var(--gold-deep); border-radius: 0 0 3px 3px; }
.select2-container .select2-results__option--highlighted[aria-selected] { background: var(--gold-deep); }

/* Order received / thank-you */
.woocommerce-order .woocommerce-thankyou-order-received {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
ul.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-bottom: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--champagne);
  list-style: none;
}
ul.woocommerce-order-overview li { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: 1rem; letter-spacing: 0.02em; text-transform: none; color: var(--text); }
.woocommerce-order h2, .woocommerce-customer-details h2 { margin: 30px 0 18px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.woocommerce-customer-details address { padding: 22px 26px; border: 1px solid var(--line-gold); border-radius: var(--radius); font-style: normal; line-height: 1.8; }

/* ==========================================================================
   WooCommerce — my account
   ========================================================================== */
.woocommerce-MyAccount-navigation { float: left; width: 250px; }
.woocommerce-MyAccount-content { float: right; width: calc(100% - 300px); }
.woo-page .woocommerce::after { content: ""; display: block; clear: both; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 13px 18px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.woocommerce-MyAccount-navigation li a:hover { color: var(--ink); transform: translateX(4px); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--champagne); color: var(--ink); box-shadow: inset 2px 0 0 var(--gold); }
.woocommerce-MyAccount-content p { margin-bottom: 1em; color: var(--text-soft); line-height: 1.75; }
.woocommerce-MyAccount-content p a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-MyAccount-content fieldset { margin: 28px 0; padding: 0; border: 0; }
.woocommerce-MyAccount-content legend { margin-bottom: 16px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address address { margin-top: 12px; padding: 22px 26px; border: 1px solid var(--line-gold); border-radius: var(--radius); font-style: normal; line-height: 1.8; }
.woocommerce-Address-title h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.woocommerce-Address-title .edit { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
table.woocommerce-orders-table .button { min-height: 42px; padding: 0 22px; font-size: 0.68rem; }

/* Login / register */
.woocommerce-form-login, .woocommerce-form-register {
  max-width: 480px;
  padding: 36px 38px 42px;
  border-radius: var(--radius);
  background: var(--champagne);
  box-shadow: var(--shadow-elevated);
}
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 64px); }
#customer_login h2 { margin-bottom: 18px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; }
.woocommerce-form-login .lost_password { margin-top: 14px; font-size: 0.88rem; }
.woocommerce-form-login .lost_password a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-form-login__rememberme { display: block; margin-bottom: 14px; font-size: 0.9rem; }
.woocommerce-password-strength { margin-top: 8px; font-size: 0.84rem; }

.sg-product-gallery-video {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.sg-gallery-video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}






.sg-single-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 60px;
	align-items: start;
}

.sg-product-gallery-main {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.sg-product-slide {
	display: none;
	width: 100%;
}

.sg-product-slide.is-active {
	display: block;
}

.sg-product-slide__image {
	display: block;
	width: 100%;
	height: auto;
}

.sg-product-slide__video {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	overflow: hidden;
}

.sg-product-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sg-product-gallery-thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.sg-product-thumb {
	position: relative;
	flex: 0 0 82px;
	width: 82px;
	height: 82px;
	padding: 0;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
}

.sg-product-thumb.is-active {
	border-color: currentColor;
}

.sg-product-thumb__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sg-product-thumb__video {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	height: 100%;
	background: #eee;
}

.sg-product-thumb__play {
	font-size: 20px;
	line-height: 1;
}

.sg-product-thumb__label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .08em;
}







/* Main gallery */
.custom-product-media {
    width: 100%;
    position: relative;
}

.custom-gallery-main {
    width: 100%;
    position: relative;
}

.custom-gallery-item {
    width: 100%;
    display: none;
}

.custom-gallery-item.active {
    display: block;
}

/* First item */
.custom-gallery-item:first-child {
    display: block;
}

.custom-gallery-item video,
.custom-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-height: 710px;
    object-fit: contain;
    object-position: top;
}

/* Images */
.custom-image-item a {
    display: block;
}

/* Thumbnails */
.custom-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.custom-gallery-thumb {
    position: relative;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
}

.custom-gallery-thumb.active {
    border-color: #000;
}

.custom-gallery-thumb img,
.custom-gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video thumbnail */
.video-thumb-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding-left: 2px;
}

/* Mobile */
@media (max-width: 767px) {

    .custom-gallery-thumb {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
    }

}






@media (max-width: 767px) {

	.sg-single-product__layout {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.sg-product-thumb {
		flex-basis: 68px;
		width: 68px;
		height: 68px;
	}
}





/* ==========================================================================
   Interior responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .occasion-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-layout, .contact-layout, .policy-layout { grid-template-columns: 1fr; }
  .faq-cta, .policy-aside { position: static; }
  form.checkout.woocommerce-checkout { grid-template-columns: 1fr; grid-template-areas: 'notice' 'details' 'heading' 'review'; grid-template-rows: auto; }
  div.product .woocommerce-product-gallery, div.product .summary { float: none; width: 100%; }
  div.product .summary { margin-top: 36px; }
  .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce-MyAccount-navigation { margin-bottom: 34px; }
  .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 6px; }
  #customer_login { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .woo-page table.shop_table thead { display: none; }
  .woo-page table.shop_table.cart td { display: block; padding: 8px 0; border: 0; }
  .woo-page table.shop_table.cart tr { display: grid; grid-template-columns: 96px 1fr; gap: 0 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .woo-page table.shop_table.cart td.product-thumbnail { grid-row: 1 / 5; }
  .woo-page td.actions .coupon { float: none; margin-bottom: 16px; }
  .woo-page td.actions > .button { float: none; width: 100%; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; display: block; margin-right: 0; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  ul.woocommerce-order-overview { flex-direction: column; gap: 14px; }
}
