/* somuna shop — recreation of somuna0730.cafe24.com (theme01 skin) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --text: #1a1a1a; --text-2: #3a3a3a; --muted: #6a6a6a; --muted-2: #9a9a9a;
  --line: #e8e8e8; --line-2: #e5e5e5; --bg: #fff; --bg-soft: #fafafa; --bg-foot: #f5f5f5;
  --price: #008bcc; --danger: #ec2a1d; --accent: #ef441f; --ok: #0985df;
  --badge-best: #ff3b30; --badge-new: #1fc68e; --badge-event: #1e90ff;
  --grad-a: linear-gradient(90deg, #2d3cff 0%, #6f2bff 55%, #d02a9e 100%);
  --grad-b: linear-gradient(90deg, #2d3cff 0%, #0f7fe0 55%, #16a89a 100%);
  --radius: 16px; --shadow: 0 3px 12px rgba(0,0,0,.08); --shadow-lg: 0 8px 24px rgba(0,0,0,.10);
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "맑은 고딕", Arial, sans-serif;
  --font-en: "Montserrat", "Noto Sans KR", sans-serif;
  --header-h: 140px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.6 var(--font); color: var(--text); background: var(--bg); word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
.inner { width: 92%; max-width: 1760px; margin: 0 auto; }
.inner.narrow { max-width: 1200px; }
.inner.tight { max-width: 860px; }
.hidden, [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.util { display: flex; justify-content: flex-end; gap: 0; font-size: 12px; color: var(--muted); padding: 10px 0 0; }
.util li { position: relative; padding: 0 10px; }
.util li + li::before { content: ""; position: absolute; left: 0; top: 5px; height: 10px; border-left: 1px solid var(--line-2); }
.util li:last-child { padding-right: 0; }
.util a:hover { color: var(--text); }
.util .cs { position: relative; }
.util .cs > a::after { content: "⌄"; margin-left: 4px; font-size: 11px; }
.util .cs ul { display: none; position: absolute; right: 0; top: 22px; background: #fff; border: 1px solid var(--line); min-width: 130px; padding: 6px 0; z-index: 5; }
.util .cs:hover ul { display: block; }
.util .cs ul li { padding: 5px 14px; }
.util .cs ul li::before { display: none; }
html:not(.logged-in) .only-in, html.logged-in .only-out { display: none !important; }
.hbar { display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; min-height: 80px; }
.logo img { height: 42px; width: auto; display: block; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo b { font: 700 18px/1 var(--font-en); letter-spacing: .04em; }
.hicons { display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.hicons a, .hicons button { position: relative; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--text); }
.hicons svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.hicons .badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #111; color: #fff; font: 700 11px/18px var(--font-en); text-align: center; }
.hicons .badge.is-empty { display: none; }
.gnb { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 56px; padding: 6px 0 0; }
.gnb > li { position: relative; }
.gnb > li > a { display: inline-block; padding: 14px 2px 16px; font-size: 15px; font-weight: 500; color: var(--text-2); position: relative; white-space: nowrap; }
.gnb > li > a .ic { margin-right: 6px; font-size: 14px; }
.gnb > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: #cfcfcf; transform: scaleX(0); transition: transform .2s; }
.gnb > li:hover > a::after, .gnb > li.active > a::after { transform: scaleX(1); }
.gnb .sub { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 200px; background: #fff; border: 1px solid var(--line); padding: 10px 0; z-index: 10; text-align: center; }
.gnb > li:hover .sub { display: block; }
.gnb .sub a { display: block; padding: 8px 18px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.gnb .sub a:hover { color: var(--text); background: var(--bg-soft); }
.gnb .sub .cnt { color: var(--muted-2); font-size: 11px; margin-left: 4px; }
.search-bar { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-bar form { display: flex; max-width: 640px; margin: 0 auto; padding: 14px 0; gap: 8px; }
.search-bar input { flex: 1; height: 44px; border: 1px solid #111; padding: 0 14px; border-radius: 0; }
.search-bar button { height: 44px; padding: 0 22px; background: #111; color: #fff; border: 0; }
body.search-open .search-bar { display: block; }
#navToggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #f4f4f4; }
.hero .slides { display: flex; transition: transform .6s ease; }
.hero .slide { flex: 0 0 100%; position: relative; }
.hero .slide picture, .hero .slide img { display: block; width: 100%; }
.hero .slide img { aspect-ratio: 1682/541; object-fit: cover; }
@media (max-width: 768px) { .hero .slide img { aspect-ratio: 870/541; } }
.hero .dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.hero .dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #ccc; }
.hero .dots button.active { background: #333; }

/* ---------- quick category ---------- */
.quick { background: var(--bg-soft); padding: 40px 0; margin-top: 70px; }
.quick ul { display: flex; gap: 30px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: none; justify-content: center; }
.quick ul::-webkit-scrollbar { display: none; }
.quick li { flex: 0 0 140px; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 140px; height: 140px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); font-weight: 700; font-size: 14px; transition: transform .2s; }
.quick a:hover { transform: translateY(-3px); }
.quick img { width: 74px; height: 74px; object-fit: contain; }

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head h2 { font: 700 24px/1.3 var(--font-en); color: var(--text-2); letter-spacing: .02em; }
.sec-head p { margin: 6px 0 0; color: var(--muted-2); font-size: 15px; }
.band { color: #fff; text-align: center; padding: 60px 0; }
.band.a { background: var(--grad-a); }
.band.b { background: var(--grad-b); }
.band h2 { font-size: 30px; font-weight: 700; }
.band p { margin: 8px 0 0; font-size: 18px; opacity: .95; }

/* ---------- product cards ---------- */
.prd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.prd-grid.cols5 { grid-template-columns: repeat(5, 1fr); }
.prd { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 22px; transition: box-shadow .2s, transform .2s; }
.prd:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.prd .thumb { display: block; position: relative; aspect-ratio: 1; background: #f3f3f3; overflow: hidden; border-radius: 6px; }
.prd .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prd .tag { position: absolute; top: -12px; left: 0; padding: 1px 14px 2px; border-radius: 12px; color: #fff; font: 700 12px/18px var(--font-en); }
.prd .tag.best { background: var(--badge-best); }
.prd .tag.new { background: var(--badge-new); }
.prd .tag.event { background: var(--badge-event); }
.prd .rate { position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; border-radius: 50%; background: #111; color: #fff; font: 700 13px/46px var(--font-en); text-align: center; }
.prd .soldout { position: absolute; inset: 0; background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #333; letter-spacing: .1em; }
.prd .desc { padding-top: 18px; font-size: 12px; line-height: 18px; }
.prd .name { display: block; font-size: 13px; font-weight: 700; color: #000; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prd .sub { color: #555; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prd .price { margin-top: 6px; color: var(--price); font-weight: 700; font-size: 13px; }
.prd .price .was { color: var(--muted-2); text-decoration: line-through; font-weight: 400; display: block; }
.prd .price .sale { display: block; color: var(--muted); font-weight: 400; }
.prd .code { color: var(--muted-2); margin-top: 4px; }
.prd-grid.plain .prd { box-shadow: none; padding: 0; border-radius: 0; }
.prd-grid.plain .prd:hover { transform: none; }
.prd-grid.plain .thumb { border-radius: 0; }
.prd-grid.plain .thumb::before { content: "LIKE 0"; position: absolute; top: 12px; left: 16px; font: 11px/1.4 var(--font-en); color: #666; z-index: 1; white-space: pre; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- category ---------- */
.crumb { display: flex; justify-content: flex-end; gap: 6px; font-size: 12px; color: var(--muted-2); padding: 26px 0 0; }
.crumb a:hover { color: var(--text); }
.crumb li + li::before { content: "/"; margin-right: 6px; }
.crumb li:last-child { color: var(--text-2); }
.cat-title { text-align: center; font: 700 30px/1.2 var(--font-en); margin: 48px 0 40px; }
.cat-title small { display: block; font: 400 14px/1.6 var(--font); color: var(--muted-2); margin-top: 6px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; margin-bottom: 44px; }
.cat-tabs a { display: block; min-width: 200px; padding: 10px 24px; text-align: center; background: #f2f2f2; border-radius: 30px; font-size: 14px; border: 1px solid transparent; }
.cat-tabs a.active { background: #fff; border-color: #111; }
.cat-tabs a:hover { border-color: #111; }
.list-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.list-bar strong { color: var(--text); }
.list-bar select { height: 38px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 24px; }
.gallery .main { position: relative; background: #f3f3f3; }
.gallery .main img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #fff; }
.gallery .wish { position: absolute; top: 16px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); border: 0; display: flex; align-items: center; justify-content: center; }
.gallery .wish svg { width: 18px; height: 18px; stroke: #333; fill: none; stroke-width: 1.8; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; }
.thumbs img.active { border-color: #111; }
.buy { border-top: 1px solid #111; padding-top: 24px; }
.buy h1 { font-size: 22px; font-weight: 500; line-height: 1.4; margin-bottom: 26px; }
.buy .simple { color: var(--muted); margin: -16px 0 22px; }
.spec { width: 100%; border-collapse: collapse; font-size: 12px; }
.spec th { text-align: left; font-weight: 400; color: var(--muted); width: 90px; padding: 5px 0; }
.spec td { padding: 5px 0; }
.spec .price td { color: var(--price); font-weight: 700; font-size: 13px; }
.spec .was td { color: var(--muted-2); text-decoration: line-through; }
.buy .min { color: var(--muted-2); font-size: 12px; margin: 14px 0; }
.opts { border-top: 1px solid var(--line); padding: 16px 0 6px; }
.opts label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.opts select { width: 100%; height: 40px; border: 1px solid var(--line); padding: 0 10px; margin-bottom: 12px; background: #fff; }
.qty-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 12px; }
.qty-row .nm { flex: 1; padding-right: 12px; }
.qty-row .ea { font-weight: 700; font-size: 13px; min-width: 90px; text-align: right; }
.qty-box { display: inline-flex; border: 1px solid var(--line); height: 30px; }
.qty-box button { width: 28px; border: 0; background: #fff; font-size: 16px; }
.qty-box input { width: 40px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; -moz-appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; }
.total .lb { font: 600 15px var(--font-en); }
.total .lb small { color: var(--muted-2); font-weight: 400; }
.total .amt { font-size: 22px; font-weight: 700; }
.total .amt small { font-size: 12px; color: var(--muted-2); font-weight: 400; margin-left: 4px; }
.btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; border: 1px solid #111; background: #fff; color: #111; font: 500 15px var(--font-en); letter-spacing: .02em; padding: 0 16px; transition: .15s; }
.btn:hover { background: #f5f5f5; }
.btn.primary { background: #111; color: #fff; }
.btn.primary:hover { background: #000; }
.btn.primary:disabled { background: #999; border-color: #999; cursor: default; }
.btn-sm { height: 34px; font-size: 12px; padding: 0 12px; }
.btn-line { border: 1px solid var(--line); background: #fff; }
.btn-x { border: 0; background: none; font-size: 20px; color: var(--muted-2); }
.btn.wide { width: 100%; }
.btn.ko { font-family: var(--font); }
.detail-tabs { display: flex; margin: 70px 0 40px; border: 1px solid var(--line); }
.detail-tabs a { flex: 1; text-align: center; padding: 16px 0; font-size: 13px; color: var(--muted-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-tabs a:last-child { border-right: 0; }
.detail-tabs a.active { color: var(--text); border-bottom-color: #fff; font-weight: 500; }
.prd-desc { max-width: 1000px; margin: 0 auto; text-align: center; padding: 20px 0 60px; }
.prd-desc h2 { font-size: 26px; font-weight: 500; margin-bottom: 40px; }
.prd-desc img { display: block; margin: 0 auto 20px; max-width: 100%; height: auto !important; }
.prd-desc .edibot-product-detail, .prd-desc [class*="edibot"] { max-width: 100% !important; }
.prd-desc p, .prd-desc div { max-width: 100%; }
.info-block { max-width: 1000px; margin: 0 auto 60px; text-align: left; }
.info-block h3 { font-size: 16px; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #111; }
.info-block p, .info-block li { font-size: 13px; color: var(--muted); line-height: 1.8; }
.info-block li { padding-left: 12px; position: relative; }
.info-block li::before { content: "-"; position: absolute; left: 0; }
.related { padding: 40px 0 80px; }

/* ---------- tables & forms (cart / order / mypage) ---------- */
.page-title { text-align: center; font: 700 28px/1.2 var(--font-en); margin: 48px 0 40px; }
.page-title.ko { font-family: var(--font); }
.tbl { width: 100%; border-collapse: collapse; border-top: 2px solid #111; font-size: 13px; }
.tbl th { background: var(--bg-soft); padding: 14px 10px; font-weight: 500; border-bottom: 1px solid var(--line); }
.tbl td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tbl td.left { text-align: left; }
.tbl .prod { text-align: left; display: flex; align-items: center; gap: 14px; }
.tbl .prod img { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.tbl .prod .name { font-weight: 500; }
.tbl .prod .opt { color: var(--muted); font-size: 12px; margin-top: 4px; }
.tbl .sum { font-weight: 700; }
.tbl .empty { padding: 80px 0; }
.summary { margin-top: 24px; border: 1px solid var(--line); background: var(--bg-soft); padding: 26px; display: flex; justify-content: flex-end; gap: 40px; flex-wrap: wrap; align-items: center; }
.summary dl { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0; font-weight: 700; font-size: 16px; }
.summary .sign { color: var(--muted-2); font-size: 18px; }
.summary .grand dd { font-size: 24px; color: var(--price); }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.actions .r { display: flex; gap: 12px; margin-left: auto; }
.actions .btn { height: 48px; min-width: 140px; }
.form { max-width: 100%; }
.form .row { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.form .row label, .form .row .lb { font-size: 13px; color: var(--text-2); }
.form .row .req::after { content: "*"; color: var(--danger); margin-left: 2px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=tel], .form input[type=number], .form select, .form textarea { height: 42px; border: 1px solid var(--line); padding: 0 12px; width: 100%; max-width: 460px; background: #fff; }
.form textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.form .inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.form .inline input { flex: 1; }
.form .hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.form .chk { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.form .chk input { width: 16px; height: 16px; }
.box { border: 1px solid var(--line); padding: 26px; margin-bottom: 30px; }
.box h3 { font-size: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #111; }
.box .auto { font-size: 13px; color: var(--muted); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.order-side { position: sticky; top: 160px; }
.order-side .pay-summary dl { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 13px; }
.order-side .pay-summary dd { margin: 0; font-weight: 500; }
.order-side .pay-summary .grand { border-top: 1px solid #111; padding-top: 14px; margin-top: 14px; font-size: 15px; }
.order-side .pay-summary .grand dd { font-size: 22px; font-weight: 700; color: var(--price); }
.agree-line { font-size: 12px; color: var(--muted); margin: 14px 0; display: flex; gap: 8px; align-items: flex-start; }
.notice { background: #fff8e6; border: 1px solid #ffe3a3; color: #7a5a00; padding: 14px 16px; font-size: 13px; margin-bottom: 20px; }
.result { text-align: center; padding: 100px 0 120px; }
.result h2 { font-size: 26px; margin-bottom: 14px; }
.result p { color: var(--muted); }
.result .btns { max-width: 420px; margin: 30px auto 0; grid-template-columns: 1fr 1fr; }
#orderSuccess .when-ok, #orderSuccess .when-fail { display: none; }
#orderSuccess.ok .when-ok, #orderSuccess.fail .when-fail { display: block; }
#orderSuccess:not(.ok):not(.fail) .when-loading { display: block; }
#orderSuccess.ok .when-loading, #orderSuccess.fail .when-loading { display: none; }

/* member */
.member { max-width: 440px; margin: 0 auto; padding-bottom: 100px; }
.member .page-title { margin-bottom: 30px; }
.member input[type=email], .member input[type=password], .member input[type=text], .member input[type=tel] { width: 100%; height: 50px; border: 1px solid var(--line); padding: 0 14px; margin-bottom: 10px; }
.member .btn { width: 100%; height: 54px; margin-top: 10px; }
.member .links { display: flex; justify-content: center; gap: 18px; font-size: 12px; color: var(--muted); margin-top: 18px; }
.member .links a:hover { color: var(--text); }
.member .divider { text-align: center; color: var(--muted-2); font-size: 12px; margin: 30px 0 14px; position: relative; }
.member .divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.member .divider span { position: relative; background: #fff; padding: 0 12px; }
.member .field { margin-bottom: 8px; }
.member .field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.member .field.inline { display: flex; gap: 8px; }
.member .field.inline input { margin-bottom: 0; }
.member .field.inline .btn { width: auto; height: 50px; margin: 0; padding: 0 16px; font-size: 13px; white-space: nowrap; }
.agree-box { border: 1px solid var(--line); padding: 16px; font-size: 13px; margin: 20px 0 10px; }
.agree-box label { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.agree-box label.all { border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-bottom: 12px; font-weight: 700; }
.agree-box a { margin-left: auto; color: var(--muted-2); font-size: 12px; text-decoration: underline; }

/* mypage */
.my-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 50px; padding-bottom: 100px; }
.my-nav { border-top: 2px solid #111; }
.my-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.my-nav a.active, .my-nav a:hover { color: var(--text); font-weight: 500; }
.my-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.my-head h2 { font-size: 20px; }
.my-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 40px; }
.my-summary div { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.my-summary div:last-child { border-right: 0; }
.my-summary small { display: block; color: var(--muted); font-size: 12px; }
.my-summary strong { font-size: 22px; }
.my-section { margin-bottom: 50px; }
.my-section h3 { font-size: 16px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.my-section h3 a { font-size: 12px; color: var(--muted); font-weight: 400; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.info-grid dl { margin: 0; border: 1px solid var(--line); padding: 20px; display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; font-size: 13px; }
.info-grid dt { color: var(--muted); }
.info-grid dd { margin: 0; }
.order-total { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--bg-soft); margin-top: 20px; font-size: 13px; }
.order-total strong { font-size: 18px; color: var(--price); }
.addr-card { border: 1px solid var(--line); padding: 20px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; line-height: 1.7; }
.addr-card.default { border-color: #111; }
.addr-card .acts { display: flex; flex-direction: column; gap: 6px; }
.badge { display: inline-block; background: #111; color: #fff; font-size: 11px; padding: 0 8px; border-radius: 10px; line-height: 18px; margin-left: 6px; }

/* static pages */
.doc { max-width: 900px; margin: 0 auto 100px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.doc h2 { font-size: 20px; margin: 40px 0 12px; }
.doc h3 { font-size: 16px; margin: 26px 0 8px; }
.doc p { margin: 0 0 12px; }
.doc ol, .doc ul { padding-left: 20px; margin: 0 0 12px; }
.doc ol li { list-style: decimal; }
.doc ul li { list-style: disc; }
.doc table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0 20px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.doc th { background: var(--bg-soft); width: 180px; font-weight: 500; }

/* ---------- footer ---------- */
.footer { background: var(--bg-foot); margin-top: 80px; padding: 60px 0 40px; font-size: 12px; color: var(--muted); }
.footer .top { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line-2); }
.footer .flogo img { height: 40px; }
.footer .flinks { display: flex; gap: 20px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.footer .company { margin-top: 20px; line-height: 1.9; }
.footer .company span { display: inline-block; margin-right: 14px; }
.footer .cs h4 { font: 700 15px var(--font-en); color: var(--text); margin-bottom: 6px; }
.footer .cs .tel { font: 700 24px/1.2 var(--font-en); color: var(--text); }
.footer .cs p { margin: 6px 0 0; }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; color: var(--muted-2); flex-wrap: wrap; gap: 10px; }
.footer .sns { display: flex; gap: 10px; }
.footer .sns a { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font: 700 11px var(--font-en); color: var(--muted); }
.footer .sns a:hover { color: var(--text); border-color: #999; }

/* mobile tab bar */
.tabbar { display: none; }

/* toast */
#toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: rgba(17,17,17,.92); color: #fff; padding: 12px 20px; border-radius: 6px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: .25s; max-width: 90vw; }
.toast.show { opacity: 1; transform: none; }
.toast-error { background: rgba(236,42,29,.95); }
.toast-warn { background: rgba(240,160,0,.97); }

/* ---------- responsive ---------- */
@media (max-width: 1300px) {
  .prd-grid, .prd-grid.cols5 { grid-template-columns: repeat(3, 1fr); }
  .gnb { gap: 0 32px; }
  .order-grid { grid-template-columns: 1fr; }
  .order-side { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 56px; }
  .util { display: none; }
  .hbar { grid-template-columns: auto 1fr auto; min-height: 56px; }
  .logo img { height: 30px; }
  #navToggle { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; margin-left: 8px; }
  #navToggle span { width: 22px; height: 2px; background: #111; position: relative; display: block; }
  #navToggle span::before, #navToggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #111; }
  #navToggle span::before { top: -7px; } #navToggle span::after { top: 7px; }
  .hicons { gap: 12px; }
  .hicons .user, .hicons .cart { display: none; }
  .gnb { display: none; position: fixed; top: 56px; left: 0; bottom: 0; width: 82vw; max-width: 340px; background: #fff; border-right: 1px solid var(--line); flex-direction: column; overflow-y: auto; padding: 10px 0 80px; gap: 0; z-index: 60; box-shadow: 8px 0 30px rgba(0,0,0,.08); }
  body.nav-open .gnb { display: flex; }
  .gnb > li > a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .gnb > li > a::after { display: none; }
  .gnb .sub { position: static; transform: none; display: none; border: 0; background: var(--bg-soft); text-align: left; padding: 6px 0; }
  .gnb > li.open .sub { display: block; }
  .gnb > li:hover .sub { display: none; }
  .gnb > li.open:hover .sub { display: block; }
  .gnb .sub a { padding: 10px 32px; }
  .gnb .m-only { display: block; }
  .quick { margin-top: 30px; padding: 26px 0; }
  .quick ul { justify-content: flex-start; gap: 16px; }
  .section { padding: 44px 0; }
  .band { padding: 40px 16px; } .band h2 { font-size: 22px; } .band p { font-size: 15px; }
  .prd-grid, .prd-grid.cols5 { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .prd { padding: 16px 16px 14px; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .btns { grid-template-columns: 1fr 1fr; }
  .btns .btn:first-child { grid-column: 1 / -1; }
  .cat-tabs a { min-width: 0; padding: 8px 16px; font-size: 13px; }
  .cat-title { font-size: 24px; margin: 30px 0 24px; }
  .tbl thead { display: none; }
  .tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 0; text-align: left; }
  .tbl td.prod { grid-column: 1 / -1; }
  .tbl td.chk { grid-column: 1 / -1; }
  .tbl td.del { grid-row: 2; grid-column: 2; }
  .summary { justify-content: space-between; gap: 14px; }
  .summary .sign { display: none; }
  .actions .btn { flex: 1; min-width: 0; }
  .form .row { grid-template-columns: 1fr; gap: 6px; }
  .my-grid { grid-template-columns: 1fr; gap: 24px; }
  .my-nav { display: flex; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); }
  .my-nav a { border: 0; white-space: nowrap; padding: 10px 12px; }
  .my-summary { grid-template-columns: repeat(3, 1fr); }
  .my-summary div { padding: 14px 6px; } .my-summary strong { font-size: 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer { padding: 36px 0 90px; margin-top: 50px; }
  .footer .top { grid-template-columns: 1fr; gap: 20px; }
  .footer .flinks { flex-wrap: wrap; gap: 10px 16px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 60px; background: #fff; border-top: 1px solid var(--line); z-index: 55; }
  .tabbar a, .tabbar button { display: flex; align-items: center; justify-content: center; background: none; border: 0; color: #111; position: relative; }
  .tabbar svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .tabbar .badge { position: absolute; top: 8px; right: calc(50% - 20px); min-width: 16px; height: 16px; border-radius: 8px; background: #111; color: #fff; font: 700 10px/16px var(--font-en); text-align: center; padding: 0 4px; }
  .tabbar .badge.is-empty { display: none; }
  #toast { bottom: 76px; }
}
@media (max-width: 480px) {
  .prd .desc { padding-top: 12px; }
  .prd .name { font-size: 12px; }
}
