/* ==========================================================================
   WANIA CASH & CARRY — Supermarket Design System v3.2
   Official Wania Cash & Carry Brand Design System
   Color Palette: Wania Royal Navy (#013C7E) + Champagne Gold (#FFD100) + Produce Green (#019D22)
   Architecture: 3-Tier Layered Header, Full-Width Cyan Category Container,
                 7 Department Banners & 1-Row Carousels, 260px Compact Product Cards,
                 Monolithic Solid Navy Supermarket Footer (#013C7E)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* 1. ADOPTED COMPETITOR RETAIL PALETTE */
  --brand-primary: #013C7E;            /* Wania Royal Deep Blue (White, Green, Blue Palette) */
  --brand-primary-hover: #002B5C;      /* Deep Midnight Navy */
  --brand-primary-light: #F0FDF4;      /* Pure Fresh White-Green Light Tint */
  --brand-accent-green: #019D22;       /* Wania Official Fresh Emerald Green */
  --brand-accent-green-bright: #00B327;/* Vibrant Fresh Leaf Green */
  --brand-accent-green-light: #DCFCE7; /* Subtle Mint Green Tint */
  --brand-accent-gold: #FFD100;        /* Subtle Accent for Stars */
  --brand-dark: #013C7E;               /* Deep Blue for Headers */
  --brand-text: #0F172A;               /* High-Readability Slate */
  --brand-muted: #64748B;              /* Meta Labels */
  
  --brand-accent-red: #E51E25;         /* Urgent Badge */
  --brand-accent-red-hover: #C51117;
  
  --brand-canvas: #F6F8FA;             /* Cool Supermarket Background Canvas */
  --brand-surface: #FFFFFF;            /* Pure Crisp Card Surface */
  --brand-border: #E2E8F0;             /* Clean 1px Card Divider */
  --brand-border-subtle: #F1F5F9;      /* Ultra-light Structural Border */
  
  /* 2. UNIFIED SPATIAL CADENCE & CORNERS */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  
  /* 3. ELEVATED TYPOGRAPHY SCALE */
  --font-main: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --shadow-cyan: 0 4px 14px rgba(1, 60, 126, 0.25);
  --shadow-navy: 0 4px 14px rgba(1, 60, 126, 0.25);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: var(--brand-canvas);
  color: var(--brand-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* ==========================================================================
   1. LAYER 1: TOP ANNOUNCEMENT BAR (Competitor Alert Red)
   ========================================================================== */
.top-notice-bar {
  background: #021B3A;
  color: #FFFFFF;
  padding: 7px 16px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 102;
}

.top-notice-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-pill {
  background: var(--brand-accent-green);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.top-notice-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #FFFFFF;
}

.top-hotline-link {
  color: #4ADE80;
  text-decoration: underline;
  font-weight: 700;
}
.top-hotline-link:hover {
  color: #FEF08A;
}

.divider-dot {
  color: rgba(255, 255, 255, 0.4);
}

.top-free-ship-tag strong {
  color: #FEF08A;
}

.icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.icon-inline svg {
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   2. LAYER 2: PURE WHITE STICKY HEADER
   ========================================================================== */
.site-header {
  background: var(--brand-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--brand-border);
  transition: all var(--transition-fast);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast);
}
.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title-wrap .brand-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.05;
  letter-spacing: -0.4px;
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--brand-muted);
  letter-spacing: 0.3px;
  display: block;
}

/* Branch Selector Chip */
.branch-selector-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.branch-selector-btn:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

.branch-pin-icon svg {
  color: var(--brand-primary);
}

.branch-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.branch-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-muted);
  line-height: 1;
}

.branch-selected-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.2;
}

.branch-caret {
  font-size: 11px;
  color: var(--brand-muted);
}

/* Search Bar with Predictive Autocomplete */
.header-search-wrap {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.header-search {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 44px;
  background: #F8FAFC;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-full);
  padding: 0 40px 0 44px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--brand-dark);
  outline: none;
  transition: all var(--transition-fast);
}
.search-input:focus {
  background: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(1, 60, 126, 0.18);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--brand-muted);
  cursor: pointer;
  display: none;
  line-height: 1;
}
.search-clear-btn.visible {
  display: block;
}

/* Predictive Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 150;
  display: none;
}
.search-autocomplete-dropdown.open {
  display: block;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background var(--transition-fast);
  text-decoration: none;
  color: inherit;
}
.autocomplete-item:hover {
  background: var(--brand-primary-light);
}

.auto-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.auto-thumb {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--radius-xs);
  border: 1px solid var(--brand-border);
  background: #fff;
  flex-shrink: 0;
}

.auto-info {
  flex: 1;
  min-width: 0;
}

.auto-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auto-meta {
  font-size: 11px;
  color: var(--brand-muted);
}

.auto-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.auto-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-dark);
}

.auto-add-btn {
  background: var(--brand-primary-light);
  color: var(--brand-primary-hover);
  border: 1px solid var(--brand-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.auto-add-btn:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--brand-border);
  background: #FFFFFF;
  color: var(--brand-dark);
}
.action-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.action-icon {
  display: flex;
  align-items: center;
}

.cart-trigger {
  background: var(--brand-dark);
  color: #FFFFFF;
  border-color: var(--brand-dark);
  padding: 6px 14px 6px 10px;
}
.cart-trigger:hover {
  background: #1E293B;
  color: #FFFFFF;
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--brand-accent-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.cart-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.cart-btn-label {
  font-size: 9.5px;
  color: #CBD5E1;
  text-transform: uppercase;
  font-weight: 600;
}

.header-cart-total {
  font-size: 12.5px;
  font-weight: 800;
  color: #FEF08A;
}

/* ==========================================================================
   3. LAYER 3: SECONDARY NAVIGATION BAR (Wania Royal Navy #013C7E)
   ========================================================================== */
.secondary-nav-bar {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid var(--brand-accent-green);
  position: relative;
  z-index: 99;
}

.secondary-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 46px;
}

.secondary-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Categories Dropdown Wrap & Menu */
.categories-dropdown-wrap {
  position: relative;
  display: inline-block;
}

/* Categories Button: White pill button with Cyan text */
.btn-categories-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent-green);
  color: #FFFFFF;
  border: none;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(20, 126, 38, 0.3);
}
.btn-categories-pill:hover {
  background: var(--brand-accent-green-bright);
  transform: translateY(-1px);
}
.btn-categories-pill .dropdown-chevron {
  font-size: 11px;
  transition: transform var(--transition-fast);
}
.categories-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
}

.categories-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--brand-border);
  z-index: 1200;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  overflow: hidden;
  animation: fadeInDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.categories-dropdown-wrap.open .categories-dropdown-menu {
  display: flex;
}
.category-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
.category-dropdown-item:hover {
  background: #F0F9FF;
  color: var(--brand-primary);
  border-left-color: var(--brand-primary);
  padding-left: 22px;
}
.category-dropdown-icon {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}
.category-dropdown-divider {
  height: 1px;
  background: var(--brand-border);
  margin: 6px 0;
}
.category-dropdown-all {
  font-weight: 700;
  color: var(--brand-primary);
  background: #F8FAFC;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secondary-contact-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: #FFFFFF;
}

.sec-link {
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}
.sec-link:hover {
  opacity: 0.85;
}

.secondary-nav-right {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ==========================================================================
   4. WHOLESALE RATES TICKER
   ========================================================================== */
.market-ticker-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--brand-border);
  padding: 6px 0;
  overflow: hidden;
}

.market-ticker-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-badge {
  background: var(--brand-accent-red);
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-marquee-content {
  display: inline-block;
  font-size: 12px;
  color: #334155;
  animation: marqueeTicker 32s linear infinite;
}
.ticker-marquee-content strong {
  color: var(--brand-primary-hover);
}

.ticker-sep {
  margin: 0 12px;
  color: #CBD5E1;
}

@keyframes marqueeTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   5. HERO BILLBOARD BANNER CAROUSEL
   ========================================================================== */
.hero-carousel-section {
  max-width: 1320px;
  margin: 18px auto 26px;
  padding: 0 16px;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  min-height: 340px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, var(--brand-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.slide-text {
  padding: 32px 38px;
  z-index: 2;
}

.slide-badge {
  display: inline-block;
  background: #FEF2F2;
  color: var(--brand-accent-red);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid #FECACA;
}

.slide-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.highlight-cyan {
  color: var(--brand-primary);
}

.slide-desc {
  font-size: 13.5px;
  color: var(--brand-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 480px;
}

.slide-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--brand-dark);
  font-weight: 600;
}

.slide-perks span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.slide-perks span svg {
  color: var(--brand-primary);
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-slide-cta {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-cyan);
}
.btn-slide-cta:hover {
  background: var(--brand-accent-green);
  border-color: var(--brand-accent-green);
  transform: translateY(-1px);
}

.btn-slide-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent-green);
  color: #FFFFFF;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.btn-slide-whatsapp:hover {
  background: #059669;
}

.slide-media {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F1F5F9;
}

.slide-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 24px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  text-align: center;
}
.slide-overlay-badge strong {
  display: block;
  font-size: 14px;
  color: #4ADE80;
}
.slide-overlay-badge span {
  font-size: 10.5px;
  color: #E2E8F0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--brand-border);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.carousel-arrow:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.carousel-dot.active {
  background: var(--brand-accent-red);
  width: 24px;
  border-radius: 5px;
  border-color: var(--brand-accent-red);
}

/* ==========================================================================
   6. FULL-WIDTH NAVY "SHOP BY CATEGORY" HERO CONTAINER (#013C7E)
   ========================================================================== */
.shop-by-category-section {
  max-width: 1320px;
  margin: 10px auto 36px;
  padding: 0 16px;
}

.category-cyan-card {
  background: var(--brand-primary);
  border-radius: var(--radius-xl);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-cyan);
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.category-section-title {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.category-section-sub {
  color: #86EFAC;
  font-size: 12.5px;
  font-weight: 600;
}

.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.category-tile-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.category-tile-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent-green);
  box-shadow: 0 10px 24px rgba(20, 126, 38, 0.2);
}
.category-tile-card:hover .category-tile-name {
  color: var(--brand-accent-green);
}

.category-tile-img-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tile-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.category-tile-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   7. 7 DEDICATED DEPARTMENT MERCHANDISING BLOCKS (Promo Banner + 1-Row Carousel)
   ========================================================================== */
.dept-merchandise-block {
  max-width: 1320px;
  margin: 36px auto;
  padding: 0 16px;
}

.dept-heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dept-divider-line {
  flex: 1;
  height: 1.5px;
  background: #E2E8F0;
}

.dept-heading-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.dept-promo-billboard {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  border: 1px solid var(--brand-border);
  position: relative;
  background: #F8FAFC;
}

.dept-billboard-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Department Carousel Wrapper */
.dept-carousel-wrap {
  position: relative;
  margin-bottom: 10px;
}

.dept-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 12px 2px;
}
.dept-carousel-track::-webkit-scrollbar {
  display: none;
}

.dept-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(3, 40, 85, 0.4);
  transition: all var(--transition-fast);
}
.dept-nav-arrow:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-50%) scale(1.08);
}
.dept-nav-arrow.prev { left: -14px; }
.dept-nav-arrow.next { right: -14px; }

.dept-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.dept-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: gap var(--transition-fast);
}
.dept-view-all-link:hover {
  color: var(--brand-primary-hover);
  gap: 9px;
}

/* ==========================================================================
   8. PRODUCT CARD RE-ENGINEERING (COMPACT 260px RETAIL CARD)
   ========================================================================== */
.product-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  width: 205px;
  min-width: 205px;
  max-width: 205px;
  height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}
.product-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Card Media Wrap */
.card-media-wrap {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.product-img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}
.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Wishlist Heart Icon */
.card-wishlist-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}
.card-wishlist-btn:hover {
  color: var(--brand-accent-red);
  background: #FFFFFF;
}
.card-wishlist-btn.active {
  color: var(--brand-accent-red);
}

.discount-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--brand-accent-green);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  z-index: 5;
}

/* Card Body */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-muted);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.product-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.25;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 2px;
}

.product-unit {
  font-size: 10.5px;
  color: var(--brand-muted);
  margin-bottom: 6px;
}

/* Single Bottom Row: Price Left, Square Cart Button Right */
.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-price-block {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.current-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand-dark);
}

.original-price {
  font-size: 11px;
  color: var(--brand-accent-red);
  text-decoration: line-through;
}

/* Compact Square 36x36px Cyan Cart Button */
.btn-square-cart {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.btn-square-cart:hover {
  background: var(--brand-accent-green);
  transform: scale(1.06);
}

/* In-Place Compact Stepper */
.compact-stepper {
  display: flex;
  align-items: center;
  background: var(--brand-primary-light);
  border: 1.5px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  height: 34px;
  overflow: hidden;
}

.compact-step-btn {
  width: 26px;
  height: 100%;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compact-step-btn:hover {
  background: rgba(3, 40, 85, 0.15);
}

.compact-step-qty {
  padding: 0 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-dark);
}

/* Universal Responsive Products Grid (Parity for Catalog and PDP Shelves) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.products-grid .product-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 280px !important;
}
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .products-grid .product-card {
    height: 260px !important;
    padding: 8px 10px !important;
  }
}

/* ==========================================================================
   9. SLIDE-OVER CART DRAWER & CHECKOUT
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--brand-border);
}
.cart-drawer-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-dark);
}
.drawer-count-badge {
  background: var(--brand-primary-light);
  color: var(--brand-primary-hover);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}
.close-drawer-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--brand-muted);
  cursor: pointer;
}

.free-delivery-banner {
  background: #F8FAFC;
  padding: 12px 20px;
  border-bottom: 1px solid var(--brand-border);
}
.free-del-text {
  font-size: 12px;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.progress-track {
  height: 6px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.cart-items-list {
  flex: 1;
  max-height: calc(100vh - 240px);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 14px 18px;
}

.cart-item,
.cart-item-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cart-item-img,
.cart-item-thumb,
.checkout-item-thumb,
.cart-items-list img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  border-radius: var(--radius-xs);
  border: 1px solid var(--brand-border);
  background: #fff;
  flex-shrink: 0 !important;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.cart-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit {
  font-size: 10.5px;
  color: var(--brand-muted);
}

.cart-item-price {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-dark);
}

/* Multi-Product Checkout Review List */
.checkout-items-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.checkout-items-scroll {
  max-height: 175px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}
.checkout-items-scroll::-webkit-scrollbar {
  width: 5px;
}
.checkout-items-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.checkout-items-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* Doorstep GPS Pinpoint Location Card */
.gps-pinpoint-card {
  margin-top: 10px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-open-pin-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #013C7E;
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}
.btn-open-pin-map:hover {
  background: #0369A1;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}
.gps-mini-map-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #CBD5E1;
  background: #E2E8F0;
}
.gps-map-link-cover {
  position: relative;
  display: block;
  width: 100%;
  height: 135px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #86EFAC;
  background: #E2E8F0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gps-map-link-cover:hover {
  border-color: #013C7E;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
.gps-map-link-cover iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}
.gps-map-overlay-badge {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.gps-map-link-cover:hover .gps-map-overlay-badge {
  background: #013C7E;
  transform: translateY(-1px);
}

.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--brand-border);
  background: #F8FAFC;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--brand-muted);
  margin-bottom: 8px;
}
.cart-summary-row.total-row {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
  border-top: 1px solid var(--brand-border);
  padding-top: 10px;
  margin-top: 10px;
}

.btn-checkout {
  width: 100%;
  height: 48px;
  background: var(--brand-accent-green);
  color: #FFFFFF;
  border: none;
  border-bottom: 4px solid #0E5C1B;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(3, 40, 85, 0.35);
  transition: transform 0.08s ease, border-bottom-width 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  background: var(--brand-accent-green-bright);
}
.btn-checkout:active {
  transform: translateY(3px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 4px rgba(3, 40, 85, 0.2);
}

.btn-gps-action {
  background: var(--brand-primary-light);
  color: var(--brand-primary-hover);
  border: 1px solid #BAE6FD;
  border-bottom: 2.5px solid #7DD3FC;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.08s ease, border-bottom-width 0.08s ease;
}
.btn-gps-action:hover {
  background: #E0F2FE;
}
.btn-gps-action:active {
  transform: translateY(1.5px);
  border-bottom-width: 1px;
}

/* ==========================================================================
   MODAL DIALOGS (Branch Selector & Checkout)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeInModal 0.2s ease;
}
.modal-overlay.open {
  display: flex !important;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--brand-border);
  animation: scaleUpModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes scaleUpModal {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--brand-border);
}
.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
}
.close-modal-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--brand-muted);
  cursor: pointer;
  line-height: 1;
}
.modal-body {
  padding: 20px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--brand-dark);
  background: #FFFFFF;
  transition: border-color var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(3, 40, 85, 0.2);
}
.branch-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}
.branch-option-item:hover, .branch-option-item.active {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
}
.branch-option-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--brand-dark);
}
.branch-option-item span {
  font-size: 11.5px;
  color: var(--brand-muted);
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.pay-option input {
  accent-color: var(--brand-primary);
}
.checkout-breakdown {
  background: #F8FAFC;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 16px 0;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--brand-muted);
  margin-bottom: 6px;
}
.breakdown-row.total {
  border-top: 1px solid var(--brand-border);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand-dark);
}

/* ==========================================================================
   10. PREMIUM UNIVERSAL SUPERMARKET FOOTER (High-Velocity Retail Royal Blue)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #013C7E 0%, #021B3A 100%);
  color: #FFFFFF;
  margin-top: 60px;
  border-top: 3px solid var(--brand-accent-green);
}

.footer-trust-strip {
  background: rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}

.footer-trust-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.trust-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-card-icon svg {
  color: var(--brand-primary);
  width: 20px;
  height: 20px;
}
.trust-card-text strong {
  display: block;
  font-size: 12.5px;
  color: #FFFFFF;
  font-weight: 700;
}
.trust-card-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-main-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 40px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid #FFFFFF !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.footer-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.footer-brand-tagline {
  font-size: 11px;
  font-weight: 700;
  color: #FEF08A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #FFFFFF;
}
.footer-contact-item a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Our Timings Card */
.footer-timings-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.timings-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timing-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.timing-row:last-child {
  border-bottom: none;
}
.timing-row strong {
  color: #FFFFFF;
}

.footer-links-row {
  display: flex;
  gap: 18px;
  font-size: 12px;
  margin-bottom: 16px;
}
.footer-links-row a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}
.footer-links-row a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.footer-bottom-widgets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}
.social-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.social-circle-btn:hover {
  background: #FFFFFF;
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.footer-app-badges {
  display: flex;
  gap: 10px;
}
.app-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity var(--transition-fast);
}
.app-badge-link:hover {
  opacity: 0.85;
}
.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.app-badge-text small {
  font-size: 8px;
  text-transform: uppercase;
  color: #CBD5E1;
}
.app-badge-text strong {
  font-size: 12px;
  color: #FFFFFF;
}

.footer-bottom-strip {
  background: rgba(0, 0, 0, 0.15);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   11. MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================== */
.mobile-bottom-nav,
.mobile-order-type-bar,
.mobile-floating-cart {
  display: none;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-accent-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  z-index: 180;
  text-decoration: none;
  transition: transform var(--transition-fast);
}
.floating-whatsapp:hover {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .category-tiles-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-trust-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-notice-right {
    display: none;
  }
  .header-container {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px 10px;
  }
  .header-search-wrap {
    order: 3;
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-top: 4px;
  }
  .branch-selector-btn {
    display: none;
  }
  .secondary-nav-container {
    overflow-x: auto;
  }
  .secondary-contact-links, .secondary-nav-right {
    display: none;
  }
  .slide-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .slide-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 240px;
  }
  .slide-img {
    width: 100%;
    height: 100%;
    min-height: auto;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
  }
  .slide-text {
    padding: 20px;
  }
  .carousel-arrow {
    display: none !important;
  }
  .category-tiles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .category-tile-card {
    padding: 10px 6px 8px;
  }
  .category-tile-img-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }
  .category-tile-name {
    font-size: 11px;
    font-weight: 700;
  }
  .dept-billboard-img {
    height: auto;
    aspect-ratio: 16 / 5;
    max-height: 160px;
    object-fit: cover;
  }
  .dept-nav-arrow {
    display: none !important;
  }
  body {
    padding-bottom: 62px;
  }
  .floating-whatsapp {
    bottom: 74px !important;
    right: 14px !important;
    width: 48px;
    height: 48px;
    z-index: 185;
  }
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--brand-border);
    height: 56px;
    z-index: 190;
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.05);
  }
  .nav-tab-item,
  .mobile-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--brand-muted) !important;
    font-size: 10px;
    font-weight: 700;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px 6px;
    cursor: pointer;
    flex: 1;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-tab-item:visited,
  .mobile-nav-tab:visited {
    color: var(--brand-muted) !important;
    text-decoration: none !important;
  }
  .nav-tab-item.active,
  .mobile-nav-tab.active,
  .nav-tab-item:hover,
  .mobile-nav-tab:hover {
    color: var(--brand-primary) !important;
    text-decoration: none !important;
  }
  .nav-tab-item svg,
  .mobile-nav-tab svg {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
    color: inherit;
    display: block;
  }
  .nav-tab-item span[data-icon],
  .mobile-nav-tab span[data-icon],
  .nav-tab-item .tab-icon,
  .mobile-nav-tab .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
  }
  .mobile-cart-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--brand-accent-red);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 9999px;
    text-align: center;
    padding: 0 4px;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(229, 57, 53, 0.4);
  }

  /* Hide redundant header Track button on mobile (tracked via bottom nav) */
  .header-actions .track-trigger {
    display: none !important;
  }

  /* 12. MOBILE ORDER TYPE BAR (Competitor Blink/Rainbow Parity) */
  .mobile-order-type-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    padding: 8px 14px;
    border-bottom: 1px solid var(--brand-border);
    gap: 10px;
    position: relative;
    top: auto;
    z-index: 10;
  }
  .order-type-pill-toggle {
    display: inline-flex;
    background: #F1F5F9;
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
  }
  .order-type-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .order-type-tab.active {
    background: var(--brand-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
  }
  .mobile-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-primary-light);
    color: var(--brand-primary-hover);
    border: 1px solid rgba(1, 60, 126, 0.25);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.15s ease;
  }
  .mobile-loc-chip:hover,
  .mobile-loc-chip:active {
    background: #E0F2FE;
    border-color: var(--brand-primary);
  }
  .mobile-loc-chip span[data-icon="location"],
  .mobile-loc-chip .icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .mobile-loc-chip svg {
    width: 14px;
    height: 14px;
    color: var(--brand-primary);
    display: block;
  }
  .mobile-loc-chip span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 13. FLOATING MOBILE CART BAR (Competitor bottom_container_for_cart parity) */
  .mobile-floating-cart {
    display: none;
    position: fixed;
    bottom: 64px;
    left: 10px;
    right: 10px;
    z-index: 185;
    cursor: pointer;
    animation: slideUpFloat 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-floating-cart.visible {
    display: block;
  }
  .mobile-floating-cart.visible ~ .floating-whatsapp {
    bottom: 124px !important;
  }
  @keyframes slideUpFloat {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .floating-cart-pill {
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
  }
  .floating-cart-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .floating-cart-left .floating-cart-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .floating-cart-metrics {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .floating-cart-count {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
  }
  .floating-cart-total {
    font-size: 13.5px;
    font-weight: 800;
    color: #86EFAC;
  }
  .floating-cart-progress-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 9.5px;
    color: #E2E8F0;
    max-width: 140px;
  }
  .float-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
  }
  .float-progress-fill {
    height: 100%;
    background: #019D22;
    border-radius: 999px;
    transition: width 0.3s ease;
  }
  .floating-cart-right {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--brand-primary);
    color: #FFFFFF;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(3, 40, 85, 0.4);
  }
  .float-arrow {
    font-size: 13px;
    font-weight: 900;
  }
}



/* ==========================================================================
   14. PRODUCT DETAIL PAGE (PDP) ARCHITECTURE & STYLING (Superpowers / UXPeak)
   ========================================================================== */
.breadcrumbs-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--brand-border);
  padding: 10px 0;
}
.breadcrumbs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--brand-muted);
}
.crumb-link {
  color: var(--brand-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.crumb-link:hover {
  color: var(--brand-primary);
}
.crumb-sep {
  color: #CBD5E1;
}
.crumb-dept {
  color: var(--brand-dark);
  font-weight: 600;
}
.crumb-active {
  color: var(--brand-primary);
  font-weight: 700;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-section {
  max-width: 1400px;
  margin: 24px auto 60px;
  padding: 0 20px;
}

.pdp-container {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  align-items: start;
}

/* PDP Gallery */
.pdp-gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.pdp-main-image-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--brand-border-subtle);
}
.pdp-main-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pdp-main-image-wrap:hover .pdp-main-img {
  transform: scale(1.05);
}
.pdp-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-danger);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* Thumbs Row */
.pdp-thumbs-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pdp-thumb {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: #F8FAFC;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0 !important;
  transition: all var(--transition-fast);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.pdp-thumb:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}
.pdp-thumb.active {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 2px rgba(3, 40, 85, 0.3) !important;
  background: #FFFFFF !important;
}
.pdp-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* PDP Info Card */
.pdp-info-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pdp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdp-brand {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pdp-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}
.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #019D22;
  box-shadow: 0 0 6px #019D22;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.pdp-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.25;
}
.pdp-unit-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-unit-badge {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.stars-gold {
  color: #F59E0B;
  letter-spacing: 1px;
}
.rating-text {
  color: var(--brand-muted);
}

.pdp-price-box {
  background: #F8FAFC;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.pdp-price-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.pdp-current-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
}
.pdp-orig-price {
  font-size: 18px;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: line-through;
}
.pdp-tax-note {
  font-size: 12px;
  color: var(--brand-muted);
  margin-top: 6px;
}

/* Purchase Actions */
.pdp-purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--brand-border-subtle);
}
.pdp-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-stepper-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
}
.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pdp-qty-stepper .step-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.pdp-qty-stepper .step-btn:hover {
  background: #E2E8F0;
}
.pdp-qty-stepper .step-qty {
  min-width: 42px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
}

.pdp-buttons-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.pdp-btn-add {
  flex: 1;
  min-width: 200px;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(3, 40, 85, 0.35);
  transition: all var(--transition-fast);
}
.pdp-btn-add:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(3, 40, 85, 0.45);
}
.pdp-btn-whatsapp {
  flex: 1;
  min-width: 200px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
}
.pdp-btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* Trust Perks Box */
.pdp-perks-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-perk-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #166534;
  line-height: 1.4;
}

/* PDP Tabs */
.pdp-tabs-container {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pdp-tabs-header {
  display: flex;
  background: #F8FAFC;
  border-bottom: 1px solid var(--brand-border);
}
.pdp-tab-btn {
  padding: 16px 28px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}
.pdp-tab-btn:hover {
  color: var(--brand-primary);
}
.pdp-tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  background: #FFFFFF;
}
.pdp-tab-content {
  display: none;
  padding: 28px;
}
.pdp-tab-content.active {
  display: block;
}

/* Related Products Shelf */
.related-products-section {
  margin-top: 48px;
}

@media (max-width: 992px) {
  .pdp-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pdp-gallery-card {
    position: static;
  }
  .pdp-main-image-wrap {
    height: 320px;
  }
}
@media (max-width: 640px) {
  .pdp-title {
    font-size: 22px;
  }
  .pdp-current-price {
    font-size: 26px;
  }
  .pdp-info-card {
    padding: 20px 16px;
  }
  .pdp-buttons-row {
    flex-direction: column;
  }
  .pdp-tabs-header {
    overflow-x: auto;
  }
  .pdp-tab-btn {
    padding: 12px 16px;
    font-size: 12.5px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE CHECKOUT MODAL & BOTTOM SHEET (High-Velocity Retail)
   ========================================================================== */
.mobile-sheet-pill-wrap {
  display: none;
}

.checkout-modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.checkout-modal-card .modal-header {
  padding: 16px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.checkout-modal-card .modal-body {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.checkout-items-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
}

.checkout-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.checkout-items-scroll::-webkit-scrollbar {
  width: 5px;
}
.checkout-items-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  transition: border-color 0.15s ease;
}

.checkout-item-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .checkout-modal-card {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    animation: slideUpMobileSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .mobile-sheet-pill-wrap {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 2px;
    background: #FFFFFF;
    flex-shrink: 0;
  }

  .mobile-sheet-pill {
    width: 38px;
    height: 4.5px;
    background: #CBD5E1;
    border-radius: 99px;
  }

  .checkout-modal-card .modal-header {
    padding: 10px 16px 14px !important;
  }

  .checkout-modal-card .modal-body {
    padding: 14px 16px 28px !important;
  }

  .checkout-items-scroll {
    max-height: 160px !important;
  }

  .form-input {
    font-size: 14.5px !important;
    padding: 11px 12px !important;
  }

  .btn-checkout {
    height: 50px !important;
    font-size: 15px !important;
  }

  .gps-pinpoint-card {
    padding: 10px 12px !important;
  }
}

@keyframes slideUpMobileSheet {
  from {
    transform: translateY(100%);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Tiny Mobile Phones (< 360px) */
@media (max-width: 360px) {
  .checkout-modal-card .modal-header h3 {
    font-size: 14px !important;
  }

  .checkout-item-row {
    padding: 6px 8px !important;
    gap: 6px !important;
  }

  .checkout-item-thumb {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}

