/* ── Cart Modal ── */
#exampleModalCenter .modal-dialog {
  margin-top: 70px;
}

.cart-modal {
  background: rgba(14, 14, 14, 0.75) !important;
  backdrop-filter: blur(5px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  font-size: 16px !important;
  color: #e0e0e0 !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6) !important;
}

.cart-modal .modal-body {
  padding: 0 16px 16px;
}

/* Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #222;
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
}

.cart-header .close {
  background: none;
  border: none;
  color: #666;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.cart-header .close:hover {
  color: #e05555;
}

/* Item rows */
.cart-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 4px;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 8px;
  border: none !important;
  background: rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.item-row:hover {
  background: rgba(255,255,255,0.09);
}

.cart-item-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  flex-shrink: 0;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.88rem;
  color: #5BE0E5;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
}

.cart-item-remove:hover {
  color: #e05555;
  background: rgba(224, 85, 85, 0.1);
}

/* Total */
.cart-total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 4px;
  padding: 12px 8px;
  border-top: 1px solid #222;
  font-size: 1.1rem;
  font-family: 'Oswald', sans-serif;
  color: #e0e0e0;
}

.cart-total-price #cart-total-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #5BE0E5!important;
}

/* Clear cart row */
.cart-clear-row {
  text-align: center;
  padding: 4px 0 8px;
}

.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #555 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.15s;
}

.cart-clear-btn:hover {
  color: #e05555 !important;
}

.cart-clear-btn span {
  color: inherit !important;
}

/* Checkout button */
.toggle-checkout-btn {
  background: #5BE0E5 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.05em !important;
  padding: 12px !important;
  width: 100% !important;
  margin-top: 4px !important;
  transition: opacity 0.2s !important;
}

.toggle-checkout-btn:hover {
  opacity: 0.88 !important;
}

/* Checkout form */
.cart-form-container {
  display: none;
  border-top: 1px solid #222;
  padding-top: 16px;
  margin-top: 4px;
}

.cart-form-container .form-control {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  color: #e0e0e0 !important;
  border-radius: 6px !important;
}

.cart-form-container .form-control::placeholder {
  color: #555 !important;
}

.cart-form-container .form-control:focus {
  border-color: #5BE0E5 !important;
  box-shadow: 0 0 0 2px rgba(91,224,229,0.15) !important;
}

.form-check-container .form-check-label-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  padding: 6px 0;
}

/* Close / cancel button */
.btn-outline-danger {
  border-color: #444 !important;
  color: #888 !important;
  border-radius: 6px !important;
}

.btn-outline-danger:hover {
  border-color: #e05555 !important;
  color: #e05555 !important;
  background: transparent !important;
}
