/* 두레몰 — 일반 쇼핑몰 레이아웃 + 시니어 편의
   기본 글자 18px(일반 몰 13~14px 대비 크게), 버튼 56px+, 가격·할인 크게, 대비 강화 */
:root {
  --fs: 16px;
  --ink: #111;
  --ink-2: #444;
  --ink-3: #6B6B6B;
  --line: #E3E3E3;
  --bg-2: #F6F6F4;
  --green: #0B6B3A;
  --green-2: #16874A;
  --green-soft: #EAF5EC;
  --red: #D92D20;
  --buy: #C2410C;
  --talk: #FEE500;
  --wrap: 1240px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html[data-font="xl"] { --fs: 19px; }
html[data-font="xxl"] { --fs: 22px; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.5; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 4px solid #F59E0B; outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
main { outline: none; min-height: 60vh; }

/* ---------- 상단 유틸 ---------- */
.offline-bar { background: #333; color: #fff; text-align: center; padding: 8px; font-size: .85rem; }
.util { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .78rem; }
.util-in { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 10px; }
.easy { display: flex; align-items: center; gap: 6px; }
.easy-title { font-weight: 800; color: var(--green); margin-right: 4px; }
.easy-btn { min-height: 36px; padding: 0 12px; border: 1px solid #CFCFCF; border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 700; }
.easy-btn b { font-size: 1.15em; }
.easy-btn[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.util-links { display: flex; }
.util-links a { padding: 0 10px; color: var(--ink-2); border-left: 1px solid #D0D0D0; line-height: 1; }
.util-links a:first-child { border: 0; }

/* ---------- 헤더 ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo b { display: block; font-size: 1.75rem; font-weight: 900; color: var(--green); letter-spacing: -.04em; line-height: 1.1; }
.logo small { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.search { flex: 1; display: flex; border: 3px solid var(--green); border-radius: 12px; overflow: hidden; height: 58px; max-width: 640px; }
.search input { flex: 1; border: 0; padding: 0 16px; font: inherit; font-size: 1rem; min-width: 0; outline: none; }
.search-mic { border: 0; background: #fff; width: 52px; font-size: 1.3rem; }
.search-go { border: 0; background: var(--green); color: #fff; padding: 0 22px; font-weight: 800; font-size: 1rem; }
.h-icons { display: flex; gap: 6px; margin-left: auto; }
.h-icon { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 74px; font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.h-icon .i { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); font-size: 1.4rem; }
.h-icon em { position: absolute; top: -2px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--red); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.h-icon.talk .i { background: var(--talk); font-size: .72rem; font-weight: 900; color: #3C1E1E; }

.gnb { border-top: 1px solid var(--line); }
.gnb-in { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; min-height: 56px; }
.gnb-in::-webkit-scrollbar { display: none; }
.gnb a { flex: none; padding: 0 14px; line-height: 53px; font-weight: 700; font-size: .95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnb a.on, .gnb a:hover { color: var(--green); border-color: var(--green); }
.gnb a.all { background: var(--green); color: #fff; border-radius: 8px; line-height: 42px; margin-right: 8px; border: 0; }
.gnb a.hot { color: var(--red); }

/* ---------- 공통 ---------- */
.sec { margin: 44px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.sec-head h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.sec-head h2 em { font-style: normal; color: var(--red); }
.sec-head h2 small { font-size: .8rem; font-weight: 500; color: var(--ink-3); margin-left: 10px; }
.more { font-size: .85rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 22px; border-radius: 10px; border: 0; font-weight: 800; font-size: 1rem; background: var(--green); color: #fff; }
.btn:active { filter: brightness(.94); }
.btn-buy { background: var(--buy); }
.btn-line { background: #fff; border: 2px solid var(--green); color: var(--green); }
.btn-gray { background: #fff; border: 1px solid #BDBDBD; color: var(--ink); }
.btn-talk { background: var(--talk); color: #3C1E1E; }
.btn-block { width: 100%; }
.btn-lg { min-height: 68px; font-size: 1.15rem; }
.muted { color: var(--ink-3); }

/* ---------- 메인 배너 ---------- */
.hero { position: relative; margin-top: 20px; border-radius: 16px; overflow: hidden; }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { flex: 0 0 100%; min-height: 340px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; padding: 40px 56px; gap: 20px; }
.hero-slide .t { font-size: 2.6rem; font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.hero-slide .s { font-size: 1.15rem; margin: 12px 0 22px; opacity: .92; }
.hero-slide .go { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; }
.hero-slide .pic { position: relative; justify-self: center; width: 280px; height: 280px; }
.hero-slide .pic svg { width: 100%; height: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.hero-slide .badge { position: absolute; left: -10px; bottom: 10px; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.hero-ctrl { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 6px; }
.hero-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.1rem; }
.hero-ctrl span { background: rgba(0,0,0,.45); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700; }

/* ---------- 동그란 카테고리 ---------- */
.circles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.circle { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; text-align: center; }
.circle .c { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font-size: 3.2rem; transition: transform .15s; box-shadow: inset 0 -6px 0 rgba(0,0,0,.05); }
.circle:hover .c { transform: translateY(-3px); }

/* ---------- 쉬운 찾기 (시니어 전용) ---------- */
.easyfind { background: var(--green-soft); border: 2px solid #CBE3D4; border-radius: 16px; padding: 24px; }
.easyfind .sec-head { margin-bottom: 12px; }
.ef-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ef-tab { flex: none; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid #BFD8C8; background: #fff; font-weight: 800; font-size: .95rem; }
.ef-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ef-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.ef-btn { display: flex; flex-direction: column; justify-content: center; min-height: 80px; padding: 12px 40px 12px 18px; border-radius: 12px; background: #fff; border: 1px solid #D5E5DB; font-weight: 800; font-size: 1.05rem; position: relative; }
.ef-btn small { font-weight: 500; font-size: .8rem; color: var(--ink-3); }
.ef-btn::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); }
.ef-btn:hover { border-color: var(--green); }

/* ---------- 상품 카드 ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.pcard { display: flex; flex-direction: column; }
.pimg { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.pimg svg, .pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pimg .flag { position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.pimg .listen { position: absolute; right: 10px; bottom: 10px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: .78rem; font-weight: 800; }
.pinfo { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pname { font-size: 1rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pname .w { color: var(--ink-3); font-weight: 500; }
.pprice { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.pprice .rate { color: var(--red); font-weight: 900; font-size: 1.2rem; }
.pprice .now { font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; }
.pprice s { color: var(--ink-3); font-size: .8rem; }
.pship { color: var(--green); font-weight: 700; font-size: .85rem; }
.pstar { font-size: .8rem; color: var(--ink-3); }
.pstar b { color: #F59E0B; }
.padd { margin-top: auto; min-height: 52px; border-radius: 10px; border: 2px solid var(--green); background: #fff; color: var(--green); font-weight: 800; font-size: .95rem; }
.pstar { margin-bottom: 10px; }
.pinfo .padd { margin-top: auto; }
.padd.in { background: var(--green); color: #fff; }

/* ---------- 기획전 2단 ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { display: grid; grid-template-columns: 1fr 160px; align-items: center; min-height: 190px; padding: 26px 30px; border-radius: 16px; overflow: hidden; }
.promo b { display: block; font-size: 1.45rem; font-weight: 900; line-height: 1.25; }
.promo span { display: block; margin-top: 8px; font-size: .9rem; }
.promo svg { width: 160px; height: 160px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }

/* 신뢰 배지 */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.trust div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg-2); border-radius: 12px; font-size: .85rem; }
.trust div b { display: block; font-size: 1rem; }
.trust .e { font-size: 1.8rem; }

/* ---------- 목록 ---------- */
.crumb { font-size: .8rem; color: var(--ink-3); margin: 22px 0 8px; }
.crumb a { text-decoration: underline; }
.list-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 18px; }
.list-top h1 { font-size: 1.7rem; font-weight: 900; }
.sorts { display: flex; gap: 6px; flex-wrap: wrap; }
.sorts button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #CCC; background: #fff; font-size: .85rem; font-weight: 700; }
.sorts button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; }
.chip.on { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.empty { text-align: center; padding: 70px 10px; }
.empty .e { font-size: 4rem; }
.empty h1 { font-size: 1.4rem; margin: 10px 0 18px; }

/* ---------- 상세 ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 10px; }
.detail .pimg { border-radius: 16px; }
.d-seller { font-size: .85rem; color: var(--ink-3); text-decoration: underline; }
.detail h1 { font-size: 1.7rem; font-weight: 800; margin: 6px 0 8px; line-height: 1.35; }
.d-price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 14px 0; }
.d-price .rate { color: var(--red); font-size: 1.6rem; font-weight: 900; margin-right: 8px; }
.d-price .now { font-size: 2rem; font-weight: 900; }
.d-price s { display: block; color: var(--ink-3); font-size: .9rem; }
.facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.facts th, .facts td { text-align: left; padding: 9px 0; vertical-align: top; }
.facts th { width: 96px; color: var(--ink-3); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 2px solid #BDBDBD; border-radius: 10px; overflow: hidden; }
.qty button { width: 56px; height: 56px; border: 0; background: var(--bg-2); font-size: 1.5rem; font-weight: 800; }
.qty output { min-width: 64px; text-align: center; font-size: 1.2rem; font-weight: 900; }
.d-total { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; font-size: 1.05rem; }
.d-total b { font-size: 1.6rem; color: var(--red); }
.d-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-help { display: flex; gap: 8px; margin-top: 12px; }
.d-help > * { flex: 1; min-height: 52px; font-size: .9rem; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--ink); margin-top: 48px; }
.tabs a { text-align: center; padding: 16px 0; font-weight: 800; border: 1px solid var(--line); border-bottom: 0; background: var(--bg-2); }
.tabs a.on { background: #fff; border-color: var(--ink); }
.d-body { padding: 30px 0; font-size: 1.1rem; line-height: 1.8; max-width: 860px; }
.d-body h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.notice { padding: 14px 18px; border-radius: 12px; background: #FFF8DB; border: 1px solid #F3D774; font-size: .92rem; }

/* ---------- 장바구니 ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.box-h { padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 1.1rem; }
.citem { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; }
.citem .pimg { width: 100px; border-radius: 10px; }
.citem-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; flex-wrap: wrap; }
.citem-ctrl b { font-size: 1.2rem; }
.citem .qty button { width: 48px; height: 48px; font-size: 1.3rem; }
.citem .qty output { min-width: 48px; font-size: 1.05rem; }
.link-del { border: 0; background: none; color: var(--ink-3); text-decoration: underline; font-size: .85rem; min-height: 40px; padding: 0; }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; min-height: 76px; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font-size: .95rem; }
.choice + .choice { margin-top: 10px; }
.choice .e { font-size: 1.7rem; }
.choice b { display: block; font-size: 1rem; }
.choice[aria-checked="true"] { border-color: var(--green); background: var(--green-soft); }
.chk { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #C7C7C7; display: grid; place-items: center; color: #fff; font-weight: 900; }
.choice[aria-checked="true"] .chk { background: var(--green); border-color: var(--green); }
.choice[aria-checked="true"] .chk::after { content: "✓"; }
.sum { padding: 20px; }
.sum div { display: flex; justify-content: space-between; padding: 5px 0; gap: 10px; }
.sum .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.1rem; font-weight: 800; }
.sum .total span:last-child { color: var(--red); font-size: 1.5rem; }
.sticky { position: sticky; top: 170px; }

/* ---------- 폼 / 시트 ---------- */
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-weight: 800; }
.field input { font: inherit; font-size: 1.1rem; min-height: 58px; padding: 0 16px; border-radius: 10px; border: 2px solid #CFCFCF; width: 100%; }
.field input:focus { border-color: var(--green); outline: none; }
.otp { letter-spacing: .5em; text-align: center; font-size: 1.8rem !important; font-weight: 900; }
.steps { display: flex; gap: 6px; margin-bottom: 14px; }
.steps span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.steps span.on { background: var(--green); }
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet-body { background: #fff; width: 100%; max-width: 560px; border-radius: 20px; padding: 26px 22px; max-height: 92vh; overflow: auto; }
.sheet-body h2 { font-size: 1.35rem; margin-bottom: 8px; }
.pulse { width: 150px; height: 150px; margin: 18px auto; border-radius: 50%; display: grid; place-items: center; font-size: 3.6rem; background: var(--green-soft); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,134,83,.45); } 100% { box-shadow: 0 0 0 34px rgba(46,134,83,0); } }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; background: #111; color: #fff; padding: 16px 24px; border-radius: 12px; font-weight: 700; transition: .25s; pointer-events: none; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.speaking { outline: 4px solid #FBBF24 !important; outline-offset: 4px; border-radius: 12px; }

/* 주문 */
.order { padding: 20px; }
.order + .order { margin-top: 14px; }
.order-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 800; }
.badge-st { font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 800; }
.badge-st.x { background: #FDECEC; color: var(--red); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; text-align: center; font-size: .78rem; font-weight: 700; color: #A0A0A0; }
.timeline div::before { content: ""; display: block; height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.timeline div.on { color: var(--green); }
.timeline div.on::before { background: var(--green); }
.done-top { text-align: center; padding: 44px 0 26px; }
.done-top .e { font-size: 4.5rem; }
.done-top h1 { font-size: 1.8rem; margin: 10px 0 6px; }

/* 고객센터 */
.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-card { padding: 26px; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cs-card .e { font-size: 2.4rem; }
.cs-card b { font-size: 1.2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 4px; font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "＋"; color: var(--green); }
.faq details[open] summary::after { content: "－"; }
.faq p { padding: 0 4px 18px; color: var(--ink-2); }

/* 전체 메뉴 (모바일) */
.allcats { display: grid; gap: 10px; margin-top: 16px; }
.allcats details { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.allcats summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 800; font-size: 1.1rem; list-style: none; cursor: pointer; }
.allcats summary .e { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; }
.allcats .ef-list { padding: 0 14px 14px; margin: 0; }

/* ---------- 푸터 ---------- */
.footer { margin-top: 80px; background: var(--bg-2); border-top: 1px solid var(--line); padding: 36px 0 40px; font-size: .85rem; color: var(--ink-2); }
.foot-cs { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-cs b { font-size: 1rem; color: var(--ink); }
.foot-tel { display: block; font-size: 2rem; font-weight: 900; color: var(--green); letter-spacing: -.02em; }
.foot-cs-btns { display: flex; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 18px 0; font-weight: 600; color: var(--ink); }
.foot-info { line-height: 1.8; }
.foot-copy { margin-top: 12px; color: var(--ink-3); }

/* ---------- 우측 퀵 / 모바일 요소 ---------- */
.quick { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.quick-cs { width: 116px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.quick-cs span { font-size: 1.5rem; display: block; }
.quick-cs small { display: block; font-size: .7rem; color: var(--ink-3); }
.quick-cs b { font-size: .9rem; color: var(--green); }
.quick-talk, .m-talk { width: 68px; height: 68px; border-radius: 50%; background: var(--talk); color: #3C1E1E; font-weight: 900; font-size: .85rem; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.quick-top { width: 68px; height: 60px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .7rem; font-weight: 800; line-height: 1.2; }
.m-talk, .tabbar, .cartbar { display: none; }

@media (max-width: 1540px) { .quick { right: 8px; } .quick-cs { display: none; } }

/* ---------- 태블릿 ---------- */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .ef-list { grid-template-columns: repeat(3, 1fr); }
  .h-icon { width: 60px; }
  .quick { display: none; }
}

/* ---------- 모바일 (앱) ---------- */
@media (max-width: 760px) {
  :root { --fs: 17px; }
  html[data-font="xl"] { --fs: 20px; }
  html[data-font="xxl"] { --fs: 23px; }
  body { padding-bottom: calc(150px + var(--safe-b)); }
  .wrap { padding: 0 14px; }
  .util-links { display: none; }
  .util-in { min-height: 48px; }
  .easy-btn { min-height: 38px; }
  .header-in { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo b { font-size: 1.45rem; }
  .logo small { display: none; }
  .logo img { width: 38px; height: 38px; }
  .h-icons { gap: 0; }
  .h-icon { width: 50px; font-size: 0; gap: 0; }
  .h-icon .i { width: 46px; height: 46px; background: none; font-size: 1.45rem; }
  .h-icon.talk .i { width: 44px; height: 44px; background: var(--talk); font-size: .62rem; }
  .search { order: 3; flex: 0 0 100%; height: 54px; }
  .search-go { padding: 0 16px; }
  .gnb-in { min-height: 50px; }
  .gnb a { line-height: 47px; padding: 0 12px; font-size: .9rem; }
  .gnb a.all { display: none; }
  .header { position: static; }

  .hero { margin-top: 14px; border-radius: 14px; }
  .hero-slide { grid-template-columns: 1fr 120px; min-height: 210px; padding: 22px 20px 56px; }
  .hero-slide .t { font-size: 1.4rem; }
  .hero-slide .s { font-size: .82rem; margin: 6px 0 12px; }
  .hero-slide .go { min-height: 44px; padding: 0 16px; font-size: .85rem; }
  .hero-slide .pic { width: 120px; height: 120px; }
  .hero-slide .badge { width: 56px; height: 56px; font-size: .8rem; left: -14px; bottom: -4px; }
  .hero-ctrl { right: 10px; bottom: 10px; }
  .hero-ctrl button { width: 40px; height: 40px; }
  .circles { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; margin-top: 24px; }
  .circle .c { width: 84px; height: 84px; font-size: 2.4rem; }
  .circle { font-size: .9rem; gap: 6px; }
  .sec { margin: 32px 0; }
  .sec-head h2 { font-size: 1.25rem; }
  .sec-head h2 small { display: block; margin: 2px 0 0; }
  .easyfind { padding: 18px 14px; }
  .ef-list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .pname { font-size: .92rem; }
  .pprice .now { font-size: 1.15rem; }
  .pprice .rate { font-size: 1.05rem; }
  .promos { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr 110px; min-height: 140px; padding: 18px 20px; }
  .promo svg { width: 110px; height: 110px; }
  .promo b { font-size: 1.15rem; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 12px; font-size: .75rem; }
  .detail { grid-template-columns: 1fr; gap: 16px; }
  .detail h1 { font-size: 1.35rem; }
  .tabs { margin-top: 30px; }
  .d-btns { position: fixed; left: 0; right: 0; bottom: calc(72px + var(--safe-b)); z-index: 51; background: #fff; padding: 10px 14px; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
  .cart-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .cs-cards { grid-template-columns: 1fr; }
  .footer { margin-top: 50px; }
  .foot-cs-btns { width: 100%; }
  .foot-cs-btns .btn { flex: 1; }

  .tabbar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 52; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72px; font-size: .72rem; font-weight: 700; color: var(--ink-3); }
  .tabbar a span { font-size: 1.45rem; line-height: 1.15; }
  .tabbar a.on { color: var(--green); }
  .cartbar { display: flex; position: fixed; left: 0; right: 0; bottom: calc(72px + var(--safe-b)); z-index: 49; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fff; border-top: 2px solid var(--buy); box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
  .cartbar-info { display: flex; align-items: center; gap: 10px; }
  .cartbar-info small { display: block; font-size: .72rem; color: var(--ink-3); }
  .cartbar-info strong { font-size: 1.15rem; }
  .cartbar-count { width: 44px; height: 44px; border-radius: 50%; background: var(--buy); color: #fff; display: grid; place-items: center; font-weight: 900; }
  .toast { bottom: calc(170px + var(--safe-b)); }
  .sheet { align-items: flex-end; padding: 0; }
  .sheet-body { border-radius: 20px 20px 0 0; padding-bottom: calc(26px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== 절차 화면 (로그인·가입·인증·카드·주소·주문서·클레임) ===== */
.flow { max-width: 640px; margin: 0 auto; padding: 18px 20px 40px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.flow-back { border: 0; background: none; font-weight: 800; font-size: 1rem; color: var(--green); min-height: 48px; padding: 0; }
.flow-step { font-size: .85rem; font-weight: 800; color: var(--ink-3); }
.flow h1 { font-size: 1.6rem; font-weight: 900; margin: 14px 0 6px; line-height: 1.35; }
.flow .lead { color: var(--ink-2); margin-bottom: 18px; }
.flow-next { margin-top: 26px; }
.flow-next .btn + .btn { margin-top: 10px; }
.btn[disabled] { background: #C9C9C9 !important; color: #fff !important; border-color: #C9C9C9 !important; cursor: not-allowed; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }
.inline .btn { flex: none; min-height: 58px; padding: 0 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button, .seg2 button { min-height: 56px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; font-size: .95rem; }
.seg button[aria-pressed="true"], .seg2 button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rrn { display: grid; grid-template-columns: 1fr auto 70px auto; gap: 8px; align-items: center; }
.rrn span { font-size: 1.4rem; font-weight: 900; color: var(--ink-3); }
.timer { color: var(--red); font-weight: 800; font-size: .9rem; }
.help { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.err { font-size: .85rem; color: var(--red); font-weight: 700; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--green); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.tabs2 button { min-height: 54px; border: 0; background: #fff; font-weight: 800; color: var(--green); }
.tabs2 button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* 동의 */
.agree-all { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px solid var(--green); border-radius: 14px; background: var(--green-soft); font-weight: 900; font-size: 1.1rem; width: 100%; text-align: left; }
.agree-list { margin-top: 10px; }
.agree { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.agree label { flex: 1; font-weight: 700; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.agree button { border: 0; background: none; color: var(--ink-3); text-decoration: underline; font-size: .85rem; min-height: 44px; }
.agree-body { font-size: .85rem; color: var(--ink-3); padding: 0 4px 12px 44px; }
.cb { appearance: none; width: 30px; height: 30px; border-radius: 8px; border: 2px solid #BDBDBD; background: #fff; flex: none; display: grid; place-items: center; margin: 0; cursor: pointer; }
.cb:checked { background: var(--green); border-color: var(--green); }
.cb:checked::after { content: "✓"; color: #fff; font-weight: 900; }
.agree-all .cb { width: 34px; height: 34px; }

/* 보안 키패드 */
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 18px 0 22px; }
.pin-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #BDBDBD; }
.pin-dots i.on { background: var(--green); border-color: var(--green); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keypad button { min-height: 68px; border: 0; border-radius: 12px; background: var(--bg-2); font-size: 1.6rem; font-weight: 800; }
.keypad button.fn { font-size: .95rem; color: var(--ink-2); }
.keypad button:active { background: var(--green-soft); }

/* 카메라 / NFC */
.cam { position: relative; aspect-ratio: 4/3; border-radius: 16px; background: #1F2937; overflow: hidden; display: grid; place-items: center; color: #fff; }
.cam .frame { width: 78%; aspect-ratio: 1.586; border: 4px solid #FBBF24; border-radius: 14px; display: grid; place-items: center; font-weight: 800; text-align: center; padding: 10px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.card-visual { aspect-ratio: 1.586; max-width: 360px; margin: 10px auto 18px; border-radius: 16px; padding: 22px; color: #fff; background: linear-gradient(135deg,#0E3A78,#2563EB); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 24px rgba(14,58,120,.3); }
.card-visual .num { font-size: 1.3rem; letter-spacing: .12em; font-weight: 800; }
.card-visual .chip { width: 46px; height: 34px; border-radius: 6px; background: linear-gradient(135deg,#FCD34D,#D97706); }

/* 진행 상태 (세로) */
.vtrack { list-style: none; padding: 0; margin: 10px 0; }
.vtrack li { position: relative; padding: 0 0 22px 38px; color: #9A9A9A; }
.vtrack li::before { content: ""; position: absolute; left: 8px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #D9D9D9; }
.vtrack li::after { content: ""; position: absolute; left: 16px; top: 24px; bottom: 0; width: 2px; background: #E2E2E2; }
.vtrack li:last-child::after { display: none; }
.vtrack li.on { color: var(--ink); }
.vtrack li.on::before { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.vtrack b { display: block; }
.vtrack small { color: var(--ink-3); }

/* 메뉴 리스트 */
.menu { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.menu a, .menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 64px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 1rem; text-align: left; }
.menu > :last-child { border-bottom: 0; }
.menu .v { color: var(--ink-3); font-weight: 500; font-size: .9rem; }
.menu .v::after { content: " ›"; color: var(--green); font-weight: 900; }
.switch { appearance: none; width: 58px; height: 34px; border-radius: 17px; background: #CFCFCF; position: relative; cursor: pointer; flex: none; margin: 0; transition: .2s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { left: 28px; }

/* 옵션 */
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.opts button { min-height: 64px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; padding: 6px; }
.opts button small { display: block; font-weight: 600; color: var(--ink-3); font-size: .8rem; }
.opts button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.gosi { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 10px; }
.gosi th, .gosi td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.gosi th { background: var(--bg-2); width: 30%; font-weight: 700; }

/* 가족 결제 */
.family-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid #F5C77E; background: #FFF7E8; border-radius: 14px; }
.family-card .e { font-size: 2rem; }
.paylink { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border: 1px dashed #BDBDBD; border-radius: 10px; background: var(--bg-2); font-size: .85rem; word-break: break-all; }
.paylink code { flex: 1; }
.pay-head { background: linear-gradient(120deg,#0E3A78,#2563EB); color: #fff; border-radius: 16px; padding: 22px; margin-top: 14px; }
.pay-head b { font-size: 1.35rem; display: block; margin-bottom: 4px; }
.paybtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paybtns button { min-height: 60px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-weight: 800; }
.paybtns button[aria-pressed="true"] { border-color: var(--navy, #0E3A78); background: #EEF3FB; color: #0E3A78; }
.mini-items { font-size: .92rem; }
.mini-items div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.devbar { margin-top: 18px; padding: 12px; border: 1px dashed #9CA3AF; border-radius: 10px; font-size: .8rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.devbar button { min-height: 36px; border: 1px solid #BDBDBD; background: #fff; border-radius: 8px; padding: 0 10px; font-size: .8rem; font-weight: 700; }
.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-slots label { aspect-ratio: 1; border: 2px dashed #BDBDBD; border-radius: 12px; display: grid; place-items: center; text-align: center; font-size: .85rem; color: var(--ink-3); cursor: pointer; background: var(--bg-2); }
.photo-slots label.on { border-style: solid; border-color: var(--green); color: var(--green); background: var(--green-soft); font-weight: 800; }
.claim-item { display: grid; grid-template-columns: auto 72px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.claim-item .pimg { width: 72px; }
@media (max-width: 760px) {
  .flow { padding: 10px 14px 30px; }
  .flow h1 { font-size: 1.35rem; }
  .row3 { grid-template-columns: 1fr 1fr; }
}

/* ===== 마이페이지 / 혜택 / 정책 ===== */
.my-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 18px; border-bottom: 2px solid var(--ink); }
.my-head h1 { font-size: 1.7rem; font-weight: 900; }
.my-benefit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.my-benefit a { padding: 18px 10px; text-align: center; border-right: 1px solid var(--line); }
.my-benefit a:last-child { border: 0; }
.my-benefit small { display: block; color: var(--ink-3); font-size: .85rem; }
.my-benefit b { font-size: 1.3rem; color: var(--green); }
.my-steps { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg-2); border-radius: 14px; padding: 16px 6px; }
.my-steps a { text-align: center; position: relative; }
.my-steps a + a::before { content: "›"; position: absolute; left: -6px; top: 28%; color: #BDBDBD; font-size: 1.3rem; }
.my-steps span { display: block; font-size: 1.6rem; }
.my-steps b { display: block; font-size: 1.4rem; }
.my-steps small { font-size: .78rem; color: var(--ink-3); }
.my-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
.my-grid h2 { font-size: 1.1rem; margin: 0 0 10px; }
.coupon { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 14px; border: 2px solid #F5C77E; border-radius: 14px; padding: 14px; margin-bottom: 10px; background: #FFFBF2; }
.coupon .amt { font-size: 1.35rem; font-weight: 900; color: var(--buy); text-align: center; border-right: 2px dashed #F5C77E; }
.coupon.used { opacity: .45; filter: grayscale(1); }
.stars { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.stars button { border: 0; background: none; font-size: 2.8rem; color: #D6D6D6; min-width: 56px; min-height: 56px; }
.stars button.on { color: #F59E0B; }
.chips .chip { cursor: pointer; }
.sel, .ta { font: inherit; font-size: 1.05rem; width: 100%; min-height: 58px; padding: 10px 14px; border-radius: 10px; border: 2px solid #CFCFCF; background: #fff; }
.ta { min-height: 130px; resize: vertical; }
.inq { margin-bottom: 10px; padding: 0 16px; }
.inq summary { padding: 16px 0; cursor: pointer; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; list-style: none; }
.inq summary small { margin-left: auto; }
.inq p { margin-bottom: 12px; }
.answer { background: var(--green-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.easy-box { background: #FFF8DB; border: 1px solid #F3D774; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.easy-box ul { margin: 8px 0 12px; padding-left: 20px; }
.easy-box li { margin: 4px 0; }
.policy-body h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.policy-body p, .policy-body li { font-size: .95rem; line-height: 1.75; color: var(--ink-2); }
.policy-body ol { padding-left: 20px; margin: 4px 0; }
.policy-body .gosi { font-size: .85rem; }
.h2s { font-size: 1.1rem; margin: 24px 0 10px; }
.ref-bar { background: #0E3A78; color: #fff; text-align: center; padding: 12px 16px; font-size: .9rem; }
.ref-bar a { color: #FFE58A; font-weight: 800; text-decoration: underline; }
@media (max-width: 760px) {
  .my-benefit { grid-template-columns: 1fr 1fr; }
  .my-benefit a:nth-child(2) { border-right: 0; }
  .my-benefit a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .my-grid { grid-template-columns: 1fr; }
  .my-steps small { font-size: .65rem; }
}

/* ===== 친구 초대 ===== */
.invite-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, #FFF4E0, #FFE7C2); border: 1px solid #F5C77E; }
.invite-card .e { font-size: 2rem; }
.invite-card b { display: block; font-size: 1.05rem; }
.invite-card span { font-size: .88rem; }
.invite-card .go { margin-left: auto; font-size: 1.5rem; color: var(--buy); }
.inv-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-hero > div { border-radius: 14px; padding: 16px; background: var(--green-soft); border: 1px solid #CBE3D4; }
.inv-hero > div + div { background: #FFF4E0; border-color: #F5C77E; }
.inv-hero small { display: block; color: var(--ink-3); font-weight: 700; }
.inv-hero b { display: block; font-size: 1.4rem; font-weight: 900; margin: 2px 0; }
.inv-hero span { font-size: .85rem; color: var(--ink-2); }
.inv-code { font-size: 2.2rem; font-weight: 900; letter-spacing: .12em; color: var(--green); margin-top: 4px; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 220px; margin: 14px auto; border: 10px solid #fff; outline: 1px solid #ddd; }
.qr i { aspect-ratio: 1; background: #fff; } .qr i.on { background: #111; }
@media (max-width: 760px) { .inv-hero { grid-template-columns: 1fr; } }

/* ===== 결제 요청 / 결제창 ===== */
.pay-head span { display: block; font-size: .9rem; opacity: .9; }
.pay-head .bubble { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.15); border-radius: 12px; padding: 8px 12px; font-size: .95rem; }
.pg-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pg-head b { font-size: 1.15rem; } .pg-head span { font-size: .8rem; color: var(--ink-3); }
.pg-amt { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.pg-amt small { display: block; color: var(--ink-3); } .pg-amt b { font-size: 1.6rem; font-weight: 900; display: block; } .pg-amt span { font-size: .85rem; color: var(--ink-2); }
.reply { margin: -6px 0 12px 18px; padding: 8px 12px; background: var(--bg-2); border-radius: 10px; font-size: .95rem; }
