/* ═══════════════════════════════════════════
   CHECKOUT + ORDER SUCCESS + TERMS pages
═══════════════════════════════════════════ */
body { background: #F3EFE3; }

.page-checkout .main-nav a,
.page-order-success .main-nav a,
.page-terms .main-nav a { color: var(--brown); text-shadow: none; }
.page-checkout .main-nav a:hover,
.page-order-success .main-nav a:hover,
.page-terms .main-nav a:hover { color: var(--gold-1); }
.page-checkout .main-nav a.active,
.page-order-success .main-nav a.active,
.page-terms .main-nav a.active { color: var(--brown); border-color: var(--brown); }

/* ── Shared back link ── */
#co-breadcrumb, #terms-breadcrumb {
  padding: 110px 160px 0;
}

.co-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(96,58,23,0.6);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.co-back-link:hover { color: var(--gold-1); }
.co-back-link:hover svg { transform: translateX(-3px); }
.co-back-link svg { transition: transform 0.2s; }

/* ═══════════════════════════════════════════
   CHECKOUT LAYOUT
═══════════════════════════════════════════ */
#co-section { padding: 36px 160px 96px; }

.co-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: start;
}

.co-section-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 24px;
}

/* ── Order Summary ── */
.co-summary {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(196,118,65,0.14);
  padding: 28px 28px 24px;
  position: sticky;
  top: 110px;
}

.co-product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.co-product-img {
  width: 90px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gold-4);
  flex-shrink: 0;
  border: 1px solid rgba(196,118,65,0.12);
}

.co-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.co-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
}

.co-product-info {
  flex: 1;
  min-width: 0;
}

.co-product-name {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--brown);
  margin-bottom: 6px;
}

.co-product-cat {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-1);
  background: rgba(196,118,65,0.1);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.co-product-qty {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 300;
  color: rgba(96,58,23,0.6);
  margin-bottom: 4px;
}

.co-product-unit {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 300;
  color: rgba(96,58,23,0.55);
}

.co-divider {
  border: none;
  border-top: 1px solid rgba(196,118,65,0.14);
  margin: 0 0 16px;
}

.co-total-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.co-total-label {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(96,58,23,0.55);
}

.co-total-value {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--brown);
}

/* ── Shipping Form ── */
.co-form-col { }

.co-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.co-input {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(196,118,65,0.22);
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  color: var(--brown);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.co-input::placeholder { color: rgba(96,58,23,0.38); }

.co-input:focus {
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(196,118,65,0.10);
}

.co-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

.co-field-error {
  display: none;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #c0392b;
  padding-left: 4px;
  margin-top: -6px;
}

.co-field-error.show { display: block; }

.co-textarea { min-height: 80px; }

/* ── Terms row ── */
.co-terms-row {
  padding: 4px 0;
}

.co-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.co-terms-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold-1);
  cursor: pointer;
}

.co-terms-label span {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(96,58,23,0.65);
}

.co-terms-label a {
  color: var(--gold-1);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.co-terms-label a:hover { color: var(--brown); }

/* ── Place Order button ── */
.btn-co-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  min-width: 180px;
  background: var(--brown-btn);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(131,60,11,0.22);
  margin-top: 6px;
}

.btn-co-order:hover {
  background: #6D2F06;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(131,60,11,0.30);
}

.btn-co-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════
   ORDER SUCCESS
═══════════════════════════════════════════ */
#success-section {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
}

.success-inner {
  text-align: center;
  max-width: 520px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196,118,65,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--gold-1);
}

.success-title {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 16px;
}

.success-msg {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: rgba(96,58,23,0.65);
  margin-bottom: 36px;
}

.btn-success-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--brown-btn);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, transform 0.18s;
  box-shadow: 0 4px 18px rgba(131,60,11,0.2);
}

.btn-success-back:hover {
  background: #6D2F06;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   TERMS & CONDITIONS
═══════════════════════════════════════════ */
#terms-section { padding: 36px 160px 96px; }

.terms-inner {
  max-width: 820px;
  margin: 0 auto;
}

.terms-title {
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--brown);
  margin-bottom: 8px;
}

.terms-updated {
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(96,58,23,0.45);
  margin-bottom: 40px;
}

.terms-body h2 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--brown);
  margin: 36px 0 12px;
}

.terms-body p, .terms-body li {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: rgba(96,58,23,0.72);
}

.terms-body ul, .terms-body ol {
  padding-left: 20px;
  margin: 10px 0;
}

.terms-body li { margin-bottom: 6px; }

.terms-body p { margin-bottom: 14px; }

.terms-divider {
  border: none;
  border-top: 1px solid rgba(196,118,65,0.18);
  margin: 40px 0 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1280px) {
  #co-breadcrumb, #terms-breadcrumb { padding: 110px 80px 0; }
  #co-section, #terms-section { padding: 36px 80px 80px; }
  .co-inner { grid-template-columns: 360px 1fr; gap: 40px; }
}

@media (max-width: 1060px) {
  #co-breadcrumb, #terms-breadcrumb { padding: 110px 48px 0; }
  #co-section, #terms-section { padding: 32px 48px 72px; }
  .co-inner { grid-template-columns: 1fr; gap: 32px; }
  .co-summary { position: static; }
}

@media (max-width: 960px) {
  #co-breadcrumb, #terms-breadcrumb { padding: 100px 28px 0; }
  #co-section, #terms-section { padding: 28px 28px 64px; }
  .terms-title { font-size: 30px; }
}

@media (max-width: 560px) {
  #co-breadcrumb, #terms-breadcrumb { padding: 90px 20px 0; }
  #co-section, #terms-section { padding: 24px 20px 56px; }
  .terms-title { font-size: 24px; }
  .co-product-img { width: 72px; height: 88px; }
}

/* ═══════════════════════════════════════════
   PROGRESS STEPPER
═══════════════════════════════════════════ */
.co-progress {
  display: flex;
  align-items: flex-start;
  padding: 4px 0 32px;
}

.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  gap: 8px;
}

.co-step::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: rgba(196,118,65,0.18);
  z-index: 0;
}
.co-step:first-child::before { display: none; }
.co-step.completed::before,
.co-step.active::before      { background: var(--gold-1); }

.co-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(196,118,65,0.25);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: rgba(96,58,23,0.35);
  position: relative;
  z-index: 1;
  transition: background .25s, border-color .25s, color .25s;
}
.co-step.completed .co-step-circle {
  background: var(--gold-1); border-color: var(--gold-1); color: #fff;
}
.co-step.active .co-step-circle {
  background: var(--brown); border-color: var(--brown); color: #fff;
  box-shadow: 0 2px 12px rgba(96,58,23,.22);
}

.co-step-label {
  font-family: var(--font-b);
  font-size: 10px;
  letter-spacing: .05em;
  color: rgba(96,58,23,.4);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.co-step.active .co-step-label    { color: var(--brown); font-weight: 600; }
.co-step.completed .co-step-label { color: rgba(196,118,65,.8); }

/* ═══════════════════════════════════════════
   ACTION ROW (Back + Continue buttons)
═══════════════════════════════════════════ */
.co-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 16px;
}

.btn-co-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(96,58,23,.55);
  text-decoration: none;
  background: none;
  border: 1px solid rgba(196,118,65,.22);
  border-radius: 12px;
  padding: 12px 22px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.btn-co-back:hover { color: var(--gold-1); border-color: var(--gold-1); }
.btn-co-back svg   { transition: transform .2s; }
.btn-co-back:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════════
   FORM — INLINE ROW (two fields side-by-side)
═══════════════════════════════════════════ */
.co-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* single-column cart empty state */
.co-inner-single {
  display: block;
}

/* ═══════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════ */
.page-cart .co-inner {
  grid-template-columns: 1fr 360px;
}

.cart-item-list { display: flex; flex-direction: column; gap: 14px; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(196,118,65,.12);
  padding: 16px 20px;
}

.cart-item-img {
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gold-4);
  border: 1px solid rgba(196,118,65,.1);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); font-family: var(--font-h); font-size: 9px; letter-spacing: .14em;
}

.cart-item-info { min-width: 0; }
.cart-item-title {
  font-family: var(--font-h); font-size: 14px;
  color: var(--brown); letter-spacing: .04em; margin-bottom: 4px;
}
.cart-item-cat {
  font-family: var(--font-b); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 10px;
}
.cart-item-qty-row { display: flex; align-items: center; gap: 12px; }

.cart-qty-stepper {
  display: flex; align-items: center;
  border: 1px solid rgba(196,118,65,.22); border-radius: 8px; overflow: hidden;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.cart-qty-btn:hover:not(:disabled) { background: rgba(196,118,65,.1); }
.cart-qty-btn:disabled { opacity: .3; cursor: default; }
.cart-qty-input {
  width: 44px; border: none;
  border-left: 1px solid rgba(196,118,65,.22);
  border-right: 1px solid rgba(196,118,65,.22);
  text-align: center;
  font-family: var(--font-b); font-size: 14px;
  color: var(--brown); background: #fff; padding: 4px 0;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.cart-item-price {
  font-family: var(--font-b); font-size: 12px; color: rgba(96,58,23,.55);
}

.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-total {
  font-family: var(--font-h); font-size: 18px; color: var(--brown);
  letter-spacing: .04em; white-space: nowrap;
}
.cart-remove-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(96,58,23,.35); font-family: var(--font-b);
  font-size: 11px; letter-spacing: .06em;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 0; transition: color .15s;
}
.cart-remove-btn:hover { color: #c0392b; }

/* Cart empty state */
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon { color: rgba(196,118,65,.3); margin-bottom: 20px; }
.cart-empty-title {
  font-family: var(--font-h); font-size: 22px;
  color: var(--brown); margin-bottom: 8px; letter-spacing: .06em;
}
.cart-empty-sub {
  font-family: var(--font-b); font-size: 14px;
  color: rgba(96,58,23,.5); margin-bottom: 28px;
}

/* Cart summary sidebar */
.cart-summary-box {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(196,118,65,.14);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.cart-summary-title {
  font-family: var(--font-h); font-size: 18px;
  color: var(--brown); letter-spacing: .06em; margin-bottom: 20px;
}
.cart-summary-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-summary-line {
  display: flex; justify-content: space-between;
  font-family: var(--font-b); font-size: 13px; color: rgba(96,58,23,.6);
}
.cart-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(196,118,65,.14);
  padding-top: 14px; margin-bottom: 20px;
}
.cart-summary-total-label {
  font-family: var(--font-b); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(96,58,23,.55);
}
.cart-summary-total-val {
  font-family: var(--font-h); font-size: 24px; color: var(--brown);
}

.btn-co-checkout {
  width: 100%; padding: 16px;
  background: var(--brown-btn); color: #fff; border: none;
  border-radius: 12px; font-family: var(--font-b);
  font-size: 14px; font-weight: 500; letter-spacing: .1em;
  cursor: pointer; transition: background .2s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
}
.btn-co-checkout:hover { background: var(--brown); transform: translateY(-1px); }

.btn-co-continue-shopping {
  display: block; text-align: center; margin-top: 12px;
  font-family: var(--font-b); font-size: 12px; letter-spacing: .08em;
  color: rgba(96,58,23,.5); text-decoration: none; transition: color .2s;
}
.btn-co-continue-shopping:hover { color: var(--gold-1); }

/* ═══════════════════════════════════════════
   SHIPPING METHOD CARDS
═══════════════════════════════════════════ */
.co-ship-methods { display: flex; flex-direction: column; gap: 12px; }

.co-ship-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: #fff;
  border: 2px solid rgba(196,118,65,.18); border-radius: 14px;
  cursor: pointer; transition: border-color .2s, background .2s;
  position: relative;
}
.co-ship-card:hover { border-color: var(--gold-1); }
.co-ship-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.co-ship-card.selected { border-color: var(--brown); background: rgba(96,58,23,.03); }

.co-ship-radio-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(196,118,65,.3); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.co-ship-card.selected .co-ship-radio-dot { border-color: var(--brown); }
.co-ship-radio-dot::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brown); display: none;
}
.co-ship-card.selected .co-ship-radio-dot::after { display: block; }

.co-ship-info { flex: 1; }
.co-ship-name { font-family: var(--font-b); font-size: 14px; font-weight: 500; color: var(--brown); margin-bottom: 2px; }
.co-ship-days { font-family: var(--font-b); font-size: 12px; color: rgba(96,58,23,.5); font-weight: 300; }
.co-ship-price { font-family: var(--font-h); font-size: 18px; color: var(--gold-1); letter-spacing: .03em; }

/* ═══════════════════════════════════════════
   BILLING SAME-AS-SHIPPING TOGGLE
═══════════════════════════════════════════ */
.co-bill-same-toggle {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: #fff;
  border: 1px solid rgba(196,118,65,.18); border-radius: 14px;
  cursor: pointer; transition: border-color .2s; margin-bottom: 4px;
}
.co-bill-same-toggle:hover { border-color: var(--gold-1); }

.co-toggle-check {
  width: 20px; height: 20px; border-radius: 4px;
  border: 2px solid rgba(196,118,65,.3); background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.co-toggle-check.checked { background: var(--brown); border-color: var(--brown); }
.co-toggle-check svg { display: none; }
.co-toggle-check.checked svg { display: block; }

.co-toggle-label {
  font-family: var(--font-b); font-size: 14px; color: var(--brown);
}

.co-bill-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.co-bill-fields.hidden { display: none; }

/* ═══════════════════════════════════════════
   ORDER REVIEW — ITEMIZED
═══════════════════════════════════════════ */
.co-review-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.co-review-item { display: flex; gap: 14px; align-items: center; }
.co-review-item-img {
  width: 56px; height: 56px; border-radius: 8px;
  overflow: hidden; background: var(--gold-4); flex-shrink: 0;
  border: 1px solid rgba(196,118,65,.1);
}
.co-review-item-img img { width: 100%; height: 100%; object-fit: contain; }
.co-review-item-info { flex: 1; min-width: 0; }
.co-review-item-title { font-family: var(--font-h); font-size: 13px; color: var(--brown); letter-spacing: .04em; }
.co-review-item-qty   { font-family: var(--font-b); font-size: 11px; color: rgba(96,58,23,.5); margin-top: 2px; }
.co-review-item-price { font-family: var(--font-b); font-size: 14px; font-weight: 500; color: var(--brown); white-space: nowrap; }

.co-review-totals {
  border-top: 1px solid rgba(196,118,65,.14);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.co-review-total-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-b); font-size: 13px; color: rgba(96,58,23,.6);
}
.co-review-total-row.grand {
  font-size: 15px; font-weight: 600; color: var(--brown);
  border-top: 1px solid rgba(196,118,65,.14); padding-top: 10px; margin-top: 4px;
}

.co-review-address-block {
  background: rgba(196,118,65,.05); border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-b); font-size: 13px; font-weight: 300;
  color: rgba(96,58,23,.7); line-height: 1.6; margin-bottom: 0;
}
.co-review-address-label {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: rgba(96,58,23,.45); margin-bottom: 4px;
}
.co-review-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

/* T&C error message */
.co-terms-err-msg {
  display: none; align-items: center; gap: 8px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px;
  padding: 10px 14px; margin-bottom: 12px;
  font-family: var(--font-b); font-size: 13px; color: #b91c1c;
}

/* ═══════════════════════════════════════════
   PAYMENT CARD FORM
═══════════════════════════════════════════ */
.co-test-banner {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: 10px;
  padding: 10px 16px; font-family: var(--font-b); font-size: 12px;
  font-weight: 600; letter-spacing: .06em; color: #856404;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}

.co-card-form { display: flex; flex-direction: column; gap: 14px; }

.co-card-brand-row { display: flex; gap: 8px; margin-bottom: 4px; }
.co-card-brand-icon {
  height: 28px; width: 44px;
  border: 1px solid rgba(196,118,65,.15); border-radius: 5px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-b); font-size: 8px; font-weight: 700;
  letter-spacing: .05em; color: rgba(96,58,23,.4);
}

.co-card-number-wrap { position: relative; }
.co-card-icon {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); color: rgba(196,118,65,.4);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   CONFIRMATION PAGE
═══════════════════════════════════════════ */
#confirm-section { padding: 60px 160px 96px; }

.confirm-inner { max-width: 780px; margin: 0 auto; }

.confirm-header { text-align: center; margin-bottom: 48px; }

.confirm-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(196,118,65,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--gold-1);
}

.confirm-title {
  font-family: var(--font-h); font-size: 32px; font-weight: 400;
  letter-spacing: .06em; color: var(--brown); margin-bottom: 8px;
}

.confirm-order-no {
  font-family: var(--font-b); font-size: 13px;
  color: rgba(96,58,23,.5); letter-spacing: .06em;
}
.confirm-order-no strong {
  font-family: var(--font-h); font-size: 16px;
  color: var(--gold-1); letter-spacing: .08em;
}

.confirm-email-note {
  font-family: var(--font-b); font-size: 14px;
  color: rgba(96,58,23,.6); margin-top: 10px;
}

.confirm-card {
  background: #fff; border: 1px solid rgba(196,118,65,.14);
  border-radius: 20px; padding: 28px 32px; margin-bottom: 20px;
}

.confirm-card-title {
  font-family: var(--font-h); font-size: 16px; color: var(--brown);
  letter-spacing: .06em; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(196,118,65,.12);
}

.confirm-item-row {
  display: flex; gap: 14px; align-items: center; margin-bottom: 14px;
}
.confirm-item-img {
  width: 56px; height: 56px; border-radius: 8px;
  overflow: hidden; background: var(--gold-4);
  border: 1px solid rgba(196,118,65,.1); flex-shrink: 0;
}
.confirm-item-img img { width: 100%; height: 100%; object-fit: contain; }

.confirm-item-title { font-family: var(--font-h); font-size: 14px; color: var(--brown); }
.confirm-item-qty   { font-family: var(--font-b); font-size: 12px; color: rgba(96,58,23,.5); margin-top: 2px; }
.confirm-item-price {
  font-family: var(--font-b); font-size: 14px; color: var(--brown);
  margin-left: auto; white-space: nowrap;
}

.confirm-totals {
  border-top: 1px solid rgba(196,118,65,.12); padding-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.confirm-total-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-b); font-size: 13px; color: rgba(96,58,23,.6);
}
.confirm-total-row.grand {
  font-family: var(--font-h); font-size: 18px; color: var(--brown); letter-spacing: .04em;
  border-top: 1px solid rgba(196,118,65,.14); padding-top: 10px; margin-top: 4px;
}

.confirm-meta-row {
  display: flex; gap: 8px; justify-content: space-between;
  font-family: var(--font-b); font-size: 13px; color: rgba(96,58,23,.6);
  padding: 8px 0; border-bottom: 1px solid rgba(196,118,65,.08);
}
.confirm-meta-row:last-child { border-bottom: none; }
.confirm-meta-label {
  font-weight: 500; color: rgba(96,58,23,.45); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; min-width: 120px; flex-shrink: 0;
}

.confirm-delivery-note {
  display: flex; align-items: center; gap: 8px;
  background: rgba(196,118,65,.06); border-radius: 10px;
  padding: 12px 16px; margin-top: 12px;
  font-family: var(--font-b); font-size: 13px; color: rgba(96,58,23,.7);
}

.btn-confirm-back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 14px 28px;
  background: var(--brown-btn); color: #fff; border: none; border-radius: 12px;
  font-family: var(--font-b); font-size: 14px; font-weight: 500;
  letter-spacing: .1em; text-decoration: none; transition: background .2s, transform .15s;
}
.btn-confirm-back:hover { background: var(--brown); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   RESPONSIVE — new checkout pages
═══════════════════════════════════════════ */
@media (max-width: 1060px) {
  #confirm-section { padding: 40px 60px 72px; }
  .co-step-label { font-size: 9px; }
}

@media (max-width: 960px) {
  .page-cart .co-inner { grid-template-columns: 1fr; }
  .cart-summary-box    { position: static; }
  .co-form-row         { grid-template-columns: 1fr; }
  #confirm-section     { padding: 32px 28px 60px; }
}

@media (max-width: 560px) {
  .co-step-label  { display: none; }
  .co-step-circle { width: 28px; height: 28px; font-size: 11px; }
  .cart-item      { grid-template-columns: 64px 1fr; }
  .cart-item-right { flex-direction: row; align-items: center; }
  .co-actions { flex-direction: column-reverse; gap: 10px; }
  .co-actions .btn-co-back { width: 100%; justify-content: center; }
  #confirm-section { padding: 24px 16px 48px; }
  .confirm-card    { padding: 20px 18px; }
}
