:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f0ece2;
  --ink: #231f20;
  --muted: #6f6a62;
  --line: #dfd8ca;
  --sage: #496a57;
  --sage-dark: #263f34;
  --clay: #a96f5f;
  --rose: #ead7d2;
  --sky: #dce8e4;
  --gold: #b08a45;
  --shadow: 0 18px 50px rgba(35, 31, 32, 0.1);
  --radius: 8px;
  --header-height: 74px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

:focus-visible {
  outline: 3px solid rgba(73, 106, 87, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  min-height: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1px;
  background: var(--line);
  color: white;
}

.announcement p {
  margin: 0;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sage-dark);
}

.announcement p:nth-child(2) {
  background: var(--clay);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1480px;
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px 11px;
  background: var(--sage);
  border-radius: 999px;
  transform: rotate(35deg);
  transform-origin: bottom center;
}

.brand-mark::after {
  transform: rotate(-35deg);
}

.desktop-nav,
.mobile-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav {
  justify-content: center;
}

.desktop-nav a,
.mobile-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.93rem;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.desktop-nav a.is-active,
.mobile-nav a.is-active,
.site-footer nav a.is-active {
  color: var(--sage-dark);
  font-weight: 800;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  position: relative;
}

.icon-button svg,
.filter-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button:hover {
  background: var(--surface-soft);
}

.menu-toggle {
  display: none;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font-size: 0.72rem;
  line-height: 1;
}

.collection-hero {
  max-width: 1480px;
  margin: 0 auto;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 38px;
  align-items: center;
  padding: clamp(30px, 4vw, 52px) 28px 20px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 520;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  max-width: 11ch;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
.filter-toggle,
.text-button,
.newsletter-form button,
.checkout-button {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  text-align: center;
  font-weight: 700;
}

.primary-link {
  background: var(--sage-dark);
  color: white;
}

.primary-link:hover {
  background: var(--sage);
}

.secondary-link,
.filter-toggle {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.secondary-link:hover,
.filter-toggle:hover {
  border-color: var(--sage);
}

.text-button {
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--sage);
}

.hero-media {
  min-height: min(390px, 50vh);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
  border: 1px solid var(--line);
}

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

.category-band,
.editorial-band,
.newsletter-band,
.trust-strip,
.site-footer {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.category-band {
  padding-top: 18px;
  padding-bottom: 42px;
}

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

.section-heading p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 122px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 16px;
  color: var(--ink);
}

.category-card:hover,
.category-card.is-active {
  border-color: var(--sage);
  box-shadow: 0 10px 28px rgba(73, 106, 87, 0.12);
}

.category-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.collection-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 30px 28px 72px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-heading h2 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.filter-group {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.filter-group legend,
.filter-group h3 {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.check-row,
.radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  color: var(--muted);
}

.check-row input,
.radio-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
}

.check-row span:first-of-type,
.radio-row span:first-of-type {
  color: var(--ink);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.range-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.range-row input,
.search-field input,
.newsletter-form input,
.sort-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 0 14px;
}

.toolbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 14px;
}

.toolbar h2 {
  font-family: inherit;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 720;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.result-count {
  color: var(--muted);
  white-space: nowrap;
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.sort-select select {
  min-width: 176px;
}

.filter-toggle {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin: 12px 0 18px;
}

.filter-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
}

.filter-chip button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  line-height: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card-link {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.product-card-link:hover .product-title {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.product-media img {
  width: 100%;
  height: 100%;
  padding: clamp(10px, 5%, 18px);
  object-fit: contain;
  transition: transform 240ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.badge-stack {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: white;
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge.sale {
  color: white;
  background: var(--clay);
}

.product-info {
  display: grid;
  gap: 7px;
}

.product-type {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  min-height: 48px;
  font-size: 1rem;
  font-weight: 720;
}

.product-benefit {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-row,
.price-row,
.variant-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.rating-meter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.price {
  color: var(--ink);
  font-weight: 800;
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(35, 31, 32, 0.18);
}

.product-action {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--sage-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--sage-dark);
  font-weight: 800;
  margin-top: auto;
}

.product-action:hover {
  background: var(--sage-dark);
  color: white;
}

.product-action.is-sold-out {
  border-color: var(--line);
  color: var(--muted);
}

.breadcrumb,
.product-detail-shell,
.related-section {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a,
.back-link {
  color: var(--sage-dark);
  font-weight: 800;
}

.product-detail-shell {
  padding-top: 24px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.product-detail-media {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  padding: clamp(24px, 7vw, 72px);
  object-fit: contain;
}

.product-detail-copy {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.product-detail-copy h1 {
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1;
}

.product-detail-price {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 850;
}

.product-detail-summary {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.detail-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.detail-section h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.product-benefit-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.product-spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-spec-list div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.product-spec-list div:first-child {
  border-top: 0;
}

.product-spec-list dt {
  color: var(--muted);
  font-weight: 700;
}

.product-spec-list dd {
  margin: 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.detail-cart-button {
  min-width: 190px;
}

.related-section {
  padding-top: 18px;
  padding-bottom: 72px;
}

.related-grid {
  margin-top: 18px;
}

.product-not-found {
  max-width: 680px;
  padding: 44px 0 58px;
}

.product-not-found p {
  color: var(--muted);
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 42px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.editorial-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 56px;
}

.content-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.content-block p {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding-top: 1px;
  padding-bottom: 1px;
}

.trust-item {
  min-height: 120px;
  background: var(--surface);
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.trust-item strong {
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.newsletter-band {
  padding-top: 58px;
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 30px;
  align-items: center;
}

.newsletter-form {
  display: grid;
  gap: 8px;
}

.newsletter-form label {
  color: var(--muted);
  font-size: 0.9rem;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form button {
  background: var(--sage-dark);
  color: white;
  min-width: 112px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sage);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 36px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  font-size: 1.4rem;
}

.site-footer p {
  max-width: 44ch;
  color: var(--muted);
}

.site-footer nav {
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-menu,
.search-overlay,
.filter-drawer,
.cart-drawer,
.checkout-overlay,
.quick-add {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(35, 31, 32, 0.38);
}

.mobile-menu[hidden],
.search-overlay[hidden],
.filter-drawer[hidden],
.cart-drawer[hidden],
.checkout-overlay[hidden],
.quick-add[hidden] {
  display: none;
}

.drawer-panel,
.search-panel,
.checkout-panel,
.quick-add-panel {
  width: min(440px, calc(100vw - 22px));
  height: 100%;
  margin-left: auto;
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: auto;
}

.search-panel {
  width: min(680px, calc(100vw - 22px));
  padding: 0 24px 28px;
}

.quick-add {
  display: grid;
  place-items: center;
  padding: 18px;
}

.checkout-overlay {
  display: grid;
  place-items: center;
  padding: 18px;
}

.checkout-panel {
  width: min(980px, 100%);
  height: auto;
  max-height: min(860px, 94vh);
  margin: 0;
  border-radius: var(--radius);
  padding: 0 24px 24px;
}

.quick-add-panel {
  width: min(520px, 100%);
  max-height: min(720px, 92vh);
  height: auto;
  margin: 0;
  border-radius: var(--radius);
  padding: 0 22px 22px;
}

.drawer-panel {
  padding: 0 22px 28px;
}

.drawer-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.mobile-nav {
  display: grid;
  align-items: stretch;
  gap: 0;
}

.mobile-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-result-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.search-result-link:hover h3 {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-result img {
  width: 74px;
  height: 86px;
  padding: 6px;
  object-fit: contain;
  border-radius: 6px;
}

.drawer-apply {
  width: 100%;
  margin-top: 22px;
}

.cart-panel {
  display: flex;
  flex-direction: column;
}

.cart-items {
  display: grid;
  gap: 14px;
  flex: 1;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.cart-item h3 {
  font-family: inherit;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.subtotal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cart-total {
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.shipping-note,
.checkout-help {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-button {
  width: 100%;
}

.checkout-form {
  display: grid;
  gap: 20px;
}

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

.checkout-section,
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.checkout-section h2,
.checkout-summary h2 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.checkout-section label,
.terms-row {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-section input,
.checkout-section select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 0 14px;
}

.checkout-section label + label,
.checkout-two-col,
.shipping-option + .shipping-option {
  margin-top: 12px;
}

.checkout-two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.shipping-options {
  display: grid;
  gap: 10px;
}

.shipping-option,
.payment-row {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 10px 12px;
}

.checkout-items {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-item,
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.checkout-item span {
  color: var(--muted);
}

.checkout-total-row {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}

.checkout-total-row.final {
  font-size: 1.08rem;
}

.terms-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: var(--ink);
}

.terms-row input,
.shipping-option input,
.payment-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
}

.checkout-submit {
  width: min(280px, 100%);
  justify-self: end;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.quick-product {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.quick-product img {
  width: 120px;
  aspect-ratio: 4 / 5;
  padding: 10px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.variant-list {
  display: grid;
  gap: 10px;
}

.variant-option {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.variant-option:hover {
  border-color: var(--sage);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 160;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--sage-dark);
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .announcement {
    grid-template-columns: 1fr;
  }

  .announcement p:nth-child(2) {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 18px;
  }

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

  .desktop-nav {
    display: none;
  }

  .collection-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 34px 18px 28px;
  }

  .hero-media {
    min-height: 340px;
    order: -1;
  }

  .category-band,
  .editorial-band,
  .newsletter-band,
  .trust-strip,
  .breadcrumb,
  .product-detail-shell,
  .related-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading,
  .toolbar,
  .newsletter-band,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .collection-shell {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .filter-sidebar {
    display: none;
  }

  .toolbar-actions {
    justify-content: flex-start;
  }

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

  .editorial-band,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-shell {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .product-detail-media {
    position: static;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  .brand span:last-child {
    max-width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-inner {
    gap: 10px;
  }

  .collection-hero {
    gap: 24px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .input-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .category-rail,
  .product-grid,
  .editorial-band,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .toolbar-actions,
  .sort-select {
    width: 100%;
  }

  .sort-select {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sort-select select,
  .filter-toggle {
    width: 100%;
  }

  .search-result {
    grid-template-columns: 1fr;
  }

  .search-result-link {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .search-result .product-action {
    width: 100%;
  }

  .quick-product {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .quick-product img {
    width: 82px;
  }

  .product-detail-copy h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .product-spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
