/**
 * Product Content Sections Styles
 * Content components used in collection pages (dosage, how-to, compatibility, etc.)
 */

/* ===== DOSAGE SECTION STYLING ===== */
.dosage-image {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== HOW-TO CARDS STYLING ===== */
.how-to-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 16px;
}

.how-to-card:hover {
  transform: translateY(-2px);
}

.how-to-icon {
  margin-bottom: 15px;
}

/* ===== COMPATIBILITY GRID STYLING ===== */
.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.compatibility-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.compatibility-item span {
  font-weight: 500;
  color: #333;
}

/* ===== BENEFIT ICONS STYLING ===== */
.benefit-icon {
  margin-bottom: 15px;
}

/* ===== DOSAGE LIST STYLING ===== */
.dosage-list {
  list-style: none;
  padding: 0;
}

.dosage-list li {
  margin-bottom: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.dosage-list li:last-child {
  border-bottom: none;
}

.dosage-list strong {
  color: #ff6b35;
}

/* K‑Cups specific equalization to prevent baseline drift when content length differs */
.k-cups-page .products-grid .product-content {
    min-height: 320px; /* tuned for two-card layout to align buy buttons */
}
