@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Outfit:wght@200;300;400;500&display=swap');

/* LUNI Design System — premium visual tokens */
:root {
  /* Color — mineral, quiet, no cliché warmth */
  --primary: #0f0f0f;
  --background: #fafafa;
  --surface: #f3f2f0;
  --text: #0f0f0f;
  --text-secondary: #6a6a6a;
  --text-muted: #949494;
  --border: #e8e8e8;
  --border-strong: #d6d4d1;
  --accent: #7a706a;
  --accent-soft: #f0ece9;
  --success: #3d5a45;
  --error: #8b3a3a;
  --overlay: rgba(0, 0, 0, 0.36);
  --inverse: #ffffff;

  /* Legacy aliases (keep existing selectors working) */
  --bg: var(--background);
  --bg-soft: var(--surface);
  --bg-muted: #eae8e5;
  --ink: var(--text);
  --muted: var(--text-secondary);
  --muted-2: var(--text-muted);
  --line: var(--border);
  --line-strong: var(--border-strong);
  --danger: var(--error);

  /* Spacing — 8px grid, generous rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 112px;
  --space-9: 144px;

  /* Layout */
  --max: 1320px;
  --container-pad: 28px;
  --nav-h: 76px;
  --drawer-width: 82vw;
  --drawer-pad-x: 32px;

  /* Radius */
  --radius-none: 0;
  --radius-badge: 999px;

  /* Shadow — almost none; drawer only */
  --shadow-none: none;
  --shadow-drawer: 24px 0 64px rgba(0, 0, 0, 0.12);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', sans-serif;
  --text-body: 15px;
  --text-button: 11px;
  --text-caption: 10px;
  --tracking-button: 0.2em;
  --tracking-caption: 0.22em;
  --leading-body: 1.7;
  --leading-display: 1.05;

  /* Motion — slow, soft, editorial */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 220ms;
  --duration: 420ms;
  --duration-slow: 1100ms;
  --duration-image: 1400ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text);
  background: var(--background);
  line-height: var(--leading-body);
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

.container {
  width: min(100% - (var(--container-pad) * 2), var(--max));
  margin-inline: auto;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section .reveal.is-visible {
  transition-duration: 1.25s;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 48px;
  padding: 14px 32px;
  font-size: var(--text-button);
  font-weight: 400;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-none);
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  opacity: 1;
}

.btn-primary,
.btn-dark {
  background: var(--primary);
  color: var(--inverse);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-dark:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  opacity: 1;
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--primary);
  color: var(--inverse);
  opacity: 1;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  opacity: 1;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.62rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--background);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.site-header.scrolled {
  background: var(--background);
  border-bottom-color: var(--border);
}

.site-header.on-hero:not(.scrolled):not(.on-hero-light) {
  background: transparent;
  color: var(--inverse);
}

.site-header.on-hero:not(.scrolled):not(.on-hero-light) .nav-link::after {
  background: #fff;
}

.site-header.on-hero:not(.scrolled):not(.on-hero-light) .badge {
  background: #fff;
  color: var(--ink);
}

.site-header.on-hero:not(.scrolled):not(.on-hero-light) .icon-btn svg {
  stroke: #fff;
}

.site-header.on-hero-light:not(.scrolled) {
  background: transparent;
  color: var(--ink);
}

.site-header.on-hero-light:not(.scrolled) .nav-search input {
  color: var(--ink);
  border-color: rgba(15, 15, 15, 0.18);
}

.site-header.on-hero-light:not(.scrolled) .nav-search input::placeholder {
  color: rgba(15, 15, 15, 0.45);
}

body {
  padding-top: var(--nav-h);
}

body.has-hero {
  padding-top: 0;
}

body.has-hero .hero {
  margin-top: 0;
}

.nav {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-right {
  justify-content: flex-end;
  gap: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  transition: opacity var(--duration) var(--ease);
}

.logo:hover {
  opacity: 0.55;
}

.nav-link {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  opacity: 0.72;
  transition: opacity var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  transition: opacity var(--duration) var(--ease);
}

.icon-btn:hover {
  opacity: 0.5;
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn .heart-fill {
  fill: var(--ink);
  stroke: var(--ink);
}

.badge {
  position: absolute;
  top: -2px;
  right: -7px;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: var(--radius-badge);
  background: var(--primary);
  color: var(--inverse);
  font-size: 0.58rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  transition: transform var(--duration) var(--ease);
}

.badge.pulse {
  animation: badgePulse 0.45s var(--ease);
}

.menu-toggle {
  display: none;
}

/* ——— Premium drawer menu ——— */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration) ease, visibility var(--duration) ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer {
  --drawer-icon: 20px;
  --drawer-gap: 18px;
  --drawer-row: 58px;

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 410;
  width: var(--drawer-width);
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  box-shadow: var(--shadow-drawer);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer.open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 72px;
  padding: var(--space-3) var(--drawer-pad-x) 20px;
  flex-shrink: 0;
}

.drawer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 1;
  color: var(--text);
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  color: var(--text);
  flex-shrink: 0;
}

.drawer__close:hover {
  color: var(--text-secondary);
}

.drawer__rule {
  height: 1px;
  margin: 0 var(--drawer-pad-x);
  background: var(--border);
  flex-shrink: 0;
  border: 0;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--space-2) var(--drawer-pad-x) var(--space-5);
  flex: 1;
}

.drawer__link {
  display: grid;
  grid-template-columns: var(--drawer-icon) 1fr;
  column-gap: var(--drawer-gap);
  align-items: center;
  height: var(--drawer-row);
  color: var(--text);
  text-decoration: none;
}

.drawer__link:hover .drawer__label,
.drawer__link:hover .drawer__icon {
  color: var(--text-secondary);
}

.drawer__icon {
  display: grid;
  place-items: center;
  width: var(--drawer-icon);
  height: var(--drawer-icon);
  color: var(--text);
}

.drawer__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer__label {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: inherit;
  text-transform: none;
}

/* ——— Hero — arrival / brand memory ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  background: #0c0c0c;
  color: #fff;
}

.hero--light {
  background: #eef3f1;
  color: var(--ink);
  place-items: center start;
}

.hero-media {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.hero--light .hero-media {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.68;
  transform: scale(1.02);
  animation: heroZoom 36s linear infinite alternate;
  will-change: transform;
}

.hero--light .hero-media img {
  opacity: 1;
  object-position: 82% 48%;
  transform-origin: 75% 50%;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.hero--light .hero-media::before {
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 66%
  );
  mix-blend-mode: soft-light;
  animation: heroShine 7.5s ease-in-out infinite;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.22) 0%,
    rgba(8, 8, 8, 0.06) 38%,
    rgba(8, 8, 8, 0.55) 100%
  );
}

.hero--light .hero-media::after {
  background:
    linear-gradient(
      105deg,
      rgba(238, 243, 241, 0.9) 0%,
      rgba(238, 243, 241, 0.52) 32%,
      rgba(238, 243, 241, 0.06) 58%,
      rgba(238, 243, 241, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 34%,
      rgba(232, 238, 236, 0.28) 100%
    );
  animation: heroVeil 9s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(5.5rem, 14vh, 9rem);
  width: min(100% - 3.5rem, var(--max));
  margin-inline: auto;
}

.hero--light .hero-content {
  padding: clamp(5rem, 12vh, 7rem) 0;
  max-width: min(100% - 3.5rem, 34rem);
  margin-inline: max(1.75rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 15vw, 9.5rem);
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 0.88;
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
  animation: fadeUp 1.6s var(--ease-out) 0.12s both;
}

.hero--light .hero-brand {
  animation: brandReveal 1.55s var(--ease-out) 0.05s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1.2;
  max-width: 18em;
  margin-bottom: 1.15rem;
  animation: fadeUp 1.6s var(--ease-out) 0.32s both;
}

.hero--light .hero-title {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  max-width: 12em;
  animation: fadeUpSoft 1.35s var(--ease-out) 0.28s both;
}

.hero-text {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
  max-width: 20rem;
  margin-bottom: 2.75rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  animation: fadeUp 1.6s var(--ease-out) 0.48s both;
}

.hero--light .hero-text {
  color: var(--text-secondary);
  animation: fadeUpSoft 1.35s var(--ease-out) 0.42s both;
}

.hero-content .btn-group {
  animation: fadeUp 1.6s var(--ease-out) 0.62s both;
}

.hero--light .hero-content .btn-group {
  animation: fadeUpSoft 1.25s var(--ease-out) 0.55s both;
}

.hero-content .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  min-width: 11.5rem;
}

.hero-content .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  opacity: 1;
}

.hero--light .hero-content .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  animation: ctaBreathe 3.6s ease-in-out 1.4s infinite;
}

.hero--light .hero-content .btn-primary:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  animation: none;
  transform: translateY(-2px);
}

/* ——— Sections ——— */
.section {
  padding: clamp(5.5rem, 12vw, 9rem) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.section-label {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
  font-weight: 400;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  font-weight: 300;
  letter-spacing: 0.005em;
  line-height: var(--leading-display);
}

.section-link {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  opacity: 0.85;
  transition: opacity var(--duration) var(--ease);
  white-space: nowrap;
  margin-bottom: 0.35rem;
}

.section-link:hover {
  opacity: 0.45;
}

/* ——— Product grid / cards ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(3.25rem, 6vw, 5.5rem) clamp(1.5rem, 2.8vw, 2.75rem);
}

.product-card {
  position: relative;
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 1.5rem;
}

.product-media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-media > a img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 8% 10%;
  transition: transform 1.6s var(--ease-out), opacity 0.6s var(--ease);
}

.product-card:hover .product-media > a img,
.product-card:hover .product-media img {
  transform: scale(1.03);
}

/* Actions: hover-only on fine pointers; hidden on touch for a clean grid */
.product-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 0;
  z-index: 2;
  padding: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .product-actions {
    display: flex;
  }

  .product-card:hover .product-actions,
  .product-card:focus-within .product-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .product-card:hover .product-media > a img,
  .product-card:hover .product-media img {
    opacity: 0.92;
  }
}

.product-actions .btn {
  flex: 1;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  background: rgba(250, 250, 250, 0.96);
  color: var(--primary);
  border: none;
  border-radius: 0;
  opacity: 1;
}

.product-actions .btn:hover {
  background: var(--primary);
  color: var(--inverse);
  opacity: 1;
}

.product-actions .btn-fav {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  padding: 0;
  border-left: 1px solid rgba(15, 15, 15, 0.08);
}

.product-actions .btn-fav svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  width: 15px;
  height: 15px;
}

.product-actions .btn-fav.is-active svg {
  fill: var(--ink);
}

.product-actions .btn-fav.is-active:hover svg {
  fill: #fff;
  stroke: #fff;
}

.btn-fav-detail {
  gap: 0.45rem;
}

.btn-fav-detail.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-fav-detail.is-active svg {
  fill: currentColor;
}

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-right: 0.25rem;
}

.product-brand {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  line-height: 1.2;
}

.product-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--text);
  transition: opacity 0.45s var(--ease);
}

.product-card:hover .product-name {
  opacity: 0.55;
}

.product-price {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  margin-top: 0.15rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ——— Editorial — belief ——— */
.editorial {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-soft);
}

.editorial-media {
  overflow: hidden;
  min-height: 560px;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 560px;
  transition: transform 2.4s var(--ease-out);
}

.editorial:hover .editorial-media img {
  transform: scale(1.02);
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 9vw, 8rem) clamp(2.75rem, 7vw, 6rem);
}

.editorial-copy .section-title {
  font-weight: 300;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.editorial-copy p {
  color: var(--muted);
  max-width: 24rem;
  margin: 1.75rem 0 2.75rem;
  font-weight: 300;
  line-height: 1.85;
  font-size: 1rem;
}

.editorial-copy .section-link {
  align-self: flex-start;
}

/* ——— Page header ——— */
.page-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0 2.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.page-hero p {
  color: var(--muted);
  margin-top: 1.1rem;
  max-width: 32rem;
  font-weight: 300;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ——— Filters ——— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters--brands {
  margin-bottom: 3.25rem;
}

.filter-btn {
  min-height: 2.35rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ——— Product detail (PDP) ——— */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
  width: min(100% - (var(--container-pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(5rem, 12vw, 9rem);
}

.pdp-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.pdp-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

.pdp-stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: opacity 0.35s var(--ease), transform 1.4s var(--ease-out);
}

.pdp-stage:hover .pdp-stage__img {
  transform: scale(1.02);
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.pdp-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  opacity: 0.4;
  transition: opacity 0.4s var(--ease);
}

.pdp-thumb.is-active,
.pdp-thumb:hover {
  opacity: 1;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-panel {
  position: sticky;
  top: calc(var(--nav-h) + 2.5rem);
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
  max-width: 26rem;
}

.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

.pdp-crumb a {
  color: var(--text-muted);
  transition: color 0.35s var(--ease);
  text-transform: uppercase;
}

.pdp-crumb a:hover {
  color: var(--text);
}

.pdp-brand {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.15rem;
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin-bottom: 1.25rem;
}

.pdp-price {
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: clamp(1.75rem, 3vw, 2.35rem);
}

.pdp-story {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  max-width: 24rem;
}

.pdp-buy {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  min-height: 48px;
}

.pdp-qty button {
  width: 2.75rem;
  height: 100%;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.pdp-qty button:hover {
  background: var(--surface);
}

.pdp-qty span {
  min-width: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.pdp-add {
  width: 100%;
  min-height: 48px;
}

.pdp-wish {
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  border: 1px solid var(--border);
  color: var(--text);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.pdp-wish:hover {
  border-color: var(--text);
}

.pdp-wish.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--inverse);
}

.pdp-wish.is-active svg {
  fill: currentColor;
}

.pdp-bag-link {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.pdp-bag-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.pdp-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.pdp-notes li {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

/* ——— Cart / Checkout ——— */
.layout-2 {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ——— Bag (Cart page) ——— */
.bag-page {
  min-height: calc(100vh - var(--nav-h));
}

.bag-shell {
  width: min(100% - (var(--container-pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(5rem, 12vw, 8rem);
}

.bag-hero {
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
  max-width: 28rem;
}

.bag-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.bag-lead {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.bag-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.bag-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bag-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.75rem, 3vw, 2.35rem) 0;
  border-top: 1px solid var(--border);
}

.bag-row:last-child {
  border-bottom: 1px solid var(--border);
}

.bag-thumb {
  display: block;
  width: 120px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

.bag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--duration) var(--ease), transform var(--duration-image) var(--ease-out);
}

.bag-thumb:hover img {
  opacity: 0.88;
  transform: scale(1.03);
}

.bag-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 0.15rem;
}

.bag-meta__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.bag-meta__copy {
  min-width: 0;
}

.bag-brand {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.bag-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}

.bag-name a {
  transition: opacity var(--duration) var(--ease);
}

.bag-name a:hover {
  opacity: 0.55;
}

.bag-unit {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.bag-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.5rem;
  margin-top: auto;
}

.bag-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  min-height: 44px;
}

.bag-qty button {
  width: 2.6rem;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  transition: background var(--duration) var(--ease);
}

.bag-qty button:hover {
  background: var(--surface);
}

.bag-qty button:focus-visible,
.bag-remove:focus-visible,
.bag-continue:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}

.bag-qty span {
  min-width: 2.35rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.bag-remove {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.bag-remove:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.bag-line {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.bag-summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.75rem);
  background: var(--surface);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.bag-summary__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}

.bag-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bag-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.bag-summary__row dt {
  letter-spacing: 0.02em;
}

.bag-summary__row dd {
  text-align: right;
  color: var(--text);
}

.bag-summary__row--total {
  margin-top: 0.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 400;
}

.bag-summary__row--total dd {
  font-weight: 400;
  letter-spacing: 0.03em;
}

.bag-summary__note {
  margin: 1.5rem 0 1.85rem;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 22rem;
}

.bag-summary .btn-block {
  margin-bottom: 1.15rem;
}

.bag-continue {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.bag-continue:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.bag-empty {
  text-align: center;
  padding: clamp(4rem, 12vw, 7rem) 1rem;
  max-width: 26rem;
  margin: 0 auto;
}

.bag-empty h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 0.95rem;
  letter-spacing: 0.01em;
}

.bag-empty p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 110px;
  height: 140px;
  object-fit: cover;
  background: var(--bg-soft);
  transition: opacity 0.3s;
}

.cart-item img:hover {
  opacity: 0.85;
}

.cart-item-title {
  font-size: 0.98rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}

.cart-item-brand {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.remove-btn {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.remove-btn:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.cart-item-price {
  font-size: 0.92rem;
  text-align: right;
  font-weight: 300;
}

.summary-card {
  position: sticky;
  top: calc(var(--nav-h) + 1.75rem);
  background: var(--bg-soft);
  padding: 2.5rem 2rem;
}

.summary-card h2 {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 0.85rem;
}

.summary-row.total {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-strong);
  font-weight: 400;
}

.summary-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1.15rem 0 1.65rem;
  line-height: 1.6;
  font-weight: 300;
}

.empty-state {
  text-align: center;
  padding: clamp(4rem, 10vw, 6.5rem) 1rem;
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 0.95rem;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ——— Forms ——— */
.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-none);
  background: var(--background);
  outline: none;
  font-weight: 300;
  transition: border-color var(--duration) var(--ease), background var(--duration);
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.pay-option:focus-within {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}

.field input:disabled {
  background: var(--surface);
  color: var(--text-secondary);
}

.field-optional {
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 300;
}

.field-hint {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

.password-field {
  position: relative;
  display: flex;
  align-items: stretch;
}

.password-field input {
  width: 100%;
  padding-right: 4.5rem;
}

.password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
}

.password-toggle:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: -2px;
}

.pay-options {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.pay-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.95rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--background);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.pay-option:hover,
.pay-option.active {
  border-color: var(--primary);
}

.pay-option input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.pay-option strong {
  display: block;
  font-weight: 400;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.pay-option span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.55;
}

.pay-amount {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--text);
}

.checkout-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

/* ——— Flow pages (checkout / account / success) ——— */
.flow-page {
  min-height: calc(100vh - var(--nav-h));
}

.flow-shell {
  width: min(100% - (var(--container-pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(5rem, 12vw, 8rem);
}

.flow-hero {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  max-width: 32rem;
}

.flow-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.flow-lead {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
}

.flow-empty {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 7rem) 1rem;
}

.flow-empty h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.flow-empty p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.flow-empty .btn-group {
  justify-content: center;
}

.flow-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.flow-main {
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 5vw, 3.75rem);
}

.flow-heading {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 1.35rem;
  letter-spacing: 0.01em;
}

.flow-summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.75rem);
  background: var(--surface);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.flow-summary__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.flow-summary__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.flow-summary__items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.flow-summary__items li span:last-child {
  color: var(--text);
  white-space: nowrap;
}

.flow-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.flow-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.flow-summary__row dd {
  text-align: right;
  color: var(--text);
}

.flow-summary__row--total {
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 400;
}

.flow-summary__note {
  margin: 1.4rem 0 1.75rem;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

.flow-back {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.flow-back:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ——— Auth ——— */
.auth-shell {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vw, 6rem) 1.5rem;
  background: var(--surface);
}

.auth-card {
  width: min(100%, 420px);
  padding: clamp(2.75rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.5rem);
  background: var(--background);
  border: 1px solid var(--border);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 2.85rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.auth-meta {
  text-align: center;
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 300;
}

.auth-meta a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  letter-spacing: 0.04em;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.auth-meta a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.auth-switch a {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

.alert {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  font-weight: 300;
  line-height: 1.55;
}

.alert-error {
  background: #faf2f2;
  border-color: #e8c9c9;
  color: var(--error);
}

.alert-success {
  background: #f2f6f3;
  border-color: #c9dbcf;
  color: var(--success);
}

/* ——— Account ——— */
.account-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.account-nav button,
.account-nav a {
  text-align: left;
  padding: 0.85rem 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.account-nav button.active,
.account-nav a.active,
.account-nav button:hover,
.account-nav a:hover,
.account-nav button:focus-visible {
  color: var(--text);
}

.account-nav button:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: 3px;
}

.account-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 300;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

.account-form {
  max-width: 34rem;
}

.account-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

.account-empty {
  padding: 1rem 0 2rem;
  max-width: 26rem;
}

.account-empty h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.account-empty p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.panel[hidden] {
  display: none !important;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.order-card {
  border: 1px solid var(--border);
  padding: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
  transition: border-color var(--duration) var(--ease);
  background: var(--background);
}

.order-card:hover,
.order-card.is-focus {
  border-color: var(--border-strong);
}

.order-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.order-id {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.order-date {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

.status {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  height: fit-content;
}

.status.paid {
  border-color: var(--success);
  color: var(--success);
}

.status.partial {
  border-color: var(--accent);
  color: var(--accent);
}

.order-items {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  font-weight: 300;
  line-height: 1.6;
}

.order-ship {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-money {
  font-size: 0.9rem;
  font-weight: 300;
}

.order-money__sub {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-ready {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--success);
}

/* ——— Order success ——— */
.success-shell {
  max-width: 720px;
}

.success-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.success-card {
  border-top: 1px solid var(--border);
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.success-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.success-grid dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.success-grid dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.3;
}

.success-grid__wide {
  grid-column: 1 / -1;
}

.success-delivery,
.success-items {
  margin-bottom: 2.25rem;
}

.success-delivery h2,
.success-items h2 {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.success-delivery p,
.success-items li {
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

.success-note {
  margin-top: 0.75rem;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
}

.success-items ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.success-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.success-items li span:last-child {
  color: var(--text);
  white-space: nowrap;
}

.success-actions {
  margin-top: 0.5rem;
}

@media (max-width: 980px) {
  .flow-layout {
    grid-template-columns: 1fr;
  }

  .flow-summary {
    position: static;
  }

  .success-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .flow-shell {
    width: min(100% - 1.75rem, var(--max));
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(5.5rem, 11vw, 8rem) 0 2.5rem;
  margin-top: auto;
  background: var(--background);
}

.footer-premium {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-7);
  align-items: end;
  margin-bottom: var(--space-7);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  margin-bottom: var(--space-3);
  font-weight: 300;
}

.footer-brand-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 20rem;
  line-height: 1.75;
}

.footer-news {
  display: flex;
  gap: var(--space-1);
  align-items: stretch;
}

.footer-news input {
  flex: 1;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-none);
  background: var(--background);
  font-weight: 300;
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

.footer-news input:focus {
  border-color: var(--primary);
}

.footer-news .btn {
  flex-shrink: 0;
}

.footer-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-7);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-col h4 {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-weight: 400;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 300;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.footer-social a {
  margin: 0;
  color: var(--text);
  opacity: 0.55;
  transition: opacity var(--duration) var(--ease);
}

.footer-social a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 300;
}

.footer-grid {
  display: none;
}

/* ——— Home editorial extras ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-search {
  display: none;
}

@media (min-width: 1101px) {
  .nav-search {
    display: block;
  }

  .nav-search input {
    width: 132px;
    border: none;
    border-bottom: 1px solid currentColor;
    background: transparent;
    padding: 6px 0;
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: inherit;
    outline: none;
    opacity: 0.55;
    transition: opacity var(--duration) var(--ease), width 0.55s var(--ease-out);
  }

  .nav-search input::placeholder {
    color: inherit;
    opacity: 0.7;
  }

  .nav-search input:focus {
    opacity: 1;
    width: 168px;
  }
}

.drawer__search {
  padding: 0 var(--drawer-pad-x) var(--space-3);
}

.drawer__search input {
  width: 100%;
  min-height: 44px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
}

.drawer__search input:focus {
  border-bottom-color: var(--primary);
}

.section-breathe {
  padding: clamp(6rem, 14vw, 10rem) 0;
}

.section-flush {
  padding-bottom: 0;
}

.section-surface {
  background: var(--surface);
}

.section-lead {
  margin-top: var(--space-2);
  max-width: 24rem;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

/* ——— Home emotional chapters ——— */
.home-chapter--objects {
  padding-top: clamp(7rem, 16vw, 11rem);
}

.home-chapter--objects .section-title,
.home-chapter--new .section-title {
  font-weight: 300;
}

.product-grid--editorial {
  gap: clamp(3.5rem, 6vw, 5.75rem) clamp(1.5rem, 2.8vw, 2.75rem);
}

/* Paths — photography as navigation */
.home-chapter--paths {
  padding-top: clamp(5rem, 10vw, 7.5rem);
}

.home-chapter--paths .section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.category-chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 0;
  background: var(--border);
}

.category-chapter {
  display: flex;
  flex-direction: column;
  background: var(--background);
  overflow: hidden;
}

.category-chapter img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 1.8s var(--ease-out), opacity 0.7s var(--ease);
}

.category-chapter:hover img {
  transform: scale(1.035);
  opacity: 0.9;
}

.category-chapter__name {
  display: block;
  padding: 1.35rem 1.25rem 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Belief — full-viewport emotional centre */
.editorial--luni,
.home-chapter--belief {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Reasons — silence and clarity */
.home-chapter--reasons {
  padding-top: clamp(7rem, 15vw, 11rem);
  padding-bottom: clamp(7rem, 15vw, 11rem);
}

.home-chapter--reasons .section-header {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.home-chapter--reasons .section-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 300;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  margin-top: 0;
  padding-top: 0;
  max-width: 58rem;
}

.why-num {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  font-weight: 400;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.why-item p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  max-width: 16rem;
  font-size: 0.9rem;
}

.why-cta {
  margin-top: clamp(4rem, 8vw, 6rem);
}

/* Houses — typography as atmosphere */
.home-chapter--houses {
  padding-top: clamp(7rem, 14vw, 10.5rem);
  padding-bottom: clamp(7rem, 14vw, 10.5rem);
}

.brand-names {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.brand-names a {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: opacity 0.55s var(--ease);
  line-height: 1.15;
}

.brand-names a:hover {
  opacity: 0.35;
  color: var(--text);
}

/* New — quieter return to objects */
.home-chapter--new {
  padding-top: clamp(6.5rem, 13vw, 10rem);
}

/* Belong — invitation in open space */
.section-journal,
.home-chapter--belong {
  background: var(--surface);
  text-align: center;
  padding-top: clamp(7.5rem, 16vw, 11.5rem);
  padding-bottom: clamp(7.5rem, 16vw, 11.5rem);
}

.journal-block {
  max-width: 32rem;
  margin-inline: auto;
}

.journal-block .section-title {
  margin-bottom: 1.15rem;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
}

.journal-block .section-lead {
  margin-inline: auto;
  margin-bottom: var(--space-5);
  max-width: 22rem;
}

.journal-form {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  max-width: 24rem;
  margin-inline: auto;
}

.journal-form input {
  flex: 1;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--background);
  font-weight: 300;
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

.journal-form input:focus {
  border-color: var(--primary);
}

.journal-note {
  margin-top: var(--space-3);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-3.2%, -1.8%, 0); }
}

@keyframes heroVeil {
  from { opacity: 0.88; }
  to { opacity: 1; }
}

@keyframes heroShine {
  0% {
    opacity: 0;
    transform: translateX(-28%) skewX(-12deg);
  }
  35% { opacity: 0.7; }
  55% { opacity: 0.35; }
  100% {
    opacity: 0;
    transform: translateX(38%) skewX(-12deg);
  }
}

@keyframes brandReveal {
  from {
    opacity: 0;
    letter-spacing: 0.5em;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.34em;
    transform: translateY(0);
  }
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaBreathe {
  0%,
  100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(15, 15, 15, 0); }
  50% { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(15, 15, 15, 0.45); }
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }

  .editorial,
  .layout-2,
  .account-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bag-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bag-summary {
    position: static;
  }

  .pdp {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 1rem;
    padding-bottom: clamp(4rem, 12vw, 6.5rem);
  }

  .pdp-panel {
    position: static;
    max-width: none;
    padding-top: 0.25rem;
  }

  .pdp-stage {
    aspect-ratio: 3 / 4;
  }

  .pdp-buy {
    grid-template-columns: auto 1fr auto;
  }

  .footer-top,
  .footer-nav-grid,
  .category-chapters,
  .why-grid,
  .brand-names {
    grid-template-columns: 1fr;
  }

  .footer-news,
  .journal-form {
    flex-direction: column;
  }

  .brand-names {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .category-chapter img {
    aspect-ratio: 3 / 4;
  }

  .editorial-media,
  .editorial-media img {
    min-height: 62vh;
  }

  .home-chapter--belief .editorial-copy {
    padding: clamp(3.5rem, 10vw, 5rem) var(--container-pad);
  }

  .why-grid {
    max-width: none;
    gap: 2.75rem;
  }

  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.15rem;
  }
}

@media (max-width: 1100px) {
  .nav-left {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .pdp {
    width: min(100% - 1.75rem, var(--max));
    gap: 1.75rem;
  }

  .pdp-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .pdp-story {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }

  .pdp-crumb {
    margin-bottom: 1.5rem;
  }

  .pdp-thumbs {
    gap: 0.5rem;
  }

  :root {
    --nav-h: 68px;
  }

  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .nav-right .nav-link {
    display: none;
  }

  .logo {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }

  .hero-content {
    padding-bottom: 4.5rem;
    width: min(100% - 2rem, var(--max));
  }

  .hero--light {
    place-items: end start;
  }

  .hero--light .hero-content {
    max-width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    padding: 0 0 4.5rem;
  }

  .hero--light .hero-media img {
    object-position: 70% 40%;
  }

  .hero-brand {
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }

  .product-grid {
    gap: 2.75rem 1.15rem;
  }

  .section-breathe {
    padding: clamp(4.5rem, 14vw, 7rem) 0;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .cart-item-price {
    grid-column: 2;
    text-align: left;
  }

  .bag-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1.15rem;
  }

  .bag-thumb {
    width: 88px;
  }

  .bag-meta__top {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
  }

  .bag-line {
    text-align: left;
  }

  .bag-shell {
    width: min(100% - 1.75rem, var(--max));
    padding-top: 1.5rem;
  }

  .bag-hero {
    margin-bottom: 2.25rem;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1;
    min-width: 0;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
    animation: none;
  }
}
