/* ==================================================================
   Claudette Nsengimana Shop
   Palette follows the main site: navy #1f3a6f, gold #f59e0b, soft #f5f7fb.
================================================================== */

:root {
  --navy: #1f3a6f;
  --navy-700: #142855;
  --navy-900: #0c1a38;
  --ink: #0f1d3a;
  --gold: #f59e0b;
  --gold-600: #d98306;
  --gold-100: #fef3c7;
  --sky: #38bdf8;
  --sky-100: #e0f2fe;
  --soft: #f5f7fb;
  --soft-2: #eef2f8;
  --line: #e3e8f0;
  --muted: #5b6475;
  --white: #ffffff;
  --success: #0f766e;
  --success-100: #ccfbf1;
  --danger: #b42318;
  --danger-100: #fee4e2;
  --heart: #e5484d;

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 29, 58, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 29, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 29, 58, 0.16);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-offset: 121px; /* updated by shop.js from the real header height */
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.shop-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.shop-nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 3px solid rgba(56, 189, 248, 0.6); outline-offset: 2px; }

::selection { background: var(--gold-100); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.shop-skip-link:focus { top: 12px; color: var(--white); }

.shop-main { min-height: 50vh; animation: shop-page-in 0.5s var(--ease) both; }

.shop-muted { color: var(--muted); }

/* Smooth cross-page transitions where the browser supports them. */
@view-transition { navigation: auto; }
.shop-header { view-transition-name: shop-header; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.28s; }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn-primary,
.btn-secondary,
.btn-gold,
.btn-ghost-light {
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary svg,
.btn-secondary svg,
.btn-gold svg { font-size: 18px; transition: transform 0.3s var(--ease); }
.btn-primary:hover svg,
.btn-secondary:hover svg,
.btn-gold:hover svg { transform: translateX(3px); }
.btn-primary:active,
.btn-secondary:active,
.btn-gold:active,
.btn-ghost-light:active { transform: scale(0.97); }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(31, 58, 111, 0.22); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31, 58, 111, 0.28); }

.btn-secondary { background: var(--white); color: var(--navy); border-color: rgba(31, 58, 111, 0.22); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28); }
.btn-gold:hover { background: #fbb231; color: var(--ink); transform: translateY(-2px); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }

.btn-lg { --btn-pad-y: 15px; --btn-pad-x: 28px; font-size: 16px; }
.btn-compact,
.btn-primary--compact,
.btn-secondary--compact { --btn-pad-y: 9px; --btn-pad-x: 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

button.btn-primary:disabled,
button.btn-secondary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.shop-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.shop-link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.shop-link-arrow:hover::after { transform: translateX(4px); }

.shop-round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s;
}
.shop-round-btn:hover { border-color: var(--navy); transform: scale(1.06); }
.shop-round-btn:disabled { opacity: 0.35; cursor: default; transform: none; }

.shop-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.shop-eyebrow--gold { color: var(--gold); }

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.shop-header.is-scrolled { box-shadow: 0 8px 30px rgba(15, 29, 58, 0.08); border-color: var(--line); }

.shop-announce {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  overflow: hidden;
}
.shop-announce__inner {
  position: relative;
  height: 36px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shop-announce p {
  position: absolute;
  inset: 0 var(--gutter);
  display: flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.shop-announce p::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.shop-announce p.is-active { opacity: 1; transform: none; }
.shop-announce p.is-leaving { opacity: 0; transform: translateY(-100%); }
.shop-announce a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.shop-header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.shop-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.shop-brand:hover { color: var(--ink); }
.shop-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.4s var(--ease-spring);
}
.shop-brand:hover img { transform: rotate(-6deg) scale(1.05); }
.shop-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.shop-brand__text strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.shop-brand__text span { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-600); }
.shop-brand--light { color: var(--white); }
.shop-brand--light:hover { color: var(--white); }
.shop-brand--light .shop-brand__text strong { color: var(--white); }
.shop-brand--light .shop-brand__text span { color: var(--gold); }

.shop-search {
  grid-area: search;
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.shop-search__icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}
.shop-search input {
  width: 100%;
  height: 46px;
  padding: 0 110px 0 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--soft);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.shop-search input::placeholder { color: #8a93a5; }
.shop-search input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 58, 111, 0.1);
}
.shop-search button {
  position: absolute;
  right: 5px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.shop-search button:hover { background: var(--navy-700); }

.shop-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 4px;
}

.shop-icon-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.shop-icon-btn svg { font-size: 24px; transition: transform 0.3s var(--ease-spring); }
.shop-icon-btn:hover { background: var(--soft); color: var(--navy); }
.shop-icon-btn:hover svg { transform: translateY(-2px); }
.shop-icon-btn.is-active { color: var(--navy); }

.shop-badge {
  position: absolute;
  top: 0;
  right: 8px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--white);
  transition: transform 0.3s var(--ease-spring), opacity 0.2s;
}
.shop-badge.is-empty { transform: scale(0); opacity: 0; }
.shop-badge.is-bumping { animation: shop-bump 0.6s var(--ease-spring); }

.shop-account-menu { position: relative; }
.shop-account-menu__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.shop-account-menu.is-open .shop-account-menu__dropdown { opacity: 1; visibility: visible; transform: none; }
.shop-account-menu__name {
  padding: 8px 12px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.shop-account-menu__dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.shop-account-menu__dropdown a:hover { background: var(--soft); color: var(--navy); }

.shop-menu-toggle {
  display: none;
  grid-area: menu;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.shop-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.shop-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}
.shop-nav__head { display: none; }
.shop-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-nav__list::-webkit-scrollbar { display: none; }
.shop-nav__list--secondary { display: none; }
.shop-nav__link {
  position: relative;
  display: inline-block;
  padding: 12px 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #39445a;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.shop-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.shop-nav__link:hover { color: var(--navy); }
.shop-nav__link:hover::after,
.shop-nav__link.is-active::after { transform: scaleX(1); }
.shop-nav__link.is-active { color: var(--navy); font-weight: 600; }
.shop-nav__site {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.shop-nav__site:hover { color: var(--navy); }
.shop-nav__site svg { transition: transform 0.25s var(--ease); }
.shop-nav__site:hover svg { transform: translateX(-3px); }

.shop-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(12, 26, 56, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.shop-nav-open .shop-nav-backdrop { opacity: 1; visibility: visible; }

.shop-header--auth { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.shop-header--auth .shop-header__bar { grid-template-columns: 1fr auto; grid-template-areas: "brand actions"; }
.shop-auth-links { display: flex; gap: 20px; font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------------
   Flash messages, toasts, mini cart
------------------------------------------------------------------ */
.shop-flash-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 260;
  display: grid;
  gap: 10px;
  width: min(400px, calc(100vw - 32px));
}
.shop-flash,
.shop-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 18px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: shop-toast-in 0.45s var(--ease-spring) both;
}
.shop-flash span,
.shop-toast span { flex: 1; }
.shop-flash::before,
.shop-toast::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}
.shop-flash--success::before,
.shop-toast--success::before { background: #34d399; }
.shop-flash--error::before,
.shop-toast--error::before { background: #f87171; }
.shop-flash a,
.shop-toast a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.shop-flash__close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.shop-flash__close:hover { color: var(--white); }
.shop-flash.is-leaving,
.shop-toast.is-leaving { animation: shop-toast-out 0.3s var(--ease) both; }

.shop-toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 260;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.shop-toast { pointer-events: auto; }

.shop-minicart {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 250;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.shop-minicart__panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-spring);
}
.shop-minicart.is-open { pointer-events: auto; }
.shop-minicart.is-open .shop-minicart__panel { opacity: 1; transform: none; }
.shop-minicart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shop-minicart__head p { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.shop-minicart__head svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--success-100);
  color: var(--success);
  stroke-width: 2.4;
}
.shop-minicart__close { border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.shop-minicart__item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.shop-minicart__item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--soft); }
.shop-minicart__item strong { display: block; font-size: 15px; line-height: 1.3; }
.shop-minicart__item span { display: block; font-size: 13px; color: var(--muted); }
.shop-minicart__total {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.shop-minicart__total strong { color: var(--ink); }
.shop-minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-minicart__actions .btn-primary,
.shop-minicart__actions .btn-secondary { --btn-pad-x: 12px; font-size: 14px; }

.shop-reminder {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 240;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: shop-toast-in 0.45s var(--ease-spring) both;
}
.shop-reminder__title { margin-bottom: 6px; font-weight: 700; }
.shop-reminder p { font-size: 14px; color: var(--muted); }
.shop-reminder__actions { display: flex; gap: 10px; margin-top: 14px; }
.shop-reminder__cta {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.shop-reminder__cta:hover { color: var(--white); background: var(--navy-700); }
.shop-reminder__close { border: 0; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }

.shop-sticky-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.shop-sticky-actions.is-visible { opacity: 1; visibility: visible; transform: none; }
.shop-sticky-actions__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background-color 0.2s;
}
.shop-sticky-actions__button:hover { transform: translateY(-3px); background: var(--navy-700); }

/* ------------------------------------------------------------------
   Layout
------------------------------------------------------------------ */
.shop-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.shop-section--flush { padding-top: 8px; }

.shop-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.shop-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.shop-section__head--center { justify-content: center; text-align: center; }
.shop-section__more { display: flex; justify-content: center; margin-top: 40px; }

.shop-page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter) 20px;
}
.shop-page-head h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  animation: shop-rise 0.6s var(--ease) both;
}
.shop-page-head p { margin-top: 6px; color: var(--muted); animation: shop-rise 0.6s 0.08s var(--ease) both; }
.shop-page-head--compact { padding-bottom: 8px; }

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.shop-breadcrumb a { color: var(--muted); }
.shop-breadcrumb a:hover { color: var(--navy); }
.shop-breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.shop-breadcrumb--pdp { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0; }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 72px);
  isolation: isolate;
}
.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(245, 158, 11, 0.14), transparent 70%),
    var(--soft);
}

.shop-hero__step { animation: shop-rise 0.8s var(--ease) both; }
.shop-hero__step:nth-child(2) { animation-delay: 0.08s; }
.shop-hero__step:nth-child(3) { animation-delay: 0.16s; }
.shop-hero__step:nth-child(4) { animation-delay: 0.24s; }
.shop-hero__step:nth-child(5) { animation-delay: 0.32s; }

.shop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.shop-hero__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  background: linear-gradient(90deg, var(--navy) 0%, #2d5aa8 60%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shop-hero__lead {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
}
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.shop-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.shop-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.shop-hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.shop-hero__facts strong { color: var(--ink); }

.shop-hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.shop-hero__ring {
  position: absolute;
  inset: 8%;
  border: 2px dashed rgba(31, 58, 111, 0.18);
  border-radius: 50%;
  animation: shop-spin 60s linear infinite;
}
.shop-hero__dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: shop-float 7s ease-in-out infinite;
}
.shop-hero__dot--gold { width: 64px; height: 64px; right: 6%; top: 4%; background: var(--gold); opacity: 0.85; }
.shop-hero__dot--sky { width: 38px; height: 38px; left: 2%; bottom: 14%; background: var(--sky); opacity: 0.7; animation-delay: -3s; }

.shop-hero__card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: shop-card-in 0.9s var(--ease) both, shop-float 8s ease-in-out infinite;
  transition: box-shadow 0.3s var(--ease);
}
.shop-hero__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.shop-hero__card:hover img { transform: scale(1.05); }
.shop-hero__card:hover { box-shadow: 0 30px 70px rgba(15, 29, 58, 0.24); }
.shop-hero__card--1 { width: 58%; aspect-ratio: 4 / 5; right: 4%; top: 10%; z-index: 2; animation-delay: 0.15s, -2s; }
.shop-hero__card--2 { width: 38%; aspect-ratio: 1; left: 4%; top: 6%; z-index: 1; animation-delay: 0.3s, -5s; }
.shop-hero__card--3 { width: 40%; aspect-ratio: 1; left: 10%; bottom: 4%; z-index: 3; animation-delay: 0.45s, -1s; }
.shop-hero__tag {
  position: absolute;
  left: 34%;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.shop-hero__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-hero__tag strong { color: var(--navy); }

/* ------------------------------------------------------------------
   Marquee
------------------------------------------------------------------ */
.shop-marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--navy);
  color: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.shop-marquee__track {
  display: flex;
  width: max-content;
  animation: shop-marquee 40s linear infinite;
}
.shop-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  white-space: nowrap;
}
.shop-marquee span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); }

/* ------------------------------------------------------------------
   Categories
------------------------------------------------------------------ */
.shop-categories {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 8px 2px 16px;
  margin: -8px -2px -16px;
}
.shop-categories::-webkit-scrollbar { display: none; }
.shop-categories > * { scroll-snap-align: start; }
.shop-category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--soft);
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.shop-category-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); color: var(--ink); }
.shop-category-tile__media { display: block; aspect-ratio: 1; overflow: hidden; }
.shop-category-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.shop-category-tile:hover .shop-category-tile__media img { transform: scale(1.08); }
.shop-category-tile__text { display: flex; flex-direction: column; padding: 14px 16px 16px; }
.shop-category-tile__text strong { font-size: 16px; font-weight: 600; }
.shop-category-tile__text span { font-size: 13px; color: var(--muted); }
.shop-category-tile__arrow {
  position: absolute;
  right: 14px;
  bottom: 22px;
  font-size: 18px;
  color: var(--navy);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.shop-category-tile:hover .shop-category-tile__arrow { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Product cards, grids, carousels
------------------------------------------------------------------ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}
.shop-grid--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.shop-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.shop-carousel::-webkit-scrollbar { display: none; }
.shop-carousel > * { scroll-snap-align: start; }
.shop-carousel-controls { display: flex; gap: 10px; }

.shop-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.shop-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--soft-2);
  aspect-ratio: 1;
  isolation: isolate;
}
.shop-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 29, 58, 0.06);
  pointer-events: none;
}
.shop-card__image { position: absolute; inset: 0; display: block; }
.shop-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.shop-card__image .shop-card__image-alt { opacity: 0; }
.shop-card__media.has-hover:hover .shop-card__image-alt.is-loaded { opacity: 1; }
.shop-card:hover .shop-card__image img { transform: scale(1.06); }

.shop-card__wish { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.shop-heart {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), color 0.2s;
}
.shop-heart:hover { transform: scale(1.1); color: var(--heart); }
.shop-heart.is-active { color: var(--heart); }
.shop-heart.is-active svg { fill: currentColor; }
.shop-heart.is-popping svg { animation: shop-heart-pop 0.5s var(--ease-spring); }

.shop-card__quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  transform: translateY(calc(100% + 16px));
  transition: transform 0.4s var(--ease);
}
.shop-card:hover .shop-card__quick,
.shop-card:focus-within .shop-card__quick { transform: none; }
.shop-card__quick form { margin: 0; }
.shop-card__quick button,
.shop-card__quick a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 29, 58, 0.25);
  transition: background-color 0.2s var(--ease);
}
.shop-card__quick button:hover,
.shop-card__quick a:hover { background: var(--navy-700); color: var(--white); }

.shop-card__body { display: flex; flex-direction: column; gap: 3px; padding: 14px 4px 0; }
.shop-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-card__category:hover { color: var(--gold-600); }
.shop-card__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.shop-card__title a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease); }
.shop-card__title a:hover { background-size: 100% 1.5px; }
.shop-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 15px; color: var(--muted); }
.shop-card__price strong { color: var(--ink); font-weight: 700; }
.shop-card__colors {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

/* Buttons that are working in the background. */
.is-loading { pointer-events: none; }
.is-loading > * { visibility: hidden; }
.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: shop-spin 0.7s linear infinite;
}
.shop-card__quick button.is-loading,
.shop-pdp__add.is-loading { position: relative; }

/* ------------------------------------------------------------------
   Story band
------------------------------------------------------------------ */
.shop-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #2a4e8f 100%);
  color: var(--white);
  isolation: isolate;
}
.shop-story::before,
.shop-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.shop-story::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 65%); }
.shop-story::after { width: 300px; height: 300px; left: 30%; bottom: -180px; background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 65%); }
.shop-story__media { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; max-height: 460px; }
.shop-story__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.shop-story:hover .shop-story__media img { transform: scale(1.04); }
.shop-story__copy h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.shop-story__copy p:not(.shop-eyebrow) { max-width: 480px; margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, 0.82); }
.shop-story__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------------------------------------------
   Ordering info
------------------------------------------------------------------ */
.shop-ordering { padding-bottom: clamp(56px, 7vw, 96px); }
.shop-ordering__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.shop-ordering__item {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.shop-ordering__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.shop-ordering__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--navy);
  font-size: 24px;
  transition: transform 0.4s var(--ease-spring);
}
.shop-ordering__item:hover .shop-ordering__icon { transform: rotate(-8deg) scale(1.08); }
.shop-ordering__item h3 { font-size: 17px; font-weight: 700; }
.shop-ordering__item p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.shop-ordering__item a { font-weight: 600; word-break: break-word; }

/* ------------------------------------------------------------------
   Catalog toolbar, empty states, pagination
------------------------------------------------------------------ */
.shop-toolbar {
  position: sticky;
  top: var(--header-offset);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto 20px;
  padding: 12px var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.shop-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.shop-chip span { font-size: 12px; color: var(--muted); }
.shop-chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.shop-chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.shop-chip.is-active span { color: rgba(255, 255, 255, 0.7); }

.shop-sort { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin: 0; }
.shop-sort label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.shop-sort select,
.shop-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.shop-sort select {
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background-color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.shop-sort select:hover { border-color: var(--navy); }

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 24px auto;
  padding: 56px 24px;
  border-radius: var(--r-xl);
  background: var(--soft);
  text-align: center;
}
.shop-empty > svg {
  width: 64px;
  height: 64px;
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  animation: shop-float 5s ease-in-out infinite;
}
.shop-empty h1,
.shop-empty h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.shop-empty p { color: var(--muted); margin-bottom: 12px; }
.shop-empty--page { margin: 64px auto; }
.shop-empty--page > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.shop-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.shop-pagination a {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.shop-pagination a:hover { border-color: var(--navy); color: var(--navy); }
.shop-pagination a.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ------------------------------------------------------------------
   Product detail
------------------------------------------------------------------ */
.shop-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) clamp(40px, 6vw, 72px);
}

.shop-pdp__gallery { display: grid; gap: 14px; animation: shop-rise 0.7s var(--ease) both; }
.shop-pdp__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background: var(--soft-2);
  cursor: zoom-in;
}
.shop-pdp__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 29, 58, 0.06);
  pointer-events: none;
}
.shop-pdp__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  view-transition-name: shop-product-image;
}
.shop-pdp__stage.is-zoomed img { transform: scale(1.9); }
.shop-pdp__stage img.is-swapping { opacity: 0; transform: scale(1.02); }
.shop-pdp__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  margin-top: -22px;
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.2s var(--ease);
}
.shop-pdp__nav--prev { left: 16px; }
.shop-pdp__nav--next { right: 16px; }
.shop-pdp__stage:hover .shop-pdp__nav,
.shop-pdp__nav:focus-visible { opacity: 1; }
.shop-pdp__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.shop-pdp__thumbs::-webkit-scrollbar { display: none; }
.shop-pdp__thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  background: var(--soft-2);
  cursor: pointer;
  opacity: 0.7;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s var(--ease);
}
.shop-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-pdp__thumb:hover { opacity: 1; transform: translateY(-2px); }
.shop-pdp__thumb.is-active { border-color: var(--navy); opacity: 1; }

.shop-pdp__info {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
  display: flex;
  flex-direction: column;
  animation: shop-rise 0.7s 0.1s var(--ease) both;
}
.shop-pdp__info > .shop-eyebrow { align-self: flex-start; }
.shop-pdp__info h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.shop-pdp__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.shop-pdp__rating:hover { color: var(--navy); }
.shop-stars { color: var(--gold); letter-spacing: 2px; }
.shop-pdp__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.shop-pdp__price strong { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; transition: color 0.2s; }
.shop-pdp__price-label { font-size: 14px; color: var(--muted); order: -1; }
.shop-pdp__price-label:empty { display: none; }
.shop-pdp__description { margin-top: 16px; color: var(--muted); }

.shop-pdp__form { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.shop-variant-group__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.shop-variant-group__title { font-size: 14px; font-weight: 700; }
.shop-variant-group__hint { font-size: 14px; color: var(--muted); }

.shop-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-swatch {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--swatch-color, #ccc);
  box-shadow: inset 0 0 0 1px rgba(15, 29, 58, 0.15);
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring);
}
.shop-swatch::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s;
}
.shop-swatch:hover { transform: scale(1.1); }
.shop-swatch.is-selected::after { border-color: var(--navy); }
.shop-swatch.is-disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.shop-swatch.is-disabled::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: var(--ink);
  transform: rotate(45deg);
}

.shop-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-size {
  min-width: 54px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.shop-size:hover { border-color: var(--navy); transform: translateY(-1px); }
.shop-size.is-selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.shop-size.is-disabled { color: #a3abbb; background: var(--soft); text-decoration: line-through; cursor: not-allowed; transform: none; }

.shop-pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.shop-pdp__add { min-height: 54px; }
.shop-pdp__add svg { font-size: 20px; }
.shop-pdp__add.is-added { background: var(--success); }

.shop-qty {
  display: inline-flex;
  align-items: center;
  height: 54px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
}
.shop-qty button {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background-color 0.2s;
}
.shop-qty button:hover { background: var(--soft); }
.shop-qty input {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}
.shop-qty input::-webkit-outer-spin-button,
.shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-qty input:focus { outline: none; }
.shop-qty--sm { height: 42px; }
.shop-qty--sm button { width: 36px; font-size: 18px; }
.shop-qty--sm input { width: 34px; }

.shop-pdp__wish { margin: 14px 0 0; }
.shop-heart--text {
  display: inline-flex;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 8px 4px;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}
.shop-heart--text svg { font-size: 20px; }
.shop-heart--text:hover { transform: none; }

.shop-pdp__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--soft);
  list-style: none;
  font-size: 13px;
  font-weight: 500;
}
.shop-pdp__perks li { display: inline-flex; align-items: center; gap: 8px; }
.shop-pdp__perks svg { font-size: 18px; color: var(--navy); }

.shop-accordion { margin-top: 18px; border-top: 1px solid var(--line); }
.shop-accordion details { border-bottom: 1px solid var(--line); }
.shop-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.shop-accordion summary::-webkit-details-marker { display: none; }
.shop-accordion summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.shop-accordion details[open] summary::after { transform: rotate(45deg); }
.shop-accordion details p { padding-bottom: 18px; font-size: 15px; color: var(--muted); }
.shop-accordion details[open] p { animation: shop-rise 0.4s var(--ease) both; }

/* Reviews */
.shop-reviews__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.shop-reviews__summary { padding: 28px; border-radius: var(--r-lg); background: var(--soft); }
.shop-reviews__score { font-family: var(--font-display); font-size: 56px; font-weight: 600; line-height: 1; }
.shop-reviews__score span { font-size: 22px; color: var(--muted); }
.shop-reviews__summary .shop-stars { margin: 8px 0 4px; font-size: 18px; }
.shop-review-breakdown { display: grid; gap: 8px; margin-top: 20px; }
.shop-review-breakdown__row { display: grid; grid-template-columns: 30px 1fr 24px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.shop-review-breakdown__bar { height: 8px; overflow: hidden; border-radius: var(--r-pill); background: var(--white); }
.shop-review-breakdown__bar span {
  display: block;
  height: 100%;
  width: var(--fill);
  border-radius: inherit;
  background: var(--gold);
  transition: width 1s 0.3s var(--ease);
}
.shop-reviews.is-pending .shop-review-breakdown__bar span { width: 0; }
.shop-reviews__list { display: grid; gap: 16px; }
.shop-review-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.shop-review-card header { display: flex; justify-content: space-between; gap: 12px; }
.shop-review-card__meta { display: flex; gap: 12px; margin: 4px 0 10px; font-size: 13px; color: var(--muted); }
.shop-review-card__verified { color: var(--success); font-weight: 600; }
.shop-review-card h3 { font-size: 16px; margin-bottom: 6px; }
.shop-review-card p:last-child { color: #39445a; }
.shop-reviews__form { margin-top: 24px; }
.shop-reviews__form h3 { margin-bottom: 14px; font-size: 18px; }

/* ------------------------------------------------------------------
   Cart
------------------------------------------------------------------ */
.shop-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter) clamp(56px, 7vw, 96px);
}
.shop-cart__form { margin: 0; }
.shop-cart__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.shop-cart__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto 100px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  animation: shop-rise 0.5s var(--ease) both;
}
.shop-cart__item:nth-child(2) { animation-delay: 0.05s; }
.shop-cart__item:nth-child(3) { animation-delay: 0.1s; }
.shop-cart__item:nth-child(n+4) { animation-delay: 0.15s; }
.shop-cart__thumb { display: block; overflow: hidden; border-radius: var(--r-md); background: var(--soft-2); aspect-ratio: 1; }
.shop-cart__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.shop-cart__thumb:hover img { transform: scale(1.06); }
.shop-cart__title { font-weight: 600; color: var(--ink); }
.shop-cart__title:hover { color: var(--navy); }
.shop-cart__variant,
.shop-cart__unit { margin-top: 2px; font-size: 14px; color: var(--muted); }
.shop-cart__remove {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.shop-cart__remove:hover { color: var(--danger); }
.shop-cart__line { text-align: right; font-weight: 700; }
.shop-cart__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.shop-cart__clear { border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.shop-cart__clear:hover { color: var(--danger); }
.shop-cart__form.is-updating { opacity: 0.6; pointer-events: none; transition: opacity 0.2s; }

.shop-cart__summary,
.shop-checkout__summary {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--soft);
}
.shop-cart__summary h2,
.shop-checkout__summary h2 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.shop-cart__summary dl,
.shop-checkout__summary dl { display: grid; gap: 12px; margin: 0 0 22px; }
.shop-cart__summary dl > div,
.shop-checkout__summary dl > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.shop-cart__summary dt,
.shop-checkout__summary dt { color: var(--muted); }
.shop-cart__summary dd,
.shop-checkout__summary dd { margin: 0; text-align: right; font-weight: 600; }
.shop-checkout__summary dl > div:last-child { padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; }
.shop-checkout__summary dl > div:last-child dd { font-size: 20px; }
.shop-checkout__summary dd .shop-field-hint { display: block; font-weight: 400; }
.shop-checkout__summary [data-shipping-label]:not(:empty)::before,
.shop-checkout__summary [data-tax-label]:not(:empty)::before { content: " · "; }
.shop-checkout__summary [data-shipping-label],
.shop-checkout__summary [data-tax-label] { color: var(--muted); font-weight: 500; }
.shop-cart__continue { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; }
.shop-cart__note,
.shop-checkout__note {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.shop-cart__note svg,
.shop-checkout__note svg { font-size: 18px; color: var(--navy); margin-top: 1px; }

/* ------------------------------------------------------------------
   Checkout
------------------------------------------------------------------ */
.shop-checkout { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) clamp(56px, 7vw, 96px); }
.shop-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.shop-checkout__panel h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.shop-checkout__panel > p { margin: 8px 0 24px; color: var(--muted); }
.shop-checkout__items { display: grid; gap: 14px; margin: 0 0 22px; padding: 0 0 20px; list-style: none; border-bottom: 1px solid var(--line); }
.shop-checkout__items li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.shop-checkout__items strong { display: block; font-size: 15px; }
.shop-checkout__items span { color: var(--muted); }
.shop-checkout__items li > span { color: var(--ink); font-weight: 600; }

.shop-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: step; font-size: 13px; font-weight: 600; color: var(--muted); }
.shop-steps li { display: inline-flex; align-items: center; gap: 8px; counter-increment: step; }
.shop-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-size: 12px;
}
.shop-steps li + li { padding-left: 8px; }
.shop-steps li + li::after { order: -1; content: ""; width: 24px; height: 1.5px; background: var(--line); margin-right: 8px; }
.shop-steps .is-done::before { content: "✓"; background: var(--navy); border-color: var(--navy); color: var(--white); }
.shop-steps .is-current { color: var(--ink); }
.shop-steps .is-current::before { border-color: var(--gold); background: var(--gold-100); color: var(--ink); }

/* ------------------------------------------------------------------
   Forms
------------------------------------------------------------------ */
.shop-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.shop-form--compact { margin-top: 10px; }
.shop-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.shop-form__field { display: flex; flex-direction: column; gap: 6px; }
.shop-form__field label { font-size: 14px; font-weight: 600; }
.shop-form input[type="text"],
.shop-form input[type="email"],
.shop-form input[type="tel"],
.shop-form input[type="password"],
.shop-form input[type="number"],
.shop-form select,
.shop-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background-color: var(--white);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.shop-form textarea { min-height: 100px; resize: vertical; }
.shop-form input:hover,
.shop-form select:hover,
.shop-form textarea:hover { border-color: #c5cddb; }
.shop-form input:focus,
.shop-form select:focus,
.shop-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31, 58, 111, 0.1); }
.shop-form__fieldset { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--soft); }
.shop-form__fieldset legend { padding: 0 6px; font-weight: 700; }
.shop-form__fieldset .shop-field-hint + .shop-field-hint { margin-top: 6px; }
.shop-form > .btn-primary,
.shop-form > .btn-secondary { align-self: flex-start; }
.shop-form > .btn-block { align-self: stretch; }

.shop-field-hint { font-size: 13px; color: var(--muted); }
.shop-field-error { font-size: 13px; font-weight: 600; color: var(--danger); }
.shop-form-error {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--danger-100);
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
}
.shop-form-error p + p { margin-top: 4px; }

.shop-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.shop-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.shop-checkbox--compact { margin-top: 10px; }

/* ------------------------------------------------------------------
   Sign in / register
------------------------------------------------------------------ */
.shop-body--auth { background: var(--soft); }
.shop-auth { display: flex; justify-content: center; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.shop-auth__panel {
  width: min(520px, 100%);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  animation: shop-rise 0.6s var(--ease) both;
}
.shop-auth__panel h1 { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.shop-auth__panel > p { margin: 8px 0 24px; color: var(--muted); }
.shop-auth__panel > .btn-secondary { width: 100%; }
.shop-auth__panel .shop-form .btn-primary { align-self: stretch; }
.shop-auth__hint { margin-top: 18px; font-size: 14px; color: var(--muted); }
.shop-auth__hint a { font-weight: 600; }
.shop-auth__hint--compact { margin: 16px 0 8px; }

/* ------------------------------------------------------------------
   Account
------------------------------------------------------------------ */
.shop-account { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) clamp(56px, 7vw, 96px); }
.shop-account__header h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.shop-account__header > p { margin-top: 8px; color: var(--muted); }
.shop-account__header > p + p { margin-top: 16px; }
.shop-account-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 28px 0 24px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--soft);
}
.shop-account-tabs a {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.shop-account-tabs a:hover { color: var(--ink); }
.shop-account-tabs a.is-active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.shop-account__grid { display: grid; gap: 24px; }
.shop-account__panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  animation: shop-rise 0.5s var(--ease) both;
}
.shop-account__panel.is-hidden { display: none; }
.shop-account__panel h2 { margin-bottom: 8px; font-size: 22px; font-weight: 700; }
.shop-account__panel > .shop-field-hint { display: block; margin-bottom: 20px; }
.shop-account__subheading { margin: 28px 0 12px; font-size: 17px; font-weight: 700; }
.shop-account__passkeys { display: grid; gap: 10px; }
.shop-account__passkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--soft);
  font-size: 14px;
}
.shop-account__orders,
.shop-confirm__items { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop-account__orders th,
.shop-confirm__items th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}
.shop-account__orders td,
.shop-confirm__items td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.shop-account__orders tr:hover td { background: var(--soft); }
.shop-account__orders a { font-weight: 600; }

/* ------------------------------------------------------------------
   Order confirmation
------------------------------------------------------------------ */
.shop-confirm { max-width: 920px; margin: 0 auto; padding: 40px var(--gutter) clamp(56px, 7vw, 96px); }
.shop-confirm__panel { display: flex; flex-direction: column; gap: 22px; }
.shop-confirm__panel > h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; animation: shop-rise 0.6s var(--ease) both; }
.shop-confirm__panel > p { margin-top: -10px; color: var(--muted); font-size: 17px; }
.shop-confirm__status-card,
.shop-confirm__details {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  animation: shop-rise 0.6s 0.1s var(--ease) both;
}
.shop-confirm__status-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.shop-confirm__status-head h2,
.shop-confirm__details h2 { font-size: 20px; font-weight: 700; }
.shop-confirm__details h2 { margin-bottom: 16px; }
.shop-confirm__status-badge {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--sky-100);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.shop-confirm__status-badge.is-awaiting { background: var(--gold-100); color: #8a4b05; }
.shop-confirm__status-badge.is-shipped,
.shop-confirm__status-badge.is-delivered { background: var(--success-100); color: var(--success); }
.shop-confirm__status-badge.is-issue { background: var(--danger-100); color: var(--danger); }
.shop-confirm__timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.shop-confirm__timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.shop-confirm__timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 22px;
  right: -12px;
  height: 2px;
  background: var(--line);
}
.shop-confirm__timeline li:last-child::before { display: none; }
.shop-confirm__timeline li.is-complete::before { background: var(--navy); }
.shop-confirm__timeline-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
}
.shop-confirm__timeline li.is-complete .shop-confirm__timeline-dot { border-color: var(--navy); background: var(--navy); }
.shop-confirm__timeline li.is-current .shop-confirm__timeline-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2); animation: shop-pulse 2s ease-in-out infinite; }
.shop-confirm__timeline strong { display: block; font-size: 14px; }
.shop-confirm__timeline span { font-size: 13px; color: var(--muted); }
.shop-confirm__timeline-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.shop-confirm__tracking-links { margin-top: 16px; }
.shop-confirm__tracking-links ul { margin: 8px 0 0; padding-left: 18px; }
.shop-confirm__details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0 0 24px; }
.shop-confirm__details dt { font-size: 13px; color: var(--muted); }
.shop-confirm__details dd { margin: 2px 0 0; font-weight: 600; }
.shop-confirm__details dd ul { margin: 0; padding-left: 18px; font-weight: 500; }
.shop-confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.shop-footer {
  margin-top: 24px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.shop-footer a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
.shop-footer a:hover { color: var(--gold); }
.shop-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
}
.shop-footer__brand p { max-width: 300px; margin-top: 18px; }
.shop-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.shop-footer__social a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
}
.shop-footer__social a:hover { border-color: var(--gold); }
.shop-footer h2 { margin-bottom: 16px; color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.shop-footer__column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shop-footer__muted { color: rgba(255, 255, 255, 0.5); }
.shop-footer__account {
  padding: 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shop-footer__account strong { color: var(--white); }
.shop-footer__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.shop-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px calc(var(--gutter) + 64px) 28px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.shop-data-saver-toggle {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  cursor: pointer;
}
.shop-data-saver-toggle:hover { border-color: var(--gold); color: var(--white); }

.shop-footer--auth { background: var(--white); color: var(--muted); border-top: 1px solid var(--line); margin-top: 0; }
.shop-footer--auth a { color: var(--navy); }
.shop-footer__auth-inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); display: grid; gap: 10px; text-align: center; }
.shop-footer__auth-links { display: flex; justify-content: center; gap: 20px; font-weight: 600; }
.shop-footer__copy { font-size: 13px; }

/* ------------------------------------------------------------------
   Scroll reveal
------------------------------------------------------------------ */
[data-reveal].is-pending { opacity: 0; transform: translateY(28px); }
[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-pending [data-stagger] > * { opacity: 0; transform: translateY(20px); }
[data-reveal].is-visible [data-stagger] > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ------------------------------------------------------------------
   Keyframes
------------------------------------------------------------------ */
@keyframes shop-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shop-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shop-card-in { from { opacity: 0; transform: translateY(40px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes shop-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes shop-spin { to { transform: rotate(360deg); } }
@keyframes shop-marquee { to { transform: translateX(-50%); } }
@keyframes shop-bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes shop-heart-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes shop-toast-in { from { opacity: 0; transform: translateY(-12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes shop-toast-out { to { opacity: 0; transform: translateY(-8px) scale(0.96); } }
@keyframes shop-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2); } 50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.08); } }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .shop-footer__inner { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .shop-footer__account { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .shop-footer__account h2 { margin: 0; }
  .shop-footer__buttons { margin: 0 0 0 auto; }
}

@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-carousel { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .shop-ordering__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-cart { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .shop-checkout__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .shop-reviews__layout { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  :root { --header-offset: 124px; }

  /* backdrop-filter would make the header the containing block of the fixed menu drawer. */
  .shop-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .shop-nav-open .shop-header { z-index: 160; }

  .shop-header__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "menu brand actions"
      "search search search";
    gap: 12px 12px;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .shop-menu-toggle { display: inline-flex; }
  .shop-search { max-width: none; }
  .shop-search input { height: 44px; }
  .shop-icon-btn { min-width: 44px; padding: 8px; }
  .shop-icon-btn__label { display: none; }
  .shop-badge { top: 2px; right: 0; }

  .shop-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 150;
    width: min(86vw, 360px);
    max-width: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    transition: transform 0.4s var(--ease);
  }
  .shop-nav.is-open { transform: none; }
  .shop-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 20px;
  }
  .shop-nav__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--soft);
    font-size: 20px;
    cursor: pointer;
  }
  .shop-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px; overflow: visible; }
  .shop-nav__list--secondary { display: flex; margin-top: auto; border-top: 1px solid var(--line); }
  .shop-nav__link {
    display: flex;
    padding: 14px 12px;
    border-radius: var(--r-sm);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s;
  }
  .shop-nav.is-open .shop-nav__link { opacity: 1; transform: none; }
  .shop-nav.is-open li:nth-child(2) .shop-nav__link { transition-delay: 0.04s; }
  .shop-nav.is-open li:nth-child(3) .shop-nav__link { transition-delay: 0.08s; }
  .shop-nav.is-open li:nth-child(4) .shop-nav__link { transition-delay: 0.12s; }
  .shop-nav.is-open li:nth-child(5) .shop-nav__link { transition-delay: 0.16s; }
  .shop-nav.is-open li:nth-child(n+6) .shop-nav__link { transition-delay: 0.2s; }
  .shop-nav__link::after { display: none; }
  .shop-nav__link:hover,
  .shop-nav__link.is-active { background: var(--soft); }
  .shop-nav__list--secondary .shop-nav__link { font-size: 15px; color: var(--muted); }
  .shop-nav__site { margin: 0; padding: 18px 24px 24px; border-top: 1px solid var(--line); }

  .shop-toolbar { position: static; }

  .shop-hero { grid-template-columns: 1fr; text-align: left; }
  .shop-hero__visual { max-width: 460px; width: 92%; }

  .shop-story { grid-template-columns: 1fr; }
  .shop-story__media { aspect-ratio: 16 / 10; max-height: 340px; }

  .shop-pdp { grid-template-columns: 1fr; }
  .shop-pdp__info { position: static; }

  .shop-cart { grid-template-columns: 1fr; }
  .shop-checkout__grid { grid-template-columns: 1fr; }
  .shop-cart__summary,
  .shop-checkout__summary { position: static; }
  .shop-checkout__summary { order: -1; }

  .shop-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shop-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .shop-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-carousel { grid-auto-columns: 62%; gap: 14px; }
  .shop-carousel-controls { display: none; }
  .shop-categories { grid-auto-columns: 42%; }
  .shop-ordering__grid { grid-template-columns: 1fr; }

  .shop-section__head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .shop-section__head--center { align-items: center; }

  .shop-card__body { padding-top: 10px; }
  .shop-card__title { font-size: 14px; }
  .shop-card__price { font-size: 14px; }
  .shop-card__colors { margin-left: 0; width: 100%; }
  .shop-heart { width: 34px; height: 34px; font-size: 17px; }
  .shop-card__wish { top: 8px; right: 8px; }
  /* Touch screens have no hover, so the quick action stays visible as a small pill. */
  .shop-card__quick { left: 8px; right: 8px; bottom: 8px; transform: none; }
  .shop-card__quick button,
  .shop-card__quick a { padding: 9px 10px; font-size: 12px; background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: var(--shadow-sm); }
  .shop-card__quick button:hover,
  .shop-card__quick a:hover { background: var(--white); color: var(--navy); }

  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .shop-sort { justify-content: space-between; }

  .shop-hero__visual { width: 100%; }
  .shop-hero__actions .btn-lg { flex: 1 1 100%; }

  .shop-pdp__thumb { width: 68px; height: 68px; }
  .shop-pdp__nav { opacity: 1; }
  .shop-pdp__stage { border-radius: var(--r-lg); }

  .shop-cart__item { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "thumb details line" "thumb qty qty"; gap: 10px 14px; }
  .shop-cart__thumb { grid-area: thumb; align-self: start; }
  .shop-cart__details { grid-area: details; }
  .shop-cart__qty { grid-area: qty; }
  .shop-cart__line { grid-area: line; align-self: start; }

  .shop-confirm__timeline { grid-template-columns: 1fr; gap: 16px; }
  .shop-confirm__timeline li { flex-direction: row; align-items: flex-start; }
  .shop-confirm__timeline li::before { top: 22px; bottom: -18px; left: 9px; right: auto; width: 2px; height: auto; }
  .shop-confirm__details dl { grid-template-columns: 1fr; }
  .shop-confirm__items { display: block; overflow-x: auto; }
  .shop-account__orders { display: block; overflow-x: auto; white-space: nowrap; }

  .shop-footer__inner { grid-template-columns: 1fr; padding-top: 48px; }
  .shop-footer__account { display: block; }
  .shop-footer__buttons { margin-top: 16px; }
  .shop-footer__bottom { flex-direction: column; align-items: flex-start; }

  .shop-minicart { top: auto; bottom: 16px; }
  .shop-flash-container { top: auto; bottom: 16px; }
}

@media (max-width: 420px) {
  .shop-announce { font-size: 12px; }
  .shop-brand__text strong { font-size: 16px; }
  .shop-brand img { width: 38px; height: 38px; }
  .shop-header__actions { gap: 0; }
  .shop-hero__title { font-size: 38px; }
  .shop-steps li + li::after { width: 12px; }
}

@media (hover: none) {
  .shop-card:hover .shop-card__image img { transform: none; }
  .shop-category-tile:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .shop-marquee__track { animation: none; }
  [data-reveal].is-pending,
  [data-reveal].is-pending [data-stagger] > * { opacity: 1; transform: none; }
}
