.site-header {
    position: relative;
    z-index: 50;
    flex: 0 0 auto;
    color: var(--at-color-text);
    background: rgba(5, 8, 10, 0.96);
    border-bottom: 0;
}

.site-header__top {
    height: var(--at-header-top-height);
    min-height: var(--at-header-top-height);
    font-size: 13px;
    color: var(--at-color-muted);
    background: rgba(0, 0, 0, 0.24);
}

.site-header__top-inner {
    min-height: var(--at-header-top-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 72px);
}

.site-header__top-section {
    min-width: 0;
    display: flex;
    align-items: center;
}

.site-header__top-section--nav {
    flex: 1 1 auto;
    justify-content: flex-start;
}

.site-header__top-section--social {
    flex: 0 0 auto;
    justify-content: center;
}

.site-header__top-section--phone {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.site-header__top-nav,
.site-header__main-nav {
    min-width: 0;
}

.site-header__top-menu,
.site-header__main-menu,
.site-header__top-nav ul,
.site-header__main-nav ul,
.at-social {
    display: flex !important;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-header__top-menu li,
.site-header__main-menu li,
.site-header__top-nav li,
.site-header__main-nav li,
.at-social li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__top-menu,
.site-header__top-nav ul {
    flex-flow: row nowrap;
    gap: clamp(18px, 2.25vw, 34px);
    white-space: nowrap;
}

.site-header__top-menu a,
.site-header__top-nav a {
    display: inline-flex;
    align-items: center;
    color: var(--at-color-muted);
}

.site-header__top-menu a:hover,
.site-header__top-menu a:focus-visible,
.site-header__top-nav a:hover,
.site-header__top-nav a:focus-visible {
    color: var(--at-color-text);
}

.at-social {
    flex-flow: row nowrap;
    justify-content: center;
    gap: 12px;
}

.at-social__link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.82;
}

.at-social__link:hover,
.at-social__link:focus-visible {
    opacity: 1;
}

.at-social__link--empty {
    opacity: 0.38;
}

.at-social__icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-header__social .at-social__link,
.site-header__social .at-social__icon {
    width: 32px;
    height: 32px;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--at-color-muted);
    white-space: nowrap;
    font-size: 16px;
}

.site-header__phone-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.site-header__phone-number {
    color: var(--at-color-text);
}

.site-header__bottom {
    min-height: var(--at-header-main-height);
}

.site-header__bottom-inner {
    min-height: var(--at-header-main-height);
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.45vw, 22px);
}

.site-header__logo {
    width: 95px;
    min-width: 75px;
    display: inline-flex;
    align-items: center;
}

.site-header__logo__img,
.site-footer__logo__img {
    width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.site-header__catalog-button {
    min-width: 132px;
    min-height: 42px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--at-color-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--at-color-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header__catalog-button:hover,
.site-header__catalog-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: var(--at-color-text);
}

.site-header__catalog-button small {
    display: block;
    color: var(--at-color-muted);
    font-size: 9px;
    font-weight: 600;
}

.site-header__catalog-lines,
.site-header__catalog-lines::before,
.site-header__catalog-lines::after {
    width: 14px;
    height: 2px;
    display: block;
    border-radius: 4px;
    background: currentColor;
}

.site-header__catalog-lines {
    position: relative;
}

.site-header__catalog-lines::before,
.site-header__catalog-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-header__catalog-lines::before {
    top: -5px;
}

.site-header__catalog-lines::after {
    bottom: -5px;
}

.site-header__nav-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}

.site-header__search {
    position: relative;
    flex: 1 1 660px;
    min-width: 480px;
    max-width: 760px;
}

.site-header__search-form {
    position: relative;
    width: 100%;
}

.site-header__search .dgwt-wcas-search-wrapp {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

.site-header__search .dgwt-wcas-search-form,
.site-header__search .dgwt-wcas-sf-wrapp {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-header__search .dgwt-wcas-sf-wrapp::before,
.site-header__search .dgwt-wcas-sf-wrapp::after {
    display: none !important;
}

.site-header__search-input,
.site-header__search .dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search input[type="search"] {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 64px 0 24px !important;
    border: 1px solid var(--at-color-line) !important;
    border-radius: 999px !important;
    outline: none !important;
    color: var(--at-color-text) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    line-height: 52px !important;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--at-transition), background-color var(--at-transition), box-shadow var(--at-transition);
}

.site-header__search-input::placeholder,
.site-header__search .dgwt-wcas-search-input::placeholder,
.site-header__search input[type="search"]::placeholder {
    color: var(--at-color-muted-2) !important;
    opacity: 1 !important;
}

.site-header__search-input:focus,
.site-header__search .dgwt-wcas-search-input:focus,
.site-header__search input[type="search"]:focus {
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04) !important;
}

.site-header__search-submit,
.site-header__search .dgwt-wcas-search-submit,
.site-header__search button[type="submit"] {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    left: auto !important;
    z-index: 2 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--at-color-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transform: translateY(-50%) !important;
}

.site-header__search-submit::before,
.site-header__search-submit::after,
.site-header__search .dgwt-wcas-search-submit::before,
.site-header__search .dgwt-wcas-search-submit::after {
    display: none !important;
}

.site-header__search-icon,
.site-header__search .dgwt-wcas-ico-magnifier,
.site-header__search .dgwt-wcas-search-submit svg {
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: auto !important;
    opacity: 0.9;
    fill: currentColor !important;
    color: currentColor !important;
}

.site-header__main-nav {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 0;
}

.site-header__main-menu,
.site-header__main-nav ul {
    flex-flow: row nowrap;
    justify-content: flex-end;
    gap: clamp(16px, 1.6vw, 30px);
    white-space: nowrap;
}

.site-header__main-menu a,
.site-header__main-nav a {
    display: inline-flex;
    align-items: center;
    color: var(--at-color-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.site-header__main-menu a:hover,
.site-header__main-menu a:focus-visible,
.site-header__main-nav a:hover,
.site-header__main-nav a:focus-visible {
    color: var(--at-color-muted);
}

.site-header__menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--at-color-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--at-color-text);
    cursor: pointer;
}

.site-header__menu-toggle-line {
    width: 18px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 4px;
    background: currentColor;
    transition: transform var(--at-transition), opacity var(--at-transition);
}

body.at-menu-open {
    overflow: hidden;
}


/* Header hardening: WordPress menu and FiboSearch plugins may add their own wrappers/classes. */
.site-header .site-header__top-nav > ul,
.site-header .site-header__top-nav > div > ul,
.site-header .site-header__top-nav ul.menu,
.site-header .site-header__top-nav .menu,
.site-header .site-header__main-nav > ul,
.site-header .site-header__main-nav > div > ul,
.site-header .site-header__main-nav ul.menu,
.site-header .site-header__main-nav .menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.site-header .site-header__top-nav > div,
.site-header .site-header__main-nav > div {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
}

.site-header .site-header__top-nav li,
.site-header .site-header__main-nav li {
    display: inline-flex !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.site-header .site-header__top-nav a,
.site-header .site-header__main-nav a {
    display: inline-flex !important;
    width: auto !important;
    white-space: nowrap !important;
    font-size: 16px;
}

.site-header .site-header__top-nav > ul,
.site-header .site-header__top-nav > div > ul,
.site-header .site-header__top-nav ul.menu,
.site-header .site-header__top-nav .menu {
    justify-content: flex-start !important;
    gap: clamp(18px, 2.25vw, 34px) !important;
}

.site-header .site-header__main-nav > ul,
.site-header .site-header__main-nav > div > ul,
.site-header .site-header__main-nav ul.menu,
.site-header .site-header__main-nav .menu {
    justify-content: flex-end !important;
    gap: clamp(16px, 1.6vw, 30px) !important;
}

.site-header__search .dgwt-wcas-search-wrapp,
.site-header__search .dgwt-wcas-search-form,
.site-header__search .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 66px 0 26px !important;
    border: 1px solid var(--at-color-line) !important;
    border-radius: 999px !important;
    outline: none !important;
    color: var(--at-color-text) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    line-height: 52px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
    color: var(--at-color-muted-2) !important;
    opacity: 1 !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 4 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--at-color-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    position: static !important;
    inset: auto !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    display: block !important;
    margin: 0 !important;
    color: currentColor !important;
    fill: currentColor !important;
    opacity: 0.95 !important;
    transform: none !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp > svg.dgwt-wcas-ico-magnifier,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp > .dgwt-wcas-ico-magnifier {
    position: absolute !important;
    top: 50% !important;
    right: 24px !important;
    left: auto !important;
    z-index: 3 !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    color: var(--at-color-text) !important;
    fill: currentColor !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
}

.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader {
    right: 52px !important;
    left: auto !important;
}

.site-header__menu-close {
    display: none !important;
}


/* Fix: search height 42px, desktop close button hard hide, mobile cart button. */
.site-header__search,
.site-header__search-form,
.site-header__search .dgwt-wcas-search-wrapp,
.site-header__search .dgwt-wcas-search-form,
.site-header__search .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp {
    height: 42px !important;
    min-height: 42px !important;
}

.site-header__search-input,
.site-header__search .dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search input[type="search"],
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    height: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-header__search-submit,
.site-header__search .dgwt-wcas-search-submit,
.site-header__search button[type="submit"],
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-solaris .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.site-header__search .dgwt-wcas-style-classic .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    right: 8px !important;
}

.site-header__search-icon,
.site-header__search .dgwt-wcas-ico-magnifier,
.site-header__search .dgwt-wcas-search-submit svg,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp > svg.dgwt-wcas-ico-magnifier,
.site-header__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp > .dgwt-wcas-ico-magnifier {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
}

.site-header__menu-close,
.site-header__menu-close-line {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.dgwt-wcas-suggestions-wrapp{
    background-color: var(--at-color-bg-card) !important;
    border-color: var(--at-color-bg-card) !important;
    border-radius: 25px
}

.woocommerce-Price-amount.amount{
    font-size: 20px !important;
    color: white;
}

.dgwt-wcas-suggestion-selected{
    background-color: var(--at-color-bg);
}

.dgwt-wcas-st{
    color: var(--at-color-text);
}
/* Header order updates: phone in the middle, messengers/actions on the right. */
.site-header__top-section--phone {
    justify-content: center;
}

.site-header__top-section--social {
    justify-content: flex-end;
}

.site-header__burger-nav,
.site-header__burger-social {
    display: none;
}

.site-header__social {
    justify-content: flex-end;
}

.at-social__item--cart .at-social__icon,
.at-social__item--account .at-social__icon {
    width: 28px;
    height: 28px;
}

.at-social__item--cart .at-social__icon {
    filter: invert(1);
}

/* Corrections: desktop header action icons and burger social icons. */
@media (min-width: 761px) {
    .site-header__social .at-social__item--cart .at-social__link,
    .site-header__social .at-social__item--account .at-social__link {
        opacity: 0.5;
    }

    .site-header__social .at-social__item--cart .at-social__link:hover,
    .site-header__social .at-social__item--cart .at-social__link:focus-visible,
    .site-header__social .at-social__item--account .at-social__link:hover,
    .site-header__social .at-social__item--account .at-social__link:focus-visible {
        opacity: 1;
    }
}

.site-header__burger-social-list .at-social__link,
.site-header__burger-social-list .at-social__link:hover,
.site-header__burger-social-list .at-social__link:focus-visible {
    opacity: 1;
}

.site-header__burger-social-list .at-social__icon {
    opacity: 1;
    filter: none;
}
