:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --line: #2a2a2a;
  --text: #ffffff;
  --muted: #bcbcbc;
  --red: #f92222;
  --red-hover: #ff3b3b;
  --radius: 8px;
  --radius-btn: 50px;
  --header-main: 64px;
  --header-top: 36px;
  --cats-h: 92px;
  --font: "Roboto", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #333 #0a0a0a;
}

html::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track {
  background: #0a0a0a;
}

html::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 999px;
  border: 2px solid #0a0a0a;
}

html::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
  padding-right: var(--sbw, 0);
}

.site-header.is-locked-pad {
  padding-right: var(--sbw, 0);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.page {
  min-height: 100vh;
}

.ph {
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.15em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.header-top {
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.header-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-top);
  padding: 0.35rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.86rem;
}

.header-links a {
  color: var(--muted);
}

.header-links a:hover,
.header-links a.is-active {
  color: #fff;
}

.header-top__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.header-meta strong {
  color: #fff;
}

.header-meta .ph {
  color: var(--red);
}

.site-header__bar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-main);
  padding: 0.55rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
}

.brand__logo {
  height: 44px;
  width: auto;
}

.addr-chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius-btn);
  padding: 0.4rem 0.9rem;
  text-align: left;
  cursor: pointer;
  max-width: 280px;
  min-width: 0;
  white-space: nowrap;
}

.addr-chip > span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
}

.addr-chip .ph {
  color: var(--red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.addr-chip__label {
  flex-shrink: 0;
  font-size: 0.68rem;
  color: var(--red);
}

.addr-chip__value,
.addr-chip [data-address-label] {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.86rem;
  min-width: 0;
  max-width: 200px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-2);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
}

.icon-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: #fff;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover,
.cart-btn.has-items {
  border-color: rgba(249, 34, 34, 0.55);
}

.cart-btn:hover {
  background: #121212;
}

.cart-btn__icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #000;
}

.cart-btn__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  font-size: 0.7rem;
  color: var(--muted);
}

.cart-btn__meta strong {
  font-size: 0.9rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-search__btn {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-search.is-open .header-search__btn {
  border-color: var(--red);
  color: var(--red);
}

.header-search__field {
  position: absolute;
  right: calc(100% - 6px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 0;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid transparent;
  background: #0a0a0a;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  padding: 0;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, border-color 0.2s ease, transform 0.32s ease, padding 0.2s ease;
  z-index: 1;
}

.header-search.is-open .header-search__field {
  width: min(280px, 52vw);
  opacity: 1;
  pointer-events: auto;
  border-color: var(--red);
  border-right-color: transparent;
  padding: 0 0.35rem 0 0.9rem;
  transform: translateY(-50%) translateX(0);
}

.header-search.is-open .header-search__btn {
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
}

.header-search__field input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
}

.header-search__clear {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.header-search__clear:hover {
  color: #fff;
}

.site-nav {
  display: none;
  gap: 1rem;
  padding: 0 1rem 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav__addr {
  color: var(--muted);
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav__addr:hover {
  color: var(--text);
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.contact-allergens {
  margin: 1rem 0 0;
}

/* Hatimaki-like categories */
.h-categories {
  border-top: 1px solid var(--line);
  background: #000;
}

.h-categories__track {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1rem 0.85rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

.h-categories__track.is-dragging {
  cursor: grabbing;
}

.h-categories__track.is-dragging .h-categories__item {
  pointer-events: none;
}

.h-categories__track::-webkit-scrollbar {
  display: none;
}

.h-categories__item {
  flex: 0 0 auto;
  width: 88px;
  text-align: center;
  color: var(--muted);
  padding: 0.35rem 0.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  -webkit-user-drag: none;
  user-select: none;
}

.h-categories__item:hover,
.h-categories__item.is-active {
  color: #fff;
  border-color: rgba(249, 34, 34, 0.45);
  background: rgba(249, 34, 34, 0.08);
}

.h-categories__item-icon {
  display: grid;
  place-items: center;
  height: 34px;
  font-size: 1.45rem;
  color: var(--red);
}

.h-categories__item-icon img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-user-drag: none;
  pointer-events: none;
  border: 1px solid rgba(249, 34, 34, 0.35);
}

.h-categories__item-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.h-categories__item-from {
  display: none !important;
}

/* Hero slider — content width; cover may crop sides to keep height in check */
.hero-slider {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0.75rem auto 0;
  padding: 0 1rem;
}

/* Clip viewport (must NOT be the transformed node) */
.hero-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.45s ease;
}

.hero-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  position: relative;
  aspect-ratio: 1138 / 517;
  max-height: 400px;
}

.hero-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider__shade,
.hero-slider__caption {
  display: none !important;
}

.hero-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1rem 2rem;
}

.hero-slider__caption h1,
.hero-slider__kicker {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  font-weight: 700;
}

.hero-slider__caption p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
}

.hero-slider__nav--prev {
  left: 0.75rem;
}

.hero-slider__nav--next {
  right: 0.75rem;
}

.hero-slider__nav:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.hero-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-slider__dots button.is-active {
  background: var(--red);
  width: 18px;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.btn--accent {
  background: var(--red);
  color: #fff;
}

.btn--accent:hover {
  background: var(--red-hover);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
}

.btn--block {
  width: 100%;
}

.text-btn {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

/* Catalog */
.catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3.5rem;
}

.catalog-section {
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-top) + var(--header-main) + var(--cats-h) + 12px);
}

.catalog-section.is-hidden {
  display: none;
}

.catalog-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.catalog-section__head h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.catalog-section__head span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #111;
  color: var(--text);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.catalog-note {
  margin: 0;
  max-width: 36rem;
  font-size: 0.8rem;
}

.catalog-skeleton {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  transition: opacity 0.25s ease;
}

.catalog-skeleton.is-done {
  opacity: 0;
  pointer-events: none;
}

.skel-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.skel-card__media {
  aspect-ratio: 1;
  background: linear-gradient(90deg, #141414 25%, #1f1f1f 50%, #141414 75%);
  background-size: 200% 100%;
  animation: skel 1.2s ease-in-out infinite;
}

.skel-card__line {
  height: 0.7rem;
  margin: 0.85rem 0.8rem 0.45rem;
  border-radius: 4px;
  background: #222;
}

.skel-card__line--short {
  width: 55%;
  margin-bottom: 1rem;
}

@keyframes skel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.product-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--featured .product-card__media {
  aspect-ratio: 4 / 3;
}

.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  border: 0;
  background: #111;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: contrast(1.04) saturate(1.05) brightness(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .product-card__media img {
    transition: none;
  }
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__media--placeholder img,
.product-modal__media img.is-placeholder {
  object-fit: contain;
  padding: 12%;
  background: #0a0a0a;
  filter: none;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.product-card__tags span {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
}

.product-card__body {
  padding: 0.8rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card__title {
  margin: 0;
  font-size: 0.98rem;
}

.product-card__title button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.product-card__title button:hover {
  color: var(--red);
}

.product-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.product-card__price {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.qty-control [hidden] {
  display: none !important;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 0.12rem;
}

.qty-control__btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.qty-control__btn--accent {
  background: var(--red);
  color: #fff;
}

.qty-control__value {
  min-width: 1.3rem;
  text-align: center;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.search-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* Inner pages / checkout — match site shell (1200) */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3.5rem;
}

.checkout-page.page-main {
  max-width: 1200px;
}

.checkout-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.page-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 52ch;
}

.content-block {
  margin-top: 1.25rem;
  padding: 1.15rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-block h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.content-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.checkout-head h2 {
  margin: 0;
}

.checkout-zone {
  margin-bottom: 1rem;
}

.checkout-zone.is-invalid {
  outline: 1px solid var(--red);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.checkout-zone__card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: #111;
  border-radius: var(--radius);
  padding: 0.85rem;
}

.checkout-zone__card p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  grid-template-columns: none !important;
}

.zone-cards,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.zone-card,
.contact-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.zone-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.map-fallback {
  margin-top: 0.85rem;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #000;
  padding: 2rem 1rem;
}

.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.brand-footer {
  margin: 0 0 0.5rem;
}

.brand-footer img {
  height: 48px;
  width: auto;
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.site-footer__note {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  color: #777;
  font-size: 0.82rem;
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0);
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.28s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.72);
}

.overlay[hidden] {
  display: none !important;
}

.overlay--drawer {
  place-items: stretch end;
  padding: 0;
}

.modal,
.drawer__body,
.suggest-list,
.c-select__list,
.product-modal__main {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.modal::-webkit-scrollbar,
.drawer__body::-webkit-scrollbar,
.suggest-list::-webkit-scrollbar,
.c-select__list::-webkit-scrollbar,
.product-modal__main::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.modal::-webkit-scrollbar-track,
.drawer__body::-webkit-scrollbar-track,
.suggest-list::-webkit-scrollbar-track,
.c-select__list::-webkit-scrollbar-track,
.product-modal__main::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb,
.drawer__body::-webkit-scrollbar-thumb,
.suggest-list::-webkit-scrollbar-thumb,
.c-select__list::-webkit-scrollbar-thumb,
.product-modal__main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.modal::-webkit-scrollbar-thumb:hover,
.drawer__body::-webkit-scrollbar-thumb:hover,
.suggest-list::-webkit-scrollbar-thumb:hover,
.c-select__list::-webkit-scrollbar-thumb:hover,
.product-modal__main::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

.modal--product,
.product-modal__main {
  scrollbar-width: none;
}

.modal--product::-webkit-scrollbar,
.product-modal__main::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.modal {
  width: min(520px, 100%);
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  position: relative;
  max-height: min(88vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.overlay.is-open .modal {
  transform: none;
  opacity: 1;
}

.modal--address {
  width: min(560px, 100%);
}

.modal--product {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--muted);
}

.modal-lead {
  margin: 0 0 0.75rem;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin: 0.9rem 0;
  background: #111;
  padding: 0.25rem;
  border-radius: var(--radius-btn);
}

.tabs__btn {
  border: 0;
  background: transparent;
  border-radius: var(--radius-btn);
  padding: 0.6rem;
  cursor: pointer;
  color: var(--muted);
}

.tabs__btn.is-active {
  background: var(--red);
  color: #fff;
}

.zone-list {
  display: grid;
  gap: 0.45rem;
}

.zone-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #111;
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
}

.zone-item:hover {
  border-color: rgba(249, 34, 34, 0.55);
}

.zone-item.is-selected {
  border-color: var(--red);
  background: rgba(249, 34, 34, 0.12);
  box-shadow: inset 0 0 0 1px var(--red);
}

.zone-item strong {
  font-variant-numeric: tabular-nums;
}

.zone-item__eta {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.address-fields {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.address-fields__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.address-fields label,
.checkout-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.address-fields input,
.address-fields select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  border: 1px solid var(--line);
  background: #111;
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}

.suggest-field {
  position: relative;
}

.suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-height: 180px;
  overflow: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.suggest-list[hidden] {
  display: none !important;
}

.suggest-list button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.suggest-list button:hover {
  background: rgba(249, 34, 34, 0.15);
}

.c-select {
  position: relative;
}

.c-select__native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.c-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: #111;
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.c-select.is-open .c-select__trigger,
.c-select__trigger:hover {
  border-color: var(--red);
}

.c-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 6;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.c-select__list[hidden] {
  display: none !important;
}

.c-select__list button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.c-select__list button:hover,
.c-select__list button.is-active {
  background: rgba(249, 34, 34, 0.18);
}

.pickup-card {
  border: 1px solid var(--line);
  background: #111;
  border-radius: var(--radius);
  padding: 0.9rem;
  margin-bottom: 0.75rem;
}

.pickup-card h3 {
  margin: 0 0 0.35rem;
}

.pickup-card p {
  margin: 0.2rem 0;
}

.pickup-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  margin-bottom: 0.55rem;
}

.pickup-map--wide {
  height: 320px;
  margin-top: 0.85rem;
}

.pickup-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.faq {
  display: grid;
  gap: 0.55rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 0.85rem 1rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.about-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--red);
}

.checkout-form input.is-invalid,
.checkout-form textarea.is-invalid,
.checkout-form select.is-invalid,
.address-fields input.is-invalid,
.address-fields select.is-invalid {
  border-color: var(--red);
}

.mobile-total {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.mobile-total[hidden] {
  display: none !important;
}

.mobile-total .btn {
  flex-shrink: 0;
}

@media (min-width: 821px) {
  .mobile-total {
    display: none !important;
  }
}

.map-ext {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-ext:hover {
  color: var(--red);
}

.product-modal {
  display: flex;
  flex-direction: column;
  min-height: min(62vh, 520px);
  max-height: min(88vh, 760px);
}

.product-modal__main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.1fr;
  gap: 1.4rem;
  align-items: center;
  align-content: center;
  padding: 1.5rem 1.35rem 1rem;
  overflow: hidden;
}

.product-modal__media img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: #111;
  filter: contrast(1.04) saturate(1.05) brightness(1.02);
}

.product-modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36ch;
}

.product-modal__body h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.product-modal__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem 1.1rem;
  border-top: 1px solid var(--line);
  background: #080808;
}

.product-modal__actions strong {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  margin-right: auto;
}

.drawer {
  width: min(420px, 100%);
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.overlay.is-open .drawer {
  transform: none;
}

.drawer__head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head h2 {
  margin: 0;
}

.drawer__body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem 1rem;
}

.drawer__foot {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1rem 1.1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img,
.cart-line__ph {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: #111;
  filter: contrast(1.04) saturate(1.05);
}

.cart-line h3 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
}

.cart-line p {
  margin: 0;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 2rem 1rem;
}

.totals {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.totals__sum {
  color: var(--text) !important;
  padding-top: 0.3rem;
  border-top: 1px solid var(--line);
}

.checkout-form {
  display: grid;
  gap: 0.75rem;
}

.checkout-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 12px);
  z-index: 80;
  background: #111;
  border: 1px solid var(--red);
  color: var(--text);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-btn);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast[hidden] {
  display: none !important;
}

.product-card,
.filter-chip,
.zone-item,
.btn,
.icon-btn,
.addr-chip {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-slider__track {
    transition: none;
  }

  .overlay .modal,
  .overlay .drawer {
    transform: none !important;
    opacity: 1 !important;
  }
}

.catalog-section.is-hidden,
.search-empty[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .product-grid,
  .product-grid--featured,
  .catalog-skeleton {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .checkout-layout,
  .content-block--split,
  .site-footer__grid,
  .zone-cards,
  .contact-grid,
  .product-modal__main {
    grid-template-columns: 1fr;
  }

  .header-top__meta span span {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-main: 56px;
    --header-top: 32px;
    --cats-h: 78px;
  }

  .product-grid,
  .product-grid--featured,
  .catalog-skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .header-links {
    display: none;
  }

  .header-top__inner {
    justify-content: flex-end;
    padding: 0.25rem 0.75rem;
  }

  .header-top__meta {
    gap: 0.65rem;
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    max-width: none;
    margin: 0;
    padding: 0.35rem 0 0.65rem;
    border-top: 1px solid var(--line);
    background: #050505;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav__addr {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #1a1a1a;
    color: #fff;
  }

  .site-nav a.is-active {
    color: var(--red);
  }

  .site-nav__addr {
    color: var(--red);
    border-bottom: 0;
  }

  .site-header__bar {
    padding: 0.4rem 0.75rem 0.55rem;
    gap: 0.45rem 0.55rem;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand actions"
      "addr addr";
  }

  .brand {
    grid-area: brand;
  }

  .header-actions {
    grid-area: actions;
  }

  .addr-chip {
    grid-area: addr;
    max-width: none;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
    padding: 0.45rem 0.8rem;
  }

  .brand__logo {
    height: 36px;
  }

  .addr-chip__value,
  .addr-chip [data-address-label] {
    max-width: none;
    flex: 1 1 auto;
  }

  .tabs__btn {
    font-size: 0.9rem;
    padding: 0.65rem 0.4rem;
  }

  .icon-btn,
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .cart-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    justify-content: center;
    background: var(--bg-2);
    border: 1px solid var(--line);
  }

  .cart-btn:hover,
  .cart-btn.has-items {
    background: var(--bg-2);
    border-color: rgba(249, 34, 34, 0.55);
  }

  .cart-btn__icon {
    width: 100%;
    height: 100%;
  }

  .cart-btn__meta {
    display: none;
  }

  .header-search.is-open .header-search__field {
    width: min(210px, 48vw);
  }

  .h-categories__track {
    padding: 0.45rem 0.75rem 0.6rem;
    gap: 0.2rem;
  }

  .h-categories__item {
    width: 74px;
    padding: 0.25rem 0.15rem;
  }

  .h-categories__item-icon {
    height: 28px;
    font-size: 1.25rem;
  }

  .h-categories__item-name {
    font-size: 0.72rem;
  }

  .h-categories__item-from {
    font-size: 0.62rem;
  }

  .hero-slider__caption {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 1.4rem;
  }

  .hero-slider__caption h1,
  .hero-slider__kicker {
    font-size: 1.35rem;
  }

  .hero-slider__caption p {
    font-size: 0.9rem;
  }

  .hero-slider__nav {
    display: none;
  }

  .catalog {
    padding: 1rem 0.75rem 5rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.75rem;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -0.75rem;
    padding: 0 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.45rem 0.9rem;
  }

  .catalog-note {
    display: none;
  }

  .product-card__body {
    padding: 0.65rem 0.65rem 0.75rem;
  }

  .product-card__title {
    font-size: 0.9rem;
  }

  .product-card__desc {
    font-size: 0.76rem;
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .product-card__footer {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .qty-control__btn {
    width: 36px;
    height: 36px;
  }

  .page-main {
    padding: 1.25rem 0.85rem 5rem;
  }

  .contact-card,
  .content-block {
    padding: 0.95rem;
  }

  .pickup-map--wide {
    height: 240px;
  }

  .overlay {
    align-items: end;
    padding: 0;
    place-items: end center;
  }

  .overlay--drawer {
    place-items: stretch end;
  }

  .overlay[data-overlay="product"] {
    place-items: center;
    padding: 0.75rem;
  }

  .modal {
    width: 100%;
    max-width: none;
    border-radius: 14px 14px 0 0;
    max-height: min(92vh, 100%);
    padding: 1rem 0.9rem calc(1rem + env(safe-area-inset-bottom));
  }

  .modal--product {
    width: min(520px, 100%);
    border-radius: 14px;
    max-height: min(86vh, 720px);
    min-height: 0;
  }

  .product-modal {
    min-height: 0;
  }

  .product-modal__main {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 1.15rem 0.95rem 0.65rem;
    gap: 0.75rem;
    overflow: hidden;
  }

  .product-modal__media img {
    max-width: 220px;
  }

  .product-modal__body {
    max-width: none;
    text-align: center;
  }

  .product-modal__actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0.75rem 0.95rem calc(0.85rem + env(safe-area-inset-bottom));
  }

  .product-modal__actions strong {
    margin-right: auto;
    flex: 0 0 auto;
  }

  .product-modal__actions .btn {
    flex: 0 1 auto;
    padding: 0.7rem 1rem;
  }

  .drawer {
    width: 100%;
    border-left: 0;
  }

  .mobile-total {
    z-index: 45;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  body.is-locked {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 1rem;
  }
}

@media (max-width: 560px) {
  .header-top .header-meta:first-child strong {
    font-size: 0.74rem;
  }

  .addr-chip__label {
    font-size: 0.62rem;
  }

  .addr-chip__value {
    font-size: 0.78rem;
  }

  .product-grid--featured .product-card__media {
    aspect-ratio: 1;
  }

  .hero-slider__dots {
    bottom: 0.55rem;
  }

  .zone-item {
    padding: 0.75rem 0.8rem;
    align-items: flex-start;
  }

  .checkout-form .btn,
  .drawer__foot .btn {
    min-height: 48px;
  }

  .checkout-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .product-grid--featured,
  .catalog-skeleton {
    gap: 0.5rem;
  }

  .product-card__tags {
    display: none;
  }

  .brand__logo {
    height: 32px;
  }
}
