/**
 * Pill Highlights - Cart Preset
 * Cart with highlighted feature pills
 */

.kitbix-design-cart-pill-highlights .pill-cart {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.pill-cart__header {
  margin-bottom: 2rem;
  text-align: center;
}

.pill-cart__header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #0f172a;
}

.pill-cart__highlights {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: var(--kitbix-commerce-primary, #1d4ed8);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.pill-highlight svg {
  flex-shrink: 0;
}

.pill-cart__alert {
  padding: 1.5rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

.pill-cart__table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.pill-cart__table thead {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.pill-cart__table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-cart__table tbody tr {
  border-bottom: 1px solid var(--kitbix-commerce-border, #e5e7eb);
}

.pill-cart__table tbody tr:last-child {
  border-bottom: none;
}

.pill-cart__table td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
}

.pill-cart__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 1rem;
  border: 2px solid var(--kitbix-commerce-border, #e5e7eb);
}

.pill-cart__summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pill-cart__total {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--kitbix-commerce-primary, #1d4ed8);
  margin: 0;
}

.pill-cart__note {
  font-size: 0.875rem;
  color: var(--kitbix-commerce-muted, #6b7280);
  margin: 0;
}

.pill-cart__actions {
  display: flex;
  gap: 1rem;
}

.pill-btn {
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.pill-btn--primary {
  background: var(--kitbix-commerce-primary, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.pill-btn--primary:hover {
  background: var(--kitbix-commerce-accent, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4);
}

.pill-btn--outline {
  background: transparent;
  color: var(--kitbix-commerce-primary, #1d4ed8);
  border: 2px solid var(--kitbix-commerce-primary, #1d4ed8);
}

.pill-btn--outline:hover {
  background: rgba(29, 78, 216, 0.05);
}

@media (max-width: 768px) {
  .pill-cart__footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pill-cart__actions {
    flex-direction: column;
  }
  
  .pill-cart__highlights {
    flex-direction: column;
    align-items: center;
  }
}
