/* ===================================================
   Flipkart Modern Design System - flipckart.shop
   =================================================== */

@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 {
  --fk-blue: #2874f0;
  --fk-blue-dark: #1256cb;
  --fk-blue-light: #e8f0fe;
  --fk-yellow: #ffe500;
  --fk-yellow-dark: #ff9f00;
  --fk-orange: #fb641b;
  --fk-green: #388e3c;
  --fk-green-light: #e6f4ea;
  --fk-red: #ff4d4f;
  
  --fk-bg: #f1f3f6;
  --fk-card-bg: #ffffff;
  --fk-text-primary: #212121;
  --fk-text-secondary: #878787;
  --fk-text-muted: #9e9e9e;
  --fk-border: #e0e0e0;
  --fk-border-light: #f0f0f0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 20px rgba(40, 116, 240, 0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-main);
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--fk-bg);
  color: var(--fk-text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 60px; /* Space for mobile nav */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   TOP HEADER
   =================================================== */

.header-wrapper {
  background-color: var(--fk-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.main-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-domain {
  font-size: 13px;
  color: var(--fk-yellow);
  font-weight: 700;
  font-style: normal;
}

.brand-plus {
  font-size: 11px;
  color: #f0f0f0;
  font-style: italic;
  font-weight: 500;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-plus span.plus-tag {
  color: var(--fk-yellow);
  font-weight: 700;
}

.brand-plus .star-icon {
  color: var(--fk-yellow);
  font-size: 12px;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--fk-text-primary);
}

.search-input::placeholder {
  color: var(--fk-text-secondary);
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  background: transparent;
  color: var(--fk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.search-clear-btn {
  position: absolute;
  right: 44px;
  background: transparent;
  color: #999;
  font-size: 16px;
  padding: 4px;
  display: none;
}

/* Search Suggestions Popup */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1050;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid var(--fk-border);
}

.suggestion-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--fk-border-light);
  transition: var(--transition);
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}

.suggestion-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
}

.suggestion-details {
  flex: 1;
}

.suggestion-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fk-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-category {
  font-size: 11px;
  color: var(--fk-text-secondary);
}

.suggestion-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--fk-text-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.auth-btn {
  background-color: #ffffff;
  color: var(--fk-blue);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.auth-user-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  background-color: var(--fk-yellow);
  color: var(--fk-text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.header-link {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.header-link:hover {
  opacity: 0.9;
}

/* Cart Button */
.header-cart-btn {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  background: transparent;
}

.cart-badge {
  position: absolute;
  top: -8px;
  left: 12px;
  background-color: var(--fk-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  border: 1px solid #ffffff;
}

/* ===================================================
   CATEGORY BAR
   =================================================== */

.category-bar-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid var(--fk-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.category-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex-shrink: 0;
  text-align: center;
}

.category-item:hover, .category-item.active {
  background-color: var(--fk-blue-light);
}

.category-item.active .category-name {
  color: var(--fk-blue);
  font-weight: 700;
}

.category-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.category-item:hover .category-img {
  transform: scale(1.08);
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fk-text-primary);
  white-space: nowrap;
}

.category-item.clearance-category-highlight {
  position: relative;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
}

.category-item.clearance-category-highlight:hover,
.category-item.clearance-category-highlight.active {
  background: linear-gradient(180deg, #fef08a 0%, #fde047 100%) !important;
  border-color: #d97706;
}

.category-item.clearance-category-highlight .category-img {
  filter: drop-shadow(0 3px 6px rgba(245, 158, 11, 0.4));
}

.category-item.clearance-category-highlight .category-name {
  color: #b45309 !important;
  font-weight: 800;
}

/* ===================================================
   MAIN CONTAINER & HERO SLIDER
   =================================================== */

.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Bank Offer Bar */
.bank-offer-strip {
  background: linear-gradient(90deg, #fffae6 0%, #fff1c5 100%);
  border: 1px dashed #e6a800;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #735102;
}

.bank-offer-strip .offer-tag {
  background-color: #ffe082;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 8px;
  color: #4a3400;
}

.hero-slider-section {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  background: #0f172a;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}

.slider-container:active {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .slider-container {
    height: 310px;
  }
}

@media (min-width: 1200px) {
  .slider-container {
    height: 340px;
  }
}

/* Horizontal Sliding Track for Multiple Banners */
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
}

/* Full Graphic Slide (Clean, edge-to-edge promotional banner without text collisions) */
.slide.slide-full-graphic {
  padding: 0 !important;
  display: block !important;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.slide.slide-full-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
}

.slide.slide-full-graphic:hover img {
  transform: scale(1.015);
}

/* Right-side Media / Photo Area with Smooth Fade & Blend */
.slide-bg-media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.slide-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  opacity: 0.92;
  transition: transform 0.8s ease;
}

.slide:hover .slide-bg-media img {
  transform: scale(1.04);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  color: var(--fk-yellow);
  text-transform: uppercase;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.slide-subtitle {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.slide-btn {
  background-color: var(--fk-yellow);
  color: #111827;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 22px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slide-btn:hover {
  background-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Arrow Navigation Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: none;
  opacity: 0.85;
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--fk-blue);
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.slider-next {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Pagination Dots */
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background: var(--fk-yellow);
  width: 22px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(253, 224, 71, 0.5);
}

/* Mobile Media Query for Slide */
@media (max-width: 768px) {
  .slider-container {
    height: 180px !important;
  }
  .slide {
    padding: 12px 14px !important;
  }
  .slide-content {
    max-width: 62% !important;
  }
  .slide-tag {
    font-size: 9px !important;
    padding: 2px 7px !important;
    margin-bottom: 4px !important;
  }
  .slide-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }
  .slide-subtitle {
    font-size: 10px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .slide-btn {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }
  .slide-bg-media {
    width: 48% !important;
  }
  .slider-arrow {
    width: 28px !important;
    height: 48px !important;
    font-size: 14px !important;
  }
}

/* ===================================================
   DEAL OF THE DAY SECTION
   =================================================== */

.deals-section {
  background-color: var(--fk-card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fk-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--fk-text-primary);
}

.deal-timer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fk-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.timer-digits {
  background-color: #212121;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

.view-all-btn {
  background-color: var(--fk-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

.view-all-btn:hover {
  background-color: var(--fk-blue-dark);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

/* ===================================================
   HORIZONTAL PRODUCT SHELF & CONTROLS
   =================================================== */

.category-shelf-wrapper {
  position: relative;
  width: 100%;
}

.products-grid.horizontal-shelf {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 16px !important;
  padding: 8px 4px 16px 4px !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.products-grid.horizontal-shelf::-webkit-scrollbar {
  display: none !important;
}

.products-grid.horizontal-shelf .product-card {
  flex: 0 0 240px !important;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 250px !important;
  margin-bottom: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.products-grid.horizontal-shelf .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Floating Shelf Navigation Arrows */
.shelf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #1e293b;
  font-size: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.shelf-arrow:hover {
  background: var(--fk-blue);
  color: #ffffff;
  border-color: var(--fk-blue);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(40, 116, 240, 0.35);
}

.shelf-arrow.shelf-prev {
  left: -16px;
}

.shelf-arrow.shelf-next {
  right: -16px;
}

@media (max-width: 768px) {
  .shelf-arrow {
    display: none; /* Smooth touch gesture on phones */
  }
  .products-grid.horizontal-shelf {
    gap: 12px !important;
    padding: 6px 2px 12px 2px !important;
  }
  .products-grid.horizontal-shelf .product-card {
    flex: 0 0 190px !important;
    width: 190px !important;
    min-width: 190px !important;
  }
}

/* ===================================================
   PRODUCT GRID & CARDS
   =================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

@media (max-width: 576px) {
  .products-grid:not(.horizontal-shelf) {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--fk-border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--fk-blue-light);
  transform: translateY(-2px);
}

.wishlist-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #c2c2c2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wishlist-heart-btn:hover, .wishlist-heart-btn.active {
  color: var(--fk-red);
}

.product-image-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
}

.product-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 11px;
  color: var(--fk-text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.product-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fk-text-primary);
  line-height: 1.35;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--fk-blue);
}

.rating-assured-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-badge {
  background-color: var(--fk-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rating-count {
  font-size: 12px;
  color: var(--fk-text-secondary);
}

.f-assured-badge {
  height: 18px;
  object-fit: contain;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.curr-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--fk-text-primary);
}

.orig-price {
  font-size: 13px;
  color: var(--fk-text-secondary);
  text-decoration: line-through;
}

.disc-percent {
  font-size: 13px;
  color: var(--fk-green);
  font-weight: 700;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.card-btn-cart {
  flex: 1;
  background-color: var(--fk-yellow-dark);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.card-btn-cart:hover {
  background-color: #f39700;
}

.card-btn-buy {
  flex: 1;
  background-color: var(--fk-orange);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.card-btn-buy:hover {
  background-color: #ea5308;
}

/* ===================================================
   FEATURES & TRUST BAR
   =================================================== */

.trust-features-section {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background-color: var(--fk-blue-light);
  color: var(--fk-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--fk-text-primary);
}

.trust-text p {
  font-size: 12px;
  color: var(--fk-text-secondary);
}

/* ===================================================
   MODALS (PRODUCT QUICK VIEW, CART, AUTH, CHECKOUT)
   =================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-backdrop.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #f1f3f6;
  border-radius: 50%;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #e0e0e0;
}

/* --- PRODUCT DETAIL MODAL --- */
/* --- PRODUCT FULL SCREEN PAGE (NOT A POPUP) --- */
.product-fullscreen-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f1f3f6;
  z-index: 2500;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Sticky Top Navigation Bar */
.pdp-top-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--fk-blue, #2874f0);
  color: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.pdp-top-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pdp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-back-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.pdp-brand-logo {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.pdp-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  font-style: italic;
}

.pdp-logo-yellow {
  color: #ffe500;
}

.pdp-logo-sub {
  font-size: 10px;
  font-style: italic;
  color: #f0f0f0;
  margin-top: 1px;
}

.pdp-plus-text {
  color: #ffe500;
  font-weight: 700;
}

.pdp-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-top-icon-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-top-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.pdp-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fk-blue, #2874f0);
}

/* Page Container */
.pdp-container {
  max-width: 1300px;
  margin: 16px auto 40px;
  padding: 0 16px;
}

/* Main Grid Card */
.pdp-main-content {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

/* Breadcrumb */
.pdp-breadcrumb {
  font-size: 12px;
  color: #878787;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pdp-breadcrumb span:hover {
  color: var(--fk-blue, #2874f0);
}

/* Left Gallery in Full-Screen PDP */
.pdp-main-content .product-gallery {
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-main-content .main-image-wrap {
  width: 100%;
  height: 420px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.pdp-main-content .main-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pdp-main-content .main-image-wrap img:hover {
  transform: scale(1.08);
}

/* Desktop Action Buttons under gallery */
.pdp-desktop-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pdp-desktop-action-buttons .modal-btn-cart {
  background: #ff9f00;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 159, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-desktop-action-buttons .modal-btn-cart:hover {
  background: #e68f00;
}

.pdp-desktop-action-buttons .modal-btn-buy {
  background: #fb641b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(251, 100, 27, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-desktop-action-buttons .modal-btn-buy:hover {
  background: #e55511;
}

/* Bilingual UPI Highlight in PDP */
.pdp-upi-highlight {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1.5px dashed #2e7d32;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdp-upi-highlight i {
  color: #e65100;
  font-size: 26px;
  flex-shrink: 0;
}

.pdp-upi-title {
  font-size: 14px;
  font-weight: 800;
  color: #1b5e20;
}

.pdp-upi-sub {
  font-size: 12.5px;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 2px;
}

/* Trust Grid in PDP */
.pdp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-trust-item i {
  font-size: 20px;
  color: var(--fk-blue, #2874f0);
  flex-shrink: 0;
}

.pdp-trust-item div {
  display: flex;
  flex-direction: column;
}

.pdp-trust-item strong {
  font-size: 12.5px;
  color: #1e293b;
}

.pdp-trust-item span {
  font-size: 11px;
  color: #64748b;
}

/* Mobile Fixed Bottom Action Bar */
.pdp-mobile-bottom-bar {
  display: none;
}

@media (max-width: 900px) {
  .pdp-main-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .pdp-main-content .product-gallery {
    position: static;
  }
  .pdp-main-content .main-image-wrap {
    height: 320px;
  }
  .pdp-desktop-action-buttons {
    display: none;
  }
  .pdp-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 54px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 2600;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  }
  .pdp-mobile-cart-btn {
    background: #ff9f00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .pdp-mobile-buy-btn {
    background: #fb641b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .pdp-container {
    margin: 10px auto 70px;
    padding: 0 10px;
  }
  .pdp-trust-grid {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
}

.main-image-wrap {
  width: 100%;
  height: 380px;
  background: #ffffff;
  border: 1px solid var(--fk-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.main-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image-wrap img:hover {
  transform: scale(1.06);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb-item {
  width: 64px;
  height: 64px;
  border: 2px solid var(--fk-border);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--fk-blue);
  box-shadow: 0 2px 8px rgba(40, 116, 240, 0.25);
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-summary .product-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--fk-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-product-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fk-text-primary);
  line-height: 1.4;
}

.rating-assured-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-price-row .curr-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--fk-text-primary);
}

.modal-price-row .orig-price {
  font-size: 16px;
  color: var(--fk-text-secondary);
  text-decoration: line-through;
}

.modal-price-row .disc-percent {
  font-size: 16px;
  font-weight: 700;
  color: var(--fk-green);
}

.special-offer-box {
  background: #fbfdf9;
  border: 1px dashed #2874f0;
  border-radius: 8px;
  padding: 14px 18px;
}

.special-offer-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--fk-blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.special-offer-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.special-offer-box li {
  font-size: 13px;
  color: #212121;
  line-height: 1.4;
}

.specs-section,
.description-section {
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
}

.specs-section h4,
.description-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fk-text-primary);
  margin-bottom: 10px;
}

.specs-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specs-section li {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.description-section p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.modal-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding: 12px 0 0 0;
  border-top: 1px solid #f0f0f0;
}

.modal-btn-cart,
.modal-btn-buy {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.modal-btn-cart {
  background: #ff9f00;
  color: #ffffff;
}

.modal-btn-cart:hover {
  background: #f39700;
  box-shadow: 0 4px 12px rgba(255, 159, 0, 0.35);
}

.modal-btn-buy {
  background: #fb641b;
  color: #ffffff;
}

.modal-btn-buy:hover {
  background: #e8550d;
  box-shadow: 0 4px 12px rgba(251, 100, 27, 0.4);
}

/* ===================================================
   CART SLIDEOVER & MODAL - 100% SOLID BACKGROUND
   =================================================== */

#cartModalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cart-slideover {
  width: 100%;
  max-width: 540px;
  height: 90vh;
  max-height: 90vh;
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}

@media (max-width: 600px) {
  #cartModalBackdrop {
    align-items: flex-end;
    padding: 0;
  }
  .cart-slideover {
    max-width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.cart-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.cart-header .modal-close-btn {
  position: static;
  width: 32px;
  height: 32px;
  background: #f1f3f6;
  border-radius: 50%;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

.cart-header .modal-close-btn:hover {
  background: #e0e0e0;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  background: #f1f3f6 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  background: #ffffff !important;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-item-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 4px;
}

.cart-item-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #212121;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 10px 0;
}

.cart-item-price-row .curr-price {
  font-size: 16px;
  font-weight: 700;
  color: #212121;
}

.cart-item-price-row .orig-price {
  font-size: 13px;
  color: #878787;
  text-decoration: line-through;
}

.cart-item-price-row .disc-percent {
  font-size: 13px;
  font-weight: 700;
  color: #388e3c;
}

.cart-qty-ctrls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #f0f0f0;
}

.qty-btn-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c2c2c2;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: #f9f9f9;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #e0e0e0;
}

.qty-value {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #212121;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #212121;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
}

.cart-remove-btn:hover {
  color: #ff4d4f;
}

/* Coupon Bar */
.cart-coupon-bar {
  background: #ffffff !important;
  padding: 12px 16px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #c2c2c2;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.coupon-input:focus {
  border-color: #2874f0;
}

.coupon-btn {
  padding: 8px 16px;
  background: #2874f0;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.coupon-btn:hover {
  background: #1256cb;
}

.applied-coupon-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6f4ea;
  border: 1px dashed #388e3c;
  color: #388e3c;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  margin-top: 8px;
}

/* Cart Footer & Price Details */
.cart-footer {
  background: #ffffff !important;
  padding: 16px 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #e0e0e0;
}

.cart-summary {
  margin-bottom: 12px;
  background: #ffffff !important;
}

.cart-summary h4 {
  font-size: 12px;
  font-weight: 700;
  color: #878787;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #212121;
  margin-bottom: 8px;
}

.summary-row.discount span:last-child {
  color: #388e3c;
  font-weight: 700;
}

.summary-row.total {
  font-size: 16px;
  font-weight: 800;
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px;
  margin-top: 10px;
}

.savings-highlight {
  background: #e6f4ea;
  color: #388e3c;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  margin: 10px 0 14px 0;
}

.place-order-btn {
  width: 100%;
  background: #fb641b;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 13px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(251, 100, 27, 0.4);
  transition: background 0.15s;
}

.place-order-btn:hover {
  background: #ea5308;
}

.empty-cart-view {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff !important;
  border-radius: 8px;
}

.empty-cart-img {
  width: 140px;
  margin: 0 auto 16px auto;
}

/* --- AUTH MODAL --- */
.auth-modal {
  width: 100%;
  max-width: 750px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
  padding: 0;
}

@media (max-width: 600px) {
  .auth-modal {
    grid-template-columns: 1fr;
  }
  .auth-left-panel {
    display: none;
  }
}

.auth-left-panel {
  background-color: var(--fk-blue);
  color: #ffffff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-left-panel h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auth-left-panel p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
}

.auth-left-img {
  max-width: 160px;
  margin-top: auto;
}

.auth-right-panel {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fk-text-secondary);
}

.auth-input {
  padding: 10px 14px;
  border: 1px solid var(--fk-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.auth-input:focus {
  border-color: var(--fk-blue);
  outline: none;
}

.auth-submit-btn {
  background-color: var(--fk-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.auth-terms {
  font-size: 11px;
  color: var(--fk-text-muted);
  text-align: center;
}

/* --- CHECKOUT MODAL --- */
.checkout-modal {
  width: 100%;
  max-width: 620px;
  padding: 24px;
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.checkout-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fk-text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-step-badge {
  background-color: var(--fk-blue);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Payment Step Elements */
.payment-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 14px;
}

.btn-back-step {
  background: none;
  border: none;
  color: #2874f0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.btn-back-step:hover {
  text-decoration: underline;
}

.payment-summary-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-summary-box .amt-wrap {
  text-align: right;
}

.payment-summary-box .amt-label {
  font-size: 11px;
  color: #878787;
  text-transform: uppercase;
  font-weight: 600;
}

.payment-summary-box .amt-val {
  font-size: 20px;
  font-weight: 800;
  color: #212121;
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pay-tab-btn {
  padding: 8px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-tab-btn.active, .pay-tab-btn:hover {
  border-color: #2874f0;
  background: #f0f5ff;
  color: #2874f0;
}

.pay-panel {
  display: none;
  animation: fadeIn 0.2s ease;
}

.pay-panel.active {
  display: block;
}

/* UPI Instant 20% Discount Badge on Tab Button */
.upi-discount-badge {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(255, 75, 43, 0.4);
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* UPI Instant 20% Discount Offer Banner */
.upi-offer-banner {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1.5px dashed #2e7d32;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

.upi-offer-banner i {
  font-size: 20px;
  color: #2e7d32;
  flex-shrink: 0;
}

.upi-offer-banner strong {
  display: block;
  font-size: 13px;
  color: #1b5e20;
  font-weight: 800;
}

.upi-offer-banner span {
  font-size: 12px;
  color: #2e7d32;
  display: block;
  margin-top: 2px;
}

.upi-offer-banner b {
  color: #1b5e20;
  font-size: 13px;
  font-weight: 800;
}

.upi-offer-banner strike {
  color: #757575;
  margin-left: 3px;
}

/* Non-UPI Upsell Prompt Banner */
.non-upi-upsell-banner {
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.non-upi-upsell-banner:hover {
  background: #fff3c4;
  border-color: #ffd54f;
  transform: translateY(-1px);
}

.non-upi-upsell-banner span {
  font-size: 12px;
  color: #795548;
}

.btn-switch-upi {
  background: #2874f0;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-switch-upi:hover {
  background: #1256cb;
}

/* Payment Summary Box Extra Discount Styling */
.amt-orig-strike {
  font-size: 12px;
  color: #878787;
  text-decoration: line-through;
  font-weight: 600;
  margin-top: 2px;
}

.upi-save-tag {
  font-size: 11px;
  color: #2e7d32;
  font-weight: 800;
  background: #e8f5e9;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
  display: inline-block;
  border: 1px solid #c8e6c9;
}

/* UPI QR Card */
.upi-qr-card {
  background: #ffffff;
  border: 1.5px solid #2874f0;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(40, 116, 240, 0.08);
}

.upi-qr-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 4px;
}

.upi-app-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.upi-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f3f6;
  color: #333;
}

.qr-image-wrapper {
  display: inline-block;
  padding: 10px;
  background: #ffffff;
  border: 2px dashed #2874f0;
  border-radius: 10px;
  margin: 6px auto 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.qr-image-wrapper img {
  width: 190px;
  height: 190px;
  display: block;
}

.upi-copy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 7px 12px;
  border-radius: 6px;
  max-width: 300px;
  margin: 0 auto 10px;
  font-size: 12.5px;
}

.upi-copy-btn {
  background: #2874f0;
  color: #fff;
  border: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.upi-copy-btn:hover {
  background: #1256cb;
}

.upi-timer-text {
  font-size: 12px;
  color: #e65100;
  font-weight: 600;
  margin-bottom: 12px;
}

.utr-input-group {
  margin: 12px 0 14px;
  text-align: left;
}

.utr-input-group label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

/* Smart UPI Live Sync Bar */
.upi-live-sync-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 6px 14px;
  margin: 8px auto 12px;
  font-size: 12px;
  color: #166534;
  font-weight: 600;
  max-width: 440px;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.6s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* 1-Click UPI Apps Selector Grid */
.upi-apps-selector {
  margin: 12px 0 16px;
}

.upi-apps-title {
  font-size: 12px;
  font-weight: 700;
  color: #424242;
  margin-bottom: 8px;
  text-align: left;
}

.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.upi-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px;
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #212121;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
}

.upi-app-card i {
  font-size: 20px;
}

.upi-app-card.gpay {
  border-color: #4285f4;
  color: #1a73e8;
  background: #f8fbff;
}
.upi-app-card.gpay:hover {
  background: #e8f0fe;
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.2);
}

.upi-app-card.phonepe {
  border-color: #5f259f;
  color: #5f259f;
  background: #fcf9ff;
}
.upi-app-card.phonepe:hover {
  background: #f3e8ff;
  box-shadow: 0 4px 10px rgba(95, 37, 159, 0.2);
}

.upi-app-card.paytm {
  border-color: #00b9f1;
  color: #002e6e;
  background: #f6fcfe;
}
.upi-app-card.paytm:hover {
  background: #e0f7fd;
  box-shadow: 0 4px 10px rgba(0, 185, 241, 0.2);
}

.upi-app-card.bhim {
  border-color: #f37021;
  color: #d95305;
  background: #fff9f6;
}
.upi-app-card.bhim:hover {
  background: #ffede3;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.2);
}

.btn-mobile-upi {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2874f0;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .btn-mobile-upi {
    display: flex;
  }
}

/* Verifying screen */
.verifying-screen {
  text-align: center;
  padding: 30px 20px;
}

.verifying-progress-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  max-width: 440px;
  margin: 16px auto 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.verifying-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s ease;
}

.verifying-step-item.active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  border-left: 3px solid #2563eb;
}

.verifying-step-item.done {
  background: #f0fdf4;
  color: #166534;
}

.spinner-circle {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2874f0;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.order-success-screen {
  text-align: center;
  padding: 24px 12px;
  display: none;
}

.order-success-icon {
  font-size: 64px;
  margin-bottom: 12px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ===================================================
   FOOTER
   =================================================== */

.footer-main {
  background-color: #172337;
  color: #ffffff;
  font-size: 12px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #283747;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.footer-col h5 {
  color: #878787;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ffffff;
  opacity: 0.85;
  transition: var(--transition);
}

.footer-col a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-divider {
  border-top: 1px solid #283747;
  padding: 20px 16px;
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-badges-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.footer-badge-item span.icon {
  color: var(--fk-yellow);
}

/* ===================================================
   MOBILE NAVIGATION BAR
   =================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--fk-border);
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--fk-text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.mobile-nav-item.active {
  color: var(--fk-blue);
  font-weight: 700;
}

.mobile-nav-icon {
  font-size: 18px;
}

/* ===================================================
   TOAST NOTIFICATION
   =================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .toast-container {
    bottom: 70px;
    right: 16px;
    left: 16px;
  }
}

.toast {
  background: #212121;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastSlide 0.3s ease;
}

.toast.success {
  border-left: 4px solid var(--fk-green);
}

.toast.info {
  border-left: 4px solid var(--fk-blue);
}

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}





/* ===================================================
   ULTRA MOBILE-FRIENDLY & RESPONSIVE DESIGN SYSTEM
   =================================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 110px;
  }

  body {
    padding-bottom: 65px; /* Space for mobile bottom navigation */
  }

  /* Compact Mobile Header */
  .header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }

  .main-header {
    flex-direction: column;
    padding: 8px 12px 10px;
    gap: 8px;
  }

  .header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-title {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .brand-plus {
    font-size: 10px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  .cart-btn {
    font-size: 13px;
    padding: 6px 8px;
  }

  /* Full Width Search Bar on Mobile */
  .search-container {
    width: 100%;
    margin: 0;
  }

  .search-form {
    height: 38px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  .search-input {
    font-size: 13px;
    padding: 0 12px;
  }

  .search-btn {
    width: 40px;
    font-size: 14px;
  }

  /* Smooth Horizontal Category Strip */
  .category-nav-bar {
    padding: 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    background: #ffffff;
    margin-bottom: 8px;
  }

  .category-nav-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 0 8px;
  }

  .category-nav-list::-webkit-scrollbar {
    display: none;
  }

  .category-item {
    padding: 4px 8px;
    min-width: 72px;
    max-width: 78px;
    scroll-snap-align: start;
  }

  .category-img {
    width: 46px;
    height: 46px;
  }

  .category-name {
    font-size: 11px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Mobile Hero Banner Slider */
  .hero-slider-section {
    margin: 8px 6px 14px;
    border-radius: var(--radius-md);
  }

  .slider-container {
    height: 190px !important;
  }

  .slide {
    padding: 14px 14px 14px 28px !important;
    gap: 10px !important;
  }

  .slide-content {
    max-width: 58% !important;
    z-index: 2;
  }

  .slide-tag {
    font-size: 10px !important;
    padding: 2px 8px !important;
    margin-bottom: 6px !important;
  }

  .slide-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slide-subtitle {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slide-btn {
    font-size: 11px !important;
    padding: 6px 14px !important;
    gap: 4px !important;
  }

  .slide-img-wrapper {
    max-width: 40% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .slide-img {
    max-height: 140px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  }

  .slider-arrow {
    width: 22px !important;
    height: 36px !important;
    font-size: 11px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(4px) !important;
  }

  .slider-dots {
    bottom: 6px !important;
  }

  .dot {
    width: 6px !important;
    height: 6px !important;
  }

  .dot.active {
    width: 16px !important;
  }

  /* Mobile Product Sections */
  .section-container {
    margin: 0 8px 16px;
    border-radius: var(--radius-md);
    padding: 12px 10px;
  }

  .section-header {
    padding: 0 0 10px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .section-title-wrap h2 {
    font-size: 16px;
  }

  .deal-timer-wrap {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Mobile 2-Column Product Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .product-card {
    padding: 10px;
    border-radius: var(--radius-sm);
  }

  .product-img-wrap {
    height: 130px;
    padding: 6px;
    margin-bottom: 8px;
  }

  .product-title {
    font-size: 12px;
    line-height: 1.3;
    height: 32px;
    -webkit-line-clamp: 2;
  }

  .price-main {
    font-size: 15px;
  }

  .price-orig {
    font-size: 11px;
  }

  .discount-tag {
    font-size: 11px;
  }

  .rating-badge {
    font-size: 10px;
    padding: 1px 5px;
  }

  .rating-count {
    font-size: 10px;
  }

  .card-action-btn {
    padding: 7px 10px;
    font-size: 11px;
    margin-top: 6px;
  }

  /* Full Screen Mobile Modals */
  .modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  .modal-body {
    padding: 16px !important;
    max-height: calc(100vh - 120px) !important;
  }

  /* Mobile Product Detail Screen */
  .product-detail-layout {
    flex-direction: column;
    gap: 16px;
  }

  .product-detail-img-box {
    width: 100%;
    height: 250px;
  }

  .sticky-mobile-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
    z-index: 1001;
  }

  .sticky-mobile-actions button {
    flex: 1;
    height: 44px;
    font-size: 14px;
    font-weight: 700;
  }

  /* Trust Badges Strip on Mobile */
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
    margin: 0 8px 16px;
  }

  .trust-item {
    gap: 8px;
  }

  .trust-icon {
    font-size: 18px;
  }

  .trust-item h4 {
    font-size: 12px;
  }

  .trust-item p {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 18px;
  }

  .category-item {
    min-width: 66px;
    max-width: 70px;
  }

  .category-img {
    width: 40px;
    height: 40px;
  }

  .product-img-wrap {
    height: 110px;
  }

  .price-main {
    font-size: 14px;
  }
}


/* ==================== TRENDING SECTION STYLES ==================== */
.trending-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(40, 116, 240, 0.12);
  position: relative;
}

.trending-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(255, 78, 80, 0.25);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ===================================================
   MOBILE BOTTOM APP NAVIGATION BAR
   =================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--fk-border);
  display: none;
  justify-content: space-around;
  align-items: center;
  z-index: 1500;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding: 0 4px;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  
  .product-detail-modal {
    padding: 20px 16px !important;
    max-height: 88vh !important;
    border-radius: 16px 16px 0 0 !important;
    margin-top: auto !important;
    width: 100% !important;
  }

  .product-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .main-image-wrap {
    height: 240px !important;
    padding: 10px !important;
  }

  .modal-product-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  .modal-price-row .curr-price {
    font-size: 22px !important;
  }

  .modal-action-buttons {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 10px 0 !important;
  }

  .modal-btn-cart,
  .modal-btn-buy {
    padding: 12px 10px !important;
    font-size: 13px !important;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  color: #717478;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-nav-item .mobile-nav-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.mobile-nav-item:active .mobile-nav-icon {
  transform: scale(1.15);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--fk-blue);
  font-weight: 700;
}

.cart-badge-dot {
  position: absolute;
  top: 8px;
  right: calc(50% - 14px);
  width: 8px;
  height: 8px;
  background: var(--fk-red);
  border-radius: 50%;
  border: 1px solid #ffffff;
}

/* =========================================================
   CLEARANCE SALE EVENT & NOTIFICATION DRAWER STYLES
   ========================================================= */

/* Notification Bell Button */
.notification-bell-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #2874f0;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Sticky Clearance Event Banner - Yellow Theme */
.clearance-banner {
  background: linear-gradient(90deg, #ca8a04 0%, #eab308 50%, #facc15 100%);
  color: #1e293b;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.25);
  animation: slideDown 0.3s ease;
}

.clearance-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.clearance-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flame-badge {
  background: #1e293b;
  color: #ffe500;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.clearance-title {
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
}

.clearance-sub {
  font-size: 12px;
  color: #1e293b;
  font-weight: 600;
}

.clearance-banner-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.clearance-timer-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  color: #1e293b;
}

.clearance-countdown {
  font-family: monospace;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  color: #0f172a;
}

.clearance-cta-btn {
  background: #1e293b;
  color: #ffe500;
  border: none;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clearance-cta-btn:hover {
  background: #000000;
  color: #ffd700;
  transform: translateY(-1px);
}

/* ===================================================
   NOTIFICATIONS FULL SCREEN PAGE (NOT A POPUP)
   =================================================== */
.notifications-fullscreen-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #f1f3f6;
  z-index: 2500;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.notif-page-container {
  max-width: 860px;
  margin: 20px auto 50px;
  padding: 0 16px;
}

.notif-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.notif-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-cards-list .notification-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--fk-blue, #2874f0);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.notif-cards-list .notification-item-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.notif-cards-list .notification-item-card.clearance {
  background: #fffbeb !important;
  border-left: 4px solid #f59e0b !important;
  border-color: #fde68a !important;
}

@media (max-width: 640px) {
  .notif-page-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .notif-page-container {
    margin: 12px auto 40px;
    padding: 0 10px;
  }
}

/* ===================================================
   FASHION & CLOTHING SHOWCASE SECTION (SS'26)
   =================================================== */
.fashion-showcase-section {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fk-border-light);
}

.fashion-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.fashion-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.fashion-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.fashion-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.fashion-banner-hero {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.fashion-banner-hero:hover {
  transform: translateY(-2px);
}

.fashion-banner-hero img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.fashion-trio-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.fashion-trio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.fashion-trio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.fashion-trio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fashion-trio-card:hover img {
  transform: scale(1.04);
}

.fashion-trio-info {
  padding: 12px 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fashion-trio-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.fashion-trio-info span {
  font-size: 12px;
  color: #16a34a;
  font-weight: 700;
}

.fashion-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.fashion-pills-bar::-webkit-scrollbar {
  height: 4px;
}

.fashion-pill {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fashion-pill:hover, .fashion-pill.active {
  background: var(--fk-blue);
  color: #ffffff;
  border-color: var(--fk-blue);
  box-shadow: 0 4px 10px rgba(40, 116, 240, 0.25);
}

/* ===================================================
   DEDICATED CATEGORY STOREFRONT PAGE STYLES
   =================================================== */

.category-page-view {
  display: block;
  animation: fadeInCategory 0.25s ease-in-out;
}

@keyframes fadeInCategory {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb Navigation */
.category-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  padding: 4px 2px;
}

.category-breadcrumb-bar a {
  color: var(--fk-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.category-breadcrumb-bar a:hover {
  text-decoration: underline;
}

.category-breadcrumb-bar .active {
  color: #0f172a;
  font-weight: 700;
}

/* Category Hero Banner Header (Controlled by Admin Banners) */
.category-hero-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  min-height: 220px;
  padding: 28px 36px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 48%, rgba(15, 23, 42, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.category-hero-content {
  position: relative;
  max-width: 62%;
  z-index: 2;
}

.category-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fef08a;
  text-transform: uppercase;
}

.category-hero-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-hero-sub {
  font-size: 14px;
  color: #e2e8f0;
  margin: 0 0 16px 0;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.category-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-products-count {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-assured-tag {
  background: #ffffff;
  color: #1e3a8a;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.category-discount-tag {
  background: #ef4444;
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.category-hero-media-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.category-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(0.95);
  mask-image: linear-gradient(to right, transparent, black 35%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 35%);
}

.category-hero-icon-wrap {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 2;
  transition: transform 0.3s ease;
}

.category-hero-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.category-hero-header:hover .category-hero-icon-wrap {
  transform: translateY(-50%) scale(1.08) rotate(3deg);
}

/* Layout */
.category-layout-wrap {
  display: block;
  width: 100%;
}

/* Category Filter Trigger Card */
.category-filter-trigger-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
}

.category-filter-trigger-card:hover {
  border-color: var(--fk-blue);
  box-shadow: 0 4px 16px rgba(40, 116, 240, 0.08);
  transform: translateY(-1px);
}

.filter-trigger-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(40, 116, 240, 0.1);
  color: var(--fk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.filter-trigger-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.filter-trigger-sub {
  font-size: 12px;
  color: #64748b;
  display: block;
}

.filter-trigger-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-open-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--fk-blue);
}

.filter-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.category-filter-trigger-card:hover .filter-arrow-circle {
  background: var(--fk-blue);
  color: #ffffff;
  transform: translateY(2px);
}

/* ==================== CATEGORY FILTER POPUP MODAL ==================== */
.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.filter-modal-backdrop.show {
  display: flex !important;
  opacity: 1 !important;
}

.filter-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.filter-modal-backdrop.show .filter-modal-dialog {
  transform: scale(1);
}

.filter-modal-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-modal-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(40, 116, 240, 0.1);
  color: var(--fk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.filter-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.filter-modal-subtitle {
  margin: 0;
  font-size: 11.5px;
  color: #64748b;
}

.filter-modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.filter-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.filter-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.filter-modal-footer {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 640px) {
  .filter-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .filter-modal-dialog {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }
  .filter-modal-backdrop.show .filter-modal-dialog {
    transform: translateY(0);
  }
}

.filter-active-pill {
  background: var(--fk-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

.filter-clear-btn {
  background: transparent;
  border: none;
  color: var(--fk-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}

.filter-clear-btn:hover {
  text-decoration: underline;
}

.filter-group {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-sidebar-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.filter-clear-btn {
  background: transparent;
  border: none;
  color: var(--fk-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}

.filter-clear-btn:hover {
  text-decoration: underline;
}

.filter-group {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-title {
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sort-options-list, .brand-filter-list, .rating-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sort-radio-label, .brand-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.sort-radio-label:hover, .brand-checkbox-label:hover {
  color: #0f172a;
}

.sort-radio-label input, .brand-checkbox-label input {
  cursor: pointer;
  accent-color: var(--fk-blue);
}

.price-range-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-pill {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.price-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.price-pill.active {
  background: #eff6ff;
  border-color: var(--fk-blue);
  color: var(--fk-blue);
  font-weight: 700;
}

.assured-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}

.assured-checkbox-label input {
  accent-color: var(--fk-blue);
  cursor: pointer;
}

/* Category Toolbar */
.category-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.showing-text {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.active-chips-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.active-filter-chip {
  background: #eff6ff;
  color: var(--fk-blue);
  border: 1px solid #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.active-filter-chip i {
  cursor: pointer;
}

.toolbar-sort-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sort-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}

.quick-sort-btn {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-sort-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

.quick-sort-btn.active {
  background: var(--fk-blue);
  color: #ffffff;
  border-color: var(--fk-blue);
  font-weight: 700;
}

.category-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

/* Category Empty State */
.category-empty-state {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
  grid-column: 1 / -1;
}

.category-empty-state i {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.category-empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .category-layout-wrap {
    grid-template-columns: 1fr;
  }
  .category-filter-sidebar {
    position: static;
    margin-bottom: 16px;
  }
  .category-hero-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .category-hero-content {
    max-width: 100%;
  }
}

/* ===================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS SUITE (<= 768px & <= 480px)
   =================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 768px) {
  /* Header 2-Row Mobile App Layout */
  .main-header {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas: 
      "logo actions"
      "search search" !important;
    gap: 8px 10px !important;
    padding: 8px 12px 10px !important;
    align-items: center !important;
  }

  .brand-logo {
    grid-area: logo !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .brand-title {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .header-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .search-container {
    grid-area: search !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #becomeSellerBtn {
    display: none !important;
  }

  .auth-btn {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  .header-cart-btn {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  /* Horizontal Category Bar on Mobile */
  .category-bar {
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .category-item {
    min-width: 68px !important;
    max-width: 74px !important;
    padding: 4px 6px !important;
  }

  .category-img {
    width: 44px !important;
    height: 44px !important;
  }

  .category-name {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  /* Clearance Sale Hero Announcement on Mobile */
  .clearance-banner {
    padding: 8px 12px !important;
    margin: 0 0 8px 0 !important;
  }

  .clearance-banner-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .clearance-banner-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .clearance-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .clearance-sub {
    font-size: 11px !important;
  }

  .clearance-banner-right {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .clearance-cta-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  /* Bank Offer Strip */
  .bank-offer-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  /* Checkout Modal & Address Form */
  .checkout-modal {
    width: 95% !important;
    max-width: 95% !important;
    padding: 18px 14px !important;
    margin: auto !important;
    max-height: 94vh !important;
    border-radius: 12px !important;
  }

  .checkout-row-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .checkout-row-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .auth-input {
    font-size: 14px !important;
    padding: 10px 12px !important;
    height: 42px !important;
  }

  /* Horizontal Category Shelves */
  .products-grid.horizontal-shelf {
    gap: 10px !important;
    padding: 4px 0 10px !important;
  }

  .products-grid.horizontal-shelf .product-card {
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    padding: 10px 8px !important;
  }

  .shelf-header {
    padding: 10px 12px 6px !important;
  }

  .shelf-title {
    font-size: 15px !important;
  }

  .btn-view-more {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Cart & Payment Drawer */
  .cart-drawer-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
    max-height: 92vh !important;
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important;
    background: #ffffff !important;
    border-top: 1px solid #e0e0e0 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08) !important;
    z-index: 1000 !important;
    justify-content: space-around !important;
    align-items: center !important;
  }

  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  .mobile-nav-item.active {
    color: #2874f0 !important;
  }

  .mobile-nav-icon {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .products-grid.horizontal-shelf .product-card {
    flex: 0 0 155px !important;
    width: 155px !important;
    min-width: 155px !important;
    padding: 8px 6px !important;
  }

  .product-img-wrap {
    height: 115px !important;
  }

  .product-title {
    font-size: 11px !important;
    height: 28px !important;
  }

  .price-main {
    font-size: 14px !important;
  }

  .product-btn-group button {
    font-size: 11px !important;
    padding: 6px 4px !important;
  }
}

/* Atibar Special Sale Tag Pill */
.atibar-tag-pill {
  animation: pulseAtibar 2s infinite ease-in-out;
}

@keyframes pulseAtibar {
  0% { transform: scale(1); box-shadow: 0 2px 6px rgba(124,58,237,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 4px 12px rgba(124,58,237,0.7); }
  100% { transform: scale(1); box-shadow: 0 2px 6px rgba(124,58,237,0.4); }
}

/* =========================================================
   LIVE ORDER TRACKING SYSTEM (FLIPKART STYLE)
========================================================= */
.track-order-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.track-modal-card {
  max-width: 680px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 0;
  background: #f1f3f6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.track-section-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

/* Stepper Vertical Layout */
.track-stepper {
  position: relative;
  padding: 10px 0 10px 24px;
}

.track-step-item {
  position: relative;
  padding-bottom: 24px;
}

.track-step-item:last-child {
  padding-bottom: 0;
}

/* Vertical Line connecting steps */
.track-step-item::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 18px;
  bottom: 0;
  width: 3px;
  background: #e2e8f0;
}

.track-step-item:last-child::before {
  display: none;
}

.track-step-item.done::before {
  background: #22c55e;
}

.track-step-item.active::before {
  background: linear-gradient(to bottom, #22c55e 0%, #2563eb 50%, #e2e8f0 100%);
}

/* Step Dot Icon */
.track-step-dot {
  position: absolute;
  left: -26px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  z-index: 2;
}

.track-step-item.done .track-step-dot {
  background: #22c55e;
  border-color: #22c55e;
}

.track-step-item.active .track-step-dot {
  background: #2563eb;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  animation: pulseTrackDot 1.6s infinite ease-in-out;
}

@keyframes pulseTrackDot {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.track-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-step-item.done .track-step-title {
  color: #15803d;
}

.track-step-item.active .track-step-title {
  color: #1d4ed8;
}

.track-step-desc {
  font-size: 12px;
  color: #64748b;
  margin: 3px 0 0;
  line-height: 1.4;
}

.track-step-time {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

/* Product Row inside Tracking */
.track-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.track-product-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  padding: 4px;
}

/* =========================================================
   PRODUCT SHARING SYSTEM
========================================================= */
.share-card-btn {
  position: absolute;
  top: 10px;
  right: 48px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-card-btn:hover {
  color: #2874f0;
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(40, 116, 240, 0.25);
}

.pdp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-share-btn:hover {
  background: #e2e8f0;
  color: #2874f0;
  border-color: #93c5fd;
}

.share-modal-card {
  max-width: 450px;
  width: 92%;
  border-radius: 16px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.share-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  padding: 16px 20px;
}

.share-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 8px;
  transition: transform 0.15s;
}

.share-social-btn:hover {
  transform: translateY(-2px);
}

.share-social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.share-social-btn span {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}

.share-copy-wrap {
  padding: 0 20px 20px;
}

.share-copy-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 6px 4px 12px;
  gap: 8px;
}

.share-copy-box input {
  flex: 1;
  background: none;
  border: none;
  font-size: 13px;
  color: #475569;
  outline: none;
  font-family: inherit;
}

