/* वेरिएबल र मुख्य रङ कन्फिगरेशन */
:root {
  --primary-blue: #10346d;
  --blue-dark: #0f2d5e;
  --primary-blue-hover: #0c254e;
  --primary-orange: #ff6a00;
  --primary-orange-hover: #e05600;
  --light-orange-bg: #fff0e6;
  --discount-red: #d32f2f;
  --flash-sale-badge: #ff4d4d;
  --soft-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --premium-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
  font-family: "Mukta", sans-serif;
  background-color: #f6f8fb;
  color: #2b3445;
  overflow-x: hidden;
  padding-top: 0 !important; 
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px;
  }
  .ecommerce-footer { 
    padding-bottom: 70px !important; 
  }
}

/* युटिलिटी क्लासहरू */
.text-blue { color: var(--primary-blue); }
.text-orange { color: var(--primary-orange); }
.bg-blue { background-color: var(--primary-blue); }
.text-dark-blue { color: #0f2d5e; }
.bg-orange-light { background-color: var(--light-orange-bg); }
.bg-blue-light { background-color: #f0f4fa; }
.bg-orange { background-color: var(--primary-orange) !important; }
.font-xs { font-size: 11px; }
.text-xs { font-size: 12px; }
.leading-sm { line-height: 1.2; }
.leading-xs { line-height: 1.1; }
.no-caret::after { display: none !important; }

/* समग्र नेभिगेसन र्‍यापर */
.ecommerce-navigation-wrapper {
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  background: white;
  width: 100%;
  z-index: 1030 !important;
}

/* प्रिमियम आइकन सर्कलहरू */
.action-icon-circle {
  width: 42px;
  height: 42px;
  background-color: #f1f4f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-blue);
  transition: all 0.2s ease;
}

.action-icon-link:hover .action-icon-circle {
  background-color: var(--primary-blue);
  color: white !important;
}
.action-icon-link:hover .action-icon-circle .text-orange {
  color: white !important;
}

/* सर्च बक्स डिजाइन */
.advanced-search-box {
  border: 2px solid var(--primary-blue);
  border-radius: 30px !important;
  overflow: hidden;
}
.btn-search-orange {
  background-color: var(--primary-orange);
  border: none;
  transition: background 0.2s;
}
.btn-search-orange:hover {
  background-color: var(--primary-orange-hover);
}

/* सर्च ड्रपडाउन सजेसन प्यानल */
.search-container { position: relative; }
.search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  z-index: 999;
  border-radius: 0 0 12px 12px;
  margin-top: 4px;
  display: none; 
  overflow: hidden;
}
.search-suggest-item {
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
}
.search-suggest-item:hover {
  background-color: #f8f9fa;
}

/* क्याटेगोरी मेनु र लिङ्कहरू */
.btn-all-categories {
  background-color: var(--blue-dark);
  font-size: 15px;
}
.all-categories-dropdown .dropdown-menu {
  width: 240px;
}
.all-categories-dropdown .dropdown-item:hover {
  background-color: #f1f4f9;
  color: var(--primary-blue);
  padding-left: 20px;
  transition: all 0.2s ease;
}
.nav-link-item {
  font-size: 15px;
  padding: 12px 0;
  display: inline-block;
  opacity: 0.9;
}
.nav-link-item:hover, .nav-link-item.active, .top-link:hover {
  opacity: 1;
  color: var(--primary-orange) !important;
}

/* मोबाइल एप-स्टाइल बटम नेभिगेसन */
.mobile-bottom-nav {
  height: 58px;
  z-index: 1040;
}
.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6c757d;
  font-size: 11px;
  font-weight: 500;
}
.mobile-nav-tab i {
  font-size: 18px;
  margin-bottom: 2px;
}
.mobile-nav-tab.active, .mobile-nav-tab:hover {
  color: var(--primary-blue);
}

/* हिरो र स्वाइपर स्लाइडर (हाइट घटाइएको) */
.hero-swiper-container {
  width: 100%;
  height: 350px; /* डेस्कटप र ठूलो स्क्रिनका लागि पहिले ३०० पिक्सेल थियो */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--premium-shadow);
}

@media (max-width: 575.98px) {
  .hero-swiper-container { 
    height: 175px; /* मोबाइल स्क्रिनका लागि पहिले २०० पिक्सेल थियो */
  }
  .slide-content-overlay { 
    padding: 10px !important; 
    margin-bottom: 10px !important; 
  }
  .slide-title { 
    font-size: 0.95rem !important; 
    line-height: 1.3; 
  }
}

.swiper { width: 100%; height: 100%; }
.swiper-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.slide-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.slide-content-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 500px;
  padding: 15px 25px;
  margin-bottom: 15px;
  text-align: center;
}

.slide-title {
  font-size: calc(1.1rem + 0.5vw);
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.swiper-button-next, .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1rem; font-weight: bold; }
.swiper-button-next:hover, .swiper-button-prev:hover {
  background-color: var(--primary-orange);
  color: white;
  transform: scale(1.05);
}

.swiper-pagination-bullet { background: rgba(255, 255, 255, 0.6); opacity: 1; }
.swiper-pagination-bullet-active {
  background: var(--primary-orange) !important;
  width: 24px;
  border-radius: 5px;
  transition: width 0.3s ease;
}

/* ट्रस्ट ब्याज कार्ड */
.feature-card {
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: #ffffff;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-icon-box {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* फ्ल्याश सेल हेडर र काउन्टडाउन */
.time-block {
  background-color: #333;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
}
.see-all-btn { font-size: 14px; transition: color 0.2s; }
.see-all-btn:hover { color: var(--primary-orange-hover) !important; }

/* प्रिमियम प्रडक्ट कार्ड स्टाइल */
.premium-product-card {
  border: 1px solid #eef2f6 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premium-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 52, 109, 0.08) !important;
}

.product-img-wrapper {
  background-color: #fdfdfd;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-thumb {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.premium-product-card:hover .product-thumb { transform: scale(1.06); }

.discount-badge, .card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary-orange);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
}
.card-tag {
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  z-index: 5;
  letter-spacing: 0.5px;
}

.wishlist-trigger, .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
}
.wishlist-btn {
  top: 12px;
  right: 12px;
  color: #888;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.wishlist-trigger:hover, .wishlist-trigger.active, .wishlist-btn:hover, .wishlist-btn.active {
  color: var(--discount-red);
  background-color: #fff5f5;
  transform: scale(1.1);
}

.product-title {
  font-size: 14px;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-title a { color: #2d3748 !important; transition: color 0.15s; }
.premium-product-card:hover .product-title a { color: var(--primary-blue) !important; }
.progress { background-color: #e2e8f0; border-radius: 10px; }

/* रियल ई-कमर्स प्रडक्ट कार्ड्स */
.product-card {
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #fff;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(22, 64, 129, 0.1);
  border-color: rgba(22, 64, 129, 0.1);
}

.price-section { line-height: 1.3; }
.new-price-text { color: var(--primary-orange); font-weight: 800; font-size: 1.2rem; }
.old-price-text { color: #8fa0b4; text-decoration: line-through; font-size: 0.88rem; margin-right: 6px; }
.discount-badge-percent {
  color: var(--discount-red);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: rgba(211, 47, 47, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.rating-stars { color: #ffb100; font-size: 0.85rem; }

.btn-buy-orange, .btn-buy-blue {
  width: 100%;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  padding: 8px 16px;
  transition: all 0.2s;
  color: white;
}
.btn-buy-orange { background-color: var(--primary-orange); }
.btn-buy-blue { background-color: var(--primary-blue); }

.btn-buy-orange:hover {
  background-color: var(--primary-orange-hover);
  box-shadow: 0 4px 12px rgba(224, 86, 0, 0.25);
}
.btn-buy-blue:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 4px 12px rgba(22, 64, 129, 0.25);
}

.toast-container-custom { position: fixed; bottom: 25px; right: 25px; z-index: 2000; }

.scroll-top-btn {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background-color: var(--primary-orange); transform: translateY(-3px); }

.ecommerce-footer { background-color: #0c254e; }
.footer-heading { color: #ffffff; font-size: 16px; letter-spacing: 0.3px; position: relative; }
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 2px; background-color: var(--primary-orange);
}
.footer-links a { transition: all 0.2s ease; }
.footer-links a:hover { color: var(--primary-orange) !important; padding-left: 5px; }

.app-download-btn { transition: background-color 0.2s, transform 0.2s; min-width: 135px; }
.app-download-btn:hover { background-color: #1a1a1a !important; transform: translateY(-2px); }

.gateway-badge {
  background-color: rgba(255, 255, 255, 0.08); color: #e2e8f0; font-size: 12px; font-weight: bold;
  padding: 5px 12px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1); cursor: default; transition: background 0.2s;
}
.gateway-badge:hover { background-color: rgba(255, 255, 255, 0.15); color: #ffffff; }

.social-icon-btn {
  width: 36px; height: 36px; background-color: rgba(255, 255, 255, 0.05); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #cbd5e1; text-decoration: none; transition: all 0.2s ease; font-size: 14px;
}
.social-icon-btn:hover { background-color: var(--primary-orange); color: white; transform: scale(1.1); }

/* Featured Posts & Headers */
.section-title-wrapper {
  position: relative;
  padding-bottom: 8px;
}
.section-title-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), #ff9e00);
  border-radius: 2px;
}

/* Advanced Product Card Modifications */
.advanced-featured-swiper .product-card {
  border: 1px solid rgba(16, 52, 109, 0.05) !important;
  border-radius: 16px; 
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.advanced-featured-swiper .product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(16, 52, 109, 0.08) !important;
}

/* Glassmorphic Arrow Buttons OVER the Slider */
.nav-btn-custom {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 52, 109, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.nav-btn-custom:hover {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 52, 109, 0.2);
}
.nav-btn-custom.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}