/* ── CHECKOUT PAGE ── */
.checkout-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  box-sizing: border-box;
}

.checkout-form {
  width: 100%;
  max-width: 560px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

/* ── HEADER ── */
.checkout-header {
  text-align: center;
  padding: 48px 40px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.checkout-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 16px;
}

.checkout-title {
  font-family: 'WesternBangBang', serif;
  font-size: 2.8rem;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: 0.08em;
}

.checkout-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.co-line {
  display: block;
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.co-ornament {
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
}

.checkout-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.checkout-username {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #ffffff;
}

.checkout-count {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
}

/* ── ITEMS ── */
.checkout-items {
  padding: 0 40px;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.checkout-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.checkout-item-name {
  font-family: 'WesternBangBang', serif;
  font-size: 1.1rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.checkout-item-name:hover {
  color: rgba(255,255,255,0.6);
}

.checkout-item-expiry,
.checkout-item-option {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.checkout-item-price {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

/* ── QUANTITY + REMOVE ── */
.checkout-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.checkout-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.co-qty-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-qty-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
}

.co-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.co-qty-input {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-align: center;
  width: 36px;
  height: 32px;
  outline: none;
  -moz-appearance: textfield;
}

.co-qty-input::-webkit-outer-spin-button,
.co-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.co-remove {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.co-remove:hover {
  color: rgba(255,255,255,0.7);
}

/* ── FOOTER ── */
.checkout-footer {
  padding: 32px 40px 40px;
}

.checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.checkout-total-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.checkout-total-value {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 700;
}

/* ── BOTÃO CHECKOUT ── */
.co-btn {
  position: relative;
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.co-btn:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.05);
}

.co-btn-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: #ffffff;
  border-style: solid;
  opacity: 0;
  transition: opacity 0.2s;
}

.co-btn:hover .co-btn-corner {
  opacity: 1;
}

.co-btn-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.co-btn-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }