/* ==========================================================================
   Lovehoney clone — design system (fonts, tokens, layout, header, footer,
   buttons, forms, product cards, carousels, badges, modals, toasts)
   ========================================================================== */

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --purple: #571dae;
  --purple-bright: #6a0ae8;
  --purple-soft: #f3edfd;
  --pink: #ff387c;
  --pink-hot: #ff274d;
  --red: #e52345;
  --ink: #161615;
  --grey-54: #545454;
  --grey-73: #737373;
  --grey-bd: #bdbdbd;
  --grey-e5: #e5e5e5;
  --line: #ededed;
  --soft: #f7f7f7;
  --soft-2: #f2f2f2;
  --green: #37a706;
  --blue: #006fee;
  --navy: #08052b;
  --yellow: #fceca9;
  --cyan: #aff9f2;
  --lilac: #e7d9fb;
  --peach: #ffe3d4;
  --mint: #d6f5e6;

  --font: 'DM Sans', Arial, Helvetica, sans-serif;
  --display: 'Bricolage Grotesque', 'DM Sans', Arial, sans-serif;
  --container: 1400px;
  --gutter: 20px;
  --radius: 8px;
  --radius-lg: 16px;
  --pill: 999px;
  --header-utility: 36px;
  --header-main: 84px;
  --nav-height: 50px;
  --shadow: 0 8px 30px rgba(22, 22, 21, 0.12);
  --shadow-sm: 0 2px 10px rgba(22, 22, 21, 0.08);
  --transition: 180ms ease;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--purple); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------------- type */
.h1 { font-size: 28px; line-height: 1.3; font-weight: 700; }
.h2 { font-size: 21px; line-height: 1.3; font-weight: 700; }
.h3 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.04; }
.eyebrow { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.section-title { font-size: 20px; font-weight: 700; color: var(--purple-bright); text-align: center; margin: 0 0 24px; }
.section-title--dark { color: var(--ink); }
.muted { color: var(--grey-73); }
.small { font-size: 12px; }
.text-pink { color: var(--pink-hot); }
.text-purple { color: var(--purple); }
.underline { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 28px; border-radius: var(--pill);
  font-size: 15px; font-weight: 700; line-height: 1.1; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-bright); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: #e42b6b; }
.btn--outline { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple-soft); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--soft); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; min-height: 0; }
.btn--sm { min-height: 36px; padding: 8px 18px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 15px 40px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn--pill-sm { min-height: 34px; padding: 7px 20px; font-size: 13px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; color: var(--ink); transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--soft); color: var(--purple); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--grey-73); margin-top: 4px; }
.input, .select, .textarea, input:not([type]), input[type='text'], input[type='email'], input[type='password'], input[type='search'], input[type='number'], input[type='tel'], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid var(--grey-bd); border-radius: var(--pill);
  background: #fff; font-size: 14px; transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { border-radius: 14px; resize: vertical; min-height: 110px; }
select { border-radius: 14px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey-54) 50%), linear-gradient(135deg, var(--grey-54) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(87, 29, 174, 0.12); }
/* keep Chrome's autofill background consistent with the rest of the form */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(87, 29, 174, 0.12);
  transition: background-color 600000s ease-in-out 0s;
}
.input--error { border-color: var(--red); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.checkbox-row input[type='checkbox'] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); }
.form-error { color: var(--red); font-size: 13px; margin: 8px 0 0; }
.form-success { color: var(--green); font-size: 13px; margin: 8px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------------------------------------------------------------- utility bar + header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; transform: translateZ(0); }
.utility-bar { border-bottom: 1px solid var(--line); height: var(--header-utility); font-size: 12.5px; color: var(--grey-54); }
.utility-inner { display: flex; align-items: center; justify-content: flex-end; height: 100%; gap: 18px; }
.utility-links { display: flex; align-items: center; gap: 10px; }
.utility-links a:hover { color: var(--purple); text-decoration: underline; }
.utility-sep { color: var(--grey-bd); }
.region-picker { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--grey-54); }
.region-picker:hover { color: var(--purple); }
.flag-ico { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#b22234 0 20%, #fff 20% 40%, #b22234 40% 60%, #fff 60% 80%, #b22234 80%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; overflow: hidden; }
.flag-ico::after { content: ''; position: absolute; left: 0; top: 0; width: 46%; height: 54%; background: #3c3b6e; }

.header-main { display: flex; align-items: center; height: var(--header-main); gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.logo-heart { width: 34px; height: 30px; color: var(--pink); }
.logo-word { font-family: var(--display); font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--purple); line-height: 1; transform: translateY(-1px); }
.header-search { flex: 1 1 auto; max-width: 640px; margin: 0 auto; position: relative; }
.header-search form { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 100%; height: 48px; border: 0; border-radius: var(--pill); background: var(--soft); padding: 0 60px 0 22px;
  font-size: 14px; color: var(--ink);
}
.header-search input::placeholder { color: var(--grey-54); }
.header-search input:focus { outline: none; box-shadow: 0 0 0 2px var(--purple); }
.search-submit {
  position: absolute; right: 5px; top: 4px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.search-submit:hover { background: var(--purple-bright); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.cart-count.is-empty { display: none; }

.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: #fff; }
.nav-inner { display: flex; align-items: center; height: var(--nav-height); }
.nav-list { display: flex; align-items: center; gap: 30px; width: 100%; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; height: var(--nav-height); font-size: 14px; font-weight: 700; color: var(--ink);
  position: relative; white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--pink); transform: scaleX(0);
  transform-origin: center; transition: transform var(--transition);
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--pink-hot); }
.nav-link:hover::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link--sale { color: var(--pink-hot); }
.nav-link--spark::before { content: '✦'; font-size: 10px; color: var(--pink); margin-right: 5px; }

.mega {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(6px); width: min(1180px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 26px 30px; display: none; z-index: 80;
}
.nav-item--mega.is-open .mega { display: block; animation: fadeSlide 180ms ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(6px); } }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: 24px; }
.mega-col h4 { font-size: 13px; margin-bottom: 12px; color: var(--ink); }
.mega-col a { display: block; padding: 4px 0; font-size: 13px; color: var(--grey-54); }
.mega-col a:hover { color: var(--purple); text-decoration: underline; }
.mega-promo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.mega-promo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.mega-promo span { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: var(--pill); }

.mobile-nav { display: none; overflow-x: auto; border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav-list { display: flex; gap: 22px; padding: 8px 16px 0; white-space: nowrap; }
.mobile-nav-list a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; padding-bottom: 9px; border-bottom: 2px solid transparent; }
.mobile-nav-list a:hover, .mobile-nav-list a.is-active { border-bottom-color: var(--pink); color: var(--pink-hot); }

.mobile-menu-btn { display: none; }
.mobile-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(22, 22, 21, .45); }
.mobile-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: #fff; overflow-y: auto; padding: 18px; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-drawer__panel a, .mobile-drawer__panel button.drawer-link { display: block; width: 100%; text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* search suggestions */
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 90; max-height: 420px; overflow: auto;
}
.search-suggest.is-open { display: block; }
.suggest-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.suggest-row:hover { background: var(--soft); }
.suggest-row img { width: 44px; height: 58px; object-fit: contain; background: var(--soft); border-radius: 6px; }
.suggest-row__name { font-size: 13px; font-weight: 500; }
.suggest-row__meta { font-size: 12px; color: var(--grey-73); }
.suggest-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-73); padding: 8px 10px 4px; }

/* ---------------------------------------------------------------- breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--grey-54); padding: 16px 0; }
.breadcrumbs a:hover { color: var(--purple); text-decoration: underline; }
.breadcrumbs .sep { color: var(--grey-bd); }

/* ---------------------------------------------------------------- hero/banners */
.hero-banner { position: relative; overflow: hidden; background: var(--soft); }
.hero-banner img { width: 100%; height: auto; aspect-ratio: 1700 / 600; object-fit: cover; }
.hero-banner__cta { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); }
@media (max-width: 700px) {
  .hero-banner img { aspect-ratio: 750 / 900; }
}

.promo-strip { position: relative; overflow: hidden; }
.promo-strip__inner { position: relative; display: flex; align-items: center; min-height: 420px; }
.promo-strip__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-strip__content { position: relative; z-index: 2; max-width: 46%; padding: 48px 0 48px 76px; color: #fff; }
.promo-strip__content .display { font-size: clamp(30px, 4vw, 54px); white-space: pre-line; text-wrap: balance; }
.promo-strip__badge { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); padding: 6px 20px; border-radius: 10px; margin: 18px 0 10px; font-family: var(--display); }
.promo-strip__sub { font-size: clamp(14px, 1.4vw, 19px); font-weight: 700; margin-bottom: 20px; }
.promo-strip__media { position: relative; z-index: 2; margin-left: auto; padding: 24px 60px 24px 0; max-width: 46%; }
.promo-strip__media img { max-height: 380px; width: auto; margin-left: auto; object-fit: contain; }
.promo-strip__spark { position: absolute; color: #fff; opacity: .95; }
@media (max-width: 860px) {
  .promo-strip__inner { flex-direction: column; min-height: 0; }
  .promo-strip__content { max-width: 100%; padding: 36px 22px 8px; text-align: center; }
  .promo-strip__media { max-width: 100%; padding: 6px 22px 30px; margin: 0 auto; }
  .promo-strip__media img { max-height: 300px; }
  .gift-banner .starburst { right: 12%; top: auto; bottom: 14px; width: 74px; height: 74px; font-size: 9.5px; }
}

.gift-banner { position: relative; background: var(--pink); color: #fff; overflow: hidden; }
.gift-banner img.bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gift-banner__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 20px; }
.gift-banner__lockup { max-width: 420px; width: 70%; }
.gift-banner .display { font-size: 34px; }
.gift-banner__tag { display: inline-flex; align-items: center; gap: 10px; background: var(--purple-bright); border-radius: 8px; padding: 6px 16px; font-weight: 700; font-size: 16px; }
.gift-banner .starburst { position: absolute; right: 23%; top: 30px; width: 90px; height: 90px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; text-align: center; border-radius: 50%; transform: rotate(8deg); line-height: 1.1; }

/* ---------------------------------------------------------------- promo cards (4-up) */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.promo-card { position: relative; overflow: hidden; background: var(--soft); min-height: 0; }
.promo-card__bg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 425 / 680; }
.promo-card__overlay { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 74%; max-width: 280px; }
.promo-card__cta { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); }
.promo-card--overlay-cta { display: flex; }
@media (max-width: 860px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .promo-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- category tiles */
.shop-for { padding: 54px 0 40px; }
.shop-for .section-title { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.shop-for__tabs { display: flex; align-items: center; justify-content: center; gap: 38px; margin: 22px 0 30px; }
.shop-for__tab {
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 16px; font-weight: 700;
  color: var(--grey-54); padding-bottom: 10px; border-bottom: 3px solid transparent;
}
.shop-for__tab img, .shop-for__tab .tab-ico {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink-soft, #ffe3ee); color: var(--purple); border: 1px solid #f4bdd4;
}
.shop-for__tab .tab-ico--him { background: var(--peach); border-color: #f7c8a8; }
.shop-for__tab.is-active { color: var(--pink-hot); border-bottom-color: var(--pink); }
.shop-for__tab:hover { color: var(--pink-hot); }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.cat-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 62px; padding: 10px 14px 10px 20px; border-radius: 6px; background: var(--soft);
  font-size: 14px; font-weight: 500; transition: background var(--transition), transform var(--transition);
}
.cat-tile:hover { background: #f0f0f0; transform: translateY(-1px); }
.cat-tile__ico { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; }
.cat-tile__ico .icon { width: 21px; height: 21px; stroke-width: 1.8; }
.cat-tile--cta { background: var(--soft); justify-content: center; }
.cat-tile--cta .cat-tile__arrow { width: 42px; height: 42px; border-radius: 6px; background: var(--pink-hot); color: #fff; display: grid; place-items: center; }
@media (max-width: 860px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-for__tabs { gap: 20px; }
}

/* ---------------------------------------------------------------- brand cards */
.brand-section { padding: 46px 0 30px; background: var(--soft); }
.brand-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.brand-head h2 { font-size: 18px; }
.brand-head a { font-size: 13px; color: var(--grey-54); display: inline-flex; align-items: center; gap: 4px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-card { background: #fff; border-radius: 4px; overflow: hidden; }
/* display:block + width are required for aspect-ratio to reserve space before the
   lazy-loaded image arrives (an inline <a> would collapse to 0px and then jump). */
.brand-card__top { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.brand-card__top img { width: 100%; height: 100%; object-fit: cover; }
.brand-card__name { position: absolute; left: 14px; top: 12px; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--purple); }
.brand-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; min-height: 96px; }
.brand-card__thumbs a { display: block; background: var(--soft); }
.brand-card__thumbs img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.brand-carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.brand-carousel-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--grey-bd); display: grid; place-items: center; }
.brand-carousel-nav button:hover { border-color: var(--purple); color: var(--purple); }
@media (max-width: 860px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- trust + info bands */
.trust-band { background: var(--navy); padding: 32px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; }
.trust-band svg { width: 34px; height: 34px; }
.trust-band .tp-star { fill: #00b67a; }
.trust-band .tp-word { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.trust-band .tp-word span { color: #7d7d99; font-size: 11px; display: block; font-weight: 500; }

.info-bands { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-band { padding: 34px 26px; text-align: center; }
.info-band h3 { font-size: 18px; color: var(--purple-bright); margin-bottom: 4px; }
.info-band p { margin: 0; font-size: 12.5px; color: var(--ink); }
.info-band--pink { background: #fbd6f2; }
.info-band--yellow { background: #fdf3bb; }
.info-band--cyan { background: #bcfbf4; }
.app-band { background: linear-gradient(100deg, #7b2ff7 0%, #6a0ae8 55%, #571dae 100%); min-height: 190px; display: flex; align-items: center; justify-content: center; padding: 36px 20px; }
.app-band__inner { text-align: center; color: #fff; }
.app-band__inner h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 38px); font-weight: 800; }
.app-band__inner p { margin: 8px 0 18px; opacity: .92; }
.app-band__stores { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.app-band__stores span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; padding: 9px 16px; font-size: 12px; font-weight: 700; }

.advice-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.advice-card { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px 18px; text-align: center; color: #fff; }
.advice-card h3 { font-size: 22px; line-height: 1.25; max-width: 200px; }
.advice-card .btn { background: transparent; color: #fff; border-color: #fff; min-height: 38px; padding: 8px 24px; font-size: 13px; }
.advice-card .btn:hover { background: #fff; color: var(--ink); }
.advice-card--cyan { background: #14a8e0; }
.advice-card--orange { background: #f47a00; }
.advice-card--purple { background: var(--purple); }
.advice-card--pink { background: var(--pink-hot); }
@media (max-width: 860px) { .info-bands, .advice-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .info-bands, .advice-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- SEO content */
.seo-content { padding: 46px 0 30px; }
.seo-content h2 { font-size: 22px; margin: 34px 0 14px; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content p { font-size: 13.5px; color: #2a2a29; max-width: 1200px; }
.seo-content ul.bullets { list-style: disc; padding-left: 22px; }
.seo-content ul.bullets li { margin: 6px 0; font-size: 13.5px; }
.seo-content a { text-decoration: underline; text-underline-offset: 3px; }
.link-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid var(--grey-bd); border-radius: 6px; font-size: 12.5px; color: var(--purple); background: #fff; }
.link-pill:hover { border-color: var(--purple); }
.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 26px 0 30px; }
.guide-link { text-align: center; padding: 26px 12px; color: var(--purple-bright); font-size: 20px; font-weight: 700; line-height: 1.3; }
.guide-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .guides-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- FAQ accordion */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 14px; font-weight: 700; text-align: left; }
.faq-q .plus { font-size: 20px; font-weight: 400; transition: transform var(--transition); }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 2px 20px; font-size: 13.5px; color: var(--grey-54); max-width: 1000px; }
.faq-item.is-open .faq-a { display: block; }

/* ---------------------------------------------------------------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 14px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; background: #fff; display: flex; flex-direction: column; min-width: 0; contain: layout style; }
.product-card__media { position: relative; background: var(--soft); border-radius: 4px; overflow: hidden; }
.product-card__media a { display: block; }
.product-card__media img { width: 100%; aspect-ratio: 278 / 371; object-fit: contain; transition: transform 320ms ease; }
@media (hover: hover) {
  .product-card:hover .product-card__media img { transform: scale(1.03); }
}
.product-card__badge {
  position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--purple); color: #fff;
  font-size: 10.5px; font-weight: 700; border-radius: 12px; padding: 4px 10px; letter-spacing: .02em;
}
.product-card__badge--pink { background: var(--pink-hot); }
.product-card__badge--green { background: var(--green); }
.product-card__badge--sale { background: var(--pink-hot); }
.product-card__wish {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--grey-54); background: transparent;
}
.product-card__wish:hover { color: var(--pink); }
.product-card__wish.is-active { color: var(--pink); }
.product-card__wish.is-active .icon { fill: var(--pink); stroke: var(--pink); }
.product-card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.product-rating { display: inline-flex; align-items: center; gap: 1px; color: var(--pink); min-height: 16px; }
.product-rating .icon { width: 13px; height: 13px; stroke: none; }
.product-rating__count { color: var(--grey-73); font-size: 12px; margin-left: 3px; }
.product-card__name { font-size: 13.5px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.product-card__name:hover { text-decoration: underline; }
.product-card__price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.product-card__price { font-size: 17px; font-weight: 700; }
.product-card__compare { font-size: 12.5px; color: var(--grey-73); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-card__save { font-size: 11.5px; color: var(--pink-hot); font-weight: 700; }
.product-card__add { margin-top: 8px; opacity: 0; transition: opacity var(--transition); }
.product-card:hover .product-card__add { opacity: 1; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; } .product-card__add { opacity: 1; } }

/* ---------------------------------------------------------------- carousel */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 calc((100% - 42px) / 4); scroll-snap-align: start; }
@media (max-width: 1000px) { .carousel__item { flex-basis: calc((100% - 14px) / 2); } }
.carousel__btn {
  position: absolute; top: 34%; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; border: 1px solid var(--line);
}
.carousel__btn:hover { color: var(--purple); }
.carousel__btn--prev { left: -6px; }
.carousel__btn--next { right: -6px; }
.carousel__btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------------------------------------------------------------- badges / misc */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--pill); padding: 5px 12px; font-size: 12px; font-weight: 700; }
.pill--green { background: #e8f7e0; color: #237c00; }
.pill--pink { background: #ffe5ee; color: var(--pink-hot); }
.pill--purple { background: var(--purple-soft); color: var(--purple); }
.pill--grey { background: var(--soft); color: var(--grey-54); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--grey-bd); background: #fff; padding: 8px 14px; border-radius: 6px; font-size: 12.5px; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.center { text-align: center; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--grey-73); margin-bottom: 22px; }
.loading-skeleton { background: linear-gradient(90deg, #f2f2f2 25%, #e9e9e9 37%, #f2f2f2 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.spinner { width: 22px; height: 22px; border: 2.5px solid rgba(87,29,174,.25); border-top-color: var(--purple); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* quantity stepper (shared) */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--grey-bd); border-radius: var(--pill); height: 44px; overflow: hidden; background: #fff; }
.qty-stepper button { width: 38px; height: 100%; display: grid; place-items: center; color: var(--grey-54); background: transparent; }
.qty-stepper button:hover { color: var(--purple); }
.qty-stepper input,
.qty-stepper input[type='number'] {
  width: 46px; min-width: 46px; height: 100%; min-height: 0; border: 0 !important; border-radius: 0;
  padding: 0; background: transparent; text-align: center; font-size: 14px; box-shadow: none !important;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------------------------------------------------------------- newsletter + footer */
.footer-newsletter { border-top: 1px solid var(--line); padding: 44px 0 30px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.footer-newsletter h2 { font-size: 18px; margin-bottom: 8px; }
.footer-newsletter p { font-size: 13.5px; color: var(--ink); max-width: 430px; }
.newsletter-form { display: flex; position: relative; max-width: 380px; margin-bottom: 8px; }
.newsletter-form input { height: 44px; background: var(--soft); border: 1px solid transparent; padding-right: 54px; }
.newsletter-form button { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; }
.newsletter-form button:hover { background: var(--purple-bright); }
.footer-social { display: flex; gap: 14px; justify-content: flex-end; align-items: flex-end; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--grey-54); }
.footer-social a:hover { background: var(--purple); color: #fff; }

.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 22px 0 48px; }
.footer-col h3 { font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 12.5px; color: var(--grey-54); }
.footer-col a:hover { color: var(--purple); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 40px; }
.footer-bottom__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.accessibility-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--purple); color: #fff; border-radius: 4px; padding: 8px 14px; font-size: 12px; font-weight: 700; }
.payment-icons { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; max-width: 100%; }
.payment-icons span { height: 24px; padding: 0 8px; border: 1px solid var(--grey-e5); border-radius: 4px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; color: var(--grey-54); background: #fff; }
.footer-trust { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grey-54); }
.footer-copy { margin-top: 18px; font-size: 11px; color: var(--grey-73); line-height: 1.6; }
.footer-copy a { text-decoration: underline; }
@media (max-width: 900px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 20px; }
  .footer-social { justify-content: flex-start; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------------------------------------------------------------- toast / modal */
/* NOTE: content-visibility: auto was removed from the long sections below on purpose.
   Its contain-intrinsic-size placeholder never matched the real section heights
   (e.g. footer sections were estimated at 600px but rendered at ~270px), so the page
   height changed by several hundred pixels while scrolling → visible jumping / jank.
   The sections are cheap enough to render eagerly; keeping the layout stable is smoother. */
#toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 360px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 13px 16px; font-size: 13px; box-shadow: var(--shadow); animation: toastIn 220ms ease;
}
.toast--success { background: #1c7c1c; }
.toast--error { background: #b3142f; }
.toast .icon { width: 18px; height: 18px; flex: 0 0 auto; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.modal-root { position: fixed; inset: 0; z-index: 250; display: none; }
.modal-root.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,22,21,.5); }
.modal-card {
  position: relative; margin: 6vh auto 0; width: min(560px, calc(100vw - 32px)); background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow); max-height: 88vh; overflow: auto;
}
.modal-card h2 { font-size: 21px; margin-bottom: 6px; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.modal-close:hover { background: var(--soft); }

/* ---------------------------------------------------------------- mobile header */
@media (max-width: 900px) {
  .utility-bar { display: none; }
  .header-main { height: 62px; gap: 12px; }
  .logo-word { font-size: 22px; }
  .logo-heart { width: 27px; height: 24px; }
  .header-search { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .container { padding: 0 16px; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none; }
  .mobile-drawer { display: none !important; }
}
