/* Alize — Cart page */

body.alize-theme .alize-cart-page {
  padding: 48px 0 80px;
  background: var(--cream);
  min-height: 60vh;
}

body.alize-theme .alize-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

body.alize-theme .alize-cart-head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.alize-theme .alize-cart-count {
  font-size: 14px;
  color: #6b6558;
}

body.alize-theme .alize-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

body.alize-theme .alize-cart-items {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
  overflow: hidden;
}

body.alize-theme .alize-cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.06);
  transition: background 0.2s;
}

body.alize-theme .alize-cart-item:last-child {
  border-bottom: none;
}

body.alize-theme .alize-cart-item:hover {
  background: rgba(244, 239, 228, 0.35);
}

body.alize-theme .alize-cart-item-img {
  flex-shrink: 0;
  width: 96px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
}

body.alize-theme .alize-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.alize-theme .alize-cart-item-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4bdb0;
  font-size: 28px;
}

body.alize-theme .alize-cart-item-info {
  flex: 1;
  min-width: 0;
}

body.alize-theme .alize-cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

body.alize-theme .alize-cart-item-name:hover {
  color: var(--gold-dark);
}

body.alize-theme .alize-cart-item-variant {
  font-size: 13px;
  color: #6b6558;
  margin: 0 0 4px;
}

body.alize-theme .alize-cart-item-sku {
  font-size: 11px;
  color: #9a9488;
  margin: 0;
}

body.alize-theme .alize-cart-item-price {
  text-align: right;
  min-width: 100px;
}

body.alize-theme .alize-cart-item-price .old {
  display: block;
  font-size: 12px;
  color: #9a9488;
  text-decoration: line-through;
}

body.alize-theme .alize-cart-item-price .now {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

body.alize-theme .alize-cart-item-price .now.sale {
  color: #b5533f;
}

body.alize-theme .alize-cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

body.alize-theme .alize-cart-qty button {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

body.alize-theme .alize-cart-qty button:hover:not(:disabled) {
  background: rgba(198, 166, 100, 0.2);
}

body.alize-theme .alize-cart-qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.alize-theme .alize-cart-qty span {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

body.alize-theme .alize-cart-item-total {
  min-width: 90px;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
}

body.alize-theme .alize-cart-remove {
  border: none;
  background: none;
  color: #b5533f;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

body.alize-theme .alize-cart-remove:hover {
  background: #fef2f2;
}

body.alize-theme .alize-cart-continue {
  margin-top: 20px;
}

body.alize-theme .alize-cart-sidebar .alize-cart-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.06);
  overflow: hidden;
}

body.alize-theme .alize-cart-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

body.alize-theme .alize-cart-card-body {
  padding: 20px;
}

body.alize-theme .alize-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #6b6558;
}

body.alize-theme .alize-cart-summary-row.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
}

body.alize-theme .alize-cart-summary-row.promo {
  color: #7c3aed;
}

body.alize-theme .alize-cart-alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body.alize-theme .alize-cart-alert--info {
  background: rgba(198, 166, 100, 0.12);
  border: 1px solid rgba(198, 166, 100, 0.35);
  color: var(--navy);
}

body.alize-theme .alize-cart-alert--success {
  background: rgba(34, 120, 80, 0.08);
  border: 1px solid rgba(34, 120, 80, 0.2);
  color: #1d6b47;
}

body.alize-theme .alize-cart-alert .progress {
  height: 4px;
  background: rgba(20, 33, 61, 0.1);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

body.alize-theme .alize-cart-alert .progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
}

body.alize-theme .alize-cart-checkout-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--gold-light);
  border: none;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

body.alize-theme .alize-cart-checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.25);
  color: var(--gold-light);
}

/* Empty cart */
body.alize-theme .alize-cart-empty-hero {
  text-align: center;
  padding: 48px 24px 40px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  border-radius: 14px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

body.alize-theme .alize-cart-empty-hero::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(198, 166, 100, 0.15);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

body.alize-theme .alize-cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(198, 166, 100, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

body.alize-theme .alize-cart-empty-hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

body.alize-theme .alize-cart-empty-hero p {
  color: rgba(244, 239, 228, 0.75);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

body.alize-theme .alize-cart-suggestions .sec-head {
  text-align: center;
  margin-bottom: 32px;
}

body.alize-theme .alize-cart-suggestions .sec-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 8px;
}

body.alize-theme .alize-cart-suggestions .sec-head p {
  color: #6b6558;
  font-size: 14px;
}

body.alize-theme .alize-cart-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1080px) {
  body.alize-theme .alize-cart-layout {
    grid-template-columns: 1fr;
  }

  body.alize-theme .alize-cart-suggestions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  body.alize-theme .alize-cart-page {
    padding: 28px 0 60px;
  }

  body.alize-theme .alize-cart-item {
    flex-wrap: wrap;
    position: relative;
    padding: 16px;
    gap: 12px;
  }

  body.alize-theme .alize-cart-item-img {
    width: 80px;
    height: 100px;
  }

  body.alize-theme .alize-cart-item-info {
    flex: 1 1 calc(100% - 100px);
  }

  body.alize-theme .alize-cart-remove {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  body.alize-theme .alize-cart-suggestions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
