/* ==========================================================================
   OrderPilot Landing Pilot — High-Converting Bangladesh Checkout Form
   Exact pixel-accurate reproduction of the 2-Column responsive UI standard
   ========================================================================== */

.op-checkout-wrapper {
  --op-active-color: #0ea5c5;
  --op-active-glow: rgba(14, 165, 197, 0.15);
  --op-active-light: #f0fdf4;
  --op-btn-bg: #0f172a;
  --op-btn-color: #ffffff;
  --op-input-height: 48px;
  --op-border-radius: 12px;
  --op-border-color: #e2e8f0;
  --op-border-width: 1.5px;
  --op-prod-img-size: 64px;
  --op-prod-img-radius: 14px;
  --op-prod-img-display: flex;
  max-width: 980px;
  margin: 32px auto;
  background: #ffffff;
  border-radius: var(--op-border-radius, 24px);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  padding: 36px 40px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #0f172a;
  line-height: 1.5;
  position: relative;
}

.op-checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

/* ================= LEFT COLUMN: ORDER FORM ================= */
.op-checkout-col-form {
  padding-right: 32px;
  border-right: 1px solid #f1f5f9;
}

.op-checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.op-checkout-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.op-checkout-step-badge.step-1 {
  background: #e11d48;
}

.op-checkout-step-badge.step-2 {
  background: #0f172a;
}

.op-checkout-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

/* Form Fields */
.op-checkout-field {
  margin-bottom: 20px;
}

.op-checkout-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.op-checkout-field label .op-req {
  color: #e11d48;
  margin-left: 2px;
}

.op-checkout-input-wrap {
  position: relative;
  width: 100%;
}

.op-checkout-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.op-checkout-textarea-wrap .op-checkout-input-icon {
  top: 16px;
  transform: none;
}

.op-checkout-input,
.op-checkout-select {
  width: 100%;
  height: var(--op-input-height, 48px);
  border-radius: var(--op-border-radius, 12px);
  border: var(--op-border-width, 1.5px) solid var(--op-border-color, #e2e8f0);
  background: #f8fafc;
  padding: 0 16px 0 46px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.op-checkout-textarea {
  width: 100%;
  min-height: 85px;
  border-radius: var(--op-border-radius, 12px);
  border: var(--op-border-width, 1.5px) solid var(--op-border-color, #e2e8f0);
  background: #f8fafc;
  padding: 14px 16px 14px 46px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.op-checkout-input:focus,
.op-checkout-select:focus,
.op-checkout-textarea:focus {
  border-color: var(--op-active-color, #0ea5c5);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--op-active-glow, rgba(14, 165, 197, 0.12));
}

.op-checkout-input::placeholder,
.op-checkout-textarea::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

/* Delivery Area Radios (when enabled) */
.op-delivery-zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.op-zone-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  transition: all 0.18s ease;
}

.op-zone-label.active,
.op-zone-label:hover {
  background: #f0fdf4;
  border-color: #10b981;
  color: #065f46;
}

/* Alert Note Card */
.op-checkout-alert-box {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.op-checkout-alert-icon {
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.op-checkout-alert-text {
  color: #1d4ed8;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
  font-weight: 500;
}

/* ================= RIGHT COLUMN: ORDER SUMMARY ================= */
.op-checkout-col-summary {
  display: flex;
  flex-direction: column;
}

.op-summary-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
}

.op-summary-prod-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.op-summary-prod-img {
  width: var(--op-prod-img-size, 64px);
  height: var(--op-prod-img-size, 64px);
  border-radius: var(--op-prod-img-radius, 14px);
  background: #ffe4e6;
  color: #e11d48;
  font-size: 16px;
  font-weight: 800;
  display: var(--op-prod-img-display, grid);
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #fecdd3;
}

.op-summary-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.op-summary-prod-info {
  flex: 1;
}

.op-summary-prod-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.op-summary-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.op-summary-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.op-summary-qty-btn {
  border: none;
  background: none;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  transition: background 0.15s ease;
  line-height: 1;
}

.op-summary-qty-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.op-summary-qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  color: #0f172a;
  user-select: none;
}

.op-summary-prod-price {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-left: auto;
  white-space: nowrap;
}

.op-summary-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 18px 0 14px;
  border: none;
}

.op-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.op-summary-line.delivery {
  margin-bottom: 14px;
}

.op-summary-line.delivery .op-cost-val {
  color: #e11d48;
  font-weight: 700;
}

.op-summary-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 10px;
}

.op-summary-total-lbl {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.op-summary-grand-total {
  font-size: 24px;
  font-weight: 900;
  color: #e11d48;
}

/* Payment Method Box */
.op-payment-method-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.op-payment-radio-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.op-payment-details h5 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.op-payment-details p {
  font-size: 12px;
  color: #475569;
  margin: 0;
}

/* CTA Confirm Order Button */
.op-confirm-order-btn {
  background: var(--op-btn-bg, #0f172a);
  color: var(--op-btn-color, #ffffff);
  width: 100%;
  border: none;
  border-radius: var(--op-btn-radius, var(--op-border-radius, 12px));
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
  text-decoration: none;
}

.op-confirm-order-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
}

.op-confirm-order-btn:active {
  transform: translateY(0);
}

.op-confirm-order-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.op-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
}

/* ================= RESPONSIVE STYLES ================= */
@media (max-width: 860px) {
  .op-checkout-wrapper {
    padding: 24px 18px;
    margin: 16px auto;
    border-radius: 18px;
  }
  .op-checkout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .op-checkout-col-form {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .op-delivery-zones-grid {
    grid-template-columns: 1fr;
  }
  .op-summary-prod-row {
    flex-wrap: wrap;
  }
  .op-summary-prod-price {
    margin-left: 0;
    width: 100%;
    margin-top: 6px;
  }
}

/* ================= MULTIPLE PRODUCTS SELECTOR ================= */
.op-checkout-section-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.op-checkout-product-selector-wrap {
  margin-bottom: 22px;
}

.op-checkout-prods-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.op-checkout-prod-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.op-checkout-prod-card.active {
  background: #f0fdf4;
  border-color: #10b981;
  box-shadow: 0 0 0 1px #10b981;
}

.op-prod-radio,
.op-tier-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.op-card-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.op-checkout-prod-card.active .op-card-radio-circle,
.op-tier-offer-card.active .op-card-radio-circle {
  border-color: #10b981;
  background: #10b981;
}

.op-card-radio-circle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.op-checkout-prod-card.active .op-card-radio-circle::after,
.op-tier-offer-card.active .op-card-radio-circle::after {
  opacity: 1;
}

.op-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}

.op-prod-card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.op-prod-card-meta strong {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.3;
}

.op-prod-card-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 1px 6px;
  border-radius: 10px;
  align-self: flex-start;
  margin-top: 2px;
}

.op-prod-card-price {
  text-align: right;
  white-space: nowrap;
}

.op-prod-card-price strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #16a34a;
  display: block;
}

.op-prod-card-price del {
  font-size: 12px;
  color: #94a3b8;
}

/* ================= VARIATIONS PILLS ================= */
.op-variations-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.op-var-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.op-var-pill input[type="radio"] {
  display: none;
}

.op-var-pill:hover {
  background: #e2e8f0;
}

.op-var-pill.active {
  background: #0ea5c5;
  border-color: #0ea5c5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 165, 197, 0.25);
}

/* ================= TIER PRICING OFFERS ================= */
.op-tier-pricing-section {
  margin-bottom: 22px;
}

.op-tier-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-tier-offer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.op-tier-offer-card:hover {
  background: #f1f5f9;
}

.op-tier-offer-card.active {
  background: #f0fdf4;
  border-color: #10b981;
  box-shadow: 0 0 0 1px #10b981;
}

.op-tier-card-info {
  flex: 1;
}

.op-tier-label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.op-tier-badge {
  font-size: 10px;
  font-weight: 800;
  background: #ea580c;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}

.op-tier-disc-text {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  margin-top: 2px;
}

.op-tier-card-price strong {
  font-size: 15px;
  font-weight: 800;
  color: #16a34a;
}

.op-tier-card-price del {
  font-size: 12px;
  color: #94a3b8;
  margin-left: 6px;
  font-weight: 600;
}

/* ================= BEST OFFER TIER HIGHLIGHT ================= */
.op-tier-offer-card.op-best-offer {
  border: 1.5px solid #0ea5c5;
  background: #f0fdfa;
  box-shadow: 0 4px 14px rgba(14, 165, 197, 0.1);
}

.op-tier-offer-card.op-best-offer:hover {
  background: #e6fffa;
  border-color: #0284c7;
}

.op-tier-offer-card.op-best-offer.active {
  background: #f0fdf4;
  border-color: #10b981;
  box-shadow: 0 0 0 2px #10b981, 0 6px 16px rgba(16, 185, 129, 0.15);
}

.op-tier-offer-card .op-tier-badge.best-offer,
.op-tier-offer-card.op-best-offer .op-tier-badge {
  background: linear-gradient(135deg, #0ea5c5 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(14, 165, 197, 0.25);
}

/* ================= BUNDLE OFFER CARD ================= */
.op-bundle-offer-card {
  background: linear-gradient(135deg, #fefce8 0%, #fffbeb 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.op-bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.op-bundle-badge {
  background: #d97706;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.op-bundle-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: #92400e;
}

.op-bundle-toggle-wrap input[type="checkbox"] {
  accent-color: #d97706;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.op-bundle-title {
  font-size: 15px;
  font-weight: 800;
  color: #78350f;
  margin: 0 0 4px 0;
}

.op-bundle-desc {
  font-size: 12.5px;
  color: #92400e;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.op-bundle-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #fde68a;
  padding-top: 8px;
  font-size: 13px;
  color: #78350f;
}

.op-bundle-price strong {
  font-size: 16px;
  color: #b45309;
}

/* ================= BUY NOW FLOATING / WIDGET BUTTON ================= */
.op-buy-now-btn-wrap {
  display: block;
  text-align: center;
  margin: 20px 0;
}

.op-buy-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e11d48;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.op-buy-now-btn:hover {
  background: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.45);
}

.op-buy-now-pulse {
  animation: opBuyPulse 2s infinite;
}

@keyframes opBuyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

/* ================= WORDPRESS ADMIN PREVIEW OVERRIDES ================= */
#wpcontent .op-checkout-wrapper,
.op-checkout-wrapper {
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  line-height: 1.5 !important;
}

#wpcontent .op-checkout-wrapper *,
.op-checkout-wrapper * {
  box-sizing: border-box !important;
}

#wpcontent .op-checkout-wrapper input.op-checkout-input,
#wpcontent .op-checkout-wrapper select.op-checkout-select,
.op-checkout-wrapper input.op-checkout-input,
.op-checkout-wrapper select.op-checkout-select {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #f8fafc !important;
  padding: 0 16px 0 46px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  box-shadow: none !important;
  outline: none !important;
  display: block !important;
  margin: 0 !important;
  line-height: 48px !important;
}

#wpcontent .op-checkout-wrapper textarea.op-checkout-textarea,
.op-checkout-wrapper textarea.op-checkout-textarea {
  width: 100% !important;
  min-height: 85px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #f8fafc !important;
  padding: 14px 16px 14px 46px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1.5 !important;
  display: block !important;
  margin: 0 !important;
  resize: vertical !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-input:focus,
#wpcontent .op-checkout-wrapper .op-checkout-select:focus,
#wpcontent .op-checkout-wrapper .op-checkout-textarea:focus {
  border-color: #0ea5c5 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 197, 0.12) !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-field label {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-textarea-wrap .op-checkout-input-icon {
  top: 16px !important;
  transform: none !important;
}

#wpcontent .op-checkout-wrapper .op-delivery-zones-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

#wpcontent .op-checkout-wrapper .op-zone-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin: 0 !important;
}

#wpcontent .op-checkout-wrapper .op-zone-label.active {
  background: var(--op-active-light, #f0fdf4) !important;
  border-color: var(--op-active-color, #10b981) !important;
  color: #065f46 !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-input,
#wpcontent .op-checkout-wrapper .op-checkout-select {
  height: var(--op-input-height, 48px) !important;
  border-radius: var(--op-border-radius, 12px) !important;
  border: var(--op-border-width, 1.5px) solid var(--op-border-color, #e2e8f0) !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-textarea {
  border-radius: var(--op-border-radius, 12px) !important;
  border: var(--op-border-width, 1.5px) solid var(--op-border-color, #e2e8f0) !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-input:focus,
#wpcontent .op-checkout-wrapper .op-checkout-select:focus,
#wpcontent .op-checkout-wrapper .op-checkout-textarea:focus {
  border-color: var(--op-active-color, #0ea5c5) !important;
  box-shadow: 0 0 0 3px var(--op-active-glow, rgba(14, 165, 197, 0.15)) !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-prod-card.active,
#wpcontent .op-checkout-wrapper .op-tier-offer-card.active {
  border-color: var(--op-active-color, #10b981) !important;
  box-shadow: 0 0 0 1px var(--op-active-color, #10b981) !important;
}

#wpcontent .op-checkout-wrapper .op-checkout-prod-card.active .op-card-radio-circle,
#wpcontent .op-checkout-wrapper .op-tier-offer-card.active .op-card-radio-circle {
  border-color: var(--op-active-color, #10b981) !important;
  background: var(--op-active-color, #10b981) !important;
}

#wpcontent .op-checkout-wrapper .op-summary-prod-img {
  width: var(--op-prod-img-size, 64px) !important;
  height: var(--op-prod-img-size, 64px) !important;
  border-radius: var(--op-prod-img-radius, 14px) !important;
  display: var(--op-prod-img-display, grid) !important;
}

#wpcontent .op-checkout-wrapper .op-summary-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: var(--op-border-radius, 18px) !important;
  padding: 20px !important;
  margin: 0 !important;
}

#wpcontent .op-checkout-wrapper .op-payment-method-box {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  margin-top: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

#wpcontent .op-checkout-wrapper .op-confirm-order-btn {
  background: var(--op-btn-bg, #0f172a) !important;
  color: var(--op-btn-color, #ffffff) !important;
  width: 100% !important;
  border: none !important;
  border-radius: var(--op-btn-radius, var(--op-border-radius, 12px)) !important;
  padding: 16px 20px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2) !important;
  text-decoration: none !important;
}

#op-btn-preview-container .op-checkout-wrapper {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 24px 28px !important;
  box-shadow: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--op-border-radius, 18px) !important;
}

@media (max-width: 768px) {
  #wpcontent .op-checkout-wrapper,
  .op-checkout-wrapper,
  #op-btn-preview-container .op-checkout-wrapper {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  #wpcontent .op-checkout-wrapper .op-checkout-grid,
  .op-checkout-wrapper .op-checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #wpcontent .op-checkout-wrapper .op-delivery-zones-grid,
  .op-checkout-wrapper .op-delivery-zones-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  #wpcontent .op-checkout-wrapper .op-summary-card,
  .op-checkout-wrapper .op-summary-card {
    padding: 14px 12px !important;
  }
}

/* ==========================================================================
   Thank You Confirmation Page & Order Details
   ========================================================================== */
.op-thankyou-wrapper {
  max-width: 820px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  padding: 38px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #0f172a;
  line-height: 1.5;
}

.op-ty-header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1.5px dashed #e2e8f0;
  margin-bottom: 28px;
}

.op-ty-check-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
  animation: op-pop 0.4s ease-out;
}

@keyframes op-pop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

.op-ty-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.op-ty-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 1.6;
}

.op-ty-meta-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 13.5px;
}

.op-ty-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.op-ty-meta-label {
  color: #64748b;
  font-weight: 500;
}

.op-ty-meta-val {
  color: #0f172a;
  font-weight: 700;
}

.op-ty-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.op-ty-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.op-ty-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.op-ty-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.op-ty-item-img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
  background: #f8fafc;
}

.op-ty-item-info {
  flex: 1;
}

.op-ty-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.op-ty-item-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 6px;
}

.op-ty-item-price {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
  white-space: nowrap;
}

.op-ty-breakdown {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px dashed #e2e8f0;
}

.op-ty-b-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.op-ty-b-row.total {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.op-ty-b-row.total .op-ty-b-val {
  color: #e11d48;
  font-size: 22px;
  font-weight: 900;
}

.op-ty-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.op-ty-cust-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.op-ty-cust-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.op-ty-cust-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.op-ty-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.op-ty-notice-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.op-ty-notice-text {
  font-size: 13.5px;
  color: #1e40af;
  line-height: 1.5;
  font-weight: 500;
}

.op-ty-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.op-ty-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14.5px;
  transition: all 0.2s ease;
}

.op-ty-btn-primary:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .op-thankyou-wrapper {
    padding: 22px 16px;
    margin: 16px auto;
    border-radius: 16px;
  }
  .op-ty-customer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .op-ty-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .op-ty-title {
    font-size: 21px;
  }
}

