/* =====================================================================
   STYLESHEET BERSIH · MARTABRAK
   100% Google Sans Flex · Full-Width Catalog + Floating Pill & Drawer
   ===================================================================== */

:root {
  --font-utama:   "Google Sans Flex", system-ui, -apple-system, sans-serif;
  --espresso:     #2c1608;
  --amber:        #d97706;
  --amber-tua:    #b45309;
  --latar:        #fbf7f2;
  --latar-menu:   #f4ece1;
  --kartu:        #ffffff;
  --teks:         #1c110a;
  --teks-lembut:  #6b584c;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-utama);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--latar);
  color: var(--teks);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================================
   1. ABOVE THE FOLD (FULL SCREEN 100dvh · NAVBAR + HERO BESAR)
   ===================================================================== */
.above-the-fold {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--latar);
  overflow: hidden;
}

.topbar {
  padding: 20px 0 4px;
  flex-shrink: 0;
}

.topbar-in {
  max-width: 1060px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-only {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-only img {
  height: 64px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
}

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

/* =====================================================================
   2. TOMBOL GLASSMORPHISM (KHUSUS NAVBAR & HERO · TANPA OUTLINE)
   ===================================================================== */
.btn-glass,
.arc-nav {
  border: none;
  outline: none;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 18px rgba(44, 22, 8, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.topbar .btn-glass {
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.btn-glass-lg {
  height: 50px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 0.94rem;
}

.btn-glass-subtle {
  background: rgba(244, 236, 225, 0.85);
  color: var(--espresso);
}

.btn-glass-subtle:hover {
  background: rgba(235, 223, 208, 0.98);
}

.btn-glass-warm {
  background: rgba(245, 158, 11, 0.18);
  color: var(--espresso);
}

.btn-glass-warm:hover {
  background: rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.btn-glass-espresso {
  background: rgba(44, 22, 8, 0.92);
  color: #fffaf4;
}

.btn-glass-espresso:hover {
  background: rgba(180, 83, 9, 0.95);
  color: #ffffff;
  transform: translateY(-1px);
}

/* =====================================================================
   3. HERO EDITORIAL & ARC CAROUSEL BESAR (TANPA TAGLINE)
   ===================================================================== */
.hero-editorial {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 36px;
  user-select: none;
}

.hero-editorial-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-headline-box {
  max-width: 760px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--espresso);
  margin-bottom: 10px;
}

.hero-price-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-price {
  font-size: 1.32rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--amber-tua);
}

.hero-note {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--teks-lembut);
}

.arc-stage {
  position: relative;
  width: 100%;
  height: clamp(290px, 43vh, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  outline: none;
}

.arc-stage:active {
  cursor: grabbing;
}

.arc-track {
  position: relative;
  width: clamp(280px, 40vh, 360px);
  height: clamp(280px, 40vh, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arc-item {
  position: absolute;
  width: clamp(280px, 40vh, 360px);
  height: clamp(280px, 40vh, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.arc-item.is-side {
  cursor: pointer;
}

.arc-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.arc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.78);
  color: var(--espresso);
}

.arc-nav:hover {
  background: rgba(44, 22, 8, 0.92);
  color: #ffffff;
}

.arc-prev { left: 8px; }
.arc-next { right: 8px; }

.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.arc-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arc-dot {
  width: 16px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: #d6c8bc;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.arc-dot.aktif {
  width: 30px;
  background: var(--espresso);
}

/* =====================================================================
   4. SECTION MENU LEGA FULL-WIDTH & NAVIGASI KATEGORI TANPA ANGKA
   ===================================================================== */
.menu-section-wrap {
  background: var(--latar-menu);
  padding: 44px 0 110px;
  overflow-x: hidden;
}

.kat-center-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.kategori-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e7dccd;
  padding: 6px;
  border-radius: 999px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.kategori-box::-webkit-scrollbar {
  display: none;
}

.kat-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--teks-lembut);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.kat-item:hover {
  background: rgba(255, 250, 244, 0.55);
  color: var(--espresso);
}

.kat-item.aktif {
  background: var(--espresso);
  color: #fffaf4;
  box-shadow: 0 6px 16px -4px rgba(44, 22, 8, 0.3);
}

.section-head {
  margin-bottom: 16px;
}

.section-head h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--espresso);
}

/* =====================================================================
   5. KARTU PRODUK DALAM KOTAK BERSIH (GRID FULL WIDTH 4 KOLOM)
   ===================================================================== */
.grid-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 76px 24px;
  padding-top: 64px;
}

.card-menu {
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-menu:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px -12px rgba(44, 22, 8, 0.16);
}

.card-amber {
  background: #f3b552;
  color: var(--espresso);
}

.card-sand {
  background: #ece7ef;
  color: var(--espresso);
}

.card-top-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: -78px;
  margin-bottom: 14px;
}

.card-thumb {
  width: 142px;
  height: 142px;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.28s ease;
}

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

.price-orb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--espresso);
  box-shadow: 0 6px 16px -4px rgba(44, 22, 8, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  margin-bottom: 10px;
  z-index: 2;
  flex-shrink: 0;
}

.price-orb small {
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--teks-lembut);
  letter-spacing: 0.05em;
}

.price-orb strong {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.rating-pill-top {
  margin-left: auto;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--espresso);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(44, 22, 8, 0.08);
}

.rating-pill-top .star-icon {
  color: #e59400;
  font-size: 0.84rem;
  line-height: 1;
}

.rating-pill-top b {
  font-weight: 800;
}

.card-content {
  margin-bottom: 18px;
}

.card-cat-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(44, 22, 8, 0.72);
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--espresso);
  margin-bottom: 7px;
}

.card-desc {
  font-size: 0.79rem;
  line-height: 1.48;
  color: rgba(44, 22, 8, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.btn-pill-card {
  background: #ffffff;
  color: var(--espresso);
  border: none;
  padding: 9px 20px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 22, 8, 0.08);
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.btn-pill-card:hover {
  background: var(--espresso);
  color: #ffffff;
  transform: scale(1.03);
}

.card-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--espresso);
  color: #ffffff;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 6px;
  gap: 8px;
}

.card-stepper button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.card-stepper button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.card-stepper span {
  font-size: 0.86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 18px;
  text-align: center;
}

/* =====================================================================
   6. FLOATING PILL BAR DI BAWAH LAYAR
   ===================================================================== */
.floating-cart-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(440px, calc(100% - 32px));
  background: var(--espresso);
  color: #fffaf4;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  box-shadow: 0 20px 44px -10px rgba(44, 22, 8, 0.42);
}

.floating-cart-pill[hidden] {
  display: none;
}

.floating-pill-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-pill-badge {
  background: rgba(255, 250, 244, 0.14);
  color: #f5b041;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 5px 11px;
  border-radius: 999px;
}

.floating-pill-total {
  font-size: 1.08rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.floating-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: #f5b041;
  color: var(--espresso);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.14s ease;
}

.floating-pill-btn:hover {
  background: #ffffff;
  transform: scale(1.02);
}

/* =====================================================================
   7. SLIDE-OVER DRAWER KERANJANG (SURFACE WARM SOLID · ZERO OUTLINE)
   ===================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(28, 17, 10, 0.46);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-backdrop[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(440px, 100vw);
  background: #fffdf9;
  padding: 26px 24px 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -20px 0 54px rgba(44, 22, 8, 0.18);
  will-change: transform;
}

.cart-drawer.is-open {
  display: flex;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.cart-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-head h3 {
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--espresso);
}

.cart-count {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
  background: #f5b041;
  padding: 5px 12px;
  border-radius: 999px;
}

.btn-close-drawer {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #f4ece1;
  color: var(--espresso);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.btn-close-drawer:hover {
  background: var(--espresso);
  color: #ffffff;
}

.cart-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  margin-bottom: 18px;
  padding-right: 2px;
}

.cart-empty-box {
  background: #f6efe6;
  border: none;
  border-radius: 18px;
  padding: 32px 20px;
  text-align: center;
  margin: auto 0;
}

.cart-empty-box .cart-empty {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 4px;
}

.cart-empty-box span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--teks-lembut);
  display: block;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f6efe6;
  border: none;
  padding: 13px 15px;
  border-radius: 16px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-item-info b {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--espresso);
  line-height: 1.25;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  font-variant-numeric: tabular-nums;
}

.cart-item-meta span {
  color: var(--teks-lembut);
  font-weight: 500;
}

.cart-item-meta strong {
  color: var(--amber-tua);
  font-weight: 800;
}

.qty-stepper-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: none;
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(44, 22, 8, 0.06);
  flex-shrink: 0;
}

.qty-stepper-pill button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f4ece1;
  color: var(--espresso);
  font-size: 0.95rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.qty-stepper-pill button:hover {
  background: var(--espresso);
  color: #ffffff;
}

.qty-stepper-pill span {
  min-width: 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}

.cart-drawer-footer {
  flex-shrink: 0;
}

.cart-form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-form-section label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4a3525;
  margin-bottom: 5px;
}

.cart-form-section input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  border: none;
  background: #f6efe6;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--espresso);
  outline: none;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.cart-form-section input::placeholder {
  color: #9e8d81;
  font-size: 0.8rem;
}

.cart-form-section input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(44, 22, 8, 0.22);
}

.cart-summary-box {
  background: #f6efe6;
  border: none;
  border-radius: 18px;
  padding: 18px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-total-label span {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--espresso);
  line-height: 1.2;
}

.cart-total-label small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teks-lembut);
  margin-top: 2px;
}

.cart-total-amount {
  font-size: 1.46rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}

.btn-order {
  width: 100%;
  height: 48px;
  border-radius: 13px;
  background: var(--espresso);
  color: #fffaf4;
  border: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.14s ease;
}

.btn-order:hover {
  background: var(--amber-tua);
  color: #ffffff;
  transform: translateY(-1px);
}

.status-msg {
  margin-top: 10px;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
}

footer {
  background: var(--latar-menu);
  text-align: center;
  padding: 26px 16px;
  font-size: 0.82rem;
  color: var(--teks-lembut);
}

@media (max-width: 640px) {
  .brand-logo-only img {
    height: 48px;
  }
  .btn-glass-subtle {
    display: none;
  }
  .arc-stage {
    height: 260px;
  }
  .arc-track, .arc-item {
    width: 245px;
    height: 245px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   REVISI: RATING DI SAMPING KIRI TOMBOL + FLOATING PILL KERANJANG FIXED
   ===================================================================== */
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.rating-pill-bottom {
  background: rgba(255, 255, 255, 0.92);
  color: var(--espresso);
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(44, 22, 8, 0.08);
  flex-shrink: 0;
}

.rating-pill-bottom .star-icon {
  color: #e59400;
  font-size: 0.88rem;
  line-height: 1;
}

.rating-pill-bottom b {
  font-weight: 800;
}

/* Floating Pill Keranjang Fixed Permanen di Bawah Tengah Layar */
.floating-cart-pill {
  position: fixed !important;
  bottom: 22px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  transform: none !important;
  z-index: 45 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(440px, calc(100% - 32px));
  background: var(--espresso);
  color: #fffaf4;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  box-shadow: 0 20px 44px -10px rgba(44, 22, 8, 0.42);
}

/* =====================================================================
   REVISI: LOGO LEBIH BESAR · RATING BAWAH KIRI · PILL KHUSUS SECTION MENU
   ===================================================================== */

/* 1. Perbesar Logo MARTABRAK di Navbar */
.brand-logo-only img {
  height: 78px !important;
  width: auto !important;
  max-width: 320px !important;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand-logo-only img {
    height: 58px !important;
    max-width: 230px !important;
  }
}

/* 2. Baris Bawah Kartu Produk: Rating di Bawah Kiri, Tombol Tambah di Bawah Kanan */
.card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  gap: 12px;
  margin-top: auto;
}

.rating-pill-bottom {
  margin-right: auto;
}

.btn-pill-card,
.card-stepper {
  margin-left: auto;
}

/* 3. Floating Pill Keranjang Hanya Tampil Saat di Section Menu */
.floating-cart-pill {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) !important;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease !important;
}

.floating-cart-pill.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* =====================================================================
   FIX FINAL: SLIDE-OVER DRAWER & BACKDROP (PURE CSS STATE · ZERO STUCK)
   ===================================================================== */
.drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 60 !important;
  background: rgba(28, 17, 10, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.drawer-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 70 !important;
  width: min(440px, 100vw) !important;
  background: #fffdf9 !important;
  padding: 26px 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: -20px 0 54px rgba(44, 22, 8, 0.18) !important;
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease !important;
}

.cart-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* =====================================================================
   FIX FINAL: SLIDE-OVER DRAWER & BACKDROP (PURE CSS STATE · ZERO STUCK)
   ===================================================================== */
.drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 60 !important;
  background: rgba(28, 17, 10, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.drawer-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 70 !important;
  width: min(440px, 100vw) !important;
  background: #fffdf9 !important;
  padding: 26px 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: -20px 0 54px rgba(44, 22, 8, 0.18) !important;
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease !important;
}

.cart-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* =====================================================================
   REVISI: HERO SECTION TANPA TOMBOL BAWAH · JUDUL & GAMBAR LEBIH BESAR
   ===================================================================== */
.hero-editorial {
  padding: 6px 0 28px !important;
}

.hero-headline-box {
  max-width: 860px !important;
  margin-bottom: 6px !important;
}

.hero-title {
  font-size: clamp(2.8rem, 5.8vw, 4.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.038em !important;
  line-height: 1.04 !important;
  margin-bottom: 10px !important;
}

.hero-price {
  font-size: 1.5rem !important;
}

.hero-note {
  font-size: 1rem !important;
}

.arc-stage {
  height: clamp(340px, 50vh, 460px) !important;
}

.arc-track,
.arc-item {
  width: clamp(330px, 48vh, 450px) !important;
  height: clamp(330px, 48vh, 450px) !important;
}

.hero-controls {
  margin-top: 10px !important;
  gap: 0 !important;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.1rem, 8.5vw, 2.8rem) !important;
  }
  .arc-stage {
    height: 310px !important;
  }
  .arc-track,
  .arc-item {
    width: 295px !important;
    height: 295px !important;
  }
}

/* Pastikan .hero-actions tidak muncul */
.hero-actions,
#btnHeroTambah {
  display: none !important;
}

/* =====================================================================
   HALAMAN KASIR REALTIME · MARTABRAK (ZERO OUTLINE · SURFACE WARM)
   ===================================================================== */
.kasir-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--latar-menu);
}

.kasir-topbar {
  background: var(--latar);
  padding: 18px 0;
}

.kasir-topbar-in {
  max-width: 1140px;
}

.kasir-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kasir-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ede3d5;
  color: var(--espresso);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.kasir-main {
  flex: 1;
  padding: 32px 0 64px;
}

/* Kartu Statistik 4 Kolom */
.kasir-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fffdf9;
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 24px -12px rgba(44, 22, 8, 0.08);
}

.stat-card.stat-omzet {
  background: var(--espresso);
  color: #fffaf4;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teks-lembut);
}

.stat-card.stat-omzet .stat-label {
  color: rgba(255, 250, 244, 0.72);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: var(--espresso);
}

.stat-card.stat-baru .stat-value {
  color: var(--amber-tua);
}

.stat-card.stat-omzet .stat-value {
  color: #f5b041;
}

/* Toolbar & Filter Status */
.kasir-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.kasir-page-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--espresso);
}

.kasir-alert {
  background: #fde8e8;
  color: #9b1c1c;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 22px;
}

/* Grid Kartu Pesanan */
.kasir-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  align-items: start;
}

.kasir-empty-state {
  grid-column: 1 / -1;
  background: #fffdf9;
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
}

.kasir-empty-state h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 6px;
}

.kasir-empty-state p {
  font-size: 0.88rem;
  color: var(--teks-lembut);
}

.order-card {
  background: #fffdf9;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 28px -12px rgba(44, 22, 8, 0.1);
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-meta-top {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teks-lembut);
  margin-bottom: 3px;
}

.order-customer {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--espresso);
  line-height: 1.2;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-baru {
  background: #fef3c7;
  color: #b45309;
}

.pill-diproses {
  background: #f5b041;
  color: var(--espresso);
}

.pill-selesai {
  background: #dcfce7;
  color: #15803d;
}

.order-items-box {
  background: #f6efe6;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

.order-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--espresso);
}

.order-qty-badge {
  background: var(--espresso);
  color: #fffaf4;
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 2px 8px;
  border-radius: 999px;
}

.order-item-sub {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}

.order-note-box {
  background: #fdf6e7;
  color: #78350f;
  font-size: 0.82rem;
  padding: 11px 14px;
  border-radius: 14px;
  line-height: 1.4;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.order-total-group span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teks-lembut);
}

.order-total-group strong {
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}

.order-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-kasir-primary,
.btn-kasir-done,
.btn-kasir-delete {
  border: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.btn-kasir-primary {
  background: var(--espresso);
  color: #fffaf4;
}

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

.btn-kasir-done {
  background: #15803d;
  color: #ffffff;
}

.btn-kasir-done:hover {
  background: #166534;
  transform: translateY(-1px);
}

.btn-kasir-delete {
  background: #f4ece1;
  color: #9b1c1c;
  padding: 0 13px;
}

.btn-kasir-delete:hover {
  background: #fde8e8;
}

.kasir-done-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
}

@media (max-width: 900px) {
  .kasir-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .kasir-stats-grid {
    grid-template-columns: 1fr;
  }
  .kasir-live-badge {
    display: none;
  }
}
