/* Cart Page Styles */

.cart-title {
  font-family: Play, sans-serif;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.cart-subtitle {
  font-family: Inter, sans-serif;
  color: #999999;
  font-size: 14px;
  margin-bottom: 0;
}

/* Cart Items */

.cart-item {
  background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.cart-item:hover {
  border-color: #0569f1;
}

.cart-item-img {
  border-radius: 8px;
  background: #1a1a1a;
}

.cart-item-name {
  font-family: Inter, sans-serif;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.cart-item-name:hover {
  color: #0569f1;
}

.cart-item-sku {
  font-family: Inter, sans-serif;
  color: #666666;
  font-size: 11px;
  margin-bottom: 8px;
}

.flash-badge {
  display: inline-block;
  background: linear-gradient(90deg, #bc0a20, #161619);
  color: #ffffff;
  font-family: Play, sans-serif;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
}

.cart-item-price {
  font-family: Inter, sans-serif;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.cart-item-original-price {
  font-family: Inter, sans-serif;
  color: #ff7d06;
  font-size: 12px;
  text-decoration: line-through;
  margin-bottom: 0;
}

/* Quantity Controls */

.quantity-control {
  display: flex;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background: #0569f1;
}

.qty-input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 40px;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Action Buttons */

.btn-favorite, .btn-remove {
  background: transparent;
  border: none;
  color: #666666;
  font-size: 16px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-favorite:hover {
  color: #ff4444;
}

.btn-remove:hover {
  color: #ff4444;
}

/* Continue Shopping & Clear Cart */

.continue-shopping {
  font-family: Inter, sans-serif;
  color: #0569f1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.continue-shopping:hover {
  color: #76b900;
}

.btn-clear-cart {
  background: transparent;
  border: 1px solid #666666;
  color: #666666;
  font-family: Inter, sans-serif;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear-cart:hover {
  border-color: #ff4444;
  color: #ff4444;
}

/* Order Summary */

.order-summary {
  background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.summary-title {
  font-family: Play, sans-serif;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Coupon Section */

.coupon-section {
  margin-bottom: 16px;
}

.coupon-label {
  font-family: Inter, sans-serif;
  color: #999999;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.coupon-input {
  background: #1a1a1a;
  border: 1px solid #2f2f2f;
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
  padding: 10px 12px;
}

.coupon-input:focus {
  background: #1a1a1a;
  border-color: #0569f1;
  color: #ffffff;
  box-shadow: none;
}

.coupon-input::placeholder {
  color: #666666;
}

.coupon-btn {
  background: linear-gradient(90deg, #0569f1, #76b900);
  border: none;
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  transition: opacity 0.3s ease;
}

.coupon-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}

/* Summary Details */

.summary-divider {
  border-color: #2f2f2f;
  margin: 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #999999;
}

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

.discount-amount {
  color: #76b900 !important;
}

.shipping-amount {
  color: #ff7d06 !important;
}

.total-row {
  margin-bottom: 8px;
}

.total-row span {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff !important;
}

.total-row span:last-child {
  background: linear-gradient(90deg, #0569f1, #76b900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.installments-text {
  font-family: Inter, sans-serif;
  color: #76b900;
  font-size: 12px;
  text-align: center;
  margin-bottom: 20px;
}

/* Checkout Button */

.checkout-btn {
  width: 100%;
  background: linear-gradient(90deg, #0569f1, #76b900);
  border: none;
  color: #ffffff;
  font-family: Play, sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(5, 105, 241, 0.4);
  color: #ffffff;
}

/* Payment Methods */

.payment-methods {
  text-align: center;
  margin-bottom: 16px;
}

.payment-label {
  font-family: Inter, sans-serif;
  color: #666666;
  font-size: 12px;
  margin-bottom: 8px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.payment-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.payment-icons img:hover {
  opacity: 1;
}

/* Security Badge */

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(118, 185, 0, 0.1);
  border: 1px solid rgba(118, 185, 0, 0.3);
  border-radius: 8px;
  padding: 12px;
  color: #76b900;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.security-badge i {
  font-size: 16px;
}

/* Responsive Adjustments */

@media (max-width: 991px) {
  .order-summary {
    margin-top: 24px;
    position: relative;
    top: 0;
  }
}

@media (max-width: 767px) {
  .cart-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .cart-item-name {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .cart-item-price {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .quantity-control {
    justify-content: center;
  }
}

