@charset "utf-8";
/********************
** 해더
********************/
header{top:0; border-bottom:1px solid #D9DADE;}
.menu{display:grid; grid-template-columns: repeat(8, 1fr);}
.searchModal{top:-500px;transition: top 0.4s ease;}
.searchbtn{background:none; }
#searchInput{background: none;  outline: none;}
#searchModalBtn{cursor: pointer;}

/********************
** 메인배너
********************/
.swiper-container {    width: 100%;     height: 600px; }
.swiper-wrapper {    display: flex;    align-items: center; }
.swiper-slide {    width: 70dvw;    height: 100%;     transition: transform 0.6s ease, opacity 0.6s ease;    transform: scale(0.96);}
.swiper-slide-active {    transform: scale(1); }
.swiper-slide img {    display: block;    width: 100%;    height: 100%;    object-fit: cover;    border-radius: 16px;}
.arrowBtn {    z-index:1;    position:absolute;    top: 50%;    transform: translateY( -50%)}
.left{left:0;}
.right{right:0;}
.mainSlide01{background:url('/img/mainBanner01.jpg'); background-size:cover; background-position:bottom;}
.mainSlide02{background:url('/img/mainBanner02.jpg'); background-size:cover; background-position:right;}
.mainSlide03{background:url('/img/mainBanner03.jpg'); background-size:cover; background-position:right;}
.mainSlide04{background:url('/img/mainBanner04.jpg'); background-size:cover; background-position:right;}


/********************
** 카테고리 메뉴
********************/
.category{display:grid; grid-template-columns: repeat(8, 1fr);}


/********************
** 상황별 상품
********************/
.caseBtn {    border: 1px solid #D9DADE;    background: #fff;    transition: all 0.3s ease-in-out;    cursor: pointer;  }
.caseImg1, .caseImg2, .caseImg3, .caseTxt1, .caseTxt2, .caseTxt3 {    transition: all 0.3s ease-in-out;  }
.caseImg1 { background: #8771D9; }
.caseImg2 { background: #37383E; }
.caseImg3 { background: #FCFF59; }
.caseProductImg {border: 1px solid #D9DADE;object-fit: cover;object-position: center;border-radius: 16px;transition: transform 0.4s ease, opacity 0.4s ease;}
.caseBtn.active {padding-top: 16px;padding-bottom: 16px; border:none;}
.caseBtn1.active { background: #8771D9; }
.caseBtn2.active { background: #37383E; }
.caseBtn3.active { background: #FCFF59; }
.caseBtn1.active .caseImg1,.caseBtn2.active .caseImg2,.caseBtn3.active .caseImg3 {background: #fff;width:35px; height:35px;}
.caseBtn1.active .caseTxt1,.caseBtn2.active .caseTxt2 {color:#fff; transition: all 0.3s ease-in-out;}
.caseBtn1.active .caseTxt1,.caseBtn2.active .caseTxt2,.caseBtn3.active .caseTxt3 {font-size:20px; transition: all 0.3s ease-in-out;}
.caseBtn.active .caseImg1 img,.caseBtn.active .caseImg2 img,.caseBtn.active .caseImg3 img {width: 26px;height: 26px; transition: all 0.3s ease-in-out;}
.caseProduct {opacity: 0;transform: translateY(20px);transition: opacity 0.5s ease, transform 0.5s ease;}
.caseProduct.show {opacity: 1;transform: translateY(0);}


/********************
** 서브배너
********************/
.subBanner{width:70dvw; margin-right:auto; margin-left:auto;}
.subBannerImg01{background:url('/img/subBanner001.jpg'); background-size:cover;}
.subBannerImg02{background:url('/img/subBanner002.jpg'); background-size:cover;}


/********************
** 베스트
********************/
.bestCard{background:url('/img/bestCard.jpg'); background-size:cover; background-position:bottom;}
.bestTop{display:grid; grid-template-columns: repeat(2 , 1fr);}
.bestTopProduct{display:grid; grid-template-columns: repeat(2 , 1fr);}
.bestBottomProduct{display:grid; grid-template-columns: repeat(4 , 1fr);}


/********************
** 리뷰
********************/
.reviewImg1{width:16px !important; height:auto !important;}
.reviewImg2{width:16px !important; height:auto !important;}


/********************
** 리스트페이지
********************/
.productList{display:grid; grid-template-columns: repeat(4 , 1fr); }
.productList > a{transition: all 0.3s;}
.productListImg{border:1px solid #EEEEF0;object-fit: cover;object-position: center;}
.productList > a:hover{box-shadow:0 0 8px #D9DADE}
.page > div,
.page > a {border:1px solid #D9DADE;transition: all 0.3s;border-radius:999px;color:#333;}
.page > div:hover,
.page > a:hover {border:1px solid #A0C556; background:#A0C556; color:#fff;}
.page > .is-active {border:1px solid #A0C556; background:#A0C556; color:#fff;}




/********************
** 뷰페이지
********************/

.viewNav{ top: 70%; right: 0; border-radius: 8px 0 0 8px; cursor: pointer; z-index: 999; }
.viewNav p{ writing-mode: vertical-rl; text-orientation: upright; }

/* --- 모달 --- */
.qaModal { background: rgba(0, 0, 0, 0.5); top: 0; right: -100%; /* 화면 밖으로 완전히 이동 */ width: 100%; z-index: 1000; transition: right 0.5s ease-in-out, background-color 0.5s ease-in-out; visibility: hidden; /* 초기에는 숨김 */ opacity: 0; }
.qaModal.active { right: 0; /* 화면 안으로 슬라이드 */ visibility: visible; opacity: 1; }
.qaModalBox { border-radius: 16px 0 0 16px; overflow: hidden; display: flex; flex-direction: column; }
.close_btn { cursor: pointer; }

/* --- 스텝 --- */
.form_step { display: none; /* 기본적으로 모든 스텝 숨기기 */ height: calc(100% - 73px); overflow: auto; /* 헤더 높이(72px) 제외 */ }
.form_step.active { display: flex; /* 활성화된 스텝만 보여주기 */ }
.qaModalFooter { border-top: 1px solid #EEEEF0; }        
.stepDot { border-bottom: 1px solid #EEEEF0; }
.inputBox { border: 1px solid #ced4da; background-color: #fff; }







/********************
** qa
********************/
.online{background:url('/img/formBg.jpg'); background-size:cover;}
.qaImg{top:0; left:50%; transform: translate(-50%, -50%); }

/* --- 커스텀 라디오 버튼 (수정된 부분) --- */
.filedset input[type="radio"] {position: absolute;  left: -9999px; /* 화면 밖으로 숨김 */ }
.filedset label {border: 1px solid #D9DADE; background: #fefefe; cursor: pointer; transition: ease-in 0.3s; } 
.filedset input[type="radio"]:checked + label {background: #4d6823; border: 1px solid #4d6823; color: #fefefe; font-weight: 700; }
.hidden{display:none !important;}


.btnBox{display:grid; grid-template-columns:repeat(2, 1fr)}
.inputBox{ padding: 24px; border: 1px solid #D9DADE ;}
.inputBox:placeholder-shown{color: #91949f; line-height: 1em;}
.moreBtn{text-decoration: underline;}
.custom-checkbox{width: 20px; height: 20px; padding: 0; border: 1px solid #222; background-color: #fff; margin-right: 10px; transition: background-color 0.3s, border 0.3s; position: relative;}
.checkpolicy input[type="checkbox"] {display: none;}
.checkpolicy input[type="checkbox"]:checked + .custom-checkbox{background-color: #4d6823; border-color: #4d6823;}
.checkpolicy input[type="checkbox"]:checked + .custom-checkbox::after{content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 8px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg);}

