/* ════════════════════════════════════════════════════════════
   MOJOOD — cart.css
   Full cart page styles
   ════════════════════════════════════════════════════════════ */

.cart-page {
  padding: 120px 48px 80px;
  min-height: 80vh;
}

.cart-page-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-page-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface);
}

.cart-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}

.cart-page-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mid);
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ── LINE ITEMS ───────────────────────────────────────────── */
.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color .25s;
}

.cart-line:hover { border-color: rgba(212,255,0,.2); }

.cl-img {
  width: 88px;
  height: 88px;
  background: var(--void);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.cl-info { flex: 1; }

.cl-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}

.cl-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
  transition: color .2s;
}

.cl-name:hover { color: var(--acid); }

.cl-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cl-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--void);
}

.cl-qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--chrome);
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-qty-btn:hover { background: rgba(212,255,0,.08); color: var(--acid); }

.cl-qty-val {
  width: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
}

.cl-remove {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--mid);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
  padding: 0;
}

.cl-remove:hover { color: var(--plasma); }

.cl-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-align: right;
}

/* ── ORDER SUMMARY ────────────────────────────────────────── */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 120px;
}

.cs-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.cs-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.cs-row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--chrome);
}

.cs-row .cs-val { color: var(--white); }

.cs-divider { height: 1px; background: var(--border); margin: 16px 0; }

.cs-total {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cs-total span:last-child { color: var(--acid); }

.cs-note {
  font-size: .78rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cs-checkout-btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cs-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(37,211,102,.07);
  border: 1px solid rgba(37,211,102,.2);
  border-radius: 10px;
  color: #25D366;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  margin-bottom: 24px;
}

.cs-wa:hover { background: rgba(37,211,102,.14); }

.cs-trust { display: flex; flex-direction: column; gap: 8px; }

.cs-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--mid);
}

.cs-trust-item svg { color: var(--acid); }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.cart-empty {
  text-align: center;
  padding: 100px 24px;
}

.ce-icon { font-size: 4rem; margin-bottom: 24px; opacity: .4; }

.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cart-empty p { color: var(--chrome); margin-bottom: 32px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-page { padding: 100px 20px 60px; }
}

@media (max-width: 600px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cl-price { grid-column: 2; }
  .cl-img { width: 64px; height: 64px; font-size: 1.8rem; }
}
