/* ==========================================================================
   KIDDO BURGERS - DIGITAL MENU WEBAPP STYLES
   Aesthetic: Bold Streetwear, Clean Light Theme, App-like UI (McDonald's / Burger King style)
   Brand Colors:
     - Kiddo Bubblegum Pink: #FF3377 / #FF508E
     - Kiddo Pastel Pink: #FFF0F5 / #FFE4ED
     - Mint Fresh Aqua: #00D2B4 / #E6FBF8
     - Deep Street Ink: #18181B / #27272A
     - Clean Pure White: #FFFFFF / #F8F9FA
   ========================================================================== */

:root {
  --primary-pink: #FF3377;
  --primary-pink-hover: #E61E63;
  --pink-light: #FFF0F5;
  --pink-subtle: #FFE4ED;
  --mint-cyan: #00D2B4;
  --mint-light: #E6FBF8;
  --mint-dark: #009E87;
  --dark-ink: #18181B;
  --gray-text: #52525B;
  --gray-light: #A1A1AA;
  --border-subtle: #F1F1F4;
  --border-focus: #FF85AF;
  --bg-app: #FAFAFB;
  --bg-card: #FFFFFF;
  --gold-star: #F59E0B;
  
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(255, 51, 119, 0.15);
  --shadow-dock: 0 -4px 20px rgba(0, 0, 0, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--dark-ink);
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

/* ==========================================================================
   DESKTOP VIEW (Visible ONLY on screens > 768px)
   Shows stylish QR scanner screen. Strictly NO desktop demo as requested.
   ========================================================================== */
#desktop-view {
  display: none;
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 50% 10%, #FFEBF1 0%, #FFFFFF 65%, #F5F7FA 100%);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

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

.desktop-card {
  max-width: 580px;
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 44px 36px;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 2px solid var(--border-subtle);
}

.desktop-brand {
  margin-bottom: 24px;
}

.desktop-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(255, 51, 119, 0.2);
  border: 4px solid #FFFFFF;
  margin-bottom: 12px;
}

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

.desktop-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-pink);
  margin-bottom: 8px;
}

.desktop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-light);
  color: var(--primary-pink);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.desktop-qr-container {
  background: #FFFFFF;
  border: 2px dashed var(--border-focus);
  border-radius: var(--radius-md);
  padding: 24px;
  display: inline-block;
  margin-bottom: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.qr-code-wrapper {
  position: relative;
  display: inline-block;
  width: 240px;
  height: 240px;
}

.qr-code-wrapper img.qr-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.qr-center-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.desktop-instructions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.step-card {
  background: #FAF9F8;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
  border: 1px solid var(--border-subtle);
}

.step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-pink);
  margin-bottom: 4px;
}

.step-desc {
  font-weight: 600;
  color: var(--dark-ink);
}

.desktop-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-copy-url {
  background: var(--dark-ink);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-copy-url:hover {
  background: var(--primary-pink);
  transform: translateY(-1px);
}

.desktop-info-footer {
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

.desktop-info-footer strong {
  color: var(--dark-ink);
}

/* ==========================================================================
   MOBILE WEBAPP VIEW (Screen <= 768px)
   ========================================================================== */
#mobile-view {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  padding-bottom: calc(85px + var(--safe-bottom));
  box-shadow: 0 0 30px rgba(0,0,0,0.03);
}

/* Sticky App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  transition: all 0.2s ease;
}

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

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

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-pink);
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--dark-ink);
  line-height: 1.1;
}

.brand-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: 2px;
}

.brand-location svg {
  color: var(--primary-pink);
}

/* Order Mode Switcher Button (Mesa / Domicilio) */
.order-mode-badge {
  background: var(--pink-light);
  border: 1.5px solid var(--pink-subtle);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-pink);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.order-mode-badge:hover, .order-mode-badge:active {
  background: var(--primary-pink);
  color: #FFFFFF;
  border-color: var(--primary-pink);
}

/* Mode Selection Bar (Banner Selector) */
.mode-selector-strip {
  background: #FFFFFF;
  margin: 12px 16px 0;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.mode-tab-btn {
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gray-text);
  transition: all 0.2s ease;
}

.mode-tab-btn.active {
  background: var(--primary-pink);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(255, 51, 119, 0.3);
}

/* Sub-info banner for chosen mode */
.mode-details-bar {
  margin: 8px 16px 0;
  padding: 8px 12px;
  background: var(--mint-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint-dark);
}

.mode-details-bar strong {
  color: var(--dark-ink);
}

.btn-edit-mode {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-pink);
  text-decoration: underline;
  cursor: pointer;
}

/* Search Bar */
.search-container {
  padding: 12px 16px 8px;
}

.search-input-wrapper {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.search-input-wrapper:focus-within {
  border-color: var(--primary-pink);
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--dark-ink);
  font-size: 14px;
  font-weight: 500;
}

.search-input-wrapper input::placeholder {
  color: var(--gray-light);
}

.search-clear-btn {
  color: var(--gray-light);
  display: none;
  padding: 2px;
}

.search-clear-btn.visible {
  display: block;
}

/* Category Navigation (Horizontal scroll like McDonald's app) */
.category-nav-container {
  position: sticky;
  top: 69px;
  z-index: 85;
  background: rgba(250, 250, 251, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-text);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.category-pill .cat-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.category-pill.active {
  background: var(--dark-ink);
  color: #FFFFFF;
  border-color: var(--dark-ink);
  transform: scale(1.03);
}

.category-pill.active .cat-icon {
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.4));
}

/* Hero / Welcome Hype Banner */
.welcome-hero-banner {
  margin: 12px 16px 16px;
  background: linear-gradient(135deg, #FF3377 0%, #FF6599 100%);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.welcome-hero-banner::after {
  content: '🍔';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 80px;
  opacity: 0.18;
  transform: rotate(-15deg);
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.welcome-hero-banner h2 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.welcome-hero-banner p {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.95;
}

/* ==========================================================================
   SECTION BANNERS (Between Categories)
   ========================================================================== */
.inter-section-banner {
  margin: 24px 16px 18px;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Banner 1: Promo Almuerzo (Mint / Aqua) */
.banner-promo-lunch {
  background: linear-gradient(135deg, #00D2B4 0%, #20E3C8 100%);
  color: #064E3B;
  border: 1px solid rgba(0, 210, 180, 0.4);
}

.banner-promo-lunch .banner-badge {
  background: #064E3B;
  color: #FFFFFF;
}

/* Banner 2: Fries Included Hype (Bubblegum Pink) */
.banner-burgers-hype {
  background: linear-gradient(135deg, #FFE4ED 0%, #FFF0F5 100%);
  border: 1.5px solid var(--primary-pink);
  color: var(--dark-ink);
}

.banner-burgers-hype .banner-badge {
  background: var(--primary-pink);
  color: #FFFFFF;
}

/* Banner 3: Perras & Dogs Medallo Vibe (Warm Street Orange/Pink) */
.banner-dogs-hype {
  background: #FFFFFF;
  border: 2px dashed #FF3377;
  color: var(--dark-ink);
}

.banner-dogs-hype .banner-badge {
  background: var(--dark-ink);
  color: #FFFFFF;
}

/* Banner 4: Burger Lover Club */
.banner-lover-club {
  background: #18181B;
  color: #FFFFFF;
  border-radius: var(--radius-md);
}

.banner-lover-club .banner-badge {
  background: var(--primary-pink);
  color: #FFFFFF;
}

.banner-content {
  flex: 1;
}

.banner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.banner-content h3 {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.banner-content p {
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.9;
}

.banner-icon {
  font-size: 32px;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT SECTIONS & CARDS
   ========================================================================== */
.menu-section {
  padding: 10px 16px 14px;
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-wrap .sec-icon {
  font-size: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  color: var(--dark-ink);
}

.section-tagline {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-pink);
  background: var(--pink-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Product Cards Grid */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:active {
  transform: scale(0.99);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-pink);
  background: var(--pink-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Favorite Heart Button */
.btn-fav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FAF9F8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-fav svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.btn-fav.active {
  background: var(--pink-light);
  color: var(--primary-pink);
}

.btn-fav.active svg {
  fill: var(--primary-pink);
  transform: scale(1.15);
}

.product-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-ink);
  line-height: 1.25;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.45;
  margin-bottom: 12px;
  font-weight: 500;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-light);
  text-transform: uppercase;
}

.product-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--dark-ink);
  letter-spacing: -0.3px;
}

.btn-add-product {
  background: var(--primary-pink);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 51, 119, 0.25);
  transition: all 0.2s ease;
}

.btn-add-product:active {
  transform: scale(0.95);
  background: var(--primary-pink-hover);
}

/* Compact Card for Adiciones */
.adiciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.adicion-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.adicion-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 6px;
  line-height: 1.25;
}

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

.adicion-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-pink);
}

.btn-add-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark-ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-add-mini:active {
  transform: scale(0.9);
  background: var(--primary-pink);
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (App Dock)
   ========================================================================== */
.bottom-dock {
  position: fixed;
  bottom: calc(12px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 100;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--gray-text);
  font-size: 10px;
  font-weight: 700;
  position: relative;
  transition: all 0.2s ease;
  min-width: 58px;
}

.dock-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.dock-item.active {
  color: var(--primary-pink);
}

.dock-item.active svg {
  transform: translateY(-2px);
  stroke-width: 2.3;
}

/* Floating Cart pill inside dock */
.dock-cart-btn {
  background: var(--primary-pink);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 51, 119, 0.35);
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.15s ease;
}

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

.dock-cart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

.dock-cart-badge {
  background: #FFFFFF;
  color: var(--primary-pink);
  font-size: 11px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.dock-badge-counter {
  position: absolute;
  top: 4px;
  right: 12px;
  background: var(--primary-pink);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==========================================================================
   MODALS & BOTTOM SHEETS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.bottom-sheet {
  background: #FFFFFF;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  max-height: 88vh;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
}

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

.sheet-handle-wrap {
  padding: 12px 0 6px;
  display: flex;
  justify-content: center;
  cursor: grab;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: var(--radius-full);
  background: #E4E4E7;
}

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

.sheet-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark-ink);
  text-transform: uppercase;
}

.sheet-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4F4F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-ink);
  font-size: 18px;
  font-weight: 700;
}

.sheet-body {
  padding: 18px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.sheet-footer {
  padding: 16px 20px calc(16px + var(--safe-bottom));
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

/* Customization Modal Specifics */
.custom-product-hero {
  margin-bottom: 18px;
}

.custom-product-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark-ink);
  margin-bottom: 4px;
}

.custom-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-pink);
  margin-bottom: 8px;
}

.custom-product-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

.custom-section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark-ink);
  margin: 16px 0 10px;
  letter-spacing: 0.3px;
}

.adiciones-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adicion-check-item {
  background: #FAF9F8;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adicion-check-item.selected {
  background: var(--pink-light);
  border-color: var(--border-focus);
}

.adicion-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-ink);
}

.adicion-check-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-pink);
}

.notes-input {
  width: 100%;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  resize: none;
  min-height: 70px;
  margin-bottom: 16px;
}

.notes-input:focus {
  border-color: var(--primary-pink);
}

/* Quantity Counter Bar */
.quantity-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF9F8;
  border-radius: var(--radius-full);
  padding: 4px;
  width: 130px;
  border: 1px solid var(--border-subtle);
}

.btn-qty {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.qty-display {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark-ink);
}

.btn-submit-order {
  width: 100%;
  background: var(--primary-pink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(255, 51, 119, 0.35);
  transition: all 0.2s ease;
}

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

/* Checkout Specifics */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.cart-item-row {
  background: #FAF9F8;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.cart-item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark-ink);
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-pink);
}

.cart-item-subdetails {
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.35;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #E4E4E7;
}

.btn-remove-item {
  font-size: 12px;
  font-weight: 600;
  color: #EF4444;
  cursor: pointer;
}

/* Checkout Form Inputs */
.checkout-form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-ink);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.form-label span.req {
  color: var(--primary-pink);
}

.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--dark-ink);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary-pink);
}

/* Payment Selector Chips */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.payment-chip {
  background: #FAF9F8;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--dark-ink);
}

.payment-chip.selected {
  background: var(--pink-light);
  border-color: var(--primary-pink);
  color: var(--primary-pink);
}

/* Order Totals Summary */
.checkout-summary-box {
  background: #FAF9F8;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--gray-text);
  font-weight: 500;
}

.summary-line.total {
  font-size: 16px;
  font-weight: 900;
  color: var(--dark-ink);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #E4E4E7;
}

.btn-whatsapp-confirm {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-whatsapp-confirm:active {
  transform: scale(0.98);
  background: #1EBE5D;
}

/* Toast Message Notification */
.toast-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--dark-ink);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 300;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* Empty States */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-light);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 4px;
}

.empty-state-desc {
  font-size: 13px;
  color: var(--gray-text);
}
