/* Sports Shop specific styles */

/* Brand colors */
:root {
  --sports-primary: #7c3aed;
  --sports-accent: #a855f7;
  --sports-bg: #faf5ff;
  --sports-success: #059669;
}

.promo-banner {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: white;
}

.promo-icon {
  font-size: 2rem;
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.promo-content strong {
  font-size: 1.1rem;
}

.promo-content span {
  font-size: 0.875rem;
  opacity: 0.9;
}

.product-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--sports-bg);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid #e9d5ff;
}

@media (max-width: 480px) {
  .product-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }
}

.product-image {
  font-size: 4rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .product-image {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    margin: 0 auto;
  }
}

.product-info {
  flex: 1;
}

.product-info h2 {
  margin-bottom: 0.5rem;
  color: var(--sports-primary);
}

.product-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--sports-primary);
}

.product-price.original.has-discount {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price.discounted {
  color: var(--sports-success);
}

.discount-badge {
  background: var(--sports-success);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Cart Summary */
.cart-summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .cart-summary {
    padding: 1rem;
  }
}

.cart-summary h3 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-discount {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--sports-success);
  font-weight: 500;
}

.discount-amount {
  color: var(--sports-success);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
}

/* Discount Note */
.discount-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Discount Applied */
.discount-applied {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #d1fae5;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid #6ee7b7;
}

.applied-icon {
  width: 2rem;
  height: 2rem;
  background: var(--sports-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.applied-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.applied-text strong {
  color: var(--sports-success);
}

.applied-text span {
  font-size: 0.875rem;
  color: #047857;
}

/* DC API Toggle */
.dc-api-option {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.toggle-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.toggle-text {
  color: var(--text-muted);
}
