@charset "utf-8";

/* ******************* *
* FONTS
* ******************* */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@font-face {
	font-family: 'Pretendard';
	font-weight: 45 920;
	font-style: normal;
	font-display: swap;
	src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
}
@font-face {
    font-family: 'Aritaburi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-buri-SemiBold.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}



/* ******************* *
* GLOBAL
* ******************* */
:root {
	--maxWidth: 150rem;
	--inPd: 5rem;
    --font-Pretendard: "Pretendard", sans-serif;
    --font-Aritaburi: "Aritaburi";
	--font-Outfit: "Outfit", sans-serif;
    --color-main: #85B943;
    --color-main-hover: #6A9436;
}

@media (max-width: 1024px){
	:root {
		--inPd: 3rem;
	}
}
@media (max-width: 768px){
	:root {
		--inPd: 20px;
	}
}

html {font-size: 62.5%;}/* desktop: 1rem=10px */
body {font-family: var(--font-Pretendard);font-size: max(1.80rem, 17px);line-height: 1;word-break: keep-all;word-wrap: break-word;color:#000;touch-action: auto;overscroll-behavior: auto;text-size-adjust:100%;scroll-behavior: smooth;}
.cinner {max-width: var(--maxWidth);padding: 0 var(--inPd);margin: 0 auto;}
.line-br {display: block;}

.btn__page-admin {padding: 6px 8px;background: #ef4343;color: #fff;font-size: 12px;font-weight: 500;line-height: 1;position: fixed;left: 20px;bottom: 20px;z-index: 999;}
.btn__admin-util {display: inline-block;padding: 6px 8px;background: #ef4343;color: #fff;font-size: 12px;font-weight: 500;line-height: 1;}

#container:not(.is_index) {padding-top: 10rem;padding-bottom: 12rem;}

@media (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
}
@media (max-width: 768px){
	html {
        font-size: 50%; /* 1rem = 8px */
    }
}

/* SCROLL BAR */
body::-webkit-scrollbar {width: 6px;}
body::-webkit-scrollbar-thumb {background-color: var(--color-main);}
body::-webkit-scrollbar-track {background-color: #f9f9f9;}



/* ******************* *
* POPUP
* ******************* */
#hd_pop {z-index:1000;position:relative;}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff;}
.hd_pops img {max-width:100%;width: 100%;height: auto;}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff;font-size: 14px;}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left;font-size: 14px;}
.hd_pops_footer .hd_pops_close {width: 58px;height: 100%;padding: 0;background:#393939;position:absolute;top:0;right:0}

@media all and (max-width: 1024px){
    #hd_pop {max-width: 100%;width: 100%;margin: 0 auto;}
    .hd_pops {max-width: 90%;width: 100%;position: fixed;top: 50% !important;left:50% !important;transform: translate(-50%, -50%);}
    .hd_pops_con {width: 100% !important;height: auto !important;}
    .hd_pops_footer .hd_pops_reject {font-size: 10px;}
    .hd_pops_footer .hd_pops_close {width: 45px;font-size: 10px;}
}



/* ******************* *
* HEADER
* ******************* */
.header__banner {display: flex;justify-content: center;align-items: center;height: 45px;background: var(--color-main);text-align: center;}
.header__banner .banner__text {color: #fff;font-size: 17px;font-weight: 500;}
.header__banner .banner__text span {color: #FFEA00;font-weight: 700;}
.header__nav {display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;gap: 30px 21px;padding-top: 60px;position: relative;}
.header__mobile-btns {display: none;}
.header__mobile-btns .msch__btn img {width: 100%;}
.header__logo img {width: 100%;}
.search__cont {flex: 0 0 auto;width: 500px;height: 34px;}
.search__cont #totalSch {width: 100%;height: 100%;}
.search__cont form {width: 100%;height: 100%;position: relative;}
.search__cont form > #sch_str {width: 100%;height: 100%;padding: 0 30px 0 10px;border: 0;border-bottom: 2px solid #000;background: transparent;color: #000;}
.search__cont form > #sch_submit {display: block;width: 20px;aspect-ratio: 1 / 1;border: 0;background: url(../img/common/ico-search.svg) center center / cover no-repeat;position: absolute;top: 50%;right: 5px;transform: translateY(-50%);}
.search__cont .btn-search_close {display: none;align-items: center;gap: 10px;border: 0;background: none;color: #111;font-family: var(--font-Inter);font-size: 16px;position: absolute;left: 50%;bottom: 20%;transform: translateX(-50%);}
.search__cont .btn-search_close::after {content: 'X';}
.header__utils {display: flex;align-items: center;gap: 30px;}
.header__utils li a {display: block;width: 25px;aspect-ratio: 1 / 1;position: relative;z-index: 10;}
.header__utils li a > img {width: 100%;}
.header__utils li .cart-count {display: flex;justify-content: center;align-items: center;width: 15px;aspect-ratio: 1 / 1;border-radius: 50%;background: var(--color-main);color: #fff;font-size: 12px;font-weight: 500;position: absolute;top: 5px;right: 0;transform: translate(50%, -50%);}
#main-nav {display: flex;align-items: center;gap: 45px;width: 100%;}
.nav__btn a {display: flex;align-items: center;width: 24px;aspect-ratio: 4 / 3;position: relative;}
.nav__btn a::before,
.nav__btn a::after {content: '';display: block;width: 100%;height: 2px;background: #000;position: absolute;left: 0;right: 0;margin: auto;}
.nav__btn a::before {top: 0;}
.nav__btn a::after {bottom: 0;}
.nav__btn a span{display: block;width: 100%;height: 2px;background: #000;}
.nav__btn span {width: 100%;height: 2px;background: #000;}
.main-nav__depth1 .mn-ul1 {display: flex;align-items: center;gap: 60px;}
.main-nav__depth1 .mn-li1 {position: relative;}
.main-nav__depth1 .mn-a1 {display: block;padding: 20px 0;font-size: max(2rem, 20px);transition: .35s;}
.main-nav__depth1 .mn-s1 {position: relative;}
.main-nav__depth1 .mn-s1::after {content: '';width: 4px;height: 4px;border-radius: 50%;background: var(--color-main);position: absolute;top: -1px;right: -3px;opacity: 0;transition: .35s ease;}
.main-nav__depth1 .mn-a1:hover {color: var(--color-main-hover);}
.main-nav__depth2 {min-width: 160px;padding: 8px;border: 1px solid #ddd;box-sizing: border-box;border-radius: 14px;background: #fff;position: absolute;top: calc(100% + 10px);left: 50%;transform: translateX(-50%);z-index: 99;opacity: 0;visibility: hidden;transition: .35s ease;}
.main-nav__depth2 .mn-a2 {display: block;padding: 12px 16px;border-radius: 7px;box-sizing: border-box;font-size: 17px;text-align: center;transition: .35s ease;}
.main-nav__depth2 .mn-a2:hover {background: #ecf3e2;color: #3b511f;}
.main-nav__depth1 .mn-li1:hover .mn-s1::after {top: -4px;right: -8px;opacity: 1;}
.main-nav__depth1 .mn-li1:hover .main-nav__depth2 {top: calc(100% - 10px);opacity: 1;visibility: visible;}

@media all and (max-width: 1199px){
	.main-nav__depth1 .mn-a1 {font-size: max(1.80rem, 18px);}
	.search__cont {width: 400px;}
}
@media (max-width: 1024px){
	.header__banner {height: 40px;}
	.header__nav {height: 80px;padding-top: 0;}
	.header__mobile-btns {display: flex;align-items: center;gap: 20px;}
	.header__logo {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}
	.search__cont {display: none;justify-content: center;align-items: center;width: 100%;height: 100%;background: rgba(255, 255, 255, .6);backdrop-filter: blur(10px);position: fixed;top: 0;left: 0;z-index: 999;}
	.search__cont #totalSch {max-width: 480px;width: 85%;height: 45px;}
	.search__cont .btn-search_close {display: flex;}
	.header__utils {gap: 20px}
	.header__utils li:nth-child(2) {display: none;}
	#main-nav {display: none;}
}
@media all and (max-width: 768px){
	.header__logo {max-width: 175px;}
	.header__nav {height: 70px;}
	.header__utils {gap: 20px;}
	
}
@media all and (max-width: 640px){
	.header__banner  {height: 35px;}
	.header__banner .banner__text {font-size: 13px;}
	.header__logo {max-width: 160px;}
	.header__mobile-btns,
	.header__utils {gap: 15px;}
	.header__mobile-btns .msch__btn,
	.header__utils li a {width: 22px;}
}



/* ******************* *
* FOOTER
* ******************* */
#footer {padding: 100px 0;font-size: max(1.50rem, 15px);}
.footer__top {display: flex;justify-content: space-between;align-items: center;gap: 50px;margin-bottom: 30px;padding-bottom: 32px;border-bottom: 1px solid #EFEFEF;box-sizing: border-box;}
.footer__sns-list {display: flex;align-items: center;gap: 10px;}
.footer__info {display: flex;flex-wrap: wrap;gap: 6px 20px;max-width: 884px;margin-bottom: 16px;}
.footer__info .item {color: #333;}
.footer__copyright {color: #ACACAC;}

@media all and (max-width: 1024px){
	.footer__logo > img {max-width: 85%;}
}
@media all and (max-width: 768px){
	#footer {padding: 80px 0;}
}



/* ******************* *
* SIDEBAR
* ******************* */
#sidebar {max-width: 450px;width: 100%;height: 100%;box-sizing: border-box;background: #fff;position: fixed;top: 0;left: 0;transform: translateX(-100%);z-index: 9999;transition: .35s;visibility: hidden;opacity: 0;box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);}
#sidebar.active {transform: translateX(0);visibility: visible;opacity: 1;}
.sidebar__header {display: flex;justify-content: space-between;align-items: center;padding: 36px 24px;box-sizing: border-box;width: 100%;}
.sidebar__header .sidebar__gnb {display: flex;align-items: center;gap: 8px;}
.sidebar__header .sidebar__gnb > li {position: relative;}
.sidebar__header .sidebar__gnb > li:not(:first-child) {padding-left: 8px;}
.sidebar__header .sidebar__gnb > li:not(:first-child)::before {content: '';display: block;width: 1px;height: 10px;background: #ddd;position: absolute;top: 50%;left: 0;transform: translateY(-50%);} 
.sidebar__header .sidebar__gnb > li > a {color: #3a3a3a;font-size: max(1.70rem, 17px);}
.sidebar__header > .sidebar-btn_close {display: block;width: 24px;aspect-ratio: 4 / 3;border: 0;background: no-repeat;position: relative;}
.sidebar__header > .sidebar-btn_close::before,
.sidebar__header > .sidebar-btn_close::after {content: '';display: block;width: 100%;height: 2px;background: #000;position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin: auto;}
.sidebar__header > .sidebar-btn_close::before {transform: rotate(45deg);}
.sidebar__header > .sidebar-btn_close::after {transform: rotate(-45deg);}
.sidebar__cont {max-height: 92%;max-height: calc(100vh - 120px);height: 100vh;margin: 0 24px;box-sizing: border-box;overflow-y: scroll;}
.sidebar__cont::-webkit-scrollbar {width: 4px;}
.sidebar__cont::-webkit-scrollbar-thumb {background-color: #bfbfbf;border-radius: 2px;}
.sidebar__cont::-webkit-scrollbar-track {background-color: transparent;}
.sidebar__menu_depth1 a {transition: .35s;}
.sidebar__menu_depth1 .mn-ul1 {display: flex;flex-direction: column;}
.sidebar__menu_depth1 .mn-li1 {border-bottom: 1px solid #ececec;position: relative;}
.sidebar__menu_depth1 .mn-li1.active .sidebar__menu_depth2 {margin-bottom: 15px;}
.sidebar__menu_depth1 .mn-li1:has(.sidebar__menu_depth2) >.toggle-arrow {width: 18px;aspect-ratio: 1 / 1;position: absolute;top: 30px;right: 0;transform: translateY(-50%);cursor: pointer;}
.sidebar__menu_depth1 .mn-li1:has(.sidebar__menu_depth2) >.toggle-arrow::before,
.sidebar__menu_depth1 .mn-li1:has(.sidebar__menu_depth2) >.toggle-arrow::after {content: '';width: 100%;height: 2px;background: #111;position: absolute;inset: 0;margin: auto;transition: transform 0.3s ease-in-out;}
.sidebar__menu_depth1 .mn-li1:has(.sidebar__menu_depth2) >.toggle-arrow::after {transform: rotate(90deg);}
.sidebar__menu_depth1 .mn-li1:has(.sidebar__menu_depth2).active > .toggle-arrow::after {transform: rotate(0);}
.sidebar__menu_depth1 .mn-a1 {display: block;width: 100%;padding: 20px 0;font-size: max(1.80rem, 18px);font-weight: 500;transition: .35s;}
.sidebar__menu_depth1 .mn-a1:hover {color: var(--color-main);}
.sidebar__menu_depth2 {max-height: 0;overflow: hidden;transition: max-height 0.3s ease-in-out;padding: 0 15px;box-sizing: border-box;border-radius: 12px;background: #f7f7f7;}
.sidebar__menu_depth2 .mn-ul2 {display: flex;flex-direction: column;padding: 15px 0;}
.sidebar__menu_depth2 .mn-li2 {position: relative;}
.sidebar__menu_depth2 .mn-li2:last-child {border-bottom: 0;}
.sidebar__menu_depth2 .mn-li2:has(.sidebar__menu_depth3) > .toggle-arrow {display: block;width: 12px;height: 12px;border-top: 2px solid #fff;border-right: 2px solid #fff;position: absolute;top: 29px;right: 10px;transform: translateY(-50%) rotate(135deg);cursor: pointer;transition: transform 0.3s ease-in-out;}
.sidebar__menu_depth2 .mn-li2:has(.sidebar__menu_depth3).active > .toggle-arrow {transform: rotate(-45deg);}
.sidebar__menu_depth2 .mn-a2 {display: block;padding: 14px 0;color: #6f6f6f;font-size: max(1.70rem, 17px);transition: .35s ease;}
.sidebar__menu_depth2 .mn-a2:hover {color: var(--color-main-hover);}
.sidebar__utils {margin-top: 50px;padding: 20px 20px;box-sizing: border-box;background: #f6f6f6;}
.sidebar__utils .list {display: flex;flex-direction: column;gap: 15px;}
.sidebar__utils .list > li > a {color: #6a6a6a;font-size: max(1.40rem, 14px);transition: .35s ease;}
.sidebar__utils .list > li > a:hover {color: #333;}


/* ******************* *
* QUICK MENU
* ******************* */
#quickMenu {width: 60px;position: fixed;bottom: 20px;right: 20px;/* transform: translateX(100%); */z-index: 998;transition: 0.35s;}
#quickMenu.show {transform: translateY(-60px);}
#quickMenu ul {width: 100%;transition: transform .35s ease;}
#quickMenu ul > li {width: 100%;margin-bottom: 10px}
#quickMenu ul > li > a {display: blcok;width: 100%;}
#quickMenu ul > li img {width: 100%;}
#quickMenu #top_btn {width: 100%;aspect-ratio: 1 / 1;border: 1px solid #111;border-radius: 50%;background: #111;color: #fff;font-size:15px;text-align: center;box-shadow: 0 10px 20px 0 rgba(0, 5, 18, 0.10);position: absolute;top: 100%;left: 0;transition: .35s;opacity: 0;transform: translateY(10px);}
#quickMenu #top_btn:hover {border-color: var(--color-main);background:var(--color-main);padding-bottom: 15px;}
#quickMenu.show #top_btn {opacity:1;transform: translateY(0px);}

@media all and (max-width: 640px){
    #quickMenu {width: 50px;right: 10px;bottom: 10px;}
    #quickMenu.show {transform: translateY(-50px);}
}