/* ===== Block UI Container ===== */
.block-ui-container {
  border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px;
  padding: 28px 32px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  background: #ffffff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 40px -5px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  max-width: 420px;
  width: 100%;
}

/* ===== Message ===== */
.block-ui-message {
  line-height: 1.7;
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

/* ===== Button ===== */
.block-ui-button {
  border: none;
  background: linear-gradient(135deg, #5c6ac4 0%, #5c6ac4 100%);
  padding: 12px 24px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 10px;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.25);
}

.block-ui-button:hover {
  background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.35);
  transform: translateY(-1px);
}

.block-ui-button:active {
  transform: translateY(0px);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.2);
}

 /* ── Reset & Variables ───────────────────────── */
#shopify-checkout *, #shopify-checkout *::before, #shopify-checkout *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#shopify-checkout {
  --primary: #1a1a2e;
  --accent: #5c6ac4;
  --accent-hover: #4959bd;
  --success: #008060;
  --border: #e1e3e5;
  --bg: #f1f1f1;
  --white: #ffffff;
  --text: #202223;
  --muted: #6d7175;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 24px 16px 60px;
}

/* ── Progress Bar ────────────────────────────── */
#shopify-checkout .progress-wrap {
  max-width: 700px;
  margin: 0 auto 32px;
}
#shopify-checkout .progress-steps {
  display: flex;
  align-items: center;
}
#shopify-checkout .step {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 500;
  color: var(--muted); flex: 1;
}
#shopify-checkout .step.active { color: var(--accent); }
#shopify-checkout .step.done { color: var(--success); }
#shopify-checkout .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0;
  transition: all .3s;
}
#shopify-checkout .step.active .step-num { background: var(--accent); color: #fff; border-color: var(--accent); }
#shopify-checkout .step.done  .step-num { background: var(--success); color: #fff; border-color: var(--success); }
#shopify-checkout .step-line {
  flex: 1; height: 2px; background: var(--border); margin: 0 8px;
}
#shopify-checkout .step-line.done { background: var(--success); }

/* ── Card ────────────────────────────────────── */
#shopify-checkout .co-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto 20px;
  overflow: hidden;
}
#shopify-checkout .co-card-header {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
#shopify-checkout .co-card-icon {
  width: 36px; height: 36px;
  background: #f0f1ff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
#shopify-checkout .co-card-title {
  font-size: 15px; font-weight: 600; color: var(--text);
}
#shopify-checkout .co-card-body { padding: 22px 26px; }

/* ── Form Elements ───────────────────────────── */
#shopify-checkout .co-row { display: flex; gap: 14px; }
#shopify-checkout .co-group { margin-bottom: 16px; flex: 1; }
#shopify-checkout .co-group:last-child { margin-bottom: 0; }
#shopify-checkout .co-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

#shopify-checkout input[type="text"],
#shopify-checkout input[type="tel"],
#shopify-checkout textarea,
#shopify-checkout select {
  width: 100%; height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
#shopify-checkout textarea {
  height: 90px; padding: 12px 14px; resize: vertical;
}
#shopify-checkout select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236d7175' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
#shopify-checkout input:focus,
#shopify-checkout textarea:focus,
#shopify-checkout select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92,106,196,.12);
}
#shopify-checkout input::placeholder,
#shopify-checkout textarea::placeholder { color: #b5bac1; }

/* Phone with prefix */
#shopify-checkout .phone-wrap {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
#shopify-checkout .phone-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92,106,196,.12);
}
#shopify-checkout .phone-prefix {
  background: #f6f6f7;
  border-right: 1.5px solid var(--border);
  padding: 0 14px;
  display: flex; align-items: center;
  font-size: 14px; font-weight: 600;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
#shopify-checkout .phone-wrap input {
  border: none; border-radius: 0;
  height: 42px; flex: 1;
}
#shopify-checkout .phone-wrap input:focus { box-shadow: none; }

/* ── Payment Options ─────────────────────────── */
#shopify-checkout .payment-options { display: flex; flex-direction: column; gap: 12px; }
#shopify-checkout .payment-label {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
#shopify-checkout .payment-label:hover { border-color: var(--accent); background: #f8f9ff; }
#shopify-checkout .payment-label input[type="radio"] { display: none; }
#shopify-checkout .payment-label.co-selected { border-color: var(--accent); background: #f0f1ff; }
#shopify-checkout .radio-dot {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
#shopify-checkout .payment-label.co-selected .radio-dot {
  border-color: var(--accent); background: var(--accent);
}
#shopify-checkout .payment-label.co-selected .radio-dot::after {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: #fff;
}
#shopify-checkout .pay-info { flex: 1; }
#shopify-checkout .pay-name { font-size: 14px; font-weight: 600; color: var(--text); }
#shopify-checkout .pay-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
#shopify-checkout .pay-icon {
  font-size: 22px; width: 40px; height: 40px;
  background: var(--bg); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Submit Button ───────────────────────────── */
#shopify-checkout .submit-wrap { max-width: 700px; margin: 0 auto; }
#shopify-checkout .btn-submit {
  width: 100%; height: 54px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .3px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(92,106,196,.3);
}
#shopify-checkout .btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(92,106,196,.4);
}
#shopify-checkout .btn-submit:active { transform: translateY(0); }

/* ── Trust Badges ────────────────────────────── */
#shopify-checkout .trust-row {
  display: flex; justify-content: center;
  gap: 20px; margin-top: 18px; flex-wrap: wrap;
}
#shopify-checkout .trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 500px) {
  #shopify-checkout .co-card-body  { padding: 18px 16px; }
  #shopify-checkout .co-card-header{ padding: 14px 16px; }
  #shopify-checkout .co-row        { flex-direction: column; gap: 0; }
  #shopify-checkout .trust-row     { gap: 12px; }
}

/* =========================
   ORDER SUMMARY BOX (osb) - co-card look
   ========================= */
#osb{
  display:none;
  margin: 12px 0 20px;
  padding: 0;
  font-family: inherit;
}

#osb .osb-card{
  background: var(--white, #fff);
  border: 1px solid var(--border, #e1e3e5);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 2px 12px rgba(0,0,0,0.08));
}

#osb .osb-head{
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, #e1e3e5);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: #fafafa;
}

#osb .osb-head-title{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted, #6d7175);
}

#osb .osb-head-badge{
  background: #eef2ff;
  color: var(--accent, #5c6ac4);
  font-size: 18px;
  font-weight: 800;
  padding: 4px 10px;
 }

#osb .osb-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, #e1e3e5);
}

#osb .osb-item-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success, #008060);
  box-shadow: 0 0 0 4px rgba(0,128,96,.14);
  flex-shrink:0;
}

#osb .osb-item-name{
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text, #202223);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#osb .osb-item-qty{
  font-size: 16.5px;
  color: var(--muted, #6d7175);
  margin-top: 3px;
}

#osb .osb-item-price{
  font-size: 15px;
  font-weight: 900;
  color: var(--text, #202223);
  white-space: nowrap;
}

#osb .osb-list{ padding: 6px 16px; }

#osb .osb-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 9px 0;
  font-size: 13.5px;
}

#osb .osb-row + .osb-row{ border-top: 1px dashed rgba(0,0,0,.06); }

#osb .osb-row-lbl{ color: var(--muted, #6d7175); }
#osb .osb-row-val{ font-weight: 800; color: var(--text, #202223); }

#osb .osb-row-val.old{ text-decoration: line-through; color: #9aa0a6; font-weight: 700; }
#osb .osb-row-val.red{ color: #ef4444; }
#osb .osb-row-val.muted{ color: var(--muted, #6d7175); font-weight: 700; font-size: 13px; }

#osb .osb-row-val.free{
  color: var(--success, #008060);
  background: rgba(0,128,96,.08);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

#osb .osb-divider{ height: 1px; background: var(--border, #e1e3e5); margin: 0 16px; }

#osb .osb-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  background: #fff;
}

#osb .osb-footer-lbl{ font-size: 13px; font-weight: 800; color: var(--muted, #6d7175); }
#osb .osb-footer-total{ font-size: 22px; font-weight: 1000; color: var(--text, #202223); letter-spacing: -.4px; }

#osb .osb-banner{
  display:none;
  margin: 0 16px 12px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.10);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #92400e;
  font-weight: 800;
  text-align:center;
}
 