:root {
    --primary-color: #4CAF50;
    --primary-dark: #3e8e41;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
  }
  
  a{
      text-decoration: none;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
  }
  
  .navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
  }
  
  .nav-link {
    font-weight: 500;
  }
  
  .search-form {
    position: relative;
  }
  
  .search-form input {
    border-radius: 20px;
    padding-left: 40px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
  }
  
  .search-icon {
    position: absolute;
    left: 15px;
    top: 10px;
    color: var(--text-light);
  }
  
  .page-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
  
  .page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .product-img-container {
    position: relative;
    overflow: hidden;
    padding-top: 15px;
  }
  
  .product-img {
    transition: transform 0.5s;
    max-height: 180px;
    object-fit: contain;
  }
  
  .product-card:hover .product-img {
    transform: scale(1.05);
  }
  
  .product-details {
    padding: 1.25rem;
  }
  
  .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
  }
  
  .product-price del {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9rem;
    margin-right: 0.5rem;
  }
  
  .sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
  }
  
  .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
    transition: all 0.3s;
  }
  
  .wishlist-btn:hover {
    background-color: #ffebee;
  }
  
  .wishlist-btn i {
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
  }
  
  .wishlist-btn:hover i {
    color: #e53935;
  }
  
  .rating {
    color: #ffc107;
    margin-bottom: 0.75rem;
  }
  
  .buy-btn {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    padding: 0.5rem 0;
    transition: all 0.3s;
    border: none;
  }
  
  .buy-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
  }
  
  .buy-btn i {
    margin-left: 0.5rem;
  }
  
  .whatsapp-icon {
    position: fixed;
    bottom: 90px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-icon i {
    font-size: 2rem;
    color: var(--white);
  }
  
  .cart-icon {
    position: relative;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @media (max-width: 767.98px) {
    .navbar-brand {
      font-size: 1.2rem;
    }
    
    .search-form {
      width: 100%;
      margin: 0.5rem 0;
    }
    
    .product-card {
      margin-bottom: 1rem;
    }
  }
  /* Footer Styles */
footer {
background-color: #F4F4F4;
font-size: 14px;
color: #212529;
}

.footer-links h5 {
font-size: 0.9rem;
letter-spacing: 0.5px;
}

.footer-links a {
color: #495057;
transition: color 0.3s;
}

.footer-links a:hover {
color: #4CAF50;
}

.social-icon {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: #f1f3f5;
transition: all 0.3s;
}

.social-icon:hover {
background-color: #e9ecef;
transform: translateY(-3px);
}

.newsletter .form-control {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border: 1px solid #ced4da;
}

.newsletter .btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
background-color: #4CAF50;
border-color: #4CAF50;
}

.newsletter .btn:hover {
background-color: #3e8e41;
border-color: #3e8e41;
}

.payment-icons img {
transition: transform 0.3s;
height: 30px;
object-fit: contain;
}

.payment-icons img:hover {
transform: translateY(-3px);
}

.scroll-top {
position: fixed;
bottom: 20px;
right: 40px;
background-color: #4CAF50;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
z-index: 999;
transition: all 0.3s;
opacity: 0;
visibility: hidden;
}

.scroll-top.active {
opacity: 1;
visibility: visible;
}

.scroll-top:hover {
background-color: #3e8e41;
transform: translateY(-3px);
}

@media (max-width: 767.98px) {
.payment-icons {
  text-align: center;
  margin-top: 15px;
}

.newsletter {
  text-align: left;
}
}
/* ............................................... */
/* Categories Section Styles */
.categories-section {
padding: 50px 0;
background-color: #f8f9fa;
}

.section-header {
text-align: center;
margin-bottom: 40px;
}

.section-title {
font-size: 32px;
font-weight: 700;
margin-bottom: 10px;
position: relative;
display: inline-block;
}

.section-title:after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background-color: #007bff;
}

.section-subtitle {
color: #6c757d;
font-size: 16px;
max-width: 600px;
margin: 0 auto;
}

.categories-slider-container {
position: relative;
padding: 10px 0;
}

/* Category Card Styles */
.category-card {
display: block;
position: relative;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
height: 100%;
text-decoration: none;
color: inherit;
background-color: #fff;
}

.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.category-image {
position: relative;
overflow: hidden;
padding-top: 75%; /* 4:3 aspect ratio */
}

.category-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
transform: scale(1.08);
}

.category-info {
padding: 20px;
text-align: center;
position: relative;
}

.category-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
color: #212529;
transition: color 0.3s ease;
}

.category-card:hover .category-title {
color: #007bff;
}

.category-count {
display: block;
font-size: 14px;
color: #6c757d;
margin-bottom: 12px;
}

.category-link {
display: inline-block;
font-size: 14px;
font-weight: 600;
color: #007bff;
position: relative;
padding-bottom: 2px;
}

.category-link:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #007bff;
transition: width 0.3s ease;
}

.category-card:hover .category-link:after {
width: 100%;
}

.category-link i {
margin-left: 5px;
transition: transform 0.3s ease;
}

.category-card:hover .category-link i {
transform: translateX(5px);
}

/* Swiper Customization */
.categoriesSwiper {
padding: 10px 5px 50px;
}

.swiper-button-next,
.swiper-button-prev {
color: #007bff;
background-color: #fff;
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
font-size: 18px;
font-weight: bold;
}

.swiper-button-next {
right: 10px;
}

.swiper-button-prev {
left: 10px;
}

.swiper-pagination-bullet {
width: 10px;
height: 10px;
background-color: #007bff;
opacity: 0.5;
}

.swiper-pagination-bullet-active {
opacity: 1;
background-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
.section-title {
  font-size: 28px;
}

.category-title {
  font-size: 16px;
}

.category-info {
  padding: 15px;
}
}


.promo-section {
position: relative;
color: #fff;
padding: 40px;
margin-bottom: 20px;
border-radius: 10px;
background-size: cover;
background-position: center;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
transition: transform 0.3s;
overflow: hidden;
}

.promo-section:hover {
transform: translateY(-5px);
}

.promo-section:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.4);
z-index: 1;
}

.promo-section h2 {
font-size: 24px;
font-weight: bold;
position: relative;
z-index: 2;
max-width: 90%;
}

.promo-section .btn {
align-self: flex-start;
position: relative;
z-index: 2;
border-width: 2px;
font-weight: 500;
}

/* Swiper navigation button styles */
.swiper-button-next, .swiper-button-prev {
color: #007bff;
}

.swiper-pagination-bullet-active {
background-color: #007bff;
}


.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .swiper-slide {
    display: flex;
    justify-content: center;
  }
  .card {
    border: none;
    text-align: center;
    width: 200px;
  }
  .card-img-top {
    width: 100%;
    height: auto;
  }
  .sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 12px;
  }
  .card-body {
    padding: 10px 0;
  }
  .card-title {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .price {
    font-size: 14px;
    font-weight: bold;
    color: black;
  }
  .original-price {
    font-size: 12px;
    color: grey;
    text-decoration: line-through;
    margin-left: 5px;
  }
  .rating {
    color: #f5c518;
    font-size: 12px;
    margin: 5px 0;
  }
  .wishlist-btn {
    background: none;
    border: none;
    color: #28a745;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  .wishlist-btn i {
    margin-right: 5px;
  }


  /* Bestsellers Section Styles */
.bestsellers-container {
padding: 30px 0;
}

.section-header {
text-align: center;
margin-bottom: 40px;
}

.section-title {
font-size: 32px;
font-weight: 700;
margin-bottom: 10px;
position: relative;
display: inline-block;
}

.section-title:after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background-color: #007bff;
}

.section-subtitle {
color: #6c757d;
font-size: 16px;
max-width: 600px;
margin: 0 auto;
}

/* Product Card Styles */
.product-card {
position: relative;
background-color: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
position: absolute;
top: 15px;
left: 15px;
background-color: #ff3a3a;
color: white;
font-size: 12px;
font-weight: 600;
padding: 5px 10px;
border-radius: 20px;
z-index: 2;
}

.product-image {
position: relative;
overflow: hidden;
padding-top: 100%;
}

.product-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
transform: scale(1.05);
}

.product-actions {
position: absolute;
bottom: -50px;
left: 0;
right: 0;
display: flex;
justify-content: center;
gap: 10px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.9);
transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
bottom: 0;
}

.action-btn {
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
border: 1px solid #e0e0e0;
color: #333;
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
}

.action-btn:hover {
background-color: #007bff;
border-color: #007bff;
color: #fff;
}

.cart-btn:hover {
background-color: #28a745;
border-color: #28a745;
}

.wishlist-btn:hover {
background-color: #dc3545;
border-color: #dc3545;
}

.product-info {
padding: 20px;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.product-category {
font-size: 12px;
color: #6c757d;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
}

.product-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 10px;
line-height: 1.4;
height: 45px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.product-rating {
display: flex;
align-items: center;
margin-bottom: 12px;
color: #ffc107;
font-size: 14px;
}

.rating-count {
color: #6c757d;
font-size: 12px;
margin-left: 5px;
}

.product-price {
margin-top: auto;
display: flex;
align-items: center;
flex-wrap: wrap;
}

.current-price {
font-size: 18px;
font-weight: 700;
color: #212529;
}

.original-price {
font-size: 14px;
color: #6c757d;
text-decoration: line-through;
margin-left: 8px;
}

.discount-badge {
background-color: #28a745;
color: white;
font-size: 12px;
font-weight: 600;
padding: 3px 8px;
border-radius: 12px;
margin-left: 8px;
}

/* Swiper Customization */
.bestsellersSwiper {
padding: 10px 5px 50px;
}

.swiper-button-next,
.swiper-button-prev {
color: #007bff;
background-color: #fff;
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
font-size: 18px;
font-weight: bold;
}

.swiper-button-next {
right: 10px;
}

.swiper-button-prev {
left: 10px;
}

.swiper-pagination-bullet {
width: 10px;
height: 10px;
background-color: #007bff;
opacity: 0.5;
}

.swiper-pagination-bullet-active {
opacity: 1;
background-color: #007bff;
}

/* View All Button */
.view-all-container {
text-align: center;
margin-top: 20px;
}

.view-all-btn {
display: inline-block;
padding: 10px 25px;
background-color: transparent;
border: 2px solid #007bff;
color: #007bff;
font-weight: 600;
border-radius: 30px;
text-decoration: none;
transition: all 0.3s ease;
}

.view-all-btn:hover {
background-color: #007bff;
color: white;
transform: translateY(-3px);
}

.view-all-btn i {
margin-left: 5px;
transition: transform 0.3s ease;
}

.view-all-btn:hover i {
transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 767px) {
.section-title {
  font-size: 28px;
}

.product-title {
  font-size: 14px;
  height: 40px;
}

.current-price {
  font-size: 16px;
}

.product-badge {
  font-size: 10px;
  padding: 4px 8px;
}
}

