.shop-desktop-header {
    --header-accent: #96273d;
    --header-text: #29252a;
    --header-border: #eee5e8;
    position: relative;
    z-index: 45;
    background: #fff;
    color: var(--header-text);
}

.shop-desktop-header *,
.shop-desktop-header *::after,
.shop-desktop-header *::before {
    box-sizing: border-box;
}

.shop-desktop-header a {
    color: inherit;
    text-decoration: none;
}

.shop-desktop-header a:focus-visible,
.shop-desktop-header button:focus-visible {
    outline: 2px solid var(--header-accent);
    outline-offset: 3px;
}

.shop-header__row {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 0 auto;
}

.shop-header__icon {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-header__utility {
    border-bottom: 1px solid #f2e4e8;
    background: #fcf2f4;
    font-size: 13px;
}

.shop-header__utility > .shop-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    min-height: 35px;
}

.shop-desktop-header .shop-header__address,
.shop-desktop-header .shop-header__phone {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 29px;
    padding: 2px 0;
}

.shop-desktop-header .shop-header__phone {
    margin-left: auto;
}

.shop-header__phone strong {
    margin-left: 5px;
    color: var(--header-accent);
    font-weight: 600;
    white-space: nowrap;
}

.shop-header__utility .shop-header__icon {
    width: 17px;
    height: 17px;
    color: var(--header-accent);
}

.shop-header__address:hover > span,
.shop-header__phone:hover strong {
    text-decoration: underline;
}

.shop-header__brand-row {
    display: grid;
    grid-template-columns: 189px minmax(180px, 1fr) auto;
    align-items: center;
    column-gap: clamp(20px, 2.8vw, 42px);
    min-height: 77px;
    padding: 12px 0;
    border-bottom: 1px solid var(--header-border);
}

.shop-header__logo {
    display: block;
    line-height: 1;
}

.shop-header__logo img {
    display: block;
    width: 189px;
    height: 41px;
    object-fit: contain;
}

.shop-header__search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 44px;
    margin: 0;
    border: 1px solid #ded6da;
    border-radius: 9px;
}

.shop-header__search:focus-within {
    border-color: var(--header-accent);
    box-shadow: 0 0 0 2px #f7e8ec;
}

.shop-header__search > .shop-header__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 20px;
    height: 20px;
    color: #585159;
    transform: translateY(-50%);
    pointer-events: none;
}

.shop-header__search input.shop-header__keyword {
    display: block;
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 12px 0 41px;
    border: 0;
    border-radius: 8px 0 0 8px;
    outline: 0;
    background: #fff;
    color: var(--header-text);
    font: inherit;
    font-size: 14px;
    box-shadow: none;
}

.shop-header__search .shop-header__keyword::placeholder {
    color: #615860;
    opacity: 1;
}

.shop-header__search > button {
    min-width: 104px;
    padding: 0 15px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--header-accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.shop-header__search > button:hover {
    background: #772035;
}

.shop-header__actions,
.shop-header__account,
.shop-header__account > .shop-account-links {
    display: flex;
    align-items: center;
}

.shop-header__actions {
    gap: 16px;
}

.shop-header__account {
    gap: 7px;
    padding-right: 16px;
    border-right: 1px solid var(--header-border);
}

.shop-header__account > .shop-account-links {
    position: static;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 10px;
    white-space: nowrap;
}

.shop-header__account > .shop-account-links > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
}

.shop-header__account > .shop-account-links > a:hover {
    color: var(--header-accent);
}

.shop-desktop-header .shop-header__cart {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    min-height: 44px;
    min-width: 144px;
    padding: 0 12px;
    border: 1px solid #ecdce1;
    border-radius: 9px;
    background: #fff7f8;
    color: var(--header-accent);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.shop-desktop-header .shop-header__cart:hover {
    background: #f8e8ec;
}

.shop-header__count {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    border-radius: 11px;
    background: var(--header-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.shop-header__nav {
    border-bottom: 1px solid var(--header-border);
}

.shop-desktop-header ul.shop-header__categories {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    padding: 3px 0 0;
    list-style: none;
}

.shop-header__category {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.shop-desktop-header .shop-header__category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 3px 6px 2px;
    border-bottom: 2px solid transparent;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
}

.shop-header__category-link .shop-header__icon {
    color: var(--header-accent);
}

.shop-desktop-header .shop-header__category-link[aria-current],
.shop-header__category:hover > .shop-header__category-link,
.shop-header__category:focus-within > .shop-header__category-link {
    border-bottom-color: var(--header-accent);
    background: #fff4f6;
    color: var(--header-accent);
}

.shop-header__category > .shop-header__subcategory {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    display: none;
    width: 255px;
    max-height: 58vh;
    margin: 0;
    padding: 7px;
    overflow: auto;
    border: 1px solid var(--header-border);
    border-radius: 0 0 9px 9px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(49, 16, 24, .13);
    list-style: none;
}

.shop-header__category:last-child > .shop-header__subcategory {
    right: 0;
    left: auto;
}

.shop-header__category:not([data-submenu-dismissed]):is(:hover, :focus-within) > .shop-header__subcategory {
    display: block;
}

.shop-header__subcategory a {
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.shop-header__subcategory a:hover,
.shop-header__subcategory a:focus-visible {
    background: #fff4f6;
    color: var(--header-accent);
}

body.shop-header-enabled #breadcrumb {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 11px;
    width: 100%;
    min-height: 38px;
    margin: 15px 0;
    padding: 5px 13px;
    border: 1px solid #eee7ea;
    border-radius: 8px;
    background: #fff;
    color: #615860;
    font-size: 13px;
    list-style: none;
}

body.shop-header-enabled #breadcrumb li,
body.shop-header-enabled #breadcrumb li a {
    float: none;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    line-height: 1.45;
    white-space: normal;
}

body.shop-header-enabled #breadcrumb li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
}

body.shop-header-enabled #breadcrumb li:last-child {
    color: #96273d;
}

body.shop-header-enabled #breadcrumb li a:hover {
    text-decoration: underline;
}

body.shop-header-enabled #breadcrumb li a::before,
body.shop-header-enabled #breadcrumb li a::after,
body.shop-header-enabled #breadcrumb li .fa-home {
    display: none;
}

body.shop-header-enabled #breadcrumb li + li::before {
    position: static;
    display: inline-block;
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border: 0;
    border-top: 1px solid #8a7c81;
    border-right: 1px solid #8a7c81;
    background: none;
    content: "";
    transform: rotate(45deg);
}
