/* =========================================
   SHOP – HEADER
========================================= */
.shop-header{
  background: #2c7073;
  color: #fff;
  padding: 50px 20px;
  border-radius: 25px;
  height: 290px;
}

.shop-header h2{
  font-weight: 700;
  font-size: 39px;
  margin-top: 30px;
  color: #fff;
}

.shop-header p{
  margin-bottom: 0;
}

.breadcrumb-text{
  font-size: 18px;
}


/* =========================================
   SHOP – TOOLBAR (COUNT + SEARCH + FILTER BTN)
========================================= */
.shop-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-toolbar-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-product-count{
  font-size: 14px;
  color: #6c8f8f;
}

/* Search */
.shop-search{
  position: relative;
  min-width: 280px;
}

.shop-search i{
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #7a9b9b;
}

.shop-search input{
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #d6ece9;
  padding: 0 14px 0 36px;
  outline: none;
  background: #fff;
}

/* Mobile filter button */
.btn-filter-toggle{
  height: 40px;
  border-radius: 12px;
  border: 1px solid #d6ece9;
  background: #F5FFFF;
  color: #1D1D1D;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* =========================================
   FILTER – BOX + ACCORDION
========================================= */
.filter-box{
  background: #F5FFFF;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #d6ece9;
}

.filter-main-head{
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.filter-divider{
  height: 1px;
  background: #e4e4e4;
  margin: 14px 0;
}

.filter-section{
  margin-bottom: 10px;
}

.filter-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-header span{
  font-size: 14px;
  font-weight: 600;
}

.filter-header i{
  font-size: 12px;
  transition: 0.3s ease;
}

.filter-header.active i{
  transform: rotate(180deg);
}

.filter-content{
  margin-top: 10px;
}

.filter-content.collapsed{
  display: none;
}

.filter-box label{
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  cursor: pointer;
}

/* RANGE */
.price-range{
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: #e6f2f2;
  outline: none;
  cursor: pointer;
}

.price-range::-webkit-slider-runnable-track{
  height: 6px;
  border-radius: 10px;
  background: transparent;
}

.price-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #2c7073;
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid #cfe9ea;
  margin-top: -7px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.price-range::-moz-range-track{
  height: 6px;
  background: #e6f2f2;
  border-radius: 10px;
}

.price-range::-moz-range-progress{
  height: 6px;
  background: #2c7073;
  border-radius: 10px;
}

.price-range::-moz-range-thumb{
  width: 20px;
  height: 20px;
  background: #2c7073;
  border-radius: 50%;
  border: 4px solid #cfe9ea;
}


/* =========================================
   PRODUCTS – CARD
========================================= */
.shop-product-card{
  background: #FAFAFA;
  border-radius: 18px;
  padding: 15px;
  border: 1px solid #eaf5f4;
  transition: 0.25s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-product-card:hover{
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.shop-product-img{
  width: 100%;
  height: 304px;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 18px;
}

.shop-product-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-product-actions{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-product-actions i{
  background: #fff;
  padding: 8px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
  color: #B2B2B2;
}

a.product-link{ text-decoration: none; }

.shop-product-content{ flex-grow: 1; }

.shop-product-name{
  font-family: 'Acumin Variable Concept', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1D1D1D;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-desc{
  font-family: 'Lufga', sans-serif;
  font-size: 13px;
  color: #585858;
}

.shop-product-desc span{
  font-family: 'Lufga', sans-serif;
  font-size: 16px;
  color: #1D1D1D;
  font-weight: 600;
}

.rating{
  color: #FFB30F;
  font-size: 18px;
  margin-top: 6px;
}

.rating span{
  color: #1D1D1D;
  margin-left: 5px;
  font-size: 13px;
  font-weight: 600;
}

.shop-product-footer{ margin-top: auto; }

.price{
  font-weight: 700;
  margin-top: 8px;
  font-size: 20px;
  color: var(--primary-color);
  font-family: 'Acumin Variable Concept', sans-serif;
}

.price del{
  color: #999;
  font-size: 14px;
  margin-left: 6px;
  font-weight: normal;
  font-family: 'Acumin Variable Concept', sans-serif;
}

.discount{
  background: #2c7073;
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  margin-left: 6px;
}

/* Offcanvas */
.filter-offcanvas{
  width: 320px;
}

.filter-box-mobile{
  padding: 14px;
}


/* =========================================
   SHOP PAGE – RESPONSIVE
   IMPORTANT: Your grid uses col-6 col-md-4
   So:
   - Mobile = 2 per row already (col-6)
   - >= md (768+) = 3 per row (col-md-4)
   We only control sizes/spacings/heights here.
========================================= */

/* ---------- TABLET (768px – 991.98px) ---------- */
@media (min-width: 768px) and (max-width: 991.98px){

  .shop-header{
    height: auto;
    padding: 38px 18px;
    border-radius: 22px;
  }

  .shop-header h2{
    font-size: 32px;
    margin-top: 18px;
  }

  .breadcrumb-text{
    font-size: 15px;
  }

  .shop-search{
    min-width: 260px;
  }

  .shop-product-img{
    height: 220px;
  }

  .shop-product-name{
    font-size: 16px;
  }

  .price{
    font-size: 18px;
  }
}


/* ---------- MOBILE (<=767.98px) ---------- */
@media (max-width: 767.98px){

  .shop-header{
    height: auto;
    padding: 28px 14px;
    border-radius: 18px;
  }

  .shop-header h2{
    font-size: 24px;
    margin-top: 12px;
  }

  .breadcrumb-text{
    font-size: 13px;
  }

  .shop-header p{
    font-size: 14px;
  }

  .shop-toolbar{
    gap: 10px;
  }

  .shop-toolbar-right{
    width: 100%;
  }

  .btn-filter-toggle{
    flex: 0 0 auto;
  }

  .shop-search{
    flex: 1 1 auto;
    min-width: 0;
  }

  .shop-product-card{
    padding: 12px;
    border-radius: 16px;
  }

  .shop-product-img{
    height: 170px;
    border-radius: 14px;
  }

  .shop-product-name{
    font-size: 14px;
  }

  .shop-product-desc{
    font-size: 12px;
  }

  .shop-product-desc span{
    font-size: 14px;
  }

  .rating{
    font-size: 16px;
  }

  .rating span{
    font-size: 12.5px;
  }

  .price{
    font-size: 18px;
  }

  .price del{
    font-size: 13px;
    margin-left: 4px;
  }

  .discount{
    display: inline-flex;
    width: fit-content;
    font-size: 11px;
    margin-left: 0;
    margin-top: 6px;
  }

  .filter-offcanvas{
    width: 300px;
  }

  .shop-product-actions{
    top: 8px;
    right: 8px;
    gap: 6px;
  }

  .shop-product-actions i{
    padding: 7px;
    font-size: 13px;
  }
}


/* ---------- VERY SMALL PHONES (<=430px) ---------- */
@media (max-width: 430px){

  .shop-header{
    padding: 20px;
    border-radius: 20px;
  }

  .shop-header h2{
    font-size: 20px;
  }

  .shop-header p{
    font-size: 13px;
  }

  .shop-product-img{
    height: 160px;
  }

  .shop-product-name{
    font-size: 13px;
  }

  .shop-product-desc{
    font-size: 11px;
  }

  .shop-product-desc span{
    font-size: 13px;
  }

  .rating{
    font-size: 13px;
  }

  .rating span{
    font-size: 11.5px;
  }

  .price{
    font-size: 16px;
  }

  .price del{
    font-size: 12px;
    margin-left: 0;
  }

  .discount{
    font-size: 11px;
  }
}


/* ---------- TINY PHONES (<=375px) ---------- */
@media (max-width: 375px){
  .shop-product-img{
    height: 150px;
  }

  .filter-offcanvas{
    width: 280px;
  }
}
