@charset "utf-8";
.category-btn {    background-color: #f5f5f5;    border:1px solid #f5f5f5;    transition: all 0.2s ease-in-out;    cursor: pointer;}

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: flex; flex-direction: column; width: 80%; max-width: 500px; }
.popup-body img { width: 100%; height: auto; display: block; }
.popup-footer { padding: 10px 15px; background-color: #f1f1f1; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.btn-today { background: none; border: none; cursor: pointer; color: #555; display: flex; align-items: center; gap: 5px; }
.btn-close { background-color: #333; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; }
.btn-close:hover { background-color: #000; }


/********************
** 해더
********************/
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/flower/mainBanner01.jpg'); background-size:cover; background-position:bottom;}
.mainSlide02{background:url('/img/flower/mainBanner02.jpg'); background-size:cover; background-position:right;}
.mainSlide03{background:url('/img/flower/mainBanner03.jpg'); background-size:cover; background-position:right;}
.mainSlide04{background:url('/img/flower/mainBanner04.jpg'); background-size:cover; background-position:right;}



/********************
** 상황별 상품
********************/
.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 {object-fit: cover;object-position: center;;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);}

/********************
** 베스트
********************/
.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);}


/********************
** 카테고리 메뉴
********************/
.category{display:grid; grid-template-columns: repeat(6, 1fr);}
.flowerProductBox{display:grid; grid-template-columns: repeat(4, 1fr);}

/********************
** 리스트페이지
********************/
.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-link { border: 1px solid #ddd; background: #fff; color: #333; transition: 0.2s; }
.page-link:hover { background: #f5f5f5; }
.page-link.active { background: #82aa38 !important; color: #fff !important; border-color: #82aa38 !important; font-weight: bold; }

.flowerListTabTop{ border-bottom:1px solid #eeeef0}
.flowerListTabBox{display:grid; grid-template-columns: repeat(6 , 1fr);}
.flowerListTab{ border: 1px solid #eeeef0; background: #fff; color: #91949f; transition: all 0.3s ease; }
.flowerListTab:hover { background: #f9f9f9; }
.flowerListTab.active { background: #82aa38; color: #fff; border-color: #82aa38; }


/********************
** 뷰페이지
********************/
.viewImg { object-fit: cover; }     
.detail-section { width: 100%; border-top: 2px solid #333; padding-top: 40px; text-align: center; }
.fixBtn {    bottom: 40px;     right: 60px;    z-index: 999;   opacity: 0;     visibility: hidden;     transition: all 0.3s ease-in-out; }
.fixBtn.show {    opacity: 1;     visibility: visible;}




/********************
** qa
********************/
/* --- 커스텀 라디오 버튼 (수정된 부분) --- */
.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: 18px; 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);}

