:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --surface: #fdfbf7;
  --forest: #15392e;
  --ink: #102c25;
  --muted: #4d5a54;
  --line: #c9c1b3;
  --sage: #e2e8db;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(18px, 4.1vw, 62px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #507a47; outline-offset: 4px; }
.shell { width: min(100% - var(--gutter) * 2, 1380px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); }
.header-inner { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.brand { font: 400 clamp(27px, 3.1vw, 45px)/1 var(--serif); letter-spacing: -.05em; white-space: nowrap; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: clamp(21px, 4vw, 55px); }
.site-nav a { font: 400 20px var(--serif); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.control, .primary, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--forest); border-radius: 6px; background: transparent; padding: 8px 15px; font-weight: 600; text-decoration: none; transition: background-color .16s, border-color .16s; }
.control:hover { background: var(--sage); }
.cart-trigger { justify-self: end; white-space: nowrap; }
.count { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.primary, .button { background: var(--forest); color: #fffdf6; }
.primary:hover, .button:hover { background: #245444; }

.hero { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: stretch; gap: clamp(30px, 4.6vw, 68px); padding-block: clamp(19px, 2.3vw, 34px) clamp(34px, 5vw, 70px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 10px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
.hero h1 { font-size: clamp(39px, 4.55vw, 68px); line-height: 1.01; letter-spacing: -.055em; text-wrap: balance; }
.hero p { max-width: 37ch; margin: 19px 0 25px; font: 400 clamp(19px, 1.9vw, 25px)/1.24 var(--serif); }
.hero .button { min-height: 49px; padding-inline: 21px; }
.hero-image { width: 100%; height: 100%; min-height: 340px; max-height: 510px; aspect-ratio: 1.66; object-fit: cover; object-position: center; display: block; }

.shop { padding-block: 0 clamp(52px, 7vw, 100px); scroll-margin-top: 94px; }
h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.06; letter-spacing: -.044em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px 18px; }
.filters button { min-height: 44px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; white-space: nowrap; }
.filters button:hover { border-color: var(--forest); }
.filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fffdf6; font-weight: 650; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(23px, 4vw, 62px); align-items: stretch; }
.card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 104px; padding: 14px 0; border-top: 1px solid var(--line); }
.grid { border-bottom: 1px solid var(--line); }
.card h3 { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.09; letter-spacing: -.025em; overflow-wrap: anywhere; }
.card-info { min-width: 0; }
.card small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.card-action { display: flex; align-items: center; flex: 0 0 auto; gap: clamp(9px, 1.5vw, 20px); }
.price { white-space: nowrap; font: 700 clamp(16px, 1.7vw, 23px)/1.15 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.price-unit { font: 400 13px/1.1 system-ui, sans-serif; color: var(--muted); }
.card-action button { font-size: 14px; padding-inline: 12px; }

.delivery { background: var(--sage); padding-block: clamp(39px, 6vw, 83px); scroll-margin-top: 75px; }
.delivery h2 { margin-bottom: 25px; }
.delivery-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px, 3.2vw, 48px); }
.delivery-steps > div + div { border-left: 1px solid #aeb8a8; padding-left: clamp(20px, 3.2vw, 48px); }
.delivery h3 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.025em; }
.delivery p { margin: 9px 0 0; color: #2c4136; max-width: 38ch; }
.site-footer { padding-block: 19px 24px; }
.preview { font-size: 13px; color: var(--muted); }

dialog { background: var(--paper); color: var(--ink); width: min(570px, calc(100% - 30px)); max-height: min(90dvh, 820px); border: 1px solid var(--line); border-radius: 16px; overflow: auto; padding: 24px; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(14 29 23 / .43); }
body:has(dialog[open]) { overflow: hidden; }
.cart-header { position: sticky; top: -24px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); padding: 12px 0; }
.cart-header h2 { font-size: clamp(34px, 5vw, 46px); }
.close { width: 44px; padding: 0; border-color: transparent; font-size: 30px; font-weight: 400; line-height: 1; }
.cart-lines { margin-top: 4px; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-name { display: block; line-height: 1.25; }
.cart-line small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.line-amount { display: block; margin-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.quantity { display: grid; grid-template-columns: 44px minmax(30px, auto) 44px; place-items: center; gap: 4px; font-size: 14px; white-space: nowrap; }
.quantity button { width: 44px; padding: 0; font-size: 21px; font-weight: 450; }
.totals { background: var(--sage); padding: 14px 15px; border-radius: 8px; margin: 15px 0; }
.totals p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.25; }
.total-amount { white-space: nowrap; font: 700 22px/1.1 var(--serif); }
#checkout, #send-order { width: 100%; }
.form { display: grid; gap: 12px; margin-top: 17px; }
.form h3 { font-size: 28px; letter-spacing: -.025em; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #818e82; border-radius: 6px; background: var(--surface); font-size: 16px; font-weight: 400; }
.form textarea { resize: vertical; }
.form .preview { margin: 0; }
#order-error { margin: 0; color: #962f24; }
#receipt { padding: 15px 0 5px; }

@media (max-width: 1080px) {
  .card-action { flex-direction: column; align-items: flex-end; gap: 7px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 64px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .site-nav { display: none; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .hero-copy { padding-block: 7px 0; }
  .hero h1 { max-width: 16ch; text-wrap: initial; }
  .hero p { margin: 11px 0 15px; }
  .hero-image { min-height: 0; max-height: 330px; height: auto; aspect-ratio: 1.84; }
  .shop { scroll-margin-top: 74px; }
  .filters { flex-wrap: nowrap; overflow: auto; padding-block: 15px; scrollbar-width: thin; }
  .grid { grid-template-columns: minmax(0,1fr); }
  .card { min-height: 88px; }
  .delivery { scroll-margin-top: 64px; }
  .delivery-steps { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .delivery-steps > div + div { border-left: 0; border-top: 1px solid #aeb8a8; padding: 14px 0 0; }
  dialog { position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 92dvh; padding: 12px 17px max(20px, env(safe-area-inset-bottom)); border: 0; border-radius: 18px 18px 0 0; }
  .cart-header { top: -12px; }
}
@media (max-width: 360px) {
  .cart-trigger { padding-inline: 9px; }
  .hero h1 { font-size: 34px; }
  .card h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
