/* Mzya Wholesale frontend pages
 * Scoped stylesheet loaded from public asset to avoid storefront Vue/hydration removing inline styles.
 * Keep selectors under .mz-wholesale-page unless the rule is intentionally global/RTL.
 */

.mz-wholesale-page {
        --mz-w-primary: #2c5792;
        --mz-w-navy: #0f2632;
        --mz-w-gold: #e4a224;
        --mz-w-rust: #b85827;
        --mz-w-border: #d9e2ea;
        --mz-w-muted: #64748b;
        --mz-w-soft: #f5f8fa;
        max-width: 1240px;
        margin: 0 auto;
        padding: 28px 16px 42px;
        color: #0f172a;
    }

    .mz-wholesale-page * {
        box-sizing: border-box;
    }

    .mz-wholesale-flash {
        margin-bottom: 14px;
        border-radius: 14px;
        border: 1px solid var(--mz-w-border);
        background: #fff;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 700;
        color: #18324a;
    }

    .mz-wholesale-flash.is-success { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
    .mz-wholesale-flash.is-warning { border-color: #fde68a; background: #fffbeb; color: #92400e; }
    .mz-wholesale-flash.is-error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }

    .mz-wholesale-hero {
        overflow: hidden;
        border-radius: 26px;
        background: linear-gradient(135deg, #0f2632 0%, #244c68 55%, #496f76 100%);
        color: #fff;
        box-shadow: 0 22px 48px rgba(15, 38, 50, .18);
    }

    .mz-wholesale-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
        gap: 28px;
        padding: 38px;
        align-items: stretch;
    }

    .mz-wholesale-kicker {
        display: inline-flex;
        width: max-content;
        border-radius: 999px;
        background: rgba(255,255,255,.12);
        color: #f6c663;
        padding: 8px 13px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mz-wholesale-hero h1,
    .mz-wholesale-page h1,
    .mz-wholesale-page h2,
    .mz-wholesale-page h3 {
        margin: 0;
        color: inherit;
    }

    .mz-wholesale-hero-title {
        margin-top: 16px !important;
        max-width: 760px;
        font-size: clamp(30px, 4vw, 48px);
        line-height: 1.05;
        font-weight: 900;
    }

    .mz-wholesale-hero-text {
        margin-top: 16px;
        max-width: 720px;
        color: rgba(255,255,255,.82);
        font-size: 16px;
        line-height: 1.75;
    }

    .mz-wholesale-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-top: 22px;
    }

    .mz-wholesale-btn,
    .mz-wholesale-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        border-radius: 999px;
        border: 1px solid transparent;
        padding: 10px 18px;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        transition: transform .15s ease, opacity .15s ease, background .15s ease;
    }

    .mz-wholesale-btn:hover { transform: translateY(-1px); }
    .mz-wholesale-btn.is-primary { background: var(--mz-w-gold); color: #17202a; }
    .mz-wholesale-btn.is-blue { background: var(--mz-w-primary); color: #fff; }
    .mz-wholesale-btn.is-dark { background: var(--mz-w-navy); color: #fff; }
    .mz-wholesale-btn.is-outline { border-color: rgba(255,255,255,.36); color: #fff; }
    .mz-wholesale-btn.is-soft { border-color: var(--mz-w-border); background: #fff; color: var(--mz-w-primary); }
    .mz-wholesale-pill.is-approved { background: #10b981; color: #fff; }
    .mz-wholesale-pill.is-pending { background: #fbbf24; color: #17202a; }
    .mz-wholesale-pill.is-blocked { background: #ef4444; color: #fff; }

    .mz-wholesale-hero-panel {
        border-radius: 22px;
        background: rgba(255,255,255,.1);
        padding: 16px;
        border: 1px solid rgba(255,255,255,.14);
    }

    .mz-wholesale-inner-card {
        height: 100%;
        border-radius: 18px;
        background: rgba(255,255,255,.96);
        color: #17202a;
        padding: 20px;
        box-shadow: 0 14px 32px rgba(0,0,0,.14);
    }

    .mz-wholesale-mini-list {
        display: grid;
        gap: 10px;
        margin-top: 14px;
    }

    .mz-wholesale-mini-card,
    .mz-wholesale-card {
        border-radius: 18px;
        border: 1px solid var(--mz-w-border);
        background: #fff;
        box-shadow: 0 10px 26px rgba(15, 38, 50, .06);
    }

    .mz-wholesale-mini-card { padding: 14px; background: #f8fafc; box-shadow: none; }
    .mz-wholesale-mini-card h3 { font-size: 14px; font-weight: 900; color: #0f172a; }
    .mz-wholesale-mini-card p { margin: 5px 0 0; color: var(--mz-w-muted); font-size: 13px; line-height: 1.55; }

    .mz-wholesale-status-card {
        margin-top: 16px;
        border-radius: 18px;
        border: 1px solid var(--mz-w-border);
        background: #fff;
        padding: 16px;
        box-shadow: 0 10px 26px rgba(15, 38, 50, .06);
        display: flex;
        justify-content: space-between;
        gap: 14px;
        align-items: flex-start;
    }

    .mz-wholesale-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
    }

    .mz-wholesale-step {
        padding: 18px;
        min-height: 150px;
    }

    .mz-wholesale-step-number {
        display: inline-flex;
        color: var(--mz-w-rust);
        font-size: 13px;
        font-weight: 900;
    }

    .mz-wholesale-step h3 { margin-top: 12px; font-size: 16px; font-weight: 900; color: #0f172a; }
    .mz-wholesale-step p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; color: var(--mz-w-muted); }

    .mz-wholesale-page-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 16px;
        margin-bottom: 18px;
    }

    .mz-wholesale-back {
        display: inline-flex;
        margin-bottom: 10px;
        color: var(--mz-w-primary);
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
    }

    .mz-wholesale-title {
        font-size: clamp(28px, 3vw, 38px);
        line-height: 1.1;
        color: #0f172a !important;
        font-weight: 950;
    }

    .mz-wholesale-subtitle {
        margin: 8px 0 0;
        max-width: 850px;
        color: #475569;
        font-size: 14px;
        line-height: 1.75;
    }

    .mz-wholesale-card { padding: 22px; }
    .mz-wholesale-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .mz-wholesale-field label, .mz-wholesale-field > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 900; color: #17202a; }
    .mz-wholesale-field input,
    .mz-wholesale-field select,
    .mz-wholesale-field textarea {
        width: 100%;
        border-radius: 14px;
        border: 1px solid #cbd5e1;
        background: #fff;
        padding: 12px 14px;
        color: #0f172a;
        font-size: 14px;
        outline: none;
    }
    .mz-wholesale-field input:focus,
    .mz-wholesale-field select:focus,
    .mz-wholesale-field textarea:focus { border-color: var(--mz-w-primary); box-shadow: 0 0 0 3px rgba(44,87,146,.12); }
    .mz-wholesale-field.is-full { grid-column: 1 / -1; }

    .mz-wholesale-catalog-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .mz-wholesale-product-card {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .mz-wholesale-product-media {
        aspect-ratio: 4 / 3;
        background: linear-gradient(135deg, #edf3f4, #dce7ea);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #78909a;
        font-weight: 950;
        font-size: 32px;
    }

    .mz-wholesale-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .mz-wholesale-product-body { padding: 16px; display: flex; min-height: 245px; flex-direction: column; }
    .mz-wholesale-vendor { color: var(--mz-w-rust); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
    .mz-wholesale-product-title { margin-top: 8px; color: #0f172a; font-size: 17px; font-weight: 950; line-height: 1.25; }
    .mz-wholesale-product-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
    .mz-wholesale-metric { border-radius: 14px; background: #f8fafc; padding: 10px; }
    .mz-wholesale-metric small { display: block; color: #64748b; font-size: 11px; font-weight: 800; }
    .mz-wholesale-metric strong { display: block; margin-top: 4px; color: #0f172a; font-size: 15px; }
    .mz-wholesale-price-line { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
    .mz-wholesale-price-line strong { color: var(--mz-w-navy); font-size: 17px; font-weight: 950; }

    .mz-wholesale-table-wrap { overflow: hidden; border-radius: 18px; border: 1px solid var(--mz-w-border); background: #fff; box-shadow: 0 10px 24px rgba(15,38,50,.06); }
    .mz-wholesale-table-scroll { overflow-x: auto; }
    .mz-wholesale-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 780px; }
    .mz-wholesale-table thead { background: #f8fafc; color: #475569; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
    .mz-wholesale-table th, .mz-wholesale-table td { padding: 12px 14px; border-bottom: 1px solid #e2e8f0; text-align: start; }
    .mz-wholesale-table td { color: #334155; }
    .mz-wholesale-table .is-action { text-align: end; }
    .mz-wholesale-status-badge { display: inline-flex; border-radius: 999px; background: #fef3c7; color: #92400e; padding: 5px 10px; font-size: 12px; font-weight: 900; }
    .mz-wholesale-empty { padding: 34px 18px; text-align: center; }
    .mz-wholesale-empty h2 { color: #0f172a; font-size: 19px; font-weight: 950; }
    .mz-wholesale-empty p { margin: 8px auto 0; max-width: 620px; color: #64748b; line-height: 1.65; }

    .mz-wholesale-pagination { padding: 12px 14px; border-top: 1px solid #e2e8f0; }

    @media (max-width: 1024px) {
        .mz-wholesale-hero-inner { grid-template-columns: 1fr; }
        .mz-wholesale-steps, .mz-wholesale-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
        .mz-wholesale-page { padding: 18px 12px 30px; }
        .mz-wholesale-hero-inner { padding: 22px; }
        .mz-wholesale-steps, .mz-wholesale-catalog-grid, .mz-wholesale-form-grid { grid-template-columns: 1fr; }
        .mz-wholesale-status-card, .mz-wholesale-page-head { flex-direction: column; align-items: stretch; }
        .mz-wholesale-actions .mz-wholesale-btn, .mz-wholesale-actions .mz-wholesale-pill { width: 100%; }
        .mz-wholesale-product-body { min-height: 0; }
    }

    html[dir="rtl"] .mz-wholesale-table .is-action { text-align: left; }

.mz-wholesale-field-help {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}


/* Phase 17f: wholesale apply uses the same clean no-header feeling as customer login. */
.mz-wholesale-auth-page {
    --mz-w-primary: #2c5792;
    --mz-w-navy: #102f53;
    --mz-w-gold: #e4a224;
    --mz-w-border: #d9e2ea;
    --mz-w-muted: #64748b;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(228, 162, 36, .10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(98, 142, 146, .12), transparent 30%),
        #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px 34px;
    color: #0f172a;
    overflow-x: hidden;
}

.mz-wholesale-auth-page,
.mz-wholesale-auth-page * {
    box-sizing: border-box;
}

.mz-wholesale-auth-shell {
    width: min(100%, 1120px);
    margin-inline: auto;
}

.mz-wholesale-auth-top {
    position: relative;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mz-wholesale-auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mz-wholesale-auth-logo img {
    width: 156px;
    height: auto;
    object-fit: contain;
}

.mz-wholesale-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbe5ea;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    padding: 10px 15px;
    color: var(--mz-w-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.mz-wholesale-auth-back:hover {
    border-color: rgba(44,87,146,.35);
    background: #f8fbff;
}

.mz-wholesale-auth-card {
    width: 100%;
    border: 1px solid var(--mz-w-border);
    border-radius: 26px;
    background: rgba(255,255,255,.97);
    padding: 34px 38px 32px;
    box-shadow: 0 26px 80px rgba(16,47,83,.08);
}

.mz-wholesale-auth-inner {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
}

.mz-wholesale-auth-heading {
    text-align: center;
    margin-bottom: 26px;
}

.mz-wholesale-auth-heading .mz-wholesale-kicker {
    margin-inline: auto;
    background: #fff3d6;
    color: #b85827;
    letter-spacing: .08em;
}

.mz-wholesale-auth-heading .mz-wholesale-title {
    margin-top: 12px;
}

.mz-wholesale-auth-page .mz-wholesale-flash {
    margin: 0 0 16px;
}

.mz-wholesale-auth-page .mz-wholesale-flash ul {
    margin: 0;
    padding-inline-start: 18px;
}

.mz-wholesale-auth-page .mz-wholesale-card,
.mz-wholesale-auth-page .mz-wholesale-status-card {
    box-shadow: none;
}

.mz-wholesale-auth-page .mz-wholesale-status-card.is-auth-status {
    margin-top: 0;
}

.mz-wholesale-auth-page .mz-wholesale-status-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.mz-wholesale-auth-page .mz-wholesale-field input,
.mz-wholesale-auth-page .mz-wholesale-field select,
.mz-wholesale-auth-page .mz-wholesale-field textarea {
    min-height: 52px;
    border-radius: 16px;
    background: #fff;
}

.mz-wholesale-auth-page .mz-wholesale-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #17202a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;
}

.mz-wholesale-auth-page .mz-wholesale-terms input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--mz-w-primary);
}

.mz-wholesale-auth-page .mz-wholesale-actions.is-auth-actions {
    justify-content: center;
}

.mz-wholesale-auth-page button.mz-wholesale-btn {
    border: 0;
    cursor: pointer;
}

.mz-wholesale-auth-footer {
    margin: 24px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

[dir="rtl"] .mz-wholesale-auth-back svg {
    transform: scaleX(-1);
}

@media (min-width: 641px) {
    .mz-wholesale-auth-top .mz-wholesale-auth-back {
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .mz-wholesale-auth-top .mz-wholesale-auth-back:hover {
        transform: translateY(calc(-50% - 1px));
    }
}

@media (max-width: 760px) {
    .mz-wholesale-auth-page {
        display: block;
        min-height: 100dvh;
        padding: 24px 14px 30px;
    }

    .mz-wholesale-auth-top {
        min-height: auto;
        gap: 14px;
        margin-bottom: 18px;
        flex-direction: column;
    }

    .mz-wholesale-auth-back:hover {
        transform: translateY(-1px);
    }

    .mz-wholesale-auth-logo img {
        width: 136px;
    }

    .mz-wholesale-auth-card {
        border-radius: 22px;
        padding: 24px 16px 26px;
    }

    .mz-wholesale-auth-heading {
        text-align: start;
    }

    .mz-wholesale-auth-heading .mz-wholesale-kicker {
        margin-inline: 0;
    }
}


/* Phase 18: private catalog cards and quick product request. */
.mz-wholesale-page-head.is-centered {
    justify-content: center;
    text-align: center;
}

.mz-wholesale-kicker.is-soft-gold {
    background: #fff3d6;
    color: #b85827;
    letter-spacing: .08em;
    margin-inline: auto;
}

.mz-wholesale-catalog-grid.is-product-grid {
    max-width: 980px;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mz-wholesale-shop-card {
    overflow: hidden;
    border: 1px solid var(--mz-w-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 38, 50, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mz-wholesale-shop-card:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 87, 146, .24);
    box-shadow: 0 20px 42px rgba(15, 38, 50, .10);
}

.mz-wholesale-shop-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    background: #edf3f4;
    color: #78909a;
    font-size: 34px;
    font-weight: 950;
    text-decoration: none;
}

.mz-wholesale-shop-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mz-wholesale-shop-card-body {
    padding: 16px 16px 18px;
}

.mz-wholesale-shop-card-store {
    color: var(--mz-w-rust);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mz-wholesale-shop-card-title {
    display: -webkit-box;
    min-height: 48px;
    margin-top: 8px;
    overflow: hidden;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.45;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mz-wholesale-shop-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.mz-wholesale-shop-card-metrics span {
    border-radius: 16px;
    background: #f8fafc;
    padding: 11px;
    text-align: center;
}

.mz-wholesale-shop-card-metrics small,
.mz-wholesale-shop-card-price small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.mz-wholesale-shop-card-metrics strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.mz-wholesale-shop-card-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.mz-wholesale-shop-card-price strong {
    display: block;
    margin-top: 3px;
    color: var(--mz-w-navy);
    font-size: 16px;
    font-weight: 950;
}

.mz-wholesale-detail-page {
    max-width: 1260px;
}

.mz-wholesale-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
    gap: 26px;
    align-items: start;
}

.mz-wholesale-detail-gallery,
.mz-wholesale-detail-info,
.mz-wholesale-quick-request {
    border: 1px solid var(--mz-w-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 38, 50, .06);
}

.mz-wholesale-detail-gallery {
    padding: 14px;
}

.mz-wholesale-detail-main-image {
    overflow: hidden;
    border-radius: 20px;
    background: #edf3f4;
    display: flex;
    min-height: 560px;
    align-items: center;
    justify-content: center;
    color: #78909a;
    font-size: 48px;
    font-weight: 950;
}

.mz-wholesale-detail-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 720px;
    object-fit: contain;
}

.mz-wholesale-detail-info {
    padding: 24px;
    position: sticky;
    top: 14px;
}

.mz-wholesale-detail-store {
    margin: 0;
    color: var(--mz-w-rust);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mz-wholesale-detail-title {
    margin: 10px 0 0 !important;
    color: #0f172a !important;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 950;
}

.mz-wholesale-detail-sku {
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.mz-wholesale-detail-description {
    margin: 16px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.mz-wholesale-detail-pricebox {
    margin-top: 18px;
    border: 1px solid #dbe5ea;
    border-radius: 18px;
    background: #f8fafc;
    padding: 16px;
}

.mz-wholesale-detail-pricebox span,
.mz-wholesale-detail-metrics span,
.mz-wholesale-tier-ladder small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.mz-wholesale-detail-pricebox strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.mz-wholesale-detail-pricebox em {
    display: block;
    margin-top: 6px;
    color: var(--mz-w-primary);
    font-size: 22px;
    font-style: normal;
    font-weight: 950;
}

.mz-wholesale-detail-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mz-wholesale-detail-metrics div {
    border-radius: 16px;
    background: #f8fafc;
    padding: 14px;
}

.mz-wholesale-detail-metrics strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.mz-wholesale-tier-ladder {
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
}

.mz-wholesale-tier-ladder h2 {
    margin: 0 0 10px !important;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.mz-wholesale-tier-ladder div {
    display: grid;
    gap: 8px;
}

.mz-wholesale-tier-ladder span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px 12px;
}

.mz-wholesale-tier-ladder strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.mz-wholesale-note {
    margin-top: 14px;
    border-radius: 16px;
    background: #fff7ed;
    padding: 13px 14px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.6;
}

.mz-wholesale-quick-request {
    margin-top: 22px;
    padding: 22px;
}

.mz-wholesale-quick-request-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.mz-wholesale-quick-request-head h2 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.mz-wholesale-quick-request-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.mz-wholesale-quick-request-head > span {
    display: inline-flex;
    border-radius: 999px;
    background: #fff3d6;
    color: #b85827;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.mz-wholesale-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.mz-wholesale-request-row {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr auto;
    gap: 14px;
    align-items: end;
}

.mz-wholesale-estimate {
    border: 1px solid #dbe5ea;
    border-radius: 16px;
    background: #f8fafc;
    padding: 12px 14px;
}

.mz-wholesale-estimate span,
.mz-wholesale-estimate small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.mz-wholesale-estimate strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.mz-wholesale-estimate small {
    margin-top: 4px;
    font-weight: 700;
}

.mz-wholesale-submit-btn {
    min-height: 52px;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

html[dir="rtl"] .mz-wholesale-back {
    direction: rtl;
}

@media (max-width: 1100px) {
    .mz-wholesale-catalog-grid.is-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mz-wholesale-detail-shell {
        grid-template-columns: 1fr;
    }

    .mz-wholesale-detail-info {
        position: static;
    }
}

@media (max-width: 760px) {
    .mz-wholesale-catalog-grid.is-product-grid,
    .mz-wholesale-option-grid,
    .mz-wholesale-request-row {
        grid-template-columns: 1fr;
    }

    .mz-wholesale-detail-main-image {
        min-height: 320px;
    }

    .mz-wholesale-shop-card-bottom,
    .mz-wholesale-quick-request-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mz-wholesale-submit-btn {
        width: 100%;
    }
}


/* MZYA_WHOLESALE_REQUEST_DETAIL_PHASE18B_START */
.mz-wholesale-request-detail-page {
    max-width: 1120px;
}

.mz-wholesale-request-hero,
.mz-wholesale-panel {
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.mz-wholesale-request-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 26px;
}

.mz-wholesale-request-hero h1 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.05;
    font-weight: 950;
}

.mz-wholesale-request-hero p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.55;
}

.mz-wholesale-request-hero span:not(.mz-wholesale-status-badge) {
    display: inline-flex;
    margin-top: 10px;
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.mz-wholesale-kicker {
    color: #b85827 !important;
    font-size: .74rem !important;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 950;
}

.mz-wholesale-status-badge.is-large {
    min-height: 32px;
    padding: 8px 13px;
    white-space: nowrap;
}

.mz-wholesale-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.mz-wholesale-summary-grid article {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: #f8fafc;
    padding: 16px;
}

.mz-wholesale-summary-grid span,
.mz-wholesale-definition-grid dt,
.mz-wholesale-definition-list dt {
    display: block;
    color: #64748b;
    font-size: .76rem;
    font-weight: 900;
}

.mz-wholesale-summary-grid strong,
.mz-wholesale-definition-grid dd,
.mz-wholesale-definition-list dd {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 950;
}

.mz-wholesale-request-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 18px;
    margin-top: 18px;
}

.mz-wholesale-panel {
    margin-top: 18px;
    padding: 22px;
}

.mz-wholesale-request-layout .mz-wholesale-panel {
    margin-top: 0;
}

.mz-wholesale-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.25;
    font-weight: 950;
}

.mz-wholesale-section-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.55;
}

.mz-wholesale-definition-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.mz-wholesale-definition-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mz-wholesale-definition-grid div,
.mz-wholesale-definition-list div {
    border-radius: 16px;
    background: #f8fafc;
    padding: 13px;
}

.mz-wholesale-definition-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.mz-wholesale-definition-grid dd,
.mz-wholesale-definition-list dd {
    margin-left: 0;
}

.mz-wholesale-definition-grid .is-total {
    color: #b85827;
}

.mz-wholesale-mini-table {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 16px;
}

.mz-wholesale-mini-table h3 {
    margin: 0;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    color: #0f172a;
    font-size: .9rem;
    font-weight: 950;
}

.mz-wholesale-mini-table div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.mz-wholesale-mini-table div:last-child {
    border-bottom: 0;
}

.mz-wholesale-mini-table span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 850;
}

.mz-wholesale-mini-table strong {
    color: #0f172a;
    font-size: .9rem;
    font-weight: 950;
}

.mz-wholesale-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mz-wholesale-chip-list span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(44, 87, 146, .18);
    border-radius: 999px;
    background: rgba(44, 87, 146, .06);
    color: #334155;
    padding: 8px 11px;
    font-size: .78rem;
    font-weight: 850;
}


.mz-wholesale-next-step-panel {
    border-color: rgba(44, 87, 146, .22);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mz-wholesale-next-step-content {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.mz-wholesale-next-step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mz-wholesale-note-card.is-action-needed {
    border-color: rgba(228, 162, 36, .35);
    background: #fffaf0;
    color: #92400e;
}

.mz-wholesale-card-stack {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.mz-wholesale-offer-card,
.mz-wholesale-message-card,
.mz-wholesale-muted-card,
.mz-wholesale-note-card {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: #f8fafc;
    padding: 16px;
}

.mz-wholesale-offer-top,
.mz-wholesale-message-card > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mz-wholesale-offer-top strong,
.mz-wholesale-message-card strong {
    color: #0f172a;
    font-size: .95rem;
    font-weight: 950;
}

.mz-wholesale-offer-top span,
.mz-wholesale-message-card span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.mz-wholesale-offer-top em {
    border-radius: 999px;
    background: rgba(44, 87, 146, .1);
    color: #2c5792;
    padding: 7px 10px;
    font-size: .74rem;
    font-style: normal;
    font-weight: 950;
}

.mz-wholesale-note-card {
    margin-top: 12px;
    background: #ffffff;
    color: #475569;
    font-size: .86rem;
    line-height: 1.6;
}

.mz-wholesale-message-card p,
.mz-wholesale-note-card p {
    margin: 8px 0 0;
    color: #475569;
    font-size: .88rem;
    line-height: 1.7;
    white-space: pre-line;
}

.mz-wholesale-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.mz-wholesale-link-strong {
    display: inline-flex;
    margin-top: 13px;
    color: #2c5792;
    font-weight: 950;
}

.mz-wholesale-reply-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.mz-wholesale-reply-form label {
    color: #0f172a;
    font-size: .9rem;
    font-weight: 950;
}

.mz-wholesale-reply-form textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid rgba(148, 163, 184, .55);
    border-radius: 16px;
    padding: 13px;
    color: #0f172a;
    font-size: .9rem;
    outline: none;
}

.mz-wholesale-reply-form textarea:focus {
    border-color: #2c5792;
    box-shadow: 0 0 0 3px rgba(44, 87, 146, .12);
}

.mz-wholesale-error-text {
    color: #dc2626;
    font-size: .82rem;
    font-weight: 850;
}

@media (max-width: 900px) {
    .mz-wholesale-request-layout,
    .mz-wholesale-summary-grid,
    .mz-wholesale-definition-grid,
    .mz-wholesale-definition-grid.is-four {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .mz-wholesale-request-hero {
        flex-direction: column;
        padding: 20px;
    }

    .mz-wholesale-request-layout,
    .mz-wholesale-summary-grid,
    .mz-wholesale-definition-grid,
    .mz-wholesale-definition-grid.is-four {
        grid-template-columns: 1fr;
    }

    .mz-wholesale-panel {
        padding: 18px;
    }
}

html[dir="rtl"] .mz-wholesale-request-hero,
html[dir="rtl"] .mz-wholesale-offer-top,
html[dir="rtl"] .mz-wholesale-message-card > div,
html[dir="rtl"] .mz-wholesale-mini-table div {
    direction: rtl;
}
/* MZYA_WHOLESALE_REQUEST_DETAIL_PHASE18B_END */
/* MZYA_WHOLESALE_ORDER_LIFECYCLE_PHASE19_START */
.mz-wholesale-order-detail-page {
    max-width: 1120px;
}

.mz-wholesale-order-hero,
.mz-wholesale-order-summary-grid article,
.mz-wholesale-order-detail-page .mz-wholesale-panel {
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.mz-wholesale-order-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 26px;
}

.mz-wholesale-order-hero h1 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.05;
    font-weight: 950;
}

.mz-wholesale-order-hero p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.55;
}

.mz-wholesale-order-hero span:not(.mz-wholesale-status-badge) {
    display: inline-flex;
    margin-top: 10px;
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.mz-wholesale-order-status-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.mz-wholesale-order-status-stack small {
    max-width: 320px;
    border-radius: 999px;
    background: #fff7ed;
    color: #92400e;
    padding: 8px 12px;
    font-size: .74rem;
    font-weight: 850;
    line-height: 1.35;
    text-align: end;
}

.mz-wholesale-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.mz-wholesale-order-summary-grid article {
    padding: 16px;
}

.mz-wholesale-order-summary-grid span,
.mz-wholesale-order-source-grid span,
.mz-wholesale-document-card span,
.mz-wholesale-history-card span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    font-weight: 900;
}

.mz-wholesale-order-summary-grid strong,
.mz-wholesale-order-source-grid strong,
.mz-wholesale-document-card strong,
.mz-wholesale-history-card strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 950;
}

.mz-wholesale-order-summary-grid .is-total {
    color: #b85827;
}

.mz-wholesale-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 18px;
    margin-top: 18px;
}

.mz-wholesale-order-source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.mz-wholesale-order-source-grid a,
.mz-wholesale-order-source-grid article {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 16px;
    background: #f8fafc;
    padding: 13px;
    text-decoration: none;
}

.mz-wholesale-document-card,
.mz-wholesale-history-card {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: #f8fafc;
    padding: 16px;
}

.mz-wholesale-document-card > div,
.mz-wholesale-history-card > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mz-wholesale-document-card p,
.mz-wholesale-history-card p {
    margin: 9px 0 0;
    color: #475569;
    font-size: .88rem;
    line-height: 1.65;
}

.mz-wholesale-document-card a {
    display: inline-flex;
    margin-top: 10px;
    color: #2c5792;
    font-size: .86rem;
    font-weight: 950;
}

.mz-wholesale-history-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0;
}

.mz-wholesale-history-card dt {
    color: #64748b;
    font-size: .72rem;
    font-weight: 900;
}

.mz-wholesale-history-card dd {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: .84rem;
    font-weight: 950;
}

.mz-wholesale-order-upload-form {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 16px;
    border: 1px dashed rgba(44, 87, 146, .28);
    border-radius: 18px;
    background: #f8fafc;
    padding: 14px;
}

.mz-wholesale-control {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    padding: 10px 12px;
    font-size: .9rem;
}

@media (max-width: 900px) {
    .mz-wholesale-order-layout,
    .mz-wholesale-order-summary-grid,
    .mz-wholesale-order-source-grid,
    .mz-wholesale-history-card dl,
    .mz-wholesale-order-upload-form {
        grid-template-columns: 1fr;
    }

    .mz-wholesale-order-status-stack {
        align-items: flex-start;
    }

    .mz-wholesale-order-status-stack small {
        text-align: start;
    }
}

@media (max-width: 640px) {
    .mz-wholesale-order-hero {
        flex-direction: column;
        padding: 20px;
    }
}

html[dir="rtl"] .mz-wholesale-order-hero,
html[dir="rtl"] .mz-wholesale-order-source-grid,
html[dir="rtl"] .mz-wholesale-document-card > div,
html[dir="rtl"] .mz-wholesale-history-card > div:first-child {
    direction: rtl;
}
/* MZYA_WHOLESALE_ORDER_LIFECYCLE_PHASE19_END */
