:root {
  --green: #9f101b;
  --green2: #c51627;
  --mint: #ed1736;
  --cream: #fff1f2;
  --gold: #1769c2;
  --ink: #291b1d;
  --muted: #75676a;
  --shadow: 0 20px 60px rgba(132, 9, 24, .15);
}

body {
  background: #fffafa;
}

.nav {
  border-top: 5px solid var(--mint);
  box-shadow: 0 7px 24px rgba(120, 8, 22, .08);
}

.brand-mark {
  background: linear-gradient(145deg, #ed1736, #95101a);
  color: #fff;
  box-shadow: 0 8px 20px rgba(159, 16, 27, .25);
}

.restaurant-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
  background: #fff;
}

.restaurant-logo[hidden] {
  display: none !important;
}

.hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(237, 23, 54, .14), transparent 28%),
    linear-gradient(135deg, #fff4f4 0%, #fffafa 58%, #f9e8ea 100%);
}

.sun {
  background: linear-gradient(145deg, #ed1736, #a20f1d);
  opacity: .18;
}

.plate {
  box-shadow: 0 35px 70px rgba(123, 11, 27, .22);
}

.quick-facts {
  border-top: 4px solid var(--mint);
}

.offers {
  background: linear-gradient(180deg, #fff1f2, #fbe5e8);
}

.offer-featured {
  background: linear-gradient(135deg, #8f0e19, #d6192d) !important;
}

.offers-grid article:has(.offer-image) {
  padding: 0;
}

.offer-image {
  display: block;
  height: 185px;
  object-fit: cover;
  width: 100%;
}

.offer-content {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.offer-featured .offer-image {
  height: 260px;
  opacity: .68;
}

.offer-featured:has(.offer-image) .offer-content {
  background: linear-gradient(180deg, rgba(111, 7, 20, .2), rgba(111, 7, 20, .92));
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
}

.offer-featured > a,
.offer-tag {
  color: #fff;
}

.offer-price {
  display: block;
  font-size: 1.35rem;
  margin: 10px 0;
}

.offer-order {
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  background: #d71920;
  color: #fff;
  font-weight: 800;
}

.offer-tag {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
}

.menu-card:hover {
  border-color: #e9a3ac;
  box-shadow: 0 16px 35px rgba(159, 16, 27, .13);
}

.item-symbol {
  background: linear-gradient(135deg, #ffe1e5, #fff5f5);
}

.cart-button,
.add,
.primary,
.categories button.active {
  background: linear-gradient(135deg, #bc1222, #8e0d18);
}

.cart-button {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 45;
  min-height: 58px;
  padding: 12px 17px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 19px;
  box-shadow: 0 14px 36px rgba(107, 7, 20, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cart-button::before {
  content: "🛒";
  font-size: 22px;
}

.cart-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(107, 7, 20, .42);
}

.cart-button b {
  min-width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 14px;
}

.cart-button b {
  background: #fff;
  color: var(--green);
}

.secondary {
  border-color: #e4a6ad;
}

.pulse {
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(237, 23, 54, .13);
}

footer {
  background: linear-gradient(135deg, #540810, #8f0e19);
  border-top: 6px solid var(--mint);
}

.menu-card {
  cursor: pointer;
}

.item-modal-card {
  width: min(590px, 100%);
}

.item-modal-card h2 {
  margin-bottom: 4px;
}

.item-modal-price {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
}

.item-modal-card h3 {
  color: var(--green);
  font-size: 15px;
  margin: 18px 0 10px;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  background: #fff;
  border: 1px solid #dce3e0;
  border-radius: 22px;
  color: var(--ink);
  font-weight: 700;
  padding: 8px 13px;
}

.option-chip.active {
  background: #e2f5ee;
  border-color: var(--mint);
  color: var(--green);
}

.extras-list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.extra-option {
  align-items: center;
  border: 1px solid #e1e8e5;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 9px;
  padding: 10px 12px;
}

.extra-option input {
  accent-color: var(--green);
}

.extra-option span {
  flex: 1;
  font-weight: 700;
}

.extra-option b {
  color: var(--green);
  font-size: 13px;
}

.item-note-label {
  margin-top: 18px;
}

.item-modal-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.item-qty {
  align-items: center;
  display: flex;
  gap: 10px;
}

.item-qty button {
  background: #edf3f0;
  border: 0;
  border-radius: 10px;
  color: var(--green);
  font-size: 22px;
  height: 38px;
  width: 38px;
}

.item-add-confirm {
  flex: 1;
  margin: 0;
}

.cart-row .line-details {
  color: var(--green2);
  display: block;
  line-height: 1.6;
  margin-top: 4px;
}

@media (max-width: 580px) {
  .cart-button {
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 17px;
  }

  .cart-button span {
    display: inline;
  }

  .extras-list {
    grid-template-columns: 1fr;
  }

  .item-modal-card {
    padding: 24px 18px;
  }
}
