/* ===================================================
   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;
}

/* ===================================================
   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: var(--shadow-sm);
  margin-bottom: 16px;
  background: #ffffff;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .slider-container {
    height: 320px;
  }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  color: #ffffff;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-content {
  max-width: 550px;
  z-index: 2;
}

.slide-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--fk-yellow);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.15;
}

.slide-subtitle {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.95;
}

.slide-btn {
  background-color: var(--fk-yellow);
  color: #111;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slide-btn:hover {
  background-color: #ffd700;
  transform: translateY(-2px);
}

.slide-img-wrapper {
  max-width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img {
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--fk-blue);
}

.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;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--fk-yellow);
  width: 24px;
  border-radius: 10px;
}

/* ===================================================
   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);
}

/* ===================================================
   PRODUCT GRID & CARDS
   =================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

@media (max-width: 576px) {
  .products-grid {
    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-detail-modal {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  position: relative;
  animation: slideUp 0.25s ease;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.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 */
.clearance-banner {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #f97316 100%);
  color: #ffffff;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 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: #ffffff;
  color: #b91c1c;
  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;
}

.clearance-sub {
  font-size: 12px;
  opacity: 0.92;
}

.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.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.clearance-countdown {
  font-family: monospace;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fef08a;
}

.clearance-cta-btn {
  background: #ffffff;
  color: #b91c1c;
  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: #fef08a;
  transform: translateY(-1px);
}

/* Notification Drawer Card */
.notification-drawer-card {
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.notification-drawer-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-drawer-body {
  padding: 16px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2874f0;
  border-radius: 8px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.notification-item-card.clearance {
  border-left-color: #ef4444;
  background: #fffafa;
}

.notification-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.notification-drawer-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 12px 20px;
}


