/* ===================================
   CART PAGE - PREMIUM DARK/ORANGE STYLE
   =================================== */

.cart-page {
  background: #0a0a0a;
  min-height: 100vh;
}

.cart-main {
  padding: 140px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-container {
  max-width: 900px;
  margin: 0 auto;
}

.cart-container > h1 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF8C00, #FFF5E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* Early Adopter Banner */
.early-adopter-banner {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(201, 141, 101, 0.1));
  border: 2px solid rgba(255, 140, 0, 0.3);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.early-adopter-banner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 16px;
  background: none;
  -webkit-text-fill-color: #FF8C00;
}

.early-adopter-banner p {
  font-size: 1.1rem;
  color: #E8E6E3;
  line-height: 1.6;
  margin-bottom: 16px;
}

.early-adopter-banner p strong {
  color: #FFA500;
}

.discount-info {
  background: rgba(255, 140, 0, 0.1);
  border-left: 4px solid #FF8C00;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #FFF5E6;
  margin-top: 12px;
}

.discount-info strong {
  color: #FF8C00;
}

/* Cart Items */
.cart-items {
  margin-bottom: 40px;
}

.cart-item {
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.95), rgba(20, 20, 25, 0.9));
  border: 2px solid rgba(255, 140, 0, 0.2);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
}

.cart-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 0, 0.5);
  box-shadow: 0 16px 32px rgba(255, 140, 0, 0.15);
}

.cart-item.discounted {
  border-color: rgba(255, 140, 0, 0.4);
}

.item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.item-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF5E6;
  margin: 0;
  background: none;
  -webkit-text-fill-color: #FFF5E6;
}

.discount-badge {
  background: linear-gradient(135deg, #FF8C00, #C98D65);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.item-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.price-original {
  font-size: 1.1rem;
  color: #888;
  text-decoration: line-through;
}

.price-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FF8C00;
}

.billing-tag {
  background: rgba(0, 122, 255, 0.2);
  color: #007AFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.item-controls button {
  background: rgba(255, 140, 0, 0.15);
  border: 2px solid rgba(255, 140, 0, 0.3);
  color: #FF8C00;
  font-size: 1.2rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.item-controls button:hover:not(:disabled) {
  background: rgba(255, 140, 0, 0.3);
  border-color: #FF8C00;
  transform: scale(1.05);
}

.item-controls button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.item-controls .quantity {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF5E6;
  min-width: 40px;
  text-align: center;
}

.item-controls .remove-btn {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
  color: #EF4444;
  width: auto;
  padding: 8px 16px;
  font-size: 0.95rem;
  margin-left: 8px;
}

.item-controls .remove-btn:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: #EF4444;
}

.item-line-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.line-original {
  font-size: 1rem;
  color: #888;
  text-decoration: line-through;
}

.line-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FF8C00;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(20, 20, 25, 0.7));
  border: 2px solid rgba(255, 140, 0, 0.2);
  border-radius: 24px;
}

.empty-cart h3 {
  font-size: 2rem;
  color: #FFF5E6;
  margin-bottom: 16px;
  background: none;
  -webkit-text-fill-color: #FFF5E6;
}

.empty-cart p {
  font-size: 1.1rem;
  color: #E8E6E3;
}

.empty-cart a {
  color: #FF8C00;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.empty-cart a:hover {
  color: #FFA500;
  text-decoration: underline;
}

/* Cart Summary */
.cart-summary {
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.95), rgba(20, 20, 25, 0.9));
  border: 2px solid rgba(255, 140, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(20px);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
  font-size: 1.15rem;
  color: #E8E6E3;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-row.total {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFF5E6;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 140, 0, 0.3);
}

.summary-row .discount {
  color: #4ADE80;
  font-weight: 700;
}

.summary-row.total span:last-child {
  color: #FF8C00;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.continue-shopping-btn,
.checkout-btn {
  flex: 1;
  min-width: 200px;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 2px solid;
}

.continue-shopping-btn {
  background: rgba(255, 140, 0, 0.1);
  border-color: rgba(255, 140, 0, 0.3);
  color: #FF8C00;
}

.continue-shopping-btn:hover {
  background: rgba(255, 140, 0, 0.2);
  border-color: #FF8C00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.2);
}

.checkout-btn {
  background: linear-gradient(135deg, #FF8C00, #C98D65);
  border-color: #FF8C00;
  color: white;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #FFA500, #D4A574);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 140, 0, 0.4);
}

/* Early Access Notice */
.early-access-notice {
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(20, 20, 25, 0.7));
  border: 2px solid rgba(255, 140, 0, 0.2);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.early-access-notice h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 20px;
  background: none;
  -webkit-text-fill-color: #FF8C00;
}

.early-access-notice p {
  font-size: 1.05rem;
  color: #E8E6E3;
  line-height: 1.7;
  margin-bottom: 16px;
}

.early-access-notice ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.early-access-notice li {
  font-size: 1.05rem;
  color: #E8E6E3;
  padding: 8px 0;
  padding-left: 8px;
}

.early-access-notice em {
  color: #C98D65;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-container > h1 {
    font-size: 2.2rem;
  }

  .cart-item {
    padding: 24px;
  }

  .item-main {
    flex-direction: column;
  }

  .item-controls {
    flex-wrap: wrap;
  }

  .cart-actions {
    flex-direction: column;
  }

  .continue-shopping-btn,
  .checkout-btn {
    width: 100%;
  }

  .line-current {
    font-size: 1.4rem;
  }
}
