/* =====================================================
   CHECKOUT PAGE — فروشگاه چرخ خیاطی حضرتی
   طراح: ایلیا آخوندزاده | 09145537547
===================================================== */
:root {
    --brand: #982067;
    --brand-dark: #6b0048;
    --brand-rgb: 152, 32, 103;
    --white: #fff;
    --bg: #f4f6f9;
    --border: #e5e7eb;
    --text: #1a1a2e;
    --text-m: #4a4a5a;
    --text-l: #888;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --tr: 0.22s ease;
    --font: 'Vazirmatn', Tahoma, Arial, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .10);
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tr)
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font)
}

input,
select,
textarea {
    font-family: var(--font)
}

/* =====================================================
   1. CHECKOUT HEADER
===================================================== */
.co-header {
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}

.co-header .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.co-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0
}

.co-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.co-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.co-logo-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand)
}

.co-logo-sub {
    font-size: 10px;
    color: var(--text-l)
}

/* Steps */
.co-steps {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.co-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-l);
    position: relative;
    padding: 0 14px;
}

.co-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background: var(--border);
}

.step-n {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #f0f0f0;
    color: var(--text-l);
    border: 1.5px solid var(--border);
    flex-shrink: 0;
}

.co-step.done .step-n {
    background: #43a047;
    color: #fff;
    border-color: #43a047
}

.co-step.done .step-lbl {
    color: #43a047
}

.co-step.active .step-n {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand)
}

.co-step.active .step-lbl {
    color: var(--brand);
    font-weight: 700
}

.step-lbl {
    white-space: nowrap
}

/* Header Links */
.co-hlinks {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0
}

.co-hlink {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-m);
    transition: color var(--tr);
}

.co-hlink:hover {
    color: var(--brand)
}

/* =====================================================
   2. TRUST BAR
===================================================== */
.co-trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 7px 0;
}

.co-trust-items {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.co-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-m);
}

.co-trust-item i {
    color: var(--brand);
    font-size: 14px
}

/* =====================================================
   3. MAIN LAYOUT
===================================================== */
.co-main {
    padding: 24px 0 60px
}

.co-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px
}

.co-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* =====================================================
   4. SECTION CARDS
===================================================== */
.co-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.co-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.co-num {
    width: 28px;
    height: 28px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.co-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    flex: 1
}

.co-card-body {
    padding: 20px
}

/* =====================================================
   5. FORM ELEMENTS
===================================================== */
.co-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.co-label .req {
    color: var(--brand)
}

.co-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--tr), box-shadow var(--tr);
    outline: none;
}

.co-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1);
}

.co-textarea {
    resize: vertical;
    min-height: 88px
}

.co-select {
    cursor: pointer
}

.co-chk-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    line-height: 1.6;
}

.co-chk {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.co-link {
    color: var(--brand);
    font-weight: 600
}

/* =====================================================
   6. SAVED ADDRESSES
===================================================== */
.addr-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.addr-opt input[type=radio] {
    display: none
}

.addr-opt-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 13px 16px;
    transition: all var(--tr);
    cursor: pointer;
}

.addr-opt input:checked~.addr-opt-inner {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), .03);
}

.addr-icon {
    font-size: 20px;
    color: var(--brand);
    width: 30px;
    text-align: center;
    flex-shrink: 0
}

.addr-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.addr-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text)
}

.addr-text {
    font-size: 12px;
    color: var(--text-m)
}

.addr-phone {
    font-size: 11px;
    color: var(--text-l);
    direction: ltr;
    text-align: right
}

.addr-chk {
    font-size: 18px;
    color: var(--brand);
    opacity: 0;
    transition: opacity var(--tr)
}

.addr-opt input:checked~.addr-opt-inner .addr-chk {
    opacity: 1
}

.addr-new-inner {
    border-style: dashed
}

.addr-new-inner .addr-icon,
.addr-new-inner .addr-title {
    color: var(--text-l)
}

/* فرم آدرس جدید */
.new-addr-form {
    display: none;
    margin-top: 12px
}

/* نمایش با JS */
.new-addr-form.show {
    display: block
}

/* =====================================================
   7. SHIPPING OPTIONS
===================================================== */
.ship-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.ship-opt input[type=radio] {
    display: none
}

.ship-opt-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 13px 16px;
    transition: all var(--tr);
    cursor: pointer;
}

.ship-opt input:checked~.ship-opt-inner {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), .03);
}

.ship-icon {
    font-size: 22px;
    color: var(--brand);
    width: 36px;
    text-align: center;
    flex-shrink: 0
}

.ship-info {
    flex: 1
}

.ship-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text)
}

.ship-desc {
    display: block;
    font-size: 12px;
    color: var(--text-l)
}

.ship-price {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap
}

.ship-free {
    color: #2e7d32
}

.ship-chk {
    font-size: 18px;
    color: var(--brand);
    opacity: 0;
    transition: opacity var(--tr)
}

.ship-opt input:checked~.ship-opt-inner .ship-chk {
    opacity: 1
}

/* =====================================================
   8. PAYMENT METHODS
===================================================== */
.pay-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.pay-opt input[type=radio] {
    display: none
}

.pay-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--tr), box-shadow var(--tr);
    cursor: pointer;
}

.pay-opt input:checked~.pay-card {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .12);
}

.pay-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}

.pay-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pi-green {
    background: #e8f5e9;
    color: #2e7d32
}

.pi-purple {
    background: #f3e5f5;
    color: #6a1b9a
}

.pi-yellow {
    background: #fff8e1;
    color: #f57c00
}

.pi-blue {
    background: #e3f2fd;
    color: #1565c0
}

.pi-orange {
    background: #fff3e0;
    color: #e65100
}

.pi-teal {
    background: #e0f2f1;
    color: #00695c
}

.pay-info {
    flex: 1
}

.pay-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text)
}

.pay-desc {
    display: block;
    font-size: 12px;
    color: var(--text-l)
}

.pay-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pb-rec {
    background: #e8f5e9;
    color: #2e7d32
}

.pb-inst {
    background: #fff3e0;
    color: #e65100
}

.pb-excl {
    background: rgba(var(--brand-rgb), .1);
    color: var(--brand)
}

.pay-chk {
    font-size: 18px;
    color: var(--brand);
    opacity: 0;
    transition: opacity var(--tr)
}

.pay-opt input:checked~.pay-card .pay-chk {
    opacity: 1
}

/* Detail panel (hidden unless selected) */
.pay-detail {
    display: none;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: #f8f9fa;
}

.pay-opt input:checked~.pay-card .pay-detail {
    display: block
}

.pay-detail-row {
    font-size: 13px;
    color: var(--text-m);
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

/* -- Gateway Selector -- */
.gw-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text)
}

.gw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.gw-item input[type=radio] {
    display: none
}

.gw-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 10px 6px;
    text-align: center;
    background: var(--white);
    transition: all var(--tr);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gw-item input:checked~.gw-card {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), .04);
}

.gw-logo {
    width: 44px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    gap: 2px;
}

.gw-logo i {
    font-size: 16px
}

.gw-zarinpal {
    background: #fff0f0;
    color: #c62828
}

.gw-mellat {
    background: #e3f2fd;
    color: #1565c0
}

.gw-sadad {
    background: #e8f5e9;
    color: #1b5e20
}

.gw-parsian {
    background: #fce4ec;
    color: #880e4f
}

.gw-name {
    font-size: 11px;
    color: var(--text-m)
}

.gw-chk {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 14px;
    color: var(--brand);
    opacity: 0;
    transition: opacity var(--tr);
}

.gw-item input:checked~.gw-card .gw-chk {
    opacity: 1
}

.gw-note {
    font-size: 11px;
    color: var(--text-l);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.6
}

.gw-note i {
    color: #43a047;
    flex-shrink: 0;
    margin-top: 1px
}

/* -- Card2Card -- */
.card2card-wrap {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.card-num-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.card-lbl {
    font-size: 12px;
    color: var(--text-l);
    white-space: nowrap
}

.card-num {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    direction: ltr;
    color: var(--text);
}

.copy-btn {
    background: #f0f0f0;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 14px;
    color: var(--brand);
    cursor: pointer;
    transition: all var(--tr);
}

.copy-btn:hover {
    background: rgba(var(--brand-rgb), .1)
}

.card-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px
}

/* Receipt upload */
.receipt-lbl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px dashed var(--border);
    border-radius: var(--r-sm);
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: all var(--tr);
    color: var(--text-l);
    margin-top: 12px;
}

.receipt-lbl i {
    font-size: 26px;
    color: var(--brand)
}

.receipt-lbl span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text)
}

.receipt-lbl small {
    font-size: 11px
}

.receipt-lbl:hover {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), .02)
}

.receipt-input {
    display: none
}

.receipt-preview {
    display: none;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 13px;
    color: #2e7d32;
    margin-top: 8px;
}

.receipt-preview.show {
    display: flex
}

.remove-receipt {
    margin-right: auto;
    font-size: 18px;
    color: #c62828;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

/* -- Installment Plans -- */
.inst-price-note {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.inst-price-note i {
    color: #f57c00
}

.inst-plan-lbl {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text)
}

.inst-plans {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px
}

.inst-opt input[type=radio] {
    display: none
}

.inst-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    transition: all var(--tr);
    cursor: pointer;
    background: var(--white);
}

.inst-opt input:checked~.inst-card {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .12);
}

.inst-top {
    background: #f8f9fa;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inst-name {
    font-size: 13px;
    font-weight: 700
}

.inst-tag {
    background: var(--brand);
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.inst-body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.inst-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text)
}

.inst-fee {
    color: var(--text-l);
    font-size: 11px
}

.inst-reqs {
    background: #f8f9fa;
    border-radius: var(--r-sm);
    padding: 12px 14px;
    margin-top: 4px;
}

.inst-req-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px
}

.inst-req-list {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.inst-req-list li {
    font-size: 12px;
    color: var(--text-m);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inst-req-list li i {
    color: var(--brand)
}

.inst-req-note {
    font-size: 12px;
    color: var(--text-l);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px
}

.inst-req-note i {
    color: var(--brand)
}

/* -- Wallet pay -- */
.wallet-rows {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.wallet-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px
}

.wallet-row-rem {
    padding-top: 6px;
    border-top: 1px dashed var(--border);
    margin-top: 2px;
}

/* =====================================================
   9. COUPON
===================================================== */
.coupon-wrap {
    display: flex;
    gap: 0
}

.coupon-input {
    border-radius: var(--r-sm) 0 0 var(--r-sm);
    border-right: 1.5px solid var(--border);
    border-left: none;
    flex: 1;
}

.coupon-btn {
    padding: 0 20px;
    background: var(--brand);
    color: #fff;
    border: 1.5px solid var(--brand);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--tr);
}

.coupon-btn:hover {
    background: var(--brand-dark)
}

.coupon-res {
    display: none;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 13px;
    color: #2e7d32;
    margin-top: 8px;
}

.coupon-res.show {
    display: flex
}

.remove-coupon {
    margin-right: auto;
    font-size: 18px;
    color: #c62828;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

/* =====================================================
   10. TERMS + SUBMIT MOBILE
===================================================== */
.co-terms {
    padding: 14px 0 0
}

.co-submit-wrap-mob {
    margin-top: 14px
}

/* =====================================================
   11. SUBMIT BUTTON
===================================================== */
.co-submit-btn {
    width: 100%;
    padding: 15px 20px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--tr);
    box-shadow: 0 4px 16px rgba(var(--brand-rgb), .3);
}

.co-submit-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--brand-rgb), .35);
}

.co-submit-btn:disabled {
    opacity: .6;
    transform: none;
    cursor: not-allowed
}

.co-submit-amount {
    font-size: 13px;
    opacity: .85
}

/* =====================================================
   12. ORDER SUMMARY (sticky column)
===================================================== */
.os-sticky {
    position: sticky;
    top: 76px
}

.os-box {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.os-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
}

.os-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0
}

.os-edit {
    font-size: 12px;
    color: var(--brand);
    font-weight: 600
}

.os-edit:hover {
    text-decoration: underline
}

/* Products */
.os-prods {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.os-prod {
    display: flex;
    align-items: center;
    gap: 10px
}

.os-prod-img {
    width: 56px;
    height: 56px;
    background: #f4f6f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.os-prod-qty {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--brand);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.os-prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.os-prod-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text)
}

.os-prod-var {
    font-size: 11px;
    color: var(--text-l)
}

.os-prod-price {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap
}

/* Calculations */
.os-calcs {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.os-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-m)
}

.os-row-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 2px dashed var(--border);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.os-total-price {
    display: flex;
    align-items: baseline;
    gap: 4px
}

.os-total-price .big {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand)
}

/* Delivery */
.os-delivery {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-m);
}

.os-delivery strong {
    color: var(--text)
}

/* Submit in summary (desktop) */
.os-submit-wrap {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border)
}

/* Security */
.os-security {
    display: flex;
    justify-content: space-around;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 6px;
}

.os-sec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-l)
}

.os-sec-item i {
    color: var(--brand);
    font-size: 13px
}

/* Trust logos */
.os-logos {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.os-logo-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    color: var(--text-m);
}

.os-logo-item i {
    color: var(--brand)
}

/* =====================================================
   13. RESPONSIVE
===================================================== */
@media(max-width:991px) {
    .co-grid {
        grid-template-columns: 1fr
    }

    .os-sticky {
        position: static
    }

    .co-main {
        padding: 14px 0 80px
    }

    /* Summary goes first on mobile via order */
    .os-col {
        order: -1
    }

    .os-submit-wrap {
        display: none
    }
}

@media(max-width:767px) {
    .co-submit-btn.d-desk {
        display: none
    }
}

@media(min-width:768px) {
    .co-submit-mob {
        display: none !important
    }
}

@media(max-width:575px) {
    .gw-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .co-card-body {
        padding: 14px
    }

    .co-header .inner {
        flex-wrap: wrap;
        gap: 8px
    }

    .co-hlinks {
        display: none
    }

    .step-lbl {
        display: none
    }

    .co-step {
        padding: 0 8px
    }
}