/* 팝업 */
.pop-parent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    transition: all 0.2s;
}

.pop-parent .m-ratioBox-wrap {
    width: 100%;
    padding-top: 58%;
    position: relative;
    overflow: hidden;
}
.pop-parent .m-ratioBox-wrap .m-ratioBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}
/*
.m-ratioBox-wrap .m-ratioBox:after {content:""; width:83px; height:28px; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); background:url("../img/logo.png") no-repeat; background-size:100%; opacity:0.4;}
 */
.pop-parent .m-ratioBox-wrap img {
    display: block;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .m-ratioBox-wrap iframe {
    width: 105%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}

.pop-parent .swiper {
    overflow: hidden;
}
.pop-parent .swiper-container {
    overflow: visible;
}
.pop-parent .swiper-pagination {
    display: flex;
}
.pop-parent .pop {
    aspect-ratio: 1/1;
    width: 600px;
    height: auto;
    position: relative;
}
.pop-parent .pop > .swiper-container,
.pop-parent .pop > .popupSwiper {
    height: 100%;
}
.pop-parent .m-ratioBox-wrap {
    padding-top: 100%;
}
.pop-parent .pop .btn-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background-color: black;
    cursor: pointer;
    display: none;
}
.pop-parent .pop .btn-toggle img {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}
.pop-parent .pop-btns {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0px;
    background-color: #3c3c3c;
    opacity: 1;
}
.pop-parent .pop-btns a {
    color: #fff;
    padding: 7px 14px;
}
.pop-parent .pop-btns #oneday_check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.pop-parent .pop-btns #oneday_check + label {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}
.pop-parent .pop-btns #oneday_check + label:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border: 1px solid #fff;
}
.pop-parent .pop-btns #oneday_check:checked + label .icon {
    position: absolute;
    left: 7px;
    top: 7px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("/img/check_checked.png") no-repeat center center;
}

.pop-parent .pop .swiper-btn-control {
    width: 8px;
    height: 11px;
    margin-left: 16px;
    position: relative;
    top: 2px;
}
.pop-parent .swiper-control {
    display: flex;
    align-items: center;
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 2;
}
.pop-parent .swiper-control .swiper-pagination {
    position: static;
}
.pop-parent .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 0;
    border: 1px solid white;
    opacity: 0.5;
    background-color: transparent;
}
.pop-parent .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}
.pop-parent.active {
    right: -700px;
}
.pop-parent.active .btn-toggle {
    transform: rotate(180deg);
}

.pop-parent .pop .btn-close {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    background-color: black;
}

/* @media screen and (max-width: 1200px) {

} */

@media screen and (max-width: 768px) {
    .pop-parent .pop {
        width: 310px;
    }

    .pop-parent {
        top: 50%;
        right: unset;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .pop-parent .pop-btns {
        transform: translateY(100%);
        top: unset;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
    }
    .pop-parent .pop .btn-toggle {
        display: none;
    }
    .pop-parent .pop .btn-close {
        display: block;
    }
}

/* 개향닭발 스타일 */

/* 인기메뉴 */
.best-slide-wrap {
    position: relative;
    z-index: 1;

    .mySwiperText {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        border-bottom: 1px solid var(--color-red-main);

        .swiper-slide {
            opacity: 0 !important;
        }
        .swiper-slide-active {
            opacity: 1 !important;
        }
    }
    @media screen and (max-width: 1180px) {
        .mySwiperText {
            top: 0;

            .swiper-slide > div {
                justify-content: center;
            }
        }
    }

    .mySwiperImg {
        width: 100%;
        padding: 100px 0;

        .swiper-slide {
            position: relative;
            top: 100px;
            transition: all 1s ease;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                display: block;
                width: 100%;
                min-width: 320px;
                max-width: 750px;
                height: auto;
            }
        }

        .swiper-slide {
            transform: rotate(0deg) scale(1) !important;
            z-index: 1;
        }
        .swiper-slide-active {
            position: relative;
            top: -100px;
        }

        .swiper-slide-prev {
            transform: rotate(-15deg) scale(0.9) !important;
            z-index: 0;
        }
        .swiper-slide-next {
            transform: rotate(15deg) scale(0.9) !important;
            z-index: 0;
        }
    }
    @media screen and (max-width: 1180px) {
        .mySwiperImg {
            padding: 80px 0;

            .swiper-slide-active {
                top: 0;
            }

            .swiper-slide-prev {
                transform: rotate(-15deg) scale(0.7) !important;
            }
            .swiper-slide-next {
                transform: rotate(15deg) scale(0.7) !important;
            }
        }
    }

    .button {
        position: absolute;
        bottom: 300px;
        left: 50%;
        transform: translateX(-50%);
        width: 750px;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
        z-index: 10;

        .button-prev,
        .button-next {
            position: relative;
            width: 64px;
            height: 64px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;

            i {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }
    @media screen and (max-width: 1180px) {
        .button {
            bottom: 40px;
            width: 100px;

            .button-prev,
            .button-next {
                width: 40px;
                height: 40px;
            }
        }
    }
}
.marquee-style {
    position: relative;
    top: -100px;
    left: 0;
    white-space: nowrap;
    z-index: 2;

    .animate-marquee {
        padding: 40px 0;
        display: inline-flex;
        animation: marquee linear infinite;
        will-change: transform;

        img {
            flex-shrink: 0;
            width: 320px;
            aspect-ratio: 320/453;
            margin: 0 15px;
            transition: transform 0.2s ease-in-out;

            &:hover {
                transform: scale(1.1);
            }
            &:active {
                transform: scale(1.1);
            }
        }
    }
}
@media screen and (max-width: 1180px) {
    .marquee-style {
        top: -20px;
        margin-bottom: 40px;

        .animate-marquee {
            padding: 20px 0;

            img {
                width: 160px;
                margin: 0 8px;
            }
        }
    }
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 인테리어 */
.slider_container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
    aspect-ratio: 16 / 7;

    .slider_item {
        width: 68.75%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%) scale(0.3);
        transition: all 0.5s ease-out;
        z-index: -1;
        border-radius: 20px;
        overflow: hidden;

        img {
            aspect-ratio: 1100/700;
            object-fit: cover;
        }

        &.next {
            right: 50%;
            transform: translateY(-50%) translateX(-90%) scale(0.65);
            z-index: 1;
            position: absolute;
            filter: brightness(75%);
        }
        &.prev {
            left: 50%;
            transform: translateY(-50%) translateX(-10%) scale(0.65);
            z-index: 1;
            filter: brightness(75%);
        }
        &.now {
            top: 50%;
            left: 50%;
            transform: translateY(-50%) translateX(-50%) scale(1);
            z-index: 5;
            box-shadow: 0 0 100px var(--color-red-main);
        }
    }

    .button {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 148px;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
        z-index: 10;

        .button-prev,
        .button-next {
            position: relative;
            width: 64px;
            height: 64px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;

            i {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }
    @media screen and (max-width: 1180px) {
        .slider_item {
            border-radius: 10px;
        }
        .button {
            bottom: -70px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;

            .button-prev,
            .button-next {
                width: 40px;
                height: 40px;
            }
        }
    }
}

/* 텍스트 포인트 데코레이션 */
.menu-point {
    position: relative;

    &:after {
        content: "";
        display: block;
        position: absolute;
        top: -2px;
        right: -5px;

        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--color-red-main);
    }
}
