/* Start header variant one */
/* The approved preview used these local font files, not Google Fonts' newer Inter. */
@font-face {
    font-family: 'Header Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Header Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600 800;
    font-display: swap;
}
/* Shared palette and the three desktop rows from the approved prototype. */
.site-header {
    --header-bg: #fff;
    --header-text: #00364a;
    --header-muted: #6c7c85;
    --header-field: #f4f7f8;
    --header-line: #e3eaee;
    --header-accent: #24c3f3;
    --header-ink: #00364a;
    --header-inset: max(40px, calc((100vw - 1520px) / 2));
    --header-gap: 24px;
    --header-actions: 278px;
    --header-accent-text: #005e7e;
    --header-surface-hover: #e9f1f5;
    --header-logo: 218px;
    --header-catalog: 140px;
    position: relative;
    display: grid;
    grid-template-columns: var(--header-logo) var(--header-catalog) minmax(0, 1fr) var(--header-actions);
    grid-template-rows: auto 108px 54px 4px;
    grid-template-areas:
        "utility utility utility utility"
        "logo catalog search icons"
        "menu menu menu benefits"
        "gradient gradient gradient gradient";
    gap: 0 var(--header-gap);
    margin: 0;
    padding: 0 var(--header-inset);
    background: var(--header-bg);
    color: var(--header-text);
    font-family: 'Header Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}
.site-header button,
.site-header input,
.site-header select {
    font-family: inherit;
}
html[data-theme="dark"] .site-header {
    --header-bg: #111416;
    --header-text: #e5edf1;
    --header-muted: #9aaab4;
    --header-field: #1a1e22;
    --header-line: #2c343a;
    --header-accent-text: #72d6f5;
    --header-surface-hover: #252c32;
}
.site-header svg.header-line-icon,
.site-header .nav-icons svg.header-line-icon,
.site-header .sidemenu-links svg.header-line-icon {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.site-header .header__gradient {
    display: block;
    grid-area: gradient;
    margin: 0 calc(-1 * var(--header-inset));
    padding: 0;
}
.site-header .header__gradient .gradient-div {
    height: 4px;
    background: linear-gradient(95deg, #a8e6f6 0%, #c7b2fc 43%, #09b9eb 100%);
}

/* Service row: city, brand note, configured contacts and settings. */
.site-header .header__utility {
    grid-area: utility;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 47px;
    margin: 0 calc(-1 * var(--header-inset));
    padding: 4px var(--header-inset);
    border-bottom: 1px solid var(--header-line);
    font-size: 12px;
}
.site-header .header__location {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 1 202px;
}
.site-header .header__location > svg {
    width: 16px;
    height: 16px;
    color: var(--header-accent-text);
}
.site-header .header__location .region-block {
    min-width: 0;
    flex: 1;
}
.site-header .header__location #geoip,
.site-header .header__location .geoip-text {
    display: block;
    width: 100%;
}
.site-header .header__utility .mobDev {
    display: none;
}
.site-header .header__utility #geoip .zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    color: var(--header-text);
    text-decoration: none;
}
.site-header .header__utility #geoip .zone::after {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.site-header :is(#glanguage, #currency) > .btn-top {
    min-width: 0;
    height: 32px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--header-text);
    font-size: 12px;
    font-weight: 400;
}
.site-header #glanguage .btn-top-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}
.site-header .header__tagline {
    color: var(--header-muted);
    white-space: nowrap;
}
.site-header .header__utility > .header__region {
    order: 4;
    flex: none;
    gap: 14px;
    margin: 0;
    padding: 0;
}
.site-header .header__utility > .header__time {
    margin: 0 0 0 auto;
    align-self: center;
}
.site-header .header__utility .time-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.site-header .header__utility .text-normal {
    color: var(--header-muted);
    font-family: inherit;
    font-size: 12px;
}
.site-header .header__utility .phones-list {
    margin: 0;
}
.site-header .header__utility .header-tel-link {
    font-size: 12px !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    color: var(--header-text) !important;
}
.site-header .header__utility .phones-list__icon {
    color: var(--header-text);
    width: 14px;
    height: 14px;
}
.site-header .header__utility .show-phone {
    font-size: 9px;
    padding: 2px 5px;
}
.site-header .header__utility .phones-list__note {
    font-size: 11px;
}
.site-header .header__region .theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--header-text);
}
.site-header .theme-toggle .theme-toggle__knob {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: transparent;
    color: inherit;
    transform: none;
    box-shadow: none;
}
.site-header .theme-toggle__icon {
    width: 19px;
    height: 19px;
}
.site-header .theme-toggle:hover {
    background: var(--header-surface-hover);
}

/* Logo and account actions. */
.site-header .header__logo {
    justify-self: start;
    height: auto;
}
.site-header .header__logo a {
    display: block;
    padding: 0;
    line-height: 0;
}
.site-header .header__logo img {
    width: var(--header-logo);
    max-width: 100%;
    height: auto;
    margin: 0;
}
.site-header .header__icons {
    align-self: center;
    justify-self: stretch;
    margin: 0;
    padding: 0;
}
.site-header .nav-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.site-header .nav-icons > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    font-family: inherit;
    color: var(--header-text);
    font-size: 11px;
}
.site-header .nav-icons svg.header-line-icon {
    width: 25px;
    height: 25px;
    color: var(--header-text);
}
.site-header .nav-icons .nav-icon-text {
    display: block;
    color: inherit;
    font-size: 11px;
    line-height: 1.5;
}
.site-header .nav-icons .count {
    top: -5px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    background: var(--header-accent);
    color: var(--header-ink);
}

/* Search retains the real search routes and autocomplete. */
.site-header .header__search {
    align-self: center;
    min-width: 0;
    padding: 0;
    background: transparent;
}
.site-header .search-wrapper {
    display: flex;
    padding: 0;
}
.site-header .search-container {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 1px solid var(--header-line);
    border-radius: 12px;
    background: var(--header-field) !important;
}
.site-header .search-container:focus-within {
    border-color: var(--header-accent);
}
.site-header #search {
    display: flex;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.site-header .search-container .search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 16px !important;
    border: 0;
    background: transparent;
    color: var(--header-text);
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    line-height: 1.5;
    border-radius: 12px;
}
.site-header .search-input::placeholder {
    color: var(--header-muted);
    opacity: 1;
}
.site-header .search-container .form-select {
    display: none;
    flex: 0 0 115px;
    width: 115px;
    height: 48px;
    margin: 0;
    padding: 0 22px 0 12px;
    font-size: 11px;
    color: var(--header-text);
    border-right: 1px solid var(--header-line);
}
.site-header .search-container:focus-within .form-select {
    display: block;
}
.site-header .search-container .btn-search {
    flex: 0 0 52px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--header-text);
}

/* Navigation, catalog and service links. */
.site-header .header__benefits {
    grid-area: benefits;
    position: static;
    display: flex;
    justify-self: end;
    align-self: center;
    gap: 20px;
    width: max-content;
    height: auto;
    margin: 0;
    padding: 0 0 6px;
}
.site-header .header__benefits .shipping-info,
.site-header .header__benefits #rek-info {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--header-text);
    text-decoration: none;
}
.site-header .header__benefits .shipping-info-text,
.site-header .header__benefits .rek-info-text {
    flex: none;
    width: auto;
    max-width: none;
    color: inherit;
    font-size: 11px;
    font-family: inherit;
    line-height: 1.5;
    white-space: nowrap;
}
.site-header .header-catalog-icon {
    width: 22px;
    height: 22px;
}
.site-header .header__benefits svg {
    color: var(--header-accent-text);
}
.site-header .search-container .header-line-icon {
    width: 22px;
    height: 22px;
}
.site-header button:focus-visible,
.site-header a:focus-visible {
    outline: 2px solid var(--header-accent);
    outline-offset: 3px;
}
@media (min-width: 781px) {
    .site-header .header__menu {
        align-self: center;
        padding-bottom: 6px;
        min-width: 0;
    }
    .site-header #menu {
        display: block;
        width: 100%;
        position: static;
        margin: 0;
    }
    .site-header #sidemenu {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        margin: 0;
        padding: 0;
    }
    .site-header #menu #sidemenu > li.item {
        margin: 0;
        flex: none;
        padding: 0;
    }
    .site-header #menu #sidemenu > li.item > a {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.5;
        padding: 10px 0;
        font-family: inherit;
        color: var(--header-text);
    }
    .site-header #menu #sidemenu > .item-main + .item > a {
        color: var(--header-accent-text);
    }
    .site-header #menu #sidemenu > .item-main {
        position: absolute;
        transition: none;
        top: calc(var(--header-utility-height, 47px) + 29px);
        left: calc(var(--header-inset) + var(--header-logo) + var(--header-gap));
        width: var(--header-catalog);
        height: 50px;
    }
    .site-header #menu .item-main > .item_name {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 0 16px;
        border: 0;
        border-radius: 12px;
        background: var(--header-accent);
        color: var(--header-ink);
        font-size: 14px;
        font-weight: 600;
        font-family: inherit;
        line-height: 1.5;
    }
    .site-header #menu .item-main > .item_name > .arrow-down {
        display: none;
    }
    .site-header #menu .category_wrap {
        position: fixed;
        left: 50%;
        border-radius: 16px;
    }
    .site-header #sidemenu:not(.show) .item-main:hover > .category_wrap {
        display: none;
    }
    .site-header #menu #sidemenu .item-main.catalog-open > .category_wrap {
        display: flex;
    }
    .site-header #sidemenu > .item-main::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 12px;
    }
}

/* Responsive rules: compress the desktop rows, then switch to the drawer. */
@media (max-width: 1400px) {
    .site-header {
        --header-inset: 24px;
        --header-logo: 190px;
        --header-gap: 18px;
        --header-actions: 266px;
    }
    .site-header .nav-icons {
        gap: 16px;
    }
    .site-header #sidemenu {
        gap: 20px;
    }
    .site-header .header__benefits #rek-info {
        display: none;
    }
}
@media (max-width: 1150px) {
    .site-header {
        --header-logo: 165px;
        --header-catalog: 128px;
        --header-gap: 14px;
        --header-actions: 254px;
        grid-template-areas:
            "utility utility utility utility"
            "logo catalog search icons"
            "menu menu menu menu"
            "gradient gradient gradient gradient";
    }
    .site-header .header__tagline,
    .site-header .header__benefits,
    .site-header .header__utility .text-normal {
        display: none;
    }
    .site-header .nav-icons {
        gap: 12px;
    }
    .site-header #sidemenu {
        justify-content: center;
    }
}
@media (max-width: 950px) {
    .site-header {
        --header-actions: 104px;
    }
    .site-header .nav-icons > .link-compare,
    .site-header .nav-icons > .link-wishlist {
        display: none;
    }
    .site-header #sidemenu {
        gap: 18px;
    }
    .site-header #menu #sidemenu > li.item > a {
        font-size: 12px;
    }
}
@media (max-width: 780px) {
    .site-header {
        --header-inset: 16px;
        --header-logo: 172px;
        grid-template-columns: 40px minmax(0, 1fr) 84px;
        grid-template-rows: 64px 58px 4px;
        grid-template-areas:
            "menu logo icons"
            "search search search"
            "gradient gradient gradient";
        gap: 0 12px;
        padding: 0 16px;
    }
    .site-header .header__utility {
        grid-area: auto;
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }
    .mobile-slots .site-header .header__utility {
        display: none;
    }
    .site-header .header__location {
        flex: 1 1 100%;
    }
    .site-header .header__location .region-block {
        flex-basis: auto;
    }
    .site-header .header__menu {
        padding: 0;
        align-self: center;
    }
    .site-header #menu {
        margin: 0;
    }
    .site-header #sidemenu {
        justify-content: flex-start;
        gap: 0;
    }
    .site-header #menu .item_name_mobile {
        width: 40px;
        height: 44px;
        background: transparent;
        color: var(--header-text);
    }
    .site-header #menu .item_name_mobile svg {
        width: 22px;
        height: 22px;
        color: inherit;
    }
    .site-header .header__logo {
        justify-self: center;
    }
    .site-header .header__icons {
        justify-self: end;
    }
    .site-header .nav-icons {
        gap: 4px;
    }
    .site-header .nav-icons .nav-icon-text {
        display: none;
    }
    .site-header .nav-icons > a {
        width: 40px;
        height: 44px;
        min-width: 0;
    }
    .site-header .header__search {
        align-self: start;
        padding: 0;
    }
    .site-header .search-container .search-input,
    .site-header .search-container .form-select,
    .site-header .search-container .btn-search {
        height: 44px;
    }
    .site-header .header__benefits {
        display: none;
    }
    .site-header #menu #sidemenu .item-main > .item_name {
        color: var(--header-text);
        border: 0;
        background: transparent;
        text-align: left;
    }
    .site-header .header-catalog-icon {
        display: none;
    }
    .site-header #menu #sidemenu .main_cat > a,
    .site-header #menu #sidemenu .main_cat > a:hover {
        color: var(--header-text);
    }
    .site-header #sidemenu .header__location {
        margin-bottom: 10px;
    }
    .site-header #sidemenu .theme-toggle {
        margin-left: auto;
    }
}
@media (max-width: 380px) {
    .site-header {
        --header-logo: 140px;
        grid-template-columns: 40px minmax(0, 1fr) 72px;
        column-gap: 4px;
    }
    .site-header .nav-icons {
        gap: 0;
    }
    .site-header .nav-icons > a {
        width: 36px;
    }
}
/* End header variant one */
