/* ============================================================
   MY DIMSUM — MODERN WARM CULINARY DESIGN SYSTEM
   ============================================================ */

:root {
  --bg-cream: #fffbf5;
  --bg-sand: #f9efe1;
  --surface: #ffffff;
  --surface-warm: #fdf6ec;

  --maroon: #8c1d25;
  --maroon-dark: #6c131a;
  --maroon-deeper: #4b0d12;
  --maroon-soft: #faecef;

  --amber: #f4a929;
  --amber-hover: #e39514;
  --amber-soft: #fef2d6;
  --amber-text: #8f5700;

  --wa-green: #1d9a4f;
  --wa-green-hover: #178241;

  --text-primary: #2b1810;
  --text-secondary: #685147;
  --text-muted: #8f776c;

  --border: rgba(140, 29, 37, 0.12);
  --border-strong: rgba(140, 29, 37, 0.24);

  --shadow-sm: 0 2px 10px rgba(43, 24, 16, 0.05);
  --shadow-md: 0 10px 28px rgba(43, 24, 16, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 24, 16, 0.14);
  --shadow-food: drop-shadow(0 14px 20px rgba(68, 32, 14, 0.19));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --nav-h: 74px;
  --transition: 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--maroon);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(140, 29, 37, 0.24);
}

.btn--primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(140, 29, 37, 0.3);
}

.btn--outline {
  background: var(--surface);
  color: var(--maroon);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background: var(--maroon-soft);
  border-color: var(--maroon);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--amber);
  color: var(--maroon-deeper);
  box-shadow: 0 8px 20px rgba(244, 169, 41, 0.28);
}

.btn--gold:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

.btn--wa {
  background: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(29, 154, 79, 0.28);
}

.btn--wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
}

.btn--subtle {
  background: var(--surface-warm);
  color: var(--text-primary);
  border-color: var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
}

.btn--subtle:hover {
  background: var(--bg-sand);
  border-color: var(--border-strong);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 251, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(140, 29, 37, 0.2);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--maroon);
  letter-spacing: -0.01em;
}

.brand__tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links__item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background-color var(--transition);
}

.nav-links__item:hover {
  color: var(--maroon);
  background: var(--maroon-soft);
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
}

.icon-btn:hover {
  background: var(--maroon-soft);
  border-color: var(--maroon);
  transform: translateY(-1px);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--maroon);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(140, 29, 37, 0.22);
  transition: background-color var(--transition), transform var(--transition);
}

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

.cart-trigger__badge {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: var(--maroon-deeper);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease;
}

.cart-trigger__badge.bump {
  transform: scale(1.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--maroon);
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg-cream);
  padding: 12px 0 18px;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__link {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav__link:hover {
  background: var(--bg-sand);
  color: var(--maroon);
}

.mobile-nav__link--accent {
  color: var(--maroon);
  background: var(--maroon-soft);
  margin-top: 4px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 48px 0 68px;
  overflow: hidden;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-orb--1 {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(244, 169, 41, 0.24) 0%, rgba(244, 169, 41, 0) 70%);
}

.hero__bg-orb--2 {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(140, 29, 37, 0.1) 0%, rgba(140, 29, 37, 0) 70%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--amber-soft);
  border: 1px solid rgba(244, 169, 41, 0.45);
  color: var(--amber-text);
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.status-pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22a755;
  box-shadow: 0 0 0 3px rgba(34, 167, 85, 0.22);
}

.status-pill.is-closed .status-pill__dot {
  background: var(--amber-hover);
  box-shadow: 0 0 0 3px rgba(244, 169, 41, 0.28);
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero__title span {
  color: var(--maroon);
  position: relative;
  display: inline-block;
}

.hero__title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(244, 169, 41, 0.36);
  border-radius: 6px;
  z-index: -1;
}

.hero__desc {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 530px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
}

.hero__meta-item strong {
  font-size: 0.98rem;
  color: var(--maroon);
}

.hero__meta-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero__meta-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* Hero Visual Showcase */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 26px 14px 44px;
}

.hero-stage__main-card {
  position: relative;
  background: radial-gradient(circle at 50% 45%, #fff8eb 0%, #f8e5c6 100%);
  border: 1.5px solid rgba(244, 169, 41, 0.45);
  border-radius: 32px;
  padding: 28px 18px;
  box-shadow: var(--shadow-lg);
}

.hero-stage__main-img {
  width: 100%;
  filter: var(--shadow-food);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage__main-card:hover .hero-stage__main-img {
  transform: scale(1.03) rotate(-1deg);
}

.hero-stage__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--maroon);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(140, 29, 37, 0.3);
}

.badge-star {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--maroon-deeper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.hero-stage__badge strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
}

.hero-stage__badge span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-stage__mini {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px 14px 8px 10px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition);
}

.hero-stage__mini:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
}

.hero-stage__mini img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(43, 24, 16, 0.16));
}

.hero-stage__mini strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-stage__mini span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--maroon);
}

.hero-stage__mini--left {
  left: 0;
  bottom: 8px;
}

.hero-stage__mini--right {
  right: 0;
  bottom: 8px;
}

/* ============================================================
   SECTIONS & HEADERS
   ============================================================ */

.section {
  padding: 72px 0;
}

.section--tinted {
  background: var(--bg-sand);
}

.section-header {
  margin-bottom: 36px;
}

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 42px;
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maroon);
  background: var(--maroon-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.18;
  color: var(--text-primary);
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 540px;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ============================================================
   FEATURES (KEUNGGULAN)
   ============================================================ */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 169, 41, 0.6);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.feature-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   ETALASE MENU
   ============================================================ */

.category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 26px;
  scrollbar-width: none;
}

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

.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.category-pill:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.category-pill.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(140, 29, 37, 0.22);
}

.category-pill__count {
  font-size: 0.76rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(140, 29, 37, 0.08);
  color: var(--maroon);
}

.category-pill.is-active .category-pill__count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(140, 29, 37, 0.28);
}

.menu-card.in-cart {
  border-color: var(--maroon);
  box-shadow: 0 12px 28px rgba(140, 29, 37, 0.14);
}

.menu-card.is-highlighted {
  animation: cardPulse 1.4s ease;
}

@keyframes cardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 169, 41, 0); }
  35% { box-shadow: 0 0 0 6px rgba(244, 169, 41, 0.45); }
}

.menu-card__media {
  position: relative;
  background: radial-gradient(circle at 50% 48%, #fffaf0 0%, #f7e6cb 100%);
  padding: 18px 14px 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-card__img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: var(--shadow-food);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card:hover .menu-card__img {
  transform: scale(1.06);
}

.menu-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.tag--bestseller {
  background: var(--amber);
  color: var(--maroon-deeper);
  box-shadow: 0 4px 12px rgba(244, 169, 41, 0.35);
}

.tag--favorit {
  background: var(--maroon);
  color: #ffffff;
}

.tag--portion {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  border: 1px solid rgba(43, 24, 16, 0.08);
  margin-left: auto;
}

.menu-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card__cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--amber-text);
  margin-bottom: 4px;
}

.menu-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.25;
  color: var(--text-primary);
}

.menu-card__includes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon);
  background: var(--maroon-soft);
  padding: 3px 9px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 10px;
}

.menu-card__desc {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.menu-card__price-wrap {
  display: flex;
  flex-direction: column;
}

.menu-card__price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.menu-card__price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--maroon);
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--maroon);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.add-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--maroon-soft);
  border: 1.5px solid var(--maroon);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.qty-stepper__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--maroon);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), transform var(--transition);
}

.qty-stepper__btn:hover {
  background: var(--maroon-dark);
}

.qty-stepper__btn--minus {
  background: #ffffff;
  color: var(--maroon);
}

.qty-stepper__btn--minus:hover {
  background: var(--bg-sand);
}

.qty-stepper__val {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--maroon);
}

/* ============================================================
   CARA PESAN (STEPS)
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--maroon);
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.step-card__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.step-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ============================================================
   PRE-ORDER / ACARA BANNER
   ============================================================ */

.po-banner {
  position: relative;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deeper) 100%);
  color: #ffffff;
  border-radius: 30px;
  padding: 46px 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.po-banner::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(244, 169, 41, 0.25) 0%, rgba(244, 169, 41, 0) 70%);
  pointer-events: none;
}

.po-banner__pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(244, 169, 41, 0.2);
  border: 1px solid rgba(244, 169, 41, 0.45);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.po-banner__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.2;
}

.po-banner__desc {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
}

.po-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.po-banner__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.po-banner__plate {
  background: radial-gradient(circle, rgba(255, 245, 224, 0.2) 0%, rgba(255, 245, 224, 0.04) 70%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 16px;
}

.po-banner__plate img {
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}

.po-banner__chip {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 10px 16px;
  text-align: center;
}

.po-banner__chip strong {
  display: block;
  color: var(--amber);
  font-size: 0.88rem;
}

.po-banner__chip span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   LOKASI & KONTAK
   ============================================================ */

.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.info-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--maroon-soft);
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.info-item__value {
  display: block;
  font-size: 1.04rem;
  color: var(--text-primary);
  margin: 2px 0;
}

.info-item__value a {
  color: var(--maroon);
  text-decoration: underline;
  text-decoration-color: rgba(140, 29, 37, 0.35);
  text-underline-offset: 3px;
}

.info-item__value a:hover {
  text-decoration-color: var(--maroon);
}

.info-item__note {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon);
  background: var(--amber-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.map-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.map-card__visual {
  position: relative;
  flex: 1;
  min-height: 240px;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #fdf3e2 0%, #f5dfbe 100%);
  border: 1px solid rgba(244, 169, 41, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
  text-align: center;
}

.map-card__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(140, 29, 37, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 29, 37, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-card__pin {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card__pin img {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(140, 29, 37, 0.3);
}

.map-card__pulse {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(140, 29, 37, 0.18);
  animation: mapPulse 2.4s ease-out infinite;
}

@keyframes mapPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-card__tag {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}

.map-card__tag strong {
  display: block;
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1rem;
}

.map-card__tag span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.map-card__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--maroon-deeper);
  color: rgba(255, 255, 255, 0.88);
  padding: 42px 0 36px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.footer__brand img {
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #ffffff;
  display: block;
}

.footer__tagline {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--amber);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__copy {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   FLOATING WA & MOBILE CART BAR
   ============================================================ */

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(29, 154, 79, 0.36);
  transition: transform var(--transition), background-color var(--transition), bottom var(--transition);
}

.floating-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
}

.mobile-cart-bar {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 85;
}

.mobile-cart-bar__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 18px;
  border: none;
  background: var(--maroon);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(75, 13, 18, 0.36);
  cursor: pointer;
}

.mobile-cart-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-cart-bar__count {
  background: var(--amber);
  color: var(--maroon-deeper);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.mobile-cart-bar__label {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-cart-bar__total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   MINI CART DRAWER
   ============================================================ */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43, 24, 16, 0.52);
  backdrop-filter: blur(3px);
  animation: fadeIn 200ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  width: min(100%, 440px);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(43, 24, 16, 0.22);
  animation: slideInRight 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.cart-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--maroon);
}

.cart-drawer__sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cart-drawer__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.text-btn:hover {
  color: var(--maroon);
  background: var(--maroon-soft);
}

.close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-warm);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close-btn:hover {
  background: var(--maroon-soft);
  color: var(--maroon);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.cart-empty {
  text-align: center;
  padding: 56px 20px;
}

.cart-empty__icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.cart-empty h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
}

.cart-empty p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 12px;
  align-items: center;
}

.cart-item__thumb {
  width: 64px;
  height: 54px;
  border-radius: 10px;
  background: var(--surface-warm);
  padding: 4px;
  object-fit: contain;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cart-item__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.85rem;
}

.cart-item__remove:hover {
  color: var(--maroon);
}

.cart-item__unit {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 2px 0 8px;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item__subtotal {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--maroon);
}

/* Checkout Form inside Cart Drawer */
.checkout-form__divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 18px;
}

.checkout-form__heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.req {
  color: var(--maroon);
}

.form-input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(140, 29, 37, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 64px;
}

.form-error {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c62828;
}

.form-notice {
  margin: 8px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--amber-soft);
  border: 1px solid rgba(244, 169, 41, 0.45);
  color: var(--amber-text);
  font-size: 0.8rem;
  line-height: 1.45;
}

.service-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.service-option:hover {
  border-color: var(--maroon);
}

.service-option.is-selected {
  border-color: var(--maroon);
  background: var(--maroon-soft);
}

.service-option__title {
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--text-primary);
}

.service-option.is-selected .service-option__title {
  color: var(--maroon);
}

.service-option__hint {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.cart-drawer__footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
}

.cart-summary__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--maroon);
}

.cart-summary__note {
  margin: 4px 0 2px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 130;
  background: var(--text-primary);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  max-width: calc(100% - 32px);
  text-align: center;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__content {
    text-align: left;
  }

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

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

  .po-banner {
    grid-template-columns: 1fr;
    padding: 36px 30px;
  }

  .po-banner__visual {
    order: -1;
  }

  .po-banner__plate img {
    max-width: 300px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-h: 66px;
  }

  .nav-links,
  .icon-btn--ig,
  .cart-trigger__label {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cart-trigger {
    padding: 8px 12px;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero__cta-group .btn {
    flex: 1 1 auto;
  }

  .hero-stage {
    padding: 20px 4px 52px;
  }

  .hero-stage__badge {
    top: 0;
    right: 0;
    padding: 8px 12px;
  }

  .hero-stage__mini {
    padding: 7px 10px 7px 8px;
  }

  .hero-stage__mini img {
    width: 44px;
    height: 34px;
  }

  .section {
    padding: 52px 0;
  }

  .features-grid,
  .menu-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-wa__text {
    display: none;
  }

  .floating-wa {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    right: 16px;
    bottom: 18px;
  }

  body.has-cart .floating-wa {
    bottom: 84px;
  }

  body.has-cart .footer {
    padding-bottom: 92px;
  }

  body.has-cart .toast {
    bottom: 86px;
  }

  .service-selector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-stage {
    padding: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-stage__main-card {
    grid-column: 1 / -1;
    padding: 22px 12px;
  }

  .hero-stage__mini {
    position: static;
    width: 100%;
    padding: 8px 10px;
  }

  .hero-stage__mini img {
    width: 38px;
    height: 30px;
    flex-shrink: 0;
  }

  .hero-stage__mini strong {
    font-size: 0.78rem;
  }

  .hero-stage__mini span {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
