/* ==========================================================================
   PiDO DELIVERY 2026 — RAPPI / UBER EATS / TOAST POS EXPERIENCE
   Fase 1 + Fase 2: Food-First Header, Instant Search, 1-Step Configurator,
   Smart Sticky Cart Bar & Interactive Cart Steppers
   ========================================================================== */

:root {
  --dlv-primary: #E4002B;
  --dlv-primary-dark: #B80022;
  --dlv-orange: #FF441F;
  --dlv-green: #10B981;
  --dlv-green-dark: #059669;
  --dlv-slate: #0F172A;
  --dlv-muted: #64748B;
  --dlv-bg: #F8FAFC;
  --dlv-card: #FFFFFF;
  --dlv-border: #E2E8F0;
}

/* Hide legacy blocking sections from millisecond 0 (zero flash before JS runs) */
#howItWorks,
body.ux-2026-active #howItWorks,
#locSuccessModal,
body.ux-2026-active #locSuccessModal,
#locBanner,
body.ux-2026-active #locBanner {
  display: none !important;
}

body.ux-2026-active.loc-lock {
  overflow: auto !important;
}

/* Unlock menuGrid immediately so users can browse from second 1 */
body.ux-2026-active #menuGrid.locked {
  filter: none !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}
body.ux-2026-active #menuGrid.locked::after,
body.ux-2026-active #menuGrid.locked::before {
  display: none !important;
}

/* ==========================================================================
   1. SMART APP HEADER (LOCATION PILL + DELIVERY MODE + CART BADGE)
   ========================================================================== */
header.dlv-header-2026 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dlv-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 10px 0;
}

.dlv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}

.dlv-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dlv-slate);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.dlv-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(228, 0, 43, 0.2);
}

/* Interactive Location & Branch Pill (Center) */
.dlv-loc-pill {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  min-width: 0;
}

.dlv-loc-pill:hover {
  background: #FFF0F2;
  border-color: rgba(228, 0, 43, 0.35);
  transform: translateY(-1px);
}

.dlv-loc-pill:active {
  transform: scale(0.98);
}

.dlv-loc-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #FFE4E8;
  color: var(--dlv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dlv-loc-text {
  flex: 1;
  min-width: 0;
}

.dlv-loc-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--dlv-primary);
}

.dlv-loc-main {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dlv-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlv-loc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dlv-eta-badge {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.dlv-loc-chevron {
  color: var(--dlv-muted);
  font-size: 0.8rem;
  font-weight: 900;
}

/* Header Cart Trigger Button */
.dlv-header-cart-btn {
  position: relative;
  background: var(--dlv-slate);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.dlv-header-cart-btn:hover {
  background: var(--dlv-primary);
}

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

.dlv-hc-count {
  background: var(--dlv-primary);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.74rem;
  font-weight: 900;
  min-width: 20px;
  text-align: center;
}

@media (max-width: 600px) {
  .dlv-brand span {
    display: none;
  }
  .dlv-eta-badge {
    display: none;
  }
}

/* ==========================================================================
   2. BRANCH & MAP DRAWER MODAL (REPLACES GIANT TOP MAP)
   ========================================================================== */
.section-map,
.section-map.dlv-map-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 11500 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(105%) !important;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.section-map.dlv-map-drawer.open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

@media (min-width: 768px) {
  .section-map.dlv-map-drawer {
    align-items: center !important;
    padding: 20px !important;
  }
}

.dlv-map-sheet-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 28px 28px 0 0;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: dlvSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 768px) {
  .dlv-map-sheet-card {
    border-radius: 28px;
    padding: 26px;
  }
}

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

.dlv-map-sheet-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dlv-slate);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlv-map-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dlv-border);
  background: #F8FAFC;
  color: var(--dlv-slate);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-map.dlv-map-drawer #map {
  height: 240px !important;
  min-height: 240px !important;
  border-radius: 18px !important;
}

@media (min-width: 768px) {
  .section-map.dlv-map-drawer #map {
    height: 360px !important;
    min-height: 360px !important;
  }
}

/* ==========================================================================
   3. PROMO HERO BANNERS + 1-TAP REORDER + SEARCH & QUICK FILTERS
   ========================================================================== */
.dlv-discovery-zone {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 14px;
}

/* Mode Strip + Branch Quick Info Bar */
.dlv-Quick-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--dlv-border);
  border-radius: 18px;
  padding: 8px 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  flex-wrap: wrap;
}

.dlv-mode-switch {
  display: inline-flex;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 12px;
  gap: 4px;
}

.dlv-mode-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dlv-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dlv-mode-btn.active {
  background: #FFFFFF;
  color: var(--dlv-slate);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.dlv-status-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dlv-muted);
}

.dlv-fee-chip {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Promo Banners Carousel (Rappi Style) */
.dlv-promo-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dlv-promo-strip::-webkit-scrollbar {
  display: none;
}

.dlv-promo-banner {
  flex: 0 0 285px;
  height: 132px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .dlv-promo-banner {
    flex: 1 1 300px;
    height: 144px;
  }
}

.dlv-promo-banner:hover {
  transform: translateY(-3px);
}
.dlv-promo-banner:active {
  transform: scale(0.97);
}

.dlv-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.35s ease;
}

.dlv-promo-banner:hover .dlv-promo-bg {
  transform: scale(1.06);
}

.dlv-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.65) 58%, rgba(15, 23, 42, 0.15) 100%);
  z-index: 1;
}

.dlv-promo-content {
  position: relative;
  z-index: 2;
  max-width: 72%;
}

.dlv-promo-tag {
  display: inline-block;
  background: var(--dlv-primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.dlv-promo-title {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 3px;
  color: #FFFFFF;
}

.dlv-promo-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin: 0;
}

.dlv-promo-cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: #FFFFFF;
  color: var(--dlv-slate);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 1-Tap Reorder Strip ("Pide de nuevo") */
.dlv-reorder-card {
  background: linear-gradient(135deg, #FFFDF9 0%, #FFF7ED 100%);
  border: 1.5px solid #FED7AA;
  border-radius: 18px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.08);
}

.dlv-reorder-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dlv-reorder-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFEDD5;
  color: #EA580C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dlv-reorder-info {
  min-width: 0;
}

.dlv-reorder-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #C2410C;
}

.dlv-reorder-items {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dlv-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlv-reorder-btn {
  background: #EA580C;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: transform 0.15s ease;
}

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

/* Search Bar + Quick Filter Chips */
.dlv-search-bar-wrap {
  position: relative;
  margin-bottom: 10px;
}

.dlv-search-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--dlv-border);
  border-radius: 16px;
  padding: 10px 14px;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dlv-search-box:focus-within {
  border-color: var(--dlv-primary);
  box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.12);
}

.dlv-search-icon {
  font-size: 1rem;
  opacity: 0.65;
}

.dlv-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dlv-slate);
  outline: none;
}

.dlv-search-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.dlv-search-clear {
  background: #E2E8F0;
  color: #475569;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.dlv-search-clear.visible {
  display: flex;
}

/* Quick Dietary / Tag Filter Chips */
.dlv-quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dlv-quick-chips::-webkit-scrollbar {
  display: none;
}

.dlv-qchip {
  background: #FFFFFF;
  border: 1.5px solid var(--dlv-border);
  color: #334155;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dlv-qchip:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.dlv-qchip.active {
  background: var(--dlv-slate);
  border-color: var(--dlv-slate);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* ==========================================================================
   4. PRODUCT CARD BADGES (POPULAR & IN-CART INDICATOR)
   ========================================================================== */
.r-card {
  position: relative;
}

.dlv-card-pop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dlv-card-incart-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.38);
  pointer-events: none;
  animation: dlvPopScale 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dlv-price-prefix {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dlv-muted);
  margin-right: 3px;
}

/* ==========================================================================
   5. ONE-STEP PRODUCT CONFIGURATOR BOTTOM SHEET (#sheet)
   ========================================================================== */
/* Hero product summary at top of #sheetContent */
.dlv-sheet-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid var(--dlv-border);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.dlv-sheet-hero-img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.dlv-sheet-hero-info {
  flex: 1;
  min-width: 0;
}

.dlv-sheet-hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dlv-primary);
  background: #FFE4E8;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.dlv-sheet-hero-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dlv-slate);
  margin: 0 0 2px;
  line-height: 1.15;
}

.dlv-sheet-hero-desc {
  font-size: 0.82rem;
  color: var(--dlv-muted);
  margin: 0;
  line-height: 1.35;
}

/* Hide redundant old .sheet-head when hero is rendered */
#sheetContent.has-dlv-hero > .sheet-head {
  display: none !important;
}

/* Slice count badge inside .size-card */
.dlv-slice-hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  margin-top: 2px;
}

/* Smart Pizza Mode Segmented Control (Completa vs Mitad y Mitad vs 4 Sabores) */
.dlv-pizza-mode-wrap {
  margin: 14px 0 12px;
}

.dlv-pizza-mode-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dlv-pizza-mode-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 16px;
}

.dlv-pm-btn {
  border: 1.5px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 10px 8px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.18s ease;
}

.dlv-pm-btn .pm-icon {
  font-size: 1.2rem;
}

.dlv-pm-btn .pm-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dlv-slate);
}

.dlv-pm-btn .pm-sub {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--dlv-muted);
}

.dlv-pm-btn.active {
  background: #FFFFFF;
  border-color: var(--dlv-primary);
  box-shadow: 0 4px 12px rgba(228, 0, 43, 0.14);
}

.dlv-pm-btn.active .pm-title {
  color: var(--dlv-primary);
}

/* Quick Half-and-Half Selector Cards */
.dlv-halves-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.dlv-half-card {
  background: #F8FAFC;
  border: 1.5px solid var(--dlv-border);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.18s ease;
}

.dlv-half-card:hover {
  border-color: var(--dlv-primary);
  background: #FFF5F6;
}

.dlv-half-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dlv-muted);
}

.dlv-half-val {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--dlv-slate);
}

.dlv-half-edit {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dlv-primary);
  background: #FFE4E8;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Integrated Extras Section inside #sheetContent (No 2nd Modal!) */
.dlv-inline-extras {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--dlv-border);
}

.dlv-ie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dlv-ie-title {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--dlv-slate);
  margin: 0;
}

.dlv-ie-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 3px 9px;
  border-radius: 999px;
}

.dlv-ie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.dlv-extra-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid var(--dlv-border);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.dlv-extra-chip:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
}

.dlv-extra-chip.selected {
  background: #FFF0F2;
  border-color: var(--dlv-primary);
  box-shadow: 0 4px 12px rgba(228, 0, 43, 0.12);
}

.dlv-ec-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dlv-ec-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.dlv-extra-chip.selected .dlv-ec-check {
  background: var(--dlv-primary);
  border-color: var(--dlv-primary);
  color: #FFFFFF;
}

.dlv-ec-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--dlv-slate);
  line-height: 1.2;
}

.dlv-ec-price {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--dlv-primary);
  white-space: nowrap;
}

/* ==========================================================================
   6. REACTIVATED RAPPI STICKY CART BAR + SMART UPSELL STRIP
   ========================================================================== */
#stickyCart.rappi-sticky-footer {
  position: fixed !important;
  bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 24px) !important;
  max-width: 560px !important;
  z-index: 9500 !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  pointer-events: none !important;
}

#stickyCart.rappi-sticky-footer.hidden,
#stickyCart.rappi-sticky-footer.force-hide {
  display: none !important;
}

/* Smart Beverage / Delivery Promo Strip on top of Sticky Bar */
.dlv-sticky-upsell {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #CBD5E1;
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 8px 14px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dlv-slate);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

.dlv-su-btn {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

#stickyCart .rsf-content {
  pointer-events: auto !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 13px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.38), 0 4px 12px rgba(15, 23, 42, 0.18) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease !important;
}

#stickyCart .rsf-content:active {
  transform: scale(0.98) !important;
}

#stickyCart .rsf-info {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

#stickyCart .rsf-total {
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
}

#stickyCart .rsf-items {
  background: rgba(255, 255, 255, 0.22) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
}

#stickyCart .rsf-btn {
  background: #FFFFFF !important;
  color: #065F46 !important;
  border: none !important;
  padding: 10px 18px !important;
  border-radius: 14px !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   7. CART ITEM QUANTITY STEPPERS & QUICK CASH DENOMINATIONS
   ========================================================================== */
.cart-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.dlv-cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1.5px solid var(--dlv-border);
  border-radius: 12px;
  padding: 3px 6px;
  flex-shrink: 0;
}

.dlv-cq-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: #FFFFFF;
  color: var(--dlv-slate);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
}

.dlv-cq-btn:hover {
  background: var(--dlv-primary);
  color: #FFFFFF;
}

.dlv-cq-num {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--dlv-slate);
  min-width: 18px;
  text-align: center;
}

/* Quick Cash Denominations in Checkout */
.dlv-cash-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dlv-cash-pill {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--dlv-slate);
  padding: 7px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlv-cash-pill:hover,
.dlv-cash-pill.active {
  background: #ECFDF5;
  border-color: #10B981;
  color: #047857;
}

/* Search Empty State */
.dlv-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px dashed var(--dlv-border);
}

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

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

@keyframes dlvPopScale {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   8. FASE 3: MINI-MAPA "AJUSTA TU PIN", ETIQUETAS DE CASA/OFICINA & DESGLOSE
   ========================================================================== */
.dlv-addr-tags-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dlv-addr-tags-row::-webkit-scrollbar {
  display: none;
}

.dlv-addr-tag-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--dlv-border);
  color: var(--dlv-slate);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.dlv-addr-tag-btn.active {
  background: var(--dlv-slate);
  border-color: var(--dlv-slate);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

/* Interactive Pin Map in Checkout */
.dlv-pin-map-container {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #CBD5E1;
  margin-bottom: 12px;
  background: #E2E8F0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

#checkoutPinMap {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Center Fixed Pin (Uber Eats / Rappi Style) */
.dlv-center-pin-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 500;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dlv-pin-map-container.dragging .dlv-center-pin-overlay {
  transform: translate(-50%, -118%) scale(1.08);
}

.dlv-cp-bubble {
  background: var(--dlv-slate);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28);
  margin-bottom: 3px;
}

.dlv-cp-needle {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 8px rgba(228, 0, 43, 0.35));
}

.dlv-cp-shadow {
  width: 10px;
  height: 5px;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 50%;
  margin-top: -2px;
  transition: all 0.2s ease;
}

.dlv-pin-map-container.dragging .dlv-cp-shadow {
  width: 16px;
  height: 7px;
  opacity: 0.2;
}

.dlv-pin-map-hint {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dlv-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.dlv-pin-recenter-btn {
  background: var(--dlv-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 3px 9px;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

/* Quick Delivery Instructions Chips & Facade Input */
.dlv-ref-section {
  margin-top: 10px;
}

.dlv-ref-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-bottom: 6px;
  display: block;
}

.dlv-delivery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.dlv-dchip {
  background: #FFFFFF;
  border: 1.5px solid var(--dlv-border);
  color: #334155;
  padding: 5px 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dlv-dchip.selected {
  background: #FFF0F2;
  border-color: var(--dlv-primary);
  color: var(--dlv-primary);
  font-weight: 800;
}

.dlv-facade-input {
  width: 100%;
  border: 1.5px solid var(--dlv-border);
  border-radius: 11px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dlv-slate);
  background: #FFFFFF;
  outline: none;
}

.dlv-facade-input:focus {
  border-color: var(--dlv-primary);
}

/* Transparent Financial Breakdown in Checkout */
.dlv-checkout-breakdown {
  background: #F8FAFC;
  border: 1.5px solid var(--dlv-border);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 24px 14px;
}

.dlv-cb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.dlv-cb-row.total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #CBD5E1;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--dlv-slate);
  margin-bottom: 0;
}

.dlv-cb-free {
  color: #059669;
  font-weight: 900;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* ==========================================================================
   9. FASE 4: LIVE ORDER TRACKER 2.0 (MAPA EN VIVO + RIDER CARD + ALERTA PUERTA)
   ========================================================================== */
.rp-tracker-card {
  max-width: 460px !important;
}

.dlv-tracker-map-wrap {
  width: calc(100% - 32px);
  height: 185px;
  margin: 0 auto 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--dlv-border);
  position: relative;
  background: #E2E8F0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

#dlvTrackerMap {
  width: 100%;
  height: 100%;
}

.dlv-tracker-rider-card {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.dlv-trc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dlv-trc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #DBEAFE;
  border: 1.5px solid #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.dlv-trc-name {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--dlv-slate);
}

.dlv-trc-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: #2563EB;
}

.dlv-trc-badge {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Door Arrival Alert Banner inside Tracker */
.dlv-door-alert-banner {
  margin: 0 16px 14px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
  animation: dlvPulseBanner 1.5s infinite ease-in-out;
}

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

.dlv-dab-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.dlv-dab-title {
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0 0 2px;
}

.dlv-dab-sub {
  font-size: 0.78rem;
  opacity: 0.92;
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   10. LEGACY RADAR KEYFRAMES (Used by Section 14 Rappi Location Splash)
   ========================================================================== */
@keyframes dlvRadarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dlvBlipBlink {
  0%, 100% { transform: scale(0.6); opacity: 0.35; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes dlvPinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Shared Match Box & Branch Item Base Layout */
.dlv-radar-match-box {
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 14px;
  text-align: left;
  display: none;
  animation: dlvPopScale 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.dlv-radar-match-box.visible {
  display: block;
}

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

.dlv-rmb-branch {
  font-size: 1rem;
  font-weight: 900;
}

.dlv-rmb-km {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.dlv-rmb-addr {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.dlv-rmb-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dlv-rmb-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.dlv-rb-item {
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.dlv-rb-name {
  font-size: 0.9rem;
  font-weight: 800;
}

.dlv-rb-addr {
  font-size: 0.74rem;
  font-weight: 600;
}

.dlv-rb-go {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   11. PRECISION MOBILE RESPONSIVE ENGINE (360px SAMSUNG S24 -> 440px iPHONE 18 PRO MAX)
   Zero Horizontal Overflow · Native Safe Areas · Ergonomic Touch Targets
   ========================================================================== */

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100% !important;
}

/* Prevent iOS Safari auto-zoom on form focus while keeping clean typography */
@media (max-width: 767px) {
  input[type="text"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }

  body.ux-2026-active {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 16px)) !important;
  }

  /* 1. Sticky Header calibrated for Dynamic Island & S24 Punch-Hole */
  header.dlv-header-2026 {
    padding-top: max(8px, env(safe-area-inset-top, 8px)) !important;
    padding-bottom: 8px !important;
  }

  .dlv-nav-inner {
    padding: 0 10px !important;
    gap: 8px !important;
  }

  .dlv-brand img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .dlv-loc-pill {
    padding: 6px 10px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }

  .dlv-loc-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
  }

  .dlv-loc-top {
    font-size: 0.66rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .dlv-loc-main {
    font-size: 0.78rem !important;
  }

  .dlv-header-cart-btn {
    padding: 8px 11px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    min-height: 38px !important;
  }

  /* 2. Discovery Zone & Mode Bar — Structured 2-Row Bento on Mobile */
  .dlv-discovery-zone {
    margin-top: 8px !important;
    padding: 0 10px !important;
  }

  .dlv-Quick-status-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px !important;
    gap: 8px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }

  .dlv-mode-switch {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    padding: 3px !important;
  }

  .dlv-mode-btn {
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 0.8rem !important;
  }

  .dlv-status-chips {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0 2px !important;
  }

  .dlv-fee-chip {
    font-size: 0.72rem !important;
    padding: 4px 9px !important;
  }

  /* 3. Promo Carousel with Native Horizontal Scroll-Snap & Peek */
  .dlv-promo-strip {
    scroll-snap-type: x mandatory !important;
    gap: 10px !important;
    padding: 2px 2px 12px !important;
    margin: 0 -10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .dlv-promo-banner {
    scroll-snap-align: start !important;
    flex: 0 0 84vw !important;
    max-width: 340px !important;
    height: 128px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
  }

  .dlv-promo-title {
    font-size: 1rem !important;
  }

  /* 4. Reorder Card Compact Mobile Fit */
  .dlv-reorder-card {
    padding: 10px 12px !important;
    border-radius: 16px !important;
    gap: 8px !important;
  }

  .dlv-reorder-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .dlv-reorder-items {
    font-size: 0.8rem !important;
  }

  .dlv-reorder-btn {
    padding: 8px 11px !important;
    font-size: 0.75rem !important;
    border-radius: 10px !important;
  }

  /* 5. Search & Quick Chips */
  .dlv-search-box {
    padding: 8px 12px !important;
    border-radius: 14px !important;
  }

  .dlv-quick-chips {
    gap: 6px !important;
    margin: 0 -10px !important;
    padding: 2px 10px 8px !important;
  }

  .dlv-qchip {
    padding: 6px 11px !important;
    font-size: 0.76rem !important;
  }

  /* 6. Sticky Category Tabs & Sub-Category Chips */
  .tabs {
    position: sticky !important;
    top: calc(54px + env(safe-area-inset-top, 0px)) !important;
    z-index: 95 !important;
    background: rgba(248, 250, 252, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: flex !important;
    overflow-x: auto !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin: 0 -12px 8px !important;
    scrollbar-width: none !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  }
  .tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tabs .tab {
    flex: 0 0 auto !important;
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .cat-sub-nav {
    position: sticky !important;
    top: calc(104px + env(safe-area-inset-top, 0px)) !important;
    z-index: 94 !important;
    background: rgba(248, 250, 252, 0.94) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 6px 10px !important;
    margin: 0 -12px 10px !important;
    gap: 6px !important;
  }

  .cat-sub-nav button {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }

  /* 7. Product Menu Grid (2 Columns Optimized for 360px -> 440px) */
  #menuGrid,
  .group-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .menu-group {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .menu-section-header {
    font-size: 1.15rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .r-card {
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-width: 0 !important;
  }

  .r-media {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    max-height: 142px !important;
    width: 100% !important;
  }

  .dlv-card-pop-badge,
  .dlv-card-incart-badge {
    font-size: 0.62rem !important;
    padding: 3px 7px !important;
    top: 7px !important;
  }
  .dlv-card-pop-badge { left: 7px !important; }
  .dlv-card-incart-badge { right: 7px !important; }

  .r-card .fab-add {
    bottom: 8px !important;
    right: 8px !important;
    height: 27px !important;
    min-width: 62px !important;
    padding: 0 10px !important;
  }

  .r-card .fab-add::after {
    font-size: 0.64rem !important;
  }

  .r-info {
    padding: 10px 10px 12px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .r-price {
    font-size: 0.92rem !important;
    margin-bottom: 2px !important;
  }

  .r-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 2px !important;
  }

  .r-desc {
    font-size: 0.72rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  /* 8. One-Step Configurator Bottom Sheet (#sheet) Mobile Ergonomics */
  #sheet .sheet-panel {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92dvh !important;
    border-radius: 26px 26px 0 0 !important;
    margin: 0 !important;
    padding: 16px 14px 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #sheetContent {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
  }

  .dlv-sheet-hero {
    padding: 10px 12px !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    border-radius: 16px !important;
  }

  .dlv-sheet-hero-img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
  }

  .dlv-sheet-hero-title {
    font-size: 1.05rem !important;
  }

  .dlv-sheet-hero-desc {
    font-size: 0.76rem !important;
  }

  #sizeRow.size-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 2px 0 8px !important;
    overflow: visible !important;
  }

  #sizeRow .size-card {
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 4px !important;
    border-radius: 14px !important;
  }

  .dlv-slice-hint {
    font-size: 0.6rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .dlv-pizza-mode-tabs {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
    gap: 6px !important;
  }

  .dlv-pm-btn {
    padding: 8px 4px !important;
  }
  .dlv-pm-btn .pm-title {
    font-size: 0.74rem !important;
  }
  .dlv-pm-btn .pm-sub {
    font-size: 0.62rem !important;
  }

  .dlv-ie-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  /* Sticky Sheet Footer with Full-Width CTA */
  #sheetFooter {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 30 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    margin: 12px -14px 0 !important;
    padding: 10px 14px max(14px, env(safe-area-inset-bottom, 14px)) !important;
    border-top: 1px solid #E2E8F0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
  }

  /* Hide redundant middle subtotal text on mobile since #sheetAdd shows "Agregar · $XXX" */
  #sheetFooter > div:not(.qty-stepper) {
    display: none !important;
  }

  #sheetFooter .qty-stepper {
    flex-shrink: 0 !important;
  }

  #sheetFooter #sheetAdd {
    flex: 1 !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* 9. Cart & Checkout Stacked Mobile Fit */
  .rp-form-section {
    padding: 16px 14px !important;
  }
  .rp-co-header {
    padding: 18px 14px 12px !important;
  }
  .rp-co-actions {
    padding: 14px !important;
  }
  .dlv-checkout-breakdown {
    margin: 0 14px 10px !important;
  }

  /* 10. Legacy Radar Mobile Block Removed (Handled by Section 14 Rappi Location Splash) */

  /* 11. Live Order Tracker 2.0 Mobile Fit */
  .rp-tracker-overlay {
    padding: max(12px, env(safe-area-inset-top, 12px)) 12px max(12px, env(safe-area-inset-bottom, 12px)) !important;
  }

  .rp-tracker-card {
    border-radius: 24px !important;
  }

  .dlv-tracker-map-wrap {
    width: calc(100% - 24px) !important;
    height: 165px !important;
    margin: 0 auto 12px !important;
  }
}

/* ==========================================================================
   TIER A: SAMSUNG GALAXY S24 / COMPACT PHONES (340px to 384px)
   Ultra-crisp proportions for 360px viewports
   ========================================================================== */
@media (max-width: 384px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #menuGrid,
  .group-items {
    gap: 8px !important;
  }

  .r-media {
    max-height: 124px !important;
  }

  .r-info {
    padding: 8px 8px 10px !important;
  }

  .r-title {
    font-size: 0.83rem !important;
  }

  .r-price {
    font-size: 0.86rem !important;
  }

  .dlv-status-chips {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .dlv-radar-stage {
    width: 106px !important;
    height: 106px !important;
  }

  .dlv-radar-center-core {
    width: 54px !important;
    height: 54px !important;
  }

  .dlv-halves-cards {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .rp-pay-grid {
    gap: 6px !important;
  }

  .rp-pay-opt {
    padding: 10px 4px !important;
  }
}

/* ==========================================================================
   TIER B: LARGE PHONES — iPHONE 16 / 17 / 18 PRO MAX & S24 ULTRA (410px to 460px)
   Spacious cards, larger imagery & generous touch zones
   ========================================================================== */
@media (min-width: 410px) and (max-width: 767px) {
  .dlv-nav-inner,
  .dlv-discovery-zone,
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #menuGrid,
  .group-items {
    gap: 13px !important;
  }

  .r-media {
    max-height: 156px !important;
  }

  .r-info {
    padding: 12px 12px 14px !important;
  }

  .r-title {
    font-size: 0.95rem !important;
  }

  .r-desc {
    font-size: 0.76rem !important;
  }

  .r-price {
    font-size: 0.98rem !important;
  }

  .dlv-promo-banner {
    height: 140px !important;
  }

  .dlv-radar-stage {
    width: 140px !important;
    height: 140px !important;
  }
}

/* ==========================================================================
   12. PERSUASIVE AUTO-UPSELL 2026 & RESPONSIVE POPUPS WITH PINNED SEND BUTTONS
   Fixes cut-off buttons in #upsellModal, #receiptModal, #sheet & #checkoutBox
   across Samsung S24 (360px) to iPhone 18 Pro Max (440px) & Desktop
   ========================================================================== */

/* --- A. UPSELL MODAL (#upsellModal) — TRUE FLEX BOTTOM SHEET --- */
#upsellModal.upsell-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 13500 !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#upsellModal.upsell-overlay.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#upsellModal .upsell-panel {
  width: 100% !important;
  max-width: 540px !important;
  max-height: min(88dvh, calc(100dvh - 14px)) !important;
  background: #FFFFFF !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: 0 -18px 60px rgba(15, 23, 42, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: 0 !important;
  border: none !important;
  position: relative !important;
  animation: dlvSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 640px) {
  #upsellModal.upsell-overlay {
    align-items: center !important;
    padding: 20px !important;
  }
  #upsellModal .upsell-panel {
    border-radius: 28px !important;
    max-height: 85dvh !important;
  }
}

/* Header inside #upsellModal */
#upsellModal .upsell-header {
  flex-shrink: 0 !important;
  padding: 16px 18px 12px !important;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%) !important;
  border-bottom: 1px solid #F1F5F9 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  position: relative !important;
}

.dlv-upsell-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dlv-upsell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #E4002B 0%, #FF4B2B 100%);
  color: #FFFFFF !important;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(228, 0, 43, 0.25);
}

.dlv-upsell-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A !important;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

#upsellModal .upsell-header h3#upsellModalTitle {
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
  text-transform: none !important;
}

.dlv-upsell-subhook {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569 !important;
  margin: 0;
  line-height: 1.3;
}

/* Toast POS Guided Hand-Holding Step & Combo Pairing Bar */
.dlv-toast-pairing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 7px 10px;
  margin-top: 2px;
}

.dlv-tp-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748B;
  padding: 4px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dlv-tp-slot.done {
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #047857;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.dlv-tp-arrow {
  color: #CBD5E1;
  font-size: 0.7rem;
  font-weight: 900;
}

.dlv-upsell-sec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.dlv-upsell-sec-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.dlv-upsell-sec-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

/* Category Filter Pills inside Upsell Header */
.dlv-upsell-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dlv-upsell-tabs::-webkit-scrollbar {
  display: none;
}

.dlv-utab {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}

.dlv-utab.active {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

/* Scrollable Body inside #upsellModal */
#upsellModal .upsell-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 12px 14px 16px !important;
  background: #F8FAFC !important;
}

#upsellModal .upsell-body > p.muted {
  display: none !important;
}

/* Responsive 2-Column Grid for Upsell Cards */
#upsellModal #upsellGrid.upsell-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (min-width: 520px) {
  #upsellModal #upsellGrid.upsell-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Persuasive Upsell Card (.dlv-ucard) */
.dlv-ucard {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.18s ease !important;
}

.dlv-ucard.in-cart {
  border-color: #10B981 !important;
  background: #F0FDF4 !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.14) !important;
}

.dlv-ucard-media {
  position: relative;
  width: 100%;
  height: 100px;
  background: #F1F5F9;
  overflow: hidden;
}

.dlv-ucard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dlv-ucard-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #FFFFFF !important;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
}

.dlv-ucard-qty-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #10B981;
  color: #FFFFFF !important;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
  z-index: 2;
}

.dlv-ucard-info {
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 6px;
}

.dlv-ucard-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A !important;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Inline Quick Variant/Sauce Chips inside Upsell Card */
.dlv-ucard-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.dlv-uvar-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: pointer;
}

.dlv-uvar-chip.active {
  background: #FFF0F2;
  border-color: #E4002B;
  color: #E4002B;
}

.dlv-ucard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.dlv-ucard-price {
  font-size: 0.9rem;
  font-weight: 900;
  color: #E4002B !important;
}

.dlv-uadd-btn {
  background: #E4002B;
  color: #FFFFFF !important;
  border: none;
  border-radius: 10px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(228, 0, 43, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.dlv-uadd-btn:active {
  transform: scale(0.94);
}

.dlv-uadd-btn.added {
  background: #10B981;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

/* Reset inner card .upsell-footer so it never inherits modal footer padding */
.upsell-card .upsell-footer {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  position: static !important;
}

/* PINNED STICKY FOOTER OF #upsellModal — ALWAYS VISIBLE ON ALL PHONES */
#upsellModal .upsell-panel > .upsell-footer {
  flex-shrink: 0 !important;
  position: sticky !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 25 !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom, 16px)) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1) !important;
}

#upsellModal #readyUpsell {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  border-radius: 16px !important;
  border: none !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35) !important;
  text-transform: none !important;
}

#upsellModal #finishUpsell {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

/* --- B. RECEIPT MODAL (#receiptModal "Tu Ticket") — PINNED SEND BUTTON --- */
#receiptModal.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 14000 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
}

#receiptModal.modal-overlay.hidden {
  display: none !important;
}

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

#receiptModal .receipt-box {
  width: 100% !important;
  max-width: 460px !important;
  max-height: min(90dvh, calc(100dvh - 14px)) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-radius: 28px 28px 0 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 -16px 50px rgba(15, 23, 42, 0.35) !important;
}

@media (min-width: 640px) {
  #receiptModal .receipt-box {
    border-radius: 26px !important;
  }
}

#receiptModal .receipt-header {
  flex-shrink: 0 !important;
  padding: 18px 20px 12px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  text-align: center !important;
  background: #FFFFFF !important;
}

#receiptModal .receipt-header h2 {
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  margin: 0 0 2px !important;
}

#receiptModal .receipt-header p {
  font-size: 0.82rem !important;
  color: #64748B !important;
  margin: 0 !important;
}

#receiptModal .receipt-paper {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 14px 20px !important;
  background: #F8FAFC !important;
  color: #0F172A !important;
}

#receiptModal .receipt-paper span,
#receiptModal .receipt-paper .rp-row {
  color: #0F172A !important;
  font-weight: 700 !important;
}

#receiptModal .receipt-actions {
  flex-shrink: 0 !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 20 !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  padding: 12px 18px max(16px, env(safe-area-inset-bottom, 16px)) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
}

#receiptModal #btnConfirmOrder {
  width: 100% !important;
  padding: 15px 18px !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35) !important;
  cursor: pointer !important;
}

/* --- C. FLAVOR & EXTRAS MODALS (#flavorSelectModal, #flavorModalOverlay) --- */
#flavorSelectModal.modal-overlay,
#flavorModalOverlay.flavor-modal-overlay {
  z-index: 13800 !important;
  padding: 12px !important;
  align-items: flex-end !important;
}

@media (min-width: 640px) {
  #flavorSelectModal.modal-overlay,
  #flavorModalOverlay.flavor-modal-overlay {
    align-items: center !important;
  }
}

#flavorSelectModal .flavor-box,
#flavorModalOverlay .flavor-modal-card {
  width: 100% !important;
  max-width: 480px !important;
  max-height: min(85dvh, calc(100dvh - 24px)) !important;
  border-radius: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

#flavorModalOverlay .fm-body,
#flavorSelectModal .fs-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* --- D. CHECKOUT IMPULSE CAROUSEL & ALWAYS-VISIBLE SEND BUTTON (#sendWA) --- */
.dlv-cart-upsell-trigger {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1.5px dashed #F59E0B;
  background: #FFFBEB;
  color: #B45309;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.16s ease;
}

.dlv-cart-upsell-trigger:hover {
  background: #FEF3C7;
}

.dlv-checkout-impulse {
  margin: 0 20px 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #FDE68A;
  border-radius: 18px;
}

.dlv-ci-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  color: #92400E;
}

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

.dlv-ci-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #FCD34D;
  border-radius: 12px;
  padding: 6px 10px 6px 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(146, 64, 14, 0.08);
  transition: transform 0.15s ease;
}

.dlv-ci-pill:active {
  transform: scale(0.96);
}

.dlv-ci-pill img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.dlv-ci-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dlv-ci-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
}

.dlv-ci-price {
  font-size: 0.7rem;
  font-weight: 900;
  color: #E4002B;
}

.dlv-ci-plus {
  background: #E4002B;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 8px;
}

/* Ensure #sendWA is always prominent and never cut off */
#checkoutBox .rp-co-actions {
  position: relative !important;
  z-index: 20 !important;
  padding: 14px 18px 24px !important;
  background: #FFFFFF !important;
}

#checkoutBox #sendWA {
  margin-top: 4px !important;
  width: 100% !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.38) !important;
}

/* Toast POS Live Guided Checkout Step Bar inside #checkoutBox */
.dlv-checkout-guide-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 14px;
  margin: 0 20px 10px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dlv-checkout-guide-bar::-webkit-scrollbar {
  display: none;
}

.dlv-cg-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.16s ease;
}

.dlv-cg-step.done {
  background: #ECFDF5;
  border-color: #10B981;
  color: #047857;
}

.dlv-cg-step.next {
  background: #FFF0F2;
  border-color: #E4002B;
  color: #E4002B;
  box-shadow: 0 3px 10px rgba(228, 0, 43, 0.14);
}

@media (max-width: 767px) {
  .dlv-checkout-impulse,
  .dlv-checkout-guide-bar {
    margin: 0 14px 12px !important;
  }
  .dlv-ucard-media {
    height: 88px !important;
  }
}

@media (max-width: 384px) {
  .dlv-ucard-media {
    height: 78px !important;
  }
  .dlv-ucard-title {
    font-size: 0.78rem !important;
  }
  .dlv-ucard-price {
    font-size: 0.82rem !important;
  }
  .dlv-uadd-btn {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
  }
  .dlv-tp-slot {
    font-size: 0.63rem !important;
    padding: 3px 6px !important;
  }
  .dlv-upsell-sec-btn {
    font-size: 0.71rem !important;
    padding: 9px 6px !important;
  }
  #upsellModal #readyUpsell {
    font-size: 0.88rem !important;
    padding: 13px 12px !important;
  }
}

/* ==========================================================================
   13. ULTRA-MODERN TOAST POS + RAPPI 2026 CSS POLISH LAYER (v874)
   Warm Food-First Surface System, Tactile Depth, Tabular Prices,
   iOS Drag Handles, Shimmer Skeletons, Kinetic CTAs & Thermal Receipt Edge
   ========================================================================== */

/* 1. Warm Food-First Neutral Canvas & Crisp Typography */
body.ux-2026-active,
body.ux-2026-active.theme-rappi {
  background: #F6F6F3 !important;
  background-color: #F6F6F3 !important;
  color: #111827 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* Tabular Numbers across all monetary values so totals never jitter */
.r-price,
.dlv-ucard-price,
.dlv-ci-price,
.dlv-ec-price,
.sc-price,
#rsfTotal,
#cartTotal,
#sheetSubtotal,
#rpTotal,
.dlv-cb-row span:last-child {
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.02em !important;
}

/* 2. Frosted App Header (Toast POS Hairline Clarity) */
body.ux-2026-active header.dlv-header-2026 {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(22px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(190%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px -12px rgba(15, 23, 42, 0.08) !important;
}

body.ux-2026-active .dlv-loc-pill {
  background: #F4F4F0 !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ux-2026-active .dlv-loc-pill:hover {
  background: #FFFFFF !important;
  border-color: rgba(255, 68, 31, 0.35) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

body.ux-2026-active .dlv-header-cart-btn {
  background: #111827 !important;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

/* 3. Tactile Dual-Layer Surfaces & App-Grade Product Cards (Rappi 2026) */
@keyframes dlvSkeletonShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

body.ux-2026-active .r-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 26px -10px rgba(15, 23, 42, 0.09) !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
  overflow: hidden !important;
}

body.ux-2026-active .r-card:active {
  transform: scale(0.975) !important;
}

@media (hover: hover) {
  body.ux-2026-active .r-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 68, 31, 0.24) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05), 0 20px 36px -12px rgba(15, 23, 42, 0.14) !important;
  }
}

/* Skeleton shimmer background while product photos load on mobile data */
body.ux-2026-active .r-media,
body.ux-2026-active .dlv-ucard-media {
  background: linear-gradient(110deg, #EFEFEA 8%, #F9F9F7 18%, #EFEFEA 33%) !important;
  background-size: 200% 100% !important;
  animation: dlvSkeletonShimmer 1.4s ease-in-out infinite !important;
  position: relative !important;
}

/* Subtle bottom vignette on food imagery so floating + button always pops */
body.ux-2026-active .r-media::after {
  content: '' !important;
  position: absolute !important;
  inset: auto 0 0 0 !important;
  height: 46% !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.28) 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

body.ux-2026-active .r-card .fab-add {
  z-index: 4 !important;
  background: #FFFFFF !important;
  color: #E4002B !important;
  border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, color 0.18s ease !important;
}

body.ux-2026-active .r-card .fab-add::after {
  color: #E4002B !important;
}

body.ux-2026-active .r-card:hover .fab-add,
body.ux-2026-active .r-card .fab-add:active {
  background: #E4002B !important;
  color: #FFFFFF !important;
  border-color: #E4002B !important;
  transform: scale(1.04) !important;
}

body.ux-2026-active .r-card:hover .fab-add::after,
body.ux-2026-active .r-card .fab-add:active::after {
  color: #FFFFFF !important;
}

body.ux-2026-active .r-title {
  color: #111827 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

body.ux-2026-active .r-desc {
  color: #6B7280 !important;
}

body.ux-2026-active .r-price strong {
  color: #111827 !important;
  font-weight: 900 !important;
}

/* 4. Rappi / Toast POS Floating Category Tabs & Sub-Nav */
body.ux-2026-active .tabs {
  background: rgba(246, 246, 243, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

body.ux-2026-active .tabs .tab {
  background: #FFFFFF !important;
  color: #374151 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  text-transform: none !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.ux-2026-active .tabs .tab.is-active {
  background: #111827 !important;
  color: #FFFFFF !important;
  border-color: #111827 !important;
  box-shadow: 0 6px 16px -4px rgba(17, 24, 39, 0.35) !important;
  transform: scale(1.02) !important;
}

body.ux-2026-active #subCatNav.cat-sub-nav button {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #4B5563 !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  transition: all 0.18s ease !important;
}

body.ux-2026-active #subCatNav.cat-sub-nav button.active {
  background: #FFF0EE !important;
  border-color: #FF441F !important;
  color: #D92D0B !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(255, 68, 31, 0.14) !important;
}

/* 5. Native iOS / Toast POS Bottom-Sheet Drag Handle (Replaces Heavy Red Top Bars) */
body.ux-2026-active #sheet .sheet-panel::before,
body.ux-2026-active #upsellModal .upsell-panel::before,
body.ux-2026-active #receiptModal .receipt-box::before,
body.ux-2026-active .dlv-map-sheet-card::before {
  content: '' !important;
  position: relative !important;
  display: block !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 42px !important;
  height: 4.5px !important;
  border-radius: 999px !important;
  background: #CBD5E1 !important;
  margin: 10px auto 4px !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  z-index: 30 !important;
}

/* 6. Toast POS Editorial Normalization for Cart & Checkout (Kills Legacy Uppercase Noise) */
body.ux-2026-active #cartBox,
body.ux-2026-active #checkoutBox {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 24px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 14px 34px -14px rgba(15, 23, 42, 0.1) !important;
}

body.ux-2026-active #checkoutBox {
  padding: 0 !important;
  overflow: hidden !important;
}

body.ux-2026-active #checkoutTitle,
body.ux-2026-active .rp-section-label,
body.ux-2026-active #sheetContent h4,
body.ux-2026-active .form label {
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  color: #111827 !important;
}

body.ux-2026-active .rp-section-label {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

/* Crisp Toast POS Inputs */
body.ux-2026-active #checkoutBox input[type="text"],
body.ux-2026-active #checkoutBox input[type="tel"],
body.ux-2026-active #checkoutBox input[type="number"],
body.ux-2026-active #checkoutBox textarea,
body.ux-2026-active .dlv-facade-input,
body.ux-2026-active .dlv-search-wrap input {
  background: #FAFAF9 !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 14px !important;
  color: #111827 !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

body.ux-2026-active #checkoutBox input:focus,
body.ux-2026-active #checkoutBox textarea:focus,
body.ux-2026-active .dlv-facade-input:focus,
body.ux-2026-active .dlv-search-wrap input:focus {
  background: #FFFFFF !important;
  border-color: #FF441F !important;
  box-shadow: 0 0 0 4px rgba(255, 68, 31, 0.12) !important;
  outline: none !important;
}

/* Toast POS Active Selection Cards (Delivery & Payment Options with Green Check Badge) */
body.ux-2026-active .rp-del-opt,
body.ux-2026-active .rp-pay-opt {
  position: relative !important;
  background: #FAFAF9 !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 16px !important;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.ux-2026-active .rp-del-opt:active,
body.ux-2026-active .rp-pay-opt:active {
  transform: scale(0.97) !important;
}

body.ux-2026-active .rp-del-opt.active,
body.ux-2026-active .rp-pay-opt.active {
  background: #FFF6F4 !important;
  border: 2px solid #FF441F !important;
  box-shadow: 0 6px 18px -6px rgba(255, 68, 31, 0.25) !important;
}

body.ux-2026-active .rp-del-opt.active::after,
body.ux-2026-active .rp-pay-opt.active::after {
  content: '✓' !important;
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  color: #FFFFFF !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
}

/* 7. Kinetic Shimmer Sheen on Flagship CTA Buttons (Apple / Rappi Feel) */
@keyframes dlvCtaSheen {
  0%, 72% { transform: translateX(-140%) skewX(-22deg); }
  100% { transform: translateX(260%) skewX(-22deg); }
}

body.ux-2026-active #sendWA,
body.ux-2026-active #readyUpsell,
body.ux-2026-active #btnConfirmOrder,
body.ux-2026-active #sheetAdd,
body.ux-2026-active #stickyCart .rsf-content {
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

body.ux-2026-active #sheetAdd {
  background: linear-gradient(135deg, #FF441F 0%, #E4002B 100%) !important;
  box-shadow: 0 10px 24px -6px rgba(228, 0, 43, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

body.ux-2026-active #sendWA::after,
body.ux-2026-active #readyUpsell::after,
body.ux-2026-active #btnConfirmOrder::after,
body.ux-2026-active #sheetAdd::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 45% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.26) 50%, transparent 100%) !important;
  pointer-events: none !important;
  animation: dlvCtaSheen 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

/* 8. Modern Digital Thermal Receipt Edge (#receiptModal) */
body.ux-2026-active #receiptModal .receipt-paper {
  position: relative !important;
  background: #FAFAF8 !important;
  border-top: 1px dashed #CBD5E1 !important;
  border-bottom: none !important;
  padding-bottom: 22px !important;
}

body.ux-2026-active #receiptModal .receipt-paper::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 10px !important;
  background: radial-gradient(circle at 8px 10px, #FFFFFF 6px, transparent 6.5px) repeat-x !important;
  background-size: 16px 10px !important;
  pointer-events: none !important;
}

body.ux-2026-active #receiptModal .rp-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 10px !important;
  padding: 5px 0 !important;
  font-size: 0.88rem !important;
  color: #1F2937 !important;
  border-bottom: 1px dotted rgba(15, 23, 42, 0.08) !important;
}

body.ux-2026-active #receiptModal .rp-row.total {
  border-bottom: none !important;
  margin-top: 8px !important;
  padding-top: 10px !important;
  border-top: 1.5px dashed #94A3B8 !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

body.ux-2026-active #receiptModal #rpTotal {
  color: #E4002B !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
}

/* ==========================================================================
   14. RAPPI 2026 OPENING WELCOME & LOCATION SPLASH (#locOverlay)
   Vibrant Coral-Red Hero + Bouncing 3D Pin + White Interactive Address Sheet
   ========================================================================== */
#locOverlay.loc-fullscreen-overlay,
body.ux-2026-active #locOverlay.loc-fullscreen-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99990 !important;
  background: linear-gradient(155deg, #FF441F 0%, #E4002B 58%, #C40024 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.ux-2026-active #locOverlay.loc-fullscreen-overlay::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 28%, rgba(255, 193, 7, 0.18) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 34px 34px, 34px 34px !important;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 80%) !important;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 80%) !important;
  pointer-events: none !important;
}

#locOverlay.loc-fullscreen-overlay.hidden,
body.ux-2026-active #locOverlay.loc-fullscreen-overlay.hidden {
  display: none !important;
}

body.ux-2026-active #locOverlay.loc-fullscreen-overlay.dlv-fly-to-header {
  opacity: 0 !important;
  transform: translateY(-30px) scale(0.96) !important;
  pointer-events: none !important;
}

/* Desktop centered Rappi App Frame */
.rappi-loc-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

@media (min-width: 640px) {
  body.ux-2026-active #locOverlay.loc-fullscreen-overlay {
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(14px) !important;
  }
  .rappi-loc-shell {
    height: auto;
    max-height: min(90dvh, 760px);
    border-radius: 34px;
    background: linear-gradient(155deg, #FF441F 0%, #E4002B 60%, #C40024 100%);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  }
}

/* TOP HERO STAGE (Vibrant Rappi Coral + Floating Map Pin) */
.rappi-loc-hero {
  position: relative;
  flex: 0 0 auto;
  padding: max(18px, env(safe-area-inset-top, 18px)) 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
}

.rappi-loc-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.rappi-float-emoji {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  animation: rappiEmojiDrift 3.6s ease-in-out infinite;
}
.rappi-float-emoji.e1 { top: 24%; left: 10%; animation-delay: 0s; }
.rappi-float-emoji.e2 { top: 28%; right: 10%; animation-delay: 1.2s; }
.rappi-float-emoji.e3 { bottom: 14%; left: 14%; font-size: 1.2rem; animation-delay: 2.1s; }

@keyframes rappiEmojiDrift {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-9px) rotate(6deg); }
}

/* Rappi Animated Sonar Pin Stage */
.rappi-pin-stage {
  position: relative;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.rappi-pin-ring {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  animation: rappiPinPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.rappi-pin-ring.r2 { animation-delay: 0.8s; }
.rappi-pin-ring.r3 { animation-delay: 1.6s; }

@keyframes rappiPinPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.95); opacity: 0; }
}

.rappi-pin-core {
  position: relative;
  z-index: 3;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: #FFFFFF;
  padding: 4px;
  box-shadow: 0 14px 32px rgba(120, 0, 20, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dlvPinFloat 2.1s ease-in-out infinite;
}

.rappi-pin-core img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.rappi-pin-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111827;
  border: 2.5px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease;
}

.rappi-pin-stage.locked .rappi-pin-badge {
  background: #10B981;
}
.rappi-pin-stage.locked .rappi-pin-ring {
  border-color: rgba(110, 231, 183, 0.85);
}

.rappi-loc-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.rappi-loc-pill-status.locked {
  background: rgba(16, 185, 129, 0.92);
  border-color: #A7F3D0;
}

.rappi-loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FDE047;
  box-shadow: 0 0 8px #FDE047;
  animation: dlvBlipBlink 1s infinite;
}
.rappi-loc-pill-status.locked .rappi-loc-dot {
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
}

/* BOTTOM CRISP WHITE RAPPI SHEET */
.rappi-loc-sheet {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #FFFFFF !important;
  border-radius: 30px 30px 0 0 !important;
  padding: 12px 18px max(22px, env(safe-area-inset-bottom, 22px)) !important;
  display: block !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: 0 -14px 44px rgba(15, 23, 42, 0.22) !important;
  animation: dlvSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  box-sizing: border-box !important;
}

.rappi-loc-setup-block.hidden {
  display: none !important;
}

.rappi-sheet-handle {
  width: 42px;
  height: 4.5px;
  border-radius: 999px;
  background: #E2E8F0;
  margin: 0 auto 12px;
  flex-shrink: 0;
}

.rappi-loc-title {
  font-size: 1.42rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

.rappi-loc-sub {
  font-size: 0.83rem;
  color: #6B7280;
  margin: 0 0 12px;
  line-height: 1.38;
  font-weight: 500;
  text-align: left;
}

/* Rappi Delivery / Pickup Mode Switch inside Onboarding */
.rappi-loc-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #F3F4F6;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.rappi-lm-btn {
  border: none;
  background: transparent;
  color: #4B5563;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 10px;
  border-radius: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.rappi-lm-btn.active {
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

/* Rappi Address Search Box inside Onboarding */
.rappi-loc-search-wrap {
  position: relative;
  margin-bottom: 10px;
}

.rappi-loc-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
}

.rappi-loc-search-input {
  width: 100%;
  padding: 12px 14px 12px 38px !important;
  border-radius: 14px !important;
  border: 1.5px solid #E5E7EB !important;
  background: #F9FAFB !important;
  color: #111827 !important;
  font-family: inherit;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  outline: none;
  box-sizing: border-box;
  transition: all 0.18s ease;
}

.rappi-loc-search-input:focus {
  background: #FFFFFF !important;
  border-color: #FF441F !important;
  box-shadow: 0 0 0 4px rgba(255, 68, 31, 0.12) !important;
}

.rappi-loc-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  z-index: 50;
  max-height: 180px;
  overflow-y: auto;
  display: none;
}

.rappi-loc-suggestions.visible {
  display: block;
}

.rappi-loc-sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
  text-align: left;
}
.rappi-loc-sug-item:last-child { border-bottom: none; }
.rappi-loc-sug-item:hover { background: #FFF5F5; }
.rappi-loc-sug-main { font-size: 0.84rem; font-weight: 800; color: #111827; }
.rappi-loc-sug-sub { font-size: 0.72rem; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }

/* Primary Rappi GPS Action Button */
.rappi-gps-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #FF441F 0%, #E4002B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px -6px rgba(255, 68, 31, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  margin-bottom: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.rappi-gps-cta.success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.rappi-gps-cta:active {
  transform: scale(0.975);
}

.rappi-gps-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  animation: dlvCtaSheen 4.2s infinite;
  pointer-events: none;
}

/* Match Celebration Card inside White Rappi Sheet */
.rappi-loc-sheet .dlv-radar-match-box {
  background: #ECFDF5 !important;
  border: 1.5px solid #10B981 !important;
  border-radius: 18px !important;
  padding: 12px 14px !important;
  margin-bottom: 12px !important;
}

.rappi-loc-sheet .dlv-rmb-branch {
  color: #064E3B !important;
  font-size: 0.98rem !important;
}

.rappi-loc-sheet .dlv-rmb-km {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.rappi-loc-sheet .dlv-rmb-addr {
  color: #047857 !important;
  font-size: 0.78rem !important;
}

.rappi-loc-sheet .dlv-rmb-pill {
  background: #FFFFFF !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
}

/* Quick Branch List inside White Rappi Sheet */
.rappi-loc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9CA3AF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.rappi-loc-divider::before,
.rappi-loc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.rappi-loc-sheet .dlv-radar-branches {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
  max-height: 150px;
  overflow-y: auto;
}

.rappi-loc-sheet .dlv-rb-item {
  background: #F9FAFB !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 14px !important;
  padding: 9px 12px !important;
}

.rappi-loc-sheet .dlv-rb-item:hover {
  background: #FFF5F5 !important;
  border-color: #FF441F !important;
}

.rappi-loc-sheet .dlv-rb-name {
  color: #111827 !important;
  font-size: 0.86rem !important;
}

.rappi-loc-sheet .dlv-rb-addr {
  color: #6B7280 !important;
  font-size: 0.72rem !important;
}

.rappi-loc-sheet .dlv-rb-go {
  background: #FFF0EE !important;
  color: #E4002B !important;
  border: 1px solid rgba(228, 0, 43, 0.16) !important;
  font-size: 0.72rem !important;
}

.rappi-loc-skip {
  width: 100%;
  background: transparent;
  border: none;
  color: #6B7280;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 0 2px;
  cursor: pointer;
  text-align: center;
}

.rappi-loc-skip:hover {
  color: #111827;
}

/* Compact calibration for Samsung S24 (360px) */
@media (max-width: 384px) {
  .rappi-loc-hero {
    padding: max(12px, env(safe-area-inset-top, 12px)) 16px 12px !important;
  }
  .rappi-pin-stage {
    width: 92px !important;
    height: 92px !important;
    margin-bottom: 6px !important;
  }
  .rappi-pin-core {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
  }
  .rappi-loc-title {
    font-size: 1.24rem !important;
  }
  .rappi-loc-sheet {
    padding: 8px 14px max(14px, env(safe-area-inset-bottom, 14px)) !important;
  }
  .rappi-loc-sheet .dlv-radar-branches {
    max-height: 120px !important;
  }
}

/* ==========================================================================
   15. TOAST POS PERSUASIVE PIZZA EXTRAS POPUP (#extrasModal)
   Restores dedicated high-conversion Cheese Crust / Extra Cheese popup
   with 100% responsive mobile bottom-sheet & pinned action buttons
   ========================================================================== */
#extrasModal.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 13700 !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
}

#extrasModal.modal-overlay.hidden {
  display: none !important;
}

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

#extrasModal .modal-box {
  width: 100% !important;
  max-width: 460px !important;
  max-height: min(86dvh, calc(100dvh - 16px)) !important;
  background: #FFFFFF !important;
  color: #111827 !important;
  border-radius: 28px 28px 0 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 -18px 60px rgba(15, 23, 42, 0.35) !important;
  animation: dlvSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@media (min-width: 640px) {
  #extrasModal .modal-box {
    border-radius: 28px !important;
  }
}

#extrasModal .modal-box::before {
  content: '' !important;
  display: block !important;
  width: 42px !important;
  height: 4.5px !important;
  border-radius: 999px !important;
  background: #CBD5E1 !important;
  margin: 10px auto 4px !important;
  flex-shrink: 0 !important;
}

.dlv-extras-head-wrap {
  padding: 6px 20px 14px;
  border-bottom: 1px solid #F1F5F9;
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%);
  text-align: left;
  flex-shrink: 0;
}

.dlv-extras-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

#extrasModal .modal-box h3 {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 0 0 4px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

#extrasModal .modal-box p.muted {
  font-size: 0.84rem !important;
  color: #6B7280 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

#extrasModal #extrasList.extras-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #F8FAFC !important;
}

#extrasModal #extrasList label.pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  border: 2px solid #E2E8F0 !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

#extrasModal #extrasList label.pill:active {
  transform: scale(0.98) !important;
}

#extrasModal #extrasList label.pill.dlv-ex-selected {
  background: #FFFBEB !important;
  border-color: #F59E0B !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2) !important;
}

#extrasModal #extrasList label.pill span {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  text-align: left !important;
}

.dlv-ex-pop-tag {
  background: #FEF3C7;
  color: #B45309 !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

#extrasModal #extrasList label.pill .price {
  font-size: 0.96rem !important;
  font-weight: 900 !important;
  color: #E4002B !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}

#extrasModal #extrasList label.pill input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  accent-color: #10B981 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

/* Sticky Pinned Footer of #extrasModal */
#extrasModal .modal-actions {
  flex-shrink: 0 !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 20 !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  padding: 12px 18px max(16px, env(safe-area-inset-bottom, 16px)) !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 8px !important;
  margin: 0 !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
}

#extrasModal #extrasConfirm {
  width: 100% !important;
  padding: 15px 18px !important;
  border-radius: 16px !important;
  border: none !important;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35) !important;
}

#extrasModal #extrasSkip {
  width: 100% !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

/* ==========================================================================
   16. TOAST POS / RAPPI 2026 PIZZA CONFIGURATOR MODAL (#sheet)
   Full Responsive Calibration: Samsung S24 (360px) -> iPhone 18 Pro Max (440px)
   Pinned Footer Always Visible · Zero Legacy 40px Padding · Clean 1-Step Flow
   ========================================================================== */
body.ux-2026-active #sheet.sheet {
  position: fixed !important;
  inset: 0 !important;
  z-index: 13600 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.ux-2026-active #sheet.sheet.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  body.ux-2026-active #sheet.sheet {
    align-items: center !important;
    padding: 20px !important;
  }
}

body.ux-2026-active #sheet .sheet-panel {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  max-height: min(90dvh, calc(100dvh - 10px)) !important;
  height: auto !important;
  background: #FFFFFF !important;
  border-radius: 28px 28px 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 -20px 60px rgba(15, 23, 42, 0.34) !important;
  animation: dlvSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@media (min-width: 640px) {
  body.ux-2026-active #sheet .sheet-panel {
    border-radius: 28px !important;
    max-height: 86dvh !important;
  }
}

/* Clean Top-Right Close Button — Never overlaps title or image */
body.ux-2026-active #sheet .sheet-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #111827 !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 40 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

/* Scrollable Middle Area — Kills legacy 140px bottom padding & 40px side padding */
body.ux-2026-active #sheet #sheetContent {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 6px 16px 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.ux-2026-active #sheet #sheetContent .sheet-head,
body.ux-2026-active #sheet #sheetContent .size-grid,
body.ux-2026-active #sheet #sheetContent #flavorsBlock,
body.ux-2026-active #sheet #sheetContent h4 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.ux-2026-active #sheet #sheetContent h4 {
  margin-top: 12px !important;
  margin-bottom: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

/* Compact Product Hero Card inside #sheetContent (leaves right clearance for X button) */
body.ux-2026-active #sheet .dlv-sheet-hero {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 42px 10px 10px !important;
  margin: 0 0 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
}

body.ux-2026-active #sheet .dlv-sheet-hero-img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

body.ux-2026-active #sheet .dlv-sheet-hero-title {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin: 2px 0 !important;
  line-height: 1.15 !important;
}

body.ux-2026-active #sheet .dlv-sheet-hero-desc {
  font-size: 0.76rem !important;
  color: #64748B !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Crisp 3-Column Toast POS Size Selector Grid (S24 -> Pro Max) */
body.ux-2026-active #sheet #sizeRow.size-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 2px 0 !important;
}

body.ux-2026-active #sheet #sizeRow .size-card {
  position: relative !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 10px 6px !important;
  border-radius: 16px !important;
  background: #FAFAF9 !important;
  border: 1.5px solid #E5E7EB !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 2px !important;
  transform: none !important;
}

body.ux-2026-active #sheet #sizeRow .size-card.selected {
  background: #FFF5F4 !important;
  border: 2px solid #FF441F !important;
  box-shadow: 0 6px 16px -6px rgba(255, 68, 31, 0.28) !important;
}

body.ux-2026-active #sheet #sizeRow .size-card.selected::after {
  content: '✓' !important;
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 17px !important;
  height: 17px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  color: #FFFFFF !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.ux-2026-active #sheet #sizeRow .size-card .sc-icon {
  font-size: 1.25rem !important;
  margin-bottom: 2px !important;
}

body.ux-2026-active #sheet #sizeRow .size-card .sc-name {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

body.ux-2026-active #sheet #sizeRow .size-card .sc-price {
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  color: #E4002B !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.ux-2026-active #sheet #sizeRow .dlv-slice-hint {
  font-size: 0.64rem !important;
  font-weight: 700 !important;
  color: #64748B !important;
  margin-top: 1px !important;
}

/* Compact Pizza Visualizer when Mitad y Mitad or 4 Sabores is active */
body.ux-2026-active #sheet .pizza-viz-wrap {
  margin: 8px auto 10px !important;
  padding: 4px 0 !important;
}

body.ux-2026-active #sheet .pizza-viz {
  width: 184px !important;
  height: 184px !important;
  max-width: 52vw !important;
  max-height: 52vw !important;
  box-shadow: 0 14px 32px -8px rgba(15, 23, 42, 0.25) !important;
}

body.ux-2026-active #sheet .pv-hint {
  margin-top: 10px !important;
  padding: 6px 14px !important;
  font-size: 0.72rem !important;
}

/* PINNED #sheetFooter (Direct child of .sheet-panel — ALWAYS VISIBLE!) */
body.ux-2026-active #sheet .sheet-panel > #sheetFooter {
  flex-shrink: 0 !important;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 16px max(16px, env(safe-area-inset-bottom, 16px)) !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  z-index: 30 !important;
}

body.ux-2026-active #sheet #sheetFooter > div:not(.qty-stepper) {
  display: none !important;
}

body.ux-2026-active #sheet #sheetFooter .qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 14px !important;
  padding: 4px !important;
  flex-shrink: 0 !important;
}

body.ux-2026-active #sheet #sheetFooter .btn-stepper {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  border: none !important;
  background: #FFFFFF !important;
  color: #111827 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

body.ux-2026-active #sheet #sheetFooter #sheetQty {
  width: 30px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  padding: 0 !important;
}

body.ux-2026-active #sheet #sheetFooter #sheetAdd {
  flex: 1 1 160px !important;
  height: 48px !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

/* Optional 1-tap Go-to-Checkout Shortcut Pill inside #sheetFooter when cart > 0 */
.dlv-sf-checkout-shortcut {
  flex: 1 0 100% !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: #ECFDF5 !important;
  border: 1.5px solid #10B981 !important;
  color: #065F46 !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.dlv-sf-cs-go {
  background: #10B981 !important;
  color: #FFFFFF !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

/* Tier A: Samsung S24 Compact Calibration (360px - 384px) */
@media (max-width: 384px) {
  body.ux-2026-active #sheet #sheetContent {
    padding: 4px 12px 12px !important;
  }
  body.ux-2026-active #sheet .dlv-sheet-hero {
    padding: 8px 38px 8px 8px !important;
    gap: 9px !important;
  }
  body.ux-2026-active #sheet .dlv-sheet-hero-img {
    width: 48px !important;
    height: 48px !important;
  }
  body.ux-2026-active #sheet .dlv-sheet-hero-title {
    font-size: 0.96rem !important;
  }
  body.ux-2026-active #sheet #sizeRow.size-grid {
    gap: 6px !important;
  }
  body.ux-2026-active #sheet #sizeRow .size-card {
    padding: 8px 4px !important;
  }
  body.ux-2026-active #sheet #sizeRow .size-card .sc-name {
    font-size: 0.75rem !important;
  }
  body.ux-2026-active #sheet #sizeRow .size-card .sc-price {
    font-size: 0.78rem !important;
  }
  body.ux-2026-active #sheet .pizza-viz {
    width: 158px !important;
    height: 158px !important;
  }
  body.ux-2026-active #sheet .sheet-panel > #sheetFooter {
    padding: 9px 12px max(14px, env(safe-area-inset-bottom, 14px)) !important;
    gap: 8px !important;
  }
  body.ux-2026-active #sheet #sheetFooter .btn-stepper {
    width: 32px !important;
    height: 32px !important;
  }
  body.ux-2026-active #sheet #sheetFooter #sheetAdd {
    height: 44px !important;
    font-size: 0.88rem !important;
  }
}

/* Tier B: iPhone 16 / 17 / 18 Pro Max Calibration (410px - 460px) */
@media (min-width: 410px) and (max-width: 639px) {
  body.ux-2026-active #sheet #sheetContent {
    padding: 8px 18px 18px !important;
  }
  body.ux-2026-active #sheet #sizeRow .size-card {
    padding: 12px 8px !important;
  }
  body.ux-2026-active #sheet .pizza-viz {
    width: 200px !important;
    height: 200px !important;
  }
  body.ux-2026-active #sheet #sheetFooter #sheetAdd {
    height: 50px !important;
    font-size: 1rem !important;
  }
}

/* ==========================================================================
   17. TOAST POS LIVE STOREFRONT BAR + DYNAMIC "LOS MÁS PEDIDOS" RAIL (v880)
   Replaces static promo banners with real-time branch trust pills & live menu hits
   ========================================================================== */
.dlv-storefront-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dlv-storefront-bar::-webkit-scrollbar {
  display: none;
}

.dlv-sf-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.dlv-sf-pill.open {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.dlv-sf-pill.closed {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.dlv-sf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.dlv-sf-pill.closed .dlv-sf-dot {
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.dlv-sf-muted {
  color: #6B7280;
  font-weight: 600;
}

.dlv-sf-pill.branch {
  cursor: pointer;
  background: #FFF6F4;
  border-color: rgba(255, 68, 31, 0.22);
  color: #C40024;
}

/* Dynamic Best-Sellers Carousel */
.dlv-trending-section {
  margin-bottom: 12px;
}

.dlv-trending-section.hidden {
  display: none !important;
}

.dlv-trending-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 2px;
}

.dlv-trending-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.dlv-trending-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.dlv-trending-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlv-trending-hint {
  font-size: 0.7rem;
  font-weight: 800;
  color: #9CA3AF;
  white-space: nowrap;
  flex-shrink: 0;
}

.dlv-trending-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dlv-trending-rail::-webkit-scrollbar {
  display: none;
}

.dlv-trend-card {
  flex: 0 0 146px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -10px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease;
}

.dlv-trend-card:active {
  transform: scale(0.965);
}

@media (hover: hover) {
  .dlv-trend-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 68, 31, 0.3);
  }
}

.dlv-tc-media {
  position: relative;
  width: 100%;
  height: 92px;
  background: linear-gradient(110deg, #EFEFEA 8%, #F9F9F7 18%, #EFEFEA 33%);
  background-size: 200% 100%;
  animation: dlvSkeletonShimmer 1.4s ease-in-out infinite;
  overflow: hidden;
}

.dlv-tc-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.3) 100%);
  pointer-events: none;
}

.dlv-tc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dlv-tc-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: rgba(17, 24, 39, 0.86);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 999px;
}

.dlv-tc-qty {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

.dlv-tc-add {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #FFFFFF;
  color: #E4002B;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.dlv-tc-add:active {
  background: #E4002B;
  color: #FFFFFF;
  transform: scale(0.92);
}

.dlv-tc-info {
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dlv-tc-price {
  font-size: 0.84rem;
  font-weight: 900;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.dlv-tc-price small {
  font-size: 0.64rem;
  font-weight: 600;
  color: #6B7280;
  margin-right: 2px;
}

.dlv-tc-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1F2937;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* S24 (360px) & iPhone Pro Max (410-460px) responsive tweaks */
@media (max-width: 384px) {
  .dlv-trend-card {
    flex: 0 0 134px !important;
  }
  .dlv-tc-media {
    height: 82px !important;
  }
  .dlv-trending-title {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 410px) and (max-width: 767px) {
  .dlv-trend-card {
    flex: 0 0 156px !important;
  }
  .dlv-tc-media {
    height: 98px !important;
  }
}

/* ==========================================================================
   18. PURE-CSS RAPPI VISUAL IMPACT LAYER (v881)
   Food Grading, Strict 3-Color Discipline, :has() Live Cart Glow,
   Floating Pill "+" Spring Physics, Zero-Clutter Rhythm, Edge-Fade Rails
   & Floating Dock Cart Depth
   ========================================================================== */

/* 18.1 Food Grading & Protagonist Imagery (~65% Card Visual Focus) */
body.ux-2026-active .r-media img,
body.ux-2026-active .dlv-tc-media img,
body.ux-2026-active .dlv-ucard-media img,
body.ux-2026-active .dlv-sheet-hero-img {
  filter: contrast(1.06) saturate(1.16) brightness(1.02) !important;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease !important;
  will-change: transform;
}

@media (hover: hover) {
  body.ux-2026-active .r-card:hover .r-media img,
  body.ux-2026-active .dlv-trend-card:hover .dlv-tc-media img,
  body.ux-2026-active .dlv-ucard:hover .dlv-ucard-media img {
    transform: scale(1.055) !important;
    filter: contrast(1.08) saturate(1.2) brightness(1.03) !important;
  }
}

@media (max-width: 767px) {
  body.ux-2026-active .r-media {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 122px !important;
  }

  body.ux-2026-active .r-body {
    padding: 9px 10px 11px !important;
    gap: 3px !important;
  }

  body.ux-2026-active .r-title {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }

  body.ux-2026-active .r-desc {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  body.ux-2026-active .r-price strong {
    font-size: 0.96rem !important;
  }
}

/* 18.2 Strict Rappi Color Discipline (Warm Quiet Canvas + White Cards + Coral + Emerald) */
html:has(body.ux-2026-active),
body.ux-2026-active {
  background-color: #F5F5F2 !important;
}

body.ux-2026-active .r-card,
body.ux-2026-active .dlv-trend-card,
body.ux-2026-active .dlv-ucard {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.045) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), 0 12px 28px -10px rgba(15, 23, 42, 0.09) !important;
}

body.ux-2026-active #cartBox,
body.ux-2026-active #checkoutBox {
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035), 0 16px 36px -14px rgba(15, 23, 42, 0.095) !important;
}

/* Emerald reserved for money / free delivery / live open / in-cart confirmation */
body.ux-2026-active .dlv-fee-chip,
body.ux-2026-active .dlv-sf-pill.open {
  background: #ECFDF3 !important;
  color: #008A3E !important;
  border-color: rgba(0, 177, 79, 0.24) !important;
}

body.ux-2026-active .dlv-sf-dot {
  background: #00B14F !important;
  box-shadow: 0 0 0 3px rgba(0, 177, 79, 0.2) !important;
}

body.ux-2026-active .dlv-card-incart-badge,
body.ux-2026-active .dlv-tc-qty {
  background: #00B14F !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 177, 79, 0.36) !important;
  font-variant-numeric: tabular-nums !important;
}

body.ux-2026-active #sendWA,
body.ux-2026-active #readyUpsell,
body.ux-2026-active #btnConfirmOrder {
  background: linear-gradient(135deg, #00B853 0%, #009B45 100%) !important;
  box-shadow: 0 14px 30px -8px rgba(0, 177, 79, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

/* Coral reserved for active discovery filters & high-intent triggers */
body.ux-2026-active .dlv-qchip.active {
  background: #FFF2EF !important;
  color: #E03512 !important;
  border-color: rgba(255, 68, 31, 0.5) !important;
  box-shadow: 0 4px 12px -4px rgba(255, 68, 31, 0.24) !important;
}

/* 18.3 Modern :has() Interactive Feedback (Zero JS) */
body.ux-2026-active .r-card:has(.dlv-card-incart-badge),
body.ux-2026-active .dlv-trend-card:has(.dlv-tc-qty) {
  border: 1.5px solid rgba(0, 177, 79, 0.52) !important;
  box-shadow: 0 4px 12px rgba(0, 177, 79, 0.13), 0 14px 28px -12px rgba(0, 177, 79, 0.24) !important;
}

body.ux-2026-active .r-card:has(.dlv-card-incart-badge) .fab-add,
body.ux-2026-active .dlv-trend-card:has(.dlv-tc-qty) .dlv-tc-add {
  border-color: rgba(0, 177, 79, 0.35) !important;
  color: #009E46 !important;
}

body.ux-2026-active .r-card:has(.dlv-card-incart-badge) .fab-add::after {
  color: #009E46 !important;
}

body.ux-2026-active .dlv-search-box {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.22s ease !important;
}

body.ux-2026-active .dlv-search-box:focus-within,
body.ux-2026-active .dlv-search-box:has(input:focus) {
  background: #FFFFFF !important;
  border-color: #FF441F !important;
  box-shadow: 0 0 0 4px rgba(255, 68, 31, 0.12), 0 12px 26px -10px rgba(15, 23, 42, 0.16) !important;
  transform: translateY(-1px) !important;
}

/* 18.4 Rappi Floating Pill "+" Button & Spring Physics */
body.ux-2026-active .r-card .fab-add,
body.ux-2026-active .dlv-tc-add {
  background: #FFFFFF !important;
  color: #FF441F !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18), 0 1px 3px rgba(15, 23, 42, 0.1) !important;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.18s ease, color 0.18s ease, box-shadow 0.2s ease !important;
}

body.ux-2026-active .r-card .fab-add::after {
  color: #FF441F !important;
}

@media (hover: hover) {
  body.ux-2026-active .r-card:hover .fab-add,
  body.ux-2026-active .dlv-trend-card:hover .dlv-tc-add {
    background: #FF441F !important;
    color: #FFFFFF !important;
    border-color: #FF441F !important;
    transform: scale(1.09) !important;
    box-shadow: 0 8px 20px rgba(255, 68, 31, 0.36) !important;
  }

  body.ux-2026-active .r-card:hover .fab-add::after {
    color: #FFFFFF !important;
  }
}

body.ux-2026-active .r-card .fab-add:active,
body.ux-2026-active .dlv-tc-add:active {
  background: #FF441F !important;
  color: #FFFFFF !important;
  border-color: #FF441F !important;
  transform: scale(0.88) !important;
  box-shadow: 0 3px 10px rgba(255, 68, 31, 0.32) !important;
}

body.ux-2026-active .r-card .fab-add:active::after {
  color: #FFFFFF !important;
}

body.ux-2026-active .dlv-qchip,
body.ux-2026-active .tabs .tab,
body.ux-2026-active .dlv-mode-btn {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.ux-2026-active .dlv-qchip:active,
body.ux-2026-active .tabs .tab:active,
body.ux-2026-active .dlv-mode-btn:active {
  transform: scale(0.94) !important;
}

/* 18.5 Eliminate Legacy Clutter Between Search & Category Tabs */
body.ux-2026-active #selBranchText,
body.ux-2026-active .branch-contacts,
body.ux-2026-active section:has(#menuGrid) > .container > h2.mb6 {
  display: none !important;
}

body.ux-2026-active .dlv-discovery-zone {
  padding-bottom: 6px !important;
  margin-bottom: 0 !important;
}

body.ux-2026-active section:has(#menuGrid) {
  padding-top: 2px !important;
  margin-top: 0 !important;
}

body.ux-2026-active .tabs {
  background: rgba(245, 245, 242, 0.94) !important;
  margin-top: 0 !important;
}

/* 18.6 Edge-Fade Scroll Indicators on Horizontal Carousels */
body.ux-2026-active .dlv-storefront-bar,
body.ux-2026-active .dlv-quick-chips,
body.ux-2026-active .dlv-trending-rail {
  scroll-padding-left: 12px !important;
  padding-right: 26px !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%) !important;
}

/* 18.7 Floating Dock Cart (#stickyCart) Depth & Rappi Emerald Presence */
body.ux-2026-active #stickyCart .rsf-content {
  background: linear-gradient(135deg, #00B853 0%, #009B45 100%) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 18px 40px -10px rgba(0, 177, 79, 0.56), 0 4px 12px rgba(0, 177, 79, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease !important;
}

body.ux-2026-active #stickyCart .rsf-content:active {
  transform: scale(0.975) !important;
  box-shadow: 0 10px 24px -8px rgba(0, 177, 79, 0.46) !important;
}

body.ux-2026-active #stickyCart .rsf-total,
body.ux-2026-active #stickyCart #rsfTotal {
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.025em !important;
  font-weight: 900 !important;
}

body.ux-2026-active #stickyCart .rsf-items {
  font-variant-numeric: tabular-nums !important;
  opacity: 0.94 !important;
}

@media (prefers-reduced-motion: reduce) {
  body.ux-2026-active .r-media img,
  body.ux-2026-active .dlv-tc-media img,
  body.ux-2026-active .r-card .fab-add,
  body.ux-2026-active .dlv-tc-add,
  body.ux-2026-active #stickyCart .rsf-content {
    transition: none !important;
  }
}








