/* =========================================================
   Araaish by Myaysh — modest luxury fashion
   Palette: black · antique gold · coffee / espresso
   ========================================================= */

:root {
  /* darks */
  --black: #100C0A;       /* page background */
  --black-2: #15100D;     /* alternating sections */
  --espresso: #1A130F;    /* footer / deepest */
  --coffee: #221A14;      /* cards / surfaces */
  --coffee-2: #2C221A;    /* elevated / hover */
  --mocha: #3A2C22;       /* mid brown */
  --bronze: #6F5236;      /* warm brown accent */

  /* golds */
  --gold: #C8A24C;        /* primary accent */
  --gold-soft: #E3C880;   /* highlights */
  --gold-deep: #9C7A33;   /* deep gold */

  /* text */
  --cream: #EEE6D9;       /* primary text on dark */
  --muted: #B3A794;       /* secondary text */
  --dark-ink: #140F0B;    /* text on gold buttons */

  --line: rgba(200, 162, 76, 0.16);
  --line-soft: rgba(238, 230, 217, 0.08);
  --shadow: 0 28px 64px -28px rgba(0, 0, 0, 0.75);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Light theme (visitor toggle; dark stays the default) ---------- */
:root[data-theme="light"] {
  --black: #FFFFFF;       /* page background — white */
  --black-2: #F8F5EF;     /* alternating sections (faint warm) */
  --espresso: #F2ECE2;    /* footer / announce / deepest */
  --coffee: #FFFFFF;      /* cards / surfaces */
  --coffee-2: #F7F2EA;    /* elevated / hover */
  --mocha: #E7DAC5;
  --bronze: #8A6A44;
  --gold: #A07B2E;        /* deepened so gold reads on ivory */
  --gold-soft: #BA9142;
  --gold-deep: #7E6026;
  --cream: #2A2017;       /* now the primary (dark) text on light surfaces */
  --muted: #6E6150;       /* secondary text */
  /* --dark-ink intentionally NOT overridden: it's the text ON gold buttons/chips, dark in both themes */
  --line: rgba(130, 100, 45, 0.24);
  --line-soft: rgba(42, 32, 23, 0.10);
  --shadow: 0 24px 56px -30px rgba(90, 68, 34, 0.38);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* no blue tap/click highlight; keep a focus ring only for keyboard users (accessibility) */
a, button, input, select, textarea, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* smooth cross-fade between pages on navigation (View Transitions; progressive
   enhancement — browsers without support just navigate as before). Makes clicks
   like "View details" glide to the next page instead of an abrupt blank-then-jump. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtFadeOut .22s var(--ease, ease) both; }
  ::view-transition-new(root) { animation: vtFadeIn .32s var(--ease, ease) both; }
}
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; background: var(--espresso); }

/* pull-to-refresh indicator (custom; shown while dragging down at the top) */
.ptr-ind { position: fixed; top: 0; left: 50%; z-index: 200; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, -48px); pointer-events: none; transition: opacity .15s var(--ease), transform .25s var(--ease); }
.ptr-ind svg { width: 19px; height: 19px; color: var(--muted); transition: color .2s var(--ease); }
.ptr-ind--ready svg { color: var(--gold); }
.ptr-ind--spin svg { color: var(--gold); animation: ptrSpin .7s linear infinite; }
@keyframes ptrSpin { to { transform: rotate(360deg); } }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--black);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.01em;
  /* clip (not hidden) prevents horizontal scroll WITHOUT turning body into a
     scroll container — hidden here forces overflow-y:auto, creating a second
     scroller that fights anchor-nav / scrollIntoView (scroll jumps & sticks) */
  overflow-x: clip;
  /* keep the footer pinned to the bottom on short pages */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 10px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; color: var(--cream); }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 2.1rem; border-radius: 100px;
  cursor: pointer; border: 1.5px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--dark-ink); font-weight: 600;
  box-shadow: 0 6px 18px rgba(200, 162, 76, .22);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 162, 76, .4);
  background: linear-gradient(135deg, #EFD79A 0%, var(--gold-soft) 55%, var(--gold) 100%);
}
/* soft sheen that sweeps across the gold button on hover */
.btn--solid::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn--solid:hover::after { left: 150%; }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--gold); }
.btn--ghost:hover {
  background: var(--gold); color: var(--dark-ink); border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 162, 76, .32);
}
.btn--small { padding: .72rem 1.3rem; font-size: .68rem; background: transparent; color: var(--gold); border-color: var(--line); width: 100%; }
.btn--small:hover { background: var(--gold); color: var(--dark-ink); border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(200, 162, 76, .26); }

.link-arrow {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); display: inline-flex; gap: .45rem; align-items: center;
  border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,162,76,.06); }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--espresso); color: var(--gold-soft);
  overflow: hidden; white-space: nowrap; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}
.announce__track { display: inline-flex; gap: 2.5rem; padding-left: 2.5rem; animation: marquee 28s linear infinite; }
.announce__track span { opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* solid (near-opaque) bg instead of backdrop-filter: blur — blurring a sticky bar
     repaints the region every scroll frame, which makes section-to-section scroll lag */
  background: #15100D;
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.brand { display: inline-flex; align-items: center; }
.brand__img { height: 50px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--gold-soft);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  border: 1px solid var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .04em; color: var(--cream); }
.brand__by { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav .nav-ico { display: none; } /* option icons appear only in the mobile slide-out menu */
.nav a { font-size: .82rem; letter-spacing: .08em; color: var(--muted); position: relative; transition: color .3s var(--ease); }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gold); transition: width .35s var(--ease);
}
.nav a:not(.nav__cta):hover { color: var(--cream); }
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav a.nav__cta { background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep)); color: #0C0906; padding: .6rem 1.25rem; border-radius: 100px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 14px rgba(200, 162, 76, .25); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.nav a.nav__cta:hover { background: linear-gradient(135deg, #EFD79A, var(--gold-soft) 60%, var(--gold)); color: #0C0906; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200, 162, 76, .4); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 58vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__panel { position: absolute; inset: 0; }
.hero__panel--1 {
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(200, 162, 76, .22), transparent 55%),
    radial-gradient(90% 80% at 8% 92%, rgba(111, 82, 54, .28), transparent 60%),
    linear-gradient(160deg, #1A130F 0%, #140F0B 55%, #0C0907 100%);
}
.hero__panel--2 {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23C8A24C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M80 10c18 24 18 44 0 70-18-26-18-46 0-70zM80 150c-18-24-18-44 0-70 18 26 18 46 0 70zM10 80c24-18 44-18 70 0-26 18-46 18-70 0zM150 80c-24 18-44 18-70 0 26-18 46-18 70 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .9;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.hero__text { max-width: 620px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 5rem); color: var(--cream); margin-bottom: 1.5rem; }
.hero__title em { color: var(--gold); }
.hero__sub { font-size: 1.08rem; max-width: 540px; color: var(--muted); margin-bottom: 2.3rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
/* hero carousel — auto-rotating trending pieces */
.hero-carousel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--espresso); }
.hero-carousel__track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.hero-slide { flex: 0 0 100%; display: block; }
.hero-carousel .hero-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; display: block; border: 0; border-radius: 0; box-shadow: none; }
.hero-carousel__cap { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; color: var(--cream); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.7); padding: 0 1rem; pointer-events: none; }
.hero-carousel__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 7px; justify-content: center; z-index: 2; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.42); cursor: pointer; padding: 0; transition: width .25s var(--ease), background .25s var(--ease); }
.hero-dot.on { background: var(--gold); width: 20px; border-radius: 4px; }
/* show-more / show-less clamp (mobile only) */
.clamp-toggle { display: none; }
@media (max-width: 600px) {
  .clamp2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .clamp2.expanded { -webkit-line-clamp: unset; overflow: visible; display: block; }
  .clamp-toggle { display: inline; background: none; border: 0; color: var(--gold); font: inherit; font-size: inherit; letter-spacing: inherit; cursor: pointer; padding: 0; margin: 0; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
}

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1px solid var(--gold-deep); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold); border-radius: 2px; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Values ---------- */
.values { background: var(--espresso); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding: 3.4rem 10px; }
.value { text-align: center; }
.value h3 { font-size: 1.6rem; color: var(--gold-soft); margin-bottom: .5rem; }
.value p { font-size: .92rem; color: var(--muted); max-width: 300px; margin: 0 auto; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); color: var(--cream); margin-bottom: .8rem; }
.section-head__sub { color: var(--muted); font-size: 1rem; }

/* ---------- Collections ---------- */
.collections { padding: 3.8rem 0; background: var(--black); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.cat { background: var(--coffee); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-deep); }
.cat__img { aspect-ratio: 3 / 4; position: relative; overflow: hidden; background: var(--espresso); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .7s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__body { padding: 1.4rem 1.4rem 1.6rem; }
.cat__body h3 { font-size: 1.55rem; margin-bottom: .35rem; color: var(--cream); }
.cat__body p { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; min-height: 2.4em; }

/* ---------- Lookbook / products ---------- */
.lookbook { padding: 3.8rem 0; background: var(--black-2); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.product { background: var(--coffee); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-deep); }
.product__img { aspect-ratio: 4 / 5; border-radius: var(--radius); position: relative; overflow: hidden; background: var(--espresso); }
.product__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .7s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.1rem .4rem .9rem; }
.product__meta h3 { font-size: 1.4rem; color: var(--cream); }
.product__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.product__price { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-soft); white-space: nowrap; }

/* ---------- Story ---------- */
.story { padding: 4rem 0; background: var(--black); }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story__media { position: relative; }
.story__img {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--espresso); position: relative; border: 1px solid var(--line);
}
.story__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.story__badge {
  position: absolute; right: -18px; bottom: 28px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gold); color: var(--dark-ink);
  display: grid; place-content: center; text-align: center; line-height: 1.1;
  box-shadow: var(--shadow);
}
.story__badge span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.story__badge strong { font-family: var(--font-display); font-size: 1.7rem; }
.story__text h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 1.2rem; }
.story__text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 46ch; }
.story__text .btn { margin-top: .8rem; }

/* ---------- Watch / Instagram feed ---------- */
.journal { padding: 3.8rem 0; background: var(--black-2); }
.ig-feed { min-height: 220px; }
/* The embedded widget (iframe / script) sits inside #igFeed and controls its own layout. */
.ig-feed iframe { width: 100% !important; border: 0; border-radius: var(--radius); display: block; }
.ig-feed__fallback {
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--coffee); border: 1px solid var(--line); border-radius: var(--radius);
}
.ig-feed__icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--gold-soft);
  border: 1px solid var(--gold); font-size: 1.3rem; padding-left: 3px;
}
.ig-feed__fallback p { color: var(--muted); font-size: 1.05rem; max-width: 36ch; }

/* autoplaying reels row */
.reels-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.reel {
  position: relative; display: block; aspect-ratio: 9 / 16;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--coffee); transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.reel:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__play {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; padding-left: 2px;
  background: rgba(16,12,10,.55); color: var(--gold-soft); border: 1px solid var(--gold);
  backdrop-filter: blur(4px); pointer-events: none;
}
/* "Shop the look" label on reels that link to a product */
.reel__shop {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: block; text-align: center; padding: .5rem .6rem; border-radius: 40px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep)); color: var(--dark-ink);
  font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,0,0,.28); pointer-events: none;
  transition: transform .4s var(--ease);
}
.reel:hover .reel__shop { transform: translateY(-2px); }
/* match the theme's primary button: coffee-brown in light, gold gradient in dark */
:root[data-theme="light"] .reel__shop { background: linear-gradient(135deg, #7C5D38 0%, #654A2B 100%); color: #F5EAD3; }
@media (max-width: 480px) {
  .reels-row { grid-template-columns: repeat(2, 1fr); }
}
.journal__cta { text-align: center; margin-top: 2.5rem; }

/* ---------- CTA ---------- */
.cta { padding: 4rem 0; background: linear-gradient(160deg, #1A130F, #0C0907); color: var(--cream); text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23C8A24C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M80 20c16 22 16 40 0 62-16-22-16-40 0-62zM20 80c22-16 40-16 62 0-22 16-40 16-62 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px;
}
.cta__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.cta .eyebrow { color: var(--gold-soft); }
.cta h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; color: var(--cream); }
.cta__sub { color: var(--muted); margin-bottom: 2.2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { color: var(--cream); border-color: var(--gold); }
.cta .btn--ghost:hover { background: var(--gold); color: var(--dark-ink); }
.cta__note { margin-top: 1.6rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 2; }
.cta__location { color: var(--gold-soft); transition: color .3s var(--ease); }
.cta__location:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--muted); padding: 1.8rem 0 1rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.4rem 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-soft); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.footer__logo-img { height: 36px; width: auto; display: block; }
.footer__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.footer__name span { font-family: var(--font-body); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: block; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gold-soft); }
.footer__nav, .footer__social { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__nav a, .footer__social a { position: relative; display: inline-block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease), transform .3s var(--ease); }
.footer__nav a::after, .footer__social a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.footer__nav a:hover, .footer__social a:hover { color: var(--gold-soft); transform: translateY(-2px); }
.footer__nav a:hover::after, .footer__social a:hover::after { width: 100%; }
.footer__tag { transition: color .3s var(--ease); }
.footer__brand:hover .footer__tag { color: var(--gold); }
.footer__logo-img { transition: transform .4s var(--ease); }
.footer__brand:hover .footer__logo-img { transform: scale(1.04); }
/* footer social as round icon buttons (Instagram · WhatsApp · Email · Contact) */
.footer__social { gap: .55rem; align-items: center; }
.footer__social a.fsoc { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.footer__social a.fsoc svg { width: 18px; height: 18px; display: block; }
.footer__social a.fsoc::after { content: none; }
.footer__social a.fsoc:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__base { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: .6rem; padding-top: .85rem; font-size: .76rem; color: rgba(179,167,148,.65); }
.footer__base a { transition: color .3s var(--ease); }
.footer__base a:hover { color: var(--gold-soft); }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cat.reveal { transition-delay: calc(var(--i) * 90ms); }

/* desktop: keep the hero + story photos from getting oversized (cap width, edge-align) */
@media (min-width: 961px) {
  /* center the text + image as one pair with a clean gap, instead of spreading them
     to opposite edges (which left a big empty middle); top-align so the eyebrow lines
     up with the photo's top edge */
  .hero__inner { grid-template-columns: minmax(0, 600px) 410px; justify-content: center; column-gap: 4.5rem; align-items: start; }
  .hero__text { max-width: 600px; padding-top: .35rem; }
  .hero__figure, .hero-carousel { max-width: 410px; }
  .story__inner { grid-template-columns: .78fr 1.22fr; }
  .story__media { max-width: 410px; margin-right: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* stacked layout: centre the content so it's balanced on larger phones/tablets */
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; justify-items: center; }
  .hero__text { max-width: 620px; margin: 0 auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__figure { max-width: 380px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__inner { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; }
  .story__media { max-width: 460px; margin: 0 auto; }
  .story__text { text-align: center; max-width: 620px; }
  .story__text p { margin-left: auto; margin-right: auto; }
  .story__text .btn { margin-left: auto; margin-right: auto; }
  /* page headers (Shop, Wishlist, Checkout…) centred too */
  .shop-hero { text-align: center; }
  .shop-hero p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--espresso); border-bottom: 1px solid var(--line);
    padding: .3rem 16px .7rem; transform: translateY(-115%);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .45s var(--ease), opacity .3s var(--ease), visibility .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { padding: .6rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); font-size: .88rem; display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
  .nav a:last-child { border-bottom: 0; }
  /* dropdown option icons (shown only in the mobile menu) — placed at the right edge, aligned in a column */
  .nav a .nav-ico { display: block; width: 17px; height: 17px; flex: 0 0 auto; color: var(--gold); order: 2; }
  .nav__cta { text-align: center; margin-top: .8rem; padding: .9rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .values__grid { grid-template-columns: 1fr; gap: 2rem; }
  .collections, .lookbook, .journal, .story, .cta { padding: 2.2rem 0; }
  .hero { min-height: auto; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- client reviews section (homepage, admin-toggled) --- */
.reviews { padding: 3.8rem 0; background: var(--black-2); }
.reviews-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-top: 2rem; }
.review { flex: 1 1 210px; max-width: 260px; background: var(--coffee); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-deep); }
.review__img { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--espresso); }
.review__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.review__body { padding: 1rem 0 0; display: flex; flex-direction: column; gap: .3rem; }
.review__stars { color: var(--gold-soft); letter-spacing: .12em; font-size: .9rem; }
.review__text { color: var(--cream); font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.5; }
.review__name { color: var(--gold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .5rem; }
@media (max-width: 760px) { .reviews { padding: 2.8rem 0; } }

/* --- seasonal / festival decorations (chosen in admin → Theme; no colour change) --- */
.season-banner { background:var(--gold-deep); color:#fff; text-align:center; font-family:var(--font-body); font-size:.74rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; padding:.55rem 1rem; }
.season-decor { position:fixed; inset:0; pointer-events:none; z-index:35; overflow:hidden; }
.season-garland { position:absolute; top:0; left:0; right:0; width:100%; z-index:55; pointer-events:none; }
.season-garland svg { width:100%; height:auto; display:block; }
.season-decor .sd { position:absolute; opacity:.85; filter:drop-shadow(0 3px 10px rgba(0,0,0,.4)); }
.sd--left { top:34%; left:14px; } .sd--right { top:34%; right:14px; }
.sd--bl { bottom:16px; left:18px; } .sd--br { bottom:16px; right:18px; }
.sd-hang { transform-origin:top center; animation:sdSway 5s ease-in-out infinite; }
.sd--right.sd-hang { animation-delay:-2.5s; }
@keyframes sdSway { 0%,100% { transform:rotate(-2.2deg); } 50% { transform:rotate(2.2deg); } }
.sd-float, .sd-drift { animation:sdFloat 6s ease-in-out infinite; }
.sd--right.sd-drift { animation-delay:-1.5s; } .sd--bl.sd-drift { animation-delay:-3s; } .sd--br.sd-drift { animation-delay:-4.5s; }
@keyframes sdFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(7px); } }
.sd-glow { animation:sdGlow 2.4s ease-in-out infinite; }
@keyframes sdGlow { 0%,100% { filter:drop-shadow(0 0 6px rgba(240,162,58,.45)); } 50% { filter:drop-shadow(0 0 15px rgba(240,162,58,.85)); } }
.sd-spin { animation:sdSpin 44s linear infinite; }
@keyframes sdSpin { to { transform:rotate(360deg); } }
.sd-twinkle { animation:sdTwinkle 2.6s ease-in-out infinite; }
.sd--right.sd-twinkle { animation-delay:-1.3s; }
@keyframes sdTwinkle { 0%,100% { opacity:.5; transform:scale(.92); } 50% { opacity:1; transform:scale(1.05); } }
.sd-flip { transform:scaleX(-1); }
@media (max-width:760px) {
  .season-decor .sd svg { transform:scale(.6); transform-origin:top center; }
  .sd--left { left:0; } .sd--right { right:0; } .sd--left, .sd--right { opacity:.65; }
}
@media (prefers-reduced-motion: reduce) { .sd-hang, .sd-float, .sd-drift, .sd-glow, .sd-spin, .sd-twinkle { animation:none; } }
/* subtle festival background surfaces (per theme; the gold accent stays the same) */
:root[data-season="ramadan"], :root[data-season="eid"] { --black:#19120C; --black-2:#1F160F; --espresso:#231A12; --coffee:#2A2016; --coffee-2:#342819; }
:root[data-season="diwali"] { --black:#1C130A; --black-2:#22180D; --espresso:#271B0F; --coffee:#2E2113; --coffee-2:#392919; }
:root[data-season="christmas"] { --black:#0F140F; --black-2:#141B15; --espresso:#17201A; --coffee:#1C271F; --coffee-2:#243026; }
:root[data-season="holi"] { --black:#160F15; --black-2:#1C141B; --espresso:#201620; --coffee:#271C27; --coffee-2:#312431; }
:root[data-season="independence"] { --black:#12140F; --black-2:#181B13; --espresso:#1C2016; --coffee:#22271A; --coffee-2:#2B3121; }
:root[data-season="newyear"] { --black:#141109; --black-2:#1A160D; --espresso:#1F1A10; --coffee:#261F13; --coffee-2:#302818; }
/* Festival BACKGROUND patterns — each festival's own motif woven into the page like the floral texture
   (moon+stars for Ramadan, sheep+crescent for Eid, diyas for Diwali, …) */
:root[data-season="ramadan"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C8A24C' fill-opacity='0.08'%3E%3Cpath d='M46 34a25 25 0 1 0 0 50 19 19 0 1 1 0-50z'/%3E%3Cpath d='M112 104l2.5 6 6 2.5-6 2.5-2.5 6-2.5-6-6-2.5 6-2.5z'/%3E%3Cpath d='M120 40l2 4.8 4.8 2-4.8 2-2 4.8-2-4.8-4.8-2 4.8-2z'/%3E%3Cpath d='M28 108l1.7 4.2 4.2 1.7-4.2 1.7-1.7 4.2-1.7-4.2-4.2-1.7 4.2-1.7z'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="eid"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C8A24C' fill-opacity='0.09'%3E%3Cpath d='M40 104a7 7 0 0 1 -6 -7 7 7 0 0 1 5 -7 6 6 0 0 1 9 -4 6 6 0 0 1 10 0 6 6 0 0 1 9 3 7 7 0 0 1 4 8 7 7 0 0 1 -6 6z'/%3E%3Ccircle cx='36' cy='96' r='5'/%3E%3Cpath d='M42 104h2v7h-2zM49 104h2v7h-2zM58 104h2v7h-2zM65 104h2v7h-2z'/%3E%3Cpath d='M118 36a16 16 0 1 0 0 32 12 12 0 1 1 0-32z'/%3E%3Cpath d='M28 40l1.7 4.2 4.2 1.7-4.2 1.7-1.7 4.2-1.7-4.2-4.2-1.7 4.2-1.7z'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="diwali"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C8A24C' fill-opacity='0.09'%3E%3Cpath d='M33 50c-3-4-3-7 0-11 3 4 3 7 0 11z'/%3E%3Cpath d='M18 50h30a15 6 0 0 1 -30 0z'/%3E%3Cpath d='M107 118c-3-4-3-7 0-11 3 4 3 7 0 11z'/%3E%3Cpath d='M92 118h30a15 6 0 0 1 -30 0z'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="holi"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C8A24C' fill-opacity='0.09'%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Ccircle cx='58' cy='54' r='5'/%3E%3Ccircle cx='110' cy='106' r='9'/%3E%3Ccircle cx='94' cy='112' r='5'/%3E%3Ccircle cx='120' cy='40' r='4'/%3E%3Ccircle cx='32' cy='110' r='4'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="christmas"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C8A24C' fill-opacity='0.08'%3E%3Cpath d='M40 32l-11 18h6l-9 15h28l-9-15h6z'/%3E%3Crect x='37' y='65' width='6' height='7'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C8A24C' stroke-opacity='0.12' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M110 96v26M97 109h26M101 100l18 18M119 100l-18 18'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="newyear"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg stroke='%23C8A24C' stroke-opacity='0.12' stroke-width='1.2' stroke-linecap='round' stroke-dasharray='1.5 6'%3E%3Cpath d='M42 24v32M26 40h32M30 28l24 24M54 28l-24 24'/%3E%3Cpath d='M108 96v22M97 107h22M100 99l16 16M116 99l-16 16'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season="independence"] { --season-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%23C8A24C' stroke-opacity='0.12' stroke-width='1.2'%3E%3Ccircle cx='46' cy='46' r='14'/%3E%3Ccircle cx='46' cy='46' r='3'/%3E%3Cpath d='M46 32v28M32 46h28M36 36l20 20M56 36l-20 20'/%3E%3C/g%3E%3Cg fill='%23C8A24C' fill-opacity='0.1'%3E%3Cpath d='M110 102l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-season] body,
:root[data-season] .hero__panel--2,
:root[data-season] .cta::before {
  background-image: var(--season-pattern) !important;
  background-size: 150px auto !important; background-repeat: repeat !important;
}
:root[data-season] body { background-attachment: fixed; }
/* Ramadan: a real glowing-lantern photo as the hero + CTA background (lanterns IN the background, not hanging on top) */
:root[data-season="ramadan"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(17,11,7,.92) 0%, rgba(17,11,7,.80) 32%, rgba(18,12,8,.58) 72%, rgba(20,13,8,.50) 100%),
    url("bg-ramadan.jpg") center 55% / cover no-repeat !important;
}
:root[data-season="ramadan"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="ramadan"] .cta::before {
  background:
    linear-gradient(rgba(17,11,7,.80), rgba(17,11,7,.88)),
    url("bg-ramadan.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* Eid (Bakrid): glowing sheep + lantern night photo as the hero + CTA background */
:root[data-season="eid"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(12,12,14,.88) 0%, rgba(12,12,14,.76) 32%, rgba(14,13,15,.54) 72%, rgba(14,13,15,.46) 100%),
    url("bg-eid.jpg") center 44% / cover no-repeat !important;
}
:root[data-season="eid"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="eid"] .cta::before {
  background:
    linear-gradient(rgba(12,12,14,.76), rgba(12,12,14,.86)),
    url("bg-eid.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* Christmas: lit tree + warm golden bokeh (a bright image, so a warm dark scrim keeps text readable) */
:root[data-season="christmas"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(13,9,6,.93) 0%, rgba(13,9,6,.82) 34%, rgba(15,10,7,.58) 74%, rgba(15,10,7,.50) 100%),
    url("bg-christmas.jpg") 44% 54% / cover no-repeat !important;
}
:root[data-season="christmas"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="christmas"] .cta::before {
  background:
    linear-gradient(rgba(13,9,6,.82), rgba(13,9,6,.90)),
    url("bg-christmas.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* Independence / Republic Day: tricolor smoke on black (dark treatment) */
:root[data-season="independence"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(8,10,9,.88) 0%, rgba(8,10,9,.72) 34%, rgba(9,11,10,.48) 74%, rgba(9,11,10,.40) 100%),
    url("bg-independence.jpg") center 48% / cover no-repeat !important;
}
:root[data-season="independence"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="independence"] .cta::before {
  background:
    linear-gradient(rgba(8,10,9,.72), rgba(8,10,9,.84)),
    url("bg-independence.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* Holi: colour-powder burst on black (dark treatment) */
:root[data-season="holi"] .hero__panel--1 {
  background:
    linear-gradient(100deg, rgba(8,8,10,.90) 0%, rgba(8,8,10,.62) 44%, rgba(9,9,12,.34) 100%),
    url("bg-holi.jpg") center 50% / cover no-repeat !important;
}
:root[data-season="holi"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="holi"] .cta::before {
  background:
    linear-gradient(rgba(8,8,10,.66), rgba(8,8,10,.80)),
    url("bg-holi.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* New Year: fireworks over a night sky (dark treatment) */
:root[data-season="newyear"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(10,10,13,.80) 0%, rgba(10,10,13,.60) 34%, rgba(11,11,14,.40) 74%, rgba(11,11,14,.34) 100%),
    url("bg-newyear.jpg") center 52% / cover no-repeat !important;
}
:root[data-season="newyear"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="newyear"] .cta::before {
  background:
    linear-gradient(rgba(10,10,13,.66), rgba(10,10,13,.80)),
    url("bg-newyear.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* Diwali: lit diyas + warm bokeh photo (dark treatment) */
:root[data-season="diwali"] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(14,9,5,.92) 0%, rgba(14,9,5,.80) 30%, rgba(16,10,6,.46) 72%, rgba(16,10,6,.34) 100%),
    url("bg-diwali.jpg") center 88% / cover no-repeat !important;
}
:root[data-season="diwali"] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-season="diwali"] .cta::before {
  background:
    linear-gradient(rgba(14,9,5,.74), rgba(14,9,5,.86)),
    url("bg-diwali.jpg") center center / cover no-repeat !important;
  opacity: 1 !important;
}
/* --- festival/seasonal themes in LIGHT mode: light content surfaces, but the SAME
       festival PHOTO backgrounds as dark mode on the hero + CTA, under a LIGHT scrim
       (mirrors the dark theme's dark scrim) so the dark light-theme text stays readable --- */
:root[data-theme="light"][data-season] { --black: #FFFFFF; --black-2: #F8F5EF; --espresso: #F2ECE2; --coffee: #FFFFFF; --coffee-2: #F7F2EA; }
/* each season's hero/cta photo + focal point (reused from the dark-mode treatment) */
:root[data-season="ramadan"] { --season-bg: url("bg-ramadan.jpg"); --season-pos: 50% 55%; }
:root[data-season="eid"] { --season-bg: url("bg-eid.jpg"); --season-pos: 50% 44%; }
:root[data-season="diwali"] { --season-bg: url("bg-diwali.jpg"); --season-pos: 50% 88%; }
:root[data-season="holi"] { --season-bg: url("bg-holi.jpg"); --season-pos: 50% 50%; }
:root[data-season="christmas"] { --season-bg: url("bg-christmas.jpg"); --season-pos: 44% 54%; }
:root[data-season="newyear"] { --season-bg: url("bg-newyear.jpg"); --season-pos: 50% 52%; }
:root[data-season="independence"] { --season-bg: url("bg-independence.jpg"); --season-pos: 50% 48%; }
:root[data-theme="light"][data-season] .hero__panel--1 {
  background:
    linear-gradient(180deg, rgba(255,250,242,.78) 0%, rgba(255,250,242,.60) 38%, rgba(255,251,245,.36) 72%, rgba(255,252,247,.28) 100%),
    var(--season-bg) var(--season-pos, 50% 50%) / cover no-repeat !important;
}
:root[data-theme="light"][data-season] .hero__panel--2 { background-image: none !important; opacity: 1 !important; }
:root[data-theme="light"][data-season] .cta { background: linear-gradient(160deg, #FFFFFF 0%, #F6F1E8 100%) !important; color: var(--cream); }
:root[data-theme="light"][data-season] .cta::before {
  background:
    linear-gradient(rgba(255,250,242,.62), rgba(255,250,242,.74)),
    var(--season-bg) center center / cover no-repeat !important;
  opacity: 1 !important;
}

/* Hide the Netlify "Powered by Netlify" badge iframe (injected by the host, not our markup) */
#nl-badge-frame { display: none !important; }

/* ========================================================= */
/* Header icon buttons: search + theme toggle (injected by script.js) */
.hdr-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: none; border: 0; color: var(--cream); cursor: pointer; padding: 0; margin-left: .25rem; transition: color .25s var(--ease), background .25s var(--ease); }
.hdr-icon:hover { color: var(--gold); background: var(--coffee); }
.hdr-icon svg { width: 21px; height: 21px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: none; }

/* light/dark toggle shown INSIDE the mobile slide-out menu (hidden on desktop) */
.nav-theme { display: none; align-items: center; gap: .6rem; background: none; border: 0; cursor: pointer; color: var(--muted); font-family: var(--font-body); font-size: 1rem; letter-spacing: .08em; transition: color .3s var(--ease); }
.nav-theme:hover { color: var(--gold); }
.nav-theme svg { flex: 0 0 auto; }
@media (max-width: 720px) {
  #themeToggle { display: none; }
  .nav-theme { display: flex; width: 100%; padding: .6rem 0; font-size: .88rem; gap: .5rem; justify-content: flex-end; align-items: center; }
  .nav-theme svg { width: 17px; height: 17px; color: var(--gold); order: 2; }
  /* Push everything to the right off the STATIC brand (not a JS-injected icon), so the
     header layout is stable from first paint — no flash of the hamburger sitting next to
     the logo before the search/wishlist/cart icons get injected. */
  .brand { margin-right: auto; }
  #searchBtn { margin-left: 0; }
}

/* Site-wide search panel — drops down under the sticky header */
.site-search { position: sticky; top: 76px; z-index: 49; background: #15100D; border-bottom: 1px solid transparent; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), border-color .3s var(--ease); }
.site-search.open { max-height: 86px; border-bottom-color: var(--line); }
.site-search__in { position: relative; padding: .7rem 0; }
/* one cohesive pill: magnifier + input + close all inside a single rounded bar */
.site-search__bar { display: flex; align-items: center; gap: .5rem; background: var(--coffee); border: 1px solid var(--line); border-radius: 30px; padding: .12rem .35rem .12rem .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.site-search__bar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,76,.16); }
.site-search__ic { color: var(--gold); display: grid; place-items: center; flex: 0 0 auto; }
.site-search input { flex: 1 1 auto; min-width: 0; background: none; border: 0; color: var(--cream); font-family: var(--font-body); font-size: 1rem; padding: .62rem .2rem; outline: none; }
.site-search input::placeholder { color: var(--muted); }
.site-search__close { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; flex: 0 0 auto; border-radius: 50%; transition: color .2s var(--ease), background .2s var(--ease); }
.site-search__close:hover { color: var(--gold); background: rgba(200,162,76,.12); }
/* hide the browser's native search clear (×) — the pill's own close button is enough */
.site-search input[type="search"] { appearance: none; -webkit-appearance: none; }
.site-search input[type="search"]::-webkit-search-cancel-button,
.site-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }

/* ---- search auto-suggest dropdown (attached to the pill) ---- */
.site-search.has-suggest { overflow: visible; }
.search-suggest { display: none; position: absolute; left: 0; right: 0; top: calc(100% - .25rem); background: var(--espresso); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); z-index: 60; max-height: 62vh; overflow-y: auto; padding: .3rem; }
.site-search.has-suggest .search-suggest { display: block; } /* only render the box when there are suggestions */
.search-suggest__item { display: flex; align-items: center; gap: .75rem; padding: .5rem .55rem; color: var(--cream); border-radius: 12px; transition: background .18s var(--ease); }
.search-suggest__item + .search-suggest__item { margin-top: .1rem; }
.search-suggest__item:hover, .search-suggest__item.is-active { background: var(--coffee); }
.search-suggest__item img { width: 42px; height: 50px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: var(--coffee); }
.search-suggest__nm { flex: 1 1 auto; min-width: 0; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest__cat { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: .05rem; }
.search-suggest__pr { flex: 0 0 auto; font-size: .88rem; color: var(--gold-soft); font-weight: 500; }
.search-suggest__empty { padding: .7rem .8rem; color: var(--muted); font-size: .85rem; text-align: center; }

/* Light-theme fixes for surfaces that hardcode dark colours */
:root[data-theme="light"] .site-header { background: #FAF5EC; }
:root[data-theme="light"] .site-search { background: #FAF5EC; }
:root[data-theme="light"] .hero__panel--1 { background: radial-gradient(120% 90% at 82% 8%, rgba(200,162,76,.13), transparent 55%), radial-gradient(90% 80% at 8% 92%, rgba(186,145,66,.07), transparent 60%), linear-gradient(160deg, #FFFFFF 0%, #FEFCF9 55%, #FFFFFF 100%); }
:root[data-theme="light"] .hero__panel--2 { opacity: .45; }
:root[data-theme="light"] .wish { background: rgba(255,255,255,.74); }
:root[data-theme="light"] .badge-tag--best { background: #2A2017; color: #F3E9DC; }
:root[data-theme="light"] .badge-tag--sold { background: rgba(250,245,236,.86); }
:root[data-theme="light"] .cart-overlay, :root[data-theme="light"] .filter-sheet__backdrop { background: rgba(70,52,28,.4); }
:root[data-theme="light"] .nav a.nav__cta { color: var(--dark-ink); }
/* light theme: buttons use a warm coffee-brown (dark theme keeps the gold gradient) */
:root[data-theme="light"] .btn--solid { background: linear-gradient(135deg, #7C5D38 0%, #654A2B 100%); color: #F5EAD3; box-shadow: 0 6px 18px rgba(92,68,34,.22); }
:root[data-theme="light"] .btn--solid:hover { background: linear-gradient(135deg, #8C6B40 0%, #6E5230 100%); box-shadow: 0 12px 28px rgba(92,68,34,.34); }
:root[data-theme="light"] .btn--ghost { color: #5E4527; border-color: #8A6A44; }
:root[data-theme="light"] .btn--ghost:hover { background: #6E5230; color: #F5EAD3; border-color: #6E5230; }
:root[data-theme="light"] .btn--small:hover { background: #6E5230; color: #F5EAD3; border-color: #6E5230; }
:root[data-theme="light"] .filter-fab { background: linear-gradient(135deg, #7C5D38, #654A2B); color: #F5EAD3; border-color: #6E5230; }
:root[data-theme="light"] .contact-demo .demo-go { background: linear-gradient(135deg, #7C5D38, #654A2B); color: #F5EAD3; }
:root[data-theme="light"] .ptab.active { background: linear-gradient(135deg, #7C5D38, #654A2B); color: #F5EAD3; border-color: #6E5230; box-shadow: 0 6px 16px rgba(92,68,34,.28); }
:root[data-theme="light"] .ptab:hover { border-color: #8A6A44; }
/* "View your earlier orders" link inside the cart drawer */
.cart-orders-link { display: block; text-align: center; margin-top: .9rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); transition: color .25s var(--ease); }
.cart-orders-link:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.cart-empty .cart-orders-link { margin-top: 1.4rem; }

/* contact / "Let's find your piece" block — hardcoded dark gradient → white in light theme */
:root[data-theme="light"] .cta { background: linear-gradient(160deg, #FFFFFF 0%, #F6F1E8 100%); color: var(--cream); }
:root[data-theme="light"] .cta .eyebrow { color: var(--gold); }
:root[data-theme="light"] .cta::before { opacity: .5; }

/* ===== global: kill the small horizontal scroll on mobile ===== */
html { overflow-x: clip; }

/* ================= Mobile refinements (phones) ================= */
@media (max-width: 600px) {
  body { font-size: .94rem; }
  /* slimmer sticky header; icons + hamburger tight to the right corner */
  .header__inner { min-height: 56px; }
  .brand__img { height: 36px; }
  .site-search { top: 56px; }
  /* drop backdrop-filter on mobile — blurring a sticky bar repaints every scroll frame (flicker) */
  .site-header, .site-search, .shop-toolbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  :root[data-theme="light"] .site-header, :root[data-theme="light"] .site-search { background: #FAF5EC; }
  :root[data-theme="dark"] .site-header, :root[data-theme="dark"] .site-search { background: #15100D; }
  .hdr-icon, .cart-btn, .wish-btn { width: 32px; height: 32px; margin-left: 1px; }
  .hdr-icon svg, .cart-btn svg, .wish-btn svg { width: 18px; height: 18px; }
  .nav-toggle { padding: 6px; margin-left: 2px; }
  .announce { font-size: .64rem; padding: .5rem 0; }

  /* hero: smaller title/sub + compact (not full-width) buttons, centered on phones */
  .hero__inner { gap: 1.5rem; padding-top: 16px; padding-bottom: 20px; text-align: center; }
  .hero__text { text-align: center; }
  .hero__eyebrow, .hero .eyebrow { justify-content: center; }
  .hero__title { font-size: clamp(1.85rem, 8.5vw, 2.4rem); margin-bottom: .85rem; }
  .hero__sub { font-size: .9rem; margin-bottom: 1.15rem; margin-left: auto; margin-right: auto; }
  /* hero: Shop + Order buttons side by side (equal width) */
  .hero__actions { gap: .5rem; flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; width: auto; padding: .72rem .45rem; font-size: .6rem; letter-spacing: .08em; white-space: normal; line-height: 1.25; text-align: center; }
  .cta__actions .btn { width: auto; padding: .7rem 1.3rem; font-size: .68rem; }
  .eyebrow { font-size: .66rem; margin-bottom: .7rem; }

  /* tighter vertical rhythm + smaller buttons on phones */
  .collections, .lookbook, .journal, .story, .cta { padding: 1.7rem 0; }
  .btn { padding: .72rem 1.5rem; font-size: .7rem; }
  .journal__cta { margin-top: 1.2rem; }

  /* section heads + values smaller */
  .section-head { margin-bottom: 1.2rem; }
  .section-head h2 { font-size: 1.8rem; }
  .section-head__sub { font-size: .88rem; }
  /* values: compact so it's a light skim, not a heavy read before shopping */
  .values__grid { padding: 1.7rem 10px; gap: 1rem; }
  .value h3 { font-size: 1.12rem; margin-bottom: .2rem; }
  .value p { font-size: .8rem; line-height: 1.4; }

  /* collections: 2 per row + shorter, tighter body */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .cat__img { aspect-ratio: 3 / 4; }
  .cat__body { padding: .65rem .75rem .85rem; }
  .cat__body h3 { font-size: 1.05rem; margin-bottom: .2rem; }
  .cat__body p { font-size: .74rem; min-height: 0; margin-bottom: .5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .link-arrow { font-size: .66rem; letter-spacing: .12em; }

  /* story: smaller heading + Say hello button */
  .story__inner { gap: 1.6rem; }
  .story__text h2 { font-size: 1.8rem; margin-bottom: .9rem; }
  .story__text p { font-size: .9rem; }
  .story__text .btn { padding: .7rem 1.3rem; font-size: .68rem; display: flex; width: -moz-fit-content; width: fit-content; margin: .6rem auto 0; }
  .btn--small { padding: .62rem 1rem; font-size: .64rem; }
}
@media (max-width: 480px) {
  /* keep collections 2-up and buttons compact (override earlier 1-col / full-width rules) */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn, .cta__actions .btn { width: auto; }
}

/* ===== Mobile: compact footer (brand + social on one row, nav 3-up below) ===== */
@media (max-width: 600px) {
  .site-footer { padding: .85rem 0 .45rem; }
  .footer__inner { display: grid; grid-template-columns: 1fr auto; column-gap: .8rem; row-gap: .5rem; align-items: center; padding-bottom: .55rem; }
  .footer__brand { grid-column: 1; grid-row: 1; gap: .1rem; }
  .footer__logo-img { height: 24px; }
  .footer__tag { font-size: .8rem; }
  .footer__social { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: .35rem; }
  .footer__social a.fsoc { width: 31px; height: 31px; }
  .footer__social a.fsoc svg { width: 15px; height: 15px; }
  /* nav in a 3-column grid: row 1 = Shop / Size Chart / FAQ, row 2 = Shipping / Track order / Returns
     (Track order sits in the middle column), each link centered in its cell */
  .footer__nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem .4rem; justify-items: center; text-align: center; border-top: 1px solid var(--line-soft); padding-top: .6rem; margin-top: .1rem; }
  .footer__nav a { font-size: .66rem; }
  .footer__base { padding-top: .45rem; font-size: .64rem; }
}
