:root {
  --brand: #a51f26;
  --brand-dark: #7a1519;
  --brand-soft: #fff0ef;
  --green: #27834d;
  --green-soft: #eaf6ee;
  --ink: #24201e;
  --muted: #756d68;
  --line: #e9e4df;
  --surface: #ffffff;
  --background: #f7f6f4;
  --warning: #a8620c;
  --shadow: 0 12px 36px rgba(48, 35, 30, 0.09);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 154px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(165, 31, 38, 0.23);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--brand);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 108px;
  height: auto;
}

.header-actions,
.service-status {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 18px;
}

.service-status {
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(39, 131, 77, 0.11);
}

.service-status.closed .status-dot {
  background: #99918c;
  box-shadow: 0 0 0 4px rgba(117, 109, 104, 0.1);
}

.header-cart {
  min-height: 42px;
  padding: 5px 6px 5px 15px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cart:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.header-cart strong {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--brand);
  font-size: 11px;
}

.storefront {
  min-height: calc(100vh - 68px);
}

.store-overview {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 28px;
}

.store-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.store-kicker {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-overview h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.store-description {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.delivery-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}

.store-meta {
  max-width: 520px;
  margin-top: 24px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.store-meta > span {
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--line);
}

.store-meta > span:first-child {
  padding-left: 0;
}

.store-meta > span:last-child {
  border-right: 0;
}

.store-meta strong {
  font-size: 12px;
}

.store-meta small {
  color: var(--muted);
  font-size: 9px;
}

.store-notice {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.store-notice span {
  margin-right: 6px;
  color: var(--green);
  font-size: 8px;
}

.order-section {
  min-height: 600px;
}

.menu-toolbar-wrap {
  position: sticky;
  z-index: 30;
  top: 68px;
  background: rgba(247, 246, 244, 0.97);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.menu-toolbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.search-wrap {
  position: relative;
  height: 44px;
}

.search-wrap > span {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}

.search-wrap input {
  width: 100%;
  height: 100%;
  padding: 0 42px 0 41px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 12px;
}

.search-wrap input:focus,
textarea:focus,
.coupon-input-row input:focus,
.change-field input:focus {
  border-color: rgba(165, 31, 38, 0.45);
  box-shadow: 0 0 0 4px rgba(165, 31, 38, 0.07);
  outline: 0;
}

.clear-search {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 8px;
  background: #f0ece8;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.category-nav {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

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

.category-nav button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.category-nav button:hover,
.category-nav button.active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.menu-container {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 80px;
}

.menu-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.menu-results-head p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.menu-results-head span {
  color: var(--muted);
  font-size: 10px;
}

.menu-category {
  padding: 32px 0 10px;
  scroll-margin-top: 150px;
}

.category-heading {
  margin-bottom: 16px;
}

.category-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-card {
  position: relative;
  min-height: 126px;
  padding: 18px 70px 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 10px rgba(48, 35, 30, 0.025);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(165, 31, 38, 0.28);
  box-shadow: 0 8px 22px rgba(48, 35, 30, 0.07);
  transform: translateY(-1px);
}

.product-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-price {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.product-card-add {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

.product-card.is-unavailable:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.product-card.is-unavailable .product-card-add {
  background: var(--surface-alt);
  color: var(--muted);
}

.product-tag.product-tag-unavailable {
  color: var(--muted);
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
}

.empty-state > div {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 30px;
}

.empty-state h3 {
  margin: 0;
  font-size: 17px;
}

.empty-state p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state button,
.cart-empty button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: white;
  color: var(--brand);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.app-footer {
  min-height: 110px;
  padding: 28px max(16px, calc((100% - 1000px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 10px;
}

.app-footer img {
  width: 88px;
}

.app-footer p {
  margin: 0;
}

.app-footer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(30, 24, 21, 0.53);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-overlay {
  padding: 20px;
  display: grid;
  place-items: center;
  overflow-y: auto;
}

.modal {
  background: white;
  box-shadow: 0 26px 80px rgba(33, 24, 20, 0.26);
}

.product-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-overlay:not([hidden]) .product-modal {
  animation: modal-in 0.22s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close,
.back-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.product-modal > .modal-close {
  position: sticky;
  z-index: 4;
  top: 13px;
  float: right;
  margin: 13px 13px -51px 0;
}

.product-modal-media {
  height: 215px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-body {
  padding: 27px 28px 24px;
}

.modal-kicker {
  color: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-modal h2 {
  margin: 5px 48px 0 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.product-modal-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-modal-base-price {
  margin-top: 11px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-group {
  position: relative;
  margin-top: 21px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.form-group-heading,
.field-label {
  margin-bottom: 9px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.form-group-heading > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-group-heading strong,
.field-label {
  font-size: 12px;
  font-weight: 700;
}

.form-group-heading small {
  color: var(--muted);
  font-size: 9px;
}

.form-group-heading > span,
.field-label > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.choice-option {
  position: relative;
  min-height: 48px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #f0ece8;
  cursor: pointer;
}

.choice-option:last-child {
  border-bottom: 0;
}

.choice-option input,
.payment-option input {
  position: absolute;
  opacity: 0;
}

.choice-mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid #bcb5b0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: white;
}

input[type="radio"] + .choice-mark {
  border-radius: 50%;
}

.choice-option input:checked + .choice-mark {
  border-color: var(--brand);
  background: var(--brand);
}

.choice-option input:checked + .choice-mark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.choice-option input[type="radio"]:checked + .choice-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.choice-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.choice-label strong {
  color: var(--brand-dark);
  font-size: 10px;
}

textarea,
.coupon-input-row input,
.change-field input {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  width: 100%;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 11px;
  resize: vertical;
  font-size: 11px;
  line-height: 1.5;
}

.char-count {
  position: absolute;
  right: 9px;
  bottom: 8px;
  padding: 2px 3px;
  background: white;
  color: #99908a;
  font-size: 8px;
}

.modal-action-row {
  position: sticky;
  z-index: 3;
  bottom: -24px;
  margin: 23px -28px -24px;
  padding: 13px 28px calc(14px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.quantity-control {
  min-width: 108px;
  min-height: 49px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  background: white;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f3efeb;
  color: var(--brand);
  cursor: pointer;
  font-size: 18px;
}

.quantity-control strong {
  text-align: center;
  font-size: 11px;
}

.primary-action,
.checkout-button,
.whatsapp-button {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.primary-action {
  min-height: 49px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--brand);
  color: white;
  font-size: 11px;
}

.primary-action:hover,
.checkout-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.cart-overlay {
  display: flex;
  justify-content: flex-end;
}

.cart-drawer {
  width: min(470px, 100%);
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--background);
  box-shadow: -24px 0 65px rgba(33, 24, 20, 0.2);
  opacity: 1;
  transform: translateX(0);
}

.cart-overlay:not([hidden]) .cart-drawer {
  animation: drawer-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  position: sticky;
  z-index: 5;
  top: 0;
  min-height: 78px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 244, 0.96);
  backdrop-filter: blur(12px);
}

.drawer-header p {
  margin: 0 0 2px;
  color: var(--brand);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-header h2 {
  margin: 0;
  font-size: 20px;
}

.cart-empty {
  min-height: calc(100vh - 80px);
  padding: 40px 30px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-bowl {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--brand);
  box-shadow: var(--shadow);
  font-size: 45px;
}

.cart-empty h3 {
  margin: 21px 0 7px;
  font-size: 17px;
}

.cart-empty p {
  max-width: 280px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.cart-content {
  padding: 10px 20px 28px;
}

.cart-items {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.cart-item {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.cart-item h3 {
  margin: 0;
  font-size: 12px;
}

.cart-item-details {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.cart-item-price {
  color: var(--brand-dark);
  font-size: 10px;
  white-space: nowrap;
}

.cart-item-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-actions > button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 27px 28px 27px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-quantity button {
  width: 27px;
  height: 27px;
  border: 0;
  background: #f3efeb;
  color: var(--brand);
  cursor: pointer;
}

.cart-quantity span {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}


.order-summary {
  margin-top: 17px;
  padding: 0 3px;
}

.order-summary > div {
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}

.order-summary strong {
  color: var(--ink);
}

.order-summary #discount-row,
.order-summary #discount-row strong {
  color: var(--green);
}

.order-summary .summary-total {
  margin-top: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.summary-total strong {
  color: var(--brand-dark);
  font-size: 16px;
}

.minimum-warning {
  min-height: 14px;
  margin: 8px 2px 0;
  color: var(--warning);
  font-size: 9px;
  text-align: center;
}

.checkout-button {
  width: 100%;
  min-height: 50px;
  margin-top: 5px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand);
  color: white;
  font-size: 11px;
}

.checkout-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.checkout-step {
  padding: 28px 20px 38px;
}

.payment-step-intro {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.payment-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.payment-step-intro h3 {
  margin: 0;
  font-size: 16px;
}

.payment-step-intro p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.payment-options {
  display: grid;
  gap: 8px;
}

.payment-option {
  position: relative;
  min-height: 60px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 18px 38px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--brand);
  background: #fffafa;
}

.custom-radio {
  width: 17px;
  height: 17px;
  border: 1.5px solid #b8b0ab;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.payment-option input:checked + .custom-radio {
  border-color: var(--brand);
  background: var(--brand);
}

.payment-option input:checked + .custom-radio::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
}

.payment-icon {
  width: 38px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f2eeea;
  color: var(--brand);
  font-size: 8px;
  font-weight: 800;
}

.payment-option > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-option strong {
  font-size: 10px;
}

.payment-option small {
  color: var(--muted);
  font-size: 8.5px;
}

.change-field {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.change-field span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.change-field input {
  height: 42px;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 10px;
}

.checkout-total-row {
  margin-top: 21px;
  padding: 17px 2px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.checkout-total-row strong {
  color: var(--brand-dark);
  font-size: 18px;
}

.form-error {
  margin: 0 0 9px;
  color: var(--brand);
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.whatsapp-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #208849;
  color: white;
  box-shadow: 0 10px 24px rgba(32, 136, 73, 0.17);
  font-size: 11px;
}

.whatsapp-button:hover {
  background: #176f3b;
  transform: translateY(-1px);
}

.whatsapp-mark {
  width: 19px;
  height: 19px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 5px;
}

.whatsapp-helper {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.mobile-cart-bar {
  display: none;
}

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 24px;
  max-width: calc(100% - 30px);
  padding: 11px 16px;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 600;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 170px;
  }

  .menu-toolbar {
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .app-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .app-header {
    height: 62px;
  }

  .header-inner,
  .store-overview,
  .menu-toolbar,
  .menu-container {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 92px;
  }

  .service-status,
  .header-cart-label {
    display: none;
  }

  .header-cart {
    min-height: 38px;
    padding: 4px;
    border: 0;
    background: transparent;
  }

  .header-cart strong {
    width: 32px;
    height: 32px;
    background: var(--brand);
    color: white;
  }

  .store-overview {
    padding: 26px 0 22px;
  }

  .store-title-row {
    gap: 12px;
  }

  .store-overview h1 {
    font-size: 38px;
  }

  .store-description {
    font-size: 11px;
  }

  .delivery-badge {
    padding: 7px 9px;
    font-size: 8px;
  }

  .store-meta {
    margin-top: 19px;
  }

  .store-meta > span {
    padding: 0 10px;
  }

  .store-meta strong {
    font-size: 10px;
  }

  .store-meta small {
    font-size: 7.5px;
  }

  .menu-toolbar-wrap {
    top: 62px;
  }

  .menu-toolbar {
    padding: 9px 0 8px;
  }

  .search-wrap {
    height: 41px;
  }

  .category-nav {
    width: calc(100vw - 12px);
  }

  .category-nav button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 9px;
  }

  .menu-container {
    padding-top: 23px;
  }

  .menu-category {
    padding-top: 27px;
    scroll-margin-top: 156px;
  }

  .category-heading h3 {
    font-size: 23px;
  }

  .category-heading p {
    font-size: 10px;
  }

  .product-card {
    min-height: 118px;
    padding: 16px 62px 15px 15px;
  }

  .product-card h4 {
    font-size: 13px;
  }

  .product-card-add {
    right: 13px;
    bottom: 14px;
  }

  .app-footer {
    padding-bottom: 98px;
  }

  .mobile-cart-bar {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 56px;
    padding: 7px 14px 7px 7px;
    border: 0;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: white;
    box-shadow: 0 13px 34px rgba(122, 21, 25, 0.3);
    cursor: pointer;
    text-align: left;
  }

  .mobile-cart-count {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: white;
    color: var(--brand);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-cart-bar > span:nth-child(2),
  .mobile-cart-bar strong {
    font-size: 10px;
    font-weight: 700;
  }

  .product-overlay {
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }

  .product-modal {
    width: 100%;
    max-height: calc(100vh - 10px);
    max-height: calc(100dvh - 10px);
    border-radius: 20px 20px 0 0;
    opacity: 1;
    transform: translateY(0);
  }

  .product-overlay:not([hidden]) .product-modal {
    animation: sheet-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes sheet-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .product-modal-media {
    height: 190px;
    border-radius: 20px 20px 0 0;
  }

  .product-modal-body {
    padding: 23px 17px 20px;
  }

  .product-modal h2 {
    font-size: 25px;
  }

  .modal-action-row {
    bottom: -20px;
    margin: 21px -17px -20px;
    padding: 11px 17px calc(12px + env(safe-area-inset-bottom));
  }

  .cart-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }

  .cart-drawer {
    width: 100%;
    height: calc(100vh - 10px);
    height: calc(100dvh - 10px);
    max-height: calc(100vh - 10px);
    max-height: calc(100dvh - 10px);
    border-radius: 20px 20px 0 0;
    opacity: 1;
    transform: translateY(0);
  }

  .cart-overlay:not([hidden]) .cart-drawer {
    animation: sheet-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .drawer-header {
    min-height: 72px;
    padding: 12px 15px;
    border-radius: 20px 20px 0 0;
  }

  .cart-content,
  .checkout-step {
    padding-right: 13px;
    padding-left: 13px;
  }

  .cart-empty {
    min-height: calc(100dvh - 80px);
  }

  .checkout-step {
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }

  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

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