:root {
  --restar-orange: #ff7a00;
  --restar-ink: #242832;
  --restar-muted: #7b818e;
  --restar-line: #ece8e3;
}

html { overflow-x: hidden; }
body { overflow-x: clip; }
body { background: #fff; color: var(--restar-ink); }
.skeleton-loader { display: none !important; }
body > header,
#home.home-wrapper.home2,
.restar-categories-section,
.brand-section,
.popular-restaurant,
.app-section,
footer { display: none !important; }

.restar-hero-shell { position: relative; z-index: 30; height: 100vh; min-height: 980px; padding: 0; overflow: hidden; border-radius: 0; background-color: #05070a; background-size: cover; background-position: center top; background-repeat: no-repeat; color: white; isolation: isolate; --restar-hero-overlay: .65; }
.restar-hero-bg { display: none; }
.restar-hero-shell::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(3,5,8,var(--restar-hero-overlay)); pointer-events: none; }
.restar-hero-shell--no-banner::after { display: none; }
/* Нет ни баннера, ни текста первого экрана — не растягиваем хиро на весь экран
   (иначе пустой .restar-hero-content всё равно съедает всё место через 1fr). */
.restar-hero-shell--compact { height: auto; min-height: 0; }
.restar-hero-shell--compact .restar-hero-container { height: auto; grid-template-rows: auto auto auto auto auto; padding-bottom: 40px; }
.restar-hero-shell--compact .restar-hero-content { display: none; }
.restar-hero-container { position: relative; z-index: 2; height: 100%; min-height: 0; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 20px; max-width: none; padding: 0 76px 92px; }
.restar-main-header { display: grid; grid-template-columns: auto auto minmax(320px, 1fr) auto; align-items: center; gap: 22px; width: 100%; min-height: 66px; padding: 10px 2px; color: white; transition: background .22s ease, box-shadow .22s ease, padding .22s ease, transform .22s ease, border-color .22s ease; }
.restar-main-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 10050; width: 100%; max-width: none; min-height: 76px; padding: 10px max(24px, calc((100vw - 1296px) / 2)); border: 0; border-radius: 0; background: rgba(7,8,11,.96); box-shadow: 0 14px 34px rgba(0,0,0,.24); backdrop-filter: blur(18px); transform: none; }
.restar-hero-brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-size: 23px; line-height: 1; font-weight: 600; text-transform: uppercase; }
.restar-header-logo-img { display: block; max-height: 42px; max-width: 220px; width: auto; object-fit: contain; }
.restar-logo-mark { width: 36px; height: 36px; border-radius: 999px; display: inline-grid; place-items: center; background: #e81822; box-shadow: inset 0 0 0 4px rgba(255,255,255,.12); }
.restar-logo-mark span { width: 20px; height: 20px; border-radius: 999px; border: 3px solid #06070a; background: white; box-shadow: 0 0 0 2px #e81822 inset; }
.restar-location-chip,
.restar-icon-action,
.restar-header-cart,
.restar-primary-cta,
.restar-secondary-cta,
.restar-rail-arrow { border: 1px solid rgba(255,255,255,.1); color: white; background: rgba(255,255,255,.07); box-shadow: 0 10px 26px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.restar-location-chip { min-height: 42px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.restar-hero-nav { justify-self: center; display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.restar-hero-nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 14px; font-weight: 400; transition: color .18s ease; }
.restar-hero-nav a:hover { color: white; }
.restar-hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.restar-phone { display: grid; justify-items: end; gap: 1px; color: white; line-height: 1.12; }
.restar-phone strong { font-size: 16px; font-weight: 600; }
.restar-phone strong a { color: inherit; text-decoration: none; }
.restar-phone span { color: rgba(255,255,255,.62); font-size: 12px; }
.restar-icon-action { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; }
.restar-header-cart { position: relative; min-width: 116px; height: 48px; border-radius: 16px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; }
.restar-header-cart i { font-size: 22px; }
.restar-header-cart b { position: absolute; right: -4px; top: -7px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: #ff1f2a; color: white; font-size: 11px; font-weight: 600; }
.restar-cart-flyer { position: fixed; z-index: 11000; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 18px 38px rgba(0,0,0,.18); will-change: transform, opacity; }
.restar-cart-pulse { animation: restar-cart-pulse .48s cubic-bezier(.2, .9, .25, 1.25); }
@keyframes restar-cart-pulse {
  0% { transform: scale(1); }
  42% { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 34px rgba(255,122,0,.34); }
  100% { transform: scale(1); }
}
.restar-hero-content { align-self: center; max-width: 830px; padding-top: 24px; }
.restar-hero-content--center { margin-left: auto; margin-right: auto; text-align: center; }
.restar-hero-content--center .restar-hero-buttons { justify-content: center; }
.restar-hero-content--right { margin-left: auto; text-align: right; }
.restar-hero-content--right .restar-hero-buttons { justify-content: flex-end; }
.restar-hero-content--v-top { align-self: start; }
.restar-hero-content--v-center { align-self: center; }
.restar-hero-content--v-bottom { align-self: end; }
.restar-hero-eyebrow { display: block; margin-bottom: 24px; color: #ff232e; text-transform: uppercase; font-size: 15px; font-weight: 500; }
.restar-hero-content h1 { margin: 0; color: white; font-size: clamp(54px, 6.5vw, 88px); line-height: .98; font-weight: 800; text-transform: uppercase; }
.restar-hero-content h1 span { color: #ff202b; }
.restar-hero-content p { max-width: 671px; margin: 24px 0 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.55; font-weight: 400; }
.restar-hero-buttons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.restar-primary-cta,
.restar-secondary-cta { min-width: 154px; height: 58px; border-radius: 9px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font-size: 16px; font-weight: 500; }
.restar-primary-cta { border-color: #ff1f2a; background: #ff1f2a; }
.restar-secondary-cta { background: rgba(255,255,255,.08); }
.restar-hero-features { display: flex; flex-wrap: wrap; row-gap: 14px; gap: 34px; color: white; }
.restar-hero-features > div { display: flex; align-items: center; gap: 14px; min-width: 150px; }
.restar-hero-features span,
.restar-hero-features i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); color: #ff2732; background: rgba(255,255,255,.07); font-size: 24px; line-height: .88; text-align: center; }
.restar-hero-features span { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.restar-hero-features p,
.restar-hero-benefits p { margin: 0; color: white; font-size: 14px; line-height: 1.3; font-weight: 500; }
.restar-hero-features small,
.restar-hero-benefits small { color: rgba(255,255,255,.56); font-size: 12px; font-weight: 400; }
.restar-hero-category-wrap { position: relative; margin-top: 2px; padding: 20px 58px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: 0 18px 48px rgba(0,0,0,.24); backdrop-filter: blur(22px); overflow: hidden; }
.restar-hero-categories { display: flex; gap: 12px; max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; user-select: none; contain: paint; }
.restar-hero-categories::-webkit-scrollbar { display: none; }
.restar-hero-categories.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.restar-hero-category { flex: 0 0 calc((100% - 60px) / 6); min-height: 112px; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.05); display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 8px; color: white; text-align: left; scroll-snap-align: start; transition: .18s ease; }
.restar-hero-category:hover { border-color: rgba(255,35,46,.55); transform: translateY(-2px); }
.restar-hero-category strong { display: block; margin-bottom: 7px; color: white; font-size: 17px; font-weight: 500; }
.restar-hero-category span { min-width: 0; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 400; white-space: nowrap; }
.restar-hero-category img { width: 92px; height: 78px; object-fit: contain; justify-self: end; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.restar-rail-arrow { position: absolute; z-index: 2; top: 50%; left: 12px; width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; transform: translateY(-50%); font-size: 24px; }
.restar-rail-arrow--next { left: auto; right: 12px; background: #ff1f2a; border-color: #ff1f2a; }
.restar-hero-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.07); backdrop-filter: blur(18px); }
.restar-hero-benefits > div { min-height: 88px; padding: 20px 34px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.restar-hero-benefits > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.restar-hero-benefits i { color: #ff2832; font-size: 32px; }
header { background: rgba(255, 250, 245, 0.92); backdrop-filter: blur(18px); }
header .navbar .navbar-nav .nav-item .nav-link,
header .navbar .nav-option .profile-part h5,
header .navbar .nav-option .profile-part h6 { color: var(--restar-ink) !important; }
header .cart-button .cart-bag { color: var(--restar-ink) !important; }
header .nav-option { display: none !important; }
.restar-brand { color: var(--restar-ink); font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: 0; text-decoration: none; }
.restar-brand span::after { content: "."; color: var(--restar-orange); }
.home-wrapper.home2 { padding-block: 72px 92px; background: linear-gradient(135deg, #fff4e7 0%, #fffdf9 54%, #eef8f3 100%); }
.home-wrapper.home2 h2 { max-width: 760px; color: var(--restar-ink); }
.home-wrapper.home2 .search-section { max-width: 760px; margin-inline: auto; }
.right-vector { filter: drop-shadow(0 24px 40px rgba(255, 122, 0, .16)); }
.theme-btns, .responsive-space { display: none !important; }

.restar-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; text-align: left; }
.restar-section-head .sub-title { margin: 6px 0 0; }
.restar-section-head--compact { align-items: center; }
.restar-eyebrow { display: inline-flex; color: var(--restar-orange); font-weight: 500; font-size: 12px; letter-spacing: 0; margin-bottom: 5px; }
.restar-muted-note { color: var(--restar-muted); font-weight: 600; }
.restar-link-button { border: 0; color: var(--restar-orange); background: transparent; font-weight: 700; }

.restar-categories-section { padding: 42px 0 18px; background: #fffaf5; }
.restar-category-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 14px; }
.restar-category-card { border: 1px solid var(--restar-line); background: rgba(255,255,255,.92); border-radius: 18px; min-height: 128px; padding: 14px 10px 12px; display: grid; place-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(44,35,24,.06); transition: .18s ease; }
.restar-category-card img { width: 74px; height: 62px; object-fit: contain; }
.restar-category-card span { font-weight: 700; color: var(--restar-ink); }
.restar-category-card.active, .restar-category-card:hover { border-color: rgba(255,122,0,.55); background: #fff3e8; transform: translateY(-2px); }

.restar-deals-section { background: #fff; }
.restar-products-section { position: relative; overflow: visible; padding-top: 24px !important; background: #fff; }
.restar-products-section::before,
.restar-products-section::after { content: ""; position: absolute; z-index: 0; width: 210px; height: 210px; background-repeat: no-repeat; background-size: contain; opacity: .42; pointer-events: none; }
.restar-products-section::before { left: -54px; top: 120px; background-image: url("../images/svg/item4.svg"); }
.restar-products-section::after { right: -34px; top: 360px; background-image: url("../images/svg/item5.svg"); }
.restar-products-section > .container { position: relative; z-index: 1; }
.restar-banner-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.restar-banner-card { position: relative; height: 230px; width: fit-content; max-width: 100%; overflow: hidden; border-radius: 22px; }
.restar-banner-card img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }

.restar-cart-button.restar-cart-button--title { display: none !important; }
.restar-menu-topbar { position: fixed; top: 75px; left: var(--restar-menu-left, max(12px, calc((100vw - 1320px) / 2))); z-index: 10060; width: var(--restar-menu-width, min(calc(100vw - 24px), 1320px)); display: grid; grid-template-columns: minmax(190px, 270px) minmax(0, 1fr); align-items: center; gap: 8px; margin: 0; padding: 8px 8px; border: 1px solid rgba(255,255,255,.72); border-radius: 0 0 12px 12px; background: rgba(255,255,255,.88); box-shadow: 0 12px 30px rgba(30,33,40,.1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
body.restar-catalog-menu-visible .restar-menu-topbar { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.restar-menu-topbar > .restar-cart-button { display: none; background: transparent; color: var(--restar-ink); }
.restar-menu-topbar > .restar-cart-button span { background: transparent; color: var(--restar-ink); }
.restar-menu-topbar #restar-cart-count-top { background: transparent; color: var(--restar-ink); }
.restar-search { display: flex; align-items: center; gap: 9px; width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(218,221,226,.78); background: #fff; border-radius: 12px; box-shadow: 0 7px 18px rgba(27,31,38,.06); color: #252932; }
.restar-search i { color: #242832; font-size: 18px; line-height: 1; }
.restar-search input { border: 0; outline: 0; width: 100%; background: transparent; color: #252932; font-size: 13px; font-weight: 400; }
.restar-search input::placeholder { color: #777b83; opacity: 1; }
.restar-cart-button { border: 0; border-radius: 10px; height: 44px; min-width: 56px; background: var(--restar-orange); color: white; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
#restar-cart-count,
#restar-cart-count-top { min-width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; background: white; color: var(--restar-orange); font-size: 12px; font-weight: 600; }
.restar-floating-cart { position: fixed; right: 20px; bottom: 82px; z-index: 9990; width: 46px; height: 46px; border: 0; border-radius: 12px; display: grid; place-items: center; background: var(--restar-orange); color: white; font-size: 24px; box-shadow: 0 14px 30px rgba(255,122,0,.32); opacity: 0; transform: translateY(12px) scale(.86); pointer-events: none; transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease; }
.restar-floating-cart.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.restar-floating-cart:hover { box-shadow: 0 16px 34px rgba(255,122,0,.42); }
.restar-floating-cart span { position: absolute; right: -6px; top: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: #ff1f2a; color: white; border: 2px solid white; font-size: 12px; line-height: 1; font-weight: 600; }
.restar-layout { display: block; }
.restar-top-category-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.restar-top-category-nav::-webkit-scrollbar { display: none; }
.restar-nav-pill { flex: 0 0 auto; min-width: 78px; height: 44px; border: 1px solid rgba(218,221,226,.82); background: #fff; padding: 0 14px; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 400; color: #1f232b; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-shadow: 0 7px 18px rgba(27,31,38,.055); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease, background .2s ease; }
.restar-nav-pill i { color: #242832; font-size: 17px; line-height: 1; transition: color .2s ease; }
.restar-nav-pill:hover { color: #1f232b; border-color: rgba(180,186,196,.9); background: #fff; box-shadow: 0 9px 20px rgba(27,31,38,.085); transform: translateY(-1px); }
.restar-nav-pill:hover i { color: #242832; }
.restar-nav-pill.active { color: #1f232b; border-color: rgba(168,174,184,.95); background: #f8f9fb; box-shadow: 0 8px 18px rgba(27,31,38,.08); }
.restar-nav-pill.active i { color: #242832; }
.restar-category-group { padding-top: 0 !important; }
.restar-category-group + .restar-category-group { margin-top: 34px; }
.restar-category-title { margin-bottom: 16px; font-size: 21px; font-weight: 600; }
.restar-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.restar-product-card { border: 1px solid var(--restar-line); background: white; border-radius: 10px; overflow: hidden; box-shadow: none; transition: .18s ease; display: flex; flex-direction: column; min-height: 100%; padding: 7px; }
.restar-product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(31,24,18,.1); }
.restar-card-image { width: 100%; aspect-ratio: 1 / 1; background: #f7f1eb; overflow: hidden; border: 0; border-radius: 6px; padding: 0; display: block; }
.restar-card-image img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.restar-product-card:hover .restar-card-image img { transform: scale(1.035); }
.restar-card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.restar-card-title { min-height: 23px; font-size: calc(12px + 5 * (100vw - 320px) / 1600); line-height: 1.25; font-weight: 600; color: var(--restar-ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.restar-card-desc { color: var(--restar-muted); font-size: calc(14px + 2 * (100vw - 320px) / 1600); line-height: 1.2; min-height: 20px; margin: 0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px dashed var(--restar-line); padding-bottom: 12px; }
.restar-card-weight { color: var(--restar-muted); font-size: calc(14px + 2 * (100vw - 320px) / 1600); font-weight: 400; margin: 0; }
.restar-card-footer { margin-top: auto; height: 44px; border-radius: 8px; background: #f7f7f7; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 12px; }
.restar-card-price { font-size: calc(15px + 3 * (100vw - 320px) / 1600); font-weight: 500; color: var(--restar-ink); }
.restar-card-add { width: 34px; height: 34px; border: 0; border-radius: 8px; background: white; color: #111; font-size: 24px; line-height: 1; box-shadow: none; }
.restar-card-footer--active { padding: 0 8px; display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; }
.restar-card-step { width: 34px; height: 34px; border: 0; border-radius: 8px; background: white; color: #111; font-size: 22px; line-height: 1; box-shadow: none; }
.restar-card-qty { min-width: 0; display: grid; place-items: center; gap: 1px; color: var(--restar-ink); text-align: center; }
.restar-card-qty strong { font-size: 17px; line-height: 1; font-weight: 600; }
.restar-card-qty em { color: #858892; font-size: 13px; line-height: 1; font-style: normal; font-weight: 400; }

.restar-cart-drawer { position: fixed; inset: 0; z-index: 9998; display: none; }
.restar-cart-drawer.is-open { display: block; }
.restar-cart-backdrop { position: absolute; inset: 0; background: rgba(21,20,20,.52); backdrop-filter: blur(2px); }
.restar-cart-panel { position: absolute; top: 0; right: 0; width: min(396px, 100vw); height: 100%; border: 0; background: #fff; border-radius: 0; padding: 0; box-shadow: -18px 0 50px rgba(31,24,18,.18); }
.restar-cart-sheet { height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.restar-cart-grabber { width: 46px; height: 5px; border-radius: 999px; background: #dcdcdc; justify-self: center; margin: 14px 0 8px; }
.restar-cart-scroll { overflow: auto; padding: 0 16px 16px; }
.restar-mobile-cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.restar-mobile-cart-title { display: flex; align-items: center; gap: 7px; }
.restar-mobile-cart-title h3 { margin: 0; color: #343741; font-size: 16px; line-height: 1.05; font-weight: 600; white-space: nowrap; }
.restar-mobile-cart-title span { min-width: 18px; height: 18px; border-radius: 999px; display: inline-grid; place-items: center; background: linear-gradient(180deg, #ffb43e, #ff7400); color: white; font-size: 13px; font-weight: 500; }
.restar-mobile-cart-head p { margin: 1px 0 0; color: #85858a; font-size: 12px; line-height: 1.2; font-weight: 400; }
.restar-mobile-clear { height: 40px; padding: 0 10px; border: 1px solid #e7e7e7; border-radius: 13px; background: white; color: #3f4148; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; box-shadow: 0 6px 18px rgba(0,0,0,.025); }
.restar-mobile-clear i { font-size: 18px; }
.restar-mobile-cart-items { display: grid; gap: 10px; }
.restar-mobile-cart-item { position: relative; min-height: 92px; display: grid; grid-template-columns: 72px 1fr 82px; align-items: center; gap: 9px; padding: 10px; border: 1px solid #f0eeee; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(34,34,34,.045); }
.restar-mobile-cart-item img { width: 72px; height: 72px; border-radius: 13px; object-fit: cover; }
.restar-mobile-item-info { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-right: 8px; }
.restar-mobile-item-info h4 { margin: 0 0 5px; color: #242832; font-size: 13px; line-height: 1.16; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.restar-mobile-item-info p { margin: 0 0 7px; color: #8a8b90; font-size: 11px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.restar-mobile-item-info strong { color: #070707; font-size: 14px; line-height: 1; font-weight: 500; }
.restar-mobile-item-remove { position: absolute; right: 12px; top: 10px; width: 22px; height: 22px; border: 0; background: transparent; color: #b9b9bd; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.restar-mobile-stepper { justify-self: end; align-self: end; display: grid; grid-template-columns: 30px 20px 30px; align-items: center; gap: 1px; margin-bottom: 1px; }
.restar-mobile-stepper button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: #f8f8f8; color: #44474f; font-size: 20px; line-height: 1; font-weight: 400; }
.restar-mobile-stepper button:last-child { color: #ff7800; }
.restar-mobile-stepper span { text-align: center; color: #343741; font-size: 17px; font-weight: 500; }
.restar-bonus-card,
.restar-promo-card,
.restar-mobile-totals { margin-top: 14px; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(34,34,34,.035); }
.restar-bonus-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 14px; background: linear-gradient(90deg, #fff7eb, #fffaf6); }
.restar-bonus-icon { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(180deg, #ffc248, #ff7a00); color: white; font-size: 25px; }
.restar-bonus-card h4 { min-width: 136px; margin: 0; color: #20232b; font-size: 14px; line-height: 1.18; font-weight: 600; }
.restar-bonus-card h4 span { color: #ff9f16; }
.restar-bonus-card p { margin: 5px 0 0; color: #777a82; font-size: 13px; line-height: 1.22; }
.restar-bonus-card button { height: 38px; padding: 0 13px; border: 1px solid #f0b757; border-radius: 12px; color: #f5a623; background: white; font-size: 14px; font-weight: 500; }
.restar-promo-card { padding: 14px; background: #fffaf7; border: 1px dashed rgba(255,122,0,.4); }
.restar-promo-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.restar-promo-head i:first-child { color: #ff7800; font-size: 26px; }
.restar-promo-head i:last-child { color: #999; font-size: 22px; }
.restar-promo-head h4 { margin: 0; color: #3b3e46; font-size: 14px; font-weight: 600; }
.restar-promo-head p { margin: 3px 0 0; color: #8c8d93; font-size: 13px; line-height: 1.25; }
.restar-promo-form { display: grid; grid-template-columns: 1fr 116px; gap: 8px; margin-top: 13px; }
.restar-promo-form input { height: 44px; width: 100%; border: 1px solid #e2e2e2; border-radius: 11px; background: white; padding: 0 13px; color: #333; font-size: 14px; outline: none; }
.restar-promo-form button { height: 44px; border: 0; border-radius: 11px; background: linear-gradient(180deg, #ff9d1d, #ff7100); color: white; font-size: 14px; font-weight: 500; box-shadow: 0 7px 15px rgba(255,113,0,.2); }
.restar-promo-clear-btn { border: 0; background: transparent; color: #999; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; }
.restar-promo-error { margin: 8px 0 0; color: #e53935; font-size: 12px; }
.restar-bonus-redeem { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 0 14px 14px; background: linear-gradient(90deg, #fff7eb, #fffaf6); margin-top: -14px; }
.restar-bonus-redeem input { height: 38px; border: 1px solid #e2e2e2; border-radius: 10px; padding: 0 10px; font-size: 14px; outline: none; }
.restar-bonus-redeem-max { color: #8c8d93; font-size: 12px; white-space: nowrap; }
.restar-bonus-redeem button { height: 38px; padding: 0 13px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #ff9d1d, #ff7100); color: white; font-size: 13px; font-weight: 500; }
.restar-mobile-totals { overflow: hidden; border: 1px solid #f2f2f2; }
.restar-mobile-total-row { min-height: 52px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid #f0f0f0; color: #343741; font-size: 15px; }
.restar-mobile-total-row i { color: #484a50; font-size: 21px; }
.restar-mobile-total-row span { font-weight: 400; }
.restar-mobile-total-row strong { font-size: 17px; font-weight: 500; }
.restar-mobile-total-row .restar-green { color: #289047; font-size: 15px; }
.restar-pay-row span,
.restar-pay-row strong { font-weight: 500; }
.restar-pay-row span { font-weight: 500; }
.restar-save-row { min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 14px; background: #eef8ef; color: #3e4640; font-size: 13px; }
.restar-save-row i,
.restar-save-row strong { color: #3a9a32; }
.restar-save-row i { font-size: 20px; }
.restar-cart-empty-state { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 9px; color: #8b8d94; text-align: center; }
.restar-cart-empty-state i { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: #fff4e8; color: #ff7900; font-size: 32px; }
.restar-cart-empty-state h4 { margin: 0; color: #282b32; font-size: 20px; font-weight: 500; }
.restar-cart-empty-state p { max-width: 280px; margin: 0; font-size: 14px; line-height: 1.35; }
.restar-cart-checkout-bar { padding: 12px 16px 16px; background: rgba(255,255,255,.96); border-top: 1px solid #eee; box-shadow: 0 -8px 20px rgba(0,0,0,.035); }
.restar-checkout-btn { width: 100%; height: 52px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #ff9619, #ff7100); color: white; font-size: 16px; font-weight: 500; box-shadow: 0 8px 18px rgba(255,113,0,.2); }
.restar-checkout-btn:disabled { opacity: .5; cursor: default; }

.restar-product-modal { position: fixed; inset: 0; z-index: 10000; display: none; }
.restar-product-modal.is-open { display: block; }
.restar-modal-backdrop { position: absolute; inset: 0; background: rgba(21,20,20,.58); backdrop-filter: blur(5px); }
.restar-modal-card { position: absolute; left: 50%; top: 50%; width: min(920px, calc(100vw - 72px)); height: min(620px, calc(100vh - 72px)); margin: 0; background: white; border-radius: 16px; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 440px); overflow: hidden; box-shadow: 0 24px 62px rgba(0,0,0,.24); transform: translate(-50%, -50%); }
.restar-modal-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #111; font-size: 20px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.restar-modal-media { min-height: 0; padding: 18px; background: #f5f5f5; }
.restar-modal-media img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.restar-modal-content { display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.restar-modal-scroll { overflow: auto; padding: 26px 20px 18px; }
.restar-modal-scroll h2 { font-size: 20px; margin-bottom: 9px; line-height: 1.16; font-weight: 600; }
.restar-modal-description { color: #3d3f45; font-size: 14px; line-height: 1.38; border-bottom: 1px dashed var(--restar-line); padding-bottom: 13px; margin-bottom: 14px; }
.restar-modal-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 16px 0 14px; }
.restar-meta-chip { border: 1px solid var(--restar-line); border-radius: 10px; padding: 8px 11px; color: #555b65; background: #fffaf5; font-size: 13px; font-weight: 400; text-align: center; }
.restar-weight-chip { grid-column: 1 / -1; justify-self: start; border-radius: 999px; padding-inline: 16px; }
.restar-nutrition-chip { min-height: 44px; border-radius: 9px; background: #f7f7f7; color: #8b8d93; display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; }
.restar-nutrition-chip strong { color: #333640; font-size: 13px; line-height: 1; font-weight: 600; }
.restar-nutrition-chip span { font-size: 11px; line-height: 1; }
.restar-option-block { margin-top: 12px; }
.restar-option-block h3,
.restar-composition h3,
.restar-recommendations h3 { font-size: 13px; margin-bottom: 10px; line-height: 1.2; font-weight: 600; }
.restar-size-segment { display: grid; gap: 0; overflow: hidden; border-radius: 12px; background: #fff7ed; }
.restar-size-segment button { height: 40px; border: 0; border-radius: 12px; background: transparent; color: #686b72; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 400; }
.restar-size-segment button.active { background: white; color: #686b72; }
.restar-size-segment strong { font-weight: 500; }
.restar-composition { margin: 14px 0; }
.restar-comp-list { display: flex; flex-direction: column; gap: 8px; }
.restar-comp-item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--restar-line); border-radius: 10px; background: white; }
.restar-comp-item img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #f2f3f5; }
.restar-comp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.restar-comp-info strong { font-size: 13px; font-weight: 600; color: #32353d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.restar-comp-info span { font-size: 11.5px; color: #8a8d94; }
.restar-comp-qty { flex-shrink: 0; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #f2f3f5; color: #4f535b; font-size: 12px; font-weight: 500; }
.restar-comp-item { cursor: pointer; transition: border-color .15s ease; }
.restar-comp-item:hover, .restar-comp-item.is-tip-open { border-color: #e89622; }
.restar-comp-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; padding: 0; cursor: pointer; margin-bottom: 10px; }
.restar-comp-toggle h3 { margin: 0; }
.restar-comp-toggle h3 span { color: #8a8d94; font-weight: 400; }
.restar-comp-toggle i { color: #8a8d94; font-size: 18px; transition: transform .2s ease; }
.restar-comp-toggle[aria-expanded="false"] i { transform: rotate(180deg); }
.restar-comp-list.collapsed { display: none; }
.restar-comp-item-extra { display: none; }
.restar-comp-spoiler { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 0; background: transparent; color: #e69422; font-size: 12px; font-weight: 500; cursor: pointer; }
.restar-comp-tooltip { position: fixed; z-index: 10050; box-sizing: border-box; background: #3a424a; color: #fff; border: 0; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); padding: 14px 16px; font-size: 13px; }
.restar-comp-tooltip strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; padding-right: 20px; color: #fff; }
.restar-comp-tip-meta { font-size: 11px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.restar-comp-tip-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: rgba(255,255,255,.7); cursor: pointer; padding: 0; }
.restar-comp-tip-desc { color: rgba(255,255,255,.7); font-size: 11px; margin: 8px 0; line-height: 1.4; }
.restar-comp-tip-kbju h5 { font-size: 12px; text-transform: none; color: rgba(255,255,255,.9); margin: 0 0 6px; font-weight: 700; }
.restar-comp-tip-kbju p { font-size: 11px; color: rgba(255,255,255,.75); margin: 0 0 4px; }
.restar-comp-tip-open { width: 100%; margin-top: 8px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 8px; cursor: pointer; }
.restar-recommendations { margin: 18px 0 16px; }
.restar-recs-grid { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; cursor: grab; }
.restar-recs-grid::-webkit-scrollbar { display: none; }
.restar-recs-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.restar-rec-card { flex: 0 0 126px; border: 1px solid var(--restar-line); border-radius: 10px; overflow: hidden; background: white; text-align: left; padding: 0; box-shadow: 0 7px 18px rgba(31,24,18,.04); scroll-snap-align: start; }
.restar-rec-preview { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; user-select: none; }
.restar-rec-card img { width: 100%; aspect-ratio: 1.28; object-fit: cover; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.restar-rec-card strong { min-height: 16px; max-height: 2.3em; max-width: 29ch; margin: 8px 8px 6px; color: #32353d; font-size: 12px; line-height: 1.15; font-weight: 600; text-align: left; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.restar-rec-idle,
.restar-rec-stepper { width: calc(100% - 16px); min-height: 34px; margin: 0 8px 8px; border: 0; border-radius: 8px; background: #f2f3f5; color: #1f232b; font-size: 12px; font-weight: 500; }
.restar-rec-idle { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 10px; }
.restar-rec-price-text { color: #1f232b; font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.restar-rec-add-btn { flex-shrink: 0; width: 24px; height: 24px; border: 0; border-radius: 6px; background: white; color: #1f232b; font-size: 16px; line-height: 1; font-weight: 500; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 3px rgba(31,24,18,.12); }
.restar-rec-stepper { display: grid; grid-template-columns: 22px 1fr 22px; align-items: center; padding: 5px 0; }
.restar-rec-stepper button { width: 100%; height: 100%; border: 0; background: transparent; color: #4f535b; font-size: 18px; line-height: 1; font-weight: 400; cursor: pointer; }
.restar-rec-stepper span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; text-align: center; color: #333640; font-size: 14px; font-weight: 500; line-height: 1.2; }
.restar-rec-sub-price { max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: #999ba1; font-size: 10px; font-weight: 500; font-style: normal; white-space: nowrap; }
.restar-addon-group { margin-top: 18px; padding-top: 0; }
.restar-addon-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.restar-addon-title h3 { margin: 0 0 3px; color: #30333b; font-size: 16px; font-weight: 500; }
.restar-addon-title p { margin: 0; color: #999ba1; font-size: 12px; }
.restar-addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.restar-addon-rows { display: grid; }
.restar-addon-row { display: flex; align-items: center; gap: 10px; padding: 5px 2px; }
.restar-addon-row-name { flex: 1 1 auto; min-width: 0; color: #30333b; font-size: 13px; font-weight: 500; }
.restar-addon-row-price { color: #999ba1; font-size: 12px; flex-shrink: 0; }
.restar-addon-row-stepper { display: flex; align-items: center; gap: 10px; border: 1px solid #e9e9e9; border-radius: 8px; padding: 5px 10px; background: white; }
.restar-addon-row-stepper button { border: 0; background: transparent; color: #3d4048; font-size: 17px; line-height: 1; cursor: pointer; width: 18px; }
.restar-addon-row-stepper button:disabled { color: #d5d6d9; cursor: default; }
.restar-addon-row-stepper span { min-width: 16px; text-align: center; color: #30333b; font-size: 13px; font-weight: 500; }
.restar-addon-tile { --addon-name-width: 79px; --addon-name-shift-x: -5px; --addon-name-shift-y: -2px; --addon-price-width: 58px; --addon-price-shift-x: -8px; --addon-price-shift-y: 3px; position: relative; min-height: 64px; border: 1px solid #e9e9e9; border-radius: 12px; background: white; padding: 7px 31px 7px 9px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; text-align: left; transition: .18s ease; }
.restar-addon-tile img { width: 40px; height: 40px; object-fit: contain; }
.restar-addon-tile-copy { min-width: 0; display: grid; gap: 2px; }
.restar-addon-tile-name { width: var(--addon-name-width); max-width: var(--addon-name-width); transform: translate(var(--addon-name-shift-x), var(--addon-name-shift-y)); color: #3d4048; font-size: 11px; line-height: 1.15; font-weight: 500; }
.restar-addon-tile strong { width: var(--addon-name-width); max-width: var(--addon-name-width); font-size: 11px; }
.restar-addon-tile-price { width: var(--addon-price-width); max-width: var(--addon-price-width); transform: translate(var(--addon-price-shift-x), var(--addon-price-shift-y)); color: #e69422; font-size: 10px; line-height: 1; font-style: normal; font-weight: 500; }
.restar-addon-tile i { position: absolute; right: 9px; bottom: 9px; width: 23px; height: 23px; border-radius: 999px; display: grid; place-items: center; background: #f7f7f7; color: #777; font-size: 16px; }
.restar-addon-tile.active { border-color: #ff9a18; background: #fffaf3; box-shadow: inset 0 0 0 1px rgba(255,154,24,.18); }
.restar-addon-tile.active i { background: linear-gradient(180deg, #ffad2e, #ff7900); color: white; }
.restar-addon-slider { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; cursor: grab; }
.restar-addon-slider::-webkit-scrollbar { display: none; }
.restar-addon-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.restar-addon-card { flex: 0 0 126px; overflow: hidden; border: 1px solid #e9e9e9; border-radius: 12px; background: white; padding: 0; text-align: left; scroll-snap-align: start; transition: .18s ease; }
.restar-addon-card img { width: 100%; aspect-ratio: 1.80; object-fit: cover; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.restar-addon-card div { padding: 8px 10px 9px; display: grid; grid-template-columns: 1fr 30px; align-items: end; gap: 7px; }
.restar-addon-card strong { grid-column: 1 / -1; color: #3d4048; font-size: 12px; line-height: 1.15; font-weight: 600; }
.restar-addon-card span { height: 32px; border: 1px solid #efb255; border-radius: 9px; display: inline-flex; align-items: center; padding: 0 9px; color: #e69422; font-size: 13px; font-weight: 500; }
.restar-addon-card i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff7ed; color: #e69422; font-size: 19px; }
.restar-addon-card.active { border-color: #ff9a18; background: #fffaf3; }
.restar-addon-card.active i { background: linear-gradient(180deg, #ffad2e, #ff7900); color: white; }
.restar-addon-required { color: #e53935; font-weight: 600; }
.restar-addon-tile-extra { display: none; }
.restar-addon-tile-spoiler { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 0; background: transparent; color: #e69422; font-size: 12px; font-weight: 500; cursor: pointer; }
.restar-addon-sl-card { flex: 0 0 126px; overflow: hidden; border: 1px solid #e9e9e9; border-radius: 12px; background: white; padding: 8px 10px 9px; text-align: left; scroll-snap-align: start; display: grid; gap: 6px; transition: .18s ease; }
.restar-addon-sl-card img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 8px; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.restar-addon-sl-card strong { color: #3d4048; font-size: 12px; line-height: 1.15; font-weight: 600; }
.restar-addon-sl-price { color: #e69422; font-size: 12px; font-weight: 500; }
.restar-addon-sl-card.active { border-color: #ff9a18; background: #fffaf3; }
.restar-addon-sl-stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #e9e9e9; border-radius: 8px; padding: 4px 8px; background: white; }
.restar-addon-sl-stepper button { border: 0; background: transparent; color: #3d4048; font-size: 16px; line-height: 1; cursor: pointer; }
.restar-addon-sl-stepper button:disabled { color: #d5d6d9; cursor: default; }
.restar-addon-sl-stepper span { min-width: 14px; text-align: center; color: #30333b; font-size: 12px; font-weight: 500; }
.restar-selected-addons { margin-top: 18px; min-height: 68px; border-radius: 14px; background: #fff4e8; display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 12px; padding: 13px 15px; }
.restar-selected-addons > span { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: #ffe0bd; color: #ff7900; font-size: 22px; }
.restar-selected-addons h4 { margin: 0 0 4px; color: #30333b; font-size: 16px; font-weight: 500; }
.restar-selected-addons p { margin: 0; color: #81838a; font-size: 13px; line-height: 1.2; }
.restar-selected-addons strong { color: #ff7900; font-size: 16px; font-weight: 500; white-space: nowrap; }
.restar-selected-addons > i { color: #ff7900; font-size: 21px; }
.restar-modal-footer { border-top: 1px solid var(--restar-line); padding: 10px 14px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 20px rgba(0,0,0,.03); }
.restar-footer-label { display: block; color: var(--restar-muted); font-size: 12px; font-weight: 500; }
#restar-modal-price { font-size: 18px; color: var(--restar-ink); font-weight: 600; }
.restar-modal-stepper { display: grid; grid-template-columns: 32px 28px 32px; align-items: center; gap: 3px; padding: 3px; border: 1px solid #efb255; border-radius: 10px; background: white; }
.restar-modal-stepper button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #fff7ed; color: #e98711; font-size: 20px; line-height: 1; font-weight: 400; }
.restar-modal-stepper span { color: #333640; text-align: center; font-size: 15px; font-weight: 500; }
.restar-add-cart { height: 40px; border: 0; border-radius: 10px; padding: 0 16px; background: linear-gradient(180deg, #ff9418, #ff7300); color: white; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 8px 18px rgba(255,115,0,.2); }
.restar-add-cart span { font-weight: 500; }
.restar-add-cart.is-disabled { background: #d5d6d9; box-shadow: none; cursor: not-allowed; opacity: .7; }

@media (max-width: 1199px) {
  .restar-main-header { grid-template-columns: auto auto 1fr; }
  .restar-hero-nav { display: none; }
  .restar-hero-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .restar-hero-category { flex-basis: calc((100% - 24px) / 3); }
  .restar-menu-topbar { grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); }
  .restar-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .restar-hero-shell { border-radius: 0; padding-top: 14px; }
  .restar-main-header { grid-template-columns: 1fr auto; gap: 12px; }
  .restar-main-header.is-stuck { top: 0; width: 100%; padding-inline: 12px; }
  .restar-location-chip,
  .restar-phone { display: none; }
  .restar-hero-content { padding-top: 28px; }
  .restar-hero-content p { font-size: 17px; }
  .restar-hero-features { flex-wrap: wrap; gap: 18px; }
  .restar-hero-category-wrap { padding-inline: 18px; }
  .restar-hero-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .restar-hero-category { flex-basis: calc((100% - 12px) / 2); }
  .restar-rail-arrow { display: none; }
  .restar-hero-benefits { grid-template-columns: 1fr; }
  .restar-hero-benefits > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .restar-menu-topbar { position: static; grid-template-columns: 1fr; }
  .restar-top-category-nav { grid-column: 1 / -1; }
  .restar-nav-pill { white-space: nowrap; }
  .restar-modal-card { position: relative; left: auto; top: auto; grid-template-columns: 1fr; height: calc(100vh - 32px); width: calc(100vw - 24px); margin: 16px auto; transform: none; }
  .restar-modal-media { height: 320px; }
  .restar-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .restar-hero-shell { min-height: 980px; }
  .restar-hero-shell { background-position: 64% top; background-size: 100% auto; background-attachment: scroll; }
  .restar-header-cart { min-width: 58px; padding-inline: 14px; }
  .restar-header-cart span { display: none; }
  .restar-hero-actions { gap: 8px; }
  .restar-icon-action { display: none; }
  .restar-hero-content h1 { font-size: 48px; }
  .restar-hero-buttons { gap: 10px; }
  .restar-primary-cta,
  .restar-secondary-cta { min-width: 132px; height: 52px; padding-inline: 16px; }
  .restar-hero-category { grid-template-columns: 1fr; }
  .restar-hero-category img { justify-self: start; }
  .restar-section-head { align-items: flex-start; flex-direction: column; }
  .restar-search { width: 100%; }
  .restar-product-grid { grid-template-columns: 1fr; }
  .restar-cart-scroll { padding-inline: 16px; }
  .restar-cart-checkout-bar { padding-inline: 16px; }
  .restar-mobile-cart-title h3 { font-size: 16px; }
  .restar-mobile-cart-head p { font-size: 12px; }
  .restar-mobile-clear span { display: none; }
  .restar-mobile-cart-item { grid-template-columns: 72px 1fr 82px; gap: 9px; padding: 10px; }
  .restar-mobile-cart-item img { width: 72px; height: 72px; }
  .restar-mobile-item-info h4 { font-size: 13px; }
  .restar-mobile-item-info p { font-size: 11px; }
  .restar-mobile-stepper { grid-template-columns: 30px 20px 30px; }
  .restar-mobile-stepper button { width: 30px; height: 30px; }
  .restar-promo-form { grid-template-columns: 1fr 116px; }
  .restar-modal-scroll { padding: 28px 22px 18px; }
  .restar-modal-footer { grid-template-columns: 1fr; }
}

/* Подарок по промокоду в корзине — позиция без степпера и удаления */
.restar-mobile-cart-item--gift {
  background: #fffaf7;
  border: 1px dashed rgba(255,122,0,.45);
}
.restar-mobile-cart-item--gift .restar-mobile-item-info p {
  color: #ff7a00; font-weight: 600;
}

/* Checkout bottom-sheet must render above the desktop cart drawer (z-index: 9998) */
#checkout-modal.bottom-sheet-modal { z-index: 10010; }
#checkout-modal.bottom-sheet-modal + .modal-backdrop,
.modal-backdrop { z-index: 10005; }

/* Checkout modal: narrower and centered on desktop instead of full-width side sheet */
#checkout-modal.bottom-sheet-modal .modal-dialog {
  max-width: 620px;
  margin: 0 auto;
}
