/* Faboulooks storefront styles and design tokens (Faboulooks Studio has its own: public/studio/studio.css).
   Soft pastel-pink to white gradient, liquid glass surfaces, Playfair Display + DM Sans.
   Lengths are in rem (1rem = 16px on phones and tablets) so the whole design scales with the root font size:
   laptops and desktops render it at 87.5% (client feedback 2026-11-02: the same design, less bulky on a laptop
   at 100% zoom). Hairlines (1-2px) stay in px. */

:root {
  --bg-1: #fbf3f1;
  --bg-2: #fffafa;
  --ink: #2f2426;
  --ink-2: #6f5d60;
  /* Darker than the original #9b8a8c so 12-15px secondary text passes WCAG AA (about 4.9:1 on --bg-1). */
  --muted: #7a6669;
  --rose: #c9868d;
  --rose-strong: #a8646c;
  --rose-soft: #f6e4e3;
  --line: #eedfdc;
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-border: rgba(255, 255, 255, .75);
  --shadow: 0 1.125rem 2.5rem rgba(110, 70, 74, .12);
  --radius: 1.375rem;
  --radius-sm: 0.875rem;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --shadow-sm: 0 0.375rem 1.125rem rgba(110, 70, 74, .08);
  --shadow-lg: 0 1.5rem 3.75rem rgba(110, 70, 74, .18);
  /* Surfaces that carry white text or icons: white passes 4.5:1 on every stop. The pastel feel comes
     from the soft glow around them; --rose-grad-soft is for purely decorative fills. */
  --rose-grad: linear-gradient(140deg, #a9616b 0%, #96535d 58%, #84444e 100%);
  --rose-grad-soft: linear-gradient(140deg, #e9b2b7 0%, #c9868d 58%, #b06f77 100%);
  --rose-glow: 0 0.625rem 1.5rem rgba(201, 134, 141, .38);
  --ink-grad: linear-gradient(140deg, #3d2e31 0%, #2f2426 100%);
  --ok: #3f7356;
  --ok-soft: #e7f2ec;
  --danger: #a8424d;
  --danger-soft: #fbeced;
  --star: #dfa23c;
  --blur: blur(1.125rem) saturate(165%);
  --gutter: 1rem;
  --topbar-h: 3.75rem;
  --nav-h: 4.125rem;
  --nav-gap: 0.75rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-space: calc(var(--nav-h) + var(--nav-gap) + var(--safe-bottom));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute always wins over component display rules (.btn, .view, ...). */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + var(--safe-top) + 0.75rem);
  /* Keyboard focus and scrollIntoView stop above the floating bottom nav. */
  scroll-padding-bottom: calc(var(--nav-space) + 1rem);
}
:root:has(body.has-actionbar) { scroll-padding-bottom: calc(var(--nav-space) + 5.75rem); }
/* Laptops and desktops: the same design, one step smaller (every rem is 14px instead of 16px). A percentage,
   so a shopper's own browser text size still applies. */
@media (min-width: 1024px) { html { font-size: 87.5%; } }

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* The pastel pink -> white wash, fixed behind everything (no background-attachment: fixed on iOS). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(56.25rem 32.5rem at 8% -8%, rgba(244, 210, 210, .75) 0%, transparent 62%),
    radial-gradient(43.75rem 28.75rem at 100% 4%, rgba(250, 226, 220, .8) 0%, transparent 60%),
    radial-gradient(50rem 37.5rem at 50% 110%, rgba(255, 255, 255, .9) 0%, transparent 70%),
    linear-gradient(180deg, #f8e7e5 0%, var(--bg-1) 34%, var(--bg-2) 72%, #ffffff 100%);
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--rose-strong); }
button { font: inherit; color: inherit; }
p { margin: 0 0 0.5rem; }
h1, h2, h3 { margin: 0; }

input, select, textarea { font-family: var(--sans); font-size: 1rem; color: var(--ink); }

:focus-visible { outline: 2px solid var(--rose-strong); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 0.75rem; top: -5rem; z-index: 300;
  padding: 0.625rem 1rem; border-radius: 0.75rem;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: calc(var(--safe-top) + 0.75rem); }

.ic {
  width: 1.5rem; height: 1.5rem; flex: none;
  display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  margin: 0;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-strong);
}
.eyebrow .ic { width: 0.875rem; height: 0.875rem; }
.eyebrow.light { color: rgba(255, 255, 255, .82); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.view { display: block; outline: none; overflow-x: clip; min-height: 60vh; }

.page {
  width: 100%;
  max-width: 77.5rem;
  margin: 0 auto;
  padding: 0.5rem var(--gutter) calc(var(--nav-space) + 6rem);
}
body.has-actionbar .page, body.has-actionbar .pdp { padding-bottom: calc(var(--nav-space) + 9.875rem); }

/* ---------- Brand ---------- */

.logo-mark {
  display: inline-block; flex: none;
  width: 1.25rem; height: 1.875rem;
  background: currentColor;
  -webkit-mask: url('/brand/logo-mark.png') center / contain no-repeat;
  mask: url('/brand/logo-mark.png') center / contain no-repeat;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; color: var(--ink); text-decoration: none;
}
.wordmark { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3rem; padding: 0 1.25rem;
  border-radius: 62.4375rem; border: 1px solid transparent;
  font: 600 0.9375rem/1 var(--sans); white-space: nowrap; text-decoration: none;
  cursor: pointer; user-select: none;
  transition: transform .15s var(--ease), box-shadow .2s, background-color .2s, opacity .2s;
}
.btn .ic { width: 1.125rem; height: 1.125rem; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn > span { overflow: hidden; text-overflow: ellipsis; }
.btn-dark { background: var(--ink-grad); color: #fff; box-shadow: 0 0.625rem 1.375rem rgba(47, 36, 38, .2); }
.btn-rose { background: var(--rose-grad); color: #fff; box-shadow: var(--rose-glow); }
.btn-glass {
  background: rgba(255, 255, 255, .74); color: var(--ink);
  border-color: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(0.75rem); backdrop-filter: blur(0.75rem);
  box-shadow: var(--shadow-sm);
}
.btn-ghost { background: rgba(255, 255, 255, .35); border-color: var(--line); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 0.5rem 1.125rem rgba(0, 0, 0, .12); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-small { height: 2.375rem; padding: 0 0.875rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1 1 auto; min-width: 0; }
.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy > * { visibility: hidden; }
.btn.is-busy::after,
.pcard-add.is-busy::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 1.125rem; height: 1.125rem; margin: -0.5625rem 0 0 -0.5625rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn-ghost.is-busy::after, .btn-glass.is-busy::after, .btn-light.is-busy::after { border-color: rgba(47, 36, 38, .2); border-top-color: var(--ink); }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center; flex: none;
  width: 2.625rem; height: 2.625rem; padding: 0;
  border-radius: 50%; border: 1px solid transparent;
  background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn .ic { width: 1.375rem; height: 1.375rem; }
.icon-btn.glass { background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .95); box-shadow: 0 0.25rem 0.875rem rgba(110, 70, 74, .08); }
.icon-btn-sm { width: 2.5rem; height: 2.5rem; }
.icon-btn-sm .ic { width: 1.125rem; height: 1.125rem; }

.link-more {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 2.5rem;
  color: var(--ink); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.link-more .ic { width: 1.125rem; height: 1.125rem; color: var(--rose-strong); transition: transform .2s var(--ease); }
.link-more:hover .ic { transform: translateX(2px); }
.link-btn { padding: 0.375rem 0; border: 0; background: none; color: var(--rose-strong); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
.link-small { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--rose-strong); font-size: 0.875rem; font-weight: 600; text-decoration: none; }

.badge {
  position: absolute; top: -0.4375rem; right: -0.8125rem;
  min-width: 1.125rem; height: 1.125rem; padding: 0 0.3125rem;
  border-radius: 62.4375rem; border: 2px solid #fff;
  background: var(--rose-strong); color: #fff;
  font-size: 0.75rem; font-weight: 700; line-height: 0.875rem; text-align: center;
  box-sizing: content-box;
}
.badge[hidden] { display: none; }

.pill {
  display: inline-flex; align-items: center;
  height: 2.25rem; padding: 0 0.875rem;
  border-radius: 62.4375rem; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2);
  font-size: 0.8438rem; font-weight: 500; text-decoration: none; cursor: pointer;
}

.tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  height: 1.625rem; padding: 0 0.625rem;
  border-radius: 62.4375rem; background: rgba(47, 36, 38, .06); color: var(--ink-2);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.tag .ic { width: 0.8125rem; height: 0.8125rem; }
.tag-rose { background: var(--rose-soft); color: var(--rose-strong); }
.tag-new { background: var(--ok-soft); color: var(--ok); }
.tag-sale { background: #fde9e1; color: #a9523a; }
.tag-muted { background: #efe9e8; color: #7d7071; }
.tag-low { background: #fbeedd; color: #8a5210; }
a.tag { position: relative; text-decoration: none; }
/* 26px pill, 40px tap area. */
a.tag::after { content: ''; position: absolute; inset: -0.4375rem -2px; }
a.tag:hover { filter: brightness(.97); }
.tag-sample {
  display: inline-block; margin-left: 0.25rem; padding: 0 0.375rem;
  border: 1px dashed #dccbc8; border-radius: 0.375rem;
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
}

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 2.875rem; height: 2.875rem; border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--rose-soft));
  border: 1px solid #fff; box-shadow: var(--shadow-sm);
  color: var(--rose-strong); font-family: var(--serif); font-size: 1.125rem; font-weight: 600;
  text-decoration: none;
}
.avatar-xs { width: 1.625rem; height: 1.625rem; font-size: 0.75rem; box-shadow: none; }
.avatar-lg { width: 4rem; height: 4rem; font-size: 1.5rem; }

.spinner {
  display: inline-block; width: 1.125rem; height: 1.125rem;
  border-radius: 50%; border: 2px solid rgba(168, 100, 108, .25); border-top-color: var(--rose-strong);
  animation: spin .7s linear infinite;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  padding-top: var(--safe-top);
  transition: background-color .25s, box-shadow .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
body.is-scrolled .topbar,
body[data-route="shop"] .topbar,
body[data-chrome="sub"] .topbar,
body[data-chrome="overlay"] .topbar {
  background: rgba(251, 243, 241, .9);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
body.is-scrolled .topbar { border-bottom-color: rgba(232, 214, 211, .7); }
body[data-route="shop"] .topbar { border-bottom-color: transparent; }

.topbar-inner {
  display: flex; align-items: center; gap: 0.625rem;
  max-width: 77.5rem; height: var(--topbar-h); margin: 0 auto; padding: 0 var(--gutter);
}
.topbar-left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex: none; }
.topbar-title {
  display: none; flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 0.9375rem; font-weight: 600; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-right { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; flex: none; }
.top-links { display: none; }
.top-heart.is-on, .pcard-heart.is-on { color: #cf5468; }
.top-heart.is-on .ic, .pcard-heart.is-on .ic { fill: currentColor; }
.is-pop .ic { animation: pop .38s var(--ease); }

/* Phones and tablets: account lives in the bottom nav; search lives on the page for home/shop. */
@media (max-width: 1023px) {
  .account-btn { display: none; }
  body[data-route="home"] .search-btn, body[data-route="shop"] .search-btn { display: none; }
  body[data-chrome="sub"] .topbar-title, body[data-chrome="overlay"] .topbar-title { display: block; }
  body[data-chrome="sub"] .brand, body[data-chrome="overlay"] .brand { display: none; }
}
@media (min-width: 1024px) {
  .top-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; min-width: 0; }
  .top-links a {
    padding: 0.5rem 0.6875rem; border-radius: 62.4375rem;
    color: var(--ink-2); font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color .2s, color .2s;
  }
  .top-links a:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
  .top-links a.is-on { background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: var(--shadow-sm); }
  .top-links [data-top="best"], .top-links [data-top="new"] { display: none; }
  .topbar-right { margin-left: 0; }
}
@media (min-width: 1200px) {
  .top-links [data-top="best"], .top-links [data-top="new"] { display: inline-block; }
}

/* ---------- Bottom navigation (all widths) ---------- */

.bottom-nav {
  position: fixed; left: 0; right: 0;
  bottom: calc(var(--nav-gap) + var(--safe-bottom));
  z-index: 50;
  display: flex; justify-content: center;
  padding: 0 0.75rem;
  pointer-events: none;
}
.bottom-nav[hidden] { display: none; }
.bottom-nav-pill {
  pointer-events: auto;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  width: 100%; max-width: 32.5rem; height: var(--nav-h);
  padding: 0 0.375rem;
  border-radius: 62.4375rem;
  background: rgba(255, 252, 252, .88);
  -webkit-backdrop-filter: blur(1.75rem) saturate(190%); backdrop-filter: blur(1.75rem) saturate(190%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1rem 2.25rem rgba(110, 70, 74, .18), inset 0 1px 0 rgba(255, 255, 255, .95);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  height: 100%; min-width: 0;
  color: var(--ink-2); text-decoration: none;
  transition: color .2s;
}
.nav-icon { position: relative; display: block; width: 1.5rem; height: 1.5rem; flex: none; }
.nav-icon .ic { display: block; width: 1.5rem; height: 1.5rem; }
.nav-label { display: block; font-size: 0.75rem; line-height: 0.875rem; font-weight: 500; white-space: nowrap; }
.nav-item.is-active { color: var(--rose-strong); }
.nav-item.is-active .nav-label { font-weight: 700; }
.nav-item.is-active .nav-icon .ic { stroke-width: 2; }
.nav-home { display: flex; align-items: center; justify-content: center; height: 100%; text-decoration: none; }
.nav-home-circle {
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem;
  border-radius: 50%;
  background: var(--rose-grad);
  border: 0.25rem solid rgba(255, 255, 255, .95);
  box-shadow: 0 0.75rem 1.5rem rgba(201, 134, 141, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #fff;
  transform: translateY(-1rem);
  transition: transform .2s var(--ease);
}
.nav-home-circle .logo-mark { width: 1.3125rem; height: 2rem; }
.nav-home:active .nav-home-circle { transform: translateY(-1rem) scale(.95); }
.nav-home.is-active .nav-home-circle { box-shadow: 0 0.75rem 1.625rem rgba(168, 100, 108, .5), 0 0 0 0.25rem rgba(201, 134, 141, .2), inset 0 1px 0 rgba(255, 255, 255, .5); }

/* ---------- Assistant button: always ABOVE the nav ---------- */

.fab-assistant {
  position: fixed;
  right: max(1rem, calc((100vw - 77.5rem) / 2 + var(--gutter)));
  bottom: calc(var(--nav-space) + 1rem);
  z-index: 45;
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 3.375rem; padding: 0.375rem;
  border: 0; border-radius: 62.4375rem;
  background: var(--ink-grad); color: #fff;
  box-shadow: 0 0.875rem 1.875rem rgba(47, 36, 38, .28);
  cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s;
}
.fab-assistant:active { transform: scale(.96); }
.fab-icon {
  display: grid; place-items: center;
  width: 2.625rem; height: 2.625rem; border-radius: 50%;
  background: var(--rose-grad);
}
.fab-icon .ic { width: 1.375rem; height: 1.375rem; }
.fab-label { display: none; padding-right: 0.75rem; font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
@media (min-width: 768px) { .fab-label { display: inline; } }
/* Checkout and the payment page keep every control clear. */
body[data-route="checkout"] .fab-assistant, body[data-route="pay"] .fab-assistant { display: none; }
@media (max-width: 1023px) {
  body.has-actionbar .fab-assistant { display: none; }
  /* Tucked away while scrolling down a list, back on scroll up (app.js onScroll). */
  body.fab-tucked .fab-assistant { opacity: 0; transform: translateY(0.75rem) scale(.7); pointer-events: none; }
}
/* Laptops and desktops: docked beside the nav pill instead of floating over the right-hand column. */
@media (min-width: 1024px) {
  .fab-assistant { right: auto; left: calc(50% + 16.25rem + 1rem); bottom: calc(var(--nav-gap) + var(--safe-bottom) + 0.375rem); }
}

/* ---------- Floating action bar (product page, bag, checkout) ---------- */

.actionbar {
  position: fixed; left: 0; right: 0;
  bottom: calc(var(--nav-space) + 1.25rem);
  z-index: 46;
  display: flex; justify-content: center;
  padding: 0 0.75rem;
  pointer-events: none;
}
.actionbar[hidden] { display: none; }
.actionbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 0.625rem;
  width: 100%; max-width: 32.5rem;
  padding: 0.4375rem;
  border-radius: 62.4375rem;
  background: rgba(255, 252, 252, .94);
  -webkit-backdrop-filter: blur(1.75rem) saturate(190%); backdrop-filter: blur(1.75rem) saturate(190%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1rem 2.25rem rgba(110, 70, 74, .2);
  animation: rise .35s var(--ease);
}
.actionbar .btn { height: 3rem; padding: 0 0.875rem; gap: 0.375rem; }
.actionbar .qty-btn { width: 2.5rem; height: 2.5rem; }
.actionbar .qty-value { min-width: 1.625rem; }
.bar-total { display: flex; flex-direction: column; padding: 0 0.75rem; line-height: 1.2; }
.bar-total b { font-size: 1.0625rem; }
@media (min-width: 1024px) { body.actionbar-mobile .actionbar { display: none; } }

.qty {
  display: inline-flex; align-items: center; flex: none;
  height: 3rem; padding: 0 0.25rem;
  border-radius: 62.4375rem; background: rgba(47, 36, 38, .05);
}
.qty-btn {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--ink);
  box-shadow: 0 2px 0.375rem rgba(47, 36, 38, .08);
  cursor: pointer;
}
.qty-btn .ic { width: 1.125rem; height: 1.125rem; }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-value { min-width: 1.875rem; text-align: center; font-weight: 700; font-size: 1rem; }
/* Typed quantities (wholesale buyers order 20, 50 ...): looks like the read-only value. */
.qty-input { width: 2.5rem; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-align: center; -moz-appearance: textfield; }
.qty-input:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 0.375rem; }
.qty-sm { height: 2.875rem; }
.qty-sm .qty-btn { width: 2.5rem; height: 2.5rem; }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 0.875rem; }
.field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.field > span:first-child { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .select-wrap select, .pw-wrap input {
  width: 100%; height: 3.125rem; padding: 0 0.875rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  font-size: 1rem; color: var(--ink);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 6.875rem; padding: 0.75rem 0.875rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .select-wrap select:focus, .pw-wrap input:focus {
  border-color: var(--rose-strong); box-shadow: 0 0 0 0.25rem rgba(201, 134, 141, .16);
}
.field input:focus-visible, .field textarea:focus-visible, .select-wrap select:focus-visible, .pw-wrap input:focus-visible {
  outline: 2px solid var(--rose-strong); outline-offset: 1px;
}
.field input:disabled { background: rgba(255, 255, 255, .5); color: var(--muted); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); box-shadow: 0 0 0 0.25rem rgba(168, 66, 77, .1); }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.span-2 { grid-column: 1 / -1; }
@media (min-width: 560px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.select-wrap { position: relative; display: block; }
.select-wrap select { padding-right: 2.625rem; cursor: pointer; }
.select-wrap .ic { position: absolute; right: 0.75rem; top: 50%; width: 1.125rem; height: 1.125rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 3.25rem; }
.pw-toggle {
  position: absolute; right: 0.1875rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; background: none; color: var(--muted); cursor: pointer;
}
.pw-toggle .ic { width: 1.25rem; height: 1.25rem; }

.switch {
  -webkit-appearance: none; appearance: none; flex: none;
  position: relative; width: 2.875rem; height: 1.75rem; margin: 0;
  border-radius: 62.4375rem; background: #e6d8d6; cursor: pointer;
  transition: background-color .2s;
}
.switch::before {
  content: ''; position: absolute; top: 0.1875rem; left: 0.1875rem;
  width: 1.375rem; height: 1.375rem; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 0.375rem rgba(0, 0, 0, .16);
  transition: transform .2s var(--ease);
}
.switch:checked { background: var(--rose-strong); }
.switch:checked::before { transform: translateX(1.125rem); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 3.25rem; font-size: 0.9063rem; cursor: pointer; }
.switch-row > span { display: inline-flex; align-items: center; gap: 0.625rem; }
.switch-row .ic { width: 1.25rem; height: 1.25rem; color: var(--rose-strong); }

.form-row { display: flex; justify-content: flex-end; }
.form-actions { margin-top: 0.25rem; }
.form-error {
  display: flex; gap: 0.5rem; align-items: flex-start;
  margin: 0; padding: 0.75rem 0.875rem; border-radius: var(--radius-sm);
  background: var(--danger-soft); color: var(--danger); font-size: 0.875rem;
}
.form-error .ic { width: 1.125rem; height: 1.125rem; margin-top: 1px; }

/* ---------- Notices, empty states, cards ---------- */

.notice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 0.75rem 0; padding: 0.875rem 1rem;
  border-radius: 1.125rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72); color: var(--ink);
  font-size: 0.875rem; text-decoration: none;
}
.notice > .ic { width: 1.25rem; height: 1.25rem; margin-top: 1px; color: var(--rose-strong); }
.notice b { display: block; }
.notice p { margin: 2px 0 0; color: var(--ink-2); }
.notice > .btn { margin-left: auto; flex: none; }
.notice-error { background: var(--danger-soft); border-color: #f1d2d4; }
.notice-error > .ic { color: var(--danger); }
.notice-soft { background: var(--rose-soft); border-color: #f0d4d3; }
.notice-test { background: #fff6e8; border-color: #f2dfbb; }
.notice-test > .ic { color: #b07a22; }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: 0.625rem;
  margin: 0.75rem 0; padding: 2.25rem 1.375rem;
  border-radius: 1.625rem; text-align: center;
}
.empty-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--rose-soft); color: var(--rose-strong); }
.empty-icon .ic { width: 1.75rem; height: 1.75rem; }
.empty h1, .empty h2 { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; }
.empty p { max-width: 26.25rem; margin: 0; color: var(--ink-2); }
.empty .suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0.375rem 0; }

.card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.125rem; border-radius: var(--radius); }
.card + .card { margin-top: 0.875rem; }
.card.is-loading .sk-block { height: 4.5rem; }
.h-small { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1rem; font-weight: 700; }
.h-small .ic { width: 1.25rem; height: 1.25rem; color: var(--rose-strong); }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

.page-head { margin: 0.75rem 0 1.125rem; }
.page-title { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.875rem; line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
.page-sub { margin: 0.375rem 0 0; color: var(--ink-2); font-size: 0.9063rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }

/* ---------- Skeletons ---------- */

.sk { position: relative; overflow: hidden; background: #f1e4e2; border-radius: 0.625rem; }
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.3s infinite;
}
.sk-line { display: block; height: 0.75rem; margin: 0.4375rem 0; width: 82%; }
.sk-line.short { width: 52%; }
.sk-line.price { width: 36%; height: 1rem; margin-top: 0.75rem; }
.sk-line.wide { width: 94%; height: 1.375rem; }
.sk-block { display: block; height: 5.625rem; margin: 0.625rem 0; border-radius: 1rem; }
.count-sk { display: inline-block; width: 4.625rem; height: 0.875rem; margin: 0; vertical-align: middle; }

/* ---------- Product imagery (FabMedia) ---------- */

.fm-shot{position:relative;display:block;width:100%;height:100%;overflow:hidden;background:#f3e6e3;isolation:isolate}
.fm-zoom{position:absolute;inset:0;display:block}
.fm-zoom img,.fm-photo{width:100%;height:100%;object-fit:cover;display:block}
/* Posters and guides are shown whole, on a soft mat. */
.fm-shot.fm-contain{background:#fbf3f1}
.fm-shot.fm-contain .fm-photo{object-fit:contain}
.fm-iris,.fm-glow{position:absolute;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none}
.fm-iris{background:radial-gradient(circle,transparent 0 20%,var(--fm-hue) 32%,var(--fm-hue) 62%,transparent 74%);mix-blend-mode:color;opacity:var(--fm-strength)}
.fm-glow{background:radial-gradient(circle,transparent 0 24%,var(--fm-light) 38%,var(--fm-light) 52%,transparent 70%);mix-blend-mode:soft-light;opacity:calc(var(--fm-strength) * 1.1)}
.fm-render{display:grid;place-items:center;width:100%;height:100%;background:radial-gradient(circle at 50% 38%,#fff 0,var(--fm-bg) 72%)}
.fm-render svg{width:62%;height:auto;filter:drop-shadow(0 0.625rem 1rem rgba(120,80,80,.12))}

/* Iris tint appears only on top of a loaded photo; a failed photo becomes a soft brand tile. */
.fm-shot:not(.is-loaded) .fm-iris, .fm-shot:not(.is-loaded) .fm-glow { visibility: hidden; }
.fm-shot.is-loaded .fm-zoom img { animation: fade-in .4s ease; }
img.is-failed { visibility: hidden; }
.hero-photo, .promo-photo, .note-photo, .look, .install-icon { background-color: #f1e2df; }
.fm-shot.is-failed { background: radial-gradient(circle at 50% 40%, #fff 0, #f3e2df 75%); }
.fm-shot.is-failed::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 22%; height: 34%; min-width: 0.875rem; min-height: 1.3125rem;
  background: rgba(168, 100, 108, .32);
  -webkit-mask: url('/brand/logo-mark.png') center / contain no-repeat;
  mask: url('/brand/logo-mark.png') center / contain no-repeat;
}

/* ---------- Product cards ---------- */

.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pgrid { gap: 1.125rem; } }

.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 0.375rem;
  border-radius: 1.375rem;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .25s;
}
@media (hover: hover) {
  .pcard:hover { transform: translateY(-0.1875rem); box-shadow: var(--shadow); }
  .pcard:hover .fm-shot img { transform: scale(1.04); }
}
.pcard .fm-shot img { transition: transform .6s var(--ease); }
.pcard-media {
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  border-radius: 1.0625rem; overflow: hidden;
  background: #f3e6e3;
}
.pcard-badge {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.25rem;
  height: 1.625rem; padding: 0 0.5625rem;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem);
  color: var(--rose-strong); font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.pcard-badge .ic { width: 0.8125rem; height: 0.8125rem; }
.pcard-badge.is-new { color: var(--ok); }
.pcard-badge.is-sale { background: #b4573a; color: #fff; }
.pcard-badge.is-muted { color: #776a6b; }
.pcard-badge.is-low { color: #9a5a12; }
.pcard-heart {
  position: absolute; top: 0.625rem; right: 0.625rem; z-index: 3;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem);
  color: var(--ink-2); cursor: pointer;
  box-shadow: 0 0.25rem 0.625rem rgba(47, 36, 38, .1);
  transition: transform .15s var(--ease);
}
.pcard-heart:active { transform: scale(.9); }
.pcard-heart .ic { width: 1.1875rem; height: 1.1875rem; }
.pcard-body { display: flex; flex-direction: column; gap: 0.1875rem; flex: 1; min-width: 0; padding: 0.625rem 0.375rem 0.25rem; }
.pcard-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ink); font-size: 0.9063rem; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.pcard-sub { margin: 0; color: var(--muted); font-size: 0.7813rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-rating { display: flex; align-items: center; gap: 0.25rem; margin: 2px 0 0; font-size: 0.75rem; color: var(--ink-2); }
.pcard-rating.is-empty { font-size: 0.75rem; }
.pcard-score { font-weight: 700; color: var(--ink); }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.375rem; min-width: 0; margin: 0; }
.price { font-size: 0.9375rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-was { font-size: 0.75rem; color: var(--muted); }
.price-wholesale { flex-basis: 100%; font-size: 0.75rem; font-weight: 600; color: var(--ok); }
.price-note { flex-basis: 100%; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.pcard-add {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--ink-grad); color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(47, 36, 38, .22);
  cursor: pointer;
  transition: transform .15s var(--ease);
}
.pcard-add:active { transform: scale(.9); }
.pcard-add:disabled { opacity: .35; cursor: not-allowed; }
.pcard-add .ic { width: 1.25rem; height: 1.25rem; }
.pcard-add.is-busy .ic { visibility: hidden; }
.pcard.is-soldout .pcard-media { filter: grayscale(.35); opacity: .8; }
.pcard.is-skeleton { box-shadow: none; }
.pcard.is-skeleton .pcard-media { display: block; }
.pcard.is-leaving { animation: leave .28s var(--ease) forwards; pointer-events: none; }
.pcard.is-entering { animation: enter .35s var(--ease); }

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.star { width: 0.75rem; height: 0.75rem; color: #e8d8d6; }
.star.is-on { color: var(--star); }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.875rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; display: flex; }
.rail-item > .pcard { flex: 1; }
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; gap: 1rem; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3.375rem) / 4); gap: 1.125rem; } }

/* ---------- Search ---------- */

.search { position: relative; display: flex; gap: 0.625rem; }
.search-field {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 0.625rem;
  height: 3.25rem; padding: 0 0.5rem 0 1rem;
  border-radius: 1.125rem;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(0.75rem); backdrop-filter: blur(0.75rem);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0.625rem 1.625rem rgba(110, 70, 74, .09);
  cursor: text;
  transition: border-color .2s, box-shadow .2s;
}
.search-field:focus-within { border-color: var(--rose-strong); box-shadow: 0 0 0 0.25rem rgba(201, 134, 141, .16), 0 0.625rem 1.625rem rgba(110, 70, 74, .09); outline: 2px solid var(--rose-strong); outline-offset: 2px; }
.search-field > .ic { width: 1.25rem; height: 1.25rem; color: var(--muted); }
.search-field input {
  flex: 1 1 auto; min-width: 0; width: 100%; height: 100%;
  border: 0; background: transparent; outline: none;
  font-size: 1rem; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(47, 36, 38, .06); color: var(--ink-2); cursor: pointer; flex: none; }
.search-clear[hidden] { display: none; }
.search-clear .ic { width: 1rem; height: 1rem; }
.search-filter {
  position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 3.25rem; height: 3.25rem; padding: 0;
  border: 0; border-radius: 1.125rem;
  background: var(--ink-grad); color: #fff;
  box-shadow: 0 0.625rem 1.375rem rgba(47, 36, 38, .2);
  cursor: pointer;
}
.search-filter .ic { width: 1.375rem; height: 1.375rem; }
.search-filter-label { display: none; font-weight: 600; font-size: 0.9063rem; }
.count-dot {
  position: absolute; top: -0.375rem; right: -0.375rem;
  min-width: 1.375rem; height: 1.375rem; padding: 0 0.375rem;
  border-radius: 62.4375rem; border: 2px solid #fff;
  background: var(--rose-strong); color: #fff;
  font-size: 0.75rem; font-weight: 700; line-height: 1.125rem; text-align: center;
}

.suggest-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); z-index: 35;
  max-height: min(62vh, 28.75rem); overflow: auto;
  padding: 0.375rem; border-radius: 1.25rem;
  background: rgba(255, 252, 252, .96);
  box-shadow: var(--shadow-lg);
  animation: drop .2s var(--ease);
}
.suggest-panel[hidden] { display: none; }
.suggest-list { list-style: none; margin: 0; padding: 0; }
.suggest-item {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 0.5rem; border-radius: 0.875rem;
  color: var(--ink); text-decoration: none;
}
.suggest-item:hover, .suggest-item:focus-visible { background: var(--rose-soft); }
.suggest-thumb { display: block; width: 3rem; height: 3rem; border-radius: 0.75rem; overflow: hidden; }
.suggest-text { display: flex; flex-direction: column; min-width: 0; }
.suggest-text b { font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-text small { font-size: 0.7813rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-price { font-size: 0.8438rem; font-weight: 700; white-space: nowrap; }
.suggest-empty { margin: 0; padding: 0.75rem; color: var(--ink-2); font-size: 0.875rem; }
.suggest-all {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.25rem; padding: 0.75rem 0.625rem;
  border-top: 1px solid var(--line);
  color: var(--rose-strong); font-weight: 700; font-size: 0.875rem; text-decoration: none;
}
.suggest-all span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-all .ic { width: 1.125rem; height: 1.125rem; }

/* ---------- Home ---------- */

.greeting { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.375rem; }
.greeting-copy { min-width: 0; }
.greeting-title { font-family: var(--serif); font-size: 2rem; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.greeting-sub { margin: 0.375rem 0 0; color: var(--ink-2); font-size: 0.9063rem; }
.home-search { margin: 1rem 0 1.125rem; }

.cat-chips {
  display: flex; gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.375rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  width: 4.625rem; color: var(--ink); text-decoration: none; scroll-snap-align: start;
}
.cat-circle {
  display: block; width: 4.25rem; height: 4.25rem;
  border-radius: 50%; overflow: hidden;
  border: 0.1875rem solid #fff;
  background: var(--rose-soft);
  box-shadow: 0 0.5rem 1.125rem rgba(110, 70, 74, .13);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.cat-chip:active .cat-circle { transform: scale(.95); }
@media (hover: hover) { .cat-chip:hover .cat-circle { transform: translateY(-2px); box-shadow: 0 0.75rem 1.5rem rgba(110, 70, 74, .18); } }
.cat-circle-all { display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--rose-soft)); color: var(--rose-strong); }
.cat-circle-all .ic { width: 1.625rem; height: 1.625rem; }
.cat-label { font-size: 0.7813rem; font-weight: 600; line-height: 1.25; text-align: center; }
.cat-icon { display: grid; place-items: center; width: 100%; height: 100%; color: var(--rose-strong); }
.cat-count { margin-top: -0.3125rem; font-size: 0.75rem; font-weight: 500; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.cat-chip.is-on .cat-circle { border-color: #fff; box-shadow: 0 0 0 0.1563rem var(--rose), 0 0.625rem 1.375rem rgba(168, 100, 108, .28); }
.cat-chip.is-on .cat-label { font-weight: 800; color: var(--rose-strong); }
.cat-chip.is-empty { opacity: .55; }
.cat-chips-sm { gap: 0.5rem; }
.cat-chips-sm .cat-chip { width: 4.25rem; gap: 0.375rem; }
.cat-chips-sm .cat-circle { width: 3.375rem; height: 3.375rem; border-width: 0.1563rem; }
.cat-chips-sm .cat-circle-all .ic { width: 1.375rem; height: 1.375rem; }
.cat-chips-sm .cat-label { font-size: 0.7813rem; }
@media (min-width: 768px) {
  /* Tablet and desktop: the chips share the full row evenly instead of bunching up on the left. */
  .cat-chips {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(6rem, 1fr); justify-items: center;
    gap: 1rem; margin: 0 0 -0.625rem; padding: 0.5rem 0 1.125rem; overflow-x: auto;
  }
  .cat-chip { width: 6rem; }
  .cat-circle { width: 5.375rem; height: 5.375rem; }
  .cat-label { font-size: 0.8438rem; }
  .cat-chips-sm { grid-auto-columns: minmax(5.25rem, 1fr); }
  .cat-chips-sm .cat-chip { width: 5.25rem; }
  .cat-chips-sm .cat-circle { width: 3.5rem; height: 3.5rem; }
  .cat-chips-sm .cat-label { font-size: 0.8125rem; }
}
@media (min-width: 1024px) {
  /* Room for two-word labels ("Contact lenses") on one line. */
  .cat-chips { grid-auto-columns: minmax(7.75rem, 1fr); }
  .cat-chip, .cat-chips-sm .cat-chip { width: 7.75rem; }
}

.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 18.75rem; margin: 1.25rem 0 0.5rem;
  border-radius: 1.875rem; overflow: hidden;
  background:
    radial-gradient(26.25rem 18.75rem at 100% 100%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(135deg, #f4d6d6 0%, #f9e7e5 46%, #fff6f4 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 0.625rem; padding: 1.5rem 0 1.5rem 1.25rem; min-width: 0; }
.hero-title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.06; font-weight: 600; letter-spacing: -.015em; }
.hero-title em { font-style: italic; color: var(--rose-strong); }
.hero-text { margin: 0; color: var(--ink-2); font-size: 0.8438rem; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.hero-actions .btn { height: 2.625rem; padding: 0 1rem; font-size: 0.875rem; }
.hero-art { position: relative; display: block; min-width: 0; }
.hero-photo {
  position: absolute; inset: 0.875rem 0.875rem 0.875rem 0.25rem;
  border-radius: 62.4375rem 62.4375rem 1.625rem 1.625rem; overflow: hidden;
  box-shadow: 0 1.125rem 2.125rem rgba(110, 70, 74, .2);
  border: 0.1875rem solid rgba(255, 255, 255, .85);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .hero-art:hover .hero-photo img { transform: scale(1.04); } }
.hero-chip {
  position: absolute; left: -0.625rem; bottom: 1.625rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem; border-radius: 1rem;
  color: var(--ink); text-decoration: none;
}
.hero-chip .ic { width: 1.75rem; height: 1.75rem; padding: 0.3125rem; border-radius: 50%; background: var(--rose-grad); color: #fff; }
.hero-chip span { display: flex; flex-direction: column; line-height: 1.2; }
.hero-chip b { font-size: 0.7813rem; }
.hero-chip small { font-size: 0.75rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 379px) {
  .hero-title { font-size: 1.5625rem; }
  .hero .eyebrow { letter-spacing: .07em; }
  .hero .eyebrow .ic { display: none; }
  .hero-chip small { display: none; }
}
@media (min-width: 768px) {
  .hero { min-height: 23.75rem; border-radius: 2.125rem; }
  .hero-copy { padding: 2.75rem 0 2.75rem 2.75rem; gap: 0.875rem; }
  .hero-title { font-size: 2.875rem; }
  .hero-text { font-size: 1rem; max-width: 26.25rem; }
  .hero-actions .btn { height: 3rem; padding: 0 1.375rem; font-size: 0.9375rem; }
  .hero-photo { inset: 1.375rem 1.625rem 1.375rem 0.75rem; }
  .hero-chip { left: -1.5rem; bottom: 2.75rem; padding: 0.625rem 1rem 0.625rem 0.625rem; }
  .hero-chip b { font-size: 0.875rem; }
  .hero-chip small { font-size: 0.7813rem; }
}
@media (min-width: 1024px) { .hero-title { font-size: 3.375rem; } .hero { min-height: 26.25rem; } }

.block { margin-top: 1.875rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.section-head > div { min-width: 0; }
.section-title { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; font-weight: 600; }
@media (min-width: 768px) { .section-title { font-size: 1.6875rem; } .block { margin-top: 2.5rem; } }

.occ-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 40%;
  gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.625rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.occ-rail::-webkit-scrollbar { display: none; }
.occ-card {
  position: relative; display: block;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem; overflow: hidden;
  color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform .25s var(--ease), box-shadow .25s;
}
@media (hover: hover) { .occ-card:hover { transform: translateY(-0.1875rem); box-shadow: var(--shadow); } }
.occ-media { position: absolute; inset: 0; }
.occ-text {
  position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.5rem;
  display: flex; flex-direction: column;
  padding: 0.625rem 0.75rem; border-radius: 1.0625rem;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(0.75rem) saturate(160%); backdrop-filter: blur(0.75rem) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
}
.occ-text b { font-size: 0.875rem; line-height: 1.2; }
.occ-text small { font-size: 0.75rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.occ-go {
  position: absolute; top: 0.625rem; right: 0.625rem;
  display: grid; place-items: center; width: 1.875rem; height: 1.875rem;
  border-radius: 50%; background: rgba(255, 255, 255, .82); color: var(--ink);
}
.occ-go .ic { width: 1rem; height: 1rem; }
@media (min-width: 640px) { .occ-rail { grid-auto-columns: 26%; } }
@media (min-width: 1024px) {
  .occ-rail { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; overflow: visible; margin: 0; padding: 0; }
}

.swatch-strip {
  display: flex; gap: 0.625rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.625rem;
  overflow-x: auto; scrollbar-width: none;
}
.swatch-strip::-webkit-scrollbar { display: none; }
.swatch-link {
  flex: none; display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.4375rem 1rem 0.4375rem 0.4375rem; border-radius: 62.4375rem;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none;
  transition: transform .2s var(--ease);
}
.swatch-link:active { transform: scale(.97); }
.swatch-name { display: flex; flex-direction: column; font-size: 0.8438rem; font-weight: 700; line-height: 1.15; }
.swatch-name small { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
@media (min-width: 1024px) { .swatch-strip { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

/* Iris-like swatch: pupil, colour ring, soft limbal edge and a highlight. */
.swatch-orb, .swatch {
  display: block; flex: none; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .9) 0 6%, transparent 9%),
    radial-gradient(circle, #2a1c1e 0 19%, var(--sw) 23% 62%, #fff 68% 100%);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .9) 0 6%, transparent 9%),
    radial-gradient(circle, #2a1c1e 0 19%, var(--sw) 23% 58%, color-mix(in srgb, var(--sw) 70%, #2a1c1e) 66%, #fff 70% 100%);
  box-shadow: 0 0 0 1px rgba(47, 36, 38, .1), 0 0.1875rem 0.5rem rgba(47, 36, 38, .12);
}
.swatch-orb { width: 2.375rem; height: 2.375rem; }
.swatch { width: 1.5rem; height: 1.5rem; }

.promo {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 38%;
  min-height: 12.25rem; margin-top: 1.875rem;
  border-radius: 1.75rem; overflow: hidden;
  background: linear-gradient(118deg, #3b2b2e 0%, #5d4146 52%, #a8646c 100%);
  color: #fff; text-decoration: none;
  box-shadow: 0 1.375rem 2.75rem rgba(47, 36, 38, .22);
}
.promo-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.375rem 0 1.375rem 1.25rem; }
.promo-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.12; font-weight: 600; }
.promo-text { font-size: 0.8438rem; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.code-ticket {
  display: inline-block; padding: 1px 0.5rem;
  border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 0.5rem;
  color: #fff; letter-spacing: .08em; font-weight: 700;
}
.promo-cta { margin-top: 0.375rem; }
.promo-photo { position: relative; }
.promo-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
@media (min-width: 768px) {
  .promo { min-height: 15rem; grid-template-columns: minmax(0, 1fr) 42%; }
  .promo-copy { padding: 2.125rem 0 2.125rem 2.25rem; gap: 0.625rem; }
  .promo-title { font-size: 2.125rem; }
  .promo-text { font-size: 0.9375rem; max-width: 27.5rem; }
}

.notes-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%;
  gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.notes-rail::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .notes-rail { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .notes-rail { grid-auto-columns: 32%; } }
.note-card {
  display: grid; grid-template-columns: 6.125rem minmax(0, 1fr); gap: 0.75rem;
  padding: 0.625rem; border-radius: 1.375rem;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.note-photo { display: block; aspect-ratio: 4 / 5; border-radius: 1rem; overflow: hidden; align-self: start; }
.note-photo img { width: 100%; height: 100%; object-fit: cover; }
/* No reviewer photo: the reviewed product's own image (square). */
.note-photo-product { aspect-ratio: 1 / 1; }
.note-card-text { grid-template-columns: minmax(0, 1fr); }
.note-body { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; padding: 2px 2px 2px 0; }
.note-text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0; font-size: 0.8438rem; line-height: 1.5; color: var(--ink);
}
.note-meta { margin: 0; font-size: 0.7813rem; color: var(--muted); }
.note-meta b { color: var(--ink-2); }
.note-product { display: inline-flex; align-items: center; gap: 2px; min-height: 2.5rem; margin-top: auto; font-size: 0.7813rem; font-weight: 700; color: var(--rose-strong); text-decoration: none; }
.note-product .ic { width: 0.875rem; height: 0.875rem; }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; margin-top: 1.875rem; }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.875rem; } }
.trust-item {
  display: flex; gap: 0.625rem; align-items: flex-start;
  padding: 0.875rem; border-radius: 1.25rem;
  background: rgba(255, 255, 255, .58); border: 1px solid var(--glass-border);
  color: var(--ink); text-decoration: none;
}
.trust-item .ic { width: 1.375rem; height: 1.375rem; color: var(--rose-strong); margin-top: 1px; }
.trust-item span { display: flex; flex-direction: column; min-width: 0; }
.trust-item b { font-size: 0.8438rem; line-height: 1.3; }
.trust-item small { font-size: 0.75rem; color: var(--muted); line-height: 1.35; }

.site-footer {
  margin-top: 2.125rem; padding: 1.5rem 1.25rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-border);
}
.footer-top { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.footer-brand .wordmark { font-size: 1.375rem; }
.footer-text { margin: 0; color: var(--ink-2); font-size: 0.8438rem; max-width: 28.75rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.125rem 0 0.5rem; }
.footer-head { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-strong); }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { padding: 0.5rem 0; color: var(--ink-2); font-size: 0.875rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin: 0.625rem 0 0; padding-top: 0.875rem; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 768px) {
  .site-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; padding: 2rem; }
  .footer-cols { margin: 0; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ---------- Shop ---------- */

.page-shop { padding-top: 0; }
.shop-bar {
  position: sticky; top: calc(var(--topbar-h) + var(--safe-top)); z-index: 30;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.375rem var(--gutter) 0.625rem;
  background: rgba(251, 243, 241, .9);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.shop-bar.is-stuck { box-shadow: 0 0.75rem 1.5rem rgba(110, 70, 74, .08); border-bottom-color: rgba(232, 214, 211, .75); }
.shop-bar-inner { max-width: 77.5rem; margin: 0 auto; }

/* Shop page category row: the same circles as the home page, smaller, with counts under the labels. */
.shop-cats { margin: 0.625rem 0 0; }
.shop-cats .cat-chips { margin-bottom: -0.375rem; }

.shop-layout { display: block; }
.shop-side { display: none; }
.shop-main { min-width: 0; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin: 1.125rem 0 0.625rem; }
/* Phones: less chrome above the grid so the first products and every filter change stay in view. */
@media (max-width: 767px) {
  .page-shop [data-shop-eyebrow] { display: none; }
  .shop-head { margin: 0.75rem 0 0.5rem; }
  .shop-title { font-size: 1.5rem; }
  .label-chips { margin-top: 0.625rem; }
  .results-bar { margin-bottom: 0.625rem; }
}
.shop-head-text { min-width: 0; }
.shop-title { margin-top: 2px; font-family: var(--serif); font-size: 1.625rem; line-height: 1.12; font-weight: 600; overflow-wrap: anywhere; }
.results-count { flex: none; margin: 0 0 0.1875rem; font-size: 0.8438rem; color: var(--ink-2); }
.results-count b { color: var(--ink); }
.results-count.is-updated { animation: count-pulse .9s var(--ease); border-radius: 62.4375rem; }
@keyframes count-pulse { 0% { background: rgba(201, 134, 141, .28); box-shadow: 0 0 0 0.375rem rgba(201, 134, 141, .28); } 100% { background: transparent; box-shadow: 0 0 0 0.375rem transparent; } }

/* Quick label chips (Best sellers, New arrivals, On sale, Almost gone): same wording as card badges. */
.label-chips {
  display: flex; gap: 0.5rem;
  margin: 0.875rem calc(var(--gutter) * -1) 0; padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.label-chips::-webkit-scrollbar { display: none; }
.label-chips:empty { display: none; }
.lchip {
  flex: none; display: inline-flex; align-items: center; gap: 0.375rem;
  min-height: 2.5rem; padding: 0 0.5rem 0 0.75rem;
  border-radius: 62.4375rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--ink-2); font-size: 0.8438rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.lchip .ic { width: 0.9375rem; height: 0.9375rem; color: var(--rose-strong); }
.lchip:not(:has(.lchip-count)) { padding-right: 0.75rem; }
.lchip-count {
  display: inline-grid; place-items: center;
  min-width: 1.375rem; height: 1.25rem; padding: 0 0.375rem;
  border-radius: 62.4375rem; background: rgba(47, 36, 38, .06);
  font-size: 0.75rem; font-weight: 700;
}
.lchip:hover:not(:disabled) { border-color: var(--rose); }
.lchip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lchip.is-on .ic { color: #fff; }
.lchip.is-on .lchip-count { background: rgba(255, 255, 255, .2); color: #fff; }
.lchip:disabled { opacity: .45; cursor: not-allowed; }
@media (min-width: 1024px) { .label-chips { flex-wrap: wrap; margin: 1.125rem 0 0; padding: 2px 0; } }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; margin-bottom: 0.875rem; }
.fchips {
  display: flex; gap: 0.375rem; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; padding: 2px 0;
}
.fchips::-webkit-scrollbar { display: none; }
.fchip {
  flex: none; display: inline-flex; align-items: center; gap: 0.25rem;
  min-height: 2.5rem; padding: 0 0.5rem 0 0.75rem;
  border-radius: 62.4375rem; border: 1px solid rgba(201, 134, 141, .32);
  background: var(--rose-soft); color: var(--rose-strong);
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.fchip .ic { width: 0.9375rem; height: 0.9375rem; }
.fchip-clear { padding: 0 0.75rem; background: transparent; border-color: var(--line); color: var(--ink-2); }
.sort {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: 0.25rem;
  height: 2.5rem; padding: 0 0 0 0.875rem;
  border-radius: 62.4375rem; border: 1px solid var(--line);
  background: var(--glass-strong);
}
.sort-label { display: none; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sort select {
  height: 100%; padding: 0 2.125rem 0 0;
  border: 0; background: transparent; outline: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  max-width: 10.5rem;
}
.sort .ic { position: absolute; right: 0.625rem; top: 50%; width: 1.125rem; height: 1.125rem; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }
.sort:focus-within { outline: 2px solid var(--rose-strong); outline-offset: 2px; border-color: var(--rose-strong); }
.relaxed-note {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0 0 0.625rem; padding: 0.625rem 0.75rem; border-radius: 0.875rem;
  background: #fff6e8; border: 1px solid #f2dfbb; color: #6b4a12; font-size: 0.8438rem;
}
.relaxed-note .ic { width: 1.125rem; height: 1.125rem; flex: none; }
.results[aria-busy="true"] { min-height: 20rem; }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; margin: 1.625rem 0 0.5rem; }
.more-wrap:empty { display: none; }
.more-note { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.more-progress { width: 11.25rem; height: 0.25rem; border-radius: 62.4375rem; background: rgba(47, 36, 38, .08); overflow: hidden; }
.more-progress i { display: block; height: 100%; border-radius: inherit; background: var(--rose-grad-soft); transition: width .4s var(--ease); }
.more-wrap .btn .spinner { width: 1rem; height: 1rem; }
.sentinel { display: block; width: 1px; height: 1px; }
.ic-up { transform: rotate(180deg); }

@media (min-width: 640px) {
  .search-filter { width: auto; padding: 0 1.125rem; }
  .search-filter-label { display: inline; }
  .sort-label { display: inline; }
}
@media (min-width: 1024px) {
  .shop-bar {
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    padding: 0.625rem calc(50vw - 50%);
  }
  .shop-bar-inner { display: flex; align-items: center; gap: 1rem; max-width: none; }
  .shop-bar-inner > [data-search-slot] { flex: 1 1 auto; min-width: 17.5rem; }
  .page-shop .search-filter { display: none; }
  .shop-layout { display: grid; grid-template-columns: 17.25rem minmax(0, 1fr); gap: 1.75rem; align-items: start; margin-top: 0.5rem; }
  .shop-side {
    display: block;
    position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 5.5rem);
    max-height: calc(100vh - var(--topbar-h) - var(--safe-top) - 5.5rem - var(--nav-space) - 1.5rem);
    overflow: auto; overscroll-behavior: contain;
    margin-top: 1.125rem; padding: 0.375rem 1.125rem 0.75rem;
    border-radius: 1.5rem;
    background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    scrollbar-width: thin; scrollbar-color: #e3cfcc transparent;
  }
  .shop-title { font-size: 2rem; }
  .page-shop .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* The 276px sidebar fits one colour per row (label, Malay name and count side by side). */
  .shop-side .swatch-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) { .page-shop .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.side-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 0 0.25rem; }
.side-title { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 700; }
.side-title .ic { width: 1.25rem; height: 1.25rem; color: var(--rose-strong); }

/* Filter panel (sidebar + sheet share it) */
.fpanel { display: flex; flex-direction: column; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup summary {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 3.25rem; list-style: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 700;
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup-note { font-size: 0.75rem; font-weight: 600; color: var(--rose-strong); }
.fgroup-chev { width: 1.125rem; height: 1.125rem; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
.fgroup[open] .fgroup-chev { transform: rotate(180deg); }
.fgroup-body { padding: 0 0 1rem; }
.fnote { margin: 0.625rem 0 0; font-size: 0.7813rem; color: var(--muted); }

.choice-list { display: flex; flex-direction: column; gap: 2px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
  display: inline-flex; align-items: center; gap: 0.375rem;
  min-height: 2.5rem; padding: 0 0.8125rem;
  border-radius: 62.4375rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
  color: var(--ink); font-size: 0.875rem; font-weight: 500; text-align: left;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice:hover:not(:disabled) { border-color: var(--rose); }
.choice.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice:disabled { opacity: .42; cursor: not-allowed; }
.choice-count { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.choice.is-on .choice-count { color: rgba(255, 255, 255, .72); }
.choice-list .choice { justify-content: space-between; width: 100%; min-height: 2.625rem; padding: 0 0.75rem; border-color: transparent; border-radius: 0.75rem; background: transparent; }
.choice-list .choice.is-on { background: var(--rose-soft); color: var(--rose-strong); border-color: transparent; font-weight: 700; }
.choice-list .choice.is-on .choice-count { color: var(--rose-strong); }
.swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.choice-swatch { min-height: 3rem; padding: 0.375rem 0.625rem 0.375rem 0.375rem; border-radius: 1rem; }
.choice-swatch .swatch { width: 2rem; height: 2rem; }
.choice-swatch .choice-label { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; font-weight: 600; }
.choice-swatch .choice-label small { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.choice-swatch .choice-count { margin-left: auto; }
.choice-swatch.is-on { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice-swatch.is-on .choice-count { color: var(--ink-2); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 0.875rem minmax(0, 1fr); align-items: end; gap: 0.5rem; margin-top: 0.75rem; }
.price-dash { height: 1.5px; margin-bottom: 1.5rem; background: var(--muted); }
.field-compact > span:first-child { font-size: 0.75rem; }
.field-compact input { height: 2.875rem; }
.toggle-list { display: flex; flex-direction: column; gap: 2px; }
.toggle-row {
  display: flex; align-items: center; gap: 0.625rem;
  width: 100%; min-height: 3rem; padding: 0 2px;
  border: 0; border-radius: 0.75rem; background: transparent;
  color: var(--ink); font-size: 0.9063rem; text-align: left; cursor: pointer;
}
.toggle-row:disabled { opacity: .45; cursor: not-allowed; }
.toggle-icon { display: grid; place-items: center; color: var(--rose-strong); }
.toggle-icon .ic { width: 1.1875rem; height: 1.1875rem; }
.toggle-label { flex: 1; min-width: 0; }
.switch-ui { position: relative; flex: none; width: 2.625rem; height: 1.625rem; border-radius: 62.4375rem; background: #e6d8d6; transition: background-color .2s; }
.switch-ui::after { content: ''; position: absolute; top: 0.1875rem; left: 0.1875rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; box-shadow: 0 2px 0.3125rem rgba(0, 0, 0, .15); transition: transform .2s var(--ease); }
.toggle-row.is-on .switch-ui { background: var(--rose-strong); }
.toggle-row.is-on .switch-ui::after { transform: translateX(1rem); }

/* Occasion edit: one compact line above the results; the lookbook and reviews open on request. */
.edit {
  margin: 0 0 0.75rem; padding: 0.625rem 0.625rem 0.625rem 0.75rem;
  border-radius: 1.375rem;
  background: linear-gradient(140deg, rgba(246, 220, 219, .9), rgba(255, 246, 244, .9));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}
.edit-head { display: flex; align-items: center; gap: 0.75rem; }
.edit-media { flex: none; display: block; width: 2.875rem; height: 2.875rem; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.edit-copy { flex: 1 1 auto; min-width: 0; }
.edit .eyebrow { font-size: 0.75rem; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.edit-title { margin-top: 1px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.2; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edit-text { display: none; margin: 2px 0 0; font-size: 0.8438rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edit-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 0.25rem;
  min-height: 2.5rem; padding: 0 0.625rem 0 0.875rem;
  border-radius: 62.4375rem; border: 1px solid rgba(201, 134, 141, .35);
  background: rgba(255, 255, 255, .85); color: var(--ink);
  font-size: 0.8438rem; font-weight: 700; cursor: pointer;
}
.edit-toggle .ic { width: 1.125rem; height: 1.125rem; color: var(--rose-strong); transition: transform .2s var(--ease); }
.edit.is-open .edit-chev { transform: rotate(180deg); }
.edit-toggle-long { display: none; }
/* Small phones: the toggle is a round chevron button, so the edit title has room. */
@media (max-width: 479px) {
  .edit-toggle { width: 2.5rem; padding: 0; justify-content: center; }
  .edit-toggle-short { display: none; }
  .edit-ms { display: none; }
}
.edit-more { margin-top: 0.75rem; animation: enter .3s var(--ease); }
.edit-note { display: flex; align-items: center; gap: 0.375rem; margin: 0 0 0.625rem; font-size: 0.7813rem; color: var(--ink-2); }
.edit-note .ic { width: 0.875rem; height: 0.875rem; color: var(--rose-strong); }
.lookbook {
  display: grid; grid-auto-flow: column; grid-auto-columns: 7rem; gap: 0.625rem;
  margin: 0 -0.625rem 0 -0.75rem; padding: 0 0.625rem 0.25rem 0.75rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
}
.lookbook::-webkit-scrollbar { display: none; }
.look { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 1.125rem; overflow: hidden; scroll-snap-align: start; }
.look img { width: 100%; height: 100%; object-fit: cover; }
.look figcaption {
  position: absolute; left: 0.375rem; right: 0.375rem; bottom: 0.375rem;
  padding: 0.25rem 0.5rem; border-radius: 0.625rem;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem);
  font-size: 0.75rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edit-sub { margin: 1rem 0 0.5rem; font-size: 0.9375rem; font-weight: 700; }
.edit .notes-rail { margin: 0 -0.625rem 0 -0.75rem; padding: 2px 0.625rem 0.375rem 0.75rem; }
@media (min-width: 640px) {
  .edit-toggle-short { display: none; }
  .edit-toggle-long { display: inline; }
}
@media (min-width: 768px) {
  .edit { padding: 0.75rem 0.875rem 0.75rem 0.875rem; }
  .edit-media { width: 3.25rem; height: 3.25rem; }
  .edit-title { font-size: 1.3125rem; }
  .lookbook { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .look { aspect-ratio: 1 / 1; }
  .look img { object-position: center 30%; }
  .edit .notes-rail { margin: 0 -0.875rem; padding: 2px 0.875rem 0.375rem; grid-auto-columns: 58%; }
}
@media (min-width: 1024px) {
  .edit-text { display: block; }
  .edit .notes-rail { grid-auto-columns: 48%; }
  .look { aspect-ratio: auto; height: 10rem; }
}
@media (min-width: 1280px) { .edit .notes-rail { grid-auto-columns: 38%; } }

/* Product page lookbook strip (styled photos, clearly labelled). */
.pdp-lookbook { margin: 0.25rem 0 1rem; }
.pdp-lookbook .lookbook { margin: 0 -1.125rem; padding: 0 1.125rem 0.25rem; }
.lookbook-note { margin: 0.5rem 0 0; }
@media (min-width: 768px) {
  .pdp-lookbook .lookbook { margin: 0; padding: 0; }
  .pdp-lookbook .look { aspect-ratio: 3 / 4; height: auto; }
}

/* ---------- Overlays: sheets, modals, drawers ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-end; justify-content: center;
}
.overlay-backdrop {
  position: absolute; inset: 0;
  background: rgba(47, 36, 38, .34);
  -webkit-backdrop-filter: blur(0.1875rem); backdrop-filter: blur(0.1875rem);
  opacity: 0; transition: opacity .3s;
}
.overlay.is-open .overlay-backdrop { opacity: 1; }
.sheet {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%; max-height: 90vh; max-height: 90dvh;
  border-radius: 1.875rem 1.875rem 0 0;
  background: rgba(255, 250, 250, .97);
  -webkit-backdrop-filter: blur(1.5rem) saturate(160%); backdrop-filter: blur(1.5rem) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9); border-bottom: 0;
  box-shadow: 0 -1.125rem 3.125rem rgba(47, 36, 38, .2);
  transform: translateY(104%);
  transition: transform .34s var(--ease), opacity .3s;
  outline: none;
}
.overlay.is-open .sheet { transform: none; }
.sheet-grip { flex: none; width: 2.625rem; height: 0.3125rem; margin: 0.5625rem auto 0; border-radius: 62.4375rem; background: #e3d2cf; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 1.25rem 0.5rem; flex: none; }
.sheet-title { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; min-width: 0; }
.sheet-close { background: rgba(47, 36, 38, .05); }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0.25rem 1.25rem 1.125rem; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  flex: none; display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1.25rem calc(0.75rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .75);
}
.sheet-foot .btn { height: 3.125rem; }

@media (min-width: 768px) {
  .overlay-sheet { align-items: center; padding: 1.5rem; }
  .overlay-sheet .sheet { max-width: 35rem; border-radius: 1.875rem; border-bottom: 1px solid rgba(255, 255, 255, .9); transform: translateY(1.625rem) scale(.98); opacity: 0; box-shadow: var(--shadow-lg); }
  .overlay-sheet.is-open .sheet { transform: none; opacity: 1; }
  .overlay-sheet .sheet-grip { display: none; }
  .overlay-sheet .sheet-foot { padding-bottom: 0.875rem; border-radius: 0 0 1.875rem 1.875rem; }
}

/* Filters stay a bottom sheet on tablets too ("Show N results"). */
@media (min-width: 768px) {
  .overlay-sheet.overlay-filters { align-items: flex-end; padding: 0; }
  .overlay-sheet.overlay-filters .sheet { max-width: 42.5rem; border-radius: 1.875rem 1.875rem 0 0; border-bottom: 0; transform: translateY(104%); opacity: 1; }
  .overlay-sheet.overlay-filters.is-open .sheet { transform: none; }
  .overlay-sheet.overlay-filters .sheet-grip { display: block; }
  .overlay-sheet.overlay-filters .sheet-foot { border-radius: 0; padding-bottom: calc(0.75rem + var(--safe-bottom)); }
}
.overlay-filters .sheet { height: 88vh; height: 88dvh; }

.overlay-modal { align-items: center; padding: 1rem; }
.overlay-modal .sheet {
  max-width: 27.5rem; border-radius: 1.875rem; border-bottom: 1px solid rgba(255, 255, 255, .9);
  transform: translateY(40vh) scale(.96); opacity: 0;
  box-shadow: var(--shadow-lg);
}
.overlay-modal.is-open .sheet { transform: none; opacity: 1; }
.overlay-modal .sheet-grip { display: none; }
.overlay-modal .sheet-foot { border-radius: 0 0 1.875rem 1.875rem; padding-bottom: 0.875rem; }
.confirm-text { color: var(--ink-2); }

.overlay-side .sheet { height: 86vh; height: 86dvh; }
@media (min-width: 900px) {
  .overlay-side { align-items: stretch; justify-content: flex-end; }
  .overlay-side .sheet { height: 100%; max-height: none; max-width: 28.75rem; border-radius: 1.875rem 0 0 1.875rem; border: 1px solid rgba(255, 255, 255, .9); transform: translateX(104%); }
  .overlay-side .sheet-grip { display: none; }
  .overlay-side .sheet-head { padding-top: calc(1rem + var(--safe-top)); }
}

/* Power picker */
.picker-product { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.picker-thumb { display: block; flex: none; width: 4.125rem; height: 4.125rem; border-radius: 1.125rem; overflow: hidden; }
.picker-name { margin: 0; font-size: 1rem; font-weight: 700; }
.picker-price { margin: 2px 0 0; font-size: 0.875rem; font-weight: 700; color: var(--rose-strong); }
.picker-help { margin: 0 0 0.75rem; font-size: 0.8438rem; color: var(--ink-2); }
.picker-stock { margin: 0.625rem 0 0; }

/* ---------- Product page ---------- */

.pdp {
  max-width: 77.5rem; margin: 0 auto;
  padding: 0 var(--gutter) calc(var(--nav-space) + 9.875rem);
}
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gallery-track {
  display: flex; aspect-ratio: 1 / 1;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 0 0 2rem 2rem;
  background: #f3e6e3;
  box-shadow: var(--shadow-sm);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-slide.sk { border-radius: 0; }
.gallery-dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 0.375rem; margin-top: -1.5rem; height: 1.5rem; align-items: center; pointer-events: none; }
.gallery-dots i { width: 0.4375rem; height: 0.4375rem; border-radius: 62.4375rem; background: rgba(255, 255, 255, .65); box-shadow: 0 1px 0.25rem rgba(0, 0, 0, .2); transition: width .25s var(--ease), background-color .25s; }
.gallery-dots i.is-on { width: 1.375rem; background: #fff; }
.gallery-thumbs { display: flex; gap: 0.5rem; padding: 0.875rem var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none; display: block; width: 3.875rem; height: 3.875rem; padding: 0;
  border-radius: 1rem; overflow: hidden;
  border: 2px solid transparent; background: none; opacity: .72; cursor: pointer;
  transition: opacity .2s, border-color .2s;
}
.thumb.is-on { opacity: 1; border-color: var(--rose); box-shadow: 0 0.375rem 0.875rem rgba(201, 134, 141, .3); }

.pdp-info { margin-top: 0.875rem; padding: 1.25rem 1.125rem; border-radius: 1.75rem; }
.pdp.is-loading .pdp-info { min-height: 20rem; }
.crumbs { display: flex; align-items: center; gap: 2px; font-size: 0.7813rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--ink-2); text-decoration: none; }
.crumbs .ic { width: 0.875rem; height: 0.875rem; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0.5rem 0 0.625rem; }
.pdp-tags:empty { display: none; }
.pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.pdp-title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; min-width: 0; overflow-wrap: anywhere; }
.pdp-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; margin: 0.25rem 0 0; font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.pdp-price s, .pdp-was { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.pdp-price .price { font-size: 1.25rem; }
.pdp-price-note { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.pdp-sub { margin: 0.375rem 0 0.25rem; font-size: 0.875rem; color: var(--ink-2); }
.pdp-rating { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2rem; font-size: 0.8438rem; color: var(--ink-2); text-decoration: none; }
.pdp-rating .star { width: 0.9375rem; height: 0.9375rem; }
.pdp-rating b { color: var(--ink); }
.pdp-block { margin-top: 1.125rem; }
.pdp-block[hidden] { display: none; }
.label { margin: 0 0 0.625rem; font-size: 0.7813rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.shade-row { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 0.25rem; }
.shade-row::-webkit-scrollbar { display: none; }
.shade {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  height: 2.625rem; padding: 0 0.9375rem 0 0.375rem;
  border-radius: 62.4375rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  color: var(--ink); font-size: 0.8438rem; font-weight: 600; white-space: nowrap; text-decoration: none;
}
.shade .swatch { width: 1.75rem; height: 1.75rem; }
.shade.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.power-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.375rem, 1fr)); gap: 0.5rem; }
.power-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  height: 3.5rem; padding: 0 0.25rem;
  border-radius: 0.9375rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88); color: var(--ink);
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.power-chip:hover:not(:disabled) { border-color: var(--rose); }
.power-value { font-size: 0.9375rem; font-weight: 700; }
.power-note { font-size: 0.75rem; color: var(--muted); }
.power-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.power-chip.is-on .power-note { color: rgba(255, 255, 255, .72); }
.power-chip:disabled { opacity: .42; cursor: not-allowed; }
.power-chip:disabled .power-value { text-decoration: line-through; }
.power-hint { margin: 0.625rem 0 0; }
.pdp-buy { display: none; }
@media (min-width: 1024px) {
  .pdp-buy { display: block; margin-top: 1.125rem; }
  .pdp-buy .actionbar-inner {
    max-width: none; padding: 0.375rem;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); animation: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .pdp-buy .btn { height: 3.25rem; font-size: 0.9688rem; }
}
/* The product page asks the stylist from the info card, so the floating button never covers it. */
.pdp-ask {
  display: inline-flex; align-items: center; gap: 0.375rem;
  min-height: 2.5rem; margin-top: 0.625rem; padding: 0;
  border: 0; background: none; color: var(--rose-strong);
  font-size: 0.875rem; font-weight: 700; cursor: pointer;
}
.pdp-ask .ic { width: 1.125rem; height: 1.125rem; }
@media (min-width: 1024px) { body[data-route="p"] .fab-assistant { display: none; } }
.is-attention { animation: nudge .5s var(--ease); }
.is-attention .power-grid { border-radius: 1rem; box-shadow: 0 0 0 0.1875rem rgba(201, 134, 141, .35); }

.benefits {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem;
  margin: 1.25rem 0 0; padding: 0.875rem 0.375rem;
  list-style: none;
  border-radius: 1.375rem; background: rgba(255, 255, 255, .66); border: 1px solid var(--line);
}
.benefits li { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-width: 0; text-align: center; }
.benefits .ic { width: 1.5rem; height: 1.5rem; color: var(--rose-strong); }
.benefits b { font-size: 0.8125rem; line-height: 1.2; overflow-wrap: anywhere; }
.benefits span { font-size: 0.75rem; color: var(--muted); }
.pdp-desc { margin: 0; font-size: 0.9063rem; line-height: 1.65; color: var(--ink-2); }
.accordions { margin-top: 1.125rem; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 0.625rem; min-height: 3.5rem; list-style: none; cursor: pointer; font-size: 0.9375rem; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 1.25rem; height: 1.25rem; color: var(--rose-strong); }
.acc .acc-chev { width: 1.125rem; height: 1.125rem; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
.acc[open] .acc-chev { transform: rotate(180deg); }
.acc-body { display: flex; flex-direction: column; gap: 0.625rem; padding: 0 0 1rem; }
.acc-body .small { margin: 0; }
.ship-head { display: flex; align-items: center; gap: 0.625rem; }
.nv-badge { display: inline-block; width: auto; height: 1.375rem; flex: none; vertical-align: middle; }
.rate-list { display: flex; flex-direction: column; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.rate-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.5625rem 0.75rem; border-radius: 0.75rem; background: rgba(255, 255, 255, .75); font-size: 0.875rem; }
.steps { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding-left: 1.25rem; font-size: 0.875rem; color: var(--ink-2); }

.pdp-reviews { margin-top: 1.25rem; padding: 1.125rem; border-radius: 1.75rem; }
.review-summary { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: center; margin: 0.5rem 0 1rem; }
.review-score { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.review-score b { font-family: var(--serif); font-size: 2.625rem; line-height: 1; }
.review-score .star { width: 0.875rem; height: 0.875rem; }
.review-dist { display: flex; flex-direction: column; gap: 0.25rem; }
.dist-row { display: grid; grid-template-columns: 0.625rem 0.875rem minmax(0, 1fr) 2.25rem; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--muted); }
.dist-row .ic-star { width: 0.75rem; height: 0.75rem; color: var(--star); }
.dist-bar { height: 0.375rem; border-radius: 62.4375rem; background: rgba(47, 36, 38, .08); overflow: hidden; }
.dist-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #dfa23c, #e9bd66); }
.dist-count { text-align: right; }
.review-list { display: flex; flex-direction: column; gap: 0.625rem; }
.review { padding: 0.875rem; border-radius: 1.125rem; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.review-title { margin: 0.5rem 0 0.25rem; font-size: 0.9375rem; font-weight: 700; }
.review-body { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.625rem 0 0; font-size: 0.8125rem; }
.pdp-related { margin-top: 1.625rem; }
.pdp-related[hidden] { display: none; }
.rate-input { display: flex; gap: 0.25rem; }
.rate-star { display: grid; place-items: center; width: 2.875rem; height: 2.875rem; padding: 0; border: 0; background: none; color: #e6d3d1; cursor: pointer; }
.rate-star.is-on { color: var(--star); }
.rate-star .ic { width: 2rem; height: 2rem; }

@media (min-width: 768px) {
  .gallery { margin: 1rem 0 0; }
  .gallery-track { border-radius: 1.875rem; }
  .gallery-thumbs { padding: 0.875rem 0 0; }
  .pdp-info { padding: 1.625rem; }
  .pdp-title { font-size: 2.125rem; }
}
/* Tablets: a centred gallery so the name, price and power picker reach the first screen. */
@media (min-width: 600px) and (max-width: 1023px) {
  .gallery { max-width: min(35rem, 62vh); margin: 1rem auto 0; }
  .gallery-track { border-radius: 1.875rem; }
  .gallery-thumbs { padding: 0.875rem 0 0; justify-content: center; }
}
@media (min-width: 1024px) {
  /* Gallery and details share their own grid, so the sticky gallery stops where the details end and never
     slides behind the reviews and related products below. */
  .pdp { padding-top: 1.125rem; }
  .pdp-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: start; }
  .gallery { position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 1rem); display: grid; grid-template-columns: 4.875rem minmax(0, 1fr); gap: 0.875rem; margin: 0; }
  .gallery-track { grid-column: 2; grid-row: 1; }
  .gallery-dots { display: none; }
  .gallery-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; padding: 0; overflow: visible; }
  .thumb { width: 4.875rem; height: 4.875rem; }
  .pdp-info { margin-top: 0; }
  /* The same space as when reviews and related products sat in the gallery's grid (32px row gap + margin). */
  .pdp-reviews { margin-top: 3.25rem; }
  .pdp-related { margin-top: 3.625rem; }
}

/* ---------- Bag, checkout, order ---------- */

.two-col { display: grid; gap: 1rem; }
.col-main, .col-side { min-width: 0; display: flex; flex-direction: column; gap: 0.875rem; }
@media (min-width: 1024px) {
  .two-col { grid-template-columns: minmax(0, 1fr) 23.75rem; align-items: start; gap: 1.5rem; }
  .col-side { position: sticky; top: calc(var(--topbar-h) + var(--safe-top) + 1rem); }
}
.lines { margin: 0; padding: 0.375rem; list-style: none; border-radius: var(--radius); }
.line { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.625rem; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-thumb { display: block; width: 5.5rem; height: 5.5rem; border-radius: 1.0625rem; overflow: hidden; }
.line-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.line-name { color: var(--ink); font-size: 0.9375rem; font-weight: 700; text-decoration: none; line-height: 1.3; }
.line-meta { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.line-warn { display: flex; align-items: center; gap: 0.375rem; margin: 0; font-size: 0.8125rem; color: var(--danger); }
.line-warn .ic { width: 1rem; height: 1rem; }
.line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.375rem; }
.line-price { font-size: 0.9375rem; }
.line-was { color: var(--muted); font-weight: 500; font-size: 0.8125rem; }
.line-offer { display: flex; align-items: center; gap: 0.375rem; margin: 0; font-size: 0.8125rem; color: var(--rose-strong); }
.line-offer .ic { width: 0.9375rem; height: 0.9375rem; flex: none; }
.line-offer b { font-weight: 800; }

/* Buy X get Y: the free pick in the bag */
.gift { margin-top: 0.875rem; }
.gift-head { display: flex; align-items: flex-start; gap: 0.625rem; margin: 0; }
.gift-head > .ic { width: 1.25rem; height: 1.25rem; margin-top: 2px; color: var(--rose-strong); flex: none; }
.gift-head b { display: block; }
.gift-head span { color: var(--ink-2); font-size: 0.875rem; }
.gift-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8.5rem, 9.5rem); gap: 0.75rem; margin: 0; padding: 0.25rem 0 0.375rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.gift-item { display: flex; flex-direction: column; gap: 0.375rem; scroll-snap-align: start; }
.gift-thumb { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--rose-soft); }
.gift-thumb > * { width: 100%; height: 100%; object-fit: cover; }
.gift-name { margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gift-price { margin: 0; font-size: 0.8125rem; }
.gift-price s { color: var(--muted); }
.gift-price b { color: var(--rose-strong); }
.gift-item .btn { justify-content: center; }
.line.is-invalid { background: rgba(251, 236, 237, .5); border-radius: 1rem; }
.voucher { display: flex; gap: 0.5rem; }
.field-inline { flex: 1 1 auto; }
.field-inline input { text-transform: uppercase; }
.field-inline input::placeholder { text-transform: none; }
.voucher-msg { margin: 0; font-size: 0.8125rem; }
.voucher-msg:empty { display: none; }
.voucher-msg.is-error { color: var(--danger); }
.voucher-msg.is-ok { color: var(--ok); }
.totals { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; font-size: 0.9063rem; transition: opacity .2s; }
.totals > div { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-weight: 700; white-space: nowrap; }
.totals .is-saving dt, .totals .is-saving dd { color: var(--ok); }
.totals-ship dt { display: inline-flex; align-items: center; gap: 0.5rem; }
.totals-note { margin: -0.25rem 0 0; font-size: 0.7813rem; color: var(--muted); }
.totals-grand { margin-top: 2px; padding-top: 0.625rem; border-top: 1px dashed #e3d0cd; font-size: 1rem; }
.totals-grand dt { color: var(--ink) !important; font-weight: 700; }
.totals-grand dd { font-size: 1.3125rem; }
.totals-warn { display: flex; align-items: flex-start; gap: 0.375rem; margin: 0; font-size: 0.8125rem; color: var(--danger); }
.totals-warn .ic { width: 1rem; height: 1rem; margin-top: 2px; }
.totals.is-loading { opacity: .5; }
.secure-note { display: flex; align-items: center; gap: 0.375rem; margin: 0; font-size: 0.7813rem; color: var(--muted); }
.secure-note .ic { width: 1rem; height: 1rem; }
.step-no { display: inline-grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8125rem; }
.ship-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; font-size: 0.8125rem; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
@media (min-width: 560px) { .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-card {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
  min-height: 4.125rem; padding: 0.75rem 0.875rem;
  border-radius: 1.0625rem; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.pay-card input { position: absolute; opacity: 0; pointer-events: none; }
.pay-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--rose-soft); color: var(--rose-strong); }
.pay-icon .ic { width: 1.375rem; height: 1.375rem; }
.pay-text { display: flex; flex-direction: column; min-width: 0; }
.pay-text b { font-size: 0.9063rem; }
.pay-text small { font-size: 0.7813rem; color: var(--muted); }
.pay-check { display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; margin-left: auto; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; }
.pay-check .ic { width: 0.9375rem; height: 0.9375rem; }
.pay-card.is-on { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-card.is-on .pay-check { background: var(--ink); border-color: var(--ink); color: #fff; }
.pay-card:focus-within { outline: 2px solid var(--rose); outline-offset: 2px; }
.ref-note { display: flex; align-items: center; gap: 0.375rem; margin: 0; }
.ref-note .ic { width: 1rem; height: 1rem; }
.mini-lines { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.mini-lines li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; font-size: 0.875rem; }
.mini-thumb { position: relative; display: block; width: 3.25rem; height: 3.25rem; }
.mini-thumb > .fm-shot, .mini-thumb > .fm-render, .mini-thumb > .cat-icon { border-radius: 0.8125rem; overflow: hidden; }
.mini-thumb i {
  position: absolute; top: -0.375rem; right: -0.375rem;
  display: grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.3125rem;
  border-radius: 62.4375rem; border: 2px solid #fff; background: var(--ink); color: #fff;
  font-size: 0.75rem; font-style: normal; font-weight: 700; box-sizing: content-box;
}
.mini-name { display: flex; flex-direction: column; min-width: 0; }
.mini-name small { font-size: 0.7813rem; color: var(--muted); }

/* Rate & review on the order page: a full-width row under each item. */
.item-review {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
  margin: 2px 0 0.25rem; padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm); background: rgba(255, 255, 255, .55); border: 1px dashed #ead8d5;
}
.item-review .btn { min-height: 2.5rem; }
.item-review .btn .ic { width: 1rem; height: 1rem; color: var(--star); }
.item-review.is-done { border-style: solid; border-color: #f0e1de; }
.item-review-text { display: flex; flex-direction: column; flex: 1 1 11.25rem; min-width: 0; }
.item-review-text b { font-size: 0.875rem; }
.item-review-text small { font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.item-review .link-more { margin-left: auto; }
.review-wait { display: flex; align-items: center; gap: 0.375rem; margin: 0.75rem 0 0; }
.review-wait .ic { width: 1rem; height: 1rem; color: var(--star); }
.stars-inline { display: inline-flex; gap: 2px; }
.stars-inline span { display: inline-grid; color: #e6d3d1; }
.stars-inline span.is-on { color: var(--star); }
.stars-inline .ic { width: 1rem; height: 1rem; }
.rate-block { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.25rem 0 0.375rem; }
.rate-hint { margin: 0; min-height: 1.125rem; font-weight: 600; }
.tag-verified {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.375rem;
  font-size: 0.75rem; font-weight: 700; color: var(--ok);
}
.tag-verified .ic { width: 0.875rem; height: 0.875rem; }
.summary .form-actions { margin-top: 2px; }

.order-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.875rem; padding: 1.25rem; border-radius: 1.75rem; margin-top: 0.5rem; }
.order-hero > .status { grid-column: 1 / -1; justify-self: start; }
.order-hero .page-title { font-size: 1.625rem; }
.order-hero-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.order-hero-icon.is-good { background: var(--ok-soft); color: var(--ok); }
.order-hero-icon.is-bad { background: var(--danger-soft); color: var(--danger); }
.page-order > .btn { margin-top: 0.875rem; }
.timeline { display: flex; flex-direction: column; margin: 1rem 0; padding: 1.125rem; list-style: none; border-radius: var(--radius); }
.timeline li { position: relative; display: flex; gap: 0.75rem; padding-bottom: 1.125rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 0.9375rem; top: 2rem; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--ok); }
.tl-dot { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #f2e8e7; color: var(--muted); }
.tl-dot .ic { width: 1rem; height: 1rem; }
.is-done .tl-dot { background: var(--ok); color: #fff; }
.is-current .tl-dot { background: var(--rose-strong); color: #fff; box-shadow: 0 0 0 0.3125rem rgba(168, 100, 108, .16); }
.tl-text { display: flex; flex-direction: column; padding-top: 0.3125rem; }
.tl-text b { font-size: 0.9063rem; }
.tl-text small { font-size: 0.7813rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; height: 1.625rem; padding: 0 0.625rem; border-radius: 62.4375rem; background: #efe9e8; color: #6b5f60; font-size: 0.75rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.status-paid, .status-processing, .status-delivered, .status-approved { background: var(--ok-soft); color: var(--ok); }
.status-awaiting_payment, .status-pending { background: #fff3df; color: #8c621c; }
.status-packed, .status-shipped { background: #e8eefb; color: #3a5795; }
.status-cancelled, .status-refunded, .status-reversed { background: var(--danger-soft); color: var(--danger); }
.address { margin: 0; font-size: 0.875rem; line-height: 1.6; }
.card-cta { background: linear-gradient(140deg, rgba(246, 220, 219, .9), rgba(255, 255, 255, .85)); }

.gateway { display: flex; flex-direction: column; gap: 1rem; max-width: 28.75rem; margin: 1rem auto; padding: 1.375rem; border-radius: 1.875rem; }
.gateway-flag { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.625rem 0.75rem; border-radius: 0.75rem; background: #fff3df; color: #7d5512; font-size: 0.7813rem; font-weight: 700; letter-spacing: .05em; }
.gateway-flag .ic { width: 1.125rem; height: 1.125rem; }
.gateway-head { display: flex; align-items: center; gap: 0.75rem; }
.gateway-head p { margin: 0; }
.gateway-logo { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--rose-grad); color: #fff; }
.gateway-merchant { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.gateway-rows { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; }
.gateway-rows div { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9063rem; }
.gateway-rows dt { color: var(--ink-2); }
.gateway-rows dd { margin: 0; font-weight: 700; }
.gateway-amount { padding-top: 0.625rem; border-top: 1px dashed #e3d0cd; font-size: 1.125rem !important; }
.gateway-actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- Account ---------- */

.page-auth { max-width: 32.5rem; }
.auth-card { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 0.75rem; padding: 1.5rem 1.25rem; border-radius: 1.875rem; }
.auth-top { display: flex; align-items: flex-start; gap: 0.875rem; }
.auth-mark { display: grid; place-items: center; flex: none; width: 3.375rem; height: 3.375rem; border-radius: 1.125rem; background: var(--rose-grad); color: #fff; box-shadow: 0 0.625rem 1.25rem rgba(168, 100, 108, .3); }
.auth-mark .logo-mark { width: 1.375rem; height: 2.0625rem; }
.auth-top .page-title { font-size: 1.75rem; }
.auth-alt { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; font-size: 0.875rem; color: var(--ink-2); }
.profile-card { display: flex; align-items: center; gap: 0.875rem; margin-top: 0.75rem; padding: 1.125rem; border-radius: 1.625rem; }
.profile-text { min-width: 0; }
.profile-text p { margin: 0; overflow-wrap: anywhere; }
.profile-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; overflow-wrap: anywhere; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.375rem; }
.profile-tags:empty { display: none; }
.tiles { display: grid; gap: 0.625rem; margin-top: 0.875rem; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; min-height: 4.625rem; padding: 0.875rem 1rem;
  border-radius: 1.375rem; color: var(--ink); text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
}
button.tile { border: 1px solid var(--glass-border); }
.tile-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.875rem; background: var(--rose-soft); color: var(--rose-strong); }
.tile-icon .ic { width: 1.375rem; height: 1.375rem; }
.tile-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tile-text b { font-size: 0.9375rem; }
.tile-text small { font-size: 0.8125rem; color: var(--muted); }
.tile-chev { width: 1.125rem; height: 1.125rem; color: var(--muted); }
.tile-quiet { background: rgba(255, 255, 255, .4); box-shadow: none; }
.order-list { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.order-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; border-radius: 1.25rem; color: var(--ink); text-decoration: none; }
.order-row-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.8125rem; background: var(--rose-soft); color: var(--rose-strong); }
.order-row-icon .ic { width: 1.25rem; height: 1.25rem; }
.order-row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.order-row-text small { font-size: 0.8125rem; color: var(--muted); }
.order-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }
.order-row-end .ic { width: 1.125rem; height: 1.125rem; color: var(--muted); }
.aff-hero {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.375rem; border-radius: 1.75rem;
  background: linear-gradient(130deg, #3b2b2e 0%, #6a4a50 60%, #b9737b 100%); color: #fff;
  box-shadow: 0 1.125rem 2.5rem rgba(47, 36, 38, .22);
}
.aff-rate { margin: 0; font-family: var(--serif); font-size: 3.125rem; line-height: 1; }
.aff-text { margin: 0; color: rgba(255, 255, 255, .82); }
.aff-link { padding: 0.625rem 0.875rem; border-radius: 0.875rem; background: rgba(255, 255, 255, .13); overflow: hidden; }
.aff-url { display: block; font-size: 0.8438rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aff-hero .row-actions { justify-content: flex-start; }
.aff-code { margin: 0; font-size: 0.8125rem; color: rgba(255, 255, 255, .82); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; margin: 0.875rem 0; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.875rem; border-radius: 1.25rem; }
.stat small { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat b { font-size: 1.125rem; }
.comm-list { margin: 0; padding: 0; list-style: none; }
.comm-list li { display: flex; justify-content: space-between; gap: 0.625rem; padding: 0.625rem 0; border-bottom: 1px solid var(--line); }
.comm-list li:last-child { border-bottom: 0; }
.comm-list span { display: flex; flex-direction: column; }
.comm-list small { font-size: 0.7813rem; color: var(--muted); }
.comm-end { align-items: flex-end; gap: 0.25rem; }
.payout-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 1rem; background: rgba(255, 255, 255, .72); }
.payout-saved > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.payout-saved small { font-size: 0.7813rem; color: var(--muted); }

/* ---------- More: shopping hub ---------- */

.hub-search-box { position: relative; z-index: 5; }
.hub-section { margin-top: 1.625rem; }
.hub-title { margin: 0 0 0.75rem; font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; }
.hub-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.hub-chev { display: none; }
@media (min-width: 768px) { .hub-chev { display: block; width: 1.125rem; height: 1.125rem; margin-left: auto; color: var(--muted); } }
.hub-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 640px) { .hub-swatches { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.hub-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 0.375rem; min-width: 0;
  padding: 0.75rem 0.25rem 0.625rem; border-radius: 1.25rem;
  background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border);
  color: var(--ink); text-decoration: none; text-align: center;
}
.hub-swatch .swatch-orb { width: 2.75rem; height: 2.75rem; }
.hub-swatch-name { font-size: 0.8438rem; font-weight: 700; line-height: 1.1; }
.hub-swatch small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.hub-occs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem; }
@media (min-width: 768px) { .hub-occs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hub-occ { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 1.25rem; overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.hub-occ-media { position: absolute; inset: 0; }
.hub-occ-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 1.75rem 0.625rem 0.625rem; background: linear-gradient(180deg, transparent, rgba(47, 36, 38, .78)); }
.hub-occ-text b { font-size: 0.8438rem; line-height: 1.2; }
.hub-occ-text small { font-size: 0.75rem; color: rgba(255, 255, 255, .82); }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
@media (min-width: 768px) { .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quick { display: flex; align-items: center; gap: 0.625rem; min-height: 3.875rem; padding: 0.75rem; border-radius: 1.25rem; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.quick-icon { display: grid; place-items: center; flex: none; width: 2.375rem; height: 2.375rem; border-radius: 0.75rem; background: var(--rose-soft); color: var(--rose-strong); }
.quick-icon .ic { width: 1.25rem; height: 1.25rem; }
.quick-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.quick-text b { font-size: 0.875rem; line-height: 1.2; }
.quick-text small { font-size: 0.75rem; color: var(--muted); }
.quick-count { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.assist-card {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; margin-top: 1.625rem; padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 1.5rem;
  background: linear-gradient(120deg, #f4d6d6, #fbeceb 60%, #fff);
  color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.assist-card > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.assist-card b { font-size: 0.9375rem; }
.assist-card small { font-size: 0.8125rem; color: var(--ink-2); }
.assist-card > .ic { color: var(--rose-strong); }
.assist-icon { display: grid; place-items: center; flex: none; width: 2.875rem; height: 2.875rem; border-radius: 50%; background: var(--rose-grad); color: #fff; box-shadow: 0 0.5rem 1rem rgba(168, 100, 108, .3); }
.menu-list { margin: 0; padding: 0.375rem; list-style: none; border-radius: var(--radius); }
.menu-list li + li { border-top: 1px solid var(--line); }
.menu-list a, .menu-list button {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; min-height: 3.875rem; padding: 0.625rem;
  border: 0; border-radius: 0.875rem; background: none;
  color: var(--ink); text-align: left; text-decoration: none; cursor: pointer;
}
.menu-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.8125rem; background: var(--rose-soft); color: var(--rose-strong); }
.menu-icon .ic { width: 1.25rem; height: 1.25rem; }
.menu-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.menu-text b { font-size: 0.9063rem; }
.menu-text small { font-size: 0.7813rem; color: var(--muted); }
.menu-chev { width: 1.125rem; height: 1.125rem; color: var(--muted); }

/* ---------- Info pages ---------- */

.page-info .card { margin-bottom: 0.875rem; }
.prose h2 { margin: 0.375rem 0 2px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.prose p { margin: 0 0 0.375rem; font-size: 0.9063rem; line-height: 1.65; color: var(--ink-2); }
.prose .lead { font-size: 1rem; color: var(--ink); }
.prose .btn { align-self: flex-start; }
.prose .notice { margin: 0.25rem 0 0; }
.ticks { display: flex; flex-direction: column; gap: 0.5rem; margin: 0 0 0.375rem; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: 0.9063rem; line-height: 1.55; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0.25rem; top: .5em; width: 0.5625rem; height: 0.5625rem; border-radius: 50%; background: var(--rose-grad-soft); }
.contact-grid { display: grid; gap: 0.625rem; margin-bottom: 0.875rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; border-radius: 1.25rem; color: var(--ink); text-decoration: none; }
.contact-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-card small { font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }

/* ---------- Assistant ---------- */

.assist-title { display: flex; align-items: center; gap: 0.625rem; }
.assist-title > span:last-child { display: flex; flex-direction: column; }
.assist-title small { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.assist-title .assist-icon { width: 2.5rem; height: 2.5rem; }
.thread { display: flex; flex-direction: column; gap: 0.875rem; padding: 0.375rem 0; }
.msg { display: flex; gap: 0.5rem; max-width: 100%; }
.msg-user { justify-content: flex-end; }
.msg-user p { max-width: 82%; margin: 0; padding: 0.625rem 0.875rem; border-radius: 1.125rem 1.125rem 0.375rem 1.125rem; background: var(--ink-grad); color: #fff; font-size: 0.9063rem; }
.msg-bot { align-items: flex-start; }
.msg-avatar { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rose-grad); color: #fff; }
.msg-avatar .ic { width: 1rem; height: 1rem; }
.msg-content { display: flex; flex-direction: column; gap: 0.625rem; flex: 1; min-width: 0; }
.msg-content > p { max-width: 94%; margin: 0; padding: 0.625rem 0.875rem; border-radius: 1.125rem 1.125rem 1.125rem 0.375rem; background: #fff; border: 1px solid var(--line); font-size: 0.9063rem; line-height: 1.55; }
.msg-text { max-width: 94%; padding: 0.625rem 0.875rem; border-radius: 1.125rem 1.125rem 1.125rem 0.375rem; background: #fff; border: 1px solid var(--line); font-size: 0.9063rem; line-height: 1.55; overflow-wrap: anywhere; }
.msg-text p { margin: 0; }
.msg-text p + p, .msg-text p + ul, .msg-text ul + p { margin-top: 0.5rem; }
.msg-text ul { margin: 0.375rem 0 0; padding-left: 1.125rem; }
.msg-text li + li { margin-top: 0.25rem; }
.msg-text strong { font-weight: 700; color: var(--ink); }
.msg-links { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.msg-links .btn .ic { width: 0.9375rem; height: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip { min-height: 2.5rem; padding: 0 0.875rem; border-radius: 62.4375rem; border: 1px solid rgba(201, 134, 141, .4); background: var(--rose-soft); color: var(--rose-strong); font-size: 0.8438rem; font-weight: 700; cursor: pointer; }
.sugg-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 0.625rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.sugg-rail::-webkit-scrollbar { display: none; }
.sugg { display: grid; grid-template-columns: 5.375rem minmax(0, 1fr); gap: 0.625rem; padding: 0.5rem; border-radius: 1.125rem; background: #fff; border: 1px solid var(--line); scroll-snap-align: start; }
.sugg-media { display: block; width: 5.375rem; height: 5.375rem; border-radius: 0.875rem; overflow: hidden; }
.sugg-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sugg-name { margin: 0; font-size: 0.875rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-meta { margin: 0; font-size: 0.7813rem; color: var(--muted); }
.sugg-meta b { color: var(--ink); }
.sugg-reason { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0; font-size: 0.7813rem; line-height: 1.4; color: var(--ink-2); }
.sugg-actions { display: flex; gap: 0.375rem; margin-top: auto; }
.sugg-actions .btn { height: 2.125rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.typing { display: inline-flex; gap: 0.25rem; width: fit-content; padding: 0.8125rem 0.875rem; border-radius: 1.125rem; background: #fff; border: 1px solid var(--line); }
.typing i { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--rose); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.ask { display: flex; align-items: center; gap: 0.5rem; width: 100%; }
.ask input { flex: 1 1 auto; min-width: 0; height: 3rem; padding: 0 1rem; border-radius: 62.4375rem; border: 1px solid var(--line); background: #fff; font-size: 1rem; outline: none; }
.ask input:focus { border-color: var(--rose); box-shadow: 0 0 0 0.25rem rgba(201, 134, 141, .16); }
.ask-send { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--ink-grad); color: #fff; cursor: pointer; }
.ask-send .ic { width: 1.25rem; height: 1.25rem; }
.ask-reset { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; }
.ask-reset .ic { width: 1.125rem; height: 1.125rem; }

/* ---------- Install popup ---------- */

.overlay-install .sheet { text-align: center; }
.overlay-install .sheet-body { padding-top: 1.125rem; }
.install-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; }
.install-head { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; padding-top: 0.5rem; }
.install-icon { width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; box-shadow: var(--shadow); }
.install-title { font-family: var(--serif); font-size: 1.5625rem; font-weight: 600; }
.install-lead { margin: 0; font-size: 0.875rem; color: var(--ink-2); }
.install-steps { display: flex; flex-direction: column; gap: 0.625rem; margin: 1.125rem 0; padding: 0; list-style: none; text-align: left; }
.install-steps li { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 1rem; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-size: 0.875rem; }
.istep-icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem; background: var(--rose-soft); color: var(--rose-strong); }
.istep-icon .ic { width: 1.25rem; height: 1.25rem; }
.install-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.install-perks li { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.625rem; border-radius: 62.4375rem; background: rgba(255, 255, 255, .75); font-size: 0.7813rem; color: var(--ink-2); }
.install-perks .ic { width: 0.9375rem; height: 0.9375rem; color: var(--rose-strong); }

/* ---------- Toasts ---------- */

.toasts {
  position: fixed; left: 50%; top: calc(var(--safe-top) + 0.75rem); z-index: 120;
  display: flex; flex-direction: column; gap: 0.5rem;
  width: min(92vw, 26.25rem); transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 0.875rem; border-radius: 1.125rem;
  background: rgba(47, 36, 38, .94); color: #fff;
  -webkit-backdrop-filter: blur(0.875rem); backdrop-filter: blur(0.875rem);
  box-shadow: 0 1.125rem 2.5rem rgba(47, 36, 38, .3);
  font-size: 0.875rem; pointer-events: auto; cursor: pointer;
  opacity: 0; transform: translateY(-0.625rem) scale(.98);
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast-icon { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.toast-icon .ic { width: 1rem; height: 1rem; }
.toast-success .toast-icon { background: #f0c3c7; color: var(--ink); }
.toast-error .toast-icon { background: #e47a85; color: #fff; }
.toast-text { flex: 1; min-width: 0; }
.toast-action { flex: none; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.75rem; border-radius: 62.4375rem; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
/* Phones: toasts rise above the bottom nav (and the action bar) instead of covering Back, Share and Bag. */
@media (max-width: 767px) {
  .toasts { top: auto; bottom: calc(var(--nav-space) + 1rem); }
  body.has-actionbar .toasts { bottom: calc(var(--nav-space) + 6rem); }
  .toast { transform: translateY(0.625rem) scale(.98); }
}

/* ---------- Boot ---------- */

.boot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.875rem; min-height: 70vh; }
.boot-mark { display: grid; place-items: center; width: 4.75rem; height: 4.75rem; border-radius: 50%; background: var(--rose-grad); color: #fff; box-shadow: 0 0.875rem 1.875rem rgba(168, 100, 108, .3); animation: breathe 1.6s ease-in-out infinite; }
.boot-mark .logo-mark { width: 1.625rem; height: 2.5rem; }
.boot-text { color: var(--ink-2); }

/* ---------- Motion ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes leave { to { opacity: 0; transform: scale(.9); } }
@keyframes enter { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-0.375rem); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-0.375rem); } 50% { transform: translateX(0.3125rem); } 75% { transform: translateX(-0.1875rem); } }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-0.25rem); opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Automatic discounts on the product page ---------- */
.pdp-offers { display: grid; gap: 0.625rem; margin-top: 0.875rem; }
.pdp-offers[hidden] { display: none; }
.offer { padding: 0.75rem 0.875rem; border-radius: var(--radius-sm); background: var(--rose-soft); border: 1px solid #f0d4d3; }
.offer-title { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.offer-title .ic { width: 1.125rem; height: 1.125rem; color: var(--rose-strong); flex: none; }
.offer-auto { margin-left: auto; padding: 0.125rem 0.5rem; border-radius: 62.4375rem; background: #fff; color: var(--rose-strong); font-size: 0.6875rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.offer-text { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.875rem; }
.offer-end { margin: 0.375rem 0 0; color: var(--muted); font-size: 0.75rem; }
.tier-table { width: 100%; margin-top: 0.625rem; border-collapse: collapse; background: #fff; border-radius: 0.625rem; overflow: hidden; font-size: 0.875rem; }
.tier-table th { padding: 0.4375rem 0.75rem; text-align: left; color: var(--muted); font-size: 0.75rem; font-weight: 600; background: rgba(255, 255, 255, .6); }
.tier-table td { padding: 0.5rem 0.75rem; border-top: 1px solid var(--line); }
.tier-table td:last-child, .tier-table th:last-child { text-align: right; }
.tier-table tr.is-on td { background: #fff7f6; font-weight: 600; }
.tier-table tr.is-on td:first-child { box-shadow: inset 3px 0 0 var(--rose); }
.tier-save { margin-left: 0.375rem; padding: 0.0625rem 0.375rem; border-radius: 62.4375rem; background: var(--rose-soft); color: var(--rose-strong); font-size: 0.6875rem; font-weight: 700; }

/* ---------- Savings and offers waiting in the bag ---------- */
.totals-saved { display: flex; align-items: center; gap: 0.375rem; margin: 0.5rem 0 0; padding: 0.5rem 0.75rem; border-radius: 0.75rem; background: #eef8f0; color: #2f6b3c; font-size: 0.875rem; }
.totals-saved .ic { width: 1rem; height: 1rem; flex: none; }
.nudges { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.nudges:empty { display: none; }
.nudge { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm); background: var(--rose-soft); border: 1px dashed #e7bfc0; color: var(--ink-2); font-size: 0.875rem; }
.nudge .ic { width: 1.125rem; height: 1.125rem; color: var(--rose-strong); flex: none; }
[data-totals] .nudge { margin-top: 0.625rem; }
.pcard-badge.is-offer { background: var(--rose-strong); color: #fff; }

/* ---------- Payment methods with official logos (grouped: banking, eWallets, cards, pay later, COD) ---------- */
.pay-groups { display: grid; }
.pay-group { margin: 0.875rem 0 0.375rem; font-size: 0.7188rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-group:first-child { margin-top: 0; }
.pay-card.has-logo { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo check" "text check"; row-gap: 0.375rem; column-gap: 0.75rem; align-items: center; }
.pay-card.has-logo .pay-logo { grid-area: logo; }
.pay-card.has-logo .pay-text { grid-area: text; }
.pay-card.has-logo .pay-check { grid-area: check; margin-left: 0; }
.pay-logo { display: flex; align-items: center; height: 1.5rem; min-width: 0; }
.pay-logo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.pay-word { font-weight: 800; font-size: 1.0625rem; line-height: 1.5rem; letter-spacing: -.01em; }
.pay-word-shopeepay { color: #ee4d2d; }
.pay-word-atome { padding: 0 0.4375rem; border-radius: 0.375rem; background: #f0ff5f; color: #111; }
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.75rem; margin: 0.5rem 0 0; }
.pay-logos img { display: block; height: 1rem; width: auto; }
.pay-logos .pay-word { font-size: 0.8125rem; line-height: 1rem; }

/* ---------- Maintenance mode: the one page shoppers see while Studio has the shop closed ---------- */
.maint-body { margin: 0; min-height: 100vh; min-height: 100dvh; background: linear-gradient(165deg, #f8e3e3 0%, var(--bg-1) 42%, var(--bg-2) 100%); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
.maint { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; min-height: 100vh; min-height: 100dvh; padding: max(1.5rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom)); box-sizing: border-box; isolation: isolate; }
.maint-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(3rem); opacity: .75; pointer-events: none; animation: maint-float 14s ease-in-out infinite alternate; }
.maint-glow-a { width: min(32rem, 80vw); aspect-ratio: 1; top: -12%; left: -14%; background: radial-gradient(circle, rgba(233, 178, 183, .85), rgba(233, 178, 183, 0) 70%); }
.maint-glow-b { width: min(28rem, 75vw); aspect-ratio: 1; bottom: -14%; right: -12%; background: radial-gradient(circle, rgba(201, 134, 141, .55), rgba(201, 134, 141, 0) 70%); animation-delay: -7s; }
.maint-card {
  width: min(100%, 36rem); box-sizing: border-box; text-align: center;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--glass-border);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow-lg);
}
/* The logo inside a contact lens: a slowly turning iris shimmer around the mark. */
.maint-lens { position: relative; display: grid; place-items: center; width: clamp(6.5rem, 22vw, 8.5rem); aspect-ratio: 1; margin: 0 auto clamp(.875rem, 3vw, 1.25rem); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #fff7f6 55%, #f6e4e3 100%); box-shadow: 0 .75rem 2rem rgba(168, 100, 108, .22), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.maint-iris { position: absolute; inset: 0.375rem; border-radius: 50%; background: conic-gradient(from 0deg, rgba(201, 134, 141, .0), rgba(201, 134, 141, .55), rgba(233, 178, 183, .15), rgba(168, 100, 108, .5), rgba(201, 134, 141, .0)); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%, #000 70%, transparent 72%); mask: radial-gradient(circle, transparent 58%, #000 60%, #000 70%, transparent 72%); animation: maint-spin 9s linear infinite; }
.maint-mark.logo-mark { width: 44%; height: 66%; color: var(--rose-strong); }
.maint-brand { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 4.5vw, 1.875rem); font-weight: 600; letter-spacing: .01em; }
.maint-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: .75rem 0 0; padding: .375rem .875rem; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--rose-strong); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.maint-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(201, 134, 141, .6); animation: maint-pulse 2s ease-out infinite; }
.maint-title { margin: .875rem 0 .75rem; font-family: var(--serif); font-size: clamp(2rem, 6.5vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.maint-text { max-width: 26rem; margin: 0 auto .625rem; font-size: clamp(.9688rem, 2.4vw, 1.0625rem); line-height: 1.6; color: var(--ink-2); }
.maint-text-ms { font-size: .9063rem; color: var(--muted); }
.maint-bar { position: relative; width: min(100%, 14rem); height: .3125rem; margin: 1.375rem auto 0; overflow: hidden; border-radius: 999px; background: rgba(201, 134, 141, .18); }
.maint-bar > span { position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--rose-grad-soft); animation: maint-slide 2.4s ease-in-out infinite; }
.maint-foot { font-size: .8125rem; color: var(--muted); text-align: center; }
@keyframes maint-spin { to { transform: rotate(360deg); } }
@keyframes maint-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(1.5rem, 1rem, 0) scale(1.08); } }
@keyframes maint-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 134, 141, .55); } 80%, 100% { box-shadow: 0 0 0 .5rem rgba(201, 134, 141, 0); } }
@keyframes maint-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (min-width: 1024px) { .maint { gap: 1.75rem; } }
@media (max-height: 560px) { .maint { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .maint-glow, .maint-iris, .maint-dot, .maint-bar > span { animation: none; } }

/* The bar a Studio user sees while previewing the shop during maintenance. */
.maint-preview { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2rem; padding: .375rem 1rem; padding-top: max(.375rem, env(safe-area-inset-top)); background: var(--ink); color: #fff; font-size: .8125rem; line-height: 1.3; text-align: center; }
.maint-preview .maint-dot { flex: none; background: #f4b6bb; }
body.has-maint-preview { padding-top: 2rem; }
body.has-maint-preview .topbar { top: 2rem; }

/* NinjaVan parcel updates on the order page (from the tracking webhook). */
.parcel-updates { margin: 1rem 0; padding: 1.125rem; }
.parcel-events { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .875rem; }
.parcel-events li { position: relative; display: flex; gap: .75rem; }
.parcel-events li:not(:last-child)::before { content: ''; position: absolute; left: .3125rem; top: 1rem; bottom: -.875rem; width: 2px; background: var(--line); }
.pe-dot { flex: none; width: .75rem; height: .75rem; margin-top: .3rem; border-radius: 50%; background: var(--line); }
.parcel-events li.is-latest .pe-dot { background: var(--rose-strong, #a8646c); box-shadow: 0 0 0 4px rgba(201, 134, 141, .22); }
.pe-text { display: grid; gap: .125rem; }
.pe-text small { color: var(--muted); }
