:root{font:100%/1.55 Arial,sans-serif;color:#39231d;background:#fff8ef;--ink:#39231d;--berry:#862d4b;--blush:#ffd7df;--line:#e7c8bc}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #902853;outline-offset:4px}
a{color:inherit;text-underline-offset:.25em}
button{font:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.5}
.wrap{width:min(1150px,calc(100% - 3rem));margin-inline:auto}
.header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1rem}
.brand{font:700 2.7rem/.85 Georgia,serif;letter-spacing:-.09em;text-decoration:none;color:var(--berry);text-align:center}
.brand span{display:block;font:700 .78rem/1.5 Arial,sans-serif;letter-spacing:.03em;margin-top:.25rem}
.pill{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:.5rem;padding:.55rem 1.1rem;border:1px solid transparent;border-radius:99px;background:var(--berry);color:white;font-weight:700;text-decoration:none}
.pill:hover{filter:brightness(.9)}
.secondary{background:transparent;color:var(--berry);border-color:var(--berry)}
#count{border-radius:99px;background:var(--blush);padding:.03rem .45rem}
.hero{display:grid;grid-template-columns:1fr .85fr;align-items:center;background:var(--blush);border-radius:2.5rem .8rem 2.5rem .8rem;overflow:hidden}
.hero>div{padding:clamp(1.5rem,5vw,4rem)}
.hero img{width:100%;height:100%;max-height:480px;min-height:320px;object-fit:cover}
h1,h2,h3{margin:0}
h1,h2{font-family:Georgia,serif;color:var(--berry);line-height:1;letter-spacing:-.065em}
h1{font-size:clamp(3.3rem,8vw,7.25rem);max-width:8ch}
h2{font-size:clamp(2.3rem,5vw,4rem)}
h3{font-size:1.15rem;line-height:1.25}
.hero p{max-width:30ch;font-size:1.15rem}
.menu{padding-block:clamp(2.75rem,7vw,5rem)}
.menu-head{display:flex;justify-content:space-between;align-items:end;gap:1.2rem;flex-wrap:wrap;margin-bottom:1.5rem}
.menu-head p{margin:.55rem 0 0}
#filters{display:flex;flex-wrap:wrap;gap:.4rem}
#filters button,.product button,.stepper button{border:1px solid var(--line);background:#fff8ef;color:var(--berry);border-radius:99px;padding:.45rem .8rem;font-weight:700;min-height:44px}
#filters [aria-pressed=true],.product button:hover{background:var(--berry);color:white;border-color:var(--berry)}
.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.product{border:1px solid var(--line);border-radius:1.2rem;overflow:hidden;background:#fffcf7}
.product img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;background:var(--blush)}
.product-info{padding:1rem}
.product-info p{margin:.3rem 0 .65rem}
.product-action,.cart-head,.cart-row,.total{display:flex;justify-content:space-between;align-items:center;gap:.65rem}
.product-action{flex-wrap:wrap}
footer{background:var(--blush);padding:1.3rem 0}
footer p{margin:.15rem 0 0;font-size:.9rem}
dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,460px);max-width:100%;height:100%;max-height:100%;border:0;padding:clamp(1rem,4vw,1.75rem);background:#fff8ef;color:var(--ink)}
dialog::backdrop{background:#301820a8}
body:has(dialog[open]){overflow:hidden}
.cart-head h2{font-size:clamp(2rem,6vw,3rem)}
.cart-row,.total{padding-block:.9rem;border-bottom:1px solid var(--line)}
.stepper{display:flex;align-items:center;gap:.4rem}
.stepper button{min-width:44px;padding:0}
#demo-note{font-size:.9rem}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:760px){
  .wrap{width:calc(100% - 2rem)}
  .hero{grid-template-columns:1fr}
  .hero img{height:clamp(200px,60vw,360px);min-height:0}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
}
@media(max-width:420px){
  .header nav{display:none}
  .product-info{padding:.7rem}
  .product-action button{width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
