/* ============================================================
   MingChuan Dining collection — high-fidelity front-end recreation
   Local assets only.
   ============================================================ */

@font-face {
  font-family: "Haffer";
  src: url("../fonts/HafferXH-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haffer";
  src: url("../fonts/HafferXH-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haffer";
  src: url("../fonts/HafferXH-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haffer";
  src: url("../fonts/HafferXH-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MingChuan Display";
  src: url("../fonts/MingChuan-Display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand-50: #fbfaf8;
  --sand-100: #f7f4f0;
  --sand-200: #f1eadd;
  --sand-300: #e3d9cb;
  --sand-400: #d1c0a9;
  --midnight-100: #b7bec7;
  --midnight-200: #8490a0;
  --midnight-300: #4f6076;
  --midnight-400: #0b2341;
  --fog-100: #f7f8f6;
  --fog-200: #f1f1ef;
  --fog-300: #ecebe7;
  --fog-400: #d0cec4;
  --sky-100: #e7f1ff;
  --sky-200: #d2e4fc;
  --sky-300: #a3c6ff;
  --sky-500: #4e91ff;
  --sky-600: #3e81f1;
  --white: #fff;
  --font-body: "Haffer", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "MingChuan Display", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --radius-card: 28px;
  --topbar-h: 113px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: #f7f8f6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--midnight-400);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

button,
input { font: inherit; }
button { color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }

::selection { color: var(--midnight-400); background: var(--sky-200); }

.shell {
  width: min(1332px, calc(100% - 108px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10000;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--midnight-400);
  color: var(--sand-50);
  font-size: 15px;
  text-decoration: underline;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ───────────────────────── Header ───────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: transform .32s var(--ease), color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.topbar__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,0) 100%);
  transition: opacity .2s ease;
}
.topbar:hover,
.topbar.is-solid,
.topbar.menu-open {
  color: var(--midnight-300);
  background: rgba(251, 250, 248, .98);
  box-shadow: 0 1px 0 rgba(227, 217, 203, .7);
}
.topbar:hover .topbar__wash,
.topbar.is-solid .topbar__wash,
.topbar.menu-open .topbar__wash { opacity: 0; }
.topbar.is-hidden { transform: translateY(-102%); }
.topbar:hover .brand-logo,
.topbar.is-solid .brand-logo { color: var(--sky-500); }

.announcement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-bottom: 1px solid rgba(183, 190, 199, .35);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .14px;
  color: #fff;
  transition: height .25s ease, opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.topbar:hover .announcement,
.topbar.is-solid .announcement,
.topbar.menu-open .announcement {
  color: var(--midnight-300);
  border-color: var(--sand-200);
}
.announcement__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 677px;
  max-width: calc(100% - 176px);
}
.announcement__viewport { overflow: hidden; text-align: center; }
.announcement__message {
  transition: opacity .16s ease, transform .16s ease;
  white-space: nowrap;
}
.announcement__message.is-leaving { opacity: 0; transform: translateY(-4px); }
.announcement__message a,
.announcement__message strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announcement__arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: inherit;
  transition: background-color .15s ease;
}
.announcement__arrow:hover { background: rgba(255,255,255,.14); }
.topbar:hover .announcement__arrow:hover,
.topbar.is-solid .announcement__arrow:hover { background: var(--sand-200); }
.announcement__arrow svg { width: 16px; height: 16px; }
.announcement__prev { left: -40px; }
.announcement__next { right: -40px; }
.announcement__close {
  position: absolute;
  top: 50%;
  right: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.announcement__close:hover { background: rgba(255,255,255,.14); }
.topbar:hover .announcement__close:hover,
.topbar.is-solid .announcement__close:hover { background: var(--sand-200); }
.announcement__close svg { width: 16px; height: 16px; }

.nav-desktop__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 54px;
}
.nav-desktop__left { display: flex; align-items: center; gap: 36px; }
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: 43px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
  transition: color .2s ease;
}
.brand-logo__text { display: block; transform: translateY(1px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4.5px;
  height: 42px;
}
.nav-links li { display: flex; }
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 24px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav-link:hover { color: #fff; background: var(--sky-500); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.search-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 168px;
  height: 40px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  background: rgba(255,255,255,.10);
  color: inherit;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .14px;
  transition: background-color .18s ease, border-color .18s ease;
}
.search-pill svg { width: 20px; height: 20px; flex: none; }
.nav-actions .search-pill { margin-right: 18px; }
.search-pill:hover { background: var(--sand-100); border-color: var(--sand-300); color: var(--midnight-300); }
.topbar:hover .search-pill,
.topbar.is-solid .search-pill { background: var(--sand-50); border-color: var(--sand-200); color: var(--midnight-300); }
.locale-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  background: rgba(255,255,255,.10);
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.topbar:hover .locale-pill,
.topbar.is-solid .locale-pill { background: var(--sand-50); border-color: var(--sand-200); }
.locale-pill__label { line-height: 1; }
[data-locale-trigger][aria-expanded="true"] {
  background: var(--sand-100);
  border-color: var(--sand-300);
  color: var(--midnight-400);
}
.locale-menu {
  position: fixed;
  z-index: 1600;
  width: 280px;
  max-width: calc(100% - 24px);
  padding: 10px;
  border: 1px solid var(--sand-200);
  border-radius: 22px;
  background: var(--sand-50);
  color: var(--midnight-400);
  box-shadow: 0 22px 60px rgba(11, 35, 65, .20);
  opacity: 0;
  transform: translateY(-5px) scale(.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s var(--ease);
}
.locale-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.locale-menu__title {
  padding: 8px 10px 10px;
  color: var(--midnight-300);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 26px;
}
.locale-menu__options { display: flex; flex-direction: column; gap: 2px; }
.locale-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 15px;
  text-align: left;
  transition: background-color .15s ease;
}
.locale-option:hover,
.locale-option.is-selected { background: var(--sand-100); }
.locale-option__flag {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(11, 35, 65, .08);
}
.locale-option__flag svg { width: 26px; height: 26px; }
.locale-option__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.locale-option__copy strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .14px;
}
.locale-option__copy small {
  color: var(--midnight-300);
  font-size: 11px;
  line-height: 17px;
  letter-spacing: .1px;
}
.locale-option__check {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--sky-600);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .15s ease, transform .15s var(--ease);
}
.locale-option.is-selected .locale-option__check { opacity: 1; transform: scale(1); }
.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 50%;
  flex: none;
}
.flag svg { width: 20px; height: 20px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: inherit;
  transition: color .18s ease, background-color .18s ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: #fff; background: var(--sky-500); }
.topbar:hover .icon-btn:hover,
.topbar.is-solid .icon-btn:hover { color: #fff; }
.cart-button { position: relative; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--sky-500);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.nav-mobile { display: none; }
.nav-mobile-locale { display: none; }
.nav-mobile__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
}
.nav-mobile__actions { display: flex; align-items: center; gap: 2px; }
.nav-mobile .icon-btn { width: 40px; height: 40px; }
.brand-logo--mobile { width: auto; height: 40px; font-size: 25px; }
.menu-button svg { width: 24px; height: 24px; }

/* Mega menus */
.mega-menu {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--sand-50);
  border-top: 1px solid var(--sand-200);
  box-shadow: 0 24px 40px rgba(11, 35, 65, .08);
  color: var(--midnight-400);
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: 1.4fr .75fr .75fr .75fr;
  gap: 56px;
  width: min(1332px, calc(100% - 108px));
  margin: auto;
  padding: 40px 0 44px;
}
.mega-menu__inner--rooms { grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 28px; }
.mega-menu__inner--explore { grid-template-columns: 1.4fr repeat(3, .75fr); }
.mega-menu__eyebrow {
  color: var(--midnight-200);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mega-menu__intro h3 {
  max-width: 340px;
  margin: 12px 0 24px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
}
.mega-menu__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--midnight-300);
}
.mega-menu__col { display: flex; flex-direction: column; gap: 10px; }
.mega-menu__col a { font-size: 15px; line-height: 24px; color: var(--midnight-300); }
.mega-menu__col a:hover { color: var(--sky-600); text-decoration: underline; }
.text-link { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.room-tile { position: relative; overflow: hidden; border-radius: 20px; height: 270px; background: var(--sand-200); }
.room-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.room-tile span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* ───────────────────────── Hero ───────────────────────── */

.hero {
  position: relative;
  height: 322px;
  overflow: visible;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #8c7056;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .10);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(55, 51, 51, .30) 0%, rgba(55, 51, 51, 0) 68%);
  mix-blend-mode: multiply;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 128px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 2.25px;
  height: 20px;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .12px;
}
.breadcrumb a { color: #fff; transition: opacity .15s; }
.breadcrumb a:hover { opacity: .75; }
.breadcrumb span { font-weight: 500; }
.breadcrumb svg { width: 12px; height: 12px; flex: none; }
.hero__title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 78px;
  font-weight: 400;
  letter-spacing: 0;
}
.hero__title-group p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

/* Category rail */
.cat-strip {
  position: absolute;
  top: calc(100% - 39px);
  left: 0;
  right: 0;
  z-index: 30;
}
.cat-scroll {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: max(48px, calc((100vw - 1332px) / 2));
  padding-right: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-card {
  display: flex;
  flex: none;
  align-items: center;
  height: 72px;
  padding: 0 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--sand-300);
  border-radius: 120px;
  background: var(--sand-200);
  color: var(--midnight-400);
  transition: background-color .18s ease, border-color .18s ease;
}
.cat-card:hover { background: var(--sand-300); border-color: var(--sand-400); }
.cat-card__media {
  display: block;
  flex: none;
  width: 124px;
  height: 70px;
  overflow: hidden;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.03); }
.cat-card__label {
  padding-left: 0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .14px;
  white-space: nowrap;
}
.cat-card[aria-pressed="true"] { background: var(--sand-300); border-color: var(--sand-400); }

/* ───────────────────────── Filter bar and grid ───────────────────────── */

.collection {
  padding-top: 69px;
  padding-bottom: 19px;
  background: var(--sand-100);
}
.filter-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand-100);
}
.filter-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 45px;
}
.filter-left { display: flex; align-items: center; gap: 9px; min-width: 0; }
.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 6.75px;
  flex: none;
  height: 45px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sand-200);
  color: var(--midnight-400);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .14px;
  white-space: nowrap;
  transition: background-color .16s ease;
}
.filter-button:hover { background: var(--sand-300); }
.filter-button svg { width: 16px; height: 16px; flex: none; }
.filter-divider {
  display: block;
  width: 1px;
  height: 27px;
  margin: 0 5px;
  background: var(--sand-300);
}
.sort-control { position: relative; }
.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: 248px;
  padding: 8px;
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  background: var(--sand-50);
  box-shadow: 0 18px 44px rgba(11, 35, 65, .14);
}
.sort-menu button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.sort-menu button:hover { background: var(--sand-100); }
.sort-menu button.is-selected { background: var(--sand-100); font-weight: 500; }
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: none;
}
.results-count {
  color: var(--midnight-300);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .14px;
  white-space: nowrap;
}
.grid-switch { display: flex; align-items: center; gap: 2.3px; margin-right: 4.5px; }
.grid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 18px;
  color: var(--midnight-400);
  transition: background-color .16s ease;
}
.grid-btn svg { width: 16px; height: 16px; }
.grid-btn:hover { background: var(--sand-300); }
.grid-btn.is-active { background: var(--midnight-400); color: #fff; }
.grid-btn.is-active:hover { background: var(--midnight-400); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  margin-top: 48px;
}
.product-grid[data-grid-mode="compact"] .product-card { grid-column: span 6; }
.product-grid[data-grid-mode="compact"] .promo-card { grid-column: span 6; }
.product-grid[data-grid-mode="dense"] .product-card { grid-column: span 2; }
.product-grid[data-grid-mode="dense"] .promo-card { grid-column: span 4; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-width: 0;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-card);
  background: var(--sand-50);
  color: var(--midnight-400);
  transition: border-color .2s ease, box-shadow .2s ease, border-radius .2s ease;
}
.product-card:hover,
.product-card:focus-within {
  z-index: 20;
  border-color: var(--sand-300);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .10);
}
.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card-overlay-link:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 4px;
}
.card-media {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
  background-color: var(--fog-200);
  background-image: url("../images/card-bg.jpg");
  background-position: center;
  background-size: cover;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease);
}
.product-card:hover .card-media img { transform: none; }
.card-flag {
  pointer-events: none;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(251, 250, 248, .94);
  box-shadow: 0 1px 4px rgba(11, 35, 65, .08);
  color: var(--midnight-400);
  font-size: 10px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .1px;
  text-transform: uppercase;
}
.card-media__badges {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-start;
  pointer-events: none;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--sand-100);
  box-shadow: inset 0 0 0 1px var(--sand-200);
  color: var(--midnight-300);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: .1px;
  white-space: nowrap;
}
.card-body {
  position: relative;
  pointer-events: none;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
}
.card-primary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}
.card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--midnight-400);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: .14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.card-price {
  color: var(--midnight-300);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .12px;
  white-space: nowrap;
}
.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 20px;
  margin-top: auto;
  padding: 0 2px;
}
.card-mobile-badges { display: none; }
.swatch-row {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}
.swatch {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid #eceeed;
  border-radius: 50%;
  background-clip: padding-box;
  transition: border-color .14s ease;
}
.swatch:hover { border-color: var(--sky-600); }
.swatch[aria-pressed="true"] { border: 1.5px solid var(--sky-600); }
.swatch[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.swatch--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.75) 0 1px, transparent 1.4px);
}
.swatch-extra {
  color: var(--midnight-400);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .12px;
  white-space: nowrap;
}
.swatch-extra--mobile { display: none; }
.card-cta {
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 21;
  padding: 0 12px 12px;
  border: 1px solid var(--sand-300);
  border-top: 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: var(--sand-50);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.product-card:hover .card-cta,
.product-card:focus-within .card-cta { opacity: 1; visibility: visible; pointer-events: auto; }
.card-cta button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: var(--sky-500);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  transition: background-color .16s ease;
}
.card-cta button:hover { background: var(--sky-600); }

.promo-card {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: var(--radius-card);
  background: #5b4f43;
  color: #fff;
  isolation: isolate;
}
.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(20,15,12,.52) 100%);
}
.promo-card:hover img { transform: scale(1.015); }
.promo-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 24px;
}
.promo-card__content p {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .16px;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.promo-card__content a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .12px;
  transition: background-color .16s ease, color .16s ease;
}
.promo-card__content a:hover { background: #fff; color: var(--midnight-400); }

.empty-results {
  padding: 80px 24px 100px;
  text-align: center;
}
.empty-results h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 48px;
  font-weight: 400;
}
.empty-results p { margin: 12px 0 24px; color: var(--midnight-300); }

/* ───────────────────────── Questions ───────────────────────── */

.questions {
  padding: 42px 0 84px;
  background: var(--fog-300);
}
.questions__intro { text-align: center; }
.questions h2 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 54px;
  font-weight: 400;
}
.questions__intro p {
  margin-top: 16px;
  color: var(--midnight-300);
  font-size: 18px;
  line-height: 26px;
}
.questions__cards {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
  transform: translateX(-10px);
}
.question-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 220px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: var(--fog-100);
  color: var(--midnight-400);
  transition: border-color .2s ease;
}
.question-card:hover { border-color: var(--fog-400); }
.question-card svg {
  width: 64px;
  height: 64px;
  transform: translateY(-26px);
}
.question-card span {
  position: absolute;
  bottom: 54px;
  left: 16px;
  right: 16px;
  font-size: 18px;
  line-height: 26px;
}
.question-card--wide { grid-column: auto; }

/* ───────────────────────── Footer ───────────────────────── */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 48px 48px 24px;
  background: var(--midnight-400);
  color: var(--sky-100);
}
.footer-top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  min-height: 302px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 824px;
  min-height: 302px;
}
.footer-col { min-width: 0; }
.footer-heading {
  color: var(--sky-200);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}
.footer-col .footer-heading { margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; }
.footer-col li { padding: 8px 0; }
.footer-col a {
  color: var(--sky-100);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .14px;
  transition: color .16s ease;
}
.footer-col a:hover { color: var(--midnight-200); }
.footer-signup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 408px;
  flex: none;
}
.footer-signup__copy { display: flex; flex-direction: column; gap: 8px; }
.footer-signup__copy > p:last-child {
  color: var(--sky-100);
  font-size: 18px;
  line-height: 24px;
}
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 8px 8px 24px;
  border: 2px solid transparent;
  border-radius: 52px;
  background: var(--sky-100);
  transition: border-color .2s ease;
}
.newsletter-form:focus-within { border-color: var(--sky-300); }
.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--midnight-400);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .14px;
}
.newsletter-form input::placeholder { color: var(--midnight-300); }
.newsletter-form .button { height: 40px; min-height: 40px; padding: 0 22.5px; font-size: 14px; }
.social-list {
  display: flex;
  gap: 28px;
  margin-top: 0;
}
.social-list a {
  display: inline-flex;
  color: var(--sky-100);
  transition: color .16s ease;
}
.social-list a:hover { color: var(--midnight-200); }
.social-icon {
  display: block;
  width: 32px;
  height: 32px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.social-icon--instagram { -webkit-mask-image: url("../icons/instagram.svg"); mask-image: url("../icons/instagram.svg"); }
.social-icon--tiktok { -webkit-mask-image: url("../icons/tiktok.svg"); mask-image: url("../icons/tiktok.svg"); }
.social-icon--youtube { -webkit-mask-image: url("../icons/youtube.svg"); mask-image: url("../icons/youtube.svg"); }
.social-icon--pinterest { -webkit-mask-image: url("../icons/pinterest.svg"); mask-image: url("../icons/pinterest.svg"); }
.social-icon--linkedin { -webkit-mask-image: url("../icons/linkedin.svg"); mask-image: url("../icons/linkedin.svg"); }

.footer-brand { position: relative; min-height: 0; }
@media (min-width: 1440px) {
  .footer-brand { min-height: 337px; }
}
.footer-wordmark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1355 / 338;
  overflow: visible;
  color: var(--sky-500);
  opacity: .25;
  fill: currentColor;
}
.footer-wordmark text {
  font-family: var(--font-display);
  font-size: 320px;
  font-weight: 400;
  letter-spacing: -.02em;
  fill: currentColor;
}
.footer-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 40px;
  gap: 48px;
  color: var(--sky-100);
  font-size: 18px;
  line-height: 26px;
}
.footer-copyright { flex: none; font-size: 14px; line-height: 22px; letter-spacing: .14px; }
.footer-legal {
  display: flex;
  flex: none;
  gap: 48px;
  font-size: 18px;
  line-height: 26px;
}
.footer-legal a { transition: color .16s ease; }
.footer-legal a:hover { color: var(--midnight-200); }
.footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  height: 40px;
  padding: 4px 10px;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 40px;
  background: rgba(251,250,248,.1);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color .16s ease, color .16s ease;
}
.footer-locale:hover { background: var(--sand-100); color: var(--midnight-400); }

/* ───────────────────────── Buttons / forms ───────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button--primary { background: var(--sky-500); color: #fff; }
.button--primary:hover { background: var(--sky-600); }
.button--outline { border: 1px solid var(--midnight-300); color: var(--midnight-300); }
.button--outline:hover { background: var(--sand-200); }
.button--full { width: 100%; }

/* ───────────────────────── Drawers / scrims ───────────────────────── */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(11, 35, 65, .30);
  animation: fade-in .2s ease both;
}
.scrim--below-topbar { z-index: 90; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.filter-drawer,
.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  width: 416px;
  max-width: 90vw;
  background: var(--sand-100);
  transition: transform .32s var(--ease), visibility .32s;
  visibility: hidden;
}
.filter-drawer { left: 0; transform: translateX(-102%); }
.cart-drawer { right: 0; width: 420px; transform: translateX(102%); background: var(--sand-50); }
.filter-drawer.is-open,
.cart-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 40px 24px 20px;
  border-bottom: 1px solid var(--sand-200);
  background: var(--sand-100);
}
.drawer-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
}
.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand-200);
  color: var(--midnight-400);
  transition: background-color .16s ease;
}
.round-button:hover { background: var(--sand-300); }
.round-button svg { width: 16px; height: 16px; }
.round-button--sand { background: var(--sand-200); }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 24px 24px;
}
.drawer-section { border-bottom: 1px solid var(--sand-300); }
.drawer-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  color: var(--midnight-300);
  text-align: left;
  font-size: 18px;
  line-height: 26px;
}
.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--midnight-300);
  border-bottom: 1.5px solid var(--midnight-300);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.drawer-section__head[aria-expanded="true"] .chevron { transform: rotate(225deg) translate(-2px, -2px); }
.drawer-section__body { padding: 0 0 18px; }
.radio-option,
.check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  background: var(--sand-50);
  color: var(--midnight-400);
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
}
.radio-option + .radio-option,
.check-option + .check-option { margin-top: 8px; }
.radio-option input,
.check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sky-500);
  flex: none;
}
.radio-option { position: relative; justify-content: space-between; }
.radio-option > span { flex: 1; }
.radio-option i {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--midnight-300);
  border-radius: 50%;
  flex: none;
}
.radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-option:has(input:checked) { border-color: var(--sand-300); }
.radio-option:has(input:checked) i { border: 5px solid var(--midnight-400); }
.drawer-foot {
  display: flex;
  gap: 12px;
  flex: none;
  padding: 24px;
  border-top: 1px solid var(--sand-300);
  border-radius: 32px 32px 0 0;
  background: var(--sand-50);
  box-shadow: 0 -8px 48px rgba(11,35,65,.06);
}
.drawer-foot .button { flex: 1; height: 50px; }

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--sand-50);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__inner {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 32px;
}
.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--sand-300);
}
.search-overlay__bar > svg { width: 24px; height: 24px; color: var(--midnight-300); flex: none; }
.search-overlay__bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--midnight-400);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 40px;
}
.search-overlay__bar input::placeholder { color: var(--midnight-200); }
.search-overlay__bar input::-webkit-search-cancel-button,
.search-overlay__bar input::-webkit-search-decoration { display: none; }
.search-overlay__body { padding-top: 40px; }
.search-overlay__eyebrow {
  margin-bottom: 16px;
  color: var(--midnight-300);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tags button {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sand-200);
  font-size: 14px;
}
.search-tags button:hover { background: var(--sand-300); }
.search-results { display: grid; gap: 8px; margin-top: 32px; }
.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  background: #fff;
  text-align: left;
}
.search-result img { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--fog-200); }
.search-result span { display: block; font-size: 14px; }
.search-result small { display: block; margin-top: 2px; color: var(--midnight-300); font-size: 12px; }
.search-result:hover { border-color: var(--sand-300); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 24px;
  background: var(--sand-100);
  color: var(--midnight-400);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s var(--ease), visibility .32s;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; gap: 12px; }
.mobile-search-stub {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--sand-300);
  border-radius: 40px;
  color: var(--midnight-300);
  font-size: 14px;
  text-align: left;
}
.mobile-search-stub svg { width: 16px; height: 16px; }
.mobile-menu .round-button { width: 44px; height: 44px; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  color: var(--midnight-400);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 52px;
  text-align: left;
}
.mobile-menu__link span { font-family: var(--font-body); font-size: 28px; font-weight: 300; }
.mobile-menu__secondary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
  color: var(--midnight-300);
  font-size: 13px;
  line-height: 20px;
}
.mobile-menu__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.brand-logo--menu { width: auto; height: 46px; color: var(--sky-500); font-size: 32px; }
.mobile-menu__bottom-icons { display: flex; align-items: center; gap: 8px; }
.mobile-menu__bottom-icons .icon-btn { width: 32px; height: 32px; color: var(--midnight-400); }
.mobile-menu__bottom-icons .icon-btn svg { width: 22px; height: 22px; }
.locale-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 4px 8px;
  border-radius: 30px;
  background: var(--sand-200);
  font-size: 10px;
  font-weight: 500;
}
.locale-mini .flag { width: 18px; height: 18px; }
.locale-mini .flag svg { width: 18px; height: 18px; }

/* Cart */
.cart-drawer .drawer-head { background: var(--sand-50); }
.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  color: var(--midnight-300);
  text-align: center;
}
.cart-empty svg { width: 64px; height: 64px; }
.cart-empty p { font-family: var(--font-display); font-size: 26px; line-height: 34px; color: var(--midnight-400); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand-200);
}
.cart-item img { width: 92px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--fog-200); }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__body h3 { font-family: var(--font-display); font-size: 14px; line-height: 22px; font-weight: 400; }
.cart-item__body p { margin-top: 4px; color: var(--midnight-300); font-size: 12px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; }
.cart-item__qty button { width: 24px; height: 24px; border: 1px solid var(--sand-300); border-radius: 50%; }
.cart-item__remove { color: var(--midnight-300); text-decoration: underline; font-size: 12px; }
.cart-foot {
  flex: none;
  padding: 24px;
  border-top: 1px solid var(--sand-200);
  background: var(--sand-50);
}
.cart-total { display: flex; justify-content: space-between; font-size: 18px; }
.cart-total strong { font-weight: 500; }
.cart-note { margin: 8px 0 16px; color: var(--midnight-300); font-size: 12px; }

/* Quick view */
.quickview {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  width: 470px;
  max-width: 94vw;
  overflow-y: auto;
  background: var(--sand-50);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .32s var(--ease), visibility .32s;
}
.quickview.is-open { transform: translateX(0); visibility: visible; }
.quickview__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(251,250,248,.92);
}
.quickview__media { background: var(--fog-200); aspect-ratio: 1 / .8; overflow: hidden; }
.quickview__media img { width: 100%; height: 100%; object-fit: cover; }
.quickview__body { padding: 28px 28px 40px; }
.quickview__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.quickview h2 { font-family: var(--font-display); font-size: 30px; line-height: 38px; font-weight: 400; }
.quickview__price { margin-top: 8px; color: var(--midnight-300); font-size: 18px; }
.quickview__desc { margin-top: 20px; color: var(--midnight-300); font-size: 14px; line-height: 23px; }
.quickview__colors { margin-top: 24px; }
.quickview__colors > p { margin-bottom: 10px; font-size: 12px; color: var(--midnight-300); }
.quickview__colors .swatch { width: 24px; height: 24px; }
.quickview__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0;
  font-size: 14px;
}
.quickview__qty > div { display: flex; align-items: center; gap: 18px; }
.quickview__qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--sand-300);
  border-radius: 50%;
}
.quickview__perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  color: var(--midnight-300);
  font-size: 13px;
}
.quickview__perks li::before { content: "✓"; margin-right: 8px; color: var(--sky-600); }

/* Account modal */
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11,35,65,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.account-modal.is-open { opacity: 1; visibility: visible; }
.account-modal__card {
  position: relative;
  width: min(460px, 100%);
  padding: 40px;
  border-radius: 28px;
  background: var(--sand-50);
  box-shadow: 0 24px 80px rgba(11,35,65,.22);
}
.account-modal__close { position: absolute; top: 16px; right: 16px; }
.account-modal__eyebrow {
  color: var(--midnight-300);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.account-modal h2 { margin: 12px 0; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 400; }
.account-modal p { color: var(--midnight-300); font-size: 14px; line-height: 23px; }
.account-modal .button { margin-top: 26px; }
.account-modal__secondary { display: block; margin: 18px auto 0; font-size: 13px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2000;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--midnight-400);
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  box-shadow: 0 12px 40px rgba(11,35,65,.25);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Chat */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sky-500);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11,35,65,.18);
  transition: transform .18s ease, background-color .18s ease;
}
.chat-widget:hover { transform: scale(1.04); background: var(--sky-600); }
.chat-widget svg { width: 36px; height: 36px; }
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 901;
  display: flex;
  flex-direction: column;
  width: 360px;
  max-height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11,35,65,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background: var(--midnight-400);
  color: #fff;
}
.chat-panel__head > div { display: flex; gap: 10px; align-items: center; }
.chat-panel__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-500);
  font-family: var(--font-display);
  font-size: 22px;
}
.chat-panel__head strong { display: block; font-size: 13px; font-weight: 500; }
.chat-panel__head span { display: block; margin-top: 2px; color: var(--sky-200); font-size: 11px; }
.chat-panel__close { color: #fff; }
.chat-panel__close svg { width: 18px; height: 18px; }
.chat-panel__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: var(--fog-100);
}
.chat-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 20px;
}
.chat-bubble--agent { background: #fff; border: 1px solid var(--sand-200); border-bottom-left-radius: 4px; }
.chat-bubble--user { align-self: flex-end; background: var(--sky-500); color: #fff; border-bottom-right-radius: 4px; }
.chat-panel__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--sand-200); }
.chat-panel__form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  outline: none;
  background: var(--sand-50);
  font-size: 13px;
}
.chat-panel__form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky-500);
  color: #fff;
}
.chat-panel__form svg { width: 18px; height: 18px; }

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 1200px) {
  .nav-desktop__inner { padding: 0 32px; }
  .nav-desktop__left { gap: 22px; }
  .nav-link { padding: 0 12px; font-size: 16px; }
  .nav-actions { gap: 4px; }
  .nav-actions .search-pill { margin-right: 6px; }
  .search-pill { width: 150px; }
  .locale-pill { padding-inline: 8px; }
  .footer-nav { max-width: 740px; }
  .footer-signup { width: 360px; }
}

@media (max-width: 1079px) {
  .product-card { grid-column: span 4; }
  .promo-card { grid-column: span 8; }
  .product-grid[data-grid-mode="compact"] .product-card { grid-column: span 6; }
  .product-grid[data-grid-mode="compact"] .promo-card { grid-column: span 6; }
  .product-grid[data-grid-mode="dense"] .product-card { grid-column: span 3; }
  .product-grid[data-grid-mode="dense"] .promo-card { grid-column: span 6; }
  .questions__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-inline: 24px; }
  .question-card { width: 100%; }
  .question-card span { bottom: 34px; }
}

@media (max-width: 1079px) {
  .shell { width: calc(100% - 36px); }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .topbar { --topbar-h: 100px; }
  .topbar .search-pill,
  .topbar .locale-pill,
  .topbar .nav-desktop { display: none; }
  .announcement {
    height: 36px;
    justify-content: flex-start;
    padding: 0 16px;
    border-bottom: 0;
    background: var(--sky-500);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
  }
  .announcement__center {
    display: block;
    width: 100%;
    max-width: none;
    padding-right: 38px;
  }
  .announcement__viewport { text-align: left; }
  .announcement__message {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .announcement__arrow { display: none; }
  .announcement__close {
    right: 8px;
    width: 36px;
    height: 36px;
    color: #fff;
  }
  .topbar:hover .announcement,
  .topbar.is-solid .announcement { color: #fff; background: var(--sky-500); }
  .nav-mobile .brand-logo { color: #fff; }
  .topbar:hover .nav-mobile .brand-logo,
  .topbar.is-solid .nav-mobile .brand-logo { color: var(--sky-500); }

  .hero { height: 301px; }
  .hero__content { padding-top: 138px; }
  .hero h1 { font-size: 44px; line-height: 54px; }
  .hero__title-group p { font-size: 14px; line-height: 20px; font-weight: 400; }
  .breadcrumb { height: 16px; font-size: 11px; line-height: 16px; }
  .hero__title-group { gap: 4px; margin-top: 6px; }

  .cat-scroll {
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
  }
  .cat-card {
    flex-direction: column;
    align-items: center;
    width: 96px;
    height: 76px;
    padding: 0 0 8px;
    border-radius: 20px;
    gap: 0;
  }
  .cat-card__media { width: 100%; height: 52px; margin-bottom: -4px; }
  .cat-card__label { padding: 0; font-size: 12px; line-height: 20px; letter-spacing: .12px; }
  .cat-card:hover .cat-card__media img { transform: none; }

  .collection { padding-top: 61px; padding-bottom: 17px; }
  .filter-sticky { top: 0; }
  .filter-bar { height: 32px; gap: 8px; }
  .filter-left { flex: none; gap: 8px; }
  .filter-button { flex: none; height: 32px; padding: 0 10px; gap: 6px; font-size: 12px; line-height: 20px; }
  .filter-button.facet-button,
  .filter-divider,
  .results-count,
  .grid-btn--dense { display: none; }
  .filter-button svg { width: 16px; height: 16px; }
  .toolbar-right { gap: 2px; margin-left: auto; }
  .grid-switch { gap: 2px; }
  .grid-btn { width: 32px; height: 24px; padding: 4px 8px; border-radius: 12px; }
  .grid-btn svg { width: 16px; height: 16px; }
  .product-grid { margin-top: 44px; }
  .product-grid[data-grid-mode="default"] .product-card { grid-column: span 4; }
  .product-grid[data-grid-mode="default"] .promo-card { grid-column: span 4; }
  .product-grid[data-grid-mode="compact"] .product-card { grid-column: span 12; }
  .product-grid[data-grid-mode="compact"] .promo-card { grid-column: span 12; }

  .questions { padding: 32px 0 32px; }
  .questions h2 { padding-bottom: 16px; font-size: 24px; line-height: 36px; }
  .questions__intro p { margin-top: 4px; padding: 0 16px; font-size: 16px; line-height: 24px; }
  .questions__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
    transform: none;
  }
  .question-card { height: 153px; border-radius: 16px; border-width: 2px; }
  .question-card svg { width: 52px; height: 52px; transform: translateY(-34px); }
  .question-card span { bottom: 18px; font-size: 14px; line-height: 22px; }
  .question-card--wide { grid-column: span 2; }

  .site-footer { gap: 40px; padding: 24px 16px 66px; }
  .footer-top { flex-direction: column-reverse; gap: 40px; min-height: 0; }
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    max-width: none;
    min-height: 0;
  }
  .footer-heading { font-size: 18px; line-height: 24px; }
  .footer-col { padding-bottom: 4px; }
  .footer-col .footer-heading { margin-bottom: 12px; }
  .footer-col li { padding: 8px 0; }
  .footer-col a { font-size: 12px; line-height: 20px; letter-spacing: .12px; }
  .footer-signup { width: 100%; gap: 8px; }
  .footer-signup__copy > p:last-child { font-size: 16px; line-height: 24px; }
  .newsletter-form { margin-top: 0; padding: 7px 8px 7px 24px; }
  .social-list { gap: 28px; margin-top: 8px; height: 35px; }
  .social-icon { width: 28px; height: 28px; }
  .footer-brand { min-height: 0; }
  .footer-wordmark { aspect-ratio: 1355 / 338; }
  .footer-bottom {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    height: auto;
    margin-top: 3px;
    padding: 0 0 2px;
    font-size: 12px;
    line-height: 20px;
  }
  .footer-copyright { order: 2; width: 100%; font-size: 12px; line-height: 20px; }
  .footer-legal { order: 1; gap: 38px; font-size: 12px; line-height: 24px; }
  .footer-locale { order: 3; margin-left: 0; height: 26px; padding: 4px 6px; gap: 4px; font-size: 10px; }
  .footer-locale .flag { width: 16px; height: 16px; }
  .footer-locale .flag svg { width: 16px; height: 16px; }
}

/* Tablet: mobile navigation, editorial hero, three-column catalogue */
@media (min-width: 768px) and (max-width: 1079px) {
  .topbar { --topbar-h: 113px; }
  .announcement {
    height: 40px;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid rgba(183, 190, 199, .35);
    background: transparent;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
  }
  .announcement__center {
    display: flex;
    width: 677px;
    max-width: calc(100% - 176px);
    padding-right: 0;
    justify-content: center;
  }
  .announcement__viewport { text-align: center; }
  .announcement__message {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .announcement__arrow { display: inline-flex; color: #fff; }
  .announcement__prev { left: -40px; }
  .announcement__next { right: -40px; }
  .announcement__close { right: 32px; width: 40px; height: 40px; color: #fff; }
  .topbar:hover .announcement,
  .topbar.is-solid .announcement { color: var(--midnight-300); }
  .nav-mobile__inner { height: 72px; padding: 0 32px; }
  .nav-mobile__actions { gap: 2px; }
  .nav-mobile .icon-btn { width: 45px; height: 45px; }
  .nav-mobile .icon-btn svg { width: 20px; height: 20px; }
  .topbar .nav-mobile-locale {
    display: inline-flex;
    height: 40px;
    margin-right: 8px;
  }
  .nav-mobile-locale .flag { width: 20px; height: 20px; }
  .nav-mobile-locale .flag svg { width: 20px; height: 20px; }

  .hero { height: 346.5px; }
  .hero__content { padding-top: 148px; }
  .hero h1 { font-size: 64px; line-height: 78px; }
  .hero__title-group { margin-top: 9px; gap: 4px; }
  .hero__title-group p { font-size: 18px; line-height: 24px; font-weight: 500; }
  .breadcrumb { height: 20px; font-size: 12px; line-height: 20px; }
  .cat-scroll { padding-left: 18px; padding-right: 18px; }
  .collection { padding-top: 61px; padding-bottom: 21px; }
  .filter-bar { height: 45px; gap: 9px; }
  .filter-left { flex: 0 1 auto; gap: 9px; }
  .filter-button {
    flex: none;
    height: 45px;
    padding: 0 18px;
    gap: 6.75px;
    font-size: 14px;
    line-height: 22px;
  }
  .filter-button.facet-button,
  .filter-divider { display: none; }
  .results-count { display: block; }
  .toolbar-right { display: flex; margin-left: auto; gap: 14px; }
  .grid-switch { gap: 2.3px; margin-right: 4.5px; }
  .grid-btn { width: 36px; height: 36px; padding: 9px; border-radius: 18px; }
  .grid-btn--dense { display: none; }
  .product-grid { margin-top: 44px; }
  .product-grid[data-grid-mode="default"] .product-card { grid-column: span 4; }
  .product-card {
    min-height: 0;
    border-radius: 16px;
  }
  .card-media { border-radius: 15px 15px 0 0; }
  .card-media__badges { display: none; }
  .card-flag { top: 12px; left: 12px; min-height: 24px; padding: 4px 8px; font-size: 10px; line-height: 16px; }
  .card-body { min-height: 104px; padding: 8px; gap: 4px; }
  .card-title { font-size: 14px; line-height: 22px; }
  .card-bottom { gap: 4px; min-height: 44px; }
  .card-mobile-badges { display: flex; flex-wrap: wrap; gap: 4px; }
  .swatch-row { flex-wrap: nowrap; gap: 5px; }
  .swatch:nth-child(7) { display: none; }
  .swatch-extra { font-size: 11px; }
  .swatch-extra--desktop { display: none; }
  .swatch-extra--mobile { display: inline; }
  .card-cta { display: none; }
  .promo-card { grid-column: span 4; min-height: 0; height: 100%; }

  .questions h2 {
    padding-bottom: 16px;
    font-size: 44px;
    line-height: 54px;
  }
  .questions__intro p { margin-top: 0; font-size: 18px; line-height: 26px; }
  .questions__cards { margin-top: 32px; }
  .question-card { height: 153px; }
  .question-card svg { width: 64px; height: 64px; transform: translateY(-22px); }
  .question-card span { bottom: 18px; font-size: 18px; line-height: 26px; }

  .site-footer { gap: 64px; padding: 32px 32px 30px; }
  .footer-top { flex-direction: column; gap: 40px; min-height: 0; }
  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    min-height: 302px;
  }
  .footer-col { padding-bottom: 0; }
  .footer-heading { font-size: 24px; line-height: 32px; }
  .footer-col .footer-heading { margin-bottom: 14px; }
  .footer-col li { padding: 8px 0; }
  .footer-col a { font-size: 14px; line-height: 20px; letter-spacing: .14px; }
  .footer-signup { width: 100%; gap: 16px; }
  .footer-signup .social-list { margin-top: 0; }
  .footer-brand { min-height: 0; }
  .footer-bottom {
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 16px;
    height: 40px;
    margin-top: 0;
    padding: 0;
    font-size: 12px;
    line-height: 20px;
  }
  .footer-copyright { order: 1; width: auto; font-size: 12px; line-height: 20px; }
  .footer-legal { order: 2; gap: 16px; font-size: 12px; line-height: 20px; }
  .footer-locale { order: 3; margin-left: auto; height: 26px; padding: 4px 6px; gap: 4px; font-size: 10px; }
  .footer-locale .flag { width: 16px; height: 16px; }
  .footer-locale .flag svg { width: 16px; height: 16px; }
}

/* Laptop/desktop: hide filters progressively so the toolbar never collides */
@media (min-width: 1080px) and (max-width: 1199px) {
  .facet-button[data-facet="capacity"],
  .facet-button[data-facet="collection"] { display: none; }
  .collection { padding-top: 65px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .facet-button[data-facet="collection"] { display: none; }
  .collection { padding-top: 65px; }
}

@media (max-width: 599px) {
  .shell { width: calc(100% - 32px); }
  .locale-menu {
    left: 12px !important;
    right: 12px;
    top: auto !important;
    bottom: 12px !important;
    width: auto;
    padding: 12px;
    border-radius: 24px;
    transform-origin: bottom center;
  }
  .locale-menu.is-open { transform: translateY(0) scale(1); }
  .nav-mobile .icon-btn { width: 36px; height: 36px; }
  .brand-logo--mobile { width: auto; font-size: 24px; }
  .filter-button { flex: none; }
  .filter-left { flex: none; }
  .toolbar-right { flex: none; }
  .grid-btn { width: 32px; }
  .product-grid { gap: 8px; margin-top: 44px; }
  .product-grid[data-grid-mode="default"] .product-card,
  .product-grid[data-grid-mode="dense"] .product-card { grid-column: span 6; }
  .product-grid[data-grid-mode="compact"] .product-card { grid-column: span 12; }
  .product-grid[data-grid-mode="default"] .promo-card,
  .product-grid[data-grid-mode="dense"] .promo-card,
  .product-grid[data-grid-mode="compact"] .promo-card { grid-column: span 12; }
  :root { --radius-card: 16px; }
  .product-card { min-height: 265.8px; }
  .card-media__badges { display: none; }
  .card-flag { top: 10px; left: 10px; min-height: 22px; padding: 3px 7px; font-size: 9px; line-height: 16px; }
  .card-body { min-height: 134px; padding: 8px; gap: 4px; }
  .card-primary { gap: 2px; }
  .card-title { font-size: 14px; line-height: 22px; }
  .card-bottom { gap: 4px; min-height: 44px; }
  .card-mobile-badges { display: flex; flex-wrap: wrap; gap: 4px; }
  .card-mobile-badges .card-badge { padding: 2px 8px; }
  .swatch-row { flex-wrap: nowrap; gap: 5px; }
  .swatch-extra { font-size: 11px; }
  .swatch-extra--desktop { display: none; }
  .swatch-extra--mobile { display: inline; }
  .swatch:nth-child(7) { display: none; }
  .card-cta { display: none; }
  .promo-card { min-height: 0; height: 168px; border-radius: 16px; }
  .promo-card__content { padding: 16px; gap: 8px; }
  .promo-card__content p { font-size: 14px; line-height: 22px; }
  .questions h2 { font-size: 24px; line-height: 36px; }
  .questions__intro p { font-size: 16px; line-height: 24px; }
  .question-card { height: 153px; }
  .question-card svg { width: 52px; height: 52px; transform: translateY(-34px); }
  .question-card span { bottom: 18px; font-size: 14px; line-height: 22px; }
  .question-card--wide svg { width: 52px; }
  .drawer-head { padding: 30px 20px 16px; }
  .drawer-head h2 { font-size: 32px; }
  .drawer-body { padding-inline: 20px; }
  .drawer-foot { padding: 16px 20px 24px; }
  .filter-drawer { width: 100%; max-width: 100%; }
  .quickview { width: 100%; max-width: 100%; }
  .quickview__body { padding: 24px 20px 36px; }
  .quickview h2 { font-size: 26px; line-height: 34px; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .chat-widget { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .chat-widget svg { width: 32px; height: 32px; }
  .chat-panel { right: 12px; left: 12px; bottom: 82px; width: auto; max-height: calc(100vh - 110px); }
  .mobile-menu__link { font-size: 38px; line-height: 52px; }
  .footer-signup { width: 100%; }
  .newsletter-form { gap: 8px; padding-left: 18px; }
  .newsletter-form .button { padding-inline: 18px; }
  .footer-bottom { gap: 8px 16px; }
  .footer-legal { gap: 38px; }
  .footer-copyright { order: 2; }
  .footer-locale { margin-left: 0; order: 3; }
}

@media (hover: none) {
  .product-card:hover { border-radius: var(--radius-card); box-shadow: none; border-color: var(--sand-200); }
  .product-card:hover .card-media img { transform: none; }
  .card-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
