:root {
  --bg: #f9f9f9;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --card-bg: #fff;
  --border: #e8e4df;
  --dish-media-control-bg: rgba(255, 255, 255, 0.92);
  --dish-media-badge-bg: rgba(255, 255, 255, 0.95);
}

.theme-dark {
  --bg: #121212;
  --text: #f5f5f5;
  --muted: #aaa;
  --card-bg: #1e1e1e;
  --border: #333;
  --dish-media-control-bg: rgba(30, 30, 30, 0.92);
  --dish-media-badge-bg: rgba(30, 30, 30, 0.95);
}

body.public-store {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

.container {
  box-sizing: border-box;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--card-bg);
  padding: 1rem 0;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  
}
.store-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.store-header-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
.store-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.store-menu-btn:hover {
  border-color: var(--color-primary, #e85d04);
  color: var(--color-primary, #e85d04);
}
.store-menu-btn-icon {
  display: block;
}
.store-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.store-logo { max-height: 48px; width: auto; flex-shrink: 0; }
.store-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.store-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.store-brand-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.3;
}
/* Promo banners slider */
.store-banners {
  padding: 1.25rem 0 0.5rem;
}
.store-banners-inner {
  width: 100%;
}
.store-banners-viewport {
  overflow: hidden;
  width: 100%;
}
.store-banners-track {
  display: flex;
  gap: 0.75rem;
  transition: transform 0.35s ease;
  will-change: transform;
}
.store-banner-card {
  flex: 0 0 var(--banner-card-width, 280px);
  width: var(--banner-card-width, 280px);
  min-width: 0;
}
.store-banner-media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: var(--border);
}
.store-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 12%,
    rgba(0, 0, 0, 0.2) 35%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.65) 72%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}
.store-banner-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.store-banner-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  color: #fff;
}
.store-banner-title {
  margin: 0;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.store-banner-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-banner {
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  border: none;
}
.btn-banner:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
}
.store-banners-controls {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  padding-bottom: 0.25rem;
}
.store-banners-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.store-banners-dot.is-active {
  background: var(--color-primary, #e85d04);
  transform: scale(1.2);
}

.store-menu-panel {
  width: 100%;
  background: var(--card-bg);
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1.5rem 0 2.5rem;
}

.menu-section { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--store-sticky-offset, 140px) + 0.5rem); }
.menu-section-title {
  margin: 0 0 1.7rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-primary, #e85d04);
  
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* Menu toolbar: search, sort, category slider */
.menu-toolbar {
  --menu-control-h: 44px;
  position: sticky;
  top: calc(var(--store-header-height, 72px) - 1px);
  z-index: 190;
  background: var(--card-bg);
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}
.menu-toolbar-inner {
  min-width: 0;
}
.menu-toolbar-btn {
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--menu-control-h);
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.menu-toolbar-btn--icon {
  width: var(--menu-control-h);
  padding: 0;
  border-radius: 50%;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.menu-toolbar-btn--icon:hover {
  background: var(--color-primary-hover, #dc2f02);
}
.menu-toolbar-btn--filter {
  width: auto;
  min-width: var(--menu-control-h);
  padding: 0 0.85rem;
  border-radius: 999px;
}
.menu-toolbar-btn--favorites {
  position: relative;
}
.menu-favorites-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--color-primary, #e85d04);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.theme-dark .menu-favorites-badge {
  background: #121212;
}
.menu-favorites-badge.hidden { display: none; }
.menu-toolbar-filter-wrap {
  position: relative;
  flex-shrink: 0;
}
.menu-toolbar-filter-dropdown {
  position: fixed;
  z-index: 220;
  min-width: 200px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 0.35rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.menu-toolbar-filter-dropdown.hidden { display: none; }
.menu-filter-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}
.menu-filter-option:hover,
.menu-filter-option.is-active {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, var(--card-bg));
  color: var(--color-primary, #e85d04);
  font-weight: 600;
}
.menu-toolbar-categories {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.menu-toolbar-categories.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.menu-toolbar-categories.is-dragging * {
  pointer-events: none;
}
.menu-toolbar-categories::-webkit-scrollbar { display: none; }
.menu-cat-pill {
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--menu-control-h);
  padding: 0 1.1rem;
  border: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 8%, var(--bg));
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.menu-cat-pill:hover {
  background: color-mix(in srgb, var(--text) 12%, var(--bg));
}
.menu-cat-pill.is-active {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}

/* Dish search modal */
.modal-content--search { max-width: 480px; }
.dish-search-title { margin: 0 2rem 1rem 0; font-size: 1.15rem; }
.dish-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 1rem;
}
.dish-search-input:focus {
  outline: none;
  border-color: var(--color-primary, #e85d04);
}
.dish-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 50vh;
  overflow-y: auto;
}
.dish-search-results li + li { border-top: 1px solid var(--border); }
.dish-search-result-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0.25rem;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.dish-search-result-btn:hover { color: var(--color-primary, #e85d04); }
.dish-search-result-name { font-weight: 600; }
.dish-search-result-meta {
  font-size: 0.8rem;
  color: var(--muted);
  flex-shrink: 0;
}
.dish-search-result-price {
  font-weight: 700;
  color: var(--color-primary, #e85d04);
  flex-shrink: 0;
}
.dish-search-empty {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.dish-search-empty.hidden { display: none; }

/* Favorites modal */
.modal-content--favorites { max-width: 520px; }
.favorites-modal-title { margin: 0 2rem 1rem 0; font-size: 1.15rem; }
.favorites-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 60vh;
  overflow-y: auto;
}
.favorites-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.favorites-item:last-child { border-bottom: none; }
.favorites-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
.favorites-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.favorites-item-img--placeholder {
  display: block;
  background: linear-gradient(145deg, #ece8e4 0%, #d8d4d0 100%);
}
.favorites-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.favorites-item-name {
  font-weight: 700;
  line-height: 1.25;
}
.favorites-item-price {
  font-weight: 700;
  color: var(--color-primary, #e85d04);
}
.favorites-item-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.favorites-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 8%, var(--bg));
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.favorites-item-remove:hover {
  background: color-mix(in srgb, var(--text) 14%, var(--bg));
  color: var(--text);
}
.favorites-item-add {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
}
.favorites-empty {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.favorites-empty.hidden { display: none; }

.dish-card.is-highlighted {
  outline: 2px solid var(--color-primary, #e85d04);
  outline-offset: 3px;
  border-radius: 14px;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1024px) {
  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .public-store.mobile-dish-cols-1 .dish-grid {
    grid-template-columns: 1fr;
  }
}

/* Мобильная сетка: 2 карточки в ряд */
@media (max-width: 520px) {
  .public-store.mobile-dish-cols-2 .dish-card .dish-card-meta {
    display: none;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-badge-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-badges {
    gap: 0.3rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-badge,
  .public-store.mobile-dish-cols-2 .dish-card .dish-card-badge--options {
    gap: 0;
    width: 1.65rem;
    height: 1.65rem;
    min-width: 1.65rem;
    min-height: 1.65rem;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    justify-content: center;
    flex-shrink: 0;
    font-size: 0;
    line-height: 0;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-badge .badge-icon-svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-price {
    width: 100%;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-order {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-title {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-desc {
    -webkit-line-clamp: 2;
    font-size: 0.7rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-body {
    padding: 0.65rem 0.55rem 0.75rem;
    gap: 0.25rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-price-value {
    font-size: 1rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-price s {
    font-size: 0.75rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .btn-order {
    padding: 0.5rem 0.55rem;
    font-size: 0.62rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-favorite {
    width: 1.65rem;
    height: 1.65rem;
  }

  .public-store.mobile-dish-cols-2 .dish-card .dish-card-favorite svg {
    width: 15px;
    height: 15px;
  }
}

.dish-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.dish-card:focus-visible {
  outline: 2px solid var(--color-primary, #e85d04);
  outline-offset: 3px;
}
.dish-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--border);
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.dish-card-media img,
.dish-card-media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dish-card-media-placeholder {
  background: linear-gradient(145deg, #ece8e4 0%, #d8d4d0 100%);
}
.dish-card-favorite {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--dish-media-control-bg);
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.dish-card-favorite:hover {
  transform: scale(1.06);
}
.dish-card-favorite.is-favorited {
  color: var(--color-primary, #e85d04);
}
.dish-card-favorite.is-favorited svg path {
  fill: currentColor;
}
.dish-card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: calc(100% - 1rem);
}
.dish-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  border: none;
  font-family: inherit;
}
.dish-card-badge--discount,
.dish-card-badge--options {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.dish-card-badge--mark {
  background: var(--dish-media-badge-bg);
  color: var(--text);
 
}
.dish-card-badge--mark .badge-icon-svg {
  flex-shrink: 0;
}
.dish-card-badge--options {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.dish-card-badge--options:hover {
  background: var(--color-primary-hover, #dc2f02);
  transform: translateY(-1px);
}
.dish-card-body {
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg);
}
.dish-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
.dish-card-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-card-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}
.dish-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.45rem;
}
.dish-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}
.dish-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  line-height: 1;
}
.dish-price s {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}

.btn-order {
  flex-shrink: 0;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
  white-space: nowrap;
}
.btn-order:hover { background: var(--color-primary-hover, #dc2f02); }
.dish-card-order {
  margin-top: 0;
}

.store-footer {
  --footer-bg: #6b6b6b;
  --footer-divider: rgba(255, 255, 255, 0.14);
  --footer-muted: rgba(255, 255, 255, 0.62);
  --footer-text: #fff;
  
  padding: 2.5rem 0 2rem;
  background: var(--footer-bg);
  color: var(--footer-muted);
  font-size: 0.8rem;
}
.theme-dark .store-footer {
  --footer-bg: #121212;
}
.store-footer-shell {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.store-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.store-footer-row--contacts {
  align-items: flex-start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}
@media (min-width: 720px) {
  .store-footer-row--contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.store-footer-row--legal {
  align-items: flex-end;
}
.store-footer-divider {
  height: 1px;
  background: var(--footer-divider);
}
.store-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.store-footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
.store-footer-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.28);
  color: var(--footer-text);
  font-size: 1.1rem;
  font-weight: 700;
}
.store-footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.store-footer-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--footer-text);
  line-height: 1.15;
}
.store-footer-tagline {
  font-size: 0.85rem;
  color: var(--footer-muted);
  line-height: 1.3;
}
.store-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.store-footer-cta:hover {
  background: var(--color-primary-hover, #dc2f02);
  color: var(--color-button-text, #fff);
  transform: translateY(-1px);
}
.store-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}
.store-footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
  flex-shrink: 0;
}
.store-footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.store-footer-contact-label {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--footer-muted);
}
.store-footer-contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--footer-text);
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
}
a.store-footer-contact-value:hover {
  color: var(--color-primary, #e85d04);
}
.store-footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.65rem;
}
.store-footer-legal-nav a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 0.78rem;
}
.store-footer-legal-nav a:hover {
  color: var(--footer-text);
}
.store-footer-copy,
.store-footer-powered {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--footer-muted);
}
.store-footer-top {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  color: var(--footer-muted);
  cursor: pointer;
  white-space: nowrap;
}
.store-footer-top:hover {
  color: var(--footer-text);
}
@media (max-width: 719px) {
  .store-footer-row--head {
    flex-direction: column;
    align-items: stretch;
  }
  .store-footer-row--head > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .store-footer-cta {
    width: 100%;
    text-align: center;
  }
  .store-footer-row--legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

.store-city-btn,
.store-city-label {
  font-weight: 600;
  font-size: 0.9rem;
}
.store-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--color-primary, #e85d04);
  cursor: pointer;
  font: inherit;
}
.store-city-btn:hover { border-color: var(--color-primary, #e85d04); }
.store-city-label { color: var(--muted); }

.location-modal-content h3 { margin: 0 0 0.5rem; }
.location-modal-hint { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }
.location-picker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.location-picker-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.location-picker-btn:hover,
.location-picker-btn.is-selected {
  border-color: var(--color-primary, #e85d04);
  background: color-mix(in srgb, var(--color-primary, #e85d04) 8%, var(--card-bg));
}
.location-picker-city { font-weight: 700; font-size: 1rem; }
.location-picker-name { font-size: 0.9rem; color: var(--muted); }
.location-picker-address { font-size: 0.85rem; color: var(--muted); }

.store-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.store-nav a:not(.cart-link) { color: var(--text); text-decoration: none; font-size: 0.9rem; }
.store-nav a:not(.cart-link):hover { color: var(--color-primary, #e85d04); }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cart-link:hover {
  background: var(--color-primary-hover, #d35400);
  color: var(--color-button-text, #fff);
}
.cart-link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.cart-link-total {
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.4rem;
  background: rgba(255, 255, 255, 0.28);
  color: var(--color-button-text, #fff);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.breadcrumbs { margin: 1rem 0; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs a { color: var(--color-primary, #e85d04); }

.page-narrow { max-width: 560px; margin: 0 auto; padding: 2rem 1rem; }
.cart-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-line-qty { display: flex; align-items: center; gap: 0.35rem; }
.cart-line-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 4px;
  cursor: pointer;
}
.cart-remove {
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--muted);
}
.cart-total { font-size: 1.15rem; margin-bottom: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.checkout-form .form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.checkout-form input, .checkout-form textarea {
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.field-error { color: #c1121f; font-size: 0.85rem; }
.checkout-field.has-error .checkout-input,
.store-auth-consent.has-error {
  border-color: #c1121f;
}
.checkout-field.has-error .checkout-input:focus {
  border-color: #c1121f;
}
.success-page { text-align: center; padding-top: 3rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal.hidden { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-content--dish {
  --dish-modal-side: min(540px, 50%);
  --dish-modal-height: min(94vh, 960px);
  width: min(1080px, 96vw);
  max-width: 1080px;
  height: var(--dish-modal-height);
  max-height: var(--dish-modal-height);
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--card-bg);
}
.dish-modal-close,
.dish-modal-favorite {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--dish-media-control-bg, rgba(255, 255, 255, 0.92));
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dish-modal-close svg,
.dish-modal-favorite svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.dish-modal-close {
  top: 0.75rem;
  left: 0.75rem;
  right: auto;
}
.dish-modal-close .dish-modal-close-icon--back {
  display: block;
}
.dish-modal-close .dish-modal-close-icon--close {
  display: none;
}
.dish-modal-close:hover,
.dish-modal-favorite:hover {
  transform: scale(1.06);
}
.dish-modal-media-col > .dish-modal-close:hover {
  border-color: transparent;
  color: var(--text);
}
@media (min-width: 721px) {
  .dish-modal-media-col > .dish-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: var(--dish-media-control-bg, rgba(255, 255, 255, 0.92));
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  }
  .dish-modal-media-col > .dish-modal-close:hover {
    transform: scale(1.06);
    color: var(--text);
  }
  .dish-modal-info-scroll {
    padding: 1.75rem 2rem 1.15rem;
  }
  .dish-modal-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .dish-modal-title {
    margin-right: 0;
    font-size: 1.55rem;
  }
}
.dish-modal-layout {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}
.dish-modal-media-col {
  position: relative;
  flex: 0 0 var(--dish-modal-side);
  width: var(--dish-modal-side);
  height: 100%;
  background: var(--border);
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
.dish-modal-photo,
.dish-modal-media-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.dish-modal-photo {
  object-fit: cover;
  object-position: center;
  display: block;
}
.dish-modal-media-placeholder {
  background: linear-gradient(145deg, #ece8e4 0%, #d8d4d0 100%);
}
.theme-dark .dish-modal-media-placeholder {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
}
.dish-modal-favorite {
  top: 0.75rem;
  right: 0.75rem;
}
.dish-modal-favorite.is-favorited {
  color: var(--color-primary, #e85d04);
}
.dish-modal-favorite.is-favorited svg path {
  fill: currentColor;
}
.dish-modal-info-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  background: var(--bg);
}
.dish-modal-info-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
  overflow-anchor: none;
  overscroll-behavior: contain;
}
.dish-modal-title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.dish-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.dish-modal-detail:empty,
.dish-modal-options:empty {
  display: none;
}
.dish-modal-desc {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}
.dish-modal-option-group {
  margin-top: 1.15rem;
}
.dish-modal-option-group-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary, #e85d04);
}
.dish-modal-option-required {
  color: var(--color-primary-hover, #dc2f02);
}
.dish-modal-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.dish-modal-option-pill {
  position: relative;
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  cursor: pointer;
}
.dish-modal-option-pill input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  border: 0;
  z-index: 1;
}
.dish-modal-option-pill-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--text) 8%, var(--bg));
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.dish-modal-option-pill:has(input:checked) .dish-modal-option-pill-face {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.dish-modal-option-pill-name {
  display: block;
}
.dish-modal-option-pill-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}
.dish-modal-nutrition-block {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.dish-modal-nutrition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
  gap: 0.5rem 0.75rem;
}
.dish-modal-nutrition-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dish-modal-nutrition-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: lowercase;
}
.dish-modal-nutrition-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  line-height: 1;
}
.dish-modal-footer {
  flex-shrink: 0;
  padding: 0.85rem 1.5rem 1.25rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.dish-modal-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}
.dish-modal-add-btn:hover {
  transform: none;
}
.dish-modal-add-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}
.dish-modal-add-price #modal-price {
  font-size: 1.05rem;
  font-weight: 800;
}
.dish-modal-add-price-old {
  font-size: 0.82rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-button-text, #fff) 70%, transparent);
  text-decoration: line-through;
}
.dish-modal-add-plus {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.15rem;
}
body.dish-modal-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .modal.modal--dish {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  .modal.modal--dish .modal-backdrop {
    background: var(--card-bg);
  }
  .modal.modal--dish .modal-content--dish {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .modal.modal--dish .modal-content--dish {
    padding: 0;
  }
  .modal-content--dish {
    --dish-modal-side: 100%;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: var(--card-bg);
  }
  .dish-modal-media-col > .dish-modal-close,
  .dish-modal-media-col > .dish-modal-favorite {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: var(--dish-media-control-bg, rgba(255, 255, 255, 0.92));
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  }
  .dish-modal-media-col > .dish-modal-close {
    top: max(0.75rem, calc(env(safe-area-inset-top) + 0.35rem));
    left: max(0.85rem, env(safe-area-inset-left));
    right: auto;
    z-index: 6;
  }
  .dish-modal-media-col > .dish-modal-close .dish-modal-close-icon--close {
    display: none;
  }
  .dish-modal-media-col > .dish-modal-close .dish-modal-close-icon--back {
    display: block;
  }
  .dish-modal-layout {
    flex: 1;
    min-height: 0;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    padding: 0;
    overflow: hidden;
  }
  .dish-modal-media-col {
    position: relative;
    flex: 0 0 auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: auto;
    max-height: min(42vh, 320px);
    aspect-ratio: 4 / 3;
    border-radius: 0;
    overflow: hidden;
    background: var(--border);
  }
  .dish-modal-photo,
  .dish-modal-media-placeholder {
    border-radius: 0;
  }
  .dish-modal-media-col > .dish-modal-favorite {
    top: max(0.75rem, calc(env(safe-area-inset-top) + 0.35rem));
    right: max(0.85rem, env(safe-area-inset-right));
  }
  .dish-modal-info-col {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: auto;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: -1.5rem;
    border-radius: 1.35rem 1.35rem 0 0;
    background: var(--card-bg);
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }
  .dish-modal-info-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.35rem 1.15rem 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .dish-modal-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .dish-modal-badges {
    margin-top: 0.6rem;
  }
  .dish-modal-desc {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text);
  }
  .dish-modal-nutrition-block {
    margin-top: 1.15rem;
    padding-top: 0;
    border-top: none;
  }
  .dish-modal-nutrition-grid {
    grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
    gap: 0.35rem 0.5rem;
  }
  .dish-modal-nutrition-label {
    font-size: 0.8rem;
    color: var(--muted);
  }
  .dish-modal-nutrition-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
  }
  .dish-modal-options {
    margin-top: 0.25rem;
  }
  .dish-modal-option-group {
    margin-top: 1.25rem;
  }
  .dish-modal-option-group-title {
    margin-bottom: 0.65rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
  }
  .dish-modal-option-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    margin: 0 -0.15rem;
    padding: 0 0.15rem 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dish-modal-option-pills::-webkit-scrollbar {
    display: none;
  }
  .dish-modal-option-pill {
    flex: 0 0 auto;
    min-width: 7.25rem;
    max-width: 9.5rem;
  }
  .dish-modal-option-pill-face {
    align-items: flex-start;
    justify-content: center;
    min-height: 4.25rem;
    padding: 0.7rem 0.75rem;
    text-align: left;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--text) 5%, var(--card-bg));
  }
  .dish-modal-option-pill:has(input:checked) .dish-modal-option-pill-face {
    border-color: var(--color-primary, #e85d04);
    background: color-mix(in srgb, var(--color-primary, #e85d04) 10%, var(--card-bg));
    color: var(--text);
  }
  .dish-modal-option-pill:has(input:checked) .dish-modal-option-pill-face .dish-modal-option-pill-name {
    color: var(--text);
  }
  .dish-modal-option-pill-price {
    color: var(--muted);
    font-weight: 600;
  }
  .dish-modal-footer {
    flex-shrink: 0;
    padding: 0.65rem 1.15rem max(0.85rem, env(safe-area-inset-bottom));
    background: var(--card-bg);
    border-top: none;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.06);
  }
  .dish-modal-add-btn {
    min-height: 3.25rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.option-group { border: none; margin: 0.75rem 0; padding: 0; }
.option-group legend {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.option-label { display: block; margin: 0.35rem 0; cursor: pointer; }

.hidden { display: none !important; }

/* Nav drawer (slide from left) */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1190;
  pointer-events: none;
}
.nav-drawer.is-open {
  pointer-events: auto;
}
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}
.nav-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(100%, 320px);
  max-width: 100%;
  background: var(--card-bg);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}
body.nav-drawer-open {
  overflow: hidden;
}
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-drawer-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.nav-drawer-close {
  border: none;
  background: none;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.15rem 0.35rem;
  flex-shrink: 0;
}
.nav-drawer-close:hover {
  color: var(--text);
}
.nav-drawer-body {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  overflow-y: auto;
  padding: 0 1.15rem;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-drawer-links li + li {
  border-top: 1px solid var(--border);
}
.nav-drawer-links a {
  display: block;
  padding: 0.95rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-drawer-links a:hover {
  color: var(--color-primary, #e85d04);
}
.nav-drawer-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 1rem 1.15rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.nav-drawer-call {
  box-sizing: border-box;
  padding: 0.85rem 1rem !important;
  font-size: 0.78rem !important;
  text-decoration: none;
}
.nav-drawer-docs {
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.nav-drawer-docs-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.nav-drawer-docs-summary::-webkit-details-marker {
  display: none;
}
.nav-drawer-docs-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #666);
}
.nav-drawer-docs-chevron {
  flex-shrink: 0;
  color: var(--text-muted, #666);
  transition: transform 0.2s ease;
}
.nav-drawer-docs[open] .nav-drawer-docs-chevron {
  transform: rotate(180deg);
}
.nav-drawer-links--docs a {
  font-size: 1rem;
  font-weight: 600;
}

/* Cart drawer (slide from right) */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
.cart-drawer.is-open {
  pointer-events: auto;
}
.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.cart-drawer.is-open .cart-drawer-backdrop {
  opacity: 1;
}
.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  max-width: 100%;
  background: var(--card-bg);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}
.cart-drawer.is-open .cart-drawer-panel {
  transform: translateX(0);
}
body.cart-drawer-open {
  overflow: hidden;
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.cart-drawer-close {
  border: none;
  background: none;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.15rem 0.35rem;
}
.cart-drawer-close:hover {
  color: var(--text);
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.15rem;
}
.cart-drawer-empty {
  text-align: center;
  padding: 2.5rem 0.5rem;
  color: var(--muted);
}
.cart-drawer-empty p {
  margin: 0;
}
.cart-drawer-empty-hint {
  margin-top: 0.35rem !important;
  font-size: 0.9rem;
}
.cart-drawer-order {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cart-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-drawer-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.75rem 2.25rem 0.75rem 0.75rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.cart-drawer-item-media {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
  align-self: start;
}
.cart-drawer-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-drawer-item-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cart-drawer-item-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 80px;
}
.cart-drawer-item-info {
  padding-right: 0.25rem;
}
.cart-drawer-item-name {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
.cart-drawer-item-options {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}
.cart-drawer-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.cart-drawer-extras {
  margin-top: 0.25rem;
  padding: 0.85rem 0.9rem 0.95rem;
  background: #f9f9f9;
  border-radius: 12px;
}
.theme-dark .cart-drawer-extras {
  background: color-mix(in srgb, var(--card-bg) 88%, var(--bg));
}
.cart-drawer-extras-title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.cart-drawer-extras-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.cart-drawer-extras-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cart-drawer-extra {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cart-drawer-extra-media {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.cart-drawer-extra-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-drawer-extra-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.cart-drawer-extra-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.cart-drawer-extra-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}
.cart-drawer-extra-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cart-drawer-extra-price {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.cart-drawer-extra-add {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
}
.cart-drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.2rem;
  flex-shrink: 0;
}
.cart-drawer-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  border-radius: 6px;
}
.cart-drawer-qty-btn:hover {
  background: var(--bg);
}
.cart-drawer-qty-value {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.cart-drawer-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.cart-drawer-item-remove {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 1;
  border: none;
  background: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.cart-drawer-item-remove:hover {
  color: #c1121f;
  background: color-mix(in srgb, #c1121f 8%, transparent);
}
.cart-drawer-footer {
  flex-shrink: 0;
  padding: 0.85rem 1.15rem 1.15rem;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}
.cart-drawer-summary {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}
.cart-drawer-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
}
.cart-drawer-summary-discount span:last-child {
  color: #2d6a4f;
  font-weight: 600;
}
.cart-drawer-checkout {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.95rem 1rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.cart-drawer-checkout:hover,
.cart-drawer-checkout:focus,
.cart-drawer-checkout:visited {
  text-decoration: none;
  color: var(--color-button-text, #fff);
}
.cart-drawer-checkout.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.link-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--color-primary, #e85d04);
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover {
  color: var(--color-primary-hover, #d35400);
}

/* Checkout page */
.checkout-main {
  padding: 1.25rem 0 3rem;
}
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}
.checkout-step--current {
  color: var(--text);
  font-weight: 600;
}
.checkout-step--done {
  color: var(--color-primary, #e85d04);
}
.checkout-step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: color-mix(in srgb, var(--muted) 20%, var(--card-bg));
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.checkout-step--current .checkout-step-marker {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.checkout-step--done .checkout-step-marker {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.checkout-step-divider {
  width: 2rem;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 2rem;
    align-items: start;
  }
}
.checkout-form-col,
.checkout-summary-col {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.checkout-summary-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.checkout-form-col {
  min-width: 0;
}
@media (min-width: 960px) {
  .checkout-form-col {
    max-width: 560px;
  }
}
.checkout-title {
  margin: 0 0 1.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.checkout-fulfillment-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  margin-bottom: 1.75rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 100%, var(--card-bg));
}
.theme-dark .checkout-fulfillment-tabs {
  background: #393939;
}
.checkout-fulfillment-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.65rem;
  border: none;
  border-radius: 11px;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.checkout-fulfillment-tab.is-active {
  color: var(--text);
  background: var(--card-bg);
}
.checkout-fulfillment-tab.is-active svg {
  color: var(--color-primary, #e85d04);
}
.checkout-fulfillment-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  color: currentColor;
}
.checkout-fulfillment-hint {
  margin: -0.5rem 0 1.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 8%, var(--card-bg));
  color: var(--muted);
  font-size: 0.88rem;
}
.checkout-form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.checkout-block {
  padding: 1.25rem 0;
  border-bottom: none;
}
.checkout-block:first-child {
  padding-top: 0;
}
.checkout-block--last {
  border-bottom: none;
  padding-bottom: 0;
}
.checkout-block-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .checkout-field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.checkout-field-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.checkout-input,
.checkout-textarea,
.checkout-select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--text);
  border: none;
  border-radius: 12px;
  background: var(--card-bg);
}
.checkout-input {
  padding: 0.8rem 0.95rem;
  min-height: 48px;
}
.checkout-textarea {
  display: block;
  padding: 0.85rem 0.95rem;
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.45;
}
.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}
.checkout-input:focus,
.checkout-textarea:focus,
.checkout-select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-primary, #e85d04) 55%, transparent);
  outline-offset: 1px;
}
.checkout-select-wrap {
  position: relative;
}
.checkout-select-wrap::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.checkout-select {
  padding: 0.8rem 2.25rem 0.8rem 0.95rem;
  min-height: 48px;
  appearance: none;
  cursor: pointer;
}
.checkout-address-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.checkout-address-list:empty {
  display: none;
}
.checkout-choice--address {
  align-items: flex-start;
}
.checkout-choice--address .checkout-choice-body {
  line-height: 1.45;
}
.checkout-link-btn {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary, #e85d04);
  cursor: pointer;
  text-decoration: none;
}
.checkout-link-btn:hover {
  text-decoration: underline;
}

.checkout-address-modal {
  z-index: 1100;
  padding: 1rem;
}
.checkout-address-modal-content {
  width: min(100%, 520px);
  max-width: 520px;
  max-height: min(92vh, 720px);
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.checkout-address-modal-content .store-address-form-wrap {
  max-height: min(92vh, 720px);
  overflow: visible;
  margin: 0;
}
.checkout-address-modal-content .store-address-form {
  max-height: calc(min(92vh, 720px) - 4.5rem);
  overflow-y: auto;
}
.checkout-address-modal-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}
.checkout-address-modal-toolbar .store-panel-title {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.checkout-address-modal-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9f9f9;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.checkout-address-modal-close:hover {
  color: var(--text);
}
.checkout-address-modal-error {
  margin: 0;
  font-size: 0.88rem;
  color: #c1121f;
}
.checkout-address-modal-error.hidden {
  display: none;
}
body.checkout-address-modal-open {
  overflow: hidden;
}

.address-suggest-anchor {
  position: relative;
  z-index: 1;
}
.address-suggest-anchor:has(.address-suggest-list:not(.hidden)) {
  z-index: 5;
}
.address-suggest-list {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.checkout-address-modal-content .address-suggest-list {
  left: 0;
  right: 0;
  width: 100%;
}
.address-suggest-list.hidden {
  display: none;
}
.address-suggest-item {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.35;
  cursor: pointer;
  color: var(--text);
}
.address-suggest-item:hover,
.address-suggest-item.is-active {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 10%, var(--card-bg));
}
.address-suggest-item-label {
  display: block;
}

.checkout-pickup-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 8%, var(--card-bg));
  border: none;
}
.checkout-pickup-box svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-primary, #e85d04);
}
.checkout-pickup-address {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.checkout-choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.checkout-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: none;
  background: var(--card-bg);
  cursor: pointer;
  transition: background 0.18s;
}
.checkout-choice.is-selected,
.checkout-choice:has(.checkout-choice-input:checked) {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 30%, var(--card-bg));
}
.checkout-choice-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.checkout-choice-mark {
  position: relative;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: none;
  background: color-mix(in srgb, var(--muted) 30%, var(--card-bg));
  transition: background 0.15s;
}
.checkout-choice.is-selected .checkout-choice-mark,
.checkout-choice:has(.checkout-choice-input:checked) .checkout-choice-mark {
  background: var(--color-primary, #e85d04);
}
.checkout-choice.is-selected .checkout-choice-mark::after,
.checkout-choice:has(.checkout-choice-input:checked) .checkout-choice-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--card-bg);
}
.checkout-choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.checkout-choice-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.checkout-choice-hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.checkout-choice--pay {
  padding: 0.9rem 1rem;
}
.checkout-choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  border-radius: 10px;
  background: color-mix(in srgb, var(--border) 40%, var(--card-bg));
  color: var(--muted);
}
.checkout-choice.is-selected .checkout-choice-icon,
.checkout-choice--pay:has(.checkout-choice-input:checked) .checkout-choice-icon {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, var(--card-bg));
  color: var(--color-primary, #e85d04);
}
.checkout-choice--pay .checkout-choice-title {
  flex: 1;
}
.checkout-schedule-panel {
  margin-top: 0.85rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.checkout-time-banner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--text);
  background: color-mix(in srgb, var(--color-primary, #e85d04) 9%, var(--card-bg));
  border: none;
}
.checkout-time-banner strong {
  font-weight: 700;
}
.checkout-time-banner-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #e85d04);
}
.checkout-summary-col {
  position: relative;
}
@media (min-width: 960px) {
  .checkout-summary-card {
    position: sticky;
    top: calc(var(--store-header-height, 72px) + 1rem);
  }
}
.checkout-summary-card {
  background: var(--card-bg);
  border: none;
  border-radius: 16px;
  padding: 1.25rem;
}
.checkout-summary-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.checkout-summary-meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.checkout-summary-items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.checkout-promo {
  margin-bottom: 1rem;
}
.checkout-promo-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.checkout-promo-row {
  display: flex;
  gap: 0.5rem;
}
.checkout-promo-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
}
.checkout-promo-input:focus {
  outline: 2px solid color-mix(in srgb, var(--color-primary, #e85d04) 35%, transparent);
  border-color: var(--color-primary, #e85d04);
}
.checkout-promo-input::placeholder {
  color: var(--muted);
}
.checkout-promo-btn {
  flex-shrink: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}
.checkout-promo-btn:hover {
  border-color: var(--color-primary, #e85d04);
  color: var(--color-primary, #e85d04);
}
.checkout-bonus {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.checkout-bonus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.65rem;
}
.checkout-bonus-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.checkout-bonus-icon {
  flex-shrink: 0;
  color: var(--color-primary, #e85d04);
}
.checkout-bonus-balance {
  font-size: 0.82rem;
  color: var(--muted);
}
.checkout-bonus-balance strong {
  font-weight: 600;
  color: var(--text);
}
.checkout-bonus-slider-field {
  margin: 0.15rem 0 0.5rem;
}
.checkout-bonus-slider {
  --range-progress: 0%;
  --bonus-track: color-mix(in srgb, var(--color-primary, #e85d04) 18%, var(--border));
  --bonus-accent: var(--color-primary, #e85d04);
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.checkout-bonus-slider:focus,
.checkout-bonus-slider:focus-visible {
  outline: none;
  box-shadow: none;
}
.checkout-bonus-slider:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.checkout-bonus-slider::-webkit-slider-runnable-track {
  height: 6px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--bonus-accent) 0%,
    var(--bonus-accent) var(--range-progress),
    var(--bonus-track) var(--range-progress),
    var(--bonus-track) 100%
  );
}
.checkout-bonus-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bonus-accent);
  box-shadow: none;
}
.checkout-bonus-slider::-moz-range-track {
  height: 6px;
  border: none;
  border-radius: 999px;
  background: var(--bonus-track);
}
.checkout-bonus-slider::-moz-range-progress {
  height: 6px;
  border: none;
  border-radius: 999px;
  background: var(--bonus-accent);
}
.checkout-bonus-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bonus-accent);
  box-shadow: none;
}
.checkout-bonus-values {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.3;
}
.checkout-bonus-value {
  font-weight: 700;
  color: var(--text);
}
.checkout-bonus-max {
  color: var(--muted);
  text-align: right;
}
.checkout-bonus-note {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.checkout-bonus-note-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: color-mix(in srgb, var(--color-primary, #e85d04) 70%, var(--muted));
}
.store-referral-code {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.06em;
}
.checkout-promo-msg {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
}
.checkout-promo-msg.is-error {
  color: #c1121f;
}
.checkout-promo-msg.is-success {
  color: var(--color-primary);
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.35;
}
.checkout-summary-item-name {
  flex: 1;
  min-width: 0;
}
.checkout-summary-item-price {
  flex-shrink: 0;
  font-weight: 600;
  white-space: nowrap;
}
.checkout-summary-fees {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0;
  border-top: none;
  border-bottom: none;
}
.checkout-summary-fee-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.checkout-summary-fee-row:last-child {
  margin-bottom: 0;
}
.checkout-summary-fee-row dt {
  margin: 0;
  color: var(--muted);
}
.checkout-summary-fee-row dd {
  margin: 0;
  font-weight: 600;
}
.checkout-zone-msg {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
  background: #fff4f0;
  color: #b42318;
}
.checkout-free-delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.35;
  background: var(--bg);
  color: var(--muted);
}
.checkout-free-delivery svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-primary, #e85d04);
}
.checkout-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.checkout-summary-total-row strong {
  font-size: 1.05rem;
}
.checkout-pay-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}
.checkout-pay-total span {
  font-size: 0.95rem;
  color: var(--muted);
}
.checkout-pay-total strong {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  line-height: 1;
}
.checkout-gift-claim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  background: var(--card-bg, #fff);
  color: var(--text, #000);
  border: 2px solid var(--color-primary, #bceb4c);
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.checkout-gift-claim-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.checkout-gift-claim-btn-icon {
  flex-shrink: 0;
  color: var(--color-primary, #bceb4c);
}
.checkout-gift-claim-btn:hover {
  background: color-mix(in srgb, var(--color-primary, #bceb4c) 8%, var(--card-bg, #fff));
}
.checkout-gift-claim-btn--pulse {
  animation: checkout-gift-pulse 2.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes checkout-gift-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 color-mix(in srgb, var(--color-primary, #bceb4c) 42%, transparent),
      0 2px 8px color-mix(in srgb, var(--color-primary, #bceb4c) 12%, transparent);
  }
  55% {
    transform: scale(1.018);
    box-shadow:
      0 0 0 14px color-mix(in srgb, var(--color-primary, #bceb4c) 0%, transparent),
      0 4px 14px color-mix(in srgb, var(--color-primary, #bceb4c) 22%, transparent);
  }
}
@supports not (color: color-mix(in srgb, white 50%, black)) {
  @keyframes checkout-gift-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(188, 235, 76, 0.4), 0 2px 8px rgba(188, 235, 76, 0.12);
    }
    55% {
      transform: scale(1.018);
      box-shadow: 0 0 0 14px rgba(188, 235, 76, 0), 0 4px 14px rgba(188, 235, 76, 0.2);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-gift-claim-btn--pulse {
    animation: none;
  }
}
.checkout-summary-item--gift .checkout-summary-item-price {
  color: var(--color-primary, #e85d04);
}
.checkout-gift-modal-content {
  max-width: 28rem;
  width: calc(100% - 2rem);
  padding: 1rem 1.1rem 1.25rem;
}
.checkout-gift-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.checkout-gift-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
}
.checkout-gift-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: min(60vh, 24rem);
  overflow-y: auto;
}
.checkout-gift-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 12px;
  background: var(--bg);
}
.checkout-gift-card-media {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
}
.checkout-gift-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-gift-card-placeholder {
  font-size: 1.5rem;
}
.checkout-gift-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.checkout-gift-card-min {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
}
.checkout-gift-select-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.cart-drawer-item--gift .cart-drawer-item-price--gift {
  color: var(--color-primary, #e85d04);
  font-weight: 600;
}
.cart-drawer-item-qty-static {
  font-size: 0.85rem;
  color: var(--muted);
}
.checkout-submit-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-success-page .checkout-main,
.checkout-success-page .checkout-main *,
.checkout-success-page .checkout-steps,
.checkout-success-page .checkout-steps * {
  box-shadow: none !important;
}
.checkout-success-steps {
  margin-bottom: 2rem;
}
.checkout-success-card {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: none;
}
.checkout-success-card h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}
.checkout-success-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}
.checkout-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: stretch;
}
.checkout-success-actions .btn-order {
  margin-top: 0;
  display: block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}
.checkout-success-actions .btn-order-outline {
  background: transparent;
  color: var(--text, #1a1a1a);
  border: 2px solid var(--color-primary, #e85d04);
  box-shadow: none;
}
.checkout-success-actions .btn-order-outline:hover {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, transparent);
  color: var(--text, #1a1a1a);
}
.profile-completion-block {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border, #e8e8e8);
  text-align: left;
}
.checkout-success-card:has(.profile-completion-block) {
  max-width: 32rem;
}
.profile-completion-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  text-align: center;
}
.profile-completion-lead {
  margin: 0 0 1.25rem;
  text-align: center;
}
.profile-completion-form .store-account-fields {
  text-align: left;
}
.profile-completion-hint {
  margin: 0.75rem 0 0;
}
.profile-completion-page .profile-completion-lead {
  margin-bottom: 1.5rem;
}
.sms-auth-mode-switch {
  margin: 0.85rem 0 0;
  text-align: center;
}
.sms-auth-password-form.hidden,
.sms-auth-phone-form.hidden {
  display: none;
}

/* Checkout: flat UI, no shadows (не трогаем .store-header) */
.checkout-page .checkout-main,
.checkout-page .checkout-main *,
.checkout-page .checkout-steps,
.checkout-page .checkout-steps * {
  box-shadow: none !important;
}

/* Иконка личного кабинета (слева от корзины) */
.store-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.store-account-link:hover {
  border-color: var(--color-primary, #e85d04);
  color: var(--color-primary, #e85d04);
}
.store-account-link--signed-in {
  width: auto;
  max-width: min(11rem, 42vw);
  padding: 0 0.7rem 0 0.35rem;
  gap: 0.4rem;
}
.store-account-link-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.store-account-link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Личный кабинет гостя — ширина как у .container витрины, футер внизу экрана */
body.store-account-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body.store-account-page .store-header,
body.store-account-page .store-footer {
  flex-shrink: 0;
}
body.store-account-page .store-account-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: none;
  padding: 1.5rem 0 3rem;
  box-sizing: border-box;
}
body.store-account-page .store-account-inner {
  width: 100%;
  max-width: 1100px;
}
body.store-account-page .store-account-panel {
  width: 100%;
  box-sizing: border-box;
}

/* Модальное окно входа / регистрации */
.auth-modal {
  z-index: 1100;
  padding: 1rem;
}
.auth-modal-content {
  --auth-gray: #f9f9f9;
  --auth-field-bg: #f9f9f9;
  width: min(100%, 420px);
  max-width: 420px;
  max-height: min(92vh, 720px);
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.theme-dark .auth-modal-content {
  --auth-gray: #393939;
  --auth-field-bg: #393939;
}
.auth-modal-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0;
}
.sms-auth-step.hidden {
  display: none;
}
.store-auth-errors.hidden {
  display: none;
}
.sms-auth-consents.hidden {
  display: none;
}
.auth-modal-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 12px;
  background: var(--auth-gray);
}
.auth-modal-tab {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.auth-modal-tab:not(.is-active):hover {
  background: color-mix(in srgb, var(--muted) 6%, var(--auth-gray));
}
.auth-modal-tab.is-active {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.auth-modal-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--auth-gray);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.auth-modal-close:hover {
  border-color: color-mix(in srgb, var(--color-primary, #e85d04) 50%, var(--border));
  color: var(--text);
}
.auth-modal-panels {
  overflow-y: auto;
  padding: 1rem 1.25rem 1.35rem;
}
.auth-modal-panel {
  display: none;
}
.auth-modal-panel.is-active {
  display: block;
}
.auth-modal .store-auth-head {
  margin-bottom: 1.15rem;
  text-align: left;
}
.auth-modal .store-auth-head-icon {
  display: none;
}
.auth-modal .store-auth-title {
  font-size: 1.35rem;
}
.auth-modal .store-oauth {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
}
.auth-modal .checkout-field {
  gap: 0.4rem;
}
.auth-modal .checkout-input {
  box-sizing: border-box;
  background: var(--auth-field-bg);
  border: 1px solid var(--border);
  direction: ltr;
  text-align: left;
}
.auth-modal input[type="tel"] {
  direction: ltr;
  text-align: left;
}
.auth-modal .checkout-input:focus {
  background: var(--auth-field-bg);
  border-color: color-mix(in srgb, var(--color-primary, #e85d04) 35%, var(--border));
}
.auth-modal .checkout-input:-webkit-autofill,
.auth-modal .checkout-input:-webkit-autofill:hover,
.auth-modal .checkout-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--auth-field-bg) inset;
  box-shadow: 0 0 0 1000px var(--auth-field-bg) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.auth-modal .store-oauth-label::before,
.auth-modal .store-oauth-label::after {
  background: var(--border);
}
.auth-modal .store-oauth-btn {
  background: var(--auth-gray);
}
.auth-modal .store-oauth-btn:hover:not(.is-disabled) {
  background: var(--auth-gray);
  filter: brightness(0.97);
}
body.auth-modal-open {
  overflow: hidden;
}
.checkout-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-auth-forgot {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

button.store-auth-forgot {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.store-auth-forgot:hover {
  color: var(--text);
}

.auth-modal .checkout-field--password {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.auth-modal .password-field {
  position: relative;
  display: block;
  width: 100%;
}
.auth-modal .password-field input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 2.75rem;
}
.auth-modal .password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.auth-modal .password-toggle:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--muted) 12%, transparent);
}

/* Вход / регистрация — в стиле витрины (checkout) */
.store-auth-page .store-account-main {
  max-width: none;
  padding: 0 0 3rem;
}
.store-auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.25rem 0 0;
}
.store-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.store-auth-back:hover {
  color: var(--color-primary, #e85d04);
}
.store-auth-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1.75rem 1.35rem 1.5rem;
}
.store-auth-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.store-auth-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, var(--card-bg));
  color: var(--color-primary, #e85d04);
}
.store-auth-title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.store-auth-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.store-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.store-auth-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.store-auth-page .checkout-field {
  gap: 0.4rem;
}
.store-auth-page .checkout-input {
  box-sizing: border-box;
  background: color-mix(in srgb, var(--border) 35%, var(--card-bg));
}
.store-auth-page .checkout-input:focus {
  background: var(--card-bg);
}
.store-auth-page .checkout-input:-webkit-autofill,
.store-auth-page .checkout-input:-webkit-autofill:hover,
.store-auth-page .checkout-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px color-mix(in srgb, var(--border) 35%, var(--card-bg)) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.store-auth-errors {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: color-mix(in srgb, #c1121f 10%, var(--card-bg));
  color: #c1121f;
  font-size: 0.88rem;
  line-height: 1.4;
}
.store-auth-submit {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}
.store-auth-footer {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.store-auth-footer a {
  color: var(--color-primary, #e85d04);
  font-weight: 700;
  text-decoration: none;
}
.store-auth-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.store-oauth {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
}
.store-oauth-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.store-oauth-label::before,
.store-oauth-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
}
.store-oauth-label span {
  flex-shrink: 0;
}
.store-oauth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.store-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  color: var(--text);
  background: color-mix(in srgb, var(--border) 40%, var(--card-bg));
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.store-oauth-btn:hover:not(.is-disabled) {
  background: color-mix(in srgb, var(--border) 65%, var(--card-bg));
}
.store-oauth-btn:active:not(.is-disabled) {
  transform: scale(0.98);
}
.store-oauth-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.store-oauth-btn-icon--yandex {
  background: #fc3f1d;
  color: #fff;
}
.store-oauth-btn-icon--vk {
  background: #0077ff;
  color: #fff;
  font-size: 0.58rem;
  letter-spacing: -0.02em;
}
.store-oauth-btn--yandex:hover:not(.is-disabled) {
  color: #fc3f1d;
}
.store-oauth-btn--vk:hover:not(.is-disabled) {
  color: #0077ff;
}
.store-oauth-btn.is-disabled,
.store-oauth-btn.is-unconfigured {
  opacity: 0.65;
  cursor: pointer;
}
@media (min-width: 480px) {
  .store-auth-card {
    padding: 2rem 1.75rem 1.65rem;
  }
}
.store-account-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.store-account-header h1 {
  margin: 0;
  font-size: 1.5rem;
  flex: 1 1 auto;
}
.store-account-greeting {
  margin: 0;
  color: var(--muted);
  width: 100%;
}
.store-account-logout-form {
  margin-left: auto;
}
.store-account-logout {
  border: none;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.store-account-logout:hover {
  color: var(--color-primary, #e85d04);
}
.store-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.store-account-tab {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}
.store-account-tab:hover {
  color: var(--text);
  background: var(--card-bg);
}
.store-account-tab.is-active {
  background: var(--color-primary, #e85d04);
  color: var(--color-button-text, #fff);
}
.store-account-panel {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.25rem 1rem 1.5rem;
}
body.store-account-page .store-account-panel:has(.store-orders-panel) {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.store-panel-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.store-account-empty {
  text-align: center;
  padding: 1.5rem 0;
}
.store-orders-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-orders-list.is-hidden,
.store-account-empty.is-hidden {
  display: none;
}

.store-order-card.store-order-card--removing {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.store-order-card {
  padding: 1rem 1.1rem;
  background: var(--card-bg);
  border: none;
  border-radius: 14px;
  box-shadow: none;
}
.store-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.store-order-head-main {
  min-width: 0;
}
.store-order-id {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}
.store-order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}
.store-order-time {
  color: var(--text);
  font-weight: 600;
}
.store-order-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  letter-spacing: -0.01em;
}
.store-order-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.store-order-extra-label {
  color: var(--muted);
  font-weight: 600;
}
.store-order-extra-label::after {
  content: ":";
}
.store-order-extra-value {
  color: var(--text);
  font-weight: 600;
}
.store-order-extra--promo {
  align-items: center;
}
.store-order-promo-code {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 14%, var(--card-bg));
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}
.store-order-promo-discount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a7f4b;
}
.theme-dark .store-order-promo-discount {
  color: #5ecf8a;
}
.store-order-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.store-order-status--updated {
  animation: store-order-status-pulse 0.6s ease;
}
@keyframes store-order-status-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.store-order-status--new {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 22%, var(--card-bg));
  color: var(--text);
}
.store-order-tracking {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary, #bceb4c) 10%, var(--card-bg));
}

.store-order-eta {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.store-order-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-order-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.store-order-step.is-done,
.store-order-step.is-current {
  color: var(--text);
}

.store-order-step.is-current {
  font-weight: 700;
}

.store-order-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 70%, transparent);
}

.store-order-step.is-done .store-order-step-dot {
  background: var(--color-primary, #bceb4c);
}

.store-order-step.is-current .store-order-step-dot {
  background: #0a3d6b;
}

.store-order-map {
  width: 100%;
  height: 180px;
  margin-top: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}

.store-order-map--error {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.store-order-status--confirmed,
.store-order-status--preparing,
.store-order-status--ready_for_pickup {
  background: #fff3cd;
  color: #5c4a00;
}
.theme-dark .store-order-status--confirmed,
.theme-dark .store-order-status--preparing,
.theme-dark .store-order-status--ready_for_pickup {
  background: rgba(255, 243, 205, 0.15);
  color: #f0d78c;
}
.store-order-status--delivering {
  background: #d4e8ff;
  color: #0a3d6b;
}
.theme-dark .store-order-status--delivering {
  background: rgba(212, 232, 255, 0.12);
  color: #8ec5ff;
}
.store-order-status--completed {
  background: #e6f4ea;
  color: #1e4620;
}
.theme-dark .store-order-status--completed {
  background: rgba(230, 244, 234, 0.12);
  color: #8fd49a;
}
.store-order-status--cancelled {
  background: #ffe8e8;
  color: #8b1a1a;
}
.theme-dark .store-order-status--cancelled {
  background: rgba(255, 232, 232, 0.12);
  color: #f0a0a0;
}
.store-order-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.store-order-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  background: var(--bg);
  border-radius: 10px;
}
.store-order-item-photo {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
}
.store-order-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-order-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #ece8e4 0%, #d8d4d0 100%);
}
.theme-dark .store-order-item-placeholder {
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
}
.store-order-item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.store-order-item-qty {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.store-order-address {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
/* Формы личного кабинета и модалка адреса на checkout */
.store-account-page .store-account-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.store-account-page .store-account-form,
.checkout-address-modal-content .store-account-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.store-account-page .store-account-fields,
.store-account-page .store-address-fields,
.checkout-address-modal-content .store-account-fields,
.checkout-address-modal-content .store-address-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.store-account-page .checkout-input,
.store-account-page .checkout-textarea,
.checkout-address-modal-content .checkout-input,
.checkout-address-modal-content .checkout-textarea {
  background: #f9f9f9;
  border: 1px solid var(--border);
}
.store-account-page .checkout-input:focus,
.store-account-page .checkout-textarea:focus,
.checkout-address-modal-content .checkout-input:focus,
.checkout-address-modal-content .checkout-textarea:focus {
  background: #f9f9f9;
  border-color: color-mix(in srgb, var(--color-primary, #e85d04) 35%, var(--border));
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary, #e85d04) 18%, transparent);
}
.store-account-page .checkout-field-row--3,
.checkout-address-modal-content .checkout-field-row--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .store-account-page .checkout-field-row--3,
  .checkout-address-modal-content .checkout-field-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.store-account-page .store-account-checkbox,
.checkout-address-modal-content .store-account-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}
.store-account-page .store-account-checkbox input,
.checkout-address-modal-content .store-account-checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--color-primary, #e85d04);
}
.store-account-page .store-account-form-actions,
.checkout-address-modal-content .store-account-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 0.25rem;
}
.store-account-page .store-account-submit,
.checkout-address-modal-content .store-account-submit {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (min-width: 480px) {
  .store-account-page .store-account-submit {
    width: auto;
    min-width: 12rem;
  }
}
.checkout-address-modal-content .store-account-submit {
  width: 100%;
}
.store-account-page .store-account-cancel {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.store-account-page .store-account-cancel:hover {
  color: var(--color-primary, #e85d04);
}
.store-account-page .store-account-empty .btn-order {
  margin-top: 0.5rem;
}

.store-addresses-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .store-addresses-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
  }
}
.store-address-form-wrap {
  padding: 1.15rem;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.store-address-cards {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.store-address-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.store-address-card.is-editing {
  border-color: color-mix(in srgb, var(--color-primary, #e85d04) 45%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary, #e85d04) 20%, transparent);
}
.store-address-card-body {
  flex: 1 1 12rem;
  min-width: 0;
}
.store-address-card-line {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.store-address-badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 18%, transparent);
  color: var(--text);
}
.store-address-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  font-size: 0.85rem;
}
.store-address-action {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--color-primary, #e85d04);
  text-decoration: none;
  cursor: pointer;
}
.store-address-action:hover {
  text-decoration: underline;
}
.store-address-action--muted {
  color: var(--muted);
}
.store-address-action--muted:hover {
  color: var(--color-primary, #e85d04);
}
.store-inline-form {
  display: inline;
  margin: 0;
}
.store-auth-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
body.store-account-page .store-account-panel:has(.store-loyalty-page) {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.store-loyalty-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.store-loyalty-hero {
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--card-bg);
  border-radius: 16px;
}
.store-loyalty-points {
  margin: 0;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  line-height: 1;
  letter-spacing: -0.02em;
}
.store-loyalty-label {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted, #666);
}
.store-loyalty-hint {
  max-width: 22rem;
  margin: 0 auto;
  text-align: center;
}
.store-loyalty-status {
  margin-top: 1.25rem;
}
.store-loyalty-status-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary, #e85d04);
  background: color-mix(in srgb, var(--color-primary, #e85d04) 14%, transparent);
  border-radius: 999px;
}
.store-loyalty-tier {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.store-loyalty-tier strong {
  font-size: 1.15rem;
  font-weight: 700;
}
.store-loyalty-tier-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted, #666);
}
.store-loyalty-tier--muted {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
}
.store-loyalty-progress {
  max-width: 20rem;
  margin: 1.25rem auto 0;
  text-align: left;
}
.store-loyalty-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.store-loyalty-progress-amount {
  font-weight: 700;
  color: var(--color-primary, #e85d04);
  white-space: nowrap;
}
.store-loyalty-progress-track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
[data-theme="dark"] .store-loyalty-progress-track {
  background: rgba(255, 255, 255, 0.12);
}
.store-loyalty-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-primary, #e85d04);
  transition: width 0.35s ease;
}
.store-loyalty-progress-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted, #666);
}
.store-loyalty-max {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #666);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}
[data-theme="dark"] .store-loyalty-max {
  background: rgba(255, 255, 255, 0.06);
}
.store-loyalty-max-icon {
  color: var(--color-primary, #e85d04);
  font-size: 0.95rem;
  line-height: 1;
}

/* Бонусы, ДР и рефералы */
.store-loyalty-promo {
  padding: 1.15rem 1rem 1.25rem;
  background: var(--card-bg);
  border-radius: 16px;
}
.store-loyalty-promo-title {
  margin: 0 0 0.85rem;
  padding: 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
}
.store-loyalty-promo-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.store-loyalty-promo-code {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary, #e85d04) 10%, var(--card-bg));
  border: 1px dashed color-mix(in srgb, var(--color-primary, #e85d04) 35%, transparent);
}
.store-loyalty-promo-code .store-referral-code {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.05rem;
}
.store-loyalty-promo-applied {
  margin: 0;
  text-align: center;
}
.store-loyalty-promo-form .store-account-form-actions {
  margin-top: 0.85rem;
}

/* История бонусов */
.store-loyalty-history {
  padding: 1.15rem 1rem 1.25rem;
  background: var(--card-bg);
  border-radius: 16px;
}
.store-loyalty-history-title {
  margin: 0 0 0.85rem;
  padding: 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
}
.store-loyalty-history-list {
  --history-item-height: 4.85rem;
  --history-item-gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0 0.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--history-item-gap);
  max-height: calc(5 * var(--history-item-height) + 4 * var(--history-item-gap));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}
.store-loyalty-history-list::-webkit-scrollbar {
  width: 6px;
}
.store-loyalty-history-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}
.store-loyalty-history-list::-webkit-scrollbar-track {
  background: transparent;
}
[data-theme="dark"] .store-loyalty-history-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
}
@supports (scrollbar-width: thin) {
  .store-loyalty-history-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
  }
  [data-theme="dark"] .store-loyalty-history-list {
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }
}
.store-loyalty-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--history-item-height);
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}
[data-theme="dark"] .store-loyalty-history-item {
  background: rgba(255, 255, 255, 0.04);
}
.store-loyalty-history-main {
  min-width: 0;
  text-align: left;
}
.store-loyalty-history-reason {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.store-loyalty-history-date {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted, #666);
}
.store-loyalty-history-expiry {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted, #666);
}
.store-loyalty-history-amount {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary, #e85d04);
  white-space: nowrap;
}
.store-loyalty-history-amount.is-debit {
  color: #c1121f;
}
[data-theme="dark"] .store-loyalty-history-amount.is-debit {
  color: #f07178;
}
.store-loyalty-history-empty {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

/* Блок уровней */
.store-loyalty-tiers {
  padding: 1.15rem 1rem 1.25rem;
  background: var(--card-bg);
  border-radius: 16px;
}
.store-loyalty-tiers-title {
  margin: 0 0 1rem;
  padding: 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
}
.store-loyalty-tiers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.store-loyalty-tier-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
[data-theme="dark"] .store-loyalty-tier-card {
  background: rgba(255, 255, 255, 0.04);
}
.store-loyalty-tier-card.is-current {
  border-color: color-mix(in srgb, var(--color-primary, #e85d04) 45%, transparent);
  background: color-mix(in srgb, var(--color-primary, #e85d04) 10%, var(--card-bg));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary, #e85d04) 12%, transparent);
}
.store-loyalty-tier-card.is-achieved:not(.is-current) {
  opacity: 0.72;
}
.store-loyalty-tier-card.is-locked {
  opacity: 0.55;
}
.store-loyalty-tier-card-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  flex-shrink: 0;
}
.store-loyalty-tier-card-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}
[data-theme="dark"] .store-loyalty-tier-card-dot {
  background: rgba(255, 255, 255, 0.2);
}
.store-loyalty-tier-card-dot.is-done {
  background: var(--color-primary, #e85d04);
  box-shadow: inset 0 0 0 2px var(--card-bg);
}
.store-loyalty-tier-card-dot.is-current {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--color-primary, #e85d04);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #e85d04) 28%, transparent);
}
.store-loyalty-tier-card-body {
  min-width: 0;
  text-align: left;
}
.store-loyalty-tier-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}
.store-loyalty-tier-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
.store-loyalty-tier-card-tag {
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-button-text, #fff);
  background: var(--color-primary, #e85d04);
  border-radius: 999px;
}
.store-loyalty-tier-card-threshold {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted, #666);
}
.store-loyalty-tier-card-percent {
  flex-shrink: 0;
  min-width: 2.75rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-primary, #e85d04);
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, transparent);
  border-radius: 10px;
}
.store-loyalty-tier-card.is-current .store-loyalty-tier-card-percent {
  color: var(--color-button-text, #fff);
  background: var(--color-primary, #e85d04);
}
@media (min-width: 480px) {
  .store-loyalty-hero {
    padding: 2rem 1.5rem 1.75rem;
  }
  .store-loyalty-promo {
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .store-loyalty-history {
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .store-loyalty-tiers {
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .store-loyalty-tier-card {
    padding: 1rem 1.1rem;
  }
}
.store-profile-sections {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .store-profile-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
  }
  .store-profile-section--wide {
    grid-column: 1 / -1;
  }
}
.store-profile-section {
  padding: 1.15rem;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.store-profile-section .store-panel-title {
  margin-top: 0;
}
.store-account-page .store-account-errors {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  background: color-mix(in srgb, #c0392b 10%, transparent);
  color: #922b21;
}
.store-account-page .checkout-field--password .password-field {
  position: relative;
  display: block;
  width: 100%;
}
.store-account-page .checkout-field--password input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 2.75rem;
}
.store-account-page .password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.store-account-page .password-toggle:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--muted) 12%, transparent);
}
.store-social-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.store-social-item {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.store-messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.store-message {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.store-message--success {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 12%, var(--card-bg));
  color: var(--color-primary, #e85d04);
}
.store-message--warning {
  background: color-mix(in srgb, var(--color-primary, #e85d04) 10%, var(--card-bg));
  color: var(--color-primary, #e85d04);
}
.store-message--error {
  background: color-mix(in srgb, #c0392b 12%, transparent);
  color: #922b21;
}

/* Checkout — одна колонка, блок итога на всю ширину контейнера */
@media (max-width: 959px) {
  .checkout-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }
  .checkout-form-col,
  .checkout-summary-col {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
  }
  .checkout-summary-col {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
  }
  .checkout-summary-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
  }
}

/* Checkout — планшеты и телефоны */
@media (max-width: 720px) {
  .checkout-page .checkout-main {
    padding: 0.85rem 0 1.5rem;
  }
  .checkout-steps {
    gap: 0.25rem 0.35rem;
    margin-bottom: 1.15rem;
  }
  .checkout-step {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    text-align: center;
    min-width: 0;
  }
  .checkout-step-label {
    line-height: 1.2;
    max-width: 5.5rem;
  }
  .checkout-step-divider {
    width: 0.85rem;
    align-self: center;
    margin-top: 0.85rem;
  }
  .checkout-title {
    margin-bottom: 1.15rem;
    font-size: 1.35rem;
  }
  .checkout-fulfillment-tabs {
    margin-bottom: 1.25rem;
    padding: 0.25rem;
    border-radius: 12px;
  }
  .checkout-fulfillment-tab {
    padding: 0.55rem 0.35rem;
    font-size: 0.8rem;
    gap: 0.25rem;
    flex-direction: column;
  }
  .checkout-fulfillment-tab svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  .checkout-fulfillment-badge {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
  }
  .checkout-block {
    padding: 1rem 0;
  }
  .checkout-block-title {
    margin-bottom: 0.85rem;
    font-size: 1rem;
  }
  .checkout-choice {
    padding: 0.8rem 0.85rem;
    gap: 0.6rem;
    border-radius: 12px;
  }
  .checkout-choice--pay {
    padding: 0.75rem 0.85rem;
  }
  .checkout-choice-icon {
    width: 2rem;
    height: 2rem;
  }
  .checkout-summary-col {
    position: static;
    z-index: auto;
  }
  .checkout-summary-card {
    padding: 1rem 0.9rem;
  }
  .checkout-summary-items {
    max-height: none;
    overflow: visible;
  }
  .checkout-summary-item {
    font-size: 0.84rem;
  }
  .checkout-pay-total strong {
    font-size: 1.5rem;
  }
  .checkout-submit-btn {
    min-height: 3rem;
    font-size: 0.95rem;
    border-radius: 999px;
  }
  .checkout-gift-claim-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .checkout-address-modal {
    padding: 0;
    align-items: stretch;
  }
  .checkout-address-modal-content {
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }
  .checkout-address-modal-content .store-address-form {
    max-height: calc(100dvh - 5rem);
  }
  .checkout-gift-modal.modal {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .checkout-gift-modal-content {
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 100%);
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 480px) {
  .checkout-page .checkout-main {
    padding-bottom: 0.5rem;
  }
  .checkout-step-label {
    font-size: 0.68rem;
    max-width: 4.75rem;
  }
  .checkout-step-marker {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.75rem;
  }
  .checkout-promo-row {
    flex-direction: column;
    align-items: stretch;
  }
  .checkout-promo-btn {
    width: 100%;
    border-radius: 999px;
    min-height: 44px;
  }
  .checkout-promo-input {
    min-height: 44px;
  }
  .checkout-bonus-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .checkout-bonus-max {
    text-align: left;
  }
  .checkout-summary-card {
    padding: 1rem 0.75rem;
  }
  .checkout-pay-total {
    margin-bottom: 0.65rem;
  }
  .checkout-zone-msg,
  .checkout-free-delivery {
    font-size: 0.78rem;
  }
  .checkout-gift-card {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
    align-items: start;
  }
  .checkout-gift-select-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* Витрина: узкие экраны (от 360px) */
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .store-header {
    padding: 0.65rem 0;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  .store-header-inner {
    gap: 0.4rem;
  }
  .store-header-start {
    gap: 0.45rem;
  }
  .store-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
  }
  .store-logo {
    max-height: 36px;
  }
  .store-brand {
    gap: 0.5rem;
  }
  .store-brand-name {
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .store-brand-tagline {
    display: none;
  }
  .store-nav {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }
  .store-city-btn,
  .store-city-label {
    display: none;
  }
  .store-account-link {
    width: 2.1rem;
    height: 2.1rem;
  }
  .store-account-link--signed-in {
    width: 2.1rem;
    max-width: none;
    padding: 0;
    justify-content: center;
  }
  .store-account-link--signed-in .store-account-link-name {
    display: none;
  }
  .cart-link {
    gap: 0.3rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.85rem;
  }
  .cart-link-total {
    display: none;
  }
  .cart-badge {
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
  }

  .store-banners {
    padding-top: 0.85rem;
  }
  .store-banners-track {
    gap: 0.5rem;
  }
  .store-banner-title {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .store-banner-desc {
    display: none;
  }
  .store-banner-badge {
    top: 0.35rem;
    left: 0.35rem;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
  .store-banner-body {
    padding: 0.5rem;
    gap: 0.15rem;
  }
  .btn-banner {
    margin-top: 0.15rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }

  .menu-toolbar {
    --menu-control-h: 40px;
    padding: 0.55rem 0;
  }
  .menu-toolbar-btn--filter {
    padding: 0 0.65rem;
  }
  .menu-cat-pill {
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }
  .menu-toolbar-filter-dropdown {
    min-width: min(200px, calc(100vw - 1.5rem));
  }

  .store-menu-panel {
    padding: 1rem 0 2rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }
  .menu-section-title {
    margin-bottom: 1.15rem;
    font-size: 1.35rem;
  }
  .menu-section {
    margin-bottom: 2rem;
  }
  .dish-grid {
    gap: 0.85rem;
  }
  .dish-card-body {
    padding: 0.75rem 0.8rem 0.9rem;
  }
  .dish-card-title {
    font-size: 1rem;
  }
  .dish-price-value {
    font-size: 1.2rem;
  }
  .btn-order {
    padding: 1rem 0.65rem;
    font-size: 0.65rem;
  }

  .store-footer {
    padding: 2rem 0 1.5rem;
  }
  .store-footer-name {
    font-size: 1.1rem;
  }
  .store-footer-tagline {
    font-size: 0.8rem;
  }
  .store-footer-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }
  .store-footer-contact-value {
    font-size: 0.85rem;
    word-break: break-word;
  }
  .store-footer-legal-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .modal-content:not(.modal-content--dish):not(.auth-modal-content) {
    width: 100%;
    max-width: none;
    padding: 1rem 0.9rem;
    border-radius: 16px 16px 0 0;
  }
  .modal-content--search,
  .modal-content--favorites {
    max-width: none;
  }
  .auth-modal {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }
  .auth-modal-content {
    width: min(100%, 420px);
    max-width: 420px;
    border-radius: 20px;
  }
  .modal.modal--dish {
    padding: 0;
    align-items: stretch;
  }
  .modal.modal--dish .modal-content--dish {
    padding: 0;
  }
  .modal-content--dish {
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 0;
  }
  .dish-modal-info-col {
    margin-top: -1.25rem;
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .dish-modal-title {
    font-size: 1.3rem;
  }
  .dish-modal-info-scroll {
    padding: 1.15rem 1rem 0.5rem;
  }
  .dish-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-drawer-panel {
    width: min(100%, 300px);
  }
  .cart-drawer-panel {
    width: 100%;
  }
}

/* Юридические документы и cookie на витрине */
.location-legal-panel {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border, #e8e8e8);
  border-radius: 12px;
}
.location-legal-panel legend {
  font-weight: 600;
  padding: 0 0.35rem;
}
.location-legal-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.store-auth-consents {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.store-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  cursor: pointer;
}
.store-auth-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.store-auth-consent-label a {
  color: var(--color-primary, #e85d04);
  text-decoration: underline;
}
.store-legal-main {
  padding: 1.5rem 0 3rem;
  max-width: 48rem;
}
.store-legal-back a {
  color: var(--color-primary, #e85d04);
  text-decoration: none;
}
.store-legal-title {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.5rem;
}
.store-legal-body {
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
}
.store-unavailable {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.store-unavailable-card {
  text-align: center;
  max-width: 24rem;
}
.store-unavailable-logo {
  max-height: 4rem;
  margin-bottom: 1rem;
}
.store-unavailable h1 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}
.store-unavailable-lead {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}
body.public-store .store-cookie-consent.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--card-bg, #fff);
  border-top: 1px solid var(--border, #e8e8e8);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
body.public-store .store-cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'text actions';
  align-items: center;
  gap: 1rem 1.25rem;
  padding-top: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0));
  box-sizing: border-box;
}
body.public-store .store-cookie-consent .cookie-consent-text {
  grid-area: text;
  margin: 0;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text, #1a1a1a);
  overflow-wrap: anywhere;
}
body.public-store .store-cookie-consent .cookie-consent-text a {
  color: var(--color-primary, #e85d04);
  text-decoration: underline;
}
body.public-store .store-cookie-consent .cookie-consent-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 0.5rem;
  align-self: center;
}
body.public-store .store-cookie-consent .cookie-consent-actions .btn-order,
body.public-store .store-cookie-consent .cookie-consent-actions .store-cookie-decline {
  box-sizing: border-box;
  min-height: 2.75rem;
  margin: 0;
  white-space: nowrap;
}
body.public-store .store-cookie-consent .store-cookie-decline {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e0e0e0);
  color: var(--text, #1a1a1a);
  cursor: pointer;
}
@media (max-width: 768px) {
  body.public-store .store-cookie-consent__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      'text'
      'actions';
    gap: 0.85rem;
    padding-top: 0.85rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0));
  }
  body.public-store .store-cookie-consent .cookie-consent-text {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  body.public-store .store-cookie-consent .cookie-consent-actions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  body.public-store .store-cookie-consent .cookie-consent-actions .btn-order,
  body.public-store .store-cookie-consent .cookie-consent-actions .store-cookie-decline {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.5rem;
    font-size: 0.72rem;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }
}
@media (max-width: 400px) {
  body.public-store .store-cookie-consent .cookie-consent-actions {
    grid-template-columns: 1fr;
  }
}

/* Восстановление пароля гостя */
.store-password-reset-main {
  padding: 2rem 0 3rem;
}

.store-password-reset-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.theme-dark .store-password-reset-card {
  background: var(--card-bg, #1a1a1a);
}

.store-password-reset-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.store-password-reset-back:hover {
  color: var(--text);
}

.store-password-reset-footer {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.store-password-reset-footer a {
  font-weight: 700;
  color: var(--text);
}

.store-password-reset-page .store-auth-submit--link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}

.dish-card-title-link {
  color: inherit;
  text-decoration: none;
}

.dish-card-title-link:hover {
  text-decoration: underline;
}

.dish-page {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .dish-page {
    grid-template-columns: minmax(240px, 360px) 1fr;
    align-items: start;
  }
}

.dish-page-media img,
.dish-page-media .dish-card-media-placeholder {
  width: 100%;
  border-radius: 12px;
}

.dish-page-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.dish-page-lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

.dish-page-meta {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.dish-page-meta div {
  display: flex;
  gap: 0.5rem;
}

.dish-page-meta dt {
  min-width: 5.5rem;
  color: var(--muted);
}

.dish-page-meta dd {
  margin: 0;
}

.dish-page-price {
  font-size: 1.25rem;
  margin: 1rem 0;
}

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

.restaurants-catalog-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
