/* =========================
   PRODUCT TABS (New Arrivals / Most Recently Viewed / Recently Sold)
   Shared by homepage_v2.ctp and innerlayout.ctp via home_tabs_v2.ctp.
   Hand-authored subset, not copied wholesale from newhome_style.css - that file
   has unscoped global overrides (html,body{width:100% !important},
   .container{max-width:1440px !important}) that would conflict with the
   container-width fixes already built for innerlayout.ctp in bs5-scoped.css.
   ========================= */

.slider-btn {
  border: 1px solid #d7d7d7;
  background: #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  margin-left: 8px;
  cursor: pointer;
}

.product-tabs {
  text-align: center;
}
.product-tabs button {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  margin: 5px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.product-tabs button.active {
  background: #cf2027;
  border-color: #cf2027;
  color: #fff;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 0 13px;
  padding-bottom: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card .prodimg {
  position: relative;
}
.product-card a{text-decoration: none; color: #000; font-weight: normal;}
.product-card img {
  width: 80%;
  height: auto;
  object-fit: cover;
  margin:auto;
}
.product-card .zoomable-img {
  cursor: zoom-in;
}
.product-card .wishlist-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  object-fit: contain;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.product-zoom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.product-zoom-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.product-zoom-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.product-zoom-close:hover {
  color: #bbb;
}
.product-card h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  padding: 15px;
  min-height: 70px;
  margin: 0;
  height: 115px;
}
.product-card p {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 0 15px;
  margin: 0 0 7px 0;
}
.product-card p span{

  font-size: 14px;
}
.product-card del {
  color: #777;
  margin-left: 9px;
  font-size: 14px;
}
.product-card strong {
  color: #cf2027;
  margin-left: 15px;
  font-size: 15px;
}

.product-slider .slick-slide {
  height: auto;
}
.product-slider .product-card {
  min-height: 380px;
}

section.products {
  padding: 40px 22px;
}
.products .container {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 35px;
}

@media (max-width: 991px) {
  .product-tabs {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 575px) {
  .product-tabs {
    display: grid;
    padding-bottom: 10px;
  }
  .product-tabs button {
    padding: 9px 12px;
    font-size: 11px;
    color:#000;
  }
  .product-card {
    margin: 0 10px;
  }
  .product-card img {
    /*height: 210px;*/
  }
  .product-slider.mt-4 {
    margin: 10px 0 0 0 !important;
  }
  .products .container {
    padding: 20px;
    margin: 0 0 19px 0;
  }
}

.product-card span {
    font-size: 14px;
}
