/* 메인 스와이퍼 */
.main-swiper {
    height: 60vh;
}

.main-swiper .visual-img {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
}

.main-swiper .visual-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.5s;
    -webkit-transition: all 1.5s;
    transform: scale(1.1);
}

.main-slide-item .ms-tbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    max-width: 1820px;
    padding: 0 40px 0 120px;
    margin: 0 auto;
    opacity: 0;
    transition: all 1.5s;
}

.main-slide-item.start .ms-tbox {
    opacity: 1;
}

.ms-tbox > .p-txt {
    font-size: 1.75rem;
    color: var(--p-color3);
}

.ms-tbox > .b-tit {
    font-size: 3.25rem;
    color: #fff;
    font-weight: 700;
    line-height: 120%;
    margin-top: 20px;
}

.main-swiper .ms-btn-wrap > div {
    background: rgba(0, 0, 0, 0.4);
    padding: 42px 18px;
    width: auto;
    height: auto;
    margin: 0 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.main-swiper .ms-btn-wrap > .swiper-button-next {
    right: 0;
}

.main-swiper .ms-btn-wrap > .swiper-button-prev {
    left: 0;
}

.ms-btn-wrap > .swiper-button-next > img {
    position: relative;
    right: -2px;
}

.ms-btn-wrap > .swiper-button-prev > img {
    position: relative;
    right: 2px;
}

.main-swiper .main-slide-item.start .visual-img > img {
    transform: scale(1);
}

.main-swiper .ms-control {
    position: absolute;
    z-index: 10;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.main-swiper .ms-control .swiper-pagination {
    width: auto;
    padding: 4px 24px;
    height: 32px;
    line-height: 23px;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    bottom: 0;
    border-radius: 50px;
    color: #fff;
}

.main-swiper .ms-control .swiper-pagination > span {
    color: #fff;
    font-size: 0.875rem;
}

.play-stop-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    position: relative;
}

.play-stop-btn > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* sec2 */
main > section {
    padding: 0 24px;
    max-width: 1610px;
    margin: 0 auto;
    position: relative;
}

.sec2 {
    margin-top: 80px;
}

section .h1-tit {
    font-size: 2.125rem;
    font-weight: 700;
}

.sec2 .h1-tit {
    text-align: center;
}

.all-view {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-t600);
    padding: 4px 16px;
    gap: 8px;
    border-radius: 50px;
    height: 32px;
    transition: all .2s;
    white-space: nowrap;
}

.all-view > span {
    color: var(--gray-t600);
    font-weight: 500;
}

.cat-view-p {
    position: absolute;
    right: 0;
    top: 6px;
}

.product-grid {
    width: 100%;
    height: 100%;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.pds-link {
    width: 100%;
}

.pds-link .pd-img {
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: all .6s;
    padding-top: 100%;
}

.pd-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .5s .5s ease-out, transform .4s;

}

.product-grid .pd-img::after {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gray-500);
    transform-origin: 0 50%;
    transition: transform .6s cubic-bezier(0.3, 0, 0.1, 1);
}

.product-grid .pds-link:hover .pd-img > img {
    transform: scale(1.1);
}

.product-grid.ani .pd-img:after {
    transform: scale(0, 1);
    transition-delay: .1s;
    transform-origin: 100% 50%;
}

.product-btn-wrap > div {
    width: 60px;
    height: 60px;
    background: #ededed;
    border-radius: 50%;
    margin: 0;
}

.product-btn-wrap .product-btn-next {
    right: -60px;
}

.product-btn-wrap .product-btn-prev {
    left: -60px;
}

.pds-t-wrap {
    margin-top: 24px;
}

.pds-t-wrap > p {
    font-size: 1.5rem;
    font-weight: 700;
}

.pds-t-wrap > .pd-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    margin-bottom: 16px;
    height:68px;
}

.pds-t-wrap > .pd-price {
    color: var(--gray-t600);
}

.mob-view-btn {
    width: 100%;
    border: 1px solid var(--bk);
    text-align: center;
    padding: 12px 0;
    margin-top: 40px;
    display: none;
}

.mob-view-btn > span {
    font-weight: 600;
}

.mob-view-btn > span.aw {
    background: url(../images/icon/btn-aw.svg) no-repeat;
    width: 16px;
    height: 15px;
    background-position: center;
}

/* sec3 */
.sec3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 124px auto 128px;
}

.sec3 > .sec3-con {
    width: calc(50% - 20px);
}

.sec3-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 20px;
}

.sec3-body {
    display: flex;
    align-items: center;
    column-gap: 52px;
    overflow: hidden;
}

.sec3-body > img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 1s ease-out;
}

.sec3-body.ani > img {
    transform: scale(1);
}

.label-eo {
    overflow: hidden;
    margin-top: 32px;
}

.label-wrap {
    display: flex;
    column-gap: 4px;
    row-gap: 8px;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform .6s ease-out;
}

.sec3-body.ani .label-wrap {
    transform: translateY(0);
}

.s3-tbox {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.s3-tbox strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.s3-tbox .ex-price {
    color: var(--gray-500);
    text-decoration: line-through;
}

.dc-pi-wrap {
    display: flex;
    gap: 8px;
}

.dc-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-t600);
    display: flex;
    gap: 4px;
    align-items: center;
}

.dc-price > span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-t600);
}

.dc-percent {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 스크롤 이벤트 */
.sk-gray {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gray-t500);
    transition: transform .2s ease-in;
    transform: translateX(0);
}

.pd-img.ani .sk-gray {
    transform: translateX(100%);
}

.e-tit {
    overflow: hidden;
}

.e-tit .h1-tit {
    transform: translateY(100%);
    transition: transform .6s ease-out;
    white-space: nowrap;
}

.e-tit.ani .h1-tit {
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 1024px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .sec3 {
        row-gap: 64px;
    }

    .sec3 .sec3-con {
        width: 100%;
    }

    .sec2 .all-view {
        display: none;
    }

    .sec2 .mob-view-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sec2 .h1-tit {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .main-slide-item .ms-tbox {
        padding: 20px;
        align-items: center;
    }

    .ms-tbox > .b-tit {
        text-align: center;
    }

    .ms-tbox > .p-txt {
        font-size: 1.125rem;
    }

    .ms-tbox > .b-tit {
        font-size: 2.5rem;
    }

    .ms-btn-wrap {
        display: none;
    }

    .pds-t-wrap {
        margin-top: 16px;
    }

    .pds-t-wrap > p {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .sec3-body > img {
        width: 100%;
        height: 100%;
        min-width: 250px;
        min-height: 250px;
    }
}

@media (max-width: 490px) {
    .sec3-body {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 32px;
    }

    .label-eo {
        margin-top: 0;
    }
}