.off-canvas.is-active {
    z-index: 151 !important;
}

.header__child-nav__item {
    margin-bottom: 10px;
}

.overlay {
    z-index: 101 !important;
}

:root {
    --primary-color: #FCC340;
    --secondary-color: #e7a91c;
    --emergency-purple: #9B51E0;
    --text-gray: #666666;
    --text-dark: #333333;
    --donate-red: #D94F00;
    --badge-red: #E91E63;
    --white: #ffffff;
    --border-gray: #E5E7EB;
    --icon-color: #6B12300;
    --phone-purple: #8B4BB7;
    --system-font: "Din Next Slab", serif;
    --header-height: 90px;
    --mobile-header-height: 65px;
    --dropdown-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.2s;
    --gradient-stop-1: #7332AA;
    --gradient-stop-2: #431D64;
    --gradient-stop-3: #37145A;
    --mobile-nav-width: 80%;
    --dropdown-image-height: 270px;
}

.header__nav__link,
.header__nav__link::before,
.header__nav__link::after,
.header__nav__link--has-child,
.header__nav__link--has-child::before,
.header__nav__link--has-child::after {
    text-decoration: none !important;
}

.header__logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    outline: none !important;
}

.header__logo a:focus,
.header__logo a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
.header__logo img {
    max-width: 100%;
}
.header__nav__link:hover,
.header__nav__link:hover::before,
.header__nav__link:hover::after,
.header__nav__link:active,
.header__nav__link:active::before,
.header__nav__link:active::after,
.header__nav__link:focus,
.header__nav__link:focus::before,
.header__nav__link:focus::after,
.header__nav__link--has-child:hover,
.header__nav__link--has-child:hover::before,
.header__nav__link--has-child:hover::after,
.header__nav__link--has-child:active,
.header__nav__link--has-child:active::before,
.header__nav__link--has-child:active::after,
.header__nav__link--has-child:focus,
.header__nav__link--has-child:focus::before,
.header__nav__link--has-child:focus::after {
    text-decoration: none !important;
}

@media (max-width: 1200px) {
    :root {
        --header-height: 65px;
    }
}

.header__nav__link,
.header__nav__link:hover,
.header__nav__link:focus,
.header__nav__link:active,
.header__child-nav__link,
.header__child-nav__link:hover,
.header__child-nav__link:focus,
.header__child-nav__link:active,
.header__mobile-menu-link,
.header__mobile-menu-link:hover,
.header__mobile-menu-link:focus,
.header__mobile-menu-link:active,
.header__mobile-submenu-link,
.header__mobile-submenu-link:hover,
.header__mobile-submenu-link:focus,
.header__mobile-submenu-link:active {
    text-decoration: none !important;
}

.header__nav__link--emergency,
.header__nav__link--emergency:hover,
.header__nav__link--emergency:focus,
.header__nav__link--emergency:active,
.header__mobile-menu-link--emergency,
.header__mobile-menu-link--emergency:hover,
.header__mobile-menu-link--emergency:focus,
.header__mobile-menu-link--emergency:active {}

.header__nav__link *,
.header__child-nav__link *,
.header__mobile-menu-link *,
.header__mobile-submenu-link * {
    text-decoration: none !important;
}

.header__nav__link:focus-visible,
.header__mobile-menu-link:focus,
.header__mobile-menu-link:focus-visible,
.header__child-nav__link:focus,
.header__child-nav__link:focus-visible,
.header__mobile-submenu-link:focus,
.header__mobile-submenu-link:focus-visible,
.header__menu-toggle:focus,
.header__menu-toggle:focus-visible,
*:focus {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.header__nav__link:focus-visible,
.header__mobile-menu-link:focus-visible,
.header__child-nav__link:focus-visible,
.header__mobile-submenu-link:focus-visible,
.header__menu-toggle:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -2px;
    border-radius: 2px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 101;
    background:var(--primary-color);
    transition: opacity 0.3s ease, top 0.3s ease;
    opacity: 1;
    top: 0;
}

.header-wrapper.hidden {
    opacity: 0;
    top: -90px;
    pointer-events: none;
}

.header-container {
    background: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.header-wrapper.is-scrolled .header-container {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.header {
    width: 80%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    height: var(--header-height);
    background: var(--primary-color);
}

body {
    padding-top: var(--header-height);
    transition: padding-top 0.3s ease;
}

.header__logo {
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    background: transparent !important;
    height: 100%;
    display: flex;
    width: 56px;
}

.header__logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.header__logo svg {
    height: 80%;
    width: auto;
    max-height: 72px;
}

@media (min-width: 1201px) {
    .header {
        padding: 0 20px;
    }

    .header__nav {
        margin-left: 40px;
        display: flex;
        align-items: center;
        height: 100%;
        position: static;
        background: transparent !important;
    }

    .header__nav__list {
        display: flex;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
        height: 100%;
        background: transparent !important;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .header__nav__item {
        position: static;
        height: 100%;
        background: transparent !important;
        flex-shrink: 1;
        min-width: 0;
    }

    .header__nav__link {
        font-family: var(--system-font);
        font-size: 15px;
        color: var(--white);
        text-decoration: none;
        padding: 0.5rem 0.5rem;
        font-weight: 400;
        white-space: nowrap;
        transition: color var(--transition-speed) ease;
        display: flex;
        align-items: center;
        height: 100%;
        gap: 0.25rem;
        background: transparent !important;
        flex-shrink: 1;
        min-width: 0;
    }

    .header__nav__link:hover,
    .header__nav__link:focus {
        color: rgba(255, 255, 255, 0.8);
        background: transparent !important;
    }

    .nav-arrow {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        stroke-width: 1px;
        margin-left: 4px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .header__nav__link[data-active="true"] .nav-arrow {
        transform: rotate(180deg);
    }

    .header__child-nav {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        background: var(--secondary-color);
        padding: 2rem 0;
        z-index: 101;
    }

    .header__nav__link--has-child[data-active="true"]+.header__child-nav {
        display: block;
        animation: fadeDown 0.2s ease forwards;
    }

    .header__child-nav__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: none !important;
        margin: 0 auto !important;
        width: 80%;
        padding-left: 60px;
        padding-right: 2rem;
        gap: 3rem;
        align-items: start;
    }

    .header__child-nav__menu-section {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }

    .header__child-nav__title {
        color: #FFF;
        font-family: "DIN Next Slab";
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        margin: 0 0 2.5rem 0;
        padding: 0.75rem 0;
        text-transform: none;
        padding-left: 2rem;
    }

    .header__child-nav__image-section {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
        position: relative;
        padding-right: 5rem;
    }

    .header__child-nav__description {
        color: var(--white);
        font-size: 14px;
        margin: 0 0 1.5rem 0;
        line-height: 1.5;
        font-weight: 400;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .header__child-nav__image-section.no-image .header__child-nav__description:first-child {
        margin-top: 6rem;
    }

    .header__child-nav__image-section.no-image .header__child-nav__no-image-cta,
    .header__child-nav__image-section.no-image .header__child-nav__image-error-cta,
    .header__child-nav__image-section.no-image .header__child-nav__image-container.image-error .header__child-nav__image-error-cta {
        margin-top: 80px !important;
    }

    .header__child-nav__image-container+.header__child-nav__description {
        margin-top: 0.75rem;
    }

    .header__child-nav__no-image-cta,
    .header__child-nav__image-error-cta {
        margin-top: 0;
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .header__child-nav__image-container.image-error .header__child-nav__image-error-cta {
        position: static !important;
        display: flex !important;
        margin-top: 0;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    .header__child-nav__image-container.image-error {
        height: auto;
        min-height: auto;
        padding: 0;
        display: block;
        background: none;
        border-radius: 0;
        margin-top: 0.75rem;
    }

    .header__child-nav__image-container.image-error .header__child-nav__image {
        display: none;
    }

    .header__child-nav__image-container.image-error .button--outline-body {
        display: none;
    }

    .header__child-nav__image-container.image-error .header__child-nav__image-error-cta {
        position: static;
        display: flex;
        margin-top: 0;
        justify-content: flex-end;
        width: 100%;
    }

    .button--outline-body-no-image {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap !important;
        background: #FCC340;
        border: 1px solid #FCC340;
        color: var(--white);
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        text-transform: none;
        border-radius: 8px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        box-shadow: none;
        margin-left: 0;
        min-width: auto;
        width: auto;
    }

    .button--outline-body-no-image:hover {
        background:#FCC340;
        transform: translateY(-2px);
        box-shadow: none;
        color: var(--white);
    }

    .button--outline-body-no-image .nav-arrow {
        stroke-width: 2px;
        width: 16px;
        height: 16px;
        margin-left: 8px;
        flex-shrink: 0;
        stroke: currentColor;
    }

    .button--outline-body-no-image>* {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header__child-nav__image-container {
        position: relative;
        width: 100%;
        height: var(--dropdown-image-height);
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        margin-top: 0;
    }

    .header__child-nav__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .header__child-nav__image-container:hover .header__child-nav__image {
        transform: scale(1.05);
    }

    .header__child-nav__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .header__child-nav__link {
        color: var(--white);
        text-decoration: none;
        padding: 0.75rem 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        outline: none !important;
        background: transparent;
     
        font-weight: 400;
        transition: all 0.2s ease;
        border-left: none;
        padding-left: 0;
    }

    .header__child-nav__link:hover {
        padding-left: 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .header__child-nav__link::before {
        content: '';
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    .header__child-nav__link svg {
        width: 12px;
        height: 12px;
        stroke: var(--white);
        stroke-width: 2;
        flex-shrink: 0;
    }

    .button--outline-body {
        position: absolute;
        bottom: 20px;
        right: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap !important;
        background: #FCC340;
        border: 1px solid #FCC340;
        color: var(--white);
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        text-transform: none;
        border-radius: 8px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        box-shadow: none;
        z-index: 100;
        min-width: auto;
        width: auto;
    }

    .button--outline-body:hover {
        background: #FCC340;
        transform: translateY(-2px);
        box-shadow: none;
        color: var(--white);
    }

    .button--outline-body .nav-arrow {
        stroke-width: 2px;
        width: 16px;
        height: 16px;
        margin-left: 8px;
        flex-shrink: 0;
        stroke: currentColor;
    }

    .button--outline-body>* {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header__mobile-actions,
    .header__mobile-menu,
    .header__mobile-search,
    .header__menu-toggle,
    .header__mobile-account,
    .button--donate-mobile {
        display: none !important;
    }

    .header__mobile-search-close {
        display: none !important;
    }

    .header__mobile-overlay {
        display: none !important;
    }

    .header__actions {
        display: flex;
        align-items: center;
        margin-left: auto;
        height: 100%;
        background: transparent !important;
        gap: 10px;
        flex-shrink: 0;
    }

    .header__child-nav__close {
        position: absolute;
        top: 1rem;
        right: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: var(--white);
        text-decoration: none;
        transition: all 0.2s ease;
        z-index: 10;
    }

    .header__child-nav__close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    .header__child-nav__close svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        stroke-width: 2;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .header__child-nav__description {
        font-size: 0.95rem;
    }

    .header__child-nav__image-container {
        height: calc(var(--dropdown-image-height) * 0.95);
    }
}

@media (min-width: 1401px) and (max-width: 1600px) {
    .header__child-nav__description {
        font-size: 1rem;
    }

    .header__child-nav__image-container {
        height: var(--dropdown-image-height);
    }
}

@media (min-width: 1601px) {
    .header__child-nav__description {
    font-size: 16px;
    }

    .header__child-nav__image-container {
        height: calc(var(--dropdown-image-height) * 1.05);
    }
}

@media (max-width: 1200px) {
    .header__child-nav__title {
        display: none;
    }
}

.header__basket,
.__cart-items-count,
.notification {
    margin-bottom: 15px !important;
    margin-left: 8px !important;
}

.header__search {
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
}

.header__search svg {
    width: 24px;
    height: 24px;
    color: var(--white);
    cursor: pointer;
}

.header__search-form {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    width: 300px;
    display: none;
    z-index: 100;
    background: var(--white);
    border: 1px solid var(--border-gray);
    box-shadow: var(--dropdown-shadow);
    padding: 0.75rem;
}

.header__search-form input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-gray);
    font-size: 0.9375rem;
    font-family: var(--system-font);
}

.header__basket {
    position: relative;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.header__basket svg {
    width: 40px;
    height: 40px;
    color: var(--white);
    fill: currentColor;
}

.__cart-items-count {
    background: var(--badge-red);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-100%);
    margin: 0 !important;
}

@media (min-width: 1201px) {
    .header__basket {
        height: 24px;
        margin-top: 0;
    }

    .__cart-items-count {
        top: -8px;
        right: -8px;
        transform: none;
    }
}

.header__phone {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.header__phone-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.2s ease;
}

.header__phone-link:hover {
    opacity: none;
}

.header__phone-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
    stroke: currentColor;
    cursor: pointer;
}

.header__phone-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #f8f9fa;
    color: #000;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: var(--system-font);
}

.header__phone-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #f8f9fa;
}

.header__phone-link:hover .header__phone-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    .header__phone {
        display: none !important;
    }
}

.header__nav__link--has-child[data-pinned="true"] {
    background: rgba(255, 255, 255, 0.1);
}

.header__nav__link--has-child,
.header__child-nav {
    transition: all 0.2s ease;
}

.header__child-nav {
    pointer-events: auto;
}

.header__nav__link--has-child .nav-arrow {
    transition: transform 0.3s ease;
}

.header__nav__link--has-child[data-pinned="true"] .nav-arrow {
    transform: rotate(180deg);
    opacity: 0.8;
}

.header__account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: var(--dropdown-shadow);
    padding: 1rem;
    display: none;
    z-index: 101;
}

.header__account-dropdown.active {
    display: block;
    animation: fadeDown 0.2s ease forwards;
}

.header__account-dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header__account-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.header__account-button:hover {
        background: var(--donate-red);
}

.header__account-text {
    color: var(--text-dark);
    font-size: 0.9375rem;
    text-align: center;
    margin: 0.25rem 0;
}

.header__account-link {
    width: 100%;
    padding: 0.75rem;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.header__account-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.header__account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__account-menu-item {
    border-bottom: 1px solid var(--border-gray);
}

.header__account-menu-item:last-child {
    border-bottom: none;
}

.header__account-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    gap: 0.75rem;
}

.header__account-menu-link:hover {
    background: rgba(102, 45, 145, 0.05);
    color: var(--primary-color);
}

.header__account-menu-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.header__account-trigger {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.header__account {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    cursor: pointer;
    margin-right: 0;
}

.header__account svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.button--donate {
    background: var(--donate-red);
    color: var(--white);
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    font-family: var(--system-font);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(227, 38, 82, 0.2);
    display: flex;
    align-items: center;
    width: 100px;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.button--donate:hover {
    background-color: #cc234a;
}

.header__menu-toggle {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

.header__menu-toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.header__menu-toggle-hamburger,
.header__menu-toggle-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header__menu-toggle-close {
    opacity: 0;
    transform: rotate(-180deg);
}

.header__menu-toggle.active .header__menu-toggle-hamburger {
    opacity: 0;
    transform: rotate(180deg);
}

.header__menu-toggle.active .header__menu-toggle-close {
    opacity: 1;
    transform: rotate(0);
}

.logged_in_badge {
    position: relative !important;
    top: -10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    width: 32px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: var(--white) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border: 2px solid #FF5C00;
}

.header__nav__link:focus {
    outline: none !important;
    color: rgba(255, 255, 255, 0.8);
}

.header-wrapper.transitioning {
    pointer-events: none;
}

.header-wrapper.transitioning * {
    pointer-events: none;
}

.header-wrapper,
.header-container,
.header {
    width: 100% !important;
    box-sizing: border-box !important;
}

.header__child-nav,
.header__child-nav__inner {
    box-sizing: border-box !important;
    width: 100% !important;
}

.header__nav__link span,
.button--donate span {
    white-space: nowrap !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header {
        width: 90%;
        padding: 0 30px;
    }

    .header__nav {
        margin-left: 40px;
    }

    .header__nav__link {
        font-size: 0.95rem;
        gap: 0.25rem;
    }

    .nav-arrow {
        width: 14px;
        height: 14px;
    }

    .button--donate {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100px;
    }

    .header__child-nav__image-container {
        height: calc(var(--dropdown-image-height) * 0.9);
    }
}

@media (min-width: 1200px) {
    .header {
        padding: 0 30px;
    }

    .header__nav {
        margin-left: 60px;
    }

    .header__nav__link {
        font-size: 16px;
        padding: 0.5rem 0;
        gap: 0.5rem;
    }

    .header__actions {
        gap: 14px;
    }

    .button--donate {
        padding: 0.75rem 1.5rem;
        font-size: 16px;
        width: 120px;
    }

    .header__child-nav__inner {
        padding-left: 90px;
    }
}

@media (min-width: 1400px) {
    .header {
        padding: 0 40px;
    }

    .header__child-nav__inner {
        padding-left: 100px;
    }
}

@media (min-width: 1600px) {
    .header {
        padding: 0 50px;
    }

    .header__child-nav__inner {
        padding-left: 110px;
    }
}

.header__mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header__mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    .header-wrapper {
        background: linear-gradient(0deg, #7332AA 0%, #441D64 41.68%, #2E1444 100%);
        position: fixed;
        width: 100%;
        top: 0;
        transition: opacity 0.3s ease, top 0.3s ease;
    }

    .header-wrapper.hidden {
        opacity: 0;
        top: -65px;
    }

    .header-container {
        background: linear-gradient(0deg, #7332AA 0%, #441D64 41.68%, #2E1444 100%);
        box-shadow: none !important;
    }

    .header {
      
        padding: 0 1rem;
        display: flex;
        align-items: center;
        height: var(--mobile-header-height);
        width: 100%;
    }

    .header__menu-toggle {
        margin-right: 1rem;
        order: 1;
    }

    .header__menu-toggle-hamburger,
    .header__menu-toggle-close {
        stroke: white !important;
    }

    .header__logo {
        background: transparent !important;
        flex-shrink: 0;
        height: var(--mobile-header-height);
        margin-left: 0;
        margin-right: 1rem;
        width: auto;
        order: 2;
        min-width: 56px;
    }

    .header__logo svg {
        height: 70%;
        max-height: 45px;
    }

    .header__nav,
    .header__actions {
        display: none !important;
    }

    .header__mobile-actions {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        margin-left: auto;
        height: 100%;
        order: 3;
        min-width: 0;
        flex-shrink: 0;
    }

    .header__logo+.header__mobile-actions {
        margin-left: max(auto, 1rem);
    }

    .header__mobile-actions .header__search {
        order: 1;
        position: relative;
        display: flex;
        align-items: center;
        height: 24px;
        margin-right: 10px;
    }

    .header__mobile-actions .header__search svg {
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    .header__mobile-actions .header__search-form {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        z-index: 999;
        display: none;
        flex-direction: column;
    }

    .header__mobile-search-overlay-header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        position: relative;
        min-height: 60px;
    }

    .header__mobile-search-overlay-header::before {
        display: none;
    }

    .header__mobile-search-overlay-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

    .header__mobile-search-close {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8B5CF6;
        border-radius: 4px;
        margin-left: 0;
    }

    .header__mobile-search-close:hover {
        background-color: rgba(139, 92, 246, 0.1);
    }

    .header__mobile-search-close svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        stroke-width: 2;
    }

    .header__mobile-search-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex: 1;
        background: #f8f9fa;
    }

    .header__mobile-search-input-wrapper {
        margin-bottom: 30px;
    }

    .header__mobile-search-input-container {
        display: flex;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .header__mobile-search-overlay .header__mobile-search-input {
        width: 100%;
        padding: 16px 20px;
        border: none;
        border-radius: 0;
        font-size: 16px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: white;
        color: #7332AA !important;
        outline: none;
        flex: 1;
    }

    .header__mobile-search-overlay .header__mobile-search-input::placeholder {
        color: #ccc;
        font-size: 16px;
    }

    .header__mobile-search-overlay .header__mobile-search-input:focus {
        color: #7332AA !important;
    }

    .header__mobile-actions .header__search-form input[type="text"] {
        color: #7332AA !important;
    }

    .header__mobile-actions .header__search-form input[type="text"]:focus {
        color: #7332AA !important;
    }

    .header__mobile-actions .header__search-form input[type="text"]::placeholder {
        color: rgba(130, 105, 190, 0.50) !important;
    }

    .header__mobile-actions .header__search-form .mobile-search-override {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .header__mobile-actions .header__search-form .mobile-search-override input[type="text"] {
        max-width: none !important;
        width: 100% !important;
        flex: 1 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .header__mobile-actions .header__search-form .mobile-search-override input[type="submit"] {
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .header__mobile-actions .header__search-form .footer__form.simple-form {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .header__mobile-actions .header__search-form .footer__form.simple-form input[type="text"] {
        max-width: none !important;
        width: 100% !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .header__mobile-actions .header__search-form .footer__form.simple-form input[type="submit"] {
        flex-shrink: 0 !important;
    }

    .header__mobile-actions .header__search-form .footer__form {
        max-width: none !important;
        width: 100% !important;
    }

    .header__mobile-actions .header__search-form .simple-form {
        max-width: none !important;
        width: 100% !important;
    }

    .header__mobile-actions .header__search-form * {
        max-width: none !important;
    }

    .header__mobile-search-button {
        background: #7332AA;
        color: white;
        border: none;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 0;
        cursor: pointer;
        text-transform: uppercase;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        letter-spacing: 0.5px;
        transition: background-color 0.2s ease;
    }

    .header__mobile-search-button:hover {
        background: #5B2888;
    }

    .header__mobile-search-results-area {
        background: white;
        border-radius: 12px;
        flex: 1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 24px;
        overflow-y: auto;
    }

    .header__mobile-top-projects {
        margin-bottom: 0;
    }

    .header__mobile-top-projects-title {
        color: #8B5CF6;
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 24px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .header__mobile-projects-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .header__mobile-project-item {
        display: flex;
        align-items: center;
        padding: 16px 0;
        border-bottom: 1px solid #f3f4f6;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-radius: 8px;
        margin: 0 -12px;
        padding: 16px 12px;
    }

    .header__mobile-project-item:hover {
        background-color: rgba(139, 92, 246, 0.05);
    }

    .header__mobile-project-item:last-child {
        border-bottom: none;
    }

    .header__mobile-project-image {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        margin-right: 16px;
        object-fit: cover;
        flex-shrink: 0;
        background: #e5e7eb;
    }

    .header__mobile-project-name {
        color: #8B5CF6;
        font-size: 16px;
        font-weight: 500;
        flex: 1;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        line-height: 1.4;
    }

    .header__mobile-actions .header__basket {
        order: 2;
        border: none !important;
        height: auto !important;
        padding: 0 !important;
        position: relative;

    }

    .header__mobile-actions .header__basket svg {
        color: white !important;
        fill: white !important;
        width: 37px;
        height: 37px;
    }

    .button--donate-mobile {
        order: 3;
        background: var(--donate-red) !important;
        color: white !important;
        padding: 0.5rem 1rem;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.01em;
        border-radius: 4px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        margin-right: 2px;
    }

    .__cart-items-count {
        background: var(--badge-red) !important;
        color: white !important;
        position: absolute;
        top: -8px !important;
        right: -8px !important;
        transform: none !important;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8125rem;
        font-weight: 600;
        margin: 0 !important;
    }

    .header__mobile-menu {
        background: var(--white) !important;
        position: fixed;
        top: 0;
        left: -100%;
        width: var(--mobile-nav-width);
        height: 100vh;
        z-index: 106;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .header__mobile-menu::-webkit-scrollbar {
        display: none;
    }

    .header__mobile-menu.active {
        left: 0;
    }

    .header__mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        padding-top: calc(var(--mobile-header-height) / 2);
    }

    .header__mobile-menu-item {
        border-bottom: 1px solid rgba(230, 230, 230, 0.5);
        padding: 0;
        margin: 0;
    }

    .header__mobile-menu-item:last-child {
        border-bottom: none;
    }

    .header__mobile-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
        color: #8269BE80 !important;
        background: transparent;
        border: none;
        /*width: 100%;*/
                width: auto;
        position: relative;
        transition: background-color 0.2s ease;
    }

    .header__mobile-menu-link:hover {
        background-color: rgba(115, 50, 170, 0.05);
    }

    .header__mobile-menu-link span {
        color: var(--primary-color) !important;
        flex: 1;
        text-align: left;
        font-weight: 400;
    }

    .header__mobile-nav-arrow {
        width: 16px !important;
        height: 16px !important;
        stroke: rgba(130, 105, 190, 0.5) !important;
        stroke-width: 2;
        transform: rotate(0deg) !important;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .header__mobile-menu-link[data-active="true"] .header__mobile-nav-arrow {
        transform: rotate(90deg) !important;
    }

    .header__mobile-nav-icon {
        display: none !important;
    }

    .header__mobile-submenu {
        display: none;
        background: #8269BE;
        padding: 0;
    }

    .header__mobile-submenu.active {
        display: block;
        animation: fadeDown 0.2s ease forwards;
    }

    .header__mobile-submenu-title {
        display: none;
    }

    .header__mobile-submenu-description {
        display: none;
    }

    .header__mobile-submenu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .header__mobile-submenu-item {
                border-bottom: 1px solid rgba(255, 255, 255, 0.9);
        margin: 0;
    }

    .header__mobile-submenu-item:last-child {
        border-bottom: none;
    }

    .header__mobile-submenu-master {
            border-bottom: 1px solid rgba(255, 255, 255, 0.9);
        margin: 0;
    }

    .header__mobile-submenu-link {
        color: var(--white);
        text-decoration: none;
        display: block;
        padding: 16px;
        font-size: 16px;
        font-weight: 400;
        background: #FCC340;
        width: 100%;
        transition: background-color 0.2s ease;
        text-align: center;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }

    .header__mobile-submenu-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .header__mobile-submenu-master-link {
        color: var(--white);
        text-decoration: none;
        display: block;
        padding: 16px;
        font-size: 16px;
        font-weight: 600;
        background:#FCC340;
        width: 100%;
        transition: background-color 0.2s ease;
        text-align: center;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }

    .header__mobile-submenu-master-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .header__mobile-submenu-link::before {
        display: none;
    }

    .header__mobile-account {
        padding: 32px 24px 0 24px;
        text-align: center;
        background: var(--white);
        border-top: none;
    }

    .header__mobile-signin {
        display: block;
        width: 100%;
        padding: 16px;
        background-color:#FCC340;
        color: var(--white);
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        border-radius: 8px;
        text-transform: none;
        margin-bottom: 16px;
        text-align: center;
        border: none;
        transition: background-color 0.2s ease;
    }

    .header__mobile-signin:hover {
        background-color:#FCC340;
    }

    .header__mobile-register {
        text-align: center;
        margin-bottom: 0;
    }

    .header__mobile-register-text {
        display: none;
    }

    .header__mobile-register-link {
        display: block;
        width: 100%;
        padding: 16px;
        color: #FCC340;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        border: 2px solid #FCC340;
        border-radius: 8px;
        text-transform: none;
        text-align: center;
        transition: all 0.2s ease;
        background: transparent;
    }

    .header__mobile-register-link:hover {
        background-color:#FCC340;
        color: var(--white);
    }

    .header__mobile-account.header__mobile-account--signed-in {
        padding: 0;
    }

    .header__mobile-account-header {
        display: flex;
        align-items: center;
        padding: 24px;
        background: rgba(115, 50, 170, 0.05);
        margin-bottom: 0;
    }

    .header__mobile-account-badge {
        width: 40px;
        height: 40px;
        background: #FCC340;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-weight: 600;
        font-size: 16px;
        margin-right: 16px;
        border: 2px solid #FF5C00;
    }

    .header__mobile-account-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .header__mobile-account-item {
        border-bottom: 1px solid var(--border-gray);
    }

    .header__mobile-account-item:last-child {
        border-bottom: none;
    }

    .header__mobile-account-link {
        display: flex;
        align-items: center;
        padding: 16px 24px;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 16px;
        transition: all 0.2s ease;
    }

    .header__mobile-account-link:hover {
        background: rgba(115, 50, 170, 0.05);
        color: #FCC340;
    }

    .header__mobile-account-icon {
        width: 24px;
        height: 24px;
        margin-right: 16px;
        color: #FCC340;
    }

    .header__mobile-phone {
        text-align: center;
        padding: 32px 24px;
        background: var(--white);
        border-top: 1px solid rgba(230, 230, 230, 0.5);
    }

    .header__mobile-phone-number {
        color: #FCC340;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        display: block;
        transition: color 0.2s ease;
    }

    .header__mobile-phone-number:hover {
        color: #FCC340;
    }

    .header__mobile-search {
        display: none !important;
    }

    .button--outline-body-mobile {
        display: none !important;
    }

    .header__mobile-menu-list>.header__mobile-menu-item>.header__mobile-menu-link {
        position: relative !important;
        padding-right: 24px !important;
    }

    .header__mobile-menu-list>.header__mobile-menu-item>.header__mobile-menu-link .header__mobile-nav-arrow {
        position: absolute !important;
        right: 24px !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(0deg) !important;
    }

    .header__mobile-menu-list>.header__mobile-menu-item>.header__mobile-menu-link[data-active="true"] .header__mobile-nav-arrow {
        transform: translateY(-50%) rotate(90deg) !important;
    }

    .logged_in_badge {
        width: 32px;
        height: 32px;
        background: var(--white);
        border-radius: 50%;
        color: var(--primary-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 2px solid #FF5C00;
    }
}

@media (max-width: 768px) {
    .header__child-nav__image-container {
        height: calc(var(--dropdown-image-height) * 0.8);
    }
}

@media (max-width: 375px) {
    .header {
        padding: 0 0.75rem;
    }

    .header__logo {
        margin-right: 0.75rem;
    }

    .header__mobile-actions {
        gap: 0.5rem;
    }

    .header__mobile-actions .header__search {
        margin-right: 8px;
    }

    .button--donate-mobile {
        margin-right: 2px;
    }
}

@media (max-width: 320px) {
    .header {
        padding: 0 0.5rem;
    }

    .header__logo {
        margin-right: 0.5rem;
    }

    .header__mobile-actions {
        gap: 0.25rem;
    }

    .header__mobile-actions .header__search {
        margin-right: 5px;
    }

    .button--donate-mobile {
        margin-right: 0px;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hidden {
    display: none !important;
}



@media (min-width: 1440px) {
    .header__nav__item:not(:last-of-type) {
        margin-right: 40px;
    }
}

@media (min-width: 1200px) {
    .header__nav__item:not(:last-of-type) {
        margin-right: 20px;
    }
}

@media (min-width: 1024px) {
    .header__nav__item:not(:last-of-type) {
        margin-right: 20px;
    }
}