@media (min-width: 1600px) {
    #top.intarsio-top-address-layout > .container,
    header.intarsio-header-aligned > .container-fluid.container-sm {
        max-width: 1600px !important;
    }
}
@media (min-width: 992px) {
    #top.intarsio-top-address-layout {
        min-height: 32px;
        font-size: 11px;
    }
    #top.intarsio-top-address-layout .top-nav-info-list > li {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    #top.intarsio-top-address-layout .top-nav-account-links-item {
        padding: 6px 10px;
    }
    #top .intarsio-top-address {
        font-size: 11px;
    }
    #top .intarsio-top-address-toggle {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    header.intarsio-header-aligned {
        padding: 0;
    }
    .intarsio-header-aligned .intarsio-header-row {
        display: grid !important;
        grid-template-columns: 148px 196px minmax(180px, 600px) 260px calc(var(--intarsio-action-count, 1) * 44px + (var(--intarsio-action-count, 1) - 1) * 16px);
        column-gap: 24px;
        justify-content: space-between;
        align-items: center !important;
        min-height: 72px;
        margin: 0;
    }
    .intarsio-header-row > .intarsio-header-logo,
    .intarsio-header-row > .intarsio-header-catalog,
    .intarsio-header-row > .intarsio-header-search,
    .intarsio-header-row > .intarsio-header-contacts,
    .intarsio-header-row > .intarsio-header-actions {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        order: 0 !important;
    }
    .intarsio-header-logo { grid-column: 1; grid-row: 1; }
    .intarsio-header-catalog { grid-column: 2; grid-row: 1; }
    .intarsio-header-search { grid-column: 3; grid-row: 1; }
    .intarsio-header-contacts { grid-column: 4; grid-row: 1; }
    .intarsio-header-actions { grid-column: 5; grid-row: 1; }
    .intarsio-header-row > :not(.intarsio-header-logo):not(.intarsio-header-catalog):not(.intarsio-header-search):not(.intarsio-header-contacts):not(.intarsio-header-actions) {
        grid-column: 1 / -1;
    }
    .intarsio-header-aligned #logo {
        justify-content: flex-start !important;
        margin: 0;
    }
    .intarsio-header-aligned #logo img {
        display: block;
        width: 148px;
        height: auto;
        max-width: 100%;
        max-height: none;
    }
    .intarsio-header-aligned #menu_toggle_button {
        width: 100%;
        height: 40px;
        min-height: 40px;
        margin: 0;
        padding: 0 16px;
        gap: 10px;
        justify-content: center !important;
        border-radius: 3px;
        font-size: 14px;
        line-height: 1.2;
    }
    .intarsio-header-aligned #menu_toggle_button .rm-btn-text {
        display: block;
        max-width: none;
        overflow: visible;
        white-space: nowrap;
    }
    .intarsio-header-aligned #search_wrapper,
    .intarsio-header-aligned #search {
        width: 100%;
        height: 40px;
        margin: 0;
    }
    .intarsio-header-aligned #input_search {
        border-radius: 3px;
        font-size: 14px;
        padding: 10px 44px 10px 16px;
    }
    .intarsio-header-aligned #rm-search-button {
        left: auto;
        right: 0;
        width: 44px;
    }
    .intarsio-header-aligned #rm_livesearch_close {
        right: 44px;
    }
    .intarsio-header-aligned .rm-header-phones {
        width: 100%;
        margin: 0;
    }
    .intarsio-header-aligned .rm-header-phones-icon {
        display: none;
    }
    .intarsio-header-aligned .rm-header-phones-list-item {
        font-size: 14px;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: 0;
    }
    .intarsio-header-aligned .intarsio-header-actions {
        align-items: center;
        justify-content: space-between !important;
        gap: 16px;
    }
    .intarsio-header-aligned .intarsio-header-shortcut,
    .intarsio-header-aligned #cart {
        flex: 1 1 0;
        min-width: 0;
        height: 40px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: inherit;
        font-size: 11px;
        font-weight: 400;
        line-height: 16px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
        white-space: nowrap;
        text-decoration: none;
    }
    .intarsio-header-aligned .intarsio-header-shortcut-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }
    .intarsio-header-aligned .intarsio-header-shortcut-icon img {
        display: block;
        width: 24px;
        height: 24px;
        max-height: 24px;
        object-fit: contain;
        filter: brightness(0);
        opacity: .75;
    }
    .intarsio-header-aligned .intarsio-header-shortcut .oct-fixed-bar-quantity {
        background: var(--intarsio-header-badge-color);
        min-width: 15px;
        height: 15px;
        padding: 0 3px;
        line-height: 15px;
        font-size: 10px;
        top: -8px;
        right: -8px;
    }
    .intarsio-header-aligned .intarsio-header-shortcut-label,
    .intarsio-header-aligned .intarsio-cart-caption {
        display: none !important;
    }
    .intarsio-header-aligned .rm-header-cart-icon {
        left: 0;
        margin: 0;
        height: 24px;
        line-height: 24px;
    }
    .intarsio-header-aligned .rm-header-cart-icon img {
        display: block;
        width: 24px;
        height: 24px;
    }
    .intarsio-header-aligned .rm-header-cart-text {
        display: none;
    }
    .intarsio-header-aligned .rm-header-cart-quantity {
        min-width: 15px;
        height: 15px;
        line-height: 15px;
        font-size: 10px;
        top: -8px;
        left: 17px;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .intarsio-header-aligned .intarsio-header-row {
        grid-template-columns: 128px 180px minmax(180px, 600px) 220px calc(var(--intarsio-action-count, 1) * 44px + (var(--intarsio-action-count, 1) - 1) * 16px);
        column-gap: 16px;
    }
    .intarsio-header-aligned #logo img { width: 128px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
    #top.intarsio-top-address-layout {
        font-size: 10px;
    }
    #top.intarsio-top-address-layout .top-nav-info-list > li {
        padding-left: 4px;
        padding-right: 4px;
    }
    #top .intarsio-top-address {
        max-width: 230px;
        font-size: 10px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .intarsio-header-aligned .intarsio-header-row {
        grid-template-columns: 100px 156px minmax(160px, 1fr) 200px calc(var(--intarsio-action-count, 1) * 40px + (var(--intarsio-action-count, 1) - 1) * 12px);
        column-gap: 12px;
    }
    .intarsio-header-aligned #logo img { width: 100px; }
    .intarsio-header-aligned #menu_toggle_button { font-size: 12px; padding: 0 10px; }
    .intarsio-header-aligned .rm-header-phones-list-item { font-size: 12px; }
    .intarsio-header-aligned .intarsio-header-actions { gap: 12px; }
}
