/* ============================================
   CHECKOUT PAGE STYLES
   Organic Urban — checkout.css
   ============================================
   All selectors scoped under .checkout-page
   New classes use "co-" prefix (no wildcard conflicts)
   ============================================ */


/* ============================================
   1. BASE LAYOUT
   Extracted from checkout.php inline <style>
   ============================================ */

.checkout-page {
  padding: var(--spacing-2xl) var(--spacing-md);
  max-width: 1040px;
  margin: 0 auto;
}

.checkout-page .checkout-header {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.checkout-page .checkout-header h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.checkout-page .checkout-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.checkout-page .checkout-content {
  display: grid;
  grid-template-columns: 1.25fr 400px;
  gap: var(--spacing-2xl);
}

.checkout-page .checkout-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.checkout-page .form-section {
  margin-bottom: var(--spacing-xl);
}

.checkout-page .form-section h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--border-soft);
  color: var(--text-dark);
}

.checkout-page .form-group {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.checkout-page .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.checkout-page .form-group input,
.checkout-page .form-group select,
.checkout-page .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  font-size: 16px;
  /* Prevents iOS zoom on focus */
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  background: var(--white);
  color: var(--text-dark);
}

.checkout-page .form-group input:focus,
.checkout-page .form-group select:focus,
.checkout-page .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-sage);
  box-shadow: 0 0 0 3px rgba(122, 154, 122, 0.12);
}

.checkout-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

/* Order Summary Sidebar */
.checkout-page .order-summary {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-page .summary-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-soft);
}

.checkout-page .summary-item.total {
  border-bottom: none;
  border-top: 2px solid var(--text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
}

/* Payment Method Selection Custom Radios */
.checkout-page .payment-method {
  margin-top: var(--spacing-md);
}

.checkout-page .payment-option {
  display: flex;
  align-items: flex-start;
  padding: var(--spacing-md);
  border: 2px solid var(--border-soft);
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.checkout-page .payment-option:hover {
  border-color: var(--accent-sage);
}

.checkout-page .payment-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  margin-top: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkout-page .payment-option input[type="radio"]:checked {
  border-color: var(--accent-sage);
  background-color: var(--accent-sage);
}

.checkout-page .payment-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

.checkout-page .payment-option.active {
  border-color: var(--accent-sage);
  background: var(--bg-soft);
}

/* Custom Checkbox for Gift Wrap */
.checkout-page .co-gift-wrap label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: var(--spacing-sm);
}

.checkout-page .co-gift-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 4px;
  margin-top: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkout-page .co-gift-wrap input[type="checkbox"]:checked {
  background-color: var(--accent-sage);
  border-color: var(--accent-sage);
}

.checkout-page .co-gift-wrap input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submit Button replaced by premium-checkout-btn HTML structure */
.checkout-page .premium-checkout-btn {
  width: 100% !important;
  height: 34px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #7a947a 0%, #5d755d 100%) !important;
  color: white !important;
  border: none;
  border-radius: 10px !important;
  padding: 0 16px !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(93, 117, 93, 0.2) !important;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.checkout-page .btn-main-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-page .btn-text {
  font-size: 0.9rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.checkout-page .premium-checkout-btn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.checkout-page .btn-external-amount {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.checkout-page .btn-subtext {
  font-size: 0.75rem;
  opacity: 0.9;
}


/* ============================================
   2. PROGRESS INDICATOR
   Step numbers with connecting lines
   ============================================ */

.checkout-page .co-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md) 0;
}

.checkout-page .co-progress-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.checkout-page .co-progress-step--active {
  opacity: 1;
}

.checkout-page .co-progress-step--done {
  opacity: 1;
}

.checkout-page .co-progress-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-soft);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.checkout-page .co-progress-step--active .co-progress-num {
  background: var(--accent-sage);
  color: var(--white);
}

.checkout-page .co-progress-step--done .co-progress-num {
  background: var(--accent-sage);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  font-size: 0;
}

.checkout-page .co-progress-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-page .co-progress-step--active .co-progress-label {
  color: var(--text-dark);
}

.checkout-page .co-progress-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--border-soft);
  margin: 0 var(--spacing-sm);
}

.checkout-page .co-progress-line--done {
  background: var(--accent-sage);
}


/* ============================================
   3. ACCORDION SECTIONS
   Collapsible form sections with check marks
   ============================================ */

.checkout-page .co-section {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.checkout-page .co-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-xl);
  cursor: pointer;
}

.checkout-page .co-section-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.checkout-page .co-section-title h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0;
  color: var(--text-dark);
}

.checkout-page .co-section-check {
  display: none;
  width: 24px;
  height: 24px;
  color: var(--accent-sage);
}

.checkout-page .co-section--done .co-section-check {
  display: inline-flex;
  animation: coCheckPulse 0.4s ease-out;
}

.checkout-page .co-section-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: none;
  flex: 1;
  text-align: right;
  margin-right: var(--spacing-sm);
}

.checkout-page .co-section--done .co-section-summary {
  display: block;
}

.checkout-page .co-section-body {
  padding: 0 var(--spacing-xl) var(--spacing-xl);
  transition: max-height 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
}

.checkout-page .co-section--collapsed .co-section-body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.checkout-page .co-section-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-page .co-section--collapsed .co-section-toggle {
  transform: rotate(180deg);
}

@keyframes coCheckPulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  70% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* ============================================
   4. FIELD VALIDATION STATES
   Visual feedback for valid/invalid inputs
   ============================================ */

.checkout-page .co-field--valid input,
.checkout-page .co-field--valid textarea,
.checkout-page .co-field--valid select {
  border-color: var(--accent-sage);
}

.checkout-page .co-field--valid .co-field-check {
  display: block;
}

.checkout-page .co-field--invalid input,
.checkout-page .co-field--invalid textarea {
  border-color: #dc2626;
}

.checkout-page .co-field-check {
  display: none;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A9A7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.checkout-page .co-field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}


/* ============================================
   5. ENHANCED ORDER SUMMARY
   Thumbnails, quantities, savings indicators
   ============================================ */

.checkout-page .co-summary-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-soft);
}

.checkout-page .co-summary-thumb {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.checkout-page .co-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-page .co-summary-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-sage);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-page .co-summary-details {
  flex: 1;
  min-width: 0;
}

.checkout-page .co-summary-name {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-page .co-summary-savings {
  font-size: 0.75rem;
  color: var(--accent-sage);
  font-weight: 500;
}

.checkout-page .co-summary-price {
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9rem;
}

.checkout-page .co-summary-delivery {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}


/* ============================================
   6. COUPON SECTION
   Toggle, input row, applied state, messages
   ============================================ */

.checkout-page .co-coupon {
  margin-bottom: var(--spacing-md);
}

.checkout-page .co-coupon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--spacing-sm);
  background: none;
  border: 1px dashed var(--border-soft);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.checkout-page .co-coupon-toggle:hover {
  border-color: var(--accent-sage);
  color: var(--text-dark);
}

.checkout-page .co-coupon-body {
  padding: var(--spacing-sm) 0;
}

.checkout-page .co-coupon-input-row {
  display: flex;
  gap: var(--spacing-xs);
}

.checkout-page .co-coupon-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

.checkout-page .co-coupon-apply-btn {
  padding: 10px 20px;
  background: var(--accent-sage);
  color: var(--white);
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  min-width: 80px;
}

.checkout-page .co-coupon-apply-btn:hover {
  background: var(--accent-sage-dark);
}

.checkout-page .co-coupon-applied {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: #f0fdf4;
  border-radius: 8px;
}

.checkout-page .co-coupon-badge {
  background: var(--accent-sage);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.checkout-page .co-coupon-amount {
  color: var(--accent-sage);
  font-weight: 600;
}

.checkout-page .co-coupon-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #dc2626;
  font-size: 1.2rem;
  margin-left: auto;
  padding: 4px;
  line-height: 1;
}

.checkout-page .co-coupon-msg {
  font-size: 0.82rem;
  margin-top: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
}

.checkout-page .co-coupon-msg--error {
  color: #dc2626;
}

.checkout-page .co-coupon-msg--success {
  color: var(--accent-sage);
}


/* ============================================
   7. TRUST STRIP
   Security badges below order summary
   ============================================ */

.checkout-page .premium-trust-signals {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
  margin-bottom: var(--spacing-md);
}

.checkout-page .trust-signal-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-page .trust-signal-item svg {
  flex-shrink: 0;
  color: var(--accent-sage);
}


/* ============================================
   8. PAYMENT METHODS & LOGOS
   Refined cards with clear selection states
   ============================================ */

.checkout-page .payment-method {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.checkout-page .payment-option {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: var(--white);
}

.checkout-page .payment-option.active {
  border-color: rgba(122, 154, 122, 0.4);
  background: rgba(122, 154, 122, 0.04);
}

.checkout-page .payment-option input[type="radio"] {
  display: none;
}

.checkout-page .custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-soft);
  border-radius: 50%;
  margin-right: 14px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkout-page .payment-option.active .custom-radio {
  border-color: var(--accent-sage);
}

.checkout-page .payment-option.active .custom-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--accent-sage);
  border-radius: 50%;
  animation: coRadioPop 0.2s ease-out;
}

@keyframes coRadioPop {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.checkout-page .payment-option-details {
  flex: 1;
}

.checkout-page .payment-option-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.checkout-page .payment-option-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.checkout-page .co-payment-logos {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.checkout-page .payment-icon {
  width: 40px;
  height: 24px;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.checkout-page .payment-icon img,
.checkout-page .payment-icon svg {
  max-height: 14px;
  max-width: 28px;
  height: auto;
  width: auto;
}

.checkout-page .cod-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #f3faf6;
  color: #0f6b4a;
  padding: 0 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  width: auto;
  height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 107, 74, 0.15);
}

.checkout-page .payment-option.active .payment-icon {
  border-color: rgba(122, 154, 122, 0.3);
}


/* Obsolete Sticky Bar Removed */


/* ============================================
   10. COLLAPSIBLE MOBILE SUMMARY
   Show/hide order details on mobile
   ============================================ */

@media (max-width: 768px) {
  .checkout-page .co-summary-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .checkout-page .co-summary-mobile-total {
    font-weight: 700;
    font-size: 1.1rem;
  }

  .checkout-page .co-summary-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
  }

  .checkout-page .order-summary.co-summary--expanded .co-summary-chevron {
    transform: rotate(180deg);
  }

  .checkout-page .co-summary-items {
    display: none;
  }

  .checkout-page .order-summary.co-summary--expanded .co-summary-items {
    display: block;
  }

  .checkout-page .co-summary-totals {
    display: none;
  }

  .checkout-page .order-summary.co-summary--expanded .co-summary-totals {
    display: block;
  }
}

@media (min-width: 769px) {
  .checkout-page .co-summary-mobile-toggle {
    display: none;
  }
}


/* Tablet and below: single-column layout */
@media (max-width: 968px) {
  .checkout-page .checkout-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .checkout-page .order-summary {
    position: static;
  }

  .checkout-page .form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile Adjustments (reduce spacing) */
@media (max-width: 768px) {
  .checkout-page {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .checkout-page .checkout-header {
    margin-bottom: var(--spacing-md);
  }

  .checkout-page .checkout-header h1 {
    font-size: 2rem;
  }

  .checkout-page .checkout-form {
    padding: var(--spacing-md);
    border-radius: 12px;
  }

  .checkout-page .order-summary {
    padding: var(--spacing-md);
    border-radius: 12px;
  }

  .checkout-page .co-section-header {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .checkout-page .co-section-body {
    padding: 0 var(--spacing-md) var(--spacing-md);
  }
}

/* Mobile: tighter spacing, rounded UI */
@media (max-width: 768px) {
  .checkout-page {
    padding: 16px 16px 100px;
  }

  .checkout-page .checkout-header {
    margin-bottom: 12px;
  }

  .checkout-page .checkout-header h1 {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .checkout-page .checkout-header p {
    font-size: 0.85rem;
  }

  .checkout-page .checkout-form,
  .checkout-page .order-summary {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .checkout-page .checkout-content {
    gap: var(--spacing-md);
  }

  .checkout-page .co-section {
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
  }

  .checkout-page .co-section-header {
    padding: 12px;
  }

  .checkout-page .co-section-title h2 {
    font-size: 1.1rem;
  }

  .checkout-page .co-section-body {
    padding: 0 12px 12px;
  }

  .checkout-page .form-section {
    margin-bottom: 12px;
  }

  .checkout-page .form-group {
    margin-bottom: 12px;
  }

  .checkout-page .form-group input,
  .checkout-page .form-group select,
  .checkout-page .form-group textarea {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .checkout-page .payment-option {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 4px;
  }

  .checkout-page .summary-item {
    padding: 8px 0;
  }

  .checkout-page .summary-item.total {
    font-size: 1.05rem;
    margin-top: 8px;
  }

  /* Progress indicator: hide labels, smaller circles */
  .checkout-page .co-progress {
    margin-bottom: 16px;
  }

  .checkout-page .co-progress-label {
    display: none;
  }

  .checkout-page .co-progress-num {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  /* Trust strip: compact layout */
  .checkout-page .co-trust-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .checkout-page .co-trust-item {
    font-size: 0.72rem;
  }
}


/* ============================================
   12. ERROR BANNER
   Inline error display at top of checkout
   ============================================ */

.checkout-page .co-error-banner {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  border: 1px solid #fecaca;
}