
.popup_wrap .popup_column {
    justify-content: center;
  }

.popup_container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,.7);
    padding: 20px;
    overflow-y: auto;
    display: none
}

.popup_wrap {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.1)
}

.popup_wrap.popup_column {
    max-width: var(--container-width, 1400px);
    background: unset;
    box-shadow: unset;
    border-radius: unset;
    margin-top: 40px
}

.popup_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.popup_slide .swiper {
    width: 100%
}

.popup_slide .swiper .swiper-slide {
    position: relative
}

.popup_slide .swiper .swiper-pagination {
    bottom: 10px
}

.popup_slide .swiper .swiper-pagination .swiper-pagination-bullet {
    background-color: #666
}

.popup_tab .swiper_tab__wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 90%;
    max-width: 500px;
    max-height: 90vh;
    pointer-events: none
}

@media(max-width: 576px) {
    .popup_tab .swiper_tab__wrap {
        display:flex;
        flex-direction: column-reverse;
        height: 100%;
        justify-content: start
    }
}

.popup_tab .swiper_tab__wrap .swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0
}

@media(max-width: 576px) {
    .popup_tab .swiper_tab__wrap .swiper {
        position:relative;
        height: auto
    }
}

.popup_tab .swiper_tab__wrap .swiper .swiper-slide {
    height: 100%;
    overflow: auto
}

.popup_tab .swiper_tab__wrap .swiper .item {
    position: relative;
    height: 100%
}

.popup_tab .swiper_tab__wrap .swiper .item img {
    width: 100%;
    height: auto;
    display: block
}

.popup_tab .swiper_tab__wrap .swiper .swiper-button {
    display: none
}

@media(max-width: 576px) {
    .popup_tab .swiper_tab__wrap .swiper .swiper-button {
        display:block
    }
}

.popup_tab .swiper_tab__wrap .swiper .swiper-pagination {
    position: absolute;
    left: unset;
    bottom: unset;
    top: 10px;
    right: 10px;
    width: auto;
    gap: 6px;
    display: none;
    z-index: 5;
    background-color: rgba(200,200,200,.7);
    color: rgba(255,255,255,.85);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 500px
}

@media(max-width: 576px) {
    .popup_tab .swiper_tab__wrap .swiper .swiper-pagination {
        display:flex
    }
}

.popup_tab .swiper_tab__wrap .swiper .swiper-pagination .swiper-pagination-bullet {
    height: 10px;
    width: 10px;
    background-color: rgba(123,123,123,.4);
    opacity: 1;
    margin: 0;
    border-radius: 10px;
    transition: .35s ease
}

.popup_tab .swiper_tab__wrap .swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 20px;
    background-color: rgba(123,123,123,.8)
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap {
    width: 100%;
    max-width: 150px;
    position: absolute;
    left: 100%;
    top: 0;
    pointer-events: all
}

@media(max-width: 576px) {
    .popup_tab .swiper_tab__wrap .tab_nav_wrap {
        max-width:100%;
        width: 100%;
        position: relative;
        left: 0
    }
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap .popup_footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 14px;
    padding: 0;
    height: 40px
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap .popup_footer>* {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.4
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap .popup_footer .popup_today {
    padding: 0;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    background-color: #444;
    color: #f9f9f9
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap .popup_footer .popup_today .today_close {
    display: none
}

.popup_tab .swiper_tab__wrap .tab_nav_wrap .popup_footer .popup_close {
    position: relative
}

.popup_tab .tab_nav {
    overflow: hidden;
    background-color: #fff
}

@media(max-width: 576px) {
    .popup_tab .tab_nav {
        display:none
    }
}

.popup_tab .tab_nav li {
    cursor: pointer;
    color: #555;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 25%;
    padding: 10px 20px
}

.popup_tab .tab_nav li:not(:last-child) {
    border-bottom: 1px solid #ccc
}

.popup_tab .tab_nav li.current {
    font-weight: 700;
    color: #000;
    color: var(--pri-1)
}

.popup_wrap .popup_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    gap: 36px 12px
}

@media(max-width: 768px) {
    .popup_wrap .popup_column {
        justify-content:center;
        gap: 12px
    }
}

.popup_wrap .popup_column .grid_item {
    flex: 1 1;
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.1)
}

@media(max-width: 576px) {
    .popup_wrap .popup_column .grid_item {
        min-width:250px
    }
}

.popup_wrap .popup_column .grid_item .popup_title {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis
}

.popup_wrap .popup_close_all_wrap {
    z-index: 500;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center
}

.popup_wrap .popup_close_all_wrap .popup_close_all {
    background: rgba(0,0,0,.7);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px
}

.popup_wrap .popup_close_all_wrap .popup_close_all:hover {
    background: rgba(0,0,0,.85)
}

.popup_link {
    display: block;
    width: 100%;
    height: 100%
}

.popup_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.popup_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee
}

.popup_today {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px
}

.popup_close {
    border: none;
    background: none;
    color: #666;
    font-size: 13px;
    cursor: pointer
}
