.shop-products {
  padding: 3rem 0;
}

.shop-products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.shop-products h3 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-color);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow-primary);
  color: var(--text-color);
  background-color: var(--gray-1);
  min-height: 500px;
}

.product-card-image-link {
  display: block;
  text-decoration: none;
}

.product-card-image {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.product-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.product-card-content h4 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-color);
  line-height: 1.4;
}

.product-card-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

.product-card-content .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.2;
  flex: 1;
}

.price-size-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(var(--gray-50-rgb), 1);
  border-bottom: 1px solid rgba(var(--gray-50-rgb), 1);
}

.product-size {
  width: 70px;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--gray-10);
  cursor: pointer;
  color: var(--text-color);
  font-family: inherit;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1em;
  padding-right: 2rem;
}

.product-size:hover {
  border-color: var(--text-color);
}

.product-size:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(255, 182, 255, 0.2);
}

.product-card-content .add-to-cart {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  color: var(--gray-10);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
}

.product-card-content .add-to-cart:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 33, 22, 0.15);
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card-image {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    height: 350px;
  }
}