@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --primary: #ff6648;
  --primary-dark: #e94222;
  --secondary: #f9c200;
  --green: #16a34a;
  --dark: #122033;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --bg-light: #f8fafc;
  --bg-soft: #fff7f3;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --transition: all .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,102,72,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(249,194,0,.08), transparent 24%),
    linear-gradient(180deg, #fff8f4 0%, #ffffff 240px, #f6f8fc 100%);
  color: var(--dark);
  overflow-x: hidden;
  padding-bottom: 90px;
}

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

button, a {
  font-family: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
}

a {
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 28px));
  margin: auto;
}

/* ================= HEADER ================= */
.detail-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(233,66,34,.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf2f7;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff3d00;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= BREADCRUMB ================= */
.breadcrumb-wrap {
  padding: 18px 0 10px;
}

.breadcrumb-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb-line a {
  color: var(--muted);
  font-weight: 600;
}

.breadcrumb-line a:hover {
  color: var(--primary-dark);
}

.breadcrumb-line strong {
  color: var(--dark);
}

/* ================= DETAIL SECTION ================= */
.food-detail-section {
  padding: 14px 0 30px;
}

.food-detail-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  align-items: start;
}

.food-gallery-card,
.food-info-card,
.content-card,
.review-card,
.food-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.food-gallery-card,
.food-info-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.main-image-wrap {
  position: relative;
  background: linear-gradient(135deg, #fff3ee, #f8fafc);
  min-height: 520px;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.offer-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(233,66,34,.24);
}

.floating-wishlist {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.floating-wishlist.active,
.floating-wishlist:hover {
  background: var(--primary);
  color: #fff;
}

.thumb-row {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
}

.thumb {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  height: 90px;
}

.thumb img {
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(255,102,72,.18);
}

.food-info-card {
  padding: 26px;
}

.food-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #edf2f7;
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
}

.chip-green {
  background: #ecfdf3;
  color: #15803d;
  border-color: #bbf7d0;
}

.food-title {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--dark);
}

.restaurant-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.restaurant-line a {
  color: var(--primary-dark);
  font-weight: 700;
}

.food-desc {
  color: var(--text);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff6f2, #ffffff);
  border: 1px solid #ffe4dc;
  border-radius: 22px;
  margin-bottom: 20px;
}

.price-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-dark);
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 700;
}

.save-tag {
  background: #fff0b3;
  color: #7c5a00;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.veg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf3;
  color: #166534;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.veg-badge span {
  width: 12px;
  height: 12px;
  border: 2px solid #16a34a;
  border-radius: 2px;
  display: inline-block;
  position: relative;
}

.veg-badge span::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #16a34a;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #edf2f7;
  background: #fff;
  padding: 14px;
  border-radius: 18px;
}

.info-box i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff3ee;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 800;
}

.info-box span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.variant-block h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.size-card {
  display: block;
  padding: 14px;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.size-card input {
  display: none;
}

.size-card.active {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(255,102,72,.12);
  background: #fff8f4;
}

.size-title {
  display: block;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.size-card small {
  color: var(--muted);
  font-size: 12px;
}

.quantity-cart-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.quantity-cart-row .cart-action-slot {
  flex: 1;
  min-width: 0;
}

.quantity-cart-row .cart-stepper--inline {
  width: 100%;
  max-width: 220px;
  justify-content: space-between;
}

.quantity-cart-row .cart-stepper-btn {
  width: 44px;
  height: 48px;
}

.qty-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  overflow: hidden;
  min-width: 130px;
  box-shadow: var(--shadow-sm);
}

.qty-box button {
  width: 42px;
  height: 48px;
  background: #fff;
  color: var(--dark);
  font-size: 20px;
  font-weight: 700;
}

.qty-box span {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}

.add-cart-btn {
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(233,66,34,.24);
      padding: 0 29px;
}

.add-cart-btn:hover {
  transform: translateY(-2px);
}

.add-cart-btn.success {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row i {
  color: var(--green);
  margin-right: 6px;
}

/* ================= TABS ================= */
.detail-tabs-section {
  padding: 10px 0 20px;
}

.tabs-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e7edf5;
  color: var(--dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.content-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--dark);
}

.content-card p {
  color: var(--text);
  line-height: 1.8;
  font-size: 14px;
}

.detail-list {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.detail-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.nutri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.nutri-box {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #ecf0f4;
  text-align: center;
}

.nutri-box strong {
  display: block;
  font-size: 24px;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 6px;
}

.nutri-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* ================= ADDONS ================= */
.addons-grid {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  cursor: pointer;
}

.addon-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.addon-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.addon-card span {
  color: var(--muted);
  font-size: 13px;
}

.addon-card b {
  color: var(--primary-dark);
  font-size: 14px;
  white-space: nowrap;
}

.special-note {
  margin-top: 20px;
}

.special-note h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 800;
}

.special-note textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid #e7edf5;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  resize: vertical;
  outline: none;
  font-size: 14px;
  color: var(--dark);
}

/* ================= REVIEWS ================= */
.review-summary {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.review-score {
  background: linear-gradient(135deg, #fff7f3, #fff);
  border: 1px solid #ffe4dc;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.review-score strong {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.review-score span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.review-score i {
  color: #fbbf24;
}

.rating-bars {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.bar-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 12px;
}

.bar-row + .bar-row {
  margin-top: 12px;
}

.bar-row span {
  font-weight: 800;
  color: var(--dark);
  font-size: 13px;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  border-radius: 22px;
  padding: 18px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.user-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.user-mini strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
}

.user-mini small {
  color: var(--muted);
  font-size: 12px;
}

.mini-rate {
  background: #ecfdf3;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.review-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

/* ================= RESTAURANT MAP ================= */
.map-fake {
  margin-top: 16px;
  min-height: 220px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff3ee, #f8fafc);
  border: 1px dashed #ffcfbf;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.map-fake i {
  font-size: 34px;
}

/* ================= YOU MAY ALSO LIKE (detail page) ================= */
.related-section {
  padding: 12px 0 48px;
}

.related-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.related-section-head h2 {
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.related-see-all {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

.related-see-all:hover {
  color: var(--primary);
}

.foods-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 640px) {
  .foods-grid {
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .foods-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .foods-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.related-section .food-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.related-section .food-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-section .food-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #fff3ee, #f8fafc);
  flex-shrink: 0;
}

.related-section .food-img a {
  display: block;
  height: 100%;
}

.related-section .food-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.related-section .food-content {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.related-section .food-content h3 {
  font-size: clamp(0.9rem, 3.2vw, 1rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-section .food-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}

.related-section .food-footer strong {
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.related-section .add-btn {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(233, 66, 34, 0.22);
}

.related-section .add-btn:hover {
  filter: brightness(1.05);
}

/* ================= SIMILAR ITEMS ================= */
.similar-section {
  padding: 24px 0 34px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
}

.section-head a {
  color: var(--primary-dark);
  font-weight: 800;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.food-card {
  border-radius: 24px;
  overflow: hidden;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.food-card-img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #fff3ee, #f8fafc);
  overflow: hidden;
}

.food-card-img img {
  height: 100%;
  object-fit: cover;
}

.food-card:hover .food-card-img img {
  transform: scale(1.06);
}

.small-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(15,23,42,.85);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.small-badge.yellow {
  background: #facc15;
  color: #111;
}

.small-badge.green {
  background: #16a34a;
}

.small-badge.pink {
  background: #ec4899;
}

.food-card-body {
  padding: 16px;
}

.food-card-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.food-card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.food-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.food-card-footer strong {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
}

.food-card-footer button {
  border-radius: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* ================= MOBILE STICKY CART ================= */
.mobile-sticky-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  z-index: 1200;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.85) 35%, rgba(255,255,255,.98));
}

.mobile-sticky-inner {
  width: min(760px, 100%);
  margin: auto;
  border-radius: 22px;
  background: rgba(15,23,42,.96);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.mobile-sticky-inner strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.mobile-sticky-inner span {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.mobile-sticky-inner button {
  border-radius: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .food-detail-grid {
    grid-template-columns: 1fr;
  }

  .main-image-wrap,
  .main-image-wrap img {
    min-height: 420px;
  }

  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .food-info-card {
    padding: 20px;
  }

  .food-title {
    font-size: 28px;
  }

  .content-grid,
  .review-summary,
  .size-options {
    grid-template-columns: 1fr;
  }

  .quantity-cart-row {
    flex-direction: column;
    align-items: stretch;
  }

  .thumb {
    height: 74px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .similar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .food-card-img {
    height: 170px;
  }
}

@media (max-width: 576px) {
  body {
    padding-bottom: 100px;
  }

  .container {
    width: min(100%, calc(100% - 20px));
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-text small {
    display: none;
  }

  .food-title {
    font-size: 24px;
  }

  .main-image-wrap,
  .main-image-wrap img {
    min-height: 300px;
  }

  .food-gallery-card,
  .food-info-card,
  .content-card {
    border-radius: 24px;
  }

  .current-price {
    font-size: 24px;
  }

  .thumb-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .thumb {
    height: 64px;
    border-radius: 12px;
  }

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

  .food-card-img {
    height: 220px;
  }

  .mobile-sticky-inner {
    border-radius: 18px;
    padding: 12px 14px;
  }

  .mobile-sticky-inner button {
    padding: 11px 14px;
    font-size: 13px;
  }
}

/* Mobile cart toast & active order (main.js) */
.foodigo-mobile-stack {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 520px);
  z-index: 1285;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
  box-sizing: border-box;
}

.foodigo-mobile-stack > * {
  pointer-events: auto;
}

.foodigo-cart-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
  font-size: 13px;
  font-weight: 600;
}

.foodigo-cart-toast[hidden] {
  display: none !important;
}

.foodigo-cart-toast-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.foodigo-cart-toast-msg i {
  color: #fdba74;
}

.foodigo-cart-toast-link {
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 102, 72, 0.95);
}

.foodigo-cart-toast-link:hover {
  color: #fff;
  filter: brightness(1.05);
}

.foodigo-active-order-bar[hidden] {
  display: none !important;
}

.foodigo-active-order-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
}

.foodigo-active-order-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: foodigo-order-pulse 1.5s ease-in-out infinite;
}

@keyframes foodigo-order-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.foodigo-active-order-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foodigo-active-order-text strong {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.foodigo-active-order-status {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.foodigo-active-order-cta {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}

@media (min-width: 993px) {
  .foodigo-mobile-stack {
    display: none !important;
  }
}

@media (max-width: 992px) {
  body.foodigo-has-active-order {
    padding-bottom: 140px;
  }
}

@media (max-width: 576px) {
  body.foodigo-has-active-order {
    padding-bottom: 152px;
  }
}
