:root {
  color-scheme: light;
  --ink: #231e1c;
  --muted: #625955;
  --paper: #fbf9f6;
  --card: #fff;
  --line: #ece5de;
  --accent: #a6301c;
  --accent-light: #f6e5dc;
  --radius: 1.75rem;
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.062em; line-height: 1; }
h2 { font-size: clamp(2.45rem, 5vw, 4.45rem); }
:focus-visible { outline: 3px solid #bd452e; outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }
.wrap { width: min(76rem, calc(100% - 5rem)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .7rem; background: white; }
.top { position: sticky; top: 0; z-index: 5; background: #fbf9f6ed; border-bottom: 1px solid #3d2b2012; backdrop-filter: saturate(160%) blur(18px); }
.nav, .nav-actions, nav { display: flex; align-items: center; gap: clamp(.8rem, 2.8vw, 2.3rem); }
.nav { min-height: 4.4rem; justify-content: space-between; }
.brand { font-size: 1.7rem; font-weight: 850; letter-spacing: -.095em; line-height: 1; white-space: nowrap; }
.brand span, h1 span { color: var(--accent); }
nav a, .nav-phone { font-size: .93rem; white-space: nowrap; }
nav a:hover, .nav-phone:hover, .footer a:hover { color: var(--accent); }
.bag, .primary, .secondary, .add { min-height: 2.9rem; padding: .7rem 1.15rem; border-radius: 999px; font-weight: 650; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; line-height: 1.25; text-align: center; }
.bag, .secondary, .add { background: #f2ede8; }
.bag:hover, .secondary:hover, .add:hover { background: #ebe1d8; }
.bag span { min-width: 1.52rem; border-radius: 999px; background: var(--card); font-size: .8rem; padding: .2rem .34rem; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #882712; }
button, .primary, .secondary { transition: transform .15s ease, background-color .15s ease; }
button:not(:disabled):active, .primary:active, .secondary:active { transform: scale(.97); }
.hero { display: grid; grid-template-columns: .83fr 1fr; min-height: min(37rem, 72vh); overflow: hidden; margin-block: 2.25rem 4.4rem; background: #f3ebe3; border-radius: calc(var(--radius) + .35rem); }
.hero-copy { padding: clamp(2rem, 6vw, 5.6rem) clamp(1.5rem, 5vw, 4.7rem); align-self: center; }
.city { color: #84321f; font-weight: 650; margin-bottom: .9rem; }
h1 { font-size: clamp(4rem, 7.2vw, 7.5rem); }
.intro { margin-block: 1.25rem 1.65rem; font-size: clamp(1.05rem, 1.55vw, 1.28rem); color: #56433a; max-width: 27rem; }
.hero-note { margin-top: .65rem; color: var(--muted); font-size: .88rem; }
.hero-art { position: relative; min-width: 0; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.menu-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.search input { min-height: 2.9rem; width: min(100%, 17rem); border: 1px solid #e4dbd3; border-radius: 999px; background: #fff; padding: .55rem 1rem; color: var(--ink); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: .48rem; margin-block: 1.3rem 1.35rem; }
.filter { min-height: 2.7rem; padding: .48rem .9rem; border-radius: 999px; background: #f2ede8; }
.filter:hover { background: #ece3db; }
.filter[aria-pressed="true"] { color: white; background: #322822; }
.feedback { color: var(--muted); }
.feedback:empty { display: none; }
#catalog-message:not(:empty) { margin-bottom: 1rem; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.05rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); display: flex; flex-direction: column; min-width: 0; }
.card-image { display: block; padding: 0; background: #efe5db; width: 100%; aspect-ratio: 1.55; overflow: hidden; border-radius: 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 66%; transition: transform .3s ease; }
.card-image:hover img { transform: scale(1.035); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem 1.25rem 1.2rem; }
.weight { color: var(--muted); font-size: .87rem; }
.card h3 { margin: .15rem 0 .48rem; font-size: 1.26rem; line-height: 1.18; letter-spacing: -.025em; }
.card-name { display: inline; padding: 0; text-align: left; font: inherit; background: transparent; }
.card-name:hover { color: var(--accent); }
.description { color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-bottom { padding-top: 1.15rem; margin-top: auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .55rem; }
.price { font-size: 1.23rem; font-variant-numeric: tabular-nums; }
.add { background: var(--accent-light); color: #802d1d; }
.info { padding-block: clamp(4rem, 8vw, 7rem); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.info-grid article { background: #f2ebe4; border-radius: 1.25rem; padding: 1.4rem; }
.info-grid h3 { margin-bottom: .35rem; font-size: 1.32rem; letter-spacing: -.025em; }
.info-grid p { color: var(--muted); }
.contacts { background: #362923; color: #fdf8f2; padding-block: clamp(3rem, 7vw, 5.5rem); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.contact-phone { display: inline-block; margin-top: 1rem; font-size: 1.35rem; text-decoration: underline; text-underline-offset: .16em; }
.contacts p { color: #ecd9ca; }
.addresses { display: grid; gap: 1rem; align-content: center; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.35rem; font-size: .9rem; }
.footer span:not(.brand span) { color: var(--muted); }
.sheet { border: 0; padding: 0; color: var(--ink); background: #fffdfb; border-radius: 1.5rem; width: min(36rem, calc(100% - 2rem)); max-height: min(54rem, calc(100% - 2rem)); box-shadow: 0 1.3rem 4rem #2b1c1842; }
.sheet[open] { animation: materialize .2s ease-out; }
.sheet::backdrop { background: #35211873; backdrop-filter: blur(4px); }
@keyframes materialize { from { opacity: 0; transform: scale(.98) translateY(.25rem); } }
.close { position: absolute; z-index: 1; right: .9rem; top: .9rem; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: #fffdf8ed; font-size: 1.65rem; line-height: 1; box-shadow: 0 3px 12px #29171012; }
.sheet-content { padding: clamp(1.15rem, 4vw, 2rem); }
.sheet h2 { font-size: clamp(2rem, 5vw, 3rem); padding-right: 2.2rem; margin-bottom: .75rem; }
.product-photo { height: clamp(11rem, 30vh, 18rem); object-fit: cover; }
.product-description, .ingredients { color: var(--muted); margin-bottom: 1rem; }
.ingredients h3 { color: var(--ink); font-size: 1rem; }
.empty { display: grid; justify-items: start; gap: .8rem; padding-bottom: .4rem; }
.cart-row { display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: .65rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.cart-row img { border-radius: .55rem; width: 4.5rem; height: 4rem; object-fit: cover; }
.row-name { line-height: 1.16; display: block; }
.row-price { color: var(--muted); font-size: .88rem; }
.stepper { display: flex; align-items: center; gap: .25rem; background: #f4ece5; border-radius: 999px; padding: .16rem; }
.stepper button { background: transparent; width: 2rem; height: 2rem; border-radius: 50%; font-size: 1.15rem; }
.stepper button:hover { background: #eadecf; }
.stepper output { min-width: 1.25rem; text-align: center; }
.cart-total { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-block: .4rem; }
.cart-total:first-of-type { border-top: 1px solid var(--line); }
.wide { width: 100%; margin-top: .65rem; }
form { display: grid; gap: .6rem; }
form label:not(.radio) { display: grid; gap: .22rem; font-size: .92rem; font-weight: 600; }
form input:not([type="radio"]), form textarea { width: 100%; padding: .5rem .7rem; min-height: 2.5rem; border: 1px solid #ded2c7; border-radius: .55rem; background: #fff; color: var(--ink); font-weight: 400; }
form textarea { resize: vertical; }
fieldset { border: 1px solid #e1d7cf; border-radius: .55rem; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
fieldset input { accent-color: var(--accent); }
.demo { color: #632818; background: #faeee4; padding: .7rem .85rem; border-radius: .65rem; font-size: .91rem; }
.toast { position: fixed; z-index: 8; bottom: 1rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); background: #362923; color: white; border-radius: 999px; padding: .55rem .85rem; box-shadow: 0 6px 24px #23160d33; font-size: .9rem; }
.toast:empty { visibility: hidden; }
@media (max-width: 62rem) {
  .wrap { width: calc(100% - 3rem); }
  .nav-phone { display: none; }
  .hero { min-height: 31rem; }
  .catalog { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .nav { min-height: 3.65rem; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-block: 1rem 3rem; border-radius: 1.45rem; }
  .hero-copy { padding: 1.6rem 1.3rem 1.35rem; }
  h1 { font-size: clamp(3.4rem, 13vw, 5.8rem); }
  .intro { margin-block: .9rem 1rem; }
  .hero-art { min-height: clamp(12rem, 60vw, 22rem); }
  .catalog { gap: .6rem; }
  .card { border-radius: 1rem; }
  .card-body { padding: .66rem .68rem .75rem; }
  .card h3 { font-size: 1rem; }
  .card-bottom { padding-top: .7rem; }
  .card-bottom .add { width: 100%; min-height: 2.65rem; font-size: .88rem; }
  .card .description { font-size: .82rem; }
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .sheet { margin: auto .5rem .5rem; width: calc(100% - 1rem); }
  .stepper button { width: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, .primary, .secondary, .card-image img { transition: none; }
  .sheet[open] { animation: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .top { background: var(--paper); backdrop-filter: none; }
  .sheet::backdrop { backdrop-filter: none; }
}
.news-page { padding-block: clamp(2.6rem,7vw,6rem); min-height: 64vh; }
.news-page h1 { font-size: clamp(2.7rem,7vw,5.8rem); margin-block: .5rem 1.35rem; max-width: 64rem; overflow-wrap: anywhere; }
#news-back { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,18rem),1fr)); gap: 1rem; }
.news-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.news-card img { aspect-ratio: 2; object-fit: cover; }
.news-card > div { padding: 1.2rem; }
.news-card h2 { font-size: 1.65rem; letter-spacing: -.034em; margin-block: .5rem; }
.news-card p,.news-card time { color: var(--muted); }
#news-article { max-width: 56rem; }
#news-article img { margin-block: 1.25rem; max-height: 33rem; object-fit: cover; border-radius: var(--radius); }
#news-text { margin-top: 1rem; font-size: 1.12rem; white-space: pre-line; overflow-wrap: anywhere; }
#news-text p { margin-bottom: 1rem; }

