/* =====================================================
   ALMAZ B2B — FINAL ENTERPRISE GRID FIX
   Fully isolated
   Theme-independent
   ===================================================== */


/* ROOT SCOPE */

.alz-b2b-scope {

    width: 100%;
    max-width: 100%;

}


/* FORCE WooCommerce content container to behave */

.woocommerce-account .woocommerce-MyAccount-content {

    width: 100%;
    max-width: 100%;
    float: none;

}


/* HEADER */

.alz-b2b-scope .b2b-header-row {

    display: grid;

    grid-template-columns:
        70px
        minmax(300px, 2fr)
        120px
        120px
        150px
        150px
        140px
        50px;

    gap: 15px;

    align-items: center;

    margin-bottom: 10px;

}


/* ROW */

.alz-b2b-scope .b2b-row {

    margin-bottom: 15px;

}


.alz-b2b-scope .b2b-main-row {

    display: grid;

    grid-template-columns:
        70px
        minmax(300px, 2fr)
        120px
        120px
        150px
        150px
        140px
        50px;

    gap: 15px;

    align-items: center;

}


/* CELLS */

.alz-b2b-scope .b2b-cell {

    display: flex;
    flex-direction: column;
    justify-content: center;

}


/* IMAGE */

.alz-b2b-scope .b2b-main-row img {

    width: 60px;
    height: 60px;
    object-fit: contain;

}


/* INPUT */

.alz-b2b-scope .b2b-main-row input {

    width: 100%;
    box-sizing: border-box;

}


/* SUM */

.alz-b2b-scope .b2b-col-sum {

    text-align: left;
    font-weight: bold;

}


/* REMOVE */

.alz-b2b-scope .b2b-col-remove {

    display: flex;
    justify-content: center;
    align-items: center;

}





/* ACTION BUTTONS */




/* MOBILE */

@media (max-width: 768px) {

    .alz-b2b-scope .b2b-header-row {

        display: none;

    }

    .alz-b2b-scope .b2b-main-row {

        display: flex;
        flex-direction: column;

        gap: 8px;

    }

    .alz-b2b-scope .b2b-cell {

        flex-direction: row;
        justify-content: space-between;

    }

}








/* force header cells */
.alz-b2b-scope .b2b-header-row > .b2b-cell {

    display: block !important;
    width: auto !important;
    float: none !important;

}


/* force row cells */
.alz-b2b-scope .b2b-main-row > .b2b-cell {

    display: block !important;
    width: auto !important;
    float: none !important;

}


/* image alignment */
.alz-b2b-scope .b2b-main-row img {

    width: 60px !important;
    height: 60px !important;
    object-fit: contain;

}



/* =====================================================
   ACCOUNT LAYOUT — ENTERPRISE RESPONSIVE
   ===================================================== */

.alz-account-layout {

    display: grid;

    grid-template-columns: 260px 1fr;

    gap: 30px;

}





/* Tablet */

@media (max-width: 1024px) {

    .alz-account-layout {

        grid-template-columns: 220px 1fr;

    }

}


/* Mobile */

@media (max-width: 768px) {

    .alz-account-layout {

        grid-template-columns: 1fr;

    }

}


/* =====================================================
   ACCOUNT PAGE — FULL WIDTH ENTERPRISE FIX
   ===================================================== */

.woocommerce-account #primary {

    width: 100%;
    max-width: 100%;

    padding-left: 0;
    padding-right: 0;

}

.woocommerce-account #main {

    width: 100%;
    max-width: 100%;

}


/* ======================================================
   WooCommerce Password Reset Message Styling
   ====================================================== */

.woocommerce-account .woocommerce {
    width: 100%;
    max-width: 100%;
}

/* Основной контейнер сообщения */
.woocommerce-account .woocommerce .woocommerce-message {
    background-color: #F3F1F0;
    border: 1px solid #EDEAE8;
    color: #775441;
    font-weight: 600;
    padding: 16px 18px;
    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;

    margin-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 10px;
}

/* Убираем стандартную зелёную полоску Woo */
.woocommerce-account .woocommerce .woocommerce-message::before {
    display: none;
}

/* Текст под сообщением */
.woocommerce-account .woocommerce p {
    color: #775441;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    font-weight: 600;
}

/* Небольшой hover-акцент (если будет ссылка внутри) */
.woocommerce-account .woocommerce a {
    color: #775441;
    font-weight: 600;
    border-bottom: 1px solid #EDEAE8;
}


.woocommerce-account .woocommerce-MyAccount-content {

    width: 100%;
    max-width: 100%;

}





.woocommerce-account #primary {

    padding: 0 !important;

}


/* =====================================================
   CRITICAL GRID SHRINK FIX
   Allows columns to shrink properly
   ===================================================== */

.alz-b2b-scope .b2b-cell {

    min-width: 0;

}

.alz-b2b-scope .b2b-main-row > *,
.alz-b2b-scope .b2b-header-row > * {

    min-width: 0;

}


.alz-b2b-scope input {

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

}



.alz-b2b-scope .b2b-cell {

    overflow-wrap: break-word;
    word-break: break-word;

}



/* desktop: скрыть mobile labels */
@media (min-width: 769px) {

    .alz-b2b-scope .b2b-mini-label {

        display: none;

    }

}




.woocommerce-account .woocommerce-MyAccount-content {

    width: 100%;
    max-width: 100%;

}

.alz-b2b-scope {

    width: 100%;
    max-width: 100%;

}



.b2b-custom-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 12px;

}

.b2b-custom-header {

    margin-bottom: 6px;

}

.b2b-custom-header .b2b-mini-label {

    display: block;

}


.b2b-excel-buttons {

    display: flex;

    gap: 12px;

    align-items: center;

    flex-wrap: wrap;

}



/* =====================================================
   NORMALIZE INPUT HEIGHT
   ===================================================== */

.alz-b2b-scope input[type="number"],
.alz-b2b-scope input[type="text"] {

    height: 42px;
    padding: 4px 8px;

    font-size: 14px;

    border: 1px solid #dcdcdc;
    border-radius: 4px;

}



/* =====================================================
   EXCEL BLOCK — ENTERPRISE CARD
   ===================================================== */

.b2b-excel-standalone {

    margin-top: 10px;

}

.b2b-excel-card {

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 6px;

    padding: 20px;

}

.b2b-excel-title {

    font-size: 16px;
    font-weight: 600;

    margin-bottom: 6px;

}

.b2b-excel-subtitle {

    color: #777;

    margin-bottom: 15px;

}

.b2b-excel-buttons {

    margin-top: 15px;

}


/* =====================================================
   REMOVE BUTTON
   ===================================================== */

.b2b-col-remove a {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 4px;

    text-decoration: none;

    color: #999;

    transition: all 0.2s;

}

.b2b-col-remove a:hover {

    background: #f3f3f3;

    color: #d63638;

}








/* =====================================================
   MAIN ACTION BUTTONS POSITION
   ===================================================== */

.b2b-actions {

    margin-top: 30px;

    display: flex;
    gap: 10px;
    flex-wrap: wrap;

}


/* =====================================================
   DUPLICATE ACTIONS STYLE FIX
   ===================================================== */

.b2b-duplicate-actions {

    display: flex;
    gap: 10px;

}

.b2b-dup-clear,
.b2b-dup-submit {

    background: #fff;
    border: 1px solid #dcdcdc;

    padding: 8px 16px;

    font-size: 14px;

    border-radius: 4px;

    cursor: pointer;

    transition: all 0.15s ease;

}

.b2b-dup-clear:hover,
.b2b-dup-submit:hover {

    background: #f7f7f7;

}



/* =====================================================
   EXCEL BUTTON ALIGN FIX
   ===================================================== */

.b2b-excel-buttons {

    display: flex;

    gap: 12px;

    align-items: center;

}

.b2b-file-label {

    display: flex;
    align-items: center;
    gap: 8px;

}


/* =====================================================
   ENTERPRISE BUTTON STYLE
   ===================================================== */

.b2b-action-btn-main {

    background: #fff;

    border: 1px solid #dcdcdc;

    padding: 8px 16px;

    font-size: 14px;

    border-radius: 4px;

    cursor: pointer;

}

.b2b-action-btn-main:hover {

    background: #f5f5f5;

}


.b2b-col-remove a {

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;

    color: #999;

    text-decoration: none;

}

.b2b-col-remove a:hover {

    background: #f3f3f3;
    color: #cc0000;

}



/* =====================================================
   ACCOUNT NAVIGATION — ENTERPRISE SIDEBAR
   ===================================================== */

.woocommerce-MyAccount-navigation {

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 6px;

    padding: 10px 0;

}

.woocommerce-MyAccount-navigation ul {

    list-style: none;

    margin: 0;
    padding: 0;

}

.woocommerce-MyAccount-navigation li {

    margin: 0;

}

.woocommerce-MyAccount-navigation a {

    display: block;

    padding: 10px 16px;

    text-decoration: none;

    color: #333;

    font-size: 14px;

    transition: all 0.15s ease;

}

.woocommerce-MyAccount-navigation a:hover {

    background: #f5f5f5;

}


.woocommerce-MyAccount-navigation .is-active a {

    background: #f0f0f0;

    font-weight: 600;

}


.alz-account-nav {

    width: 240px;

}

.alz-account-content {

    width: 100%;

}




@media (min-width: 769px) and (max-width: 1024px) {

    .alz-account-nav {

        width: 200px;

    }

}




/* =====================================================
   MOBILE ACCOUNT NAV — VERTICAL
   ===================================================== */

@media (max-width: 768px) {

    .woocommerce-MyAccount-navigation ul {

        display: block;

    }

    .woocommerce-MyAccount-navigation li {

        display: block;

    }

}



/* =====================================================
   REMOVE BULLETS FROM ACCOUNT NAVIGATION
   ===================================================== */

.woocommerce-MyAccount-navigation ul {

    list-style: none;
    padding-left: 0;
    margin-left: 0;

}

.woocommerce-MyAccount-navigation li {

    list-style: none;

}



/* =====================================================
   PRODUCT CARD — CORRECT TARGET
   ===================================================== */

.b2b-request-list .b2b-row {

    margin-bottom: 12px;

}


/* =====================================================
   PRODUCT CARD — CORRECT ENTERPRISE STRUCTURE
   ===================================================== */

.b2b-request-list .b2b-row {

    background: #fafafa;

    border: 1px solid #e5e5e5;

    border-radius: 6px;

    padding: 12px;

    margin-bottom: 12px;

}

/* hover effect */

.b2b-request-list .b2b-row:hover {

    background: #f3f3f3;

}



/* =====================================================
   PRODUCT CARD — CORRECT ENTERPRISE STRUCTURE
   ===================================================== */

.b2b-request-list .b2b-row {

    background: #fafafa;

    border: 1px solid #e5e5e5;

    border-radius: 6px;

    padding: 12px;

    margin-bottom: 12px;

}

/* hover effect */

.b2b-request-list .b2b-row:hover {

    background: #f3f3f3;

}



.b2b-request-list .b2b-main-row {

    padding: 0;

}



/* =====================================================
   EXCEL CARD — FULL WIDTH FIX
   ===================================================== */

.b2b-excel-card {

    width: 100%;

}

.b2b-excel-body {

    width: 100%;

    max-width: 100%;

}


/* =====================================================
   BUTTON ROW — PROPER FLEX LAYOUT
   ===================================================== */

.b2b-excel-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    width: 100%;

}


/* =====================================================
   BUTTON WIDTH — PREVENT TEXT CROPPING
   ===================================================== */

.b2b-excel-buttons .b2b-action-btn-main {

    white-space: nowrap;

    padding: 8px 18px;

}






/* =====================================================
   MOBILE CARD LAYOUT
   ===================================================== */

@media (max-width: 768px) {


    .b2b-header-row {

        display: none;

    }


    .b2b-main-row {

        display: grid;

        grid-template-columns: 70px 1fr;

        grid-template-areas:

            "img name"
            "img price"
            "img qty"
            "img sku"
            "img tnved"
            "img sum"
            "img remove";

        gap: 6px;

        align-items: center;

    }

}



@media (max-width: 768px) {

    .b2b-main-row > div:nth-child(1) {
        grid-area: img;
    }

    .b2b-main-row > div:nth-child(2) {
        grid-area: name;
    }

    .b2b-main-row > div:nth-child(3) {
        grid-area: price;
    }

    .b2b-main-row > div:nth-child(4) {
        grid-area: qty;
    }

    .b2b-main-row > div:nth-child(5) {
        grid-area: sku;
    }

    .b2b-main-row > div:nth-child(6) {
        grid-area: tnved;
    }

    .b2b-col-sum {
        grid-area: sum;
    }

    .b2b-col-remove {
        grid-area: remove;
        justify-self: end;
    }

}


@media (max-width: 768px) {

    .b2b-mini-label {

        display: block;

        font-size: 12px;

        color: #777;

    }

}


@media (max-width: 768px) {

    .b2b-row {

        padding: 10px;

        border-radius: 8px;

        background: #fafafa;

    }

}


@media (max-width: 768px) {

    .b2b-main-row img {

        width: 60px;
        height: auto;

    }

}



/* =====================================================
   MOBILE — HIDE TABLE HEADER
   ===================================================== */

@media (max-width: 768px) {

    .b2b-header-row {

        display: none !important;

    }

}



/* =====================================================
   MOBILE CARD IMAGE TOP
   ===================================================== */

@media (max-width: 768px) {

    .b2b-main-row {

        grid-template-columns: 1fr;

        grid-template-areas:

            "img"
            "name"
            "price"
            "qty"
            "sku"
            "tnved"
            "sum";

    }

    .b2b-main-row img {

        width: 100px;
        margin-bottom: 8px;

    }

}



@media (max-width: 768px) {

    .b2b-col-sum::before {

        content: "Сумма: ";

        font-weight: 500;

        color: #777;

    }

}


/* =====================================================
   MOBILE ACCOUNT NAV FULL WIDTH FIX
   ===================================================== */

@media (max-width: 768px) {

    .alz-account-layout {

        display: block;

    }

    .alz-account-nav {

        width: 100% !important;

        margin-bottom: 20px;

    }

    .alz-account-content {

        width: 100%;

    }

}



/* =====================================================
   FORCE FULL WIDTH ACCOUNT NAV ON MOBILE
   ===================================================== */

@media (max-width: 768px) {


    .alz-account-layout {
        display: block;
        width: 100%;
    }


    .alz-account-nav {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 0;
        padding-right: 0;
    }

    /* WooCommerce container full width */
    .woocommerce-account .woocommerce {
        padding-left: 0;
        padding-right: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        max-width: 100%;
    }

    /* critical: remove theme content padding */
    .woocommerce-account .entry-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* critical: remove content-area padding */
    .woocommerce-account #primary {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}


/* =====================================================
   MOBILE — RESET DESKTOP GRID COMPLETELY
   ===================================================== */

@media (max-width: 768px) {

    .b2b-main-row {

        display: block !important;

        width: 100% !important;

    }

    .b2b-main-row > div {

        width: 100%;

    }

}

@media (max-width: 768px) {

    .b2b-row {

        width: 100%;

        padding: 12px;

        box-sizing: border-box;

    }

    .b2b-main-row img {

        display: block;

        margin: 0 auto 10px auto;

        width: 100px;

    }

}


@media (min-width: 769px) {

    .b2b-main-row {

        display: grid;

        grid-template-columns: 80px 1fr 120px 120px 140px 140px 120px 40px;

    }

}


/* =====================================================
   MOBILE — FORCE CARD LAYOUT (HARD OVERRIDE)
   ===================================================== */

@media (max-width: 768px) {


    .alz-b2b-scope .b2b-main-row {

        display: flex !important;
        flex-direction: column !important;

        grid-template-columns: none !important;
        grid-template-areas: none !important;

        width: 100% !important;
        min-width: 0 !important;

    }


    .alz-b2b-scope .b2b-main-row > div {

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

    }


    .alz-b2b-scope .b2b-row {

        width: 100% !important;

        box-sizing: border-box;

        overflow: hidden !important;

    }


    .alz-b2b-scope .b2b-request-list {

        overflow-x: hidden !important;

    }

}


/* =====================================================
   MOBILE — BIGGER PRODUCT IMAGE
   ===================================================== */

@media (max-width: 768px) {

    .b2b-main-row img {

        width: 140px !important;
		

        height: 140px;

        margin-bottom: 10px;

    }

}


/* =====================================================
   MOBILE — SUM LEFT ALIGN
   ===================================================== */

@media (max-width: 768px) {

 .b2b-col-sum {

        text-align: left !important;

        margin-top: 6px;

    }

}


@media (max-width: 768px) {

    .b2b-row {

        position: relative !important;

    }

    .b2b-row .b2b-col-remove {

        position: absolute !important;

        top: 12px !important;
        right: 12px !important;

        left: auto !important;
        bottom: auto !important;

        width: auto;
        height: auto;

    }

}


@media (max-width: 768px) {

    .b2b-comment-row {

        margin-left: 0 !important;

        margin-top: 10px !important;

        width: 100% !important;

    }

    .b2b-comment-row textarea {

        width: 100% !important;

        box-sizing: border-box !important;

    }

}


@media (max-width: 768px) {

    .b2b-main-row img {

        width: 140px !important;

        height: auto !important;

        max-width: none !important;

        display: block !important;

        margin-bottom: 10px !important;

    }

}


/* =====================================================
   MOBILE — ADD PRODUCT FORM LAYOUT
   ===================================================== */

@media (max-width: 768px) {


    .b2b-custom-grid {

        display: block !important;

    }


    .b2b-custom-header {

        display: none !important;

    }


    .b2b-custom-grid input {

        display: block;

        width: 100% !important;

        box-sizing: border-box;

        margin-bottom: 14px;

        font-size: 16px;

        padding: 10px 12px;

    }

    /* textarea */
    .b2b-custom-comment-wrap textarea {

        width: 100% !important;

        box-sizing: border-box;

        min-height: 90px;

        padding: 10px 12px;

        font-size: 16px;

    }

}


/* =====================================================
   MOBILE — SHOW LABELS ABOVE INPUTS
   ===================================================== */

@media (max-width: 768px) {

    .b2b-custom-header {

        display: block !important;

        margin-bottom: 5px;

    }

    .b2b-custom-header .b2b-mini-label {

        display: block;

        font-size: 13px;

        color: #666;

        margin-top: 12px;

        margin-bottom: 4px;

    }

}


/* =====================================================
   MOBILE — FORM SIDE PADDING
   ===================================================== */

@media (max-width: 768px) {

    .b2b-custom-header,
    .b2b-custom-grid,
    .b2b-custom-comment-wrap {

        padding-left: 16px;
        padding-right: 16px;

    }

}


@media (max-width: 768px) {

    .b2b-custom-grid input {

        width: 100% !important;

        box-sizing: border-box;

        padding: 12px;

        font-size: 16px;

        margin-bottom: 8px;

    }

    .b2b-custom-comment-wrap textarea {

        width: 100% !important;

        box-sizing: border-box;

        padding: 12px;

        font-size: 16px;

    }

}


@media (max-width: 768px) {

    .b2b-custom-header {

        display: none !important;

    }

}


.b2b-mobile-label {
    display: none;
}

@media (max-width: 768px) {

    .b2b-mobile-label {

        display: block;

        font-size: 13px;
        color: #666;

        margin-bottom: 4px;

    }

}


/* =====================================================
   MOBILE — CENTER ACTION BUTTONS
   ===================================================== */

@media (max-width: 768px) {

    .b2b-actions {

        justify-content: center !important;

        align-items: center;

        flex-direction: column;

        gap: 10px;

    }

}



/* =====================================================
   FORCE NAME COLUMN TO NORMAL WIDTH (NO SPAN EVER)
   ===================================================== */

.b2b-main-row .b2b-cell:has(.b2b-custom-name) {

    grid-column: auto !important;

    grid-column-start: auto !important;

    grid-column-end: auto !important;

}


/* =====================================================
   MOBILE — SIDE PADDING FOR TOTAL AND DUPLICATE ACTIONS
   ===================================================== */

@media (max-width: 768px) {

    .b2b-total,
    .b2b-duplicate-actions {

        padding-left: 16px;
        padding-right: 16px;

        box-sizing: border-box;

    }

}


/* =====================================================
   MOBILE — DUPLICATE ACTIONS IN ONE ROW
   ===================================================== */

@media (max-width: 768px) {

    .b2b-duplicate-actions {

        display: flex;

        flex-direction: row !important;

        justify-content: space-between;

        align-items: center;

        gap: 12px;
			padding: 10px;

        flex-wrap: nowrap;

    }

    .b2b-duplicate-actions button {

        white-space: nowrap;

        flex-shrink: 0;
	

    }

}


/* =====================================================
   MOBILE — HIDE SKU LABEL IN MANUAL ADD FORM
   ===================================================== */

@media (max-width: 768px) {

    .b2b-custom-grid .b2b-field:has(input[name="custom_sku"]) .b2b-mobile-label {

        display: none;

    }

}






/* =====================================================
   TABLET — FORCE ACCOUNT LAYOUT TO VERTICAL STACK
   диапазон: 768px – 1200px
===================================================== */

@media (min-width: 768px) and (max-width: 1200px) {


    .woocommerce {

        display: block !important;

    }

    /* navigation  */
    .woocommerce-MyAccount-navigation,
    .alz-account-nav {

        float: none !important;

        width: 100% !important;

        display: block !important;

        margin-bottom: 20px;

    }


    .woocommerce-MyAccount-content {

        float: none !important;

        width: 100% !important;

        display: block !important;

        clear: both !important;

    }

}


/* =====================================================
   TABLET — ACCOUNT LAYOUT SINGLE COLUMN
   ===================================================== */

@media (min-width: 768px) and (max-width: 1200px) {

    .alz-account-layout {

        grid-template-columns: 1fr !important;

    }

}


/* =====================================================
   TABLET — PAGE SIDE PADDING
   Range: 768px – 1368px
   820x1180
   1024x1366
   912x1368
   853x1280
   1024x600
   1280x800
===================================================== */

@media (min-width: 768px) and (max-width: 1368px) {

    .alz-account-layout {

        padding-left: 5px;
        padding-right: 5px;

        box-sizing: border-box;

    }

}


/* =====================================================
   TABLET — HARD GRID COMPRESSION (GUARANTEED FIT)
   ===================================================== */

@media (min-width: 768px) and (max-width: 1368px) {

    .b2b-header-row,
    .b2b-main-row {

        grid-template-columns:
            42px          /* image */
            minmax(120px,1fr) /* name */
            65px          /* price */
            55px          /* qty */
            80px          /* sku */
            80px          /* tnved */
            65px          /* sum */
            22px;         /* remove */

        gap: 6px;

    }

 
    .b2b-main-row img {

        max-width: 42px;

    }

 
    .b2b-main-row input {

        padding: 3px 4px;

        font-size: 13px;

    }

 
    .b2b-main-row {

        font-size: 13px;

    }

    .b2b-mini-label {

        font-size: 10px;

    }

}


/* =====================================================
   TABLET — COMPRESS MANUAL ADD FORM GRID
   ===================================================== */

@media (min-width: 768px) and (max-width: 1368px) {

    .b2b-custom-grid {

        grid-template-columns:
            minmax(180px,2fr)  
            90px               
            70px               
            70px               
            70px;             

        gap: 5px;

    }

    /* inputs  */
    .b2b-custom-grid input {

        padding: 5px;

        font-size: 13px;

    }

    /* labels  */
    .b2b-custom-header .b2b-mini-label {

        font-size: 12px;

    }

}


/* =====================================================
   SMALL TABLET — HARD COMPRESS MANUAL FORM GRID
   820px  853px
   ===================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    .b2b-custom-grid {

        grid-template-columns:
            minmax(140px,2fr)  /* название */
            75px               /* цена */
            55px               /* qty */
            75px               /* sku */
            75px;              /* tnved */

        gap: 8px;

    }

    .b2b-custom-grid input {

        

        font-size: 13px;

    }

    .b2b-custom-header .b2b-mini-label {

        font-size: 11px;

    }

}


/* =====================================================
   TABLET — MANUAL FORM GRID COMPACT MODE
   820px
   ===================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    .b2b-custom-grid {

        grid-template-columns:
 minmax(90px,1fr)
minmax(50px,1fr)
minmax(50px,1fr)
minmax(50px,1fr)
minmax(50px,1fr);

        gap: 4px;

    }

    .b2b-custom-grid input {

        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 13px;

    }

    .b2b-custom-grid .b2b-mobile-label {

        font-size: 11px;

    }

}



/* =====================================================
   MOBILE — FORCE SHOW SKU LABEL
   ===================================================== */

@media (max-width: 768px) {

    .b2b-field label.b2b-mobile-label {

        display: block !important;

        visibility: visible !important;

        opacity: 1 !important;

    }

}




/* Change password adaptive */
/* =====================================================
   PASSWORD CHANGE FORM — ENTERPRISE CARD
   ===================================================== */

/* =====================================================
   ALMAZI ACCOUNT — FULL ENTERPRISE CSS (PASSWORD FORM)
   ===================================================== */

.alz-password-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 26px;
    margin-top: 18px;
    max-width: 440px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.alz-form-field { margin-bottom: 18px; }

.alz-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.alz-password-input-wrap { position: relative; }

.alz-password-input-wrap input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 12px !important;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.alz-password-toggle {
    position: absolute;
    right: 10px;
    top: 30%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.alz-password-toggle i {
    font-size: 15px;
    color: #775441;
}

.alz-btn-primary {
    width: 100%;
    height: 44px;
    background: #ffffff;
    color: #775441;
    border: 1px solid #d6c3b5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.alz-form-result {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
}







