/* ==========================================================================
   METALL-RM FULL SHOPPING CART, B2B/B2C CHECKOUT, HEADER & MOBILE SYSTEM
   Matches Citrus Aproduction3 red (#e31e24) & dark (#0f172a) theme
   ========================================================================== */

/* 0. Header Right Area, Top Menu, Search, Burger & Mobile Phone Fixes */
.b-h__inn {
    position: relative !important;
    align-items: center !important;
}
.b-h__item_left {
    display: flex !important;
    align-items: center !important;
    min-width: 0;
}
.b-h__item_right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}
.b-h__menuTop {
    order: 1;
    margin-right: 8px;
}
@media (min-width: 1280px) {
    .b-h__item_left {
        flex-grow: 0 !important;
        width: auto !important;
    }
    .b-h__menuTop {
        display: block !important;
    }
    .b-h__logo {
        max-width: 270px !important;
        min-width: 0 !important;
        margin-right: 14px !important;
    }
    .b-logo__iconWrap {
        width: 52px !important;
        height: 52px !important;
    }
    .b-logo__infoWrap {
        min-width: 0 !important;
        max-width: 195px !important;
        margin-left: 10px !important;
    }
    .b-logo__name {
        font-size: 21px !important;
    }
    .b-logo__desc {
        font-size: 11px !important;
    }
    .b-h__callNum {
        font-size: 15px !important;
        white-space: nowrap !important;
    }
    .b-menuTop__item:not(:last-child) {
        margin-right: 0 !important;
    }
    .b-menuTop__link_lev1 {
        font-size: 14px !important;
        padding: 0 10px !important;
        white-space: nowrap;
    }
    .b-menuTop__icon {
        font-size: 16px !important;
        margin-left: 4px !important;
    }
}
@media (min-width: 1700px) {
    .b-h__logo {
        max-width: 430px !important;
        margin-right: 2rem !important;
    }
    .b-logo__iconWrap {
        width: 68px !important;
        height: 68px !important;
    }
    .b-logo__infoWrap {
        max-width: 330px !important;
        margin-left: 1.25rem !important;
    }
    .b-logo__name {
        font-size: 28px !important;
    }
    .b-logo__desc {
        font-size: 13px !important;
    }
    .b-h__callNum {
        font-size: 18px !important;
    }
    .b-menuTop__link_lev1 {
        font-size: 15px !important;
        padding: 0 18px !important;
    }
}

.b-h__phone {
    order: 2;
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    z-index: 25 !important;
}
.b-h__phone:hover,
.b-h__phone.b-h__phone_active {
    border-color: #e31e24 !important;
    background: #fff5f5 !important;
}
.b-h__phone_active .b-h__phoneClose {
    top: 13px !important;
    left: 10px !important;
}
.b-h__phone_active .b-h__phoneClose:after {
    top: 10px !important;
    left: 0 !important;
}
@media (min-width: 768px) {
    .b-h__phone {
        display: none !important;
    }
}

/* 1. Header Cart Button */
.mrm-header-cart {
    order: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 15px 6px 10px;
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    transition: all 0.2s ease;
    margin: 0 !important;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 25;
}
.mrm-header-cart:hover {
    border-color: #e31e24;
    background: #fff5f5;
    color: #e31e24 !important;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.12);
}
.mrm-header-cart__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e31e24;
    color: #ffffff;
    flex-shrink: 0;
}
.mrm-header-cart__icon {
    width: 17px;
    height: 17px;
}
.mrm-header-cart__badge {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    background: #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}
.mrm-header-cart__info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.mrm-header-cart__label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.mrm-header-cart__sum {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* Search & Burger Buttons in Header */
.b-h__search.b-search_header {
    order: 4;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 35 !important;
}
.b-h__search.b-search_header .b-search__btnLink {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.b-h__search.b-search_header .b-search__btnLink:hover,
.b-h__search.b-search_header.b-search_opened .b-search__btnLink {
    border-color: #e31e24 !important;
    background: #fff5f5 !important;
}
.b-h__search.b-search_header.b-search_opened .b-search__btnIcon {
    color: #e31e24 !important;
}
.b-h__search.b-search_header:not(.b-search_opened) .b-search__form {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.b-h__search.b-search_header.b-search_opened .b-search__form {
    display: flex !important;
    align-items: center !important;
    position: absolute !important;
    right: 52px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: min(540px, calc(100vw - 140px)) !important;
    padding: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #ffffff !important;
    border-radius: 100px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), -16px 0 24px #ffffff !important;
    z-index: 60 !important;
}
.b-h__search.b-search_header.b-search_opened .b-search__input {
    width: 100% !important;
    max-width: none !important;
    height: 44px !important;
    padding: 0 48px 0 18px !important;
    border: 2px solid #e31e24 !important;
    border-radius: 100px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
}
.b-h__search.b-search_header.b-search_opened .b-search__btn {
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #e31e24 !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 16px !important;
}
.b-h__search.b-search_header.b-search_opened .b-search__btn .icon-search {
    color: #ffffff !important;
}

.b-h__burger {
    order: 5;
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    z-index: 30 !important;
    transition: all 0.2s ease !important;
}
.b-h__burger:hover,
.b-h__burger.b-h__burger_active {
    border-color: #e31e24 !important;
    background: #fff5f5 !important;
}
.b-h__burger .b-h__burgerIcon {
    top: 14px !important;
    left: 12px !important;
    width: 18px !important;
}
.b-h__burger .b-h__burgerIcon:before,
.b-h__burger .b-h__burgerIcon:after {
    width: 18px !important;
}
.b-h__burger.b-h__burger_active .b-h__burgerIcon {
    top: 15px !important;
    left: 12px !important;
}

/* Float Menu (Desktop Burger Dropdown) */
.b-h__menuFloat {
    z-index: 55 !important;
}
._menu .b-h__menuFloat {
    display: block !important;
}
@media (max-width: 1023px) {
    ._menu .b-h__menuFloat {
        display: none !important;
    }
}
.b-menuFloat {
    max-width: 100vw;
    overflow-x: auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16) !important;
}

/* Modal Popup Overlay for [data-toggle="modal"] */
.mrm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: mrmModalFadeIn 0.2s ease;
}
@keyframes mrmModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mrm-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    overflow: hidden;
}
.mrm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.15s;
}
.mrm-modal-close:hover {
    background: #fee2e2;
    color: #e31e24;
    border-color: #fecaca;
}

/* 2. Floating Bottom-Left Cart Pill (hidden when on /cart/ page) */
.mrm-floating-cart {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px 10px 14px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.35);
    transition: all 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.12);
}
.mrm-floating-cart:hover {
    transform: translateY(-2px);
    background: #0f172a;
    box-shadow: 0 12px 30px rgba(227, 30, 36, 0.35);
    border-color: #e31e24;
}
.mrm-floating-cart.is-empty,
.mrm-floating-cart.is-on-cart-page,
body.is-on-cart-page .floating-button {
    display: none !important;
}
.mrm-floating-cart__circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e31e24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.mrm-floating-cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ffffff;
    color: #e31e24;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.mrm-floating-cart__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.mrm-floating-cart__title {
    font-size: 11px;
    color: #94a3b8;
}
.mrm-floating-cart__total {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

/* 3. Product Card & Table Action Controls */
.mrm-card-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 5;
}
.b-productCard_table .mrm-card-cart {
    margin-top: 6px;
    justify-content: flex-start;
}
.b-productCard_table .b-productCard__priceWrap {
    width: 240px !important;
    min-width: 220px !important;
    height: auto !important;
    min-height: 100px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.b-productCard_table .b-productCard__priceCaption {
    width: 240px !important;
    min-width: 220px !important;
}

.mrm-qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    height: 36px;
    flex-shrink: 0;
}
.mrm-qty-btn {
    width: 28px;
    height: 100%;
    border: none;
    background: #f1f5f9;
    color: #334155;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
    line-height: 1;
}
.mrm-qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.mrm-qty-input {
    width: 44px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    padding: 0 2px;
    -moz-appearance: textfield;
}
.mrm-qty-input::-webkit-outer-spin-button,
.mrm-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mrm-add-btn,
.mrm-detail-CartBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    border: none;
    background: #e31e24;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none !important;
    flex-grow: 1;
    max-width: 155px;
}
.mrm-add-btn:hover,
.mrm-detail-CartBtn:hover {
    background: #c8191f;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.28);
}
.mrm-add-btn.in-cart,
.mrm-detail-CartBtn.in-cart {
    background: #16a34a;
}
.mrm-add-btn.in-cart:hover,
.mrm-detail-CartBtn.in-cart:hover {
    background: #15803d;
}
.mrm-add-btn svg,
.mrm-detail-CartBtn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.b-productCard .b-productCard__more.product-list__more {
    display: none !important;
}

/* 4. Product Detail Page Cart Block */
.mrm-detail-cart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}
.mrm-detail-cart__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mrm-detail-cart .mrm-qty-box {
    height: 46px;
    border-width: 1.5px;
}
.mrm-detail-cart .mrm-qty-btn {
    width: 38px;
    font-size: 18px;
}
.mrm-detail-cart .mrm-qty-input {
    width: 58px;
    font-size: 15px;
}
.mrm-detail-cart .mrm-add-btn,
.mrm-detail-cart .mrm-detail-CartBtn {
    height: 46px;
    padding: 0 26px;
    font-size: 14px;
    max-width: none;
    flex-grow: 1;
}
.mrm-detail-cart__calc {
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mrm-detail-cart__calc strong {
    color: #0f172a;
    font-size: 15px;
}

/* 5. Toast Notification Popup */
.mrm-toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 32px);
    pointer-events: none;
}
.mrm-toast {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    border-left: 5px solid #16a34a;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: mrmToastIn 0.25s ease forwards;
}
@keyframes mrmToastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.mrm-toast__top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mrm-toast__img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 2px;
    background: #fff;
    flex-shrink: 0;
}
.mrm-toast__body {
    flex: 1;
    min-width: 0;
}
.mrm-toast__badge {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mrm-toast__title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mrm-toast__meta {
    font-size: 12px;
    color: #64748b;
}
.mrm-toast__actions {
    display: flex;
    gap: 8px;
}
.mrm-toast__btn {
    flex: 1;
    text-align: center;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
}
.mrm-toast__btn_primary {
    background: #e31e24;
    color: #ffffff !important;
}
.mrm-toast__btn_secondary {
    background: #f1f5f9;
    color: #334155 !important;
}

/* ==========================================================================
   6. ENTERPRISE B2B/B2C CART & CHECKOUT SYSTEM (/cart/)
   ========================================================================== */
.mrm-cart-wrap {
    padding: 8px 0 60px;
}

/* Empty State */
.mrm-empty-state {
    text-align: center;
    padding: 48px 24px !important;
}
.mrm-empty-state__icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fef2f2;
    color: #e31e24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.mrm-empty-state__title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.mrm-empty-state__desc {
    color: #64748b;
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

/* Discount Progress Dashboard */
.mrm-discount-dashboard {
    margin-bottom: 22px;
}
.mrm-discount-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border: 1.5px solid #fecaca;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.06);
}
.mrm-discount-banner__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.mrm-discount-banner__text {
    font-size: 15px;
    color: #0f172a;
    line-height: 1.4;
}
.mrm-discount-tiers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mrm-discount-tier {
    padding: 5px 12px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.mrm-discount-tier.is-active {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
.mrm-discount-progress {
    width: 100%;
    height: 9px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.mrm-discount-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #e31e24 0%, #16a34a 100%);
    border-radius: 6px;
    transition: width 0.35s ease;
}
.mrm-discount-banner__sub {
    font-size: 12.5px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main 2-Column Checkout Grid */
.mrm-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 1140px) {
    .mrm-checkout-grid {
        grid-template-columns: 1fr;
    }
}

.mrm-cart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    margin-bottom: 22px;
    overflow: visible;
}
.mrm-cart-card__header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}
.mrm-step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e31e24;
    background: #fef2f2;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.mrm-cart-card__title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mrm-title-counter {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
}
.mrm-cart-card__body {
    padding: 20px 24px 24px;
}

/* Toolbar Buttons */
.mrm-cart-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.mrm-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s;
}
.mrm-toolbar-btn:hover {
    border-color: #0f172a;
    background: #f1f5f9;
}
.mrm-toolbar-btn--danger {
    color: #64748b;
    border-color: #e2e8f0;
}
.mrm-toolbar-btn--danger:hover {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

/* Quick Catalog Search Inside Cart */
.mrm-quick-search-box--inline {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.mrm-quick-search__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.mrm-quick-search__input-wrap {
    position: relative;
}
.mrm-quick-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}
.js-mrm-quick-search {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.js-mrm-quick-search:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}
.mrm-quick-search__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    z-index: 90;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
}
.mrm-quick-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.mrm-quick-result:last-child {
    border-bottom: none;
}
.mrm-quick-result:hover {
    background: #f8fafc;
}
.mrm-quick-result__info {
    min-width: 0;
    flex: 1;
}
.mrm-quick-result__name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.mrm-quick-result__meta {
    font-size: 12px;
    color: #64748b;
}
.mrm-quick-result__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mrm-quick-result__price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}
.mrm-quick-result__btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    background: #e31e24;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.mrm-quick-result__btn:hover {
    background: #c8191f;
}

.mrm-quick-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}
.js-mrm-search-chip {
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.js-mrm-search-chip:hover {
    border-color: #e31e24;
    color: #e31e24;
    background: #fff5f5;
}

/* Specification Metrics Bar */
.mrm-spec-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px 24px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px;
}
.mrm-spec-metric {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.mrm-spec-metric__label {
    color: #64748b;
}
.mrm-spec-metric__val {
    color: #0f172a;
    font-weight: 700;
}

/* Cart Specification Items */
.mrm-spec-item {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.15s;
}
.mrm-spec-item:last-child {
    border-bottom: none;
}
.mrm-spec-item__main {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto auto 32px;
    gap: 16px;
    align-items: center;
}
.mrm-spec-item__img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    background: #ffffff;
}
.mrm-spec-item__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.35;
    display: inline-block;
    margin-bottom: 4px;
}
.mrm-spec-item__title:hover {
    color: #e31e24;
}
.mrm-spec-item__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
}
.mrm-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 600;
}
.mrm-spec-badge--stock {
    background: #dcfce7;
    color: #15803d;
}
.mrm-spec-badge--geom {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Item Qty & Unit Presets Column */
.mrm-spec-item__qty-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.mrm-spec-item__equiv {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px dashed #cbd5e1;
    white-space: nowrap;
}
.mrm-unit-presets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.mrm-unit-preset-btn {
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.mrm-unit-preset-btn:hover {
    border-color: #e31e24;
    color: #e31e24;
    background: #fff5f5;
}

/* Item Price & Sum Column */
.mrm-spec-item__sum-col {
    text-align: right;
    min-width: 115px;
}
.mrm-spec-item__sum {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}
.mrm-spec-item__unit-price {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}
.mrm-spec-item__weight {
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
}
.mrm-spec-item__remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.mrm-spec-item__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Per-Item Cutting Sub-bar */
.mrm-spec-item__footer {
    margin-top: 10px;
    padding-left: 84px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mrm-cut-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed #94a3b8;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.mrm-cut-toggle-btn:hover,
.mrm-cut-toggle-btn.has-cut {
    border-style: solid;
    border-color: #e31e24;
    background: #fff5f5;
    color: #e31e24;
}
.mrm-cut-inline-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 240px;
}
.mrm-cut-inline-input {
    flex: 1;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12.5px;
    color: #0f172a;
}
.mrm-cut-inline-input:focus {
    outline: none;
    border-color: #e31e24;
}

/* Choice Cards (Cutting & Payment) */
.mrm-option-grid {
    display: grid;
    gap: 12px;
}
.mrm-option-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .mrm-option-grid--3 {
        grid-template-columns: 1fr;
    }
}
.mrm-choice-card {
    position: relative;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mrm-choice-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mrm-choice-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.mrm-choice-card.is-selected {
    border-color: #e31e24;
    background: #fff5f5;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.08);
}
.mrm-choice-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.mrm-choice-card__title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.mrm-choice-card__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}
.mrm-choice-card__badge--free {
    background: #dcfce7;
    color: #15803d;
}
.mrm-choice-card__desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Delivery Tabs (Pickup vs Delivery) */
.mrm-delivery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
@media (max-width: 767px) {
    .mrm-delivery-tabs {
        grid-template-columns: 1fr;
    }
}
.mrm-delivery-tab {
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s;
}
.mrm-delivery-tab input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.mrm-delivery-tab__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mrm-delivery-tab.is-selected {
    border-color: #e31e24;
    background: #fff5f5;
}
.mrm-delivery-tab.is-selected .mrm-delivery-tab__icon {
    background: #e31e24;
    color: #ffffff;
}
.mrm-delivery-tab__title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}
.mrm-delivery-tab__sub {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.35;
}

/* Dimension Alert Box */
.mrm-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px;
}
.mrm-alert-box--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.mrm-alert-box svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #d97706;
}

/* Warehouse Box */
.mrm-warehouse-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.mrm-warehouse-box__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.mrm-warehouse-box__title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.mrm-warehouse-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #475569;
}
.mrm-warehouse-box__date {
    min-width: 250px;
    flex: 1;
    max-width: 320px;
}
.mrm-warehouse-box__date label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}
.mrm-warehouse-box__date input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    background: #ffffff;
}

/* Delivery Zone & Vehicle Selector */
.mrm-sublabel {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.mrm-zone-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mrm-zone-pill {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.mrm-zone-pill input {
    display: none;
}
.mrm-zone-pill.is-selected {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

.mrm-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 900px) {
    .mrm-vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .mrm-vehicle-grid {
        grid-template-columns: 1fr;
    }
}
.mrm-vehicle-card {
    position: relative;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s;
}
.mrm-vehicle-card input {
    display: none;
}
.mrm-vehicle-card.is-selected {
    border-color: #e31e24;
    background: #fff5f5;
}
.mrm-vehicle-card__rec {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: #16a34a;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.mrm-vehicle-card__title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}
.mrm-vehicle-card__specs {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 6px;
}
.mrm-vehicle-card__price {
    font-size: 13px;
    font-weight: 800;
    color: #e31e24;
}

/* Person Type Tabs (B2C vs B2B) */
.mrm-person-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
@media (max-width: 640px) {
    .mrm-person-tabs {
        grid-template-columns: 1fr;
    }
}
.mrm-person-tab {
    text-align: left;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.18s;
}
.mrm-person-tab.is-active {
    border-color: #e31e24;
    background: #fff5f5;
}
.mrm-person-tab__title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}
.mrm-person-tab__sub {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

/* B2B Company Requisites Box */
.mrm-b2b-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}
.mrm-b2b-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: #0f172a;
}
.mrm-b2b-box__head span {
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Form Grids & Inputs */
.mrm-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.mrm-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 820px) {
    .mrm-form-row-2,
    .mrm-form-row-3 {
        grid-template-columns: 1fr;
    }
}
.mrm-field {
    margin-bottom: 12px;
}
.mrm-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}
.mrm-field input,
.mrm-field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.15s;
}
.mrm-field input:focus,
.mrm-field textarea:focus {
    outline: none;
    border-color: #e31e24;
}

.mrm-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    margin-top: 6px;
}
.mrm-checkbox-row input {
    width: 17px;
    height: 17px;
    accent-color: #e31e24;
}

/* Right Column Sticky Dossier */
.mrm-sticky-dossier {
    position: sticky;
    top: 96px;
    padding: 22px;
    border-width: 1.5px;
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.mrm-sticky-dossier__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.mrm-sticky-dossier__head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.mrm-sticky-dossier__stock {
    font-size: 11.5px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 3px 9px;
    border-radius: 20px;
}

.mrm-summary-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}
.mrm-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 8px;
}
.mrm-summary-row strong {
    color: #0f172a;
    text-align: right;
}
.mrm-summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
}
.mrm-summary-row.is-discount {
    color: #16a34a;
    font-weight: 700;
}
.mrm-summary-row.is-total {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    border-top: 1.5px solid #cbd5e1;
    padding-top: 12px;
    margin-top: 10px;
    margin-bottom: 4px;
    white-space: nowrap;
}
.mrm-summary-row.is-vat {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}

.mrm-error-banner {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mrm-submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #e31e24;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.28);
    margin-bottom: 10px;
}
.mrm-submit-btn:hover {
    background: #c8191f;
    transform: translateY(-1px);
}
.mrm-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mrm-secondary-btn {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 16px;
}
.mrm-secondary-btn:hover {
    border-color: #0f172a;
    background: #f8fafc;
}

/* Express 1-Click Order Box in Sidebar */
.mrm-oneclick-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
}
.mrm-oneclick-box__title {
    font-size: 13.5px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 4px;
}
.mrm-oneclick-box__desc {
    font-size: 12px;
    color: #78350f;
    line-height: 1.35;
    margin: 0 0 10px;
}
.mrm-oneclick-box__form {
    display: flex;
    gap: 6px;
}
.mrm-oneclick-box__form input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid #fcd34d;
    border-radius: 6px;
    font-size: 13px;
    background: #ffffff;
}
.mrm-oneclick-box__form button {
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.mrm-oneclick-box__form button:hover {
    background: #e31e24;
}

.mrm-guarantees-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.mrm-guarantee-item {
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.35;
}
.mrm-guarantee-item span {
    color: #16a34a;
    font-weight: 800;
}
.mrm-legal-note {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
}
.mrm-legal-note a {
    color: #64748b;
    text-decoration: underline;
}

.mrm-print-only {
    display: none;
}

/* ==========================================================================
   7. COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Compact Mobile Header */
    .b-h__item_left {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .b-logo {
        display: flex !important;
        align-items: center !important;
        min-width: 0;
    }
    .b-logo__iconWrap {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }
    .b-logo__infoWrap {
        margin-left: 8px !important;
        min-width: 0;
    }
    .b-logo__name {
        font-size: 16px !important;
        line-height: 1.15 !important;
        white-space: nowrap;
    }
    .b-h__item_right {
        gap: 6px !important;
    }
    .b-h__phone,
    .b-h__search.b-search_header,
    .b-h__search.b-search_header .b-search__btnLink,
    .b-h__burger {
        width: 38px !important;
        height: 38px !important;
    }
    .b-h__burger .b-h__burgerIcon {
        top: 12px !important;
        left: 9px !important;
    }
    .b-h__burger.b-h__burger_active .b-h__burgerIcon {
        top: 13px !important;
        left: 9px !important;
    }
    .b-h__phone_active .b-h__phoneClose {
        top: 11px !important;
        left: 9px !important;
    }
    .mrm-header-cart__info {
        display: none !important;
    }
    .mrm-header-cart {
        padding: 3px !important;
        border-radius: 50% !important;
        width: 38px !important;
        height: 38px !important;
        justify-content: center !important;
    }
    .mrm-header-cart__icon-wrap {
        width: 30px !important;
        height: 30px !important;
    }

    /* Full-width dropdown search bar on mobile when opened */
    .b-h__search.b-search_header.b-search_opened {
        position: static !important;
    }
    .b-h__search.b-search_header.b-search_opened .b-search__form {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        transform: none !important;
        width: 100% !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16) !important;
    }
    .b-h__search.b-search_header.b-search_opened .b-search__btn {
        right: 18px !important;
    }

    /* Non-overlapping Floating Buttons at Bottom of Mobile Screen */
    .floating-button {
        bottom: 14px !important;
        right: 12px !important;
        padding: 9px 13px !important;
        font-size: 12px !important;
        border-radius: 50px !important;
    }
    .mrm-floating-cart {
        bottom: 14px !important;
        left: 12px !important;
        padding: 6px 12px 6px 8px !important;
    }
    .mrm-floating-cart__circle {
        width: 32px !important;
        height: 32px !important;
    }
    .mrm-floating-cart__title {
        font-size: 10px !important;
    }
    .mrm-floating-cart__total {
        font-size: 12px !important;
    }

    /* Responsive Catalog Table View (.b-productCard_table) -> Mobile Cards */
    .b-productCard_table.b-productCard_caption {
        display: none !important;
    }
    .b-productCard_table {
        display: flex !important;
        flex-direction: column !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        height: auto !important;
    }
    .b-productCard_table .b-productCard__imgWrap {
        width: 100% !important;
        height: 130px !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin-bottom: 8px !important;
    }
    .b-productCard_table .b-productCard__content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .b-productCard_table .b-productCard__textWrap,
    .b-productCard_table .b-productCard__unitsWrap,
    .b-productCard_table .b-productCard__priceWrap,
    .b-productCard_table .b-productCard__isAvailable {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        border-right: none !important;
        padding: 4px 0 !important;
    }
    .b-productCard_table .b-productCard__title {
        padding: 0 !important;
        font-size: 15px !important;
        height: auto !important;
    }
    .b-productCard_table .mrm-card-cart {
        width: 100% !important;
        justify-content: space-between !important;
        margin-top: 8px !important;
    }
    .b-productCard_table .mrm-add-btn {
        max-width: none !important;
    }

    /* Product Detail Buy-in-1-click Button on Mobile */
    .b-priceBlock__btn {
        white-space: nowrap !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 18px !important;
        font-size: 13px !important;
    }

    /* Responsive Price List Page (/price-list/) on Mobile */
    .b-table__head {
        display: none !important;
    }
    .b-table,
    .b-table__body,
    .b-table__row,
    .b-table__data {
        display: block !important;
        width: 100% !important;
    }
    .b-table__row_white {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        gap: 6px !important;
    }
    .b-table__price {
        display: block !important;
        border: none !important;
        padding: 0 !important;
        height: auto !important;
        width: auto !important;
    }
    .b-table__price_name {
        width: 100% !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #0f172a !important;
    }
    .b-table__price_name .b-table__content,
    .b-table__price_unit .b-table__content,
    .b-table__price_price .b-table__content {
        padding: 0 !important;
        height: auto !important;
    }
    .b-table__price_unit {
        font-size: 12px !important;
        color: #64748b !important;
    }
    .b-table__price_price {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }
    .b-table .mrm-card-cart {
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 0 !important;
    }
    .b-table .mrm-qty-input {
        width: 34px;
    }
    .b-table .mrm-add-btn {
        padding: 0 12px;
        font-size: 11px;
    }

    /* Mobile Cart & Checkout Adaptations (375px) */
    .mrm-discount-banner {
        padding: 14px;
    }
    .mrm-cart-card__header,
    .mrm-cart-card__body,
    .mrm-quick-search-box--inline {
        padding: 14px;
    }
    .mrm-spec-metrics-bar {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 14px;
    }
    .mrm-spec-item {
        padding: 14px;
    }
    .mrm-spec-item__main {
        grid-template-columns: 56px minmax(0, 1fr) 28px;
        gap: 10px;
    }
    .mrm-spec-item__img {
        width: 56px;
        height: 56px;
    }
    .mrm-spec-item__remove {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        justify-self: end;
        align-self: start;
    }
    .mrm-spec-item__qty-col {
        grid-column: 1 / -1;
        align-items: flex-start;
        width: 100%;
        margin-top: 4px;
    }
    .mrm-unit-presets {
        justify-content: flex-start;
    }
    .mrm-spec-item__sum-col {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px dashed #e2e8f0;
        text-align: left;
    }
    .mrm-spec-item__footer {
        padding-left: 0;
    }
    .mrm-cut-inline-box {
        min-width: 100%;
    }
    .mrm-warehouse-box__date {
        min-width: 100%;
        max-width: 100%;
    }
    .mrm-sticky-dossier {
        position: static;
        padding: 16px;
    }
}

@media print {
    header, footer, .b-breadcrumbs, .floating-button, .mrm-floating-cart, .b-callout,
    .mrm-discount-dashboard, #mrm-checkout-form {
        display: none !important;
    }
    .mrm-print-only {
        display: block !important;
    }
}


/* === DROPDOWN MENU FIX (.b-menuTop_lev2 & .b-menuFloat) === */
.b-h__wrap,
.b-h__inn,
.b-h__item_right,
.b-h__menuTop {
    overflow: visible !important;
}
.b-menuTop_lev1 {
    position: relative !important;
    z-index: 120 !important;
}
.b-menuTop__item_lev1 {
    position: relative !important;
}
.b-menuTop_lev2 {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 270px !important;
    width: 310px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: #ffffff !important;
    border-top: 3px solid #e31e24 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18) !important;
    z-index: 999 !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.b-menuTop__item_lev1:hover > .b-menuTop_lev2,
.b-menuTop__item_lev1:focus-within > .b-menuTop_lev2 {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}
.b-menuTop__item_lev2 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.b-menuTop__link.b-menuTop__link_lev2,
.b-menuTop__link_lev2 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 40px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    color: #1e293b !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease, color 0.15s ease !important;
}
.b-menuTop__item_lev2:last-child > .b-menuTop__link_lev2 {
    border-bottom: none;
}
.b-menuTop__item_lev2:hover > .b-menuTop__link_lev2,
.b-menuTop__link_lev2:hover {
    background: #e31e24 !important;
    color: #ffffff !important;
}
