html {
  scroll-behavior: smooth;
}

/* header section  */
.navbar-brand span {
  font-weight: 600;
}

/* Hide/bootstrap customize search icon button */
form .btn-link {
  color: #e0363c;
  font-size: 1.2rem;
  padding-left: 0;
  padding-right: 0.6rem;
}

/* Nav spacing fix */
.navbar-nav .nav-link {
  padding-left: 1rem;
  padding-right: 1rem;
}

#mainNavbar {
  position: sticky;
  top: 0;
  z-index: 999;
  transition: top 0.3s;
}

#offerBar {
  transition: all 0.3s ease-in-out;
}


/* footer section  */
.footer-desc {
  font-size: 0.95rem;
}
.footer ul {
  padding-left: 0;
}
.footer .bi {
  font-size: 1rem;
  margin-right: 0.5rem;
}
@media (max-width: 767.98px) {
  .footer .text-end {
    text-align: left !important;
    margin-top: 1rem;
  }
}
.footer .fw-bold {
  color: #e0363c;
}



/* banner section css  */
/* Category block */
/* Scrollable row */
.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox - hide scrollbar */
}

/* Chrome, Edge, Safari */
.category-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, red, white, blue);
    border-radius: 10px;
}

/* Category block */
.category-block {
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.2s ease;
}

/* Gradient border with smaller size */
.category-img {
    width: 150px; /* Smaller size */
    height: 150px;
    margin: 0 auto 0.4rem auto;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    padding: 5px; /* Gradient border thickness */
    background: linear-gradient(90deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

/* Image inside */
.category-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    transition: transform 0.22s;
}

/* Hover effects */
.category-block:hover .category-img {
    padding: 6px; /* Thicker gradient border */
    box-shadow: 0 6px 24px rgba(224,54,60,0.18);
}
.category-block:hover img {
    transform: scale(1.05);
}
.category-block:hover .category-label {
    color: #ff6666; /* Light red */
}

/* Category text */
.category-label {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

/* Responsive */
@media (max-width: 767px) {
    .category-img {
        width: 120px;
        height: 120px;
    }
    .category-label {
        font-size: 0.9rem;
    }
}




.product-grid-box {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #f3f3f3;
}
.product-grid-box:hover {
  box-shadow: 0 4px 26px rgba(209, 65, 70, 0.15);
}
.product-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin: 0 auto 8px;
  border-radius: 8px;
  background: #f9f8fa;
}
.product-label {
  font-size: 1.06rem;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .product-img {
    width: 60px;
    height: 60px;
  }
  .product-label {
    font-size: 0.97rem;
  }
}


/* product sections  */
/* Card row styling */
.custom-card-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-card {
    flex: 1 1 calc(20% - 20px); /*5 cards in a row with gap*/
    /* min-width: 200px; keeps it responsive */
    /* max-width: 320px; keeps it responsive */
}

.slider-item-box {
  background: #fff;
  padding: 18px 16px 22px 16px;
  text-align: center;
  transition: box-shadow 0.24s;
  border: 1px solid #888;

}

.slider-item-box:hover {
  box-shadow: 0 7px 28px rgba(224,54,60,0.18);

}

.slider-img-hover {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f4f4;
}

.slider-img-hover img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.35s;
}

.slider-img-hover .main-img {
  z-index: 1;
  opacity: 1;
}

.slider-img-hover .hover-img {
  z-index: 2;
  opacity: 0;
}

.slider-img-hover:hover .main-img {
  opacity: 0;
}

.slider-img-hover:hover .hover-img {
  opacity: 1;
}

.slider-title {
  font-size: 1.05rem;
  font-weight: 500;
}
/* 
@media (max-width: 992px) {
  .custom-card { flex: 1 1 calc(33.333% - 20px); }
}

@media (max-width: 768px) {
  .custom-card { flex: 1 1 calc(50% - 20px); }
}

@media (max-width: 540px) {
  .custom-card { flex: 1 1 100%; }
} */


/* Newsletter Banner Styles */
.newsletter-banner {
  background: #e0363c;
  padding: 2rem 0 1.3rem 0;
}
.newsletter-header {
  font-size: 2rem;
  letter-spacing: 0.01em;
}
.newsletter-desc {
  opacity: 0.95;
}
.newsletter-form input[type="email"] {
  min-width: 210px;
  border: none;
  outline: none;
  font-size: 1rem;
}
.newsletter-form button {
  background: #f8d0d5;
  color: #e0363c;
  border: none;
  font-weight: bold;
  letter-spacing: 0.06em;
  transition: background 0.14s;
}
.newsletter-form button:hover {
  background: #f8d0d5;
  color: #b7242d;
}

/* Extra: icon alignment & spacing */
.extra-small { font-size: 0.82rem; }

@media (max-width: 767px) {
  .newsletter-header { font-size: 1.3rem; }
  .newsletter-banner { padding: 1.2rem 0 1rem 0; }
  .newsletter-form input[type="email"] { min-width: 100px; font-size: 0.99rem; }
  .newsletter-form button { padding-left: 1.2rem !important; padding-right: 1.2rem !important; font-size: 0.98rem;}
}





/* banner sections */

.banner-section {
    width: 100%;
    height: 600px; /* fixed height for desktop */
    overflow: hidden;
}

.banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image aspect without distortion */
    display: block;
}

/* Make banner smaller on mobile */
@media (max-width: 768px) {
    .banner-section {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 180px;
    }
}



/* brand section  */
.brand-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 calc(20% - 20px); /* 5 in a row on desktop */
    max-width: 220px;
    text-align: center;
}

.brand-card img {
    width: 100%;
    height: auto;
    display: block;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 992px) {
    .brand-card {
        flex: 1 1 calc(25% - 20px);
    }
}
@media (max-width: 768px) {
    .brand-card {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .brand-card {
        flex: 1 1 100%;
    }
}
