@font-face {
  font-family: ShopSans;
  src: url("fonts/shop-sans.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: ShopSerif;
  src: url("fonts/shop-serif.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #1c1916;
  --paper: #f7f4ed;
  --accent: #4f7d56;
  --paper-alt: #eeeadf;
  --accent-soft: #dce8d9;
  --line: #d8d2c6;
  --muted: #625e57;
  --white: #ffffff;
  --display: ShopSerif, Georgia, serif;
  --body: ShopSans, "Segoe UI", sans-serif;
  --page-width: 1200px;
  --section-space: clamp(4rem, 8vw, 8rem);
  --image-position: center;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

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

button,
input { font: inherit; }

button { cursor: pointer; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  text-decoration: none;
}

.brand-lockup .mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-name {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.desktop-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover { color: var(--ink); }

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.header-action:hover {
  background: var(--ink);
  color: var(--paper);
}

.header-action svg { width: 15px; height: 15px; }

.store-main { padding-bottom: 108px; }

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: stretch;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: min(580px, calc(100vh - 220px));
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) 0 clamp(36px, 4vw, 54px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 0;
}

.eyebrow,
.section-kicker,
.card-eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 68px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: .98;
}

.hero-copy .hero-subtitle {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  min-width: 175px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.primary-link:hover { background: var(--accent); border-color: var(--accent); }

.secondary-link {
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-notes li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-media {
  position: relative;
  min-height: 0;
  height: clamp(340px, 36vw, 460px);
  overflow: hidden;
  background: var(--paper-alt);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position);
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: rgba(28, 25, 22, .84);
  color: #fff;
}

.hero-caption span {
  max-width: 240px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}

.hero-caption small {
  max-width: 170px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.hero-index {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px 14px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.collection-section {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.collection-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.collection-heading h2,
.story-copy h2,
.section-heading h1,
.delivery-copy h2,
.detail-copy h1,
.thanks h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.collection-heading h2,
.story-copy h2,
.delivery-copy h2 { font-size: 48px; }

.collection-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(28, 25, 22, .12);
}

.product-media {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper-alt);
  text-align: left;
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  object-position: var(--image-position);
  transition: transform .45s ease;
}

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

.product-status {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}

.product-index {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.product-body {
  display: flex;
  min-height: 214px;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.product-body h3 { margin: 0; }

.product-title-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: left;
}

.product-title-button:hover { color: var(--accent); }

.product-description {
  min-height: 44px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 18px;
}

.product-facts span {
  border: 1px solid var(--line);
  padding: 5px 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-price .was,
.detail-price-row .was {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.product-price strong,
.detail-price-row strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.card-action button,
.detail-quantity button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.card-action button:hover,
.detail-quantity button:hover {
  background: var(--ink);
  color: var(--paper);
}

.card-action .count,
.detail-quantity .count {
  min-width: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  width: 100%;
  min-height: 570px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}

.story-image { min-height: 440px; }

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position);
}

.story-copy {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 112px);
}

.story-copy .section-kicker { color: var(--accent); }

.story-copy h2 { color: var(--paper); }

.story-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
  font-size: 16px;
  line-height: 1.58;
}

.story-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.principles-section {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.principles-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.principles-heading h2 {
  max-width: 540px;
  margin: 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
}

.principles-heading p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 30px;
}

.principle { padding-right: 18px; }

.principle + .principle { border-left: 1px solid var(--line); padding-left: 24px; }

.principle-index {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.principle h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.principle p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  min-height: 430px;
  background: var(--accent-soft);
}

.delivery-copy {
  display: flex;
  max-width: 570px;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  padding: clamp(46px, 7vw, 88px);
}

.delivery-copy > p:not(.section-kicker) {
  max-width: 420px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.delivery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-content: stretch;
  background: color-mix(in srgb, var(--ink) 15%, transparent);
}

.delivery-list div {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: end;
  padding: 26px;
  background: var(--paper);
}

.delivery-list span {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.delivery-list strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.08;
}

.footer {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-name {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.footer-note { color: var(--muted); font-size: 12px; }

/* Product detail */
.product-page {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 132px;
}

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.crumbs:hover { color: var(--ink); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
  gap: clamp(32px, 5.5vw, 82px);
  align-items: start;
}

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

.detail-hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-alt);
}

.detail-hero {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: var(--image-position);
  transition: opacity .18s ease;
}

.detail-hero.swap { opacity: .35; }

.gallery-control {
  position: absolute;
  top: 50%;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 24px;
  transform: translateY(-50%);
}

.gallery-control:hover { background: var(--ink); color: var(--paper); }
.gallery-control.prev { left: 14px; }
.gallery-control.next { right: 14px; }

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 2px;
}

.dots .dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--line);
}

.dots .dot.on { background: var(--ink); }

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.thumb {
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--paper-alt);
}

.thumb.on { border-color: var(--ink); }

.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.detail-copy { padding-top: 8px; }

.detail-copy h1 { margin-top: 5px; font-size: 52px; }

.detail-sub {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.detail-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.detail-micro span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.detail-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price-row .price-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.detail-price-row strong { font-size: 28px; }

.detail-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-quantity label {
  margin-right: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.detail-claim { width: 100%; }

.detail-claim .primary-link { width: 100%; }

.detail-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.details-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.details-list details { border-bottom: 1px solid var(--line); }

.details-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

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

.details-list summary::after { content: "+"; color: var(--accent); font-size: 21px; font-weight: 400; }
.details-list details[open] summary::after { content: "-"; }

.details-list p {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}

.detail-editorial {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 24px;
  margin-top: var(--section-space);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-editorial h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 500;
  line-height: 1.08;
}

.detail-editorial p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Checkout and confirmation retain the existing form behavior with revised chrome. */
.checkout-page,
.thanks-page {
  min-height: 100vh;
  padding-bottom: 118px;
}

.checkout-wrap,
.thanks-wrap {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0;
}

.checkout-wrap > h1,
.thanks h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.04;
}

.checkout-wrap .lead-sub {
  max-width: 610px;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
}

.checkout-wrap .trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 18px;
  background: var(--line);
}

.checkout-wrap .trust-strip > div {
  min-height: 74px;
  padding: 14px 12px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.checkout-wrap #cart-box {
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.checkout-wrap #cart-box::before {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
}

.checkout-wrap form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.checkout-wrap form div.input1 label {
  color: var(--muted);
  font-size: 11px;
}

.checkout-wrap form div.input1 input {
  min-height: 46px;
  border-color: var(--line);
  border-radius: 2px;
}

.checkout-wrap .pay-title {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-wrap .pay-note {
  border-color: var(--line);
  border-radius: 0;
  background: var(--paper);
}

.checkout-wrap .no-pay { color: var(--muted); }

#verify-step { display: none; }
body[data-step="verify"] #verify-step { display: block; }
body[data-step="verify"] form > .input1,
body[data-step="verify"] form > .row2,
body[data-step="verify"] form > .pay-title,
body[data-step="verify"] form > .pay-note { display: none !important; }
body[data-step="verify"] #verify-step .pay-title,
body[data-step="verify"] #verify-step .pay-note,
body[data-step="verify"] #verify-step .input1 { display: block !important; }

.thanks {
  max-width: 620px;
  margin: 0 auto;
  padding: 90px 0 40px;
  text-align: center;
}

.thanks-check {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.thanks h2 { font-size: 52px; }
.thanks-sku { margin: 16px 0 0; font-size: 16px; font-weight: 800; }
.thanks-note { max-width: 430px; margin: 16px auto 0; color: var(--muted); font-size: 15px; }

.button-submit {
  position: fixed !important;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex !important;
  flex-direction: column;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent) !important;
  box-shadow: 0 -10px 26px rgba(28, 25, 22, .08) !important;
  backdrop-filter: blur(12px);
}

#submit-reject {
  display: none;
  width: min(540px, 100%);
  color: #b42318;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  padding: 0 4px 8px;
}
#submit-reject.show { display: block; }

.button-submit button {
  width: min(540px, 100%);
  min-height: 50px;
  margin: 0 !important;
  padding: 12px 20px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 4px !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .03em;
}

.button-submit button:hover { background: var(--accent) !important; border-color: var(--accent) !important; }

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(28, 25, 22, .34);
}

.loading-overlay.show { display: flex !important; }

.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, .55);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Profile choices stay restrained and category-safe. */
body[data-profile="journal"] { --display: ShopSerif, Georgia, serif; }
body[data-profile="journal"] .hero-media,
body[data-profile="journal"] .detail-hero-wrap { border: 1px solid var(--ink); }
body[data-profile="journal"] .product-card { border-radius: 0; }
body[data-profile="journal"] .product-status { background: var(--ink); color: var(--paper); }

body[data-profile="atelier"] .hero-copy h1,
body[data-profile="atelier"] .collection-heading h2 { line-height: 1.05; }
body[data-profile="atelier"] .product-card { border-radius: 6px; overflow: hidden; }
body[data-profile="atelier"] .hero-media { border-radius: 0 0 0 48px; }
body[data-profile="atelier"] .product-status { border-radius: 100px; }

body[data-profile="field"] .site-header { background: var(--ink); border-color: color-mix(in srgb, var(--paper) 30%, transparent); }
body[data-profile="field"] .brand-name,
body[data-profile="field"] .desktop-nav a,
body[data-profile="field"] .header-action { color: var(--paper); }
body[data-profile="field"] .header-action { border-color: var(--paper); }
body[data-profile="field"] .header-action:hover { background: var(--paper); color: var(--ink); }
body[data-profile="field"] .hero-media { border-radius: 28px 0 0 0; }
body[data-profile="field"] .product-card { border-top: 4px solid var(--accent); }

body[data-profile="studio"] .hero-copy h1 { font-family: var(--body); font-weight: 900; line-height: .93; }
body[data-profile="studio"] .product-title-button { font-family: var(--body); font-weight: 900; }
body[data-profile="studio"] .hero-media { border-radius: 8px; }
body[data-profile="studio"] .product-card { border-radius: 8px; overflow: hidden; }

body[data-profile="calm"] .site-header { border-bottom-color: transparent; }
body[data-profile="calm"] .hero-media { border-radius: 999px 999px 0 0; }
body[data-profile="calm"] .product-card { border-radius: 18px; overflow: hidden; }
body[data-profile="calm"] .product-status { border-radius: 100px; }

body[data-profile="modern"] .hero-copy h1 { font-family: var(--body); font-weight: 800; }
body[data-profile="modern"] .hero-media { border-radius: 0; }
body[data-profile="modern"] .product-card { box-shadow: none; }
body[data-profile="modern"] .product-card:hover { box-shadow: 0 16px 28px rgba(28, 25, 22, .1); }

body[data-layout="shelf"] .store-hero {
  grid-template-columns: minmax(380px, 1.18fr) minmax(0, .82fr);
}
body[data-layout="shelf"] .hero-media { order: -1; }
body[data-layout="shelf"] .product-grid {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) minmax(0, 1fr);
}

body[data-layout="guide"] .store-hero {
  min-height: 0;
  align-items: start;
}
body[data-layout="guide"] .hero-copy h1 {
  max-width: 16ch;
  font-size: 52px;
}
body[data-layout="guide"] .hero-notes {
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}

body[data-layout="journal"] .store-hero {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}
body[data-layout="journal"] .story-section { direction: rtl; }
body[data-layout="journal"] .story-section > * { direction: ltr; }

body[data-layout="studio"] .store-hero {
  min-height: 0;
  align-items: start;
  gap: 36px;
}
body[data-layout="studio"] .hero-media img {
  height: auto;
  aspect-ratio: 4 / 5;
}
body[data-layout="studio"] .product-grid { gap: 12px; }

body[data-layout="club"] .hero-media img { object-position: center 72%; }
body[data-layout="club"] .product-grid {
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .79fr) minmax(0, .79fr);
}

@media (max-width: 900px) {
  .site-header-inner,
  .store-hero,
  .collection-section,
  .principles-section,
  .footer,
  .product-page { width: min(100% - 32px, var(--page-width)); }

  .site-header-inner { grid-template-columns: 1fr auto; min-height: 64px; }
  .desktop-nav { display: none; }

  .store-hero { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-top: 36px; }
  body[data-layout="shelf"] .store-hero,
  body[data-layout="guide"] .store-hero,
  body[data-layout="journal"] .store-hero,
  body[data-layout="studio"] .store-hero,
  body[data-layout="club"] .store-hero { grid-template-columns: 1fr; }
  body[data-layout="shelf"] .hero-media { order: 0; }
  body[data-layout="studio"] .hero-media img { aspect-ratio: auto; }
  body[data-layout="shelf"] .product-grid,
  body[data-layout="club"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: 40px; max-width: 18ch; }
  .hero-media,
  .hero-media img { height: clamp(320px, 46vw, 420px); }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-section,
  .delivery-section { grid-template-columns: 1fr; }
  .story-image { min-height: 420px; }
  .story-copy { max-width: none; }
  .delivery-copy { justify-self: stretch; max-width: none; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .detail-copy { max-width: 650px; }
}

@media (max-width: 620px) {
  .announcement { min-height: 32px; padding: 7px 12px; font-size: 9px; }
  .brand-lockup .mark { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-name { max-width: 170px; font-size: 12px; letter-spacing: .1em; }
  .header-action { min-height: 36px; padding: 7px 9px; font-size: 10px; }

  .store-main { padding-bottom: 100px; }
  .store-hero { gap: 12px; padding: 20px 0 22px; }
  .hero-copy h1 { font-size: 32px; max-width: 16ch; }
  .hero-copy .hero-subtitle { margin-top: 18px; font-size: 15px; }
  .hero-actions { gap: 8px; margin-top: 20px; }
  .primary-link { width: 100%; }
  .secondary-link { min-height: auto; }
  .hero-notes { gap: 7px 12px; margin-top: 12px; }
  .hero-notes li { font-size: 11px; }
  .hero-media,
  .hero-media img { height: 200px; }
  .hero-caption { padding: 16px; }
  .hero-caption span { font-size: 18px; }
  .hero-caption small { display: none; }

  .collection-section { padding: 36px 0 58px; }
  .collection-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .collection-heading h2 { font-size: 37px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { display: grid; grid-template-columns: minmax(132px, .84fr) minmax(0, 1fr); }
  .product-media img { height: 100%; min-height: 248px; aspect-ratio: auto; }
  .product-body { min-height: 0; padding: 16px 14px; }
  .product-title-button { font-size: 23px; }
  .product-description { min-height: 0; font-size: 12px; }
  .product-facts { margin: 11px 0; gap: 5px; }
  .product-facts span { padding: 4px 5px; font-size: 9px; }
  .product-footer { padding-top: 10px; }
  .card-action button { width: 29px; height: 29px; }

  .story-section { min-height: 0; }
  .story-image { min-height: 330px; }
  .story-copy { padding: 50px 24px 56px; }
  .story-copy h2 { font-size: 38px; }
  .story-copy > p:not(.section-kicker) { margin-top: 18px; font-size: 15px; }

  .principles-section { padding: 58px 0; }
  .principles-heading { display: block; padding-bottom: 18px; }
  .principles-heading p { margin-top: 14px; }
  .principle-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .principle,
  .principle + .principle { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle-index { margin-bottom: 20px; }
  .principle h3 { font-size: 25px; }

  .delivery-copy { padding: 50px 24px; }
  .delivery-copy h2 { font-size: 38px; }
  .delivery-list div { min-height: 132px; padding: 18px; }
  .delivery-list strong { font-size: 20px; }
  .footer-inner { display: block; }
  .footer-note { display: block; margin-top: 8px; }

  .product-page { padding: 22px 0 116px; }
  .crumbs { margin-bottom: 16px; }
  .detail-hero { aspect-ratio: 1 / 1.12; }
  .gallery-control { width: 36px; height: 36px; font-size: 20px; }
  .detail-copy h1 { font-size: 42px; }
  .detail-price-row { align-items: flex-start; flex-direction: column; }
  .detail-quantity { width: 100%; justify-content: space-between; }
  .detail-editorial { grid-template-columns: 1fr; gap: 14px; }
  .detail-editorial h2 { font-size: 30px; }

  .checkout-wrap,
  .thanks-wrap { width: min(100% - 28px, 760px); padding: 36px 0; }
  .checkout-wrap .trust-strip { grid-template-columns: 1fr; }
  .checkout-wrap .trust-strip > div { min-height: 0; text-align: left; }
  .checkout-wrap form { padding: 20px 16px; }
  .checkout-wrap .row2 { gap: 8px; }
  .button-submit { min-height: 74px; }
}
