:root {
  color-scheme: light;
  --paper: #fffdf8;
  --ink: #211c16;
  --muted: #64584e;
  --accent: #a43b24;
  --line: #ded7cc;
  --honey: #ffbd55;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, select, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #285c9c; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1312px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 12px; z-index: 5; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.notice { text-align: center; background: #282019; color: #fff9ed; padding: 9px 16px; font-size: .875rem; font-weight: 600; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.wordmark { font-weight: 900; letter-spacing: -.075em; font-size: 1.75rem; text-decoration: none; white-space: nowrap; }
.wordmark span, h2 span { color: var(--accent); }
nav { display: flex; gap: clamp(16px, 3vw, 42px); align-items: center; }
nav a { font-size: .95rem; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { background: var(--honey); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 45% 55%; min-height: 420px; }
.hero-content { padding: clamp(32px, 5vw, 74px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 900; letter-spacing: -.075em; }
h1 { font-size: clamp(3.5rem, 6.2vw, 6.4rem); line-height: .94; }
.hero-prices { font-size: clamp(1.05rem, 1.65vw, 1.45rem); margin: 24px 0 26px; white-space: nowrap; }
.hero-prices span { margin-inline: .25em; }
.hero-photo { display: grid; grid-template: minmax(0, 1fr) minmax(0, 1fr) / 1.55fr 1fr; gap: 4px; padding: 4px; background: var(--honey); min-width: 0; min-height: 0; }
.hero-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; padding: 8px; border-radius: 10px; }
.hero-photo img:first-child { grid-row: span 2; }
.hero-photo img:nth-child(n+2) { aspect-ratio: 1.4; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 100px; padding: 10px 19px; border: 1px solid transparent; text-decoration: none; font-size: .95rem; font-weight: 800; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #493a2d; }
.collection { padding-block: 58px 72px; scroll-margin-top: 20px; }
.collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
h2 { font-size: clamp(2.45rem, 4.2vw, 4.1rem); line-height: 1.05; }
.count { color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.filters, .pills, .select-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filters { justify-content: space-between; align-items: center; margin: 23px 0; row-gap: 14px; }
.pill, select, input[type="search"] { border: 1px solid var(--line); color: var(--ink); background: transparent; min-height: 42px; border-radius: 100px; padding: 7px 15px; font-weight: 700; font-size: .875rem; }
input[type="search"] { width: min(220px, 100%); background: white; }
.pill:hover, select:hover, input[type="search"]:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
select { appearance: none; padding-right: 35px; min-width: 102px; cursor: pointer; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 17px center / 5px 5px no-repeat, linear-gradient(135deg, currentColor 50%, transparent 50%) right 12px center / 5px 5px no-repeat; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 17px; }
.card { min-width: 0; }
.card-open { color: inherit; border: 0; width: 100%; text-align: left; padding: 0; background: transparent; border-radius: 15px; }
.card-photo, .detail-photo { display: block; width: 100%; background: #f4e8d9; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 15px; }
.card-photo { object-fit: contain; background: #fff; }
.card-open:hover .card-photo { filter: brightness(.96); }
.card-caption { padding: 12px 2px 2px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 1.05rem; font-weight: 850; letter-spacing: -.025em; }
.card-open:hover .item-name { text-decoration: underline; text-underline-offset: 4px; }
.card-buy { display: inline-block; margin: 9px 2px 0; font-size: .9rem; font-weight: 800; }
.meta { margin-top: 4px; padding-inline: 2px; color: var(--muted); font-size: .875rem; }
.empty { margin: 20px 0; padding: 26px; border: 1px dashed var(--line); border-radius: 15px; }
.empty .button { margin-top: 14px; }
.how { display: flex; justify-content: space-between; align-items: center; gap: 20px 36px; background: #f4e8d9; border-radius: 20px; padding: clamp(24px, 4vw, 52px); }
.how h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.how p { max-width: 57ch; margin-top: 13px; line-height: 1.55; color: var(--muted); }
.how a { flex-shrink: 0; }
footer { padding: 28px 0; border-top: 1px solid var(--line); margin-top: 45px; }
footer .wordmark { font-size: 1.35rem; }
dialog { position: fixed; width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: 18px; padding: 20px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #241b15a0; }
.close { position: absolute; right: 28px; top: 28px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.6rem; line-height: 1; }
.detail-photo { max-height: 48vh; object-fit: contain; }
.detail-text { padding-top: 16px; }
.detail-text h2 { font-size: 2.2rem; }
.detail-text p { margin: 8px 0; line-height: 1.5; }
.gallery { display: flex; gap: 8px; margin-top: 10px; }
.thumbnail { border: 2px solid transparent; padding: 2px; background: none; border-radius: 8px; }
.thumbnail[aria-pressed="true"] { border-color: var(--ink); }
.thumbnail img { display: block; width: 50px; height: 50px; border-radius: 4px; object-fit: contain; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px); }
  .hero { min-height: 340px; grid-template-columns: 50% 50%; }
  .hero-content { padding: 30px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .shell { width: calc(100% - 28px); }
  .masthead { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 12px 16px; min-height: auto; }
  .wordmark { font-size: 1.55rem; }
  nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 29px 22px 26px; }
  h1 { font-size: clamp(3rem, 14vw, 4.1rem); }
  .hero-prices { margin: 16px 0 18px; }
  .hero-photo { aspect-ratio: 1.45; }
  .collection { padding-block: 38px 45px; }
  .filters { margin-block: 16px; }
  .products { gap: 20px 11px; }
  .card-caption { font-size: .95rem; }
  .how { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
