/* CATEGORY BOX OVERRIDES - Flipkart-style rectangles (compact) */
/* .cat-div.cat-box {
  border-radius: 8px !important;
  height: 110px !important;
  padding: 8px !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  background-color: #ffffff !important;
  border: 1px solid #e9ecef !important;
  transition: all 0.3s ease-in-out;
  max-width: 110px !important;
  margin-left: 5px !important;
  margin-right: 5px !important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
} */

/* Force category divs to be rectangular even if Bootstrap's rounded-circle class is present */
/* .cat-div, .cat-div.cat-box, .cat-div.rounded-circle {
  border-radius: 8px !important;
  
} */
/* .cat-circle{
  width:80px;
  height:80px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
  border:1px solid #e9ecef;
} */
 .cat-circle{
  width:85px;
  height:85px;
  border-radius:50%;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
  border:1px solid #043464;
  transition:all .25s ease;
  overflow: hidden;
}
/* hover animation */
.no-card:hover .cat-circle{
  transform:translateY(-4px);
  box-shadow:0 6px 12px rgba(0,0,0,0.1);
    transition:0.3s;

}

.no-card{
  min-width:90px;
  text-align:center;
  scroll-snap-align:start;
}
.no-card a{
  display:block;
}
/* .cat-circle img{
  width:45px;
  height:45px;
  object-fit:contain;
} */
 /* category icon */
.cat-circle img{
  width:80px;
  height:80px;
  object-fit:contain;
}
/* .cat-circle:hover{
  transform: translateY(-4px);
  box-shadow:0 6px 12px rgba(0,0,0,0.1);
  transition:0.3s;
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
} */

/* .cat-div.cat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.15) !important;
  border-color: #0d6efd !important;
} */

/* .cat-div.cat-box a {
  padding: 0;
} */

/* .cat-div.cat-box img {
  max-height: 70px;
  object-fit: contain;
} */

/* .cat-text{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#0d6efd;
  font-weight: 500;
} */
.cat-text{
  display:block;
  margin-top:8px;
  font-size:13px;
  font-weight:500;
  color:#0d6efd;
   /* important for wrapping */
    text-align:center;
  max-width:85px;
margin-left:auto;
  margin-right:auto;
  line-height:1.2;

  white-space:normal;
  word-wrap:break-word;
  
}
/* SECTION BG MARGIN ADJUSTMENT - reduce gap between sections */
.section-bg {
  margin: 0rem 0  ;
  padding-bottom: 1rem;
}

/* LATEST PRODUCT - compact card sizing */
.container-fluid.bg-light {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.container-fluid.bg-light .row > [class*="col-"] {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.container-fluid.bg-light .card {
  padding: 0.25rem !important;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
  min-height: 180px;
}

.container-fluid.bg-light .card .card-body {
  padding: 0.5rem !important;
}

.container-fluid.bg-light .card .card-body img {
  width: 100%;
  /* width:auto; this is edit by me 100% */
  height: 90px;
  object-fit: contain;
}
/* Remove underline from cart quantity icons */
.cart-table a,
.cart-dtls a {
    text-decoration: none !important;
}

/* Optional: remove focus outline */
.cart-table a:focus,
.cart-dtls a:focus {
    outline: none;
    box-shadow: none;
}





/* .col-xl-5th {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  } */
  
  /* ========== Media screen style ======
=======================================*/
/* Mobile */
@media (max-width:480px){

 .carousel-indicators [data-bs-target]{
  width: 5px;
  height: 5px;
  
  background-color: #394351;

}
.carousel-indicators .active{
  opacity: 1;
  width: 7px;
  height: 7px;
}
  
  .category-scroll{
    gap:8px;
  }

  .no-card{
    min-width:80px;
  }

  .cat-circle{
    width:75px;
    height:75px;
  
  }

  .cat-circle img{
    width:62px;
    height:62px;
  }

 .cat-text{
    font-size:11px;
    min-height:2.2em;
  }
}
/* media for Mobile -576px */
@media (max-width: 576px) {
  /* .cat-div.cat-box { height: 90px; } */
  /* .cat-div.cat-box img { max-height: 45px; } */
  /* .cat-div.cat-box span { font-size: 0.75rem !important; } */


.cat-text{
  font-size:11px;
}
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .cat-circle{
  width:85px;
  height:85px;
}
.cat-circle img{
  width:70px;
  height:70px;
}
 .carousel-indicators [data-bs-target]{
  width: 7px;
  height: 7px;

}
.carousel-indicators .active{
  width: 9px;
  height: 9px;
}




}

/* media for tablet -768px */
@media (max-width: 768px) {
  /* .cat-div.cat-box { height: 100px; }
  .cat-div.cat-box img { max-height: 50px; } */

   

  /* .cat-circle{
    width:70px;
    height:70px;
  }

  .cat-circle img{
    width:36px;
    height:36px;
  } */

  .cat-text{
    font-size:12px;
  }

}
@media(min-width: 769px){
.no-card{
    min-width:100px;
  }
  .category-scroll{
    gap: 2px;
  }
   .cat-circle{
  width:95px;
  height:95px;
}
.cat-circle img{
  width:75px;
  height:75px;
}
 .cat-text{
    font-size:15px;
      max-width:120px;   
  }

  }
/* FIVE-COLUMN LAYOUT HELPERS */
/* Media for laptop -992px */
@media (min-width: 992px) {
  .col-lg-5th {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* media for big screen -1200px */
@media (min-width: 1200px) {
  
   .col-xl-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 12.5%;
    flex: 0 0 12.5%;
 
  }
}
/* =========================================
============================================ */
