:root {
 --primary-color: #2563eb;
 --secondary-color: #1e40af;
 --accent-color: #f59e0b;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --bg-light: #f9fafb;
 --border-color: #e5e7eb;
 --success-color: #10b981;
 --danger-color: #ef4444;
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Poppins', sans-serif;
 color: var(--text-dark);
 line-height: 1.6;
 overflow-x: hidden;
}

/* Hero Slider */
.hero-slider {
 position: relative;
 height: 600px;
 overflow: hidden;
}

.heroSwiper {
 width: 100%;
 height: 100%;
}

.slide-bg {
 width: 100%;
 height: 100%;
 background-size: cover;
 background-position: center;
 position: relative;
}

.slide-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-content {
 position: relative;
 z-index: 2;
 height: 100%;
 display: flex;
 flex-direction: column;
 justify-content: center;
 color: white;
 max-width: 600px;
}

.slide-heading {
 font-size: 3.5rem;
 font-weight: 700;
 margin-bottom: 1.5rem;
 line-height: 1.2;
 animation: slideInLeft 1s ease-out;
}

.slide-description {
 font-size: 1.25rem;
 margin-bottom: 2rem;
 opacity: 0.95;
 animation: slideInLeft 1s ease-out 0.2s both;
}

.slide-btn {
 display: inline-flex;
 align-items: center;
 padding: 1rem 2.5rem;
 font-size: 1.1rem;
 font-weight: 600;
 border-radius: 50px;
 transition: all 0.3s ease;
 animation: slideInLeft 1s ease-out 0.4s both;
 background: var(--primary-color);
 border: none;
}

.slide-btn:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Animations */
@keyframes slideInLeft {
 from {
  opacity: 0;
  transform: translateX(-50px);
 }
 to {
  opacity: 1;
  transform: translateX(0);
 }
}

@keyframes fadeInUp {
 from {
  opacity: 0;
  transform: translateY(30px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
 color: white;
 background: rgba(255, 255, 255, 0.2);
 width: 50px;
 height: 50px;
 border-radius: 50%;
 backdrop-filter: blur(10px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
 font-size: 20px;
}

.swiper-pagination-bullet {
 background: white;
 opacity: 0.5;
 width: 12px;
 height: 12px;
}

.swiper-pagination-bullet-active {
 opacity: 1;
 background: var(--primary-color);
}

/* Features Section */
.features-section {
 background: white;
}

.feature-box {
 padding: 2rem;
 border-radius: 15px;
 transition: all 0.3s ease;
 background: white;
 border: 2px solid var(--border-color);
}

.feature-box:hover {
 transform: translateY(-10px);
 box-shadow: 0 15px 35px rgba(0,0,0,0.1);
 border-color: var(--primary-color);
}

.feature-icon {
 width: 80px;
 height: 80px;
 margin: 0 auto 1.5rem;
 background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 2rem;
 color: white;
}

.feature-box h5 {
 font-weight: 600;
 margin-bottom: 0.5rem;
 color: var(--text-dark);
}

/* Section Headers */
.section-header {
 margin-bottom: 3rem;
}

.section-title {
 font-size: 2.5rem;
 font-weight: 700;
 color: var(--text-dark);
 margin-bottom: 0.5rem;
}

.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 margin-bottom: 1rem;
}

.title-underline {
 width: 80px;
 height: 4px;
 background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
 margin: 0 auto;
 border-radius: 2px;
}

/* Product Cards */
.product-card {
 background: white;
 border-radius: 15px;
 overflow: hidden;
 transition: all 0.3s ease;
 border: 1px solid var(--border-color);
 position: relative;
}

.product-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-badge {
 position: absolute;
 top: 15px;
 right: 15px;
 background: var(--accent-color);
 color: white;
 padding: 0.4rem 0.8rem;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 z-index: 10;
}

.product-badge.out-of-stock {
 background: var(--danger-color);
}

.product-image {
 position: relative;
 overflow: hidden;
 height: 280px;
}

.product-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
 transform: scale(1.1);
}

.product-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0,0,0,0.7);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
 opacity: 1;
}

.product-info {
 padding: 1.5rem;
}

.product-title {
 font-size: 1.1rem;
 font-weight: 600;
 margin-bottom: 0.5rem;
}

.product-title a {
 color: var(--text-dark);
 text-decoration: none;
 transition: color 0.3s ease;
}

.product-title a:hover {
 color: var(--primary-color);
}

.product-rating {
 margin-bottom: 0.8rem;
}

.product-rating i {
 color: var(--accent-color);
 font-size: 0.9rem;
}

.rating-count {
 color: var(--text-light);
 font-size: 0.9rem;
 margin-left: 0.5rem;
}

.product-price {
 display: flex;
 align-items: center;
 gap: 0.8rem;
}

.current-price {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--primary-color);
}

/* Category Cards */
.category-card {
 display: block;
 border-radius: 15px;
 overflow: hidden;
 position: relative;
 height: 300px;
 text-decoration: none;
}

.category-image {
 width: 100%;
 height: 100%;
 position: relative;
}

.category-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
 transform: scale(1.1);
}

.category-overlay {
 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.2) 100%);
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
 padding: 2rem;
 color: white;
}

.category-overlay h4 {
 font-size: 1.8rem;
 font-weight: 700;
 margin-bottom: 0.5rem;
}

.category-link {
 font-size: 1rem;
 opacity: 0;
 transform: translateY(20px);
 transition: all 0.3s ease;
}

.category-card:hover .category-link {
 opacity: 1;
 transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
 background: white;
 padding: 2rem;
 border-radius: 15px;
 box-shadow: 0 5px 20px rgba(0,0,0,0.08);
 text-align: center;
}

.testimonial-rating {
 margin-bottom: 1rem;
}

.testimonial-rating i {
 color: #ddd;
 font-size: 1.2rem;
}

.testimonial-rating i.active {
 color: var(--accent-color);
}

.testimonial-text {
 font-size: 1rem;
 color: var(--text-light);
 margin-bottom: 1.5rem;
 font-style: italic;
 line-height: 1.8;
}

.testimonial-author {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 1rem;
}

.testimonial-author img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--primary-color);
}

.testimonial-author h6 {
 margin: 0;
 font-weight: 600;
 color: var(--text-dark);
}

/* Newsletter */
.newsletter-section {
 background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.newsletter-box {
 background: white;
 padding: 3rem;
 border-radius: 20px;
 box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.newsletter-title {
 font-size: 2rem;
 font-weight: 700;
 color: var(--text-dark);
 margin-bottom: 0.5rem;
}

.newsletter-text {
 color: var(--text-light);
 font-size: 1.1rem;
}

.newsletter-form .input-group {
 box-shadow: 0 5px 20px rgba(0,0,0,0.1);
 border-radius: 50px;
 overflow: hidden;
}

.newsletter-form .form-control {
 border: none;
 padding: 1rem 1.5rem;
 font-size: 1rem;
}

.newsletter-form .btn {
 padding: 1rem 2rem;
 border-radius: 0 50px 50px 0;
 font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
 .slide-heading {
  font-size: 2rem;
 }

 .slide-description {
  font-size: 1rem;
 }

 .section-title {
  font-size: 2rem;
 }

 .hero-slider {
  height: 400px;
 }

 .newsletter-box {
  padding: 2rem;
 }
}

/* Smooth Scrolling */
html {
 scroll-behavior: smooth;
}

/* Loading Animation */
.btn-white {
 background: white;
 color: var(--primary-color);
 border: none;
}

.btn-white:hover {
 background: var(--primary-color);
 color: white;
}

.offcanvas {
    z-index: 1085;
}
.offcanvas-backdrop {
    z-index: 1080;
}
/* Height of fixed top navbar */
:root {
    --top-navbar-height: 264px; /* adjust if your navbar is taller */
}

/* Push offcanvas below fixed header */
.offcanvas {
    top: var(--top-navbar-height);
    height: calc(100vh - var(--top-navbar-height));
}

/* Backdrop also respects header */
.offcanvas-backdrop {
    top: var(--top-navbar-height);
    height: calc(100vh - var(--top-navbar-height));
}
#filtersOffcanvas {
    width: 280px; /* clean, compact */
}
@media (max-width: 576px) {
    #filtersOffcanvas {
        width: 260px;
    }
}
.filters-toggle-fixed {
    position: fixed;
    top: calc(var(--top-navbar-height) + 10px);
    left: 10px;
    z-index: 1090;
}

 .product-img-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
 }

 .product-img {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
 }
 .sbar_delme{max-width: 260px; overflow-y: scroll; padding-bottom: 250px !important;}
 .mcontent_delme{margin-left: 260px;}
