@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('nunito-ruble.woff2') format('woff2');
  unicode-range: U+20BD;
}

:root {
  --ink: #14281e;
  --muted: #55645c;
  --green: #11543a;
  --deep-green: #0d402b;
  --orange: #d53a10;
  --hero-orange: #ed4b0e;
  --mint: #eff7ed;
  --peach: #fff0e7;
  --line: #e4ebe4;
  --paper: #fff;
  font-family: Nunito, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
:root[data-shop-theme=winter] {
  --ink: #173633;
  --muted: #435d59;
  --green: #166052;
  --deep-green: #10463e;
  --orange: #ad3e26;
  --hero-orange: #246259;
  --mint: #e7f4f1;
  --peach: #f8eae4;
  --line: #dae8e5;
  --paper: #f9fdfd;
}
[data-shop-theme=winter] .header { border-top: 3px solid #9bcfc4; }
[data-shop-theme=winter] .service-delivery:hover,
[data-shop-theme=winter] .profile-toggle:hover { background: #d8eeea; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 5; padding: 10px 15px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-brand, .brand, .header-actions, .top-nav { display: flex; align-items: center; }
.header-brand { gap: 21px; }
.brand { gap: 8px; color: var(--green); white-space: nowrap; }
.brand img { object-fit: contain; border-radius: 50%; background: white; }
.brand strong { font-size: 27px; font-weight: 900; letter-spacing: -.065em; }
.header-city { border-left: 1px solid var(--line); padding-left: 20px; font-size: 14px; font-weight: 700; }
.top-nav { gap: clamp(16px, 3.3vw, 44px); }
.top-nav a { font-size: 14px; font-weight: 700; }
.top-nav a:hover, .header-city:hover { color: var(--orange); }
.header-actions { gap: 10px; }
.profile-toggle, .text-button { color: var(--green); border: 0; background: transparent; font-weight: 750; }
.profile-toggle { border-radius: 999px; padding: 10px 15px; background: var(--mint); }
.profile-toggle:hover { background: #e0efdd; }
.text-button { padding: 8px 0; text-align: left; text-decoration: underline; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 45px; padding: 11px 19px; border: 0; border-radius: 999px;
  background: var(--green); color: white; font-weight: 750;
  transition: background .18s, transform .18s;
}
.button:not(:disabled):hover { background: var(--deep-green); transform: translateY(-1px); }
.cart-toggle span { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #ffffff28; font-size: 12px; }

.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 22%); gap: 12px; padding-top: 22px; }
.hero {
  min-height: 353px; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden;
  border-radius: 28px; color: white; background: var(--hero-orange) url('hero.jpg') 78% center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #831b09b8, #a6270b39 56%, #88260700 78%); }
.hero-copy { padding: 25px 16px 29px clamp(20px, 4vw, 56px); }
.hero h1 {
  margin: 0 0 20px; font-size: clamp(48px, 6.1vw, 94px); font-weight: 900;
  line-height: .85; letter-spacing: -.084em;
}
.hero h1 em { display: inline-block; font-style: normal; color: #e1ffc8; transform: rotate(-3deg); }
.hero-button { background: white; color: var(--deep-green); padding-inline: 17px; }
.hero-button:not(:disabled):hover { background: #e4f6dc; color: var(--deep-green); }
.hero-button:focus-visible, .service-track:focus-visible { outline-color: white; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.service-card {
  min-height: 0; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 10px; padding: clamp(15px, 2vw, 25px); text-align: left; border: 0; border-radius: 24px;
  transition: background .18s;
}
.service-card strong { font-size: clamp(21px, 2.5vw, 36px); font-weight: 850; line-height: .97; letter-spacing: -.059em; }
.service-arrow { position: absolute; top: 15px; right: 18px; line-height: 1; font-size: 25px; }
.service-delivery { color: var(--deep-green); background: var(--mint); }
.service-delivery:hover { background: #e0efdd; }
.service-track { color: white; background: var(--green); }
.service-track:hover { background: var(--deep-green); }
.service-icon { width: 21px; height: 21px; position: relative; margin: 3px 0 2px 2px; }
.icon-pin { border: 2px solid currentColor; border-radius: 50% 50% 50% 3px; transform: rotate(-45deg); }
.icon-pin::after { content: ''; position: absolute; inset: 5px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-clock { border: 2px solid currentColor; border-radius: 50%; }
.icon-clock::after { content: ''; position: absolute; top: 3px; left: 7px; width: 5px; height: 7px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; }

.menu { padding: clamp(30px, 4vw, 51px) 0 45px; scroll-margin-top: 91px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.section-head h2, .details h2, .drawer h2 { margin: 0; font-weight: 900; letter-spacing: -.068em; line-height: 1; }
.section-head h2 { font-size: clamp(39px, 5.1vw, 69px); }
.search { position: relative; }
.search input { width: min(280px, 39vw); border: 1px solid var(--line); border-radius: 999px; padding: 11px 12px 11px 38px; background: #f6f8f5; color: var(--ink); }
.search-icon { position: absolute; top: 13px; left: 15px; width: 13px; height: 13px; border: 1.7px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; position: absolute; bottom: -2px; right: -4px; width: 6px; height: 1.7px; background: var(--muted); transform: rotate(45deg); }
.category-bar { display: flex; gap: 9px; overflow: auto; padding: 4px 4px 10px; margin: 0 -4px 16px; scrollbar-width: thin; }
.category-bar:empty { display: none; }
.category-button {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px; min-height: 60px; padding: 6px 15px 6px 7px;
  background: #f6f8f5; color: var(--ink); border: 1px solid var(--line); border-radius: 19px; font-weight: 750;
  transition: background .18s, border-color .18s;
}
.category-button:hover { background: var(--mint); border-color: #c4dac5; }
.category-button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: white; }
.category-picture { width: 44px; height: 44px; border-radius: 13px; overflow: hidden; background: #e4eee2; }
.category-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.notice { color: #673516; background: var(--peach); border: 1px solid #f4ddcf; border-radius: 13px; padding: 10px 13px; line-height: 1.42; margin: 0 0 17px; font-size: 14px; }

.product-groups { display: grid; gap: 33px; }
.category-title { margin: 0 0 13px; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.06em; line-height: 1.04; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product {
  min-width: 0; position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px; background: white; transition: border-color .18s, box-shadow .18s;
}
.product:hover { border-color: #cbd9cc; box-shadow: 0 7px 23px #0d402b0f; }
.product:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 1.33; object-fit: cover; background: var(--mint); }
.product-image.empty { display: grid; place-items: center; color: var(--muted); padding: 8px; text-align: center; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.product h4 { font-size: 20px; letter-spacing: -.035em; line-height: 1.14; margin: 0 0 6px; }
.product-open { border: 0; background: none; padding: 0; color: inherit; text-align: left; font-weight: inherit; letter-spacing: inherit; }
.product-open::after { content: ''; position: absolute; inset: 0; }
.product p { color: var(--muted); font-size: 14px; line-height: 1.42; margin: 0 0 15px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.product-bottom strong { font-size: 21px; white-space: nowrap; letter-spacing: -.04em; }
.product .add { position: relative; z-index: 1; }
.add { min-height: 38px; border: 0; border-radius: 999px; background: var(--peach); color: #97300e; padding: 7px 13px; font-weight: 750; }
.add:hover:not(:disabled) { background: #f9dac9; }

.details { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; border-radius: 24px; color: var(--deep-green); background: var(--mint); scroll-margin-top: 91px; }
.details h2 { font-size: clamp(28px, 4vw, 51px); }
.details p { margin-bottom: 0; line-height: 1.5; }
.zone-list:empty, #contact-list:empty { display: none; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0 39px; color: var(--muted); font-size: 14px; scroll-margin-top: 91px; }
.footer a:hover { color: var(--orange); }
#privacy-link, .consent a { text-decoration: underline; }

dialog {
  position: fixed; inset-block: 0; margin: 0 0 0 auto; padding: 0; width: min(100%, 500px); height: 100%;
  max-height: 100%; border: 0; background: transparent; overscroll-behavior: contain; color: var(--ink);
}
dialog::backdrop { background: #1223188c; }
.drawer { min-height: 100%; display: flex; flex-direction: column; background: var(--paper); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 20px 24px; }
.drawer h2 { font-size: clamp(29px, 6vw, 38px); }
.drawer-body { padding: 20px 24px; }
.close { flex: 0 0 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 26px; }
.close:hover { background: #dfecdb; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 750; text-transform: uppercase; }
.center-dialog { height: auto; max-height: calc(100% - 24px); width: min(440px, calc(100% - 24px)); margin: auto; border-radius: 22px; overflow: auto; }
.center-dialog .drawer-head { padding-block: 9px; }
.center-dialog .product-image { aspect-ratio: 1.75; }
.center-dialog p { color: var(--muted); line-height: 1.5; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line strong { white-space: nowrap; }
.quantity, .profile-actions { display: flex; align-items: center; gap: 8px; }
.quantity button { border: 0; border-radius: 50%; width: 30px; height: 30px; background: var(--mint); color: var(--ink); }
.drawer form { display: grid; gap: 13px; margin-top: 17px; }
.drawer-body > form:first-child { margin-top: 0; }
.drawer form label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; }
.drawer form input:not([type=radio], [type=checkbox]), .drawer select, .drawer textarea { width: 100%; padding: 10px 11px; border: 1px solid #d7e2d8; border-radius: 11px; color: var(--ink); background: white; }
.drawer fieldset { border: 0; margin: 0; padding: 0; }
.drawer legend { margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.segments { display: flex; gap: 8px; }
.segments label { flex: 1; position: relative; cursor: pointer; }
.segments input { position: absolute; opacity: 0; }
.segments span { text-align: center; padding: 10px 7px; border: 1px solid var(--line); border-radius: 11px; }
.segments input:checked + span { border-color: var(--green); background: var(--mint); }
.segments input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
#address-fields { display: grid; gap: 10px; }
.drawer form .consent { display: flex; align-items: start; gap: 7px; font-weight: 400; }
.total { display: flex; justify-content: space-between; align-items: center; font-weight: 750; }
.total strong { font-size: 22px; }
.checkout-button { width: 100%; background: var(--orange); }
.checkout-button:hover:not(:disabled) { background: #b82e0a; }
.profile-actions { justify-content: space-between; }
.profile-actions [aria-pressed=true] { background: var(--green); color: white; }
.order-link { display: block; width: 100%; padding: 12px 0; background: transparent; color: var(--green); text-align: left; border: 0; border-bottom: 1px solid var(--line); }

@media (max-width: 990px) {
  .wrap { width: calc(100% - 48px); }
  .header-brand { gap: 11px; }
  .header-city { padding-left: 11px; }
  .hero { min-height: 320px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 63px; gap: 7px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 22px; }
  .header-city, .top-nav { display: none; }
  .header-actions { gap: 5px; }
  .profile-toggle { padding: 9px; font-size: 13px; }
  .cart-toggle { padding: 7px 10px; min-height: 38px; gap: 5px; font-size: 13px; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 12px; gap: 8px; }
  .hero { min-height: 271px; border-radius: 19px; background-position: 67% center; }
  .hero::before { background: linear-gradient(90deg, #831b09c7, #a6270b42 59%, transparent 94%); }
  .hero h1 { font-size: clamp(43px, 9.8vw, 65px); margin-bottom: 15px; }
  .hero-button { min-height: 39px; padding: 8px 12px; font-size: 13px; }
  .hero-side { grid-template: 1fr / 1fr 1fr; gap: 8px; }
  .service-card { min-height: 69px; align-items: center; justify-content: flex-start; flex-direction: row; padding: 9px; border-radius: 15px; gap: 7px; }
  .service-card strong { font-size: clamp(15px, 3.9vw, 21px); }
  .service-arrow { top: 7px; right: 7px; font-size: 15px; }
  .service-icon { flex: 0 0 18px; height: 18px; }
  .icon-pin::after { inset: 4px; }
  .icon-clock::after { left: 5px; top: 2px; height: 6px; }
  .menu, .details, .footer { scroll-margin-top: 72px; }
  .category-button { min-height: 49px; padding: 5px 11px 5px 5px; gap: 6px; font-size: 13px; border-radius: 15px; }
  .category-picture { width: 36px; height: 36px; border-radius: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product { border-radius: 15px; }
  .product-body { padding: 10px; }
  .product h4 { font-size: 16px; }
  .product p { font-size: 13px; margin-bottom: 10px; }
  .product-bottom strong { font-size: 17px; }
  .product .add { padding: 6px 8px; font-size: 12px; }
  .details { flex-direction: column; align-items: flex-start; gap: 9px; padding: 22px; }
  .drawer-head, .drawer-body { padding-inline: 16px; }
}
@media (max-width: 370px) {
  .product .product-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
