/* Accessibility Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* ==========================================================================
   FLIPKART BIG BILLION DAYS - ULTRA-HIGH DEFINITION STYLES
   ========================================================================== */

:root {
  --fk-blue: #1877F2;
  --fk-royal-blue: #236BE2;
  --fk-yellow: #FFE200;
  --fk-dark-bg: #0C1236;
  --fk-header-start: #5812E2;
  --fk-header-mid: #7220E4;
  --fk-header-end: #2E0ECF;
  --fk-scanner-cyan: #38BDF8;
  --fk-orange: #EA580C;
  --fk-green: #22C55E;
  --fk-text-dark: #0F172A;
  --fk-text-gray: #64748B;
  --fk-border: #ECEEF2;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Plus Jakarta Sans', var(--font-primary);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #F1F3F6;
  font-family: var(--font-primary);
  color: var(--fk-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   APP VIEWPORT WRAPPER & CONTAINER
   ========================================================================== */

.app-viewport-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 0;
  background: #F1F3F6;
}

.app-container {
  width: 100%;
  max-width: 514px;
  min-height: 100vh;
  background-color: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 514px) {
  .app-viewport-wrapper {
    padding: 0;
  }
  .app-container {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 100vh;
  }
  .app-viewport-wrapper.framed .app-container {
    border: none;
    border-radius: 0;
    max-height: none;
    overflow-y: visible;
  }
}

/* ==========================================================================
   TOP HEADER SECTION: High-DPI Vector Gradient
   ========================================================================== */

.fk-header {
  position: relative;
  background: linear-gradient(180deg, 
    var(--fk-header-start) 0%, 
    var(--fk-header-mid) 28%, 
    #681FEA 55%, 
    #4114DE 82%, 
    var(--fk-header-end) 100%
  );
  padding: 16px 18px 0;
  overflow: hidden;
  color: #FFFFFF;
  flex-shrink: 0;
}

.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: starTwinkle 3s infinite ease-in-out alternate;
}

.star.s1 { top: 10px; left: 60px; font-size: 9px; }
.star.s2 { top: 35px; right: 80px; font-size: 8px; animation-delay: 0.8s; }
.star.s3 { top: 90px; left: 240px; font-size: 9px; animation-delay: 1.4s; }
.star.s4 { top: 140px; right: 40px; font-size: 11px; animation-delay: 0.5s; }
.star.s5 { top: 220px; right: 110px; font-size: 10px; animation-delay: 1.8s; }
.star.s6 { top: 270px; left: 300px; font-size: 8px; animation-delay: 1.1s; }

@keyframes starTwinkle {
  0% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.45; transform: scale(0.9); }
}

/* 1. Brand Switcher: Flipkart (Yellow) | Travel (White) */
.brand-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  height: 56px;
  align-items: center;
}

.tab-pill {
  flex: 1;
  height: 52px;
  border-radius: 16px;
  border: none;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.tab-pill:active {
  transform: scale(0.97);
}

.tab-flipkart {
  background: transparent;
  box-shadow: 0 4px 14px rgba(255, 219, 0, 0.35);
}

.tab-travel {
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.pill-exact-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  pointer-events: none;
}

/* 2. Location Bar */
.location-bar-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  height: 38px;
}

.location-bar {
  width: 100%;
  height: 100%;
  background: rgba(6, 12, 54, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.2s ease;
}

.location-bar:hover {
  background: rgba(6, 12, 54, 0.65);
}

.loc-pin-icon {
  margin-right: 10px;
  flex-shrink: 0;
}

.loc-text {
  font-size: 14px;
  flex: 1;
  text-align: left;
  display: flex;
  gap: 6px;
  align-items: center;
}

.loc-label {
  color: #E2E8F0;
  font-weight: 500;
}

.loc-action {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loc-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1;
}

/* 3. Search Row */
.search-row-container {
  position: relative;
  z-index: 10;
  margin-top: 12px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box-pill {
  flex: 1;
  height: 52px;
  background: #FFFFFF;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
}

.search-box-pill:focus-within {
  box-shadow: 0 0 0 2px var(--fk-royal-blue), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.search-box-pill form {
  width: 100%;
  display: flex;
  align-items: center;
}

.search-submit-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 6px 0 0;
  color: #1E293B;
}

#search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 17px;
  color: #0F172A;
  padding: 4px 6px;
}

#search-input::placeholder {
  color: #64748B;
  font-weight: 400;
}

.clear-search-btn {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 16px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(14, 25, 78, 0.45);
  border: 2px solid var(--fk-scanner-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5), inset 0 0 8px rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scanner-btn:active {
  transform: scale(0.92);
}

.scanner-btn:hover {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.8), inset 0 0 12px rgba(56, 189, 248, 0.4);
}

/* Search Dropdown */
.search-dropdown-overlay {
  position: absolute;
  top: 60px;
  left: 0;
  right: 60px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 100;
  overflow: hidden;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-dropdown-content {
  padding: 12px 16px;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dropdown-header button {
  background: none;
  border: none;
  color: var(--fk-royal-blue);
  font-weight: 600;
  cursor: pointer;
}

.dropdown-list {
  list-style: none;
}

.dropdown-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.suggest-item {
  color: #1E293B;
  text-decoration: none;
  font-size: 14px;
  display: block;
}

.suggest-item:hover {
  color: var(--fk-royal-blue);
}

/* 4. Categories Navigation Row */
.categories-nav-scroll {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  height: 82px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-nav-scroll::-webkit-scrollbar {
  display: none;
}

.categories-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  list-style: none;
  min-width: 470px;
  padding: 0 4px;
}

.cat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 6px;
  transition: transform 0.15s ease;
  position: relative;
}

.cat-btn:active {
  transform: scale(0.92);
}

.cat-icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-icon-box svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cat-label {
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.cat-active-pill {
  width: 44px;
  height: 3.5px;
  background-color: #FFFFFF;
  border-radius: 9999px;
  margin-top: 5px;
  box-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.cat-item:not(.active) .cat-active-pill {
  display: none;
}

/* 5. High-Definition Kiara Banner (2 NOV TO 12 NOV) */
.kiara-festive-banner-hd {
  position: relative;
  z-index: 2;
  margin-left: -18px;
  margin-right: -18px;
  width: calc(100% + 36px);
  height: auto;
  overflow: visible;
}

.kiara-banner-hd-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-arrow-hotspot {
  position: absolute;
  top: 114px;
  left: 235px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

.banner-arrow-hotspot:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.fk-main-content {
  background-color: #FFFFFF;
  flex: 1;
}

/* 6. High-Definition Hero Banner (STARTS 2 NOV) */
.hero-carousel-section {
  padding: 8px 12px 0;
}

.carousel-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  touch-action: pan-y;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.hero-card-replica {
  position: relative;
  width: 100%;
  height: auto;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Apple slide */
.hero-card-dynamic {
  width: 100%;
  height: 248px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
}

.slide-apple {
  background: linear-gradient(135deg, #18181B 0%, #27272A 50%, #4B5563 100%);
}

.dynamic-badge {
  display: inline-block;
  align-self: flex-start;
  background: #FFE200;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.dynamic-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.dynamic-subtitle {
  font-size: 14px;
  color: #E2E8F0;
  margin-bottom: 16px;
}

.bank-pill-row {
  display: flex;
  gap: 8px;
}

.bank-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.dot.active {
  width: 12px;
  height: 5px;
  border-radius: 9999px;
  background: #FFFFFF;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   7. SALE LIVE ROW
   ========================================================================== */

.sale-live-row {
  padding: 10px 18px 8px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
}

.sale-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-pulse-badge {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

.pulse-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--fk-green);
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.4);
  animation: pulseRadar 1.8s infinite ease-out;
  z-index: 1;
}

@keyframes pulseRadar {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.sale-live-title {
  color: var(--fk-text-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.sale-dot-sep {
  color: #94A3B8;
  font-size: 14px;
}

.ends-in-label {
  color: var(--fk-text-gray);
  font-size: 14px;
  font-weight: 500;
}

.countdown-timer {
  color: var(--fk-orange);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

.shop-now-btn {
  background-color: var(--fk-royal-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(35, 107, 226, 0.35);
  transition: all 0.2s ease;
}

.shop-now-btn:hover {
  background-color: #1a58c5;
  box-shadow: 0 4px 14px rgba(35, 107, 226, 0.5);
  transform: translateY(-1px);
}

.shop-now-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   8. PRODUCT GRID: High-Definition iPhone & Vivo V50
   ========================================================================== */

.products-grid-section {
  padding: 0 12px 6px;
  background-color: #FFFFFF;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-card {
  border: 1px solid var(--fk-border);
  border-radius: 12px;
  background: #FFFFFF;
  height: 212px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
  padding: 6px;
}

.product-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

/* ==========================================================================
   9. MOBILE HOME INDICATOR BAR
   ========================================================================== */

.fk-footer {
  padding: 10px 0 12px;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
}

.home-indicator {
  width: 136px;
  height: 5px;
  background-color: #475569;
  border-radius: 9999px;
}

/* ==========================================================================
   MODALS, SHEETS & TOASTS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  width: 100%;
  max-width: 514px;
  background: #FFFFFF;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 16px 20px 28px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  animation: sheetUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-handle {
  width: 40px;
  height: 4px;
  background-color: #CBD5E1;
  border-radius: 9999px;
  margin: 0 auto 14px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
}

.modal-close-btn {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
}

.pincode-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pincode-input-group input {
  flex: 1;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
}

.pincode-input-group button {
  background: var(--fk-royal-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.saved-address-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.address-card {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
}

.address-card.selected {
  border-color: var(--fk-royal-blue);
  background: #EFF6FF;
}

.addr-tag {
  display: inline-block;
  background: #E2E8F0;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.address-card.selected .addr-tag {
  background: var(--fk-royal-blue);
  color: #FFFFFF;
}

.addr-text {
  font-size: 13.5px;
  color: #1E293B;
  line-height: 1.4;
}

/* Scanner Simulation */
.scanner-sheet {
  background: #0F172A;
  color: #FFFFFF;
}

.scanner-sheet .modal-header h3 {
  color: #FFFFFF;
}

.scanner-camera-view {
  width: 100%;
  height: 260px;
  background: #020617;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(56, 189, 248, 0.4);
}

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #38BDF8;
  box-shadow: 0 0 12px #38BDF8;
  animation: scanLaser 2s infinite ease-in-out;
}

@keyframes scanLaser {
  0% { top: 15%; opacity: 0.3; }
  50% { top: 85%; opacity: 1; }
  100% { top: 15%; opacity: 0.3; }
}

.scan-instruction {
  color: #94A3B8;
  font-size: 13px;
  margin-top: 140px;
}

/* Product Detail Body */
.product-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-prod-preview {
  display: flex;
  gap: 16px;
  align-items: center;
}

.modal-prod-img {
  width: 90px;
  height: 120px;
  object-fit: contain;
}

.modal-prod-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.modal-price-row {
  margin: 6px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.modal-cur-price {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
}

.original-price {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
}

.modal-disc-badge {
  color: #16A34A;
  font-size: 12px;
  font-weight: 700;
}

.modal-bank-offer {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.modal-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.modal-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.btn-cart {
  background: #FFE200;
  color: #000000;
}

.btn-buy {
  background: var(--fk-royal-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   10. IMPORTED FLIPKART SMARTPHONES CATALOG SECTION (124 PRODUCTS)
   ========================================================================== */
.catalog-section {
  background-color: #F1F2F4;
  padding: 16px 12px 24px;
  border-top: 1px solid #E2E8F0;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.catalog-title-col {
  display: flex;
  flex-direction: column;
}

.catalog-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.catalog-badge {
  font-size: 10px;
  font-weight: 800;
  background: #FFE200;
  color: #1E1B4B;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.catalog-live-tag {
  font-size: 10px;
  font-weight: 800;
  background: #DC2626;
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  animation: pulseLive 1.5s infinite;
}

.catalog-heading {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.catalog-count-badge {
  font-size: 11px;
  font-weight: 700;
  background: #FFFFFF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Filters horizontal pill bar */
.catalog-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 12px;
}

.catalog-filters::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.filter-pill:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.filter-pill.active {
  background: #2874F0;
  color: #FFFFFF;
  border-color: #2874F0;
  box-shadow: 0 2px 8px rgba(40, 116, 240, 0.35);
}

/* Search Status Bar */
.catalog-search-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  color: #0369A1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

#catalog-search-reset {
  background: transparent;
  border: none;
  color: #0284C7;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* 2-Column Responsive Catalog Grid (Exact Match to Reference Image 1) */
.catalog-section {
  padding: 6px 12px 24px;
  background-color: #FFFFFF;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-card {
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #EDEDED;
  padding: 8px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  overflow: hidden;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.catalog-card-img-wrap {
  width: 100%;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px;
  background: #FFFFFF;
  margin-bottom: 6px;
}

.catalog-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.catalog-card:hover .catalog-card-img {
  transform: scale(1.03);
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-title {
  font-size: 13px;
  font-weight: 500;
  color: #212121;
  line-height: 1.3;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
}

.catalog-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}

.card-discount-val {
  color: #16A34A;
  font-weight: 700;
  font-size: 13px;
}

.card-mrp-val {
  color: #878787;
  text-decoration: line-through;
  font-size: 12px;
}

.card-deal-val {
  color: #212121;
  font-weight: 800;
  font-size: 16px;
}

.card-wow-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.wow-badge-pill {
  border: 1px solid #3B82F6;
  color: #1D4ED8;
  font-weight: 900;
  font-style: italic;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.wow-offer-sub {
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 600;
}

.card-stock-label {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-stock-label.stock-trending {
  color: #16A34A;
}

.card-stock-label.stock-urgency {
  color: #B91C1C;
}

.card-rating-trust-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: auto;
}

.card-stars-green {
  color: #16A34A;
  font-size: 12px;
  letter-spacing: 1px;
}

.card-assured-img {
  height: 16px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
}

/* Load More Button */
.load-more-btn {
  width: 100%;
  padding: 12px;
  margin-top: 14px;
  background: #FFFFFF;
  border: 1.5px solid #2874F0;
  color: #2874F0;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.load-more-btn:hover {
  background: #EFF6FF;
}

/* ==========================================================================
   PRODUCT DETAILS PAGE (PDP) - EXACT MATCH TO REFERENCE IMAGE 2
   ========================================================================== */

.pdp-view {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 514px;
  height: 100vh;
  z-index: 1500;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  animation: pdpSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pdpSlideIn {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.pdp-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.pdp-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  color: #212121;
}

.pdp-back-btn:hover {
  opacity: 0.7;
}

.pdp-logo-wrap {
  display: flex;
  align-items: center;
}

.pdp-fk-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-fk-circle-img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

.pdp-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdp-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  display: flex;
  align-items: center;
  color: #212121;
}

.pdp-cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  border-radius: 9999px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  display: none; /* Hidden by default to match reference photo */
}

.pdp-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 110px;
  -webkit-overflow-scrolling: touch;
}

.pdp-gallery-wrap {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 340px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 8px;
}

.pdp-floating-actions {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.pdp-float-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease;
}

.pdp-float-btn:hover {
  transform: scale(1.08);
}

.pdp-float-btn.liked svg {
  fill: #E11D48;
  stroke: #E11D48;
}

.pdp-main-image-box {
  position: relative;
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  user-select: none;
}

.pdp-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  color: #1E293B;
  transition: all 0.15s ease;
  user-select: none;
}

.pdp-carousel-arrow:active {
  transform: translateY(-50%) scale(0.92);
  background: #FFFFFF;
}

.pdp-arrow-left {
  left: 10px;
}

.pdp-arrow-right {
  right: 10px;
}

.pdp-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.pdp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-dot.active {
  width: 18px;
  border-radius: 9999px;
  background: #2874F0;
}

/* PDP Thumbnails Strip */
.pdp-thumbnails-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pdp-thumb-item {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  padding: 3px;
  cursor: pointer;
  object-fit: contain;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.pdp-thumb-item:hover,
.pdp-thumb-item.active {
  border-color: #2874F0;
  box-shadow: 0 0 0 1px #2874F0;
}

/* Direct App Launcher Button in Modal */
.direct-app-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  user-select: none !important;
}

.direct-app-btn:active {
  transform: scale(0.98) !important;
}

.direct-app-btn.phonepe {
  background: #5E2590 !important;
  color: #FFFFFF !important;
}

.direct-app-btn.paytm {
  background: #002E6E !important;
  color: #FFFFFF !important;
}

.direct-app-btn.upi {
  background: #2874F0 !important;
  color: #FFFFFF !important;
}

.pdp-info-section {
  padding: 16px;
}

.pdp-title {
  font-size: 16px;
  font-weight: 500;
  color: #212121;
  line-height: 1.4;
  margin: 0 0 10px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-rating-chip {
  background: #16A34A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pdp-rating-count {
  font-size: 13px;
  color: #64748B;
}

.pdp-assured-badge {
  margin-left: auto;
}

.pdp-assured-badge .assured-badge-img {
  height: 20px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.pdp-discount-green {
  color: #16A34A;
  font-weight: 700;
  font-size: 18px;
}

.pdp-mrp-strike {
  color: #878787;
  text-decoration: line-through;
  font-size: 16px;
}

.pdp-deal-price {
  color: #212121;
  font-weight: 900;
  font-size: 26px;
}

.pdp-packaging-line {
  font-size: 13px;
  color: #212121;
  margin-bottom: 4px;
}

.strike-pkg {
  text-decoration: line-through;
  color: #878787;
}

.green-free {
  color: #16A34A;
  font-weight: 700;
}

.pdp-delivery-line {
  font-size: 13px;
  color: #212121;
  margin-bottom: 14px;
}

.pdp-express-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #FFFFFF;
}

.express-title-row {
  font-size: 14px;
  color: #212121;
  margin-bottom: 4px;
}

.express-detail-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #212121;
  margin-bottom: 4px;
}

.express-timer-row {
  font-size: 13px;
  color: #475569;
}

.red-timer {
  color: #DC2626;
  font-weight: 700;
}

.pdp-highlights-section {
  margin-top: 14px;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.pdp-section-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.pdp-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-spec-row {
  display: flex;
  font-size: 12px;
  border-bottom: 1px solid #F8FAFC;
  padding: 4px 0;
}

.pdp-spec-k {
  width: 40%;
  color: #64748B;
}

.pdp-spec-v {
  width: 60%;
  color: #0F172A;
  font-weight: 600;
}

.pdp-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 8px 14px 10px;
  z-index: 20;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.pdp-wow-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.wow-tag-pill {
  border: 1px solid #3B82F6;
  color: #1D4ED8;
  font-weight: 900;
  font-style: italic;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
}

.wow-text {
  font-size: 13px;
  color: #16A34A;
  font-weight: 700;
}

.pdp-buttons-row {
  display: flex;
  gap: 10px;
}

.pdp-btn-cart {
  flex: 1;
  height: 46px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 2px solid #1877F2;
  color: #1877F2;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pdp-btn-cart:hover {
  background: #EFF6FF;
}

.pdp-btn-buy {
  flex: 1;
  height: 46px;
  border-radius: 6px;
  background: #FFC200;
  border: none;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pdp-btn-buy:hover {
  background: #FFDB00;
}

.home-indicator-mini {
  width: 120px;
  height: 4px;
  background: #212121;
  border-radius: 9999px;
  margin: 8px auto 0;
}

.load-more-remaining {
  color: #64748B;
  font-size: 12px;
  font-weight: 500;
}

/* Enhanced Product Modal Details */
.modal-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-main-img-box {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 12px;
  padding: 12px;
  position: relative;
}

.modal-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.modal-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb-btn {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.modal-thumb-btn.active {
  border-color: #2874F0;
  box-shadow: 0 0 0 2px rgba(40, 116, 240, 0.2);
}

.modal-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.variant-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.variant-pill.brand {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.variant-pill.assured {
  background: #2874F0;
  color: #FFFFFF;
  border-color: #2874F0;
  font-style: italic;
}

.modal-highlights-box {
  margin: 14px 0;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

.modal-highlights-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.modal-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-highlights-list li {
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
  position: relative;
  padding-left: 18px;
}

.modal-highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 800;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 12px;
}

.modal-specs-table tr {
  border-bottom: 1px solid #F1F5F9;
}

.modal-specs-table td {
  padding: 6px 8px;
  vertical-align: top;
}

.modal-specs-table td.spec-key {
  color: #64748B;
  width: 40%;
  font-weight: 500;
}

.modal-specs-table td.spec-val {
  color: #0F172A;
  font-weight: 600;
}

.modal-desc-box {
  margin: 12px 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  background: #FAFAFA;
  padding: 10px;
  border-radius: 8px;
}

/* Toast */
.fk-toast {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  background: #1E293B;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 3000;
  pointer-events: none;
  animation: toastPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#order-success-modal {
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hidden {
  display: none !important;
}


/* ==========================================================================

/* ==========================================================================
   11. CHECKOUT FLOW (Address -> Order Summary -> Payments)
   Unified, Clean, Pixel-Perfect Implementation Matching Target Specification
   ========================================================================== */

/* Fullscreen Checkout View Overlay */
.checkout-view {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 514px;
  height: 100vh;
  background: #F1F3F6;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.checkout-view.hidden {
  display: none !important;
}

/* Checkout Header */
.checkout-header {
  height: 48px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
  z-index: 10;
}

.checkout-back-btn {
  background: transparent;
  border: none;
  padding: 6px;
  margin-left: -6px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.checkout-title {
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  margin: 0;
}

/* 3-Step Progress Stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 10px 18px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stepper-item.active .stepper-circle {
  background: #2874F0;
  color: #FFFFFF;
}

.stepper-item.completed .stepper-circle {
  background: #2874F0;
  color: #FFFFFF;
}

.stepper-item.completed .stepper-circle svg {
  stroke: #FFFFFF;
}

.stepper-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.stepper-item.active .stepper-label {
  color: #212121;
  font-weight: 600;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: #E5E7EB;
  margin: 0 10px;
}

.stepper-line.completed {
  background: #2874F0;
}

/* General Scroll Body */
.checkout-scroll-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
}

/* Custom Sleek Scrollbar */
.checkout-scroll-body::-webkit-scrollbar {
  width: 4px;
}
.checkout-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   STEP 1: ADDRESS VIEW (Clean iOS Light-Gray Fields)
   -------------------------------------------------------------------------- */
.address-scroll-body {
  padding: 16px 16px 85px;
  background: #FFFFFF;
}

.address-form-flat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-flat {
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  margin: 0;
}

.form-input-flat {
  height: 48px;
  background: #F2F2F7;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  color: #111827;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.form-input-flat:focus {
  background: #FFFFFF;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.form-input-flat::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

/* Mobile Input with +91 block */
.mobile-group-flat {
  display: flex;
  align-items: center;
  background: #F2F2F7;
  border: 1.5px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.mobile-group-flat:focus-within {
  background: #FFFFFF;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.mobile-prefix {
  padding: 0 14px 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  border-right: 1px solid #E5E7EB;
  line-height: 48px;
}

.mobile-flat-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 12px !important;
  flex: 1;
}

/* Dual Column Form Row (City & State) */
.form-row-dual-flat {
  display: flex;
  gap: 12px;
}

.form-field-half-flat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.select-container-flat {
  position: relative;
  width: 100%;
}

.form-select-flat {
  height: 48px;
  background: #F2F2F7;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0 32px 0 14px;
  font-size: 14px;
  color: #111827;
  outline: none;
  width: 100%;
  appearance: none;
  cursor: pointer;
}

.form-select-flat:focus {
  background: #FFFFFF;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.select-chevron-flat {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6B7280;
  font-size: 12px;
}

/* Sticky Bottom Action Bars */
.checkout-bottom-bar {
  background: #FFFFFF;
  padding: 10px 16px;
  border-top: 1px solid #E5E7EB;
  flex-shrink: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.btn-orange-full {
  width: 100%;
  height: 48px;
  background: #FB641B;
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-orange-full:hover {
  background: #F35607;
}

/* --------------------------------------------------------------------------
   STEP 2: ORDER SUMMARY VIEW (Clean, Organized & Pixel-Perfect)
   -------------------------------------------------------------------------- */
#checkout-summary-view .checkout-scroll-body {
  background: #F1F3F6;
  padding: 10px 10px 85px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 1. Deliver to Card (Neatly Organised) */
#checkout-summary-view .summary-deliver-card {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

#checkout-summary-view .deliver-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

#checkout-summary-view .deliver-recipient-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#checkout-summary-view .deliver-heading {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
}

#checkout-summary-view .deliver-name {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
}

#checkout-summary-view .deliver-tag {
  background: #F1F3F6;
  font-size: 10px;
  font-weight: 700;
  color: #6B7280;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

#checkout-summary-view .deliver-change-btn {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: #2874F0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

#checkout-summary-view .deliver-change-btn:hover {
  background: #F0F6FF;
  border-color: #2874F0;
}

#checkout-summary-view .deliver-addr-text {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.45;
  margin: 0 0 4px;
  word-break: break-word;
}

#checkout-summary-view .deliver-phone-text {
  font-size: 13px;
  color: #4B5563;
  margin: 0;
  font-weight: 500;
}

/* 2. Product Summary Card (Organized, No Blowup) */
#checkout-summary-view .summary-product-card {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

#checkout-summary-view .summary-product-layout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

#checkout-summary-view .summary-thumb-col {
  width: 76px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#checkout-summary-view .summary-thumb-box {
  width: 76px;
  height: 84px;
  background: #FAFAFA;
  border: 1px solid #F3F4F6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

#checkout-summary-view .summary-item-image {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

#checkout-summary-view .summary-qty-dropdown-wrap {
  width: 100%;
}

#checkout-summary-view .summary-qty-pill {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s;
}

#checkout-summary-view .summary-qty-pill:hover {
  border-color: #2874F0;
}

#checkout-summary-view .summary-info-col {
  flex: 1;
  min-width: 0;
}

#checkout-summary-view .summary-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#checkout-summary-view .summary-variant-badge {
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 4px;
}

#checkout-summary-view .summary-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

#checkout-summary-view .summary-star-chip {
  background: #16A34A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

#checkout-summary-view .summary-rate-count {
  font-size: 11px;
  color: #878787;
}

#checkout-summary-view .summary-assured-badge {
  height: 16px;
  width: auto;
  object-fit: contain;
}

#checkout-summary-view .summary-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

#checkout-summary-view .summary-discount-tag {
  color: #16A34A;
  font-size: 12px;
  font-weight: 700;
}

#checkout-summary-view .summary-mrp-val {
  color: #9CA3AF;
  font-size: 12px;
  text-decoration: line-through;
}

#checkout-summary-view .summary-deal-price {
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

#checkout-summary-view .summary-delivery-note {
  font-size: 11px;
  color: #16A34A;
  font-weight: 600;
}

/* 3. Price Details Card (Neat & Clean) */
#checkout-summary-view .summary-price-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

#checkout-summary-view .price-details-title {
  font-size: 13px;
  font-weight: 700;
  color: #878787;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

#checkout-summary-view .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #374151;
  margin-bottom: 9px;
}

#checkout-summary-view .price-row .text-green {
  color: #16A34A;
  font-weight: 600;
}

#checkout-summary-view .price-divider-dotted {
  border-top: 1px dashed #E5E7EB;
  margin: 10px 0;
}

#checkout-summary-view .price-row.total-row {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

#checkout-summary-view .green-savings-banner {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#checkout-summary-view .summary-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: #6B7280;
  text-align: center;
}

#checkout-summary-view .summary-bottom-bar {
  height: 56px;
  background: #FFFFFF;
  padding: 6px 16px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

#checkout-summary-view .summary-bar-price-col {
  display: flex;
  flex-direction: column;
}

#checkout-summary-view .summary-bar-mrp {
  font-size: 11px;
  color: #9CA3AF;
  text-decoration: line-through;
}

#checkout-summary-view .summary-bar-price {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

#checkout-summary-view .btn-orange-continue {
  background: #FB641B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 28px;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

#checkout-summary-view .btn-orange-continue:hover {
  background: #E65100;
}

/* --------------------------------------------------------------------------
   STEP 3: PAYMENTS VIEW (Target 1:1 Match)
   -------------------------------------------------------------------------- */
#checkout-payment-view {
  background: #FFFFFF;
}

#checkout-payment-view .payment-scroll-body {
  background: #FFFFFF;
  padding: 10px 14px 18px;
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Purple PhonePe Cashback Promo Card */
.cashback-banner {
  background: #8a48b5;
  color: #FFFFFF;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 6px;
  box-shadow: 0 1px 4px rgba(138, 72, 181, 0.2);
}

.cashback-banner .phonepe-badge-pill {
  background: #FFFFFF;
  color: #5b2c6f;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  display: inline-block;
}

.cashback-banner h3 {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  margin: 4px 0 2px;
  color: #FFFFFF;
}

.cashback-banner p {
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.timer-text {
  text-align: center;
  font-size: 13px;
  margin: 6px 0 10px;
  color: #212121;
}

.timer-text span {
  color: #FF5722;
  font-weight: 600;
}

/* Payment Option Boxes */
.payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.payment-option-box {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  gap: 12px;
  min-height: 48px;
  transition: border-color 0.2s, background-color 0.2s;
  user-select: none;
}

.payment-option-box.selected {
  border-color: #2874F0;
  background: #F5FAFF;
}

.payment-option-box input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #CCCCCC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-option-box.selected .custom-radio {
  border-color: #2874F0;
}

.payment-option-box.selected .custom-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #2874F0;
  border-radius: 50%;
}

.pay-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Price Details Box in Payment View */
#checkout-payment-view .border.rounded {
  margin: 10px 0 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
}

#checkout-payment-view .border.rounded h6 {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 8px;
}

.payment-sticky-footer {
  padding: 8px 16px;
  height: 52px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   PAYMENT STATUS MODALS (Processing, Failed, Success)
   -------------------------------------------------------------------------- */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
}

.payment-modal-overlay.active {
  display: flex;
}

.payment-modal {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.payment-modal p,
#modalFailed p,
#modalProcessing p,
#modalSuccess p {
  text-decoration: none !important;
}

.spinner-border {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  vertical-align: -0.125em;
  border: 0.25em solid #2874F0;
  border-right-color: transparent;
  border-radius: 50%;
  animation: 0.75s linear infinite spinner-border;
  margin: 0 auto;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* Direct App Launcher Button inside Processing Modal */
.direct-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: 14px;
  transition: opacity 0.2s;
}

.direct-app-btn.phonepe {
  background: #5E2590;
  color: #FFFFFF;
}

.direct-app-btn.paytm {
  background: #00BAF2;
  color: #FFFFFF;
}

.btn-danger {
  background-color: #EF4444;
  color: #FFFFFF;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  transition: opacity 0.2s;
}

.btn-danger:hover {
  opacity: 0.9;
}

.btn-outline-danger {
  background-color: transparent;
  color: #EF4444;
  border: 1.5px solid #EF4444;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
}

.btn-success {
  background-color: #22C55E;
  color: #FFFFFF;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
}

.btn-orange {
  background: #FB641B;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 28px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Helper Utilities */
.bg-white { background-color: #FFFFFF; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.p-3 { padding: 14px; }
.p-4 { padding: 20px; }
.rounded { border-radius: 8px; }
.fw-bold { font-weight: 700; }
.fs-4 { font-size: 18px; }
.fs-5 { font-size: 15px; }
.text-dark { color: #111827; }
.text-muted { color: #6B7280; text-decoration: none; }
.text-success { color: #16A34A; }
.text-danger { color: #DC2626; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 14px; }
.w-100 { width: 100%; }
.text-decoration-line-through { text-decoration: line-through !important; }
.border { border: 1px solid #E5E7EB; }

/* ==========================================================================
   FLIPKART OFFICIAL APP OPENING SPLASH SCREEN
   ========================================================================== */
.fk-app-splash {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: linear-gradient(180deg, #2874F0 0%, #1754C7 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  color: #FFFFFF !important;
  user-select: none !important;
  cursor: pointer !important;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity, transform;
}

.fk-app-splash.splash-dismissed {
  opacity: 0 !important;
  transform: scale(1.05) !important;
  pointer-events: none !important;
}

/* Ambient soft yellow radial glow */
.fk-app-splash::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,0,0.18) 0%, rgba(40,116,240,0) 70%);
  pointer-events: none;
  animation: splashPulseGlow 2.5s ease-in-out infinite alternate;
}

@keyframes splashPulseGlow {
  from { transform: scale(0.85); opacity: 0.7; }
  to { transform: scale(1.15); opacity: 1; }
}

.splash-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashPopAnim 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashPopAnim {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Yellow App Icon Squircle */
.splash-icon-squircle {
  width: 88px;
  height: 88px;
  background: #FFDC00;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

/* Specular shine sweep across icon */
.splash-icon-squircle::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  animation: splashShineSweep 1.6s ease-in-out infinite;
}

@keyframes splashShineSweep {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

.splash-brand-title {
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  font-style: italic !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
}

.splash-tagline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #E2EDFF;
  margin-bottom: 22px;
}

.splash-tagline .plus-gold {
  color: #FFDA00;
  font-style: italic;
  font-weight: 800;
}

.splash-tagline .star-icon {
  color: #FFDA00;
  font-size: 12px;
}

/* Festive Pill */
.splash-bbd-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.splash-bbd-pill .bbd-sparkle {
  color: #FFDC00;
  font-size: 13px;
}

/* Progress Track & Fill */
.splash-progress-track {
  width: 130px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.splash-progress-fill {
  width: 0%;
  height: 100%;
  background: #FFDC00;
  border-radius: 3px;
  animation: splashFillProgress 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 0 8px #FFDC00;
}

@keyframes splashFillProgress {
  0% { width: 0%; }
  40% { width: 45%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

.splash-footer-note {
  position: absolute;
  bottom: 24px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}


/* ==========================================================================
   MOBILE VIEWPORT, ANTI-SQUISH & BOTTOM BUTTON PINNING FIXES
   Guarantees that Address, Summary, and Payment bottom buttons NEVER go off-screen
   And guarantees payment options NEVER get crushed or flattened
   ========================================================================== */
.checkout-view:not(.hidden) {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 514px !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  background: #F1F3F6 !important;
  z-index: 1600 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4) !important;
  box-sizing: border-box !important;
}

.pdp-view:not(.hidden) {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 514px !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  z-index: 1500 !important;
  background: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.checkout-view.hidden,
.pdp-view.hidden,
#checkout-address-view.hidden,
#checkout-summary-view.hidden,
#checkout-payment-view.hidden,
#pdp-view.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.checkout-scroll-body,
.address-scroll-body,
#checkout-address-view .address-scroll-body,
#checkout-summary-view .checkout-scroll-body,
#checkout-payment-view .payment-scroll-body {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

/* Ensure padding-bottom doesn't force unnecessary gap */
.address-scroll-body {
  padding: 16px 16px 20px !important;
}
#checkout-summary-view .checkout-scroll-body {
  padding: 10px 10px 20px !important;
}
#checkout-payment-view .payment-scroll-body {
  padding: 12px 14px 20px !important;
}

/* ANTI-SQUISH: Payment Options must maintain rigid minimum height and NEVER shrink */
.cashback-banner {
  flex-shrink: 0 !important;
}
.timer-text {
  flex-shrink: 0 !important;
}
.payment-options-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
}
.payment-option-box {
  display: flex !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border: 1px solid #E0E0E0 !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  cursor: pointer !important;
  gap: 12px !important;
  min-height: 52px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}
.payment-option-box.selected {
  border-color: #2874F0 !important;
  background: #F5FAFF !important;
}
#checkout-payment-view .border.rounded {
  flex-shrink: 0 !important;
}

/* Bottom action bars pinned firmly to the bottom of the visible screen */
.checkout-bottom-bar,
.summary-bottom-bar,
.payment-sticky-footer {
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 200 !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E5E7EB !important;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
}

#checkout-address-view .checkout-bottom-bar {
  padding: 10px 16px max(12px, env(safe-area-inset-bottom, 12px)) !important;
}

#checkout-summary-view .summary-bottom-bar {
  height: auto !important;
  min-height: 56px !important;
  padding: 8px 16px max(10px, env(safe-area-inset-bottom, 10px)) !important;
}

#checkout-payment-view .payment-sticky-footer {
  height: auto !important;
  min-height: 56px !important;
  padding: 8px 16px max(10px, env(safe-area-inset-bottom, 10px)) !important;
}

/* Home indicator absorbed by safe-area padding */
.home-indicator-mini {
  display: none !important;
}
