:root {
  --paper: #faf9f6;
  --ink: #292d28;
  --muted: #686d65;
  --line: #dedfd9;
  --olive: #59644d;
  --olive-dark: #424c38;
  --white: #fff;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 14px/1.6 var(--sans);
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  min-height: 44px;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

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

:where(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

svg,
img {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

button svg,
.button svg,
.icon-button svg,
.cart-button svg,
.text-link svg,
.values svg,
.search-field svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  z-index: 40;
}

.skip-link:focus {
  top: 8px;
}

.announcement {
  padding: 9px 20px;
  background: #eeefe8;
  color: #41483b;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 12px max(32px, calc((100% - 1320px) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-word {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
}

.logo-word small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  font-size: 13px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  border-bottom-color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-button,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: inherit;
}

.icon-button svg,
.cart-button svg {
  width: 22px;
  height: 22px;
}

.cart-button {
  gap: 7px;
}

.cart-label {
  font-size: 13px;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 4px;
  border-radius: 50%;
  background: #eeefe8;
  font-size: 11px;
}

.has-favorites svg {
  fill: #d6dccd;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition: background .2s, color .2s;
}

.button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.button.primary {
  background: var(--olive);
  color: var(--white);
}

.button.primary:hover:not(:disabled) {
  background: var(--olive-dark);
}

.button.secondary {
  border-color: #a9afa2;
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover:not(:disabled) {
  background: #eeefe8;
}

.wide-button {
  width: 100%;
  justify-content: space-between;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 20px;
  border-bottom: 1px solid #a9afa2;
  font-size: 14px;
}

.text-link:hover {
  color: var(--olive-dark);
  border-bottom-color: var(--olive-dark);
}

.text-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.eyebrow {
  color: var(--olive);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  max-width: 1536px;
  margin: 0 auto;
  background: #f3f1eb;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 64px clamp(32px, 5vw, 80px);
}

.hero-copy h1 {
  max-width: 430px;
  margin: 18px 0 22px;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.8px;
}

.hero-copy p {
  max-width: 340px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-copy > .button {
  min-width: 150px;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  background: #e7e1d6;
}

.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}

.values > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 13px;
}

.values svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--olive);
}

.values small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.section-container,
.store-page {
  width: calc(100% - 64px);
  max-width: 1320px;
  margin: 0 auto;
}

.collection {
  padding: 56px 0;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: 28px;
}

.section-note {
  color: var(--muted);
  font-size: 13px;
}

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-width: 0;
  margin: 24px 0 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.category-tabs button {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.category-tabs button.selected {
  border-color: var(--olive);
  background: #eeefe8;
  color: var(--olive-dark);
}

.category-tabs button:not(.selected):hover {
  background: var(--paper);
  color: var(--ink);
}

.collection-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 370px;
  min-width: 0;
  max-width: 100%;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.search-field input::placeholder {
  color: var(--muted);
}

.sort-label {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  flex: 0 1 142px;
}

.sort-label select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.filter-status {
  min-height: 20px;
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

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

.product-card,
.product-meta > div {
  min-width: 0;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: #f1efe9;
}

.product-image > a {
  display: block;
}

img.product-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f1efe9;
  transition: transform .35s ease;
}

.product-image > a:hover img.product-art {
  transform: scale(1.025);
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fffffff0;
  color: var(--ink);
}

.favorite-button svg {
  width: 19px;
  height: 19px;
}

.favorite-button.liked svg,
.detail-favorite.liked svg {
  fill: #c1cbb6;
  stroke: var(--olive-dark);
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.product-name {
  display: inline-block;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-meta p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quick-add {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  flex-shrink: 0;
}

.quick-add:hover {
  border-color: var(--olive);
  background: #eeefe8;
}

.quick-add svg {
  width: 18px;
  height: 18px;
}

.product-price {
  margin-top: 6px;
  font-size: 14px;
}

.catalog-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-empty,
.cart-empty {
  padding: 64px 24px;
  background: var(--paper);
  text-align: center;
  grid-column: 1 / -1;
}

.catalog-empty > svg,
.cart-empty > svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.4;
}

.catalog-empty h3,
.cart-empty h3 {
  font-size: 24px;
}

.catalog-empty p,
.cart-empty p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
}

.story-art {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1;
  max-height: 520px;
}

.story-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 40px clamp(28px, 5vw, 72px);
}

.story-copy h2 {
  margin: 16px 0 20px;
  font-size: 30px;
}

.story-copy p {
  max-width: 390px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.closing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 48px 24px;
}

.closing-note h2 {
  font-size: 24px;
}

.site-footer {
  padding: 36px max(32px, calc((100% - 1320px) / 2)) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-top p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.footer-top h3 {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.footer-top > div > a:not(.footer-logo),
.footer-top button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.footer-top > div > a:not(.footer-logo):hover,
.footer-top button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.store-page {
  min-height: 60vh;
  padding: 36px 0 64px;
  overflow-wrap: anywhere;
}

.store-page :where(h1, h2, h3, p, a, strong, small, dt, dd, span) {
  overflow-wrap: anywhere;
}

.store-page :where(.page-grid, .page-panel, .detail-copy, .detail-order, .detail-actions, .cart-item-copy, .cart-item-bottom, .checkout-line, .receipt-items) {
  min-width: 0;
}

.store-page .button {
  min-width: 0;
  white-space: normal;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb > *,
.page-links > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.page-heading h1 {
  margin: 8px 0 14px;
  font-size: 32px;
}

.page-heading p {
  max-width: 660px;
  color: var(--muted);
  font-size: 14px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 36px;
}

.page-grid > * {
  min-width: 0;
}

.page-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.page-panel h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 24px;
}

.page-links .text-link {
  margin-top: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 500px;
}

.detail-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #f1efe9;
}

.detail-image img.product-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  min-width: 0;
  padding: 44px 32px 32px;
}

.detail-copy h2 {
  margin: 14px 0 18px;
  font-size: 28px;
}

.detail-price {
  font-size: 22px;
}

.detail-price small {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
}

.detail-description {
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.specs {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.specs > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
}

.detail-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  font-size: 13px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: max-content;
  min-width: 118px;
  min-height: 46px;
  border: 1px solid #b8bdb1;
  background: var(--white);
  flex-shrink: 0;
}

.quantity-control button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
}

.quantity-control span {
  min-width: 28px;
  font-size: 13px;
  text-align: center;
}

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

.detail-actions > .primary {
  min-width: 0;
  flex: 1;
}

.detail-favorite {
  width: 48px;
  padding: 12px;
}

.demo-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.product-page .detail-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  min-height: 0;
}

.product-page .detail-image {
  aspect-ratio: 1;
}

.product-page .detail-copy {
  padding: 16px 0;
}

.product-page .detail-copy h1 {
  margin: 14px 0 20px;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -.4px;
}

.product-page .detail-price {
  font-size: 24px;
}

.product-information {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.product-information > summary {
  min-height: 52px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 14px;
}

.product-information .specs {
  padding-top: 4px;
  border: 0;
}

.product-information p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.cart-items {
  min-width: 0;
  padding: 8px 24px 16px;
}

.cart-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cart-product-link {
  display: block;
  flex-shrink: 0;
}

.cart-item > img.product-art,
.cart-product-link > img.product-art {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.cart-item-copy {
  min-width: 0;
  flex: 1;
}

.cart-item h3 {
  padding-right: 36px;
  font-size: 18px;
  line-height: 1.4;
}

.cart-item p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.cart-item-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.cart-item-bottom > span {
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.remove-item {
  position: absolute;
  top: 14px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.remove-item svg {
  width: 16px;
  height: 16px;
}

.cart-bottom {
  min-width: 0;
  padding: 24px;
}

.shipping-note {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #eeefe8;
  color: var(--olive-dark);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.order-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  margin: 20px 0 24px;
  font-size: 14px;
}

.order-totals > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-totals dt {
  color: var(--muted);
}

.order-totals dd {
  margin: 0;
  text-align: right;
}

.order-totals .total {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
}

.cart-page .cart-items {
  padding: 0;
}

.cart-page .cart-bottom {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cart-page .cart-empty {
  border: 1px solid var(--line);
}

body[data-checkout="true"] .site-header {
  min-height: 72px;
  padding-inline: max(24px, calc((100% - 1100px) / 2));
}

body[data-checkout="true"] .desktop-nav,
body[data-checkout="true"] #search-open,
body[data-checkout="true"] #favorites-open,
body[data-checkout="true"] .logo-word small,
body[data-checkout="true"] .site-footer {
  display: none;
}

.store-page.checkout-page {
  width: calc(100% - 48px);
  max-width: 1100px;
  padding: 36px 0 64px;
}

.checkout-page > h1#checkout-title {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.4px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 420px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.checkout-content,
.checkout-form,
.checkout-summary,
.checkout-summary-content {
  min-width: 0;
}

.checkout-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.checkout-preview-note {
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid #e0e3d8;
  border-radius: 6px;
  background: #f4f5ef;
  color: #525a49;
  font-size: 13px;
  line-height: 1.6;
}

.checkout-section {
  margin-bottom: 30px;
}

.checkout-section h2 {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

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

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
}

.checkout-field span {
  min-width: 0;
}

.checkout-fields .field-wide {
  grid-column: 1 / -1;
}

.checkout-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 14px;
  border: 1px solid #b9bcb6;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.checkout-field input:disabled {
  border-color: #b9bcb6;
  background: var(--white);
  color: var(--ink);
  opacity: 1;
  -webkit-text-fill-color: var(--ink);
  cursor: default;
}

.checkout-choice {
  min-width: 0;
  padding: 16px;
  border: 1px solid #c2c8b9;
  border-radius: 6px;
  background: #f8f9f5;
  overflow-wrap: anywhere;
}

.checkout-choice-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.checkout-choice-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--olive);
  flex-shrink: 0;
}

.consent > :not(input) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkout-form .button {
  width: 100%;
  min-height: 54px;
  border-radius: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.checkout-policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-policy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-summary {
  position: sticky;
  top: 100px;
  align-self: start;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f5f5f5;
}

.checkout-summary > summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
}

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

.checkout-summary > summary::marker {
  content: "";
}

.summary-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
}

.summary-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform .2s;
}

.checkout-summary[open] .summary-label svg {
  transform: rotate(180deg);
}

.summary-total {
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
  text-align: right;
}

.checkout-summary-content {
  padding: 24px;
}

.checkout-lines {
  min-width: 0;
}

.checkout-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 0;
}

.checkout-line > .checkout-thumbnail {
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 64px;
  flex: 0 0 64px;
}

.checkout-thumbnail img.product-art {
  width: 100%;
  height: 100%;
  border: 1px solid #dededb;
  border-radius: 6px;
  object-fit: cover;
}

.checkout-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 12px;
  background: #666b62;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.checkout-line > div:not(.checkout-thumbnail) {
  min-width: 0;
  flex: 1;
}

.checkout-line strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.checkout-line small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.checkout-line > span {
  min-width: 0;
  max-width: 32%;
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.checkout-summary .order-totals {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.checkout-summary .order-totals .total {
  font-size: 20px;
}

.checkout-disclaimer {
  margin-top: 20px;
  padding: 16px;
  border-radius: 6px;
  background: #f0f2e9;
  color: #525a49;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-disclaimer strong {
  color: var(--olive-dark);
  font-weight: 500;
}

.checkout-disclaimer p {
  margin-top: 6px;
}

.receipt-page {
  max-width: 760px;
  padding-top: 40px;
}

.receipt-page h1 {
  margin: 14px 0 22px;
  font-size: 30px;
}

.receipt-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eeefe8;
  color: var(--olive);
}

.receipt-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.receipt-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.receipt-id {
  margin: 20px 0;
  padding: 12px;
  background: var(--paper);
  color: var(--muted);
  font: 12px/1.8 ui-monospace, monospace;
  overflow-wrap: anywhere;
}

.receipt-items {
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.orders-empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.saved-orders {
  display: grid;
  gap: 16px;
}

.saved-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.saved-order strong,
.saved-order > span {
  font-size: 13px;
  font-weight: 500;
}

.saved-order small {
  grid-column: 1 / -1;
  color: var(--muted);
  font: 11px/1.5 ui-monospace, monospace;
  overflow-wrap: anywhere;
}

.saved-order .order-status {
  grid-column: 1 / -1;
  color: var(--olive);
  font-size: 12px;
}

dialog {
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px #242b2826;
}

dialog:not([open]) {
  display: none;
}

dialog::backdrop {
  background: #20271f66;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fffffff0;
}

.info-dialog {
  width: 560px;
  padding: 40px 32px 32px;
  overflow: auto;
}

.info-dialog h2 {
  margin: 12px 40px 24px 0;
  font-size: 26px;
}

.info-dialog > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  transform: translateX(-50%);
  background: #30372cf5;
  color: var(--white);
  font-size: 13px;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.toast[hidden] {
  display: none;
}

.noscript-notice {
  padding: 20px;
  background: #eeefe8;
  text-align: center;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 20px;
  }

  .cart-label {
    display: none;
  }

  .section-note {
    display: none;
  }

  .hero-copy {
    padding: 40px 32px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
    padding: 10px 24px;
    gap: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .logo-word {
    font-size: 19px;
  }

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

  .hero-copy {
    padding: 36px 24px;
  }

  .hero-copy h1 {
    max-width: none;
    margin: 14px 0 16px;
    font-size: 38px;
  }

  .hero-copy p {
    max-width: 480px;
    font-size: 15px;
  }

  .hero-copy > .button {
    margin-top: 24px;
  }

  .hero-art {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .values {
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
  }

  .values > div {
    gap: 8px;
    font-size: 12px;
  }

  .values svg {
    width: 24px;
    height: 24px;
  }

  .values small {
    display: none;
  }

  .section-container,
  .store-page {
    width: calc(100% - 48px);
  }

  .collection {
    padding: 40px 0;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .collection-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .collection-controls {
    width: 100%;
    flex: none;
  }

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

  .product-name {
    font-size: 14px;
  }

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

  .story-art {
    max-height: 480px;
  }

  .story-copy {
    padding: 32px 24px;
  }

  .story-copy h2 {
    font-size: 26px;
  }

  .closing-note {
    padding: 36px 24px;
  }

  .site-footer {
    padding: 28px 24px 0;
  }

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }

  .store-page {
    padding: 28px 0 48px;
  }

  .page-heading h1 {
    font-size: 30px;
  }

  .page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-panel,
  .cart-page .cart-bottom {
    padding: 24px;
  }

  .detail-layout,
  .product-page .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
  }

  .detail-image {
    aspect-ratio: 1;
  }

  .detail-copy {
    padding: 28px;
  }

  .product-page .detail-copy {
    padding: 0;
  }

  .product-page .detail-copy h1 {
    font-size: 30px;
  }

  .cart-item {
    gap: 16px;
    padding: 20px 0;
  }

  .cart-item > img.product-art,
  .cart-product-link > img.product-art {
    width: 72px;
    height: 72px;
  }

  .cart-item h3 {
    font-size: 17px;
  }

  .store-page.checkout-page {
    padding-top: 28px;
  }

  .checkout-page > h1#checkout-title {
    margin-bottom: 22px;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .checkout-summary {
    position: static;
    grid-row: 1;
  }

  .checkout-content.checkout-form {
    grid-row: 2;
  }

  .checkout-summary > summary {
    display: flex;
  }

  .checkout-summary[open] > summary {
    border-bottom: 1px solid var(--line);
  }

  .checkout-summary-content {
    padding: 20px;
  }

  .receipt-page {
    padding-top: 32px;
  }

  .info-dialog {
    padding: 36px 24px 28px;
  }

  .info-dialog h2 {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .announcement {
    padding: 8px 16px;
    font-size: 11px;
  }

  .site-header {
    padding: 10px 16px;
    gap: 8px;
  }

  .logo-word {
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  .logo-word small {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .header-actions {
    gap: 2px;
  }

  .cart-button {
    gap: 4px;
    padding: 4px;
  }

  .hero-copy {
    padding: 30px 20px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .values {
    gap: 12px;
    padding: 16px;
  }

  .values > div {
    gap: 6px;
    font-size: 11px;
    line-height: 1.4;
  }

  .values svg {
    width: 20px;
    height: 20px;
  }

  .section-container,
  .store-page {
    width: calc(100% - 32px);
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .category-tabs button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .collection-controls {
    gap: 10px;
  }

  .sort-label {
    padding-left: 10px;
    flex-basis: 128px;
  }

  .search-field input {
    font-size: 12px;
  }

  .product-grid {
    gap: 24px 12px;
  }

  .favorite-button {
    top: 6px;
    right: 6px;
  }

  .product-meta {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .product-meta > div {
    flex: 1 1 80px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-meta p {
    font-size: 11px;
  }

  .product-price {
    font-size: 13px;
  }

  .story-copy h2,
  .closing-note h2 {
    font-size: 24px;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-top {
    gap: 20px 12px;
  }

  .footer-top > div > a:not(.footer-logo),
  .footer-top button {
    font-size: 12px;
  }

  .page-heading h1,
  .product-page .detail-copy h1,
  .receipt-page h1 {
    font-size: 28px;
  }

  .page-panel,
  .cart-page .cart-bottom,
  .cart-items,
  .cart-bottom {
    padding-inline: 20px;
  }

  .cart-item {
    gap: 12px;
  }

  .cart-item > img.product-art,
  .cart-product-link > img.product-art {
    width: 64px;
    height: 64px;
  }

  .cart-item h3 {
    font-size: 16px;
  }

  .cart-item-bottom > span {
    font-size: 12px;
  }

  body[data-checkout="true"] .site-header {
    padding-inline: 16px;
  }

  .store-page.checkout-page {
    width: calc(100% - 32px);
  }

  .checkout-fields {
    gap: 12px;
  }

  .checkout-field input {
    padding-inline: 10px;
  }

  .checkout-summary > summary,
  .checkout-summary-content {
    padding: 16px;
  }

  .summary-label {
    font-size: 13px;
  }

  .summary-total {
    font-size: 16px;
  }

  .checkout-line {
    gap: 12px;
  }

  .checkout-line strong {
    font-size: 13px;
  }

  .checkout-line > span {
    font-size: 12px;
  }

  .info-dialog {
    padding: 36px 20px 24px;
  }
}

@media (max-width: 320px) {
  .checkout-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-line > .checkout-thumbnail {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-basis: 48px;
  }

  .checkout-line {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
