/* Products Section Styles */

.products-section {
  padding: 80px 56px;
  background-color: #ffffff;
  max-width: 1440px;
  margin: 0 auto;
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.products-description {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  line-height: 1.8;
  max-width: 800px;
  text-align: center;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 400px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  padding: 0;
}

.product-favorite:hover {
  background-color: #ffffff;
  transform: scale(1.1);
}

.product-favorite svg {
  width: 20px;
  height: 20px;
}

.product-info {
  margin-top: 12px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  margin: 0;
  text-align: start;
}

.product-description {
  font-size: 18px;
  font-weight: lighter;
  color: #84878c;
  line-height: 1.6;
  margin: 0;
  text-align: start;
}

.product-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Cairo", Arial, sans-serif;
}

.price-number {
  font-size: 24px;
  font-weight: 700;
  font-family: "Cairo", Arial, sans-serif;
}

.currency-text {
  font-size: 18px;
  font-weight: 600;
  font-family: "GE SS Two", Arial, sans-serif;
}

.currency-icon {
  display: flex;
  align-items: center;
  margin-right: 4px;
}

.currency-icon svg {
  width: 14px;
  height: 14px;
}

.price-separator {
  font-size: 14px;
  font-weight: 500;
  font-family: "GE SS Two", Arial, sans-serif;
}

.price-old {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  font-family: "GE SS Two", Arial, sans-serif;
}

.price-old-number {
  font-family: "Cairo", Arial, sans-serif;
  font-weight: 500;
  text-decoration: line-through;
}

.price-old-currency {
  text-decoration: line-through;
}

.btn-add-to-cart {
  width: 100%;
  padding: 12px 16px;
  background-color: #c09c3a;
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: "GE SS Two", Arial, sans-serif;
}

.btn-add-to-cart:hover {
  background-color: #a08532;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 156, 58, 0.3);
}

.btn-add-to-cart svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .products-section {
    padding: 60px 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 639px) {
  .products-section {
    padding: 60px 16px;
  }

  .products-header {
    margin-bottom: 40px;
    gap: 16px;
  }

  .products-description {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-info {
    padding: 20px;
    gap: 12px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-description {
    font-size: 13px;
  }

  .price-number {
    font-size: 20px;
  }

  .currency-text {
    font-size: 16px;
  }

  .currency-icon svg {
    width: 12px;
    height: 12px;
  }

  .price-separator {
    font-size: 12px;
  }

  .price-old {
    font-size: 12px;
  }

  .btn-add-to-cart {
    padding: 10px 14px;
    font-size: 14px;
  }
}
