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 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-img {
  width: 210px;
  height: 210px;
  margin: 0 auto 0.4rem auto;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.category-img img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  transition: transform 0.22s;
}

.category-label {
  font-size: 1.02rem;
  color: #222;
  margin-top: 0.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .category-img {
    width: 150px;
    height: 150px;
  }
  .category-label {
    font-size: 0.97rem;
  }
}


.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  */
.slider-item-box {
  background: #fff;
  /* border-radius: 15px; */
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.09); */
  padding: 18px 16px 22px 16px;
  text-align: center;
  max-width: 300px;
  margin: auto;
  /* Removed hover transition */
  /* transition: box-shadow 0.24s; */
  border: 1px solid #888;
}



.slider-img-hover {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f4f4;
  margin: auto;
}

.slider-img-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0; top: 0;
  /* Removed hover transition */
  /* transition: opacity 0.35s; */
  display: block;
}

.slider-img-hover .main-img {
  z-index: 1;
  opacity: 1;
}

.slider-img-hover .hover-img {
  z-index: 2;
  /* Ensure hover image is never visible */
  opacity: 0;
  display: none; /* Explicitly hide the hover image */
}
/* Removed hover effects */
/*
.slider-img-hover:hover .main-img {
  opacity: 0;
}

.slider-img-hover:hover .hover-img {
  opacity: 1;
}
*/

/* Product info styling */
.slider-title {
  font-size: 1.05rem;
  font-weight: 500;
}

.slider-price {
  font-size: 1rem;
  color: #222;
}
.slider-price del {
  color: #888; 
  font-size: 0.96em;
  margin-right: 6px;
}
.slider-price .off {
  color: #e0363c;
  font-weight: 600;
  margin-left: 6px;
}


/* Optional: adjust arrow position on mobile */
@media (max-width: 540px) {
  .slider-item-box { padding: 10px 2vw 15px 2vw; }
}


/* 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;}
}





/* Popular gift sections */
