/* ============================================================
   RAMISA SHOP - DEDICATED CHECKOUT PAGE STYLING
   Ultra-modern, distraction-free, 1-click responsive checkout
============================================================ */

.checkout-body {
  background-color: #f1f5f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1e293b;
  font-family: var(--font-bn);
}

.font-en {
  font-family: var(--font-en);
}

/* 1. Header */
.co-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.co-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.co-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.co-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.co-logo-text h1 {
  font-size: 20px;
  font-weight: 900;
  color: var(--shopz-red);
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: var(--font-en);
}

.co-logo-text h1 span {
  color: #0f172a;
}

.co-logo-tag {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

/* Steps Breadcrumbs */
.co-steps-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #94a3b8;
}

.co-step.active {
  color: var(--shopz-red);
}

.co-step.completed {
  color: #16a34a;
}

.co-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.co-step.active .co-step-num {
  background: var(--shopz-red);
  color: #ffffff;
}

.co-step.completed .co-step-num {
  background: #dcfce7;
  color: #16a34a;
}

.co-step-line {
  width: 28px;
  height: 2px;
  background: #e2e8f0;
}

.co-step-line.active {
  background: #16a34a;
}

/* Header Trust */
.co-header-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.co-hotline-link {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  font-family: var(--font-en);
}

.co-hotline-link:hover {
  color: var(--shopz-red);
}

/* 2. Main Layout */
.co-main-wrapper {
  flex: 1;
  padding: 24px 0 60px;
}

.co-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.co-back-row {
  margin-bottom: 18px;
}

.co-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
}

.co-back-link:hover {
  color: var(--shopz-red);
  transform: translateX(-2px);
}

/* Grid Layout */
.co-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: flex-start;
}

/* 3. Cards & Sections */
.co-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.co-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.co-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.co-badge-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fee2e2;
  color: var(--shopz-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-en);
}

.co-card-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.co-card-sub {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
}

/* Notice Box */
.co-notice-box {
  margin: 18px 24px 0;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-notice-icon {
  font-size: 22px;
  line-height: 1;
}

.co-notice-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #92400e;
  line-height: 1.4;
}

.co-notice-text strong {
  font-weight: 800;
}

/* Form Body */
.co-form-body {
  padding: 20px 24px 24px;
}

.co-input-group {
  margin-bottom: 18px;
}

.co-input-group:last-child {
  margin-bottom: 0;
}

.co-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 7px;
}

.co-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.co-label .opt {
  color: #94a3b8;
  font-weight: normal;
  font-size: 12px;
}

.co-label-hint {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-left: 6px;
}

.co-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.co-input, .co-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px 11px 40px;
  font-size: 14.5px;
  color: #0f172a;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.co-textarea {
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.co-input:focus, .co-textarea:focus {
  border-color: var(--shopz-red);
  box-shadow: 0 0 0 3px rgba(185, 28, 50, 0.12);
  background: #fff;
}

.co-input-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.co-field-msg {
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.co-field-msg.error {
  display: block;
  color: #dc2626;
  font-weight: 600;
}

.co-field-msg.success {
  display: block;
  color: #16a34a;
  font-weight: 600;
}

/* Zone Cards Grid */
.co-zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.co-zone-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.co-zone-card input[type="radio"] {
  display: none;
}

.co-zone-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.co-zone-card.selected {
  border-color: var(--shopz-red);
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(185, 28, 50, 0.08);
}

.co-zone-content {
  display: flex;
  flex-direction: column;
}

.co-zone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.co-zone-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.co-zone-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shopz-red);
  font-family: var(--font-en);
}

.co-zone-time {
  font-size: 11.5px;
  color: #64748b;
}

.co-zone-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s;
  background: #fff;
}

.co-zone-card.selected .co-zone-check {
  border-color: var(--shopz-red);
  background: var(--shopz-red);
  color: #ffffff;
}

/* Payment Method Cards */
.co-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 680px) {
  .co-pay-grid {
    grid-template-columns: 1fr;
  }
}

.co-pay-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.co-pay-card input[type="radio"] {
  display: none;
}

.co-pay-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.co-pay-card.selected {
  border-color: var(--shopz-red);
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(185, 28, 50, 0.08);
}

.co-pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.co-pay-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.co-pay-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.co-pay-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.co-tag-safe {
  background: #dcfce7;
  color: #15803d;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.co-pay-desc {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.co-pay-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s;
  background: #fff;
}

.co-pay-card.selected .co-pay-check {
  border-color: var(--shopz-red);
  background: var(--shopz-red);
  color: #ffffff;
}

/* Online Pay Instructions Box */
.co-online-pay-box {
  margin-top: 16px;
  background: #fdf2f8;
  border: 1px dashed #f472b6;
  border-radius: 12px;
  padding: 16px 18px;
}

.co-online-pay-header {
  font-size: 14.5px;
  font-weight: 800;
  color: #9d174d;
  margin-bottom: 8px;
}

.co-online-note {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.co-copy-number-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 6px;
}

.co-number-display {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
  font-family: var(--font-en);
}

.co-btn-copy {
  background: #0f172a;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.co-btn-copy:hover {
  background: var(--shopz-red);
}

/* 4. Right Column: Sticky Summary */
.co-summary-sticky {
  position: sticky;
  top: 86px;
}

.co-summary-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.co-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.co-summary-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.co-items-count-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

/* Items List */
.co-items-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.co-items-loading {
  text-align: center;
  padding: 20px;
  color: #94a3b8;
  font-size: 13.5px;
}

.co-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}

.co-item-card:hover {
  background: #ffffff;
  border-color: #e2e8f0;
}

.co-item-img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.co-item-details {
  flex: 1;
  min-width: 0;
}

.co-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-item-variant {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.co-item-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  margin-top: 5px;
}

.co-step-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-step-btn:hover {
  background: #f1f5f9;
}

.co-step-val {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.co-item-price-col {
  text-align: right;
  flex-shrink: 0;
}

.co-item-line-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.co-item-del-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  display: block;
  margin-top: 4px;
}

.co-item-del-btn:hover {
  color: #ef4444;
}

/* Free Delivery Banner */
.co-free-delivery-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.co-free-del-icon {
  font-size: 18px;
}

.co-free-del-text {
  font-size: 12.5px;
  color: #065f46;
  line-height: 1.4;
}

/* Coupon Box */
.co-coupon-box {
  margin: 14px 0;
}

.co-coupon-input-wrap {
  display: flex;
  gap: 8px;
}

.co-coupon-input {
  flex: 1;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
  font-family: var(--font-en);
}

.co-coupon-input:focus {
  border-color: var(--shopz-red);
  background: #fff;
}

.co-coupon-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.co-coupon-btn:hover {
  background: var(--shopz-red);
}

.co-coupon-msg {
  font-size: 12px;
  margin-top: 5px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Price Breakdown */
.co-price-breakdown {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.co-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #475569;
  margin-bottom: 8px;
}

.co-price-row.discount {
  color: #16a34a;
}

.co-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 12px 0;
}

.co-price-row.total {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
}

.co-grand-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--shopz-red);
}

/* Submit Buttons */
.co-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--shopz-red) 0%, #991b1b 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  margin-top: 18px;
  box-shadow: 0 8px 20px rgba(185, 28, 50, 0.28);
  transition: all 0.25s ease;
}

.co-btn-submit:hover {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 28, 50, 0.35);
}

.co-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.co-submit-main-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.co-submit-sub-text {
  font-size: 11.5px;
  opacity: 0.9;
  font-weight: 500;
  margin-top: 2px;
}

.co-submit-price {
  font-size: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
}

/* WhatsApp Button */
.co-btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.co-btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-1px);
}

/* Trust List */
.co-trust-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.co-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.co-trust-item-icon {
  font-size: 18px;
  line-height: 1;
}

.co-trust-item-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.4;
}

.co-trust-item-text strong {
  color: #1e293b;
  font-weight: 700;
}

.co-trust-item-text span {
  color: #64748b;
}

/* Mobile Action Bar */
.co-mobile-action-bar {
  display: none;
  margin-top: 24px;
}

/* 5. ORDER SUCCESS VIEW */
.co-success-container {
  max-width: 680px;
  margin: 30px auto;
}

.co-success-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.co-success-animation {
  margin-bottom: 20px;
}

.co-checkmark-circle {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px #f0fdf4;
  animation: scalePop 0.5s ease;
}

@keyframes scalePop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.co-checkmark {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.co-celebration-pill {
  display: inline-block;
  background: #fef2f2;
  color: var(--shopz-red);
  border: 1px solid #fecaca;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.co-success-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.co-success-subtitle {
  font-size: 14.5px;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* 1. Real-time SMS & Support Banner */
.co-sms-status-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  margin-bottom: 22px;
}

.co-sms-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.co-sms-title {
  font-size: 14px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 3px;
}

.co-sms-desc {
  font-size: 12.5px;
  color: #166534;
  line-height: 1.45;
}

/* 2. Tracker Timeline */
.co-tracker-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.co-tracker-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.co-tracker-badge {
  background: #fee2e2;
  color: var(--shopz-red);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}

.co-tracker-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.co-tracker-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.co-track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  width: 80px;
}

.co-track-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.co-track-step.completed .co-track-dot {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 0 4px #dcfce7;
}

.co-track-step.in-progress .co-track-dot {
  background: var(--shopz-red);
  color: #ffffff;
  box-shadow: 0 0 0 4px #fee2e2;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); box-shadow: 0 0 0 2px #fee2e2; }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px #fecaca; }
  100% { transform: scale(1); box-shadow: 0 0 0 2px #fee2e2; }
}

.co-track-info {
  display: flex;
  flex-direction: column;
}

.co-track-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.co-track-sub {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.co-track-line {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  margin: -24px 4px 0;
  z-index: 1;
}

.co-track-line.active {
  background: #16a34a;
}

/* 3. Delivery ETA Card */
.co-delivery-eta-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.co-eta-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.co-eta-truck {
  font-size: 26px;
}

.co-eta-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.co-eta-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.co-pill-zone {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

/* 4. Payment Management Card */
.co-payment-status-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: left;
}

.co-pay-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.co-pay-method-badge {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.co-pay-status-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
}

.co-pending-pay-box {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}

.co-pending-pay-text {
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.45;
  margin-bottom: 12px;
}

.co-pending-pay-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.co-btn-pay-now {
  background: #d97706;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.co-btn-pay-now:hover {
  background: #b45309;
}

.co-btn-switch-cod {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.co-btn-switch-cod:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.co-cod-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
}

.co-cod-icon {
  font-size: 20px;
}

.co-paid-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px 14px;
}

/* Order ID Box */
.co-order-id-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.co-oid-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.co-oid-val-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-oid-number {
  font-size: 22px;
  font-weight: 900;
  color: var(--shopz-red);
}

.co-btn-copy-oid {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}

.co-btn-copy-oid:hover {
  background: #f1f5f9;
}

/* Details Card */
.co-success-details-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.co-s-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  color: #334155;
}

.co-s-row:last-child {
  border-bottom: none;
}

.co-s-row.total {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  padding-top: 12px;
}

.co-s-amount {
  font-size: 20px;
  color: var(--shopz-red);
}

.co-pill-success {
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* Success Actions */
.co-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.co-btn-home, .co-btn-track, .co-btn-wa-confirm {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.co-btn-home {
  background: var(--shopz-red);
  color: #ffffff;
}

.co-btn-home:hover {
  background: #991b1b;
}

.co-btn-track {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.co-btn-track:hover {
  background: #e2e8f0;
}

.co-btn-wa-confirm {
  background: #25d366;
  color: #ffffff;
}

.co-btn-wa-confirm:hover {
  background: #20ba59;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .co-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .co-steps-wrapper {
    display: none;
  }

  .co-right-col {
    order: -1; /* Place summary on top for easy review */
  }

  .co-summary-sticky {
    position: static;
  }

  .co-mobile-action-bar {
    display: block;
  }

  #desktopSubmitBtn {
    display: none;
  }
}

@media (max-width: 600px) {
  .co-header-container {
    padding: 10px 14px;
  }

  .co-header-trust {
    display: none;
  }

  .co-card-header {
    padding: 16px 18px 12px;
  }

  .co-notice-box {
    margin: 14px 18px 0;
  }

  .co-form-body {
    padding: 16px 18px;
  }

  .co-summary-card {
    padding: 18px 16px;
  }

  .co-zone-grid {
    grid-template-columns: 1fr;
  }

  .co-pay-grid {
    grid-template-columns: 1fr;
  }

  .co-success-card {
    padding: 24px 16px;
  }

  .co-success-actions {
    flex-direction: column;
  }

  .co-btn-home, .co-btn-track, .co-btn-wa-confirm {
    width: 100%;
    justify-content: center;
  }

  .co-input, .co-textarea, .co-select {
    font-size: 16px !important;
  }
}

@media (max-width: 360px) {
  .co-header-container {
    padding: 8px 10px;
  }
  .co-logo-img {
    height: 34px;
  }
  .co-logo-text h1 {
    font-size: 17px;
  }
  .co-card-header {
    padding: 12px 14px 10px;
  }
  .co-card-header h2 {
    font-size: 15px;
  }
  .co-form-body {
    padding: 12px 14px;
  }
  .co-summary-card {
    padding: 14px 12px;
  }
  .co-mobile-bar-content {
    padding: 10px 12px;
  }
  .co-mobile-btn-submit {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* 4-State Payment Notice Cards */
.co-verify-pending-notice {
  margin-top: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.co-verify-radar-bubble {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.co-radar-center {
  width: 38px;
  height: 38px;
  background: #f59e0b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.co-verify-pending-content {
  flex: 1;
}

.co-verify-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.co-verify-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.co-verify-headline {
  font-size: 14.5px;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 5px 0;
}

.co-verify-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.co-verify-meta-box {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.co-meta-lbl {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.co-meta-trx {
  font-size: 13px;
  color: #0f172a;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 4px;
}

.co-meta-status {
  font-size: 11.5px;
  color: #b45309;
  font-weight: 700;
  margin-left: auto;
}

.co-verify-reassurance {
  font-size: 12px;
  color: #78350f;
  line-height: 1.4;
}

.co-btn-switch-cod-sm {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.co-btn-switch-cod-sm:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.co-pay-status-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.co-pay-status-tag.tag-paid {
  background: #dcfce7;
  color: #15803d;
}

.co-pay-status-tag.tag-pending {
  background: #fee2e2;
  color: #b91c1c;
}

.co-pay-status-tag.tag-verify {
  background: #fef3c7;
  color: #b45309;
}

.co-pay-status-tag.tag-cod {
  background: #eff6ff;
  color: #1d4ed8;
}


