/* ==========================================================================
   CART PAGE - Hyper-Minimal Luxury Design
   ========================================================================== */

.cart-page {
  padding: 100px 0;
  background-color: #fafafa;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 100px;
  align-items: start;
}

.cart-main {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 8px;
  padding: 48px 40px 56px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cart-title {
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #111;
  letter-spacing: -0.03em;
}

/* Cart Items - Clean List Style */
.cart-items-list {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
  background: transparent;
}

.cart-main .cart-item:first-child {
  padding-top: 0;
}

.cart-item__image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #f5f5f4;
  border: 1px solid #e8e8e6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.cart-info {
  flex: 1;
}

.cart-info h3 {
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.cart-item__link-wrap {
  margin: 0 0 10px;
}

.cart-item__link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c5c58;
  text-decoration: none;
  border-bottom: 1px solid #d0d0cc;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart-item__link:hover {
  color: #111;
  border-bottom-color: #111;
}

.cart-item__qty,
.cart-info p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.remove-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #bbbbbb;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s ease;
}

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

/* Summary / enquiry card */
.cart-summary {
  position: sticky;
  top: 120px;
  padding: 48px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e6;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cart-enquiry-summary__title {
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.cart-enquiry-summary__lead {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #5c5c58;
  margin: 0 0 1.25rem;
}

.cart-enquiry-summary__count {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a2a2a;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.cart-enquiry-summary__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fafafa;
  max-height: 220px;
  overflow-y: auto;
}

.cart-enquiry-summary__item {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #3d3d3a;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #ececea;
  line-height: 1.45;
}

.cart-enquiry-summary__item:last-child {
  border-bottom: none;
}

.cart-enquiry-summary__submit {
  margin-top: 0.25rem;
}

.cart-enquiry-summary__secondary {
  margin-top: 1rem;
}

.checkout-btn {
  width: 100%;
  height: 52px;
  background: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.checkout-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.checkout-btn--inline {
  display: inline-flex;
  width: auto;
  padding: 0 40px;
  text-decoration: none;
}

.continue-browsing {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: #bbbbbb;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.continue-browsing:hover {
  color: #111;
}

/* Empty State */
.cart-empty {
  text-align: center;
  padding: 72px 24px 88px;
}

.cart-empty__text {
  font-size: 1.0625rem;
  color: #666;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .cart-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .cart-main {
    padding: 28px 20px 36px;
  }

  .cart-item {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
  }

  .cart-item__image {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
  }
}
