/* بخش کسب‌وکار (عکس محصول): صفحه معرفی، استودیو، پروژه‌ها
   همه چیز زیر .bz است تا با استایل‌های عمومی سایت تداخل نداشته باشد */

.bz {
    --bz-ink: #0f172b;
    --bz-ink-2: #334155;
    --bz-muted: #64748b;
    --bz-faint: #94a3b8;
    --bz-line: #e5e9f0;
    --bz-soft: #f3f6f9;
    --bz-bg: #f8fafc;
    --bz-card: #fff;
    --bz-accent: #00ac94;
    --bz-accent-strong: #00917d;
    --bz-accent-soft: #e5f7f3;
    --bz-gold: #f5b544;
    --bz-danger: #dc2626;
    --bz-danger-soft: #fef2f2;
    --bz-radius: 20px;
    --bz-radius-md: 14px;
    --bz-radius-sm: 10px;
    --bz-shadow-sm: 0 1px 2px rgba(15, 23, 43, .06);
    --bz-shadow: 0 12px 32px rgba(15, 23, 43, .08);
    --bz-shadow-lg: 0 24px 60px rgba(15, 23, 43, .14);
    color: var(--bz-ink);
    direction: rtl;
    text-align: right;
    font-family: IRANSans, Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    padding-bottom: 48px;
}

    .bz *, .bz *::before, .bz *::after {
        box-sizing: border-box;
    }

    /* سایت قانون عمومی برای [hidden] ندارد */
    .bz [hidden] {
        display: none !important;
    }

    .bz h1, .bz h2, .bz h3, .bz h4, .bz p, .bz figure {
        margin: 0;
    }

    .bz a {
        color: inherit;
        text-decoration: none;
    }

    .bz button {
        font-family: inherit;
        cursor: pointer;
    }

    .bz img {
        max-width: 100%;
        display: block;
    }

    .bz :focus-visible {
        outline: 3px solid rgba(0, 172, 148, .45);
        outline-offset: 2px;
    }

.bz-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.bz-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- دکمه‌ها ---------- */
.bz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}

    .bz-btn svg {
        width: 20px;
        height: 20px;
        flex: none;
    }

    .bz-btn:active {
        transform: translateY(1px);
    }

    .bz-btn[disabled], .bz-btn.is-disabled {
        opacity: .45;
        pointer-events: none;
    }

.bz-btn--primary {
    background: var(--bz-accent);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 172, 148, .28);
}

    .bz-btn--primary:hover {
        background: var(--bz-accent-strong);
    }

.bz-btn--dark {
    background: var(--bz-ink);
    color: #fff !important;
}

    .bz-btn--dark:hover {
        background: #1e293b;
    }

.bz-btn--ghost {
    background: #fff;
    color: var(--bz-ink) !important;
    border-color: var(--bz-line);
}

    .bz-btn--ghost:hover {
        border-color: var(--bz-faint);
    }

.bz-btn--sm {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.bz-btn--block {
    width: 100%;
}

.bz-link {
    color: var(--bz-accent-strong) !important;
    font-weight: bold;
}

    .bz-link:hover {
        text-decoration: underline;
    }

/* ---------- نوار بخش کسب‌وکار (هم‌عرض هدر سایت) ---------- */
.bz-bar {
    margin: 14px auto 0;
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: 22px;
    box-shadow: var(--bz-shadow-sm);
    position: relative;
    z-index: 5;
}

.bz-bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    padding: 8px 14px 8px 8px;
}

.bz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    color: var(--bz-ink);
    flex: none;
}

    .bz-brand small {
        display: block;
        font-weight: normal;
        font-size: 11px;
        color: var(--bz-muted);
        line-height: 1.4;
    }

.bz-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172b, #1f3a5f);
    display: grid;
    place-items: center;
    color: #fff;
}

    .bz-brand-mark svg {
        width: 20px;
        height: 20px;
    }

.bz-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
}

.bz-nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--bz-ink-2) !important;
    transition: background .15s;
}

    .bz-nav-link:hover {
        background: var(--bz-soft);
    }

    .bz-nav-link.is-active {
        background: var(--bz-soft);
        color: var(--bz-ink) !important;
        font-weight: bold;
    }

@media (max-width: 720px) {
    .bz-bar {
        margin-top: 10px;
        border-radius: 18px;
    }

    .bz-bar-inner {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 10px 6px;
    }

    .bz-brand small {
        display: none;
    }

    .bz-brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .bz-nav {
        width: 100%;
        margin: 0;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .bz-nav-link {
        flex: none;
    }
}

/* ---------- عنوان بخش‌ها ---------- */
.bz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bz-accent-soft);
    color: var(--bz-accent-strong);
    font-size: 13px;
    font-weight: bold;
}

.bz-eyebrow svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.bz-section {
    padding: 72px 0 0;
}

.bz-section-head {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

    .bz-section-head h2 {
        font-size: 28px;
        line-height: 1.6;
        margin-top: 12px;
    }

    .bz-section-head p {
        color: var(--bz-muted);
        margin-top: 8px;
    }

@media (max-width: 720px) {
    .bz-section {
        padding-top: 52px;
    }

    .bz-section-head h2 {
        font-size: 22px;
    }
}

/* ---------- صفحه معرفی: هیرو ---------- */
.bz-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1000px 420px at 85% -10%, rgba(0, 172, 148, .14), transparent 60%), radial-gradient(800px 380px at 0% 110%, rgba(245, 181, 68, .12), transparent 60%), var(--bz-bg);
    padding: 64px 0 72px;
}

.bz-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.bz-hero h1 {
    font-size: 42px;
    line-height: 1.45;
    margin: 18px 0 16px;
    letter-spacing: -.3px;
}

    .bz-hero h1 em {
        font-style: normal;
        color: var(--bz-accent-strong);
    }

.bz-hero-lead {
    color: var(--bz-ink-2);
    font-size: 17px;
    max-width: 540px;
}

.bz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bz-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--bz-muted);
    font-size: 13px;
}

    .bz-trust li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .bz-trust svg {
        width: 18px;
        height: 18px;
        color: var(--bz-accent);
    }

/* تصویر قبل و بعد */
.bz-showcase {
    position: relative;
    height: 460px;
}

.bz-shot {
    position: absolute;
    border-radius: var(--bz-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--bz-shadow-lg);
    border: 6px solid #fff;
}

    .bz-shot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bz-shot-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 43, .72);
    color: #fff;
    font-size: 12px;
    backdrop-filter: blur(6px);
}

.bz-shot--before {
    width: 38%;
    height: 52%;
    top: 16%;
    right: 0;
    transform: rotate(4deg);
    filter: saturate(.75);
    z-index: 1;
}

.bz-shot--main {
    width: 50%;
    height: 82%;
    top: 4%;
    left: 16%;
    z-index: 2;
}

.bz-shot--side {
    width: 30%;
    height: 40%;
    bottom: 2%;
    left: 0;
    transform: rotate(-5deg);
    z-index: 3;
}

.bz-arrow {
    position: absolute;
    top: 38%;
    right: 30%;
    z-index: 4;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bz-accent);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 172, 148, .4);
}

    .bz-arrow svg {
        width: 26px;
        height: 26px;
    }

/* اگر هنوز عکس پیش‌نمایشی نیست، تصویرسازی ساده محصول */
.bz-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

    .bz-placeholder svg {
        width: 46%;
        height: auto;
        filter: drop-shadow(0 18px 18px rgba(15, 23, 43, .18));
    }

.bz-placeholder--raw {
    background: linear-gradient(160deg, #d9d6cf, #b9b4aa);
}

.bz-placeholder--studio {
    background: radial-gradient(circle at 50% 40%, #ffffff, #eef1f5 70%);
}

.bz-placeholder--lux {
    background: radial-gradient(circle at 50% 30%, #3b3f4a, #111318 75%);
}

.bz-placeholder--nature {
    background: radial-gradient(circle at 30% 20%, #fdf3df, #cfe7cf 70%);
}

@media (max-width: 960px) {
    .bz-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bz-hero h1 {
        font-size: 32px;
    }

    .bz-showcase {
        height: 360px;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .bz-hero {
        padding: 40px 0 56px;
    }

    .bz-hero h1 {
        font-size: 27px;
    }

    .bz-hero-lead {
        font-size: 15px;
    }

    .bz-hero-actions .bz-btn {
        flex: 1;
    }

    .bz-showcase {
        height: 300px;
    }
}

/* ---------- مراحل ---------- */
.bz-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: bzstep;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .bz-steps li {
        position: relative;
        background: #fff;
        border: 1px solid var(--bz-line);
        border-radius: var(--bz-radius);
        padding: 22px 20px;
        counter-increment: bzstep;
    }

        .bz-steps li::before {
            content: counter(bzstep);
            position: absolute;
            top: 18px;
            left: 18px;
            font-size: 40px;
            font-weight: bold;
            line-height: 1;
            color: var(--bz-soft);
        }

    .bz-steps h3 {
        font-size: 16px;
        margin: 14px 0 4px;
    }

    .bz-steps p {
        color: var(--bz-muted);
        font-size: 14px;
    }

.bz-icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--bz-accent-soft);
    color: var(--bz-accent-strong);
    display: grid;
    place-items: center;
}

    .bz-icon-tile svg {
        width: 24px;
        height: 24px;
    }

@media (max-width: 960px) {
    .bz-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .bz-steps {
        grid-template-columns: 1fr;
    }
}

/* ---------- کارت دسته‌ها ---------- */
.bz-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.bz-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

    .bz-cat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--bz-shadow);
    }

.bz-cat-media {
    aspect-ratio: 4 / 3;
    background: var(--bz-soft);
    overflow: hidden;
}

    .bz-cat-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bz-cat-body {
    padding: 14px 16px 16px;
}

    .bz-cat-body h3 {
        font-size: 16px;
    }

    .bz-cat-body p {
        font-size: 13px;
        color: var(--bz-muted);
        line-height: 1.8;
        margin-top: 2px;
    }

/* دو نوع عکس در صفحه معرفی: هر کارت نصف عرض، عکس کنار متن */
.bz-mode-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .bz-mode-cards .bz-cat-card {
        flex-direction: row;
        align-items: stretch;
    }

    .bz-mode-cards .bz-cat-media {
        flex: 0 0 42%;
        aspect-ratio: auto;
        min-height: 220px;
    }

    .bz-mode-cards .bz-cat-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 22px 24px;
    }

        .bz-mode-cards .bz-cat-body h3 {
            font-size: 18px;
        }

        .bz-mode-cards .bz-cat-body p {
            font-size: 14px;
        }

.bz-mode-cards-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--bz-accent-strong);
    font-weight: bold;
    font-size: 14px;
}

    .bz-mode-cards-cta svg {
        width: 18px;
        height: 18px;
    }

@media (max-width: 860px) {
    .bz-mode-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bz-mode-cards .bz-cat-media {
        flex-basis: 38%;
        min-height: 170px;
    }

    .bz-mode-cards .bz-cat-body {
        padding: 14px 16px;
    }
}

/* ---------- نمونه سبک‌ها ---------- */
.bz-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.bz-gallery-item {
    position: relative;
    border-radius: var(--bz-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bz-soft);
}

    .bz-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

    .bz-gallery-item:hover img {
        transform: scale(1.04);
    }

    .bz-gallery-item figcaption {
        position: absolute;
        inset: auto 0 0 0;
        padding: 28px 12px 10px;
        background: linear-gradient(transparent, rgba(15, 23, 43, .72));
        color: #fff;
        font-size: 13px;
        font-weight: bold;
    }

@media (max-width: 560px) {
    .bz-cat-grid, .bz-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bz-cat-grid.bz-mode-cards {
        grid-template-columns: 1fr;
    }

    .bz-cat-body {
        padding: 10px 12px 12px;
    }

        .bz-cat-body h3 {
            font-size: 14px;
        }
}

/* ---------- مزیت‌ها ---------- */
.bz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bz-feature {
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    padding: 22px;
}

    .bz-feature h3 {
        font-size: 16px;
        margin: 14px 0 4px;
    }

    .bz-feature p {
        color: var(--bz-muted);
        font-size: 14px;
    }

@media (max-width: 960px) {
    .bz-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bz-features {
        grid-template-columns: 1fr;
    }
}

/* ---------- قیمت ---------- */
.bz-price-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    background: var(--bz-ink);
    color: #fff;
    border-radius: 28px;
    padding: 36px 40px;
    background-image: radial-gradient(600px 240px at 0% 0%, rgba(0, 172, 148, .35), transparent 60%);
}

    .bz-price-card h2 {
        font-size: 26px;
        line-height: 1.6;
    }

    .bz-price-card p {
        color: #cbd5e1;
        margin-top: 6px;
    }

.bz-price-num {
    text-align: center;
}

    .bz-price-num b {
        display: block;
        font-size: 48px;
        line-height: 1.2;
        color: var(--bz-gold);
    }

    .bz-price-num span {
        color: #cbd5e1;
        font-size: 14px;
    }

@media (max-width: 720px) {
    .bz-price-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        text-align: center;
    }
}

/* ---------- سؤالات ---------- */
.bz-faq {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

    .bz-faq details {
        background: #fff;
        border: 1px solid var(--bz-line);
        border-radius: var(--bz-radius-md);
        padding: 0 18px;
    }

    .bz-faq summary {
        list-style: none;
        cursor: pointer;
        padding: 16px 0;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

        .bz-faq summary::-webkit-details-marker {
            display: none;
        }

        .bz-faq summary::after {
            content: "+";
            font-size: 20px;
            line-height: 1;
            color: var(--bz-muted);
            transition: transform .2s;
        }

    .bz-faq details[open] summary::after {
        transform: rotate(45deg);
    }

    .bz-faq details p {
        color: var(--bz-ink-2);
        padding-bottom: 16px;
        font-size: 14px;
    }

.bz-cta-band {
    margin-top: 72px;
    text-align: center;
    background: linear-gradient(135deg, var(--bz-accent-soft), #fff6e6);
    border-radius: 28px;
    padding: 44px 20px;
}

    .bz-cta-band h2 {
        font-size: 26px;
        line-height: 1.6;
    }

    .bz-cta-band p {
        color: var(--bz-ink-2);
        margin: 6px 0 22px;
    }

/* ---------- استودیو (ویزارد) ---------- */
.bz-studio {
    padding-top: 28px;
}

.bz-studio-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

    .bz-studio-head h1 {
        font-size: 24px;
        line-height: 1.6;
    }

    .bz-studio-head p {
        color: var(--bz-muted);
        font-size: 14px;
    }

.bz-stepper {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

    .bz-stepper li {
        flex: 1;
    }

.bz-stepper-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--bz-radius-md);
    border: 1px solid var(--bz-line);
    background: #fff;
    color: var(--bz-muted);
    text-align: right;
    font-size: 14px;
    transition: border-color .2s, background .2s, color .2s;
}

    .bz-stepper-btn:disabled {
        cursor: default;
    }

.bz-step-num {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bz-soft);
    font-weight: bold;
    font-size: 13px;
}

.bz-step-text {
    min-width: 0;
    line-height: 1.5;
}

    .bz-step-text small {
        display: block;
        font-size: 12px;
        color: var(--bz-faint);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.bz-stepper-btn.is-current {
    border-color: var(--bz-ink);
    color: var(--bz-ink);
    font-weight: bold;
    box-shadow: var(--bz-shadow-sm);
}

    .bz-stepper-btn.is-current .bz-step-num {
        background: var(--bz-ink);
        color: #fff;
    }

.bz-stepper-btn.is-done {
    color: var(--bz-ink-2);
}

    .bz-stepper-btn.is-done .bz-step-num {
        background: var(--bz-accent);
        color: #fff;
    }

    .bz-stepper-btn.is-done:hover {
        border-color: var(--bz-faint);
    }

@media (max-width: 720px) {
    .bz-studio-head {
        display: block;
    }

    .bz-stepper {
        gap: 4px;
    }

    .bz-stepper-btn {
        flex-direction: column;
        gap: 4px;
        padding: 8px 4px;
        text-align: center;
        font-size: 12px;
    }

    .bz-step-text small {
        display: none;
    }
}

.bz-panel {
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    padding: 24px;
    box-shadow: var(--bz-shadow-sm);
    animation: bz-in .25s ease;
}

@keyframes bz-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.bz-panel-head {
    margin-bottom: 18px;
}

    .bz-panel-head h2 {
        font-size: 19px;
        line-height: 1.6;
    }

    .bz-panel-head p {
        color: var(--bz-muted);
        font-size: 14px;
    }

@media (max-width: 560px) {
    .bz-panel {
        padding: 18px 14px;
        border-radius: 16px;
    }
}

/* کارت‌های قابل انتخاب */
.bz-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.bz-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: #fff;
    border: 2px solid var(--bz-line);
    border-radius: var(--bz-radius-md);
    overflow: hidden;
    text-align: right;
    color: var(--bz-ink);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

    .bz-choice:hover {
        border-color: var(--bz-faint);
        transform: translateY(-2px);
    }

    .bz-choice.is-selected {
        border-color: var(--bz-accent);
        box-shadow: 0 0 0 4px rgba(0, 172, 148, .14);
    }

.bz-choice-media {
    aspect-ratio: 4 / 3;
    background: var(--bz-soft);
    overflow: hidden;
    position: relative;
}

    .bz-choice-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bz-choice--theme .bz-choice-media {
    aspect-ratio: 4 / 5;
}

.bz-choice-body {
    padding: 12px 14px 14px;
}

    .bz-choice-body b {
        display: block;
        font-size: 15px;
    }

    .bz-choice-body small {
        display: block;
        color: var(--bz-muted);
        font-size: 13px;
        line-height: 1.7;
        margin-top: 2px;
    }

.bz-check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    /* فقط نشانه است؛ کلیک باید به دکمه انتخاب زیرش برسد */
    pointer-events: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 2px solid var(--bz-line);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    transition: background .18s, border-color .18s;
}

    .bz-check svg {
        width: 16px;
        height: 16px;
        opacity: 0;
    }

.is-selected > .bz-check, .is-selected .bz-check {
    background: var(--bz-accent);
    border-color: var(--bz-accent);
}

    .is-selected > .bz-check svg, .is-selected .bz-check svg {
        opacity: 1;
    }

.bz-price-chip {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--bz-ink);
    font-size: 12px;
    font-weight: bold;
    line-height: 26px;
}

/* تصویرسازی پیش‌فرض کارت بدون عکس */
.bz-art {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--bz-ink-2);
    background: linear-gradient(150deg, #f3f6f9, #e6ecf2);
}

    .bz-art svg {
        width: 38%;
        height: auto;
        opacity: .8;
    }

.bz-art--1 {
    background: linear-gradient(150deg, #fdf2e9, #f6dcc6);
}

.bz-art--2 {
    background: linear-gradient(150deg, #eaf6f3, #cfeae3);
}

.bz-art--3 {
    background: linear-gradient(150deg, #eef0fb, #d9ddf5);
}

/* سوئیچ نوع خروجی */
.bz-segment {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 4px;
    padding: 4px;
    background: var(--bz-soft);
    border-radius: 999px;
    margin-bottom: 18px;
}

    .bz-segment button {
        border: 0;
        background: transparent;
        border-radius: 999px;
        padding: 8px 18px;
        font-size: 14px;
        color: var(--bz-muted);
        line-height: 1.6;
    }

        .bz-segment button small {
            display: block;
            font-size: 11px;
            color: var(--bz-faint);
        }

        .bz-segment button.is-active {
            background: #fff;
            color: var(--bz-ink);
            font-weight: bold;
            box-shadow: var(--bz-shadow-sm);
        }

/* زاویه‌های یک محصول یا تکه‌های یک ست، بالای کتابخانه عکس‌ها */
.bz-set-mode {
    margin: 18px 0 14px;
}

@media (max-width: 560px) {
    /* دو گزینه کنار هم، با گوشه کمتر گرد تا متن دوخطی جا شود */
    .bz-segment.bz-set-mode {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
        border-radius: var(--bz-radius-md);
    }

        .bz-segment.bz-set-mode button {
            border-radius: var(--bz-radius-sm);
            padding: 8px 10px;
            font-size: 13px;
        }

            .bz-segment.bz-set-mode button small {
                font-size: 11px;
                line-height: 1.6;
            }
}

.bz-btn[hidden] {
    display: none;
}

/* هزینه ویرایش در پنجره ویرایش عکس */
.bz-refine-cost {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: var(--bz-radius-sm);
    background: #fff8eb;
    border: 1px solid rgba(245, 181, 68, .45);
    color: #7a4b06;
    font-size: 13px;
    line-height: 1.7;
}

    .bz-refine-cost svg {
        flex: none;
        width: 18px;
        height: 18px;
        color: var(--bz-gold);
    }

/* عکس‌های انتخاب‌شده محصول؛ کتابخانه در پنجره جدا */
.bz-picked {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 180px));
    gap: 12px;
}

    .bz-picked .bz-photo-del {
        opacity: 1;
    }

@media (max-width: 560px) {
    /* سه عکس و خانه افزودن در دو ردیف کوچک، نه ستونی بلند */
    .bz-picked {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .bz-picked-add span {
        display: none;
    }

    .bz-picked-add b {
        font-size: 12px;
    }

    .bz-picked .bz-check {
        top: 6px;
        left: 6px;
        width: 24px;
        height: 24px;
    }

    .bz-picked .bz-photo-del {
        bottom: 6px;
        left: 6px;
        width: 26px;
        height: 26px;
    }
}

.bz-picked-add {
    font-family: inherit;
}

.bz-library-meta .bz-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: 13px;
}

    .bz-library-meta .bz-link svg {
        width: 16px;
        height: 16px;
    }

.bz-modal-box.bz-modal-box--wide {
    max-width: 860px;
}

.bz-libmodal .bz-library {
    max-height: 56vh;
    overflow: auto;
    padding: 4px;
}

.bz-gap {
    height: 16px;
}

/* نوع عکس: دو کارت بزرگ */
.bz-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
}

/* قیمت هر حالت روی کارت قدم اول؛ تا آخر ویزارد ثابت است */
.bz-mode-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--bz-radius-sm);
    background: linear-gradient(135deg, #fff8eb, #fdf0d5);
    border: 1px solid rgba(245, 181, 68, .45);
    color: #7a4b06;
    font-size: 13px;
    line-height: 1.6;
}

    .bz-mode-price svg {
        flex: none;
        width: 26px;
        height: 26px;
        padding: 4px;
        border-radius: 50%;
        background: var(--bz-gold);
        color: #fff;
    }

    .bz-mode-price b {
        font-size: 17px;
        color: #5c3804;
    }

.bz-choice.is-selected .bz-mode-price {
    border-color: var(--bz-gold);
}

/* نوع محصول */
.bz-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

    .bz-type-grid .bz-option {
        align-items: flex-start;
        text-align: right;
        gap: 2px;
        padding: 12px 14px;
    }

/* کارت مدلی که با محصول انتخاب‌شده جور نیست (مثلا کلاه و حجاب) */
.bz-choice.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

    .bz-choice.is-disabled:hover {
        border-color: var(--bz-line);
        transform: none;
    }

/* حالت‌های مدل (حجاب، نشسته و خوابیده) که زیر کارت‌های مدل باز می‌شوند */
.bz-variant-panel {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--bz-line);
    animation: bz-in .25s ease;
}

.bz-model-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

/* کادر عکس */
.bz-framing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

    .bz-framing-grid .bz-option {
        padding: 18px 14px;
    }

.bz-framing-shape {
    position: relative;
    width: 56px;
    height: 72px;
    border: 2px solid var(--bz-line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bz-soft);
}

    /* آدمک ساده؛ کادرها با بزرگ‌نمایی آن نشان داده می‌شوند */
    .bz-framing-shape i {
        position: absolute;
        left: 50%;
        bottom: 6px;
        width: 18px;
        height: 44px;
        margin-left: -9px;
        border-radius: 9px 9px 4px 4px;
        background: var(--bz-faint);
        transform-origin: 50% 100%;
    }

        .bz-framing-shape i::before {
            content: "";
            position: absolute;
            top: -14px;
            left: 2px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: inherit;
        }

.bz-framing-shape--1 i {
    background: var(--bz-accent);
    opacity: .55;
}

.bz-framing-shape--2 i {
    transform: none;
}

.bz-framing-shape--4 i {
    transform: scale(1.6) translateY(12px);
}

.bz-framing-shape--8 i {
    transform: scale(2.8) translateY(14px);
}

.bz-option.is-selected .bz-framing-shape {
    border-color: var(--bz-accent);
    background: var(--bz-accent-soft);
}

    .bz-option.is-selected .bz-framing-shape i {
        background: var(--bz-accent);
    }

/* عکس مربعی کادر (از تنظیمات) */
.bz-framing.has-image {
    padding: 8px 8px 14px;
}

.bz-framing-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--bz-radius-sm);
    overflow: hidden;
    background: var(--bz-soft);
    margin-bottom: 4px;
}

    .bz-framing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* فیلتر برچسب تم‌ها */
.bz-theme-tags {
    margin: 0 0 14px;
}

@media (max-width: 560px) {
    .bz-mode-grid, .bz-model-grid, .bz-framing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bz-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bz-segment {
        display: grid;
        width: 100%;
    }

    .bz-choice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bz-choice-body {
        padding: 10px;
    }

        .bz-choice-body small {
            font-size: 12px;
        }
}

/* کتابخانه محصولات */
.bz-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}

.bz-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--bz-radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--bz-soft);
    padding: 0;
    transition: border-color .15s, box-shadow .15s;
}

    .bz-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bz-photo.is-selected {
        border-color: var(--bz-accent);
        box-shadow: 0 0 0 4px rgba(0, 172, 148, .14);
    }

.bz-photo-select {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
}

.bz-photo-del {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: rgba(15, 23, 43, .7);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .15s;
}

    .bz-photo-del svg {
        width: 16px;
        height: 16px;
    }

.bz-photo:hover .bz-photo-del, .bz-photo:focus-within .bz-photo-del {
    opacity: 1;
}

@media (hover: none) {
    .bz-photo-del {
        opacity: 1;
    }
}

.bz-upload {
    aspect-ratio: 1;
    border-radius: var(--bz-radius-md);
    border: 2px dashed #cbd5e1;
    background: #fbfcfd;
    color: var(--bz-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

    .bz-upload svg {
        width: 30px;
        height: 30px;
        color: var(--bz-accent);
    }

    .bz-upload:hover, .bz-upload.is-drag {
        border-color: var(--bz-accent);
        background: var(--bz-accent-soft);
        color: var(--bz-accent-strong);
    }

    .bz-upload input {
        display: none;
    }

.bz-photo.is-uploading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%2300ac94' stroke-width='5' stroke-dasharray='90 150'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 40px no-repeat;
}

.bz-library-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--bz-muted);
    font-size: 13px;
    margin: 0 0 12px;
}

/* راهنمای لباس مدل، بالای فهرست مدل‌ها */
.bz-outfit-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: var(--bz-radius-md);
    background: linear-gradient(135deg, #e5f7f3 0%, #eef0fb 100%);
    border: 1px solid rgba(0, 172, 148, .18);
}

    .bz-outfit-note-icon {
        flex: none;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #fff;
        color: var(--bz-accent-strong);
        display: grid;
        place-items: center;
        box-shadow: var(--bz-shadow-sm);
    }

        .bz-outfit-note-icon svg {
            width: 22px;
            height: 22px;
        }

    .bz-outfit-note h3 {
        margin: 0 0 4px;
        font-size: 15px;
        font-weight: bold;
        color: var(--bz-ink);
        line-height: 1.7;
    }

    .bz-outfit-note p {
        margin: 0;
        font-size: 13px;
        color: var(--bz-ink-2);
        line-height: 1.9;
    }

.bz-outfit-note-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

    .bz-outfit-note-cases li {
        background: rgba(255, 255, 255, .75);
        border-radius: var(--bz-radius-sm);
        padding: 10px 12px;
        font-size: 13px;
        color: var(--bz-ink-2);
        line-height: 1.8;
    }

        .bz-outfit-note-cases li b {
            display: block;
            color: var(--bz-accent-strong);
            font-size: 13px;
        }

.bz-outfit-note .bz-outfit-note-foot {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin-top: 8px;
    font-size: 12px;
    color: var(--bz-muted);
}

    .bz-outfit-note-foot svg {
        flex: none;
        width: 15px;
        height: 15px;
        color: var(--bz-accent);
        margin-top: 4px;
    }

/* نسخه کوتاه‌تر در مرحله انتخاب سبک */
.bz-outfit-note--compact {
    padding: 12px 16px;
    align-items: center;
}

    .bz-outfit-note--compact .bz-outfit-note-icon {
        width: 36px;
        height: 36px;
    }

    .bz-outfit-note--compact h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

@media (max-width: 560px) {
    .bz-outfit-note {
        padding: 14px;
        gap: 10px;
    }

    .bz-outfit-note-icon {
        width: 36px;
        height: 36px;
    }

    .bz-outfit-note-cases {
        grid-template-columns: 1fr;
    }
}

.bz-tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

    .bz-tips li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        background: var(--bz-soft);
        border-radius: var(--bz-radius-sm);
        padding: 10px 12px;
        font-size: 13px;
        color: var(--bz-ink-2);
        line-height: 1.8;
    }

        .bz-tips li svg {
            flex: none;
            width: 18px;
            height: 18px;
            margin-top: 3px;
            color: var(--bz-accent);
        }

@media (max-width: 720px) {
    .bz-tips {
        grid-template-columns: 1fr;
    }
}

.bz-field {
    margin-top: 20px;
}

    .bz-field label {
        display: block;
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 6px;
    }

        .bz-field label small {
            font-weight: normal;
            color: var(--bz-faint);
        }

.bz-input, .bz-textarea {
    width: 100%;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius-sm);
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--bz-ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

    .bz-input:focus, .bz-textarea:focus {
        outline: none;
        border-color: var(--bz-accent);
        box-shadow: 0 0 0 4px rgba(0, 172, 148, .12);
    }

.bz-textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.9;
}

.bz-hint {
    display: block;
    color: var(--bz-faint);
    font-size: 12px;
    margin-top: 6px;
}

/* ورود */
.bz-login-card {
    text-align: center;
    padding: 36px 20px;
    border: 2px dashed var(--bz-line);
    border-radius: var(--bz-radius);
    background: #fbfcfd;
}

    .bz-login-card .bz-icon-tile {
        margin: 0 auto 12px;
    }

    .bz-login-card h3 {
        font-size: 17px;
    }

    .bz-login-card p {
        color: var(--bz-muted);
        margin: 4px auto 18px;
        max-width: 420px;
        font-size: 14px;
    }

/* تنظیمات خروجی */
.bz-settings {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 960px) {
    .bz-settings {
        grid-template-columns: 1fr;
    }
}

.bz-group + .bz-group {
    margin-top: 24px;
}

.bz-group-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}

.bz-ratio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 10px;
}

.bz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    border: 2px solid var(--bz-line);
    border-radius: var(--bz-radius-md);
    background: #fff;
    color: var(--bz-ink);
    text-align: center;
    transition: border-color .15s, box-shadow .15s;
}

    .bz-option:hover {
        border-color: var(--bz-faint);
    }

    .bz-option.is-selected {
        border-color: var(--bz-accent);
        box-shadow: 0 0 0 4px rgba(0, 172, 148, .12);
    }

    .bz-option b {
        font-size: 14px;
        line-height: 1.5;
    }

    .bz-option small {
        color: var(--bz-muted);
        font-size: 12px;
        line-height: 1.5;
    }

.bz-ratio-shape {
    height: 44px;
    display: grid;
    place-items: center;
}

    .bz-ratio-shape i {
        display: block;
        border: 2px solid currentColor;
        border-radius: 6px;
        color: var(--bz-faint);
    }

.bz-option.is-selected .bz-ratio-shape i {
    color: var(--bz-accent);
    background: var(--bz-accent-soft);
}

.bz-quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

    .bz-quality-grid .bz-option {
        align-items: flex-start;
        text-align: right;
        gap: 2px;
    }

.bz-extra {
    margin-top: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff8eb;
    color: #92590a;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    line-height: 22px;
}

.bz-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bz-line);
    border-radius: 999px;
    overflow: hidden;
}

    .bz-counter button {
        width: 46px;
        height: 46px;
        border: 0;
        background: #fff;
        font-size: 22px;
        color: var(--bz-ink);
    }

        .bz-counter button:hover {
            background: var(--bz-soft);
        }

        .bz-counter button:disabled {
            color: var(--bz-line);
            cursor: default;
            background: #fff;
        }

    .bz-counter output {
        min-width: 56px;
        text-align: center;
        font-weight: bold;
        font-size: 18px;
    }

/* خلاصه سفارش */
.bz-summary {
    position: sticky;
    top: 16px;
    background: var(--bz-bg);
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    padding: 20px;
}

    .bz-summary h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

.bz-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--bz-line);
    font-size: 14px;
}

    .bz-summary-row span {
        color: var(--bz-muted);
    }

    .bz-summary-row b {
        text-align: left;
    }

.bz-summary-thumbs {
    display: flex;
    gap: 6px;
}

    .bz-summary-thumbs img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        object-fit: cover;
    }

.bz-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 16px 0;
}

    .bz-total b {
        font-size: 26px;
    }

    .bz-total small {
        color: var(--bz-muted);
    }

.bz-balance-note {
    font-size: 13px;
    color: var(--bz-muted);
    text-align: center;
    margin-top: 10px;
}

    .bz-balance-note.is-low {
        color: var(--bz-danger);
    }

/* نوار پایین مراحل */
.bz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.bz-actions-info {
    color: var(--bz-muted);
    font-size: 13px;
}

@media (max-width: 720px) {
    .bz-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin: 18px -16px 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--bz-line);
    }

    .bz-actions-info {
        display: none;
    }

    .bz-actions .bz-btn {
        flex: 1;
    }
}

.bz-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: var(--bz-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    background: var(--bz-danger-soft);
    color: #991b1b;
}

.bz-alert--info {
    background: var(--bz-accent-soft);
    color: #065f53;
}

.bz-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--bz-muted);
}

    .bz-empty .bz-icon-tile {
        margin: 0 auto 12px;
    }

    .bz-empty h3 {
        color: var(--bz-ink);
        font-size: 17px;
        margin-bottom: 4px;
    }

    .bz-empty .bz-btn {
        margin-top: 16px;
    }

/* ---------- نتیجه‌ها ---------- */
.bz-results-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

    .bz-results-head h2 {
        font-size: 19px;
        line-height: 1.6;
    }

    .bz-results-head p {
        color: var(--bz-muted);
        font-size: 14px;
    }

.bz-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.bz-result {
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bz-result-media {
    position: relative;
    aspect-ratio: var(--bz-ratio, 1);
    background: var(--bz-soft);
    overflow: hidden;
}

    .bz-result-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: zoom-in;
    }

.bz-shimmer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--bz-muted);
    font-size: 13px;
    background: linear-gradient(100deg, #eef2f6 30%, #f8fafc 50%, #eef2f6 70%);
    background-size: 220% 100%;
    animation: bz-shimmer 1.4s linear infinite;
}

    .bz-shimmer svg {
        width: 34px;
        height: 34px;
        color: var(--bz-accent);
        animation: bz-spin 2.4s linear infinite;
    }

@keyframes bz-shimmer {
    to {
        background-position: -120% 0;
    }
}

@keyframes bz-spin {
    to {
        transform: rotate(360deg);
    }
}

.bz-result-failed {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 16px;
    color: #991b1b;
    background: var(--bz-danger-soft);
    font-size: 13px;
}

.bz-result-actions {
    display: flex;
    gap: 6px;
    padding: 10px;
}

    .bz-result-actions .bz-btn {
        flex: 1;
        padding: 0 10px;
    }

/* ---------- پروژه‌ها ---------- */
.bz-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    padding: 28px 0 20px;
}

    .bz-page-head h1 {
        font-size: 24px;
        line-height: 1.6;
    }

    .bz-page-head p {
        color: var(--bz-muted);
        font-size: 14px;
    }

.bz-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--bz-soft);
    border-radius: 999px;
    margin-bottom: 20px;
}

    .bz-tabs a {
        padding: 7px 18px;
        border-radius: 999px;
        font-size: 14px;
        color: var(--bz-muted) !important;
    }

        .bz-tabs a.is-active {
            background: #fff;
            color: var(--bz-ink) !important;
            font-weight: bold;
            box-shadow: var(--bz-shadow-sm);
        }

.bz-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.bz-project {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

    .bz-project:hover {
        transform: translateY(-3px);
        box-shadow: var(--bz-shadow);
    }

.bz-project-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bz-soft);
}

    .bz-project-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bz-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 26px;
    background: rgba(255, 255, 255, .94);
    color: var(--bz-ink);
    font-weight: bold;
}

.bz-badge--pending {
    background: #fff8eb;
    color: #92590a;
}

.bz-project-body {
    padding: 14px 16px 16px;
}

    .bz-project-body h3 {
        font-size: 15px;
    }

    .bz-project-body p {
        color: var(--bz-muted);
        font-size: 13px;
    }

.bz-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    color: var(--bz-faint);
    font-size: 12px;
    margin-top: 8px;
}

.bz-expiry {
    color: #92590a;
}

.bz-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.bz-image-tile {
    position: relative;
    border-radius: var(--bz-radius-md);
    overflow: hidden;
    background: var(--bz-soft);
    aspect-ratio: 1;
}

    .bz-image-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: zoom-in;
    }

.bz-image-tile-bar {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 24px 10px 8px;
    background: linear-gradient(transparent, rgba(15, 23, 43, .72));
    color: #fff;
    font-size: 12px;
}

    .bz-image-tile-bar a {
        color: #fff !important;
    }

.bz-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .18);
    border: 0;
    color: #fff;
}

    .bz-icon-btn svg {
        width: 18px;
        height: 18px;
    }

.bz-pager {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

    .bz-pager a, .bz-pager span {
        min-width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        border: 1px solid var(--bz-line);
        background: #fff;
        font-size: 14px;
    }

    .bz-pager span {
        background: var(--bz-ink);
        border-color: var(--bz-ink);
        color: #fff;
    }

/* جزئیات پروژه */
.bz-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 960px) {
    .bz-detail {
        grid-template-columns: 1fr;
    }
}

.bz-side {
    background: #fff;
    border: 1px solid var(--bz-line);
    border-radius: var(--bz-radius);
    padding: 20px;
}

    .bz-side h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

.bz-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

    .bz-inputs img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        border-radius: 12px;
    }

/* پنجره‌ها */
.bz-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(15, 23, 43, .55);
    backdrop-filter: blur(4px);
    animation: bz-fade .15s ease;
}

@keyframes bz-fade {
    from {
        opacity: 0;
    }
}

.bz-modal-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: var(--bz-radius);
    padding: 22px;
    box-shadow: var(--bz-shadow-lg);
    max-height: calc(100vh - 32px);
    overflow: auto;
}

    .bz-modal-box h3 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .bz-modal-box > p {
        color: var(--bz-muted);
        font-size: 14px;
    }

.bz-modal-preview {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 14px 0;
}

    .bz-modal-preview img {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        object-fit: cover;
    }

.bz-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

    .bz-modal-actions .bz-btn {
        flex: 1;
    }

.bz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

    .bz-chips button {
        border: 1px solid var(--bz-line);
        background: #fff;
        border-radius: 999px;
        padding: 4px 12px;
        font-size: 12px;
        color: var(--bz-ink-2);
    }

        .bz-chips button:hover {
            border-color: var(--bz-accent);
            color: var(--bz-accent-strong);
        }

.bz-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(8, 12, 24, .92);
    display: grid;
    place-items: center;
    padding: 24px;
    cursor: zoom-out;
    animation: bz-fade .15s ease;
}

    .bz-lightbox img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
        box-shadow: var(--bz-shadow-lg);
    }

@media (prefers-reduced-motion: reduce) {
    .bz *, .bz-modal, .bz-lightbox {
        animation: none !important;
        transition: none !important;
    }
}

/* انتخاب مدل در تم‌های «با مدل» */
.bz-chips button.is-active {
    border-color: var(--bz-accent);
    background: var(--bz-accent-soft);
    color: var(--bz-accent-strong);
    font-weight: bold;
}

.bz-model-grid .bz-choice-media {
    aspect-ratio: 3 / 4;
}

.bz-model-grid .bz-choice-media img {
    object-position: top center;
}
