/* 24회차: 헬로반티 테마 덧붙임 — 옛 CSS 는 그대로 두고, 새 시스템에만 있는 것(로그아웃 단추·관리자 상단 공지·새 화면 조각)과 인라인 style 을 옮긴 것만 */
.hb-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.hb-inline { display:inline; margin:0; padding:0; }
.hb-util-text { background:none; border:0; padding:0 4px; font-size:13px; color:#333; cursor:pointer; line-height:32px; }
.hb-top-notice { text-align:center; padding:6px 10px; background:#fff6d6; font-size:14px; }
.hb-top-notice a { color:#333; }
@media not all { .hb-top-notice._pc { display:none; } }
@media all { .hb-top-notice._mb { display:none; } }
.bottom-email { clear:both; margin:15px 0px; padding-left:35px; text-align:left; font-size:24px; font-weight:bold; color:#000; background:url(/shop/themes/bantone/img/i_email.png) no-repeat 0% 50%; background-size:24px; }
.navbar-header a.navbar-cart, .navbar-header a.navbar-join, .navbar-header a.navbar-my { display:block; }
.hb-navlogout { background:none; border:0; padding:0; color:inherit; font:inherit; text-align:left; }
/* 아직 옛 모양으로 옮기지 않은 새 화면(기본 템플릿)이 테마 틀 안에 들어갈 때 — 옛 #contents 폭에 맞춤 */
#wrap > main, .hb-basepage > main { width:1280px; min-height:640px; margin:0 auto; padding:10px 0 60px; font-size:14px; text-align:left; box-sizing:border-box; }
@media not all { #wrap > main, .hb-basepage > main { width:100%; padding:10px 15px 40px; } }
.hb-basepage > main h1 { font-size:22px; font-weight:bold; margin:10px 0 20px; padding-bottom:12px; border-bottom:2px solid #333; color:#202020; }
.hb-basepage > main h2 { font-size:17px; margin:20px 0 10px; }
.hb-basepage > main .card, .hb-basepage > main section.card { border:1px solid #e1e2e2; padding:16px 20px; margin:14px 0; background:#fff; }
.hb-basepage > main fieldset { border:1px solid #e1e2e2; padding:12px 16px; margin:12px 0; } .hb-basepage > main legend { width:auto; border:0; font-size:15px; font-weight:bold; padding:0 6px; margin:0; }
.hb-basepage > main table.cart th { background:#f7f7f7; border-top:1px solid #333; }
.hb-basepage > main table { width:100%; border-collapse:collapse; }
.hb-basepage > main th, .hb-basepage > main td { border-bottom:1px solid #e5e5e5; padding:8px; text-align:left; }
.hb-basepage > main .hint { color:#888; font-size:12px; }
.hb-basepage > main .alert { padding:10px 14px; background:#fff3f3; border:1px solid #f3c2c2; color:#b13030; margin:10px 0; }
.hb-basepage > main .notice { padding:10px 14px; background:#f3f8ff; border:1px solid #c9dcf3; margin:10px 0; }
.hb-basepage > main button, .hb-basepage > main .button { display:inline-block; padding:8px 16px; border:1px solid #ccc; background:#fff; color:#333; cursor:pointer; border-radius:3px; }
.hb-basepage > main button.primary, .hb-basepage > main .button.primary { background:#d33e42; border-color:#d33e42; color:#fff; }
.hb-basepage > main input[type=text], .hb-basepage > main input[type=password], .hb-basepage > main input[type=email], .hb-basepage > main input[type=tel], .hb-basepage > main input[type=number], .hb-basepage > main input[type=search], .hb-basepage > main select, .hb-basepage > main textarea { border:1px solid #ccc; padding:6px 8px; max-width:100%; }
.hb-basepage > main label { display:block; margin:8px 0; }
.hb-basepage > main label.inline { display:inline-block; }
.hb-basepage > main dl { display:grid; grid-template-columns:140px 1fr; gap:6px 12px; }
.hb-basepage > main dt { color:#666; }
.pro-title a strong { font-weight:inherit; }
.product-grid::after { content:""; display:block; clear:both; }
.hb-events { text-align:center; margin:20px auto; } .hb-events img { max-width:100%; margin:5px 0; }
.hb-promotions { margin:20px auto; font-size:15px; } .hb-promotions h3 { font-size:20px; margin-bottom:10px; } .hb-promotions li { display:inline-block; margin:0 14px 6px 0; }
/* 상품 상세(24회차) — 옛 Vue 상세 칸 덧붙임 */
html:not(.hb-js) .hb-layer .layer-inner.step1 { display:block; position:static; min-height:0; }
.hb-layer .slot label, .hb-layer .hb-free, .hb-layer .hb-persons { display:block; margin:8px 0; font-size:13px; text-align:left; }
.hb-layer .slot select, .hb-layer .slot input[type=text], .hb-layer .hb-free select { width:100%; max-width:360px; padding:5px 6px; border:1px solid #ddd; border-radius:4px; background:#fff; }
.hb-layer .hb-free select { width:auto; margin-right:6px; }
.hb-slot-title { margin:18px 0 6px; font-size:15px; font-weight:700; color:#222; }
.hb-persons table { width:100%; border-collapse:collapse; background:#fff; font-size:12px; }
.hb-persons th, .hb-persons td { border:1px solid #eee; padding:4px; }
.hb-persons input, .hb-persons select { width:100%; border:1px solid #ddd; padding:3px; }
.hb-quote { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.hb-alerts .alert, .hb-detail-head .alert { margin:10px 0; padding:10px 14px; border-radius:4px; font-size:14px; }
.alert.ok { background:#f2fbf2; border:1px solid #bfe3bf; } .alert.error { background:#fff3f3; border:1px solid #f3c2c2; color:#b13030; }
.alert.sold-out { background:#fff6e6; border:1px solid #f2d39b; text-align:center; font-size:16px; }
.hb-colors { margin:8px 0; font-size:14px; } .hb-colors .color { margin-right:8px; } .hb-colors .unavailable { color:#aaa; }
.detail-comment .hb-attach { display:block; margin:8px 0; font-size:13px; color:#555; }
.hb-product-reviews { margin:40px auto; max-width:900px; font-size:14px; } .hb-product-reviews h3 { font-size:20px; margin-bottom:12px; }
.hb-product-reviews .review { border-top:1px solid #eee; padding:12px 0; } .hb-product-reviews .photos img { width:90px; height:90px; object-fit:cover; margin-right:6px; }
/* 옛 detail.css 의 .btnBox a 규칙을 새 단추(button, 폼 제출)에 그대로 */
.detail .detailCan .btnBox button { cursor:pointer; padding:0; }
.detail .detailCan .btnBox button {
	display:block;
	box-sizing: border-box;
	width: 100%;
	line-height: 62px;
	text-align:center;
	font-family: 'Nanum Square', 'Nanum Gothic';
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	background-color:#ff765d;
	border:4px solid #ff765d;
	border-radius: 16px;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
}
.detail .detailCan .btnBox button:hover {
	text-decoration: none;
}
.detail .detailCan .btnBox button.btn1 {
	color: #000;
	background-color:#eaeaea;
	border-color:#eaeaea;
}
.detail .detailCan .btnBox button.btn2 {}
.detail .detailCan .btnBox button.btn3 {
	color: #ff765d;
	background-color:#fff;
}
@media not all {
.detail .detailCan .btnBox button {
	padding:.75rem .25rem;
	line-height: 1.3;
	font-size: 16px;
	border-width:3px;
}
.detail .detailCan .btnBox button.btn2,
.detail .detailCan .btnBox button.btn3 {
	line-height:inherit;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
}

/* 로그인·주문조회·장바구니(24회차) */
.hb-kakao-btn { display:block; line-height:64px; text-align:center; color:#191919 !important; font-weight:bold; font-size:16px; }
.hb-kakao-btn:hover { text-decoration:none; }
.hb-login-alert, .hb-alert { margin:10px 0; padding:10px 14px; border-radius:4px; font-size:14px; }
.cartList-wrap .hb-col-img { width:10%; }
.hb-cart-img img { width:80px; height:80px; object-fit:cover; }
.hb-cart-name { padding:10px !important; } .hb-cart-opt { font-size:12px; color:#666; margin:4px 0; }
/* 30회차(P154) 장바구니 줄 요약·상세 보기 — 운영과 일부러 다른 새 기능(같은 글꼴·회색 선·테마 색) */
.hb-cart-sum { font-size:12px; color:#666; margin:4px 0; line-height:1.6; } .hb-cart-sum > span { margin-right:8px; display:inline-block; }
.hb-cart-free { color:#006934; border:1px solid #006934; border-radius:2px; padding:0 5px; font-weight:bold; } .hb-cart-added { color:#999; }
.hb-cart-detail { margin:6px 0; font-size:12px; color:#555; } .hb-cart-detail > summary { cursor:pointer; display:inline-block; color:#333; border-bottom:1px solid #ccc; padding-bottom:1px; list-style:none; }
.hb-cart-detail > summary::-webkit-details-marker { display:none; } .hb-cart-detail > summary::after { content:' ▾'; color:#999; } .hb-cart-detail[open] > summary::after { content:' ▴'; }
.hb-cd-body { margin-top:6px; border-top:1px solid #e5e5e5; padding-top:6px; text-align:left; } .hb-cd-comp { padding:4px 0 6px; border-bottom:1px dashed #e5e5e5; }
.hb-cd-head { color:#333; margin-bottom:2px; } .hb-cd-head span { color:#888; margin-left:6px; }
.hb-cd-rows { display:grid; grid-template-columns:48px 1fr; gap:2px 8px; margin:0; } .hb-cd-rows dt { color:#999; font-weight:normal; } .hb-cd-rows dd { margin:0; word-break:keep-all; overflow-wrap:anywhere; }
.hb-cd-amount { padding-top:6px; } .hb-cd-amount span { margin-right:8px; display:inline-block; } .hb-cd-amount strong { color:#333; display:inline-block; }
.hb-cart-actions { margin-top:6px; } .hb-cart-actions a, .hb-cart-actions button { margin-right:4px; }
.hb-cart-extra { margin:30px 0; font-size:14px; } .hb-cart-extra form { margin:8px 0; } .hb-cart-extra input { border:1px solid #ccc; padding:6px 8px; margin-right:6px; }
.hb-cart-extra summary { cursor:pointer; font-weight:bold; margin:10px 0; } .hb-cart-extra label { display:block; margin:6px 0; }
/* 30회차 장바구니 단추(승용님 10/17) — React 장바구니만(hb-cbtn·hb-cbtns·hb-cx·hb-cta 는 Thymeleaf 장바구니에 없음). 테마 색 그대로 + 만화 그림자(2px)·누르면 그림자 속으로 */
.cartList-wrap, .hb-cx { --hb-c:#006934; --hb-cd:#005346; --hb-tint:rgba(0,105,52,.07); --hb-ring:rgba(0,105,52,.4); --hb-danger:#f32835; --hb-gray:#c4c4c4; }
.hb-cbtn { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:4px; box-sizing:border-box; height:34px; min-width:88px; margin:0; padding:0 14px; vertical-align:middle;
  font-family:inherit; font-size:13px; font-weight:700; line-height:1; letter-spacing:-0.02em; white-space:nowrap; text-decoration:none; cursor:pointer;
  color:var(--hb-c); background:#fff; border:2px solid var(--hb-c); border-radius:10px; box-shadow:2px 2px 0 var(--hb-cd);
  transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease; -webkit-tap-highlight-color:transparent; }
.hb-cbtn:hover, .hb-cbtn:focus { text-decoration:none; color:var(--hb-c); }
.hb-cbtn:hover { background:var(--hb-tint); transform:translate(-1px,-1px); box-shadow:3px 3px 0 var(--hb-cd); }
.hb-cbtn:active { transform:translate(2px,2px); box-shadow:0 0 0 var(--hb-cd); }
.hb-cbtn:focus-visible { outline:3px solid var(--hb-ring); outline-offset:2px; }
.hb-cbtn-del { color:#777; border-color:var(--hb-gray); box-shadow:2px 2px 0 var(--hb-gray); }
.hb-cbtn-del::before { content:''; width:13px; height:13px; background:url(../img/icons/i_trash.png) no-repeat 50% 50%; background-size:contain; opacity:.55; transition:opacity .12s ease; }
.hb-cbtn-del:hover, .hb-cbtn-del:focus { color:var(--hb-danger); }
.hb-cbtn-del:hover { border-color:var(--hb-danger); background:#fff; box-shadow:3px 3px 0 var(--hb-danger); }
.hb-cbtn-del:hover::before { opacity:1; }
.hb-cbtn-del:active { box-shadow:0 0 0 var(--hb-danger); }
.hb-cbtn-ghost { color:#666; border-color:#d9d9d9; box-shadow:2px 2px 0 #d9d9d9; } .hb-cbtn-ghost:hover, .hb-cbtn-ghost:focus { color:var(--hb-c); } .hb-cbtn-ghost:hover { border-color:var(--hb-c); box-shadow:3px 3px 0 var(--hb-cd); }
.hb-cbtn-sm { height:28px; min-width:0; padding:0 10px; font-size:12px; border-width:1px; border-radius:8px; }
.hb-cart-actions.hb-cbtns { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; } .hb-cart-actions.hb-cbtns a, .hb-cart-actions.hb-cbtns button { margin:0; } .hb-cbtns .hb-inline { display:contents; }
.cartList-caption .hb-cbtn { margin:2px 2px 6px 0; }
/* 상세 보기 펼침 — 작은 알약 */
.hb-cart-detail > summary { position:relative; display:inline-flex; align-items:center; height:24px; padding:0 10px; color:#555; font-weight:700; background:#fafafa; border:1px solid #ddd; border-radius:12px; transition:border-color .12s ease, color .12s ease; }
.hb-cart-detail > summary:hover, .hb-cart-detail[open] > summary { color:var(--hb-c); border-color:var(--hb-c); }
.hb-cart-detail > summary:focus-visible { outline:3px solid var(--hb-ring); outline-offset:2px; }
.hb-cart-detail > summary::after { margin-left:3px; }
/* 견적서·저장주문서 */
.hb-cx .estimate-form { display:flex; justify-content:center; align-items:center; gap:8px; flex-wrap:wrap; }
.hb-cx .estimate-form input { height:34px; box-sizing:border-box; margin:0; border:2px solid #ddd; border-radius:10px; padding:0 12px; }
.hb-cx .estimate-form input:focus { outline:none; border-color:var(--hb-c); box-shadow:0 0 0 3px var(--hb-ring); }
.hb-cx > details > summary { display:inline-flex; align-items:center; min-height:34px; padding:0 14px; border:1px dashed #ccc; border-radius:10px; color:#444; transition:border-color .12s ease, color .12s ease; }
.hb-cx > details > summary:hover, .hb-cx > details[open] > summary { color:var(--hb-c); border-color:var(--hb-c); }
.hb-cx > details > summary:focus-visible { outline:3px solid var(--hb-ring); outline-offset:2px; }
.hb-cx .stack .hb-cbtn { margin-top:6px; }
/* 큰 주문 단추(테마 단추 그대로) + 같은 만화 그림자 */
.hb-cta { --hb-ink:#005346; box-shadow:3px 3px 0 var(--hb-ink); transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease; }
.hb-cta.bt_yellow { --hb-ink:#005346; }
.hb-cta:hover { transform:translate(-1px,-1px); box-shadow:4px 4px 0 var(--hb-ink); }
.hb-cta:active { transform:translate(3px,3px); box-shadow:0 0 0 var(--hb-ink); }
.hb-cta:focus-visible { outline:3px solid #ffb400; outline-offset:3px; }
.hb-cta:disabled { box-shadow:none; transform:none; cursor:not-allowed; opacity:.5; }
/* 모바일: 누르는 칸 44px 이상, 두 단추 같은 너비 */
.hb-m .hb-cbtn { height:44px; font-size:14px; } .hb-m .hb-cbtn-sm { height:36px; font-size:12px; }
.hb-m .hb-cart-actions.hb-cbtns .hb-cbtn { flex:1 1 0; }
.hb-m .hb-cart-detail > summary { height:30px; } .hb-m .hb-cart-detail > summary::before { content:''; position:absolute; inset:-7px -4px; }
.hb-m .hb-cta { min-height:48px; display:inline-flex; align-items:center; justify-content:center; } .hb-m .hb-cta.btn_M { min-height:44px; }
.hb-m.hb-cx .estimate-form input, .hb-m.hb-cx > details > summary { height:44px; min-height:44px; }
.hb-m.hb-cx .estimate-form input { flex:1 1 160px; }
@media (prefers-reduced-motion: reduce) {
  .hb-cbtn, .hb-cta, .hb-cart-detail > summary, .hb-cx > details > summary { transition:none; }
  .hb-cbtn:hover, .hb-cbtn:active, .hb-cta:hover, .hb-cta:active { transform:none; }
}
/* 게시판(24회차) */
.hb-post-title { display:inline; font-size:inherit; font-weight:inherit; margin:0; }
.board-contents .pre, .post-body.pre { white-space:pre-wrap; word-break:break-all; }
.hb-unlock { padding:30px; font-size:14px; } .hb-unlock input { border:1px solid #ccc; padding:6px; margin:0 6px; }
.hb-replies { margin-top:20px; } .hb-reply-count { color:#d33e42; font-size:12px; }
.hb-post-manage { margin:20px 0; font-size:14px; } .hb-post-manage summary { cursor:pointer; font-weight:bold; }
.hb-post-manage label { display:block; margin:6px 0; } .hb-post-manage input[type=text], .hb-post-manage input:not([type]), .hb-post-manage textarea, .hb-post-manage input[type=password] { width:100%; max-width:600px; border:1px solid #ccc; padding:6px; }
.hb-board-write .boardWrite-head input:not([type=checkbox]) { width:100%; max-width:500px; border:1px solid #ccc; padding:6px; }
.hb-board-write .boardWrite-head small { color:#888; }
.hb-board-write textarea { width:100%; border:1px solid #ccc; padding:10px; font-size:14px; }
.hb-board-write .button-group button { cursor:pointer; }
/* 후기 게시판(24회차) */
.hb-img-btn { border:0; background:none; padding:0; cursor:pointer; }
.gallerylist-wrap .gal-con a { white-space:pre-line; }
.hb-pop[hidden] { display:none; } .hb-pop { position:fixed; inset:0; z-index:100000; }
.hb-pop-bg { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.hb-pop-box { position:relative; margin:5vh auto; width:min(640px, 92vw); max-height:90vh; overflow:auto; background:#fff; border-radius:10px; padding:24px; font-size:14px; text-align:left; }
.hb-pop-close { position:absolute; right:12px; top:8px; border:0; background:none; font-size:28px; cursor:pointer; }
.hb-pop-box .pre { white-space:pre-wrap; margin:10px 0; } .hb-pop-box .photos img { max-width:100%; margin:6px 0; display:block; }
.hb-empty { text-align:center; padding:40px 0; color:#777; font-size:15px; }
.hb-legal-date { margin:20px 0 40px; color:#888; font-size:12px; }
.hb-notfound { text-align:center; padding:80px 0 100px; font-size:16px; } .hb-notfound h1 { font-size:28px; margin-bottom:16px; } .hb-notfound-links { margin-top:30px; } .hb-notfound-links a { margin:0 4px; }
/* 옛 #Reviewlist.datalist-top 규칙(옛은 같은 id 를 두 번 씀 — 새는 클래스로) */
.datalist-top.hb-reviewlist-top {
	padding-bottom:15px;
	border-bottom:1px solid #ddd;
}
.datalist-top.hb-reviewlist-top ._left {
	display:flex;
	flex-wrap:warp;
	justify-content: space-between;
	align-items:center;
}
.datalist-top.hb-reviewlist-top ._left > :last-child {
	margin-right:0;
}

/* 회사소개 본문(옛 company.html 안 <style> — 정화 때 빠짐) */
.legal-body p.bold { font-family:'esamanru-Bold'; font-size:26px; }
.legal-body p.medium { font-family:'esamanru-Medium'; font-size:22px; }
.legal-body p.light { font-family:'esamanru-Light'; font-size:18px; }
.legal-body p { line-height:1.7; }
/* 회원가입(24회차) */
.hb-join-consents { margin:20px 0 0; text-align:left; font-size:14px; }
.hb-join-consents fieldset { border:1px solid #ddd; padding:12px 16px; } .hb-join-consents legend { font-weight:bold; width:auto; padding:0 6px; font-size:15px; margin:0; border:0; }
.hb-join-consents label { display:block; margin:6px 0; font-weight:normal; } .hb-join-consents .hint { color:#888; font-size:12px; }
.hb-join-login { margin-top:16px; font-size:13px; }
/* 주문서(24회차) */
.hb-notice-box { display:inline-block; border-radius:5px; border:1px solid #FFB7C9; background-color:#FBF4F4; padding:15px; line-height:1.5; font-size:120%; }
.hb-inline-check { display:inline-block; margin:0 10px 0 6px; font-weight:normal; font-size:13px; }
.hb-agree-refund { display:inline-flex; align-items:center; gap:6px; cursor:pointer; line-height:1.5; font-weight:normal; }
.hb-checkout .school-grade-class[hidden] { display:none; }
.hb-complete-note { margin:20px 0; font-size:14px; color:#555; line-height:1.8; }
/* 마이페이지(24회차) */
.hb-recent { width:100%; padding:10px 0; font-size:14px; } .hb-recent table { width:100%; } .hb-recent td { padding:6px; border-bottom:1px solid #eee; }
.hb-mypage-nav { margin:20px 0; font-size:14px; text-align:center; } .hb-mypage-nav a { display:inline-block; margin:4px 8px; color:#555; }
.hb-profile { margin:30px auto; max-width:800px; text-align:left; } .hb-profile h3 { font-size:18px; margin-bottom:8px; }
/* 옛 reset.css 는 h1 을 숨김(text-indent:-5000px — 검색엔진용). 새 화면에서 보여야 하는 h1 만 되돌림 */
.hb-basepage > main h1, .hb-notfound h1 { text-indent:0; line-height:1.4; }
.hb-post-title { text-indent:0; line-height:inherit; font-size:inherit !important; }
/* 옛 realtime_search.php 가 찍던 색(관리자 설정 기본값) */
.rtk .rtk-pill{color:#3b6fe0;background:#e7eefb;}.rtk .rtk-ph b,.rtk .rtk-panel a:hover .rtk-k,.rtk .rtk-panel a:focus .rtk-k{color:#3b6fe0;}.rtk .rtk-n{color:#3b6fe0;}
.cart-totalBox-btn button[disabled] { opacity:1; cursor:default; }
/* 이니셜 엑셀 단추(옛 KAN-8 kan8-excel-btns 모양) */
.kan8-excel-btns { display:flex; flex-direction:row; flex-wrap:wrap; gap:8px; margin:10px 0; align-items:flex-start; }
.kan8-excel-btns > .hint, .kan8-excel-btns > .initial-excel-result { flex-basis:100%; margin:0; }
.kan8-excel-btns button, .kan8-excel-btns label { white-space:nowrap; background:#fff; border:1px solid #ddd; border-radius:4px; padding:6px 10px; font-size:12px; line-height:1.3; cursor:pointer; text-align:center; margin:0; position:relative; }
.kan8-excel-btns input[type=file] { position:absolute; left:0; top:0; width:1px; height:1px; opacity:0; }
/* 32회차(P145 바뀜): 바로 구매 주문서 안내 한 줄 — '이 상품만 주문합니다' */
.hb-buynow-note { margin:12px 0 16px; padding:12px 16px; border:1px solid #e1e2e2; border-left:4px solid #333; background:#fafafa; font-size:14px; color:#333; text-align:left; }
/* 35회차(승용님 10/18 P162 '나' — 운영과 일부러 다름) 관리자 칸을 쇼핑몰에 보임. 켜진 상품에만 그려짐(안 켠 상품은 상자 그대로). 간격 눈금 4·8·12·16·24, 누르는 칸 44
   상품 정보 줄(옛 REP-SUBITEMS-CONTENTS '브랜드 : 내용') · 사은품 고르기(옛 '사은품 선택하기' + pop/gift.html) · 이니셜 번호 끔 안내 · 기본 사이즈 동일 단추 */
.hb-pinfo, .hb-gift { --hb-pc:#006934; --hb-pcd:#004d26; --hb-pring:rgba(0,105,52,.35); --hb-ptint:rgba(0,105,52,.07); }
.hb-pinfo { display:flex; flex-wrap:wrap; gap:4px 16px; margin:8px 0 0; padding:0; font-size:13px; line-height:1.5; text-align:left; color:#333; }
.hb-pinfo-item { display:flex; gap:8px; min-width:0; }
.hb-pinfo dt { flex:0 0 auto; margin:0; font-weight:normal; color:#6e6e6e; }
.hb-pinfo dt::after { content:" :"; }
.hb-pinfo dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.option-item > .hb-pinfo { margin:0 0 12px; padding:8px 12px; border:1px solid #e1e2e2; border-radius:8px; background:#fafafa; }
.hb-gift { margin:24px 0 16px; padding:16px; border:1px solid #e1e2e2; border-radius:12px; background:#fff; text-align:left; color:#202020; font-size:14px; }
.hb-gift-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin:0 0 12px; }
.hb-gift-head h3 { margin:0; font-size:17px; font-weight:bold; color:#4e4e4e; }
.hb-gift-head p { margin:0; font-size:13px; color:#6e6e6e; }
.hb-gift-now { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.hb-gift-chosen { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 0 0 8px; border:1px solid var(--hb-pc); border-radius:10px; background:var(--hb-ptint); }
.hb-gift-chosen img, .hb-gift-chosen .hb-gift-noimg { width:32px; height:32px; border-radius:6px; object-fit:cover; background:#f4f4f4; }
.hb-gift-none { color:#6e6e6e; font-size:13px; }
.hb-gift-x { width:44px; height:44px; margin:0; padding:0; border:0; background:none; color:#999; font-size:16px; cursor:pointer; }
.hb-gift-x:hover, .hb-gift-x:active { color:#d33e42; }
.hb-gift-open { min-height:44px; margin:0; padding:0 16px; border:1px solid var(--hb-pc); border-radius:10px; background:#fff; color:var(--hb-pcd); font-size:14px; font-weight:bold; cursor:pointer; box-shadow:1px 1px 0 var(--hb-pcd); }
.hb-gift-open:hover { background:var(--hb-ptint); }
.hb-gift-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(120px, 1fr)); gap:12px; margin:16px 0 0; padding:0; list-style:none; animation:hb-gift-open .18s ease-out both; }
@keyframes hb-gift-open { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.hb-gift-list button { display:flex; flex-direction:column; align-items:center; gap:8px; width:100%; min-height:44px; margin:0; padding:8px; border:1px solid #e1e2e2; border-radius:10px; background:#fff; color:#202020; font-size:13px; text-align:center; cursor:pointer; box-shadow:0 1px 0 rgba(0,0,0,.06); }
.hb-gift-list button:hover { border-color:var(--hb-pc); }
.hb-gift-list button[aria-pressed=true] { border-color:var(--hb-pc); background:var(--hb-ptint); box-shadow:0 0 0 1px var(--hb-pc); }
.hb-gift-list img, .hb-gift-list .hb-gift-noimg { display:block; width:100%; aspect-ratio:1; border-radius:6px; object-fit:contain; background:#f4f4f4; }
.hb-gift button:focus-visible { outline:3px solid var(--hb-pring); outline-offset:2px; }
.layer-inner.step5 .hb-ini-lock { margin:8px 16px 0; padding:8px 12px; border-left:4px solid #999; background:#fafafa; font-size:13px; color:#333; text-align:left; }
.layer-inner.step5 table th .hb-copysize { display:block; margin:4px auto 0; min-height:32px; padding:0 8px; border:1px solid #006934; border-radius:8px; background:#fff; color:#004d26; font-size:12px; font-weight:bold; white-space:nowrap; cursor:pointer; }
.layer-inner.step5 table th .hb-copysize:focus-visible { outline:3px solid rgba(0,105,52,.35); outline-offset:2px; }
.hb-cart-gift { color:#333; border:1px solid #c4c4c4; border-radius:2px; padding:0 5px; }
@media (prefers-reduced-motion: reduce) { .hb-gift-list { animation:none; } }
