.mx-header-2 {
    --mx-header-bg: rgba(0,0,0,.90);
    --mx-header-red: #e01818;
    --mx-header-white: #ffffff;
    --mx-header-line: rgba(255,255,255,.16);
    --mx-header-height: 76px;

    height: var(--mx-header-height);
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 34px;

    padding: 0 42px;
    background: var(--mx-header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);

    color: var(--mx-header-white);
    font-family: Arial, Helvetica, sans-serif;
}

.mx-header-2 *,
.mx-header-2 *::before,
.mx-header-2 *::after {
    box-sizing: border-box;
}

.mx-header-2 a {
    color: inherit;
    text-decoration: none;
}

.mx-header-logo img {
    width: 190px;
    min-width: 90px;
    max-width: 120px;
    display: block;
}

.mx-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* CART */

.mx-header-cart {
    position: relative;
    min-width: 160px;
    min-height: 54px;
    padding: 10px 42px 10px 12px;

    border: 1px solid var(--mx-header-line);
    display: flex;
    align-items: center;

    color: var(--mx-header-white);
    transition: .2s;
    cursor: pointer;
}

.mx-header-cart:hover {
    border-color: var(--mx-header-red);
    background: rgba(255,255,255,.04);
}

.mx-header-cart-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mx-header-cart-text span {
    font-size: 12px;
}

.mx-header-cart-text small {
    color: #ddd;
    font-size: 11px;
    white-space: nowrap;
}

.mx-header-cart .cart-wrapper {
    position: absolute;
    right: 12px;
    top: 60%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}

.mx-header-cart .icon-cart {
    width: 22px;
    height: 22px;
    display: block;
    opacity: .9;
    filter: invert(1);
}

.mx-header-cart .cart-badge {
    position: absolute;
    top: -9px;
    right: -10px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #656565;
    color: #fff;

    font-size: 10px;
    font-weight: 900;
    border-radius: 20px;
    line-height: 1;

    box-shadow: 0 0 0 2px #050505;
}

.mx-header-cart .cart-badge:empty,
.mx-header-cart .cart-badge[data-count="0"] {
    display: none;
}

/* PROFILE */

.mx-header-profile {
    width: 54px;
    height: 54px;

    border: 1px solid var(--mx-header-line);
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: .2s;
}

.mx-header-profile:hover {
    border-color: var(--mx-header-red);
    background: rgba(255,255,255,.04);
}

.mx-header-profile .icon-profile {
    width: 26px;
    height: 26px;
    opacity: .9;
    filter: invert(1);
}

/* HT TTC */

.mx-header-2 .toggle-htttc {
    position: relative;
    width: 52px;
    height: 44px;

    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-header-2 .toggle-htttc img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: opacity .2s ease;
}

.mx-header-2 .toggle-htttc .icon-ttc {
    display: none;
}

.mx-header-2 .toggle-htttc.is-ttc .icon-ht {
    display: none;
}

.mx-header-2 .toggle-htttc.is-ttc .icon-ttc {
    display: inline;
}

/* PROFILE PANEL GLOBAL */

#profile-panel {
    /* background: #0b0b0b !important; */
    /* border-left: 2px solid #e01818 !important; */
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .mx-header-2 {
        padding: 0 20px;
    }

    .mx-header-cart-text small {
        display: none;
    }

    .mx-header-cart {
        min-width: 58px;
        padding: 10px 36px 10px 10px;
    }
}

@media (max-width: 620px) {
    .mx-header-2 {
        --mx-header-height: 66px;
        gap: 12px;
    }

    .mx-header-logo img {
        width: 72px;
    }

    .mx-header-cart {
        min-width: 46px;
        padding: 10px;
        border: 0;
    }

    .mx-header-cart-text {
        display: none;
    }

    .mx-header-cart .cart-wrapper {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }

    .mx-header-profile {
        width: 44px;
        height: 44px;
    }

    .mx-header-profile .icon-profile {
        width: 22px;
        height: 22px;
    }
}