/* cleaner modern header */
.header-container {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.sticky {
    backdrop-filter: blur(16px);
}

.header-first-row {
    height: 40px;
    background: #0f172a;
}

.header-first-row-size-wrapper {
    width: 100%;
    max-width: 1280px;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
}

.header-first-row-size-wrapper span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-first-row-size-wrapper a,
.header-first-row-size-wrapper a:hover {
    color: #fff;
    text-decoration: none;
}

.header-main-row {
    height: 82px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: transparent;
}

.header-main-row-size-wrapper,
.header-sub-row-size-wrapper {
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
}

.header-main-row__burger_icon_navigation,
.header-main-row-icon,
.header-sub-row-icon,
.header-nav-fly-out-nav-header__burger_icon_navigation {
    color: #0f172a;
}

.header-main-row__logo,
.header-main-row__logo img {
    max-width: 190px;
    max-height: 64px;
}

.header-main-row__navigation-list {
    gap: 2px;
}

.header-main-row__navigation-list-item {
    margin: 0;
    padding: 0;
}

.header-main-row__navigation-list-item-anchor,
.header-main-row__navigation-list-item-anchor:hover {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-main-row__navigation-list-item-anchor::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: var(--base-primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.header-main-row__navigation-list-item-anchor:hover,
.header-main-row__navigation-list-item-anchor--active,
.header-main-row__navigation-list-item-anchor--active:hover {
    color: #0f172a;
}

.header-main-row__navigation-list-item-anchor:hover::after,
.header-main-row__navigation-list-item-anchor--active::after {
    transform: scaleX(1);
}

.header-main-row__navigation-list-item__sign-in-link,
.header-main-row__navigation-list-item__sign-in-link:hover {
    margin-left: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: #0f172a;
}

.header-main-row__navigation-list-item__sign-in-link::after {
    display: none;
}

.header-main-row__language_chooser__desktop {
    margin-right: 14px;
}

.header-main-row__language_chooser__desktop__item {
    margin: 0 4px;
    padding: 6px 4px;
    font-size: 0.88rem;
    font-weight: 700;
}

.header-main-row__language_chooser__desktop__item--active {
    color: #0f172a;
}

.header-main-row__account-icon,
.header-main-row__mobile-account-icon__not-signed-in a {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.header-main-row__account-icon-popup-wrapper--opened {
    top: calc(100% + 14px);
    width: 240px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.header-sub-row {
    min-height: 68px;
    height: auto;
    background: #fff;
}

.header-sub-row-container-wrapper {
    gap: 14px;
}

.header-sub-row__social_network_links {
    gap: 10px;
}

.header-sub-row__mobile-search-icon__search-opener {
    display: none;
}

.header-sub-row__social_network_links .header-sub-row-icon,
.header-sub-row__cart-icon,
.header-sub-row__mobile-search-icon__search-opener,
.header-sub-row__mobile-search-icon__search-closer,
.header-sub-row__mobile-search-icon__search-button {
    width: 42px;
    height: 42px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-sub-row__social_network_links .header-sub-row-icon:hover,
.header-sub-row__cart:hover .header-sub-row__cart-icon,
.header-sub-row__mobile-search-icon__search-opener:hover,
.header-sub-row__mobile-search-icon__search-closer:hover,
.header-sub-row__mobile-search-icon__search-button:hover {
    color: var(--base-primary-color);
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-1px);
}

.header-sub-row__desktop-search {
    height: auto;
    align-items: center;
    gap: 10px;
}

.header-sub-row__desktop-search__input-wrapper {
    min-height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 999px;
    background: #f8fafc;
}

.header-sub-row__desktop-search > .header-sub-row-icon {
    width: 42px;
    height: 42px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-sub-row__desktop-search > .header-sub-row-icon:hover {
    color: var(--base-primary-color);
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-1px);
}

.header-sub-row__desktop-search__input-wrapper input,
.header-sub-row__mobile-search__input-wrapper input {
    background: transparent;
    color: #0f172a;
}

.header-sub-row__desktop-search__input-wrapper input::placeholder,
.header-sub-row__mobile-search__input-wrapper input::placeholder {
    color: #94a3b8;
}

.header-sub-row__desktop-search-autocomplete-popup--opened,
.header-sub-row__mobile-search-autocomplete-popup {
    top: calc(100% + 8px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.header-sub-row__cart a {
    align-items: center;
    gap: 10px;
}

.header-sub-row__cart-items-notification {
    width: 26px;
    height: 26px;
    background: #0f172a;
    box-shadow: none;
}

ul.PC-products-hover-dropdown-content {
    width: 1180px;
    padding: 18px;
    margin-top: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

li.PC-products-hover-dropdown-content__inside-menu {
    width: 188px;
}

.box-animation {
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.box-animation:hover {
    color: var(--base-primary-color);
    background: rgba(14, 165, 233, 0.08);
    transform: translateX(2px);
}

.header-nav-fly-out-nav-wrapper {
    width: 320px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    transform: translateX(-320px);
}

.header-nav-fly-out-nav-wrapper--visible {
    visibility: visible !important;
}

.header-nav-fly-out-nav-wrapper--opened {
    transform: translateX(0) !important;
}

.header-nav-fly-out-nav-wrapper--closed {
    transform: translateX(-320px) !important;
}

.header-nav-fly-out-nav-header {
    height: 82px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-nav-fly-out-nav-header__nav-list {
    gap: 8px;
    padding: 18px;
    background: #fff;
}

.header-nav-fly-out-nav-header__nav-list > a,
.MOBILE-header-wrapper-dropdown-products {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.header-nav-fly-out-nav-header__nav-item {
    height: 54px;
    padding: 0 18px;
    font-weight: 700;
}

.MOBILE-header-wrapper-dropdown-products {
    padding-right: 14px;
    align-items: center;
}

.MOBILE-header-wrapper-dropdown-products > a {
    flex: 1 1 auto;
}

.MOBILE-products-dropdown-content {
    margin: 8px 0 10px;
    padding: 8px 12px 10px 18px;
    border-radius: 18px;
    background: #f8fafc;
}

.MOBILE-products-dropdown-content__inside-menu-item {
    padding: 12px 0 8px;
    font-weight: 700;
}

.MOBILE-products-dropdown-content__inside-menu-item__plus-button,
#mobile-products-plus-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #fff;
    color: #334155;
}

.MOBILE-products-dropdown-content__inside-menu-subgroup-items {
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
}

.MOBILE-products-dropdown-content__inside-menu-subgroup-items:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--base-primary-color);
}

@media all and (min-width: 1200px) {
    .header-first-row-size-wrapper,
    .header-main-row-size-wrapper,
    .header-sub-row-size-wrapper {
        width: 100%;
        max-width: 1280px;
    }

    .header-sub-row__desktop-search {
        display: flex !important;
    }

    .header-sub-row__mobile-search-icon__search-opener,
    .header-sub-row__mobile-search {
        display: none !important;
    }
}

@media all and (max-width: 1199px) {
    .header-first-row-size-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        height: auto;
        padding: 8px 14px;
    }

    .header-first-row {
        height: auto;
    }

    .header-main-row,
    .header-nav-fly-out-nav-header {
        height: 76px;
    }

    .header-sub-row {
        min-height: 62px;
    }

    .header-sub-row__desktop-search {
        display: none !important;
    }

    .header-sub-row__mobile-search-icon__search-opener {
        display: inline-flex !important;
    }

    ul.PC-products-hover-dropdown-content {
        width: 1000px;
    }
}

@media all and (max-width: 767px) {
    .header-main-row-size-wrapper,
    .header-sub-row-size-wrapper {
        padding: 0 14px;
    }

    .header-main-row__logo,
    .header-main-row__logo img {
        max-width: 164px;
        max-height: 56px;
    }

    .header-nav-fly-out-nav-wrapper {
        width: 284px;
        transform: translateX(-284px);
    }

    .header-nav-fly-out-nav-wrapper--opened {
        transform: translateX(0) !important;
    }

    .header-nav-fly-out-nav-wrapper--closed {
        transform: translateX(-284px) !important;
    }

    .header-sub-row-container-wrapper {
        gap: 10px;
    }

    .header-sub-row__mobile-search--opened {
        margin: 10px;
        padding: 10px;
        border-radius: 18px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    }

    .header-sub-row__mobile-search__input-wrapper {
        min-height: 44px;
        margin: 0 8px;
        padding: 0 14px;
        border: 1px solid rgba(203, 213, 225, 0.95);
        border-radius: 999px;
        background: #f8fafc;
    }
}
