:root {
  --bg: #f6f3ec;
  --text: #171717;
  --secondary: #6f6a63;
  --stone: #c8bfb2;
  --gold: #b59a67;
  --white: #ffffff;
  --editorial-dark: #151412;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --header-height: 64px;
  --announcement-height: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1440px;
  --pad-inline: 20px;

  /* Motion system — Iteration 8.5 (see docs/motion-design.md) */
  --motion-micro: 150ms;
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-standard: 380ms;
  --motion-editorial: 720ms;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-distance: 22px;
  --parallax-max: 18px;
}

@media (min-width: 768px) {
  :root { --pad-inline: 32px; }
}

@media (min-width: 1024px) {
  :root {
    --header-height: 86px;
    --pad-inline: 56px;
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

/* ——— Announcement ——— */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--announcement-height);
  padding: 0.2rem var(--pad-inline);
  background: var(--text);
  color: rgba(246, 243, 236, 0.88);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 191, 178, 0.45);
  transition: background-color var(--motion-base) var(--ease-luxury),
              box-shadow var(--motion-base) var(--ease-luxury),
              border-color var(--motion-base) var(--ease-luxury);
}

.site-header.is-scrolled {
  background: rgba(246, 243, 236, 0.98);
  border-bottom-color: rgba(200, 191, 178, 0.7);
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
  max-width: min(42vw, 9.5rem);
  padding-block: 0.25rem;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.brand__logo--desktop {
  display: none;
  width: 168px;
  max-height: 44px;
}

.brand__logo--mobile {
  display: block;
  width: clamp(7rem, 32vw, 8.4rem);
  max-width: 135px;
  max-height: 36px;
}

.brand__logo--footer {
  width: min(9.5rem, 100%);
  max-width: 150px;
  max-height: 40px;
}

.brand--footer {
  justify-self: start;
  max-width: 10rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:last-of-type {
  transform: translateY(-3.25px) rotate(-45deg);
}

.primary-nav {
  display: none;
  gap: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a {
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  justify-self: end;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.header-action:hover,
.header-action:focus-visible { color: var(--gold); }

.header-action--desk { display: none; }

/* ——— Language switcher ——— */
.language-switcher--desk {
  position: relative;
  display: none;
  align-items: center;
  height: 40px;
}

@media (min-width: 1024px) {
  .language-switcher--desk {
    display: inline-flex;
  }
}

.language-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.35rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.language-switcher__trigger:hover,
.language-switcher__trigger:focus-visible {
  color: var(--gold);
  outline: none;
}

.language-switcher__chevron {
  display: inline-flex;
  opacity: 0.7;
  transition: transform 0.18s var(--ease);
}

.language-switcher--desk.is-open .language-switcher__chevron {
  transform: rotate(180deg);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 120;
  width: 152px;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid rgba(200, 191, 178, 0.7);
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.06);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  pointer-events: none;
}

.language-switcher--desk.is-open .language-switcher__menu:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

a.language-switcher__option:hover,
a.language-switcher__option:focus-visible {
  background: rgba(200, 191, 178, 0.22);
  outline: none;
}

.language-switcher__option.is-active {
  font-weight: 500;
  cursor: default;
}

.language-switcher__check {
  font-size: 0.72rem;
  color: var(--secondary);
}

.language-switcher--mobile {
  display: none;
  width: min(16rem, 100%);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
  text-align: center;
}

.primary-nav.is-open .language-switcher--mobile {
  display: block;
}

.language-switcher__mobile-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
}

.language-switcher__mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.language-switcher__mobile-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.35rem;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

a.language-switcher__mobile-option:hover,
a.language-switcher__mobile-option:focus-visible {
  color: var(--gold);
}

.language-switcher__mobile-option.is-active {
  font-weight: 500;
}

@media (min-width: 1024px) {
  .language-switcher--mobile {
    display: none !important;
  }
}

.primary-nav.is-open {
  display: flex;
  position: fixed;
  inset: calc(var(--announcement-height) + var(--header-height)) 0 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg);
  z-index: 99;
  white-space: normal;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }

  .brand {
    justify-self: start;
    max-width: 11.5rem;
    padding-block: 0.35rem;
  }

  .brand__logo--desktop {
    display: block;
    width: clamp(9.5rem, 11vw, 11.25rem);
    max-width: 180px;
    max-height: 48px;
  }

  .brand__logo--mobile {
    display: none;
  }

  .primary-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(0.9rem, 1.6vw, 1.55rem);
  }

  .header-action--desk { display: inline-flex; }
}

/* ——— Search ——— */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  padding: 6rem var(--pad-inline) 2rem;
  background: rgba(246, 243, 236, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-luxury),
              visibility var(--motion-base) var(--ease-luxury);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay[hidden] {
  display: none !important;
}

.search-overlay__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(40rem, 100%);
  transform: translateY(10px);
  transition: transform var(--motion-base) var(--ease-luxury);
}

.search-overlay.is-open .search-overlay__form {
  transform: translateY(0);
}

.search-overlay__form input {
  flex: 1 1 14rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone);
  background: var(--white);
  font: inherit;
}

.search-overlay__close {
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  color: var(--secondary);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-luxury),
              color var(--motion-fast) var(--ease-luxury),
              border-color var(--motion-fast) var(--ease-luxury),
              transform var(--motion-micro) var(--ease-out);
}

.btn:active:not(:disabled) {
  transform: scale(0.985);
}

.btn.is-success {
  pointer-events: none;
}

.btn--dark {
  background: var(--text);
  color: var(--bg);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: #2a2a2a;
}

.btn--light {
  background: var(--white);
  color: var(--text);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--stone);
}

.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  border-color: var(--text);
}

.btn--sm {
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
}

.btn-link {
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  padding: 0;
}

.text-link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--gold);
}

/* ——— Brand placeholders ——— */
.brand-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(160deg, #f8f5ef 0%, #ebe4d8 55%, #e4ddd0 100%);
  color: var(--secondary);
}

.brand-placeholder__mark {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  font-size: 0.78rem;
  color: var(--secondary);
}

.brand-placeholder__hint {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
}

.brand-placeholder--card,
.brand-placeholder--pdp,
.brand-placeholder--cart,
.brand-placeholder--tile,
.brand-placeholder--story,
.brand-placeholder--hero,
.brand-placeholder--band {
  aspect-ratio: 4 / 5;
}

.brand-placeholder--mini {
  width: 3rem;
  height: 3.75rem;
  aspect-ratio: auto;
}

.brand-placeholder--mini .brand-placeholder__mark {
  font-size: 0.7rem;
  letter-spacing: 0;
  text-indent: 0;
}

/* ——— Hero ——— */
.hero {
  padding: 0;
}

.hero--campaign {
  margin: 0;
}

.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ebe4d8;
}

.hero__picture {
  display: block;
  width: 100%;
}

.hero__img {
  width: 100%;
  height: auto;
  min-height: 68vh;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
}

.hero__veil {
  display: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--pad-inline) 2.5rem;
  color: var(--text);
  background: var(--bg);
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 9vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: inherit;
}

.hero__subtitle {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--secondary);
}

.hero__copy .btn {
  margin-top: 1.5rem;
}

/* legacy grid kept for non-campaign pages if reused */
.hero__grid {
  display: grid;
  gap: 0;
  min-height: 75vh;
  align-items: stretch;
}

.hero__visual {
  order: -1;
  min-height: 48vh;
  overflow: hidden;
  background: #ebe4d8;
}

.hero__text {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--secondary);
}

.hero__actions { margin-top: 1.75rem; }

@media (min-width: 900px) {
  .hero__stage {
    min-height: 90vh;
    display: block;
  }

  .hero__picture,
  .hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 90vh;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 28%;
  }

  .hero__veil {
    display: block;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 48%,
        rgba(21, 20, 18, 0.12) 72%,
        rgba(21, 20, 18, 0.4) 100%
      );
    pointer-events: none;
  }

  .hero__copy {
    position: absolute;
    inset: 0;
    justify-content: flex-end;
    padding: 4.5rem var(--pad-inline) 4rem;
    color: #f6f3ec;
    background: transparent;
  }

  .hero__title {
    font-size: clamp(3.25rem, 5vw, 5.5rem);
    color: #f6f3ec;
  }

  .hero__subtitle {
    color: rgba(246, 243, 236, 0.9);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 78vh;
    gap: 0 2.5rem;
    padding-block: 1.25rem 1.75rem;
  }

  .hero__visual {
    order: 0;
    min-height: 100%;
  }
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 0;
}

.section--tight { padding: 1.5rem 0 2rem; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.section__text {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--secondary);
  font-weight: 300;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}

.benefit__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefit__hint {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 300;
}

/* ——— Product grids ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.15rem; }
}

@media (min-width: 1100px) {
  .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(68%, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.product-rail > * { scroll-snap-align: start; }

@media (min-width: 768px) {
  .product-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
}

.product-card { position: relative; }

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity var(--motion-standard) var(--ease-luxury),
              transform var(--motion-editorial) var(--ease-luxury);
}

.product-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .product-card__media:hover .product-card__img--primary,
  .product-card__media:focus-within .product-card__img--primary {
    transform: scale(1.025);
  }

  .product-card__media:has(.product-card__img--secondary):hover .product-card__img--primary,
  .product-card__media:has(.product-card__img--secondary):focus-within .product-card__img--primary {
    opacity: 0;
    transform: none;
  }

  .product-card__media:hover .product-card__img--secondary,
  .product-card__media:focus-within .product-card__img--secondary {
    opacity: 1;
  }

  .product-card__wish {
    opacity: 1;
    transition: opacity var(--motion-fast) var(--ease-luxury);
  }

  .product-card:hover .product-card__wish,
  .product-card:focus-within .product-card__wish {
    opacity: 1;
  }
}

.product-card__label {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.product-card__wish {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  margin: 0;
  opacity: 1;
}

.wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: rgba(246, 243, 236, 0.94);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(23, 23, 23, 0.08);
  transition: color var(--motion-fast) var(--ease-luxury),
              transform var(--motion-fast) var(--ease-out);
}

.wish-btn.is-active {
  color: var(--gold);
}

.js-motion .wish-btn.is-active {
  animation: wish-pop var(--motion-base) var(--ease-out) 1;
}

.product-card__body { padding: 0.7rem 0 0; }

.product-card__collection {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.product-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price { margin: 0.35rem 0 0; font-size: 0.88rem; }

.price--was {
  margin-left: 0.4rem;
  color: var(--secondary);
  text-decoration: line-through;
  font-size: 0.82rem;
}

.price--sale { color: var(--text); }

/* ——— Editorial / categories / brand ——— */
.editorial-band {
  position: relative;
  display: grid;
  min-height: 56vh;
  color: var(--bg);
  overflow: hidden;
}

.editorial-band__media {
  position: absolute;
  inset: 0;
}

.editorial-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.editorial-band__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 4rem var(--pad-inline);
}

.editorial-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.editorial-band__logo {
  width: clamp(7.5rem, 14vw, 9.25rem);
  max-width: 148px;
  height: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.editorial-band__text {
  margin: 1rem 0 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(246, 243, 236, 0.88);
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .category-tiles { gap: 1.25rem; }
}

.category-tile {
  display: block;
  position: relative;
  overflow: hidden;
}

.category-tile__media {
  display: block;
  aspect-ratio: 3 / 4;
  background: #ebe4d8;
  overflow: hidden;
}

.category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.category-tile:hover .category-tile__media img,
.category-tile:focus-visible .category-tile__media img {
  transform: scale(1.02);
}

.category-tile__name {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-story__grid,
.gift-edit__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .brand-story__grid,
  .gift-edit__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.brand-story__media,
.gift-edit__media {
  aspect-ratio: 4 / 5;
  background: #ebe4d8;
  overflow: hidden;
}

.brand-story__media img,
.gift-edit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-edit__copy .section__text { margin-bottom: 1.5rem; }

.newsletter__inner { max-width: 36rem; }
.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.newsletter__form input {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--stone);
  background: var(--white);
  font: inherit;
}

.newsletter__notice { color: var(--gold); }

/* ——— Page shell / PLP ——— */
.page-shell {
  padding: 1.75rem 0 4rem;
}

.page-header { margin: 0.35rem 0 1.65rem; }

.page-header--plp {
  margin: 0.75rem 0 2rem;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.page-lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: var(--secondary);
  font-weight: 300;
  font-size: 0.95rem;
}

.page-meta {
  margin: 0.5rem 0 0;
  color: var(--secondary);
  font-size: 0.88rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--secondary);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: var(--stone);
}

.plp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0 0 1.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(200, 191, 178, 0.28);
  border-bottom: 1px solid rgba(200, 191, 178, 0.28);
}

.plp-toolbar__count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--secondary);
}

.plp-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.plp-field { display: inline-flex; align-items: center; gap: 0.45rem; }

.plp-field__label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.plp-field select {
  min-height: 2.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--stone);
  background: var(--white);
  font: inherit;
  font-size: 0.85rem;
}

.plp-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--secondary);
}

.empty-state {
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}

.empty-state__title,
.empty-state h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

.empty-state__text {
  margin: 0.75rem 0 1.5rem;
  color: var(--secondary);
  font-weight: 300;
}

/* ——— PDP ——— */
.pdp {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .pdp {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
  }

  .pdp__info {
    position: sticky;
    top: calc(var(--announcement-height) + var(--header-height) + 1rem);
  }
}

.pdp__main-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

.pdp__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pdp__stack {
  display: none;
}

.pdp__stack-item {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

.pdp__stack-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

@media (min-width: 960px) {
  .pdp__gallery--editorial .pdp__stack {
    display: grid;
    gap: 1.15rem;
  }

  .pdp__gallery--editorial .pdp__main-image,
  .pdp__gallery--editorial .pdp__thumbs {
    display: none;
  }
}

.pdp__thumb {
  padding: 0;
  border: 1px solid transparent;
  background: #ebe4d8;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.pdp__thumb.is-active { border-color: var(--gold); }

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
}

.pdp__price { margin: 0.85rem 0 0; font-size: 1.05rem; }

.pdp__sku {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--secondary);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.pdp__stock {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--secondary);
}

.pdp__short {
  margin: 1rem 0 0;
  color: var(--secondary);
  font-weight: 300;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pdp__actions {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.pdp-cart-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.variant-group { margin-top: 1.25rem; }

.variant-group__label {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.variant-options { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.variant-option {
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--stone);
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.variant-option.is-active {
  border-color: var(--text);
  background: var(--white);
}

.spec-list {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.spec-list dt {
  margin: 0;
  color: var(--secondary);
  font-weight: 400;
}

.spec-list dd { margin: 0; }

.claim-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--secondary);
}

.pdp-accordions { margin-top: 1.75rem; }

.pdp-acc {
  border-top: 1px solid rgba(200, 191, 178, 0.55);
  padding: 0.85rem 0;
}

.pdp-acc:last-child { border-bottom: 1px solid rgba(200, 191, 178, 0.55); }

.pdp-acc summary {
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

.pdp-acc summary::-webkit-details-marker { display: none; }

.pdp-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--motion-base) var(--ease-luxury);
}

.pdp-acc.is-open .pdp-acc__panel,
.pdp-acc[open]:not([data-motion-accordion]) .pdp-acc__panel {
  grid-template-rows: 1fr;
}

.pdp-acc__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.pdp-acc__panel-inner > :first-child {
  margin-top: 0.75rem;
}

.pdp-acc p {
  margin: 0.75rem 0 0;
  color: var(--secondary);
  font-weight: 300;
  font-size: 0.92rem;
}

.pdp__main-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

.pdp__main-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--motion-standard) var(--ease-luxury);
}

.pdp__main-image-wrap img.is-fading-out {
  opacity: 0;
}

.pdp-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--pad-inline);
  background: rgba(246, 243, 236, 0.96);
  border-top: 1px solid rgba(200, 191, 178, 0.55);
  backdrop-filter: blur(8px);
}

.pdp-sticky-bar__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

@media (max-width: 959px) {
  .pdp-sticky-bar { display: flex; }
  body:has(.pdp-sticky-bar) .page-shell { padding-bottom: 5.5rem; }
}

/* ——— Cart ——— */
.cart-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.9fr);
    gap: 3rem;
  }
}

.cart-lines { display: grid; gap: 1.25rem; }

.cart-line {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(200, 191, 178, 0.45);
}

@media (min-width: 720px) {
  .cart-line {
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    align-items: start;
  }
}

.cart-line--unavailable { opacity: 0.75; }

.cart-line__media {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.cart-line__meta {
  margin: 0.25rem 0 0;
  color: var(--secondary);
  font-size: 0.85rem;
}

.cart-line__warn {
  margin: 0.45rem 0 0;
  color: #8a1c2e;
  font-size: 0.88rem;
}

.cart-line__unit { margin: 0.55rem 0 0; font-size: 0.95rem; }

.cart-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.cart-line__total {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.qty-form { display: inline-flex; align-items: center; gap: 0.45rem; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stone);
  background: var(--white);
}

.qty-stepper__btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.qty-stepper .qty-input {
  width: 3rem;
  min-height: 2.4rem;
  border: 0;
  border-inline: 1px solid var(--stone);
  text-align: center;
  background: transparent;
}

.qty-input {
  width: 4.25rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--stone);
  background: var(--white);
  font: inherit;
}

.cart-summary {
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(200, 191, 178, 0.55);
}

@media (min-width: 960px) {
  .cart-summary {
    position: sticky;
    top: calc(var(--announcement-height) + var(--header-height) + 1rem);
    padding: 1.5rem;
    border: 1px solid rgba(200, 191, 178, 0.55);
    background: var(--white);
  }
}

.cart-summary__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.cart-summary__rows {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.cart-summary__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.cart-summary__rows dt,
.cart-summary__rows dd { margin: 0; }

.cart-summary__total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
  font-size: 1.05rem;
  font-weight: 500;
}

.cart-summary__cta { width: 100%; text-align: center; }

.cart-summary__continue {
  display: inline-block;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.cart-summary__note {
  margin: 0.85rem 0 0;
  color: var(--secondary);
  font-size: 0.82rem;
  text-align: center;
}

.cart-summary__clear { margin-top: 1rem; text-align: center; }

.header-action__count {
  position: absolute;
  top: -0.1rem;
  right: -0.2rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.6rem;
  line-height: 1.1rem;
  text-align: center;
}

.flash {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
}

.flash--ok {
  background: rgba(181, 154, 103, 0.14);
  border-left: 2px solid var(--gold);
}

.flash--error {
  background: rgba(138, 28, 46, 0.08);
  border-left: 2px solid #8a1c2e;
}

.validation-summary-valid {
  display: none !important;
}

/* ——— Checkout ——— */
.checkout-mobile-summary {
  display: block;
  margin: 0 0 1.35rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(200, 191, 178, 0.4);
  border-bottom: 1px solid rgba(200, 191, 178, 0.4);
}

.checkout-mobile-summary summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  list-style: none;
}

.checkout-mobile-summary summary::-webkit-details-marker { display: none; }

.checkout-mobile-summary summary strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.checkout-mobile-summary[open] summary {
  margin-bottom: 1rem;
}

@media (min-width: 960px) {
  .checkout-mobile-summary { display: none; }
}

.checkout-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
    gap: 0;
  }
}

.checkout-block {
  margin-bottom: 1.65rem;
  padding-bottom: 1.5rem;
}

.checkout-block:not(:last-child) {
  border-bottom: 1px solid rgba(200, 191, 178, 0.28);
}

.checkout-block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid__full { grid-column: 1 / -1; }
}

.form-grid label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.form-grid input {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(180, 170, 155, 0.7);
  border-radius: 1px;
  background: var(--white);
  font: inherit;
  font-size: 0.92rem;
}

.form-grid input:focus {
  outline: 1px solid var(--editorial-dark);
  outline-offset: 0;
  border-color: var(--editorial-dark);
}

.check-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.7rem 0;
  font-size: 0.88rem;
}

.checkout-summary {
  display: none;
}

@media (min-width: 960px) {
  .checkout-summary {
    display: block;
  }
}

.checkout-summary h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.checkout-summary__items {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.checkout-summary__item {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.84rem;
}

.checkout-summary__item img,
.checkout-summary__item .brand-placeholder--mini {
  width: 4.25rem;
  height: 5.3rem;
  object-fit: contain;
  background: #efeae1;
}

.checkout-summary__item div { display: grid; gap: 0.12rem; }
.checkout-summary__item strong { font-weight: 500; color: var(--text); }
.checkout-summary__item span,
.checkout-summary__item em {
  font-style: normal;
  color: var(--secondary);
  font-size: 0.78rem;
}

.checkout-summary__item em {
  font-size: 0.84rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-summary__collection {
  font-size: 0.58rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-submit { width: 100%; margin: 0.5rem 0 0.85rem; }
.checkout-submit--mobile { display: block; margin-top: 1.25rem; }
.checkout-submit--desk { display: none; }

@media (min-width: 960px) {
  .checkout-submit--mobile { display: none; }
  .checkout-submit--desk { display: inline-flex; }
}

.saved-addresses { display: grid; gap: 0.55rem; margin-bottom: 1rem; }

.saved-address {
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid rgba(200, 191, 178, 0.45);
  background: var(--white);
  cursor: pointer;
}

.saved-address.is-selected {
  border-color: rgba(28, 28, 28, 0.55);
  background: rgba(241, 238, 230, 0.65);
}

.checkout-shipping__options {
  display: grid;
  gap: 0.55rem;
}

.checkout-shipping__option {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
  cursor: pointer;
}

.checkout-shipping__option:last-child {
  border-bottom: none;
}

.checkout-shipping__option input {
  margin-top: 0.28rem;
  accent-color: var(--text);
}

.checkout-shipping__body {
  display: grid;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.checkout-shipping__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.checkout-shipping__row strong {
  font-weight: 500;
  color: var(--text);
}

.checkout-shipping__row em {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--text-muted, #6b6560);
  white-space: nowrap;
}

.checkout-shipping__desc,
.checkout-shipping__eta {
  font-size: 0.86rem;
  color: var(--text-muted, #6b6560);
  line-height: 1.45;
}

.checkout-shipping__option.is-selected .checkout-shipping__row strong,
.checkout-shipping__option:has(input:checked) .checkout-shipping__row strong {
  color: var(--text);
}

.checkout-shipping__option:has(input:checked) {
  border-bottom-color: rgba(28, 28, 28, 0.28);
}

.checkout-shipping__progress {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: var(--text-muted, #6b6560);
}

.checkout-shipping__progress--unlocked {
  color: var(--text);
}

.cart-freeship {
  margin: 0 0 1.1rem;
}

.cart-freeship__text {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted, #6b6560);
  line-height: 1.4;
}

.cart-freeship__track {
  height: 2px;
  background: rgba(200, 191, 178, 0.45);
  overflow: hidden;
}

.cart-freeship__fill {
  display: block;
  height: 100%;
  background: var(--text);
  transition: width 0.35s ease;
}

.check-row.is-collapsed {
  display: none;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
  background: #f1eee6;
}

.site-footer__inner { display: grid; gap: 2rem; }

.site-footer__tagline {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
}

.site-footer__tagline-tr {
  margin: 0.25rem 0 0;
  color: var(--secondary);
  font-size: 0.9rem;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-footer__columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.site-footer__columns h2 {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-footer__columns a,
.site-footer__columns span {
  display: block;
  margin: 0.35rem 0;
  color: var(--secondary);
  font-size: 0.88rem;
}

.site-footer__copy {
  margin: 1rem 0 0;
  color: var(--secondary);
  font-size: 0.78rem;
}

.site-footer__newsletter {
  margin-top: 0.75rem;
}

.site-footer__newsletter h2 {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-footer__newsletter p {
  margin: 0 0 0.55rem;
  color: var(--secondary);
  font-size: 0.88rem;
}

.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.order-list a {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.search-page-form input {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--stone);
  background: var(--white);
  font: inherit;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.55rem;
  border: 1px solid transparent;
  font-size: 0.85rem;
}

.pagination a:hover,
.pagination .is-current {
  border-color: var(--stone);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ——— Iteration 7.8 luxury art direction ——— */
.section--commerce {
  padding: 4.75rem 0;
}

.section--loved {
  padding-top: 3.5rem;
}

.section--quiet,
.section--discover {
  padding: 3rem 0 2rem;
}

.section__head--stacked {
  display: block;
  margin-bottom: 2rem;
}

.section__head--stacked .eyebrow {
  color: var(--secondary);
}

.section__foot {
  margin-top: 1.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

.section__text {
  font-size: 1rem;
  line-height: 1.7;
}

.product-card--editorial .product-card__price {
  font-size: 0.8rem;
  color: var(--secondary);
}

.product-card--editorial .product-card__name {
  font-size: 1.05rem;
}

.brand-statement {
  padding: clamp(3.5rem, 11vh, 7.5rem) 0;
}

.brand-statement__inner {
  max-width: 36rem;
  text-align: center;
}

.brand-statement__mark {
  margin: 0 0 1.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.brand-statement__line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
}

.brand-statement__line--italic {
  margin-top: 0.4rem;
  font-style: italic;
  color: var(--secondary);
}

/* Collection story system — distinct layouts */
.collection-story {
  position: relative;
  display: grid;
  gap: 0;
  background: var(--bg);
}

.collection-story__media {
  position: relative;
  overflow: hidden;
  background: #ebe4d8;
  min-height: 58vh;
}

.collection-story__media picture,
.collection-story__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 58vh;
  object-fit: cover;
  object-position: center;
}

.collection-story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem var(--pad-inline) 3.25rem;
  max-width: 34rem;
}

.collection-story__label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
}

.collection-story__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.12;
}

.collection-story__sub {
  margin: 1.1rem 0 1.65rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary);
  max-width: 22rem;
  line-height: 1.55;
}

.collection-story--dark {
  background: var(--editorial-dark);
  color: #f6f3ec;
}

.collection-story--dark .collection-story__label,
.collection-story--dark .collection-story__sub {
  color: rgba(246, 243, 236, 0.72);
}

.collection-story--dark .collection-story__headline {
  color: #f6f3ec;
}

/* Mobile: stacked image → copy for all layouts */
@media (max-width: 899px) {
  .collection-story--overlay .collection-story__copy,
  .collection-story--fullbleed .collection-story__copy {
    color: var(--text);
  }

  .collection-story--overlay .collection-story__label,
  .collection-story--overlay .collection-story__sub,
  .collection-story--fullbleed .collection-story__label,
  .collection-story--fullbleed .collection-story__sub {
    color: var(--secondary);
  }

  .collection-story--overlay .collection-story__headline,
  .collection-story--fullbleed .collection-story__headline {
    color: var(--text);
  }

  .collection-story--overlay .text-link--on-dark,
  .collection-story--fullbleed .text-link--on-dark {
    color: var(--text);
    border-bottom-color: rgba(23, 23, 23, 0.35);
  }

  .collection-story--dark {
    background: var(--bg);
    color: var(--text);
  }

  .product-rail-mobile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(68%, 1fr);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .product-rail-mobile > * {
    scroll-snap-align: start;
  }
}

@media (min-width: 900px) {
  /* NEVE: full-bleed overlay, bottom-left copy */
  .collection-story--overlay {
    display: block;
    min-height: 92vh;
  }

  .collection-story--overlay .collection-story__media,
  .collection-story--overlay .collection-story__media picture,
  .collection-story--overlay .collection-story__media img {
    position: absolute;
    inset: 0;
    min-height: 92vh;
  }

  .collection-story--overlay .collection-story__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem var(--pad-inline) 4rem;
    color: #f6f3ec;
    background: linear-gradient(180deg, transparent 0%, rgba(21, 20, 18, 0.42) 100%);
  }

  .collection-story--overlay .collection-story__label,
  .collection-story--overlay .collection-story__sub {
    color: rgba(246, 243, 236, 0.78);
  }

  .collection-story--overlay .collection-story__headline {
    color: #f6f3ec;
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  }

  /* ANGELO: image 60% left / copy 40% right */
  .collection-story--split-60 {
    grid-template-columns: 1.35fr 0.9fr;
    min-height: 88vh;
    align-items: stretch;
  }

  .collection-story--split-60 .collection-story__copy {
    padding-inline: clamp(2.5rem, 5vw, 5rem) var(--pad-inline);
  }

  /* AMORE: copy 40% left / image 60% right */
  .collection-story--split-40 {
    grid-template-columns: 0.9fr 1.35fr;
    min-height: 86vh;
    align-items: stretch;
  }

  .collection-story--split-40 .collection-story__media {
    order: 2;
  }

  .collection-story--split-40 .collection-story__copy {
    order: 1;
    margin-inline-start: auto;
    padding-inline: var(--pad-inline) clamp(2.5rem, 5vw, 5rem);
  }

  .collection-story--split-60 .collection-story__media,
  .collection-story--split-60 .collection-story__media img,
  .collection-story--split-40 .collection-story__media,
  .collection-story--split-40 .collection-story__media img {
    min-height: 100%;
  }

  /* STELLA: dark full-bleed campaign */
  .collection-story--fullbleed {
    display: block;
    min-height: 94vh;
    background: var(--editorial-dark);
  }

  .collection-story--fullbleed .collection-story__media,
  .collection-story--fullbleed .collection-story__media picture,
  .collection-story--fullbleed .collection-story__media img {
    position: absolute;
    inset: 0;
    min-height: 94vh;
  }

  .collection-story--fullbleed .collection-story__media img {
    filter: brightness(0.72);
  }

  .collection-story--fullbleed .collection-story__copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding: 4rem var(--pad-inline);
    color: #f6f3ec;
  }

  .collection-story--fullbleed .collection-story__headline {
    font-size: clamp(3rem, 5vw, 5rem);
  }

  .product-rail-mobile {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
}

.editorial-band--dark {
  min-height: 72vh;
  background: var(--editorial-dark);
}

.editorial-band--dark .editorial-band__media img {
  filter: brightness(0.62);
}

.editorial-band--dark .eyebrow {
  color: rgba(246, 243, 236, 0.7);
}

.editorial-band__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.text-link--on-dark {
  color: #f6f3ec;
  border-bottom-color: rgba(246, 243, 236, 0.45);
}

.text-link--on-dark:hover,
.text-link--on-dark:focus-visible {
  border-bottom-color: #f6f3ec;
}

.gift-edit--editorial {
  padding: 0;
}

.gift-edit__bleed {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: #ebe4d8;
}

.gift-edit__bleed > img {
  width: 100%;
  height: 100%;
  min-height: 68vh;
  object-fit: cover;
  object-position: center;
}

.gift-edit__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem var(--pad-inline) 3.25rem;
  color: #f6f3ec;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 20, 18, 0.55) 100%);
}

.gift-edit__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 500;
  font-style: italic;
}

.gift-edit__sub {
  margin: 0.75rem 0 1.5rem;
  font-weight: 300;
  color: rgba(246, 243, 236, 0.88);
}

.brand-story--editorial {
  padding: 5.5rem 0;
}

.brand-story--editorial .brand-story__media {
  aspect-ratio: 4 / 5;
}

.brand-story--editorial .section__text + .section__text {
  margin-top: 0.85rem;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  justify-content: center;
}

.category-links--editorial {
  justify-content: flex-start;
  gap: 1.25rem 2.5rem;
  margin-top: 1rem;
}

.category-links__item {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.category-links__item:hover,
.category-links__item:focus-visible {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.trust-row--center {
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 191, 178, 0.35);
}

@media (min-width: 900px) {
  .gift-edit__bleed,
  .gift-edit__bleed > img,
  .gift-edit__bleed picture,
  .gift-edit__bleed picture img {
    min-height: 78vh;
  }

  .editorial-band--dark {
    min-height: 80vh;
  }
}

/* PLP quieter filters + future editorial insert architecture */
.plp-toolbar {
  border-top-color: rgba(200, 191, 178, 0.22);
  border-bottom-color: rgba(200, 191, 178, 0.22);
}

.plp-field select {
  border-color: rgba(200, 191, 178, 0.55);
  background: transparent;
}

.product-grid--4 .product-grid__editorial {
  grid-column: span 2;
}

/* PDP storytelling weight */
@media (min-width: 960px) {
  .pdp {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.pdp__title {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  line-height: 1.18;
}

.pdp__short {
  max-width: 28rem;
  margin-top: 0.85rem;
}

.pdp__sku {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 0.04em;
}

.cart-line__collection {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* Collection visual worlds */
/* Pendant sits in lower third of portrait asset — bias crop downward so snowflake isn't clipped */
.collection-story--neve .collection-story__media img {
  object-position: center 78%;
  filter: saturate(0.9) brightness(1.04);
}

.collection-story--angelo .collection-story__media img {
  object-position: center 28%;
  filter: saturate(1.05) contrast(1.02);
}

.collection-story--amore .collection-story__media img {
  object-position: center 40%;
  filter: sepia(0.08) saturate(1.05);
}

/* Star pendant sits mid-lower in portrait asset — bias crop downward so tip isn't clipped */
.collection-story--stella .collection-story__media img {
  object-position: center 78%;
  filter: brightness(0.78) contrast(1.08) saturate(0.92);
}

.collection-story__headline {
  line-height: 1.08;
}

.collection-story__sub {
  max-width: 20rem;
}

.collection-story__copy .text-link {
  margin-top: 0.25rem;
}

.brand__logo--desktop {
  max-width: 176px;
}

@media (min-width: 1024px) {
  .brand {
    max-width: 12rem;
    padding-inline-end: 0.5rem;
  }
}

/* ——— Auth luxury split ——— */
body.page-auth {
  background: var(--bg);
}

body.page-auth .site-header {
  display: none;
}

.auth-split {
  display: grid;
  min-height: 100vh;
}

.auth-split__visual {
  display: none;
  position: relative;
  overflow: hidden;
  background: #ebe4d8;
}

.auth-split__visual img,
.auth-split__visual picture,
.auth-split__visual picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.auth-split__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 20, 18, 0.35) 100%);
}

.auth-split__caption {
  position: absolute;
  left: var(--pad-inline);
  bottom: 2.5rem;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: #f6f3ec;
}

.auth-split__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--pad-inline) 3rem;
  background: var(--bg);
}

.auth-panel {
  width: min(26rem, 100%);
}

.auth-panel__brand {
  display: inline-block;
  margin-bottom: 2rem;
  line-height: 0;
}

.auth-panel__brand img {
  width: 150px;
  height: auto;
}

.auth-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.auth-panel__lead {
  margin: 0.75rem 0 1.75rem;
  color: var(--secondary);
  font-weight: 300;
  max-width: 24rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .auth-form__grid { grid-template-columns: 1fr 1fr; }
}

.form-field label,
.auth-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.form-field__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.auth-forgot {
  font-size: 0.75rem;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-field input,
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(200, 191, 178, 0.75);
  background: var(--white);
  font: inherit;
}

.form-field input:focus,
.auth-form input:focus {
  outline: none;
  border-color: var(--text);
}

.auth-form__cta {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-remember {
  margin: 0.15rem 0 0;
}

.auth-alt {
  margin: 1.5rem 0 0;
  color: var(--secondary);
  font-size: 0.9rem;
}

.auth-alt a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--text);
}

.auth-solo {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 4rem var(--pad-inline);
}

.validation-summary,
.field-validation-error {
  color: #8a3b33;
  font-size: 0.85rem;
}

@media (min-width: 960px) {
  .auth-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .auth-split__visual {
    display: block;
    min-height: 100vh;
  }

  .auth-split__visual--short {
    min-height: 100vh;
  }

  .auth-split__panel {
    padding: 3rem 4rem;
  }
}

@media (max-width: 959px) {
  .auth-split__visual {
    display: block;
    height: 38vh;
    min-height: 220px;
  }

  .auth-split__caption { display: none; }

  .auth-split__panel {
    padding-top: 2rem;
  }
}

/* ——— Checkout 7.9.1 luxury commerce shell ——— */
body.page-checkout {
  background: #f7f4ed;
}

body.page-checkout #main-content {
  padding: 0;
}

.site-header--checkout {
  border-bottom: 1px solid rgba(200, 191, 178, 0.28);
  background: #f7f4ed;
}

.site-header--checkout .site-header__inner {
  grid-template-columns: 1fr auto;
  gap: 1rem;
  max-width: 1360px;
}

.site-header--checkout .brand--checkout {
  justify-self: start;
  max-width: 10rem;
}

.checkout-secure {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: end;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

.checkout-secure svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.header-spacer { width: 44px; }

.checkout-shell {
  background: #f7f4ed;
}

.checkout-shell__inner {
  width: min(100%, 1360px);
  margin-inline: auto;
  padding: 1.35rem var(--pad-inline) 3.5rem;
}

.checkout-page-head {
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.checkout-page-head__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
}

.checkout-page-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.checkout-signin {
  margin: -0.25rem 0 0.95rem;
  font-size: 0.82rem;
  color: var(--secondary);
}

.checkout-signin a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-grid--checkout {
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .form-grid--checkout {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid--checkout .form-grid__full {
    grid-column: 1 / -1;
  }

  .form-grid--checkout .form-grid__spacer {
    display: block;
  }
}

.form-grid__spacer { display: none; }

.form-grid--checkout.is-collapsed {
  display: none;
}

.form-grid--checkout label {
  margin-bottom: 0.22rem;
  font-size: 0.56rem;
  letter-spacing: 0.15em;
}

.form-grid--checkout input {
  min-height: 52px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(175, 165, 150, 0.65);
  border-radius: 1px;
  background: #fffcf7;
}

.form-grid--checkout input:hover {
  border-color: rgba(140, 130, 115, 0.75);
}

.form-grid--checkout input:focus {
  outline: 1px solid var(--editorial-dark);
  border-color: var(--editorial-dark);
  box-shadow: 0 0 0 1px rgba(181, 154, 103, 0.25);
}

.checkout-block--legal {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.checkout-block--legal .check-row,
.checkout-legal .check-row {
  color: var(--secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.checkout-legal--desk {
  display: none;
  margin: 0.85rem 0 0.35rem;
}

.checkout-legal--mobile {
  display: block;
}

@media (min-width: 960px) {
  .checkout-legal--desk {
    display: block;
  }

  .checkout-legal--mobile {
    display: none;
  }
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
    align-items: stretch;
    min-height: calc(100vh - var(--header-height) - 4rem);
  }

  .checkout-main {
    max-width: 34.5rem;
    padding: 0 2.75rem 2rem 0;
  }

  .checkout-summary {
    display: block;
    margin: -1.35rem calc(var(--pad-inline) * -1) -3.5rem 0;
    padding: 2rem 0 3.5rem;
    background: #f1ebe2;
    border-left: 1px solid rgba(200, 191, 178, 0.45);
    align-self: stretch;
  }

  .checkout-summary__panel {
    position: sticky;
    top: calc(var(--header-height) + 1.25rem);
    padding: 0.25rem 2.25rem 1rem calc(2.25rem - 1px);
    max-width: 26rem;
  }
}

.checkout-totals {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--secondary);
}

.checkout-totals dt,
.checkout-totals dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.checkout-totals__grand {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(180, 170, 155, 0.55);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.checkout-totals__grand dt,
.checkout-totals__grand dd {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.checkout-totals--mobile {
  margin-top: 0.85rem;
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  margin: 0.35rem 0 0.75rem;
  border-radius: 1px;
  background: var(--editorial-dark);
  color: #f7f4ed;
  letter-spacing: 0.2em;
}

.checkout-submit:hover,
.checkout-submit:focus-visible {
  background: #2a2824;
}

.checkout-trust {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.checkout-trust--mobile,
.checkout-back--mobile {
  display: block;
}

.checkout-back {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.checkout-back:hover,
.checkout-back:focus-visible {
  color: var(--text);
}

@media (min-width: 960px) {
  .checkout-trust--mobile,
  .checkout-back--mobile {
    display: none;
  }
}

@media (max-width: 959px) {
  .checkout-shell__inner {
    padding-top: 1rem;
    padding-bottom: 2.75rem;
  }

  .checkout-page-head {
    margin-bottom: 1rem;
  }

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

  .checkout-submit--mobile {
    min-height: 54px;
  }
}

/* Align auth inputs with checkout geometry */
.form-field input,
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  min-height: 52px;
  border-radius: 1px;
  border-color: rgba(175, 165, 150, 0.65);
  background: #fffcf7;
  padding: 0.55rem 0.75rem;
}

.form-field input:focus,
.auth-form input:focus {
  outline: 1px solid var(--editorial-dark);
  border-color: var(--editorial-dark);
  box-shadow: 0 0 0 1px rgba(181, 154, 103, 0.25);
}

.form-field label,
.auth-form label {
  margin-bottom: 0.22rem;
  font-size: 0.56rem;
  letter-spacing: 0.15em;
}

.auth-form__cta {
  min-height: 54px;
  border-radius: 1px;
  letter-spacing: 0.18em;
  background: var(--editorial-dark);
  color: #f7f4ed;
}

.page-title--checkout {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.page-header--checkout { margin-bottom: 1.75rem; }

.cart-layout {
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .cart-summary {
    position: sticky;
    top: calc(var(--announcement-height) + var(--header-height) + 1rem);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(200, 191, 178, 0.35);
  }
}

.cart-line {
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
  padding-bottom: 1.25rem;
  box-shadow: none;
}

.cart-line__media {
  width: 7.5rem;
  background: linear-gradient(160deg, #f8f5ef, #ebe4d8);
}

@media (min-width: 768px) {
  .cart-line__media { width: 9rem; }
}

.confirmation {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 3rem 0 5rem;
}

.confirmation__panel {
  width: min(32rem, 100%);
  text-align: center;
}

.confirmation__brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.confirmation__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
}

.confirmation__lead {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--secondary);
}

.confirmation__meta {
  margin: 1.5rem 0 0;
  color: var(--secondary);
}

.confirmation__summary {
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(200, 191, 178, 0.4);
  border-bottom: 1px solid rgba(200, 191, 178, 0.4);
  text-align: left;
}

.confirmation__summary h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.confirmation__total {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 1.05rem;
}

.gift-edit__bleed picture,
.gift-edit__bleed picture img,
.editorial-band__media picture,
.editorial-band__media picture img,
.brand-story__media picture,
.brand-story__media picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gift-edit__bleed picture img {
  min-height: 68vh;
}

.confirmation__status {
  margin: 0.75rem 0 0;
  color: var(--secondary);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.confirmation__secondary {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ——— Account orders ——— */
body.page-account {
  background: #f7f4ed;
}

.account-shell {
  max-width: 920px;
  padding-bottom: 4rem;
}

.account-head {
  margin: 0 0 1.75rem;
}

.account-head__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

.account-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
}

.account-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0;
  color: var(--secondary);
  font-size: 0.86rem;
}

.account-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: var(--secondary);
}

.account-breadcrumb a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.account-orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(200, 191, 178, 0.4);
}

.account-orders__row {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
}

.account-orders__number {
  display: block;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.account-orders__date,
.account-orders__status {
  color: var(--secondary);
  font-size: 0.84rem;
}

.account-orders__total {
  font-variant-numeric: tabular-nums;
}

.account-orders__link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 768px) {
  .account-orders__row {
    grid-template-columns: minmax(0, 1.4fr) auto auto auto;
    align-items: center;
    gap: 1.25rem;
  }

  .account-orders__link {
    justify-self: end;
  }
}

.account-detail__block {
  margin: 0 0 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(200, 191, 178, 0.3);
}

.account-detail__block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.account-detail__block p {
  margin: 0;
  color: var(--secondary);
  line-height: 1.55;
}

.account-detail__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.account-detail__item {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.88rem;
}

.account-detail__item img,
.account-detail__item .brand-placeholder--mini {
  width: 4.25rem;
  height: 5.3rem;
  object-fit: contain;
  background: #efeae1;
}

.account-detail__item div {
  display: grid;
  gap: 0.15rem;
}

.account-detail__item span,
.account-detail__item em {
  font-style: normal;
  color: var(--secondary);
  font-size: 0.8rem;
}

.account-detail__item em {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.account-detail__ref {
  margin: 0.85rem 0 0;
  color: var(--secondary);
  font-size: 0.8rem;
}

/* ——— Account layout shell ——— */
.account-layout {
  display: grid;
  gap: 2rem;
  max-width: 1080px;
  padding-bottom: 4rem;
}

.account-nav {
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
  padding-bottom: 1.25rem;
}

.account-nav__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

.account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.account-nav__link {
  display: inline-block;
  padding: 0.15rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.account-nav__link:hover,
.account-nav__link.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.account-nav__link--button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  padding: 0.15rem 0;
}

.account-nav__logout form {
  display: inline;
}

.account-main {
  min-width: 0;
}

.account-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.account-head__cta {
  flex-shrink: 0;
}

.account-form-section {
  margin: 0 0 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200, 191, 178, 0.3);
}

.account-form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.account-form-section__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.account-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.account-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .account-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.account-form .form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.account-form .form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(200, 191, 178, 0.75);
  background: var(--white);
  font: inherit;
  transition: border-color 0.2s ease;
}

.account-form .form-field input:focus {
  outline: none;
  border-color: var(--text);
}

.form-field--readonly input[readonly] {
  background: rgba(239, 234, 225, 0.5);
  color: var(--secondary);
  cursor: default;
}

.account-form__hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--secondary);
}

.account-form__check {
  margin: 0.25rem 0 0;
}

.account-form__submit {
  margin-top: 0.35rem;
  width: fit-content;
}

.account-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.account-form__cancel {
  font-size: 0.82rem;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.account-overview {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(200, 191, 178, 0.4);
}

.account-overview__block {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
}

.account-overview__label {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
}

.account-overview__value {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.account-overview__value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.account-overview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  color: var(--secondary);
}

.account-overview__empty {
  margin: 0 0 0.65rem;
  color: var(--secondary);
}

.account-overview__action {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.account-addresses {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(200, 191, 178, 0.4);
}

.account-addresses__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(200, 191, 178, 0.35);
}

.account-addresses__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.account-addresses__badge {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.account-addresses__body {
  margin: 0 0 0.85rem;
  color: var(--secondary);
  line-height: 1.55;
  font-size: 0.88rem;
}

.account-addresses__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-addresses__actions a,
.account-addresses__actions button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.account-addresses__delete {
  color: #8a3b33 !important;
}

@media (min-width: 960px) {
  .account-layout {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .account-nav {
    position: sticky;
    top: 6rem;
    border-bottom: none;
    padding-bottom: 0;
  }

  .account-nav__list {
    flex-direction: column;
    gap: 0.15rem;
  }

  .account-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 2rem;
    border-top: none;
  }

  .account-overview__block {
    border-bottom: none;
    padding: 0;
    border-left: 1px solid rgba(200, 191, 178, 0.35);
    padding-left: 1.25rem;
  }

  .account-overview__block:first-child {
    border-left: none;
    padding-left: 0;
  }
}

@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;
  }

  .js-motion [data-reveal],
  .js-motion [data-reveal-stagger] > *,
  .js-motion .hero__copy > *,
  .js-motion .hero__img,
  .js-motion .confirmation__panel {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    animation: none !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}

/* ——— Iteration 8.5 motion system ——— */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-settle {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

@keyframes wish-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

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

/* Progressive enhancement: hidden until revealed only when JS enables motion */
.js-motion [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: none;
}

.js-motion [data-reveal="image"]:not(.is-revealed) {
  transform: none;
  clip-path: inset(0 0 12% 0);
}

.js-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition:
    opacity var(--motion-editorial) var(--ease-luxury),
    transform var(--motion-editorial) var(--ease-luxury),
    clip-path var(--motion-editorial) var(--ease-luxury);
}

.js-motion [data-reveal-stagger]:not(.is-revealed) > * {
  opacity: 0;
  transform: translateY(16px);
}

.js-motion [data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--motion-editorial) var(--ease-luxury),
    transform var(--motion-editorial) var(--ease-luxury);
}

.js-motion [data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 40ms; }
.js-motion [data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 110ms; }
.js-motion [data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 180ms; }
.js-motion [data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 250ms; }
.js-motion [data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 320ms; }

/* Hero — image always visible; settle only with motion enabled */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .hero--campaign .hero__img {
    transform-origin: center center;
    animation: hero-settle var(--motion-editorial) var(--ease-luxury) both;
  }

  .js-motion .hero--campaign:not(.is-hero-ready) .hero__copy > * {
    opacity: 0;
  }

  .js-motion .hero--campaign.is-hero-ready .hero__copy > * {
    animation: fade-up var(--motion-editorial) var(--ease-luxury) both;
  }

  .js-motion .hero--campaign.is-hero-ready .hero__copy > *:nth-child(1) { animation-delay: 80ms; }
  .js-motion .hero--campaign.is-hero-ready .hero__copy > *:nth-child(2) { animation-delay: 160ms; }
  .js-motion .hero--campaign.is-hero-ready .hero__copy > *:nth-child(3) { animation-delay: 240ms; }
  .js-motion .hero--campaign.is-hero-ready .hero__copy > *:nth-child(4) { animation-delay: 320ms; }
}

/* Editorial image reveal container */
.motion-media {
  overflow: hidden;
}

.motion-media img,
.motion-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.js-motion .motion-media[data-reveal="image"]:not(.is-revealed) img {
  transform: scale(1.04);
  transition: none;
}

.js-motion .motion-media[data-reveal="image"].is-revealed img {
  transform: scale(1);
  transition: transform var(--motion-editorial) var(--ease-luxury);
}

/* Parallax — desktop editorial only (applied via transform in JS) */
[data-parallax] {
  will-change: transform;
}

@media (max-width: 1023px) {
  [data-parallax] {
    transform: none !important;
    will-change: auto;
  }
}

/* Mobile nav drawer — open entrance (display toggled via .is-open) */
.primary-nav.is-open {
  animation: fade-up var(--motion-base) var(--ease-luxury) both;
}

@media (min-width: 1024px) {
  .primary-nav.is-open {
    animation: none;
  }
}

/* Cookie open/close polish — do not override [hidden] display */
@keyframes cookie-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-motion .cookie-banner:not([hidden]) {
  animation: cookie-rise var(--motion-base) var(--ease-luxury) both;
}

.js-motion .cookie-prefs:not([hidden]) .cookie-prefs__panel {
  animation: fade-up var(--motion-base) var(--ease-luxury) both;
}

/* Confirmation — restrained entrance */
.js-motion .page-confirmation .confirmation__panel {
  animation: confirm-enter var(--motion-editorial) var(--ease-luxury) both;
}

/* Auth / checkout — minimal page entrance only */
.js-motion .page-auth .auth-shell,
.js-motion .page-checkout .checkout-layout {
  animation: fade-up var(--motion-base) var(--ease-luxury) both;
}

/* Account quiet entrance */
.js-motion .page-account .account-shell {
  animation: fade-up var(--motion-base) var(--ease-luxury) both;
}

/* Dev-only motion debug (opt-in) */
body[data-motion-debug] {
  --motion-micro: 600ms;
  --motion-fast: 700ms;
  --motion-base: 1200ms;
  --motion-standard: 1400ms;
  --motion-editorial: 2400ms;
}

@media (prefers-reduced-motion: reduce) {
  body[data-motion-debug] {
    --motion-micro: 0.01ms;
    --motion-fast: 0.01ms;
    --motion-base: 0.01ms;
    --motion-standard: 0.01ms;
    --motion-editorial: 0.01ms;
  }
}

/* Cookie UX — first-visit banner + preferences modal */
.cookie-ux {
  position: relative;
  z-index: 80;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  background: var(--bg);
  border-top: 1px solid rgba(200, 191, 178, 0.65);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--pad-inline) 1.1rem;
}

.cookie-banner__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

.cookie-banner__text {
  margin: 0.25rem 0 0;
  max-width: 36rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cookie-btn--primary {
  background: var(--editorial-dark);
  color: var(--bg);
}

.cookie-btn--primary:hover,
.cookie-btn--primary:focus-visible {
  background: var(--text);
}

.cookie-btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(23, 23, 23, 0.35);
}

.cookie-btn--secondary:hover,
.cookie-btn--secondary:focus-visible {
  border-color: var(--text);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding-inline: 0.35rem;
}

.cookie-btn--text {
  background: transparent;
  color: var(--secondary);
  border: 0;
  padding-inline: 0.2rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-transform: none;
  font-size: 0.8rem;
  font-weight: 400;
}

.cookie-prefs[hidden] {
  display: none !important;
}

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
}

.cookie-prefs__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 18, 0.28);
}

.cookie-prefs__panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(92vh, 40rem);
  overflow: auto;
  margin: 0;
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--bg);
  border: 1px solid rgba(200, 191, 178, 0.65);
  box-shadow: 0 -8px 40px rgba(23, 23, 23, 0.08);
}

.cookie-prefs__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-prefs__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cookie-prefs__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-prefs__lead {
  margin: 0.65rem 0 0;
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-prefs__list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.cookie-prefs__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
}

.cookie-prefs__name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cookie-prefs__desc {
  margin: 0.3rem 0 0;
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-prefs__always {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.cookie-prefs__control--locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 1.45rem;
  border: 1px solid rgba(200, 191, 178, 0.8);
  color: var(--secondary);
  font-size: 0.72rem;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch__ui {
  display: inline-block;
  width: 2.4rem;
  height: 1.35rem;
  border: 1px solid rgba(23, 23, 23, 0.28);
  background: transparent;
  border-radius: 0;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--text);
  transition: transform 0.18s var(--ease);
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: var(--editorial-dark);
  border-color: var(--editorial-dark);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  background: var(--bg);
  transform: translateX(1.05rem);
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cookie-prefs__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 191, 178, 0.45);
}

.site-footer__text-btn {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.site-footer__text-btn:hover,
.site-footer__text-btn:focus-visible {
  color: var(--gold);
}

@media (min-width: 768px) {
  .cookie-prefs {
    place-items: center;
  }

  .cookie-prefs__panel {
    box-shadow: 0 16px 48px rgba(23, 23, 23, 0.1);
  }
}

@media (max-width: 767px) {
  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .cookie-btn--primary,
  .cookie-banner__actions .cookie-btn--secondary {
    flex: 1 1 auto;
  }
}
