:root {
  --ink: #1f1f1f;
  --muted: #6b6a66;
  --soft: #f4f1eb;
  --paper: #fffdf9;
  --line: #dedbd3;
  --charcoal: #252525;
  --accent: #8f6a4f;
  --accent-2: #0e5362;
  --danger: #8e2f21;
  --ok: #27664d;
  --shadow: 0 18px 46px rgba(31, 31, 31, 0.12);
  --header: 78px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-body);
}

body[data-font-preset="modern"] {
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body[data-font-preset="classic"] {
  --font-body: "Times New Roman", Georgia, serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  min-width: 320px;
  overflow-x: clip;
}

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

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

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

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 54px;
  background: var(--charcoal);
  color: #f7f4ef;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.announcement .icon-button {
  position: absolute;
  right: 12px;
  color: #f7f4ef;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(222, 219, 211, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.main-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.cart-button,
.text-action,
.secondary-button,
.primary-button,
.ghost-button,
.tab-button,
.admin-pill,
.quantity-button {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 42px;
  border-radius: 4px;
  padding: 0 14px;
}

.icon-button {
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.text-action {
  border-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px;
}

.select-pill {
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  padding: 0 10px;
}

.page {
  min-height: 62vh;
}

.hero {
  min-height: min(640px, calc(100vh - var(--header) - 36px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 241, 235, 0.48), rgba(255, 253, 249, 0));
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 12vh, 120px) 0 clamp(54px, 9vh, 96px);
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  width: min(760px, 100%);
  margin: 14px 0 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(46px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  width: min(520px, 100%);
  margin: 0 0 30px;
  color: #474541;
  line-height: 1.65;
}

.hero-actions,
.button-row,
.admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 12px;
}

.primary-button {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.primary-button:hover {
  background: #000;
}

.secondary-button {
  background: var(--paper);
}

.ghost-button {
  border-color: transparent;
  padding-inline: 6px;
}

.block {
  width: 100%;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 108px) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-header h2,
.page-title,
.collection-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
}

.section-header p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.6;
}

.collection-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.collection-card {
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)),
    var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.collection-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 96px;
  right: -30px;
  bottom: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-color, #222) 82%, transparent);
  filter: blur(0.1px);
  transform: rotate(-8deg);
}

.collection-card::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 22px;
  right: 92px;
  bottom: 122px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-color, #222) 40%, white);
}

.collection-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.95;
  position: relative;
  z-index: 1;
}

.collection-card span {
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.search-field,
.form-field input,
.form-field textarea,
.form-field select,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 0 14px;
  color: var(--ink);
}

.form-field textarea,
.admin-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}

.product-grid:has(.product-card:only-child) {
  grid-template-columns: minmax(280px, 430px);
}

.product-card {
  min-width: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f0eee8;
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

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

.product-card:hover .product-media {
  border-color: var(--ink);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 54% 42%, rgba(255, 255, 255, 0.9), transparent 42%),
    #e4e1d9;
  position: relative;
}

.product-placeholder .sole {
  position: absolute;
  width: 58%;
  height: 8%;
  left: 20%;
  bottom: 31%;
  border-radius: 999px;
  background: #b98a56;
  transform: rotate(-2deg);
}

.product-placeholder .upper {
  position: absolute;
  width: 50%;
  height: 18%;
  left: 25%;
  bottom: 37%;
  border-radius: 58% 42% 34% 44%;
  background: var(--swatch, #222);
  transform: rotate(-2deg);
}

.product-placeholder .shine {
  position: absolute;
  width: 18%;
  height: 5%;
  left: 38%;
  bottom: 48%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  transform: rotate(-11deg);
}

.product-placeholder span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 11px;
  color: rgba(31, 31, 31, 0.46);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(31, 31, 31, 0.88);
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 14px;
  align-items: start;
}

.product-name {
  display: block;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-price {
  display: block;
  margin-top: 4px;
}

.compare {
  color: #a7a39b;
  text-decoration: line-through;
  margin-left: 6px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  outline: 2px solid var(--ink);
  background: var(--swatch, #222);
  margin: 3px;
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: #e8e2d8;
  margin: clamp(30px, 6vw, 80px) 0;
  padding: clamp(28px, 6vw, 80px);
}

.minimal-band {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto clamp(54px, 8vw, 108px);
  grid-template-columns: minmax(0, 1fr) auto;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px) 0;
}

.minimal-band h2 {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700;
}

.editorial-image {
  aspect-ratio: 5 / 3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent),
    url("./assets/hero-studio.png") center/cover no-repeat;
}

.editorial-band h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.98;
}

.editorial-band p,
.contact-copy,
.faq-item p,
.checkout-note,
.account-copy {
  color: var(--muted);
  line-height: 1.65;
}

.drawer,
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(460px, 100vw);
  height: 100vh;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.drawer.is-open,
.mobile-menu.is-open {
  transform: translateX(0);
}

.drawer {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.drawer-head,
.drawer-foot {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h2,
.modal-panel h2,
.admin-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
}

.drawer-body {
  overflow: auto;
  padding: 20px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  aspect-ratio: 1;
  background: #e9e7e1;
  overflow: hidden;
}

.cart-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-meta {
  display: block;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 40px 34px;
  align-items: center;
  border: 1px solid var(--line);
}

.quantity-button {
  min-height: 34px;
  width: 34px;
  padding: 0;
  border: 0;
}

.quantity-count {
  text-align: center;
  font-size: 13px;
}

.line-price {
  white-space: nowrap;
}

.remove-button {
  display: inline-block;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  text-decoration: underline;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 31, 0.38);
  z-index: 60;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(31, 31, 31, 0.36);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.auth-panel {
  width: min(520px, 100%);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  margin: 22px 0;
}

.tab-button {
  border: 0;
  min-height: 44px;
  border-radius: 0;
}

.tab-button.is-active {
  background: var(--ink);
  color: #fff;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label,
.admin-form label {
  color: #504e49;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-form label {
  display: grid;
  gap: 7px;
}

.helper-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.product-dialog {
  width: min(960px, 100%);
  padding: 0;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.product-modal-media {
  min-height: 620px;
  background: #e9e7e1;
}

.product-modal-info {
  padding: clamp(24px, 4vw, 44px);
}

.product-modal-info h2 {
  margin: 0 48px 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.price-large {
  font-size: 22px;
  margin: 0 0 18px;
}

.option-label {
  display: block;
  margin: 26px 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.size-button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

.size-button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.stock-line {
  margin: 18px 0;
  color: var(--ok);
  font-size: 13px;
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(50px, 8vw, 108px) 0;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: end;
  margin-bottom: 36px;
}

.page-title {
  margin-bottom: 16px;
}

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

.plain-panel,
.admin-panel,
.checkout-panel,
.account-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(20px, 3vw, 34px);
}

.contact-layout,
.checkout-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
}

.checkout-step {
  display: grid;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-step:first-child {
  padding-top: 0;
}

.checkout-step h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
}

.checkout-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.mini-thumb {
  width: 56px;
  aspect-ratio: 1;
  background: #e9e7e1;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.admin-pill {
  min-height: 38px;
}

.admin-pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.ship-form {
  display: grid;
  gap: 6px;
  min-width: 210px;
}

.ship-form input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 8px;
}

.ship-form .secondary-button {
  min-height: 34px;
  padding: 0 10px;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  transform: translate(-50%, 18px);
  background: var(--ink);
  color: #fff;
  min-width: min(360px, calc(100vw - 36px));
  padding: 14px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  text-align: center;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-menu {
  left: 0;
  right: auto;
  transform: translateX(-105%);
  width: min(360px, 86vw);
  padding: 72px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.mobile-menu .close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.5fr));
  gap: 34px;
  padding: clamp(42px, 7vw, 84px) clamp(18px, 4vw, 58px);
  background: var(--charcoal);
  color: #f6f2ea;
}

.site-footer p {
  max-width: 360px;
  color: #c7c0b4;
  line-height: 1.6;
}

.site-footer h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c7c0b4;
}

.site-footer a {
  display: block;
  margin: 10px 0;
  color: #f6f2ea;
}

.newsletter .field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 0;
}

.newsletter input {
  min-height: 46px;
  min-width: 0;
  border: 1px solid #6b665e;
  background: transparent;
  color: #fff;
  padding: 0 12px;
}

.newsletter button {
  min-height: 46px;
  border: 1px solid #f6f2ea;
  background: #f6f2ea;
  color: var(--ink);
  padding: 0 18px;
}

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

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

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

  .brand {
    justify-self: start;
  }

  .header-actions .text-action,
  .header-actions .select-pill {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-strip,
  .editorial-band,
  .contact-layout,
  .checkout-layout,
  .account-layout,
  .admin-layout,
  .page-intro {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header: 66px;
  }

  .announcement {
    padding: 7px 42px 7px 16px;
    justify-content: start;
  }

  .site-header {
    padding: 0 14px;
    gap: 10px;
  }

  .brand {
    font-size: 22px;
  }

  .cart-button {
    min-width: 42px;
    width: 42px;
    padding: 0;
    font-size: 0;
    justify-content: center;
  }

  .cart-button span {
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .hero {
    min-height: 620px;
  }

  .section-header,
  .toolbar,
  .checkout-row,
  .panel-grid,
  .admin-form .row {
    grid-template-columns: 1fr;
  }

  .section-header,
  .toolbar {
    display: grid;
  }

  .collection-strip,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-grid:has(.product-card:only-child) {
    grid-template-columns: 1fr;
  }

  .minimal-band {
    grid-template-columns: 1fr;
  }

  .quick-add {
    opacity: 1;
    transform: none;
    position: static;
    margin-top: 10px;
  }

  .product-info {
    grid-template-columns: 1fr;
  }

  .swatch {
    width: 28px;
    height: 28px;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-media {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .size-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .collection-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }
}
