/* BASIC css start */
/* ========================================
   1. °øÅë ·¹ÀÌ¾î / ¸ð´Þ ¹è°æ
======================================== */
#mask,
#dim,
#layer_background {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    transition: opacity 0.3s ease;
}
#layer_background.active { display: block; opacity: 1; }


/* ========================================
   2. Çì´õ
======================================== */

/* »ó´Ü ¹è³Ê */
.head_banner {
    background: #BF2526;
    text-align: center;
}
.head_banner a {
    display: inline-block;
    line-height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}
.head_banner a b { font-weight: 700; }

/* Çì´õ ±âº» */
.header {
    position: sticky;
    top: 0;
    padding-top: 10px;
    background: #fff;
    border-bottom: 1px solid #ededed;
    z-index: 10;
}
.header .inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .header .inner { padding: 0 12px; }
}


/* »ó´Ü ¿µ¿ª & ·Î±×ÀÎ */
.header .inner_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.header .inner_top .logo img { width: 120px; display: block; }
.header .inner_top .right_top { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }



/* Àå¹Ù±¸´Ï ¼ö·® */
.header .inner_top li.cart_btn { position: relative; }
.header .inner_top li.cart_btn .user_basket_quantity {
    position: absolute;
    bottom: 0; right: -2px;
    width: 16px; height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background: #bf2526;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}



/* ¸¶ÀÌÆäÀÌÁö hover */
.header .inner_top li.my_btn,
.head_log li.my_btn { position: relative; }
.header .inner_top li.my_btn div,
.head_log li.my_btn div {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.header .inner_top li.my_btn:hover div,
.head_log li.my_btn:hover div { opacity: 1; visibility: visible; }







/* ¸Þ´º ¿µ¿ª */
.header .inner_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    padding: 0 20px 0 0;
}
.header .inner_bottom .left_group { display: flex; align-items: center; gap: 30px; }

.header .inner_bottom ul,
.header .inner_bottom .left_menu ul,
.header .inner_bottom .right_menu ul,
.header .inner_bottom .nav_cate ul {
    display: flex; gap: 30px; margin: 0; padding: 0; list-style: none;
}
.header .inner_bottom a {
    font-size: 15px; color: #333; text-decoration: none;
    padding-bottom: 14px; transition: all 0.1s ease;
}
.header .inner_bottom a:hover { opacity: 0.7; }
.header .inner_bottom a.active { font-weight: 700; color: #000; border-bottom: 2px solid #000; }
.header .inner_bottom a.red-menu { color: #bf2526; }
.header .inner_bottom a.red-menu.active { border-bottom: 2px solid #bf2526; }

.head_log { display: flex; justify-content: flex-end; align-items: center; }
.head_log .top_log { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }



/* ========================================
   3. »çÀÌµå ¸Þ´º / ÇÜ¹ö°Å ¸Þ´º
======================================== */
#hd_aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
#hd_aside.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
#hd_aside .aside_closed {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 10000;
}
#hd_aside .asideinner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* ¸Þ´º ¸®½ºÆ® */
#hd_aside .aside_cate {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
#hd_aside .aside_cate li {
    position: relative;
    padding: 8px 0 8px 10px;
}
#hd_aside .aside_cate li a {
    cursor: pointer;
}
#hd_aside .aside_cate li span {
    position: absolute;
    right: 0;
}

/* °èÃþº° ÆùÆ® */
#hd_aside .aside_cate li.depth1 > a {
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
#hd_aside .aside_cate li.depth1.is-active > a,
#hd_aside .aside_cate li.depth1 > a:hover {
    font-weight: 600;
    color: #bf2526;
}
#hd_aside .aside_cate li.depth2 > a {
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s;
}
#hd_aside .aside_cate li.depth2.is-active > a,
#hd_aside .aside_cate li.depth2 > a:hover {
    font-weight: 500;
    color: #bf2526;
}
#hd_aside .aside_cate li.sub > a {
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
#hd_aside .aside_cate li.sub .is-active > a,
#hd_aside .aside_cate li.sub > a:hover {
    font-weight: 600;
    color: #bf2526;
}
#hd_aside .aside_cate li.sub .aside_subcate li a {
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s;
}
#hd_aside .aside_cate li.sub .aside_subcate li a:hover {
    font-weight: 500;
    color: #bf2526;
}
#hd_aside .aside_cate li .menu-item a {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: block;
}
#hd_aside .aside_cate li .menu-item a:hover {
    color: #bf2526;
    font-weight: 700;
}

/* ¿­¸²/´ÝÈû */
#hd_aside .aside_cate li.depth1 > ul,
#hd_aside .aside_cate li.depth2 .depth3,
#hd_aside .aside_cate li.sub .aside_subcate {
    display: none;
}
#hd_aside .aside_cate li.depth1.is-active > ul,
#hd_aside .aside_cate li.depth2.has-sub.is-active .depth3,
#hd_aside .aside_cate li.sub.is-active .aside_subcate {
    display: block;
}
#hd_aside .aside_cate li.sub.is-active > a span img,
#hd_aside .aside_cate li.depth2.has-sub.is-active > a span img {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

/* °í°´¼¾ÅÍ ÇÏ´Ü °íÁ¤ */
#hd_aside .aside_cs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 0 12px 30px;
    border-top: 1px solid #eee;
    background: #fff;
    box-sizing: border-box;
}
#hd_aside .aside_cs h2 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}
#hd_aside .aside_cs p {
    font-size: 12px;
    font-weight: 400;
    color: var(--txt);
    margin: 0;
    line-height: 1.6;
}
#hd_aside .aside_cs .contact-hours {
    font-size: 14px;
    font-weight: 600;
    color: #bf2526;
    margin-top: 6px;
}

/* ÅÇ */
#hd_aside .aside_tabs {
    position: sticky;
    top: 15px;
    background: #fff;
    z-index: 10;
    padding-left: 20px;
    padding-bottom: 0;
    border-bottom: 1px solid #ddd;
}
#hd_aside .aside_tabs .tab_btn {
    flex: 1;
    padding: 8px;
    text-align: center;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    font-weight: 700;
}
#hd_aside .aside_tabs .tab_btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

/* ÅÇ ÄÜÅÙÃ÷ */
#hd_aside .tab_content_wrap {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
}
#hd_aside .tab_content_wrap .tab_content {
    display: none;
}
#hd_aside .tab_content_wrap .tab_content.active {
    display: block;
}

/* ÀüÃ¼¸Þ´º ÅÇ */
#menuTab {
position: relative;
    padding: 0; /* À§ 15px, ¿À¸¥ÂÊ 0, ¾Æ·¡ 0, ¿ÞÂÊ 20px */
    box-sizing: border-box;
}


#menuTab > ul {
    max-height: 486px;
    overflow-y: auto;
    padding: 20px 0 0 20px;
    box-sizing: border-box;
}
#menuTab .menu_scroll_area {
    max-height: 800px;
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
}

/* ÀüÃ¼ºê·£µå ÅÇ */
#brandTab {
    position: relative;
    width: 100%;
    height: 97vh;
    padding: 15px;
    margin: 0;
    box-sizing: border-box;
    overflow: auto; /* ½ºÅ©·ÑÀº °¡´É */
    
    /* ½ºÅ©·Ñ¹Ù ¼û±â±â - À¥Å¶ ºê¶ó¿ìÀú */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}
#brandTab::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* iframe ÀÚÃ¼ ½ºÅ©·Ñ °¡´É + ½ºÅ©·Ñ¹Ù ¼û±è */
#brandTab iframe {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: none;
    box-sizing: border-box;
    display: block;
    overflow: auto;

    scrollbar-width: none; 
    -ms-overflow-style: none;
}
#brandTab iframe::-webkit-scrollbar {
    display: none;
}



.event_content {
    overflow: hidden;
    padding: 15px;
    display: flex;
    width: calc(100% + 100px);
    margin-left: -15px;
    height: 130px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
}

.event_content iframe {
    width: 300px;   /* ¿øÇÏ´Â Å©±â ÁöÁ¤ */
    height: 90px;   /* ºñÀ² ¸Â°Ô ¼³Á¤ */
    border: none;
    display: block;
}



/* ========================================
   4. °Ë»ö ·¹ÀÌ¾î
======================================== */
.search_wrap {    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 460px;
    max-height: 100%;
    background: rgba(255, 255, 255, 1); /* Èò»ö + Åõ¸íµµ 0.8 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 11;
    border-bottom: 1px solid #ccc;
    }

.search_wrap.on {opacity:1; visibility:visible;}
.search_wrap .inner {width: 550px; margin:20px auto; padding:10px 0; position:relative;}
.search_wrap .inner .search_close {
    position: absolute;
    top: -10px;                 /* »ó´Ü À§Ä¡ */
    right: -200px;                    /* ¿À¸¥ÂÊ ³¡¿¡ ¹èÄ¡ */
    cursor: pointer;
    background-color: transparent; /* ¹è°æ Á¦°Å */
    border: none;                  /* Å×µÎ¸® Á¦°Å */
    z-index: 10;                   /* ´Ù¸¥ ¿ä¼Ò À§ Ç¥½Ã */
    }
.search_wrap .inner .search_input {position: relative;}
.search_wrap .inner .search_input input {width:100%; height: 48px; border:none; border-bottom:1px solid #121212; color: var(--txt); font-size:15px;}
.search_wrap .inner .search_input a {position: absolute; right: 0; top:15px;}


.search_wrap .inner .keyword {display:flex; gap:48px; margin-top:48px;}
.search_wrap .inner .keyword h3 {font-weight: 500; font-size: 16px; margin-bottom:16px;}


.search_wrap .inner .keyword .best_search {flex: 1;}
.search_wrap .inner .keyword .best_search ol {}
.search_wrap .inner .keyword .best_search ol li {margin-bottom:16px;}
.search_wrap.on .inner .keyword .best_search ol li {margin-bottom:16px; opacity: 0; animation: fadeIn 1s forwards;}
.search_wrap.on .inner .keyword .best_search ol li:nth-child(1) { animation-delay: 0.1s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(2) { animation-delay: 0.2s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(3) { animation-delay: 0.3s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(4) { animation-delay: 0.4s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(5) { animation-delay: 0.5s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(6) { animation-delay: 0.6s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(7) { animation-delay: 0.7s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(8) { animation-delay: 0.8s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(9) { animation-delay: 0.9s; }
.search_wrap.on .inner .keyword .best_search ol li:nth-child(10) { animation-delay: 1s; }



/* ÃßÃµ / ÀÎ±â °Ë»ö¾î */
.keyword {
display: flex;
    justify-content: center;   /* ÁÂ¿ì ¼¾ÅÍ Á¤·Ä */
    align-items: flex-start;   /* »ó´Ü ±âÁØ Á¤·Ä */
    gap: 10px;                 /* ÃßÃµ/ÀÎ±â °Ë»ö¾î »çÀÌ °£°Ý */
    width: 100%;
    max-width: 400px;          /* ÀüÃ¼ ÄÁÅ×ÀÌ³Ê ÃÖ´ë Æø */
    margin: 20px auto 0;       /* »ó´Ü ¿©¹é + °¡¿îµ¥ Á¤·Ä */
    box-sizing: border-box;
}

/* ÃßÃµ °Ë»ö¾î / ÀÎ±â °Ë»ö¾î °øÅë */
.keyword .recmd_search,
.keyword .search_hot_keywords {
    flex: 1;                       /* µÎ ¿µ¿ª µ¿ÀÏ ºñÀ² */
    padding: 0 1px;
    box-sizing: border-box;
}

/* ÃßÃµ °Ë»ö¾î ¹Ú½º ½ºÅ¸ÀÏ */
.keyword .recmd_search {
    border: 1px solid #000;
    padding: 10px;
    display: flex;
    flex-direction: column;
   width: 100%;                /* ºÎ¸ð ¿µ¿ª ±âÁØ ÀüÃ¼ Æø */
    max-width: 800px;           /* ÃÖ´ë Æø */
    min-width: 300px;           /* ÃÖ¼Ò Æø */
    min-height: 150px;          /* ÃÖ¼Ò ³ôÀÌ */
    box-sizing: border-box;
    
}

/* ÃßÃµ °Ë»ö¾î Á¦¸ñ */
.keyword .recmd_search h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #000;
}

/* ÃßÃµ °Ë»ö¾î ¸®½ºÆ® */
.keyword .recmd_search ul {
    display: flex;
    flex-direction: column;
    gap: 5px;                      /* ¸®½ºÆ® Ç×¸ñ °£°Ý */
    margin: 5;
    padding: 0;
    list-style: none;
}

/* ÃßÃµ °Ë»ö¾î ¸µÅ© */
.keyword .recmd_search ul li a {
    display: inline-block;
    padding: 3px 12px;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ÃßÃµ °Ë»ö¾î ¸µÅ© hover È¿°ú */
.keyword .recmd_search ul li a:hover {
    background-color: #eee;
    border-radius: 4px;
}

.search_hot_keywords ul { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; justify-content: left; }
.search_hot_keywords ul li a { text-decoration: none; color: #000; white-space: nowrap; font-size: 10px; }
.search_hot_keywords ul li a:hover { background: #eee; border-radius: 4px; }


/* BASIC css end */

