/* REDS — jewellery retail prototype */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --midnight: #0d1220;
  --cream: #ffffff;
  --coral: #e36a4a;
  --lavender: #c7b6ef;
  --butter: #f0c75e;
  --pink: #f7d6e0;
  --pink-deep: #e85a8a;
  --ink: #12141c;
  --muted: #6b6570;
  --line: #ebe8e4;
  --white: #ffffff;
  --paper: #ffffff;
  --catalogue: #ffffff;
  --success: #2f6b4a;
  --font-display: "Syne", system-ui, sans-serif;
  --font: "Manrope", system-ui, sans-serif;
  --max: 1360px;
  --pad: clamp(1rem, 3vw, 2rem);
  --header: 4.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 22px 50px rgba(13, 18, 32, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: .5rem; z-index: 100;
  background: var(--midnight); color: #fff; padding: .5rem 1rem;
}
.skip:focus { left: var(--pad); }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.kinetic span {
  display: inline-block;
  opacity: 0; transform: translateY(110%);
  animation: kineticIn .7s var(--ease) forwards;
}
@keyframes kineticIn {
  to { opacity: 1; transform: none; }
}

/* Announce */
.announce {
  background: var(--midnight); color: #fff;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-align: center; padding: .55rem var(--pad);
}
.announce em { font-style: normal; color: var(--butter); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: .25s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(13, 18, 32, 0.06);
}
.header__row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem; min-height: var(--header);
}
.header__left, .header__right { display: flex; align-items: center; gap: .15rem; }
.header__right { justify-content: flex-end; }
.logo {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; line-height: 1;
}
.logo span { color: var(--coral); }
.nav { display: flex; align-items: center; gap: .1rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .65rem .7rem; font-size: .82rem; font-weight: 750;
  letter-spacing: .02em; text-transform: uppercase;
}
.nav__link:hover { color: var(--coral); }
.nav__chevron { width: .7rem; height: .7rem; opacity: .5; }
.menu-toggle { display: none; }
.icon-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: grid; place-items: center; position: relative;
}
.icon-btn:hover { background: rgba(13,18,32,.06); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn__count {
  position: absolute; top: .1rem; right: .05rem;
  min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem;
  border-radius: 999px; background: var(--coral); color: #fff;
  font-size: .65rem; font-weight: 800; display: grid; place-items: center;
}
.search-trigger {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem .5rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .78rem; font-weight: 650; margin-right: .35rem;
  min-width: min(100%, 13rem); color: var(--muted);
}
.search-trigger span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-trigger svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }
.search-trigger:hover { color: var(--ink); background: var(--butter); }

/* Colour mega menu */
.dropdown { position: relative; }
.mega {
  position: absolute; top: calc(100% + .2rem); left: 0; z-index: 40;
  width: min(94vw, 62rem); padding: 0;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: none;
  grid-template-columns: repeat(5, 1fr); overflow: hidden;
}
.dropdown.is-open .mega { display: grid; animation: panelIn .35s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.mega__col {
  padding: 1rem .9rem 1.15rem;
  display: grid; gap: .45rem; align-content: start;
  min-height: 16rem; color: var(--ink);
  transition: background .35s, color .35s;
}
.mega__col[data-tone="coral"] { background: var(--coral); color: #fff; }
.mega__col[data-tone="lavender"] { background: var(--lavender); }
.mega__col[data-tone="butter"] { background: var(--butter); }
.mega__col[data-tone="midnight"] { background: var(--midnight); color: #fff; }
.mega__col[data-tone="cream"] { background: var(--cream); }
.mega__shot {
  aspect-ratio: 1; margin: -.35rem -.35rem .55rem;
  background: center/cover no-repeat; border: 2px solid rgba(0,0,0,.08);
}
.mega h4 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .2rem;
}
.mega a {
  display: block; padding: .28rem 0; font-size: .88rem; font-weight: 600;
  opacity: .88;
}
.mega a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.9rem; padding: .7rem 1.35rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; border: 1px solid transparent;
  transition: .22s var(--ease); cursor: pointer;
}
.btn--primary { background: var(--midnight); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--accent { background: var(--coral); color: #fff; }
.btn--accent:hover { filter: brightness(.95); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--butter); }
.btn--butter { background: var(--butter); color: var(--ink); }
.btn--sm { min-height: 2.3rem; padding: .4rem .9rem; font-size: .74rem; }
.btn--block { width: 100%; }

.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.eyebrow {
  font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral); margin-bottom: .4rem;
}
.section__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  text-transform: uppercase;
}
.section__lead { margin-top: .45rem; color: var(--muted); max-width: 42ch; }
.link-arrow { font-size: .88rem; font-weight: 800; }
.link-arrow:hover { color: var(--coral); }

/* ===== HERO — two-column with rotating visuals ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(26rem, 68vh, 38rem);
  background: #f7d6e0;
}
.hero-split__copy {
  display: grid;
  align-content: center;
  gap: .85rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  color: var(--ink);
}
.hero-split__kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.hero-split h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 12ch;
}
.hero-split__lead {
  max-width: 34ch;
  font-size: 1rem;
  color: rgba(18, 20, 28, .78);
}
.hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .2rem;
}
.hero-split__actions .btn--ghost {
  border-color: rgba(18, 20, 28, .35);
  color: var(--ink);
}
.hero-split__actions .btn--ghost:hover { background: rgba(255,255,255,.45); }
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .85rem;
  margin-top: .55rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(18, 20, 28, .12);
}
.hero-nav a {
  position: relative;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(18, 20, 28, .72);
  padding: .2rem 0;
  transition: color .2s;
}
.hero-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}
.hero-nav a:hover::after,
.hero-nav a:focus-visible::after { transform: scaleX(1); }
.hero-split__visual {
  position: relative;
  background: #c45a78;
  min-height: 22rem;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 1.75rem);
}
.hero-split__frame {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #a94466;
  box-shadow: 0 18px 40px rgba(74, 18, 36, .28);
}
.hero-split__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 4s var(--ease);
}
.hero-split__frame img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-split__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.hero-split__dots button {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 0;
  padding: 0;
}
.hero-split__dots button.is-active { background: #fff; }

/* Shoppable hotspot stage */
.hotspot-stage {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 0;
  background: var(--midnight); color: #fff; overflow: hidden;
}
.hotspot-stage__media {
  position: relative; min-height: 26rem;
  background: var(--midnight) center/cover no-repeat;
}
.hotspot {
  position: absolute; width: 1.4rem; height: 1.4rem; border-radius: 999px;
  background: var(--butter); border: 2px solid #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(240, 199, 94, .5);
  animation: pulse 2s ease-in-out infinite;
}
.hotspot.is-active { background: var(--coral); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,199,94,.45); }
  50% { box-shadow: 0 0 0 12px rgba(240,199,94,0); }
}
.hotspot-stage__copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: .85rem; align-content: center;
  background: linear-gradient(160deg, #161c2e, #0d1220);
}
.hotspot-stage__copy h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; text-transform: uppercase; line-height: 1.05;
}
.hot-item {
  display: grid; grid-template-columns: 3.8rem 1fr auto; gap: .7rem; align-items: center;
  padding: .7rem; border: 1px solid rgba(255,255,255,.14); text-align: left; width: 100%;
  color: #fff; transition: .2s;
}
.hot-item img { width: 3.8rem; height: 3.8rem; object-fit: cover; background: #222; }
.hot-item strong { display: block; font-size: .9rem; }
.hot-item span { color: rgba(255,255,255,.65); font-size: .78rem; }
.hot-item.is-active { border-color: var(--butter); background: rgba(240,199,94,.1); }

/* Gift finder */
.gift-finder {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
}
.gift-finder__head {
  padding: 1.5rem var(--pad) 1rem;
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem;
}
.gift-tabs {
  display: flex; flex-wrap: wrap; gap: .15rem 1.25rem; padding: 0 var(--pad) 1rem;
  border-bottom: 1px solid var(--line); margin: 0 var(--pad) 1rem;
}
.gift-tab {
  position: relative;
  padding: .55rem 0 .75rem;
  font-weight: 750; font-size: .82rem;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 0;
}
.gift-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--pink-deep); transform: scaleX(0); transition: transform .25s var(--ease);
}
.gift-tab:hover { color: var(--ink); }
.gift-tab.is-active { color: var(--ink); }
.gift-tab.is-active::after { transform: scaleX(1); }
.gift-panel { display: none; padding: 0 var(--pad) 1.5rem; }
.gift-panel.is-active { display: block; animation: panelIn .35s var(--ease); }

/* Product rails / cards — catalogue stays clean */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14.5rem, 17.5rem);
  gap: .9rem; overflow-x: auto; padding-bottom: .6rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .35rem; }
.rail-nav button {
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 999px;
  display: grid; place-items: center; background: var(--white);
}
.rail-nav button:hover { background: var(--butter); }
.rail-nav svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.8; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem .9rem;
}
.product { display: grid; gap: .65rem; position: relative; }
.product__media {
  position: relative; aspect-ratio: .9; overflow: hidden;
  background: var(--catalogue);
}
.product__hit {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: transparent; cursor: pointer; text-align: left;
}
.product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s, transform .55s var(--ease);
}
.product__hit img + img { position: absolute; inset: 0; opacity: 0; }
.product:hover .product__hit img:first-of-type { transform: scale(1.04); }
.product:hover .product__hit img + img { opacity: 1; }
.product__badge {
  position: absolute; left: .6rem; top: .6rem; z-index: 2;
  background: var(--midnight); color: #fff;
  font-size: .65rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .28rem .5rem;
}
.product__badge--sale { background: var(--coral); }
.product__wish {
  position: absolute; right: .5rem; top: .5rem; z-index: 2;
  width: 2.15rem; height: 2.15rem; border-radius: 999px;
  background: rgba(255,255,255,.95); display: grid; place-items: center;
}
.product__wish svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.8; }
.product__wish.is-on { color: var(--coral); }
.product__wish.is-on svg { fill: currentColor; }
.product__quick {
  position: absolute; left: .55rem; right: .55rem; bottom: .55rem; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: .25s var(--ease);
}
.product:hover .product__quick { opacity: 1; transform: none; }
.product__brand {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.product__title {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  font-size: .92rem; font-weight: 700; line-height: 1.3;
  text-align: left; cursor: pointer; color: inherit;
}
.product__title:hover { color: var(--pink-deep); }
.product__meta {
  display: flex; flex-wrap: wrap; gap: .35rem .65rem;
  font-size: .74rem; color: var(--muted); font-weight: 600;
}
.product__meta em { font-style: normal; color: var(--ink); }
.product__price { display: flex; align-items: baseline; gap: .4rem; font-weight: 800; }
.product__price s { color: var(--muted); font-weight: 500; font-size: .86rem; }
.product__price em { font-style: normal; color: var(--coral); font-size: .78rem; }
.swatches { display: flex; gap: .3rem; }
.swatch {
  width: .85rem; height: .85rem; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15); cursor: pointer;
}
.swatch.is-on { outline: 2px solid var(--midnight); outline-offset: 1px; }

/* Campaign mosaic */
.mosaic {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: .65rem; min-height: 28rem;
}
.mosaic a {
  position: relative; overflow: hidden; min-height: 12rem;
  display: grid; align-content: end; padding: 1.25rem; color: #fff;
  border-radius: 14px; background: #1a1f2e;
}
.mosaic a:first-child { grid-row: 1 / -1; }
.mosaic__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.04); transition: transform .8s var(--ease);
}
.mosaic a:hover .mosaic__bg { transform: scale(1); }
.mosaic a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(13,18,32,.78));
}
.mosaic a > *:not(.mosaic__bg) { position: relative; z-index: 1; }
.mosaic strong {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800; text-transform: uppercase;
}

/* Pink accent rail */
.pink-band {
  background: var(--pink);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid; grid-template-columns: minmax(12rem, 16rem) 1fr;
  gap: 1.25rem; align-items: center;
}
.pink-band__copy h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.pink-band__copy p { color: var(--muted); margin-bottom: 1rem; font-size: .92rem; }
.pink-band .rail {
  grid-auto-columns: minmax(12rem, 14.5rem);
}
.pink-band .product__media {
  border-radius: 12px; background: #fff;
}
.pink-band .product { background: #fff; border-radius: 14px; padding: .55rem .55rem .85rem; }

/* Marquee */
.marquee {
  overflow: hidden; background: var(--midnight); color: var(--butter);
  padding: .85rem 0;
}
.marquee__track {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Listing — clean catalogue */
.crumb {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  font-size: .8rem; color: var(--muted); margin-bottom: .85rem;
}
.listing-hero { padding: 1.5rem 0 .75rem; background: var(--catalogue); }
.listing-hero__row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: end; gap: 1rem;
}
.listing-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.03em;
}
.listing-hero p { margin-top: .35rem; color: var(--muted); }
.sort {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700;
}
.sort select {
  border: 1px solid var(--line); background: var(--white); border-radius: 10px;
  padding: .45rem .7rem; min-height: 2.45rem;
}
.filter-bar {
  display: flex; align-items: center; gap: .65rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  background: var(--catalogue);
}
.filter-bar__all {
  display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0;
  min-height: 2.55rem; padding: .45rem .95rem;
  background: var(--midnight); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.filter-bar__all em {
  font-style: normal; background: var(--coral);
  min-width: 1.15rem; height: 1.15rem; border-radius: 999px;
  display: grid; place-items: center; font-size: .68rem;
}
.filter-chips { display: flex; gap: .15rem 1.1rem; overflow-x: auto; flex: 1; scrollbar-width: none; align-items: center; }
.filter-chips::-webkit-scrollbar { display: none; }
.fchip {
  position: relative;
  flex-shrink: 0; padding: .45rem 0;
  border: 0; background: transparent;
  font-size: .82rem; font-weight: 700;
  color: var(--muted); letter-spacing: .02em;
}
.fchip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1.5px;
  background: var(--pink-deep); transform: scaleX(0); transition: transform .25s var(--ease);
}
.fchip:hover { color: var(--ink); }
.fchip.is-on { color: var(--ink); }
.fchip.is-on::after { transform: scaleX(1); }
.filter-clear { font-size: .8rem; font-weight: 800; text-decoration: underline; }
.listing-grid-wrap { padding: 1.5rem 0 3rem; background: var(--catalogue); }

.filter-drawer {
  position: fixed; top: 0; left: 0; z-index: 92;
  width: min(100%, 26rem); height: 100%;
  background: #fff; box-shadow: var(--shadow);
  transform: translateX(-105%); transition: transform .4s var(--ease);
  display: grid; grid-template-rows: auto 1fr auto;
}
.filter-drawer.is-open { transform: none; }
[data-filters-overlay] {
  position: fixed; inset: 0; z-index: 91; background: rgba(13,18,32,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
[data-filters-overlay].is-open { opacity: 1; pointer-events: auto; }
.filter-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line);
  background: #fff5f8; color: var(--ink);
}
.filter-drawer__head strong {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase;
}
.filter-drawer__body { overflow: auto; padding: .5rem 1.25rem 1.25rem; }
.filter-acc { border-bottom: 1px solid var(--line); padding: .25rem 0; }
.filter-acc summary {
  list-style: none; display: flex; justify-content: space-between;
  padding: 1rem 0; font-weight: 800; cursor: pointer; text-transform: uppercase;
  font-size: .82rem; letter-spacing: .06em;
}
.filter-acc summary::-webkit-details-marker { display: none; }
.filter-acc summary::after { content: "+"; }
.filter-acc[open] summary::after { content: "–"; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .35rem .9rem; padding-bottom: 1rem; }
.fpill {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem 0; border: 0; background: transparent;
  font-size: .84rem; font-weight: 650; cursor: pointer; color: var(--muted);
}
.fpill:has(input:checked) { color: var(--ink); }
.fpill:has(input:checked)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--pink-deep);
}
.fpill input { position: absolute; opacity: 0; pointer-events: none; }
.fpill span { opacity: .55; font-size: .72rem; }
.price-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center;
}
.price-row input {
  min-height: 2.55rem; border: 1px solid var(--line); background: var(--white);
  padding: .5rem .75rem;
}
.filter-drawer__foot {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: .55rem;
  padding: 1rem 1.25rem; border-top: 1px solid var(--line);
}

/* PDP */
.pdp {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem); padding: 1rem 0 3rem;
  background: var(--catalogue);
}
.gallery { display: grid; gap: .55rem; position: sticky; top: calc(var(--header) + .75rem); align-self: start; }
.gallery__main {
  aspect-ratio: 1; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.gallery__thumbs button {
  aspect-ratio: 1; overflow: hidden; border: 2px solid transparent;
  opacity: .7; background: var(--white);
}
.gallery__thumbs button.is-active { border-color: var(--midnight); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__brand {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.pdp h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800; line-height: 1.05; text-transform: uppercase; margin-bottom: .65rem;
}
.pdp__price {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: 1.35rem; font-weight: 800; margin-bottom: .4rem;
}
.pdp__price s { color: var(--muted); font-size: 1rem; font-weight: 500; }
.pdp__meta { color: var(--muted); font-size: .86rem; margin-bottom: 1rem; }
.pdp__facts { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.fact {
  padding: .35rem .65rem; background: var(--lavender); font-size: .74rem; font-weight: 750;
}
.finish-row { margin-bottom: 1.15rem; }
.finish-row strong {
  display: block; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .55rem;
}
.finish-swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.finish {
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.finish.is-active { border-color: var(--midnight); outline: 2px solid var(--butter); outline-offset: 2px; }
.stock { color: var(--success); font-size: .86rem; font-weight: 750; margin-bottom: 1rem; }
.pdp__actions { display: grid; gap: .55rem; margin-bottom: 1.15rem; }
.gift-addon {
  display: grid; grid-template-columns: 4rem 1fr auto; gap: .75rem; align-items: center;
  padding: 1rem; border: 1px solid var(--line); background: var(--white);
  margin-bottom: 1.15rem; border-radius: 12px;
}
.gift-addon img { width: 4rem; height: 4rem; object-fit: cover; }
.gift-addon strong { display: block; font-size: .92rem; margin-bottom: .1rem; }
.gift-addon p { color: var(--muted); font-size: .8rem; }
.gift-addon label { font-size: .82rem; font-weight: 800; display: flex; gap: .35rem; align-items: center; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; display: flex; justify-content: space-between;
  padding: 1rem 0; font-weight: 800; cursor: pointer; text-transform: uppercase;
  font-size: .82rem; letter-spacing: .05em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p, .accordion details table {
  padding-bottom: 1rem; color: var(--muted); font-size: .9rem;
}
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td {
  text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.spec th { color: var(--muted); width: 40%; }
.mobile-atc {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: .75rem var(--pad); background: rgba(246,241,232,.96);
  border-top: 2px solid var(--midnight); gap: .75rem; align-items: center;
}

/* Collection splash */
.collection-splash {
  position: relative; min-height: min(62vh, 30rem);
  display: grid; align-items: end; color: #fff; overflow: hidden;
  background: var(--midnight);
}
.collection-splash__panel {
  position: absolute; inset: 0;
  background: var(--coral) center/cover no-repeat;
  mix-blend-mode: luminosity; opacity: .85;
}
.collection-splash__copy {
  position: relative; z-index: 1;
  width: min(100% - var(--pad) * 2, var(--max));
  margin: 0 auto; padding: 0 0 2.25rem;
  display: grid; gap: .75rem; justify-items: start;
}
.collection-splash h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800; line-height: .95; text-transform: uppercase;
}
.collection-types {
  display: flex; flex-wrap: wrap; gap: .15rem 1.35rem;
  margin: 1.5rem 0 2rem; padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.collection-types a {
  position: relative;
  padding: .35rem 0;
  font-weight: 750; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted);
}
.collection-types a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--pink-deep); transform: scaleX(0); transition: transform .25s var(--ease);
}
.collection-types a:hover,
.collection-types a:focus-visible { color: var(--ink); outline: none; }
.collection-types a:hover::after,
.collection-types a:focus-visible::after { transform: scaleX(1); }

.sticky-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  align-items: start; padding: 2rem 0;
}
.sticky-story__media {
  position: sticky; top: calc(var(--header) + 1rem);
  min-height: 24rem; background: var(--catalogue) center/cover no-repeat;
  border: 1px solid var(--line); border-radius: 14px;
}
.sticky-story__steps { display: grid; gap: 2.5rem; }
.story-step {
  padding: 1.25rem; border-left: 4px solid var(--coral);
  background: var(--white);
}
.story-step h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: .45rem;
}

/* Build-your-set */
.set-page { background: var(--catalogue); padding-bottom: 4rem; }
.set-hero {
  background: linear-gradient(135deg, #f9d5e0 0%, #f3e7f8 55%, #ffe8f0 100%);
  padding: 2.25rem 0 1.75rem;
  border-radius: 0 0 18px 18px;
}
.set-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.03em;
}
.set-layout {
  display: grid; grid-template-columns: 1fr 20rem; gap: 1.5rem;
  padding-top: 1.5rem; align-items: start;
}
.set-list { display: grid; gap: .85rem; }
.set-row {
  display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px;
}
.set-row img {
  width: 5.5rem; height: 5.5rem; object-fit: cover; background: #f5f5f5;
  border-radius: 10px;
}
.set-row strong { display: block; font-size: .95rem; text-transform: uppercase; font-weight: 800; }
.set-row p { color: var(--muted); font-size: .82rem; margin: .25rem 0 .55rem; }
.set-row select {
  border: 1px solid var(--line); padding: .4rem .55rem; min-height: 2.3rem;
  background: #fff; border-radius: 8px;
}
.set-toggle {
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 10px;
  font-weight: 800; font-size: 1.2rem; background: var(--white);
}
.set-toggle.is-on { background: var(--pink-deep); color: #fff; border-color: var(--pink-deep); }
.set-summary {
  position: sticky; top: calc(var(--header) + 1rem);
  padding: 1.25rem; background: #fff5f8; color: var(--ink);
  border: 1px solid #f0c8d4; border-radius: 16px;
}
.set-summary h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: .75rem; color: var(--ink);
}
.set-summary__lines { display: grid; gap: .45rem; margin-bottom: 1rem; font-size: .88rem; color: var(--muted); }
.set-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--ink);
  padding-top: .75rem; border-top: 1px solid #f0c8d4;
}

/* Search */
.search-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(13,18,32,.4);
}
.search-overlay.is-open { display: grid; align-content: start; }
.search-panel {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 1.15rem var(--pad) 1.5rem; box-shadow: var(--shadow);
}
.search-panel__row {
  display: grid; grid-template-columns: 1fr auto; gap: .65rem;
  max-width: var(--max); margin: 0 auto 1.1rem;
}
.search-field {
  display: flex; align-items: center; gap: .65rem;
  min-height: 3.1rem; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 1rem; background: var(--white);
}
.search-field svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; stroke-width: 1.8; }
.search-field input { flex: 1; border: 0; background: transparent; outline: none; min-height: 2.8rem; }
.search-best { max-width: var(--max); margin: 0 auto; }
.search-best__head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.search-best h4 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0; font-weight: 800;
}
.search-pills { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.search-pills a {
  position: relative;
  padding: .2rem 0; font-size: .8rem; font-weight: 700;
  color: var(--muted); letter-spacing: .02em;
}
.search-pills a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease);
}
.search-pills a:hover { color: var(--ink); }
.search-pills a:hover::after { transform: scaleX(1); }
.search-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 13.5rem);
  gap: .75rem; overflow-x: auto;
}
.search-card { display: grid; gap: .4rem; }
.search-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--catalogue); border-radius: 12px; }
.search-card strong { font-size: .88rem; font-weight: 750; }
.search-card span { color: var(--muted); font-size: .76rem; }

/* Cart */
.overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(13,18,32,.4);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; z-index: 85; width: min(100%, 24rem);
  height: 100%; background: #fff; box-shadow: var(--shadow);
  transform: translateX(105%); transition: transform .35s var(--ease);
  display: grid; grid-template-rows: auto 1fr auto;
}
.cart.is-open { transform: none; }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.15rem; background: #fff5f8; color: var(--ink);
  border-bottom: 1px solid #f0c8d4;
}
.cart__head strong {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase;
}
.cart__head .icon-btn { color: var(--ink); }
.cart__body { padding: 1rem 1.15rem; overflow: auto; display: grid; gap: 1rem; align-content: start; }
.cart-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; }
.cart-item img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 10px; }
.cart-item__top { display: flex; justify-content: space-between; gap: .5rem; }
.cart-item__meta { color: var(--muted); font-size: .76rem; margin: .15rem 0 .45rem; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line); overflow: hidden; border-radius: 999px;
}
.qty button { width: 1.85rem; height: 1.85rem; font-weight: 800; }
.qty span { min-width: 1.5rem; text-align: center; font-size: .86rem; font-weight: 800; }
.ship-progress {
  padding: 1rem; background: #fff5f8; border: 1px solid #f0c8d4; border-radius: 12px;
}
.ship-progress p { font-size: .86rem; margin-bottom: .55rem; font-weight: 650; }
.ship-bar { height: .4rem; background: rgba(232,90,138,.15); overflow: hidden; border-radius: 99px; }
.ship-bar span {
  display: block; height: 100%; width: 73%; background: var(--pink-deep);
  transition: width .4s var(--ease); border-radius: inherit;
}
.cart__foot {
  padding: 1rem 1.15rem 1.25rem; border-top: 1px solid var(--line);
  background: var(--white); display: grid; gap: .75rem;
}
.cart__totals { display: grid; gap: .35rem; font-size: .9rem; }
.cart__totals div { display: flex; justify-content: space-between; }
.cart__totals .total { font-weight: 800; font-size: 1.05rem; }

/* Light footer */
.footer {
  background: var(--white); color: var(--ink);
  border-top: 1px solid var(--line); padding: 0 0 1.5rem;
}
.footer__trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.footer__trust > div {
  padding: 1.15rem; border-right: 1px solid var(--line); display: grid; gap: .2rem;
}
.footer__trust > div:last-child { border-right: 0; }
.footer__trust strong {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
}
.footer__trust span { font-size: .84rem; color: var(--muted); }
.footer__main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.75rem;
  padding: 2.5rem 0 1.75rem;
}
.footer__brand {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.footer__brand span { color: var(--coral); }
.footer__brand-block p { margin: .75rem 0 1.2rem; max-width: 30ch; color: var(--muted); font-size: .9rem; }
.footer__news label {
  display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 800; margin-bottom: .4rem;
}
.footer__news > div { display: flex; gap: .35rem; flex-wrap: wrap; }
.footer__news input {
  flex: 1; min-width: 10rem; min-height: 2.55rem;
  border: 1px solid var(--line); background: #fff; padding: .5rem .85rem; border-radius: 10px;
}
.footer h3 {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .75rem; font-weight: 800;
}
.footer a { display: block; padding: .25rem 0; font-size: .9rem; }
.footer a:hover { color: var(--coral); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding-top: 1rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted);
}

/* Chat */
.chat-fab {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 70;
  width: 3.4rem; height: 3.4rem; border-radius: 999px;
  background: var(--midnight); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.chat-fab:hover { background: var(--coral); }
.chat-fab svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.7; }
.chat {
  position: fixed; right: 1.15rem; bottom: 5rem; z-index: 71;
  width: min(calc(100vw - 1.5rem), 22rem);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); display: none; grid-template-rows: auto 1fr auto;
  max-height: min(70vh, 32rem); overflow: hidden;
}
.chat.is-open { display: grid; animation: panelIn .28s var(--ease); }
.chat__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .95rem 1rem; background: var(--pink-deep); color: #fff;
}
.chat__head strong { display: block; font-size: .95rem; }
.chat__head span { font-size: .72rem; opacity: .8; }
.chat__head .icon-btn { color: #fff; }
.chat__body {
  padding: 1rem; overflow: auto; display: grid; gap: .65rem; align-content: start;
  background: var(--white);
}
.chat__bubble { max-width: 90%; padding: .75rem .9rem; font-size: .86rem; }
.chat__bubble--bot { background: var(--lavender); }
.chat__bubble--user { justify-self: end; background: var(--midnight); color: #fff; }
.chat__suggestions { display: grid; gap: .35rem; }
.chat__suggestions button {
  text-align: left; padding: .6rem .75rem; border: 2px dashed var(--line);
  background: var(--cream); font-size: .78rem; font-weight: 700;
}
.chat__form {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem;
  padding: .75rem; border-top: 1px solid var(--line);
}
.chat__form input {
  min-height: 2.45rem; border: 2px solid var(--line); background: var(--white);
  padding: .45rem .75rem;
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 95; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background: rgba(13,18,32,.5);
}
.modal.is-open { display: flex; }
.modal__panel {
  width: min(100%, 48rem); background: #fff;
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  max-height: min(92vh, 36rem);
}
.modal__media { background: #f6f3f1; min-height: 18rem; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 1.35rem; display: grid; gap: .65rem; align-content: start; overflow: auto; }
.modal__close { justify-self: end; }
.modal__body h3 {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1.15; margin: 0;
}
.modal__meta { color: var(--muted); font-size: .88rem; margin: 0; }
.modal__facts {
  display: flex; flex-wrap: wrap; gap: .35rem .85rem;
  font-size: .74rem; font-weight: 650; color: var(--muted);
  padding: .65rem 0; border-block: 1px solid var(--line);
}

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 88;
  background: rgba(13,18,32,.45);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__panel {
  position: absolute; top: 0; left: 0; width: min(100%, 20rem); height: 100%;
  background: #fff; padding: 1.15rem; overflow: auto;
  display: grid; align-content: start; gap: .2rem; border-right: 1px solid var(--line);
}
.mobile-nav__panel a {
  padding: .85rem .55rem; border-bottom: 1px solid var(--line); font-weight: 800;
  text-transform: uppercase; font-size: .9rem;
}

.fly { position: fixed; z-index: 96; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--coral); pointer-events: none; transition: transform .55s var(--ease), opacity .55s;
  opacity: .9; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hotspot-stage, .pdp, .mosaic, .set-layout, .sticky-story, .modal__panel, .footer__main, .pink-band {
    grid-template-columns: 1fr;
  }
  .mosaic { grid-template-rows: auto; }
  .mosaic a:first-child { grid-row: auto; min-height: 16rem; }
  .mega { grid-template-columns: 1fr 1fr; }
  .footer__trust { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__visual { min-height: 20rem; order: -1; }
  .hero-split__frame { width: min(100%, 22rem); aspect-ratio: 1; }
}

@media (max-width: 860px) {
  .nav, .search-trigger span { display: none; }
  .menu-toggle { display: grid; }
  .header__row { grid-template-columns: auto 1fr auto; }
  .product__quick { opacity: 1; transform: none; }
  .mobile-atc { display: flex; }
  .footer__main, .footer__trust { grid-template-columns: 1fr; }
  .hero-split h1 { max-width: 11ch; }
  .chat, .chat-fab { bottom: 5.5rem; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition-duration: .01ms !important;
  }
}
