body.cart-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #e0e0e0;
  min-height: 100vh;
  margin: 0;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid #db0000;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.cart-title {
  font-family: 'BlackCastle', serif;
  font-size: 2rem;
  color: #db0000;
}

.cart-actions a,
.cart-actions button {
  color: #0a0e27;
  background: #db0000;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.cart-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.shop-destinations {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 8px;
}

.shop-destinations a {
  margin-left: 0;
  text-align: center;
  min-width: 170px;
}

.shop-destinations a.disabled {
  opacity: 0.6;
}

.cart-actions button.secondary {
  background: transparent;
  color: #db0000;
  border: 2px solid #db0000;
}

.clear-cart-inline {
  margin-left: 10px;
}

@media (max-width: 900px) {
  .cart-header {
    align-items: flex-start;
  }

  .cart-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .shop-destinations {
    margin-left: 0;
    margin-right: 8px;
  }
}

/* Floating Clear Cart pill — mobile only */
.clear-cart-pill {
  display: none; /* shown via JS when cart has items */
  position: fixed;
  bottom: 72px;   /* just above the Return to Courtyard link */
  right: 16px;
  z-index: 1000;
  background: rgba(20, 6, 6, 0.88);
  color: #db0000;
  border: 2px solid #db0000;
  border-radius: 24px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}

.clear-cart-pill:hover {
  background: #db0000;
  color: #fff;
}

@media (min-width: 901px) {
  .clear-cart-pill {
    display: none !important;
  }
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #db0000;
  text-align: left;
}

.cart-table th {
  color: #db0000;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #db0000;
  background: #151a35;
}

.cart-qty input {
  width: 70px;
  padding: 6px;
  background: #0a0e27;
  color: #e0e0e0;
  border: 1px solid #666;
  border-radius: 4px;
}

.cart-summary {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  font-size: 1.1rem;
}

.cart-summary strong {
  color: #db0000;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  border: 2px dashed #444;
  border-radius: 10px;
  color: #aaa;
}

.cart-remove {
  background: #db0000;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.return-courtyard {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  color: #0a0e27;
  background: #db0000;
  border: 2px solid #db0000;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.return-courtyard:hover {
  background: #db0000;
}
