@charset "utf-8";

.wrap {
    box-sizing: border-box;
    padding: 0 20px;
    margin-top: 20px;
}

.banner_z {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06)
}

form {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #666;
}

#search {
    height: 100%;
    padding-left: 10px;
    outline: none;
    border: 0;
    font-size: 1.6rem;
    font-family: "Pretendard";
    color: #666;
}

#search::placeholder {
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    color: var(--deactive-color);
}


/* X 버튼 none */
input::-ms-clear,
input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
    display: none;
}

/* 스와이퍼 */
.banner_box {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.swiper {
    margin-top: 40px;
    width: 100%;
}

.swiper-pagination-bullet-active {
    background: var(--brand-color) !important;
}

.swiper {
    border-radius: 20px;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: #fff !important;
}


/* .swiper-slide{
    overflow: hidden;
}
.swiper-slide img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

/* 카테고리/검색 */
.cate_sh {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    border-bottom: 1px solid #eee;
    /* position: relative; */
}

/* .cate_sh::before{
    position: absolute;
    z-index: -1;
    content: '';
    bottom: 1px;
    left: 0;
    height: 1px;
    width: 100%;
    background: #ccc;
} */

.cate_btn button {
    border: none;
    background-color: #fff;
    color: #999;
    padding: 8px 0;
    margin-right: 30px;
    font-family: 'Pretendard';
    font-size: 1.8rem;
}

.cate_btn button.active {
    font-family: 'paperlogy-M';
    border: none;
    border-bottom: 3px solid var(--po-color);
    color: var(--po-color);
    color: #222;
}

/* product */
.pd_section {
    margin-bottom: 80px;
}

.pd_common {
    display: flex;
    gap: 40px 1%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product {
    width: 22.2%;
}

.product img {
    width: 100%;
}

.product_img {
    position: relative;
}

.prd_name {
    padding-top: 12px;
    padding-bottom: 5px;
    font-weight: 500;
    font-size: 1.8rem;
}

.price .type {
    color: #666;
}


@media screen and (max-width:700px) {
    .wrap {
        margin-top: 5px;
    }

    .banner_z>div {
        height: 150px;
    }

    .pd_common .product {
        width: 48%;
    }


    .cate_btn {
        order: 2;
    }

    form {
        order: 1;
        max-width: 100%;
        border: 2px solid #666;
        border-radius: 100px;
        padding: 5px;
        padding-left: 10px;
        justify-content: start;
    }

    .cate_sh {
        flex-direction: column;
        gap: 25px;
        margin: 20px 0;
    }

    #search {
        width: 100%;
        background: none;
    }

    #search::placeholder {
        font-size: 1.8rem;
        background: none;
    }


}