/* LOVÈX Lingerie — storefront styles */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --wine: #620d1b;
  --wine-700: #521019;
  --wine-800: #470912;
  --wine-900: #2c050c;
  --rose: #ecd6d8;
  --rose-200: #f6eaeb;
  --mist: #f6f2f2;
  --paper: #ffffff;
  --ink: #1f1114;
  --ink-2: #5a464a;
  --ink-3: #7b676b;
  --line: #ece4e5;
  --line-2: #d9cdce;
  --ok: #2d6a4f;
  --focus: #b0263d;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;
  --shadow-1: 0 1px 2px rgb(44 5 12 / 6%), 0 10px 24px -14px rgb(44 5 12 / 22%);
  --shadow-2: 0 2px 6px rgb(44 5 12 / 8%), 0 28px 56px -24px rgb(44 5 12 / 38%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tabbar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) transparent; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--wine);
  padding-bottom: var(--tabbar-h);
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 14px; border-radius: var(--r-m); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.small { font-size: 13px; line-height: 1.5; }
#app:focus { outline: none; }
#app { min-height: 60vh; }

/* ---------- type ---------- */

.h1 { font: 500 clamp(34px, 4.2vw, 56px)/1.04 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font: 500 clamp(30px, 3.2vw, 44px)/1.08 var(--display); letter-spacing: -0.005em; text-wrap: balance; }
.h3 { font: 600 18px/1.3 var(--ui); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }

/* ---------- icons & controls ---------- */

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease), color .2s; }
.icon-btn:hover { background: var(--mist); }
/* Header search, favourites and cart: filled like the bottom bar while their section is open or under the finger. */
.header [data-top] .ic { transition: fill .2s, transform .2s var(--ease); }
.header [data-top].is-on, .header [data-top]:active { background: var(--rose-200); color: var(--wine); }
.header [data-top].is-on .ic, .header [data-top]:active .ic { fill: var(--wine); stroke-width: 1.9; }
.header [data-top]:active .ic { transform: scale(.9); }
.header [data-top].is-pop .ic { animation: tab-pop .45s var(--ease); }
@media (hover: hover) {
  .header [data-top]:hover { background: var(--rose-200); color: var(--wine); }
  .header [data-top]:hover .ic { fill: var(--wine); }
}
.header [data-top] .count { box-shadow: 0 0 0 2px #fff; }
@keyframes tab-pop { 40% { transform: scale(1.12); } }
.count { position: absolute; top: 3px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wine); color: #fff; font: 600 11px/18px var(--ui); text-align: center; font-variant-numeric: tabular-nums; }
.count[hidden] { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: var(--r-m); border: 1px solid transparent; font: 500 15px/1 var(--ui); text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), color .2s, border-color .2s, opacity .2s; }
.btn .ic { width: 19px; height: 19px; }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-800); }
.btn--line { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--on-dark { background: #fff; color: var(--wine); }
.btn--on-dark:hover { background: var(--rose); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; }
.btn.is-busy { cursor: progress; opacity: .75; }
.link-u { display: inline-flex; align-items: center; gap: 6px; color: var(--wine); text-decoration: underline; font-size: 14px; }
.link-u .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--wine); }
.link-arrow:hover .ic { transform: translateX(4px); }

.chip { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); font: 500 14px/1 var(--ui); font-variant-numeric: tabular-nums; cursor: pointer; user-select: none; transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { border-color: var(--wine); background: var(--wine); color: #fff; }
.chip.is-out { color: var(--ink-3); background: #fff linear-gradient(to top right, transparent calc(50% - .6px), var(--line-2) 50%, transparent calc(50% + .6px)); border-color: var(--line); cursor: not-allowed; }
.chip.is-out.is-on { color: var(--ink-2); border-color: var(--ink-3); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip--color { width: 42px; min-width: 42px; padding: 0; border-radius: 50%; }
.chip--color.is-on { background: #fff; border-color: var(--wine); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--wine); }
.chip--color.is-out { background: #fff; opacity: .55; cursor: pointer; }
.dot { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); flex: none; }
.dot--light { box-shadow: inset 0 0 0 1px var(--line-2); }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-s); background: #fff; color: var(--wine); font: 600 12px/1 var(--ui); font-variant-numeric: tabular-nums; }
.badge--sale { background: var(--wine); color: #fff; }
.badge--ink { background: var(--wine-900); color: #fff; }

/* Favourite: a rose-to-wine gradient glows in under the pointer (or the finger), the heart turns white. */
.fav { position: relative; isolation: isolate; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / 88%); color: var(--ink); box-shadow: 0 1px 2px rgb(44 5 12 / 8%); transition: color .25s, transform .3s var(--ease), box-shadow .35s var(--ease); }
.fav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, #ff9ab3 0%, #e04a72 45%, var(--wine) 100%); background-size: 160% 160%; background-position: 0% 0%; opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .4s var(--ease), background-position .6s var(--ease); }
.fav .ic { transition: fill .25s, transform .3s var(--ease); }
.fav.is-on { color: var(--wine); }
.fav.is-on .ic { fill: var(--wine); }
@media (hover: hover) {
  .fav:hover { color: #fff; transform: scale(1.08); box-shadow: 0 6px 18px -4px rgb(224 74 114 / 55%), 0 0 0 4px rgb(255 154 179 / 22%); }
  .fav:hover::before { opacity: 1; transform: none; background-position: 100% 100%; }
  .fav:hover .ic { fill: rgb(255 255 255 / 35%); }
  .fav.is-on:hover .ic { fill: #fff; }
}
.fav:active { color: #fff; transform: scale(.92); }
.fav:active::before { opacity: 1; transform: none; }
.fav:focus-visible { color: #fff; }
.fav:focus-visible::before { opacity: 1; transform: none; }
.fav--box { width: 54px; height: 54px; border-radius: var(--r-m); border: 1px solid var(--line-2); background: #fff; flex: none; box-shadow: none; }
@media (hover: hover) { .fav--box:hover { border-color: transparent; } }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 600; font-size: 16px; }
.price__now.is-sale { color: var(--wine); }
.price__old { color: var(--ink-3); font-size: 13px; }
.price--lg .price__now { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; }
.price--lg .price__old { font-size: 16px; }

.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.stock.is-low { color: var(--wine); font-weight: 600; }
.stock.is-low::before { background: var(--wine); box-shadow: 0 0 0 3px var(--rose); }
.stock.is-out { color: var(--ink-3); }
.stock.is-out::before { background: var(--line-2); }

.qty { display: inline-flex; align-items: center; height: 54px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; flex: none; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--ink); }
.qty button:disabled { color: var(--line-2); cursor: not-allowed; }
.qty button .ic { width: 18px; height: 18px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm { height: 38px; }
.qty--sm button { width: 36px; }

.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 40px; padding: 0 38px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; font-size: 14px; cursor: pointer; }
.select .ic { position: absolute; right: 10px; width: 18px; height: 18px; pointer-events: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border-radius: 17px; background: var(--rose-200); color: var(--wine); font-size: 13px; font-weight: 500; }
.pill .ic { width: 16px; height: 16px; }
.pill:hover { background: var(--rose); }
.pill--reset { background: none; padding: 0 8px; text-decoration: underline; color: var(--ink-2); }
.pill--reset:hover { background: none; color: var(--wine); }

/* ---------- header ---------- */

.demobar { background: var(--wine-900); color: var(--rose); font-size: 13px; line-height: 1.4; text-align: center; padding: 8px var(--gutter); }
.header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 96%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgb(44 5 12 / 40%); }
.header.is-scrolled .demobar { display: none; }
.header__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; height: 76px; }
.header__burger { display: none; }

/* Menu lines: bold, wine and a short wave under the pointer or the finger. */
.burger { display: grid; align-content: center; gap: 4.5px; width: 22px; height: 22px; }
.burger i { display: block; width: 20px; height: 1.7px; border-radius: 2px; background: currentColor; transform-origin: left center; transition: height .2s var(--ease), width .35s var(--ease), transform .4s var(--ease), opacity .2s; }
.burger i:nth-child(3) { width: 12px; }
.header__burger { transition: background-color .2s var(--ease), color .2s; }
.header__burger:active, .header__burger.is-press, .header__burger:focus-visible { background: var(--rose-200); color: var(--wine); }
.header__burger:active .burger i, .header__burger.is-press .burger i, .header__burger:focus-visible .burger i { height: 2.6px; width: 20px; }
.header__burger.is-press .burger i { animation: burger-wave .55s var(--ease) both; }
.header__burger.is-press .burger i:nth-child(2) { animation-delay: .06s; }
.header__burger.is-press .burger i:nth-child(3) { animation-delay: .12s; }
@media (hover: hover) {
  .header__burger:hover { background: var(--rose-200); color: var(--wine); }
  .header__burger:hover .burger i { height: 2.6px; width: 20px; animation: burger-wave .55s var(--ease) both; }
  .header__burger:hover .burger i:nth-child(2) { animation-delay: .06s; }
  .header__burger:hover .burger i:nth-child(3) { animation-delay: .12s; }
}
@keyframes burger-wave { 0% { transform: scaleX(1); } 35% { transform: scaleX(.45); } 100% { transform: scaleX(1); } }

/* The close button of the menu grows from the same three lines into a cross. */
.burger--x i, .burger--x i:nth-child(3) { width: 20px; height: 2px; transform-origin: center; }
.drawer.is-open .burger--x i { transition-delay: .12s; }
.drawer.is-open .burger--x i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.drawer.is-open .burger--x i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.drawer.is-open .burger--x i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu__close:hover, .menu__close:active { background: var(--rose-200); color: var(--wine); }
.logo { display: block; width: 156px; }
.logo img { width: 100%; height: auto; }
.header__tools { display: flex; align-items: center; gap: 4px; justify-self: end; }
.header__search-btn { display: none; }

.lang { display: inline-flex; padding: 3px; border-radius: 20px; background: var(--mist); margin-right: 8px; }
.lang button { height: 30px; min-width: 38px; padding: 0 10px; border-radius: 15px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--wine); box-shadow: var(--shadow-1); }
.lang--wide { display: flex; margin: 24px 0 0; }
.lang--wide button { flex: 1; height: 40px; border-radius: 18px; font-size: 14px; }

.search { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.search__ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); width: 20px; height: 20px; pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border: 1px solid transparent; border-radius: var(--r-m); background: var(--mist); font-size: 15px; transition: border-color .2s, background-color .2s; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; background: #fff; border-color: var(--wine); }
.search input::-webkit-search-cancel-button { display: none; }
.search__close { display: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 8px; z-index: 50; }
.suggest__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-m); text-decoration: none; }
.suggest__item:hover, .suggest__item:focus-visible { background: var(--mist); outline: none; }
.suggest__img { width: 44px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--mist); }
.suggest__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.suggest__name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest__price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.suggest__all { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 12px 8px 6px; border-top: 1px solid var(--line); color: var(--wine); font-weight: 500; font-size: 14px; text-decoration: none; }
.suggest__all .ic { width: 18px; height: 18px; }
.suggest__empty { padding: 14px 10px; color: var(--ink-2); font-size: 14px; }

.mainnav { border-top: 1px solid var(--line); }
.mainnav__list { display: flex; align-items: center; gap: 6px; height: 50px; }
.mainnav__item { position: relative; height: 100%; display: flex; align-items: center; }
.mainnav__list > [hidden] { display: none !important; }
.mainnav a, .mainnav__morebtn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: var(--r-m); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; transition: color .2s, background-color .2s; }
.mainnav a .ic, .mainnav__morebtn .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--wine); }
.mainnav a[aria-current="page"] { background: var(--rose-200); }
.mainnav__sale { background: var(--wine); color: #fff !important; }
.mainnav__sale:hover { background: var(--wine-800); }
.mainnav__end { margin-left: auto; display: flex; gap: 2px; }
.mainnav__end a { color: var(--ink-2); font-weight: 400; }
.mainnav__end .ic { width: 18px; height: 18px; }
.mega { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px; background: #fff; border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover > a .ic { transform: rotate(180deg); }
.mega a { display: flex; justify-content: space-between; width: 100%; height: 42px; font-weight: 400; }
.mega small { color: var(--ink-3); font-size: 13px; }
.mega__all { color: var(--wine) !important; font-weight: 500 !important; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--wine); z-index: 90; opacity: 0; }
.progress.is-on { opacity: 1; animation: progress 1.6s var(--ease) forwards; }
@keyframes progress { from { width: 0; } to { width: 85%; } }

.boot { display: grid; place-items: center; min-height: 60vh; }
.boot__mark { width: 40px; fill: var(--rose); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- hero ---------- */

.hero { position: relative; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 40px;
  height: clamp(460px, 62vh, 600px);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  overflow: hidden;
  background: var(--wine);
  color: #fff;
}
.tone-ink { background: var(--wine-900); }
.tone-rose { background: var(--rose); color: var(--wine-900); }
.hero__copy { padding-block: 64px 96px; max-width: 620px; }
.hero__title { font: 500 clamp(46px, 6.4vw, 96px)/.94 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.hero__text { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--rose); max-width: 38ch; }
.tone-rose .hero__text { color: var(--wine-700); }
.hero__copy .btn { margin-top: 34px; }
.tone-rose .btn--on-dark { background: var(--wine); color: #fff; }
.tone-rose .btn--on-dark:hover { background: var(--wine-800); }
.hero__art { position: relative; height: 100%; display: grid; place-items: center; color: rgb(255 255 255 / 13%); }
.tone-rose .hero__art { color: rgb(98 13 27 / 13%); }
.hero__o { position: absolute; top: 50%; left: 50%; height: 114%; width: auto; fill: currentColor; transform: translate(-50%, -50%); }
.keyhole { position: relative; height: 76%; aspect-ratio: 200 / 310; background: var(--mist); -webkit-mask: url(/img/keyhole.svg) center / 100% 100% no-repeat; mask: url(/img/keyhole.svg) center / 100% 100% no-repeat; }
.keyhole img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-ready .hero__slide .keyhole img { transform: scale(1.12); }
.is-ready .hero__slide.is-active .keyhole img { animation: hero-drift 8.5s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Figure slide: cut-out mannequins or products stand large on the wine ground with a soft round light behind them. */
.hero__glow { position: absolute; top: 46%; left: 50%; height: 84%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgb(255 228 233 / 36%), rgb(236 190 200 / 13%) 58%, rgb(236 190 200 / 0) 100%); }
.hero__slide--figure .hero__o { display: none; }
/* The figures take turns (views.js): one large in the centre, the others dimmed at the sides. */
.hero__cast { position: absolute; z-index: 1; inset: 0; }
.hero__figure { position: absolute; top: 4%; left: 50%; height: 132%; width: auto; max-width: none; transform-origin: 50% 12%; transition: transform 1.1s cubic-bezier(.22, .8, .24, 1), opacity 1.1s ease, filter 1.1s ease; }
.hero__figure.is-c { z-index: 3; opacity: 1; transform: translateX(-50%); filter: drop-shadow(0 16px 34px rgb(30 2 8 / 50%)); }
.hero__figure.is-r { z-index: 1; opacity: .42; transform: translateX(calc(-50% + 92%)) scale(.74); filter: brightness(.72) saturate(.85); }
.hero__figure.is-l { z-index: 1; opacity: .42; transform: translateX(calc(-50% - 92%)) scale(.74); filter: brightness(.72) saturate(.85); }
.hero__figure.is-off { z-index: 0; opacity: 0; transform: translateX(-50%) scale(.6); pointer-events: none; }
/* Any figure at the side can be picked: it comes to the centre. A product in the centre opens its page. */
.hero__figure.is-l, .hero__figure.is-r, .hero__cast--products .hero__figure.is-c, .hero__figure.is-c[data-href] { cursor: pointer; }
.hero__figure.is-l:hover, .hero__figure.is-r:hover { opacity: .8; filter: brightness(.95); }
.hero__figure:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
.hero__cast--products .hero__figure { top: 10%; height: 74%; width: 58%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; }
.hero__cast--products .hero__figure.is-r { transform: translateX(calc(-50% + 66%)) scale(.56); }
.hero__cast--products .hero__figure.is-l { transform: translateX(calc(-50% - 66%)) scale(.56); }
.is-ready .hero__slide--figure.is-active .hero__cast { animation: cast-in 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.is-ready .hero__slide--figure.is-active .hero__glow { animation: glow-breathe 6s ease-in-out 1s infinite; }
@keyframes cast-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes glow-breathe { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
/* A ring of words turns slowly behind the product on every slide. */
.hero__ring { position: absolute; top: 50%; left: 50%; width: auto; height: 104%; aspect-ratio: 1; translate: -50% -50%; overflow: visible; pointer-events: none; animation: ring-turn 60s linear infinite; }
.hero__ring text { fill: #fff; opacity: .62; font: 500 19px var(--ui); letter-spacing: .02em; }
.tone-rose .hero__ring text { fill: var(--wine); }
@keyframes ring-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .is-ready .hero__slide--figure.is-active .hero__cast, .is-ready .hero__slide--figure.is-active .hero__glow, .hero__ring { animation: none; }
}
.is-ready .hero__slide .hero__o { transform: translate(-50%, -50%) scale(.94); opacity: .4; transition: transform 1.8s var(--ease), opacity 1.2s var(--ease); }
.is-ready .hero__slide.is-active .hero__o { transform: translate(-50%, -50%); opacity: 1; }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; justify-content: space-between; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); pointer-events: none; }
.hero__ctrl > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 2px; }
.hero__dot { position: relative; width: 30px; height: 30px; display: grid; place-items: center; }
.hero__fill { position: absolute; left: 2px; top: 11px; width: 26px; height: 8px; border-radius: 4px; background: #fff; transform: scaleX(0); transform-origin: left center; opacity: 0; }
.hero__dot.is-on .hero__fill { opacity: 1; animation: hero-fill 7s linear forwards; }
.hero.is-paused .hero__dot.is-on .hero__fill, .hero.is-paused .hero__slide.is-active .keyhole img { animation-play-state: paused; }
@keyframes hero-fill { to { transform: scaleX(1); } }
.hero__dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgb(255 255 255 / 45%); transition: width .35s var(--ease), background-color .35s; }
.hero__dot.is-on::before { width: 26px; background: rgb(255 255 255 / 45%); }
.hero__nav { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 4px; border-radius: 23px; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hero__nav button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.hero__nav button:hover { background: var(--mist); }
.hero__nav .ic { width: 18px; height: 18px; }
.hero__nav span { min-width: 40px; text-align: center; }

/* ---------- home blocks ---------- */

.section { margin-block: clamp(56px, 7vw, 104px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }

.shortcuts { margin-top: 36px; }
.shortcuts__list { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.shortcuts__list::-webkit-scrollbar { display: none; }
.shortcuts__list li { flex: none; scroll-snap-align: start; }
.shortcut { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; text-decoration: none; }
.shortcut__ring { width: 88px; height: 88px; border-radius: 50%; padding: 2.5px; background: linear-gradient(140deg, var(--wine) 8%, #b8646f 52%, var(--rose) 100%); transition: transform .35s var(--ease); }
.shortcut__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--mist); border: 3px solid #fff; }
.shortcut--sale .shortcut__ring { background: var(--wine); }
.shortcut:hover .shortcut__ring { transform: scale(1.06); }
.shortcut:hover .shortcut__name { color: var(--wine); }
.shortcut__name { font-size: 13px; line-height: 1.25; text-align: center; color: var(--ink); }

.tiles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 26px; border-radius: var(--r-l); overflow: hidden; text-decoration: none; isolation: isolate; }
.tile--wine { background: var(--wine); color: #fff; }
.tile--rose { background: var(--rose); color: var(--wine-900); }
.tile--ink { background: var(--wine-900); color: #fff; }
.tile--mist { background: var(--mist); color: var(--wine-900); }
.tile__text { position: relative; z-index: 1; display: grid; gap: 8px; max-width: 70%; }
.tile__name { font: 500 clamp(26px, 2.3vw, 34px)/1.02 var(--display); text-wrap: balance; }
.tile__count { font-size: 14px; opacity: .8; }
.tile__go { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; opacity: .85; transition: background-color .3s, color .3s; }
.tile__go .ic { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.tile:hover .tile__go { background: #fff; color: var(--wine); border-color: #fff; }
.tile--mist:hover .tile__go, .tile--rose:hover .tile__go { background: var(--wine); color: #fff; border-color: var(--wine); }
.tile:hover .tile__go .ic { transform: translateX(3px); }
.tile__img { position: absolute; right: -6%; bottom: -10%; height: 86%; aspect-ratio: 200 / 310; width: auto; object-fit: cover; -webkit-mask: url(/img/keyhole.svg) center / 100% 100% no-repeat; mask: url(/img/keyhole.svg) center / 100% 100% no-repeat; z-index: 0; transition: transform .8s var(--ease); }
.tile:hover .tile__img { transform: translateY(-6px); }

.benefits { background: var(--rose); color: var(--wine-900); padding-block: clamp(36px, 5vw, 56px); }
.benefits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 6px 24px; }
.benefit + .benefit { border-left: 1px solid rgb(98 13 27 / 18%); }
.benefit:first-child { padding-left: 0; }
.benefit__ic { width: 30px; height: 30px; color: var(--wine); stroke-width: 1.3; }
.benefit__title { font: 600 16px/1.3 var(--ui); }
.benefit__text { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--wine-700); }

/* ---------- product cards ---------- */

.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 28px; margin: -6px -2px -22px; scrollbar-width: thin; }
.rail__track > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.grid--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; padding: 10px 10px 14px; border-radius: 20px; background: #fffdfb; box-shadow: 0 1px 2px rgb(44 5 12 / 6%), 0 10px 30px -14px rgb(44 5 12 / 24%); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) {
  .pcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(44 5 12 / 6%), 0 18px 38px -16px rgb(44 5 12 / 32%); }
}
/* Product photos are shown whole (Billz packshots are often square): contained on white, never cropped. */
/* The product stands on a warm stage with a soft oval shadow under it.
   multiply lets white backgrounds of Billz photos melt into the stage. */
/* --tint is the product's own colour (set from its photo); the house rose is the fallback. */
.pcard__media, .pp__stage { --tint: 214 150 160; --stage: radial-gradient(70% 55% at 50% 58%, #fff 0%, rgb(255 255 255 / 0) 70%), radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, rgb(var(--tint)) 30%, #fff) 0%, rgb(255 255 255 / 0) 75%), linear-gradient(180deg, color-mix(in srgb, rgb(var(--tint)) 8%, #fff) 0%, color-mix(in srgb, rgb(var(--tint)) 22%, #fff) 100%); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1.08; border-radius: 14px; overflow: hidden; isolation: isolate; background: var(--stage); }
/* No photo yet: the brand's keyhole and the maker's name instead of a blank tile. */
.pcard__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 12px; text-align: center; }
.pcard__ph i { width: 13%; min-width: 22px; aspect-ratio: 200 / 310; background: var(--wine); opacity: .2; -webkit-mask: url(/img/keyhole.svg) center / contain no-repeat; mask: url(/img/keyhole.svg) center / contain no-repeat; }
.pcard__ph b { font: 600 12px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); opacity: .7; }
.pp__slide--ph::after { display: none; }
.pcard__media::after { content: ""; position: absolute; z-index: 0; left: 25%; right: 25%; bottom: 8%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, rgb(var(--tint)) 35%, rgb(44 5 12 / 34%)), rgb(44 5 12 / 0)); pointer-events: none; transition: transform .6s var(--ease), opacity .6s; }
.pcard__media img { position: absolute; z-index: 1; left: 12%; top: 8%; width: 76%; height: 81%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; transform-origin: 50% 100%; transition: opacity .45s var(--ease), transform 1s var(--ease); }
/* Cut-out photos already have a transparent background: keep their white caps white. */
.pcard__media img[src*=".webp"], .pcard__media img[src*=".png"], .pp__slide img[src*=".webp"], .pp__slide img[src*=".png"] { mix-blend-mode: normal; }
/* Photo flip: the cursor's position across the card picks the photo (public/js/app.js); thin bars show which one. */
.pcard__media .pcard__alt { opacity: 0; transition: opacity .25s var(--ease); }
.pcard__media img.is-shown { opacity: 1; }
.pcard__media.is-scrub img:first-child { opacity: 0; }
.pcard__dots { position: absolute; z-index: 2; left: 18%; right: 18%; bottom: 10px; display: flex; gap: 4px; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.pcard__dots i { flex: 1; height: 3px; border-radius: 2px; background: rgb(98 13 27 / 16%); transition: background-color .2s; }
.pcard__dots i.is-on { background: var(--wine); }
@media (hover: hover) {
  .pcard:hover .pcard__dots { opacity: 1; }
  .pcard:hover .pcard__media img:first-child { transform: scale(1.03); }
}
.pcard.is-out .pcard__media img:not(.pcard__alt), .pcard.is-out .pcard__media img.is-shown { opacity: .55; }
.pcard.is-out .pcard__media.is-scrub img:first-child { opacity: 0; }
.pcard__badges { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; max-width: calc(100% - 64px); }
.pcard__fav { position: absolute; top: 16px; right: 16px; z-index: 2; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 4px 0; }
.pcard__brand { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--wine); }
.pcard__name { font: 400 15px/1.35 var(--ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__name a { text-decoration: none; }
.pcard__name a:hover { color: var(--wine); }
.pcard__orig { margin-top: -4px; font: 400 12px/1.3 var(--ui); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp__orig { margin-top: 8px; font: 400 14px/1.4 var(--ui); color: var(--ink-3); letter-spacing: 0.01em; }
.pp__inci { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.pcard__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.pcard__sizes span { height: 22px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; line-height: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pcard__sizes span.is-out { color: var(--ink-3); border-style: dashed; text-decoration: line-through; }
.pcard__add { margin-top: auto; height: 42px; font-size: 14px; }
.pcard__add.is-busy { opacity: .6; }

.qs { position: absolute; z-index: 5; left: 18px; right: 18px; top: calc(108cqw + 2px); transform: translateY(-100%); background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow-2); padding: 10px; animation: qs-in .35s var(--ease); }
@keyframes qs-in { from { opacity: 0; transform: translateY(calc(-100% + 10px)); } }
.qs__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.qs__x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; margin: -4px -4px -4px 0; }
.qs__x:hover { background: var(--mist); }
.qs__x .ic { width: 18px; height: 18px; }
.qs__colors { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.qs__colors .chip--color { width: 34px; min-width: 34px; height: 34px; }
.qs__colors .dot { width: 22px; height: 22px; }
.qs__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.qs__sizes .chip { min-width: 0; height: 38px; padding: 0 4px; font-size: 13px; }

/* ---------- catalog ---------- */

.crumbs { padding-block: 18px 6px; font-size: 13px; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--wine); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs__sep { width: 14px; height: 14px; color: var(--ink-3); }

.cat-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 22px; }
.cat-head__count { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 26px; padding: 0 var(--gutter) 2px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 14px; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s; }
.subcat small { color: var(--ink-3); font-size: 12px; }
.subcat:hover { border-color: var(--wine); color: var(--wine); }
.inline-search { position: relative; max-width: 560px; margin-bottom: 26px; }
.inline-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-2); }
.inline-search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line-2); border-radius: var(--r-m); font-size: 16px; }
.inline-search input:focus { outline: none; border-color: var(--wine); }

.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 24px; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters__head { display: none; }
.filters__head h2 { font: 500 28px/1 var(--display); }
.fgroup { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.fgroup:first-child { padding-top: 0; }
.fgroup legend { float: left; width: 100%; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.fgroup legend + * { clear: both; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchips .chip { height: 38px; min-width: 50px; padding: 0 10px; }
.fcolors { display: grid; gap: 2px; }
.fcolor { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 40px; padding: 0 8px; margin: 0 -8px; border-radius: var(--r-m); cursor: pointer; font-size: 14px; }
.fcolor:hover { background: var(--mist); }
.fcolor input { position: absolute; opacity: 0; pointer-events: none; }
.fcolor .dot { width: 22px; height: 22px; }
.fcolor small { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.fcolor.is-on { color: var(--wine); font-weight: 600; }
.fcolor.is-on .dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--wine); }
.fcolor:has(input:focus-visible) { outline: 2px solid var(--focus); }
.fcolor:not(:has(.dot)) { grid-template-columns: minmax(0, 1fr) auto; }
.fcolor:not(:has(.dot))::before { content: ""; position: absolute; left: 8px; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 4px; }
.fcolor:not(:has(.dot)) span { padding-left: 30px; }
.fcolor.is-on:not(:has(.dot))::before { background: var(--wine); border-color: var(--wine); }
.fprice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fprice label { display: flex; align-items: center; gap: 6px; min-width: 0; height: 44px; padding-left: 12px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; cursor: text; transition: border-color .2s; }
.fprice label:focus-within { border-color: var(--wine); }
.fprice span { font-size: 13px; color: var(--ink-3); flex: none; }
.fprice input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0 10px 0 0; border: 0; background: none; font-size: 15px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.fprice input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fprice input:focus { outline: none; }
.fgroup--switches { display: grid; gap: 14px; border-bottom: 0; }
.switch { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { position: relative; width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); flex: none; transition: background-color .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 20%); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--wine); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--focus); outline-offset: 2px; }
.filters__foot { display: flex; gap: 10px; padding-top: 6px; }
.filters__foot #filtersShow { display: none; }
.filters-scrim { display: none; }

.cat-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 14px; }
.filters-btn { display: none; }
.count-pill { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--wine); color: #fff; font-size: 12px; line-height: 20px; }
.count-pill[hidden] { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
#results { transition: opacity .2s; }
#results.is-loading, .is-loading { opacity: .5; pointer-events: none; }
.more { display: flex; justify-content: center; margin-top: 44px; }
.more:empty { display: none; }

/* ---------- product page ---------- */

.pp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; padding-top: 10px; }
.pp__gallery { position: sticky; top: 140px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.pp__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 180px); overflow-y: auto; scrollbar-width: none; }
.pp__thumb { width: 76px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); opacity: .7; transition: opacity .2s, border-color .2s; flex: none; }
.pp__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pp__thumb img[src*=".jpeg"] { object-fit: cover; }
.pp__thumb.is-on, .pp__thumb:hover { opacity: 1; border-color: var(--wine); }
/* Mood pictures (.jpeg) have their own background: they fill the frame, with no padding, blend or floor shadow. */
.pp__slide:has(img[src*=".jpeg"])::after { display: none; }
.pp__stage { position: relative; border-radius: var(--r-l); overflow: hidden; isolation: isolate; background: var(--stage); }
.pp__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp__track::-webkit-scrollbar { display: none; }
.pp__slide { position: relative; flex: 0 0 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
.pp__slide::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 9%; height: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgb(44 5 12 / 24%), rgb(44 5 12 / 0)); pointer-events: none; }
.pp__slide img { position: relative; z-index: 1; width: 100%; height: 100%; padding: 12% 14% 11%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; }
.pp__slide img[src*=".jpeg"] { padding: 0; object-fit: cover; object-position: 50% 50%; mix-blend-mode: normal; }
/* Mannequin photos (.is-studio, see markStudio in motion.js) bring their own grey studio: they fill the frame,
   and on cards they are cropped closer so the garment, not the empty studio, carries the picture. */
.pp__slide img.is-studio { padding: 0; object-fit: contain; object-position: 50% 50%; mix-blend-mode: normal; }
.pp__slide:has(img.is-studio)::after { display: none; }
.pp__slide:has(img.is-studio) { background: var(--studio-l, #e2e1df) left / 50.5% 100% no-repeat, var(--studio-r, #e2e1df) right / 50.5% 100% no-repeat; }
.pp__thumb img.is-studio { object-fit: cover; }
.pcard__media img.is-studio { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; mix-blend-mode: normal; transform: scale(1.14); transform-origin: 50% 32%; }
.pcard__media:has(img.is-studio) { background: #e6e5e5; }
.pcard__media:has(img.is-studio)::after { display: none; }
@media (hover: hover) { .pcard:hover .pcard__media img.is-studio:first-child { transform: scale(1.18); } }
.pp__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: none; justify-content: center; gap: 6px; }
.pp__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgb(31 17 20 / 25%); transition: width .3s var(--ease), background-color .3s; }
.pp__dots span.is-on { width: 20px; background: var(--wine); }
.pp__badges { top: 14px; left: 14px; }
.pp__info { padding-top: 8px; }
.pp__brand { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--wine); margin-bottom: 8px; text-decoration: none; }
.pp__brand:hover { text-decoration: underline; }
.pp__title { font: 500 clamp(32px, 3.2vw, 46px)/1.06 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.pp__price { margin-top: 18px; }
.pp__stock { display: flex; align-items: center; gap: 14px; margin-top: 12px; min-height: 22px; }
.pp__stock .stock { font-size: 14px; }
.meter { position: relative; width: 120px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--ink-2); border-radius: 2px; transition: width .5s var(--ease); }
.meter.is-low i { background: var(--wine); }
.opt { margin-top: 26px; }
.opt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.opt__head b { color: var(--ink); font-weight: 600; }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__hint { margin-top: 10px; color: var(--wine); font-size: 14px; font-weight: 500; }
.opt.shake .opt__vals { animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.pp__buy { display: flex; gap: 10px; margin-top: 28px; }
.pp__bar { display: none; }
.pp__cta { flex: 1; min-width: 0; }
.pp__incart { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ok); }
.pp__incart .ic { width: 18px; height: 18px; }
.pp__incart a { color: var(--wine); }
.pp__sku { margin-top: 14px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.acc { margin-top: 30px; border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .ic { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.acc__item[open] summary .ic { transform: rotate(180deg); }
.acc__item .prose { padding-bottom: 22px; }
.prose p { color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 68ch; }
.prose p + p { margin-top: 12px; }
.specs { display: grid; gap: 10px; padding-bottom: 22px; font-size: 14px; }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; }
.specs dt { color: var(--ink-3); }
.dlist { display: grid; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.dlist li { display: grid; gap: 2px; }
.dlist span { color: var(--ink-2); }
.share { display: flex; align-items: center; gap: 4px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.share span { margin-right: 6px; }

/* ---------- cart ---------- */

.page-cart .h1 { margin: 14px 0 24px; }
.cart-page { max-width: 780px; min-height: 200px; }
.clines { display: grid; }
.cline { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline:first-child { padding-top: 4px; }
.cline__img { display: block; width: 84px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cline__img img { width: 100%; height: 100%; object-fit: contain; }
.cline__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cline__name { font-size: 15px; line-height: 1.35; text-decoration: none; }
.cline__name:hover { color: var(--wine); }
.cline__attrs { font-size: 13px; color: var(--ink-2); }
.cline__issue { font-size: 13px; color: var(--wine); font-weight: 600; }
.cline__left { font-size: 13px; color: var(--wine); }
.cline__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.cline__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cline__rm { width: 38px; height: 38px; color: var(--ink-3); }
.cline__rm:hover { color: var(--wine); }
.cline__rm .ic { width: 20px; height: 20px; }
.cline.is-out .cline__img, .cline.is-out .cline__name { opacity: .55; }
.ctotal { display: grid; gap: 16px; padding-top: 22px; }
.ctotal__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.ctotal__row b { color: var(--ink); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- checkout ---------- */

.page-checkout .h1 { margin: 14px 0 28px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 40px; }
.co__form { display: grid; gap: 30px; max-width: 640px; }
.co__group { display: grid; gap: 14px; }
.co__group legend { margin-bottom: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px var(--rose-200); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input[aria-invalid="true"] { border-color: var(--wine); background: var(--rose-200); }
.field__err { color: var(--wine); font-size: 13px; font-weight: 500; }
.field__err:empty { display: none; }
#addrFields { display: grid; gap: 14px; }
#addrFields:empty { display: none; }
.radios { display: grid; gap: 8px; }
.radio-card { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio-card:hover { border-color: var(--ink-3); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__ui { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .2s, border-width .2s; }
.radio-card__text { display: grid; gap: 2px; font-size: 15px; }
.radio-card__text b { font-weight: 500; }
.radio-card__text small { font-size: 13px; color: var(--ink-2); }
.radio-card__price { font-size: 14px; color: var(--ink-2); text-align: right; }
.radio-card:has(input:checked) { border-color: var(--wine); background: var(--rose-200); }
.radio-card input:checked + .radio-card__ui { border: 6px solid var(--wine); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.radio-card--slim { padding-block: 12px; }
.co__alert { padding: 14px 16px; border-radius: var(--r-m); background: var(--rose-200); border: 1px solid var(--wine); color: var(--wine-800); font-size: 14px; font-weight: 500; }
.co__form > .small { margin-top: -18px; }
.co__summary { position: sticky; top: 140px; padding: 26px; border-radius: var(--r-l); background: var(--mist); }
.co__summary .h3 { margin-bottom: 18px; }
.sum-fold > summary { display: none; }
.sum-lines { display: grid; gap: 14px; margin-bottom: 20px; }
.sum-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.sum-lines__img { position: relative; width: 52px; aspect-ratio: 3 / 4; border-radius: 6px; background: #fff; }
.sum-lines__img img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.sum-lines__img i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 11px/20px var(--ui); font-style: normal; text-align: center; }
.sum-lines__name { display: grid; gap: 2px; line-height: 1.3; }
.sum-lines__name small { color: var(--ink-2); font-size: 12px; }
.sum-lines b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-2); font-size: 15px; margin-bottom: 8px; }
.sum-total div { display: flex; justify-content: space-between; gap: 12px; }
.sum-total dt { color: var(--ink-2); }
.sum-total dd { font-variant-numeric: tabular-nums; text-align: right; }
.sum-total__big { padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 18px; }
.sum-total__big dt { color: var(--ink); }
.sum-total__big dd { font-weight: 600; font-size: 22px; }

/* ---------- order done, empty, info ---------- */

.done { max-width: 560px; margin: clamp(40px, 8vw, 96px) auto; text-align: center; display: grid; justify-items: center; gap: 16px; }
.done__art { width: 46px; fill: var(--wine); margin-bottom: 8px; }
.done__num { font-size: 18px; }
.done__num b { color: var(--wine); font-variant-numeric: tabular-nums; }
.done__text { color: var(--ink-2); max-width: 46ch; }
.done .btn { margin-top: 12px; }

.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: clamp(48px, 9vw, 110px) 0; }
.empty__art { width: 40px; fill: var(--rose); margin-bottom: 8px; }
.empty__title { font: 500 clamp(26px, 2.6vw, 34px)/1.15 var(--display); max-width: 24ch; text-wrap: balance; }
.empty__text { color: var(--ink-2); max-width: 42ch; }
.empty .btn { margin-top: 12px; }
.adult-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 22px; padding: 14px 16px; border-radius: var(--r-m); background: var(--mist); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.adult-note > .ic { flex: none; width: 18px; height: 18px; color: var(--wine); }
.adult-note p { flex: 1 1 220px; }
.adult-note .btn { flex: none; }

.info-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 20px 0 64px; }
.info-nav { position: sticky; top: 140px; align-self: start; display: grid; gap: 2px; }
.info-nav a { padding: 10px 12px; border-radius: var(--r-m); text-decoration: none; color: var(--ink-2); font-size: 15px; }
.info-nav a:hover { background: var(--mist); color: var(--ink); }
.info-nav a[aria-current="page"] { background: var(--rose-200); color: var(--wine); font-weight: 600; }
.prose--page { max-width: 780px; }
.prose--page .h1 { margin-bottom: 22px; }
.prose--page p { font-size: 16px; }
.prose--page h2 { margin: 30px 0 10px; font: 500 24px/1.2 var(--display); color: var(--ink); }
.prose--page .lead { color: var(--ink-2); font-size: 18px; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; margin: 0 0 28px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font: 500 24px/1.2 var(--display); padding-bottom: 12px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--mist); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.table tbody th { font-weight: 600; color: var(--wine); }
.note { padding: 16px 18px; border-radius: var(--r-m); background: var(--rose-200); color: var(--wine-800) !important; }
.stores__title { margin-bottom: 14px; }
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.store { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: var(--r-l); background: var(--mist); }
.prose .store p, .prose .store h3 { margin: 0; }
.store__name { display: flex; align-items: center; gap: 10px; font: 500 26px/1.1 var(--display); color: var(--ink); }
.store__num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--wine); color: #fff; font: 600 13px/1 var(--ui); }
.store__addr { font-size: 16px; }
.store__hours { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.prose .store .store__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.store__links .btn { text-decoration: none; }
.store__links .btn .ic { width: 16px; height: 16px; }
.store-map { margin: 16px 0 34px; border-radius: var(--r-l); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 9; max-height: 440px; width: 100%; }
.store-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.field__label { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field--points { margin-top: 14px; }
.done__point { color: var(--ink-2); line-height: 1.6; }
.done__point b { color: var(--ink); font-weight: 500; }
.footer__store { display: grid; gap: 2px; }
.footer__store a { text-decoration: none; }
.footer__store a:hover { text-decoration: underline; }
.footer__store small { opacity: .75; font-size: 13px; }
.contacts { display: grid; gap: 22px; }
.contacts div { display: grid; gap: 4px; }
.contacts dt { font-size: 13px; color: var(--ink-3); }
.contacts dd { font-size: 18px; }
.contacts a { text-decoration: none; color: var(--wine); }
.socials { display: flex; gap: 6px; }

/* ---------- footer ---------- */

.footer { margin-top: clamp(64px, 8vw, 120px); background: var(--wine); color: var(--rose); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; }
.footer__logo { width: 180px; height: auto; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 20px; font-size: 14px; line-height: 1.6; max-width: 36ch; }
.footer__col h2 { font: 600 14px/1.3 var(--ui); color: #fff; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; font-size: 14px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__phone { font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; }
.footer__social { display: flex; gap: 4px; margin-top: 14px; margin-left: -10px; }
.footer__handle { margin-top: 4px; font-size: 13px; color: rgb(236 214 216 / 80%); }
.footer .icon-btn { color: var(--rose); }
.footer .icon-btn:hover { background: rgb(255 255 255 / 10%); color: #fff; }
.footer__bottom { padding-block: 22px 26px; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 13px; color: rgb(236 214 216 / 80%); }

/* ---------- overlays ---------- */

.scrim { position: fixed; inset: 0; z-index: 60; background: rgb(44 5 12 / 42%); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(440px, 92vw); display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-2); transition: transform .34s var(--ease); }
/* A closed drawer is truly gone: no Tab stops, nothing for screen readers. */
.drawer[hidden] { display: none; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.drawer__logo { position: relative; display: block; width: 120px; }
.drawer__logo img { display: block; width: 100%; height: auto; }
/* A slow band of light crosses the letters while the menu is open; the vector logo cuts it to their shape. */
.drawer__logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgb(255 240 244 / 0) 42%, rgb(255 236 241 / 85%) 50%, rgb(255 240 244 / 0) 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url(/img/logo.svg) center / 100% 100% no-repeat; mask: url(/img/logo.svg) center / 100% 100% no-repeat; }
.drawer.is-open .drawer__logo::after { animation: logo-shine 7s cubic-bezier(.45, 0, .25, 1) .6s infinite; }
@keyframes logo-shine {
  0% { background-position: 100% 0; opacity: 1; }
  42% { background-position: 0% 0; opacity: 1; }
  43%, 100% { background-position: 0% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .drawer.is-open .drawer__logo::after { animation: none; } }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; }
.drawer__body .empty { padding-block: 48px; }
.drawer .ctotal { position: sticky; bottom: -22px; background: #fff; padding-bottom: 22px; margin-bottom: -22px; }
body.has-overlay { overflow: hidden; }

.menu__list { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu__list a, .menu__list summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; font-size: 16px; text-decoration: none; cursor: pointer; list-style: none; }
.menu__list summary::-webkit-details-marker { display: none; }
.menu__list summary .ic { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.menu__list details[open] summary .ic { transform: rotate(180deg); }
.menu__list details ul { padding: 0 0 8px 14px; border-left: 1px solid var(--line); margin-left: 2px; }
.menu__list details a { min-height: 44px; font-size: 15px; color: var(--ink-2); }
.menu__list small { color: var(--ink-3); font-size: 13px; }
.menu__sale { color: var(--wine); font-weight: 600; }
.menu__list--cats { font-family: var(--ui); }
.menu__list--quiet a { min-height: 44px; font-size: 15px; color: var(--ink-2); }

.toasts { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); z-index: 95; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-radius: var(--r-m); background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: auto; }
.toast.is-in { opacity: 1; transform: none; }
.toast__action { color: var(--rose); font-weight: 600; white-space: nowrap; }

.tabbar { display: none; }

/* ---------- brands ---------- */

.bmark { display: inline-flex; align-items: center; justify-content: center; }
.bmark--word { font: 500 clamp(22px, 2.1vw, 30px)/1 var(--display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); transition: color .25s; }
.bmark--logo img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }

.brands .section__head { margin-bottom: 14px; }
.marquee { position: relative; overflow: hidden; margin-inline: calc(var(--gutter) * -1); touch-action: pan-y; cursor: grab; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; width: max-content; padding-block: 10px; }
.marquee__clone { display: contents; }
.marquee__item { flex: none; display: grid; place-items: center; height: 76px; padding-inline: clamp(30px, 4vw, 60px); text-decoration: none; position: relative; }
.marquee__item::after { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--rose); transform: translateX(50%); }
.marquee__item .bmark--logo img { max-width: none; transition: transform .35s var(--ease); }
.marquee__item:hover .bmark--logo img { transform: scale(1.05); }
.marquee__item:hover .bmark--word, .marquee__item:focus-visible .bmark--word { color: var(--wine); }

.mega--brands { padding: 12px; }
.mega--brands ul { display: grid; grid-template-columns: repeat(var(--cols, 1), 220px); gap: 0 6px; }
.mega--brands .mega__all { display: flex; align-items: center; justify-content: flex-start; gap: 6px; height: 42px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; }
.mega--brands .mega__all .ic { width: 16px; height: 16px; }
.mega--end { left: auto; right: 0; }

.bhead { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin: 14px 0 24px; }
.bhead__mark { flex: none; width: clamp(88px, 9vw, 124px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bhead__mark.is-logo { width: auto; min-width: 180px; aspect-ratio: auto; min-height: 104px; padding: 22px 34px; border-radius: var(--r-l); }
.bhead__mark .bmark--word { font-size: 17px; line-height: 1.05; white-space: normal; text-align: center; color: var(--wine); }
.bhead__text { display: grid; gap: 6px; min-width: 0; }
.bhead__about { color: var(--ink-2); max-width: 62ch; }
.btabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 26px; padding: 0 var(--gutter) 2px; }
.btabs::-webkit-scrollbar { display: none; }
.btab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 14px; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btab small { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.btab:hover { border-color: var(--wine); color: var(--wine); }
.btab.is-on { background: var(--wine); border-color: var(--wine); color: #fff; }
.btab.is-on small { color: var(--rose); }

.abc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.abc { display: flex; flex-wrap: wrap; gap: 4px; }
.abc__l { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: var(--r-m); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s, opacity .2s; }
.abc__l:hover { background: var(--rose-200); color: var(--wine); }
.abc__l.is-on { background: var(--wine); color: #fff; }
.abc__l.is-off { opacity: .3; pointer-events: none; }
.abc-find { position: relative; width: min(100%, 300px); }
.abc-find .ic { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.abc-find input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; font-size: 15px; transition: border-color .2s; }
.abc-find input::placeholder { color: var(--ink-3); }
.abc-find input:focus { outline: none; border-color: var(--wine); }
.abc-group { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.abc-group__l { font: 500 clamp(42px, 4vw, 58px)/.9 var(--display); color: var(--wine); }
.abc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.bcard { display: grid; gap: 2px; text-decoration: none; }
.bcard__logo { display: grid; place-items: center; height: 96px; margin-bottom: 10px; padding: 0 18px; border-radius: var(--r-l); background: var(--mist); overflow: hidden; transition: background-color .25s; }
.bcard__logo .bmark--logo img { transition: transform .35s var(--ease); }
.bcard:hover .bcard__logo { background: var(--rose-200); }
.bcard:hover .bcard__logo img { transform: scale(1.05); }
.bcard__logo .bmark--word { font-size: 22px; color: var(--ink-2); white-space: normal; text-align: center; }
.bcard__name { font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcard small { color: var(--ink-3); font-size: 13px; }
.bcard:hover .bcard__name { color: var(--wine); }
.abc-none { padding: 40px 0; color: var(--ink-2); text-align: center; }

.suggest__brands { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 4px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.suggest__brand { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 19px; background: var(--mist); text-decoration: none; transition: background-color .2s, color .2s; }
.suggest__brand:hover, .suggest__brand:focus-visible { background: var(--rose-200); color: var(--wine); outline: none; }
.suggest__brand .bmark--word { font: 500 14px/1 var(--ui); letter-spacing: 0; text-transform: none; color: inherit; }
.suggest__brand .bmark--logo img { height: 18px; max-width: 90px; }
.suggest__brand small { color: var(--ink-3); font-size: 12px; }

/* ---------- gift certificates ---------- */

.gcard { --w: 240px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: var(--w); aspect-ratio: 1.586; padding: 7% 8%; border-radius: 14px; overflow: hidden; container-type: inline-size; color: #fff; background: linear-gradient(140deg, #8b1a2e 0%, var(--wine) 42%, var(--wine-900) 100%); box-shadow: 0 2px 4px rgb(44 5 12 / 18%), 0 26px 44px -20px rgb(44 5 12 / 60%); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 24%) 47%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: var(--shine, 115%) 0; transition: background-position .9s var(--ease); }
.gcard__o { position: absolute; z-index: -1; right: -14%; top: -40%; height: 180%; width: auto; fill: rgb(255 255 255 / 9%); }
.gcard__top { display: flex; align-items: flex-start; justify-content: space-between; }
.gcard__logo { width: 36cqw; height: auto; filter: brightness(0) invert(1); }
.gcard__sms { padding: 1.6cqw 3cqw; border: 1px solid currentColor; border-radius: 99px; font: 600 4.2cqw/1 var(--ui); letter-spacing: .12em; opacity: .8; }
.gcard__bottom { display: grid; gap: 1.4cqw; }
.gcard__label { font: 600 3.9cqw/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.gcard__amount { font: 500 11.5cqw/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gcard__to { font: 400 4.6cqw/1.2 var(--ui); opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard:not(.gcard--xl) .gcard__to { display: none; }
.gcard--electronic { color: var(--wine-900); background: linear-gradient(140deg, #fff 0%, var(--rose-200) 45%, var(--rose) 100%); }
.gcard--electronic .gcard__logo { filter: none; }
.gcard--electronic .gcard__o { fill: rgb(98 13 27 / 7%); }

.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gift-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 270px; padding: clamp(26px, 3vw, 42px); border-radius: var(--r-l); text-decoration: none; }
.gift-banner--plastic { background: linear-gradient(120deg, #fbf5f6 0%, var(--rose-200) 100%); color: var(--ink); }
.gift-banner--electronic { background: linear-gradient(120deg, var(--wine-800) 0%, var(--wine) 55%, #7f1528 100%); color: #fff; }
.gift-banner__o { position: absolute; z-index: -1; right: -10%; top: -48%; height: 196%; width: auto; fill: rgb(98 13 27 / 6%); transition: transform 1.4s var(--ease); }
.gift-banner--electronic .gift-banner__o { right: auto; left: -22%; fill: rgb(255 255 255 / 7%); }
.gift-banner:hover .gift-banner__o { transform: rotate(-6deg) scale(1.03); }
.gift-banner__text { display: grid; justify-items: start; gap: 12px; }
.gift-banner__tag { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.gift-banner--electronic .gift-banner__tag { color: var(--rose); }
.gift-banner__title { font: 500 clamp(28px, 2.6vw, 38px)/1.05 var(--display); text-wrap: balance; max-width: 15ch; }
.btn.gift-banner__cta { margin-top: 10px; height: 48px; padding: 0 22px; border-radius: 24px; border: 1.5px solid rgb(31 17 20 / 28%); background: transparent; color: inherit; }
.gift-banner--electronic .gift-banner__cta { border-color: rgb(255 255 255 / 45%); }
.gift-banner__cta .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.gift-banner:hover .gift-banner__cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.gift-banner--electronic:hover .gift-banner__cta { background: #fff; border-color: #fff; color: var(--wine); }
.gift-banner:hover .gift-banner__cta .ic { transform: translateX(3px); }
.gift-banner__art { padding-right: 6px; }
.gift-banner__art .gcard { --w: clamp(170px, 15vw, 220px); transform: rotate(-7deg); transition: transform .7s var(--ease); }
.gift-banner--electronic .gift-banner__art .gcard { transform: rotate(6deg); }
.gift-banner:hover .gift-banner__art .gcard { --shine: -30%; transform: rotate(-3deg) translateY(-6px) scale(1.04); }
.gift-banner--electronic:hover .gift-banner__art .gcard { transform: rotate(2deg) translateY(-6px) scale(1.04); }

.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: 12px; }
.gift__stage { position: sticky; top: 150px; display: grid; place-items: center; min-height: 480px; padding: 40px 24px; border-radius: var(--r-l); background: radial-gradient(120% 90% at 50% 40%, var(--rose-200), var(--mist) 72%); perspective: 1100px; overflow: hidden; }
.gift__tilt { width: min(82%, 460px); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.gift__tilt .gcard { --w: 100%; --shine: var(--shine-x, 115%); animation: card-in .9s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) rotate(-4deg); } }
.gift__form { gap: 26px; max-width: none; }
.gift__form .h1 { margin-bottom: -10px; }
.gift__amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.achip { position: relative; }
.achip input { position: absolute; opacity: 0; pointer-events: none; }
.achip span { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-m); font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.achip:hover span { border-color: var(--ink-3); }
.achip input:checked + span { border-color: var(--wine); background: var(--wine); color: #fff; }
.achip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.gift__custom { max-width: 340px; }
.gift__custom[hidden] { display: none; }
.gift__points { margin-top: 2px; }
.gift__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.gift__total b { font: 500 32px/1 var(--display); color: var(--wine); font-variant-numeric: tabular-nums; }
.gift-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.gift-steps { display: grid; gap: 14px; margin-top: 16px; counter-reset: step; }
.gift-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--ink-2); counter-increment: step; }
.gift-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rose-200); color: var(--wine); font-size: 14px; font-weight: 600; }
.gift-terms { display: grid; gap: 10px; margin-top: 16px; color: var(--ink-2); }
.gift-terms li { position: relative; padding-left: 18px; }
.gift-terms li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }

@media (max-width: 1023px) {
  .gifts { grid-template-columns: minmax(0, 1fr); }
  .gift { grid-template-columns: minmax(0, 1fr); }
  .gift__stage { position: relative; top: 0; min-height: 320px; }
  .gift-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .gift-banner { min-height: 0; gap: 12px; padding: 22px 20px; }
  .gift-banner__title { font-size: 25px; }
  .gift-banner__tag { font-size: 11px; }
  .btn.gift-banner__cta { height: 44px; padding: 0 18px; font-size: 14px; }
  .gift-banner__art .gcard { --w: 128px; }
  .gift__stage { min-height: 250px; padding: 28px 16px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .gift__tilt { width: min(88%, 360px); }
  .gift-info { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .gift__tilt .gcard { animation: none; }
}

/* ---------- 18+ section ---------- */

.tag18 { display: inline-grid; place-items: center; height: 19px; margin-left: 6px; padding: 0 5px; border: 1px solid currentColor; border-radius: 4px; font: 600 11.5px/1 var(--ui); letter-spacing: .02em; color: var(--wine); vertical-align: middle; opacity: .9; }
.h1 .tag18 { height: 26px; margin-left: 12px; padding: 0 8px; border-color: var(--wine); background: var(--wine); color: #fff; font-size: 14px; vertical-align: .35em; opacity: 1; }
.mainnav__sale .tag18, .footer .tag18 { color: inherit; }
/* In lists where the count sits on the right, keep the mark next to the name. */
.menu__list a .tag18, .menu__list summary .tag18, .mega a .tag18, .subcat .tag18 { margin-right: auto; }
/* In the menu the 18+ mark is a filled wine square next to the section name. */
.menu__list .tag18 { height: 22px; margin-left: 10px; padding: 0 6px; border-color: var(--wine); background: var(--wine); color: #fff; font-size: 12px; opacity: 1; }
.subcat .tag18 { margin-right: 0; }
.page-gate { padding-bottom: 40px; }
.agegate { display: grid; justify-items: center; gap: 14px; max-width: 520px; margin: clamp(24px, 6vw, 64px) auto 0; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 44px); border-radius: var(--r-l); background: radial-gradient(120% 100% at 50% 0%, var(--rose-200), var(--mist) 70%); text-align: center; }
/* 18+ badge: settles in, a warm glow breathes behind it, a soft highlight runs around the ring. */
.agegate__badge { position: relative; isolation: isolate; display: grid; place-items: center; width: 84px; height: 84px; margin: 10px 0 14px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #8c2335 0%, var(--wine) 55%, var(--wine-800) 100%); color: #fff; font: 500 32px/1 var(--display); text-shadow: 0 0 14px rgb(255 214 220 / 55%); box-shadow: 0 0 0 6px rgb(98 13 27 / 10%), 0 10px 26px -8px rgb(98 13 27 / 55%); animation: badge-in 1s cubic-bezier(.16, 1, .3, 1) both; }
.agegate__badge::before { content: ""; position: absolute; z-index: -1; inset: -36px; border-radius: 50%; background: radial-gradient(closest-side, rgb(140 35 53 / 62%), rgb(196 92 110 / 34%) 55%, rgb(236 214 216 / 0) 100%); filter: blur(5px); animation: badge-glow 3.6s ease-in-out .6s infinite; }
.agegate__badge::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, rgb(140 35 53 / 0) 0 50%, rgb(140 35 53 / 85%) 68%, rgb(255 225 231 / 100%) 74%, rgb(140 35 53 / 0) 86% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: badge-spin 5s linear infinite; }
.agegate__num { display: inline-block; animation: badge-num 3.6s ease-in-out .6s infinite; }
@keyframes badge-num { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
@keyframes badge-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes badge-glow { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .agegate__badge, .agegate__badge::before, .agegate__badge::after, .agegate__num { animation: none; }
  .agegate__badge::before { opacity: .8; }
  .agegate__badge::after { opacity: 0; }
}
.agegate .h1 { font-size: clamp(30px, 3.4vw, 42px); }
.agegate__text { color: var(--ink-2); max-width: 40ch; }
.agegate__trust { display: grid; gap: 10px; width: 100%; max-width: 400px; margin: 4px 0 0; padding: 14px 16px; list-style: none; border-radius: 10px; background: rgb(255 255 255 / 65%); text-align: left; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.agegate__trust li { display: flex; gap: 10px; align-items: flex-start; }
.agegate__trust .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--wine); }
.agegate__ask { margin-top: 6px; font-weight: 600; color: var(--ink); }
.agegate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.agegate__note { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; }
.agegate__note .ic { width: 16px; height: 16px; }
.pp__discreet { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-m); background: var(--mist); color: var(--ink-2); font-size: 14px; }
.pp__discreet .ic { width: 18px; height: 18px; color: var(--wine); }
.co__discreet { align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); }
.co__discreet:has(input:checked) { border-color: var(--wine); background: var(--rose-200); }
.co__discreet input:disabled ~ .switch__ui { opacity: .85; }
.co__discreet-text { display: grid; gap: 2px; }
.co__discreet-text b { font-weight: 500; font-size: 15px; }
.co__discreet-text small { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
@media (max-width: 759px) {
  .agegate { margin-top: 12px; }
  .agegate__actions .btn { flex: 1 1 100%; }
}

/* ---------- signature motion ---------- */

/* Home, first visit: the photo opens out of a tiny keyhole, the O ring settles, then the words arrive. */
.is-intro .hero__slide.is-active .keyhole { animation: keyhole-open 1.35s cubic-bezier(.16, 1, .3, 1) .25s both; }
.is-intro .hero__slide.is-active .keyhole img { animation: keyhole-photo 2.2s cubic-bezier(.16, 1, .3, 1) .25s both; }
.is-intro .hero__slide.is-active .hero__o { animation: ring-in 1.6s cubic-bezier(.16, 1, .3, 1) .1s both; }
.is-intro .hero__slide.is-active .hero__copy > * { animation: rise-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.is-intro .hero__slide.is-active .hero__copy > :nth-child(1) { animation-delay: .55s; }
.is-intro .hero__slide.is-active .hero__copy > :nth-child(2) { animation-delay: .7s; }
.is-intro .hero__slide.is-active .hero__copy > :nth-child(3) { animation-delay: .85s; }
.is-intro .hero__ctrl { animation: rise-in .8s cubic-bezier(.16, 1, .3, 1) 1.1s both; }
@keyframes keyhole-open { from { -webkit-mask-size: 12% 12%; mask-size: 12% 12%; } to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } }
@keyframes keyhole-photo { from { transform: scale(1.35); filter: brightness(1.08); } to { transform: scale(1.12); filter: none; } }
@keyframes ring-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.82) rotate(-10deg); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }

/* Product page: the big photo opens through the keyhole the first time it is shown. */
.pp__stage.is-opening { -webkit-mask: url(/img/keyhole.svg) 50% 44% / 12% auto no-repeat; mask: url(/img/keyhole.svg) 50% 44% / 12% auto no-repeat; animation: stage-open 1.15s cubic-bezier(.16, 1, .3, 1) .08s both; }
@keyframes stage-open { to { -webkit-mask-size: 560% auto; mask-size: 560% auto; } }

/* Cards are laid on the shelf one after another as they come into view. */
.reveal-on .pcard:not(.is-in) { opacity: 0; }
.reveal-on .pcard.is-in { animation: card-in .8s cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes card-in { from { opacity: 0; transform: translateY(26px) scale(.985); } }

/* Colour change: the old photo dissolves like silk, the new one surfaces from a soft blur.
   The gallery is already positioned (sticky on desktop, relative on phones), so the ghost needs no extra rule here. */
.pp__ghost { position: absolute !important; z-index: 3; margin: 0; pointer-events: none; animation: silk-out .7s cubic-bezier(.4, 0, .2, 1) forwards; }
#ppGallery.is-swap .pp__stage .pp__slide img:not([data-ld="0"]) { animation: silk-in .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes silk-out { to { opacity: 0; filter: blur(10px); transform: scale(1.025); } }
@keyframes silk-in { from { opacity: 0; filter: blur(10px); transform: scale(.985); } }
.pp__price.is-changed { animation: price-in .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes price-in { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }

@media (prefers-reduced-motion: reduce) {
  .reveal-on .pcard:not(.is-in) { opacity: 1; }
  .pp__stage.is-opening { -webkit-mask: none; mask: none; }
}

/* ---------- motion ---------- */

/* Photos fade in when loaded; product photos shimmer while they load. */
img[data-ld="0"] { opacity: 0 !important; }
img.ld-in { animation: img-in .6s var(--ease); }
@keyframes img-in { from { opacity: 0; } }
.pcard__media.is-ld-wait, .pp__slide.is-ld-wait { background-image: linear-gradient(100deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 70%) 50%, rgb(255 255 255 / 0) 70%); background-size: 220% 100%; background-repeat: no-repeat; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes swap-in { from { opacity: 0; transform: scale(.975); } }

/* Loading outline: catalog and product pages shimmer in place while they load. */
.sk-page { display: grid; gap: 18px; padding-top: 18px; padding-bottom: 60px; animation: page-fade .3s var(--ease) both; }
.sk { display: block; border-radius: 8px; background: linear-gradient(100deg, #efe5e6 30%, #faf6f6 50%, #efe5e6 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.sk--media, .sk--pp { background-image: linear-gradient(100deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 75%) 50%, rgb(255 255 255 / 0) 70%), linear-gradient(180deg, #f7eef0, #efdfe2); background-size: 220% 100%, 100% 100%; }
.sk--line { height: 13px; }
.sk--h { height: 30px; border-radius: 10px; }
.sk--media { aspect-ratio: 1 / 1.08; border-radius: 14px; }
.sk--pp { aspect-ratio: 3 / 4; border-radius: var(--r-l); }
.sk--price { height: 28px; width: 34%; margin-top: 10px; }
.sk--btn { height: 50px; width: 100%; border-radius: var(--r-m); margin: 8px 0 14px; }
.sk-card { display: grid; gap: 10px; align-content: start; }
.sk-card .sk--media { margin-bottom: 4px; }
.sk-info { display: grid; gap: 14px; align-content: start; padding-top: 10px; }
.sk-grid { margin-top: 12px; }
@media (max-width: 1023px) { .sk-page .pp { grid-template-columns: 1fr; } }

/* Pages arrive with a short rise. */
#app.is-enter > * { animation: page-in .45s var(--ease) backwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
#app.is-flight.is-enter > * { animation-name: page-fade; }
@keyframes page-fade { from { opacity: 0; } }

/* Card → product page: the card photo grows into the big photo. */
.pflight { position: fixed; z-index: 96; margin: 0; object-fit: contain; object-position: 50% 100%; pointer-events: none; filter: drop-shadow(0 18px 28px rgb(44 5 12 / 18%)); }

/* Add to cart: the photo flies to the bag, the bag and its counter answer. */
.fly { position: fixed; z-index: 95; object-fit: contain; object-position: 50% 100%; pointer-events: none; filter: drop-shadow(0 12px 18px rgb(44 5 12 / 22%)); }
.btn.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.is-added .ic { animation: pop .45s var(--ease); }
.count.is-bump { animation: bump .55s var(--ease); }
[data-cart-open].is-bump > .ic, .tabbar [data-tab="cart"].is-bump > .ic { animation: bag .55s var(--ease); }
@keyframes bump { 30% { transform: scale(1.4); } }
@keyframes bag { 25% { transform: translateY(-3px) rotate(-9deg); } 55% { transform: rotate(6deg); } }
.fav.is-pop .ic { animation: heart-pop .55s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
@keyframes heart-pop { 0% { transform: scale(.6); } 45% { transform: scale(1.32); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.fav::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--wine); opacity: 0; pointer-events: none; }
.fav.is-pop::after { animation: heart-burst .6s var(--ease); }
@keyframes heart-burst { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }

/* Buttons give a little under the finger. */
.btn, .icon-btn, .chip, .fav { transition-property: background-color, color, border-color, opacity, box-shadow, transform; }
.btn:active:not(:disabled), .icon-btn:active, .chip:active, .fav:active { transform: scale(.95); transition-duration: .08s; }

@media (max-width: 1023px) {
  .abc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .abc-group { grid-template-columns: 80px minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .marquee__item { height: 60px; padding-inline: 26px; }
  .bmark--word { font-size: 20px; }
  .bmark--logo img { height: 26px; max-width: 120px; }
  .bhead { gap: 16px; margin: 8px 0 18px; }
  .bhead__mark { width: 76px; padding: 10px; }
  .bhead__mark.is-logo { width: auto; min-width: 0; min-height: 76px; padding: 14px 20px; }
  .bhead { flex-wrap: wrap; }
  .bhead__mark .bmark--word { font-size: 13px; }
  .bhead__about { font-size: 14px; }
  .abc-bar { padding-bottom: 14px; }
  .abc-find { width: 100%; }
  .abc__l { min-width: 34px; height: 34px; }
  .abc-group { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 18px; scroll-margin-top: 80px; }
  .store { padding: 18px; }
  .store__name { font-size: 23px; }
  .store-map { aspect-ratio: auto; height: 380px; max-height: none; margin-inline: calc(var(--gutter) * -1); width: auto; border-radius: 0; }
  .abc-group__l { font-size: 38px; }
  .abc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .bcard__logo { height: 76px; margin-bottom: 8px; padding: 0 12px; }
  .bcard__name { font-size: 14px; }
  .bcard small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dot.is-on .hero__fill { animation: none; transform: scaleX(1); }
  .is-ready .hero__slide .keyhole img, .is-ready .hero__slide.is-active .keyhole img { animation: none; transform: none; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1279px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail__track { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
  .tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 230px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .header__main { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; height: 64px; }
  .header__burger { display: inline-grid; margin-left: -10px; }
  .logo { width: 124px; }
  .header__tools { grid-column: 3; }
  .header__search-btn { display: inline-grid; }
  .mainnav { display: none; }
  .search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px var(--gutter) 12px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .search-open .search { display: block; }
  .search__ic { left: calc(var(--gutter) + 14px); }
  .search input { padding-right: 52px; }
  .search__close { display: inline-grid; position: absolute; right: calc(var(--gutter) + 2px); top: 11px; }
  .suggest { left: var(--gutter); right: var(--gutter); }

  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 70; top: 0; bottom: 0; left: 0; width: min(400px, 90vw); max-height: none; padding: 0; background: #fff; transform: translateX(-100%); transition: transform .34s var(--ease); overflow: hidden; }
  .filters-open .filters { transform: none; box-shadow: var(--shadow-2); }
  .filters__form { display: flex; flex-direction: column; height: 100%; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 12px 0 22px; border-bottom: 1px solid var(--line); }
  .filters__body { flex: 1; overflow-y: auto; padding: 20px 22px; }
  .filters__foot { padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters__foot .btn { flex: none; min-width: 0; white-space: nowrap; text-align: center; line-height: 1.2; }
  .filters__foot #filtersShow { display: inline-flex; flex: 1; }
  .filters-scrim { position: fixed; inset: 0; z-index: 65; background: rgb(44 5 12 / 42%); }
  .filters-open .filters-scrim { display: block; }
  body.filters-open { overflow: hidden; }
  .cat-bar { justify-content: space-between; }
  .filters-btn { display: inline-flex; }

  .pp { grid-template-columns: minmax(0, 1fr); }
  .pp__gallery { position: relative; top: 0; grid-template-columns: minmax(0, 1fr); margin-inline: calc(var(--gutter) * -1); }
  .pp__thumbs { display: none; }
  .pp__stage { border-radius: 0; }
  .pp__dots { display: flex; }
  .pp__slide { aspect-ratio: 4 / 5; }

  .co { grid-template-columns: minmax(0, 1fr); }
  .co__summary { position: static; order: -1; }
  .info-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .info-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .info-nav a { white-space: nowrap; border: 1px solid var(--line-2); border-radius: 20px; padding: 8px 14px; font-size: 14px; }

  .benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .benefit:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 759px) {
  :root { --tabbar-h: calc(62px + env(safe-area-inset-bottom)); }
  .header__main { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .logo { justify-self: center; width: 112px; }
  .header__tools .lang, .header__fav { display: none; }
  .demobar { font-size: 12px; padding-block: 6px; }

  /* Slides share one height: the tall figure slide sets it and the others centre their art in the extra room. */
  .hero__slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(280px, 1fr); gap: 0; height: auto; align-items: stretch; }
  .hero__slide--figure { grid-template-rows: auto 470px; }
  .hero__copy { padding-block: 36px 8px; }
  .hero__title { font-size: clamp(40px, 11vw, 54px); }
  .hero__text { margin-top: 14px; font-size: 15px; }
  .hero__copy .btn { margin-top: 22px; height: 48px; }
  .hero__art { height: auto; min-height: 280px; padding-bottom: 64px; }
  .hero__o { height: 108%; top: 42%; }
  .keyhole { height: 216px; }
  .hero__art--figure, .hero__slide--figure .hero__art { min-height: 0; padding-bottom: 0; }
  .hero__slide--figure .hero__o { height: 98%; top: 50%; }
  .hero__glow { height: 88%; }
  .hero__figure { top: 2%; height: 138%; }
  .hero__figure.is-r { transform: translateX(calc(-50% + 78%)) scale(.7); }
  .hero__figure.is-l { transform: translateX(calc(-50% - 78%)) scale(.7); }
  .hero__ring { height: auto; width: 104%; }
  .hero__cast--products .hero__figure { top: 8%; height: 66%; width: 64%; }
  .hero__cast--products .hero__figure.is-r { transform: translateX(calc(-50% + 68%)) scale(.56); }
  .hero__cast--products .hero__figure.is-l { transform: translateX(calc(-50% - 68%)) scale(.56); }
  .hero__ctrl { bottom: 18px; }
  .hero__nav { height: 42px; }

  .shortcuts { margin-top: 24px; }
  .shortcut { width: 76px; }
  .shortcut__ring { width: 72px; height: 72px; }
  .shortcut__name { font-size: 12px; }
  .tiles__grid { gap: 10px; }
  .tile { min-height: 190px; padding: 18px; border-radius: var(--r-m); }
  .tile__text { max-width: 78%; }
  .tile__name { font-size: 24px; }
  .tile__count { font-size: 13px; }
  .tile__go { width: 38px; height: 38px; }
  .tile__img { height: 72%; right: -10%; }
  .section__head { margin-bottom: 18px; }
  .section__head .link-arrow span, .section__head .link-arrow { font-size: 14px; }

  .rail__track { grid-auto-columns: 46%; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .rail__track::-webkit-scrollbar { display: none; }
  .grid, .grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pcard__name { font-size: 14px; }
  .pcard { padding: 6px 6px 10px; border-radius: 16px; }
  .pcard__media { border-radius: 12px; }
  .pcard__badges { top: 12px; left: 12px; }
  .pcard__body { padding: 10px 4px 0; }
  .pcard__body { gap: 6px; padding-top: 10px; }
  .price__now { font-size: 15px; }
  .pcard__add { height: 40px; font-size: 13px; gap: 6px; padding: 0 10px; }
  .pcard__add .ic { width: 17px; height: 17px; }
  /* The heart still looks 36px, but a transparent ring makes the touch target 44px. */
  .fav { width: 44px; height: 44px; border: 4px solid transparent; background-clip: padding-box; box-shadow: none; }
  .fav--box { border: 1px solid var(--line-2); }
  .pcard__fav { top: 6px; right: 6px; }
  .fav .ic { width: 20px; height: 20px; }
  .badge { height: 22px; font-size: 11px; padding: 0 6px; }
  .qs { left: 12px; right: 12px; top: calc(108cqw + 4px); padding: 8px; }
  .qs__sizes { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 4px; }

  .benefits__list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .benefit, .benefit + .benefit { padding: 0; border: 0; }

  .cat-head { margin: 8px 0 16px; }
  .pp__title { font-size: 30px; }
  .pp__buy .qty, .fav--box { height: 50px; }
  /* Photo leaves room for the name and price on the first screen. */
  .pp__slide { aspect-ratio: auto; height: min(125vw, 52svh); }
  /* The page title already names the product, so the trail stops at its section. */
  .page-product .crumbs [aria-current] { display: none; }
  .page-product .crumbs li:nth-last-child(2) .crumbs__sep { display: none; }
  .pp__bar { position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 44; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); background: rgb(255 255 255 / 97%); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -12px rgb(44 5 12 / 30%); transform: translateY(100%); opacity: 0; visibility: hidden; transition: transform .32s var(--ease), opacity .2s, visibility 0s .32s; }
  .pp__bar.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .32s var(--ease), opacity .2s; }
  .pp__bar-price { margin: 0; flex: none; }
  .pp__bar-price .price__now { font-size: 17px; }
  .pp__bar-price .price__old { font-size: 13px; }
  .pp__bar-cta { flex: 1; min-width: 0; height: 46px; }
  body.has-ppbar .toasts { bottom: calc(24px + var(--tabbar-h) + 66px); }
  .fav--box { width: 50px; }
  .btn--lg { height: 50px; padding: 0 18px; }

  .cline { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .cline__img { width: 72px; }
  .co__summary { padding: 18px; }
  .co__summary .h3 { margin-bottom: 6px; }
  .sum-fold > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 6px; font-size: 15px; color: var(--ink-2); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
  .sum-fold > summary::-webkit-details-marker { display: none; }
  .sum-fold > summary b { margin-left: auto; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .sum-fold > summary .ic { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
  .sum-fold[open] > summary .ic { transform: rotate(180deg); }
  .sum-fold[open] > summary { margin-bottom: 14px; }
  /* Checkout is one task: the bottom tabs step aside. */
  body.is-checkout .tabbar { display: none; }
  body.is-checkout { --tabbar-h: 0px; }
  .radio-card { grid-template-columns: 20px minmax(0, 1fr); }
  .radio-card__price { grid-column: 2; text-align: left; margin-top: -6px; }

  .footer { margin-top: 64px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; padding-block: 44px 32px; }
  .footer__col:last-child { grid-column: 1 / -1; }

  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: rgb(255 255 255 / 97%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--ink-2); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color .2s; }
  .tabbar .ic { box-sizing: content-box; width: 23px; height: 23px; padding: 4px 16px; border-radius: 16px; transition: background-color .25s var(--ease), transform .2s var(--ease); }
  .tabbar a:active .ic, .tabbar button:active .ic { transform: scale(.9); }
  /* Current section, a pointer over a tab, or a finger on it: the icon fills with the brand colour. */
  .tabbar .is-on, .tabbar [data-tab]:active { color: var(--wine); }
  .tabbar .is-on .ic, .tabbar [data-tab]:active .ic { background: var(--rose-200); fill: var(--wine); stroke-width: 1.9; }
  @media (hover: hover) {
    .tabbar [data-tab]:hover { color: var(--wine); }
    .tabbar [data-tab]:hover .ic { background: var(--rose-200); fill: var(--wine); }
  }
  .tabbar .ic { transition: background-color .25s var(--ease), fill .2s, transform .2s var(--ease); }
  .tabbar .is-on > span:not(.count) { font-weight: 600; }
  .tabbar .is-pop .ic { animation: tab-pop .45s var(--ease); }
  .tabbar .count { top: 3px; right: calc(50% - 27px); z-index: 1; box-shadow: 0 0 0 2px #fff; }
  .toasts { bottom: calc(var(--tabbar-h) + 14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- First-visit splash ----------
   Burgundy, the LOVÈX mark turns slightly to the side, a brass lock plate rises out of the O,
   a key comes in from the viewer, enters the keyhole, turns, light spills out and the site opens through the O.
   All 3D is CSS: --u is one pixel of the 640px logo artwork, so the scene scales with the logo.
   Light comes from the top left and in front: shadows fall to the bottom right. */
@property --s { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --open { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --kz { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --ka { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lk { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --light { syntax: '<number>'; inherits: true; initial-value: 0; }
.splash { display: none; }
.has-splash body { overflow: hidden; }
.has-splash .splash {
  display: block; position: fixed; inset: 0; z-index: 1000; cursor: pointer; overflow: hidden;
  --ox: 50vw; --oy: 50vh; --rin: 24px; --hole: calc(var(--rin) * var(--open) * var(--s));
  background: radial-gradient(120% 90% at 50% 45%, #7a1426 0%, var(--wine) 45%, var(--wine-900) 100%);
  -webkit-mask: radial-gradient(circle at var(--ox) var(--oy), transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask: radial-gradient(circle at var(--ox) var(--oy), transparent var(--hole), #000 calc(var(--hole) + 1px));
  animation: splash-light .4s ease-out 1.8s both;
}
.splash__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.splash__logo {
  --W: min(88vw, 640px); --u: calc(var(--W) / 640);
  position: absolute; left: 50%; top: 50%; width: var(--W); aspect-ratio: 640 / 225;
  translate: -50% -50%; transform: scale(var(--s)); transform-origin: 26.406% 44.9%;
  perspective: calc(var(--W) * 1.3); perspective-origin: 26.406% 41.333%;
}
.splash__cam { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 26.406% 41.333%; animation: splash-cam 2.3s linear both; }
.splash__mark, .splash__depth { position: absolute; inset: 0; -webkit-mask: url(/img/logo.svg) center / 100% 100% no-repeat; mask: url(/img/logo.svg) center / 100% 100% no-repeat; animation: splash-logo .6s cubic-bezier(.16, 1, .3, 1) .05s both; }
.splash__mark { background: linear-gradient(160deg, #fff7f8 0%, var(--rose-200) 45%, #e9d3d6 100%); }
/* The letters cast a soft shadow on the burgundy wall behind them. */
.splash__shadow { position: absolute; inset: 0; background: rgb(12 0 4 / 62%); -webkit-mask: url(/img/logo.svg) center / 100% 100% no-repeat; mask: url(/img/logo.svg) center / 100% 100% no-repeat; filter: blur(calc(var(--u) * 5)); translate: calc(var(--u) * 7) calc(var(--u) * 12) calc(var(--u) * -16); animation: splash-fade-in .9s ease-out .15s both; }
@keyframes splash-fade-in { from { opacity: 0; } }
/* The letters have thickness: darker copies behind the face show as their sides when the logo turns. */
.splash__depth { background: linear-gradient(135deg, var(--c1), var(--c2)); translate: 0 0 calc(var(--u) * var(--d) * -1.3); }

/* The lock plate rises out of the logo: layers stacked in depth give it thickness and keyhole walls. */
.splash__lock {
  --pk: 1.5; --ku: calc(var(--u) * 1.95); --face: calc(var(--u) * 9.3);
  position: absolute; left: 26.406%; top: 41.333%; width: 0; height: 0; transform-style: preserve-3d;
  animation: splash-lock .6s cubic-bezier(.3, 0, .2, 1) .4s both, splash-key-depth .95s linear .65s both, splash-key-out .3s ease-in 1.92s forwards;
}
.lk, .lk-drop { position: absolute; left: calc(var(--u) * -20 * var(--pk)); top: calc(var(--u) * -28 * var(--pk)); width: calc(var(--u) * 40 * var(--pk)); height: calc(var(--u) * 70 * var(--pk)); overflow: visible; pointer-events: none; }
.lk { transform: translateZ(calc(var(--u) * var(--z) * var(--pk) * var(--lk))); opacity: min(1, calc(var(--lk) * 2.5)); }
/* The plate's own shadow on the logo, spreading as the plate rises. */
.lk-drop { transform: translateZ(calc(var(--u) * .08)) translate(calc(var(--u) * 5 * var(--lk)), calc(var(--u) * 8.5 * var(--lk))); opacity: calc(var(--lk) * .9); }
.lk-edge { color: var(--c); }
.lk-light { opacity: var(--light); }
.lk-bloom { position: absolute; left: calc(var(--u) * -105); top: calc(var(--u) * -99); width: calc(var(--u) * 210); height: calc(var(--u) * 210); border-radius: 50%; background: radial-gradient(circle, rgb(255 248 230) 0, rgb(255 226 170 / 80%) 7%, rgb(255 200 130 / 42%) 20%, rgb(255 170 100 / 14%) 40%, transparent 66%); transform: translateZ(calc(var(--u) * 10.5)) scale(calc(.35 + var(--light) * .75)); opacity: var(--light); pointer-events: none; }
/* A highlight runs across the metal while the logo turns and while the key turns. */
.sheen--plate { animation: splash-sheen-plate .9s cubic-bezier(.4, 0, .3, 1) .45s both; }
.sheen--bow { animation: splash-sheen-bow .5s cubic-bezier(.4, 0, .3, 1) 1.5s both; }

/* Key shadow. A point of the key at height h above the plate falls (0.35h, 0.55h) away from the keyhole,
   so while the key flies in its shadow slides in from the bottom right and closes on the lock. */
.ksh { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; opacity: calc(var(--ka) * .92);
  --h0: max(0px, calc(var(--kz) - var(--face)));
  --h1: calc(var(--kz) - var(--face) + var(--ku) * 34);
  --hb: calc(var(--kz) - var(--face) + var(--ku) * 60); }
.ksh-shaft { width: max(0px, calc((var(--h1) - var(--h0)) * .652)); height: calc(var(--ku) * 4.2); margin-top: calc(var(--ku) * -2.1); border-radius: 999px; background: linear-gradient(90deg, rgb(14 2 6 / 90%), rgb(14 2 6 / 45%)); filter: blur(calc(var(--u) * 1.4)); transform: translateZ(calc(var(--face) + var(--u) * .2)) translate(calc(var(--h0) * .35), calc(var(--h0) * .55)) rotate(57.5deg); }
.ksh-bow { width: 0; height: 0; transform: translateZ(calc(var(--face) + var(--u) * .25)) translate(calc(var(--hb) * .35), calc(var(--hb) * .55)); }
.ksh-bow i { position: absolute; left: calc(var(--ku) * -10); top: calc(var(--ku) * -20); width: calc(var(--ku) * 20); height: calc(var(--ku) * 40); border-radius: 50%; background: radial-gradient(closest-side, rgb(14 2 6 / 80%), rgb(14 2 6 / 40%) 65%, transparent); filter: blur(calc(var(--u) * 2.4)); animation: splash-turn-flat .38s cubic-bezier(.45, 0, .3, 1) 1.56s both; }

/* The key lies along the depth axis. Every part is cut where it passes the plate's face,
   so the blade really disappears into the lock. Its depth (--kz) is animated on the lock so the shadow can follow it. */
.splash__key { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(var(--kz)); animation: splash-key-path .95s linear .65s both; }
.splash__turn { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: splash-turn .38s cubic-bezier(.45, 0, .3, 1) 1.56s both; }
.kp { position: absolute; left: 0; top: 0; display: block; transform-origin: 0 0; opacity: var(--ka); }
.kb { width: calc(var(--ku) * 46); height: calc(var(--ku) * 40); overflow: visible; transform: translateX(calc(var(--ku) * var(--x))) translateZ(calc(var(--ku) * 34)) rotateY(-90deg) translateY(-50%); }
.kb--shade { filter: brightness(.62) saturate(.9); }
.kbit { width: calc(var(--ku) * 10); height: calc(var(--ku) * 9); transform: translateX(calc(var(--ku) * var(--x))) translateZ(calc(var(--ku) * 3)) rotateY(-90deg) translateY(calc(var(--ku) * 1.4)); clip-path: inset(0 0 0 max(0px, calc(var(--face) - var(--kz) - var(--ku) * 3))); }
.ks { width: calc(var(--ku) * var(--len)); height: calc(var(--ku) * var(--w)); background: var(--g); transform: rotateZ(var(--a)) translateX(calc(var(--ku) * var(--r))) translateZ(calc(var(--ku) * var(--z0))) rotateY(-90deg) translateY(-50%); clip-path: inset(0 0 0 max(0px, calc(var(--face) - var(--kz) - var(--ku) * var(--z0)))); }

/* Opening: the app adds .is-opening once the page under the splash is ready.
   The O fills with the site and the splash melts away, no zoom. */
.splash.is-opening { animation: splash-light .4s ease-out 1.8s both, splash-open .5s cubic-bezier(.45, 0, .25, 1) both, splash-out .55s cubic-bezier(.4, 0, .2, 1) .2s both; }

@keyframes splash-logo { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes splash-cam {
  0%, 12% { transform: none; animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  46% { transform: rotateX(-11deg) rotateY(28deg); animation-timing-function: linear; }
  72% { transform: rotateX(-9deg) rotateY(24deg); animation-timing-function: cubic-bezier(.4, 0, .25, 1); }
  98%, 100% { transform: none; }
}
@keyframes splash-lock { from { --lk: 0; } to { --lk: 1; } }
@keyframes splash-key-depth {
  0% { --kz: calc(var(--u) * 400); --ka: 0; animation-timing-function: cubic-bezier(.22, .55, .3, 1); }
  20% { --ka: 1; }
  100% { --kz: calc(var(--face) + var(--u) * .6 - var(--ku) * 26.6); --ka: 1; }
}
@keyframes splash-key-path {
  0% { translate: calc(var(--u) * -60) calc(var(--u) * -40); rotate: y -26deg; animation-timing-function: cubic-bezier(.22, .55, .3, 1); }
  56%, 100% { translate: 0 0; rotate: y 0deg; }
}
@keyframes splash-key-out { to { --ka: 0; } }
@keyframes splash-turn { 0% { transform: rotateZ(0); } 82% { transform: rotateZ(96deg); } 100% { transform: rotateZ(90deg); } }
@keyframes splash-turn-flat { 0% { rotate: 0deg; } 82% { rotate: 96deg; } 100% { rotate: 90deg; } }
@keyframes splash-sheen-plate { from { transform: translateX(0) skewX(-18deg); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } to { transform: translateX(80px) skewX(-18deg); opacity: 0; } }
@keyframes splash-sheen-bow { from { transform: translateX(0) skewX(-12deg); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(84px) skewX(-12deg); opacity: 0; } }
@keyframes splash-light { from { --light: 0; } to { --light: 1; } }
@keyframes splash-open { from { --open: 0; } to { --open: 1; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .has-splash .splash { display: none; } .has-splash body { overflow: auto; } }

/* ── Liquid glass ─────────────────────────────────────────────────────────────
   Bars, panels, buttons and cards are made of one material: frosted glass whose rim catches a light.
   The light sits at the pointer (initGlass in motion.js writes --nx/--ny, the direction to the pointer,
   --gx/--gy, its position on the surface, and --gl, how strongly it shines). Without a pointer the light
   comes from above, so phones get the same material at rest and a glint under the finger on touch.
   ::before is the rim, ::after the glint; both follow the element's own corner radius.
   Keep the selector lists in sync with GLASS in public/js/motion.js. */
:root { --nx: -.28; --ny: -.96; --gx: 50%; --gy: -40%; --gl: 0; }

:is(.header, .tabbar, .drawer, .mega, .suggest, .hero__nav, .lang button[aria-pressed="true"], .btn, .icon-btn, .pcard, .toast, .agegate, .filters)::before,
:is(.header, .tabbar, .drawer, .mega, .suggest, .hero__nav, .btn, .icon-btn, .toast, .agegate, .filters)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
}
/* Rim: a crisp bright edge facing the light, a faint wine edge away from it, and the inner glow of thick glass. */
:is(.header, .tabbar, .drawer, .mega, .suggest, .hero__nav, .lang button[aria-pressed="true"], .btn, .icon-btn, .pcard, .toast, .agegate, .filters)::before {
  z-index: 1;
  box-shadow:
    inset calc(var(--nx) * -1.25px) calc(var(--ny) * -1.25px) 0 0 var(--rim-hi, rgb(255 255 255 / 96%)),
    inset calc(var(--nx) * 1px) calc(var(--ny) * 1px) 0 0 var(--rim-lo, rgb(98 13 27 / 9%)),
    inset calc(var(--nx) * -16px) calc(var(--ny) * -16px) 24px -14px var(--rim-glow, rgb(255 255 255 / 90%)),
    inset calc(var(--nx) * 14px) calc(var(--ny) * 14px) 24px -14px var(--rim-shade, rgb(98 13 27 / 8%));
}
/* Glint: a soft pool of light under the pointer, painted behind the content so text stays crisp. */
:is(.header, .tabbar, .drawer, .mega, .suggest, .hero__nav, .btn, .icon-btn, .toast, .agegate, .filters)::after {
  z-index: -1;
  background: radial-gradient(var(--gs, 150px) circle at var(--gx) var(--gy), rgb(255 255 255 / calc(var(--gl) * var(--gi, .6))), rgb(255 255 255 / 0) 70%);
}
.btn, .lang, .lang button, .hero__nav, .toast, .agegate { position: relative; }
.btn, .icon-btn, .hero__nav, .toast, .agegate, .pcard, .mega, .suggest, .drawer, .filters { isolation: isolate; }
.icon-btn .count { z-index: 2; }

/* Bars: the page shows through, blurred and a little richer in colour. */
.header { --gs: 280px; --gi: .7; background: rgb(255 255 255 / 70%); -webkit-backdrop-filter: blur(22px) saturate(1.9); backdrop-filter: blur(22px) saturate(1.9); }
.header.is-scrolled { border-color: transparent; box-shadow: 0 12px 32px -22px rgb(44 5 12 / 42%); }
.hero__nav { --gs: 90px; --gi: .9; background: rgb(255 255 255 / 62%); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 10px 28px -12px rgb(44 5 12 / 45%); }
.hero__nav button { transition: background-color .2s var(--ease); }
.hero__nav button:hover { background: rgb(255 255 255 / 55%); }

/* Panels. Menus inside the header cannot blur the page (the header is their backdrop), so they stay nearly opaque. */
.drawer { --gs: 320px; --gi: .55; background: rgb(255 255 255 / 80%); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8); }
.drawer__head { border-color: rgb(98 13 27 / 8%); }
.drawer .ctotal { background: rgb(255 255 255 / 72%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mega, .suggest { --gs: 220px; --gi: .8; background: rgb(255 255 255 / 95%); }
.toast { --rim-hi: rgb(255 255 255 / 30%); --rim-lo: rgb(0 0 0 / 0%); --rim-glow: rgb(255 255 255 / 14%); --rim-shade: rgb(0 0 0 / 0%); --gi: .16; --gs: 200px;
  background: rgb(31 17 20 / 80%); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.agegate { --gs: 340px; --gi: .75; }

/* Controls. */
.btn { --gs: 130px; --gi: .9; }
.btn.btn--wine { --rim-hi: rgb(255 228 233 / 75%); --rim-lo: rgb(20 0 4 / 40%); --rim-glow: rgb(255 214 222 / 42%); --rim-shade: rgb(20 0 4 / 32%); --gi: .42; --gs: 150px;
  background-image: linear-gradient(180deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 0) 55%, rgb(0 0 0 / 8%)); }
.btn--line { background: linear-gradient(180deg, rgb(255 255 255 / 80%), rgb(255 255 255 / 50%)); --rim-shade: rgb(98 13 27 / 10%); -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5); }
.btn--on-dark { --rim-lo: rgb(98 13 27 / 18%); }
.btn:disabled::after, .btn.is-disabled::after { display: none; }
.icon-btn { --gs: 46px; --gi: .9; }
.icon-btn::before { opacity: 0; transition: opacity .25s var(--ease); }
.icon-btn:hover::before, .icon-btn:focus-visible::before { opacity: 1; }
.lang { background: rgb(98 13 27 / 5%); box-shadow: inset 0 1px 2px rgb(44 5 12 / 8%); }
.lang button[aria-pressed="true"] { box-shadow: 0 1px 2px rgb(44 5 12 / 8%), 0 6px 14px -8px rgb(44 5 12 / 35%); }

/* Gift banners keep their plain outlined pill: a glint over its dark hover fill read as a silver smear. */
.gift-banner__cta::before, .gift-banner__cta::after { content: none; }

/* Cards: the photo stage reflects the light like a glazed showcase; the rim turns with it. */
/* The glint lands on the photo stage only (10px is the card padding), like a reflection on a showcase pane. */
.pcard__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(200px circle at calc(var(--gx) - 10px) calc(var(--gy) - 10px), rgb(255 255 255 / calc(var(--gl) * .5)), rgb(255 255 255 / 0) 70%),
    linear-gradient(calc(var(--nx) * 40deg + 135deg), rgb(255 255 255 / calc(var(--gl) * .22)) 0%, rgb(255 255 255 / 0) 42%);
}

@media (max-width: 1023px) {
  .filters { --gs: 320px; --gi: .5; background: rgb(255 255 255 / 84%); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8); }
}
@media (min-width: 1024px) {
  .filters::before, .filters::after { content: none; }
}
@media (max-width: 759px) {
  .tabbar { --gs: 120px; --gi: .8; background: rgb(255 255 255 / 72%); -webkit-backdrop-filter: blur(22px) saturate(1.9); backdrop-filter: blur(22px) saturate(1.9); border-top-color: transparent; box-shadow: 0 -10px 28px -20px rgb(44 5 12 / 35%); }
}
/* Where the browser cannot blur, the glass falls back to the old near-opaque fills. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header, .tabbar { background: rgb(255 255 255 / 96%); }
  .drawer, .filters { background: #fff; }
  .hero__nav, .btn--line { background: #fff; }
  .toast { background: var(--ink); }
}

/* Fingers need 44px: cart steppers, the bin, slider dots and footer links grow on touch screens.
   Kept last so it wins over the base rules above. */
@media (pointer: coarse) {
  .qty--sm { height: 46px; } /* 44px buttons inside a 1px border */
  .qty--sm button { width: 44px; }
  .cline__rm { width: 44px; height: 44px; }
  .footer__col ul { gap: 0; }
  .footer__col ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero__dot { width: 44px; height: 44px; }
}
