/* ==========================================================================
   BURGERHOOD DIGITAL MENU - STYLESHEET
   Light Theme only (No dark backgrounds)
   Brand Colors: Forest Green (#064e29) & Burger Yellow (#ffc700)
   ========================================================================== */

:root {
  --bh-green: #064e29;
  --bh-green-light: #0a6b3b;
  --bh-green-dark: #04361c;
  --bh-green-soft: #e8f5ec;
  
  --bh-yellow: #ffc700;
  --bh-yellow-hover: #e5b200;
  --bh-yellow-light: #fff8dd;
  --bh-yellow-border: #f2bd00;
  
  --bh-bg: #f8f9fa;
  --bh-card-bg: #ffffff;
  --bh-card-bg-subtle: #fcfcfb;
  --bh-text: #1a1e21;
  --bh-text-muted: #5e6d77;
  --bh-text-light: #8a99a4;
  --bh-border: #e8ecef;
  --bh-border-strong: #d5dce0;
  
  --bh-shadow-sm: 0 2px 6px rgba(6, 78, 41, 0.05);
  --bh-shadow-md: 0 6px 18px rgba(6, 78, 41, 0.08);
  --bh-shadow-lg: 0 12px 30px rgba(6, 78, 41, 0.12);
  --bh-shadow-bottom-bar: 0 -4px 20px rgba(0, 0, 0, 0.08);

  --font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background-color: var(--bh-bg);
  color: var(--bh-text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   CHECKERBOARD ACCENTS (Brand signature from menu)
   ========================================================================== */
.checker-border {
  height: 10px;
  width: 100%;
  background-image: 
    linear-gradient(45deg, var(--bh-green) 25%, transparent 25%), 
    linear-gradient(-45deg, var(--bh-green) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, var(--bh-green) 75%), 
    linear-gradient(-45deg, transparent 75%, var(--bh-green) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
  background-color: var(--bh-yellow);
}

/* ==========================================================================
   DESKTOP QR CODE SCREEN
   ========================================================================== */
#desktop-view {
  display: none;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f4f6f3 100%);
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  body:not(.force-mobile) #desktop-view {
    display: flex;
  }
  body:not(.force-mobile) #mobile-view {
    display: none !important;
  }
}

.desktop-card {
  max-width: 540px;
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(6, 78, 41, 0.12);
  border: 2px solid #eef2eb;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.desktop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: 
    linear-gradient(45deg, var(--bh-green) 25%, transparent 25%), 
    linear-gradient(-45deg, var(--bh-green) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, var(--bh-green) 75%), 
    linear-gradient(-45deg, transparent 75%, var(--bh-green) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
  background-color: var(--bh-yellow);
}

.desktop-logo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(6, 78, 41, 0.15);
  border: 4px solid var(--bh-yellow);
}

.desktop-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.desktop-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--bh-green);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.desktop-tagline {
  display: inline-block;
  background: var(--bh-yellow-light);
  color: #7a5400;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  border: 1px solid rgba(255, 199, 0, 0.4);
}

.qr-box-container {
  background: #ffffff;
  border: 3px dashed var(--bh-green);
  border-radius: 20px;
  padding: 24px;
  display: inline-block;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--bh-shadow-sm);
}

#qrcode-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 220px;
}

#qrcode-canvas canvas {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.qr-instructions {
  font-size: 15px;
  font-weight: 600;
  color: var(--bh-text);
  margin-bottom: 8px;
}

.qr-subtext {
  font-size: 13px;
  color: var(--bh-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.desktop-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-copy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--bh-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-link:hover {
  background: var(--bh-green-light);
  transform: translateY(-1px);
}

.btn-force-mobile {
  background: transparent;
  color: var(--bh-text-muted);
  border: 1px solid var(--bh-border-strong);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-force-mobile:hover {
  background: #f1f3f5;
  color: var(--bh-text);
}

.desktop-location-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--bh-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   MOBILE VIEW
   ========================================================================== */
#mobile-view {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bh-bg);
  padding-bottom: 110px; /* Space for floating bottom nav */
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.06);
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bh-border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-badge img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--bh-yellow);
  object-fit: cover;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--bh-green);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  color: var(--bh-text-muted);
  font-weight: 600;
}

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

.icon-btn {
  background: #f1f4f2;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bh-green);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.icon-btn:active {
  transform: scale(0.92);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--bh-yellow);
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Order Modality Bar (Mesa vs Domicilio Switcher) */
.modality-selector-wrap {
  padding: 6px 16px 12px;
}

.modality-toggle-card {
  background: #ffffff;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  gap: 6px;
  box-shadow: var(--bh-shadow-sm);
}

.modality-opt-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--bh-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modality-opt-btn.active {
  background: var(--bh-green);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(6, 78, 41, 0.2);
}

.modality-badge-info {
  background: var(--bh-yellow);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 2px;
}

/* Search Box */
.search-container {
  padding: 0 16px 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--bh-text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  font-size: 14px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--bh-text);
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--bh-green);
  box-shadow: 0 0 0 3px rgba(6, 78, 41, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: #e2e8f0;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
}

/* Category Slider */
.category-nav-bar {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.cat-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--bh-border);
  color: var(--bh-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill .cat-icon {
  font-size: 16px;
}

.cat-pill.active {
  background: var(--bh-yellow);
  color: #1a1e21;
  border-color: var(--bh-yellow-border);
  box-shadow: 0 3px 10px rgba(255, 199, 0, 0.35);
}

/* ==========================================================================
   APP BANNERS BETWEEN CATEGORIES
   ========================================================================== */
.category-banner {
  margin: 24px 16px 16px;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bh-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-promos {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
}

.banner-clasicas {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #bbf7d0;
}

.banner-delhood {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
}

.banner-addons {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1.5px solid #fef08a;
}

.banner-bebidas {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #bfdbfe;
}

.banner-postres {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border: 1.5px solid #fbcfe8;
}

.banner-content {
  flex: 1;
  padding-right: 12px;
}

.banner-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.banner-promos .banner-tag { background: #d97706; color: #ffffff; }
.banner-clasicas .banner-tag { background: #064e29; color: #ffffff; }
.banner-delhood .banner-tag { background: #ea580c; color: #ffffff; }
.banner-addons .banner-tag { background: #ca8a04; color: #ffffff; }
.banner-bebidas .banner-tag { background: #2563eb; color: #ffffff; }
.banner-postres .banner-tag { background: #db2777; color: #ffffff; }

.banner-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--bh-text);
  line-height: 1.25;
  margin-bottom: 2px;
}

.banner-desc {
  font-size: 12px;
  color: var(--bh-text-muted);
}

.banner-emoji-art {
  font-size: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

/* ==========================================================================
   MENU SECTIONS & CARDS
   ========================================================================== */
.menu-section {
  padding: 8px 16px 20px;
}

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

.section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--bh-green);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.section-badge-info {
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-text-muted);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bh-border);
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Product Card - Clean White Background, Style Mobile App */
.product-card {
  background: var(--bh-card-bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--bh-border);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  box-shadow: var(--bh-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.product-card:active {
  transform: scale(0.985);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.card-img-wrap {
  width: 115px;
  height: 105px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0ed;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

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

/* No image placeholder - clean branded typography badge */
.no-image-badge {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7f9f7 0%, #eef4f0 100%);
  color: var(--bh-green);
  text-align: center;
  padding: 8px;
}

.no-image-icon {
  font-size: 30px;
  margin-bottom: 4px;
}

.no-image-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bh-green);
}

.card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-top-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.item-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-veggie {
  background: #dcfce7;
  color: #15803d;
}

.tag-promo {
  background: var(--bh-yellow-light);
  color: #855300;
}

.tag-special {
  background: #fee2e2;
  color: #b91c1c;
}

.item-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--bh-text);
  line-height: 1.2;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 12px;
  color: var(--bh-text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

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

.item-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--bh-green);
}

.item-price-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--bh-text-light);
  margin-left: 2px;
}

.card-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fav-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
}

.fav-btn:hover, .fav-btn.active {
  color: #ef4444;
}

.fav-btn.active svg {
  fill: #ef4444;
}

.add-btn {
  background: var(--bh-yellow);
  color: #1a1e21;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
  box-shadow: 0 2px 6px rgba(255, 199, 0, 0.3);
}

.add-btn:active {
  transform: scale(0.94);
  background: var(--bh-yellow-hover);
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (McDonald's / Burger King style)
   ========================================================================== */
.floating-bottom-bar-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 16px 16px;
}

.floating-bottom-bar {
  pointer-events: auto;
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(6, 78, 41, 0.08);
  border: 1.5px solid #edf1ee;
}

.nav-item-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 16px;
  color: var(--bh-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}

.nav-item-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.nav-item-btn span {
  font-size: 11px;
  font-weight: 700;
}

.nav-item-btn.active {
  color: var(--bh-green);
}

.nav-item-btn.active svg {
  transform: translateY(-2px);
  stroke: var(--bh-green);
  stroke-width: 2.4;
}

.nav-item-btn .nav-badge {
  position: absolute;
  top: 2px;
  right: 10px;
  background: var(--bh-yellow);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.cart-nav-btn {
  background: var(--bh-green);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(6, 78, 41, 0.3);
}

.cart-nav-btn svg {
  stroke: #ffffff;
}

.cart-nav-btn.active {
  background: var(--bh-green-light);
}

.cart-nav-btn .nav-badge {
  background: var(--bh-yellow);
  color: #000;
  border-color: var(--bh-green);
}

/* ==========================================================================
   BOTTOM SHEET / MODALS (PRODUCT DETAIL & CART)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 101;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.modal-backdrop.open .modal-bottom-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 5px;
  background: #d1d5db;
  border-radius: 3px;
  margin: 10px auto 4px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--bh-border);
}

.sheet-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--bh-green);
}

.close-sheet-btn {
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--bh-text-muted);
  cursor: pointer;
}

.sheet-content {
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-product-hero {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bh-border);
  position: relative;
  overflow: hidden;
}

.modal-product-hero img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.modal-item-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--bh-text);
  line-height: 1.2;
}

.modal-item-desc {
  font-size: 14px;
  color: var(--bh-text-muted);
  line-height: 1.45;
}

/* Options / Variant Selector (Simple / Doble / Triple) */
.options-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--bh-text);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.variants-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variant-opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s;
}

.variant-opt-label.selected {
  border-color: var(--bh-green);
  background: var(--bh-green-soft);
}

.variant-opt-label input[type="radio"] {
  accent-color: var(--bh-green);
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

/* Extras Checkboxes */
.extras-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra-opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s;
}

.extra-opt-label.checked {
  border-color: var(--bh-yellow-border);
  background: var(--bh-yellow-light);
}

.extra-opt-label input[type="checkbox"] {
  accent-color: var(--bh-green);
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

/* Special Notes Input */
.sheet-textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13px;
  color: var(--bh-text);
  outline: none;
  resize: none;
  min-height: 60px;
}

.sheet-textarea:focus {
  border-color: var(--bh-green);
}

.sheet-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--bh-border);
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty-counter {
  display: flex;
  align-items: center;
  background: #f1f4f2;
  border-radius: var(--radius-full);
  padding: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--bh-green);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--bh-shadow-sm);
}

.qty-display {
  padding: 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-text);
}

.sheet-cta-btn {
  flex: 1;
  background: var(--bh-yellow);
  color: #1a1e21;
  border: none;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(255, 199, 0, 0.35);
  transition: all 0.2s;
}

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

/* ==========================================================================
   CART & CHECKOUT STYLES
   ========================================================================== */
.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-empty-icon {
  font-size: 54px;
  margin-bottom: 12px;
}

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

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #ffffff;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
}

.cart-item-info {
  flex: 1;
  padding-right: 10px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--bh-text);
}

.cart-item-meta {
  font-size: 11px;
  color: var(--bh-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.cart-item-subtotal {
  font-size: 14px;
  font-weight: 900;
  color: var(--bh-green);
  margin-top: 4px;
}

.cart-form-section {
  background: #f8faf8;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-form-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--bh-green);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-text-muted);
}

.form-input, .form-select {
  padding: 10px 12px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: #ffffff;
  color: var(--bh-text);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--bh-green);
}

.cart-summary-box {
  background: #ffffff;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bh-text-muted);
}

.summary-total {
  border-top: 1px dashed var(--bh-border);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 900;
  color: var(--bh-green);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s;
}

.btn-whatsapp-order:hover {
  background: #20ba59;
}

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

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
#toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1a1e21;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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