[hidden] { display: none !important; }

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

:root {
  --red: #D6293B;
  --red-dark: #A81729;
  --red-light: #FF4757;
  --gold: #F2A93C;
  --green: #2E8B57;
  --cream: #FAF6F0;
  --card: #FFFFFF;
  --ink: #211A15;
  --muted: #8A8078;
  --border: #F0E6D8;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 10px rgba(33, 26, 21, 0.06);
  --shadow-md: 0 8px 24px rgba(33, 26, 21, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 78px; /* space for mobile-nav */
}
h1, h2 { font-family: 'Poppins', 'Inter', sans-serif; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }
a { color: inherit; text-decoration: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-seal {
  font-size: 26px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-text h1 { font-size: 19px; font-weight: 800; color: var(--red-dark); line-height: 1.1; }
.brand-text p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.search-wrap {
  margin-top: 12px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
#searchInput {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--card);
  outline: none;
}
#searchInput:focus { border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero-card {
  position: relative;
  margin: 16px;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.35; }
.hero-glow-one { width: 160px; height: 160px; background: var(--gold); top: -60px; right: -40px; }
.hero-glow-two { width: 120px; height: 120px; background: #fff; bottom: -50px; left: -30px; }
.hero-copy { position: relative; z-index: 1; max-width: 78%; }
.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.hero-copy h2 { font-size: 26px; line-height: 1.2; font-weight: 800; }
.hero-copy h2 span { color: var(--gold); }
.hero-copy p { font-size: 13.5px; opacity: 0.9; margin: 8px 0 16px; }
.hero-menu-btn {
  background: #fff;
  color: var(--red-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-bowl {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 42px;
  opacity: 0.9;
}

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; z-index: 1; overflow: hidden; }
.hero-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.hero-copy--offer h2 { font-size: 40px; line-height: 1; letter-spacing: 0.5px; }
.hero-copy--offer h2 span { -webkit-text-stroke: 0.5px rgba(255,255,255,0.4); }
.hero-copy--offer p { font-size: 14.5px; font-weight: 600; }
.hero-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-dots button.active {
  width: 18px;
  border-radius: 4px;
  background: var(--gold);
}

/* ---------- Category tabs ---------- */
.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 16px 14px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.cat-tab.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Menu list ---------- */
.menu-list { padding: 0 16px 20px; }
.menu-section { margin-bottom: 22px; scroll-margin-top: 130px; }
.menu-section h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.cat-note { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

.menu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}
.menu-card-info { flex: 1; min-width: 0; }
.item-name-row { display: flex; align-items: center; gap: 7px; }
.item-name { font-weight: 700; font-size: 14.5px; }
.item-note { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.item-price { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 600; }

.diet-dot {
  width: 11px; height: 11px;
  border: 1.5px solid;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}
.diet-dot::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 50%;
}
.diet-dot.veg { border-color: var(--green); }
.diet-dot.veg::after { background: var(--green); }
.diet-dot.egg { border-color: var(--gold); }
.diet-dot.egg::after { background: var(--gold); }
.diet-dot.nonveg { border-color: var(--red); }
.diet-dot.nonveg::after { background: var(--red); }

.menu-card-action { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.size-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.size-toggle button { padding: 6px 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.size-toggle button.active { background: var(--red); color: #fff; }

.add-btn {
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--card);
  border: 1.5px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}
.qty-stepper {
  display: flex; align-items: center; gap: 10px;
  background: var(--red);
  border-radius: 10px;
  padding: 6px 10px;
}
.qty-stepper button { color: #fff; font-weight: 800; font-size: 16px; width: 18px; }
.qty-stepper span { color: #fff; font-weight: 800; font-size: 14px; min-width: 14px; text-align: center; }

/* ---------- Skeleton loaders ---------- */
.skeleton-wrap { padding: 0 16px; }
.skeleton-header, .skeleton-card {
  background: linear-gradient(90deg, #EFE7DA 25%, #F7F1E7 37%, #EFE7DA 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-md);
}
.skeleton-header { height: 22px; width: 40%; margin-bottom: 14px; }
.skeleton-card { height: 68px; margin-bottom: 10px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.no-results { text-align: center; padding: 40px 20px; color: var(--muted); }
.no-results span { font-size: 34px; display: block; margin-bottom: 8px; }

/* ---------- Cart bar ---------- */
.cart-bar {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 84px;
  z-index: 25;
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.cart-bar-count { font-size: 12.5px; opacity: 0.85; }
.cart-bar-cta { font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }

/* ---------- Drawer / overlay ---------- */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(33, 26, 21, 0.5);
  z-index: 50;
  display: flex; align-items: flex-end;
}
.drawer {
  background: var(--cream);
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 22px 22px 0 0;
  padding: 10px 20px 26px;
  position: relative;
  animation: slideUp 0.25s ease;
}
.drawer-small { max-height: 70vh; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.drawer-handle { width: 40px; height: 4px; background: var(--border); border-radius: 4px; margin: 6px auto 14px; }
.drawer-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card); font-size: 15px;
}
.drawer h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }

.cart-items { margin-bottom: 12px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.cart-item-name { font-weight: 600; flex: 1; min-width: 0; }
.cart-item-price { font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-item-controls .qty-stepper { padding: 4px 8px; gap: 8px; }
.cart-item-remove {
  background: none; border: none; font-size: 15px; line-height: 1;
  color: var(--red); cursor: pointer; padding: 4px;
}
.cart-item-empty { text-align: center; color: var(--muted); padding: 14px 0; font-size: 13.5px; }

.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1.5px dashed var(--border); margin-bottom: 14px;
  font-weight: 700;
}
.cart-total-row strong { font-size: 18px; color: var(--red-dark); }

/* ---------- Checkout form ---------- */
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.checkout-form input, .checkout-form textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--ink);
  outline: none;
  background: var(--card);
}
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--gold); }
.checkout-form textarea { min-height: 60px; resize: vertical; }

.segmented { display: flex; gap: 8px; }
.seg-btn {
  flex: 1;
  padding: 11px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}
.seg-btn.selected { background: var(--red); border-color: var(--red); color: #fff; }

.pickup-info {
  background: #FDF3E8;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
}

.use-location-btn {
  align-self: flex-start;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--card);
  border: 1.5px solid var(--red);
  color: var(--red);
  font-weight: 700;
  font-size: 12.5px;
}
.location-status { font-size: 12px; color: var(--muted); line-height: 1.5; min-height: 1px; }
.location-status-ok { color: var(--green); font-weight: 600; }
.location-status-error { color: var(--red); font-weight: 600; }

.delivery-charge-row {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 700;
  background: #FDF3E8;
  border-radius: 10px;
  padding: 9px 12px;
}
.delivery-charge-row strong { color: var(--red-dark); }

.coupon-apply-row { display: flex; gap: 8px; margin: 4px 0; }
.coupon-apply-row input { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-family: inherit; }
.coupon-apply-row button { border: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 0 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.coupon-msg { font-size: 12px; font-weight: 600; margin: -2px 0 4px; }
.coupon-msg.coupon-msg-ok { color: var(--green); }
.coupon-msg.coupon-msg-error { color: var(--red); }
#couponDiscountRow { background: #E7F9EE; }
#couponDiscountRow strong { color: #128C3E; }

.form-error {
  background: #FDECED;
  color: var(--red-dark);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.place-order-btn {
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.place-order-btn:disabled { opacity: 0.6; }

/* ---------- My orders ---------- */
.orders-lookup { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.orders-lookup-hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.orders-lookup-row { display: flex; gap: 8px; }
.orders-lookup-row input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
}
.orders-lookup-row input:focus { border-color: var(--gold); }
.orders-lookup-submit {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 15px;
  border-radius: 10px;
}

.closed-banner {
  background: #FDECED; color: var(--red-dark); font-weight: 700; font-size: 13px;
  text-align: center; padding: 10px 16px; margin: 0 16px 12px;
  border-radius: var(--radius-md);
}
.closed-countdown-text { font-weight: 600; font-size: 12px; margin-top: 4px; color: #8a4a4a; }

.offers-strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 4px; margin-top: -4px; scrollbar-width: none; }
.offers-strip::-webkit-scrollbar { display: none; }
.offer-chip {
  flex-shrink: 0; background: linear-gradient(135deg, #FFF4DE, #FFE8C4); color: #8a5a12; border: 1px solid #F0D19A;
  font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 20px; white-space: nowrap;
}
.saved-addr-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.saved-addr-chips:empty { display: none; }
.addr-chip-label { font-size: 11.5px; color: var(--muted); width: 100%; margin-bottom: 2px; }
.addr-chip {
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
}
.addr-chip.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.save-addr-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.save-addr-btn {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
}
.save-addr-btn.saved { background: var(--green); color: #fff; border-color: var(--green); }
.cart-item-note-input {
  width: 100%; margin-top: 4px; font-size: 12px; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 8px; font-family: inherit;
}
.order-status-timeline { display: flex; gap: 4px; margin-bottom: 8px; }
.order-status-step {
  flex: 1; text-align: center; font-size: 10px; font-weight: 700; padding: 5px 2px;
  border-radius: 6px; background: #F0E6D8; color: var(--muted);
}
.order-status-step.done { background: var(--green); color: #fff; }
.order-status-step.cancelled { background: var(--red); color: #fff; }
.order-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.order-action-btn {
  flex: 1; font-size: 12px; font-weight: 700; padding: 8px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--card); cursor: pointer; text-align: center;
}
.order-action-btn.cancel-btn { color: var(--red-dark); border-color: var(--red); }
.order-action-btn.reorder-btn { color: var(--green); border-color: var(--green); }
.order-item-note-line { font-size: 11.5px; color: var(--muted); font-style: italic; }
.order-eta-line {
  font-size: 12.5px; font-weight: 700; color: var(--red-dark);
  background: #FDF3E8; border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; display: inline-block;
}

.orders-list-panel { display: flex; flex-direction: column; gap: 10px; }
.orders-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 0; }
.order-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  box-shadow: var(--shadow-sm);
}
.order-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-code { font-weight: 800; font-size: 13.5px; }
.order-status {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  background: #F0E6D8; color: var(--ink);
}
.status-New { background: #FDECED; color: var(--red-dark); }
.status-Preparing { background: #FEF3D8; color: #A6720B; }
.status-Ready { background: #E4F3E9; color: var(--green); }
.status-Delivered { background: #E4F3E9; color: var(--green); }
.status-Cancelled { background: #EFEAE5; color: var(--muted); }
.order-items-line { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.order-card-bottom { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }

/* ---------- Help ---------- */
.help-text { font-size: 13.5px; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
.help-shop-info { margin-bottom: 16px; }
.help-shop-info p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.help-action-row { display: flex; gap: 10px; }
.help-action-btn {
  flex: 1;
  text-align: center;
  background: var(--red);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
}
.help-action-secondary { background: var(--card); color: var(--red); border: 1.5px solid var(--red); }

/* ---------- Confirmation ---------- */
.web-confirm-text {
  white-space: pre-line;
  font-family: inherit;
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.whatsapp-share-btn {
  display: block;
  text-align: center;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-nav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0;
  color: var(--muted);
  position: relative;
}
.mobile-nav-btn span { font-size: 19px; }
.mobile-nav-btn small { font-size: 10.5px; font-weight: 600; }
.mobile-nav-btn.active { color: var(--red); }
.mobile-nav-cart b {
  position: absolute; top: 0; right: 22%;
  background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 700;
  min-width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Desktop / larger screens ---------- */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .mobile-nav { display: none; }
  .topbar, .hero-card, .cat-tabs, .menu-list { max-width: 640px; margin-left: auto; margin-right: auto; }
  .hero-card { margin-left: auto; margin-right: auto; }
  .cart-bar { max-width: 608px; left: 50%; transform: translateX(-50%); bottom: 24px; }
  .drawer-overlay { align-items: center; justify-content: center; }
  .drawer { max-width: 440px; border-radius: 22px; max-height: 85vh; }
}


/* Customer account */
.account-intro{font-size:13px;color:#6b625b;line-height:1.55;margin:0 0 14px}.account-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#8a8179;font-size:12px}.account-divider:before,.account-divider:after{content:"";height:1px;background:#eadfd5;flex:1}.secondary-account-btn{width:100%;border:1px solid #d92d3d;background:#fff;color:#b51f2e;border-radius:14px;padding:13px 16px;font-weight:700;cursor:pointer;margin-top:8px}.account-profile-card{background:#fff7f2;border:1px solid #eadfd5;border-radius:16px;padding:15px;margin-bottom:14px;display:flex;flex-direction:column;gap:4px}.account-profile-card strong{font-size:17px}.account-profile-card span{font-size:13px;color:#746b64}

/* ---------- Sticky, swipeable category navigation ----------
   top offset comes from --topbar-h, which script.js measures from the
   *actual* rendered topbar height (see syncStickyOffsets()) instead of a
   hardcoded pixel guess — that guess used to drift out of sync with the
   real topbar height and cause the category bar to sit half-hidden under
   the topbar while scrolling. */
.cat-tabs{
  position:sticky;
  top:var(--topbar-h, 96px);
  z-index:18;
  background:rgba(250,246,240,.97);
  border-top:1px solid rgba(240,230,216,.75);
  border-bottom:1px solid var(--border);
  box-shadow:0 4px 14px rgba(33,26,21,.06);
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
  cursor:grab;
}
.cat-tabs:active{cursor:grabbing}
.menu-section{scroll-margin-top:calc(var(--topbar-h, 96px) + 54px)}


/* ---------- v12: diet filter, bestseller tag, photo cards ---------- */
.diet-filter { display: flex; gap: 8px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.diet-filter::-webkit-scrollbar { display: none; }
.diet-chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 7px 14px; border-radius: 999px; background: var(--card);
  border: 1.5px solid var(--border); color: var(--ink, #2a1f1a);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.diet-chip.active { background: var(--ink, #2a1f1a); border-color: var(--ink, #2a1f1a); color: #fff; }
.diet-chip:focus-visible, .add-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.tag-popular {
  display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px;
  background: #FFF1D6; color: #9A5B00; font-size: 11px; font-weight: 800; letter-spacing: .01em;
}

.menu-card.has-photo { align-items: flex-start; gap: 14px; padding: 14px 14px 12px; }
.menu-card.has-photo .menu-card-info { padding-top: 2px; }
.menu-card.has-photo .item-name { font-size: 15px; line-height: 1.25; }
.menu-card-media { position: relative; width: 104px; flex: none; padding-bottom: 18px; }
.menu-card-media img {
  display: block; width: 104px; height: 96px; object-fit: cover;
  border-radius: 16px; background: #F3E7D8;
}
.menu-card-media .menu-card-action {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: max-content; align-items: center;
}
.menu-card-media .add-btn { background: #fff; box-shadow: 0 3px 10px rgba(60, 30, 20, .18); min-width: 78px; }
.menu-card-media .qty-stepper { box-shadow: 0 3px 10px rgba(60, 30, 20, .22); }
.menu-card-media .item-note { background: #fff; padding: 4px 9px; border-radius: 8px; box-shadow: 0 2px 8px rgba(60, 30, 20, .15); white-space: nowrap; }
.size-toggle.in-info { display: inline-flex; margin-top: 8px; }
@media (min-width: 700px) {
  .menu-card-media, .menu-card-media img { width: 128px; }
  .menu-card-media img { height: 112px; }
}
