/* [project]/app/components/home/product/Product.scss.css [app-client] (css) */
.product-section {
  margin: 2rem 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: left;
  color: #222;
  letter-spacing: -.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem 1.5rem;
}

@media (width <= 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

@media (width <= 400px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #0000;
  position: relative;
  border: 1px solid #d3d3d3;
  transition: transform .2s, box-shadow .3s;
  border-radius: 5px;
}

.product-card:hover {
  box-shadow: 0 5px 15px #0000001a;
}

.product-card:hover .product-image-container {
  filter: brightness(1.08);
}

.product-card:hover .product-name {
  color: #444;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(-50%)translateY(0);
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image-container {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background-color: #fafafa;
  transition: filter .3s;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.placeholder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: .85rem;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #d32f2f;
  color: #fff;
  padding: .35rem .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  z-index: 2;
  border-radius: 3px;
  box-shadow: 0 2px 8px #0003;
}

.product-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: .5rem 1rem;
}

.product-name {
  margin: 0 0 .5rem;
  font-size: .9rem;
  font-weight: 400;
  color: #222;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8rem;
  transition: color .2s;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.product-price .price-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.product-price .original-price {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  font-size: .85rem;
}

.product-price .discount-price {
  color: #d32f2f;
  font-weight: 500;
}

.product-price .regular-price {
  color: #333;
  font-weight: 500;
}

.loading-container, .error-container {
  text-align: center;
  padding: 3rem 0;
  font-size: .95rem;
  color: #666;
}

.error-container {
  color: #d32f2f;
}

.no-products-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: #666;
  font-size: .95rem;
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%)translateY(10px);
  width: 100%;
  background-color: #000000bf;
  padding: .75rem;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  opacity: 0;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  z-index: 5;
  backdrop-filter: blur(3px);
  border-radius: 5px;
}

.product-actions .view-product-btn, .product-actions .add-to-cart-btn {
  flex: 1;
  padding: .5rem 0;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.product-actions .view-product-btn {
  background-color: #0000;
  border: 1px solid #ffffffb3;
  color: #fff;
}

.product-actions .view-product-btn:hover {
  background-color: #fff3;
  border-color: #fff;
}

.product-actions .add-to-cart-btn {
  background-color: #fff;
  color: #111;
  border: 1px solid #fff;
}

.product-actions .add-to-cart-btn:hover {
  background-color: #f0f0f0;
}

/*# sourceMappingURL=app_components_home_product_Product_scss_b52d8e.css.map*/