/* 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-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;
}

/* 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 ======
=======================================*/

/* 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; }
}

/* media for tablet -768px */
@media (max-width: 768px) {
  .cat-div.cat-box { height: 100px; }
  .cat-div.cat-box img { max-height: 50px; }
}

/* 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%;
 
  }
}
/* =========================================
============================================ */
