/* ================ Shop Products Page ================ */

.shop-layout {
  gap: 20px;  
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .shop-layout {
    display: flex;
  }
}

.shop-products {
  flex: 1 1 auto;
  min-width: 0; 
  margin-bottom: 20px;
}

.shop-products__header {
  display: flex;
  justify-content: space-between;
  background: transparent !important;
  margin-bottom: 20px;
}

.shop-products__header-title {
  font-size: 24px;
  color: #053C45;
  font-weight: 500;
}

.shop-products .product {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid #B0D5DE;
  border-radius: 24px;
  padding: 20px !important;
  height: 450px;
  overflow: hidden;
}

@media (min-width: 764px) {
  .shop-products .product {
    height: 400px;
  }
}

.shop-products .products .product img {
  width: 100% !important;
  height: 180px !important;    
  object-fit: contain; 
  display: block;     
  margin-bottom: 1rem;
}


.product-short-description {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-products .product a, .shop-products .product span {
  color: #053C45 ;
}

.view-product {
    width: 100%;
    background-color: #0F6472;
    text-align: center;
    color: var(--white) !important;
    padding: 5px 24px;
    border-radius: 38px;
}

.orderby {
    width: 190px;
    background-color: transparent;
    border: 1px solid #0F6472;
    border-radius: 10px;
    color: #053C45;
    padding: 8px 12px;
}

.woocommerce-LoopProduct-link p {
  color: #053C45 !important;
}

.shop-pagination {
  float: right;
}

.custom-pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  color: #053C45;
  justify-content: center;
  align-items: center;
}

.prev,
.next {
  display: none;
  font-weight: 700;
  border: 1px solid #0F6472;
  padding: 10px 16px;
  border-radius: 123px;
}

@media (min-width: 1024px) {
  .prev,
  .next {
    display: block;
  }
}

.active {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: var(--yellow);
  border-radius: 123px;
  color: var(--white) !important;
}


.shop-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
}

.shop-products ul.products li {
  margin: 0 !important;
  width: 100% !important;
}

.shop-products ul.products::before,
.shop-products ul.products::after {
  display: none;
}

@media (min-width: 1300px) {
  .shop-products ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}