:root {
  --header-height: clamp(88px, 8.6739vw, 144px);
  --ink: #3e3035;
  --bg: #faf5f6;
  --surface: #f3e9ec;
  --border: #ded0d5;
  --muted: #77656c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  margin: 0;
}

h2 {
  font-size: 44px;
  line-height: 48px;
}

button, a, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

*:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.wrap {
  width: calc(100% - 96px);
  max-width: 1248px;
  margin: 0 auto;
}

/* Шапка */
.header {
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  padding: 0 5% 0 7%;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 4;
}

.nav, .actions {
  display: flex;
  align-items: center;
}

.nav {
  gap: 32px;
  font-size: 14px;
}

.nav a:hover {
  text-decoration: underline;
}

.actions {
  justify-content: flex-end;
  gap: 12px;
}

.brand {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 240px;
  height: 80%;
  object-fit: contain;
}

.icon {
  border: 0;
  background: none;
  padding: 4px;
  position: relative;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
}

.icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.badge {
  position: absolute;
  right: 2px;
  top: 2px;
  border-radius: 50%;
  background: #91445c;
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.badge[hidden] {
  display: none;
}

.menu-toggle {
  display: none;
}

/* Первый экран (Hero) */
.hero {
  position: relative;
  height: 41.658vw;
  background: #dfcdd2;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/hero-regenerated-model.png') center top / 100% auto no-repeat;
}

.hero-copy {
  width: 86%;
  height: 100%;
  margin: 0 7%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1;
}

.hero-kicker {
  margin-top: 5.5vw;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(9px, 0.83vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker > span {
  width: 64px;
  height: 1px;
  background: #bcaeb2;
}

.hero h1 {
  font-style: italic;
  font-size: clamp(54px, 5.8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 43%;
  margin: 1.5vw 0 1.8vw;
}

.hero h1 span {
  white-space: nowrap;
}

.hero p {
  max-width: 40%;
  font-size: clamp(14px, 1.33vw, 24px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0 0 2.6vw;
}

.hero-image {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 30px;
  background: #403538;
  color: #fff;
  min-height: 52px;
  padding: 14px 27px;
  font-size: 15px;
  transition: background 0.18s, opacity 0.18s;
}

.button:hover:not(:disabled) {
  background: #665058;
}

.button:active:not(:disabled) {
  opacity: 0.9;
}

.hero .button {
  min-height: 44px;
  height: 3.85vw;
  max-height: 64px;
  padding: 0 24px;
  font-size: clamp(13px, 1.2vw, 20px);
}

/* Интерактивная секция цветов (#color-story) */
#color-story {
  height: calc(min(760px, 100vh - var(--header-height)) + 180vh);
  background: var(--surface);
}

.color-stage {
  height: min(760px, calc(100vh - var(--header-height)));
  position: sticky;
  top: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 64px;
  align-items: center;
}

.color-stage .garment {
  width: 100%;
  height: 88%;
  min-width: 0;
  justify-self: center;
  touch-action: pan-y;
}

.shade-layers {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.shade-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 800ms cubic-bezier(.22, .61, .36, 1), transform 900ms cubic-bezier(.22, .61, .36, 1), visibility 0s 900ms;
  pointer-events: none;
}

.shade-layer.is-current {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
  z-index: 1;
}

.shade-layer .pair-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 16px;
}

.crop {
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.crop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.color-controls {
  min-width: 0;
}

.color-controls p {
  color: var(--muted);
  margin: 8px 0 0;
}

.color-controls #shade-name {
  margin-top: 32px;
  color: var(--ink);
  font-size: 22px;
}

.colors {
  display: flex;
  gap: 12px;
  margin: 16px 0 24px;
}

.color-choice {
  width: 44px;
  height: 44px;
  border: 10px solid var(--surface);
  border-radius: 50%;
  background: var(--color);
}

.color-choice.selected {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.segments {
  display: none;
  margin: 24px 0 32px;
}

.segments button {
  width: 104px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
}

.segments button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

#color-progress {
  height: 2px;
  background: var(--border);
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
}

#color-progress span {
  display: block;
  height: 100%;
  background: #65473e;
  width: 0;
}

/* Коллекция */
.collection {
  padding: 80px 0;
  max-width: 1600px;
  width: calc(100% - 80px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-heading span {
  font-size: 13px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e3dadc;
  aspect-ratio: 1 / 1;
}

.product-image .crop img {
  padding: 12px 24px;
}

.product-open {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
}

.heart {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: rgba(247, 241, 243, 0.72);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 1;
  z-index: 1;
}

.heart[aria-pressed="true"] {
  color: #9c5068;
}

.product-info {
  padding-top: 12px;
  font-size: 15px;
}

.product-info p {
  margin: 0 0 4px;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 14px;
  font-variant-numeric: lining-nums tabular-nums;
}

.old-price {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.85em;
  text-decoration-thickness: 1px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Преимущества и О бренде */
.features {
  border-top: 1px solid #e2d6da;
  border-bottom: 1px solid #e2d6da;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0;
  align-items: center;
  max-width: none;
  width: calc(100% - 80px);
}

.features > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 96px;
  text-align: center;
}

.features > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 26px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}

.benefit-art {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.features p {
  font-size: 14px;
  line-height: 20px;
  margin: 16px 0 0;
}

.about {
  padding: 80px 0;
}

.about > div {
  max-width: 600px;
}

.about p {
  font-size: 16px;
  color: var(--muted);
  margin: 32px 0 0;
}

/* Соцсети и Подвал */
.social-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.social-heading {
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  min-height: 64px;
  padding: 8px 0;
  border-radius: 8px;
}

.social-links a:hover {
  background: var(--surface);
}

.social-links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-links a > span {
  font-size: 12px;
  line-height: 16px;
}

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #8a7d81;
  font-size: 12px;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  font-size: 13px;
  padding: 4px 0;
}

.support-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.seller-details {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  padding-bottom: 24px;
}

.seller-details p {
  margin: 4px 0;
}

/* Шторка и Диалоги (Drawer / Modal) */
.overlay[hidden] {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(38, 29, 32, 0.66);
}

.drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: #f9f3f5;
  width: min(440px, 100%);
  padding: 24px;
  overflow: auto;
}

.drawer.product-dialog {
  width: min(1120px, calc(100% - 64px));
  height: calc(100% - 64px);
  max-height: 900px;
  inset: 32px 0 auto;
  margin: auto;
  border-radius: 12px;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2d6da;
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.drawer-head h2 {
  font-size: 30px;
}

.close {
  font-size: 34px;
}

.drawer h3 {
  font-size: 27px;
  margin: 20px 0 8px;
}

.drawer .button {
  width: 100%;
  margin: 8px 0;
}

.product-dialog #drawer-content {
  display: grid;
  grid-template-columns: 56% 44%;
}

.product-dialog:has(#checkout-form) #drawer-content,
.product-dialog:has(.legal-copy) #drawer-content {
  display: block;
}

.detail-photo > .crop {
  height: 560px;
  background: #e3dadc;
  border-radius: 8px;
}

.detail-photo > .crop img {
  padding: 20px;
}

.detail-info {
  padding: 0 40px;
}

.photo-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
}

.photo-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #cbbbc1;
  background: var(--surface);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.18s;
}

.photo-arrow:hover {
  background: #ead9de;
}

.photo-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.photo-caption {
  min-width: 104px;
  text-align: center;
  font-size: 14px;
}

.photo-caption span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.size-options {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.size-options button {
  min-width: 48px;
  min-height: 44px;
  background: transparent;
  border: 1px solid #cbbbc1;
  border-radius: 8px;
}

.size-options button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.dispatch-note {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Корзина, Поиск, Избранное */
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-row > .crop {
  height: 120px;
  background: #e3dadc;
  border-radius: 6px;
}

.cart-row p {
  margin: 0 0 8px;
  font-size: 14px;
}

.cart-size {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-size select {
  min-height: 38px;
  margin-left: 8px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.qty button {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.order-total,
.drawer h3.order-total {
  font-family: Manrope, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 32px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}

.favorite-result {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  padding: 12px 0;
}

.favorite-result .crop {
  height: 100px;
  background: #e3dadc;
  border-radius: 6px;
}

.search-input {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 1px solid #d3c2c8;
  border-radius: 30px;
  background: transparent;
  padding: 14px 18px;
}

.drawer-item {
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #e2d6da;
  padding: 12px 0;
}

.drawer-item img {
  width: 70px;
  height: 80px;
  object-fit: contain;
  background: #e3dadc;
  border-radius: 8px;
}

.drawer-item div {
  flex: 1;
}

.drawer-item p {
  margin: 4px 0;
}

.mobile-nav {
  display: grid;
  gap: 20px;
  font-size: 19px;
  margin-bottom: 24px;
}

.empty {
  padding: 20px 0;
  line-height: 1.6;
}

/* Оформление предзаказа */
.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.checkout-grid > div > h3 {
  margin-top: 0;
}

.checkout-grid label {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}

.checkout-grid input,
.checkout-grid textarea {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.checkout-grid input:focus,
.checkout-grid textarea:focus {
  background: var(--bg);
}

.checkout-grid textarea {
  height: 100px;
}

.checkout-grid small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 18px;
}

.checkout-grid aside {
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
  align-self: start;
}

.checkout-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item > .crop {
  height: 116px;
  background: #e3dadc;
  border-radius: 6px;
}

.checkout-item p {
  margin: 0 0 6px;
  font-size: 14px;
}

.delivery-fields {
  margin: 24px 0;
}

.delivery-fields summary {
  min-height: 44px;
  cursor: pointer;
  padding: 12px 0;
  font-weight: 500;
}

.payment-methods {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.payment-methods input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
}

.legal-copy {
  max-width: 760px;
  line-height: 26px;
}

.legal-copy section {
  margin-bottom: 32px;
}

/* Страницы статуса платежа */
.payment-result {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.payment-result img {
  object-fit: contain;
  max-width: 100%;
}

.payment-result h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 40px 0 24px;
}

.payment-result p {
  max-width: 520px;
  line-height: 26px;
  color: var(--muted);
}

.payment-result .button {
  margin: 24px 0 16px;
}

.result-back {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
}

/* Уведомления */
#notice:not(:empty) {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  max-width: 360px;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1199px) {
  .wrap, .collection.wrap, .features {
    width: calc(100% - 64px);
  }
  .header {
    padding: 0 32px;
  }
  .nav {
    gap: 16px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .color-stage {
    gap: 24px;
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Мобильные устройства */
@media (min-width: 768px) and (max-width: 1024px), (min-width: 768px) and (pointer: coarse) {
  #color-story { height: auto; padding: 48px 0; }
  .color-stage { position: static; height: min(680px, 80vh); min-height: 440px; }
  #color-progress { display: none; }
}

@media (max-width: 767px) {
  :root { --header-height: 72px; }
  section[id] {
    scroll-margin-top: 88px;
  }
  .wrap, .collection.wrap, .features {
    width: calc(100% - 40px);
  }
  .header {
    height: 72px;
    grid-template-columns: 44px 164px 44px;
    justify-content: space-between;
    padding: 0 20px;
  }
  .nav, .actions > .icon:not(:last-child) {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
    font-size: 22px;
  }
  .brand, .brand img {
    width: 164px;
    height: 52px;
  }
  .hero {
    height: auto;
    flex-direction: column;
    background: #dfd1d5;
  }
  .hero::before {
    display: none;
  }
  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 32px 20px;
  }
  .hero-kicker {
    margin-top: 0;
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(38px, 10.7vw, 52px);
    line-height: 1.04;
    max-width: none;
    margin: 20px 0;
  }
  .hero p {
    font-size: 15px;
    line-height: 23px;
    max-width: none;
    margin-bottom: 24px;
  }
  .hero .button {
    height: 52px;
    font-size: 15px;
  }
  .hero-image {
    display: block;
    width: 100%;
    height: 340px;
    background: #dfd1d5 url('assets/hero-regenerated-model.png') 76% top / auto 100% no-repeat;
  }
  h2, .section-heading h2 {
    font-size: 32px;
    line-height: 36px;
  }
  .section-heading span {
    display: none;
  }
  #color-story {
    height: auto;
    padding: 48px 0;
  }
  .color-stage {
    height: auto;
    position: static;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .color-stage .garment {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .shade-layer .pair-stage {
    display: block;
  }
  .shade-layer .pair-stage > .crop:last-child {
    display: none;
  }
  .show-back .shade-layer .pair-stage > .crop:first-child {
    display: none;
  }
  .show-back .shade-layer .pair-stage > .crop:last-child {
    display: block;
  }
  .segments {
    display: flex;
  }
  .color-controls {
    width: 100%;
  }
  .color-controls .button {
    width: 100%;
  }
  .collection {
    padding: 48px 0;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .product-image .crop img {
    padding: 8px;
  }
  .product-info {
    font-size: 13px;
  }
  .heart {
    right: 8px;
    top: 8px;
  }
  .old-price {
    margin-left: 8px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 12px;
  }
  .features > div:nth-child(2)::after {
    display: none;
  }
  .benefit-art {
    width: 40px;
    height: 40px;
  }
  .features p {
    font-size: 12px;
  }
  .about {
    padding: 48px 0;
  }
  .about p {
    margin-top: 20px;
  }
  .social-footer {
    padding: 20px 0;
  }
  .social-heading {
    font-size: 17px;
    max-width: 170px;
  }
  .social-links {
    gap: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .drawer {
    padding: 20px;
  }
  .drawer.product-dialog {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .product-dialog #drawer-content {
    display: block;
  }
  .detail-photo > .crop {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .detail-info {
    padding: 20px 0;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-row {
    gap: 8px;
    grid-template-columns: 64px 1fr auto;
  }
  .cart-row > span {
    font-size: 13px;
  }
  .order-total, .drawer h3.order-total {
    font-size: 20px;
  }
  .payment-result h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  #color-story {
    height: auto;
    padding: 48px 0;
  }
  .color-stage {
    position: static;
    height: auto;
    min-height: 600px;
  }
  .color-stage .garment {
    height: 500px;
  }
}
.consent-control{display:flex!important;gap:12px;align-items:flex-start;margin:24px 0!important;font-size:13px!important;line-height:21px}.consent-control>input{width:20px;height:20px;min-width:20px;margin:2px 0;accent-color:var(--ink)}.consent-control .text-button{padding:0;display:inline;font:inherit}.checkout-policy{white-space:pre-line;font-size:13px;line-height:21px;border:1px solid var(--border);border-radius:8px;padding:16px;margin:16px 0}.measurements{width:100%}.product-dialog:has(.measurements) #drawer-content{display:block}.table-scroll{overflow-x:auto}.measurements table{border-collapse:collapse;width:100%;font-family:Manrope,Arial,sans-serif;font-size:14px}.measurements td,.measurements th{padding:12px;border-bottom:1px solid var(--border);text-align:center}.measurements th:first-child{text-align:left}.measurements .highlighted{background:var(--surface)}.measurements button[aria-pressed=true]{background:var(--ink);color:white}
.measurements>h3{font-family:Manrope,Arial,sans-serif;font-size:17px;font-weight:500;margin:24px 0 12px}.measurements>h3:first-child{margin-top:0}.height-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.height-options>span{padding:12px 20px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:15px}.measurements-notice{margin:24px 0;padding:20px;background:var(--surface);border-radius:12px;color:var(--muted);line-height:24px}

@media(max-width:767px){.hero-image{height:340px;aspect-ratio:auto;background-position:76% top;background-size:auto 100%}.social-footer{gap:12px}.social-heading{white-space:nowrap;max-width:none;font-size:clamp(13px,3.7vw,17px);line-height:24px;flex-shrink:0}.social-links{gap:4px;flex-shrink:0}.social-links a{width:44px}}

.product-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#eee0e5;color:#641e35}.product-placeholder>span{font-family:"Cormorant Garamond",serif;font-size:clamp(24px,4vw,48px)}.product-placeholder>small,.product-sku{font-size:12px;color:#77656c}.product-sku{margin-top:4px}.detail-info details{margin-top:16px}.detail-info details p{margin-top:12px}

.price-label{display:block;font-size:12px;color:#77656c;margin-top:8px;margin-bottom:4px}

.garment-care ul{padding-left:20px;margin:16px 0;line-height:1.65}.garment-care li+li{margin-top:8px}

.preorder-price{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.preorder-price .price-label{margin:0;font-size:13px;color:#77656c}.preorder-price .price{margin:0}.preorder-price>.old-price{margin:0;font-size:13px}.delivery-payment-note{font-size:13px;line-height:1.6;margin:12px 0;color:#77656c}@media(max-width:767px){.product-info .preorder-price{display:grid;grid-template-columns:max-content max-content;gap:4px 6px;justify-content:start}.product-info .preorder-price .price-label{grid-column:1/-1;white-space:normal;font-size:12px}.detail-info .preorder-price{flex-wrap:wrap}.detail-info .preorder-price .price-label{flex-basis:100%}}

.legal-copy{width:100%;max-width:760px;margin:0 auto;font-size:16px;line-height:1.65}.legal-intro{font-size:17px;line-height:1.65;color:var(--ink);margin:0 0 24px}.legal-support{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid var(--ink);border-radius:24px;font-size:14px;margin-bottom:32px;text-decoration:none}.legal-support:hover{background:var(--surface)}.legal-sections{border-top:1px solid var(--border)}.legal-section{border-bottom:1px solid var(--border)}.legal-section>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:16px 0;cursor:pointer;list-style:none;font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:500;line-height:1.5}.legal-section>summary::-webkit-details-marker{display:none}.legal-section>summary:after{content:'+';font-size:24px;font-weight:400;flex-shrink:0;color:var(--muted)}.legal-section[open]>summary:after{content:'−'}.legal-section-body{padding:0 32px 24px 0;color:var(--muted)}.legal-section-body p+p{margin-top:16px}.legal-section-body p{max-width:70ch}.drawer:has(.legal-copy){max-width:880px}.drawer:has(.legal-copy) #drawer-content{padding-top:8px}@media(max-width:767px){.legal-copy{font-size:15px;line-height:1.65}.legal-intro{font-size:16px;margin-bottom:20px}.legal-support{margin-bottom:24px;width:100%}.legal-section>summary{min-height:60px;padding:16px 0;gap:16px;font-size:14px}.legal-section-body{padding:0 0 24px}.drawer:has(.legal-copy){max-width:none}}

.return-steps{margin:0;padding-left:24px}.return-steps li{padding-left:4px}.return-steps li+li{margin-top:16px}
.legal-page{min-width:0}.legal-page-header{max-width:1100px;padding:20px 32px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border)}.legal-page-header img{display:block;object-fit:contain;max-width:100%}.legal-page-header>a:last-child{font-size:14px;text-decoration:underline;min-height:44px;display:flex;align-items:center}.legal-document{max-width:824px;padding:56px 32px 64px;margin:0 auto;overflow-wrap:anywhere}.legal-document h1{font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;font-size:48px;line-height:1.1;margin:0 0 16px}.legal-version{font-size:13px;color:var(--muted);margin:0 0 28px}.legal-document-intro{font-size:17px;line-height:1.65}.document-toc{padding:24px 0;margin:32px 0 40px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:grid;gap:12px}.document-toc h2{font:500 15px/24px Manrope,Arial,sans-serif;margin:0 0 4px}.document-toc a{font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}.legal-document>section{margin-top:40px;scroll-margin-top:24px}.legal-document>section h2{font-family:Manrope,Arial,sans-serif;font-size:20px;font-weight:500;line-height:1.4;margin:0 0 20px}.legal-document>section p{font-size:16px;line-height:26px;margin:0 0 20px}.document-support{border-top:1px solid var(--border);padding-top:24px;margin-top:40px}.document-support a,.legal-page-footer a{color:var(--ink);text-decoration:underline}.legal-page-footer{display:flex;flex-wrap:wrap;gap:16px 24px;max-width:1100px;border-top:1px solid var(--border);padding:32px;margin:0 auto;font-size:13px;line-height:1.6}.legal-page-footer>span{margin-left:auto}.document-full-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--muted);text-decoration:underline;margin-bottom:16px}.bank-details{margin-top:12px;font-size:13px;line-height:1.7}.bank-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline}.bank-details p{padding:8px 0;overflow-wrap:anywhere}.cis-delivery-note{font-size:13px;line-height:1.6;padding:16px;border:1px solid var(--border);border-radius:8px;margin:16px 0;color:var(--ink)}.cis-delivery-note a,.checkout-policy a,.consent-control a{text-decoration:underline;text-underline-offset:3px}.checkout-policy{white-space:normal}.checkout-policy p{margin:0 0 12px}.legal-section-body p{white-space:pre-line}.skip-link{position:absolute;left:16px;top:-100px;background:var(--ink);color:white;padding:12px 20px;z-index:100}.skip-link:focus{top:12px}@media(max-width:767px){.legal-page-header{padding:12px 20px;gap:16px}.legal-page-header img{width:148px;height:56px}.legal-page-header>a:last-child{font-size:12px;max-width:110px;text-align:right}.legal-document{padding:32px 20px 48px}.legal-document h1{font-size:34px;line-height:1.1}.legal-document-intro{font-size:16px}.document-toc{margin:24px 0 32px}.legal-document>section{margin-top:32px}.legal-document>section h2{font-size:18px}.legal-document>section p{font-size:15px;line-height:25px}.legal-page-footer{padding:24px 20px;flex-direction:column;gap:16px}.legal-page-footer>span{margin:0}.document-full-link{font-size:12px}}
