:root {
  color-scheme: light;
  --surface: #fffdf8;
  --card: #fff;
  --ink: #24221f;
  --muted: #605852;
  --line: #e9e1d7;
  --red: #a51623;
  --red-dark: #7a101c;
  --red-soft: #fbefed;
  --blue: #163f78;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.shell { width: min(100% - 32px, 1100px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); padding: 10px 16px; background: var(--card); border-radius: 8px; }
.skip:focus { transform: none; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 6; }
.topbar-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: grid; align-items: center; min-height: 44px; }
.brand img { display: block; width: clamp(138px, 38vw, 190px); height: auto; }
.language { position: relative; }
.language summary { display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 650; background: var(--card); }
.language summary::-webkit-details-marker { display: none; }
.flag { flex: none; display: block; width: 23px; height: auto; border-radius: 3px; outline: 1px solid #24221f26; }
.chevron { width: 6px; height: 6px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; min-width: 154px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px #3423201f; }
.language-options a { display: flex; align-items: center; gap: 9px; padding: 0 12px; min-height: 44px; border-radius: 9px; font-size: .94rem; }
.language-options a:hover, .language-options [aria-current] { color: var(--red-dark); background: var(--red-soft); }

.hero { isolation: isolate; position: relative; overflow: hidden; min-height: 206px; margin-top: 22px; border-radius: 24px; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) 44%; background: linear-gradient(110deg, #830f1b, #b61e2c 80%, #a61623); color: #fffdf8; }
.hero-text { z-index: 1; padding: 24px 0 25px clamp(23px, 5vw, 58px); }
.hero-text p { margin: 0 0 5px; color: #ffe2d4; font-weight: 650; font-size: .94rem; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1.05; letter-spacing: -.055em; margin: 0; }
.hero-art { position: absolute; display: grid; place-items: center; right: 8%; top: 50%; width: clamp(176px, 38vw, 315px); aspect-ratio: 1; transform: translateY(-50%) rotate(-12deg); border: 1px solid #fff3; border-radius: 50%; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; inset: -15px; border: 1px solid #fff3; border-radius: 50%; }
.hero-art::after { inset: -33px; border-color: #fff2; }
.hero-art img { width: 83%; height: auto; filter: drop-shadow(0 11px 11px #4e0a15a6); }

.search-wrap { position: relative; max-width: 530px; margin-bottom: 12px; }
.search-wrap input { display: block; width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--card); padding: 0 48px 0 43px; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; pointer-events: none; left: 16px; top: 17px; width: 13px; height: 13px; border: 1.7px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.7px; background: var(--muted); top: 10px; left: 9px; transform: rotate(45deg); }
.clear-search { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.clear-search:hover { background: var(--red-soft); }
.category-tools { position: sticky; top: 66px; z-index: 4; background: var(--surface); display: flex; gap: 8px; align-items: center; }
.menu-tools { display: contents; }
.search-wrap { margin-top: 17px; }
.category-tools { margin-top: 10px; border-bottom: 1px solid var(--line); }
.category-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 9px 3px; min-width: 0; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 650; font-size: .875rem; white-space: nowrap; }
.category-nav a:hover { border-color: var(--red); color: var(--red-dark); }
.category-nav a[aria-current] { color: white; border-color: var(--red); background: var(--red); }
.category-picker { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 11px; position: relative; flex: 0 0 44px; color: var(--red-dark); }
.category-picker:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.category-picker select { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.list-icon { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: absolute; top: 15px; left: 13px; }
.list-icon::before { content: ""; display: block; height: 1.5px; background: currentColor; margin-top: 3.75px; }

#menu { scroll-margin-top: 78px; }
.catalog { padding-bottom: 28px; }
.category-section { scroll-margin-top: 144px; }
.category-section h2, .search-title { margin: 21px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.76rem, 4vw, 2.45rem); letter-spacing: -.035em; line-height: 1.15; }
.search-status { margin: 0; font-size: .9rem; color: var(--muted); }
.searching .category-section h2 { font-size: 1.45rem; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.product-top { display: flex; align-items: flex-start; gap: 12px; flex: 1; }
.product-text { flex: 1; min-width: 0; align-self: center; }
.product h3 { margin: 0; font-size: 1.08rem; line-height: 1.27; }
.product p { margin: 5px 0 0; color: var(--muted); font-size: .975rem; line-height: 1.45; }
.product-hint { margin-top: 3px; color: var(--muted); font-size: .875rem; }
.photo-link { flex: 0 0 72px; display: block; position: relative; width: 72px; height: 72px; border: 1px solid #eee6de; border-radius: 11px; background: #fff; cursor: zoom-in; }
.photo-link:hover { border-color: var(--red); }
.product-photo { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: contain; }
.photo-zoom-icon { position: absolute; right: 3px; bottom: 3px; width: 19px; height: 19px; border-radius: 50%; background: #2b201ce6; color: white; pointer-events: none; }
.photo-zoom-icon::before { content: ''; position: absolute; top: 4px; left: 4px; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.photo-zoom-icon::after { content: ''; position: absolute; top: 12px; left: 11px; width: 5px; height: 1px; background: currentColor; transform: rotate(45deg); }
.photo-note { margin-top: 4px; color: var(--muted); font-size: .8125rem; }
.photo-dialog { width: min(660px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); overscroll-behavior: contain; }
.photo-dialog::backdrop { background: #201815b8; }
.photo-dialog-inner { padding: 15px; }
.photo-close { display: flex; justify-content: flex-end; }
.photo-close button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.photo-close button:hover { color: var(--red-dark); background: var(--red-soft); }
.photo-stage { display: grid; place-items: center; min-height: 120px; }
.photo-full { display: block; width: min(100%, 560px); max-height: 57vh; aspect-ratio: 1; object-fit: contain; }
.photo-dialog h2 { margin: 10px 0 0; font-size: clamp(1.05rem, 3vw, 1.35rem); }
.photo-example, .photo-error { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.photo-open { overflow: hidden; }
.single-price, .price-options dd { font-weight: 760; color: var(--red-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-options { display: grid; grid-template-columns: repeat(var(--options), minmax(0, 1fr)); margin: 13px 0 0; border-radius: 10px; background: #f8f4ee; overflow: hidden; }
.price-options div { display: flex; flex-direction: column; justify-content: space-between; padding: 7px 8px 8px; }
.price-options div + div { border-left: 1px solid var(--line); }
.price-options dt { font-weight: 650; font-size: .875rem; line-height: 1.18; }
.price-options dt small { display: block; margin-top: 2px; color: var(--muted); font-size: .8125rem; font-weight: 450; }
.price-options dd { margin: 4px 0 0; font-size: .98rem; }

.footer { background: #f8f3eb; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 23px 26px; }
.footer h2 { font-size: 1.05rem; margin: 0 0 5px; }
.footer p { color: var(--muted); margin: 0; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-actions a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--red-dark); font-weight: 650; font-size: .9rem; }
.footer-actions a:hover { border-color: var(--red); }
.footer p.allergens { flex-basis: 100%; font-size: .875rem; }

@media (max-width: 650px) {
  .shell { width: calc(100% - 24px); }
  .topbar-inner { height: 56px; }
  .language summary { padding-inline: 10px; gap: 7px; }
  .hero { border-radius: 17px; min-height: 144px; margin-top: 12px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.9rem); }
  .hero-text p { font-size: .875rem; }
  .hero-art { right: 1%; }
  .search-wrap { margin-top: 12px; margin-bottom: 6px; }
  .search-wrap input { min-height: 48px; }
  .clear-search { top: 2px; }
  .category-tools { top: 56px; margin-top: 4px; }
  .category-nav { padding-block: 7px; }
  .category-nav a { padding-inline: 11px; }
  .category-section { scroll-margin-top: 127px; }
  .category-section h2, .search-title { margin-top: 15px; }
  .product-list { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .product { padding: 12px; border-radius: 12px; }
  .photo-link { flex-basis: 62px; width: 62px; height: 62px; }
  .product p { font-size: .9375rem; }
  .footer-inner { display: grid; }
}
@media (max-width: 360px) {
  .hero-art { width: 150px; right: -2%; }
  .price-options div { padding-inline: 6px; }
  .price-options dt { font-size: .8125rem; }
}
.category-nav { position: relative; }
