.app-header {
    padding: 0.75rem 10px;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background-color 250ms ease-in-out;
}
.app-header > div {
    max-width: 1920px;
}
.app-header__hamburger {
    width: 36px;
    height: 18px;
}
.app-header__hamburger-line {
    height: 3px;
}
.app-header__hamburger-line:nth-of-type(1) {
    width: 80%;
}
.app-header__hamburger-line:nth-of-type(3) {
    width: 50%;
}
.app-header__logo {
    width: 139px;
    height: 50px;
}
.app-header__logo img {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 250ms ease-in, visibility 0ms ease-in 250ms;
}
.app-header__logo img.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 250ms ease-in, visibility 0ms ease-in 0ms;
}
.app-header__list .app-header__list-link {
    font-size: 18px;
    transition: color ease-in-out 250ms;
}
.app-header__list .app-header__list-link:hover,
.app-header__list .app-header__list-link:focus {
    color: var(--miracel-secondary-color);
    outline: 0;
}
.app-header__list .app-header__list-item {
    margin: 20px 0;
    position: relative;
}
.app-header__list .app-header__list-item:first-of-type {
    margin-block-start: 0;
}
.app-header__list .app-header__list-item:last-of-type {
    margin-block-end: 0;
}
.app-header__list-dropdown {
    min-width: calc(10.5rem + 2vw);
    position: absolute;
    right: 100%;
    bottom: 50%;
    transform: translateY(50%);
    list-style: none;
    padding: 0.6rem;
    white-space: nowrap;
    width: auto; 
    background-color: color-mix(in srgb, var(--miracel-primary-color) 60%, transparent);
  //   background-color: var(--miracel-primary-color);
  //  opacity: 0.5;
}
.app-header__list-mobile-dropdown {
    padding-inline-start: 1rem;
}
.app-header__list-item > .app-header__list-dropdown {
    right: unset;
    bottom: unset;
    transform: unset;
}
.app-header__list-item > .app-header__list-dropdown.space {
    top: 33px;
}
.app-header__list-dropdown-item {
    border-radius: 0.35rem;
}
.app-header__list-dropdown-item:hover, .app-header__list-dropdown-item:focus {
    background-color: var(--miracel-secondary-color);
}
.app-header__list-dropdown-item-arrow {
    width: 12px;
    height: 12px;
}
.app-header__list-dropdown-item-arrow-down {
    transform: rotate(-90deg);
}

.app-header__list-dropdown-link {
    padding: 0.35rem 0.40rem;
}
.app-header__shopping-badge {
    width: 20px;
    height: 20px;
    top: -10px;
    right: -10px;
    font-size: 12px;
}
.app-header__shopping-icon {
    width: 28px;
    height: 28px;
}
.app-header__call {
    padding: 0.7rem 1rem;
    font-size: 16px;
}
.app-header__call-icon {
    width: 20px;
    height: 20px;
}
.app-header__login {
    padding: 0.7rem 1rem;
    font-size: 16px;
}
.app-header__login:hover {
    color: #fafdfe;
}
.app-header__login-icon {
    width: 28px;
    height: 28px;
}
.app-header__social-icon {
    width: 24px;
    height: 24px;
}
.app-header__social-icon * {
    filter: grayscale(100%) sepia(58%) brightness(31%) hue-rotate(142deg)
        saturate(853%) contrast(30%);
    -webkit-filter: grayscale(100%) sepia(58%) brightness(31%)
        hue-rotate(142deg) saturate(853%) contrast(30%);
    -moz-filter: grayscale(100%) sepia(58%) brightness(31%) hue-rotate(142deg)
        saturate(853%) contrast(30%);
}

@media only screen and (min-width: 768px) {
    .app-header__list .app-header__list-link {
        font-size: 12px;
    }
    .app-header__list .app-header__list-item {
        margin: 0 8px;
    }
    .app-header__list .app-header__list-item:first-of-type {
        margin-inline-start: 0;
    }
    .app-header__list .app-header__list-item:last-of-type {
        margin-inline-end: 0;
    }
}
@media only screen and (min-width: 880px) {
    .app-header__list .app-header__list-link {
        font-size: 14px;
    }
    .app-header__list .app-header__list-item {
        margin: 0 10px;
    }
    .app-header__list .app-header__list-item:first-of-type {
        margin-inline-start: 0;
    }
    .app-header__list .app-header__list-item:last-of-type {
        margin-inline-end: 0;
    }
}
@media only screen and (min-width: 992px) {
    .app-header {
        padding: 0.75rem 15px;
    }
    .app-header__shopping-badge {
        width: 18px;
        height: 18px;
        top: -9px;
        right: -9px;
        font-size: 12px;
    }
    .app-header__shopping-icon {
        width: 24px;
        height: 24px;
    }
    .app-header__login-icon {
        width: 24px;
        height: 24px;
    }
    .app-header__list .app-header__list-item:first-of-type {
        margin-inline-start: 0;
    }
    .app-header__list .app-header__list-item:last-of-type {
        margin-inline-end: 0;
    }
}
@media only screen and (min-width: 1200px) {
    .app-header {
        padding: 0.75rem 20px;
    }
    .app-header__list .app-header__list-item:first-of-type {
        margin-inline-start: 0;
    }
    .app-header__list .app-header__list-item:last-of-type {
        margin-inline-end: 0;
    }
}
@media only screen and (min-width: 1400px) {
    .app-header {
        padding: 0.75rem 30px;
    }
    .app-header__list .app-header__list-link {
        font-size: 16px;
    }
    .app-header__list .app-header__list-item {
        margin: 0 14px;
    }
    .app-header__list .app-header__list-item:first-of-type {
        margin-inline-start: 0;
    }
    .app-header__list .app-header__list-item:last-of-type {
        margin-inline-end: 0;
    }
}
.app-header__sidebar {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
    padding: 32px;
}
.app-header__sidebar.app-header__sidebar--open {
    transform: translateX(0%);
}
.app-header__sidebar-close-icon {
    width: 28px;
    height: 28px;
}
.app-search-overlay {
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transition: opacity 250ms ease-in, visibility 0ms ease-in 250ms;
}
.app-search-overlay.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 250ms ease-in, visibility 0ms ease-in 0ms;
}
.app-search-overlay__form {
    margin-block-start: 5rem;
}
.app-search-overlay__input {
    border: 1px solid #02015f;
    padding: 0.5rem;
    max-width: 640px;
}
.app-search-overlay__input:focus {
    outline: none;
}
.app-search-overlay__input::-webkit-search-decoration,
.app-search-overlay__input::-webkit-search-cancel-button,
.app-search-overlay__input::-webkit-search-results-button,
.app-search-overlay__input::-webkit-search-results-decoration {
    display: none;
}
.app-search-overlay__action {
    border: 1px solid #02015f;
    padding: 0.5rem 1.2rem;
    border-radius: 6px 0 0 6px;
}
.app-search-overlay__close {
    border: 1px solid #dc3545;
    padding: 0.1rem 0.9rem;
    font-size: 1.5rem;
    border-radius: 0 6px 6px 0;
}
.app-header__product-category-wrapper {
    position: relative;
}
.app-header__product-category-mega-box {
    position: absolute;
    top: 43px;
    right: -120px;
    width: calc(640px + 10vw);
    height: 576px;
    background-color: var(--miracel-primary-white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 0 0 8px 8px;
}
.app-header__product-category-mega-box.opened {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.app-header__product-category-mega-parent-box {
    max-width: 220px;
    width: 100%;
    height: 100%;
    background-color: #f0f0f1;
    /* must be sync with its parent .app-header__product-category-mega-box */
    border-radius: 0 0 8px 0;
    overflow: auto;
}
.app-header__product-category-mega-child-box {
    max-width: calc(100% - 220px);
    width: 100%;
    height: 100%;
    /* must be sync with its parent .app-header__product-category-mega-box */
    border-radius: 0 0 0 8px;
}
.app-header__product-category-mega-child-cta {
    font-size: calc(0.8rem + 0.1vw);
    color: var(--miracel-primary-color);
}
.app-header__product-category-mega-child-cta svg {
    fill: var(--miracel-primary-color);
    width: 12px;
    height: 12px;
}
.app-header__product-category-mega-child-list {
    width: 33%;
}
.app-header__product-category-mega-parent-item {
    font-size: calc(0.8rem + 0.2vw);
    transition: background-color 250ms ease-in-out;
}
.app-header__product-category-mega-parent-item:hover,
.app-header__product-category-mega-parent-item:focus,
.app-header__product-category-mega-parent-item.active {
    color: var(--miracel-secondary-color);
    background-color: var(--miracel-primary-white-color);
}
.app-header__product-category-mega-child-link {
    position: relative;
}
.app-header__product-category-mega-child-link::before {
    content: "";
    position: absolute;
    width: 2px;
    right: 8px;
    height: 25px;
    background-color: var(--miracel-secondary-color);
}
.app-header__product-category-mega-child-item:hover,
.app-header__product-category-mega-child-item:focus {
    color: var(--miracel-secondary-color);
}
.app-header__product-category-mega-child-icon {
    fill: var(--miracel-primary-color);
    width: 12px;
    height: 12px;
    transition: fill 250ms ease-in-out;
}
.app-header__product-category-mega-child-item:hover .app-header__product-category-mega-child-icon,
.app-header__product-category-mega-child-item:focus .app-header__product-category-mega-child-icon {
    fill: var(--miracel-secondary-color);
}
.app-header__product-category-mega-child-text {
    font-size: calc(0.8rem + 0.1vw);
    color: var(--miracel-primary-color);
    transition: color 250ms ease-in-out;
}
.app-header__product-category-mega-child-item:hover .app-header__product-category-mega-child-text,
.app-header__product-category-mega-child-item:focus .app-header__product-category-mega-child-text {
    color: var(--miracel-secondary-color);
}
.app-header__product-category-mega-sub-child-link {
    display: block;
    color: #81858b;
    font-size: calc(0.8rem + 0.1vw);
}
.app-header__product-category-mega-sub-child-link:hover {
    color: var(--miracel-secondary-color);
    transition: color 250ms ease-in-out;
}
