.visual-book {
    margin-top: 20px;
    background: linear-gradient(135deg, #005153, #3CD691);
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.visual-book-swiper {
    width: 100%;
    height: 100%;
}

.visual-book .swiper-slide {
    display: flex;
    align-items: center;
    contain: layout;
}

.visual-book-wrap {
    display: flex;
    align-items: center;
    width: 85%;
    gap: 40px;
    margin: 0 auto;
    overflow: visible;
}

.book-swiper {
    width: 100%;
    height: 300px;
    flex-shrink: 0;
}


.visual-book .tbox {
    flex: 1;
    color: white;
    padding: 20px 0;
}

.visual-book .tbox h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.visual-book .tbox b {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.visual-book .tbox p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
}

/* 네비게이션 버튼 */
.visual-book .swiper-button-next,
.visual-book .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.visual-book .swiper-button-prev {
    left: 0 !important;
}

.visual-book .swiper-button-next {
    right: 0 !important;
}


/* 메인 슬라이더 페이지네이션 */
.visual-book .swiper-pagination {
    width: 70px;
    bottom: 55px;
    left: calc(85% - 345px + 20px);
    width: auto;
}

.visual-book .swiper-pagination.swiper-pagination-custom {
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 20px;
    border-radius: 20px;
    font-weight: 200;
}

.visual-book .swiper-pagination-custom .current {
    color: #fff;
    font-weight: 600;
}

.visual-book .swiper-pagination-custom .total {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 200;
}

/* 책 슬라이더 페이지네이션 - 숨김 */
.book-swiper .swiper-pagination {
    display: none;
}

.book-swiper {
    width: 630px;
    position: relative;
    z-index: 999 !important;
    pointer-events: auto !important;
    touch-action: pan-x !important;
    cursor: grab !important;
    isolation: isolate;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.book-swiper:active {
    cursor: grabbing !important;
}

.book-swiper * {
    pointer-events: auto !important;
    touch-action: pan-x !important;
}

.book-swiper .swiper-container {
    pointer-events: auto !important;
    touch-action: pan-x !important;
}

.book-swiper .swiper-wrapper {
    transform: translate3d(0px, 0, 0);
    transition-duration: 0ms;
    transition-timing-function: ease-out;
}

.book-swiper .swiper-slide {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.book-swiper {
    width: 630px;
    position: relative;
    z-index: 999;
}

.book-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* 메인 슬라이더 네비게이션과 페이지네이션만 터치 허용 */
.visual-book .swiper-button-next,
.visual-book .swiper-button-prev,
.visual-book .swiper-pagination {
    pointer-events: auto !important;
    z-index: 1003 !important;
}

/* tbox는 터치 비활성화 */
.visual-book-swiper .swiper-slide .tbox {
    pointer-events: none !important;
    z-index: 0;
}

.visual-book-swiper .swiper-slide-next {
    z-index: -999;
}

.quick-swiper-area {
    width: 820px;
    margin: 50px auto 100px auto;
}

.quick-menu .swiper-slide .img img {
    position: relative;
    display: block;
    width: auto;
}

.quick-menu .swiper-slide .img {
    width: 98px;
    height: 98px;
    background-color: #F5F5F5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.quick-menu .swiper-slide span {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.quick-menu .swiper-slide a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tit-top {
    margin-bottom: 20px;
}

.tit-top>.flexBox {
    width: auto;
}

.plr-0 {
    padding-left: 0;
    padding-right: 0;
}

.new-area {
    margin-bottom: 100px;
    position: relative;
}

.new-area .new-swiper .swiper-slide {
    border: 1px solid var(--line);
    padding: 40px 60px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.new-area .new-swiper .swiper-slide a {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
    justify-content: center;
}


.new-area .new-swiper .swiper-slide .badge-1 {
    display: inline-block;
    background-color: #333;
    color: #fff;
    border-radius: 50px;
    padding: 2px 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.new-area .new-swiper .swiper-slide b {
    display: block;
    font-size: 20px;
    line-height: 1.4rem;
    word-break: keep-all;
}

.new-area .new-swiper .swiper-slide .tbox {
    margin-bottom: 10px;
}

.new-area .new-swiper .swiper-slide .img {
    border: 1px solid var(--line);
    width: 170px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.new-area .new-swiper .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 1);
    border-radius: 50%;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-prev {
    left: -24px !important;
    background-image: url("../images/common/arr-left.svg");
}

.swiper-button-next {
    right: -24px !important;
    background-image: url("../images/common/arr-right.svg");
}

.new-area .swiper-button-prev:after,
.new-area .swiper-button-next:after {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}

.new-sd-wrap {
    position: relative;
}

.new-area .new-swiper .swiper-slide .badge-2 {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    padding: 3px 10px;
    margin-top: 5px;
}

.rank-area {
    margin-bottom: 100px;
}

.rank-area .swiper-slide>a,
.rank-area .swiper-slide .img {
    width: 100%;
}

.rank-area .swiper-slide .tbox {
    position: relative;
    padding-top: 20px;
}

.rank-area .swiper-slide .tbox .num {
    color: #41A59C;
    font-size: 5rem;
    font-weight: bolder;
    position: absolute;
    top: -5rem;
    left: 20px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
    text-shadow: 1px 1px 10px rgba(0 0 0 / 20%);
}

.rank-area .swiper-slide .tbox p {
    color: var(--gray9);
    font-size: 14px;
}

.rank-swiper-wrap,
.today-swiper-wrap,
.new2-swiper-wrap {
    position: relative;
}

.today-area {
    margin-bottom: 100px;
}

.today-swiper a {
    display: flex;
    border-radius: 20px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.today-swiper .img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.today-swiper .swiper-slide.n-1 .img {
    background-image: url("../images/main/bk-4.png");
}

.today-swiper .swiper-slide.n-2 .img {
    background-image: url("../images/main/bk-1.png");
}

.today-swiper .swiper-slide .img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: blur(10px);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to left, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    transform: scale(1.3);
}


.today-swiper .img img {
    width: 50%;
    position: relative;
    z-index: 2;
}

.today-swiper .tbox {
    flex: 1;
    padding: 40px;
}

.today-swiper .tbox .top{
    margin-bottom: 20px;
}

.today-swiper .tbox .top h4{
    padding-left: 40px;
    background: url("../images/main/ico-tit.svg") left center /25px no-repeat;
    word-break: keep-all;
}

.today-swiper .tbox .top .heart{
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../images/main/heart-off.svg");
}

.today-swiper .tbox .top .heart.on{
    background-image: url("../images/main/heart-on.svg");
}

.today-swiper .tbox .tag{
    display: flex;
    gap: 5px;
}

.today-swiper .tbox .tag li{
    border: 1px solid #333;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
}

.today-swiper .tbox .info{
    margin: 20px auto;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.today-swiper .tbox .info p{
    font-size: 16px;
}

.today-swiper .tbox  .wrt{
    display: flex;
    gap: 5px;
}

.today-swiper .tbox  .wrt li{
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
}

.event-area {
    margin-bottom: 100px;
}


.event-area .swiper-slide a{
    width: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.rcm-area{
    margin-bottom: 100px;
}

.rcm-area .tag {
    display: flex;
    gap: 10px;
    margin-left: 300px;
    flex-wrap: wrap;
}

.rcm-area .tag li{
    border: 1px solid #333;
    border-radius: 5px;

}

.rcm-area .tag li a{
    display: block;
    padding: 5px 10px;
}

.rcm-area .tag li:hover{
    border: 1px solid var(--primary);
}


.rcm-area .tag li a:hover{
    color: var(--primary);
}

.rcm-area .inner{
    display: flex;
}

.rcm-area .inner > .flexBox{
    width: 750px;
    word-break: keep-all;
}

.new2-area{
    margin-bottom: 100px;
}

.new2-swiper a{
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.new2-swiper a::after{
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 85%;
    border-radius: 10px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.new2-swiper a .img img {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    position: absolute;
    object-fit: cover;
    bottom: 0;
}


/*.new2-swiper a::before {*/
/*    display: block;*/
/*    content: "";*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(to top, #000 0%, transparent 100%);*/
/*    height: 300px;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*}*/
/*.new2-swiper .swiper-slide.n-1 a::after{*/
/*    background-image: url("../images/main/bk-5.png");*/
/*}*/

.new2-swiper a > p{
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    border: 1px solid #333;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 600;
}

@media (max-width: 1400px) {

    .plr-0 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .visual-book .swiper-pagination {
        left: 55%;
    }

    .visual-book-wrap {
        width: 100%;
    }

    .visual-book {
        margin-left: 20px;
        margin-right: 20px;
    }

    .ctr-btn-area {
        height: 50px;
        width: 120px;
        position: absolute;
        right: 0;
        bottom: 108px;
    }

    .visual-book .tbox h1 {
        font-size: 20px;
    }

    .visual-book .tbox b {
        font-size: 16px;
    }

    .visual-book .tbox {
        width: 100%;
        padding-top: 0;
        padding-bottom: 120px;
        padding-right: 20px;
        word-break: keep-all;
    }

    .visual-book .swiper-pagination {
        left: auto;
        right: 20px;
    }

    .book-swiper {
        padding-right: 20px;
    }

    .ctr-btn-area-2 {
        display: none;
    }

}

@media (max-width: 1024px) {
    .visual-book {
        height: auto;
        padding-top: 20px;
        padding-right: 0 !important;
        padding-bottom: 20px;
    }

    .visual-book-wrap {
        flex-direction: column;
        width: 100%;
    }

    .book-swiper {
        width: 100%;
        max-width: none;
        height: auto;
    }

    .ctr-btn-area {
        width: 114px;
        left: 0;
        bottom: 20px;
    }

    .book-swiper .swiper-wrapper>.swiper-slide {
        width: 150px;
        margin-right: 10px;
        display: flex;
        pointer-events: none;
    }

    .book-swiper .swiper-wrapper>.swiper-slide-active {
        pointer-events: auto;
    }

    .quick-swiper-area {
        width: 100%;
        padding: 0 0 0 20px;
    }

    .new-area .new-swiper .swiper-slide {
        padding: 12px;
    }

    .new-area .new-swiper .swiper-slide b {
        font-size: 16px;
    }

    .quick-menu .swiper-slide .img {
        width: 100%;
        height: 100%;
    }

    .quick-menu .swiper-slide .img {
        width: 70px;
        height: 70px;
    }

    #main .inner.plr-0 {
        padding-right: 0 !important;
    }

    #main .inner.plr-0 .tit-top{
        padding-right: 20px;
    }

    .today-swiper a{
        flex-direction: column;
    }

    .today-swiper .img{
        width: 100%;
    }

    .today-swiper .tbox {
        flex: 1;
        padding: 20px;
    }

    .today-swiper .img img {
        width: 100%;
        padding: 50px;
    }

    .today-swiper{
        padding: 0 20px 0 0;
    }

    .rcm-area .inner > .flexBox{
        width: 100%;
        padding-right: 20px;
        margin-bottom: 50px;
    }

    .rcm-area .inner{
        flex-direction: column;
    }

    .rcm-area .tag {
        margin-left: 0;
    }

    .quick-swiper{
        padding-right: 20px;
    }

    .quick-swiper-area{
        margin: 50px auto;
    }

    .new-area,
    .rank-area,
    .today-area,
    .event-area,
    .rcm-area,
    .new2-area{
        margin-bottom: 50px;
    }

    .tit-top {
        margin-bottom: 30px;
    }

    .new-swiper,
    .event-swiper,
    .rank-swiper,
    .new2-swiper{
        padding-right: 20px;
    }

}

@media (max-width: 768px) {

    .quick-menu .swiper-slide .img img {
        width: 50% !important;
    }



    .new-area .new-swiper .swiper-slide .img {
        width: 100%;
        height: auto;
    }






}