.products-section {
  padding: 2rem 0;
}

.products-title {
  font-size: var(--font-size-4xl, 2rem);
  font-weight: 700;
  color: var(--Ver-vark-blue);
  margin-bottom: 2rem;
  text-align: center;
}

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

.product-card {
  background-color: var(--White);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-card-image-wrapper {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.product-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.25rem;
}

.product-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0;
}

.product-card-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--Ver-vark-blue);
  line-height: 1.3;
  margin: 0;
  padding-bottom: 0;
}

.product-card-year {
  font-size: var(--font-size-sm);
  color: var(--Dark-grayish-blue);
  font-weight: 400;
  margin: 0;
  padding-bottom: 0;
}

.product-card-brand {
  font-size: var(--font-size-sm);
  color: var(--Dark-grayish-blue);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  padding-bottom: 0;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
  gap: 0.75rem;
}

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

.product-card-discount-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--Ver-vark-blue);
  line-height: 1.2;
}

.product-card-original-price {
  font-size: var(--font-size-xs);
  color: var(--Grayish-blue);
  text-decoration: line-through;
}

.product-card-button {
  padding: 0.625rem 1rem;
  background-color: var(--Ver-vark-blue);
  color: var(--White);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card-button:hover:not(.added) {
  background-color: hsl(220, 13%, 20%);
  transform: translateY(-1px);
}

.product-card-button.added {
  background-color: #4CAF50;
  cursor: default;
}

.product-card-button.added:hover {
  background-color: #45a049;
  transform: none;
}

.product-card-button span {
  display: inline-block;
}

.product-card-button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav ul li a.active {
  border-bottom: 3px solid var(--orange-color);
  color: var(--Ver-vark-blue);
}

@media (max-width: 870px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }
  
  .product-card-image-wrapper {
    height: 180px;
  }
}

@media (max-width: 730px) {
  .products-title {
    font-size: var(--font-size-3xl, 1.75rem);
    padding: 0 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .product-card-image-wrapper {
    height: 200px;
  }
  
  .product-card-info {
    padding: 1rem;
  }
  
  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .product-card-button {
    width: 100%;
  }
}

