/* ════════════════ RESET & VARIABLES ════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Mode Palette - Sync with index.html */
  --bg: #FAF8F5;
  --card-bg: #FFFFFF;
  --ink: #1E1613;
  --ink-2: #5A4E47;
  --ink-3: #A3978E;
  --border: #F0ECE5;
  --border-hover: #E4DFD5;
  --shadow-sm: 0 4px 12px rgba(30, 22, 19, 0.04);
  --shadow-md: 0 12px 24px rgba(30, 22, 19, 0.06);
  --shadow-lg: 0 20px 40px rgba(30, 22, 19, 0.1);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --outlet-height: 58px;
  transition: background 0.3s, color 0.3s;
}

body.has-outlet-selected {
  --outlet-height: 76px;
}

body:not(.has-outlet-bar),
body.brand-fore,
body.brand-tomoro {
  --outlet-height: 0px !important;
}

body.dark-theme {
  /* Dark Mode Palette - Sync with index.html */
  --bg: #0F0C0B;
  --card-bg: #1B1513;
  --ink: #F5EFEB;
  --ink-2: #C4B9B3;
  --ink-3: #7D7068;
  --border: #2D2421;
  --border-hover: #3D322E;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.sticky-compact {
  --outlet-height: 42px;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--card-bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 84px;
  /* Space for floating bottom cart bar */
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* ════════════════ PAGE CONTAINER ════════════════ */
.container {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--card-bg);
  box-shadow: none;
  position: relative;
}

body.dark-theme .container {
  box-shadow: none;
}

/* ════════════════ TOP NAV (Sticky Level 1) ════════════════ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-circle {
  width: 24px;
  height: 24px;
  background-color: var(--color-brand);
  border-radius: 5px;
  box-shadow: 0 2px 8px var(--color-brand-light);
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topnav-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  min-width: 32px;
}

.topnav-action-btn:hover {
  background: var(--border);
}

.topnav-action-btn .btn-label {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink);
  text-align: center;
}

.topnav-action-btn.icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  flex-direction: row;
}

/* ════════════════ DRAWER DRAWER ════════════════ */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(2px);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--card-bg);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.drawer.active {
  left: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}

.drawer-item:hover,
.drawer-item.active {
  background: var(--border);
  color: var(--ink);
}

/* ════════════════ HERO CAROUSEL (IMAGE-FREE REDESIGN) ════════════════ */
.hero-container {
  margin: 12px 16px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a0f0d;
}

/* Dynamic subtle ambient glow over banner */
.hero-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 25%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 2;
}

.hero-slider {
  display: flex;
  width: 100%;
  min-height: 170px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px 22px 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #FFFFFF;
  overflow: hidden;
}

/* Background watermark / decorative aura rings */
.hero-slide::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.04) 75%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

/* Left Content Stack */
.hero-content-left {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

/* Hero Pill Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-badge-pill svg {
  flex-shrink: 0;
}

/* Hero Title */
.hero-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.3px;
  word-break: break-word;
}

/* Hero Subtitle */
.hero-sub {
  font-size: 11.5px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.88);
  margin: 2px 0 10px 0;
  max-width: 480px;
  font-weight: 400;
}

/* Hero Actions & Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FFFFFF;
  color: #1A1A1A;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #FDFDFD;
}

.hero-btn-primary svg {
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover svg {
  transform: translateX(3px);
}

.hero-perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ════ Frosted Glass Visual Card (Right Side Replacement) ════ */
.hero-visual-card {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-align: center;
  min-width: 135px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-visual-card:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-card-floating-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  color: #3E2000;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.hero-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

.hero-card-highlight {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-card-tagline {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
  font-weight: 600;
}

/* Legacy button & image fallbacks */
.hero-btn {
  display: none;
}
.hero-drink-img {
  display: none;
}

/* Dots Carousel Navigation */
.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-dot.active {
  width: 20px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* ════════════════ OUTLET SELECTION (Sticky Level 2) ════════════════ */
.outlet-sticky-bar {
  position: sticky;
  top: 61px;
  /* Sticks right below topnav */
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  transition: background 0.3s, padding 0.25s, height 0.25s;
  height: var(--outlet-height, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.outlet-sticky-bar.sticky-compact {
  padding: 4px 16px;
  box-shadow: var(--shadow-sm);
}

.outlet-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  height: 38px;
  padding: 0 12px;
  position: relative;
  transition: height 0.25s ease;
}

.outlet-sticky-bar.sticky-compact .outlet-search-wrap {
  height: 30px;
}

.outlet-search-wrap svg {
  color: var(--ink-3);
}

.outlet-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.outlet-search-input::placeholder {
  color: var(--ink-3);
}

/* Outlet Suggestions List inside sticky outlet bar */
.outlet-suggestions {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  z-index: 500;
  display: none;
}

.outlet-sticky-bar.sticky-compact .outlet-suggestions {
  top: 34px;
}

.outlet-suggestion-item {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
  text-align: left;
}

.outlet-suggestion-item:last-child {
  border-bottom: none;
}

.outlet-suggestion-item:hover {
  background: var(--border);
}

.outlet-suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.outlet-suggestion-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.outlet-suggestion-address {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.outlet-suggestions-loading,
.outlet-suggestions-empty {
  padding: 14px;
  font-size: 12px;
  text-align: center;
  color: var(--ink-3);
}

/* Outlet Selection Status */
.outlet-status-lbl {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
  max-height: 20px;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.outlet-sticky-bar.sticky-compact .outlet-status-lbl {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
}

.status-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
  line-height: 1.2;
}

.status-badge.status-open {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}

.status-badge.status-close {
  background: rgba(198, 40, 40, 0.12);
  color: #c62828;
}

.status-badge.status-pesan-tempat,
.status-badge.status-pesan-outlet {
  background: rgba(239, 108, 0, 0.12);
  color: #ef6c00;
}

body.dark-theme .status-badge.status-open {
  background: rgba(129, 199, 132, 0.18);
  color: #81c784;
}

body.dark-theme .status-badge.status-close {
  background: rgba(229, 115, 115, 0.18);
  color: #e57373;
}

body.dark-theme .status-badge.status-pesan-tempat,
body.dark-theme .status-badge.status-pesan-outlet {
  background: rgba(255, 183, 77, 0.18);
  color: #ffb74d;
}

.outlet-hours-text {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
}

/* Sold Out Styling for Menu Cards in Brand Store */
.card.card--soldout,
.vertical-item-bar.card--soldout {
  opacity: 0.65;
}

.card.card--soldout img,
.vertical-item-bar.card--soldout img {
  filter: grayscale(0.8);
}

.card.card--soldout .price,
.vertical-item-bar.card--soldout .item-price {
  text-decoration: line-through;
  color: var(--ink-3) !important;
}

.soldout-badge {
  font-size: 10px;
  font-weight: 800;
  color: #c93b3b;
  background: rgba(201, 59, 59, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.2;
}

body.dark-theme .soldout-badge {
  color: #ef5f5f;
  background: rgba(239, 95, 95, 0.18);
}

.cart-soldout-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF !important;
  background: #c93b3b;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.2px;
  vertical-align: middle;
}

/* ════════════════ SEARCH MENU ════════════════ */
.search-menu-bar {
  padding: 8px 16px;
}

.menu-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  height: 38px;
  padding: 0 12px;
}

.menu-search-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.menu-search-wrap input::placeholder {
  color: var(--ink-3);
}

/* ════════════════ CATEGORIES BAR (Sticky Level 3) ════════════════ */
.categories-sticky-bar {
  position: sticky;
  top: calc(61px + var(--outlet-height, 74px));
  /* Reactive position sticky */
  z-index: 85;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  gap: 8px;
  transition: top 0.25s ease, background 0.3s;
}

.categories-sticky-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  padding: 8px 18px;
  background: var(--bg);
  color: var(--ink-2);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

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

.category-pill.active {
  background: var(--color-brand);
  color: #FFFFFF;
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px var(--color-brand-light);
}

/* ════════════════ MENU LISTING ════════════════ */
.menu-container {
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-section-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

/* Horizontal scroll layout for Bundling & Custom */
.horizontal-scroll-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.horizontal-scroll-track::-webkit-scrollbar {
  display: none;
}

/* ── Bento Card Styles - Sync with index.html ── */
.card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border);
  width: 172px;
  /* Set width for bento style cards in horizontal track */
  flex: 0 0 172px;
  height: 264px;
  /* Fixed height for bento cards */
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--ink-3);
}

.card-img-wrap {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

body.dark-theme .card-img-wrap {
  background: var(--card-bg);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-badge-custom {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.card-body h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.card-desc {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  margin-top: 2px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-footer .price {
  font-size: 14px;
  font-weight: 900;
  color: var(--color-brand);
}

.add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .2s;
}

.card:hover .add-btn {
  background: var(--color-brand);
  transform: scale(1.08);
}

/* Vertical Item list - Elegant Minimalist Card Row */
.vertical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vertical-item-bar {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  /* White or dark theme background */
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
}

.vertical-item-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-3);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  flex: 1;
}

.item-thumb-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

body.dark-theme .item-thumb-wrapper {
  background: var(--card-bg);
}

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

.item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  padding-right: 8px;
}

.item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.item-desc {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.item-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--color-brand);
  white-space: nowrap;
}

.add-btn,
.item-plus-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.add-btn svg,
.item-plus-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .add-btn,
.vertical-item-bar:hover .item-plus-btn,
.add-btn:hover,
.item-plus-btn:hover {
  background: var(--color-brand);
  color: #ffffff;
  transform: rotate(180deg) scale(1.15);
  box-shadow: 0 4px 14px var(--color-brand-light, rgba(0, 0, 0, 0.2));
}

.add-btn:active,
.item-plus-btn:active {
  transform: rotate(180deg) scale(0.92);
}

/* ════════════════ STICKY BOTTOM CART BAR ════════════════ */
.floating-cart-bar {
  position: fixed;
  bottom: 30px; /* Diubah dari 80px ke 30px agar seimbang dan tidak tertutup navigation bar di Android */
  right: 20px;
  left: auto;
  transform: none;
  width: fit-content;
  max-width: 90vw;
  height: 46px;
  background: #140f0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-radius: 9999px;
  padding: 0 18px;
  display: none; /* Controlled by JS: display: flex when items > 0 */
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 999;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Batasi transition hanya pada property visual agar posisi fixed bottom tidak jitter/ikut gerak saat height viewport berubah (e.g. scroll url bar di Android/mobile) */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.2s;
}

.floating-cart-bar:hover {
  background: #1c1514;
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.floating-cart-bar:active {
  transform: scale(0.98);
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-bar-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-bar-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.cart-bar-badge {
  display: none !important; /* Hide badge on top of cart icon as per screenshot */
}

.cart-bar-qty-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.cart-bar-qty-text::after {
  content: "•";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: normal;
}

.cart-bar-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-left: 0;
}

.floating-cart-bar::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  transform: rotate(-45deg); /* Chevron pointing up */
  margin-left: 4px;
  margin-top: 3px;
  opacity: 0.8;
}

/* Position adjustment for centered container on wider screens */
@media (min-width: 648px) {
  .floating-cart-bar {
    left: calc(50% + 300px - 24px);
    right: auto;
    transform: translateX(-100%);
    bottom: 24px; /* Pada layar desktop/lebar, kembalikan bottom ke 24px */
  }
  .floating-cart-bar:hover {
    transform: translateX(-100%) scale(1.02);
  }
  .floating-cart-bar:active {
    transform: translateX(-100%) scale(0.98);
  }
}

/* ════════════════ CART MODAL SHEET ════════════════ */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-modal.active {
  opacity: 1;
  visibility: visible;
}

.cart-sheet {
  background: var(--card-bg);
  width: 100%;
  max-width: 600px;
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
  padding: 20px 20px 30px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.cart-modal.active .cart-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  align-self: center;
  margin-bottom: 4px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.close-cart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-right: 12px;
}

.cart-item-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.cart-item-opt {
  font-size: 10.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-qty-num {
  font-size: 12.5px;
  font-weight: 800;
  min-width: 14px;
  text-align: center;
  color: var(--ink);
}

.cart-item-price {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
  min-width: 66px;
  text-align: right;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  outline: none;
}

.cart-form input:focus,
.cart-form textarea:focus {
  border-color: var(--color-brand);
}

.cart-form-row {
  display: flex;
  gap: 10px;
}

.admin-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-select-wrapper label {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-2);
  text-transform: uppercase;
}

.admin-select {
  height: 38px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.admin-dropdown {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  z-index: 500;
  display: none;
  box-shadow: var(--shadow-lg);
}

.admin-dropdown div {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.admin-dropdown div:hover {
  background: var(--border);
}

.admin-dropdown div:last-child {
  border-bottom: none;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

.cart-checkout-btn {
  width: 100%;
  height: 44px;
  background: var(--color-brand);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ════════════════ ITEM OPTIONS MODAL SHEET (Floating Modal) ════════════════ */
.item-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.item-modal.active {
  opacity: 1;
  visibility: visible;
}

.item-modal-content {
  background: var(--card-bg);
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 16px 22px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
}

.item-modal-content::-webkit-scrollbar {
  display: none;
}

.item-modal.active .item-modal-content {
  transform: scale(1) translateY(0);
}

.sheet-handle {
  width: 48px;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  align-self: center;
  margin-bottom: 2px;
}

.modal-item-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 2px;
  line-height: 1.25;
}

.modal-item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 0;
}

.modal-options-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-options-area:empty {
  display: none !important;
}

.opt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opt-group-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.opt-choices {
  display: grid;
  gap: 8px;
  width: 100%;
}

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

.opt-choices-3 {
  grid-template-columns: repeat(3, 1fr);
}

.opt-pill {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: #EAEBEC;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #3C3836;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

body.dark-theme .opt-pill {
  background: #25201E;
  color: #C8BFB9;
}

.opt-pill:hover {
  background: #DFE1E3;
}

body.dark-theme .opt-pill:hover {
  background: #322B29;
}

.opt-pill.active {
  background: var(--color-brand, #181412) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px var(--color-brand-light, rgba(0, 0, 0, 0.15));
}

body.dark-theme .opt-pill.active {
  background: var(--color-brand, #F5EFEB) !important;
  color: #FFFFFF !important;
}

.modal-note-area textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  resize: none !important;
  /* No expansion handle */
  height: 60px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.modal-note-area textarea:focus {
  border-color: var(--color-brand, #181412);
}

.modal-note-area textarea::placeholder {
  color: var(--ink-3);
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.modal-cancel-btn {
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #E5E6E8;
  color: #2D2725;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .modal-cancel-btn {
  background: #2D2522;
  color: #D6CCC7;
}

.modal-cancel-btn:hover {
  background: #DCDEE0;
}

body.dark-theme .modal-cancel-btn:hover {
  background: #3A302D;
}

.modal-add-btn {
  height: 46px;
  border-radius: 999px;
  border: none;
  background: var(--color-brand, #181412);
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px var(--color-brand-light, rgba(0, 0, 0, 0.18));
}

body.dark-theme .modal-add-btn {
  background: var(--color-brand, #F5EFEB);
  color: #FFFFFF !important;
}

.modal-add-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ════════════════ HELP/CS MODAL ════════════════ */
.help-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.help-modal.active {
  opacity: 1;
  visibility: visible;
}

.help-modal-content {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border-radius: var(--r-xl);
  padding: 22px 20px 20px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.help-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.help-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.help-modal-close {
  font-size: 22px;
  color: var(--ink-3);
  background: transparent;
  border: none;
  cursor: pointer;
}

.help-modal-body {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
}

.help-modal-btn {
  width: 100%;
  height: 40px;
  margin-top: 16px;
  background: var(--color-brand);
  color: #FFFFFF;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

/* CS Admin Selection & Category Styles */
.cs-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-section-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.cs-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cs-admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.cs-admin-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cs-admin-card.active,
.cs-admin-card:has(input:checked) {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 0 0 1px #25D366;
}

.cs-admin-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

.cs-admin-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cs-admin-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.cs-admin-phone {
  font-size: 9.5px;
  color: var(--ink-3);
}

.cs-category-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

.cs-note-input {
  width: 100%;
  height: 60px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  outline: none;
  resize: none;
  font-family: inherit;
}

.cs-submit-wa-btn {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.cs-submit-wa-btn:hover {
  opacity: 0.92;
}

.cs-submit-wa-btn:active {
  transform: scale(0.98);
}

/* Modal Actions for Cart */
.cart-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 10px;
  margin-top: 6px;
}

.reset-cart-btn {
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.reset-cart-btn:hover {
  background: var(--border);
}

.checkout-btn {
  height: 44px;
  border-radius: var(--r-md);
  border: none;
  background: var(--color-brand);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.checkout-btn:hover {
  opacity: 0.9;
}

/* ════════════════ BUNDLING MODAL STYLING ════════════════ */
.bundle-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.bundle-modal.active {
  opacity: 1;
  visibility: visible;
}

.bundle-modal-content {
  background: var(--card-bg);
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  padding: 18px 22px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
}

.bundle-modal-content::-webkit-scrollbar {
  display: none;
}

.bundle-modal.active .bundle-modal-content {
  transform: scale(1) translateY(0);
}

.bundle-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.bundle-header .modal-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.4;
}

.bundle-header .modal-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.bundle-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 8px;
}

.bundle-slots-2 {
  grid-template-columns: repeat(2, 1fr) !important;
}

.bundle-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.bundle-slot:hover {
  border-color: #C29B26;
}

.bundle-slot.active {
  border-color: #C29B26;
  background: rgba(194, 155, 38, 0.08);
}

.bundle-slot.filled {
  border-color: #C29B26;
  background: rgba(194, 155, 38, 0.04);
}

.bundle-slot .slot-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E5E6E8;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

body.dark-theme .bundle-slot .slot-num {
  background: #3A302D;
  color: #D6CCC7;
}

.bundle-slot.active .slot-num,
.bundle-slot.filled .slot-num {
  background: #C29B26;
  color: #FFFFFF;
}

.bundle-slot .slot-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bundle-slot .slot-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bundle-slot .slot-opts {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.bundle-slot.filled .slot-opts {
  color: #C29B26;
}

.bundle-menu-section {
  margin: 2px 0 6px;
}

.bundle-menu-section h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.bundle-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.bundle-menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
}

.bundle-menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #C29B26;
}

.bundle-menu-card.card--soldout {
  opacity: 0.5;
  cursor: not-allowed;
}

.bundle-menu-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}

.bundle-card-body h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 28px;
}

.bundle-card-body .soldout-badge {
  font-size: 9px;
  font-weight: 700;
  color: #c93b3b;
  background: rgba(201, 59, 59, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
  margin-top: 4px;
  display: inline-block;
}

.bundle-option-adjuster {
  padding: 14px;
  border-radius: 16px;
  background: rgba(194, 155, 38, 0.06);
  border: 1px solid rgba(194, 155, 38, 0.25);
  margin: 6px 0;
}

.bundle-option-adjuster h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #C29B26;
  margin-top: 0;
  margin-bottom: 10px;
}

.bundle-option-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-option-controls .opt-group-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.confirm-item-btn {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: #C29B26;
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.confirm-item-btn:hover {
  opacity: 0.92;
}

.bundle-note-input {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 16px;
  outline: none;
  resize: none !important;
  height: 52px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.bundle-note-input:focus {
  border-color: #C29B26;
}

.bundle-note-input::placeholder {
  color: var(--ink-3);
}

.modal-add-btn:disabled,
.bundle-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Custom Menu Modal Specific Image & Details */
.modal-image-wrap {
  width: 100%;
  max-width: 280px;
  height: 220px;
  margin: 0 auto 6px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-item-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.4;
}

/* Cart Sub-items for Bundling */
.cart-bundle-selections {
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(30, 22, 19, 0.03);
  border-radius: 10px;
  border: 1px dashed var(--border);
}

body.dark-theme .cart-bundle-selections {
  background: rgba(255, 255, 255, 0.03);
}

.cart-bundle-item {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
  margin-bottom: 2px;
}

/* ════════════════ CUSTOM ANIMATED POPUP CARD ════════════════ */
.custom-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-popup-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.88) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.custom-popup-overlay.active .custom-popup-card {
  transform: scale(1) translateY(0);
}

body.dark-theme .custom-popup-card {
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #f3f4f6;
}

.custom-popup-close,
.custom-popup-close-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}

.custom-popup-close svg,
.custom-popup-close-x svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  pointer-events: none;
  margin: 0 auto;
}

body.dark-theme .custom-popup-close,
body.dark-theme .custom-popup-close-x {
  background: var(--bg);
  color: #9ca3af;
}

.custom-popup-close:hover,
.custom-popup-close-x:hover {
  background: var(--border);
  color: var(--ink);
  transform: rotate(90deg) scale(1.08);
}

body.dark-theme .custom-popup-close:hover,
body.dark-theme .custom-popup-close-x:hover {
  background: var(--border);
  color: #ffffff;
}

.custom-popup-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  transition: transform 0.3s ease;
}

.custom-popup-icon-badge.soldout,
.custom-popup-icon-badge.warning {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  color: #EF4444;
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.25);
}

body.dark-theme .custom-popup-icon-badge.soldout,
body.dark-theme .custom-popup-icon-badge.warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.3) 100%);
  color: #F87171;
}

.custom-popup-icon-badge.closed {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #F59E0B;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.25);
}

body.dark-theme .custom-popup-icon-badge.closed {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  color: #FBBF24;
}

.custom-popup-icon-badge.info {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #3B82F6;
  box-shadow: 0 8px 20px -4px rgba(59, 130, 246, 0.25);
}

body.dark-theme .custom-popup-icon-badge.info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.3) 100%);
  color: #60A5FA;
}

.custom-popup-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

body.dark-theme .custom-popup-title {
  color: #f9fafb;
}

.custom-popup-message {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 22px;
}

body.dark-theme .custom-popup-message {
  color: #9ca3af;
}

.custom-popup-highlight {
  display: inline-block;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin: 2px 0;
}

body.dark-theme .custom-popup-highlight {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.custom-popup-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--color-brand, #791217);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(121, 18, 23, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(121, 18, 23, 0.4);
  filter: brightness(1.08);
}

.custom-popup-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* WiFi Modal Popup Styling (Image 2 Redesign) */
.wifi-modal-card-v2 {
  max-width: 380px !important;
  width: 90% !important;
  padding: 30px 24px 24px !important;
  border-radius: 28px !important;
  background: var(--card-bg, #ffffff) !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.06)) !important;
}

.wifi-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt, #ffffff);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  color: var(--ink-2, #666666);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.wifi-modal-close-btn:hover {
  background: var(--bg-hover, #f3f4f6);
  color: var(--ink, #111111);
  transform: scale(1.05);
}

.wifi-top-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-brand-light, rgba(121, 18, 23, 0.1));
  color: var(--color-brand, #791217);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.wifi-pill-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--color-brand-light, rgba(121, 18, 23, 0.12));
  color: var(--color-brand, #791217);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wifi-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink, #111827);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.wifi-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--bg-alt, #F3F4F6);
  color: var(--ink-2, #4B5563);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.wifi-field-box {
  background: var(--card-bg, #ffffff);
  border: 1.5px solid var(--border, #E5E7EB);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 12px;
  text-align: left;
}

.wifi-field-box-pass {
  background: var(--color-brand-light, rgba(121, 18, 23, 0.04));
  border: 1.5px solid var(--color-brand-border, rgba(121, 18, 23, 0.18));
  padding: 12px 14px 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wifi-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3, #6B7280);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wifi-field-val-ssid {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink, #111827);
}

.wifi-field-val-pass {
  font-size: 19px;
  font-weight: 900;
  color: var(--color-brand, #791217);
  letter-spacing: 0.2px;
}

.wifi-copy-btn {
  height: 42px;
  padding: 0 18px;
  background: var(--color-brand, #791217);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(121, 18, 23, 0.25);
}

.wifi-copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(121, 18, 23, 0.35);
}

.wifi-copy-btn:active {
  transform: translateY(1px) scale(0.97);
}

.wifi-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3, #6B7280);
}

.wifi-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

body.dark-theme .wifi-modal-card-v2 {
  background: #1C1C1E !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .wifi-modal-close-btn {
  background: #2C2C2E;
  border-color: rgba(255, 255, 255, 0.15);
  color: #CCCCCC;
}

body.dark-theme .wifi-modal-title {
  color: #F9FAFB;
}

body.dark-theme .wifi-date-pill {
  background: #2C2C2E;
  color: #9CA3AF;
}

body.dark-theme .wifi-field-box {
  background: #252528;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .wifi-field-val-ssid {
  color: #F9FAFB;
}

body.dark-theme .wifi-field-box-pass {
  background: rgba(121, 18, 23, 0.18);
  border-color: rgba(121, 18, 23, 0.35);
}

body.dark-theme .wifi-footer-note {
  color: #9CA3AF;
}

/* ════════════════ DESKTOP & TABLET FULL PAGE RESPONSIVE LAYOUT ════════════════ */
@media (min-width: 1024px) {
  .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .topnav {
    padding: 18px 48px;
  }

  /* Centered content wrappers for balanced desktop view */
  .hero-container,
  .wifi-section,
  .outlet-search-wrap,
  .outlet-status-lbl,
  .menu-search-wrap,
  .search-menu-bar,
  .categories-sticky-bar,
  .menu-container {
    max-width: 1140px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-container {
    margin-top: 20px !important;
    margin-bottom: 24px !important;
    border-radius: 26px;
  }

  .hero-slider {
    min-height: 195px;
  }

  .hero-slide {
    padding: 30px 48px;
    gap: 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 13.5px;
    max-width: 580px;
    margin-bottom: 12px;
  }

  .hero-btn-primary {
    padding: 8px 18px;
    font-size: 12px;
  }

  .hero-badge-pill {
    font-size: 11px;
    padding: 4px 11px;
  }

  .hero-visual-card {
    padding: 16px 24px;
    min-width: 170px;
    border-radius: 20px;
  }

  .hero-card-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .hero-card-highlight {
    font-size: 15px;
  }

  .hero-card-tagline {
    font-size: 11px;
  }

  .outlet-sticky-bar {
    padding: 12px 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Prominent & Large Category Pills */
  .categories-sticky-bar {
    padding: 14px 0;
    gap: 12px;
  }

  .category-pill {
    padding: 10px 22px !important;
    font-size: 14.5px !important;
    border-radius: 14px !important;
  }

  .menu-container {
    padding: 28px 0 110px !important;
    gap: 36px;
  }

  /* 3 Items Per Row Desktop Grid */
  .vertical-menu-grid,
  .vertical-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  /* Complete Readable Title (No '...' Truncation) */
  .item-name {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
  }

  .item-desc {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .item-price {
    font-size: 16px !important;
  }

  .floating-cart-bar {
    left: auto !important;
    right: 24px !important;
    transform: none !important;
    max-width: none !important;
    border-radius: 9999px !important;
    height: 50px !important;
    padding: 0 22px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    bottom: 24px !important;
  }
  .floating-cart-bar:hover {
    transform: scale(1.02) !important;
  }
  .floating-cart-bar:active {
    transform: scale(0.98) !important;
  }
  .cart-bar-qty-text,
  .cart-bar-price {
    font-size: 14.5px !important;
  }
}

/* Desktop wide screens (width >= 1188px) where content is centered at 1140px */
@media (min-width: 1188px) {
  .floating-cart-bar {
    left: calc(50% + 570px - 24px) !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    bottom: 24px !important;
  }
  .floating-cart-bar:hover {
    transform: translateX(-100%) scale(1.02) !important;
  }
  .floating-cart-bar:active {
    transform: translateX(-100%) scale(0.98) !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .vertical-menu-grid,
  .vertical-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 14px !important;
  }

  .floating-cart-bar {
    left: auto !important;
    right: 24px !important;
    transform: none !important;
    max-width: none !important;
    border-radius: 9999px !important;
    bottom: 24px !important; /* Pada layar tablet, kembalikan bottom ke 24px */
  }
  .floating-cart-bar:hover {
    transform: scale(1.02) !important;
  }
  .floating-cart-bar:active {
    transform: scale(0.98) !important;
  }
}

/* ═══════════════ QRIS DYNAMIC PAYMENT MODAL STYLES ═══════════════ */
.qris-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qris-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.qris-sheet-card {
  background: var(--surface, #FFFFFF);
  width: 100%;
  max-width: 440px;
  max-height: 94vh;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.qris-sheet-card::-webkit-scrollbar {
  display: none;
}

.qris-modal-overlay.active .qris-sheet-card {
  transform: translateY(0) scale(1);
}

.qris-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-brand-light, rgba(255, 130, 0, 0.1));
  color: var(--color-brand, #FF8200);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.qris-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink, #1F1C1A);
  margin: 0 0 4px;
}

.qris-modal-subtitle {
  font-size: 13px;
  color: var(--ink-2, #6E6864);
  margin: 0 0 16px;
  line-height: 1.4;
}

.qris-amount-box {
  width: 100%;
  background: var(--bg, #F9F7F4);
  border: 1.5px dashed var(--border, #E2DDD7);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

body.dark-theme .qris-amount-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.qris-amount-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-3, #9E9791);
  letter-spacing: 0.5px;
}

.qris-amount-val-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.qris-amount-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-brand, #FF8200);
  letter-spacing: -0.5px;
}

.qris-copy-btn {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2DDD7);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2, #6E6864);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.qris-copy-btn:hover {
  background: var(--color-brand, #FF8200);
  color: #fff;
  border-color: var(--color-brand, #FF8200);
}

.qris-code-frame {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--border, #EAE5DF);
  position: relative;
  margin-bottom: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 250px;
}

.qris-code-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.qris-scan-guide {
  font-size: 12px;
  color: var(--ink-2, #6E6864);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qris-supported-wallets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.qris-wallet-tag {
  background: var(--bg, #F4F1ED);
  color: var(--ink-2, #555);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border, #E2DDD7);
}

body.dark-theme .qris-wallet-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #DDD;
  border-color: rgba(255, 255, 255, 0.1);
}

.qris-status-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg, #F9F7F4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 12px;
}

body.dark-theme .qris-status-box {
  background: rgba(255, 255, 255, 0.04);
}

.qris-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #D97706;
}

.qris-live-indicator.paid {
  color: #16A34A;
}

.qris-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D97706;
  animation: qrisPulse 1.5s infinite;
}

.qris-pulse-dot.paid {
  background: #16A34A;
  animation: none;
}

@keyframes qrisPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  }

  70% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(217, 119, 6, 0);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

.qris-actions-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qris-check-btn {
  width: 100%;
  background: var(--color-brand, #FF8200);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 130, 0, 0.3);
  transition: all 0.2s ease;
}

.qris-check-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.qris-download-btn {
  width: 100%;
  background: transparent;
  color: var(--ink-2, #6E6864);
  border: 1px solid var(--border, #E2DDD7);
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.qris-download-btn:hover {
  background: var(--bg, #F9F7F4);
  color: var(--ink, #1F1C1A);
}

.qris-toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #1F1C1A;
  color: #FFF;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qris-toast-notice.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ════ Mobile Responsive Hero Adjustments ════ */
@media (max-width: 540px) {
  .hero-slide {
    padding: 16px 16px 26px;
    gap: 10px;
  }
  .hero-title {
    font-size: 16px;
  }
  .hero-sub {
    font-size: 10.5px;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-badge-pill {
    font-size: 9px;
    padding: 2px 7px;
  }
  .hero-btn-primary {
    padding: 5px 12px;
    font-size: 10px;
  }
  .hero-perk-chip {
    display: none;
  }
  .hero-visual-card {
    padding: 10px 10px;
    min-width: 105px;
    border-radius: 13px;
  }
  .hero-card-icon-wrap {
    width: 32px;
    height: 32px;
    margin-bottom: 3px;
  }
  .hero-card-highlight {
    font-size: 10.5px;
  }
  .hero-card-tagline {
    font-size: 8.5px;
  }
  .hero-card-floating-badge {
    font-size: 8px;
    padding: 1.5px 5px;
    top: -6px;
    right: -4px;
  }
}