/* Products page styles - integrated with duckquill theme */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.product-card {
  background: var(--fg-muted-1);
  border: 1px solid var(--fg-muted-2);
  border-radius: var(--rounded-corner);
  padding: 2rem;
  transition: all var(--transition) ease;
  box-shadow: var(--shadow);
}

.product-card:hover {
  border-color: var(--fg-muted-3);
}

.product-card h2 {
  margin: 0 0 0.5rem 0;
  font-size: var(--font-size-x-large);
  color: var(--fg-color);
  font-weight: 600;
  line-height: 1.2;
}

.product-status {
  font-size: var(--font-size-x-small);
  font-weight: 500;
  margin: 0 0 1rem 0;
  color: var(--fg-muted-5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card p {
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  color: var(--fg-color);
  font-size: var(--font-size-medium);
}

.product-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  color: var(--fg-contrast);
  text-decoration: none;
  border-radius: var(--rounded-corner-small);
  font-weight: 500;
  font-size: var(--font-size-small);
  transition: all var(--transition) ease;
  border: none;
  box-shadow: var(--shadow);
}

.product-link:hover {
  box-shadow: var(--shadow-raised);
  text-decoration: none;
}

.product-link:active {
  transform: var(--active);
}

.product-link.disabled {
  background: var(--fg-muted-3);
  color: var(--fg-muted-5);
  cursor: not-allowed;
  transform: none;
  opacity: var(--disabled-opacity);
}

.product-link.disabled:hover {
  background: var(--fg-muted-3);
  transform: none;
  box-shadow: var(--shadow);
}

.product-link.disabled:active {
  transform: none;
}

/* Featured product card */
.product-card.featured {
  background: linear-gradient(135deg, var(--fg-muted-1), var(--fg-muted-2));
  border: 2px solid var(--accent-color);
}

.product-card.featured h2 {
  font-size: var(--font-size-xx-large);
  background: linear-gradient(135deg, var(--accent-color), var(--blue-fg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.product-card.featured .product-status {
  font-size: var(--font-size-small);
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-card.featured p {
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
}

.feature-list {
  background: var(--fg-muted-1);
  border-radius: var(--rounded-corner-small);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-color);
}

.feature-list p {
  margin: 0 0 1rem 0;
  font-weight: 600;
  font-size: var(--font-size-medium);
  color: var(--accent-color);
}

.feature-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  font-size: var(--font-size-medium);
  color: var(--fg-color);
  position: relative;
  padding-left: 0.5rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
}

.product-card.featured:hover {
  border-color: var(--accent-color);
}

/* Focus states for accessibility */
.product-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.product-card:focus-within {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-glow);
}

/* Responsive design */
@media (max-width: 768px) {
  .products-list {
    margin: 1rem auto;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .product-card {
    padding: 1.5rem;
  }
  
  .product-card h2 {
    font-size: var(--font-size-large);
  }
  
  .product-card.featured h2 {
    font-size: var(--font-size-x-large);
  }
  
  .product-card.featured p {
    font-size: var(--font-size-medium);
  }
  
  .feature-list {
    padding: 1rem;
    margin: 1.5rem 0;
  }
  
  .product-link {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-x-small);
  }
}

/* Print styles */
@media print {
  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .product-link {
    color: #000;
    text-decoration: underline;
  }
}
