/* ============================================================
   TOKO KITA — SISTEM PEMESANAN MAKANAN ONLINE
   Tema: Modern Premium Food Ordering (oranye hangat + krem)
   ============================================================ */
:root {
  --primary: #F97316;
  --primary-dark: #C2410C;
  --primary-soft: #FFEDD5;
  --bg: #FFF9F3;
  --surface: #FFFFFF;
  --text: #292524;
  --text-secondary: #78716C;
  --border: #F1E7DC;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --info: #0284C7;
  --info-bg: #E0F2FE;
  --warning: #D97706;
  --warning-bg: #FEF3C7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(249, 115, 22, 0.08);
  --shadow-card: 0 4px 20px rgba(41, 37, 36, 0.06);
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(249,115,22,.28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: var(--primary-soft); color: var(--primary-dark); }
.btn-ghost:hover { background: #FFDDC0; }
.btn-light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-card); }
.btn-light:hover { background: var(--primary-soft); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803D; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Alert ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.alert-success { background: var(--success-bg); color: #166534; border: 1px solid #BBF7D0; }
.alert-danger { background: var(--danger-bg); color: #B91C1C; border: 1px solid #FECACA; }
.alert-info { background: var(--info-bg); color: #075985; border: 1px solid #BAE6FD; }

/* ---------- Badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-confirmed { background: var(--info-bg); color: var(--info); }
.badge-preparing { background: #FFF4CC; color: #A16207; }
.badge-delivering { background: #EDE9FE; color: #6D28D9; }
.badge-completed, .badge-paid { background: var(--success-bg); color: var(--success); }
.badge-cancelled { background: var(--danger-bg); color: var(--danger); }
.badge-outline { background: #fff; border: 1px solid var(--border); color: var(--text-secondary); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand .accent { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 10px; color: var(--text);
  font-weight: 500; font-size: 14.5px;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-soft); color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-badge { position: relative; }
.cart-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark);
}
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.user-chip { display: flex; align-items: center; gap: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

/* ---------- Hero ---------- */
.hero-section { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary-dark);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13px; margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -1px; }
.hero-title .accent { color: var(--primary); }
.hero-sub { font-size: 17px; color: var(--text-secondary); max-width: 460px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3.4; object-fit: cover;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute; bottom: -18px; left: -16px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float-card .emoji { font-size: 26px; }
.hero-float-card .label { font-size: 12px; color: var(--text-secondary); }
.hero-float-card .value { font-weight: 800; font-size: 15px; }
.hero-deco { position: absolute; z-index: -1; border-radius: 30px; }
.hero-deco-1 { width: 220px; height: 220px; background: var(--primary-soft); top: -30px; right: -20px; }
.hero-deco-2 { width: 120px; height: 120px; border: 3px dashed var(--primary); bottom: 30px; right: 40px; opacity: .35; }

/* ---------- Statistik hero + animasi masuk ---------- */
.hero-stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat-value { font-size: 24px; font-weight: 800; }
.hero-stat-label { color: var(--text-secondary); font-size: 13px; }

/* Foto di belakang kartu "Menu Terlaris" muncul perlahan dari bawah */
.hero-img-wrap { animation: heroImageIn 1s cubic-bezier(.22, .68, .32, 1) both; }
.hero-float-card { animation: heroCardIn .7s cubic-bezier(.22, .68, .32, 1) .45s both; }

@keyframes heroImageIn {
  from { opacity: 0; transform: translateY(30px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img-wrap, .hero-float-card { animation: none; }
}

/* ---------- Section heading ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 6px 0 8px; letter-spacing: -.5px; }
.section-desc { color: var(--text-secondary); margin: 0; max-width: 560px; }

/* ---------- Cards kategori ---------- */
.cat-scroll { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; text-decoration: none; color: var(--text);
  transition: var(--transition); cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--primary); }
.cat-icon {
  width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
  background: var(--primary-soft); box-shadow: 0 0 0 4px #FFF7ED, 0 0 0 5px var(--border);
}
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-weight: 700; font-size: 14.5px; }
.cat-count { color: var(--text-secondary); font-size: 12.5px; }

/* ---------- Card makanan ---------- */
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.food-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.food-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.food-card:focus-within { border-color: var(--primary); }
.food-card-link { color: inherit; }
.food-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.food-card:hover .food-card-link { color: var(--primary-dark); }
.food-card .food-foot, .food-card .food-foot form, .food-card .add-btn, .food-card .food-status { position: relative; z-index: 2; }
.food-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--primary-soft); }
.food-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.food-card:hover .food-thumb img { transform: scale(1.05); }
.food-status {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #fff;
}
.food-status.available { background: var(--success); }
.food-status.unavailable { background: var(--text-secondary); }
.food-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.food-cat { color: var(--primary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.food-name { font-weight: 700; font-size: 17px; margin: 0; }
.food-desc { color: var(--text-secondary); font-size: 13.5px; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.food-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.food-price { font-weight: 800; font-size: 17px; color: var(--primary-dark); }
.add-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.add-btn:hover { background: var(--primary-dark); transform: scale(1.08); }
.add-btn:disabled { background: #D6D3D1; cursor: not-allowed; transform: none; }

/* ---------- Rating & ulasan ---------- */
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.stars-base { color: #E7E5E4; }
.stars-fill { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: #F59E0B; }
.rating-row { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-secondary); }
.rating-row .stars { font-size: 14px; }
.rating-score { font-weight: 700; color: var(--text); }
.rating-empty .rating-count { color: #A8A29E; font-style: italic; }

.rating-summary {
  display: flex; align-items: center; gap: 16px; background: var(--primary-soft);
  border-radius: var(--radius); padding: 16px 20px; margin: 18px 0 6px;
}
.rating-summary-empty { background: #FAFAF9; border: 1px dashed var(--border); }
.rating-score-big { font-size: 34px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.rating-meta { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.review-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; margin-top: 8px;
}
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.review-head h3 { margin: 0; font-size: 19px; font-weight: 800; }
.review-form { display: flex; flex-direction: column; gap: 12px; background: #FFFBF7; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 22px; }
.review-form-head { display: flex; flex-direction: column; gap: 2px; }
.review-form .btn { align-self: flex-start; }
.review-form-locked { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { font-size: 30px; line-height: 1; color: #E7E5E4; cursor: pointer; transition: var(--transition); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F59E0B; }
.review-list { display: flex; flex-direction: column; }
.review-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px dashed var(--border); align-items: flex-start; }
.review-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft);
  color: var(--primary-dark); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-item-body { flex: 1; }
.review-item-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.review-item-date { font-size: 12px; color: var(--text-secondary); }
.review-item-body p { margin: 8px 0 0; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Services / CTA ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px;
}
.service-title { font-weight: 700; margin: 0 0 6px; }
.service-desc { color: var(--text-secondary); font-size: 14px; margin: 0; }

/* ---------- Tentang Kami ---------- */
.about-story {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; margin-bottom: 26px;
}
.about-story-text h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.about-story-text p { color: var(--text-secondary); font-size: 14.5px; margin: 0 0 12px; }
.about-story-text p:last-child { margin-bottom: 0; }
.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.about-list svg { flex-shrink: 0; }
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #FFF4E6 0%, #FFDFB8 38%, #FBAE63 68%, #F97316 100%);
  border-radius: 32px; padding: 44px 48px; color: #7C2D12; margin: 40px 0;
  display: grid; grid-template-columns: 1.25fr auto 200px; gap: 32px; align-items: center;
  box-shadow: 0 18px 40px rgba(249, 115, 22, .18);
}
.cta-text { position: relative; z-index: 2; }
.cta-eyebrow {
  display: inline-block; background: rgba(255, 255, 255, .72); color: #C2410C;
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); color: #7C2D12; }
.cta-band p { margin: 0; color: #8A3B10; max-width: 460px; }
.cta-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #7C2D12; }
.cta-rating .stars { font-size: 16px; }
.cta-rating .stars-base { color: rgba(255, 255, 255, .65); }
.cta-action { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-action .btn-primary { box-shadow: 0 10px 24px rgba(194, 65, 12, .28); }
.cta-link { font-size: 13.5px; font-weight: 600; color: #7C2D12; text-decoration: underline; }
.cta-link:hover { color: #431407; }
.cta-photo {
  position: relative; z-index: 2; display: block; width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; border: 8px solid #fff; box-shadow: 0 14px 32px rgba(124, 45, 18, .22);
  transition: var(--transition);
}
.cta-photo:hover { transform: translateY(-4px) rotate(-2deg); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-blob { position: absolute; border-radius: 50%; z-index: 1; }
.cta-blob-1 { width: 260px; height: 260px; background: rgba(255, 255, 255, .28); top: -120px; right: 26%; }
.cta-blob-2 { width: 150px; height: 150px; border: 3px dashed rgba(255, 255, 255, .55); bottom: -70px; right: 250px; }

/* ---------- Footer ---------- */
.footer { background: #292019; color: #EDE9E5; margin-top: 48px; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 15px; }
.footer a { color: #B8AFA7; display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--primary); }
.footer p { color: #B8AFA7; font-size: 14px; }
.footer-brand { font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; color: #8A8177; text-align: center; }
.footer-map { display: block; padding: 4px 0; }
.footer-map .footer-map-label { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }
.footer-map .footer-map-address { display: block; color: #B8AFA7; line-height: 1.5; }
.footer-map:hover .footer-map-address { color: var(--primary); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 14.5px; background: #fff; color: var(--text); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 12.5px; margin-top: 4px; font-weight: 500; }
.form-hint { color: var(--text-secondary); font-size: 12.5px; margin-top: 4px; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; appearance: none; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 240px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card { background: #fff; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-card); width: 100%; max-width: 440px; padding: 36px; }
.auth-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.auth-sub { color: var(--text-secondary); font-size: 14px; margin: 0 0 24px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-secondary); }

/* ---------- Page header ---------- */
.page-head { padding: 36px 0 8px; }
.page-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 0 0 8px; }
.page-sub { color: var(--text-secondary); margin: 0; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 24px; }
.toolbar form { display: contents; }
.search-slot { position: relative; flex: 1; min-width: 200px; }
.search-slot .form-control { padding-left: 40px; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }

/* ---------- Table ---------- */
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-secondary); font-weight: 700; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #FFFBF7; }
.table .thumb-sm { width: 52px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--primary-soft); }
.table-note { color: var(--text-secondary); font-size: 13px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.cart-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.cart-item img { width: 88px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; margin: 0 0 2px; }
.cart-item-cat { color: var(--text-secondary); font-size: 12.5px; }
.cart-item-price { color: var(--primary-dark); font-weight: 800; margin-top: 6px; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-control button { border: none; background: none; width: 34px; height: 34px; font-size: 18px; font-weight: 700; color: var(--primary-dark); cursor: pointer; }
.qty-control button:hover { background: var(--primary-soft); }
.qty-control .qty { width: 40px; text-align: center; border: none; font-weight: 700; background: transparent; }
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-secondary); }
.summary-row.total { border-top: 1.5px dashed var(--border); margin-top: 10px; padding-top: 14px; font-size: 18px; color: var(--text); font-weight: 800; }
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state .icon { font-size: 46px; margin-bottom: 12px; }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { color: var(--text-secondary); margin: 0 0 18px; }

/* ---------- Order / detail ---------- */
.timeline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.status-steps { display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin: 18px 0 4px; }
.status-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.status-step .dot { width: 14px; height: 14px; border-radius: 50%; background: #E7E5E4; border: 3px solid #fff; box-shadow: 0 0 0 1.5px #E7E5E4; }
.status-step.done { color: var(--text); }
.status-step.done .dot { background: var(--success); box-shadow: 0 0 0 1.5px var(--success); }
.status-step.sheet { color: var(--primary-dark); }
.status-step.sheet .dot { background: var(--primary); box-shadow: 0 0 0 1.5px var(--primary); }
.status-line { flex: none; width: 28px; height: 2px; background: #E7E5E4; margin: 0 8px; }
.status-line.done { background: var(--success); }

/* ---------- Toast ---------- */
.toast-container { position: fixed; top: 90px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 14px 18px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.14); font-size: 14px; font-weight: 500; animation: slideIn .3s ease; max-width: 340px; border-left: 4px solid; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.info { border-color: var(--info); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }
.breadcrumb a { color: var(--primary-dark); }
.breadcrumb .sep { color: #D6D3D1; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; margin-top: 24px; justify-content: center; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Keranjang ngambang ---------- */
.floating-cart {
  position: fixed; right: 22px; bottom: 22px; z-index: 1500;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 12px 8px 8px; box-shadow: 0 14px 34px rgba(41,37,36,.2);
  transform: translateY(160%); opacity: 0; pointer-events: none;
  transition: transform .38s cubic-bezier(.22,.68,.32,1), opacity .38s ease;
}
.floating-cart.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.floating-cart.bump { animation: cartBump .45s ease; }
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.09); }
  60% { transform: scale(.97); }
  100% { transform: scale(1); }
}
.floating-cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff;
  box-shadow: 0 8px 18px rgba(249,115,22,.35);
}
.floating-cart-btn:hover { background: var(--primary-dark); color: #fff; }
.floating-cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: #fff; color: var(--primary-dark); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary);
}
.floating-cart-info { display: flex; flex-direction: column; line-height: 1.15; }
.floating-cart-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .7px;
  color: var(--text-secondary); font-weight: 700;
}
.floating-cart-total { font-size: 14px; font-weight: 800; color: var(--primary-dark); }
.floating-cart-view { flex: none; }

/* ---------- Tab (Pesanan Aktif / Riwayat) ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.tabs a {
  padding: 11px 18px; font-weight: 600; font-size: 14.5px; color: var(--text-secondary);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--primary-dark); }
.tabs a.active { color: var(--primary-dark); border-bottom-color: var(--primary); }

/* ---------- Opsi metode pembayaran (checkout) ---------- */
.pay-group { margin-bottom: 18px; }
.pay-group:last-child { margin-bottom: 0; }
.pay-group-title {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-secondary); margin-bottom: 8px;
}
.pay-option {
  align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 9px; cursor: pointer; transition: var(--transition);
}
.pay-option:hover { border-color: var(--primary); background: #FFFBF7; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.pay-option input { margin-top: 3px; }
.pay-option .pay-name { font-weight: 700; font-size: 14.5px; }
.pay-option .pay-desc { font-size: 12.5px; color: var(--text-secondary); }
.pay-ref {
  font-family: "Plus Jakarta Sans", monospace; font-weight: 800; font-size: 16px;
  letter-spacing: 1px; color: var(--primary-dark); background: var(--bg);
  border: 1px dashed var(--primary); border-radius: var(--radius-sm); padding: 12px 14px; text-align: center;
}

@media (max-width: 560px) {
  .floating-cart { right: 12px; bottom: 12px; }
  .floating-cart-info { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .food-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-scroll { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; padding: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .cta-action { align-items: flex-start; }
  .cta-photo { width: 150px; height: 150px; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px 20px 24px; gap: 10px; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow-card);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; }
  .hamburger { display: block; }
  .nav-actions .btn-outline, .nav-actions .btn-primary { display: none; }
}
@media (max-width: 560px) {
  .food-grid { grid-template-columns: 1fr; }
  .cat-scroll { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 28px; }
  .hero-float-card { left: 8px; bottom: -14px; }
  .review-panel { padding: 18px; }
  .star-input label { font-size: 26px; }
}

/* ---------- Notifikasi realtime ---------- */
.notif { position: relative; }
.notif-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft);
  color: var(--primary-dark); border: none; cursor: pointer;
}
.notif-btn:hover { background: var(--primary); color: #fff; }
.notif-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 330px; max-height: 420px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(41,37,36,.14); z-index: 1500; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s ease; overflow: hidden;
}
.notif-panel.open { opacity: 1; visibility: visible; transform: none; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-readall { background: none; border: none; color: var(--primary-dark); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 0; }
.notif-readall:hover { text-decoration: underline; }
.notif-list { overflow-y: auto; max-height: 340px; }
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px dashed var(--border); text-decoration: none; color: var(--text); align-items: flex-start; }
.notif-item:hover { background: var(--primary-soft); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 5px; flex: none; }
.notif-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 500; }
.notif-text small { color: var(--text-secondary); font-size: 11.5px; font-weight: 400; }
.notif-empty { padding: 26px 16px; text-align: center; color: var(--text-secondary); font-size: 13.5px; }

/* ---------- Foto avatar ---------- */
.avatar-img { object-fit: cover; border-radius: 50%; }

@media (max-width: 860px) {
  .notif-panel { right: -80px; width: 300px; }
}