/* =====================================================================
   بازطراحی: صفحه محصول (متغیرها و افزودن به سبد)، فرآیند خرید،
   پروفایل کاربر، دیدگاه‌ها و منوی موبایل
   همه کلاس‌ها با پیشوند bp- هستند تا با استایل‌های قدیمی تداخل نداشته باشند.
   ===================================================================== */

:root {
    --bp-primary: #0094dd;
    --bp-primary-600: #0077b6;
    --bp-primary-700: #005f92;
    --bp-primary-50: #eef8fd;
    --bp-primary-100: #d6eefa;
    --bp-grad: linear-gradient(135deg, #00a6f0 0%, #0094dd 45%, #0070c0 100%);
    --bp-accent: #ff8a00;
    --bp-text: #1f2937;
    --bp-text-2: #4b5563;
    --bp-muted: #8a94a6;
    --bp-border: #e3edf4;
    --bp-border-2: #d3e1ea;
    --bp-bg: #f3f8fc;
    --bp-surface: #fff;
    --bp-success: #12a150;
    --bp-success-50: #e8f7ee;
    --bp-danger: #e5383b;
    --bp-danger-50: #fdecec;
    --bp-warning: #e89b0c;
    --bp-warning-50: #fff6e3;
    --bp-star: #f5a524;
    --bp-radius: 16px;
    --bp-radius-sm: 10px;
    --bp-shadow: 0 1px 2px rgba(0, 72, 120, .04), 0 6px 18px rgba(0, 72, 120, .07);
    --bp-shadow-lg: 0 12px 40px rgba(0, 50, 90, .2);
    --bp-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- پایه ---------- */

.bp-page {
    width: 90%;
    max-width: 1400px;
    margin: 24px auto 48px auto;
    color: var(--bp-text);
}

.bp-page *, .bp-modal *, .bp-drawer *, .bp-mnav *, .bp-buy *, .bp-reviews * {
    box-sizing: border-box;
}

.bp-card {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
}

.bp-card-pad {
    padding: 20px;
}

.bp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bp-border);
}

    .bp-card-head h2, .bp-card-head h3 {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        color: var(--bp-text);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .bp-card-head h2 i, .bp-card-head h3 i {
            color: var(--bp-primary);
            font-size: 18px;
        }

.bp-card-body {
    padding: 20px;
}

.bp-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 4px 0;
    color: var(--bp-text);
}

.bp-subtitle {
    font-size: 13px;
    color: var(--bp-muted);
    margin: 0;
}

.bp-muted {
    color: var(--bp-muted);
}

.bp-price {
    font-weight: bold;
    white-space: nowrap;
}

    .bp-price small {
        font-size: .72em;
        font-weight: normal;
        color: var(--bp-muted);
        margin-right: 3px;
    }

/* دکمه‌ها */
.bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: IRANSans;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .1s;
    user-select: none;
    white-space: nowrap;
}

    .bp-btn:active {
        transform: scale(.98);
    }

    .bp-btn i {
        font-size: 1.1em;
    }

.bp-btn-primary {
    background: var(--bp-primary);
    color: #fff !important;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--bp-primary) 28%, transparent);
}

    .bp-btn-primary:hover {
        background: var(--bp-primary-600);
        color: #fff;
    }

.bp-btn-outline {
    background: #fff;
    color: var(--bp-primary) !important;
    border-color: var(--bp-primary-100);
}

    .bp-btn-outline:hover {
        background: var(--bp-primary-50);
        border-color: var(--bp-primary);
    }

.bp-btn-ghost {
    background: transparent;
    color: var(--bp-text-2) !important;
}

    .bp-btn-ghost:hover {
        background: var(--bp-bg);
    }

.bp-btn-danger-soft {
    background: var(--bp-danger-50);
    color: var(--bp-danger) !important;
}

    .bp-btn-danger-soft:hover {
        background: #fbd9d9;
    }

.bp-btn-block {
    width: 100%;
}

.bp-btn-lg {
    min-height: 54px;
    font-size: 15px;
    border-radius: 14px;
}

.bp-btn-sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 10px;
}

.bp-btn[disabled], .bp-btn.is-disabled {
    opacity: .5;
    pointer-events: none;
}

.bp-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--bp-border);
    background: #fff;
    color: var(--bp-text-2);
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

    .bp-icon-btn:hover {
        border-color: var(--bp-primary);
        color: var(--bp-primary);
    }

    .bp-icon-btn.is-danger:hover {
        border-color: var(--bp-danger);
        color: var(--bp-danger);
        background: var(--bp-danger-50);
    }

/* نشان‌ها */
.bp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

    .bp-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

    .bp-badge.no-dot::before {
        display: none;
    }

.bp-badge-success { background: var(--bp-success-50); color: var(--bp-success); }
.bp-badge-warning { background: var(--bp-warning-50); color: #b97700; }
.bp-badge-danger { background: var(--bp-danger-50); color: var(--bp-danger); }
.bp-badge-info { background: var(--bp-primary-50); color: var(--bp-primary); }
.bp-badge-muted { background: #f0f2f5; color: var(--bp-text-2); }

/* هشدارها */
.bp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;
    border: 1px solid transparent;
}

    .bp-alert i {
        font-size: 18px;
        margin-top: 4px;
        flex-shrink: 0;
    }

    .bp-alert ul {
        margin: 0;
        padding: 0 18px 0 0;
    }

.bp-alert-danger { background: var(--bp-danger-50); color: #b42318; border-color: #f8cfcf; }
.bp-alert-warning { background: var(--bp-warning-50); color: #93600a; border-color: #f7e2b3; }
.bp-alert-success { background: var(--bp-success-50); color: #0d7a3d; border-color: #c4ead4; }
.bp-alert-info { background: var(--bp-primary-50); color: var(--bp-primary-600); border-color: var(--bp-primary-100); }

.bp-alert-danger:empty, .bp-alert-danger .validation-summary-valid {
    display: none;
}

/* فرم‌ها */
.bp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

    .bp-field label {
        font-size: 13px;
        font-weight: 500;
        color: var(--bp-text-2);
        margin: 0;
    }

        .bp-field label .req {
            color: var(--bp-danger);
            margin-right: 2px;
        }

.bp-input, .bp-field input, .bp-field textarea, .bp-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--bp-border-2);
    background: #fff;
    font-family: IRANSans;
    font-size: 14px;
    color: var(--bp-text);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

    .bp-field textarea, textarea.bp-input {
        min-height: 110px;
        resize: vertical;
        line-height: 1.9;
    }

    .bp-input:focus, .bp-field input:focus, .bp-field textarea:focus, .bp-field select:focus {
        border-color: var(--bp-primary);
        box-shadow: 0 0 0 4px var(--bp-primary-100);
    }

    .bp-input::placeholder, .bp-field input::placeholder, .bp-field textarea::placeholder {
        color: #a8b0bd;
    }

    .bp-field input[disabled], .bp-input[disabled] {
        background: var(--bp-bg);
        color: var(--bp-muted);
    }

.bp-field-hint {
    font-size: 12px;
    color: var(--bp-muted);
}

.bp-input-group {
    position: relative;
}

    .bp-input-group .bp-input-icon {
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: var(--bp-muted);
        cursor: pointer;
        border-radius: 8px;
    }

        .bp-input-group .bp-input-icon:hover {
            color: var(--bp-primary);
            background: var(--bp-bg);
        }

.bp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

/* حالت خالی */
.bp-empty {
    text-align: center;
    padding: 48px 20px;
}

    .bp-empty .bp-empty-icon {
        width: 96px;
        height: 96px;
        margin: 0 auto 18px auto;
        border-radius: 50%;
        background: var(--bp-primary-50);
        color: var(--bp-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
    }

    .bp-empty h3 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .bp-empty p {
        color: var(--bp-muted);
        font-size: 14px;
        margin-bottom: 20px;
    }

/* اعلان کوتاه */
.bp-toast-wrap {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    width: max-content;
    max-width: calc(100% - 32px);
}

.bp-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1f2937;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: var(--bp-shadow-lg);
    animation: bpToastIn .35s var(--bp-ease);
    pointer-events: auto;
}

    .bp-toast.is-success i { color: #4ade80; }
    .bp-toast.is-error i { color: #f87171; }
    .bp-toast.is-hiding { animation: bpToastOut .3s ease forwards; }

@keyframes bpToastIn {
    from { opacity: 0; transform: translateY(-12px) scale(.96); }
    to { opacity: 1; transform: none; }
}

@keyframes bpToastOut {
    to { opacity: 0; transform: translateY(-12px); }
}

/* ---------- باکس خرید صفحه محصول ---------- */

.bp-buy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
    color: var(--bp-text);
}

.bp-buy-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 18px;
    box-shadow: var(--bp-shadow);
}

/* شمارنده شگفت‌انگیز */
.bp-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, #ef394e, #c81e3a);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
}

    .bp-countdown .bp-cd-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: bold;
    }

    .bp-countdown .bp-cd-units {
        display: flex;
        gap: 6px;
        direction: ltr;
    }

    .bp-countdown .bp-cd-unit {
        background: rgba(255, 255, 255, .18);
        border-radius: 8px;
        min-width: 42px;
        padding: 4px 6px;
        text-align: center;
        line-height: 1.3;
    }

        .bp-countdown .bp-cd-unit p {
            margin: 0;
            font-size: 16px;
            font-weight: bold;
        }

        .bp-countdown .bp-cd-unit span {
            font-size: 10px;
            opacity: .85;
        }

/* انتخاب متغیر */
.bp-variants {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bp-vgroup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

    .bp-vgroup-head .bp-vgroup-title {
        font-weight: bold;
        color: var(--bp-text);
    }

    .bp-vgroup-head .VariantSelectedTitle {
        color: var(--bp-primary);
        font-weight: 500;
        font-size: 13px;
        background: var(--bp-primary-50);
        padding: 2px 10px;
        border-radius: 999px;
    }

        .bp-vgroup-head .VariantSelectedTitle:empty {
            display: none;
        }

.bp-voptions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-voption {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 16px;
    border: 1.5px solid var(--bp-border-2);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    color: var(--bp-text);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
    user-select: none;
}

    .bp-voption:hover {
        border-color: var(--bp-primary);
    }

    .bp-voption .bp-vcheck {
        width: 0;
        overflow: hidden;
        transition: width .2s;
        font-size: 12px;
    }

    .bp-voption.active {
        border-color: var(--bp-primary);
        background: var(--bp-primary-50);
        color: var(--bp-primary);
        font-weight: 500;
        box-shadow: 0 0 0 3px var(--bp-primary-100);
    }

        .bp-voption.active .bp-vcheck {
            width: 14px;
        }

    .bp-voption.disabled {
        cursor: not-allowed;
        color: #b6bdc8;
        background: #fafbfc;
        border-style: dashed;
        border-color: var(--bp-border);
        box-shadow: none;
    }

        .bp-voption.disabled span {
            text-decoration: line-through;
        }

        .bp-voption.disabled:hover {
            border-color: var(--bp-border);
        }

/* قیمت و افزودن به سبد */
.bp-pricebox {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bp-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bp-price-label {
    font-size: 13px;
    color: var(--bp-muted);
    margin-bottom: 4px;
}

.bp-price-old {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

    .bp-price-old del {
        color: var(--bp-muted);
        font-size: 14px;
    }

.bp-discount {
    background: var(--bp-danger);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 999px;
}

.bp-price-now {
    font-size: 26px;
    font-weight: bold;
    color: var(--bp-text);
    line-height: 1.3;
}

    .bp-price-now small {
        font-size: 13px;
        font-weight: normal;
        color: var(--bp-text-2);
        margin-right: 4px;
    }

.bp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bp-success);
}

    .bp-stock.is-low {
        color: var(--bp-danger);
        font-weight: 500;
    }

    .bp-stock i {
        font-size: 14px;
    }

.bp-omdeh {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bp-warning-50);
    color: #93600a;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.8;
}

    .bp-omdeh i {
        font-size: 18px;
    }

    .bp-omdeh.is-active {
        background: var(--bp-success-50);
        color: #0d7a3d;
    }

.bp-buy-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

    .bp-buy-actions .bp-btn {
        flex: 1;
    }

.bp-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--bp-border-2);
    border-radius: 14px;
    background: #fff;
    height: 54px;
    flex-shrink: 0;
    overflow: hidden;
}

    .bp-qty a, .bp-qty button {
        width: 42px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--bp-primary) !important;
        cursor: pointer;
        font-size: 14px;
        background: transparent;
        border: none;
        transition: background .2s;
        text-decoration: none;
    }

        .bp-qty a:hover, .bp-qty button:hover {
            background: var(--bp-primary-50);
        }

        .bp-qty a.is-disabled, .bp-qty button.is-disabled {
            color: #c4cad4 !important;
            pointer-events: none;
        }

    .bp-qty span {
        min-width: 34px;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
    }

.bp-qty-sm {
    height: 40px;
    border-radius: 11px;
}

    .bp-qty-sm a, .bp-qty-sm button {
        width: 36px;
        font-size: 12px;
    }

    .bp-qty-sm span {
        min-width: 28px;
        font-size: 14px;
    }

.bp-incart {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bp-success-50);
    border: 1px solid #c4ead4;
    color: #0d7a3d;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
}

    .bp-incart .bp-incart-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--bp-success);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .bp-incart b {
        display: block;
    }

    .bp-incart span {
        font-size: 12px;
        opacity: .85;
    }

.bp-unavailable {
    text-align: center;
    padding: 18px;
    border-radius: 14px;
    background: #f5f6f8;
    color: var(--bp-text-2);
}

    .bp-unavailable i {
        font-size: 28px;
        color: var(--bp-muted);
        margin-bottom: 8px;
        display: block;
    }

    .bp-unavailable b {
        display: block;
        font-size: 16px;
        margin-bottom: 4px;
        color: var(--bp-text);
    }

    .bp-unavailable span {
        font-size: 13px;
    }

.bp-select-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: var(--bp-primary-50);
    color: var(--bp-primary-600);
    font-size: 14px;
}

    .bp-select-hint i {
        font-size: 18px;
    }

.bp-extra-desc {
    font-size: 13px;
    line-height: 2;
    color: var(--bp-text-2);
    background: var(--bp-bg);
    border-radius: 12px;
    padding: 12px 14px;
}

.bp-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.bp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 11px;
    color: var(--bp-text-2);
    padding: 10px 4px;
    border-radius: 12px;
    background: var(--bp-bg);
}

    .bp-trust-item i {
        font-size: 20px;
        color: var(--bp-primary);
    }

/* نوار چسبان افزودن به سبد در موبایل */
.bp-sticky-buy {
    display: none;
}

/* ---------- پاپ‌آپ افزوده شد به سبد ---------- */

.bp-modal {
    position: fixed;
    inset: 0;
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    pointer-events: none;
}

    .bp-modal.is-open {
        visibility: visible;
        pointer-events: auto;
    }

.bp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .3s;
}

.bp-modal.is-open .bp-modal-backdrop {
    opacity: 1;
}

.bp-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--bp-shadow-lg);
    overflow: hidden;
    transform: translateY(24px) scale(.97);
    opacity: 0;
    transition: transform .35s var(--bp-ease), opacity .25s;
}

.bp-modal.is-open .bp-modal-dialog {
    transform: none;
    opacity: 1;
}

.bp-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    color: var(--bp-text-2);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bp-modal-close:hover {
        background: var(--bp-bg);
    }

.bp-atc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bp-success-50);
    color: #0d7a3d;
}

    .bp-atc-head .bp-check-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bp-success);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
        animation: bpPop .45s var(--bp-ease);
    }

    .bp-atc-head b {
        font-size: 15px;
        display: block;
    }

    .bp-atc-head span {
        font-size: 12px;
        opacity: .85;
    }

@keyframes bpPop {
    0% { transform: scale(.3); opacity: 0; }
    60% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
}

.bp-atc-product {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--bp-border);
}

.bp-atc-img {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    border: 1px solid var(--bp-border);
    background: #fafafa center / contain no-repeat;
    flex-shrink: 0;
}

.bp-atc-info {
    min-width: 0;
    flex: 1;
}

    .bp-atc-info h4 {
        font-size: 14px;
        font-weight: bold;
        line-height: 1.8;
        margin: 0 0 6px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.bp-atc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

    .bp-atc-meta span {
        font-size: 12px;
        background: var(--bp-bg);
        color: var(--bp-text-2);
        padding: 2px 8px;
        border-radius: 6px;
    }

.bp-atc-price {
    font-size: 15px;
    font-weight: bold;
}

.bp-atc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 13px;
    color: var(--bp-text-2);
    background: #fafbfc;
}

    .bp-atc-summary b {
        color: var(--bp-text);
        font-size: 14px;
    }

.bp-atc-actions {
    display: flex;
    gap: 10px;
    padding: 16px 20px 20px 20px;
}

    .bp-atc-actions .bp-btn {
        flex: 1;
    }

/* ---------- مراحل خرید ---------- */

.bp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto 28px auto;
    max-width: 640px;
    padding: 0 10px;
}

.bp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    color: var(--bp-muted);
    font-size: 13px;
    text-decoration: none !important;
    flex-shrink: 0;
}

    .bp-step .bp-step-dot {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid var(--bp-border-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        transition: all .3s;
    }

    .bp-step.is-done {
        color: var(--bp-primary);
    }

        .bp-step.is-done .bp-step-dot {
            background: var(--bp-primary-50);
            border-color: var(--bp-primary);
            color: var(--bp-primary);
        }

    .bp-step.is-active {
        color: var(--bp-text);
        font-weight: bold;
    }

        .bp-step.is-active .bp-step-dot {
            background: var(--bp-primary);
            border-color: var(--bp-primary);
            color: #fff;
            box-shadow: 0 0 0 6px var(--bp-primary-100);
        }

.bp-step-line {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--bp-border-2);
    margin: 0 6px 26px 6px;
    min-width: 30px;
}

    .bp-step-line.is-done {
        background: var(--bp-primary);
    }

/* ---------- چیدمان سبد و تسویه ---------- */

.bp-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.bp-aside {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* اقلام سبد */
.bp-cart-list {
    display: flex;
    flex-direction: column;
}

.bp-cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--bp-border);
    align-items: center;
}

.bp-cart-list > .cartRow:last-child .bp-cart-item {
    border-bottom: none;
}

.bp-cart-img {
    width: 104px;
    height: 104px;
    border-radius: 14px;
    border: 1px solid var(--bp-border);
    background: #fafafa center / contain no-repeat;
    display: block;
}

.bp-cart-info {
    min-width: 0;
}

    .bp-cart-info h3 {
        font-size: 15px;
        font-weight: bold;
        line-height: 1.8;
        margin: 0 0 8px 0;
        color: var(--bp-text);
    }

    .bp-cart-info a:hover h3 {
        color: var(--bp-primary);
    }

.bp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

    .bp-chips span {
        font-size: 12px;
        background: var(--bp-bg);
        color: var(--bp-text-2);
        padding: 3px 10px;
        border-radius: 8px;
    }

        .bp-chips span b {
            color: var(--bp-text);
            font-weight: 500;
        }

.bp-unit-price {
    font-size: 13px;
    color: var(--bp-text-2);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .bp-unit-price del {
        color: var(--bp-muted);
    }

.bp-tag-omdeh {
    font-size: 11px;
    background: var(--bp-success-50);
    color: var(--bp-success);
    padding: 1px 8px;
    border-radius: 6px;
}

.bp-cart-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.bp-cart-total {
    font-size: 16px;
    font-weight: bold;
    color: var(--bp-text);
}

.bp-cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* خلاصه سبد */
.bp-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--bp-text-2);
    padding: 7px 0;
}

    .bp-summary-row.is-off {
        color: var(--bp-danger);
    }

    .bp-summary-row.is-total {
        border-top: 1px dashed var(--bp-border-2);
        margin-top: 8px;
        padding-top: 16px;
        color: var(--bp-text);
        font-weight: bold;
        font-size: 15px;
    }

        .bp-summary-row.is-total .bp-price {
            font-size: 19px;
        }

.bp-save-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bp-success-50);
    color: #0d7a3d;
    font-size: 13px;
}

.bp-aside-note {
    font-size: 12px;
    color: var(--bp-muted);
    line-height: 1.9;
    text-align: center;
    margin-top: 10px;
}

/* کد تخفیف */
.bp-coupon-row {
    display: flex;
    gap: 8px;
}

    .bp-coupon-row .bp-input {
        min-height: 46px;
        flex: 1;
        min-width: 0;
        letter-spacing: .5px;
    }

.bp-coupon-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 10px;
}

    .bp-coupon-msg.is-error {
        color: var(--bp-danger);
    }

    .bp-coupon-msg.is-success {
        color: var(--bp-success);
    }

/* کارت آدرس */
.bp-address-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.bp-address {
    position: relative;
    border: 1.5px solid var(--bp-border-2);
    border-radius: 14px;
    padding: 16px 16px 14px 16px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    background: #fff;
}

    .bp-address:hover {
        border-color: var(--bp-primary);
    }

    .bp-address.selected {
        border-color: var(--bp-primary);
        background: var(--bp-primary-50);
        box-shadow: 0 0 0 3px var(--bp-primary-100);
    }

    .bp-address.is-static {
        cursor: default;
    }

        .bp-address.is-static:hover {
            border-color: var(--bp-border-2);
        }

.bp-address-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-left: 76px;
}

.bp-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bp-border-2);
    flex-shrink: 0;
    position: relative;
    transition: border-color .2s;
}

.selected > .bp-address-top .bp-radio, .selected .bp-radio, .active .bp-radio {
    border-color: var(--bp-primary);
}

    .selected > .bp-address-top .bp-radio::after, .selected .bp-radio::after, .active .bp-radio::after {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: 50%;
        background: var(--bp-primary);
    }

.bp-address-title {
    font-weight: bold;
    font-size: 14px;
}

.bp-address-line {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--bp-text-2);
    line-height: 1.9;
}

    .bp-address-line i {
        color: var(--bp-muted);
        width: 14px;
        margin-top: 6px;
        flex-shrink: 0;
        font-size: 12px;
    }

.bp-address-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
}

    .bp-address-actions span {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: #fff;
        border: 1px solid var(--bp-border);
        color: var(--bp-text-2);
        cursor: pointer;
        font-size: 13px;
        transition: all .2s;
    }

        .bp-address-actions span:hover {
            color: var(--bp-primary);
            border-color: var(--bp-primary);
        }

        .bp-address-actions span.deleteIcon:hover {
            color: var(--bp-danger);
            border-color: var(--bp-danger);
            background: var(--bp-danger-50);
        }

.bp-address-add {
    border: 1.5px dashed var(--bp-border-2);
    border-radius: 14px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--bp-primary);
    background: #fff;
    cursor: pointer;
    font-family: IRANSans;
    font-size: 14px;
    transition: all .2s;
    width: 100%;
}

    .bp-address-add i {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bp-primary-50);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .bp-address-add:hover {
        border-color: var(--bp-primary);
        background: var(--bp-primary-50);
    }

.bp-address-skeleton {
    height: 130px;
    border-radius: 14px;
    background: linear-gradient(90deg, #f1f3f6 25%, #e8ebf0 37%, #f1f3f6 63%);
    background-size: 400% 100%;
    animation: bpShimmer 1.4s ease infinite;
}

@keyframes bpShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* روش ارسال */
.bp-ship-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-ship {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid var(--bp-border-2);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}

    .bp-ship:hover {
        border-color: var(--bp-primary);
    }

    .bp-ship.active {
        border-color: var(--bp-primary);
        background: var(--bp-primary-50);
        box-shadow: 0 0 0 3px var(--bp-primary-100);
    }

.bp-ship-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bp-bg);
    color: var(--bp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bp-ship.active .bp-ship-icon {
    background: #fff;
}

.bp-ship-body {
    flex: 1;
    min-width: 0;
}

    .bp-ship-body b {
        font-size: 14px;
        display: block;
    }

    .bp-ship-body span {
        font-size: 12px;
        color: var(--bp-muted);
        line-height: 1.8;
    }

.bp-ship-price {
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

    .bp-ship-price.is-free {
        color: var(--bp-success);
    }

.bp-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    background: var(--bp-bg);
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* مودال آدرس (بوت‌استرپ) */
.bp-bs-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    font-family: IRANSans;
}

.bp-bs-modal .modal-header {
    border-bottom: 1px solid var(--bp-border);
    padding: 16px 20px;
}

    .bp-bs-modal .modal-header .modal-title {
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .bp-bs-modal .modal-header .modal-title i {
            color: var(--bp-primary);
        }

    .bp-bs-modal .modal-header .btn-close {
        margin: 0 auto 0 0;
    }

.bp-bs-modal .modal-body {
    padding: 20px;
}

.bp-bs-modal .modal-footer {
    border-top: 1px solid var(--bp-border);
    padding: 14px 20px;
    justify-content: flex-start;
    gap: 8px;
}

.bp-bs-modal .bp-field {
    margin-bottom: 0;
}

.bp-bs-modal .row > div {
    margin-bottom: 14px;
}

.bp-bs-modal .select2-container .select2-selection--single {
    height: 48px;
    border-radius: 12px;
    border-color: var(--bp-border-2);
}

    .bp-bs-modal .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 46px;
        padding-right: 14px;
        font-size: 14px;
    }

    .bp-bs-modal .select2-container .select2-selection--single .select2-selection__arrow {
        height: 46px;
        left: 8px;
    }

/* ---------- پرداخت موفق ---------- */

.bp-success-hero {
    text-align: center;
    padding: 40px 20px 32px 20px;
    position: relative;
    overflow: hidden;
}

    .bp-success-hero::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 150px;
        background: radial-gradient(ellipse at top, var(--bp-success-50), transparent 70%);
        pointer-events: none;
    }

.bp-success-icon {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 18px auto;
}

    .bp-success-icon svg {
        width: 96px;
        height: 96px;
    }

    .bp-success-icon .bp-ring {
        fill: none;
        stroke: var(--bp-success);
        stroke-width: 4;
        stroke-dasharray: 290;
        stroke-dashoffset: 290;
        animation: bpDraw .7s ease-out forwards;
    }

    .bp-success-icon .bp-tick {
        fill: none;
        stroke: var(--bp-success);
        stroke-width: 5;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 60;
        stroke-dashoffset: 60;
        animation: bpDraw .4s .6s ease-out forwards;
    }

    .bp-success-icon .bp-fill {
        fill: var(--bp-success-50);
    }

    .bp-success-icon.is-info .bp-ring, .bp-success-icon.is-info .bp-tick {
        stroke: var(--bp-primary);
    }

    .bp-success-icon.is-info .bp-fill {
        fill: var(--bp-primary-50);
    }

@keyframes bpDraw {
    to { stroke-dashoffset: 0; }
}

.bp-success-hero h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
}

.bp-success-hero p {
    color: var(--bp-text-2);
    font-size: 14px;
    margin-bottom: 0;
    position: relative;
    line-height: 2;
}

.bp-receipt {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--bp-border);
}

.bp-receipt-item {
    padding: 16px 18px;
    border-left: 1px solid var(--bp-border);
    text-align: center;
}

    .bp-receipt-item:last-child {
        border-left: none;
    }

    .bp-receipt-item span {
        font-size: 12px;
        color: var(--bp-muted);
        display: block;
        margin-bottom: 4px;
    }

    .bp-receipt-item b {
        font-size: 15px;
        direction: ltr;
        display: inline-block;
        word-break: break-all;
    }

.bp-success-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
    border-top: 1px solid var(--bp-border);
}

/* لیست ساده اقلام (پرداخت موفق/جزئیات سفارش) */
.bp-items {
    display: flex;
    flex-direction: column;
}

.bp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--bp-border);
}

    .bp-item:last-child {
        border-bottom: none;
    }

.bp-item-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid var(--bp-border);
    background: #fafafa center / contain no-repeat;
    flex-shrink: 0;
}

.bp-item-body {
    flex: 1;
    min-width: 0;
}

    .bp-item-body a {
        color: var(--bp-text);
    }

        .bp-item-body a:hover {
            color: var(--bp-primary);
        }

    .bp-item-body h4 {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.8;
        margin: 0 0 4px 0;
    }

    .bp-item-body span {
        font-size: 12px;
        color: var(--bp-muted);
    }

.bp-item-total {
    text-align: left;
    flex-shrink: 0;
}

    .bp-item-total span {
        display: block;
        font-size: 12px;
        color: var(--bp-muted);
    }

.bp-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

    .bp-info .bp-info-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--bp-primary-50);
        color: var(--bp-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 14px;
    }

    .bp-info span {
        display: block;
        font-size: 12px;
        color: var(--bp-muted);
    }

    .bp-info b {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.9;
        word-break: break-word;
    }

/* ---------- حساب کاربری ---------- */

.bp-account {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.bp-account-side {
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.bp-user-card {
    padding: 24px 20px 20px 20px;
    text-align: center;
    background: linear-gradient(160deg, var(--bp-primary-50), #fff 70%);
    border-bottom: 1px solid var(--bp-border);
}

.bp-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    margin: 0 auto 12px auto;
    box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--bp-primary-100);
}

    .bp-avatar.is-sm {
        width: 44px;
        height: 44px;
        font-size: 17px;
        margin: 0;
        box-shadow: none;
    }

.bp-user-card b {
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

.bp-user-card span {
    font-size: 13px;
    color: var(--bp-muted);
    direction: ltr;
    display: inline-block;
}

.bp-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 2px;
}

.bp-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--bp-text-2) !important;
    font-size: 14px;
    transition: background .2s, color .2s;
    position: relative;
}

    .bp-nav-link i {
        width: 20px;
        text-align: center;
        font-size: 17px;
        color: var(--bp-muted);
        transition: color .2s;
    }

    .bp-nav-link .bp-nav-arrow {
        margin-right: auto;
        font-size: 12px;
        width: auto;
        opacity: 0;
        transition: opacity .2s, transform .2s;
    }

    .bp-nav-link:hover {
        background: var(--bp-bg);
        color: var(--bp-text) !important;
    }

        .bp-nav-link:hover .bp-nav-arrow {
            opacity: 1;
        }

    .bp-nav-link.active {
        background: var(--bp-primary-50);
        color: var(--bp-primary) !important;
        font-weight: 500;
    }

        .bp-nav-link.active i {
            color: var(--bp-primary);
        }

        .bp-nav-link.active .bp-nav-arrow {
            opacity: 1;
        }

    .bp-nav-link.is-danger:hover {
        background: var(--bp-danger-50);
        color: var(--bp-danger) !important;
    }

        .bp-nav-link.is-danger:hover i {
            color: var(--bp-danger);
        }

.bp-nav-sep {
    height: 1px;
    background: var(--bp-border);
    margin: 6px 10px;
}

.bp-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.bp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.bp-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

    .bp-stat .bp-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        background: var(--bp-primary-50);
        color: var(--bp-primary);
    }

        .bp-stat .bp-stat-icon.is-warning { background: var(--bp-warning-50); color: #c98400; }
        .bp-stat .bp-stat-icon.is-success { background: var(--bp-success-50); color: var(--bp-success); }
        .bp-stat .bp-stat-icon.is-accent { background: #e6f5fc; color: var(--bp-accent); }

    .bp-stat span {
        display: block;
        font-size: 12px;
        color: var(--bp-muted);
        margin-bottom: 2px;
    }

    .bp-stat b {
        font-size: 18px;
    }

        .bp-stat b small {
            font-size: 11px;
            font-weight: normal;
            color: var(--bp-muted);
        }

/* تب‌های فیلتر */
.bp-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: var(--bp-bg);
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .bp-tabs::-webkit-scrollbar {
        display: none;
    }

.bp-tab {
    border: none;
    background: transparent;
    font-family: IRANSans;
    font-size: 13px;
    color: var(--bp-text-2);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}

    .bp-tab em {
        font-style: normal;
        font-size: 11px;
        background: #e3e7ee;
        border-radius: 999px;
        padding: 0 7px;
        line-height: 18px;
    }

    .bp-tab.active {
        background: #fff;
        color: var(--bp-primary);
        font-weight: 500;
        box-shadow: 0 1px 4px rgba(16, 24, 40, .08);
    }

        .bp-tab.active em {
            background: var(--bp-primary-50);
            color: var(--bp-primary);
        }

/* کارت سفارش */
.bp-orders {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.bp-order {
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

    .bp-order:hover {
        box-shadow: 0 6px 24px rgba(16, 24, 40, .1);
    }

.bp-order-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--bp-border);
    flex-wrap: wrap;
}

    .bp-order-head .bp-order-id {
        font-weight: bold;
        font-size: 15px;
    }

.bp-order-meta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--bp-text-2);
}

    .bp-order-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .bp-order-meta i {
        color: var(--bp-muted);
    }

.bp-order-head .bp-badge {
    margin-right: auto;
}

.bp-order-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
}

.bp-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--bp-border);
    background: #fafafa center / contain no-repeat;
    position: relative;
}

.bp-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: var(--bp-text-2);
    background: var(--bp-bg);
}

.bp-thumb em {
    position: absolute;
    bottom: -4px;
    left: -4px;
    background: var(--bp-text);
    color: #fff;
    font-style: normal;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

/* خط زمانی وضعیت سفارش */
.bp-timeline {
    display: flex;
    align-items: flex-start;
    padding: 24px 20px 20px 20px;
}

.bp-tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: var(--bp-muted);
    gap: 8px;
}

    .bp-tl-step::before {
        content: "";
        position: absolute;
        top: 19px;
        left: 50%;
        width: 100%;
        height: 3px;
        background: var(--bp-border-2);
        z-index: 0;
    }

    .bp-tl-step:first-child::before {
        display: none;
    }

    .bp-tl-step .bp-tl-dot {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid var(--bp-border-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        position: relative;
        z-index: 1;
    }

    .bp-tl-step.is-done {
        color: var(--bp-text);
    }

        .bp-tl-step.is-done::before {
            background: var(--bp-success);
        }

        .bp-tl-step.is-done .bp-tl-dot {
            background: var(--bp-success);
            border-color: var(--bp-success);
            color: #fff;
        }

    .bp-tl-step.is-current .bp-tl-dot {
        background: #fff;
        border-color: var(--bp-primary);
        color: var(--bp-primary);
        box-shadow: 0 0 0 5px var(--bp-primary-100);
    }

    .bp-tl-step.is-current {
        color: var(--bp-primary);
        font-weight: bold;
    }

        .bp-tl-step.is-current::before {
            background: var(--bp-success);
        }

    .bp-tl-step.is-failed .bp-tl-dot {
        background: var(--bp-danger);
        border-color: var(--bp-danger);
        color: #fff;
    }

    .bp-tl-step.is-failed {
        color: var(--bp-danger);
        font-weight: bold;
    }

.bp-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.bp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-text-2) !important;
    font-size: 13px;
    margin-bottom: 12px;
}

    .bp-back-link:hover {
        color: var(--bp-primary) !important;
    }

.bp-pass-strength {
    height: 4px;
    border-radius: 4px;
    background: var(--bp-border);
    overflow: hidden;
    margin-top: 2px;
}

    .bp-pass-strength i {
        display: block;
        height: 100%;
        width: 0;
        transition: width .3s, background .3s;
    }

/* ---------- دیدگاه‌ها ---------- */

.bp-reviews {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
    color: var(--bp-text);
}

.bp-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .bp-reviews-head h2 {
        font-size: 20px;
        font-weight: bold;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .bp-reviews-head h2 i {
            color: var(--bp-primary);
        }

        .bp-reviews-head h2 em {
            font-style: normal;
            font-size: 13px;
            font-weight: normal;
            color: var(--bp-muted);
        }

.bp-reviews-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.bp-reviews-aside {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bp-rating-summary {
    padding: 22px;
}

.bp-rating-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.bp-rating-avg {
    font-size: 46px;
    font-weight: bold;
    line-height: 1;
}

    .bp-rating-avg small {
        font-size: 15px;
        color: var(--bp-muted);
        font-weight: normal;
    }

.bp-stars {
    display: inline-flex;
    gap: 2px;
    color: #dfe3ea;
    font-size: 15px;
    direction: rtl;
}

    .bp-stars .filled {
        color: var(--bp-star);
    }

    .bp-stars.is-lg {
        font-size: 19px;
    }

.bp-rating-count {
    font-size: 13px;
    color: var(--bp-muted);
    margin-top: 4px;
}

.bp-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-bar-row {
    display: grid;
    grid-template-columns: 34px 1fr 30px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--bp-text-2);
}

    .bp-bar-row .bp-bar-star {
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .bp-bar-row .bp-bar-star i {
            color: var(--bp-star);
            font-size: 11px;
        }

.bp-bar {
    height: 8px;
    background: #eef0f4;
    border-radius: 8px;
    overflow: hidden;
}

    .bp-bar i {
        display: block;
        height: 100%;
        background: var(--bp-star);
        border-radius: 8px;
    }

.bp-bar-row .bp-bar-num {
    text-align: left;
    color: var(--bp-muted);
}

.bp-review-cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bp-border);
    font-size: 13px;
    color: var(--bp-text-2);
    line-height: 1.9;
}

    .bp-review-cta .bp-btn {
        margin-top: 12px;
    }

.bp-review-form {
    padding: 22px;
}

    .bp-review-form h3 {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 4px;
    }

    .bp-review-form > p {
        font-size: 12px;
        color: var(--bp-muted);
        margin-bottom: 18px;
        line-height: 1.9;
    }

/* امتیازدهی ستاره‌ای */
.bp-star-input {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    direction: rtl;
}

    .bp-star-input input {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

    .bp-star-input label {
        font-size: 30px !important;
        color: #dfe3ea !important;
        cursor: pointer;
        transition: color .15s, transform .15s;
        line-height: 1;
    }

        .bp-star-input label:hover {
            transform: scale(1.15);
        }

        .bp-star-input label:hover,
        .bp-star-input label:hover ~ label,
        .bp-star-input input:checked ~ label {
            color: var(--bp-star) !important;
        }

    .bp-star-input input:focus-visible + label {
        outline: 2px solid var(--bp-primary);
        border-radius: 4px;
    }

.bp-star-caption {
    font-size: 12px;
    color: var(--bp-muted);
    min-height: 18px;
}

.bp-review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bp-review {
    padding: 20px;
}

.bp-review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

    .bp-review-top .bp-review-who {
        flex: 1;
        min-width: 0;
    }

        .bp-review-top .bp-review-who b {
            font-size: 14px;
            display: block;
        }

        .bp-review-top .bp-review-who span {
            font-size: 12px;
            color: var(--bp-muted);
        }

.bp-review-text {
    font-size: 14px;
    line-height: 2.1;
    color: var(--bp-text-2);
    margin: 0;
    white-space: pre-line;
    word-break: break-word;
}

.bp-review .bp-avatar.is-sm {
    background: var(--bp-primary-100);
    color: var(--bp-primary);
}

.bp-reply {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bp-primary-50);
    border-right: 3px solid var(--bp-primary);
}

    .bp-reply .bp-reply-head {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        margin-bottom: 6px;
    }

        .bp-reply .bp-reply-head b {
            color: var(--bp-primary);
        }

        .bp-reply .bp-reply-head span {
            font-size: 11px;
            color: var(--bp-muted);
            margin-right: auto;
        }

    .bp-reply .bp-review-text {
        font-size: 13px;
    }

.bp-reviews-more {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.bp-review.is-hidden {
    display: none;
}

/* ---------- منوی موبایل ---------- */

.bp-mnav, .bp-drawer, .bp-drawer-backdrop {
    display: none;
}

@media only screen and (max-width: 700px) {

    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .bp-mnav {
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 1040;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--bp-border);
        box-shadow: 0 -6px 24px rgba(16, 24, 40, .08);
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom)) 6px;
        justify-content: space-around;
        align-items: flex-end;
        font-family: IRANSans;
    }

    .bp-mnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 6px 0 4px 0;
        color: var(--bp-muted) !important;
        font-size: 11px;
        background: none;
        border: none;
        font-family: IRANSans;
        cursor: pointer;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

        .bp-mnav-item i {
            font-size: 21px;
            transition: transform .2s;
        }

        .bp-mnav-item.active {
            color: var(--bp-primary) !important;
            font-weight: 500;
        }

            .bp-mnav-item.active::after {
                content: "";
                position: absolute;
                top: -6px;
                width: 26px;
                height: 3px;
                border-radius: 0 0 3px 3px;
                background: var(--bp-primary);
            }

        .bp-mnav-item:active i {
            transform: scale(.88);
        }

    .bp-mnav-cart .bp-mnav-bubble {
        width: 52px;
        height: 52px;
        margin-top: -26px;
        border-radius: 50%;
        background: var(--bp-primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px color-mix(in srgb, var(--bp-primary) 40%, transparent);
        border: 4px solid #fff;
        position: relative;
    }

        .bp-mnav-cart .bp-mnav-bubble i {
            font-size: 20px;
        }

    .bp-mnav-cart .numberOrder {
        position: absolute;
        top: -6px;
        right: -6px;
        background: var(--bp-danger) !important;
        color: #fff;
        min-width: 20px;
        width: auto !important;
        height: 20px !important;
        border-radius: 10px;
        font-size: 11px !important;
        line-height: 16px !important;
        padding: 0 5px;
        border: 2px solid #fff;
        text-align: center;
        font-weight: bold;
    }

        .bp-mnav-cart .numberOrder.hide {
            display: none;
        }

    .bp-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .45);
        backdrop-filter: blur(2px);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }

        .bp-drawer-backdrop.is-open {
            opacity: 1;
            visibility: visible;
        }

    .bp-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: min(340px, 86vw);
        background: #fff;
        z-index: 1060;
        transform: translateX(105%);
        transition: transform .35s var(--bp-ease);
        box-shadow: var(--bp-shadow-lg);
        border-radius: 22px 0 0 22px;
        overflow: hidden;
        font-family: IRANSans;
        color: var(--bp-text);
    }

        .bp-drawer.is-open {
            transform: none;
        }

    .bp-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid var(--bp-border);
    }

        .bp-drawer-head img {
            height: 38px;
            max-width: 160px;
            object-fit: contain;
        }

    .bp-drawer-scroll {
        flex: 1;
        overflow-y: auto;
        padding: 16px 14px 24px 14px;
        overscroll-behavior: contain;
    }

    .bp-drawer-user {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-600));
        color: #fff !important;
        margin-bottom: 14px;
        cursor: pointer;
    }

        .bp-drawer-user .bp-drawer-user-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .bp-drawer-user b {
            font-size: 14px;
            display: block;
        }

        .bp-drawer-user span {
            font-size: 12px;
            opacity: .85;
        }

        .bp-drawer-user > i {
            margin-right: auto;
            font-size: 13px;
            opacity: .8;
        }

    .bp-drawer-search {
        position: relative;
        margin-bottom: 16px;
    }

        .bp-drawer-search input {
            width: 100%;
            height: 46px;
            border-radius: 12px;
            border: 1px solid var(--bp-border-2);
            background: var(--bp-bg);
            padding: 0 44px 0 14px;
            font-family: IRANSans;
            font-size: 13px;
            outline: none;
        }

            .bp-drawer-search input:focus {
                border-color: var(--bp-primary);
                background: #fff;
            }

        .bp-drawer-search button {
            position: absolute;
            right: 4px;
            top: 4px;
            width: 38px;
            height: 38px;
            border: none;
            background: none;
            color: var(--bp-muted);
        }

    .bp-drawer-label {
        font-size: 11px;
        color: var(--bp-muted);
        margin: 14px 8px 6px 8px;
        letter-spacing: .3px;
    }

    .bp-drawer-link, .bp-acc-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 12px 10px;
        border-radius: 12px;
        color: var(--bp-text) !important;
        font-size: 14px;
        background: none;
        border: none;
        font-family: IRANSans;
        text-align: right;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

        .bp-drawer-link:active, .bp-acc-toggle:active {
            background: var(--bp-bg);
        }

        .bp-drawer-link > i:first-child, .bp-acc-toggle > i:first-child {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: var(--bp-bg);
            color: var(--bp-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        .bp-drawer-link.is-highlight {
            color: var(--bp-accent) !important;
            font-weight: 500;
        }

            .bp-drawer-link.is-highlight > i:first-child {
                background: #e6f5fc;
                color: var(--bp-accent);
            }

        .bp-drawer-link.active {
            background: var(--bp-primary-50);
            color: var(--bp-primary) !important;
            font-weight: 500;
        }

    .bp-acc-toggle .bp-acc-arrow {
        margin-right: auto;
        font-size: 12px;
        color: var(--bp-muted);
        transition: transform .3s;
    }

    .bp-acc.is-open > .bp-acc-toggle .bp-acc-arrow {
        transform: rotate(180deg);
    }

    .bp-acc.is-open > .bp-acc-toggle {
        color: var(--bp-primary) !important;
        font-weight: 500;
    }

    .bp-acc-panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .3s var(--bp-ease);
    }

        .bp-acc-panel > div {
            overflow: hidden;
        }

    .bp-acc.is-open > .bp-acc-panel {
        grid-template-rows: 1fr;
    }

    .bp-acc-panel a, .bp-acc-panel .bp-acc-toggle {
        padding: 10px 12px 10px 10px;
        font-size: 13px;
        color: var(--bp-text-2) !important;
    }

    .bp-acc-inner {
        margin: 2px 26px 6px 0;
        border-right: 2px solid var(--bp-border);
        padding-right: 8px;
    }

        .bp-acc-inner a {
            display: block;
            border-radius: 10px;
        }

            .bp-acc-inner a:active {
                background: var(--bp-bg);
            }

        .bp-acc-inner .bp-acc-toggle > i:first-child {
            display: none;
        }

        .bp-acc-inner .bp-acc-inner {
            margin-right: 10px;
        }

        .bp-acc-inner .bp-acc-all {
            color: var(--bp-primary) !important;
            font-weight: 500;
        }

    .bp-drawer-foot {
        border-top: 1px solid var(--bp-border);
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .bp-drawer-foot .bp-call {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--bp-text) !important;
            font-size: 12px;
        }

            .bp-drawer-foot .bp-call i {
                width: 38px;
                height: 38px;
                border-radius: 50%;
                background: var(--bp-success-50);
                color: var(--bp-success);
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .bp-drawer-foot .bp-call b {
                display: block;
                font-size: 14px;
                direction: ltr;
                text-align: right;
            }

        .bp-drawer-foot .bp-social {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--bp-bg);
            color: var(--bp-text-2) !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

    body.bp-lock {
        overflow: hidden;
    }

    /* نوار چسبان خرید محصول در موبایل */
    .bp-sticky-buy {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        right: 0;
        left: 0;
        bottom: calc(66px + env(safe-area-inset-bottom));
        z-index: 1030;
        background: #fff;
        border-top: 1px solid var(--bp-border);
        box-shadow: 0 -6px 18px rgba(16, 24, 40, .07);
        padding: 10px 16px;
        transform: translateY(150%);
        transition: transform .3s var(--bp-ease);
    }

        .bp-sticky-buy.is-visible {
            transform: none;
        }

        .bp-sticky-buy .bp-sticky-price {
            flex: 1;
            min-width: 0;
        }

            .bp-sticky-buy .bp-sticky-price span {
                display: block;
                font-size: 11px;
                color: var(--bp-muted);
            }

            .bp-sticky-buy .bp-sticky-price b {
                font-size: 16px;
            }

        .bp-sticky-buy .bp-btn {
            min-height: 44px;
        }
}

/* ---------- واکنش‌گرا ---------- */

@media only screen and (max-width: 1200px) {
    .bp-shop-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .bp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-detail-grid {
        grid-template-columns: 1fr;
    }

    .bp-reviews-layout {
        grid-template-columns: 300px minmax(0, 1fr);
    }
}

@media only screen and (max-width: 992px) {
    .bp-shop-layout, .bp-account, .bp-reviews-layout {
        grid-template-columns: 1fr;
    }

    .bp-aside, .bp-account-side, .bp-reviews-aside {
        position: static;
    }

    .bp-account-side .bp-user-card {
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: right;
        padding: 16px;
    }

        .bp-account-side .bp-user-card .bp-avatar {
            width: 52px;
            height: 52px;
            font-size: 20px;
            margin: 0;
        }

    .bp-nav {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 6px;
    }

        .bp-nav::-webkit-scrollbar {
            display: none;
        }

    .bp-nav-link {
        white-space: nowrap;
        padding: 10px 14px;
        flex-shrink: 0;
    }

        .bp-nav-link .bp-nav-arrow {
            display: none;
        }

    .bp-nav-sep {
        display: none;
    }

    .bp-receipt {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-receipt-item:nth-child(2) {
        border-left: none;
    }

    .bp-receipt-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--bp-border);
    }
}

@media only screen and (max-width: 700px) {
    .bp-page, .bp-reviews {
        width: auto;
        margin: 14px 16px 32px 16px;
    }

    .bp-card-head, .bp-card-body, .bp-card-pad {
        padding-right: 16px;
        padding-left: 16px;
    }

    .bp-steps {
        margin-bottom: 18px;
    }

    .bp-step {
        font-size: 11px;
    }

        .bp-step .bp-step-dot {
            width: 36px;
            height: 36px;
            font-size: 14px;
        }

    .bp-step-line {
        margin-bottom: 22px;
    }

    .bp-cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
        padding: 16px;
        gap: 12px;
        align-items: start;
    }

    .bp-cart-img {
        width: 84px;
        height: 84px;
    }

    .bp-cart-info h3 {
        font-size: 14px;
    }

    .bp-cart-side {
        grid-column: 1 / -1;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px dashed var(--bp-border);
    }

    .bp-address-list {
        grid-template-columns: 1fr;
    }

    .bp-grid-2 {
        grid-template-columns: 1fr;
    }

    .bp-stats {
        gap: 10px;
    }

    .bp-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

        .bp-stat .bp-stat-icon {
            width: 40px;
            height: 40px;
            font-size: 17px;
        }

    .bp-order-head {
        padding: 14px 16px;
        gap: 10px;
    }

    .bp-order-meta {
        gap: 12px;
        width: 100%;
        order: 3;
    }

    .bp-order-body {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
    }

        .bp-order-body .bp-btn {
            width: 100%;
        }

    .bp-timeline {
        padding: 20px 8px 16px 8px;
    }

    .bp-tl-step {
        font-size: 11px;
    }

        .bp-tl-step .bp-tl-dot {
            width: 34px;
            height: 34px;
            font-size: 13px;
        }

        .bp-tl-step::before {
            top: 16px;
        }

    .bp-item {
        padding: 12px 16px;
    }

    .bp-item-img {
        width: 54px;
        height: 54px;
    }

    .bp-atc-actions {
        flex-direction: column-reverse;
    }

    .bp-modal {
        align-items: flex-end;
        padding: 0;
    }

    .bp-modal-dialog {
        max-width: none;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
        padding-bottom: env(safe-area-inset-bottom);
    }

        .bp-modal-dialog::before {
            content: "";
            display: block;
            width: 40px;
            height: 4px;
            border-radius: 4px;
            background: rgba(0, 0, 0, .15);
            position: absolute;
            top: 8px;
            left: 50%;
            margin-left: -20px;
            z-index: 3;
        }

    .bp-reviews-head h2 {
        font-size: 17px;
    }

    .bp-review {
        padding: 16px;
    }

    .bp-success-hero {
        padding: 32px 16px 24px 16px;
    }

        .bp-success-hero h1 {
            font-size: 19px;
        }

    .bp-success-actions .bp-btn {
        flex: 1;
    }

    .bp-trust {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-buy {
        padding: 12px 0;
    }

    .bp-price-now {
        font-size: 22px;
    }
}

@media only screen and (max-width: 400px) {
    .bp-buy-actions {
        flex-direction: column;
    }

    .bp-buy-actions .bp-qty {
        justify-content: space-between;
        width: 100%;
    }

        .bp-buy-actions .bp-qty a, .bp-buy-actions .bp-qty button {
            width: 54px;
        }

    .bp-receipt-item {
        padding: 12px 10px;
    }

        .bp-receipt-item b {
            font-size: 13px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .bp-modal-dialog, .bp-drawer, .bp-acc-panel, .bp-sticky-buy, .bp-toast {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- تکمیلی ---------- */

body.bp-lock {
    overflow: hidden;
}

@media only screen and (max-width: 700px) {
    .footerArea {
        padding-bottom: 10px !important;
    }
}

.bp-field .is-invalid, .bp-input.is-invalid {
    border-color: var(--bp-danger) !important;
    box-shadow: 0 0 0 4px var(--bp-danger-50) !important;
}

.bp-bs-modal .row > div.bp-field {
    margin-bottom: 0;
}

.bp-alert .validation-summary-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media only screen and (max-width: 700px) {
    .bp-ship .bp-ship-icon {
        display: none;
    }

    .bp-ship {
        padding: 14px;
        gap: 12px;
    }
}

.bp-account > *, .bp-shop-layout > *, .bp-reviews-layout > *, .bp-detail-grid > * {
    min-width: 0;
}


/* ---------- رنگ و جلوه (تم آبی) ---------- */

.bp-btn-primary {
    background: var(--bp-grad);
    box-shadow: 0 8px 18px rgba(0, 148, 221, .32);
}

    .bp-btn-primary:hover {
        background: linear-gradient(135deg, #0096dd 0%, #0080c8 45%, #005f92 100%);
        box-shadow: 0 10px 22px rgba(0, 148, 221, .4);
    }

.bp-btn-outline {
    border-color: #b9e1f6;
}

/* آیکن عنوان کارت‌ها در دایره رنگی */
.bp-card-head h2 i, .bp-card-head h3 i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bp-primary-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.bp-card-head {
    background: linear-gradient(180deg, #f7fbfe, #fff);
    border-radius: var(--bp-radius) var(--bp-radius) 0 0;
}

/* خلاصه سبد با نوار رنگی بالا */
.bp-aside > .bp-card:first-child {
    border-top: 4px solid var(--bp-primary);
}

.bp-summary-row.is-total .bp-price {
    color: var(--bp-primary-700);
}

/* مراحل خرید */
.bp-step.is-active .bp-step-dot {
    background: var(--bp-grad);
    border-color: transparent;
}

.bp-step-line.is-done {
    background: var(--bp-grad);
}

/* انتخاب‌ها: آدرس، روش ارسال، متغیر */
.bp-address.selected, .bp-ship.active, .ShippingItem.bp-ship.active {
    background: linear-gradient(135deg, #f0f9fe, #e3f4fc);
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px var(--bp-primary-100), 0 6px 16px rgba(0, 148, 221, .12);
    color: var(--bp-text);
}

.ShippingItem.bp-ship:hover {
    background: #fff;
    color: var(--bp-text);
}

.ShippingItem.bp-ship.active:hover {
    background: linear-gradient(135deg, #f0f9fe, #e3f4fc);
}

.bp-ship .bp-ship-body span, .ShippingItem.bp-ship.active .bp-ship-body span {
    color: var(--bp-muted);
}

.bp-ship.active .bp-ship-body b, .bp-address.selected .bp-address-title {
    color: var(--bp-primary-700);
}

.bp-ship.active .bp-ship-price {
    color: var(--bp-primary-700);
}

.bp-ship.active .bp-ship-price.is-free {
    color: var(--bp-success);
}

.bp-ship.active .bp-ship-icon {
    background: var(--bp-primary);
    color: #fff;
}

.bp-address.selected .bp-address-line {
    color: var(--bp-text);
}

.bp-voption.active {
    background: var(--bp-grad);
    color: #fff;
    border-color: transparent;
}

/* حساب کاربری */
.bp-user-card {
    background: var(--bp-grad);
    color: #fff;
    border-bottom: none;
}

    .bp-user-card span {
        color: rgba(255, 255, 255, .85);
    }

    .bp-user-card .bp-avatar {
        background: #fff;
        color: var(--bp-primary);
        box-shadow: 0 0 0 5px rgba(255, 255, 255, .25);
    }

.bp-nav-link.active {
    background: var(--bp-primary-50);
    box-shadow: inset -3px 0 0 var(--bp-primary);
}

.bp-stat {
    position: relative;
    overflow: hidden;
}

    .bp-stat::after {
        content: "";
        position: absolute;
        left: -30px;
        bottom: -30px;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: var(--bp-primary-50);
        z-index: 0;
    }

    .bp-stat > * {
        position: relative;
        z-index: 1;
    }

.bp-tab.active {
    background: var(--bp-grad);
    color: #fff;
}

    .bp-tab.active em {
        background: rgba(255, 255, 255, .25);
        color: #fff;
    }

/* دیدگاه‌ها و پاپ‌آپ */
.bp-review .bp-avatar.is-sm {
    background: var(--bp-grad);
    color: #fff;
}

.bp-rating-summary {
    background: linear-gradient(160deg, #f0f9fe, #fff 55%);
}

.bp-atc-summary {
    background: var(--bp-bg);
}

/* منوی موبایل */
@media only screen and (max-width: 700px) {
    .bp-mnav-cart .bp-mnav-bubble {
        background: var(--bp-grad);
        box-shadow: 0 8px 20px rgba(0, 148, 221, .45);
    }

    .bp-drawer-user {
        background: var(--bp-grad);
    }

    .bp-drawer-head {
        background: linear-gradient(180deg, #f0f9fe, #fff);
    }
}
