@import url("https://fonts.googleapis.com/css2?family=Amiko:wght@400;600;700&display=swap");

:root {
  --blue: #0056c5;
  --blue-bright: #0056c5;
  --blue-soft: #c6e5fe;
  --blue-bg: #d8eefd;
  --blue-chip: #eaf5ff;
  --orange: #ff931f;
  --brown: #2b0000;
  --text: #2b0000;
  --muted: #6b4a4a;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 86, 197, 0.12);
  --radius: 22px;
  --nav-h: 78px;
  --max: 430px;
  --font-body: "Amiko", sans-serif;
  --font-display: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  background-color: var(--blue-bg);
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.app-shell {
  width: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background-color: var(--blue-bg);
  background-image: url("../img/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.app {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: 100dvh;
  min-height: 100svh;
  height: 100dvh;
  height: 100svh;
  position: relative;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-header,
.page,
.bottom-nav {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0, 86, 197, 0.08);
  backdrop-filter: blur(6px);
}

.location-chip img {
  width: 14px;
  height: 18px;
  object-fit: contain;
}

/* Page shell */
.page {
  padding: 8px 16px calc(var(--nav-h) + 28px);
}

.page-title,
.hero-title,
.hero-price,
.product-card__name,
.price-pill,
.chip,
.btn-order,
.btn-add,
.btn-checkout,
.btn-continue,
.nav-item,
.more-sheet__item,
.location-chip,
.cart-item__name,
.summary-row.total,
.page-dot {
  font-family: var(--font-display);
}

.page-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

[data-page="menu"] .page-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  text-align: center;
  color: #ffffffed;
  margin: 10px 0 8px;
}

.page-title--success {
  color: #16803c;
}

.page-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.order-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  margin: 6px 0 12px;
  letter-spacing: 0.01em;
}

/* Hero banner */
.hero-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 8px;
  background: var(--orange);
  border-radius: 28px;
  padding: 22px 12px 18px 20px;
  margin-bottom: 18px;
  min-height: 168px;
  box-shadow: 0 12px 28px rgba(255, 158, 54, 0.35);
  animation: rise-in 0.55s ease both;
}

.hero-copy {
  padding-bottom: 6px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(42, 14, 7, 0.75);
  margin-bottom: 4px;
}

.hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  text-transform: capitalize;
}

.hero-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 12px;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-order:active {
  transform: scale(0.96);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -28px;
  transform: rotate(8deg);
  transform-origin: 70% 100%;
}

.hero-media img {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  animation: float-y 3.2s ease-in-out infinite;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: rise-in 0.5s ease both;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

.product-card__img {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.product-card__img img {
  max-height: 112px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:active .product-card__img img {
  transform: scale(1.04);
}

.product-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 2.5em;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.btn-add:active {
  transform: scale(0.9);
}

.btn-add.added {
  background: #0b9b5a;
}

/* Category chips */
.category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
}

.category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding-bottom: 2px;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blue-bright);
  background: var(--white);
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: capitalize;
}

.chip.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.chip:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.chip:focus-visible {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  outline: none;
}

.category-more {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: var(--white);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.page-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brown);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-dot.active {
  background: var(--blue-bright);
}

/* Cart */
.cart-panel {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  padding: 22px 16px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: rise-in 0.45s ease both;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  padding: 12px;
  border: 1.5px solid #d7e9fb;
  border-radius: 18px;
  background: var(--white);
  align-items: start;
}

.cart-item__img {
  grid-row: 1 / 3;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--blue-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item__img img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

.cart-item__info {
  min-width: 0;
}

.cart-item__name {
  font-weight: 800;
  font-size: 0.98rem;
  text-transform: capitalize;
}

.cart-item__unit {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item__units {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.cart-item__unit-row {
  margin-top: 2px;
}

.cart-item__unit-row--numbered {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: start;
}

.cart-item__unit-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brown);
  min-width: 1.4rem;
  padding-top: 6px;
}

.cart-item__unit-summary {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.cart-item__customize {
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #7eb8e8;
  background: var(--blue-chip);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-item__remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.15s ease, background 0.15s ease;
}

.cart-item__remove:active {
  color: #dc2626;
  background: #fee2e2;
}

.cart-item__remove svg {
  width: 16px;
  height: 16px;
}

.cart-item__qty {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-chip);
  border-radius: 999px;
  padding: 4px 6px 4px 10px;
  width: fit-content;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn.plus {
  background: var(--blue-bright);
  color: var(--white);
}

.qty-value {
  min-width: 1.2em;
  text-align: center;
  font-weight: 800;
}

.cart-item__line {
  grid-column: 3;
  align-self: end;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.92rem;
  white-space: nowrap;
}

.cart-empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--muted);
}

.cart-empty p {
  margin-bottom: 16px;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary-row.total {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  padding-top: 10px;
  border-top: 2px dashed #c9ddf5;
}

.summary-row.total span:last-child {
  color: var(--blue);
  font-size: 1.2rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 86, 197, 0.28);
}

.btn-checkout img {
  width: 22px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn-checkout__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.btn-continue img {
  width: 20px;
  height: 18px;
  object-fit: contain;
}

/* Bottom nav */
.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px 28px 0 0;
  padding: 10px 8px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(15, 40, 80, 0.12);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #8a8f98;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px;
  position: relative;
}

.nav-item img {
  width: 24px;
  height: 22px;
  object-fit: contain;
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.nav-item.active {
  color: var(--blue);
}

.nav-item.active img {
  opacity: 1;
  filter: invert(28%) sepia(97%) saturate(1800%) hue-rotate(198deg) brightness(92%) contrast(101%);
}

.cart-badge {
  position: absolute;
  top: -2px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}

.cart-badge.show {
  display: inline-flex;
}

@media (max-width: 360px) {
  .bottom-nav {
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .nav-item {
    font-size: 0.62rem;
    padding: 3px;
    gap: 3px;
  }
}

/* More sheet */
.more-overlay {
  position: absolute;
  inset: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: none;
  background: rgba(20, 24, 32, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.more-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.more-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(110%);
  width: 100%;
  max-width: none;
  background: var(--white);
  border-radius: 28px 28px 0 0;
  padding: 8px 8px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(15, 40, 80, 0.18);
  z-index: 80;
  transition: transform 0.28s ease;
}

.more-sheet.is-open {
  transform: translateY(0);
}

.more-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #d4d7dc;
  margin: 8px auto 6px;
}

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

.more-sheet__list {
  display: flex;
  flex-direction: column;
}

.more-sheet__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: #111;
  font-size: 0.98rem;
  font-weight: 800;
  border-bottom: 1px solid #eceff3;
}

.more-sheet__item:last-child {
  border-bottom: none;
}

.more-sheet__item.active,
.more-sheet__item:hover {
  color: var(--blue);
}

.more-sheet__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #111;
}

.more-sheet__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.more-sheet__chevron {
  margin-left: auto;
  color: #c0c4ca;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.info-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
}

.info-copy h2 {
  font-size: 1rem;
  margin-top: 8px;
}

.info-copy p {
  color: var(--muted);
  font-size: 0.92rem;
}

body.more-open {
  overflow: hidden;
}

body.more-open .app {
  overflow: hidden;
}

.addon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 85;
}

.addon-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.addon-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(110%);
  width: 100%;
  background: var(--white);
  border-radius: 28px 28px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(15, 40, 80, 0.18);
  z-index: 90;
  transition: transform 0.28s ease;
}

.addon-sheet.is-open {
  transform: translateY(0);
}

.addon-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #d4d7dc;
  margin: 8px auto 10px;
}

.addon-sheet__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-chip);
  color: var(--brown);
  font-size: 1.4rem;
  line-height: 1;
}

.addon-sheet__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.addon-sheet__subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.addon-sheet__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--blue-chip);
}

.addon-sheet__qty-label {
  font-size: 0.88rem;
  font-weight: 700;
}

.addon-sheet__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.addon-sheet__units {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 46vh;
  overflow: auto;
  margin-bottom: 14px;
}

.addon-sheet__unit-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 8px;
}

.addon-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.addon-sheet__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--blue-chip);
  cursor: pointer;
}

.addon-sheet__option input {
  width: 18px;
  height: 18px;
}

.addon-sheet__option-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.addon-sheet__option-price {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.addon-sheet__empty {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 8px 2px 12px;
}

.addon-sheet__confirm {
  width: 100%;
  justify-content: center;
}

.addon-sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-sheet__all {
  width: 100%;
  justify-content: center;
}

.addon-sheet__group {
  margin-bottom: 10px;
}

.addon-sheet__group-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 6px;
}

.addon-sheet__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.addon-sheet__choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-chip);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.addon-sheet__choice input {
  width: 16px;
  height: 16px;
}

.addon-sheet__choice:has(input:checked) {
  background: #c8e4ff;
  outline: 1.5px solid #7eb8e8;
}

body.addon-open .app {
  overflow: hidden;
}

/* Toast */
.toast {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-h) + 18px);
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.checkout-error,
.checkout-error-head {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 4px 0 8px;
}

.checkout-input-error {
  border-color: #b42318 !important;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.checkout-label {
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 8px;
}

.checkout-input {
  width: 100%;
  border: 1.5px solid #d7e9fb;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.checkout-input:focus {
  outline: none;
  border-color: var(--blue-bright);
}

.checkout-pay {
  border: 1.5px solid #d7e9fb;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-pay legend {
  padding: 0 4px;
}

.checkout-pay__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.btn-checkout {
  text-decoration: none;
}

@media (max-width: 380px) {
  .site-header {
    padding: 10px 12px 6px;
  }

  .logo-link img {
    height: 36px;
  }

  .page {
    padding: 6px 12px calc(var(--nav-h) + 22px);
  }

  .page-title {
    font-size: 1.5rem;
  }

  [data-page="menu"] .page-title {
    font-size: 1.45rem;
  }

  .hero-banner {
    padding: 16px 10px 12px 14px;
    min-height: 148px;
    gap: 4px;
  }

  .hero-title {
    font-size: 1.28rem;
  }

  .hero-media img {
    width: 108px;
  }

  .product-grid {
    gap: 10px;
  }

  .cart-item {
    grid-template-columns: 58px 1fr auto;
    gap: 6px 8px;
    padding: 10px;
  }

  .cart-item__img {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-media img {
    width: 150px;
  }

  .product-card__img {
    height: 132px;
  }

  .product-card__img img {
    max-height: 124px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-banner {
    min-height: 190px;
    padding: 26px 20px 20px 24px;
  }

  .hero-media img {
    width: 170px;
  }
}

@media (min-width: 768px) {
  body {
    background-color: #1c86d8;
    background-image: none;
    padding: 0;
    display: block;
  }

  .app-shell {
    width: 100%;
    max-width: var(--max);
    height: 100%;
    min-height: 100dvh;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
  }

  .app {
    height: 100%;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .app::-webkit-scrollbar {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
