/*
Theme Name:  Stratum Stone
Description: Custom theme for Stratum Stone Jewellery
Author:      Stratum Stone
Version:     1.1.0
Text Domain: stratum-stone
*/

/* =====================================================
   SCREEN READER ONLY (WP standard utility)
===================================================== */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal;
  white-space: nowrap;
}

/* =====================================================
   WC PAGE WRAP — woocommerce.php fallback wrapper
===================================================== */
.wc-page-wrap {
  padding-top: var(--header-h);
  min-height: 60vh;
}

/* =====================================================
   SKIP LINK — accessibility
===================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--berry);
  color: #fff;
  padding: .75rem 1.5rem;
  font-family: var(--fb);
  font-size: .75rem;
  letter-spacing: .1em;
  z-index: 9999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* =====================================================
   MOBILE DRAWER CLOSE BUTTON
===================================================== */
.drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: .25rem;
  transition: color .3s;
}
.drawer-close:hover { color: var(--berry); }

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --white:    #FFFFFF;
  --off:      #FAFAF8;
  --light:    #F5F3F0;
  --rose:     #EC7FA9;
  --pink:     #F875AA;
  --hot:      #FF88BA;
  --berry:    #BE5985;
  --plum:     #7A3351;
  --gold:     #C9A96E;
  --gold-lt:  #E8C99A;
  --gold-dk:  #9C7A42;
  --char:     #1A1A1D;
  --muted:    #52484E;
  --faint:    #9A8490;  /* 3.17:1 on white — decorative/metadata use only, not for body copy */
  --border:   rgba(190,89,133,.14);
  --border-g: rgba(201,169,110,.22);
  --fd: 'Cormorant Garamond', serif;
  --fb: 'Josefin Sans', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --shadow: 0 4px 24px rgba(26,26,29,.07);
}

/* =====================================================
   RESET
===================================================== */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; -moz-text-size-adjust:100%; text-size-adjust:100%; }
/* NOTE: scroll-behavior:smooth intentionally omitted — JS handles smooth scroll
   to correctly offset for the sticky header height */
body {
  background:var(--white);
  color:var(--char);
  font-family:var(--fb);
  font-weight:200;
  font-size:.875rem;
  line-height:1.9;
  letter-spacing:.04em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; transition:color .3s var(--ease); }
ul,ol { list-style:none; }
button,input,select,textarea { font-family:var(--fb); }
button { cursor:pointer; background:none; border:none; }
h1,h2,h3,h4,h5,h6 {
  font-family:var(--fd);
  font-weight:300;
  line-height:1.08;
  letter-spacing:-.01em;
}

/* =====================================================
   TYPOGRAPHY UTILITIES
===================================================== */
.eyebrow {
  display:flex; align-items:center; gap:.8rem;
  font-family:var(--fb); font-size:.6rem;
  letter-spacing:.42em; text-transform:uppercase;
  color:var(--rose); font-weight:200; margin-bottom:1.2rem;
}
.eyebrow::before {
  content:''; width:22px; height:.5px;
  background:var(--gold); flex-shrink:0;
}
.eyebrow--lt { color:var(--gold-lt); }
.eyebrow--lt::before { background:var(--gold-lt); }

.h-display {
  font-family:var(--fd);
  font-size:clamp(2rem,3.2vw,3rem);
  font-weight:300; font-style:italic;
  color:var(--char); line-height:1.08;
}
.h-display em { font-style:italic; color:var(--berry); }
.h-display--lg { font-size:clamp(2.5rem,4vw,3.8rem); }
.h-display--white { color:#fff; }
.h-display--white em { color:var(--gold-lt); }

.rule {
  width:36px; height:.5px;
  background:var(--gold); opacity:.85; margin:1.4rem 0;
}
.rule--lt { background:var(--gold-lt); opacity:1; }
.rule--center { margin-left:auto; margin-right:auto; }

.body-copy {
  font-size:.8125rem; color:var(--muted);
  font-weight:200; line-height:2; letter-spacing:.03em;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display:inline-block;
  padding:.875rem 2.4rem;
  font-family:var(--fb); font-size:.6rem;
  letter-spacing:.28em; text-transform:uppercase;
  font-weight:200; cursor:pointer;
  transition:background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space:nowrap; border:none;
  text-decoration:none;
}
.btn-dark  { background:var(--char); color:#fff; border:1px solid var(--char); }
.btn-dark:hover  { background:var(--berry); border-color:var(--berry); transform:translateY(-2px); color:#fff; }
.btn-berry { background:var(--berry); color:#fff; border:1px solid var(--berry); }
.btn-berry:hover { background:var(--plum); border-color:var(--plum); transform:translateY(-2px); color:#fff; }
.btn-gold  { background:var(--gold-dk); color:#fff; border:1px solid var(--gold-dk); }
.btn-gold:hover  { background:var(--gold); border-color:var(--gold); transform:translateY(-2px); color:#fff; }
.btn-ghost { background:transparent; color:var(--char); border:.5px solid rgba(190,89,133,.35); }
.btn-ghost:hover { border-color:var(--berry); color:var(--berry); }
.btn-ghost-lt { background:transparent; color:#fff; border:.5px solid rgba(255,255,255,.35); }
.btn-ghost-lt:hover { border-color:var(--gold-lt); color:var(--gold-lt); }
.btn--full { display:block; width:100%; text-align:center; }

/* =====================================================
   LAYOUT
===================================================== */
.container { max-width:1320px; margin:0 auto; padding:0 5rem; }
.sec { padding:6rem 5rem; position:relative; z-index:1; }
.sec--dark  { background:var(--char); }
.sec--off   { background:var(--off); }
.sec--plum  { background:var(--plum); }
.sec--berry { background:var(--berry); }

/* Header height token — used by hero and wc-page-wrap */
:root { --header-h: 72px; }

.split { display:grid; grid-template-columns:1fr 1fr; }
.split--3-2 { grid-template-columns:3fr 2fr; }
.split--nogap { gap:0; }

.section-head {
  display:flex; align-items:flex-end;
  justify-content:space-between;
  margin-bottom:3.5rem;
  flex-wrap:wrap; gap:1rem;
}

/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */
.ann-bar {
  background:var(--plum); color:var(--gold-lt);
  text-align:center; padding:.6rem 1rem;
  font-size:.575rem; letter-spacing:.35em;
  text-transform:uppercase; font-weight:200;
  position:relative; z-index:490; /* below header (500) intentionally */
}

/* =====================================================
   HEADER & NAV
===================================================== */
.site-header {
  position:fixed; top:0; left:0; right:0;
  z-index:500;
  transition:background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
  background:rgba(255,255,255,.97);
  box-shadow:0 1px 0 var(--border);
}
.site-header.scrolled {
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.nav-wrap {
  display:flex; align-items:center;
  justify-content:space-between;
  padding:1.1rem 4rem;
}

.nav-logo {
  font-family:var(--fd); font-size:1.55rem;
  font-weight:300; font-style:italic;
  letter-spacing:.08em; color:var(--char);
  text-decoration:none; flex-shrink:0; line-height:1;
}
.nav-logo em { color:var(--berry); }

.nav-links {
  display:flex; gap:2.8rem; align-items:center;
}
.nav-links a {
  font-size:.6rem; letter-spacing:.28em;
  text-transform:uppercase; color:var(--muted);
  font-weight:200;
}
.nav-links a:hover { color:var(--berry); }

.nav-actions {
  display:flex; align-items:center; gap:1.4rem;
}
.nav-actions a {
  font-size:.6rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--muted);
  font-weight:200;
}
.nav-actions a:hover { color:var(--rose); }

.nav-cart-btn {
  background:var(--berry) !important;
  color:#fff !important;
  padding:.45rem 1.2rem !important;
  transition:background .3s !important;
}
.nav-cart-btn:hover { background:var(--plum) !important; color:#fff !important; }

.nav-cart-count {
  display:inline-flex; align-items:center; justify-content:center;
  background:#fff; color:var(--berry);
  font-size:.5rem; width:16px; height:16px;
  border-radius:50%; margin-left:.3rem;
  font-weight:300; vertical-align:middle;
}

/* Hamburger */
.nav-burger {
  display:none; flex-direction:column;
  gap:5px; padding:4px; z-index:600;
  background:none; border:none; cursor:pointer;
}
.nav-burger span {
  display:block; width:22px; height:.5px;
  background:var(--char);
  transition:transform .35s var(--ease), opacity .35s var(--ease);
  transform-origin:left center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform:rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform:rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position:fixed; top:0; right:-100%;
  width:min(320px,100vw);
  height:100vh;
  height:100dvh; /* dynamic viewport — excludes mobile browser chrome */
  background:var(--white); z-index:550;
  padding:6rem 2.5rem 2.5rem;
  display:flex; flex-direction:column; gap:1.8rem;
  transition:right .4s var(--ease);
  box-shadow:-8px 0 40px rgba(26,26,29,.1);
  overflow-y:auto;
}
.mobile-drawer.is-open { right:0; }
.mobile-drawer a {
  font-family:var(--fd); font-size:1.6rem;
  font-weight:300; font-style:italic;
  color:var(--char); letter-spacing:.04em;
}
.mobile-drawer a:hover { color:var(--berry); }

.drawer-overlay {
  position:fixed; inset:0;
  background:rgba(26,26,29,.45);
  z-index:540; opacity:0;
  pointer-events:none;
  transition:opacity .4s;
}
.drawer-overlay.is-open { opacity:1; pointer-events:all; }

/* =====================================================
   HERO
===================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* small viewport — excludes browser chrome on mobile */
  display:grid; grid-template-columns:52% 48%;
  padding-top: var(--header-h);
}

.hero__content {
  display:flex; flex-direction:column;
  justify-content:center;
  padding:6rem 3.5rem 6rem 5.5rem;
  position:relative; overflow:hidden;
}
.hero__content::before {
  content:'S';
  position:absolute; font-family:var(--fd);
  font-size:55vw; font-style:italic;
  font-weight:300;
  color:rgba(236,127,169,.04);
  top:50%; left:-8%;
  transform:translateY(-50%);
  line-height:1; pointer-events:none;
  z-index:0; user-select:none;
}
.hero__content > * { position:relative; z-index:1; }

.hero__title {
  font-family:var(--fd);
  font-size:clamp(3.2rem,5.8vw,6.2rem);
  font-weight:300; font-style:italic;
  line-height:1.02; color:var(--char);
  margin-bottom:1.8rem;
  letter-spacing:-.02em;
}
.hero__title em { color:var(--berry); display:block; }

.hero__sub {
  font-size:.8125rem; color:var(--muted);
  max-width:380px; line-height:2.1;
  margin-bottom:2.8rem; font-weight:200;
}

.hero__ctas {
  display:flex; gap:1rem;
  flex-wrap:wrap; margin-bottom:3rem;
}

.hero__stats {
  display:flex; gap:3rem;
  padding-top:2rem;
  border-top:.5px solid var(--border-g);
}
.hero__stat-n {
  display:block; font-family:var(--fd);
  font-size:2rem; font-weight:300;
  color:var(--berry); line-height:1;
  margin-bottom:.25rem;
}
.hero__stat-l {
  display:block; font-size:.55rem;
  letter-spacing:.28em; text-transform:uppercase;
  color:var(--faint); font-weight:200;
}

.hero__image {
  background:linear-gradient(160deg,#FFB8E0 0%,#FF88BA 35%,#EC7FA9 65%,#BE5985 85%,#7A3351 100%);
  position:relative; overflow:hidden;
}
.hero__image img {
  width:100%; height:100%;
  object-fit:cover; display:block;
}
.hero__badge {
  position:absolute; top:2rem; left:2rem;
  background:rgba(26,26,29,.55);
  backdrop-filter:blur(8px);
  color:var(--gold-lt);
  font-size:.55rem; letter-spacing:.3em;
  text-transform:uppercase; padding:.45rem 1rem;
  font-weight:200; z-index:2;
}

/* Placeholder when no hero image */
.hero__placeholder {
  width:100%; height:100%; min-height:400px;
  display:flex; align-items:center;
  justify-content:center; flex-direction:column;
  gap:1.5rem; opacity:.4; position:relative; z-index:1;
}
.hero__placeholder-gem {
  font-family:var(--fd); font-size:5rem;
  color:rgba(255,255,255,.6); font-style:italic; line-height:1;
}
.hero__placeholder-text {
  font-size:.55rem; letter-spacing:.25em;
  text-transform:uppercase; color:rgba(255,255,255,.6);
  font-weight:200;
}

/* =====================================================
   MARQUEE
===================================================== */
.marquee {
  overflow:hidden;
  background:var(--off);
  border-top:.5px solid var(--border);
  border-bottom:.5px solid var(--border);
  padding:.82rem 0;
}
.marquee__track {
  display:inline-flex; gap:2.8rem;
  white-space:nowrap;
  animation:marquee-roll 32s linear infinite;
  font-size:.55rem; letter-spacing:.32em;
  text-transform:uppercase; font-weight:200;
  color:var(--muted); align-items:center;
}
.marquee__dot { color:var(--rose); font-size:.42rem; }
@keyframes marquee-roll {
  from { transform:translateX(0); }
  to   { transform:translateX(-50%); }
}

/* =====================================================
   FEATURES STRIP
===================================================== */
.features {
  background:var(--char);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.feature {
  padding:2.8rem 2.2rem; text-align:center;
  border-right:.5px solid rgba(255,255,255,.06);
  transition:background .3s;
}
.feature:last-child { border-right:none; }
.feature:hover { background:rgba(255,255,255,.03); }
.feature__icon {
  font-family:var(--fd); font-size:1.8rem;
  color:var(--gold-lt); margin-bottom:.8rem;
  opacity:.85; line-height:1; font-style:italic;
}
.feature__title {
  font-size:.55rem; letter-spacing:.24em;
  text-transform:uppercase; color:#fff;
  font-weight:300; margin-bottom:.5rem;
}
.feature__body {
  font-size:.75rem; color:rgba(255,255,255,.48);
  font-weight:200; line-height:1.9;
}

/* =====================================================
   PRODUCTS GRID (homepage + shop)
===================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:1.2rem !important;
  float:none !important; width:100% !important; margin:0 !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float:none !important; width:auto !important;
  margin:0 !important; padding:0 !important;
  background:transparent !important; border:none !important;
  text-align:left !important;
}
.woocommerce ul.products li.product a:first-child {
  display:block; overflow:hidden;
}
.woocommerce ul.products li.product img {
  border:.5px solid var(--border) !important;
  transition:border-color .4s, transform .5s var(--ease) !important;
  aspect-ratio:3/4 !important; object-fit:cover !important;
  width:100% !important; margin:0 !important;
}
.woocommerce ul.products li.product:hover img {
  border-color:var(--berry) !important;
  transform:scale(1.03) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family:var(--fd) !important;
  font-size:1.1rem !important; font-weight:400 !important;
  color:var(--char) !important;
  padding:1rem 0 .2rem !important; letter-spacing:.01em !important;
}
.woocommerce ul.products li.product .price {
  font-family:var(--fd) !important;
  color:var(--berry) !important;
  font-size:1rem !important; font-weight:400 !important;
}
/* Hide default add-to-cart on loop — click product */
.woocommerce ul.products li.product .button { display:none !important; }
.woocommerce ul.products li.product .woocommerce-loop-category__title {
  font-family:var(--fd) !important; font-style:italic !important;
}

/* =====================================================
   EDITORIAL SPLIT
===================================================== */
.editorial {
  display:grid; grid-template-columns:1fr 1fr; min-height:60vh;
}
.editorial__img {
  background:var(--light); overflow:hidden; position:relative;
}
.editorial__img img {
  width:100%; height:100%; object-fit:cover;
}
.editorial__copy {
  background:var(--white); padding:6rem 5rem;
  display:flex; flex-direction:column; justify-content:center;
}

/* =====================================================
   ABOUT SPLIT
===================================================== */
.about-split { display:grid; grid-template-columns:1fr 1fr; }
.about-split__story {
  background:var(--off); padding:6rem 5rem;
}
.about-split__promise {
  background:var(--plum); padding:6rem 5rem;
  display:flex; flex-direction:column;
  justify-content:center; position:relative; overflow:hidden;
}
.about-split__promise::before {
  content:''; position:absolute;
  top:-100px; right:-100px;
  width:340px; height:340px; border-radius:50%;
  background:rgba(255,255,255,.03); pointer-events:none;
}

.pillars { display:flex; flex-direction:column; gap:1.8rem; margin-top:2rem; }
.pillar  { display:flex; gap:1.2rem; align-items:flex-start; }
.pillar__num {
  font-family:var(--fd); font-size:1.5rem;
  color:var(--rose); opacity:.5; font-weight:300;
  line-height:1; min-width:28px; flex-shrink:0;
}
.pillar__text h4 {
  font-family:var(--fb); font-size:.575rem;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--char); font-weight:300; margin-bottom:.3rem;
}
.pillar__text p {
  font-size:.75rem; color:var(--muted);
  font-weight:200; line-height:1.9;
}

/* =====================================================
   CUSTOM JEWELLERY SECTION
===================================================== */
.custom-sec {
  background:var(--char); overflow:hidden; position:relative;
}
.custom-sec::before {
  content:''; position:absolute;
  top:0; right:0; width:42%; height:100%;
  background:rgba(201,169,110,.025);
  border-left:.5px solid rgba(201,169,110,.07);
  pointer-events:none;
}
.custom-sec__inner {
  display:grid; grid-template-columns:1fr 1fr;
  gap:5rem; align-items:center;
}
.cf-list { display:flex; flex-direction:column; gap:.85rem; margin-bottom:2.5rem; }
.cf-item {
  display:flex; align-items:center; gap:.9rem;
  font-size:.8rem; color:rgba(255,255,255,.55); font-weight:200;
}
.cf-item::before {
  content:''; width:5px; height:5px; border-radius:50%;
  background:var(--gold); flex-shrink:0;
}
.custom-frame {
  width:100%; max-width:360px; aspect-ratio:4/5;
  border:.5px solid rgba(236,127,169,.15);
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.custom-frame::before {
  content:''; position:absolute; inset:16px;
  border:.5px solid rgba(201,169,110,.07); pointer-events:none;
}
.custom-frame img { width:100%; height:100%; object-fit:cover; }
.custom-placeholder {
  display:flex; flex-direction:column;
  align-items:center; gap:1rem; opacity:.3;
}
.custom-placeholder span {
  font-family:var(--fd); font-size:5rem;
  color:var(--rose); font-style:italic; line-height:1;
}
.custom-placeholder p {
  font-size:.55rem; letter-spacing:.28em;
  text-transform:uppercase; color:var(--gold-lt); font-weight:200;
}

/* =====================================================
   PHILOSOPHY
===================================================== */
.philosophy { display:grid; grid-template-columns:1fr 1fr; }
.phil-quote-block {
  background:var(--berry); padding:6rem 5rem;
  display:flex; flex-direction:column;
  justify-content:center; position:relative; overflow:hidden;
}
.phil-quote-block::before {
  content:'"'; position:absolute;
  font-family:var(--fd); font-size:24rem;
  color:rgba(255,255,255,.05);
  top:-3rem; left:-1rem; line-height:1;
  font-style:italic; pointer-events:none;
}
.phil-quote {
  font-family:var(--fd);
  font-size:clamp(1.7rem,2.5vw,2.3rem);
  font-style:italic; font-weight:300;
  line-height:1.45; color:#fff;
  margin-bottom:1.5rem; position:relative; z-index:1;
}
.phil-quote em { color:var(--gold-lt); }
.phil-attr {
  font-size:.55rem; letter-spacing:.3em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4); font-weight:200;
  position:relative; z-index:1;
}
.phil-points {
  background:var(--white); padding:6rem 5rem;
  display:flex; flex-direction:column;
  justify-content:center; gap:2.4rem;
}
.phil-point {
  padding-left:1.4rem;
  border-left:.5px solid #E8E4E4;
  transition:border-color .3s;
}
.phil-point:hover { border-left-color:var(--berry); }
.phil-point h4 {
  font-family:var(--fd); font-size:1.08rem;
  color:var(--char); font-weight:400; margin-bottom:.4rem;
}
.phil-point p {
  font-size:.75rem; color:var(--muted);
  font-weight:200; line-height:1.9;
}

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials {
  background:var(--off);
  padding:6rem 5rem; text-align:center;
}
.testi-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1.2rem; margin-top:3.5rem; text-align:left;
}
.testi-card {
  background:var(--white);
  border:.5px solid var(--border);
  padding:2.4rem 2rem; position:relative;
}
.testi-card::before {
  content:''; position:absolute;
  top:0; left:0; width:2.5px; height:100%;
  background:linear-gradient(to bottom,var(--rose),var(--berry));
}
.testi-stars { color:var(--gold); font-size:.75rem; margin-bottom:.8rem; }
.testi-text {
  font-family:var(--fd); font-size:1.02rem;
  font-style:italic; font-weight:300;
  color:var(--char); line-height:1.72; margin-bottom:1.2rem;
}
.testi-author {
  font-size:.55rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--faint); font-weight:200;
}

/* =====================================================
   INSTAGRAM GALLERY
===================================================== */
.instagram-sec { background:var(--white); padding:5rem; }
.instagram-head {
  display:flex; align-items:flex-end;
  justify-content:space-between; margin-bottom:2rem;
  flex-wrap:wrap; gap:1rem;
}
#sb_instagram .sbi_header,
#sb_instagram .sbi_follow_btn { display:none !important; }

/* =====================================================
   NEWSLETTER
===================================================== */
.newsletter {
  background:linear-gradient(130deg,var(--plum) 0%,var(--berry) 55%,var(--rose) 100%);
  padding:5.5rem 5rem;
  display:flex; align-items:center;
  justify-content:space-between; gap:3rem;
  position:relative; overflow:hidden;
}
.newsletter::before {
  content:''; position:absolute;
  top:-80px; right:8%; width:280px; height:280px;
  border-radius:50%; background:rgba(255,255,255,.04); pointer-events:none;
}
.nl-copy { position:relative; z-index:1; }
.nl-form-wrap { position:relative; z-index:1; min-width:400px; }
.nl-row { display:flex; }
.nl-input {
  flex:1; padding:1rem 1.4rem;
  background:rgba(255,255,255,.09);
  border:.5px solid rgba(255,255,255,.2);
  border-right:none; color:#fff;
  font-family:var(--fb); font-size:.72rem;
  letter-spacing:.1em; outline:none; font-weight:200;
  -webkit-appearance:none;
}
.nl-input::placeholder {
  color:rgba(255,255,255,.35);
  font-size:.6rem; letter-spacing:.18em; text-transform:uppercase;
}
.nl-submit {
  padding:1rem 2rem; background:var(--gold-dk); border:none;
  color:#fff; font-family:var(--fb); font-size:.6rem;
  letter-spacing:.24em; text-transform:uppercase;
  cursor:pointer; font-weight:200; transition:background .3s;
  white-space:nowrap;
}
.nl-submit:hover { background:var(--gold); }
.nl-note {
  margin-top:.6rem; min-height:1.2em;
  font-size:.55rem; color:rgba(255,255,255,.35);
  letter-spacing:.08em; font-weight:200;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background:var(--plum); padding:4.5rem 5rem 2rem;
  position:relative;
}
.site-footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:.5px;
  background:linear-gradient(90deg,transparent,rgba(201,169,110,.3),transparent);
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:4rem; margin-bottom:3.5rem;
}
.footer-logo {
  font-family:var(--fd); font-size:1.5rem;
  font-style:italic; font-weight:300; color:#fff;
  letter-spacing:.07em; display:block;
  margin-bottom:1rem; text-decoration:none;
}
.footer-logo em { color:#FFB8E0; }
.footer-desc {
  font-size:.75rem; color:rgba(255,255,255,.55); /* increased for WCAG AA */
  font-weight:200; line-height:1.9; max-width:220px;
}
.footer-col h5 {
  font-family:var(--fb); font-size:.55rem;
  letter-spacing:.32em; text-transform:uppercase;
  color:var(--gold-lt); font-weight:300; margin-bottom:1.4rem;
}
.footer-col ul { display:flex; flex-direction:column; gap:.65rem; }
.footer-col a {
  font-size:.75rem; color:rgba(255,255,255,.55); /* .55 = ~4.6:1 on --plum, passes WCAG AA */
  font-weight:200; transition:color .3s;
}
.footer-col a:hover { color:#FFB8E0; }
.footer-bottom {
  border-top:.5px solid rgba(255,255,255,.07);
  padding-top:2rem; display:flex;
  justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:1rem;
}
.footer-copy {
  font-size:.6rem; letter-spacing:.1em;
  color:rgba(255,255,255,.45); /* increased from .25 for legibility */ font-weight:200;
}
.footer-socials { display:flex; gap:1.5rem; }
.footer-socials a {
  font-size:.55rem; letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.5); /* increased from .3 */ font-weight:200; transition:color .3s;
}
.footer-socials a:hover { color:#FFB8E0; }

/* =====================================================
   WOOCOMMERCE — GLOBAL
===================================================== */
.woocommerce a.button,.woocommerce button.button,
.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce .button.alt,.woocommerce #place_order {
  background:var(--char) !important; color:#fff !important;
  font-family:var(--fb) !important; font-weight:200 !important;
  font-size:.6rem !important; letter-spacing:.28em !important;
  text-transform:uppercase !important; border-radius:0 !important;
  padding:.875rem 2.4rem !important;
  transition:background .3s !important;
  border:none !important; box-shadow:none !important;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce #place_order:hover {
  background:var(--berry) !important; color:#fff !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background:var(--berry) !important; border-radius:0 !important;
  width:100% !important; text-align:center !important;
  display:block !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background:var(--plum) !important;
}
.woocommerce span.price,.woocommerce ins .amount,.woocommerce .price {
  font-family:var(--fd) !important; color:var(--berry) !important;
  font-size:1.1rem !important; font-weight:400 !important;
}
.woocommerce div.product .product_title {
  font-family:var(--fd) !important; font-weight:300 !important;
  font-size:2.5rem !important; color:var(--char) !important;
  font-style:italic !important; line-height:1.1 !important;
}
.woocommerce div.product p.price {
  font-family:var(--fd) !important; color:var(--berry) !important;
  font-size:1.5rem !important; margin:1rem 0 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-family:var(--fb) !important; font-size:.8125rem !important;
  font-weight:200 !important; color:var(--muted) !important;
  line-height:2 !important; margin-bottom:1.5rem !important;
}
.woocommerce .star-rating span::before { color:var(--gold) !important; }
.woocommerce span.onsale {
  background:var(--berry) !important; border-radius:0 !important;
  font-family:var(--fb) !important; font-weight:200 !important;
  font-size:.55rem !important; letter-spacing:.2em !important;
  text-transform:uppercase !important;
  min-height:auto !important; min-width:auto !important;
  padding:.3rem .8rem !important; line-height:1.6 !important;
}
.woocommerce-breadcrumb {
  font-family:var(--fb) !important; font-size:.55rem !important;
  letter-spacing:.28em !important; text-transform:uppercase !important;
  color:var(--faint) !important; font-weight:200 !important;
}
.woocommerce-breadcrumb a { color:var(--rose) !important; }
/* Form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .checkout input[type="text"],
.woocommerce .checkout input[type="email"],
.woocommerce .checkout input[type="tel"],
.woocommerce .checkout input[type="password"] {
  border:.5px solid rgba(190,89,133,.25) !important;
  border-radius:0 !important; font-family:var(--fb) !important;
  font-weight:200 !important; font-size:.8125rem !important;
  padding:.75rem 1rem !important; background:#fff !important;
  letter-spacing:.04em !important; color:var(--char) !important;
  box-shadow:none !important; transition:border-color .3s !important;
}
.woocommerce form .form-row input:focus,
.woocommerce .checkout input:focus {
  border-color:var(--rose) !important;
  outline:none !important; box-shadow:none !important;
}
.woocommerce form .form-row label {
  font-family:var(--fb) !important; font-size:.6rem !important;
  letter-spacing:.2em !important; text-transform:uppercase !important;
  color:var(--muted) !important; font-weight:200 !important;
}
.woocommerce table.shop_table {
  border:.5px solid var(--border) !important;
  border-radius:0 !important; font-family:var(--fb) !important;
  font-size:.8125rem !important; font-weight:200 !important;
}
.woocommerce table.shop_table th {
  font-size:.55rem !important; letter-spacing:.2em !important;
  text-transform:uppercase !important; font-weight:300 !important;
  color:var(--muted) !important; background:var(--off) !important;
}
/* Shop/archive page */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce-products-header {
  padding:4rem 5rem !important;
}
.woocommerce-products-header__title,.woocommerce .page-title {
  font-family:var(--fd) !important; font-weight:300 !important;
  font-style:italic !important; font-size:3rem !important;
  color:var(--char) !important;
}
.woocommerce .woocommerce-result-count {
  font-family:var(--fb) !important; font-size:.55rem !important;
  letter-spacing:.2em !important; text-transform:uppercase !important;
  color:var(--faint) !important; font-weight:200 !important;
}
.woocommerce .woocommerce-ordering select {
  font-family:var(--fb) !important; font-size:.6rem !important;
  letter-spacing:.15em !important;
  border:.5px solid var(--border) !important;
  border-radius:0 !important; padding:.5rem 2rem .5rem .8rem !important;
  color:var(--muted) !important; font-weight:200 !important;
}
/* Single product */
.woocommerce div.product { padding:4rem 5rem !important; }
.woocommerce div.product .woocommerce-product-gallery__image img {
  border:.5px solid var(--border) !important;
}
.woocommerce div.product form.cart .qty {
  border:.5px solid rgba(190,89,133,.25) !important;
  border-radius:0 !important;
  font-family:var(--fd) !important; font-size:1.2rem !important;
  width:70px !important; text-align:center !important; padding:.5rem !important;
}
/* Checkout & cart page padding */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  padding:4rem 5rem !important;
}
.woocommerce-checkout h3 {
  font-family:var(--fd) !important; font-weight:300 !important;
  font-style:italic !important; font-size:1.6rem !important;
  margin-bottom:1.5rem !important;
}
/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error {
  border-top-color:var(--berry) !important;
  font-family:var(--fb) !important; font-size:.8125rem !important;
  font-weight:200 !important;
}

/* =====================================================
   WPFORMS
===================================================== */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
  border:.5px solid rgba(190,89,133,.25) !important;
  border-radius:0 !important; font-family:var(--fb) !important;
  font-weight:200 !important; font-size:.8125rem !important;
  padding:.75rem 1rem !important; color:var(--char) !important;
  background:#fff !important; letter-spacing:.04em !important;
  transition:border-color .3s !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
  border-color:var(--rose) !important;
  outline:none !important; box-shadow:none !important;
}
.wpforms-container .wpforms-field label {
  font-family:var(--fb) !important; font-size:.6rem !important;
  letter-spacing:.2em !important; text-transform:uppercase !important;
  color:var(--muted) !important; font-weight:200 !important;
  margin-bottom:.5rem !important; display:block !important;
}
.wpforms-container .wpforms-submit-container button,
.wpforms-container button[type="submit"] {
  background:var(--berry) !important; color:#fff !important;
  font-family:var(--fb) !important; font-weight:200 !important;
  font-size:.6rem !important; letter-spacing:.28em !important;
  text-transform:uppercase !important; border-radius:0 !important;
  padding:.875rem 2.4rem !important; border:none !important;
  transition:background .3s !important; cursor:pointer !important;
}
.wpforms-container .wpforms-submit-container button:hover {
  background:var(--plum) !important;
}

/* =====================================================
   INNER PAGES
===================================================== */
.page-hero {
  padding:8rem 5rem 5rem; background:var(--off); text-align:center;
}
.page-hero h1 {
  font-family:var(--fd);
  font-size:clamp(2.5rem,5vw,4.5rem);
  font-weight:300; font-style:italic;
  color:var(--char); margin-bottom:1.2rem;
}
.page-hero h1 em { color:var(--berry); }
.page-hero p {
  font-size:.875rem; color:var(--muted); font-weight:200;
  max-width:560px; margin:0 auto; line-height:2;
}
.page-content { padding:6rem 5rem; }

/* Process */
.process-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--border);
  border:.5px solid var(--border); margin-top:3.5rem;
}
.process-step {
  background:var(--white); padding:3rem 2.5rem; text-align:center;
}
.process-num {
  font-family:var(--fd); font-size:3rem; font-weight:300;
  color:var(--berry); line-height:1; margin-bottom:1rem; opacity:.6;
}
.process-title {
  font-family:var(--fb); font-size:.6rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--char);
  font-weight:300; margin-bottom:.5rem;
}
.process-body {
  font-size:.75rem; color:var(--muted);
  font-weight:200; line-height:1.9;
}

/* Contact */
.contact-wrap {
  display:grid; grid-template-columns:1fr 1.2fr;
  gap:5rem; align-items:start;
}
.contact-info h2 {
  font-family:var(--fd); font-size:2rem;
  font-weight:300; font-style:italic;
  color:var(--char); margin-bottom:1rem;
}
.contact-detail {
  display:flex; flex-direction:column; gap:1.2rem; margin-top:2rem;
}
.contact-detail-item {
  display:flex; flex-direction:column; gap:.25rem;
}
.contact-detail-label {
  font-size:.55rem; letter-spacing:.28em; text-transform:uppercase;
  color:var(--berry); /* --rose (#EC7FA9) fails AA on white; --berry (#BE5985) = 4.56:1, passes */
  font-weight:200;
}
.contact-detail-value {
  font-size:.875rem; color:var(--muted); font-weight:200;
}
.contact-detail-value a:hover { color:var(--berry); }

/* Size guide */
.size-table {
  width:100%; border-collapse:collapse;
  font-family:var(--fb); font-size:.8125rem;
  font-weight:200; margin-bottom:3rem;
}
.size-table th {
  font-size:.55rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--berry); font-weight:300; text-align:left;
  padding:.75rem 0; border-bottom:.5px solid rgba(190,89,133,.2);
}
.size-table td {
  padding:.75rem 0; color:var(--muted);
  border-bottom:.5px solid rgba(190,89,133,.08);
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.anim { opacity:0; animation:fadeUp .9s var(--ease) forwards; }
.anim-d1 { animation-delay:.1s; }
.anim-d2 { animation-delay:.25s; }
.anim-d3 { animation-delay:.4s; }
.anim-d4 { animation-delay:.55s; }
.anim-d5 { animation-delay:.7s; }

/* Scroll reveal — below-fold elements only
   Hero .anim elements use CSS animation, NOT this */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* =====================================================
   RESPONSIVE — TABLET ≤1024px
===================================================== */
@media (max-width:1024px) {
  .sec { padding:5rem 3rem; }
  .hero { grid-template-columns:1fr; }
  .hero__content { padding:5rem 3rem; }
  .hero__content::before { display:none; }
  .hero__image { min-height:50vh; }
  .hero__stats { gap:1.5rem; }
  .editorial { grid-template-columns:1fr; }
  .editorial__img { min-height:50vh; }
  .editorial__copy { padding:4rem 3rem; }
  .about-split { grid-template-columns:1fr; }
  .about-split__story,.about-split__promise { padding:4rem 3rem; }
  .custom-sec__inner { grid-template-columns:1fr; gap:3rem; }
  .custom-frame { max-width:100%; }
  .philosophy { grid-template-columns:1fr; }
  .phil-quote-block,.phil-points { padding:4rem 3rem; }
  .features { grid-template-columns:repeat(2,1fr); }
  .feature { border-right:none; border-bottom:.5px solid rgba(255,255,255,.06); }
  .woocommerce ul.products { grid-template-columns:repeat(2,1fr) !important; }
  .testi-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2.5rem; }
  .newsletter { flex-direction:column; align-items:flex-start; padding:4rem 3rem; }
  .nl-form-wrap { min-width:unset; width:100%; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .contact-wrap { grid-template-columns:1fr; gap:3rem; }
  .instagram-sec { padding:4rem 3rem; }
}

/* =====================================================
   RESPONSIVE — MOBILE ≤768px
===================================================== */
@media (max-width:768px) {
  .sec { padding:4rem 1.5rem; }
  .nav-wrap { padding:1rem 1.5rem; }
  .nav-links,.nav-actions { display:none; }
  .nav-burger { display:flex; }
  .ann-bar { font-size:.5rem; letter-spacing:.2em; padding:.5rem; }
  .hero__content { padding:3rem 1.5rem 4rem; }
  .hero__title { font-size:clamp(2.5rem,10vw,3.5rem); }
  .hero__ctas { flex-direction:column; }
  .hero__ctas .btn { text-align:center; }
  .features { grid-template-columns:1fr; }
  .feature { border-right:none; border-bottom:.5px solid rgba(255,255,255,.06); }
  .section-head { flex-direction:column; align-items:flex-start; }
  .testi-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .nl-row { flex-direction:column; }
  .nl-input { border-right:.5px solid rgba(255,255,255,.2); border-bottom:none; }
  .page-hero { padding:6rem 1.5rem 3rem; }
  .page-content { padding:3rem 1.5rem; }
  .process-grid { grid-template-columns:1fr; }
  .woocommerce-page .woocommerce,.woocommerce div.product,
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce {
    padding:2rem 1.5rem !important;
  }
  .woocommerce ul.products { grid-template-columns:1fr !important; }
  .newsletter { padding:3rem 1.5rem; }
  .instagram-sec { padding:3rem 1.5rem; }
}

/* =====================================================
   FOCUS VISIBLE — keyboard navigation rings
   Uses :focus-visible so mouse users don't see rings,
   keyboard users always do. WCAG 2.4.7 requirement.
===================================================== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
}
/* Skip link keeps :focus (not just :focus-visible) so it
   works in all browsers when tabbed to */
.skip-link:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Inputs get a visible focus ring via border change already,
   but add outline fallback for high-contrast mode */
.woocommerce form .form-row input:focus-visible,
.woocommerce .checkout input:focus-visible,
.wpforms-container .wpforms-field input:focus-visible,
.wpforms-container .wpforms-field textarea:focus-visible,
.nl-input:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 0;
}

/* Nav links keyboard focus */
.nav-links a:focus-visible,
.nav-actions a:focus-visible,
.mobile-drawer a:focus-visible,
.footer-col a:focus-visible,
.footer-socials a:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Buttons */
.btn:focus-visible,
.nl-submit:focus-visible,
.drawer-close:focus-visible,
.nav-burger:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
}


/* =====================================================
   PREFERS-REDUCED-MOTION
   Stops animations for users with vestibular disorders.
   WCAG 2.3.3 requirement.
===================================================== */
@media (prefers-reduced-motion: reduce) {
  /* Disable all transitions */
  *,
  *::before,
  *::after {
    animation-duration:      0.01ms !important;
    animation-iteration-count: 1   !important;
    transition-duration:     0.01ms !important;
    scroll-behavior:         auto  !important;
  }

  /* Hero fade-up: show immediately */
  .anim {
    opacity: 1 !important;
    animation: none !important;
  }

  /* Scroll reveal: show immediately */
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Marquee: pause completely */
  .marquee__track {
    animation-play-state: paused !important;
  }

  /* Hero transform: no scale on images */
  .woocommerce ul.products li.product:hover img {
    transform: none !important;
  }
}


/* =====================================================
   WOOCOMMERCE — MISSING STATES
===================================================== */

/* ── Sale price: strikethrough original, highlight new ── */
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
  color: var(--faint) !important;
  font-size: .85em !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
  text-decoration: none !important;
  font-weight: 400 !important;
  color: var(--berry) !important;
}

/* ── Variable product selects (size, colour dropdowns) ── */
.woocommerce div.product .variations select,
.woocommerce div.product table.variations select {
  border: .5px solid rgba(190,89,133,.25) !important;
  border-radius: 0 !important;
  font-family: var(--fb) !important;
  font-size: .75rem !important;
  font-weight: 200 !important;
  padding: .6rem 2.5rem .6rem .9rem !important;
  color: var(--char) !important;
  background-color: #fff !important;
  letter-spacing: .04em !important;
  cursor: pointer !important;
  min-width: 160px !important;
}
.woocommerce div.product .variations select:focus-visible {
  border-color: var(--rose) !important;
  outline: none !important;
}
.woocommerce div.product .variations th.label label {
  font-family: var(--fb) !important;
  font-size: .6rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  font-weight: 200 !important;
  color: var(--muted) !important;
}
.woocommerce div.product .woocommerce-variation-price .price {
  font-family: var(--fd) !important;
  color: var(--berry) !important;
  font-size: 1.4rem !important;
}
.woocommerce div.product .reset_variations {
  font-family: var(--fb) !important;
  font-size: .55rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--rose) !important;
  font-weight: 200 !important;
  margin-left: .8rem !important;
}

/* ── Out of stock ── */
.woocommerce ul.products li.product.outofstock {
  position: relative !important;
}
.woocommerce ul.products li.product.outofstock img {
  opacity: .5 !important;
  filter: grayscale(30%) !important;
}
.woocommerce ul.products li.product.outofstock::after {
  content: 'Sold Out';
  position: absolute;
  top: .7rem; right: .7rem;
  background: var(--char);
  color: rgba(255,255,255,.7);
  font-family: var(--fb);
  font-size: .5rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 200;
  padding: .3rem .7rem;
  pointer-events: none;
}
.woocommerce div.product .stock.out-of-stock {
  font-family: var(--fb) !important;
  font-size: .65rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--faint) !important;
  font-weight: 200 !important;
}
.woocommerce div.product .stock.in-stock {
  font-family: var(--fb) !important;
  font-size: .65rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--gold-dk) !important;
  font-weight: 200 !important;
}

/* ── Empty cart page ── */
.woocommerce-cart .woocommerce-cart-form ~ .cart-collaterals {
  display: none;
}
.woocommerce-cart table.cart:empty ~ * { display: none; }
.woocommerce .cart-empty {
  font-family: var(--fd) !important;
  font-size: 1.4rem !important;
  font-style: italic !important;
  font-weight: 300 !important;
  color: var(--char) !important;
  text-align: center !important;
  padding: 3rem 0 1rem !important;
}
.woocommerce .return-to-shop {
  text-align: center !important;
  margin-top: 1.5rem !important;
}
.woocommerce .return-to-shop .button {
  background: var(--berry) !important;
}

/* ── Shop pagination ── */
.woocommerce-pagination {
  margin-top: 3rem !important;
  text-align: center !important;
}
.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  gap: .4rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-pagination ul.page-numbers li { margin: 0 !important; }
.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important; height: 36px !important;
  border: .5px solid var(--border) !important;
  font-family: var(--fb) !important;
  font-size: .6rem !important;
  letter-spacing: .1em !important;
  color: var(--muted) !important;
  font-weight: 200 !important;
  transition: background .3s, color .3s, border-color .3s !important;
  text-decoration: none !important;
}
.woocommerce-pagination ul.page-numbers a:hover {
  background: var(--off) !important;
  border-color: var(--berry) !important;
  color: var(--berry) !important;
}
.woocommerce-pagination ul.page-numbers span.current {
  background: var(--berry) !important;
  border-color: var(--berry) !important;
  color: #fff !important;
}

/* ── Product gallery thumbnails ── */
.woocommerce div.product .flex-control-thumbs {
  display: flex !important;
  gap: .5rem !important;
  margin-top: .5rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce div.product .flex-control-thumbs li { margin: 0 !important; }
.woocommerce div.product .flex-control-thumbs img {
  border: .5px solid var(--border) !important;
  opacity: .6 !important;
  transition: opacity .3s, border-color .3s !important;
  cursor: pointer !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
}
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs .flex-active {
  opacity: 1 !important;
  border-color: var(--berry) !important;
}

/* ── Checkout required asterisk ── */
.woocommerce form .form-row .required {
  color: var(--rose) !important;
  font-weight: 300 !important;
  text-decoration: none !important;
}

/* ── Checkout error highlight ── */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
  border-color: #e74c3c !important;
}
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
  border-color: var(--gold-dk) !important;
}

/* ── Order received / thank you page ── */
.woocommerce-order-received .woocommerce-thankyou-section,
.woocommerce-order { padding: 0 !important; }
.woocommerce .woocommerce-order-overview {
  background: var(--off) !important;
  border: .5px solid var(--border) !important;
  padding: 1.5rem 2rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  list-style: none !important;
  margin-bottom: 2rem !important;
}
.woocommerce .woocommerce-order-overview li {
  font-family: var(--fb) !important;
  font-size: .75rem !important;
  font-weight: 200 !important;
  color: var(--muted) !important;
  border-right: .5px solid var(--border) !important;
  padding-right: 1.5rem !important;
}
.woocommerce .woocommerce-order-overview li:last-child {
  border-right: none !important;
}
.woocommerce .woocommerce-order-overview li strong {
  display: block !important;
  font-family: var(--fd) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--char) !important;
  margin-top: .2rem !important;
}
.woocommerce-thankyou-order-received {
  font-family: var(--fd) !important;
  font-size: 1.5rem !important;
  font-style: italic !important;
  font-weight: 300 !important;
  color: var(--char) !important;
  margin-bottom: 1.5rem !important;
}

/* ── My Account navigation ── */
.woocommerce-MyAccount-navigation {
  width: auto !important;
  float: none !important;
  margin-bottom: 2rem !important;
}
.woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-MyAccount-navigation li a {
  display: inline-block !important;
  padding: .5rem 1.2rem !important;
  font-family: var(--fb) !important;
  font-size: .6rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  font-weight: 200 !important;
  color: var(--muted) !important;
  border: .5px solid var(--border) !important;
  transition: background .3s, color .3s, border-color .3s !important;
  text-decoration: none !important;
}
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--berry) !important;
  color: #fff !important;
  border-color: var(--berry) !important;
}
.woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

/* ── Coupon / discount field ── */
.woocommerce .coupon input.input-text {
  border: .5px solid rgba(190,89,133,.25) !important;
  border-radius: 0 !important;
  font-family: var(--fb) !important;
  font-size: .75rem !important;
  font-weight: 200 !important;
  letter-spacing: .06em !important;
  padding: .7rem 1rem !important;
}
.woocommerce .coupon .button {
  background: var(--char) !important;
  color: #fff !important;
}
.woocommerce .coupon .button:hover {
  background: var(--berry) !important;
}
.woocommerce-remove-coupon {
  color: var(--rose) !important;
  font-family: var(--fb) !important;
  font-size: .6rem !important;
  letter-spacing: .1em !important;
  font-weight: 200 !important;
}

/* ── Loading spinner (WC adds this on AJAX) ── */
.woocommerce-cart-form .blockUI.blockOverlay,
.woocommerce .blockUI.blockOverlay {
  background: rgba(255,255,255,.7) !important;
}

/* ── Yoast SEO breadcrumbs (if enabled) ── */
.woocommerce-breadcrumb,
.breadcrumb {
  font-family: var(--fb) !important;
  font-size: .55rem !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  color: var(--faint) !important;
  font-weight: 200 !important;
  padding: 1rem 0 !important;
}
.woocommerce-breadcrumb a,
.breadcrumb a {
  color: var(--rose) !important;
}
.woocommerce-breadcrumb a:hover,
.breadcrumb a:hover {
  color: var(--berry) !important;
}


/* =====================================================
   @MEDIA PRINT
   Clean print output — important for order receipts,
   invoice pages, and product detail pages.
===================================================== */
@media print {
  /* Colours */
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Hide non-content elements */
  .ann-bar,
  .site-header,
  .mobile-drawer,
  .drawer-overlay,
  .nav-burger,
  .site-footer,
  .newsletter,
  .instagram-sec,
  .testimonials,
  .hero__ctas,
  .hero__stats,
  .philosophy,
  .features,
  .marquee,
  .hero__image,
  .woocommerce-cart .wc-proceed-to-checkout,
  .woocommerce .coupon,
  .skip-link,
  button:not([type="submit"]) {
    display: none !important;
  }

  /* Typography */
  body {
    font-family: Georgia, serif;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3 { page-break-after: avoid; }
  p, blockquote { orphans: 3; widows: 3; }

  /* Links */
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    color: #444;
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after { content: ''; }

  /* WooCommerce order tables */
  .woocommerce table.shop_table {
    border: 1px solid #ccc !important;
    font-size: 10pt !important;
  }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    border: 1px solid #ccc !important;
    padding: 6pt 8pt !important;
  }

  /* Page breaks */
  .woocommerce-order { page-break-inside: avoid; }
}


/* =====================================================
   ADDITIONS & FIXES v1.1.0
   All additions are clearly marked below.
===================================================== */

/* FIX: Announcement bar — editable from settings, previously hardcoded */
/* (no CSS change needed — controlled via PHP/admin now) */

/* NEW: Care Guide page */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.care-card {
  background: var(--off);
  border: .5px solid var(--border);
  padding: 2rem;
}
.care-card h3 {
  font-family: var(--fb);
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 300;
  margin-bottom: 1rem;
}
.care-card p {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 200;
  line-height: 1.9;
}

/* NEW: FAQ page */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: .5px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--char);
  list-style: none;
  gap: 1rem;
  transition: color .3s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--berry); }
.faq-question::after {
  content: '+';
  font-family: var(--fb);
  font-size: 1.2rem;
  color: var(--berry);
  flex-shrink: 0;
  transition: transform .3s;
}
details[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 1.5rem;
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 200;
  line-height: 2;
  max-width: 640px;
}

/* NEW: Legal pages (Privacy, Returns, Shipping) */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--fb);
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--berry);
  font-weight: 300;
  margin: 3rem 0 .8rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 200;
  line-height: 2;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 200;
  line-height: 2;
}
.legal-content a { color: var(--berry); }
.legal-content a:hover { color: var(--plum); }

/* FIX: Product gallery — ensure zoom icon visible on mobile */
.woocommerce div.product .woocommerce-product-gallery--with-images .zoomImg {
  cursor: zoom-in;
}

/* FIX: WooCommerce notices — mobile padding was clipping */
@media (max-width: 768px) {
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    padding: 1rem 1.2rem !important;
    font-size: .75rem !important;
  }
  .woocommerce-message a.button,
  .woocommerce-message .button {
    display: block !important;
    margin-top: .5rem !important;
    text-align: center !important;
  }
  .care-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr !important; }
}

/* NEW: Sticky Add to Cart on mobile product page */
@media (max-width: 768px) {
  .woocommerce div.product form.cart {
    position: sticky;
    bottom: 0;
    z-index: 400;
    background: var(--white);
    padding: 1rem 1.5rem !important;
    border-top: .5px solid var(--border);
    margin: 0 !important;
    display: flex !important;
    gap: .75rem !important;
    align-items: center !important;
  }
  .woocommerce div.product form.cart .qty {
    width: 56px !important;
    min-width: 56px !important;
  }
  .woocommerce div.product form.cart button.single_add_to_cart_button {
    flex: 1 !important;
    padding: .875rem 1rem !important;
  }
}

/* NEW: Wishlist / save indicator (future-proofing) */
.ss-wishlist-btn {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s;
}
.woocommerce ul.products li.product:hover .ss-wishlist-btn {
  opacity: 1;
}

/* FIX: Checkout — payment section heading was inheriting italic */
.woocommerce-checkout #payment h3,
.woocommerce-checkout #payment ul.payment_methods li label {
  font-style: normal !important;
}

/* FIX: WooCommerce quantity increment/decrement buttons (WC 7+) */
.woocommerce div.product .quantity .qty-plus,
.woocommerce div.product .quantity .qty-minus {
  background: var(--off) !important;
  border: .5px solid rgba(190,89,133,.25) !important;
  color: var(--char) !important;
  font-family: var(--fb) !important;
  font-size: 1rem !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background .3s, color .3s !important;
}
.woocommerce div.product .quantity .qty-plus:hover,
.woocommerce div.product .quantity .qty-minus:hover {
  background: var(--berry) !important;
  border-color: var(--berry) !important;
  color: #fff !important;
}

/* FIX: Related products heading */
.woocommerce div.product .related.products > h2 {
  font-family: var(--fd) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: var(--char) !important;
  margin: 3rem 0 2rem !important;
  padding: 0 5rem !important;
}
@media (max-width: 768px) {
  .woocommerce div.product .related.products > h2 {
    padding: 0 1.5rem !important;
  }
}

/* FIX: Account page — woo tables inside my account */
.woocommerce-account .woocommerce {
  padding: 3rem 5rem !important;
}
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    padding: 2rem 1.5rem !important;
  }
}

/* NEW: Loading state for buttons */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: .75;
}
.btn-loading::after {
  content: '';
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* FIX: Image gallery on mobile — proper stacking */
@media (max-width: 768px) {
  .woocommerce div.product div.images {
    margin-bottom: 1.5rem !important;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce div.product .entry-summary {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
  }
}

/* NEW: Trust badges row for product pages */
.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: .5px solid var(--border);
  margin-top: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 200;
}
.trust-badge-icon {
  font-family: var(--fd);
  font-size: 1rem;
  color: var(--gold);
}

/* FIX: Newsletter form — better iOS support */
.nl-input {
  -webkit-appearance: none !important;
  border-radius: 0 !important;
}

/* NEW: Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--plum);
  color: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  letter-spacing: .1em;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .3s;
  border: none;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover { background: var(--berry); }

/* FIX: Testimonials carousel on mobile — horizontal scroll */
@media (max-width: 768px) {
  .testi-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: .8rem !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 1rem !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .testi-card {
    min-width: min(80vw, 300px) !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }
}

