/* SNS119 새 디자인 (2026-11-26) */
:root { --c: #4338ca; --c2: #6366f1; --cd: #3730a3; --soft: #eef0ff; --ink: #16181d; --sub: #6b7280; --line: #eceef2; --bg: #f6f7f9; }
html { min-height: 100%; }
body.gp { padding: 0 !important; margin: 0 !important; background: #fff !important; background-image: none !important; color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -.2px; font-size: 15px; }
body.gp pre, body.gp input, body.gp select, body.gp textarea, body.gp button { font-family: inherit; }
body.gp a { color: inherit; }

/* 머리글 */
#gp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#gp-header .gp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 62px; display: flex; align-items: center; gap: 24px; }
.gp-logo { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--ink) !important; text-decoration: none !important; flex: none; }
.gp-logo b { color: var(--c); }
.gp-menu { display: flex; gap: 26px; margin: 0 auto; }
.gp-menu a { font-size: 15px; font-weight: 600; color: #333 !important; text-decoration: none !important; padding: 6px 0; }
.gp-menu a.on, .gp-menu a:hover { color: var(--c) !important; }
.gp-user { display: flex; align-items: center; gap: 10px; flex: none; }
.gp-user a { text-decoration: none !important; font-size: 14px; font-weight: 600; }
.gp-bal { background: var(--soft); color: var(--c) !important; border-radius: 999px; padding: 7px 13px; font-weight: 700 !important; }
.gp-name { color: #333 !important; }
.gp-out, .gp-login { color: #555 !important; padding: 7px 4px; }
.gp-join { border: 1px solid var(--c); color: var(--c) !important; border-radius: 10px; padding: 7px 13px; }
#gp-tabbar { display: none; }
#gp-kakao { position: fixed; right: 24px; bottom: 24px; z-index: 60; background: #fee500; color: #191919 !important; border-radius: 999px; padding: 13px 18px; font-weight: 800; font-size: 14px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
body.gp .footer .kakao { display: none !important; }

/* 아이콘 */
.gp-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.gp-ico svg { width: 22px; height: 22px; display: block; }
.gp-ico.ig { background: linear-gradient(45deg, #f9a825, #e91e63, #8e24aa); }
.gp-ico.fb { background: #1877f2; }
.gp-ico.yt { background: #ff0033; }
.gp-ico.tw { background: #111; }
.gp-ico.nv { background: #03c75a; }

/* 첫 화면 */
.gp-main { max-width: 1180px; margin: 0 auto; padding: 22px 20px 60px; }
.gp-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.gp-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 36px 36px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); }
.gp-hero:after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(255,255,255,.14); }
.gp-hero small { font-size: 13px; font-weight: 600; opacity: .9; }
.gp-hero h1 { font-size: 34px; line-height: 1.28; font-weight: 800; margin: 8px 0 10px; letter-spacing: -.7px; }
.gp-hero p { margin: 0 0 16px; font-size: 14px; opacity: .95; max-width: 420px; }
.gp-pill { display: inline-block; background: #fff; color: var(--cd) !important; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 800; text-decoration: none !important; position: relative; z-index: 1; }
.gp-quick { border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.gp-quick h2, .gp-h2 { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.gp-h2 { margin: 30px 0 12px; }
.gp-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gp-tile { border: 1px solid var(--line); border-radius: 16px; padding: 14px 2px 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: #333 !important; text-decoration: none !important; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color .15s; }
.gp-tile:hover { border-color: var(--c); }
.gp-notice { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 14px; padding: 13px 16px; font-size: 14px; margin-top: 12px; color: #333 !important; text-decoration: none !important; }
.gp-notice em { font-style: normal; color: var(--c); font-weight: 800; margin-right: 8px; }
.gp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gp-step { background: var(--bg); border-radius: 16px; padding: 18px 12px; text-align: center; text-decoration: none !important; color: var(--ink) !important; }
.gp-step i { display: block; font-style: normal; font-weight: 800; color: var(--c); font-size: 12px; }
.gp-step b { display: block; font-size: 16px; margin: 4px 0 2px; }
.gp-step span { font-size: 12.5px; color: var(--sub); }

/* 다른 화면 공통 */
body.gp-sub .jumbotron { background: none; margin: 0 auto; max-width: 1180px; padding: 30px 20px 8px !important; }
body.gp-sub .jumbotron .container { padding: 0; width: auto; }
body.gp-sub .jumbotron h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.5px; }
body.gp-sub .jumbotron p { font-size: 14px; color: var(--sub); margin: 0 0 4px; }
body.gp-sub .jumbotron.banner { display: none; }
body.gp-sub .container { max-width: 1180px; width: auto; }
body.gp .panel { border: 1px solid var(--line); border-radius: 18px; box-shadow: none; overflow-x: auto; }
body.gp .panel-heading { background: #fff !important; border-bottom: 1px solid var(--line); font-weight: 700; padding: 14px 18px; }
body.gp .panel-body { padding: 18px; }
body.gp-sub .form-control { height: auto; min-height: 48px; border-radius: 12px; border: 1px solid #dfe3e8; box-shadow: none; font-size: 15px; padding: 11px 14px; }
body.gp-sub .form-control:focus { border-color: var(--c); box-shadow: 0 0 0 3px rgba(67,56,202,.14); }
body.gp-sub .form-control:disabled { background: var(--bg); }
body.gp-sub .input-group .form-control { border-radius: 12px 0 0 12px; }
body.gp-sub .input-group-btn .btn { border-radius: 0 12px 12px 0; min-height: 48px; }
body.gp-sub .btn-lg, body.gp-sub #btn_charge, body.gp-sub #login { background: var(--c); border: 0; color: #fff; border-radius: 14px; font-weight: 800; height: 54px; }
body.gp-sub .btn-lg:hover, body.gp-sub #btn_charge:hover, body.gp-sub #login:hover { background: var(--cd); color: #fff; }
body.gp-sub #login, body.gp-sub #btn_charge { width: 100%; float: none; display: block; }
body.gp .nav-pills > li > a { border-radius: 999px; padding: 8px 16px; font-weight: 600; color: #444; border: 1px solid var(--line); margin: 0 6px 6px 0; background: #fff; }
body.gp .nav-pills > li.active > a, body.gp .nav-pills > li.active > a:hover { background: var(--soft); color: var(--c); border-color: var(--c); }
body.gp .table > tbody > tr > th { font-size: 13px; color: var(--sub); font-weight: 600; border-top: 0; }
body.gp .label-primary { background: var(--c); }
body.gp .pagination > li > a { border-radius: 10px !important; margin: 0 3px; min-width: 38px; text-align: center; color: var(--c); }
body.gp .pagination > .active > a, body.gp .pagination > .active > a:hover { background: var(--c); border-color: var(--c); color: #fff; }
body.gp-sub .h4 a { color: var(--ink); font-weight: 700; }
body.gp-sub .table-responsive { border: 0; }
body.gp-page-login .jumbotron, body.gp-page-join .jumbotron, body.gp-page-password .jumbotron { max-width: 460px; text-align: center; }
body.gp-page-login .container.col-md-6, body.gp-page-password .container.col-md-6, body.gp-page-join .col-md-6.col-md-offset-3 { float: none !important; width: 100% !important; max-width: 460px; margin: 0 auto !important; padding: 0 20px !important; left: auto; }
body.gp-page-join .container > .col-md-6.col-md-offset-3 { padding: 0 !important; }
body.gp-page-login .pull-right { float: none !important; display: block; text-align: center; color: var(--sub); font-size: 14px; margin-top: 4px; }

/* 주문 화면 */
body.gp-order .container { padding-top: 0; }
#gp-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 22px 0 16px; }
.gp-cat { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 15px; font-weight: 700; color: #444 !important; text-decoration: none !important; }
.gp-cat.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset; background: var(--soft); color: var(--ink) !important; }
.gp-types { padding: 0 !important; float: none !important; width: auto !important; }
.gp-types .nav-pills > li { float: left; }
#gp-sub { margin: 6px 0 4px; clear: both; }
#gp-sub h3 { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.gp-subs { display: flex; flex-wrap: wrap; gap: 8px; }
#gp-sub button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: #333; }
#gp-sub button i { font-style: normal; }
#gp-sub button em { font-style: normal; color: #9aa1ad; font-size: 12px; }
#gp-sub button.on { border-color: var(--c); background: var(--soft); color: var(--c); box-shadow: 0 0 0 1px var(--c) inset; }
#gp-sub button.on em { color: var(--c); }
body.gp-order #order { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; margin-top: 18px; }
body.gp-order #order > .col-md-7, body.gp-order #order > .col-md-5 { width: auto; float: none; padding: 0; }
body.gp-order .gp-oldpanel { display: none; }
.gp-count { font-size: 16px; font-weight: 800; margin: 2px 0 12px; }
.gp-cards { display: flex; flex-direction: column; gap: 10px; }
.gp-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; outline: none; }
.gp-card:hover { border-color: #c7caf7; }
.gp-card.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 8px 24px rgba(67,56,202,.08); }
.gp-cname { font-size: 16px; font-weight: 700; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.gp-cprice, .gp-selprice { margin-top: 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; }
.gp-cprice b, .gp-selprice b { color: var(--c); font-size: 19px; font-weight: 800; }
.gp-cprice span, .gp-selprice span { color: var(--sub); font-size: 13px; }
.gp-cprice small, .gp-selprice small { color: var(--sub); font-size: 12.5px; margin-left: 8px; }
.gp-cdesc { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: #4b5563; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.gp-card.on .gp-cdesc { display: block; -webkit-line-clamp: unset; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.gp-card.on.fold .gp-cdesc { display: -webkit-box; -webkit-line-clamp: 2; background: none; padding: 0; }
.gp-cmore { display: none; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--c); }
.gp-card.on .gp-cmore { display: block; }
.gp-card.on.fold .gp-cmore { font-size: 0; }
.gp-card.on.fold .gp-cmore::after { content: "설명 펼치기"; font-size: 13px; }
body.gp-order #order > .col-md-5 .panel { border-radius: 20px; }
@media (min-width: 992px) { body.gp-order #order > .col-md-5 { position: sticky; top: 80px; } body.gp-order #order > .col-md-5 .panel { max-height: calc(100vh - 100px); overflow-y: auto; } }
.gp-picked { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.gp-picked small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
#gp-selname { display: block; font-size: 16px; font-weight: 800; margin: 4px 0 2px; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.gp-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.gp-info .form-group { width: auto !important; float: none !important; padding: 12px 14px !important; margin: 0 !important; border: 1px solid var(--line); border-radius: 14px; }
.gp-info label { font-size: 12px; color: var(--sub); font-weight: 600; margin-bottom: 2px; }
body.gp-order .gp-info pre { background: none; border: 0; padding: 0; margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); white-space: normal; }
body.gp-order .form-group > label { font-size: 14px; font-weight: 700; }
body.gp-order .form-group > p { color: var(--sub); font-size: 12.5px; margin: -2px 0 8px; }
body.gp-order pre { font-family: inherit; border: 0; border-radius: 12px; background: var(--bg); font-size: 14px; white-space: pre-wrap; }
.gp-qty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.gp-qty button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 0; font-size: 13px; font-weight: 700; color: #555; }
.gp-qty button:active { background: var(--soft); color: var(--c); }
.gp-sum { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.gp-price { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px !important; }
.gp-price label { margin: 0 !important; color: var(--sub); font-weight: 600 !important; }
body.gp-order .gp-price pre { background: none !important; padding: 0 !important; margin: 0; font-size: 24px !important; font-weight: 800; color: var(--ink); }
.gp-sum #submit, .gp-loginbtn { display: block; width: 100%; height: 56px; margin: 0; border: 0; border-radius: 14px; background: var(--c); color: #fff !important; font-size: 17px; font-weight: 800; text-align: center; line-height: 56px; padding: 0; text-decoration: none !important; cursor: pointer; }
.gp-sum #submit:disabled { background: #b4b7ef; cursor: default; }

/* 아래 정보 */
body.gp .footer { position: static !important; clear: both; background: var(--bg); color: #8a919c; font-size: 12px; padding: 22px 0 26px; margin-top: 40px; }
body.gp .footer a { color: #6b7280; }
body.gp .footer img { max-width: 100%; height: auto; }

/* 태블릿 */
@media (max-width: 1023px) {
	.gp-menu { display: none; }
	.gp-user { margin-left: auto; }
	.gp-top { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
	body.gp-order #order { grid-template-columns: 1fr; }
}

/* 휴대폰 */
@media (max-width: 767px) {
	body.gp { padding-bottom: 70px !important; }
	#gp-header .gp-wrap { height: 56px; padding: 0 16px; }
	.gp-logo { font-size: 20px; }
	.gp-name, .gp-out { display: none; }
	#gp-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); }
	#gp-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: #9aa1ad !important; text-decoration: none !important; padding-top: 4px; }
	#gp-tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	#gp-tabbar a.on { color: var(--c) !important; }
	#gp-kakao { right: 14px; bottom: 82px; padding: 11px 15px; font-size: 13px; }
	body.gp-order #gp-kakao { bottom: 196px; }
	.gp-main { padding: 14px 16px 30px; }
	.gp-hero { padding: 24px 20px; border-radius: 18px; }
	.gp-hero h1 { font-size: 26px; }
	.gp-quick { border: 0; padding: 4px 0 0; }
	.gp-tiles { gap: 6px; }
	.gp-tile { font-size: 11.5px; padding: 12px 0 10px; border-radius: 14px; }
	.gp-steps { gap: 8px; }
	.gp-step { padding: 14px 6px; }
	.gp-step b { font-size: 14.5px; }
	body.gp-sub .jumbotron { padding: 22px 16px 4px !important; }
	body.gp-sub .jumbotron h2 { font-size: 22px; }
	body.gp-sub .container { padding-left: 16px; padding-right: 16px; }
	body.gp-sub .col-md-6.col-md-offset-3 { padding: 0; }
	#gp-cats { grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 14px 0 12px; }
	.gp-cat { flex-direction: column; gap: 6px; padding: 10px 0 9px; font-size: 11px; border-radius: 14px; letter-spacing: -.4px; }
	body.gp .nav-pills > li > a { padding: 7px 13px; font-size: 13.5px; }
	#gp-sub button { padding: 9px 12px; font-size: 13.5px; }
	body.gp-order #order { gap: 14px; margin-top: 14px; }
	.gp-card { padding: 14px 16px; border-radius: 16px; }
	.gp-cname { font-size: 15px; }
	body.gp-order #order > .col-md-5 .panel { border: 0; }
	body.gp-order #order > .col-md-5 .panel-body { padding: 0; }
	.gp-picked { background: var(--soft); border: 0; border-radius: 14px; padding: 12px 14px; }
	.gp-sum { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 65; background: #fff; border-top: 1px solid var(--line); margin: 0; padding: 10px 16px; box-shadow: 0 -6px 16px rgba(0,0,0,.05); }
	.gp-price { margin-bottom: 8px !important; }
	.gp-price pre { font-size: 20px !important; }
	.gp-sum #submit, .gp-loginbtn { height: 50px; line-height: 50px; font-size: 16px; }
	body.gp-order { padding-bottom: 190px !important; }
	body.gp .table { font-size: 13px; }
	body.gp .footer { margin-top: 24px; padding-bottom: 20px; }
}

/* 주문 화면의 옛 제목(네이버 등) 숨김 */
body.gp-order .jumbotron { display: none !important; }
/* 휴대폰 카톡 버튼: 글을 덜 가리게 작은 동그라미 */
@media (max-width: 767px) {
	#gp-kakao { width: 48px; height: 48px; padding: 0; font-size: 0; display: grid; place-items: center; border-radius: 50%; right: 12px; }
	#gp-kakao::before { content: "💬"; font-size: 22px; line-height: 1; }
}.gp-logo b { color: #ef4444; }
.gp-pill { color: var(--c) !important; }

/* 로그인 후 화면 (2026-11-26): 휴대폰에서 표 글자가 잘리지 않게, PC 충전 칸은 너무 넓지 않게 */
@media (max-width: 767px) {
	body.gp-sub .table > tbody > tr > td, body.gp-sub .table > tbody > tr > th, body.gp-sub .table > thead > tr > th { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; padding: 8px 6px; font-size: 12.5px; vertical-align: top; }
}
@media (min-width: 768px) {
	body.gp-sub:has(#btn_charge) .jumbotron, body.gp-sub:has(#btn_charge) .container { max-width: 640px; }
}