/* Checkout Guide Text */
.checkout-guide {
  background: var(--cr-red-light);
  color: var(--cr-red-dark);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-guide::before {
  content: "💡";
}

/* Input Error State */
.input-error {
  border-color: var(--error) !important;
  background-color: #fef2f2 !important;
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* WhatsApp Button Enhancement */
.btn-whatsapp {
  background-color: #25D366 !important;
  /* Official WA Green */
  border-color: #25D366 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #1ebc57 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}



/* =========================================
   Pizza Hut 2026 BRAND BANNER
   ========================================= */
.brand-banner {
  background: linear-gradient(135deg, #FF0066 0%, #8A001A 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(138, 0, 26, 0.2);
  /* No border radius if full width, or maybe just slight */
}

@media(min-width: 768px) {
  .brand-banner {
    margin: 20px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 100px;
  }
}

.bb-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.bb-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bb-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 20px;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  letter-spacing: -2px;
}

.bb-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 400px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.5;
}

.bb-btn {
  background: #fff;
  color: #FF0066;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bb-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.bb-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.bb-shape.s1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
  filter: blur(40px);
}

.bb-shape.s2 {
  width: 200px;
  height: 200px;
  bottom: -20px;
  left: 20%;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(30px);
}

/* Map Radar Overlay */
.radar-overlay-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  overflow: hidden;
}

.radar-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(228, 0, 43, 0.1) 0deg, transparent 60deg, transparent 100%);
  transform: translate(-50%, -50%);
  animation: radarSpin 4s linear infinite;
  opacity: 0.5;
}

@keyframes radarSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Branch List - Scrollbar Hide */
.branch-list::-webkit-scrollbar {
  width: 4px;
}

.branch-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* =========================================
   FUTURE MAP (Pizza Hut 2026)
   ========================================= */

/* 1. Dark Mode Filter for Map Tiles */
.leaflet-tile-pane {
  filter: none !important;
}

/* 2. Custom Red Roof 3D Marker */
.cr-pin {
  background: transparent;
  border: none;
}

.cr-pin-inner {
  position: relative;
  width: 50px;
  height: 50px;
  /* The Marker Shape */
}

/* The Red Roof Hat */
.cr-pin-hat {
  position: absolute;
  top: 0;
  left: 5px;
  width: 40px;
  height: 20px;
  background: #FF0066;
  border-radius: 40px 40px 0 0;
  /* Roof shape */
  box-shadow: 0 5px 15px rgba(228, 0, 43, 0.5);
  z-index: 2;
  animation: floatPin 3s ease-in-out infinite;
}

/* The Logo/Image Container */
.cr-pin-body {
  position: absolute;
  top: 15px;
  left: 5px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #FF0066;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cr-pin-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The Pulse Signal */
.cr-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: rgba(228, 0, 43, 0.4);
  border-radius: 50%;
  z-index: 0;
  animation: markerPulse 2s infinite;
}

@keyframes floatPin {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes markerPulse {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.8;
  }

  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

/* =========================================
   HOW IT WORKS (Pizza Hut Mode)
   ========================================= */
.how-it-works {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Dramatic Sauce Base */
}

/* Sauce Blob 1 (Top Left Splash) */
.how-it-works::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -5%;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #FF0066 0%, #a80020 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  /* Organic Blob */
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  /* Transparent but visible */
  transform: rotate(-10deg);
  animation: blobFloat 8s ease-in-out infinite alternate;
}

/* Sauce Blob 2 (Bottom Right Drip) */
.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -10%;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle at center, #FFC107 0%, #FF0066 80%);
  /* Gold center blending to Red */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

/* Melting Cheese SVG Pattern (CSS Generated) */
.cheese-drip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: #FFC107;
  /* Cheese Gold */
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,112C672,107,768,149,864,165.3C960,181,1056,171,1152,149.3C1248,128,1344,96,1392,80L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,112C672,107,768,149,864,165.3C960,181,1056,171,1152,149.3C1248,128,1344,96,1392,80L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'/%3E%3C/svg%3E");
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  opacity: 0.9;
  filter: drop-shadow(0 4px 0 rgba(200, 150, 0, 0.5));
  animation: cheeseOoze 4s ease-in-out infinite alternate;
  transform-origin: top;
}

@keyframes cheeseOoze {
  0% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(1.1);
  }
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  100% {
    transform: translate(20px, 30px) rotate(5deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.hiw-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hiw-badge {
  display: inline-block;
  background: var(--cr-red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 99px;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(228, 0, 43, 0.3);
  text-transform: uppercase;
}

.hiw-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: #121212 !important;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hiw-title span {
  color: var(--cr-red);
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

@media(min-width: 900px) {
  .hiw-steps {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
}

/* Sauce Trail Line */
.hiw-line {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 0;
  border-top: 3px dashed #ffcccb;
  /* Light Red Dash */
  z-index: 0;
  transform: translateY(-50%);
  display: none;
}

@media(min-width: 900px) {
  .hiw-line {
    display: block;
  }
}

.hiw-line-fill {
  /* Animate a "sauce" filling styling */
  position: absolute;
  top: -3px;
  /* Align with border-top */
  left: 0;
  height: 3px;
  width: 0%;
  border-top: 3px dashed var(--cr-red);
  transition: width 1s ease;
  animation: sauceFlow 1s linear infinite;
}

/* Step Cards */
.hiw-card {
  background: #fff;
  border: none;
  border-radius: 32px;
  /* Soft & Doughy */
  padding: 40px 30px;
  position: relative;
  flex: 1;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Bouncy spring */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1;
  border-bottom: 6px solid #f0f0f0;
  /* Default bottom lip */
}

/* Hover Action */
.hiw-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(228, 0, 43, 0.15);
  border-bottom-color: var(--cr-red);
  /* Red Lip Pop */
}

.hiw-number {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #f7f7f7;
  line-height: 1;
  pointer-events: none;
  z-index: -1;
  transition: all 0.3s;
}

.hiw-card:hover .hiw-number {
  color: #fff0f1;
  transform: translateX(-50%) scale(1.1);
}

.hiw-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  background: #fff;
  /* Mask number */
  padding: 10px;
  border-radius: 50%;
}

.hiw-card:hover .hiw-icon {
  transform: scale(1.2) rotate(15deg);
  background: transparent;
}

.hiw-card h3 {
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #121212 !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hiw-card p {
  color: #555 !important;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

/* =========================================
   GENERIC UI ELEMENTS (Pizza Hut 2026)
   ========================================= */

/* Fix for Filtered View Groups */
.menu-group {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.group-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  /* Match main grid */
  gap: 16px;
  width: 100%;
}

/* Menu Section Headers (Ingredient Pills) */
.menu-section-header {
  background: #FF0066;
  /* Pizza Hut Red */
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 50px;
  /* Full Pill */
  width: fit-content;
  margin: 30px 0 16px 0;
  /* Left Aligned (No specific auto) */
  box-shadow: 0 4px 15px rgba(228, 0, 43, 0.2);
  /* Softer shadow */

  /* Removed sticky to avoid broken layout in flat grid */
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Start align content */
  border: 1px solid rgba(228, 0, 43, 0.3);
  /* Red border instead of white opacity */

  /* Ensure it spans full width in Grid View */
  grid-column: 1 / -1;
  justify-self: start;
  /* Grid alignment left */
}

.menu-section-header::before {
  content: '🍕';
  margin-right: 8px;
  font-size: 1.1em;
}

/* =========================================
   FLAVOR SELECTOR 2026 (Refined)
   ========================================= */

.flavor-section-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #000;
  margin: 20px 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* SLOTS CONTAINER */
.flavor-slots {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  justify-content: center;
  margin-bottom: 10px;
}

.flavor-slot {
  flex: 1;
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flavor-slot:hover {
  background: #fff;
  border-color: #ccc;
  transform: translateY(-2px);
}

.flavor-slot.active-slot {
  border-color: #FF0066;
  background: #fff;
  box-shadow: 0 8px 24px rgba(228, 0, 43, 0.15);
  transform: translateY(-4px);
  z-index: 2;
}

/* Checkmark badge for populated slots */
.flavor-slot.filled::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: #10B981;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.slot-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.slot-value.placeholder {
  color: #ccc;
  font-style: italic;
  font-weight: 400;
}

/* FLAVOR PICKER GRID (The Drawer) */
#flavorPickerContainer {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Subtle depth */
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #eee;
  animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flavor-grid-filters {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: #fafafa;
  overflow-x: auto;
  border-bottom: 1px solid #eee;
  /* Hide scrollbar */
  scrollbar-width: none;
}

.flavor-grid-filters::-webkit-scrollbar {
  display: none;
}

.fg-filter {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #ddd;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.fg-filter.active {
  background: #FF0066;
  color: #fff;
  border-color: #FF0066;
}

.flavor-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
}

/* FLAVOR OPTION CARD */
/* FLAVOR OPTION CARD */
.fo-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  /* Faster response */
  position: relative;
  /* Prevent tap highlight colors from browser */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Tactile "Press" Effect */
.fo-card:active {
  transform: scale(0.92);
  background: #f0f0f0;
  border-color: #ddd;
}

/* Selected State */
.fo-card.selected {
  border-color: #FF0066;
  box-shadow: 0 0 0 2px rgba(228, 0, 43, 0.2);
  background: #fff5f5;
  /* Subtle red tint */
  transform: scale(0.98);
  /* Slightly smaller than resting but larger than active */
}

/* Image */
.fo-img-wrap {
  height: 90px;
  width: 100%;
  background: #fff;
  /* Pure White for HD Clarity */
  position: relative;
  overflow: hidden;
}

.fo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  /* HD POP */
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.1) saturate(1.15);
}

.fo-card:hover .fo-img-wrap img {
  transform: scale(1.1);
}

/* Info */
.fo-info {
  padding: 10px 8px;
  text-align: center;
}

.fo-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.2;
}

.fo-desc {
  font-size: 0.7rem;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* Standard */
  -webkit-box-orient: vertical;
}

/* Sauce Splash Removed by User Request */
.branch-item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: transform 0.2s;
  z-index: 1;
}

.branch-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Text stays normally positioned, no need to force z-index 2 if splash is -1 */
.branch-item h4 {
  margin: 0 0 6px 0 !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #1a1a1a;
  position: relative;
}

.branch-item div {
  position: relative;
}



/* Responsive tweaks */
@media(max-width: 480px) {
  .flavor-options {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 cols on mobile */
  }
}

/* PIZZA VISUALIZER 2.0 SECTION REMOVED TO PREVENT CONFLICTS WITH style_builder_2026.css */

/* Force overrides just in case */
.pizza-viz-wrap .pizza-viz {
  margin: 0 auto !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hint Overlay Removed by User Request */

/* --- WORLD CLASS FLAVOR MODAL --- */
.flavor-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.2s ease-out;
}

.flavor-modal-card {
  background: #fff;
  width: 90%;
  max-width: 450px;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleInCard 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fm-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  z-index: 2;
}

.fm-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}

.fm-close {
  background: #f5f5f7;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fm-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9faf0;
  -webkit-overflow-scrolling: touch;
}

/* Flavor Items - Premium List/Grid */
/* Flavor Items - Premium List (Pizza Hut 2026 Style) */
.fm-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid #f2f2f2;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.fm-item:active {
  transform: scale(0.97);
  background: #fafafa;
}

.fm-item.active {
  border-color: #FF0066;
  background: #fffafb;
  /* Very faint red tint */
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.15);
}

/* Left Red Stripe for Active */
.fm-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #FF0066;
}

.fm-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 16px;
  background: #f8f8f8;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.fm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.fm-item.active .fm-thumb img {
  transform: scale(1.1);
  /* Zoom effect on select */
}

.fm-info {
  flex: 1;
  padding-right: 10px;
}

.fm-name {
  font-weight: 800;
  /* Extra bold */
  font-size: 1rem;
  color: #111;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* 2026 Style */
}

.fm-desc {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  font-weight: 500;
}

/* Custom Checkmark */
.fm-check {
  width: 24px;
  height: 24px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: 5px;
}

.fm-item.active .fm-check {
  border-color: #FF0066;
  background: #FF0066;
  transform: scale(1.1);
}

.fm-check::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.fm-item.active .fm-check::after {
  opacity: 1;
  transform: scale(1);
}

/* Animations */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleInCard {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.2s;
}

/* =========================================
   SAUCE SELECTOR (Visual)
   ========================================= */
.sauce-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.sauce-card {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 90px;
}

.sauce-card:hover {
  background: #fff;
  border-color: #ccc;
  transform: translateY(-2px);
}

.sauce-card.selected {
  border-color: #FF0066;
  background: #fff5f5;
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.15);
  transform: translateY(-3px);
  z-index: 2;
}

.sauce-card .sauce-icon {
  font-size: 2rem;
  display: block;
  line-height: 1;
}

.sauce-card .sauce-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}

/* =========================================
   PRIVACY NOTICE FOOTER & MODAL
   ========================================= */
.site-footer {
  background: #f8f8f8;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--cr-red);
}

/* Privacy Modal Specifics */
.privacy-modal-box {
  width: 90%;
  max-width: 800px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pm-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #121212;
}

.pm-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  padding: 4px;
}

.pm-close:hover {
  color: var(--cr-red);
}

.pm-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.6;
  color: #444;
  font-size: 0.95rem;
}

.pm-body h3 {
  color: #000;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 5px;
}

.fm-item.active .fm-check {
  border-color: #FF0066;
  background: #FF0066;
  transform: scale(1.1);
}

.fm-check::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.fm-item.active .fm-check::after {
  opacity: 1;
  transform: scale(1);
}

/* Animations */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleInCard {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.2s;
}

/* =========================================
   SAUCE SELECTOR (Visual)
   ========================================= */
.sauce-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.sauce-card {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 90px;
}

.sauce-card:hover {
  background: #fff;
  border-color: #ccc;
  transform: translateY(-2px);
}

.sauce-card.selected {
  border-color: #FF0066;
  background: #fff5f5;
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.15);
  transform: translateY(-3px);
  z-index: 2;
}

.sauce-card .sauce-icon {
  font-size: 2rem;
  display: block;
  line-height: 1;
}

.sauce-card .sauce-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}

/* =========================================
   PRIVACY NOTICE FOOTER & MODAL
   ========================================= */
.site-footer {
  background: #f8f8f8;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--cr-red);
}

/* Privacy Modal Specifics */
.privacy-modal-box {
  width: 90%;
  max-width: 800px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pm-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #121212;
}

.pm-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  padding: 4px;
}

.pm-close:hover {
  color: var(--cr-red);
}

.pm-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.6;
  color: #444;
  font-size: 0.95rem;
}

.pm-body h3 {
  color: #000;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.pm-body ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.pm-body li {
  margin-bottom: 8px;
}

/* =========================================
   MOBILE BUILDER REFINEMENTS (Apple Style Polish)
   ========================================= */
@media (max-width: 600px) {

  .size-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    overflow-x: auto;
    padding: 4px 2px 10px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .size-grid::-webkit-scrollbar {
    display: none;
  }

  .size-card {
    flex: 1 1 auto !important;
    min-width: 85px !important;
    max-width: 32% !important;
    background: #F2F2F7;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    padding: 12px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    height: auto !important;
    position: relative;
    overflow: hidden;
  }

  .size-card.selected {
    background: #fff !important;
    border-color: var(--cr-red) !important;
    box-shadow: 0 4px 12px rgba(228, 0, 43, 0.15) !important;
    transform: translateY(-2px);
  }

  .size-card:active {
    transform: scale(0.96);
    background: #E5E5EA;
  }

  .size-card .sc-icon {
    font-size: 1.5rem !important;
    margin-bottom: 6px !important;
    margin-right: 0 !important;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.2s;
  }

  .size-card.selected .sc-icon {
    filter: none;
    transform: scale(1.1);
  }

  .size-card .sc-info {
    text-align: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .size-card .sc-name {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #1c1c1e;
    letter-spacing: -0.01em;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .size-card .sc-price {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--cr-red) !important;
  }

  .size-card.selected::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: var(--cr-red);
    border-radius: 50%;
    opacity: 0.8;
  }
}

/* =========================================
   SAMSUNG S8+ / NARROW DEVICE OPTIMIZATIONS (<380px)
   ========================================= */
@media (max-width: 380px) {
  .container {
    padding: 0 12px !important;
  }
  h1 {
    font-size: 1.6rem !important;
  }
  .r-card .fab-add {
    width: 38px !important;
    height: 38px !important;
  }
}

/* =========================================
   MINIMALIST TRACKER UI (v2026)
   ========================================= */
.tracker-overlay-minimal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(10px);
  padding: 20px;
}

.tracker-overlay-minimal.hidden {
  display: none !important;
}

.minimal-card {
  width: 100%;
  max-width: 450px;
  text-align: center;
  color: #fff;
}

.focus-icon {
  font-size: 7rem;
  margin-bottom: 24px;
}

.main-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #00A650;
  margin-bottom: 16px;
  text-transform: uppercase;
}

@keyframes slowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* =========================================
   DRAG AND DROP CASCADING STYLES
   ========================================= */
.cart-row[draggable="true"] {
  cursor: grab;
}

/* =========================================
   ULTRA-PREMIUM PRODUCT GRID (v2026 Edition)
   ========================================= */

/* Entrance Animation - REMOVED TO PREVENT FLICKERING */
.stagger-load .r-card {
  opacity: 1 !important;
}


.r-card {
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.7) !important; /* Crystal transparency */
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 
    0 10px 30px -5px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.r-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.15) !important;
}

/* Glass Shine Effect */
.r-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transform: rotate(-45deg);
  transition: all 0.6s;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.r-card:hover::after {
  opacity: 1;
  top: -20%;
  left: -20%;
}

.r-media {
  border-radius: 0 !important; /* Full bleed top */
  margin-bottom: 0 !important;
}

.r-media img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.r-info {
  padding: 15px 12px !important; /* Clean space for text */
}

/* Add Button 25% smaller */
.fab-add {
  width: auto !important;
  min-width: 68px !important; /* 25% smaller than 90px */
  height: 28px !important;    /* 25% smaller than 36px roughly */
  padding: 0 12px !important;
  bottom: 12px !important;
  right: 12px !important;
  background: var(--cr-red) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(228, 0, 43, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fab-add::after {
  content: 'AGREGAR' !important;
  font-size: 0.68rem !important; /* Exactly 20% smaller than 0.85rem */
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
}


/* Hover effect for the new enlarged photo */
.r-card:hover .r-media img {
  transform: scale(1.08) !important;
}

/* Smooth active state - FIX FOR DISAPPEARING PRODUCTS */
.r-card:active {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  transition: transform 0.1s !important;
}

/* RAPPI-STYLE CENTRAL ADDED POPUP */
.rappi-added-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background: rgba(255, 81, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 25px 60px rgba(255, 81, 0, 0.4);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rappi-added-popup.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rappi-added-popup .notif-icon {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.rappi-added-popup h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rappi-added-popup .sub {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ===========================================
   RAPPI 2026 — LOCATION OVERLAY FULL SCREEN
   =========================================== */
.loc-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #1a0a0e 0%, #2d1219 50%, #1a0a0e 100%);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
}
.loc-fullscreen-overlay.hidden { display: none; }

.loc-fs-content {
  text-align: center;
  max-width: 360px;
  width: 100%;
  animation: locFadeUp 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes locFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loc-fs-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}
.loc-fs-logo {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(228,0,43,0.4);
  display: block;
}
.loc-fs-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 2px solid rgba(228,0,43,0.4);
  animation: locPulseRing 2s ease-out infinite;
}
@keyframes locPulseRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

.loc-fs-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.loc-fs-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 500;
}
.loc-fs-btn {
  width: 100%;
  background: #FF0066;
  color: #fff;
  border: none;
  padding: 18px 24px;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(228,0,43,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
}
.loc-fs-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(228,0,43,0.5); }
.loc-fs-btn-icon { font-size: 1.3rem; }

.loc-fs-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}
.loc-fs-divider::before, .loc-fs-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.loc-fs-skip {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  margin-bottom: 24px;
}
.loc-fs-skip:hover { background: rgba(255,255,255,0.08); color: #fff; }
.loc-fs-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* ===========================================
   RAPPI 2026 — CHECKOUT FORM
   =========================================== */
.rp-hidden-select { display: none !important; }

.rp-checkout {
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06) !important;
}
.rp-co-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #F1F3F5;
}
.rp-co-title { font-size: 1.3rem; font-weight: 900; margin: 0 0 4px; color: #1a1a1a; }
.rp-co-sub   { font-size: 0.9rem; color: #888; margin: 0; }

.rp-form-section { padding: 20px 24px; border-bottom: 1px solid #F1F3F5; }
.rp-form-section:last-child { border-bottom: none; }
.rp-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #A0AEC0;
  margin-bottom: 14px;
}

/* Delivery Toggle */
.rp-delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rp-del-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  background: #F8F9FA;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.rp-del-opt.active {
  background: #FFF0F1;
  border-color: #FF0066;
  box-shadow: 0 4px 16px rgba(228,0,43,0.12);
}
.rp-del-opt.rp-del-locked {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(1);
  pointer-events: none;
  position: relative;
}
.rp-del-opt.rp-del-locked::after {
  content: '🚫';
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.7rem;
}
.rp-del-icon  { font-size: 1.8rem; }
.rp-del-name  { font-weight: 800; font-size: 0.9rem; color: #1a1a1a; }
.rp-del-desc  { font-size: 0.75rem; color: #A0AEC0; font-weight: 500; }

/* Address Box */
.rp-addr-box {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 14px;
  border: 1.5px solid #E9ECEF;
}
.rp-addr-gps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.rp-addr-icon { font-size: 1.1rem; }
.rp-addr-gps-status {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
}
.rp-addr-gps-btn {
  background: #FF0066;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.rp-addr-field-wrap { position: relative; }
.rp-addr-field {
  width: 100%;
  border: 1.5px solid #E9ECEF;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: none;
  background: #fff;
  transition: border-color 0.2s;
}
.rp-addr-field:focus { outline: none; border-color: #FF0066; }
.rp-gps-badge {
  display: inline-block;
  margin-top: 6px;
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Client data card */
.rp-input-card {
  background: #F8F9FA;
  border-radius: 16px;
  border: 1.5px solid #E9ECEF;
  overflow: hidden;
}
.rp-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.rp-input-icon { font-size: 1.2rem; min-width: 24px; text-align: center; }
.rp-input-field-wrap { flex: 1; }
.rp-field-label { font-size: 0.73rem; font-weight: 700; color: #A0AEC0; display: block; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.rp-field-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  outline: none;
}
.rp-field-input::placeholder { color: #CBD5E0; font-weight: 400; }
.rp-input-divider { height: 1px; background: #E9ECEF; margin: 0; }

/* Payment cards */
.rp-pay-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.rp-pay-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: #F8F9FA;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.rp-pay-opt.active {
  background: #FFF0F1;
  border-color: #FF0066;
  box-shadow: 0 4px 16px rgba(228,0,43,0.12);
}
.rp-pay-icon { font-size: 1.6rem; }
.rp-pay-name { font-size: 0.78rem; font-weight: 800; color: #1a1a1a; }

/* Cash input */
.rp-cash-wrap {
  background: #F8F9FA;
  border-radius: 14px;
  padding: 16px;
  border: 1.5px dashed #E9ECEF;
}
.rp-cash-label { font-size: 0.8rem; font-weight: 700; color: #888; margin-bottom: 8px; }
.rp-cash-input-row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 10px 14px; border: 1.5px solid #E9ECEF; }
.rp-cash-currency { font-size: 1.1rem; font-weight: 700; color: #555; }
.rp-cash-input { border: none; background: transparent; font-size: 1.1rem; font-weight: 700; width: 100%; outline: none; color: #1a1a1a; }
.rp-change-preview { font-size: 0.85rem; font-weight: 700; color: #065F46; margin-top: 8px; }

/* Stripe */
.rp-stripe-wrap { background: #F8F9FA; border-radius: 14px; padding: 16px; margin-top: 10px; border: 1.5px solid #E9ECEF; }
.rp-stripe-label { font-size: 0.8rem; font-weight: 700; color: #888; margin-bottom: 10px; }
.rp-stripe-error { color: #d32f2f; font-size: 0.82rem; margin-top: 8px; }

/* CTA area */
.rp-co-actions { padding: 20px 24px; }
.rp-send-btn {
  width: 100%;
  background: linear-gradient(135deg, #FF0066, #ff1a40);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(228,0,43,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
.rp-send-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(228,0,43,0.45); }
.rp-send-icon { font-size: 1.3rem; }
.rp-co-legal { text-align: center; font-size: 0.78rem; color: #A0AEC0; margin-top: 10px; }

/* ===========================================
   RAPPI 2026 — ORDER TRACKER FULL SCREEN
   =========================================== */
.rp-tracker-overlay {
  position: fixed;
  inset: 0;
  background: #F8F9FA;
  z-index: 9997;
  pointer-events: auto !important;
  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center vertically on large screens */
  padding: calc(40px + env(safe-area-inset-top)) 24px calc(40px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.rp-tracker-overlay.hidden { display: none; }

.rp-tracker-card {
  background: #fff;
  border-radius: 32px; /* Slightly rounder for Apple aesthetic */
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06); /* Softer, premium shadow */
  overflow: hidden;
  margin: auto; /* Ensures centering if scrolling is not needed */
  animation: trackerIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes trackerIn {
  from { opacity:0; transform: scale(0.9); }
  to   { opacity:1; transform: scale(1); }
}
.rp-tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F1F3F5;
}
.rp-tracker-brand { font-weight: 800; font-size: 1rem; color: #1a1a1a; }
.rp-tracker-order-id {
  background: #F1F3F5;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: #555;
}

.rp-tracker-icon-zone {
  position: relative;
  text-align: center;
  padding: 30px 0 20px;
}
.rp-icon-bg {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  transition: background 0.5s;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  left: 50%;
  transform: translateX(-50%);
}
.rp-tracker-icon {
  font-size: 3.5rem;
  display: block;
  position: relative;
  z-index: 1;
}
.rp-tracker-status-block { padding: 0 24px 20px; text-align: center; }
.rp-tracker-title { font-size: 1.4rem; font-weight: 900; color: #1a1a1a; margin: 0 0 8px; }
.rp-tracker-msg   { font-size: 0.95rem; color: #636E72; margin: 0 0 6px; line-height: 1.5; }
.rp-tracker-time  { font-size: 0.82rem; color: #A0AEC0; font-weight: 600; margin: 0; }

/* Progress Bar */
.rp-progress-track { padding: 0 24px 24px; }
.rp-progress-line {
  height: 4px;
  background: #F1F3F5;
  border-radius: 99px;
  margin-bottom: 16px;
  overflow: hidden;
}
.rp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF0066, #ff6b6b);
  border-radius: 99px;
  transition: width 0.7s cubic-bezier(0.4,0,0.2,1);
}
.rp-progress-steps {
  display: flex;
  justify-content: space-between;
}
.rp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.rp-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F1F3F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #CBD5E0;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.rp-step.active .rp-step-dot {
  background: #FF0066;
  color: #fff;
  box-shadow: 0 8px 20px rgba(228,0,43,0.25);
  transform: scale(1.15);
}
.rp-step-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: #CBD5E0;
  text-align: center;
  transition: color 0.3s;
}
.rp-step.active .rp-step-lbl { color: #FF0066; }

/* Tracker Actions */
.rp-tracker-actions {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rp-tracker-done-btn {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.rp-tracker-done-btn:hover { transform: translateY(-2px); }
.rp-tracker-done-btn:active { transform: translateY(1px); background: #333; }

.rp-tracker-wa-link {
  font-size: 0.85rem;
  color: #A0AEC0;
  text-decoration: none;
  font-weight: 600;
}

/* Thank You Screen */
.rp-thankyou {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a0a0e, #2d1219);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 10;
}
.rp-thankyou.hidden { display: none; }
.rp-ty-emoji { font-size: 5rem; margin-bottom: 20px; animation: popBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes popBounce {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.rp-ty-title { font-size: 1.8rem; font-weight: 900; color: #fff; margin: 0 0 10px; }
.rp-ty-sub   { color: rgba(255,255,255,0.6); font-size: 1rem; margin: 0 0 30px; }
.rp-ty-loader {
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
}
.rp-ty-loader::after {
  content: '';
  display: block;
  height: 100%;
  background: #FF0066;
  animation: tyLoad 3s linear forwards;
}
@keyframes tyLoad { from { width: 0%; } to { width: 100%; } }

/* Tracker Animations */
.rp-anim-pulse { animation: trackerPulse 1.5s ease-in-out infinite; }
@keyframes trackerPulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.rp-anim-bounce { animation: trackerBounce 0.8s ease infinite alternate; }
@keyframes trackerBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.rp-anim-slide { animation: trackerSlide 1.2s ease-in-out infinite alternate; }
@keyframes trackerSlide {
  from { transform: translateX(-6px); }
  to   { transform: translateX(6px); }
}
.rp-anim-pop { animation: trackerPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes trackerPop {
  from { transform: scale(0.5); }
  to   { transform: scale(1); }
}
