/*#region var*/
@media (max-width: 991px) {
    :root {
        --headerH: 85px;
    }
}

@media (max-width: 768px) {
    :root {
        --pxunit: 6px;
        --font-size14: .7rem;
        --font-size16: .8rem;
        --font-size18: .9rem;
        --font-size20: 1rem;
        --font-size22: 1.1rem;
        --font-size24: 1.2rem;
        --font-size26: 1.3rem;
        --font-size28: 1.4rem;
        --font-size30: 1.5rem;
        --font-size32: 1.6rem;
        --font-size36: 1.7rem;
        --font-size38: 1.8rem;
        --font-size40: 2rem;
        --gap-unit: .4rem;
        --margin: 2.5rem;
        --border-radius: .4rem;
    }
}

@media (max-width: 450px) {
    :root {
        --headerH: 75px;
        --pxunit: 5px;
        --font-size14: 1.4rem;
        --font-size16: 1.6rem;
        --font-size18: 1.8rem;
        --font-size20: 2rem;
        --font-size22: 2.2rem;
        --font-size24: 2.4rem;
        --font-size26: 2.6rem;
        --font-size28: 2.8rem;
        --font-size32: 3.2rem;
        --font-size36: 3.6rem;
        --font-size38: 3.8rem;
        --font-size40: 4rem;
        --gap-unit: .8rem;
        --margin: 2rem;
        --border-radius: .8rem;
    }
}

/*#endregion var*/

/*#region HEADER*/
.nav-backdrop {
    display: none;
}

@media (max-width: 991px) {
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 109;
        background-color: rgba(23, 23, 23, 0.5);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .wrapper {
        padding-top: var(--headerH);
    }

    .header {
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 111;
    }

    .header__deadline {
        display: none;
    }

    .header__logo {
        width: 120px;
    }

    .header__left,
    .hamburger__set {
        position: relative;
        z-index: 130;
    }

    .header__contents {
        padding: 0 30px;
    }

    .header__menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(420px, 92vw);
        max-width: 100%;
        height: 100%;
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 119;
        transform: translateX(100%);
        pointer-events: none;
        background-color: #f5f5f2;
        transition: transform 0.35s ease;
        padding: calc(var(--headerH) + 1rem) 1.25rem 2rem;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 1;
        will-change: transform;
    }

    .header__menu.pst_open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .mobile__menu {
        display: block;
        position: fixed;
        top: var(--headerH);
        right: 0;
        width: min(420px, 92vw);
        max-width: 100%;
        height: calc(100dvh - var(--headerH));
        z-index: 119;
        background-color: #161616;
        transform: translateX(100%);
        pointer-events: none;
        transition: transform 0.35s ease;
        padding: 2rem 1.25rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile__menu.pst_open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .mobile__menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .mobile__link,
    .mobile__dropdown-link {
        display: block;
        color: var(--bg-white-color);
    }

    .mobile__link-shpae,
    .mobile__dropdown-shape {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .mobile__link-shpae {
        padding: 0.9rem 0;
    }

    .mobile__dropdown-shape {
        padding: 0.75rem 0 0.75rem 1rem;
    }

    .mobile__link-cap {
        color: var(--bg-white-color);
        font-size: var(--font-size18);
        font-weight: 500;
    }

    .mobile__dropdown-cap {
        color: rgba(255, 255, 255, 0.9);
        font-size: var(--font-size14);
    }

    .mobile__link-arrow,
    .mobile__dropdown-arrow {
        width: 0.8rem;
        line-height: 0;
        transition: transform 0.25s ease;
    }

    .mobile__link-arrow svg,
    .mobile__dropdown-arrow svg {
        width: 100%;
        height: auto;
    }

    .mobile__dropdown {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }

    .mobile__menu-item.is-open .mobile__dropdown {
        max-height: 20rem;
        opacity: 1;
    }

    .mobile__menu-item.is-open > .mobile__link .mobile__link-arrow {
        transform: rotate(90deg);
    }

    .mobile__btns {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .mobile__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        border-radius: 9999px;
        padding: 0.85rem 1rem;
        color: var(--bg-white-color);
        background-color: var(--bg-font-color);
        font-size: var(--font-size18);
        font-weight: 700;
    }

    .mobile__btn--free {
        background-color: var(--bg-yellow-color);
    }

    .mobile__btn-icon {
        width: 1.2rem;
        line-height: 0;
    }

    .mobile__btn-icon svg {
        width: 100%;
        height: auto;
    }

    .headmenu__a {
        margin: 0;
        padding: 0.85rem 0;
        height: auto;
        align-items: flex-start;
        border-bottom: 1px solid rgba(69, 73, 71, 0.12);
    }

    .headmenu__cap {
        color: var(--bg-font-color);
    }

    .hamburger__set {
        display: block;
    }

    .hamburger__btn.pst_open span {
        background: var(--bg-font-color);
    }

    .header__submenu {
        display: flex !important;
        flex-direction: column;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-top: 0.75rem;
        padding: 0 0 1rem;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent;
        box-shadow: none;
        z-index: auto;
    }

    .header__submenu.is-visible.is-about .submenu__item--sale,
    .header__submenu.is-visible.is-sale .submenu__item--about {
        display: flex !important;
    }

    .submenu__item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-bottom: 1rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid rgba(69, 73, 71, 0.1);
    }

    .submenu__item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .submenu__line {
        display: none;
    }

    .submenu__link {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .submenu__img {
        width: 5.5rem;
        min-width: 5.5rem;
        max-width: none;
        aspect-ratio: 3/2;
    }

    .submenu__txt {
        text-align: left;
        font-size: var(--font-size16);
    }

    .header__contents > .header__btns {
        display: none;
    }

    .header__menu .header__btns--drawer {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(69, 73, 71, 0.12);
        gap: calc(var(--gap-unit) * 1.3);
    }

    .header__menu .header__btns--drawer .header__btn {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 450px) {
    header {
        padding: 0;
    }

    .header__contents {
        padding: 0 20px;
    }

    .header__logo {
        width: 100px;
    }

    .mobile__menu {
        width: 100%;
        max-width: 100%;
        padding: 5vh var(--margin) 2rem;
    }

    .mobile__link-cap {
        font-size: var(--font-size16);
    }

    .mobile__dropdown-cap {
        font-size: var(--font-size16);
    }
}

/*#endregion HEADER*/