main{
    padding-top: 0;
}
.hero-banner{
    width:100%;
    height: 100vh;
}
.hero-banner .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main .hero-banner.swiper .swiper-pagination{
    display: flex;
    gap:.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--space-large);
    z-index: 10;
    justify-content: center;
}
.hero-banner .swiper-pagination .swiper-pagination-bullet{
    background: #fff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
}
.hero-banner .swiper-pagination-bullet{
    opacity: 1;
}
.hero-banner .swiper-pagination>span.swiper-pagination-bullet-active{
    background: var(--main-color);
}
.sub-category{
    margin-top: var(--space-large);
    margin-bottom: var(--space-3x-large);
}
.sub-cate-list{
    font-weight: var(--fw-med);
    color: #9C9C9C;
    display: flex;
    justify-content: center;
    gap: var(--space-large);
}
.sub-cate-list li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-small);
}
.sub-cate-list li:hover a{
    color: var(--main-color);
}
.sub-cate-list figure{
    border: 1px solid var(--cb-color-0);
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
.sub-cate-list li:hover figure{
    background-color: var(--cb-color-0);
}
.sub-cate-list figure img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .5s ease 0s;
}
.sub-cate-list li:hover figure img{
    transform: scale(1.1);
}
.sub-cate-list figure svg{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .5s ease 0s;
}
.brand-pilo {
    margin: var(--space-3x-large) 0;
    padding: 0 1rem;
}
.brand-pilo .commom-frame{
    text-align: center;
}
.brand-pilo .commom-frame>h4{
    margin-bottom: var(--space-small);
}
.brand-pilo .commom-frame>h1{
    margin-bottom: var(--space-large);
    font-size: 46px;
}
.brand-pilo .commom-frame>h1>span{
    color: var(--main-color);
}
.brand-pilo .commom-frame>h1+p{
    margin-bottom: var(--space-normal);
}
.sub-cate-list li:hover figure svg{
    transform: scale(1.1);
}
.sub-cate-list li:hover figure svg path{
    fill: var(--main-color);
}
.new-item{
    margin-bottom: var(--space-3x-large);
}
.new-item>h1{
    text-align: center;
    margin-bottom: var(--space-x-large);
    text-transform: uppercase;
}
.new-item .common-frame{
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    gap: var(--space-large);
    align-items: center;
    text-align: center;
}
.new-video{
    width: 100%;
}
.new-desc>h3{
    margin-bottom: var(--space-normal);
}
.best-item{
    margin: var(--space-3x-large) 0;
}
.best-item .common-frame>h1{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--space-x-large);
}
.best-item-list{
    font-size: var(--fs-bd1);
    display: flex;
}
.best-item-list>li>a {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.best-item-list>li{
    padding: var(--space-normal);
    position: relative;
    box-sizing: border-box;
}
.best-item-list>li::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    box-sizing: border-box;
}
.best-item-list>li:hover::after{
    width: 100%;
    height: 100%;
    border: 1px solid var(--main-color);
}
.best-item figure{
    background-color: var(--cb-color-0);
    width: 100%; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-normal);
    aspect-ratio: 1/1;
    line-height: 0;
}
.best-item figure img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .5s ease 0s;
}
.best-item-list>li:hover figure img{
    transform: scale(1.1);
}
.item-info{
    width: 400px;
}
.item-info>p:first-of-type{
    margin-bottom: var(--space-small);
}
.item-info-price{
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-normal);
}
.item-pinfo-icon img{
    height: 1.2rem;
}

/* 페이지네이션 커스텀 */
.best-pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}
.best-pagination .swiper-pagination-bullet{
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  margin: 0 8px !important;
  background: transparent;
  opacity: 1;
  cursor: pointer;
}
.best-pagination .swiper-pagination-bullet .num{
  line-height: 1;
  color: var(--cb-color-100);
}
.best-pagination .swiper-pagination-bullet .line{
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--cb-color-800);
  margin-left: 10px;
  transition: width 0.3s;
}
.best-pagination .swiper-pagination-bullet-active .num{
  color: var(--cb-color-800);
}
.best-pagination .swiper-pagination-bullet-active .line{
  width: 100px;
}
/* 마지막 숫자 뒤에는 선 안 보이게 */
.best-pagination .swiper-pagination-bullet:last-child .line{
  display: none;
}
.benefits{
    padding-top: var(--space-2x-large);
    text-align: center;
    margin-bottom: var(--space-foot);
}
.benefits .common-frame h1{
    margin-bottom: var(--space-normal);
}
.benefits .common-frame h1+p{
    margin-bottom: var(--space-x-large);
}
.benefit-list {
    height: auto;
    display: grid;
    gap: var(--space-normal);
    
    grid-template-columns: repeat(4,1fr);
}
.benefit-list li {
    flex: 1;
    background-color: var(--cb-color-0);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}
.benefit-list li  img {
    height: 7rem;
}
.benefit-list li span:first-of-type{
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-normal);
}
.benefit-list li span:last-of-type{
    font-weight: var(--fw-med);
}
.bottom-banner{
    height: 600px;
}
.bottom-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.parallax{
    height: 800px;
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../img/0-imgPublishing/test5.png);
    background-repeat: no-repeat;
    background-position: 50% 10%;
    background-size: cover;
    background-attachment: fixed;
    margin-bottom: var(--space-foot);
}
.visual-hero{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -860px;
    margin-bottom: var(--space-3x-large);
    z-index: 2;
}
.visual-hero>h3{
    color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: var(--space-small);
}
.visual-hero>h3+p{
    margin-bottom: var(--space-2x-large);
    color: rgba(255,255,255,0.9);
}
.card{
    width: 800px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-normal);
    padding: 2.5rem;

    border-radius: 1.2rem;

    /* glass */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    /* edge */
    border: 1px solid rgba(255, 255, 255, 0.28);

    /* depth */
    box-shadow:
        0 8px 14px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* 유리 표면에 비치는 밝은 하이라이트 */
.card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.32) 0%,
        rgba(255,255,255,0.12) 28%,
        rgba(255,255,255,0.06) 52%,
        rgba(255,255,255,0.02) 100%
    );
    pointer-events: none;
}

/* 모서리 쪽에 은은한 빛 */
.card::after{
    content: "";
    position: absolute;
    top: -30%;
    left: -10%;
    width: 45%;
    height: 60%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.32) 0%,
        rgba(255,255,255,0.08) 45%,
        rgba(255,255,255,0) 75%
    );
    pointer-events: none;
    filter: blur(8px);
}
.card>*{
    position: relative;
    z-index: 2;
    text-align: center;
}
.card>div>h2{
    margin-bottom: var(--space-small);
    color: #111;
}
.card>div>p{
    color: rgba(0,0,0,0.72);
    line-height: 1.7;
}
.title h1{
    text-align: center;
    /* width: 220px; */
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: var(--space-large);
    position: relative;
    border-bottom: none;
    color: #111;
}





/* PC 전체 */
@media (min-width: 769px){

    /* sub-category PC / TAB : swiper 제거된 상태 대응 */
    .sub-cate-swiper{
        overflow: visible;
    }

    .sub-cate-list{
        justify-content: center;
        flex-wrap: nowrap;
        gap: var(--space-large);
    }

    .sub-cate-list .swiper-slide{
        flex: 0 0 auto;
        width: auto;
    }
}

/* 1440 이하 PC */
@media (max-width: 1440px){
    .sub-cate-list li:hover figure svg{
        transform: none;
    }
    .sub-cate-list li:hover figure svg path{
        fill: initial;
    }
    .sub-cate-list li:hover a{
        color: #9C9C9C;
    }
    .sub-cate-list li:hover figure{
        background-color: #fff;
    }
    .sub-cate-list li:hover figure img{
        transform: none;
    }
    .best-item-list>li:hover::after{
        display: none;
    }

    .best-item-list>li:hover figure img{
        transform: none;
    }
    .item-info {
        width: auto;
        white-space: wrap;
    }
    .card {
        width: auto;
        margin: 0 1rem;
    }
    .title h1 {
        font-size: 2rem;
    }
}


@media (max-width: 1000px){
    .best-item figure {
        max-width: 282px;
        max-height: 282px;
    }
    .benefit-list {
        grid-template-columns: repeat(2,1fr);
    }
}



/* 모바일 */
@media (max-width: 768px){
    main{
        padding-top: 65px;
    }

    /* MOBILE : 가로 슬라이드 유지 */
    .sub-cate-swiper{
        overflow: hidden;
    }

    .sub-cate-list{
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }

    .sub-cate-list .swiper-slide{
        flex-shrink: 0;
        width: auto;
        margin-right: 12px;
    }

    .sub-cate-list .swiper-slide:last-child{
        margin-right: 0;
    }

    .sub-cate-list figure {
        width: 80px;
        height: 80px;
    }

    .best-item-list>li {
        padding: 0;
    }

    .best-item-list>li:hover::after{
        display: none;
    }

    .best-item-list>li:hover figure img{
        transform: none;
    }

    .item-info {
        white-space: wrap;
    }

    .item-info>p:first-of-type {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }
    .item-info>p:nth-of-type(2) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .brand-pilo .commom-frame>h1 {
        font-size: 26px;
    }

    .title h1 {
        font-size: 1.5rem;
    }

    .parallax {
        height: 600px;
        background-attachment:initial;
    }

    .visual-hero {
        margin-top: -680px;
    }

    .card {
        margin: 0 1rem;
        max-height: 300px;
        padding: 1rem;
    }

    .benefits {
        padding-top: var(--space-x-large);
    }

    .benefit-list {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: var(--space-large) var(--space-normal);
    }

    .benefit-list li {
        padding: var(--space-normal);
    }
    .benefit-list li span{
        line-height: 140%;
    }
    .hero-banner {
        height: auto;
    }
}


@media (max-width: 400px){
    .card {
        width: auto;
        margin: 0 1rem;
        max-height: 300px;
        padding: 1rem;
    }
}

