/* ============================== PRODUCT CARD STYLES ============================== */

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-action {
    display: flex;
    flex-direction: column;
}

.product-action .added_to_cart {
    order: -1;
    margin-bottom: 10px;
}

/* .product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

.product-img {
  position: relative;
  width: 100%;
  /* aspect-ratio: 1 / 1; */
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
  max-height: 280px;
}

.product-img .wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.product-img .wishlist:hover {
  background: #fff;
  color: #e74c3c;
  transform: scale(1.1);
}

.product-img .wishlist svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.product-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #4d6474;
  margin: 12px 0px 0 0px;
  letter-spacing: 0.1em;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0px 0 0px;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 0px 0px 0 0px;
  font-weight: 700;
}

.product-price .now {
  font-size: 16px;
  color: #000;
}

.product-price .was {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

.product-price del {
  font-size: 12px;
  color: #b0bcce;
  opacity: 1;
}
.product-price del .amount {
  color: #b0bcce;
  font-weight: 400;
}
.product-price del {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.product-price del::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.product-price ins {
  color: #000;
  text-decoration: none;
}

.product-price .amount {
  font-size: 18px;
  color: #000;
}

.add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0px 0px;
  padding: 10px 16px;
  color: var(--color-black);
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border:1px solid var(--color-black);
}

.add-cart:hover {
  background: #333;
  color:var(--color-white);
}

.add-cart svg {
  width: 16px;
  height: 16px;
}

.add-cart.button {
  text-decoration: none;
}

.woocommerce ul.products.product-grid,
.product-grid.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(273px, 1fr);
  gap: 24px;
  list-style: none;
  margin: 30px 0 0;
  overflow-x: auto;
  padding: 0 0 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.woocommerce ul.products.product-grid li.product,
.product-grid.scroller .product-list-item {
  float: none;
  width: auto;
  margin: 0;
  scroll-snap-align: start;
}

@media (max-width: 1200px) {
  .woocommerce ul.products.product-grid,
  .product-grid.scroller {
    grid-auto-columns: minmax(180px, 1fr);
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products.product-grid,
  .product-grid.scroller {
    grid-auto-columns: minmax(150px, 1fr);
    gap: 16px;
  }
}

.product-out-of-stock .product-card .product_type_simple svg{
  display: none;
}

/* ============================== PRODUCT SLIDER ============================== */

.product-centerSlider {
  position: relative;
  margin-top: 30px;
}

.product-slider {
  display: flex;
}

.product-slide {
  padding: 0 12px;
}

/* ============================== PRODUCTS LIST (SHOP PAGE) ============================== */

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.product-list-item {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    width: 100% !important;
}

@media (max-width: 1200px) {
  .products-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .products-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ============================== SLICK SLIDER ARROWS ============================== */

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #000;
}

.slick-arrow:hover {
  background: #f9f9f9;
  border-color: #999;
}

.slick-prev {
  left: -60px;
}

.slick-next {
  right: -60px;
}
.woocommerce ul.products.product-grid, .product-grid.scroller {
    display: flex;
}
@media (max-width: 1024px) {
  .slick-prev {
    left: 10px;
  }

  .slick-next {
    right: 10px;
  }
}
@media (max-width: 640px) {
  .woocommerce ul.products.product-grid, .product-grid.scroller{
    grid-auto-columns: minmax(345px, 1fr);
    
  }
  .product-img{
    margin-bottom: 0px;
  }
 
}