/* Ensure all sections are visible by default */
.hero-section, .offer-section, .bestseller-section, .why-choose-modern, 
.stone-collection, .achievements-section, .testimonial-carousel-section {
  visibility: visible !important;
}

.container {
  opacity: 1 !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
              url('../img/hero.webp') center/cover no-repeat;
  height: 86vh;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

/* Headings */
.hero-title {
  color: #1A1ACC;
  font-size: 3rem;
  animation: fadeInUp 1.2s ease forwards;
}
.hero-subtitle {
  color: #333;
  animation: fadeInUp 1.6s ease forwards;
}

/* Button with Shine Effect */
.hero-btn {
  background-color: #1A1ACC;
  color: #fff;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-25deg);
}

.hero-btn:hover::before {
  animation: shine 1.2s forwards;
}
.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(26,26,204,0.3);
  color: #fff;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}
.category-slide {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
  }

  .category-slide img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    transition: transform 0.4s ease;
  }

  .category-slide:hover img {
    transform: scale(1.05);
  }

  .category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(38, 37, 37, 0.6);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: all 0.4s ease;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .category-slide:hover .category-overlay {
    opacity: 1;
    visibility: visible;
  }

  .category-link {
    display: block;
    position: relative;
    text-decoration: none;
  }
/* Decorative Wave */
.custom-shape-divider-bottom-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.custom-shape-divider-bottom-hero svg {
  position: relative;
  display: block;
  width: calc(149% + 1.3px);
  height: 90px;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    height: auto;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  /*.swiper img {*/
  /*  max-width: 85%;*/
  /*  height: auto;*/
  /*}*/
}
.bestseller-section {
  position: relative;
  overflow: hidden;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  min-height: 420px;
  /*padding: 2rem 1.2rem !important;*/
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(26,26,204,0.2);
}

.product-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.product-card:hover img {
  transform: scale(1.08);
}

.stars i {
  margin: 0 1px;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #1A1ACC !important;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(26,26,204,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(26,26,204,0.15);
  transform: scale(1.1);
}

/* Pagination */
.swiper-pagination-bullet {
  background-color: #1A1ACC !important;
  opacity: 0.3;
  width: 10px;
  height: 10px;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive Layout Fixes */
@media (max-width: 992px) {
  .bestseller-section {
    padding: 60px 0;
  }
  .product-card {
    min-height: 380px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
.why-choose-modern {
  background: linear-gradient(145deg, #ffffff 0%, #f4f6ff 100%);
  position: relative;
}

/* GRID LAYOUT */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

/* CHOOSE BOX STYLE */
.choose-box {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26,26,204,0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(26,26,204,0.08);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.choose-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0%; height: 100%;
  background: linear-gradient(90deg, rgba(26,26,204,0.05), rgba(26,26,204,0.1));
  transition: width 0.6s ease;
  z-index: 0;
}
.choose-box:hover::before {
  width: 100%;
}
.choose-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(26,26,204,0.15);
}

/* ICON */
.icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(26,26,204,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}
.icon i {
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.4s ease;
}
.choose-box:hover .icon i {
  transform: scale(1.2);
}

/* CONTENT */
.choose-box h5 {
  color: #1A1ACC;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}
.choose-box p {
  color: #000;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CENTER BOX */
.center {
  transform: scale(1.05);
  background: linear-gradient(145deg, #ffffff 0%, #f7f8ff 100%);
  border: 1px solid rgba(26,26,204,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .center { transform: scale(1); }
  .choose-box { padding: 2rem; }
  .icon { width: 60px; height: 60px; }
}
.stone-collection {
  background: linear-gradient(135deg, #ffffff 0%, #f6f8ff 100%);
  position: relative;
  overflow: hidden;
}

/* Stone Card */
.stone-card {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(26,26,204,0.05);
  transition: all 0.45s ease;
  border: 1px solid rgba(26,26,204,0.05);
  background: rgba(255,255,255,0.9);
}
.stone-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(26,26,204,0.15);
}

/* Stone Image */
.stone-img {
  height: 250px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}
.stone-img img {
  transition: all 0.6s ease;
}
.stone-card:hover .stone-img img {
  transform: scale(1.08);
}

/* Reflective Overlay */
.stone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,26,204,0.12) 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  border-radius: 16px;
}
.stone-card:hover .stone-overlay {
  opacity: 1;
  transform: scale(1.05);
}

/* Divider */
.divider {
  width: 40px;
  height: 2px;
  background: #1A1ACC;
  border-radius: 5px;
  opacity: 0.6;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: #1A1ACC !important;
  background: rgba(26,26,204,0.05);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(26,26,204,0.15);
  transform: scale(1.1);
}
.swiper-pagination-bullet {
  background-color: #1A1ACC !important;
  opacity: 0.3;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .stone-img { height: 220px; }
}
@media (max-width: 576px) {
  .stone-img { height: 200px; }
}
.achievements-section {
  background-color: #fff;
  border-top: 1px solid #e6e8f0;
  border-bottom: 1px solid #e6e8f0;
  position: relative;
}

/* Grid Boxes */
.achievement-box {
  background: #fff;
  border: 1px solid #e7e7ef;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.achievement-box:hover {
  transform: translateY(-6px);
  border-color: #1A1ACC;
  box-shadow: 0 10px 30px rgba(26,26,204,0.08);
}

/* Icons */
.achievement-icon {
  color: #1A1ACC;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  width: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(26,26,204,0.2);
  background-color: rgba(26,26,204,0.05);
  transition: all 0.3s ease;
}
.achievement-box:hover .achievement-icon {
  background-color: #1A1ACC;
  color: #fff;
}

/* Counter Text */
.counter {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1A1ACC;
  margin-bottom: 0.3rem;
}

/* Label */
.achievement-box p {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .counter {
    font-size: 1.8rem;
  }
  .achievement-icon {
    height: 60px;
    width: 60px;
  }
}
/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Content Wrapper */
.preloader-content {
  text-align: center;
  color: #1A1ACC;
}

/* Logo Area */
.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 20px;
}


.preloader-logo h4 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1A1ACC;
}

/* Animated Bars */
.loading-bars {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.loading-bars span {
  display: inline-block;
  width: 10px;
  height: 25px;
  background-color: #1A1ACC;
  border-radius: 3px;
  animation: grow 1s ease-in-out infinite;
}

.loading-bars span:nth-child(1) { animation-delay: 0s; }
.loading-bars span:nth-child(2) { animation-delay: 0.1s; }
.loading-bars span:nth-child(3) { animation-delay: 0.2s; }
.loading-bars span:nth-child(4) { animation-delay: 0.3s; }

@keyframes grow {
  0%, 100% { height: 15px; opacity: 0.7; }
  50% { height: 30px; opacity: 1; }
}

/* Responsive */
@media (max-width: 576px) {
  .logo-circle { width: 45px; height: 45px; }
  .preloader-logo h4 { font-size: 2rem; }
}
/* Toggler Icon Theme */
.navbar-toggler .toggler-icon {
  color: #1A1ACC; /* Royal blue theme */
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-toggler:hover .toggler-icon {
  color: #000; /* Slightly darkens on hover for contrast */
  transform: scale(1.1);
}

/* Optional: active state (when menu is open) */
.navbar-toggler[aria-expanded="true"] .toggler-icon {
  color: #1A1ACC;
  transform: rotate(90deg);
}
/* ======= NAVBAR BASE ======= */
.modern-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1050;
  background-color: #ffffff;
  border-bottom: 1px solid #e8eaf0;
  transition: all 0.3s ease;
}
.scrolled {
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

/* Brand Logo */
.logo {
  transition: transform 0.3s ease;
}
.navbar-brand:hover .logo {
  transform: scale(1.05);
}

/* Nav Links */
.nav-link {
  color: #1A1ACC;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0 !important;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #1A1ACC;
  transition: width 0.3s ease;
  border-radius: 2px;
  color: black;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  color: black;
}
.nav-link.active {
  font-weight: 600;
}

/* ======= SEARCH BAR ======= */
.search-bar .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.search-bar .search-input:focus {
  outline: none;
  border-color: #1A1ACC;
  box-shadow: 0 0 0 0.25rem rgba(26, 26, 204, 0.1);
}

.search-bar .search-btn i {
  font-size: 1.1rem;
  color: #1A1ACC;
  transition: color 0.3s ease;
}

.search-bar .search-btn:hover i {
  color: #000;
}

/* ======= CART ======= */
.cart-icon {
  color: #1A1ACC;
  transition: all 0.3s ease;
}
.cart-icon:hover {
  transform: translateY(-2px);
  color: #000;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: #ff4b4b;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======= MOBILE MENU ======= */
.navbar-collapse {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  animation: fadeDown 0.3s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.navbar-toggler {
  color: #1A1ACC !important;
}
@media (max-width: 992px) {
  .nav-link { text-align: center; }
  .search-bar {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }
  .search-input { width: 100% !important; }
}
/* ===== Modern Footer ===== */
.modern-footer {
  background: #1A1ACC;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Headings */
.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.footer-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
}

/* Text */
.footer-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links a:hover::after {
  width: 100%;
}

/* Contact Info */
.footer-contact li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: #fff;
  color: #1A1ACC;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  border-color: rgba(255,255,255,0.15) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-title {
    font-size: 1.3rem;
  }
  .footer-subtitle {
    font-size: 1rem;
  }
}
.footer-bottom-bar-white {
  background: #ffffff;
  border-top: 1px solid rgba(26,26,204,0.06); /* subtle blue top line */
  box-shadow: 0 -6px 18px rgba(9, 30, 66, 0.04); /* light neutral shadow */
  color: #1A1ACC;
}

/* Layout text */
.footer-text {
  color: #39404a; /* muted dark for body copy on white */
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

/* Brand name uses brand-blue */
.brand-name {
  color: #1A1ACC;
  font-weight: 600;
  margin-left: 6px;
}

/* Heart */
.heart {
  color: #e24b4b;
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
}

/* Developer link */
.dev-link {
  color: #1A1ACC;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease, transform 0.18s ease;
}
.dev-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #1A1ACC;
  transition: width 0.25s ease;
  opacity: 0.9;
}
.dev-link:hover {
  color: #0f56b8;
  transform: translateY(-2px);
}
.dev-link:hover::after {
  width: 100%;
}

/* Make sure the small screens look tidy */
@media (max-width: 768px) {
  .footer-text { font-size: 0.9rem; display: block; }
  .dev-link { display: inline-block; margin-top: 6px; }
  .footer-bottom-bar-white { padding: 18px 0; }
}
/* ===== Back to Top (Elegant Royal-Blue Theme) ===== */
.back-to-top {
  --blue: #1A1ACC;
  position: fixed;
  right: 22px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(26,26,204,0.15);
  z-index: 1100;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 220ms ease;
  opacity: 0;              /* keep hidden by default; your JS should add .show or change opacity */
  pointer-events: none;    /* disabled until shown by JS */
  transform: translateY(8px);
  border: 1px solid rgba(255,255,255,0.06);
}

/* When JS toggles visibility, add a "show" class or remove inline styles */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Icon sizing */
.back-to-top .fa {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

/* Hover / focus states (keyboard accessible) */
.back-to-top:hover,
.back-to-top:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(26,26,204,0.18);
  outline: none;
}

/* Focus visible for keyboard users */
.back-to-top:focus-visible {
  box-shadow: 0 0 0 4px rgba(26,26,204,0.12), 0 12px 32px rgba(26,26,204,0.12);
  border-color: rgba(255,255,255,0.14);
}

/* Small screens: slightly smaller, less intrusive */
@media (max-width: 576px) {
  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .back-to-top .fa { font-size: 16px; }
}

/* Optional subtle pulse when visible (unobtrusive) */
.back-to-top.show.pulse {
  animation: pulseBtn 3.6s infinite;
}
@keyframes pulseBtn {
  0%   { box-shadow: 0 12px 30px rgba(26,26,204,0.12); }
  50%  { box-shadow: 0 18px 40px rgba(26,26,204,0.16); }
  100% { box-shadow: 0 12px 30px rgba(26,26,204,0.12); }
}
a:hover {
  color: #000 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}
/* ===== About Section ===== */
.about-section {
  background: #fff;
}

/* Image */
.about-image {
  border: 3px solid #1A1ACC;
  box-shadow: 0 10px 30px rgba(26, 26, 204, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}
.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(26, 26, 204, 0.15);
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 204, 0.05), transparent);
}

/* Text */
.about-text {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

/* Feature Cards */
.about-feature {
  border: 1.5px solid rgba(26,26,204,0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f9f9ff;
  cursor: default;
}
.about-feature:hover {
  background: #1A1ACC;
  color: #fff;
  border-color: #1A1ACC;
  transform: translateY(-4px);
}
.about-feature i {
  color: #1A1ACC;
  font-size: 1.5rem;
  margin-right: 12px;
  transition: all 0.3s ease;
}
.about-feature:hover i {
  color: #fff;
}
/* Responsive */
@media (max-width: 768px) {
  .about-text {
    font-size: 1rem;
  }
  .about-feature {
    flex-direction: column;
    text-align: center;
  }
  .about-feature i {
    margin-bottom: 8px;
  }
}

.spiritual-shop h1 {
  color: #1A1ACC;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.spiritual-shop p {
  color: #6c757d;
  max-width: 720px;
  margin: 0 auto;
}

/* --- Filters --- */
.theme-input,
.theme-select {
  border: 1.5px solid rgba(26,26,204,0.3);
  border-radius: 10px;
  background: #f8f9ff;
  font-weight: 500;
  transition: 0.3s ease;
}
.theme-input:focus,
.theme-select:focus {
  border-color: #1A1ACC;
  box-shadow: 0 0 0 0.15rem rgba(26,26,204,0.1);
  outline: none;
}

/* Range */
#priceRange {
  width: 100%;
  accent-color: #1A1ACC;
}
#priceOutput {
  color: #000;
  font-weight: 600;
}

/* --- Product Cards --- */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Image */
.card-img-container {
  position: relative;
  overflow: hidden;
}
.card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Badges */
.badge-best-seller,
.badge-highlight {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1A1ACC;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.badge-highlight {
  left: auto;
  right: 12px;
  background: #000;
}

/* Category Badge */
.category-badge {
  background: rgba(26,26,204,0.1);
  color: #1A1ACC;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Text */
.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #000;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1A1ACC;
}

/* Button */
.add-to-cart-btn {
  background-color: #1A1ACC;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 14px;
  transition: 0.3s ease;
}
.add-to-cart-btn:hover {
  background-color: #000;
  transform: translateY(-2px);
}
.add-to-cart-btn.added {
  background-color: #28a745 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .card-img-top {
    height: 200px;
  }
  .card-title {
    font-size: 1rem;
  }
  .product-price {
    font-size: 1rem;
  }
}
:root {
  --royal-blue: #4169E1;
  --royal-blue-dark: #1e40af;
  --royal-blue-light: #60a5fa;
}

.text-royal-blue {
  color: var(--royal-blue) !important;
}

.bg-royal-blue {
  background-color: var(--royal-blue) !important;
}

.btn-royal-blue {
  background-color: var(--royal-blue);
  border: 2px solid var(--royal-blue);
  color: white;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-royal-blue:hover {
  background-color: #000;
  border-color: #000;
  color: white;
  transform: translateY(-2px);
}

.btn-royal-blue.added {
  background-color: #000;
  border-color: #000;
}

.shop-section {
  background: #fff;
}

.product-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb !important;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--royal-blue) !important;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.form-control,
.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.15);
}

#priceRange {
  accent-color: var(--royal-blue);
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 8px;
}

.bg-black {
  background-color: #000 !important;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }
  
  .shop-section {
    padding-top: 6rem !important;
  }
}

/* Performance optimizations */
.product-item {
  will-change: transform;
}

.card-img-top {
  will-change: transform;
}

.text-primary { color: var(--royal-blue) !important; }
.bg-primary { background-color: var(--royal-blue) !important; }

.added {
  background-color: var(--black) !important;
  color: var(--white) !important;
}
.added i {
  color: var(--white) !important;
}
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(26,26,204,0.2);
}
.card-img-top {
  height: 250px;
  object-fit: cover;
}
.form-control,
.form-select {
  border: 1.5px solid rgba(26,26,204,0.2);
  border-radius: 8px;
  transition: 0.3s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 0.1rem rgba(26,26,204,0.15);
}
#priceRange {
  accent-color: var(--royal-blue);
}
.badge {
  font-weight: 600;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .card-img-top { height: 200px; }
}
/* Track - white */
#priceRange::-webkit-slider-runnable-track {
  background: #fff;
  height: 6px;
  border-radius: 4px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

#priceRange::-moz-range-track {
  background: #fff;
  height: 6px;
  border-radius: 4px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

#priceRange::-ms-track {
  background: #fff;
  height: 6px;
  border-radius: 4px;
  border-color: transparent;
  color: transparent;
}

/* Thumb - royal blue */
#priceRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #1A1ACC;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  box-shadow: 0 0 4px rgba(26, 26, 204, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#priceRange::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(26, 26, 204, 0.6);
}

#priceRange::-moz-range-thumb {
  background: #1A1ACC;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  width: 18px;
  height: 18px;
  box-shadow: 0 0 4px rgba(26, 26, 204, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#priceRange::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(26, 26, 204, 0.6);
}
 /* Offer Section */
    .offer-section {
      background: linear-gradient(135deg, #f8faff, #eef3ff);
      position: relative;
    }

    /* Offer Title */
    .offer-title {
      color: #1A1ACC !important;
      font-weight: 700;
      line-height: 1.2;
    }

    /* Offer Banner */
    .offer-banner {
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      position: relative;
    }
    .offer-banner:hover {
      transform: scale(1.03);
    }

    /* Offer Image */
    .offer-image {
      border-radius: 1rem;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      z-index: 2;
      position: relative;
    }

    /* Glow Reflection Effect */
    .offer-reflection {
      content: "";
      position: absolute;
      bottom: -5%;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(26,26,204,0.25), transparent 70%);
      border-radius: 1rem;
      transform: scaleY(-1);
      opacity: 0.5;
      filter: blur(6px);
      z-index: 1;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }
    .offer-banner:hover .offer-reflection {
      opacity: 0.8;
      filter: blur(4px);
    }

    /* Floating Badge */
    .offer-badge {
      width: 110px;
      height: 110px;
      background: linear-gradient(145deg, #1A1ACC, #2F2FD5);
      color: #fff;
      border: 4px solid #fff;
      box-shadow: 0 10px 25px rgba(26, 26, 204, 0.3);
      transform: translate(20%, -20%) rotate(10deg);
      transition: all 0.4s ease-in-out;
      z-index: 3;
      animation: float-badge 5s ease-in-out infinite;
    }

    .offer-banner:hover .offer-badge {
      transform: translate(20%, -20%) rotate(0deg) scale(1.05);
      box-shadow: 0 12px 30px rgba(26, 26, 204, 0.4);
    }

    .offer-badge span {
      display: block;
      text-align: center;
    }
    .offer-badge .fs-1 {
      font-size: 2rem !important;
      font-weight: 800;
      line-height: 1.2;
    }

    /* Floating Animation */
    @keyframes float-badge {
      0%, 100% { transform: translate(20%, -20%) rotate(10deg); }
      50% { transform: translate(20%, -25%) rotate(8deg); }
    }

    /* Button */
    .btn-outline-primary {
      border-color: #1A1ACC;
      color: #1A1ACC;
      transition: all 0.3s ease-in-out;
    }
    .btn-outline-primary:hover {
      background-color: #1A1ACC;
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(26,26,204,0.25);
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
      .offer-badge {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
        transform: translate(10%, -20%) rotate(8deg);
      }
      .offer-banner img {
        width: 85% !important;
      }
      .offer-reflection {
        width: 85%;
        left: 7.5%;
      }
    }

    @media (max-width: 576px) {
      .offer-section {
        text-align: center;
      }
      .offer-title {
        font-size: 1.8rem !important;
      }
      .offer-badge {
        width: 75px;
        height: 75px;
        font-size: 0.8rem;
      }
      .offer-badge span.fs-1 {
        font-size: 1.4rem !important;
      }
      .offer-reflection {
        height: 80%;
        opacity: 0.4;
      }
    }
    /* Why Choose Us Section Styles */
.why-choose-modern {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.choose-box {
  background: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(26,26,204,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f2ff;
}

.choose-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26,26,204,0.12);
}

.choose-box .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #1A1ACC, #2F2FD5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}

.choose-box h5 {
  color: #1A1ACC;
  font-weight: 600;
  margin-bottom: 1rem;
}

.choose-box p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .choose-box {
    padding: 2rem 1rem;
  }
}
  .about-feature {
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .about-feature:hover {
    background-color: #1A1ACC; /* or your theme color */
    transform: translateY(-5px);
  }

  .about-feature:hover h6,
  .about-feature:hover small,
  .about-feature:hover i {
    color: #fff !important;
  }

  .icon-wrapper {
    font-size: 1.8rem;
    color: #1A1ACC;
    margin-right: 15px;
    transition: color 0.3s ease;
  }

  .about-feature:hover .icon-wrapper {
    color: #fff;
  }

.swiper-pagination {
  position: static !important;
}
