/* ═══════════════════════════════════════════════════════
   JASDORKOPIBYNDU — main.css (Espresso Cream Modern Clean)
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Core Coffee Brand Palette (color-palette-guide.md) */
  --color-espresso: #3B2118;
  --color-cream: #F7EFE3;
  --color-caramel: #C98245;
  --color-gold: #D9B06F;

  --color-primary: #3B2118;
  --color-background: #F7EFE3;
  --color-accent: #C98245;
  --color-highlight: #D9B06F;

  --color-text-primary: #3B2118;
  --color-text-light: #F7EFE3;

  --color-button-primary: #3B2118;
  --color-button-secondary: #C98245;
  --color-badge: #D9B06F;

  /* Aliases for seamless component compatibility (NO GRADIENT) */
  --color-toffee: #3B2118;
  --color-strawberry: #C98245;
  --color-oat: #F7EFE3;
  --color-mint: #D9B06F;

  --bg: #F7EFE3;
  --bg-gradient: #F7EFE3;
  --card: #FFFFFF;
  --card-solid: #F7EFE3;
  --pastel-pink: #F7EFE3;
  --pastel-cream: #F7EFE3;
  --pastel-blue: #C98245;
  --pastel-green: #D9B06F;
  --pastel-rose: #3B2118;
  --pastel-heart: #C98245;
  --pastel-lavender: #F7EFE3;

  --ink: #3B2118;
  --ink-2: #5D3E37;
  --ink-3: #8D6E63;
  --border: #E8DFD1;
  --border-focus: #3B2118;
  --border-hover: rgba(59, 33, 24, 0.45);
  --gold: #D9B06F;
  --forest: #3B2118;

  --brand-color: #3B2118;
  --brand-color-hover: #C98245;
  --brand-color-light: rgba(201, 130, 69, 0.15);
  --brand-color-subtle: rgba(59, 33, 24, 0.06);
  --brand-gradient: #3B2118;
  --heart-glow: none;

  --accent-blue: #C98245;
  --accent-blue-deep: #3B2118;
  --accent-blue-light: rgba(201, 130, 69, 0.15);

  --font-cute: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(59, 33, 24, 0.04);
  --sh-md: 0 6px 18px rgba(59, 33, 24, 0.07);
  --sh-lg: 0 12px 28px rgba(59, 33, 24, 0.1);
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.45;
  letter-spacing: -0.15px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(24, 21, 19, 0.12);
  border-radius: var(--r-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 21, 19, 0.22);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── LAYOUT WRAPPER (Centered desktop container) ── */
.page-wrapper {
  max-width: 680px;
  /* Refined, focused mobile-first feed layout */
  margin: 0 auto;
  padding-bottom: 120px;
}

.dashboard-sidebar {
  width: 100%;
  display: block;
  position: relative;
  z-index: 100;
}

.dashboard-main {
  width: 100%;
  display: block;
  position: relative;
  z-index: 10;
}

/* ══════════════════════════════════════════════════════
   TOP NAV (Mobile & Desktop Sticky Header)
   ══════════════════════════════════════════════════════ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #3B2118;
  border-bottom: 1px solid rgba(247, 239, 227, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: box-shadow .25s ease;
}

.topnav.scrolled {
  background: #3B2118;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

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

.topnav-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topnav-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(247, 239, 227, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.topnav-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.topnav-name {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #F7EFE3;
  display: flex;
  align-items: center;
  gap: 4px;
}

.topnav-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: #D9B06F;
  letter-spacing: 0.2px;
}

.topnav-wifi {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════
   HERO / APP HEADER (Cute Love Aesthetic)
   ══════════════════════════════════════════════════════ */
.hero-bento {
  margin: 14px 16px 0;
  background: #3B2118;
  border-radius: 20px;
  padding: 24px 22px 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 239, 227, 0.12);
  box-shadow: 0 8px 24px rgba(59, 33, 24, 0.18);
}

.bento-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.bento-brand-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #3B2118;
  background: #D9B06F;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bento-main {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.bento-title {
  font-family: var(--font-body);
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: #F7EFE3;
  margin: 0 0 8px;
}

.bento-title-accent {
  color: #D9B06F;
  display: inline;
}

.bento-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: #F7EFE3;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0 0 14px;
}

.bento-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(247, 239, 227, 0.1);
  border: 1px solid rgba(247, 239, 227, 0.18);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #F7EFE3;
  letter-spacing: -0.1px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bento-pill:hover {
  background: rgba(247, 239, 227, 0.18);
  border-color: #D9B06F;
}

.bento-pill svg {
  color: #D9B06F;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.bento-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-top: 14px;
  width: 100%;
}

.bento-action-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
  position: relative;
  min-height: 48px;
}

.bento-action-card:active {
  transform: scale(0.98);
}

.bento-action-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-action-icon svg {
  width: 14px;
  height: 14px;
}

.bento-action-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.bento-action-title {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.bento-action-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.bento-action-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  margin-left: auto;
}

.bento-action--primary {
  background: #C98245;
  border: 1px solid #C98245;
  color: #F7EFE3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.bento-action--primary:hover {
  background: #D9B06F;
  border-color: #D9B06F;
  color: #3B2118;
}

.bento-action--primary .bento-action-icon {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

.bento-action--secondary {
  background: rgba(247, 239, 227, 0.08);
  border: 1px solid rgba(247, 239, 227, 0.2);
  color: #F7EFE3;
}

.bento-action--secondary:hover {
  background: rgba(247, 239, 227, 0.16);
  border-color: #D9B06F;
  color: #F7EFE3;
}

.bento-action--secondary .bento-action-icon {
  background: rgba(247, 239, 227, 0.15);
  color: #D9B06F;
}

.bento-action--secondary .bento-action-arrow {
  color: #555555;
}

.bento-action--secondary:hover {
  background: #FFFFFF;
  border-color: var(--color-toffee);
  transform: translateY(-1.5px);
  box-shadow: 0 5px 14px rgba(78, 44, 19, 0.08);
}

.bento-action--secondary:hover .bento-action-arrow {
  transform: translateX(3px);
  color: var(--color-toffee);
  opacity: 1;
}

/* ── Responsive Mobile Optimizations for Hero Bento ──────────────── */
@media (max-width: 640px) {
  .hero-bento {
    margin: 10px 12px 0;
    padding: 16px 14px 14px;
    border-radius: 20px;
  }

  .bento-top-bar {
    gap: 6px;
    margin-bottom: 10px;
  }

  .bento-brand-tag {
    padding: 3px 8px;
    font-size: 10px;
  }

  .bento-title {
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -0.3px;
    margin: 0 0 5px;
  }

  .bento-desc {
    font-size: 11.5px;
    line-height: 1.4;
    margin: 0 0 8px;
  }

  .bento-pills {
    gap: 5px;
    margin-top: 2px;
  }

  .bento-pill {
    padding: 3.5px 8px;
    font-size: 10px;
    gap: 3.5px;
  }

  .bento-pill svg {
    width: 11px;
    height: 11px;
  }

  .bento-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .bento-action-card {
    padding: 6px 7px;
    border-radius: 14px;
    gap: 6px;
    min-height: 42px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .bento-action-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .bento-action-icon svg {
    width: 12px;
    height: 12px;
  }

  .bento-action-meta {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .bento-action-title {
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento-action-sub {
    font-size: 8.5px;
    letter-spacing: -0.2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento-action-arrow {
    opacity: 0.65;
    flex-shrink: 0;
    margin-left: auto;
  }

  .bento-action-arrow svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 380px) {
  .hero-bento {
    margin: 8px 8px 0;
    padding: 14px 10px 10px;
    border-radius: 18px;
  }

  .bento-title {
    font-size: 16px;
  }

  .bento-desc {
    font-size: 11px;
  }

  .bento-brand-tag {
    font-size: 9.5px;
    padding: 2.5px 7px;
  }

  .bento-actions-grid {
    gap: 5px;
  }

  .bento-action-card {
    padding: 5px 6px;
    min-height: 38px;
    border-radius: 12px;
    gap: 4.5px;
  }

  .bento-action-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    flex-shrink: 0;
  }

  .bento-action-icon svg {
    width: 10px;
    height: 10px;
  }

  .bento-action-title {
    font-size: 10px;
  }

  .bento-action-sub {
    font-size: 7.5px;
    letter-spacing: -0.25px;
  }

  .bento-action-arrow {
    opacity: 0.55;
    flex-shrink: 0;
    margin-left: auto;
  }

  .bento-action-arrow svg {
    width: 9.5px;
    height: 9.5px;
  }
}

/* ══════════════════════════════════════════════════════
   BRAND CARDS (Selector)
   ══════════════════════════════════════════════════════ */
.brands-wrap {
  padding: 20px 16px 0;
}

.brands-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.brands-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brands-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--ink);
}

.brands-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.1px;
}

.brands-sparkle {
  font-size: 16px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(194, 155, 38, 0.3));
}

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

/* Base brand card - Uniform, Modern, Clean */
.bcard {
  position: relative;
  border-radius: 20px;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--card);
  transition: all .24s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(30, 22, 19, 0.03);
}

.bcard:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 8px 20px rgba(30, 22, 19, 0.07);
}

.bcard:active {
  transform: scale(0.97);
}

/* Active brand card */
.bcard.active {
  border-color: var(--ink);
  background: var(--card);
  box-shadow: 0 8px 24px rgba(24, 21, 19, 0.1);
  transform: translateY(-2px);
}

/* Brand specific active subtle glows/accents */
#bcard-kopken.active {
  border-color: #8C1D24;
  box-shadow: 0 8px 24px rgba(140, 29, 36, 0.14);
}

/* Active Indicator Pill/Dot Badge */
.bcard-check {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#bcard-kopken .bcard-check {
  background: #8C1D24;
}

.bcard-check.hidden {
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
}

/* Logo container inside card */
.bcard-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(30, 22, 19, 0.025);
  border: 1px solid rgba(30, 22, 19, 0.05);
  padding: 6px;
  transition: transform .25s ease;
}

.bcard:hover .bcard-logo-wrap {
  transform: scale(1.06);
}

.bcard-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Info section: Name & Meta tag */
.bcard-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.bcard-name {
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
  letter-spacing: -.3px;
  line-height: 1.25;
}

.bcard-meta {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(30, 22, 19, 0.04);
  padding: 2.5px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.1px;
  line-height: 1.2;
  transition: all .2s ease;
}

.bcard.active .bcard-meta {
  color: var(--ink);
  background: rgba(30, 22, 19, 0.08);
}

#bcard-kopken.active .bcard-meta {
  color: #8C1D24;
  background: rgba(140, 29, 36, 0.08);
}

/* ══════════════════════════════════════════════════════
   SEARCH BAR
   ══════════════════════════════════════════════════════ */
.searchbar {
  position: relative;
  margin: 16px 16px 0;
}

.searchbar input {
  width: 100%;
  height: 50px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0 48px 0 46px;
  font-family: var(--font-cute);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.05);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.searchbar input:focus {
  border-color: var(--brand-color);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(201, 130, 69, 0.2);
}

.searchbar input::placeholder {
  color: var(--ink-3);
  font-family: var(--font-cute);
}

.searchbar-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  stroke: var(--ink-3);
  transition: stroke .2s;
}

.searchbar input:focus + .searchbar-icon,
.searchbar:focus-within .searchbar-icon {
  stroke: var(--brand-color);
}

.searchbar-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 22, 19, 0.07);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s, transform .2s, background .2s;
}

.searchbar-clear:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.searchbar-clear:active {
  transform: translateY(-50%) scale(0.92);
}

/* ══════════════════════════════════════════════════════
   WIFI SECTION
   ══════════════════════════════════════════════════════ */
.wifi-section {
  padding: 12px 16px 0;
}

.wifi-toggle-btn {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .2s ease, background .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 6px rgba(30, 22, 19, 0.02);
}

.wifi-toggle-btn:hover {
  background: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 22, 19, 0.05);
}

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

.wifi-card {
  display: none;
  margin-top: 10px;
  background: var(--card);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(30, 22, 19, 0.04);
  position: relative;
  animation: slideDownFade 0.25s ease;
}

.wifi-card.active {
  display: block;
}

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

.wifi-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.wifi-header span {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
}

.wifi-user {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 12px;
  line-height: 1.5;
}

.wifi-password-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--bg);
}

.wifi-password-box small {
  display: block;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}

.wifi-password-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wifi-password-scroll {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.wifi-password-scroll::-webkit-scrollbar {
  display: none;
}

.wifi-password-scroll h2 {
  width: max-content;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--ink);
}

.wifi-password-box button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .2s, opacity .2s, background .2s;
}

.wifi-password-box button:hover {
  transform: scale(1.08);
  opacity: .9;
}

.wifi-password-box button:active {
  transform: scale(0.94);
}

/* ══════════════════════════════════════════════════════
   CATEGORY TABS (Sticky Below Header)
   ══════════════════════════════════════════════════════ */
.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  scrollbar-width: none;
  position: sticky;
  top: 60px;
  background: rgba(247, 239, 227, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 60;
  border-bottom: 1px solid var(--border);
  user-select: none;
}

.categories button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
  color: #3B2118;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s ease;
}

.categories button:hover:not(.active) {
  background: #FFFFFF;
  border-color: #C98245;
  color: #C98245;
}

.categories button.active {
  background: #3B2118;
  color: #F7EFE3;
  border-color: #3B2118;
  box-shadow: 0 3px 10px rgba(59, 33, 24, 0.16);
}

.categories button:active {
  transform: scale(.96);
}

/* ══════════════════════════════════════════════════════
   MENU CATALOG SECTION
   ══════════════════════════════════════════════════════ */
.menu-section {
  padding: 24px 16px 0;
  scroll-margin-top: 100px;
}

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

.section-title {
  font-family: var(--font-cute);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 18px;
  background: var(--color-caramel, #C98245);
  border-radius: var(--r-pill);
  display: inline-block;
  flex-shrink: 0;
}

/* ── Menu Grid (Horizontal List) ── */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Menu List Card (Horizontal Row) ── */
.card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 14px;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(59, 33, 24, 0.04);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  border: 1px solid var(--border);
  position: relative;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 33, 24, 0.08);
  border-color: #C98245;
}

.card:active {
  transform: scale(.99);
}

.card-img-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F7EFE3;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

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

.card-badge-custom {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #D9B06F;
  color: #3B2118;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: none;
  z-index: 2;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.card-title,
.card-body h3 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: #3B2118;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.15px;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: #5D3E37;
  line-height: 1.35;
  margin: 0;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.price {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: #3B2118;
}

.price-original {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: #8D6E63;
  text-decoration: line-through;
  font-weight: 500;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 6px;
}

.add-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #3B2118;
  border-radius: 8px;
  background: #3B2118;
  color: #F7EFE3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(59, 33, 24, 0.12);
  transition: all .2s ease;
}

.add-btn svg {
  stroke-width: 2.4;
}

.card:hover .add-btn {
  background: #C98245;
  color: #F7EFE3;
  border-color: #C98245;
}

.add-btn:active {
  transform: scale(.9) !important;
}

.soldout-badge {
  font-family: var(--font-cute);
  font-size: 11px;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   REDESIGNED PRODUCT CUSTOMIZATION MODAL (Cute & Premium)
   ══════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: flex-end;
  background: rgba(62, 39, 35, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  transition: opacity 0.25s ease;
}

@media (min-width: 640px) {
  .modal {
    align-items: center;
    padding: 20px;
  }
}

.modal.active {
  display: flex;
  animation: fadeInBackdrop 0.22s ease-out;
}

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

.modal-content.modal-content--redesign,
.modal-content {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 32px 32px 0 0;
  padding: 16px 20px 20px;
  position: relative;
  box-shadow: 0 24px 70px rgba(62, 39, 35, 0.2), 0 8px 30px rgba(62, 39, 35, 0.1);
  animation: slideUpModal .28s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: none;
  border: 1.5px solid var(--border);
}

@media (min-width: 640px) {
  .modal-content.modal-content--redesign,
  .modal-content {
    border-radius: 32px;
    max-height: 85vh;
  }
}

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

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Top Bar: Drag Handle + Close Button */
.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
}

.modal-drag-pill {
  width: 42px;
  height: 4.5px;
  border-radius: var(--r-pill);
  background: var(--border);
  margin: 0 auto;
}

.modal-close-icon {
  position: absolute;
  right: 0;
  top: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #FAF6EE;
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--spring-bounce);
}

.modal-close-icon:hover {
  background: var(--color-toffee);
  color: #F5F0E6;
  transform: rotate(90deg) scale(1.08);
}

/* Modal Header */
.modal-header {
  margin-top: 4px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.modal-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F3F8F2;
  color: #2A5A27;
  font-family: var(--font-cute);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--color-mint);
}

.modal-hemat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  font-family: var(--font-cute);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid #E8DFD1;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.12);
}

.modal-title {
  font-family: var(--font-cute);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0 0 6px 0;
}

.modal-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
  margin-bottom: 8px;
}

.modal-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.modal-price {
  font-family: var(--font-cute);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-color);
  letter-spacing: -0.3px;
}

.modal-price-original {
  display: none !important;
}

/* Option Groups */
.option-group {
  margin-bottom: 16px;
}

.option-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.opt-label-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.opt-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-toffee);
}

.opt-label-title {
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.1px;
}

.opt-label-badge {
  font-size: 10px;
  font-weight: 700;
  color: #2A5A27;
  background: #F3F8F2;
  border: 1px solid var(--color-mint);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

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

.option-buttons.three {
  grid-template-columns: repeat(3, 1fr);
}

.option-buttons.full {
  grid-template-columns: 1fr;
}

/* ── ADVANCED OPTIONS ACCORDION & CHIPS ── */
.advanced-options-accordion {
  margin-top: 14px;
  margin-bottom: 8px;
}

.advanced-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.25s var(--spring-bounce);
  text-align: left;
}

.advanced-accordion-header:hover {
  background: #F5F0E6;
  border-color: var(--color-toffee);
}

.advanced-accordion-header.active {
  border-color: var(--color-toffee);
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.1);
}

.advanced-accordion-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.advanced-accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advanced-accordion-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.advanced-accordion-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.advanced-accordion-desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 6px;
}

.advanced-accordion-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.advanced-selected-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--color-toffee);
  background: var(--color-strawberry);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: -0.2px;
  line-height: 1.2;
  border: 1px solid #E8DFD1;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.12);
  animation: badgePop 0.2s ease;
}

@keyframes badgePop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.advanced-chevron-icon {
  color: var(--ink-3);
  transition: transform 0.25s ease, color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advanced-accordion-header.active .advanced-chevron-icon {
  transform: rotate(180deg);
  color: var(--color-toffee);
}

#advancedOptionsPanel {
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 14px 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideDownPanel 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownPanel {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.advanced-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.advanced-section-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  gap: 5px;
}

.advanced-section-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  background: #F3F8F2;
  border: 1px solid var(--color-mint);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Addon Chips Grid for Syrup & Topping */
.addon-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.addon-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  gap: 6px;
  min-height: 40px;
}

.addon-chip:hover {
  border-color: var(--color-toffee);
  background: #FAF6EE;
}

.addon-chip.active {
  background: #3B2118;
  border-color: #3E2723;
  color: #F5F0E6;
  box-shadow: 0 4px 12px rgba(62, 39, 35, 0.25);
}

.addon-chip-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.addon-chip-check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  color: transparent;
  transition: all 0.15s ease;
}

.addon-chip.active .addon-chip-check {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--color-toffee);
}

.addon-chip-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.addon-chip.active .addon-chip-name {
  color: #F5F0E6;
  font-weight: 700;
}

.addon-chip-price {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(201, 130, 69, 0.15);
  color: var(--color-toffee);
  flex-shrink: 0;
  letter-spacing: -0.2px;
}

.addon-chip.active .addon-chip-price {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Dark Theme Adjustments */
body.dark-theme .advanced-accordion-header {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .advanced-accordion-header:hover {
  background: rgba(255, 255, 255, 0.07);
}
body.dark-theme .advanced-accordion-title {
  color: #f0f0f0;
}
body.dark-theme .advanced-accordion-desc {
  color: #999999;
}
body.dark-theme #advancedOptionsPanel {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .addon-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark-theme .addon-chip-name {
  color: #e5e5e5;
}
body.dark-theme .addon-chip-price {
  background: rgba(255, 255, 255, 0.1);
  color: #cccccc;
}
body.dark-theme .advanced-section-sub {
  background: rgba(255, 255, 255, 0.08);
  color: #aaaaaa;
}

/* ── MODAL OPTION BUTTONS ── */
.option-buttons button {
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink-2);
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(62, 39, 35, 0.04);
  transition: all 0.22s var(--spring-bounce);
  position: relative;
  overflow: hidden;
}

.option-buttons button:hover:not(.active) {
  background: #FAF6EE;
  border-color: var(--color-toffee);
  color: var(--color-toffee);
  transform: translateY(-1px);
}

.option-buttons button.active {
  background: #3B2118;
  color: #F5F0E6;
  border-color: #3E2723;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(62, 39, 35, 0.28);
  transform: scale(1.01);
}

.option-buttons button .btn-opt-title {
  font-weight: 700;
}

.option-buttons button .btn-opt-sub {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.88;
}

.option-buttons button.active .btn-opt-sub {
  color: var(--color-strawberry);
}

.option-buttons button:not(.active) .btn-opt-sub {
  color: var(--color-toffee);
}

.opt-btn-icon {
  flex-shrink: 0;
  stroke: currentColor;
}

/* Modal Note Wrap */
.modal-note-wrap {
  margin-top: 12px;
  margin-bottom: 8px;
}

.modal-note-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cute);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.modal-note-label svg {
  color: var(--color-toffee);
}

#noteInput {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#noteInput:focus {
  border-color: var(--color-toffee);
  box-shadow: 0 0 0 3px rgba(201, 130, 69, 0.2);
}

/* Modal Footer Buttons */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cancel-btn {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #3B2118;
  color: #3B2118;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #3B2118;
  color: #F7EFE3;
}

.add-cart-btn {
  flex: 1.5;
  height: 44px;
  border-radius: 10px;
  background: #3B2118;
  border: 1px solid #3B2118;
  color: #F7EFE3;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.add-cart-btn:hover {
  background: #C98245;
  border-color: #C98245;
  color: #F7EFE3;
}

.add-cart-btn:active {
  transform: scale(0.97);
}

.add-cart-btn:disabled {
  opacity: 0.55;
  filter: grayscale(40%);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-price-pill {
  background: var(--color-strawberry) !important;
  color: var(--color-toffee) !important;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: var(--font-cute);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* About & How to Info modals */
.info-modal {
  width: 100%;
  max-width: 500px;
  background: var(--card);
  border-radius: 28px;
  padding: 32px 26px;
  box-shadow: var(--sh-lg);
  animation: popUp .24s ease;
  border: 1.5px solid var(--border);
}

.info-modal h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.8px;
  margin-bottom: 16px;
  color: var(--ink);
}

.info-modal p,
.info-modal li {
  color: var(--ink-2);
  line-height: 1.8;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 8px;
}

.info-modal strong {
  color: var(--ink);
  font-weight: 800;
}

.info-modal ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.info-modal button {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .16s;
}

.info-modal button:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.info-modal button:active {
  transform: scale(.97);
}

/* Brand Warning & custom popups */
#brandWarningModal,
#alertModal,
#cartConflictModal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(30, 22, 19, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  padding: 16px;
}

#brandWarningModal.active,
#alertModal.active,
#cartConflictModal.active,
#storeClosedModal.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   REDESIGNED ALERT MODAL (JASDORKOPIBYNDU CLEAN AESTHETIC)
   ══════════════════════════════════════════════════════ */
.alert-modal-card {
  width: 92%;
  max-width: 440px !important;
  background: var(--card, #ffffff);
  border-radius: 28px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--border);
  text-align: left;
  animation: popUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  margin: auto;
}

.alert-modal-card .howto-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.alert-modal-card .howto-modal-title-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink, #111111);
  margin: 0 0 3px;
}

.alert-modal-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-color, #3E2723) !important;
}

.alert-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border) !important;
  background: var(--card, #ffffff) !important;
  color: var(--brand-color, #3E2723) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.alert-modal-close:hover {
  background: rgba(201, 130, 69, 0.15) !important;
  transform: scale(1.08);
}

.alert-modal-close:active {
  transform: scale(0.92);
}

.alert-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1.5px solid var(--border) !important;
  background: var(--card, #ffffff);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alert-step-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.08);
}

.alert-step-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50%;
  background: #FAF6EE !important;
  border: 1px solid var(--border);
  color: var(--brand-color, #3E2723) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-step-content {
  flex: 1;
}

.alert-step-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.2px;
}

.alert-step-content p {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

.alert-modal-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.alert-btn-primary {
  width: 100%;
  height: 48px;
  border-radius: var(--r-pill, 9999px);
  background: var(--brand-gradient);
  color: #F5F0E6;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.25);
}

.alert-btn-primary:hover {
  background: #3B2118;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(62, 39, 35, 0.35);
}

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

/* Dark theme overrides for alert modal */
body.dark-theme .alert-modal-card {
  background: #1a1614;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

body.dark-theme .alert-modal-card .howto-modal-title-wrap h2 {
  color: #ffffff;
}

body.dark-theme .alert-modal-subtitle {
  color: #ff6b70 !important;
}

body.dark-theme .alert-modal-close {
  background: #25201d !important;
  border-color: rgba(255, 107, 112, 0.35) !important;
  color: #ff6b70 !important;
}

body.dark-theme .alert-modal-close:hover {
  background: rgba(255, 107, 112, 0.15) !important;
}

body.dark-theme .alert-step-card {
  background: #221c19;
  border-color: rgba(255, 107, 112, 0.28) !important;
}

body.dark-theme .alert-step-icon {
  background: rgba(255, 107, 112, 0.18) !important;
  color: #ff6b70 !important;
}

body.dark-theme .alert-step-content h4 {
  color: #ffffff;
}

body.dark-theme .alert-step-content p {
  color: #cccccc;
}

body.dark-theme .alert-modal-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .alert-btn-primary {
  background: #ffffff;
  color: #181311;
}

body.dark-theme .alert-btn-primary:hover {
  background: #e5e5e5;
}

.warning-modal-card,
.warning-modal-content {
  width: 90%;
  max-width: 340px;
  background: var(--card, #ffffff);
  border-radius: 28px;
  padding: 32px 24px 26px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  position: relative;
  margin: auto;
  animation: warningPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes warningPop {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.warning-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-icon svg {
  width: 48px;
  height: 48px;
}

.warning-title,
.warning-modal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink, #111111);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.warning-message,
.warning-modal-content p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3, #666666) !important;
  line-height: 1.45;
  margin-bottom: 22px;
  padding: 0 4px;
}

.warning-btn-primary,
.warning-modal-content button:not(.warning-btn-secondary):not(.warn-cancel) {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #181311 !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-top: 0;
}

.warning-btn-primary:hover,
.warning-modal-content button:not(.warning-btn-secondary):not(.warn-cancel):hover {
  background: #2b221f !important;
  transform: translateY(-1px);
  opacity: 1;
}

.warning-btn-primary:active,
.warning-modal-content button:not(.warning-btn-secondary):not(.warn-cancel):active {
  transform: scale(0.97);
}

.warning-btn-secondary,
.warn-cancel {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background: transparent !important;
  color: var(--ink-3, #666666) !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  margin-top: 6px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.warning-btn-secondary:hover,
.warn-cancel:hover {
  color: var(--ink, #111111) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

/* ══════════════════════════════════════════════════════
   FLOATING CART
   ══════════════════════════════════════════════════════ */
.floating-cart {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #3B2118;
  color: #F7EFE3;
  padding: 8px 10px 8px 14px;
  border-radius: 14px;
  font-family: var(--font-body);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(247, 239, 227, 0.2);
  z-index: 890;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  user-select: none;
}

.floating-cart.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

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

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

.floating-cart-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(247, 239, 227, 0.12);
  color: #F7EFE3;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.floating-cart-price {
  color: #D9B06F;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.floating-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #C98245;
  color: #F7EFE3;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  transition: background .2s ease;
}

.floating-cart-btn:hover {
  background: #D9B06F;
  color: #3B2118;
}

.floating-cart-btn svg {
  transition: transform .2s ease;
}

.floating-cart:hover .floating-cart-btn svg {
  transform: translateX(3px);
}

.floating-cart.cart-blocked {
  filter: grayscale(45%);
  opacity: 0.85;
}

.floating-cart.cart-blocked .floating-cart-btn {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.05) translateY(-3px);
  }

  50% {
    transform: scale(0.96) translateY(1px);
  }

  70% {
    transform: scale(1.02) translateY(-1px);
  }

  100% {
    transform: scale(1);
  }
}

.floating-cart.cart-bounce {
  animation: cartBounce 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ══════════════════════════════════════════════════════
   SCROLL TOP
   ══════════════════════════════════════════════════════ */
.scroll-top {
  display: none !important;
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(30, 22, 19, 0.08);
  z-index: 889;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, bottom .25s, background .2s;
}

.scroll-top.has-cart {
  bottom: 80px;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: scale(1.08);
  background: var(--bg);
}

/* ══════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #3B2118;
  color: #F7EFE3;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(247, 239, 227, 0.2);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════
   CART POPUP MODAL (Reverted to centered modal dialog on desktop)
   ══════════════════════════════════════════════════════ */
.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(62, 39, 35, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  transition: opacity 0.25s ease;
}

@media (min-width: 640px) {
  .cart-modal {
    align-items: center;
    padding: 20px;
  }
}

.cart-modal.active {
  display: flex;
  animation: fadeInBackdrop 0.22s ease-out;
}

.cart-sheet.cart-sheet--redesign,
.cart-sheet {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 32px 32px 0 0;
  padding: 16px 20px 20px;
  position: relative;
  box-shadow: 0 24px 70px rgba(62, 39, 35, 0.2), 0 8px 30px rgba(62, 39, 35, 0.1);
  animation: slideUpModal .28s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: none;
  border: 1.5px solid var(--border);
}

@media (min-width: 640px) {
  .cart-sheet.cart-sheet--redesign,
  .cart-sheet {
    border-radius: 32px;
    max-height: 85vh;
  }
}

.cart-sheet::-webkit-scrollbar {
  display: none;
}

.sheet-handle {
  display: none !important;
}

/* Cart Header */
.cart-header {
  margin-top: 4px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.cart-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cart-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F3F8F2;
  color: #2A5A27;
  font-family: var(--font-cute);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--color-mint);
}

.cart-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  font-family: var(--font-cute);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid #E8DFD1;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.12);
}

.cart-main-title {
  font-family: var(--font-cute);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0 0 4px 0;
}

.cart-subtitle {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.2px;
}

/* Empty State */
.cart-empty-state {
  text-align: center;
  padding: 36px 16px;
  background: #FAF6EE;
  border-radius: 20px;
  border: 1.5px dashed var(--border);
  margin-bottom: 14px;
}

.cart-empty-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.12);
}

.cart-empty-title {
  font-family: var(--font-cute);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.cart-empty-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* Cart Item Cards */
.cart-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 12px rgba(62, 39, 35, 0.04);
  transition: all 0.2s var(--spring-bounce);
}

.cart-item:hover {
  border-color: var(--color-toffee);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(62, 39, 35, 0.08);
}

.cart-item-img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid var(--border);
  background: #FAF6EE;
  flex-shrink: 0;
}

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

.cart-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cart-item-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-family: var(--font-cute);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.cart-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  font-family: var(--font-cute);
  font-size: 9.5px;
  font-weight: 700;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  padding: 1.5px 7px;
  border-radius: var(--r-pill, 9999px);
  letter-spacing: 0.2px;
  flex-shrink: 0;
  line-height: 1.2;
}

body.dark-theme .cart-promo-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

.edit-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F3F8F2;
  color: #2A5A27;
  border: 1px solid var(--color-mint);
  border-radius: var(--r-pill);
  padding: 2.5px 8px;
  font-family: var(--font-cute);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s var(--spring-bounce);
  flex-shrink: 0;
}

.edit-item-btn:hover {
  background: var(--color-mint);
  color: #1F3C1D;
  transform: scale(1.05);
}

.cart-opt-chips,
.cart-adv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.cart-opt-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-cute);
  font-size: 10.5px;
  font-weight: 600;
  background: #FAF6EE;
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 1.5px 7px;
  line-height: 1.2;
}

.cart-opt-chip--adv {
  background: var(--color-strawberry);
  color: var(--color-toffee);
  border-color: #E8DFD1;
  font-weight: 700;
}

.cart-note {
  color: var(--ink-3);
  font-size: 11px;
  font-style: italic;
  margin-top: 2px;
  line-height: 1.35;
}

.cart-item-price {
  font-family: var(--font-cute);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-toffee);
  letter-spacing: -0.2px;
  line-height: 1;
  margin-top: 2px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qty-control-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px 6px;
  height: 32px;
  box-sizing: border-box;
}

.qty-control-pill .qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--color-toffee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.16s var(--spring-bounce);
  flex-shrink: 0;
}

.qty-control-pill .qty-btn svg {
  display: block;
  pointer-events: none;
}

.qty-control-pill .qty-btn:hover {
  background: var(--color-toffee);
  color: #F5F0E6;
  border-color: var(--color-toffee);
  transform: scale(1.08);
}

.qty-control-pill .qty-btn:active {
  transform: scale(0.92);
}

.qty-control-pill span {
  min-width: 14px;
  text-align: center;
  font-family: var(--font-cute);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #FAF6EE;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--spring-bounce);
}

.delete-btn:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #EF4444;
  transform: scale(1.08);
}

.delete-btn svg {
  display: block;
  pointer-events: none;
}

/* Cart Form Options */
.cart-form {
  margin-top: 14px;
}

.cart-field-wrap {
  margin-bottom: 12px;
}

.cart-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cute);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.cart-field-label svg {
  color: var(--color-toffee);
}

.cart-field-badge {
  font-size: 10px;
  font-weight: 700;
  color: #2A5A27;
  background: #F3F8F2;
  border: 1px solid var(--color-mint);
  padding: 1.5px 6px;
  border-radius: var(--r-pill);
  margin-left: 2px;
}

.cart-input-wrap input#customerName {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  padding: 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
}

.cart-input-wrap input#customerName:focus {
  border-color: var(--color-toffee);
  box-shadow: 0 0 0 3px rgba(201, 130, 69, 0.2);
}

/* Outlet Card */
.cart-outlet-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
}

.cart-outlet-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-outlet-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-outlet-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cart-outlet-name {
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cart Note Wrap */
.cart-note-wrap {
  margin-top: 10px;
  margin-bottom: 6px;
}

.cart-note-wrap textarea {
  width: 100%;
  height: 60px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-note-wrap textarea:focus {
  border-color: var(--color-toffee);
  box-shadow: 0 0 0 3px rgba(201, 130, 69, 0.2);
}

/* Alarm Style Pickup Time Picker */
.pickup-alarm-container {
  margin-top: 10px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pickup-mode-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface, rgba(30, 22, 19, 0.04));
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pickup-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
}

.pickup-mode-btn svg {
  color: var(--ink-2);
  transition: color .2s ease;
}

.pickup-mode-btn.active {
  background: var(--card, #fff);
  color: var(--color-toffee);
  box-shadow: 0 2px 8px rgba(78, 44, 19, 0.12);
}

.pickup-mode-btn.active svg {
  color: var(--color-toffee);
}

.alarm-picker-box {
  border: 1.5px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  transition: opacity .25s ease, border-color .25s ease, filter .25s ease;
}

.alarm-picker-box.disabled {
  display: none !important;
}

.alarm-picker-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  background: #FAF6EE;
}

.alarm-picker-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 120px;
  align-items: center;
  user-select: none;
}

.alarm-selection-bar {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 38px;
  transform: translateY(-50%);
  background: rgba(201, 130, 69, 0.12);
  border-top: 1.5px solid rgba(201, 130, 69, 0.4);
  border-bottom: 1.5px solid rgba(201, 130, 69, 0.4);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

.alarm-divider {
  width: 1px;
  height: 70%;
  background: var(--border);
  z-index: 2;
}

.alarm-wheel {
  height: 120px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  z-index: 2;
  position: relative;
}

.alarm-wheel::-webkit-scrollbar {
  display: none;
}

.wheel-spacer {
  height: 41px;
  flex-shrink: 0;
}

.wheel-item {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  opacity: 0.35;
  transition: all .15s ease;
  cursor: pointer;
}

.wheel-item.active {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-color, #3E2723);
  opacity: 1;
}

.cart-form textarea {
  height: 72px;
  resize: none;
  margin-top: 10px;
}

.admin-section {
  position: relative;
  margin-top: 0;
}

.admin-section label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}

.admin-select {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s;
}

.admin-select:hover {
  border-color: var(--ink);
}

.admin-dropdown {
  position: absolute;
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  margin-top: 4px;
  overflow: hidden;
  display: none;
  box-shadow: 0 10px 30px rgba(30, 22, 19, 0.08);
  z-index: 10;
}

.admin-dropdown.active {
  display: block;
}

.admin-dropdown div {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background .14s;
}

.admin-dropdown div:hover {
  background: rgba(30, 22, 19, 0.04);
}

/* Pricing details (Receipt Card) */
.cart-summary {
  margin-top: 14px;
  background: #FAF6EE;
  border-radius: 22px;
  padding: 14px 16px;
  border: 1.5px dashed var(--border);
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.05);
}

.cart-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.summary-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cute);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.summary-top-left svg {
  color: var(--color-toffee);
}

.summary-receipt-tag {
  font-family: var(--font-cute);
  font-size: 10px;
  font-weight: 700;
  color: #2A5A27;
  background: #F3F8F2;
  border: 1px solid var(--color-mint);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.summary-label-flex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-row .val-num {
  font-family: var(--font-cute);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
}

.fee-promo-pill {
  display: inline-flex;
  align-items: center;
  background: #059669;
  color: #ffffff;
  font-family: var(--font-cute);
  font-size: 10px;
  font-weight: 800;
  padding: 1.5px 7px;
  border-radius: var(--r-pill);
}

.total-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 10px !important;
  padding: 10px 12px !important;
  background: #FAF6EE !important;
  border-radius: 14px !important;
  border: 1px solid var(--border) !important;
}

.total-label-box {
  display: flex;
  flex-direction: column;
}

.total-title {
  font-family: var(--font-cute);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.total-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
}

.total-price-val {
  font-family: var(--font-cute) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--brand-color) !important;
  letter-spacing: -0.3px;
}

/* Actions */
.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 8px;
}

.reset-btn {
  flex: 0 0 95px;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: #FAF6EE;
  color: var(--ink-2);
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s var(--spring-bounce);
}

.reset-btn:hover {
  background: var(--color-strawberry);
  color: var(--color-toffee);
  border-color: #E8DFD1;
  transform: translateY(-1px);
}

.reset-btn svg {
  color: var(--color-toffee);
}

.checkout-btn {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 20px;
  background: #128C7E;
  color: #ffffff;
  font-family: var(--font-cute);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  transition: all 0.25s var(--spring-bounce);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.48);
  background: #128C7E;
}

.checkout-btn:active {
  transform: scale(0.97);
}

.checkout-btn.disabled-soldout {
  opacity: 0.55;
  filter: grayscale(40%);
  cursor: not-allowed;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  margin-top: 48px;
  padding: 36px 20px 48px;
  background: #3B2118;
  border-radius: 20px 20px 0 0;
  text-align: center;
  border-top: 1px solid rgba(247, 239, 227, 0.12);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  color: #F7EFE3;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(247, 239, 227, 0.2);
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: #F7EFE3;
  letter-spacing: -0.2px;
}

.footer p {
  margin-top: 4px;
  font-size: 13px;
  color: #F7EFE3;
  opacity: 0.85;
}

.footer span {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: #D9B06F;
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE DESIGN & LAYOUT ADJUSTMENTS
   ══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-bento {
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .bento-title {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .bento-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bento-action-card {
    padding: 10px 11px;
    gap: 8px;
  }

  .bento-action-icon {
    width: 30px;
    height: 30px;
  }

  .bento-action-title {
    font-size: 12px;
  }

  .bento-action-sub {
    font-size: 10px;
  }

  .brands-grid {
    gap: 8px;
  }

  .bcard {
    padding: 14px 6px 12px;
    border-radius: 18px;
    gap: 8px;
  }

  .bcard-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    padding: 5px;
  }

  .bcard-name {
    font-size: 11px;
    line-height: 1.2;
  }

  .bcard-meta {
    font-size: 9.5px;
    padding: 2px 7px;
  }

  .menu-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .topnav-wifi {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-right {
    width: 95px;
  }

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

  .bcard-logo-wrap {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 700px) {
  .hero-right {
    width: 170px;
  }

  .hero-btns {
    flex-direction: row;
  }

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

  /* Popup modal for Cart */
  .cart-modal {
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  @media (min-width: 640px) {
    .cart-modal {
      align-items: center !important;
      padding: 20px !important;
    }
  }

  .cart-sheet.cart-sheet--redesign,
  .cart-sheet {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    max-height: 88vh !important;
    border-radius: 32px 32px 0 0 !important;
    border: 1.5px solid var(--border) !important;
    animation: slideUpModal .28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 16px 20px 20px !important;
    box-shadow: 0 24px 70px rgba(62, 39, 35, 0.2), 0 8px 30px rgba(62, 39, 35, 0.1) !important;
  }

  @media (min-width: 640px) {
    .cart-sheet.cart-sheet--redesign,
    .cart-sheet {
      border-radius: 32px !important;
      max-height: 85vh !important;
    }
  }

  .sheet-handle {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════
   THEME TOGGLE LAYOUT & DARK MODE OVERRIDES
   ══════════════════════════════════════════════════════ */
.topnav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(247, 239, 227, 0.18);
  background: rgba(247, 239, 227, 0.08);
  color: #F7EFE3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topnav-btn:hover {
  background: rgba(247, 239, 227, 0.18);
  border-color: #D9B06F;
  color: #D9B06F;
}

.topnav-btn:active {
  transform: scale(0.95);
}

.topnav-btn--wifi {
  border-color: rgba(247, 239, 227, 0.2);
  background: rgba(247, 239, 227, 0.08);
  color: #F7EFE3;
}

.topnav-btn--wifi:hover {
  background: #C98245;
  border-color: #C98245;
  color: #F7EFE3;
}

.topnav-btn--cart {
  background: #C98245 !important;
  border-color: #C98245 !important;
  color: #F7EFE3 !important;
}

.topnav-btn--cart:hover {
  background: #D9B06F !important;
  border-color: #D9B06F !important;
  color: #3B2118 !important;
}

.topnav-btn--cart svg {
  stroke: currentColor !important;
}

.topnav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: #D9B06F;
  color: #3B2118;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #3B2118;
  line-height: 1;
}

.topnav-btn--menu {
  border-color: rgba(247, 239, 227, 0.2);
  background: rgba(247, 239, 227, 0.08);
  color: #F7EFE3;
}

.topnav-btn--menu:hover {
  background: rgba(247, 239, 227, 0.18);
  color: #D9B06F;
  border-color: #D9B06F;
}

.topnav-btn--menu.active {
  background: #C98245 !important;
  border-color: #C98245 !important;
  color: #F7EFE3 !important;
}

.topnav-btn--menu .hamburger-icon {
  display: block;
}

.topnav-btn--menu .ham-line {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease;
  transform-origin: 12px 12px;
}

.topnav-btn--menu.active .ham-top {
  transform: translateY(6px) rotate(45deg);
}

.topnav-btn--menu.active .ham-mid {
  opacity: 0;
  transform: scaleX(0);
}

.topnav-btn--menu.active .ham-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Backdrop */
.nav-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 22, 19, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 1040;
}

.nav-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown Menu Container */
.nav-menu-dropdown {
  position: fixed;
  top: 68px;
  right: 18px;
  width: min(320px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(59, 33, 24, 0.15);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
  overflow: hidden;
}

.nav-menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.nav-menu-header-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #3B2118;
}

.nav-menu-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(62, 39, 35, 0.04);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-menu-close-btn:hover {
  background: rgba(62, 39, 35, 0.1);
  color: var(--ink);
  transform: scale(1.08);
}

.nav-menu-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: transparent;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
}

.nav-menu-link:hover {
  background: rgba(62, 39, 35, 0.04);
  border-color: rgba(62, 39, 35, 0.08);
  transform: translateX(2px);
}

.nav-menu-link:active {
  transform: scale(0.98);
}

.nav-menu-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s var(--spring-bounce);
}

.nav-menu-link:hover .nav-menu-link-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* Icon Variants */
.nav-menu-link-icon--wa {
  background: rgba(37, 211, 102, 0.14);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.nav-menu-link-icon--testi {
  background: rgba(245, 158, 11, 0.14);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.nav-menu-link-icon--admin {
  background: rgba(14, 165, 233, 0.14);
  color: #0284C7;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.nav-menu-link-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-menu-link-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu-link-title {
  font-family: var(--font-cute);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.nav-menu-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.nav-menu-pill--green {
  background: rgba(37, 211, 102, 0.18);
  color: #0d7342;
}

.nav-menu-pill--gold {
  background: rgba(245, 158, 11, 0.18);
  color: #B45309;
}

.nav-menu-pill--blue {
  background: rgba(14, 165, 233, 0.18);
  color: #0369A1;
}

.nav-menu-link-desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu-chevron {
  color: var(--ink-3);
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu-link:hover .nav-menu-chevron {
  opacity: 1;
  transform: translateX(3px);
  color: var(--ink);
}

/* Dark theme overrides for nav-menu */
body.dark-theme .nav-menu-dropdown {
  background: var(--card-solid);
  border-color: var(--border);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

body.dark-theme .nav-menu-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .nav-menu-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

body.dark-theme .nav-menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* WiFi Modal Styling */
.wifi-modal-card {
  position: relative;
  width: 100%;
  max-width: 410px !important;
  background: var(--card);
  border-radius: 28px;
  padding: 32px 24px 24px;
  box-shadow: 0 24px 60px rgba(62, 39, 35, 0.18), 0 6px 18px rgba(62, 39, 35, 0.06);
  border: 1.5px solid var(--border);
  text-align: center;
  animation: popUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.wifi-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #FAF6EE;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.wifi-modal-close:hover {
  background: var(--pastel-pink);
  color: var(--ink);
  transform: scale(1.06);
}

.wifi-modal-close:active {
  transform: scale(0.92);
}

.wifi-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(174, 222, 252, 0.4);
  color: #1E6091;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 8px rgba(174, 222, 252, 0.2);
  transition: transform 0.3s ease;
}

.wifi-modal-card:hover .wifi-icon-circle {
  transform: scale(1.05);
}

.wifi-badge-top {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1E6091;
  background: rgba(174, 222, 252, 0.45);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.wifi-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 0 0 4px;
}

.wifi-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}

body.dark-theme .wifi-date-pill {
  background: rgba(255, 255, 255, 0.06);
}

.wifi-fields-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.wifi-field-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--card-solid, #FFF0F0);
  transition: border-color 0.2s, transform 0.2s;
}

.wifi-field-box--highlight {
  border-color: var(--color-caramel);
  background: rgba(201, 130, 69, 0.12);
}

body.dark-theme .wifi-field-box--highlight {
  background: rgba(201, 130, 69, 0.18);
}

.wifi-field-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wifi-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-2);
}

.wifi-field-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wifi-field-pass {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--brand-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wifi-field-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--card, #ffffff);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  height: 34px !important;
  width: auto !important;
  margin: 0 !important;
}

.wifi-field-copy-btn:hover {
  border-color: var(--ink-2);
  transform: translateY(-1px);
}

.wifi-field-copy-btn:active {
  transform: scale(0.95);
}

.wifi-field-copy-btn--primary {
  background: var(--brand-gradient) !important;
  border-color: var(--brand-color) !important;
  color: #F5F0E6 !important;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.25);
}

.wifi-field-copy-btn--primary:hover {
  filter: brightness(1.08);
}

.wifi-field-copy-btn.copied {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #ffffff !important;
  transform: scale(1.02);
}

.wifi-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

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

.wifi-info-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-solid, #f8f8f8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   HOW-TO ORDER (PANDUAN PEMESANAN) MODAL
   ══════════════════════════════════════════════════════ */
.howto-modal-card {
  position: relative;
  width: 100%;
  max-width: 450px !important;
  background: var(--card);
  border-radius: 28px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--border);
  text-align: left;
  animation: popUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.howto-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.howto-modal-title-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 0 0 3px;
}

.howto-modal-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-caramel, #C98245);
}

.howto-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.howto-modal-close:hover {
  background: var(--brand-color-light);
  color: var(--brand-color);
  transform: scale(1.08);
}

.howto-modal-close:active {
  transform: scale(0.92);
}

.howto-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.howto-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  background: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.howto-step-card:hover {
  transform: translateY(-1px);
  border-color: var(--color-caramel);
  box-shadow: 0 4px 14px rgba(59, 33, 24, 0.05);
}

.howto-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  color: var(--color-caramel, #C98245);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.howto-step-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
  letter-spacing: -0.2px;
}

.howto-step-content p {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

.howto-fee-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-solid, #f8f8f8);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
  margin-top: 2px;
}

.howto-fee-icon {
  flex-shrink: 0;
  color: var(--color-caramel, #C98245);
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.howto-fee-text strong {
  color: var(--ink);
  font-weight: 700;
}

.wifi-info-notice svg {
  flex-shrink: 0;
  color: var(--brand-color);
}

.wifi-modal-action-btn {
  width: 100%;
  height: 48px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--ink);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.wifi-modal-action-btn:active {
  transform: scale(0.98);
}


/* Dark theme variables override */
body.dark-theme {
  --bg: #1A0D15;
  --bg-sidebar: #1A0D15;
  --card: rgba(45, 23, 35, 0.90);
  --card-solid: #2B1622;
  --ink: #FFF5F8;
  --ink-2: #E2BECD;
  --ink-3: #AC869A;
  --border: rgba(247, 239, 227, 0.12);
  --border-focus: #C98245;
  --gold: #D97706;
  --forest: #D9B06F;

  --brand-color: #C98245;
  --brand-color-light: rgba(201, 130, 69, 0.2);
}

/* Custom dark mode overrides */
body.dark-theme .topnav {
  background: rgba(26, 16, 21, 0.88);
  border-bottom-color: var(--border);
}

body.dark-theme .topnav.scrolled {
  background: rgba(26, 16, 21, 0.96);
}


body.dark-theme .hero-bento {
  background: 
    #3B2118,
    var(--card);
  border-color: var(--border);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

body.dark-theme .bento-status-pill {
  background: rgba(174, 222, 252, 0.18);
  border-color: rgba(174, 222, 252, 0.35);
  color: #AEDEFC;
}

body.dark-theme .bento-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme .bento-action--primary {
  background: #ffffff;
  color: #0c0a09;
  border-color: #ffffff;
}

body.dark-theme .bento-action--primary .bento-action-icon {
  background: rgba(12, 10, 9, 0.08);
  color: #0c0a09;
}

body.dark-theme .bento-action--primary .bento-action-title {
  color: #0c0a09;
}

body.dark-theme .bento-action--primary .bento-action-sub {
  color: rgba(12, 10, 9, 0.65);
}

body.dark-theme .bento-action--primary .bento-action-arrow {
  color: rgba(12, 10, 9, 0.6);
}

body.dark-theme .bento-action--primary:hover {
  background: #eae8e3;
}

body.dark-theme .bento-action--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

body.dark-theme .bento-action--secondary .bento-action-icon {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme .bento-action--secondary:hover {
  border-color: var(--brand-color, #103c2b);
}

body.dark-theme .bcard {
  background: var(--card-solid);
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.dark-theme .bcard:hover {
  border-color: var(--ink-3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.dark-theme .bcard.active {
  border-color: var(--ink);
  background: var(--card-solid);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

body.dark-theme #bcard-kopken.active {
  border-color: #e55353;
  box-shadow: 0 8px 28px rgba(229, 83, 83, 0.18);
}

body.dark-theme .bcard-logo-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .bcard-meta {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-3);
}

body.dark-theme #bcard-kopken.active .bcard-meta {
  color: #ff8a8a;
  background: rgba(229, 83, 83, 0.15);
}

body.dark-theme #bcard-kopken .bcard-check {
  background: #e55353;
  color: #fff;
}

body.dark-theme .searchbar input {
  background: var(--card-solid);
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme .searchbar input:focus {
  border-color: var(--border-focus);
  background-color: rgba(255, 255, 255, 0.03);
}

body.dark-theme .searchbar-clear {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

body.dark-theme .searchbar-clear:hover {
  background: var(--ink);
  color: #0C0A09;
}

body.dark-theme .wifi-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border-color: var(--border);
}

body.dark-theme .wifi-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-focus);
}

body.dark-theme .wifi-card {
  background: var(--card-solid);
  border-color: var(--border);
}

body.dark-theme .wifi-password-box {
  background: #110F0E;
  border-color: var(--border);
}

body.dark-theme .wifi-password-box button {
  background: var(--ink);
  color: #0C0A09;
}

body.dark-theme .categories {
  background: rgba(26, 13, 21, 0.94);
  border-bottom-color: var(--border);
}

body.dark-theme .categories button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--ink-2);
}

body.dark-theme .categories button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
  color: var(--ink);
}

body.dark-theme .categories button.active {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
  box-shadow: 0 4px 14px var(--brand-color-light);
}

body.dark-theme .card {
  background: var(--card-solid);
  border-color: var(--border);
}

body.dark-theme .card:hover {
  border-color: var(--border-focus);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-theme .card-img-wrap {
  background: #110F0E;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .price {
  color: var(--ink);
}

body.dark-theme .add-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

body.dark-theme .card:hover .add-btn {
  background: var(--brand-color);
  color: #fff;
}

body.dark-theme .modal-content {
  background: #161413;
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

body.dark-theme .modal-content::before {
  background: rgba(255, 255, 255, 0.15);
}

body.dark-theme .option-buttons button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--ink-2);
}

body.dark-theme .option-buttons button.active {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
}

body.dark-theme .option-buttons button:not(.active):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
  color: var(--ink);
}

body.dark-theme #noteInput {
  background: #110F0E;
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme #noteInput:focus {
  border-color: var(--border-focus);
  background: #0E0C0B;
}

body.dark-theme .cancel-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

body.dark-theme .cancel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.dark-theme .add-cart-btn {
  background: var(--brand-color);
  color: #fff;
}

body.dark-theme .info-modal {
  background: #161413;
  border-color: var(--border);
}

body.dark-theme .info-modal h2 {
  color: var(--ink);
}

body.dark-theme .info-modal p,
body.dark-theme .info-modal li {
  color: var(--ink-2);
}

body.dark-theme .info-modal strong {
  color: var(--ink);
}

body.dark-theme .info-modal button {
  background: var(--ink);
  color: #0C0A09;
}

body.dark-theme .warning-modal-content {
  background: #161413;
  border-color: var(--border);
}

body.dark-theme .warning-modal-content h2 {
  color: var(--ink);
}

body.dark-theme .warning-modal-content p {
  color: var(--ink-2) !important;
}

body.dark-theme .warning-modal-content button {
  background: var(--ink);
  color: #0C0A09;
}

body.dark-theme .warn-cancel {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--ink) !important;
}

body.dark-theme .floating-cart {
  background: var(--brand-color);
  color: #fff;
  box-shadow: 0 8px 30px var(--brand-color-light);
}

body.dark-theme .scroll-top {
  background: #191615;
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme .scroll-top:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme #toast {
  background: #24201E;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark-theme .cart-sheet {
  background: #141211;
  border-color: var(--border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

body.dark-theme .sheet-handle {
  background: rgba(255, 255, 255, 0.15);
}

body.dark-theme .close-cart {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

body.dark-theme .close-cart:hover {
  background: rgba(255, 255, 255, 0.14);
}

body.dark-theme .cart-item {
  background: #1A1716;
  border-color: var(--border);
}

body.dark-theme .qty-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

body.dark-theme .qty-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

body.dark-theme .cart-form input,
body.dark-theme .cart-form select,
body.dark-theme .cart-form textarea {
  background: #110F0E;
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme .cart-form input:focus,
body.dark-theme .cart-form select:focus,
body.dark-theme .cart-form textarea:focus {
  border-color: var(--border-focus);
  background: #0E0C0B;
}

body.dark-theme .pickup-mode-bar {
  background: #191615;
  border-color: var(--border);
}

body.dark-theme .pickup-mode-btn.active {
  background: #24201E;
  color: var(--brand-color, #e05d63);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-theme .alarm-picker-box {
  background: #110F0E;
  border-color: var(--border);
}

body.dark-theme .alarm-picker-header {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

body.dark-theme .alarm-selection-bar {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-theme .wheel-item.active {
  color: var(--brand-color, #f07d83);
}

body.dark-theme .admin-select {
  background: #110F0E;
  border-color: var(--border);
  color: var(--ink);
}

body.dark-theme .admin-select:hover {
  border-color: var(--border-focus);
}

body.dark-theme .admin-dropdown {
  background: #191615;
  border-color: var(--border);
}

body.dark-theme .admin-dropdown div:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme .cart-summary {
  background: #1A1716;
  border-color: var(--border);
}

body.dark-theme .reset-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

body.dark-theme .reset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.dark-theme .checkout-btn {
  background: var(--brand-color);
  color: #fff;
}

body.dark-theme .footer {
  background: #141211;
  border-top-color: var(--border);
}

body.dark-theme .footer span {
  color: var(--ink-3);
}

/* ═══════════════ OUTLET SEARCH CONTAINER ═══════════════ */
#outletSearchWrap {
  display: none;
}

body.brand-kopken #outletSearchWrap {
  display: block;
  position: relative;
  z-index: 100;
  width: 100%;
}

/* ── SOLD OUT MENU CARD STYLES (HIDDEN) ── */
.card.card--soldout {
  display: none !important;
}

.card.card--soldout img {
  filter: grayscale(1);
}

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

.card.card--soldout h3 {
  color: var(--ink-2) !important;
}

.soldout-badge {
  font-size: 11px;
  font-weight: 700;
  color: #c93b3b;
  background: rgba(201, 59, 59, 0.08);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  display: inline-block;
  line-height: 1;
}

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

/* ── OUTLET WARNING BANNER ── */
.outlet-warning-banner {
  display: none;
  align-items: center;
  gap: 10px;
  margin: -4px 16px 12px;
  padding: 12px 16px;
  background: #FAF6EE;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  color: var(--color-toffee);
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.06);
  transition: all 0.3s ease;
}

body.brand-kopken .outlet-warning-banner.active,
.outlet-warning-banner.active {
  display: flex;
  animation: slideDownFade 0.3s ease, shakeBanner 0.4s ease;
}

body.dark-theme .outlet-warning-banner {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.28);
  color: #FF8080;
}

.warning-banner-icon {
  flex-shrink: 0;
  stroke: currentColor;
}

.warning-banner-text {
  line-height: 1.4;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shakeBanner {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* ── OUTLET STATUS BADGES & UI ── */
.outlet-suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.outlet-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
  line-height: 1.2;
}

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

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

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

.outlet-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 2px 7px;
  border-radius: var(--r-pill);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Dark Mode equivalents */
body.dark-theme .outlet-live-badge {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.3);
}
body.dark-theme .outlet-status-badge.status-open {
  background: rgba(129, 199, 132, 0.15);
  color: #81c784;
}

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

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

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

body.dark-theme .outlet-hours-text {
  color: var(--ink-3);
}

/* ═══════════════ CUSTOM MENU HIGHLIGHTS ═══════════════ */

/* Highlighted Category Button */
.categories button.btn-category-custom {
  background: rgba(243, 156, 18, 0.06) !important;
  border: 1px dashed rgba(243, 156, 18, 0.4) !important;
  color: #e67e22 !important;
}

.categories button.btn-category-custom.active,
.categories button.btn-category-custom:hover {
  background: #C98245 !important;
  color: #fff !important;
  border-color: transparent !important;
}

body.dark-theme .categories button.btn-category-custom {
  background: rgba(243, 156, 18, 0.12) !important;
  border-color: rgba(243, 156, 18, 0.5) !important;
  color: #f39c12 !important;
}

body.dark-theme .categories button.btn-category-custom.active,
body.dark-theme .categories button.btn-category-custom:hover {
  background: #C98245 !important;
  color: #fff !important;
}

/* Highlighted Item Card */
.card.card--highlight {
  border: 1.5px solid transparent !important;
  background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, #f1c40f, #e67e22) !important;
  background-origin: border-box !important;
  background-clip: content-box, border-box !important;
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.12) !important;
}

.card.card--highlight:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 36px rgba(230, 126, 34, 0.22) !important;
}

/* Custom Highlight Badge */
.card-img-wrap {
  position: relative;
}

.card-badge-custom {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #C98245;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 82, 82, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.card-badge-1l {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: #16a34a;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
  line-height: 1;
}

.card-badge-deli {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: #d97706;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  line-height: 1.2;
}

/* Cart Item Image Layout */
.cart-item-top {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
}

.cart-item-img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  object-fit: cover !important;
  border: 1px solid var(--border) !important;
  flex-shrink: 0 !important;
  background: #f9f9f9 !important;
}

.cart-item-info {
  flex-grow: 1 !important;
  min-width: 0 !important;
}

/* ═══════════════ BUNDLING MODAL STYLING ═══════════════ */
.bundle-modal-content {
  max-width: 540px !important;
  width: 92% !important;
  padding-bottom: 24px !important;
}

.bundle-modal-content .modal-actions {
  position: static !important;
  bottom: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

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

.bundle-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bundle-slot:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}

.bundle-slot.active {
  border-color: var(--gold);
  background: rgba(194, 155, 38, 0.05);
  box-shadow: 0 0 0 3px rgba(194, 155, 38, 0.15);
}

.bundle-slot.filled {
  border-color: var(--gold);
  background: rgba(194, 155, 38, 0.02);
}

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

.bundle-slot.active .slot-num {
  background: var(--gold);
  color: #fff;
}

.bundle-slot.filled .slot-num {
  background: var(--gold);
  color: #fff;
}

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

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

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

.bundle-slot.filled .slot-opts {
  color: var(--gold);
}

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

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

.bundle-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(30, 22, 19, 0.01);
}

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

.bundle-menu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
  border-color: var(--ink-3);
}

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

.bundle-menu-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

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

.bundle-option-adjuster {
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(194, 155, 38, 0.04);
  border: 1px solid rgba(194, 155, 38, 0.15);
  margin: 16px 0;
  animation: slideDownFade 0.3s ease;
}

.bundle-option-adjuster h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.confirm-item-btn {
  width: 100%;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  margin-top: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

#bundleNoteInput {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  resize: none;
  margin-bottom: 16px;
}

#bundleNoteInput:focus {
  outline: none;
  border-color: var(--border-focus);
}

body.dark-theme .bundle-slot {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .bundle-slot.active {
  background: rgba(194, 155, 38, 0.08);
}

body.dark-theme .bundle-menu-grid {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .bundle-menu-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .bundle-option-adjuster {
  background: rgba(194, 155, 38, 0.08);
}

/* Adjust grid for mobile screens */
@media (max-width: 480px) {
  .bundle-slots {
    gap: 6px;
  }
  .bundle-slot {
    padding: 8px 6px;
    gap: 6px;
  }
  .bundle-slot .slot-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .bundle-slot .slot-name {
    font-size: 10.5px;
  }
  .bundle-slot .slot-opts {
    font-size: 8.5px;
  }
  .bundle-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Bundling 2 Items large specific styling */
.bundle-slots-2 {
  grid-template-columns: repeat(2, 1fr) !important;
}

#bundleLargeNoteInput {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  resize: none;
  margin-bottom: 16px;
}

#bundleLargeNoteInput:focus {
  outline: none;
  border-color: var(--border-focus);
}

/* ═══════════════ MENU TYPE TOGGLE (SATUAN VS PROMO BUNDLING) ═══════════════ */
.menu-type-toggle-wrap {
  padding: 0 16px;
  margin: 4px 0 12px;
}

.menu-type-toggle {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  padding: 5px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
}

.menu-type-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.28s var(--spring-bounce);
  cursor: pointer;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.menu-type-btn svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.25s var(--spring-bounce), opacity 0.2s ease;
}

.menu-type-btn:hover {
  color: var(--color-toffee);
  transform: translateY(-1px);
}

.menu-type-btn.active {
  background: #3B2118;
  color: #F5F0E6;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.28);
}

.menu-type-btn.active svg {
  opacity: 1;
  transform: scale(1.15);
}

.type-badge-promo {
  font-family: var(--font-cute);
  font-size: 10px;
  font-weight: 700;
  background: var(--color-mint);
  color: #1F3C1D;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #A8C9A0;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(47, 89, 44, 0.2);
  animation: cutePulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

.type-badge-promo--green {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border-color: #86EFAC !important;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.2) !important;
}

.type-badge-promo--disabled {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border-color: #FECDD3 !important;
  box-shadow: none !important;
  animation: none !important;
}

.type-badge-promo--mahal {
  background: #FFF3E0 !important;
  color: #C2410C !important;
  border-color: #FED7AA !important;
  box-shadow: none !important;
  animation: none !important;
}

.menu-type-btn.is-blocked {
  opacity: 0.62;
  cursor: not-allowed !important;
  background: rgba(0, 0, 0, 0.03);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  position: relative;
}

.menu-type-btn.is-blocked.is-outlet-mahal {
  opacity: 0.72;
  border-color: rgba(194, 65, 12, 0.4);
  background: rgba(254, 215, 170, 0.18);
}

.menu-type-btn.is-blocked:hover {
  transform: none !important;
  color: var(--ink-2) !important;
}

.menu-type-btn.is-blocked svg {
  opacity: 0.5 !important;
  transform: none !important;
}

body.dark-theme .menu-type-btn.is-blocked {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 0.5;
}

body.dark-theme .type-badge-promo--mahal {
  background: rgba(249, 115, 22, 0.2) !important;
  color: #FB923C !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}

body.dark-theme .menu-type-btn.is-blocked.is-outlet-mahal {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.1);
}

@media (max-width: 480px) {
  .menu-type-btn {
    padding: 8px 4px;
    font-size: 11px;
    gap: 4px;
  }
  .menu-type-btn svg {
    width: 13px;
    height: 13px;
  }
  .type-badge-promo {
    display: none;
  }
}

@keyframes cutePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

body.dark-theme .menu-type-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .menu-type-btn {
  color: rgba(255, 255, 255, 0.65);
}

body.dark-theme .menu-type-btn.active {
  background: #25211E;
  color: #FF5A5F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

body.dark-theme .type-badge-promo--green {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34D399 !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
}

/* Fixed items & Universal Bundle Modal styles */
.bundle-fixed-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(141, 27, 29, 0.08);
  border: 1px dashed rgba(141, 27, 29, 0.3);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-color, #8D1B1D);
}

body.dark-theme .bundle-fixed-banner {
  background: rgba(216, 67, 71, 0.12);
  border-color: rgba(216, 67, 71, 0.35);
  color: #FF8588;
}

.bundle-fixed-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.bundle-fixed-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}

body.dark-theme .bundle-fixed-item-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.bundle-fixed-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bundle-fixed-item-img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: rgba(30, 22, 19, 0.04);
}

.bundle-fixed-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.bundle-fixed-item-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
}

.bundle-fixed-item-opts {
  display: flex;
  gap: 6px;
  align-items: center;
}

.bundle-opt-select {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

#univBundleNoteInput {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  resize: none;
  margin-bottom: 16px;
}

#univBundleNoteInput:focus {
  outline: none;
  border-color: var(--border-focus);
}

.card-badge-bundle {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #8D1B1D;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(141, 27, 29, 0.35);
  z-index: 2;
}

body.dark-theme .card-badge-bundle {
  background: #D84347;
  box-shadow: 0 2px 8px rgba(216, 67, 71, 0.4);
}

/* Promo Bundling & Custom Menu side by side styling */
@media (min-width: 600px) {
  .menu-row-container {
    display: flex;
    gap: 16px;
  }
  .menu-row-container .menu-col {
    display: block;
  }
  .menu-row-container .menu-col.flex-left {
    flex: 2;
    padding-left: 16px;
  }
  .menu-row-container .menu-col.flex-right {
    flex: 1.1;
    padding-right: 16px;
  }
  .menu-row-container .menu-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ═══════════════ BRAND-SPECIFIC THEME STYLING ═══════════════ */

/* ── KOPI KENANGAN THEME ── */
body.brand-kopken {
  --brand-color: #3B2118;
  --brand-color-hover: #C98245;
  --brand-color-light: rgba(201, 130, 69, 0.15);
}

body.brand-kopken.dark-theme {
  --brand-color: #C98245;
  --brand-color-hover: #D9B06F;
  --brand-color-light: rgba(201, 130, 69, 0.2);
}



/* Garis pembatas (divider) konsisten di semua modal */
#noteInput[style*="display: none"] + .modal-actions,
#noteInput[style*="display:none"] + .modal-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid var(--border);
}

/* ═══════════════ IMAGELESS BUNDLE CARD STYLES ═══════════════ */
.menu-grid--bundling {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .menu-grid--bundling {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
  }
}

/* Single Bundling Card (Saat outlet sudah terpilih) -> Tampil Lebar Penuh */
.menu-grid--bundling.menu-grid--bundling-single,
.menu-grid--bundling:has(> .bundle-card:only-child) {
  grid-template-columns: 1fr !important;
  max-width: 100%;
}

.menu-grid--bundling-single .bundle-card,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-card {
  width: 100%;
  max-width: 100%;
  padding: 18px 20px;
}

.menu-grid--bundling-single .bundle-card-header,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-card-header {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.menu-grid--bundling-single .bundle-card-title-group,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-card-title-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.menu-grid--bundling-single .bundle-card-title,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-card-title {
  font-size: 16.5px;
}

.menu-grid--bundling-single .bundle-chips-wrap,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-chips-wrap {
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 14px;
}

.menu-grid--bundling-single .bundle-chip,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-chip {
  font-size: 11.5px;
  padding: 4px 10px;
}

.menu-grid--bundling-single .bundle-select-btn,
.menu-grid--bundling:has(> .bundle-card:only-child) .bundle-select-btn {
  height: 42px;
  font-size: 14px;
}

.bundle-outlet-banner {
  background: var(--card);
  border: 1.2px solid var(--border);
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-outlet-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  width: fit-content;
}

.bundle-outlet-banner-badge svg {
  width: 12px;
  height: 12px;
}

.bundle-outlet-banner-desc {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.35;
  margin: 0;
}

/* ── PROMO SATUAN HERO BANNER ── */
.promo-satuan-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 20px;
  border: 1.5px solid #E6DCCD;
  background: #FFFFFF;
  box-shadow: 0 6px 20px -4px rgba(62, 39, 35, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.promo-satuan-banner--success {
  background: #F0FDF4;
  border-color: #86EFAC;
  box-shadow: 0 6px 20px -4px rgba(22, 101, 52, 0.08);
}

.promo-satuan-banner--warning {
  background: #FEF2F2;
  border-color: #FCA5A5;
  box-shadow: 0 6px 20px -4px rgba(185, 28, 28, 0.08);
}

.promo-satuan-banner-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.promo-satuan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

.promo-satuan-tag--primary {
  background: var(--color-espresso);
  color: #fff;
}

.promo-satuan-tag--fee {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.promo-satuan-tag--location {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFE0B2;
}

.promo-satuan-tag--success {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.promo-satuan-tag--danger {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.promo-satuan-banner-title {
  font-family: var(--font-cute);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-espresso);
  line-height: 1.35;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-satuan-banner--warning .promo-satuan-banner-title {
  color: #991B1B;
}

.promo-satuan-banner--success .promo-satuan-banner-title {
  color: #166534;
}

.promo-satuan-banner-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.promo-satuan-banner-desc strong {
  color: var(--color-espresso);
  font-weight: 700;
}

.promo-satuan-banner--warning .promo-satuan-banner-desc {
  color: #7F1D1D;
}

.promo-satuan-banner--warning .promo-satuan-banner-desc strong {
  color: #991B1B;
}

.promo-satuan-banner--success .promo-satuan-banner-desc {
  color: #166534;
}

.promo-satuan-banner--success .promo-satuan-banner-desc strong {
  color: #14532D;
}

.promo-satuan-banner-action {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-satuan-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-espresso);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(62, 39, 35, 0.15);
}

.promo-satuan-cta-btn:hover {
  background: #251714;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(62, 39, 35, 0.22);
}

.promo-satuan-cta-btn svg {
  transition: transform .2s ease;
}

.promo-satuan-cta-btn:hover svg {
  transform: translateX(3px);
}

.bundle-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.05);
  transition: transform .28s var(--spring-bounce), box-shadow .28s var(--spring-bounce), border-color .2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  height: 100%;
}

.bundle-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--brand-color);
  box-shadow: 0 12px 32px rgba(62, 39, 35, 0.12);
}

.bundle-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}

@media (min-width: 480px) {
  .bundle-card-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
}

.bundle-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.bundle-card-title {
  font-family: var(--font-cute);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.bundle-card-badge {
  font-family: var(--font-cute);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-mint);
  color: #1F3C1D;
  border: 1px solid #A8C9A0;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(47, 89, 44, 0.15);
}

.bundle-card-price {
  font-family: var(--font-cute);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-toffee);
  background: var(--color-strawberry);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

body.dark-theme .bundle-card-price {
  background: rgba(201, 130, 69, 0.15);
  color: #C98245;
}

.bundle-card-body {
  flex: 1;
  margin-bottom: 10px;
}

.bundle-items-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.bundle-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.bundle-check-icon {
  color: #2E7D32;
  flex-shrink: 0;
}

body.dark-theme .bundle-check-icon {
  color: #81c784;
}

.bundle-item-row--soldout {
  color: var(--ink-3, #9ca3af);
  text-decoration: line-through;
  opacity: 0.85;
}

.bundle-cross-icon {
  color: #EF4444;
  flex-shrink: 0;
}

.bundle-subheading {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 2px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.bundle-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bundle-chip {
  font-family: var(--font-cute);
  font-size: 10.5px;
  font-weight: 600;
  background: #FAF6EE;
  border: 1px solid var(--border);
  color: var(--ink-2);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  line-height: 1.25;
}

body.dark-theme .bundle-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.bundle-combo-banner {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-color);
  background: #FAF6EE;
  border: 1px dashed var(--color-caramel);
  border-radius: 7px;
  padding: 5px 8px;
  margin-top: 2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bundle-card-footer {
  margin-top: auto;
}

.bundle-select-btn {
  width: 100%;
  height: 38px;
  background: #3B2118;
  color: #F5F0E6;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-cute);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.28s var(--spring-bounce);
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.25);
}

.bundle-select-btn:hover {
  background: #3B2118;
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(62, 39, 35, 0.35);
}

/* ═══════════════════════════════════════════════════════
   CART SOLDOUT / HABIS SYNCHRONIZATION STYLES
   ═══════════════════════════════════════════════════════ */
.cart-soldout-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-md, 12px);
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}

.cart-soldout-alert-box svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #dc2626;
}

.cart-food-min-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: var(--r-md, 12px);
  color: #92400e;
  font-size: 12px;
  line-height: 1.45;
}

.cart-food-min-alert-box svg {
  flex-shrink: 0;
  margin-top: 1.5px;
  color: #d97706;
}

.cart-item.cart-item--soldout {
  background: rgba(254, 242, 242, 0.45);
  border: 1px solid #fee2e2;
  border-radius: var(--r-md, 12px);
  padding: 10px;
  position: relative;
}

.cart-item.cart-item--soldout .cart-item-img {
  filter: grayscale(70%);
  opacity: 0.65;
}

.cart-item.cart-item--soldout .cart-item-title {
  color: #4b5563;
}

.cart-soldout-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-left: 6px;
  line-height: 1.2;
}

.cart-soldout-warn-text {
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  margin: 2px 0 4px;
  line-height: 1.3;
}

.qty-control-pill.disabled .qty-btn:last-child {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.checkout-btn.disabled-soldout {
  opacity: 0.6;
  filter: grayscale(30%);
  cursor: not-allowed;
}

/* Dark mode overrides */
body.dark-theme .cart-soldout-alert-box {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

body.dark-theme .cart-food-min-alert-box {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

body.dark-theme .cart-item.cart-item--soldout {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}

body.dark-theme .cart-soldout-badge {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.35);
  color: #f87171;
}

body.dark-theme .cart-soldout-warn-text {
  color: #f87171;
}

/* ══════════════════════════════════════════════════════
   STORE CLOSED NOTIFICATION & OVERRIDES
   ══════════════════════════════════════════════════════ */
.store-closed-banner {
  background: var(--color-strawberry);
  border-bottom: 1.5px solid #E8DFD1;
  color: var(--color-toffee);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 99999;
  box-shadow: 0 4px 14px rgba(62, 39, 35, 0.08);
  animation: slideDownBanner 0.3s ease-out;
  cursor: pointer;
  transition: background 0.2s ease;
}
.store-closed-banner:hover {
  background: #EDB8C7;
}
.store-closed-banner svg {
  flex-shrink: 0;
  color: var(--color-toffee);
}
.store-closed-banner strong {
  color: var(--color-toffee);
  font-weight: 800;
}
.store-closed-banner-btn {
  font-size: 11px;
  background: var(--color-oat);
  color: var(--color-toffee);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
@keyframes slideDownBanner {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   STORE CLOSED POPUP BOX MODAL
   ══════════════════════════════════════════════════════ */
.store-closed-modal-card {
  max-width: 420px !important;
  border: 1.5px solid var(--color-strawberry) !important;
  box-shadow: 0 24px 60px rgba(62, 39, 35, 0.22), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.store-closed-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid #E8DFD1;
}

.store-closed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #B91C1C;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.store-closed-popup-body {
  background: #FAF6EE;
  border: 1.5px solid var(--color-strawberry);
  border-radius: 18px;
  padding: 16px;
  margin: 16px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.store-closed-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-strawberry);
  color: var(--color-toffee);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-closed-popup-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-toffee);
  margin: 0 0 4px;
}

.store-closed-popup-text p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

.store-closed-popup-notice {
  font-size: 12px;
  color: var(--ink-2);
  background: #FAF6EE;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  line-height: 1.45;
}

.store-closed-reopen-badge {
  background: #F3F8F2;
  border: 1.5px solid var(--color-mint);
  color: #2A5A27;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.store-closed-reopen-badge strong {
  color: #1F3C1D;
  font-weight: 800;
}
.reopen-clock-icon {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM OUTLET SYSTEM (STORE CARD & MODAL) — ESPRESSO THEME
   ═══════════════════════════════════════════════════════════════════ */

.outlet-header-wrap {
  width: 100%;
  padding: 0 16px;
  margin-top: 14px;
  margin-bottom: 6px;
  box-sizing: border-box;
}

/* ── The Hero Outlet Card ────────────────────────────────────────── */
.outlet-header-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(59, 33, 24, 0.04);
  transition: all 0.2s ease;
  overflow: hidden;
}

.outlet-header-card::before {
  display: none;
}

.outlet-header-card:hover {
  transform: translateY(-1px);
  border-color: #3B2118;
  box-shadow: 0 6px 18px rgba(59, 33, 24, 0.08);
}

.outlet-header-card:active {
  transform: scale(0.99);
}

.outlet-header-card.is-selected {
  border-color: #3B2118;
  background: #FFFFFF;
}

.outlet-card-icon-wrap {
  flex-shrink: 0;
}

.outlet-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #3B2118;
  color: #F7EFE3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.outlet-header-card:hover .outlet-card-icon {
  background: #C98245;
}

.outlet-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.outlet-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #C98245;
  line-height: 1.2;
}

.outlet-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #3B2118;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-body);
}

/* Meta: Status Pill & Operating Hours */
.outlet-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.outlet-card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.3;
  flex-shrink: 0;
}

.outlet-status-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Status variants */
.outlet-card-status-pill.status-open {
  background: #E8F5ED;
  color: #166534;
  border: 1px solid #BBF7D0;
}
.outlet-card-status-pill.status-open .outlet-status-dot {
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

.outlet-card-status-pill.status-close {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.outlet-card-status-pill.status-close .outlet-status-dot {
  background: #EF4444;
}

.outlet-card-status-pill.status-unselected {
  background: #FAF6EE;
  color: var(--ink-3, #8D6E63);
  border: 1px solid var(--border, #E6DCCD);
}
.outlet-card-status-pill.status-unselected .outlet-status-dot {
  background: #8D6E63;
}

.outlet-card-status-pill.status-pesan-tempat {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.outlet-card-status-pill.status-pesan-tempat .outlet-status-dot {
  background: #F59E0B;
}
body.dark-theme .outlet-card-status-pill.status-pesan-tempat {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.35);
}
body.dark-theme .outlet-card-status-pill.status-pesan-tempat .outlet-status-dot {
  background: #F59E0B;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.outlet-card-hours {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2, #5D3E37);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Action Trigger */
.outlet-card-action {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  padding-left: 6px;
  color: var(--color-espresso, #3E2723);
  transition: transform 0.18s ease, color 0.18s ease;
}

.outlet-card-action-text {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.outlet-card-action-arrow {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.outlet-header-card:hover .outlet-card-action-arrow {
  transform: translateX(3px);
}

.outlet-header-card:hover .outlet-card-action {
  color: #2B1B18;
}

/* ── Responsive Mobile Optimizations for Outlet Card ─────────────── */
@media (max-width: 640px) {
  .outlet-header-wrap {
    padding: 0 12px;
    margin-top: 10px;
    margin-bottom: 4px;
  }

  .outlet-header-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 16px;
  }

  .outlet-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .outlet-card-icon svg {
    width: 19px;
    height: 19px;
  }

  .outlet-card-label {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .outlet-card-title {
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
  }

  .outlet-card-meta {
    gap: 6px;
    margin-top: 2px;
  }

  .outlet-card-status-pill {
    font-size: 10.5px;
    padding: 1.5px 7px;
    gap: 4px;
  }

  .outlet-card-hours {
    font-size: 11.5px;
  }

  .outlet-card-action {
    padding-left: 2px;
    gap: 2px;
  }

  .outlet-card-action-text {
    font-size: 12px;
  }

  .outlet-card-action-arrow {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 380px) {
  .outlet-header-wrap {
    padding: 0 8px;
  }

  .outlet-header-card {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .outlet-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .outlet-card-icon svg {
    width: 17px;
    height: 17px;
  }

  .outlet-card-label {
    font-size: 8.5px;
  }

  .outlet-card-title {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .outlet-card-status-pill {
    font-size: 10px;
    padding: 1px 6px;
  }

  .outlet-card-hours {
    font-size: 11px;
  }

  .outlet-card-action-text {
    font-size: 11.5px;
  }
}

/* ── Warning Banner ──────────────────────────────────────────────── */
.outlet-warning-banner {
  display: none;
  align-items: center;
  gap: 8px;
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #B91C1C;
  border-radius: 12px;
  padding: 9px 13px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

.outlet-warning-banner.active {
  display: flex;
  animation: slideDownFade 0.28s ease;
}

.warning-banner-icon {
  flex-shrink: 0;
  color: #DC2626;
}

/* ═══════════════════════════════════════════════════════════════════
   OUTLET SELECTION MODAL — ESPRESSO THEME
   ═══════════════════════════════════════════════════════════════════ */

#outletModal {
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(43, 27, 24, 0.65);
}

.outlet-modal-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid var(--border, #E6DCCD);
  box-shadow: 0 24px 60px -12px rgba(62, 39, 35, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.96) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.outlet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border, #F0ECE4);
  background: #FFFFFF;
  gap: 12px;
}

.outlet-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.outlet-modal-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #3B2118;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(62, 39, 35, 0.2);
}

.outlet-modal-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--color-espresso, #3E2723);
  margin: 0;
  line-height: 1.25;
}

.outlet-modal-sub {
  font-size: 12px;
  color: var(--ink-3, #8D6E63);
  margin: 2px 0 0;
  line-height: 1.35;
}

.outlet-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-solid, #FAF6EE);
  border: 1px solid var(--border, #E6DCCD);
  color: var(--ink-2, #5D3E37);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.outlet-modal-close-btn:hover {
  background: #EFE8DA;
  color: var(--ink, #3E2723);
  transform: rotate(90deg);
}

.outlet-modal-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Modal Search Input Box — Unified Single Container (Fix Kolom dalam Kolom) */
.outlet-modal-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card-solid, #FAF6EE);
  border: 1.5px solid var(--border, #E6DCCD);
  border-radius: 14px;
  height: 48px;
  padding: 0 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.outlet-modal-search:focus-within {
  background: #FFFFFF;
  border-color: var(--color-espresso, #3E2723);
  box-shadow: 0 0 0 3px rgba(62, 39, 35, 0.12);
}

.outlet-modal-search-icon {
  color: var(--ink-3, #8D6E63);
  flex-shrink: 0;
  margin-right: 8px;
  transition: color 0.2s ease;
}

.outlet-modal-search:focus-within .outlet-modal-search-icon {
  color: var(--color-espresso, #3E2723);
}

/* Ensure inner input has NO extra border/background */
.outlet-modal-search input,
.outlet-modal-search #outletSearchInput,
#outletSearchInput {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink, #3E2723) !important;
  font-family: inherit !important;
  width: 100% !important;
}

.outlet-modal-search input::placeholder,
#outletSearchInput::placeholder {
  color: #A89F91;
  font-weight: 500;
}

.outlet-modal-clear-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(62, 39, 35, 0.1);
  border: none;
  color: var(--ink-2, #5D3E37);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.outlet-modal-clear-btn:hover {
  background: rgba(62, 39, 35, 0.2);
  color: var(--ink, #3E2723);
}

/* Quick Filter Chips (Espresso Theme) */
.outlet-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.outlet-quick-chips::-webkit-scrollbar {
  display: none;
}

.outlet-chip-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-3, #8D6E63);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-right: 2px;
}

.outlet-chip {
  flex-shrink: 0;
  border: 1px solid var(--border, #E8E2D7);
  background: var(--card-solid, #FAF7EE);
  color: var(--ink-2, #5D3E37);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.16s ease;
}

.outlet-chip:hover {
  background: #EFE8DA;
  color: var(--ink, #3E2723);
  border-color: rgba(62, 39, 35, 0.35);
}

.outlet-chip.active {
  background: #3B2118;
  color: #FFFFFF;
  border-color: var(--color-espresso, #3E2723);
  box-shadow: 0 2px 6px rgba(62, 39, 35, 0.25);
}

/* Current Outlet Card inside Modal */
.modal-current-outlet-wrap {
  width: 100%;
}

.modal-current-outlet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F7EFE3;
  border: 1.5px solid var(--border, #E6DCCD);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.05);
}

.modal-current-outlet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.modal-current-outlet-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--ink-3, #8D6E63);
}

.modal-current-outlet-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-espresso, #3E2723);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-current-outlet-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.modal-current-outlet-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #FFFFFF;
  border: 1px solid #FECACA;
  color: #DC2626;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.modal-current-outlet-clear:hover {
  background: #FEF2F2;
  border-color: #DC2626;
  transform: scale(1.03);
}

/* Suggestions Container */
.outlet-modal-list-container {
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  border-radius: 14px;
  background: #FAF8F5;
  border: 1px solid var(--border, #EFEAE1);
  padding: 8px;
}

.outlet-modal-list-container::-webkit-scrollbar {
  width: 5px;
}
.outlet-modal-list-container::-webkit-scrollbar-track {
  background: transparent;
}
.outlet-modal-list-container::-webkit-scrollbar-thumb {
  background: #D8D2C5;
  border-radius: 10px;
}

/* Individual Suggestion Items */
.outlet-suggestions-in-modal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outlet-suggestion-item {
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border, #EBE5DA);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.outlet-suggestion-item:hover {
  background: #FAF3EA;
  border-color: var(--color-espresso, #3E2723);
  transform: translateX(2px);
  box-shadow: 0 3px 8px rgba(62, 39, 35, 0.08);
}

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

.outlet-suggestion-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-espresso, #3E2723);
  line-height: 1.3;
}

.outlet-hours-text {
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-3, #8D6E63);
  white-space: nowrap;
}

.outlet-status-badge {
  font-size: 11px;
  font-weight: 750;
  padding: 1.5px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.outlet-status-badge.status-open {
  background: #E8F5ED;
  color: #166534;
}

.outlet-status-badge.status-close {
  background: #FEE2E2;
  color: #991B1B;
}

.outlet-status-badge.status-pesan-tempat {
  background: #FEF3C7;
  color: #92400E;
}

.outlet-suggestion-address {
  font-size: 12px;
  color: var(--ink-3, #8D6E63);
  line-height: 1.35;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.outlet-suggestions-loading,
.outlet-suggestions-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2, #5D3E37);
  font-weight: 550;
}

.outlet-empty-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FAF6EE;
  border: 1.5px solid var(--border, #E8E2D7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--brand-color, #3E2723);
}

.outlet-empty-title {
  font-family: var(--font-cute, inherit);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #3E2723);
  margin-bottom: 4px;
}

.outlet-empty-desc {
  font-size: 12px;
  color: var(--ink-2, #5D3E37);
  line-height: 1.45;
  max-width: 290px;
  margin: 0 auto;
}

/* ── Dark Theme Overrides (Espresso Warm Dark) ─────────────────────── */
body.dark-theme .outlet-header-card {
  background: #231815;
  border-color: #3D2E2A;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
body.dark-theme .outlet-header-card.is-selected {
  background: #2C1F1B;
  border-color: #6D4C41;
}
body.dark-theme .outlet-card-title {
  color: #F5F0E6;
}
body.dark-theme .outlet-card-label {
  color: #A1887F;
}
body.dark-theme .outlet-card-hours {
  color: #BCAAA4;
}
body.dark-theme .outlet-card-action {
  color: #D7CCC8;
}
body.dark-theme .outlet-modal-card {
  background: #1E1715;
  border-color: #3D2E2A;
}
body.dark-theme .outlet-modal-header {
  background: #1E1715;
  border-color: #3D2E2A;
}
body.dark-theme .outlet-modal-title {
  color: #F5F0E6;
}
body.dark-theme .outlet-modal-search {
  background: #2D211C;
  border-color: #42322C;
}
body.dark-theme .outlet-modal-search input {
  color: #F5F0E6 !important;
}
body.dark-theme .outlet-chip {
  background: #2D211C;
  border-color: #42322C;
  color: #D6CBC4;
}
body.dark-theme .outlet-chip.active {
  background: #543834;
  border-color: #6D4C41;
  color: #FFF;
}
body.dark-theme .outlet-modal-list-container {
  background: #231815;
  border-color: #3D2E2A;
}
body.dark-theme .outlet-suggestion-item {
  background: #2D211C;
  border-color: #3D2E2A;
}
body.dark-theme .outlet-suggestion-item:hover {
  background: #372A24;
  border-color: #6D4C41;
}
body.dark-theme .outlet-suggestion-name {
  color: #F5F0E6;
}
body.dark-theme .outlet-empty-icon-wrap {
  background: #2D211C;
  border-color: #42322C;
  color: #D6CBC4;
}
body.dark-theme .outlet-empty-title {
  color: #F5F0E6;
}
body.dark-theme .outlet-empty-desc {
  color: #A1887F;
}

