@media (min-width: 1001px) {

/* =========================================================
   BRW SEARCH V8 — DESKTOP ONLY
   ========================================================= */

.brw-search-page--v8 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 0 45px;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.brw-search-results-head-v8 {
    display: flex;
    min-height: 76px;
    margin: 0 0 22px;
    padding: 4px 0 18px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #e2e2e2;
}

.brw-search-results-head-v8 h1 {
    margin: 0 0 7px;
    color: #444;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
}

.brw-search-results-head-v8__query {
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.brw-search-results-head-v8__query strong {
    color: #333;
    font-weight: 700;
}

.brw-search-results-head-v8__stats {
    display: flex;
    padding-bottom: 3px;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.brw-search-results-head-v8__stats span,
.brw-search-results-head-v8__stats a {
    display: inline-flex;
    min-height: 29px;
    padding: 5px 10px;
    align-items: center;
    gap: 5px;
    border: 1px solid #e3e3e3;
    background: #fff;
    color: #777;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
}

.brw-search-results-head-v8__stats b {
    color: #333;
}

.brw-search-results-head-v8__stats a {
    border-color: #efc6c8;
    color: #b71920;
}

.brw-search-section-v8 {
    margin: 0 0 28px;
}

.brw-search-section-v8__head {
    display: flex;
    margin: 0 0 13px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brw-search-section-v8__head h2 {
    position: relative;
    margin: 0;
    padding-left: 13px;
    color: #3d3d3d;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.brw-search-section-v8__head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    background: #d71920;
}

.brw-search-section-v8__head > span {
    color: #888;
    font-size: 11px;
}

.brw-search-collections-v8 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.brw-search-collection-v8 {
    display: grid;
    min-height: 104px;
    grid-template-columns: 132px minmax(0, 1fr) 26px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.brw-search-collection-v8:hover {
    border-color: #d4d4d4;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
    color: #333;
    text-decoration: none;
}

.brw-search-collection-v8__image {
    display: flex;
    width: 132px;
    height: 102px;
    padding: 7px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fafafa;
    box-sizing: border-box;
}

.brw-search-collection-v8__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brw-search-collection-v8__info {
    display: flex;
    min-width: 0;
    padding: 12px 15px;
    flex-direction: column;
    gap: 6px;
}

.brw-search-collection-v8__info strong {
    overflow: hidden;
    color: #003b63;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brw-search-collection-v8__info > span {
    color: #c22026;
    font-size: 12px;
    line-height: 1.2;
}

.brw-search-collection-v8__arrow {
    color: #b8b8b8;
    font-size: 28px;
    line-height: 1;
}

.brw-search-section-v8--products {
    margin-top: 34px;
}

.brw-search-products-v8 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.brw-search-product-v8 {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dedede;
    background: #fff;
    box-sizing: border-box;
}

.brw-search-product-v8__image {
    display: flex;
    height: 320px;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #ededed;
    background: #fff;
    box-sizing: border-box;
}

.brw-search-product-v8__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center;
}

.brw-search-product-v8__image > span {
    color: #aaa;
    font-size: 14px;
    font-weight: 700;
}

.brw-search-product-v8__body {
    display: flex;
    min-height: 126px;
    padding: 15px 18px 16px;
    flex: 1 1 auto;
    flex-direction: column;
    box-sizing: border-box;
}

.brw-search-product-v8__head {
    display: grid;
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}

.brw-search-product-v8__name {
    display: -webkit-box;
    overflow: hidden;
    color: #003b63;
    font-size: 16px;
    line-height: 1.33;
    font-weight: 700;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.brw-search-product-v8__name:hover {
    color: #c31d24;
    text-decoration: none;
}

.brw-search-product-v8__price {
    display: flex;
    min-width: 170px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    align-self: start;
}

.brw-search-product-v8__price-label {
    max-width: 70px;
    color: #7d604e;
    font-size: 10px;
    line-height: 1.15;
    font-style: italic;
    text-align: right;
}

.brw-search-product-v8__ticket {
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
}

.brw-search-product-v8__collection {
    margin-top: auto;
    padding-top: 13px;
    color: #c31d24;
    font-size: 13px;
    line-height: 1.35;
}

.brw-search-product-v8__collection a {
    color: #b71920;
    font-weight: 700;
    text-decoration: none;
}

.brw-search-product-v8__collection a:hover {
    text-decoration: underline;
}

.brw-search-message-v8,
.brw-search-notice-v8,
.brw-search-start-v8 {
    margin: 0 0 25px;
    padding: 18px 20px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.brw-search-message-v8--error {
    border-left: 3px solid #c81e25;
}

.brw-search-notice-v8 {
    display: flex;
    border-left: 3px solid #c81e25;
    flex-direction: column;
    gap: 3px;
}

.brw-search-notice-v8 strong {
    color: #444;
}

.brw-search-start-v8__title {
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
    font-weight: 700;
}

.brw-search-start-v8__links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brw-search-start-v8__links a {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid #e1e1e1;
    background: #fafafa;
    color: #555;
    font-size: 12px;
    text-decoration: none;
}

.brw-search-start-v8__links a:hover {
    border-color: #d2aeb0;
    color: #b71920;
}

.brw-search-pagination-v8 {
    display: flex;
    margin-top: 27px;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.brw-search-pagination-v8 a,
.brw-search-pagination-v8 span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedede;
    background: #fff;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    box-sizing: border-box;
}

.brw-search-pagination-v8 span {
    border-color: #c91e25;
    background: #c91e25;
    color: #fff;
}

/* =========================================================
   BRW HEADER V12 — FINAL GEOMETRY FIX
   Fixes:
   - no 100vw => no horizontal scrollbar
   - body_header real height => menu cannot overlap content
   - no white gap between top row and red nav
   - phones moved toward basket
   - search remains mathematically centered
   ========================================================= */

.body_header {
    position: relative !important;
    height: 126px !important;
    min-height: 126px !important;
    overflow: visible !important;
    background: #fff !important;
}

/* Full-width red navigation background without 100vw. */
.body_header::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 44px;
    background: #df3237;
    box-shadow: inset 0 1px rgba(255,255,255,.16), 0 1px 2px rgba(0,0,0,.14);
    pointer-events: none;
}

.body_header .container {
    position: relative !important;
    z-index: 2 !important;
    height: 126px !important;
    min-height: 126px !important;
    overflow: visible !important;
}

.body_header .header.brw-header-v12 {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 126px !important;
    min-height: 126px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Remove old spacer/float artifacts completely. */
.body_header .header.brw-header-v12 > .clr {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* =========================================================
   TOP ROW — exactly 82px
   Equal side tracks keep the search in the true center.
   ========================================================= */

.brw-header-v12 .brw-header-v9__top {
    position: relative !important;
    display: grid !important;
    width: 100% !important;
    height: 82px !important;
    min-height: 82px !important;
    grid-template-columns: minmax(0,1fr) 600px minmax(0,1fr) !important;
    align-items: center !important;
    column-gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* ---------- LOGO ---------- */

.brw-header-v12 .brw-header-v9__logo {
    display: flex !important;
    min-width: 0 !important;
    height: 82px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.brw-header-v12 .brw-header-v9__logo > a.logo {
    position: static !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    align-items: center !important;
    text-decoration: none !important;
}

.brw-header-v12 .brw-header-v9__logo .logo-picture {
    width: 62px !important;
    height: 62px !important;
    flex: 0 0 62px !important;
    border: 3px solid #fff !important;
    box-sizing: content-box !important;
}

.brw-header-v12 .brw-header-v9__logo .logo-text {
    margin-left: 11px !important;
    color: #c42128 !important;
    font-size: 13px !important;
    line-height: 1.24 !important;
    font-weight: 700 !important;
    letter-spacing: -.15px !important;
    text-shadow: none !important;
    white-space: nowrap !important;
}

.brw-header-v12 .brw-header-v9__logo .logo-text span {
    color: #333 !important;
}

/* =========================================================
   SEARCH — true center
   ========================================================= */

.brw-header-v12 .brw-header-v9__search {
    position: relative !important;
    z-index: 500 !important;
    width: 600px !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.brw-header-v12 .brw-header-v9__search .brw-header-search-v8 {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
}

.brw-header-v12 .brw-header-search-v8__form {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    height: 48px !important;
    align-items: stretch !important;
    overflow: visible !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.08) !important;
    box-sizing: border-box !important;
}

.brw-header-v12 .brw-header-search-v8__icon {
    display: flex !important;
    flex: 0 0 46px !important;
    align-items: center !important;
    justify-content: center !important;
}

.brw-header-v12 .brw-header-search-v8__icon svg {
    width: 21px !important;
    height: 21px !important;
    fill: #333 !important;
}

.brw-header-v12 .brw-header-search-v8__input {
    min-width: 0 !important;
    height: 46px !important;
    flex: 1 1 auto !important;
    padding: 0 14px 0 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #333 !important;
    font-family: Arial,Helvetica,sans-serif !important;
    font-size: 14px !important;
    line-height: 46px !important;
    box-shadow: none !important;
}

.brw-header-v12 .brw-header-search-v8__input::placeholder {
    color: #858585 !important;
    opacity: 1 !important;
}

.brw-header-v12 .brw-header-search-v8__button {
    flex: 0 0 100px !important;
    height: 48px !important;
    margin: -1px -1px -1px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 4px 4px 0 !important;
    background: #d71920 !important;
    color: #fff !important;
    font-family: Arial,Helvetica,sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 48px !important;
    cursor: pointer !important;
}

.brw-header-v12 .brw-header-search-v8__button:hover {
    background: #bd171d !important;
}

/* =========================================================
   RIGHT SIDE — compact and pushed to basket
   ========================================================= */

.brw-header-v12 .brw-header-v9__right {
    display: flex !important;
    min-width: 0 !important;
    height: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
}

.brw-header-v12 .brw-header-v9__phones {
    display: grid !important;
    width: 145px !important;
    min-width: 145px !important;
    grid-template-columns: 27px minmax(0,1fr) !important;
    align-items: center !important;
    column-gap: 5px !important;
}

.brw-header-v12 .brw-header-v9__phone-icon {
    display: flex !important;
    width: 27px !important;
    height: 27px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #2cb65d !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

.brw-header-v12 .brw-header-v9__phone-icon svg {
    width: 14px !important;
    height: 14px !important;
    fill: #2cb65d !important;
}

.brw-header-v12 .brw-header-v9__phone-list {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.brw-header-v12 .brw-header-v9__phone-row {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    align-items: baseline !important;
    color: #444 !important;
    font-family: Arial,Helvetica,sans-serif !important;
    line-height: 1.18 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.brw-header-v12 .brw-header-v9__phone-code {
    color: #8b8b8b !important;
    font-size: 8px !important;
    font-weight: 400 !important;
}

.brw-header-v12 .brw-header-v9__phone-number {
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.brw-header-v12 .brw-header-v9__basket {
    position: relative !important;
    display: flex !important;
    width: 183px !important;
    min-width: 183px !important;
    min-height: 48px !important;
    padding-left: 12px !important;
    align-items: center !important;
    border-left: 1px solid #dedede !important;
    box-sizing: border-box !important;
}

.brw-header-v12 .brw-header-v9__basket > .basket {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    float: none !important;
    align-items: center !important;
    overflow: visible !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__icon {
    flex: 0 0 auto !important;
    margin-right: 8px !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__icon svg {
    width: 27px !important;
    fill: #c91520 !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__info {
    min-width: 0 !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__info p {
    margin: 0 !important;
    color: #4e4e4e !important;
    font-size: 10px !important;
    line-height: 1.23 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__info .sum {
    margin-top: 2px !important;
}

.brw-header-v12 .brw-header-v9__basket .basket__info .sum span {
    color: #888 !important;
    font-size: 9px !important;
    font-weight: 400 !important;
}

.brw-header-v12 > .menu-toggle {
    display: none !important;
}

/* =========================================================
   NAV — exact 44px, immediately after white row
   No 100vw. No transform. No white gap.
   ========================================================= */

.body_header .body_menu {
    display: none !important;
}

.body_header .header.brw-header-v12 > .topmenu {
    position: relative !important;
    z-index: 20 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu {
    display: grid !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(7,minmax(0,1fr)) !important;
    background: transparent !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li {
    position: relative !important;
    display: flex !important;
    min-width: 0 !important;
    height: 44px !important;
    align-items: stretch !important;
    justify-content: center !important;
    border-right: 1px solid rgba(255,255,255,.14) !important;
    background: transparent !important;
    list-style: none !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li:first-child {
    border-left: 1px solid rgba(255,255,255,.14) !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li.search {
    display: none !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li > a {
    display: flex !important;
    width: 100% !important;
    padding: 0 9px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li:hover {
    background: #c32329 !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li.active {
    background: #af1b20 !important;
}

.body_header .header.brw-header-v12 > .topmenu ul.menu > li.active::after {
    display: none !important;
}

/* =========================================================
   POPUP — exact same width/center as search
   ========================================================= */

.brw-header-v12 .brw-header-v9__search .brw-search-popup {
    position: absolute !important;
    z-index: 100000 !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 460px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    transform: none !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.18) !important;
    box-sizing: border-box !important;
}

/* =========================================================
   RESPONSIVE DESKTOP — preserve equal side tracks
   ========================================================= */

@media (max-width: 1450px) {
    .brw-header-v12 .brw-header-v9__top {
        grid-template-columns: minmax(0,1fr) 540px minmax(0,1fr) !important;
        column-gap: 16px !important;
    }

    .brw-header-v12 .brw-header-v9__search {
        width: 540px !important;
    }

    .brw-header-v12 .brw-header-v9__phones {
        width: 137px !important;
        min-width: 137px !important;
    }

    .brw-header-v12 .brw-header-v9__basket {
        width: 168px !important;
        min-width: 168px !important;
        padding-left: 9px !important;
    }
}

@media (max-width: 1300px) {
    .brw-header-v12 .brw-header-v9__top {
        grid-template-columns: minmax(0,1fr) 480px minmax(0,1fr) !important;
        column-gap: 10px !important;
    }

    .brw-header-v12 .brw-header-v9__search {
        width: 480px !important;
    }

    .brw-header-v12 .brw-header-v9__logo .logo-picture {
        width: 55px !important;
        height: 55px !important;
        flex-basis: 55px !important;
    }

    .brw-header-v12 .brw-header-v9__logo .logo-text {
        margin-left: 8px !important;
        font-size: 11px !important;
    }

    .brw-header-v12 .brw-header-v9__phones {
        width: 126px !important;
        min-width: 126px !important;
        grid-template-columns: 24px minmax(0,1fr) !important;
        column-gap: 3px !important;
    }

    .brw-header-v12 .brw-header-v9__phone-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .brw-header-v12 .brw-header-v9__phone-row {
        grid-template-columns: 27px minmax(0,1fr) !important;
    }

    .brw-header-v12 .brw-header-v9__phone-number {
        font-size: 10px !important;
    }

    .brw-header-v12 .brw-header-v9__basket {
        width: 145px !important;
        min-width: 145px !important;
    }

    .brw-header-v12 .brw-header-v9__basket .basket__info p {
        font-size: 9px !important;
    }
}

@media (max-width: 1150px) {
    .brw-header-v12 .brw-header-v9__top {
        grid-template-columns: minmax(0,1fr) 430px minmax(0,1fr) !important;
    }

    .brw-header-v12 .brw-header-v9__search {
        width: 430px !important;
    }

    .brw-header-v12 .brw-header-v9__phones {
        display: none !important;
    }

    .brw-header-v12 .brw-header-v9__basket {
        width: 140px !important;
        min-width: 140px !important;
    }

    .body_header .header.brw-header-v12 > .topmenu ul.menu > li > a {
        padding: 0 5px !important;
        font-size: 11px !important;
    }
}


/* =========================================================
   AUTOCOMPLETE — EXACTLY SEARCH WIDTH, SAME CENTER
   ========================================================= */

.brw-header-v11 .brw-header-v9__search .brw-search-popup {
    position: absolute !important;
    z-index: 100000 !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 460px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    transform: none !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18) !important;
    box-sizing: border-box !important;
}

/* =========================================================
   DESKTOP WIDTH ADAPTATION
   Still symmetric: both side tracks remain 1fr.
   ========================================================= */

@media (max-width: 1450px) {
    .brw-header-v11 .brw-header-v9__top {
        grid-template-columns: minmax(0, 1fr) 570px minmax(0, 1fr) !important;
        column-gap: 14px !important;
    }

    .brw-header-v11 .brw-header-v9__search {
        width: 570px !important;
    }

    .brw-header-v11 .brw-header-v9__phones {
        width: 144px !important;
        min-width: 144px !important;
    }

    .brw-header-v11 .brw-header-v9__basket {
        width: 168px !important;
        min-width: 168px !important;
        padding-left: 10px !important;
    }
}

@media (max-width: 1300px) {
    .brw-header-v11 .brw-header-v9__top {
        grid-template-columns: minmax(0, 1fr) 500px minmax(0, 1fr) !important;
        column-gap: 10px !important;
    }

    .brw-header-v11 .brw-header-v9__search {
        width: 500px !important;
    }

    .brw-header-v11 .brw-header-v9__logo .logo-picture {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px !important;
    }

    .brw-header-v11 .brw-header-v9__logo .logo-text {
        margin-left: 8px !important;
        font-size: 11px !important;
    }

    .brw-header-v11 .brw-header-v9__phones {
        width: 132px !important;
        min-width: 132px !important;
        grid-template-columns: 25px minmax(0, 1fr) !important;
        column-gap: 4px !important;
    }

    .brw-header-v11 .brw-header-v9__phone-icon {
        width: 25px !important;
        height: 25px !important;
    }

    .brw-header-v11 .brw-header-v9__phone-row {
        grid-template-columns: 28px minmax(0, 1fr) !important;
    }

    .brw-header-v11 .brw-header-v9__phone-number {
        font-size: 10px !important;
    }

    .brw-header-v11 .brw-header-v9__basket {
        width: 150px !important;
        min-width: 150px !important;
    }

    .brw-header-v11 .brw-header-v9__basket .basket__info p {
        font-size: 9px !important;
    }
}

@media (max-width: 1150px) {
    .brw-header-v11 .brw-header-v9__top {
        grid-template-columns: minmax(0, 1fr) 450px minmax(0, 1fr) !important;
    }

    .brw-header-v11 .brw-header-v9__search {
        width: 450px !important;
    }

    .brw-header-v11 .brw-header-v9__phones {
        display: none !important;
    }

    .brw-header-v11 .brw-header-v9__basket {
        width: 145px !important;
        min-width: 145px !important;
    }

    .body_header .header.brw-header-v11 > .topmenu ul.menu > li > a {
        padding: 0 6px !important;
        font-size: 11px !important;
    }
}


/* =========================================================
   AUTOCOMPLETE
   ========================================================= */

.brw-header-search-v8 .brw-search-popup,
.brw-search-page--desktop .brw-search-popup {
    position: absolute;
    z-index: 100000;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 560px;
    overflow-y: auto;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.brw-search-popup[hidden] {
    display: none !important;
}

.brw-header-search-v8 .brw-search-popup__title,
.brw-search-page--desktop .brw-search-popup__title {
    padding: 8px 14px;
    border-bottom: 1px solid #e7e7e7;
    background: #f6f6f6;
    color: #777;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.brw-search-popup-v8__item {
    display: grid !important;
    min-height: 78px !important;
    padding: 8px 12px !important;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #ededed !important;
    background: #fff;
    color: #333 !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

.brw-search-popup-v8__item:hover {
    background: #fafafa !important;
}

.brw-search-popup-v8__image {
    display: flex;
    width: 92px;
    height: 61px;
    padding: 2px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.brw-search-popup-v8__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brw-search-popup-v8__placeholder {
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
}

.brw-search-popup-v8__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.brw-search-popup-v8__collection-title,
.brw-search-popup-v8__product-title {
    display: block;
    overflow: hidden;
    color: #003b63;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brw-search-popup-v8__room {
    color: #c31d24;
    font-size: inherit;
    font-weight: inherit;
}

.brw-search-popup-v8__collection {
    display: block;
    overflow: hidden;
    color: #9a474a;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brw-search-popup-v8__collection b {
    color: #b71920;
}

.brw-search-popup-v8__price {
    display: inline-flex;
    min-width: 92px;
    min-height: 31px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #2e668b;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.brw-search-popup-v8__price b {
    margin-right: 3px;
    font-size: 13px;
}

.brw-header-search-v8 .brw-search-popup__all,
.brw-search-page--desktop .brw-search-popup__all {
    display: block;
    padding: 11px 14px;
    background: #fff;
    color: #b71920;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.brw-header-search-v8 .brw-search-popup__all:hover,
.brw-search-page--desktop .brw-search-popup__all:hover {
    background: #fafafa;
}

.brw-header-search-v8 .brw-search-popup__empty,
.brw-search-page--desktop .brw-search-popup__empty,
.brw-header-search-v8 .brw-search-popup__hint,
.brw-search-page--desktop .brw-search-popup__hint {
    padding: 13px 14px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}


}

/* BRW_HEADER_V13_WIDE_DESKTOP_CONTAINER_FIX
   Full-HD / wide desktop.
   The class is added only to the real BRW header container in header.php,
   so no catalog/content Bootstrap container is affected. */
@media (min-width: 1451px) {
    .body_header > .brw-header-v13-container {
        width: calc(100% - 40px) !important;
        max-width: 1500px !important;
    }
}
/* /BRW_HEADER_V13_WIDE_DESKTOP_CONTAINER_FIX */
