﻿:root {
  --paper: #f7f1e6;
  --paper-soft: #fbf7ef;
  --sand: #dfd4c4;
  --brown: #7b6138;
  --brown-dark: #2d1e10;
  --ink: #111111;
  --muted: #77716a;
  --pink: #e56aa7;
  --white: #ffffff;
  --line: rgba(45, 30, 16, 0.16);
  --shadow: 0 24px 70px rgba(45, 30, 16, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 94px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 241, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(156px, 16vw, 220px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 4vw, 48px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  content: "";
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action,
.button.primary,
.cart-button {
  color: var(--white);
  background: var(--brown-dark);
}

.header-action {
  min-height: 46px;
  padding: 0 22px;
}

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--brown-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.cart-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-count {
  position: absolute;
  right: -6px;
  top: -6px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 6px;
  color: var(--white);
  background: var(--brown-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--brown-dark);
  background: transparent;
  border: 1px solid var(--brown-dark);
  border-radius: 50%;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 94px);
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 68px);
  background:
    radial-gradient(circle at 54% 44%, rgba(123, 97, 56, 0.12), transparent 28%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: relative;
  order: 2;
  width: 100%;
  height: min(62vw, 560px);
  min-height: 430px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 720ms ease, transform 1000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  order: 1;
}

.kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(76px, 12vw, 166px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.hero-label {
  margin: 22px 0 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
}

.button.secondary,
.button.outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
  border-color: var(--line);
}

.category-showcase {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.category-showcase h2 {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  min-height: clamp(260px, 27vw, 430px);
  overflow: hidden;
  border-radius: 6px;
  background: var(--sand);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}

.category-card span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  font-size: clamp(21px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.section {
  padding: clamp(70px, 11vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  display: block;
  max-width: 920px;
  margin-left: 0;
}

.section-heading h2,
.editorial h2,
.size-guide h2,
.checkout h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.collections {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.collection-card {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.collection-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.collection-card strong {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.collection-card.featured {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

.collection-card.featured span {
  color: rgba(255, 255, 255, 0.78);
}

.collection-card.muted strong {
  color: var(--muted);
}

.collection {
  background: var(--paper);
}

.collection-intro {
  max-width: 760px;
  margin: -18px auto 42px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.collection-intro p {
  margin: 0;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 34px;
  max-width: 1120px;
}

.product-tab {
  min-height: 44px;
  padding: 0 17px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-tab.active {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-card.product-empty {
  display: flex;
  min-height: 250px;
  align-items: center;
  background: rgba(255, 255, 255, 0.28);
}

.product-card.product-empty .product-copy {
  width: 100%;
}

.product-media {
  position: relative;
  overflow: hidden;
  margin: 24px 24px 0;
  border-radius: 6px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--brown-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-copy {
  padding: 24px;
}

.product-type {
  margin: 0;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 10px 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.product-card p:not(.product-type) {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.buy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.buy-row span {
  font-weight: 800;
}

.cart-button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  font-size: 13px;
  cursor: pointer;
}

.cart-button:disabled,
.cart-checkout:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.size-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.size-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

.size-field select:focus {
  border-color: var(--brown-dark);
  outline: 2px solid rgba(45, 30, 16, 0.12);
}

.product-message {
  min-height: 20px;
  margin-top: 10px;
  color: var(--brown-dark);
  font-size: 13px;
  font-weight: 700;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.74fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 6px;
}

.editorial-copy p:not(.kicker),
.size-guide p,
.checkout p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.benefits {
  background: var(--paper);
}

.benefits .section-heading.compact {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 34px auto 0;
  border: 1px solid var(--brown-dark);
  border-right: 0;
}

.benefit-grid article {
  min-height: 210px;
  padding: 28px 34px;
  background: var(--paper);
  border-right: 1px solid var(--brown-dark);
}

.benefit-grid svg {
  display: none;
}

.benefit-grid article::before {
  display: block;
  margin-bottom: 46px;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit-grid article:nth-child(1)::before {
  content: "01";
}

.benefit-grid article:nth-child(2)::before {
  content: "02";
}

.benefit-grid article:nth-child(3)::before {
  content: "03";
}

.benefit-grid h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.size-guide,
.checkout,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.size-options span {
  display: inline-grid;
  min-width: 66px;
  min-height: 44px;
  place-items: center;
  color: var(--brown-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.size-howto {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.size-howto h3 {
  margin-top: 0;
}

.size-howto ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.55;
  list-style: none;
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: var(--sand);
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 800;
}

.size-note {
  margin: 18px 0 0;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  background: var(--paper);
}

.payment-grid {
  display: grid;
  gap: 12px;
}

.payment-grid span {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.payment-grid span::after {
  width: 42px;
  height: 2px;
  content: "";
  background: var(--brown);
}

.mp-status {
  grid-column: 1 / -1;
  min-height: 26px;
  margin: -38px 0 0;
}

body.cart-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 17, 17, 0.28);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: flex;
  width: min(430px, 100vw);
  height: 100svh;
  flex-direction: column;
  overflow-y: auto;
  padding: 26px;
  background: var(--paper-soft);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(45, 30, 16, 0.18);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h2 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.cart-close,
.cart-line-remove,
.cart-qty-button {
  color: var(--brown-dark);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cart-close {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
}

.cart-items {
  display: grid;
  gap: 16px;
  overflow-y: auto;
  max-height: 34vh;
  padding: 22px 2px;
}

.cart-line {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-line-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cart-line-price {
  font-weight: 800;
  white-space: nowrap;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cart-qty-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.cart-line-remove {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
}

.cart-empty {
  margin: 22px 0;
  color: var(--muted);
}

.checkout-panel {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.checkout-panel h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-options label {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.payment-options input {
  accent-color: var(--brown-dark);
}

.payment-note,
.checkout-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}


.customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.customer-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.customer-fields input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

.customer-fields input:focus {
  border-color: var(--brown-dark);
  outline: 2px solid rgba(45, 30, 16, 0.12);
}
.payment-note {
  color: var(--brown-dark);
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.field-row label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.field-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

.field-row input:focus {
  border-color: var(--brown-dark);
  outline: 2px solid rgba(45, 30, 16, 0.12);
}

.field-row button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--brown-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.field-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.shipping-address {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.shipping-options {
  display: grid;
  gap: 10px;
}

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.shipping-option input {
  accent-color: var(--brown-dark);
}

.shipping-option span {
  display: grid;
  gap: 3px;
}

.shipping-option small {
  color: var(--muted);
  font-size: 12px;
}

.shipping-option b {
  white-space: nowrap;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary span {
  color: var(--muted);
}

.cart-summary strong {
  font-size: 18px;
}

.cart-summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cart-summary-total strong {
  font-size: 22px;
}

.cart-status {
  min-height: 22px;
  margin: 0 0 12px;
  color: var(--brown-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.cart-checkout {
  min-height: 50px;
  width: 100%;
  color: var(--white);
  background: var(--brown-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.contact {
  align-items: center;
}

.contact p {
  max-width: 660px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer img {
  width: 172px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    order: 1;
  }

  .hero-overlay {
    order: 2;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .cart-button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    min-height: 78px;
    gap: 12px;
  }

  .brand img {
    width: 158px;
    height: 46px;
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.open .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .site-header.open .nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.open .nav a:last-child {
    border-bottom: 0;
  }

  .site-header.open .nav a::after {
    display: none;
  }

  .section-heading,
  .collection-grid,
  .category-grid,
  .product-grid,
  .benefit-grid,
  .editorial,
  .size-guide,
  .checkout,
  .contact {
    grid-template-columns: 1fr;
  }

  .benefits {
    background: var(--paper);
  }

  .benefit-grid {
    border-right: 1px solid var(--brown-dark);
  }
}

@media (max-width: 520px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-drawer {
    padding: 22px 18px;
  }

  .cart-line-top,
  .cart-line-controls,
  .field-row,
  .payment-options {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .field-row button {
    width: 100%;
  }

  .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .hero h2 {
    font-size: 22px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    min-height: 220px;
  }
}

/* Premium editorial refinement */
:root {
  --paper: #f8f5ef;
  --paper-soft: #fffaf2;
  --sand: #e8e2d8;
  --brown: #6a4f3a;
  --brown-dark: #4b3b32;
  --muted: #5f5a55;
  --line: rgba(75, 59, 50, 0.14);
  --shadow: 0 18px 54px rgba(75, 59, 50, 0.10);
}

body {
  text-rendering: geometricPrecision;
}

.site-header {
  background: rgba(248, 245, 239, 0.9);
  transition: min-height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  min-height: 78px;
  box-shadow: 0 10px 32px rgba(75, 59, 50, 0.07);
}

.nav a,
.cart-toggle,
.header-action,
.button,
.cart-button,
.product-tab,
.collection-card,
.category-card,
.size-pill,
.color-pill,
.shipping-option,
.field-row button,
.cart-checkout {
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.header-action,
.button.primary,
.cart-button,
.cart-checkout,
.product-tab.active,
.size-pill.active,
.color-pill.active,
.instagram-cta {
  background: var(--brown-dark);
  box-shadow: 0 10px 26px rgba(75, 59, 50, 0.12);
}

.header-action:hover,
.button.primary:hover,
.cart-button:hover,
.cart-checkout:hover,
.instagram-cta:hover {
  background: var(--brown);
  box-shadow: 0 14px 34px rgba(75, 59, 50, 0.16);
  transform: translateY(-1px);
}

.button.secondary,
.button.outline {
  color: var(--brown-dark);
  background: rgba(255, 250, 242, 0.58);
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.96fr);
  gap: clamp(42px, 7vw, 104px);
  min-height: calc(100svh - 94px);
  padding: clamp(74px, 9vw, 128px) clamp(24px, 6vw, 88px);
  background: var(--paper);
}

.hero-overlay {
  max-width: 760px;
}

h1 {
  font-size: clamp(64px, 9.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero h2 {
  max-width: 560px;
  margin-top: 8px;
  font-size: clamp(22px, 2.55vw, 31px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.1em;
}

.hero-copy {
  max-width: 610px;
  margin-top: 34px;
  color: var(--muted);
  line-height: 1.82;
}

.hero-actions,
.contact-actions {
  margin-top: 42px;
  gap: 14px;
}

.hero-slider {
  height: min(64vw, 640px);
  min-height: 500px;
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(75, 59, 50, 0.11);
}

.hero-slide img,
.category-card img,
.product-card img,
.editorial img {
  transition: transform 900ms ease, opacity 600ms ease;
}

.hero-slide.active img {
  transform: scale(1.015);
}

.kicker {
  color: var(--pink);
  letter-spacing: 0.2em;
}

.section,
.category-showcase {
  padding-top: clamp(88px, 12vw, 156px);
  padding-bottom: clamp(88px, 12vw, 156px);
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading h2,
.editorial h2,
.size-guide h2,
.checkout h2,
.contact h2,
.category-showcase h2 {
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.category-showcase {
  text-align: left;
}

.category-showcase > .kicker,
.category-showcase > h2,
.category-copy {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.category-copy {
  margin-top: -14px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.category-grid {
  grid-template-columns: repeat(7, minmax(148px, 1fr));
  gap: 14px;
  max-width: 1280px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-card {
  min-height: clamp(280px, 31vw, 470px);
  background: linear-gradient(135deg, rgba(106, 79, 58, 0.2), rgba(232, 226, 216, 0.8));
}

.category-card:hover,
.collection-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(75, 59, 50, 0.10);
}

.category-card span {
  font-size: clamp(18px, 1.55vw, 24px);
  letter-spacing: 0.03em;
}

.collection-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.collection-card {
  position: relative;
  min-height: 210px;
  padding: 34px;
  overflow: hidden;
}

.collection-card::after {
  content: "→";
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: currentColor;
  font-size: 22px;
  opacity: 0.45;
}

.collection-card strong {
  max-width: 80%;
  line-height: 1.08;
}

.collection-card.featured {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
}

.product-tabs {
  gap: 12px;
  margin-bottom: 48px;
}

.product-tab {
  min-height: 46px;
  padding: 0 19px;
  color: var(--brown-dark);
  background: rgba(255, 250, 242, 0.7);
}

.product-tab:hover {
  border-color: rgba(75, 59, 50, 0.38);
  transform: translateY(-1px);
}

.product-grid {
  gap: clamp(18px, 2.2vw, 28px);
}

.product-card {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(75, 59, 50, 0.12);
  box-shadow: 0 1px 0 rgba(75, 59, 50, 0.04);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-media {
  margin: 18px 18px 0;
  border-radius: 4px;
}

.product-card img {
  aspect-ratio: 3 / 4;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-copy {
  padding: 28px;
}

.product-type {
  color: var(--brown);
  letter-spacing: 0.16em;
}

.product-card h3 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.06;
}

.product-card p:not(.product-type) {
  color: var(--muted);
  line-height: 1.72;
}

.color-pill-group,
.size-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.color-pill-group {
  margin-top: 18px;
}

.color-pill,
.size-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(75, 59, 50, 0.2);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.size-pill {
  cursor: pointer;
}

.color-pill.active,
.size-pill.active {
  color: var(--white);
  border-color: var(--brown-dark);
}

.size-pill:hover,
.color-pill:hover {
  border-color: var(--brown);
  transform: translateY(-1px);
}

.buy-row {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.buy-row span {
  color: var(--brown-dark);
  font-size: 21px;
  letter-spacing: 0.01em;
}

.cart-button {
  min-height: 48px;
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.size-field {
  gap: 11px;
  margin-top: 22px;
}

.size-field > span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.trust-strip li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--brown);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: rgba(75, 59, 50, 0.36);
}

.benefit-grid article {
  border-right-color: rgba(75, 59, 50, 0.36);
}

.benefit-grid article:nth-child(4)::before {
  content: "04";
}

.benefit-grid svg {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--brown);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.benefit-grid article::before {
  margin-bottom: 22px;
}

.instagram-section {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.instagram-section .section-heading.compact p:not(.kicker) {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 42px auto 28px;
}

.instagram-grid span {
  display: grid;
  min-height: clamp(160px, 16vw, 240px);
  place-items: end start;
  padding: 16px;
  color: rgba(75, 59, 50, 0.62);
  background: linear-gradient(135deg, rgba(232, 226, 216, 0.88), rgba(255, 250, 242, 0.88));
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.instagram-cta {
  width: fit-content;
  margin: 0 auto;
  color: var(--white);
}

.editorial-copy p:not(.kicker),
.size-guide p,
.checkout p,
.contact p,
.collection-intro,
.category-copy,
.footer p,
.cart-line p,
.checkout-hint,
.payment-note,
.size-howto ul,
.benefit-grid p {
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .section,
  .category-showcase,
  .product-card,
  .collection-card,
  .benefit-grid article,
  .instagram-grid span {
    animation: duoFadeUp 620ms ease both;
  }

  @keyframes duoFadeUp {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1100px) {
  .category-grid,
  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    gap: 34px;
  }

  .hero-slider {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .category-showcase {
    text-align: left;
  }

  .collection-card {
    min-height: 176px;
  }

  .product-grid,
  .collection-grid,
  .benefit-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    border-bottom: 1px solid rgba(75, 59, 50, 0.36);
  }

  .benefit-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
    line-height: 1;
  }

  .hero h2 {
    font-size: 18px;
    line-height: 1.42;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-slider {
    aspect-ratio: 3 / 4;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 300px;
  }

  .product-copy {
    padding: 24px 20px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .instagram-grid span {
    min-height: 220px;
  }
}

