@font-face{font-family:"Cafe24Danjunghae";src:url("/fonts/Cafe24Danjunghae-v2.0.sub.woff2") format("woff2"),url("/fonts/Cafe24Danjunghae-v2.0.sub.woff") format("woff");font-weight:normal;font-style:normal;font-display:swap;}
/* 현승몰 디자인 (2026-11-27 시안 반영: 딥 세이지 + 메뉴별 배경 사진). 모든 화면 마지막에 로드 (core/brand.py) */
:root{
  --hs-main:#173F38; --hs-deep:#0F2E29; --hs-point:#C8553D;
  --hs-title:#162E29; --hs-ink:#162E29; --hs-sub:#67766D; --hs-line:#E3E9E4;
  --hs-soft:#EEF3EF; --hs-soft2:#F6F8F6; --hs-bg:#FCFBF8; --hs-card:#F3F5F2;
  --hs-font:"Cafe24Danjunghae","Pretendard","Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",sans-serif;
}
html{background:var(--hs-bg)!important;}
body{color:var(--hs-ink);background:var(--hs-bg)!important;letter-spacing:-.01em;}
body,button,input,select,textarea,body :where(h1,h2,h3,h4,h5,h6,p,span,a,li,div,td,th,label,strong,b,em,small,figcaption,dt,dd,section,article){font-family:var(--hs-font)!important;-webkit-font-smoothing:antialiased;}
h1,h2,h3,.title,.tit{color:var(--hs-title);}

/* 맨 위 안내 띠 (시안 34px) */
.hs-topbar{background:var(--hs-main);color:#E8EFEA;font-size:13px;height:34px;display:flex;align-items:center;justify-content:space-between;
  padding:0 max(32px,calc((100% - 1440px)/2));letter-spacing:.02em;position:relative;z-index:60;box-sizing:border-box;}
.hs-topbar span:last-child{letter-spacing:.18em;font-size:12px;opacity:.9;}
@media (max-width:700px){.hs-topbar{height:30px;font-size:12px;padding:0 18px;justify-content:center;}.hs-topbar span:last-child{display:none;}}

/* 가맹점 쇼핑몰 환영 띠 = 같은 모양의 안내 띠 */
.hs-welcome{background:var(--hs-main);color:#E8EFEA;font-size:13px;text-align:center;padding:8px 16px;line-height:1.4;position:relative;z-index:50;word-break:keep-all;}
.hs-welcome b{color:#fff;}

/* 헤더 (시안: 흰 바탕, 아래 얇은 선) */
.head{background:#fff!important;border-bottom:1px solid var(--hs-line)!important;box-shadow:none!important;}
.head .center h1{width:260px!important;padding:22px 0!important;}
.head .center h1 img,.head .logo{width:260px!important;height:auto!important;}
.head .dep1>li{color:var(--hs-ink);font-weight:500;}
.head .dep1>li>a{position:relative;}
.head .dep1>li:hover>a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--hs-main);}
.head .center .search{border-radius:8px!important;border:1px solid var(--hs-line)!important;box-shadow:none!important;}
.main_header,.main_header header.main,.index_header,.header,.m_header{background-color:#fff!important;}
.main_header header.main h1 img,header.main h1 img{height:44px!important;width:auto!important;max-width:220px;}
.mini_head figure img{max-height:60px;width:auto;}

/* 브레드크럼 */
.crumb p{color:var(--hs-sub);} .crumb p:last-of-type{color:var(--hs-ink);}

/* 메뉴 배너: 3:1 사진, 왼쪽에 제목·설명·링크 (시안 규격) */
.hs-hero{position:relative;width:100%;aspect-ratio:3/1;border-radius:18px;overflow:hidden;margin:12px 0 28px;background:var(--hs-card);box-sizing:border-box;}
.hs-hero-img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center;}
.hs-hero-txt{position:absolute;left:5.5%;top:50%;transform:translateY(-50%);max-width:46%;color:var(--hs-title);text-align:left;}
.hs-hero-eb{font-size:13px;letter-spacing:.22em;font-weight:700;color:#4F6158;margin:0 0 14px;}
.hs-hero h2{font-size:clamp(28px,3.2vw,46px);font-weight:400;line-height:1.2;margin:0 0 16px;color:var(--hs-title);word-break:keep-all;}
.hs-hero-sub{font-size:16px;line-height:1.7;color:#3D4F46;margin:0 0 24px;word-break:keep-all;}
.hs-hero,.hs-hero *{font-family:var(--hs-font)!important;}
.hs-hero-go{display:inline-block;font-size:15px;color:var(--hs-title)!important;padding:6px 0;border-bottom:1px solid var(--hs-main);}
h3.hs-has-hero{display:none!important;}
/* PC: 목록 폭(크럼·상품 줄과 같은 폭)에 맞춤 */
.board_list > .hs-hero,section > .hs-hero:not(.hs-hero-m){width:calc(100% - 64px);max-width:1260px;margin:12px auto 32px;}
@media (max-width:700px){.board_list > .hs-hero,section > .hs-hero:not(.hs-hero-m){width:auto;margin:12px 18px 20px;}}
/* 모바일 배너: 사진 위, 글 아래 (시안 700px 이하) */
.hs-hero.hs-hero-m{aspect-ratio:auto;border-radius:13px;margin:12px 18px 8px;width:auto;background:transparent;overflow:visible;}
.hs-hero-m .hs-hero-img{position:static;display:block;aspect-ratio:16/10;height:auto!important;border-radius:13px;object-position:74% 50%;}
.hs-hero-m .hs-hero-txt{position:static;transform:none;max-width:none;padding:16px 2px 0;}
.hs-hero-m .hs-hero-eb{font-size:11px;margin-bottom:8px;}
.hs-hero-m h2{font-size:29px;margin-bottom:8px;}
.hs-hero-m .hs-hero-sub{font-size:14px;margin-bottom:10px;}
@media (max-width:700px){
  .hs-hero{aspect-ratio:auto;border-radius:13px;background:transparent;overflow:visible;}
  .hs-hero .hs-hero-img{position:static;display:block;aspect-ratio:16/10;height:auto!important;border-radius:13px;object-position:74% 50%;}
  .hs-hero .hs-hero-txt{position:static;transform:none;max-width:none;padding:16px 2px 0;}
  .hs-hero h2{font-size:29px;}
  .hs-hero .hs-hero-sub{font-size:14px;}
}

/* 하위 분류: 알약 버튼 (PC 줄바꿈) */
.goods_list .type_ck{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px;border:0!important;margin:0 0 40px!important;height:auto!important;}
.goods_list .type_ck li{border:1px solid #D5DED7!important;border-radius:999px!important;padding:10px 20px!important;min-height:44px;box-sizing:border-box;
  background:#fff!important;color:#3D4F46!important;font-size:15px;line-height:22px;width:auto!important;float:none!important;cursor:pointer;}
.goods_list .type_ck li.on,.goods_list .type_ck li:hover{background:var(--hs-main)!important;border-color:var(--hs-main)!important;color:#fff!important;}
.sub_head{border-bottom:1px solid var(--hs-line)!important;}
.sort_check li.on{color:var(--hs-main)!important;font-weight:700;}

/* 메인 배너 */
.mySwiper:not(:has(ul)),.top_banner{border-radius:18px;overflow:hidden;background:var(--hs-card);}
.mySwiper:not(:has(ul)){margin-top:16px!important;margin-bottom:8px!important;}
.mySwiper .swiper-slide img{border-radius:18px;}
/* 모바일 메인 배너: 슬라이드 폭 계산이 어긋나지 않게 바깥 여백 대신 슬라이드 안쪽 여백 */
.top_banner{margin:0!important;border-radius:0!important;background:transparent!important;}
.top_banner .swiper-slide{padding:12px 18px 0;box-sizing:border-box;}
.top_banner .swiper-slide img{border-radius:13px;width:100%;height:auto;display:block;}
.mySwiper:has(ul),.mySwiper:has(.swiper-slide ul){background:transparent!important;border-radius:0!important;}
.mySwiper:has(ul) .swiper-slide img{border-radius:0;}
.swiper-pagination-bullet-active{background:var(--hs-main)!important;}

/* 섹션 제목·MORE */
h3:has(> button){font-weight:400!important;font-size:30px!important;color:var(--hs-title)!important;margin-top:40px!important;}
h3 > button{border:1px solid #D5DED7!important;border-radius:999px!important;background:#fff!important;color:#3D4F46!important;padding:6px 16px!important;font-size:13px!important;}
h3 > button:hover{border-color:var(--hs-main)!important;color:var(--hs-main)!important;}
.list_type1 h3 button,.event_sale h3 button{top:50%!important;transform:translateY(-50%);width:auto!important;}

/* 상품 카드 (시안: 테두리 없는 카드, 둥근 사진 칸, 사진 아래쪽에 등급 표, 가운데 글) */
.hs-g-free{--gc:#8E9AA6;--gct:#fff;} .hs-g-standard{--gc:#0088D3;--gct:#fff;} .hs-g-deluxe{--gc:#6A4FD1;--gct:#fff;}
.hs-g-premium{--gc:#C9A227;--gct:#231815;} .hs-g-platinum{--gc:#231815;--gct:#E4E8EC;}
li.hs-gcard{position:relative;box-sizing:border-box;background:transparent!important;border:0!important;border-radius:0;overflow:visible;text-align:center;box-shadow:none!important;}
li.hs-gcard > .hs-gtop{display:none!important;}
li.hs-gcard figure,li.hs-gcard .best_img,li.hs-gcard .product_img{position:relative;margin:0!important;border-radius:14px;overflow:hidden;background:var(--hs-card);
  aspect-ratio:1/1.04;height:auto!important;width:100%!important;box-sizing:border-box;}
li.hs-gcard figure > img,li.hs-gcard .best_img > a > img,li.hs-gcard .product_img img,li.hs-gcard .best_img > img{width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .3s;}
li.hs-gcard .best_img > a{display:block;width:100%;height:100%;}
li.hs-gcard:hover figure > img,li.hs-gcard:hover .best_img img{transform:scale(1.03);}
li.hs-gcard .hs-tag{position:absolute;z-index:3;left:10px;bottom:10px;font-size:12px;line-height:1;padding:7px 9px;border-radius:4px;
  background:var(--gc);color:var(--gct);white-space:nowrap;pointer-events:none;}
li.hs-gcard.hs-g-free .hs-tag{background:rgba(255,255,255,.95);border:1px solid #D5DED7;color:#4F6158;}
li.hs-gcard figcaption,li.hs-gcard h3,li.hs-gcard .price_title{text-align:center!important;color:var(--hs-ink)!important;font-weight:400!important;font-size:16px;line-height:1.45!important;
  margin:14px 4px 0!important;padding:0!important;white-space:normal!important;overflow:hidden;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  word-break:keep-all;overflow-wrap:anywhere;height:auto!important;max-height:2.9em;width:auto!important;}
li.hs-gcard p,li.hs-gcard small{text-align:center!important;}
li.hs-gcard .price,li.hs-gcard .price_row,li.hs-gcard .box,li.hs-gcard .box>div,li.hs-gcard .best_price{display:flex;justify-content:center!important;align-items:baseline;text-align:center!important;border:0!important;gap:8px;margin:6px 4px 0!important;padding:0!important;width:auto!important;}
li.hs-gcard .price .left{text-align:center;}
li.hs-gcard .price p,li.hs-gcard .box p,li.hs-gcard .price_row .price{font-weight:700;color:var(--hs-title)!important;font-size:18px;margin:0!important;}
li.hs-gcard .price_won{display:block;text-align:center!important;color:#9AA59E!important;text-decoration:line-through;font-size:13px;margin-top:6px;}
li.hs-gcard .price_sale,.price_sale,.term_dc_per,.sale_text,.s_t_price,.dc,.percent,.slide_list8 .price strong{color:var(--hs-point)!important;}
li.hs-gcard > a{display:block;}
li.hs-gcard{padding-bottom:12px!important;}
/* 찜·장바구니 아이콘: 사진 오른쪽 위 흰 원 (모바일 카드) */
li.hs-gcard .best_icon,li.hs-gcard .best_img .icon{position:absolute!important;z-index:3;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;display:flex!important;flex-direction:column;gap:6px;}
li.hs-gcard .best_icon,li.hs-gcard .best_img .icon{z-index:2!important;width:36px!important;background:rgba(255,255,255,.9);border-radius:999px;padding:6px 4px;box-sizing:border-box;align-items:center;}
li.hs-gcard .best_icon button,li.hs-gcard .best_img .icon button{width:24px!important;height:24px!important;margin:0!important;padding:0!important;background:none!important;}
li.hs-gcard .best_icon label,li.hs-gcard .best_img .icon label{display:block!important;width:24px!important;height:24px!important;padding:0!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;}
.main_header,.main_header_back,header.header,.header,.m_header,.menu_header{z-index:100!important;}
@media (max-width:700px){
  li.hs-gcard figure,li.hs-gcard .best_img,li.hs-gcard .product_img{aspect-ratio:1/1.17;border-radius:12px;}
  li.hs-gcard figcaption,li.hs-gcard h3,li.hs-gcard .price_title{font-size:14px!important;margin-top:10px!important;}
  li.hs-gcard .price p,li.hs-gcard .box p,li.hs-gcard .price_row .price{font-size:16px;}
  li.hs-gcard .hs-tag{font-size:11px;padding:5px 7px;left:8px;bottom:8px;}
}
.hs-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;white-space:nowrap;line-height:1.6;}
.hs-badge.hs-g-free{background:#EEF1F4;color:#4F5B67;border:1px solid #C9D1D9;}
.hs-badge.hs-g-standard{background:#E3F3FC;color:#006FAE;border:1px solid #A9D7F1;}
.hs-badge.hs-g-deluxe{background:#EFEAFD;color:#5A3FC0;border:1px solid #CBBDF6;}
.hs-badge.hs-g-premium{background:#FBF3D9;color:#8A6A00;border:1px solid #E6CF7E;}
.hs-badge.hs-g-platinum{background:#231815;color:#E4E8EC;border:1px solid #231815;}
.hs-legend{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:13px;color:var(--hs-sub);margin:0 0 12px;}
.hs-legend span{display:inline-flex;align-items:center;gap:6px;}
.hs-legend i{width:18px;height:12px;border-radius:3px;border:2px solid var(--gc);background:#fff;}

/* 버튼 */
.btn01,.btn_type1,.bt_type1,button.blue,.btn.blue{background:var(--hs-main)!important;border-color:var(--hs-main)!important;color:#fff!important;border-radius:8px;}
.event_sale button,.sale_list button{border-radius:8px!important;background:var(--hs-main)!important;}
.sidebar .bt_list{border-radius:12px 0 0 12px;overflow:hidden;box-shadow:0 8px 24px rgba(23,63,56,.10);border:0!important;}
.sidebar .bt_list li{background:#fff!important;}
.sidebar .bt_list li:hover{background:var(--hs-main)!important;}

/* 하단 (시안: 연한 세이지 회색) */
footer,.footer{background:var(--hs-soft2)!important;}
footer .bot,.footer .bot{background:var(--hs-soft2)!important;color:var(--hs-sub);border-top:1px solid var(--hs-line);}
.hs-hq{font-size:12px;color:var(--hs-sub);line-height:1.7;padding:14px 0;word-break:keep-all;}
.hs-hq b{color:var(--hs-title);}
.hs-hq-shop{border-top:1px solid var(--hs-line);margin-top:10px;padding:12px 16px;}
.hs-hq .hs-powered{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-weight:700;color:var(--hs-ink);}
.hs-hq .hs-powered img{height:14px;width:auto;display:inline;}
.bot .hs-hq{max-width:1200px;margin:0 auto;}

/* 키보드 포커스 */
a:focus-visible,button:focus-visible{outline:2px solid var(--hs-main);outline-offset:2px;}

/* 본사 사업자 정보: 가맹점 모바일 하단에서 글자가 커지던 것 */
.hs-hq,.hs-hq *{font-size:12px!important;line-height:1.7!important;}
.hs-hq .hs-powered{font-size:13px!important;}

/* ===== 시안 배치 (2026-11-28 사람 요청): 원래 메뉴·상품은 그대로, 머리글만 시안 모양으로 ===== */
/* PC: 맨 위 띠 오른쪽에 로그인·회원가입·장바구니 같은 작은 메뉴 */
@media (min-width:701px){
  .hs-topbar span:last-child{display:none;}
  .head_flex{position:absolute!important;top:0;right:max(32px,calc((100% - 1440px)/2));height:34px;z-index:70;display:flex!important;align-items:center;
    width:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;}
  .head_flex .head_menu{display:flex!important;gap:18px;margin:0!important;}
  .head_flex .head_menu li{padding:0!important;margin:0!important;border:0!important;}
  .head_flex .head_menu a{color:#E8EFEA!important;font-size:12px!important;letter-spacing:.02em;}
  .head_flex .head_menu a:hover{color:#fff!important;text-decoration:underline;}
  /* 머리글 92px 한 줄: 왼쪽 로고 · 가운데 메뉴 · 오른쪽 검색·전체메뉴 */
  .head{position:relative;display:flex!important;align-items:center;height:92px;box-sizing:border-box;max-width:1504px;margin:0 auto!important;
    padding:0 32px!important;border-top:0!important;background:#fff!important;}
  header:has(> .head){border-bottom:1px solid var(--hs-line);background:#fff;}
  .head{border-bottom:0!important;}
  .head .center{display:contents!important;}
  .head .center h1{order:1;width:auto!important;padding:0!important;margin:0!important;flex:0 0 auto;}
  .head .center h1 img,.head .logo{width:auto!important;height:46px!important;max-width:220px;}
  .head nav{order:2;flex:1 1 auto;width:auto!important;margin:0!important;position:static!important;}
  .head .dep1{justify-content:center;gap:4px;}
  .head .dep1>li{padding:0 14px!important;font-size:15px!important;line-height:92px;white-space:nowrap;}
  .head .dep1>li>a{color:var(--hs-ink);}
  .head .dep1>li:hover>a::after{bottom:-14px!important;}
  .head .dep1 .ham{order:99;width:24px!important;padding:0 0 0 18px!important;line-height:0;cursor:pointer;}
  .head .center #g_search_form{order:3;flex:0 0 auto;}
  .head .center .search{position:static!important;transform:none!important;width:190px!important;height:40px;border:1px solid var(--hs-line)!important;border-radius:8px!important;padding:0 12px!important;}
  /* 펼침 메뉴: 시안의 '전체 메뉴' 판처럼 머리글 아래 흰 판 */
  .head .dep2{top:92px;left:50%!important;transform:translateX(-50%);width:min(1376px,calc(100vw - 64px))!important;border-radius:0 0 18px 18px;
    box-shadow:0 24px 48px rgba(22,46,41,.12);padding:0 24px;justify-content:space-between;}
  .head .dep2>li{padding:32px 16px!important;}
  .head .dep2 p{font-weight:700!important;color:var(--hs-ink);font-size:15px;margin-bottom:18px!important;}
  .head .dep3 li,.head .dep3>li{color:#3D4F46!important;font-size:14px;padding:8px 0!important;}
  .head .dep3 li:hover,.head .dep3 a:hover{color:var(--hs-main)!important;}
}
/* 모바일 메인·가맹점 머리글: 시안처럼 한 줄(왼쪽 로고, 오른쪽 아이콘) */
@media (max-width:700px){
  .main_header{display:flex!important;align-items:center;justify-content:space-between;height:64px;padding:0 14px 0 18px;box-sizing:border-box;border-bottom:1px solid var(--hs-line);}
  .main_header_back{height:64px!important;}
  .main_header header.main{flex:1 1 auto;padding:0!important;margin:0!important;height:auto!important;border:0!important;background:none!important;display:flex;align-items:center;min-width:0;}
  .main_header header.main h1,.main_header header.main h1 a{margin:0!important;padding:0!important;display:flex;align-items:center;gap:8px;min-width:0;}
  .main_header header.main h1 img{height:34px!important;width:auto!important;}
  .main_header .index_header{display:flex!important;align-items:center;gap:2px;width:auto!important;padding:0!important;margin:0!important;height:auto!important;background:none!important;}
  .main_header .index_header .search_box{width:40px!important;height:40px!important;border:0!important;background:none!important;padding:0!important;margin:0!important;overflow:hidden;order:1;}
  .main_header .index_header .search_box input{display:none!important;}
  .main_header .index_header .search_box button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;position:static!important;}
  .main_header .index_header button img{width:22px!important;height:auto!important;}
  .main_header .index_header .cart_btn{order:2;width:40px;height:40px;position:relative;display:flex;align-items:center;justify-content:center;}
  .main_header .index_header .bell_btn{order:3;width:40px;height:40px;display:flex;align-items:center;justify-content:center;}
  .main_header .index_header .ham_btn{order:4;width:40px;height:40px;display:flex;align-items:center;justify-content:center;}
  .main_header .bell_count{top:2px!important;right:0!important;}
}
@media (max-width:700px){
  .main_header .index_header .search_box form{display:flex!important;align-items:center;justify-content:center;height:40px;width:40px;margin:0!important;padding:0!important;}
  .main_header .index_header .search_box button{transform:none!important;top:auto!important;right:auto!important;}
  /* 가맹점 환영 띠: 고정 머리글 위에 보이게 (띠 30px 만큼 머리글을 내림) */
  .hs-welcome{position:fixed;top:0;left:0;right:0;height:30px;padding:0 12px!important;display:flex;align-items:center;justify-content:center;font-size:12px!important;z-index:101;box-sizing:border-box;white-space:nowrap;overflow:hidden;}
  body:has(.hs-welcome) .main_header,body:has(.hs-welcome) header.header,body:has(.hs-welcome) .m_header{top:30px!important;}
  body:has(.hs-welcome) .main_header_back{height:94px!important;}
  body:has(.hs-welcome) .header_back{margin-top:30px;}
}

/* 원본 오른쪽 빠른메뉴(숨은 로그인 폼)가 화면 밖으로 나가 생기던 가로 스크롤 막기 */
html,body{overflow-x:clip;}
