/* =========================================================
   NG - PROFESSIONAL LIGHTWEIGHT HEADER
   ========================================================= */

.ng-site-header,
.ng-site-header *,
.ng-mobile-header,
.ng-mobile-header * {
    box-sizing: border-box;
}

.ng-site-header {
    width: 100%;
    direction: rtl;
    background: #fff;
    color: #29211d;
    position: sticky;
    top: 0;
    z-index: 99999;
    font-family: inherit;
}


/* =========================================================
   DESKTOP MAIN HEADER
   ========================================================= */

.ng-header-main {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee7e2;
}

.ng-header-container {
    width: min(1240px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 18px;
}


/* =========================================================
   LOGO
   ========================================================= */

.ng-logo {
    flex: 0 0 160px;
    width: 160px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;
    color: #5a3929;

    overflow: hidden;
}

.ng-logo .custom-logo-link {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-logo img,
.ng-logo .custom-logo {
    display: block;

    width: auto;
    height: auto;

    max-width: 145px;
    max-height: 46px;

    object-fit: contain;
}

.ng-logo-text {
    color: #5a3929;

    font-size: 19px;
    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   DESKTOP SEARCH
   ========================================================= */

.ng-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 650px;

    height: 46px;

    margin: 0;
    padding: 0;

    position: relative;

    display: flex;
    align-items: center;

    background: #f6f3f1;
    border: 1px solid #ebe3dd;

    border-radius: 11px;

    overflow: hidden;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.ng-search:focus-within {
    background: #fff;

    border-color: #c9aa94;

    box-shadow:
        0 0 0 3px rgba(200,121,65,.08);
}

.ng-search input[type="search"] {
    width: 100%;
    height: 46px;

    margin: 0;

    padding: 0 16px 0 52px;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #332923;

    font-family: inherit;
    font-size: 13px;
}

.ng-search input[type="search"]::placeholder {
    color: #958b84;
}

.ng-search button {
    position: absolute;

    left: 0;
    top: 0;

    width: 48px;
    height: 46px;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: #5a3929;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-search button svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.ng-header-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 4px;
}

.ng-header-action {
    min-width: 100px;
    height: 44px;

    padding: 0 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 9px;

    color: #40342e;

    text-decoration: none !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.ng-header-action:hover {
    background: #f7f2ee;
    color: #5a3929;

    transform: translateY(-1px);
}

.ng-header-action > svg {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
}

.ng-header-action > span:not(.ng-cart-icon-wrap) {
    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   CART
   ========================================================= */

.ng-cart-icon-wrap {
    width: 24px;
    height: 24px;

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ng-cart-icon-wrap svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
}

.ng-cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    border-radius: 20px;

    background: #c87941;
    color: #fff;

    font-size: 9px;
    line-height: 17px;

    text-align: center;

    font-weight: 700;
}


/* =========================================================
   PROMO BAR
   ========================================================= */

.ng-promo-bar {
    width: 100%;
    height: 38px;

    background:
        linear-gradient(
            90deg,
            #4d2e21 0%,
            #67402d 50%,
            #4d2e21 100%
        );

    color: #fff;

    overflow: hidden;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ng-promo-inner {
    width: min(1240px, calc(100% - 32px));
    height: 38px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.ng-promo-icon {
    width: 34px;
    height: 28px;

    flex: 0 0 34px;

    margin-left: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #f1c69f;

    border-left: 1px solid rgba(255,255,255,.15);
}

.ng-promo-icon svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
}

.ng-promo-window {
    flex: 1 1 auto;

    min-width: 0;

    overflow: hidden;
}

.ng-promo-track {
    width: max-content;
    min-width: 100%;

    display: flex;
    align-items: center;

    white-space: nowrap;

    animation:
        ng-promo-scroll 22s linear infinite;
}

.ng-promo-item {
    display: flex;
    align-items: center;

    gap: 11px;

    direction: rtl;

    font-size: 11px;
}

.ng-promo-item strong {
    color: #ffd5ad;

    font-size: 12px;
    font-weight: 800;
}

.ng-promo-item span {
    color: #fff;

    font-weight: 400;
}

.ng-promo-item b {
    color: #ffe0bf;

    font-weight: 800;
}

.ng-promo-separator {
    padding: 0 32px;

    color: #dca77b;

    font-size: 13px;
}


/* =========================================================
   PROMO ANIMATION
   ========================================================= */

@keyframes ng-promo-scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

.ng-mobile-header {
    display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ng-header-container {
        width: calc(100% - 24px);

        gap: 10px;
    }

    .ng-logo {
        flex-basis: 135px;
        width: 135px;
    }

    .ng-logo img,
    .ng-logo .custom-logo {
        max-width: 125px;
    }

    .ng-header-action {
        min-width: auto;

        padding: 0 7px;
    }

    .ng-header-action > span:not(.ng-cart-icon-wrap) {
        font-size: 11px;
    }

    .ng-promo-inner {
        width: calc(100% - 24px);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .ng-site-header {
        top: 0;
    }

    body.admin-bar .ng-site-header {
        top: 46px;
    }

    .ng-header-main {
        display: none;
    }
.ng-mobile-promo {
    display: none !important;
}


    /* -----------------------------------------------------
       MOBILE WRAPPER
       ----------------------------------------------------- */

    .ng-mobile-header {
        display: block;

        width: 100%;

        background: #fff;

        border-bottom: 1px solid #eee7e2;

        direction: rtl;
    }


    /* -----------------------------------------------------
       MOBILE TOP
       ----------------------------------------------------- */

    .ng-mobile-top {
        width: 100%;

        min-height: 60px;

        padding: 0 10px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 8px;
    }


    /* -----------------------------------------------------
       MOBILE MENU
       ----------------------------------------------------- */

    .ng-mobile-menu {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        position: relative;
    }

    .ng-mobile-menu summary {
        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        list-style: none;

        cursor: pointer;

        border-radius: 9px;

        color: #5a3929;

        transition: background .2s ease;
    }

    .ng-mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .ng-mobile-menu summary svg {
        width: 21px;
        height: 21px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.8;
    }

    .ng-mobile-menu[open] summary {
        background: #f5f0ec;
    }


    /* -----------------------------------------------------
       MOBILE MENU PANEL
       ----------------------------------------------------- */

    .ng-mobile-menu-panel {
        position: absolute;

        top: 46px;
        right: 0;

        width: min(300px, calc(100vw - 20px));

        padding: 8px;

        background: #fff;

        border: 1px solid #e9e1db;

        border-radius: 13px;

        box-shadow:
            0 14px 40px rgba(45,31,24,.16);

        animation: ng-menu-show .18s ease;
    }

    @keyframes ng-menu-show {

        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }

    .ng-mobile-menu-title {
        min-height: 42px;

        padding: 0 10px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        border-bottom: 1px solid #eee7e2;

        color: #5a3929;

        font-size: 12px;
        font-weight: 800;
    }

    .ng-menu-close-hint {
        color: #a2948b;

        font-size: 9px;
        font-weight: 500;
    }

    .ng-mobile-menu-panel a {
        min-height: 42px;

        display: flex;
        align-items: center;

        padding: 0 11px;

        color: #40342e !important;

        text-decoration: none !important;

        font-size: 12px;

        border-radius: 8px;

        transition:
            background .15s ease,
            color .15s ease;
    }

    .ng-mobile-menu-panel a:hover {
        background: #f7f2ee;

        color: #5a3929 !important;
    }

    .ng-mobile-menu-panel a + a {
        margin-top: 2px;
    }

    .ng-mobile-menu-home,
    .ng-mobile-menu-account {
        gap: 8px;
    }

    .ng-mobile-menu-home svg,
    .ng-mobile-menu-account svg {
        width: 17px;
        height: 17px;

        flex: 0 0 17px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.7;
    }


    /* -----------------------------------------------------
       MOBILE LOGO
       ----------------------------------------------------- */

    .ng-mobile-logo {
        flex: 1 1 auto;

        min-width: 0;

        height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        text-decoration: none !important;

        overflow: hidden;
    }

    .ng-mobile-logo .custom-logo-link {
        display: flex;

        align-items: center;
        justify-content: center;

        max-width: 100%;
        max-height: 46px;
    }

    .ng-mobile-logo img,
    .ng-mobile-logo .custom-logo {
        display: block;

        width: auto;
        height: auto;

        max-width: 135px;
        max-height: 40px;

        object-fit: contain;
    }

    .ng-mobile-logo .ng-logo-text {
        font-size: 16px;
    }


    /* -----------------------------------------------------
       MOBILE CART
       ----------------------------------------------------- */

    .ng-mobile-cart {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: #5a3929;

        text-decoration: none !important;

        border-radius: 9px;
    }

    .ng-mobile-cart:hover {
        background: #f5f0ec;
    }


    /* -----------------------------------------------------
       MOBILE SEARCH
       ----------------------------------------------------- */

    .ng-mobile-search {
        width: calc(100% - 20px);

        height: 42px;

        margin: 0 10px 9px;

        padding: 0;

        position: relative;

        display: flex;
        align-items: center;

        background: #f6f3f1;

        border: 1px solid #ebe3dd;

        border-radius: 9px;

        overflow: hidden;
    }

    .ng-mobile-search input[type="search"] {
        width: 100%;
        height: 42px;

        margin: 0;

        padding: 0 13px 0 45px;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        box-shadow: none !important;

        font-family: inherit;

        font-size: 12px;

        color: #332923;
    }

    .ng-mobile-search button {
        position: absolute;

        left: 0;
        top: 0;

        width: 43px;
        height: 42px;

        padding: 0;

        border: 0;

        background: transparent;

        color: #5a3929;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ng-mobile-search button svg {
        width: 19px;
        height: 19px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.8;
    }


    /* -----------------------------------------------------
       MOBILE PROMO
       ----------------------------------------------------- */

    .ng-mobile-promo {
        width: 100%;
        height: 34px;

        display: flex;
        align-items: center;

        background:
            linear-gradient(
                90deg,
                #4d2e21,
                #67402d,
                #4d2e21
            );

        color: #fff;

        overflow: hidden;
    }

    .ng-mobile-promo-icon {
        width: 35px;
        height: 24px;

        flex: 0 0 35px;

        margin-left: 5px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: #f1c69f;

        border-left: 1px solid rgba(255,255,255,.14);
    }

    .ng-mobile-promo-icon svg {
        width: 17px;
        height: 17px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.6;
    }

    .ng-mobile-promo-window {
        flex: 1 1 auto;

        min-width: 0;

        overflow: hidden;
    }

    .ng-mobile-promo-track {
        width: max-content;

        display: flex;
        align-items: center;

        gap: 11px;

        white-space: nowrap;

        animation:
            ng-mobile-promo-scroll 18s linear infinite;

        font-size: 9px;
    }

    .ng-mobile-promo-track span {
        color: #fff;

        font-weight: 500;
    }

    .ng-mobile-promo-track b {
        color: #ffd5ad;

        font-weight: 800;
    }

    .ng-mobile-promo-track i {
        color: #ffe0bf;

        font-style: normal;

        font-weight: 800;
    }

    .ng-mobile-promo-track em {
        color: #dca77b;

        font-style: normal;

        padding: 0 8px;
    }

    @keyframes ng-mobile-promo-scroll {

        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(50%);
        }

    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .ng-mobile-top {
        padding-left: 7px;
        padding-right: 7px;
    }

    .ng-mobile-search {
        width: calc(100% - 14px);

        margin-left: 7px;
        margin-right: 7px;
    }

    .ng-mobile-logo img,
    .ng-mobile-logo .custom-logo {
        max-width: 120px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ng-promo-track,
    .ng-mobile-promo-track {
        animation: none !important;
        transform: none !important;
    }

}