/* ============================================================
   dinasty.css — Redesain "RM Dinasty" (tema merah–emas–krem)
   Dipakai khusus oleh index.html sesuai referensi UI baru.
   Halaman lain (order, login, admin) tetap memakai style.css.
   ============================================================ */

:root {
  --brand-red: #c62828;
  --brand-red-hover: #b02222;
  --brand-maroon: #8f1717;
  --brand-dark: #8b0000;
  --brand-ink: #3d0909;
  --brand-heading: #9b2226;
  --brand-gold: #f6a821;
  --brand-gold-hover: #e8960d;
  --brand-gold-ink: #4a2500;
  --brand-gold-soft: #ffd8a8;

  --bg-cream: #fcfaf5;
  --hero-top: #ffe3e3;
  --surface: #ffffff;
  --surface-soft: #fdf6ef;
  --line: #f0e0d6;
  --ink: #212529;
  --muted: #6f6a63;

  --shadow-sm: 0 2px 8px rgba(143, 23, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(143, 23, 23, 0.1);
  --shadow-lg: 0 16px 36px rgba(143, 23, 23, 0.16);
  --overlay: rgba(45, 8, 8, 0.55);

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --header-h: 78px;
  --focus-ring: 0 0 0 3px rgba(246, 168, 33, 0.45);
}

/* ── Mode gelap (mengikuti theme.js: [data-theme="dark"]) ── */
[data-theme="dark"] {
  --bg-cream: #171210;
  --hero-top: #2a1310;
  --surface: #221a16;
  --surface-soft: #2a201a;
  --line: #3d2c24;
  --ink: #f3ece5;
  --muted: #b3a79c;
  --brand-ink: #ffd9c9;
  --brand-heading: #ff8a80;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
  --overlay: rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

main { flex: 1 0 auto; width: 100%; }
body {
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  padding-bottom: 0; min-height: 100vh;
  min-height: 100dvh; display: flex; flex-direction: column;
}

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ════════════════════════════════════════════════════════════
   1. TOP STRIP — pengumuman latar merah gelap
   ════════════════════════════════════════════════════════════ */
.top-strip {
  background: var(--brand-maroon);
  color: #ffe3e3;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 8px 16px;
}

/* ════════════════════════════════════════════════════════════
   2. NAVBAR — fasad merah crimson, logo RD emas
   ════════════════════════════════════════════════════════════ */
.fasad-header {
  background: var(--brand-red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--brand-gold);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--header-h);
  padding: 10px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand-gold);
  color: var(--brand-red-hover);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-action:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.btn-gold:hover { background: var(--brand-gold-hover); }

.btn-outline-white {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.26); }

/* Sakelar tema & hamburger */
.theme-toggle,
.menu-toggle-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover,
.menu-toggle-btn:hover { background: rgba(255, 255, 255, 0.26); }

.menu-toggle-btn { display: none; font-size: 18px; }

/* Tautan navigasi (desktop: baris kecil; mobile: panel dropdown) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav-links > a:hover { background: rgba(255, 255, 255, 0.16); }

/* Elemen sesi dari nav-session.js */
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-admin:hover { filter: brightness(1.1); }
.nav-admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

.nav-account { position: relative; }
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
}
.nav-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.has-admin .nav-avatar { background: #fff; color: var(--brand-red); }
.nav-chevron { font-size: 10px; transition: transform 0.2s; }
.nav-account.open .nav-chevron { transform: rotate(180deg); }

.nav-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 60;
}
.nav-account-menu[hidden] { display: none; }
.nav-account-email {
  font-size: 11.5px;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  word-break: break-all;
}
.nav-account-menu a,
.nav-account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 12px;
  text-decoration: none;
  cursor: pointer;
}
.nav-account-menu a:hover,
.nav-account-menu button:hover { background: var(--surface-soft); color: var(--brand-red); }
.nav-account-menu button[data-nav-logout] { color: var(--brand-red); }

/* ════════════════════════════════════════════════════════════
   3. HERO — latar krem bergradasi merah muda, heading serif
   ════════════════════════════════════════════════════════════ */
.hero-banner {
  background: var(--hero-top);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-red);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--brand-ink);
  margin-bottom: 18px;
}
.hero-title em {
  color: var(--brand-heading);
  font-style: italic;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .btn-action { padding: 13px 26px; font-size: 14px; }

.hero-cta-outline {
  background: var(--surface);
  border: 1.5px solid var(--brand-red);
  color: var(--brand-red);
}
.hero-cta-outline:hover { background: #fff5f5; }
[data-theme="dark"] .hero-cta-outline:hover { background: rgba(198, 40, 40, 0.15); }

.hero-visual { position: relative; }

.hero-img-box {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-lg);
  background: var(--surface-soft);
}
.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-banner-card {
  position: absolute;
  bottom: -18px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}
.floating-banner-card .icon { font-size: 26px; line-height: 1; }
.floating-banner-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--brand-red);
  line-height: 1.35;
}
.floating-banner-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════
   4. PILLS LAYANAN — deretan filter di bawah hero
   ════════════════════════════════════════════════════════════ */
.services-bar {
  position: sticky;
  top: calc(var(--header-h) + 3px);
  z-index: 40;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.services-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.services-list::-webkit-scrollbar { display: none; }

.category-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 20px; }
.category-filter label { font-weight: 700; color: var(--ink); }
.category-filter select { min-height: 44px; max-width: 100%; padding: 10px 36px 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.category-filter select:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
#categoryResult { color: var(--muted); font-size: 13px; }
@media (max-width: 480px) {
  .category-filter select { flex: 1; min-width: 0; }
  #categoryResult { flex-basis: 100%; }
}

.serv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.serv-chip:hover { border-color: var(--brand-red); color: var(--brand-red); }
.serv-chip.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════════════════════════════════
   5. KATALOG MENU — kartu dinamis dari script.js (#menuGrid)
   ════════════════════════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 44px 0 24px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  color: var(--brand-ink);
}
.section-head .section-description {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}
.section-note {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-red);
  white-space: nowrap;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
}

.menu-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-soft);
}

.menu-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px;
}

.menu-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.menu-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-ink);
}
.menu-price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-red);
  white-space: nowrap;
}
.menu-description {
  flex: 1;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.quantity-row label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.quantity-control button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.quantity-control button:hover { background: var(--brand-red); color: #fff; }
.quantity-input {
  width: 42px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-input:focus { box-shadow: none; outline: none; }

.empty-order {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 0 20px;
}

.menu-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 8px;
  text-align: center;
}
.menu-checkout p { font-size: 14px; color: var(--muted); }

/* Skeleton saat menu memuat — solid + denyut opacity */
.skeleton {
  background: var(--surface-soft);
  border-radius: 8px;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.skeleton-image { width: 100%; height: 200px; border-radius: 0; }
.skeleton-content { padding: 20px; display: grid; gap: 12px; }
.skeleton-title { height: 22px; width: 65%; }
.skeleton-text { height: 14px; width: 90%; }
.skeleton-text.short { width: 45%; }
.skeleton-btn { height: 36px; border-radius: 999px; margin-top: 8px; }

/* ════════════════════════════════════════════════════════════
   6. BAR KERANJANG MELAYANG (total porsi terpilih)
   ════════════════════════════════════════════════════════════ */
.floating-order-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--brand-maroon);
  color: #fff;
  border-radius: 18px;
  padding: 13px 22px;
  box-shadow: 0 14px 36px rgba(143, 23, 23, 0.45);
  z-index: 70;
}
.floating-order-bar[hidden] { display: none; }

.order-info { min-width: 0; }
.order-info strong {
  display: block;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.order-info small {
  display: block;
  font-size: 11.5px;
  color: #ffd8d8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Daftar mentah dari renderSummary() disembunyikan; disalin ke detail bar */
.cart-summary-source { display: none; }

.order-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.order-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-gold);
  white-space: nowrap;
}
.order-cta .btn-action { padding: 10px 22px; }

/* ════════════════════════════════════════════════════════════
   7. FOOTER — merah gelap, aksen emas, 3 kolom semantik
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brand-dark);
  color: #ffe9e0;
  border-top: 4px solid var(--brand-gold);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding: 48px 20px 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--brand-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold-soft);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #ffd9d0;
  max-width: 340px;
}

.site-footer h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 14px;
}

.footer-nav a {
  display: block;
  width: fit-content;
  color: #ffe9e0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0; /* area sentuh besar untuk pengguna mobile */
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--brand-gold); }

.footer-contact { font-style: normal; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #ffe9e0;
  padding: 5px 0;
}
.footer-contact .contact-icon { flex-shrink: 0; }
.footer-contact a {
  color: #ffe9e0;
  font-weight: 700;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--brand-gold); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 233, 224, 0.22);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #ffd9d0;
}
.footer-bottom-inner a {
  color: #ffe9e0;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 2px;
}
.footer-bottom-inner a:hover { color: var(--brand-gold); }

/* ════════════════════════════════════════════════════════════
   8. TOMBOL GENERIK (dipakai panel admin & CTA bawah grid)
   ════════════════════════════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.button-primary {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
  box-shadow: 0 4px 14px rgba(246, 168, 33, 0.35);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(246, 168, 33, 0.4); }
.button-soft {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--brand-red);
}
.button-soft:hover { border-color: var(--brand-red); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════
   9. PANEL ADMIN (modal) — gaya Dinasty
   ════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--overlay);
  backdrop-filter: blur(3px);
}
.modal-backdrop.show { display: flex; }

.admin-modal {
  width: min(760px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-maroon);
  color: #fff;
  padding: 16px 22px;
}
.admin-header h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}
.close-modal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.close-modal:hover { background: rgba(255, 255, 255, 0.3); }

.admin-main { flex: 1 0 auto; width: 100%; }
.admin-body {
  overflow-y: auto;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.admin-auth { display: grid; gap: 14px; }
.admin-intro { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.field { display: grid; gap: 6px; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 11px 12px;
}
.field input:focus { border-color: var(--brand-red); box-shadow: none; }

.admin-settings {
  display: grid;
  gap: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.toggle-row input { width: 20px; height: 20px; accent-color: var(--brand-red); }

.admin-subtitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-ink);
  border-left: 4px solid var(--brand-gold);
  padding-left: 10px;
  margin-top: 6px;
}

.admin-menu-list { display: grid; gap: 12px; }
.admin-menu-item {
  display: grid;
  grid-template-columns: 64px 1fr 110px 1.4fr auto;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
}
.admin-menu-item img {
  width: 64px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-soft);
}
.admin-menu-item input {
  min-width: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 9px;
}
.admin-menu-item .delete-menu {
  border: 0;
  border-radius: 8px;
  background: #fbeaea;
  color: var(--brand-red);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}
.admin-menu-item .delete-menu:hover { background: var(--brand-red); color: #fff; }
.admin-menu-item .image-input { padding: 6px; }

.admin-actions { display: flex; justify-content: flex-start; }

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: end;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.remove-date {
  border: 0;
  border-radius: 8px;
  background: #fbeaea;
  color: var(--brand-red);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}
.remove-date:hover { background: var(--brand-red); color: #fff; }
.closed-dates-empty { font-size: 13px; color: var(--muted); }

.admin-save-row {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  /* Latar solid + garis pemisah menggantikan fade gradient. */
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 14px 0 4px;
}

/* ════════════════════════════════════════════════════════════
   10. TOAST — notifikasi dari script.js
   ════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 104px;
  right: 20px;
  z-index: 100;
  display: grid;
  gap: 10px;
  justify-items: end;
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
  background: var(--brand-ink);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 16px;
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-item.toast-success { border-left: 4px solid var(--brand-gold); }
.toast-item.toast-error { border-left: 4px solid #ff8a80; }
.toast-item.toast-info { border-left: 4px solid #ffd8a8; }
.toast-item.hiding { opacity: 0; transform: translateY(12px); transition: 0.3s; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   11. RESPONSIF
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-desc { max-width: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  /* .footer-grid handled by auto-fit */
}

@media (max-width: 900px) {
  .menu-toggle-btn { display: grid; }
  .header-actions .btn-outline-white { display: none; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--brand-red-hover);
    border-bottom: 3px solid var(--brand-gold);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    font-size: 14.5px;
    padding: 12px 14px; /* area sentuh besar */
  }
  .nav-account { width: 100%; }
  .nav-account-btn { width: 100%; justify-content: flex-start; }
  .nav-account-menu { left: 0; right: 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .top-strip { font-size: 11px; }
  .brand-emblem { width: 42px; height: 42px; font-size: 19px; }
  .brand-text h1 { font-size: 18px; }
  .brand-text p { font-size: 9px; }
  .menu-grid { grid-template-columns: 1fr; }
  .hero-banner { padding: 36px 0 40px; }
  .floating-banner-card { left: 8px; bottom: -14px; max-width: 240px; padding: 11px 14px; }
  .section-head { margin-top: 34px; }
  /* .footer-grid handled by auto-fit */
  .footer-bottom-inner { justify-content: center; text-align: center; }

  .floating-order-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
    bottom: 12px;
  }
  .order-info small { white-space: normal; }
  .order-cta { justify-content: space-between; }

  .admin-menu-item { grid-template-columns: 56px 1fr auto; }
  .admin-menu-item input { grid-column: span 1; }
  .schedule-row { grid-template-columns: 1fr; }
  .toast-container { right: 12px; left: 12px; justify-items: stretch; }
}

/* ============================================================
   ENHANCEMENTS: LUCIDE ICONS & MICRO-INTERACTIONS
   ============================================================ */
.strip-icon, .nav-icon, .btn-icon, .chip-icon, .f-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2.2px;
}
.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.strip-divider {
  opacity: 0.5;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Social Proof Pill */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  font-size: 13px;
}
.proof-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 14px;
}
.proof-text strong {
  color: var(--brand-heading);
}

/* Hero Guarantees */
.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-ink);
}
.guarantee-item svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
}

/* Bento & Menu enhancements */
.badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-maroon);
  background: #fee2e2;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.section-note svg {
  width: 15px;
  height: 15px;
  vertical-align: text-bottom;
  color: var(--brand-gold);
}

/* Cart pill icon */
.cart-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-pill-icon svg {
  width: 20px;
  height: 20px;
}
.order-total-block {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.total-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer enhancements */
.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-emblem {
  width: 44px;
  height: 44px;
  background: var(--brand-gold);
  color: var(--brand-maroon);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 20px;
  color: #fef3c7;
  line-height: 1;
}
.footer-badges .badge-icon {
  width: 14px;
  height: 14px;
  color: var(--brand-gold);
  flex-shrink: 0;
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}
.footer-social-links a:hover {
  color: var(--brand-gold);
}

/* ============================================================
   PIXEL-PERFECT MOBILE FIXES (No Overflow, Pinned Footer, Crisp Typography)
   ============================================================ */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.fasad-header {
  width: 100%;
  box-sizing: border-box;
}

.top-strip {
  width: 100%;
  box-sizing: border-box;
}

.site-footer {
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}

.footer-bottom {
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* Mobile responsive constraints */
@media (max-width: 640px) {
  .header-inner {
    padding: 8px 0;
    gap: 8px;
  }
  .brand-text h1 {
    font-size: 16px;
    letter-spacing: 0.02em;
  }
  .brand-text p {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
  .brand-emblem {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 8px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-gold {
    padding: 7px 12px;
    font-size: 12px;
    gap: 4px;
  }
  .header-actions .btn-gold span {
    display: inline;
  }
  .theme-toggle,
  .menu-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  
  /* Footer typography & contrast */
  .footer-grid {
    padding: 32px 16px 24px;
    gap: 24px;
  }
  .site-footer h3 {
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--brand-gold) !important;
  }
  .footer-logo {
    font-size: 22px;
  }
  .footer-desc {
    font-size: 12.5px;
    line-height: 1.6;
  }
  .footer-contact p {
    font-size: 12.5px;
    gap: 8px;
  }
  .footer-contact .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
  }
  .footer-contact .contact-icon svg {
    width: 15px;
    height: 15px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 0 16px;
  }
  .footer-social-links {
    justify-content: center;
  }
}

/* ============================================================
   FULLY ADJUSTABLE LAYOUT (any viewport, any zoom level)
   ============================================================ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  overflow-x: clip;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(12px, 3.2vw, 24px);
  box-sizing: border-box;
}

/* Fluid hero + section typography */
.hero-title {
  font-size: clamp(26px, 5.2vw, 52px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.hero-desc {
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.65;
  max-width: 60ch;
}
.section-head h2,
.section-head .section-title {
  font-size: clamp(20px, 3.1vw, 34px);
  line-height: 1.2;
}
.section-description {
  font-size: clamp(12.5px, 1.4vw, 15px);
  max-width: 68ch;
}

/* Auto-fitting grids: 1 → 2 → 3 columns based on real space */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
.menu-card,
.menu-card img { min-width: 0; }
.menu-title { font-size: clamp(15px, 1.5vw, 18px); overflow-wrap: anywhere; }
.menu-description { font-size: clamp(12.5px, 1.2vw, 14px); }
.menu-price { font-size: clamp(14px, 1.5vw, 17px); white-space: nowrap; }

/* Footer: fluid 1 → 2 → 3 columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(28px, 4vw, 52px) clamp(12px, 3.2vw, 24px) clamp(24px, 3vw, 42px);
}
.footer-bottom-inner {
  padding-inline: clamp(12px, 3.2vw, 24px);
  gap: clamp(8px, 1.5vw, 16px);
}

/* Buttons never overflow their row */
.btn-action,
.button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font-size: clamp(12.5px, 1.2vw, 14px);
  padding-inline: clamp(14px, 2vw, 22px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 14px);
}

/* Images & media always constrain */
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }

/* Floating cart bar adapts */
.floating-order-bar {
  left: clamp(8px, 2vw, 24px);
  right: clamp(8px, 2vw, 24px);
  max-width: min(1100px, calc(100% - 16px));
  margin-inline: auto;
}

/* Horizontal pill scroller never forces page width */
.services-list {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.serv-chip { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 420px) {
  .brand-text h1 { font-size: clamp(14px, 4.2vw, 18px); }
  .brand-text p { font-size: clamp(8px, 2.2vw, 9.5px); letter-spacing: 0.08em; }
  .top-strip-inner { gap: 6px; font-size: 10.5px; }
  .strip-divider { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   HARD VIEWPORT CONTAINMENT — no element may exceed screen width
   ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

/* Every structural wrapper is capped to the viewport */
header, nav, main, section, aside, footer, div {
  max-width: 100%;
}

.container,
.top-strip,
.top-strip-inner,
.fasad-header,
.header-inner,
.hero-banner,
.hero-grid,
.hero-content,
.hero-visual,
.hero-img-box,
.services-bar,
.services-list,
.menu-section,
.menu-grid,
.menu-card,
.menu-content,
.site-footer,
.footer-grid,
.footer-bottom,
.footer-bottom-inner,
.floating-order-bar {
  max-width: 100%;
  min-width: 0;
}

/* Long unbroken strings never stretch the page */
h1, h2, h3, h4, p, span, a, li, small, strong, em, td, th, label, button {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Headline must wrap, never ellipsis */
.hero-title {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
}

/* CTA row: stack full-width buttons when space runs out */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.hero-actions .btn-action {
  flex: 0 1 auto;
  min-width: 0;
}

.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: 100%;
}
.guarantee-item { min-width: 0; }

/* Trust/social pill wraps */
.hero-social-proof {
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
}

/* Media never exceeds */
img, picture, video, canvas, svg, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ══ MOBILE ≤ 480px: single-column, full-width taps ══ */
@media (max-width: 480px) {
  .container { padding-inline: 14px; }
  .header-inner { padding-inline: 14px; }

  /* Hero block stacks and breathes */
  .hero-banner { padding: 24px 0 32px; }
  .hero-grid { gap: 22px; }
  .hero-content { width: 100%; }

  /* Buttons occupy the full row — no clipped CTA */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 9px; }
  .hero-actions .btn-action {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 13.5px;
  }

  /* Trust badges stack vertically for readability */
  .hero-guarantees {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 18px;
  }

  /* Hero photo full width, natural aspect */
  .hero-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 3px;
    border-radius: 16px;
  }
  .hero-img-box img { width: 100%; height: 100%; object-fit: cover; }

  .floating-banner-card {
    position: static;
    margin-top: 12px;
    max-width: 100%;
    width: 100%;
    left: auto; right: auto; bottom: auto;
  }

  /* Typography scales down cleanly */
  .hero-title { font-size: clamp(24px, 7.2vw, 32px); line-height: 1.15; }
  .hero-desc { font-size: 13.5px; line-height: 1.65; margin-bottom: 20px; }
  .proof-stars { font-size: 12px; letter-spacing: 1px; }
  .hero-social-proof { font-size: 11.5px; padding: 5px 11px; gap: 6px; }

  /* Top strip wrap, no clipping */
  .top-strip-inner {
    flex-wrap: wrap;
    gap: 4px 8px;
    justify-content: center;
    padding-inline: 10px;
  }
  .strip-item { font-size: 10.5px; white-space: normal; }
  .strip-divider { display: none; }

  /* Header: brand shrinks, actions stay on one row */
  .header-inner { gap: 6px; flex-wrap: nowrap; }
  .brand-wrap { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .brand-emblem { width: 34px; height: 34px; font-size: 14px; flex-shrink: 0; }
  .brand-text { min-width: 0; }
  .brand-text h1 { font-size: 14px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text p { font-size: 7.5px; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { gap: 5px; flex-shrink: 0; }
  .header-actions .btn-gold { padding: 7px 10px; font-size: 11px; }
  .theme-toggle, .menu-toggle-btn { width: 32px; height: 32px; font-size: 13px; }

  /* Footer stacks */
  .footer-grid { padding: 26px 14px 20px; gap: 22px; }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-inline: 14px;
  }
  .footer-social-links { justify-content: center; flex-wrap: wrap; }
  .footer-logo { font-size: 20px; }
  .footer-desc { max-width: 100%; }

  /* Floating cart bar fits */
  .floating-order-bar {
    left: 8px; right: 8px; bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 10px;
    gap: 8px;
  }
  .order-info { min-width: 0; }
  .order-cta { gap: 8px; }
}

/* ══ TABLET / SMALL LAPTOP 480–900px ══ */
@media (min-width: 481px) and (max-width: 900px) {
  .hero-actions .btn-action { padding: 12px 18px; font-size: 13px; }
  .hero-img-box { aspect-ratio: 16 / 10; }
  .menu-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
}


/* ══════════════════════════════════════════════════════════════
   SEAMLESS AUTOFIT: NAVBAR & FOOTER
   ══════════════════════════════════════════════════════════════ */
.fasad-header {
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 24px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.brand-wrap {
  flex: 0 1 auto;
  min-width: 0;
  gap: clamp(8px, 1.5vw, 14px);
}
.brand-emblem {
  width: clamp(34px, 4.5vw, 48px);
  height: clamp(34px, 4.5vw, 48px);
  font-size: clamp(14px, 2vw, 22px);
  border-radius: clamp(8px, 1.2vw, 12px);
  flex-shrink: 0;
}
.brand-text {
  min-width: 0;
}
.brand-text h1 {
  font-size: clamp(14px, 2.3vw, 23px);
  line-height: 1.15;
}
.brand-text p {
  font-size: clamp(7.5px, 1.1vw, 10.5px);
  letter-spacing: clamp(0.06em, 0.15vw, 0.18em);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
  flex-shrink: 0;
}
.header-actions .btn-action {
  padding: clamp(7px, 1vw, 10px) clamp(10px, 1.5vw, 18px);
  font-size: clamp(11px, 1.1vw, 13px);
}
.theme-toggle,
.menu-toggle-btn {
  width: clamp(32px, 4vw, 40px);
  height: clamp(32px, 4vw, 40px);
  font-size: clamp(13px, 1.5vw, 16px);
  flex-shrink: 0;
}

/* Footer Grid Pure Autofit */
.site-footer {
  width: 100%;
}
.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  gap: clamp(24px, 3.5vw, 44px) !important;
  padding-block: clamp(32px, 4.5vw, 52px) !important;
  box-sizing: border-box;
  width: 100%;
}
.footer-brand,
.footer-nav,
.footer-contact {
  min-width: 0;
  width: 100%;
}
.footer-desc {
  max-width: 100%;
  font-size: clamp(12.5px, 1.3vw, 14px);
  line-height: 1.7;
}
.footer-nav a {
  font-size: clamp(13px, 1.3vw, 14.5px);
}
.footer-contact p {
  font-size: clamp(12.5px, 1.3vw, 14px);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}


/* ══════════════════════════════════════════════════════════════
   GLOBAL FLUID FULL-WIDTH LAYOUT (No Floating Box, Edge-to-Edge)
   ══════════════════════════════════════════════════════════════ */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  background: var(--bg-cream) !important;
}

/* Make Top Strip, Header, Hero, Services, and Footer span 100% edge-to-edge */
.top-strip,
.fasad-header,
.hero-banner,
.services-bar,
.site-footer,
.footer-bottom {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Expand container so it doesn't leave large empty gaps on wide/standard screens */
.container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding-inline: clamp(16px, 4vw, 48px) !important;
  box-sizing: border-box !important;
}

/* Top Strip Inner Spacing */
.top-strip-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Header Inner Spacing - Full-width flex distribution */
.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  gap: clamp(10px, 2vw, 32px) !important;
  padding-block: 10px !important;
}

.brand-wrap {
  flex-shrink: 0 !important;
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 2vw, 28px) !important;
  flex: 1 1 auto !important;
}

.header-actions {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(8px, 1.2vw, 14px) !important;
}

/* Hero Grid: Full balanced layout */
.hero-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)) !important;
  gap: clamp(24px, 4vw, 64px) !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hero-content {
  width: 100% !important;
  max-width: 100% !important;
}

.hero-visual {
  width: 100% !important;
  max-width: 100% !important;
}

/* Mobile & Tablet Overrides for Nav links */
@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .nav-links.open {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
  .top-strip-inner {
    justify-content: center !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   REFINED 2-COLUMN BALANCED FOOTER (Clean, Simple, Professional)
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brand-dark) !important;
  color: #ffe9e0 !important;
  border-top: 3px solid var(--brand-gold) !important;
  width: 100% !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
  gap: clamp(28px, 4.5vw, 64px) !important;
  padding-block: clamp(36px, 5vw, 60px) !important;
  align-items: start !important;
}

.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  max-width: 520px !important;
}

.footer-brand-title {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 0 !important;
}

.footer-emblem {
  width: 44px !important;
  height: 44px !important;
  background: var(--brand-gold) !important;
  color: var(--brand-maroon) !important;
  font-weight: 800 !important;
  font-size: 19px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  flex-shrink: 0 !important;
}

.footer-logo {
  font-family: var(--font-heading) !important;
  font-size: clamp(22px, 2.5vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--brand-gold) !important;
  letter-spacing: 0.04em !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

.footer-tagline {
  font-family: var(--font-body) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--brand-gold-soft) !important;
  margin: 2px 0 0 !important;
}

.footer-desc {
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: #ffd9d0 !important;
  margin: 0 !important;
  max-width: 480px !important;
}

.footer-badges {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 4px !important;
}

.footer-badges span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  color: #fef3c7 !important;
}

/* Contact Column */
.footer-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  font-style: normal !important;
  max-width: 460px !important;
}

.site-footer h3 {
  font-family: var(--font-heading) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brand-gold) !important;
  margin: 0 0 4px !important;
}

.footer-contact p {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #ffe9e0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-contact .contact-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--brand-gold) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.footer-contact a {
  color: var(--brand-gold) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}
.footer-contact a:hover {
  text-decoration: underline !important;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 233, 224, 0.15) !important;
  padding-block: 16px !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

.footer-bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  font-family: var(--font-body) !important;
  font-size: 12.5px !important;
  color: #ffc9bd !important;
}

.footer-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.footer-social-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffc9bd !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.footer-social-links a:hover {
  color: var(--brand-gold) !important;
}


/* ══════════════════════════════════════════════════════════════
   BOOTSTRAP ICONS REFINEMENT
   ══════════════════════════════════════════════════════════════ */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
  line-height: 1;
}
.btn-icon {
  font-size: 14px;
}
.strip-icon {
  font-size: 13px;
  color: var(--brand-gold);
}
.contact-icon .bi {
  font-size: 15px;
}
.footer-badges .badge-icon {
  font-size: 13px;
  color: var(--brand-gold);
}
.chip-icon {
  font-size: 14px;
  margin-right: 2px;
}


/* ══════════════════════════════════════════════════════════════
   INTERACTIVE, COMMUNICATIVE & SIMPLE MODERN NAVBAR
   ══════════════════════════════════════════════════════════════ */
.fasad-header {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(185, 28, 28, 0.94) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="dark"] .fasad-header {
  background: rgba(127, 29, 29, 0.92) !important;
}

/* Nav Links - Interactive Pill Hover & Active States */
.nav-links {
  gap: clamp(8px, 1.2vw, 16px) !important;
}

.nav-links .nav-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: transparent !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
}

.nav-links .nav-item:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-1px) !important;
  color: #fef08a !important;
}

.nav-links .nav-item:hover .nav-icon {
  transform: scale(1.15) rotate(4deg) !important;
}

.nav-links .nav-icon {
  font-size: 14px !important;
  transition: transform 0.2s ease !important;
}

/* Communicative micro-badge (e.g., 'Instant' / 'Mudah') */
.nav-pill-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 20px !important;
  background: var(--brand-gold) !important;
  color: var(--brand-maroon) !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Header Actions: Clean, communicative, high CTR */
.header-actions {
  gap: clamp(8px, 1vw, 14px) !important;
}

/* Quick WhatsApp CS Button */
.btn-contact-quick {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
}

.btn-contact-quick i {
  font-size: 15px !important;
  color: #4ade80 !important; /* WhatsApp Green */
  transition: transform 0.2s ease !important;
}

.btn-contact-quick:hover {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35) !important;
}

.btn-contact-quick:hover i {
  color: #fff !important;
  transform: scale(1.15) !important;
}

/* Primary Order CTA Button */
.btn-order-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: var(--brand-gold) !important;
  color: var(--brand-maroon) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3) !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-order-cta:hover {
  background: #fbbf24 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45) !important;
}

.btn-order-cta:hover i {
  transform: translateX(3px) !important;
}

.btn-order-cta i {
  transition: transform 0.2s ease !important;
}

/* Theme toggle & Mobile menu button */
.theme-toggle,
.menu-toggle-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.theme-toggle:hover,
.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: rotate(15deg) !important;
}


/* ══════════════════════════════════════════════════════════════
   THEME SWITCH TOGGLE (Modern iOS/Material Style)
   ══════════════════════════════════════════════════════════════ */
.theme-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #fff;
  margin: 0;
}
.theme-switch-wrap .switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  flex-shrink: 0;
}
.theme-switch-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.theme-switch-wrap .switch-thumb {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #facc15;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.theme-switch-wrap .switch-thumb i {
  font-size: 10px;
  color: #854d0e;
}
.theme-switch-wrap input:checked + .switch-track {
  background: #27272a;
  border-color: #facc15;
}
.theme-switch-wrap input:checked + .switch-track .switch-thumb {
  transform: translateX(19px);
  background: #fef08a;
}
.theme-switch-wrap input:checked + .switch-track .switch-thumb i {
  color: #18181b;
}


/* ══════════════════════════════════════════════════════════════
   ECOMMERCE STANDARD: NAV HIGHLIGHT & ACTIVE INDICATOR
   ══════════════════════════════════════════════════════════════ */
.nav-links .nav-item {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-links .nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
/* Active Highlight (Gold Pill / Accent Bar) */
.nav-links .nav-item.active {
  color: var(--brand-maroon, #7f1d1d) !important;
  background: var(--brand-gold, #facc15) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile Drawer Nav Links Styling */
@media (max-width: 900px) {
  .nav-links {
    background: #881337 !important;
    border-bottom: 3px solid var(--brand-gold) !important;
    padding: 16px 20px 24px !important;
    gap: 8px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
  }
  .nav-links .nav-item {
    font-size: 15px !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    width: 100% !important;
    text-align: left !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  .nav-links .nav-item:hover {
    background: rgba(255, 255, 255, 0.18) !important;
  }
  .nav-links .nav-item.active {
    background: var(--brand-gold) !important;
    color: var(--brand-maroon, #7f1d1d) !important;
    border-color: var(--brand-gold) !important;
  }
}


/* Modern Web Guidance: aspect-ratio menggantikan height tetap — cegah CLS */
.img-cover-360 {
  width: 100%;
  height: 360px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  /* aspect-ratio hanya untuk placeholder sebelum gambar termuat (cegah CLS),
     bukan untuk menentukan tinggi akhir — tinggi tetap 360px sesuai desain. */
  background-color: var(--surface-subtle, #fdf8f2);
}


/* Modern Web Guidance: stabilkan ukuran teks saat web font belum termuat (cegah CLS) */
body {
  font-size-adjust: from-font;
}
