
@font-face{font-family:'SamsungOne';src:url('/fonts/SamsungOneKorean-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'SamsungOne';src:url('/fonts/SamsungOneKorean-700.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'SamsungSharp';src:url('/fonts/SamsungSharpSans-Bold.woff2') format('woff2');font-weight:700;font-display:swap}

:root{
  --ink:#212121; --ink-strong:#000000; --ink-sub:#757575; --ink-mute:#8F8F8F;
  --line:#DDDDDD; --line2:#D9D9D9;
  --bg:#FFFFFF; --bg-soft:#F7F7F7;
  --brand:#2189FF; --brand-deep:#006BEA; --brand-soft:#5C89F6;
  --brand-tint:#EAF2FF;
  --point:#00838F; --tag:#486CE2; --danger:#FF0400;
  --w:1392px;
  --pad:24px;
  --sans:'SamsungOne',-apple-system,'Malgun Gothic','맑은 고딕',sans-serif;
  --sharp:'SamsungSharp','SamsungOne',sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.inner{max-width:var(--w);margin:0 auto;padding:0 var(--pad)}
.sharp{font-family:var(--sharp);font-weight:700;letter-spacing:-.02em}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── 머리줄이 따라다니고, 내리면 접힙니다 ──────────────
   삼성닷컴 제품 화면과 같은 방식입니다.
   · 아래로 내리면 위쪽 큰 칸(로고·검색·전화·이벤트 띠)이 접히고 파란 메뉴줄만 남습니다.
   · 위로 조금만 올리면 곧바로 다시 펴집니다.
   🔴 접히는 칸에는 «키(height)» 를 숫자로 박아 둡니다.
      auto 로 두면 0 으로 줄어드는 움직임이 아예 안 그려지고 툭 사라집니다. */
header{position:sticky;top:0;z-index:50;background:var(--bg)}
header.접힘{box-shadow:0 6px 20px rgba(0,0,0,.07)}
header .hd-top,header .evbar{overflow:hidden;
  transition:height .24s ease,opacity .18s ease}
header.접힘 .hd-top,header.접힘 .evbar{height:0;opacity:0;border-bottom-width:0;pointer-events:none}
/* 화면 안 링크(#후기 등)로 뛸 때 머리줄에 가려지지 않게 자리를 비워 둡니다 */
html{scroll-padding-top:132px}
@media (prefers-reduced-motion:reduce){header .hd-top,header .evbar{transition:none}}

/* ── 머리줄 ───────────────────────────────── */
.hd-top{border-bottom:1px solid var(--line);height:91px}
.hd-top .inner{height:90px;display:flex;align-items:center;gap:24px}
.hd-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:20px;color:var(--ink-strong)}
.hd-logo .mark{width:44px;height:44px;border-radius:9999px;background:var(--brand);color:#fff;
  font-size:10px;line-height:1.15;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700}
/* 삼성 워드마크 그림 (public/img/brand/samsung-wordmark.png) — 331×88 비율 그대로 줄입니다 */
.hd-logo .wm{flex:none;height:22px;width:auto;display:block}
.hd-logo small{display:block;font-size:12px;font-weight:400;color:var(--ink-sub)}
.hd-search{margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid var(--line);
  border-radius:9999px;padding:9px 16px;width:280px}
.hd-search input{border:0;outline:0;flex:1;min-width:0;background:transparent}
.hd-sns{display:flex;gap:8px}
.hd-sns a{width:32px;height:32px;border-radius:9999px;background:var(--bg-soft);display:flex;
  align-items:center;justify-content:center;font-size:12px;color:var(--ink-sub)}

/* ── 파란 메뉴줄 ──────────────────────────── */
.gnb{border-bottom:1px solid var(--line);position:relative}
.gnb .inner{display:flex;align-items:stretch;height:56px}
.gnb .all{display:flex;align-items:center;gap:8px;padding-right:20px;border-right:1px solid var(--line);font-weight:700;font-size:15px}
.gnb .all .grid{display:grid;grid-template-columns:repeat(2,7px);gap:2px}
.gnb .all .grid i{width:7px;height:7px;background:var(--ink-strong);display:block}
.gnb nav{display:flex;align-items:center;gap:20px;padding-left:24px;font-size:15px;font-weight:700;overflow-x:auto;scrollbar-width:none}
.gnb nav::-webkit-scrollbar{display:none}
.gnb nav a{white-space:nowrap;padding:4px 0}
.gnb nav a:hover{color:var(--brand-deep)}
.gnb nav a.on{color:var(--brand)}
.gnb .call{margin-left:auto;display:flex;align-items:center;gap:32px;background:var(--brand);color:#fff;
  padding:0 24px;font-weight:700;white-space:nowrap}
.gnb .call a{display:flex;align-items:center;gap:8px}

/* ── 헤더 아래 이벤트 띠 ──
   «사이트 설정» 의 이벤트띠_문구 가 비어 있으면 이 줄 자체가 안 나옵니다. */
.evbar{display:block;background:linear-gradient(90deg,var(--brand-deep) 0%,var(--brand) 55%,#3E6BE8 100%);
  color:#fff;text-decoration:none}
.evbar .inner{display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:46px;padding:9px 20px;flex-wrap:wrap;text-align:center}
.evbar .ev-chip{flex:none;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);
  border-radius:6px;padding:4px 9px;font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1}
.evbar .ev-tx{font-size:15px;font-weight:700;letter-spacing:-.01em;word-break:keep-all}
.evbar .ev-tx b{color:#FFE47A}
.evbar .ev-day{font-size:12.5px;opacity:.82}
.evbar .ev-go{flex:none;background:#fff;color:var(--brand-deep);border-radius:9999px;
  padding:6px 14px;font-size:12.5px;font-weight:800;line-height:1}
@media (hover:hover){a.evbar:hover .ev-go{background:#FFE47A}}

/* ── 오른쪽 아래 «맨 위로» 단추 ── */
#toTop{position:fixed;right:20px;bottom:212px;z-index:61;width:46px;height:46px;border-radius:9999px;
  border:1px solid var(--line);background:#fff;color:var(--ink-strong);cursor:pointer;
  font-size:20px;font-weight:700;line-height:1;box-shadow:0 6px 18px rgba(0,0,0,.14);
  opacity:0;transform:translateY(8px);transition:opacity .22s,transform .22s}
#toTop.on{opacity:1;transform:none}
#toTop[hidden]{display:none}
/* 카카오 상담 단추가 꺼져 있으면 그 자리만큼 내려옵니다 */
body:not(:has(#kakaoBtn)) #toTop{bottom:158px}
@media (hover:hover){#toTop:hover{border-color:var(--brand);color:var(--brand-deep)}}

/* ── 메인 대형 이미지 ─────────────────────── */
.kv{position:relative;background:var(--bg-soft);overflow:hidden}
.kv-track{display:flex;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.kv-slide{min-width:100%;min-height:560px;display:flex;align-items:center}
.kv-slide .inner{width:100%;display:flex;align-items:center;gap:32px}
.kv-txt{flex:1;min-width:0;max-width:640px}
.kv-art{width:44%;max-width:600px;height:440px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.kv-art img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.kv-eyebrow{font-size:18px;font-weight:700;color:var(--ink-strong);margin-bottom:12px}
.kv-title{font-family:var(--sharp);font-weight:700;font-size:48px;line-height:1.2;letter-spacing:-.02em;
  color:var(--ink-strong);margin:0 0 20px;white-space:pre-line}
.kv-sub{font-size:18px;color:var(--ink);margin:0 0 32px;white-space:pre-line}
.kv-cta{display:inline-flex;align-items:center;background:var(--ink-strong);color:#fff;
  border-radius:9999px;padding:14px 28px;font-weight:700;font-size:16px}
/* ── 사진형·여러장·영상형 배너 ────────────────────────────────
   사진은 «자기 비율(16:6)» 을 그대로 지킵니다. 칸을 억지로 채우지 않기 때문에
   1920 × 720 으로 만든 사진은 어떤 화면 폭에서도 한 점도 잘리지 않습니다.
   칸이 더 높으면 위아래에 배경색이 남을 뿐입니다. */
.kv-slide.kv-media{position:relative;overflow:hidden;min-height:0;padding:0;
  display:flex;flex-direction:column;justify-content:center}
.kv-media .kv-fill,.kv-media .kv-roll,.kv-media .kv-ytwrap{
  position:relative;width:100%;aspect-ratio:16/6;height:auto;flex:none;display:block;border:0}
.kv-media .kv-fill{object-fit:cover}
.kv-media .kv-fill.kv-contain{object-fit:contain}
.kv-media picture,.kv-roll picture{display:contents}
.kv-ytwrap{overflow:hidden}
.kv-yt{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:100%;aspect-ratio:16/9;min-height:100%;border:0;pointer-events:none}
.kv-roll{display:flex;overflow:hidden;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.kv-roll>*{min-width:100%;height:100%;display:block}
.kv-roll img{width:100%;height:100%;object-fit:cover;display:block}
.kv-roll img.kv-contain{object-fit:contain}
.kv-roll-dots{position:absolute;right:24px;bottom:24px;z-index:3;display:flex;align-items:center;gap:8px}
.kv-roll-dots button{width:8px;height:8px;border-radius:9999px;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.kv-roll-dots button.on{width:22px;background:#fff}
/* 사진 위에 글을 얹을 때 — 글이 묻히지 않게 왼쪽을 어둡게 깔아 줍니다 */
.kv-shade{position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.32) 45%,rgba(0,0,0,0) 78%)}
.kv-over{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;align-items:center}
.kv-over .kv-eyebrow,.kv-over .kv-title,.kv-over .kv-sub{color:#fff}
.kv-over .kv-cta{background:#fff;color:var(--ink-strong)}
.kv-link{position:absolute;inset:0;z-index:3}
.kv-dots{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:8px}
.kv-dots button{width:8px;height:8px;border-radius:9999px;border:0;background:var(--line2);cursor:pointer;padding:0}
.kv-dots button.on{background:var(--ink-strong)}

/* ── 카테고리 퀵링크 ─────────────────────── */
.shortcut{padding:40px 0 48px}
.shortcut ul{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(11,1fr);gap:24px 8px}
.shortcut a{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
/* 테두리와 옅은 그라데이션을 넣어 «칸» 이 눈에 보이게 합니다.
   전에는 회색 네모라 어디까지가 한 칸인지 구분이 안 됐습니다. */
/* 기울기·떠오름·눌림을 «따로따로» 다룰 수 있게 조각으로 나눠 둡니다.
   한 덩어리로 쓰면 마우스를 따라 기울일 때 떠오름이 사라져 버립니다. */
.shortcut .thumb{position:relative;width:100%;aspect-ratio:1;border-radius:18px;
  background:linear-gradient(160deg,#FFFFFF 0%,var(--bg-soft) 100%);
  border:1px solid var(--line);box-shadow:0 1px 2px rgba(0,0,0,.04);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  transform:perspective(620px) translateY(var(--ty,0px))
            rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(var(--sc,1));
  transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .25s,border-color .25s,background .25s}
/* 🔴 88% 로 줄이지 않습니다. 디자인 자산(214x214)이 이미 그림 둘레에 여백을 갖고 있어서,
   여기서 또 줄이면 여백이 두 겹이 되어 그림이 작고 좁아 보입니다.
   (식기세척기 그림은 214칸 안에서 가로 48% 밖에 안 차지합니다) */
.shortcut .thumb img{width:100%;height:100%;object-fit:contain;
  transition:transform .25s cubic-bezier(.2,.7,.3,1)}
/* 선 아이콘 — 진짜 사진이 들어오면(.has) 자동으로 자리를 내줍니다. */
/* 아직 제품 사진이 없는 칸에 임시로 나오는 회색 선그림.
   디자인 가이드는 «누끼딴 제품 이미지만» 이므로 이건 사진이 들어오면 사라집니다.
   그때까지 사진 칸과 크기가 너무 차이 나지 않게 맞춰 둡니다. */
.shortcut .thumb .ic{width:62%;height:62%;color:#9AA3AF;
  transition:transform .25s cubic-bezier(.2,.7,.3,1),color .25s}
.shortcut .thumb.has .ic{display:none}
.shortcut .thumb.hi{background:linear-gradient(160deg,#F4F8FF 0%,#E4EEFF 100%);border-color:#CFE0FA}
.shortcut .thumb.hi .ic{color:var(--brand)}
.shortcut span{font-size:14px;line-height:1.33;color:var(--ink);transition:color .2s}
/* 마우스가 있는 기기에서만 켭니다. 휴대폰에서는 손가락을 떼도 효과가 남아 있어 지저분합니다. */
/* 마우스를 올리면 빛이 한 번 사선으로 스칩니다 (칸 안에서만 움직입니다) */
.shortcut .thumb::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.85) 50%,transparent 64%);
  transform:translateX(-130%);transition:transform .6s cubic-bezier(.3,.7,.3,1)}
@media (hover:hover){
  .shortcut a:hover .thumb{--ty:-8px;border-color:var(--brand);
    background:linear-gradient(160deg,#FFFFFF 0%,#E9F2FF 100%);
    box-shadow:0 16px 30px rgba(33,137,255,.26),0 0 0 3px rgba(33,137,255,.13)}
  .shortcut a:hover .thumb::after{transform:translateX(130%)}
  .shortcut a:hover .thumb img{transform:scale(1.1)}
  .shortcut a:hover .thumb .ic{transform:scale(1.14);color:var(--brand)}
  .shortcut a:hover span{color:var(--brand-deep);font-weight:700}
}
.shortcut a:focus-visible .thumb{border-color:var(--brand);--ty:-8px}
/* 누르면 쏙 들어갑니다 */
.shortcut a:active .thumb{--sc:.93;--ty:-2px;transition-duration:.08s}

/* ── 바로가기 띠 (카테고리 칸 바로 아래) ────
   자주 찾는 화면 다섯 개를 큰 그림으로 세웁니다.
   넓은 화면은 한 줄 다섯 칸, 좁아지면 두 칸, 휴대폰은 한 칸씩 섭니다. */
.quick{padding:0 0 12px}
.quick ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
/* 설명이 두 줄이 되는 칸이 있어도 다섯 칸의 높이가 같게 맞춥니다 */
.quick li{display:flex}
.quick a{flex:1;display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:16px;
  border:1px solid var(--line);background:linear-gradient(160deg,#FFFFFF 0%,var(--bg-soft) 100%);
  transition:transform .18s cubic-bezier(.2,.7,.3,1),box-shadow .25s,border-color .25s}
/* «갤럭시 AI 구독클럽» 처럼 가로로 긴 알약 그림이 섞여 있습니다.
   46 네모에 가두면 아주 납작한 조각으로 보여서, 높이를 맞추고 가로는 늘려 줍니다. */
.quick img{flex:none;width:auto;height:52px;max-width:76px;object-fit:contain}
.quick span{display:flex;flex-direction:column;gap:3px;min-width:0;
  font-size:12.5px;line-height:1.45;color:var(--ink-sub);word-break:keep-all}
.quick b{font-size:15px;font-weight:700;color:var(--ink-strong);letter-spacing:-.01em}
@media (hover:hover){
  .quick a:hover{transform:translateY(-4px);border-color:var(--brand);
    box-shadow:0 14px 26px rgba(33,137,255,.20)}
}

/* ── 섹션 공통 ───────────────────────────── */
.sec{padding:60px 0}
.sec.soft{background:var(--bg-soft)}
.sec-head{display:flex;align-items:flex-end;gap:16px;margin-bottom:24px}
.sec-head h2{font-size:28px;line-height:1.33;font-weight:700;margin:0;letter-spacing:-.02em}
.sec-head .more{margin-left:auto;font-size:14px;color:var(--ink-sub)}
/* 구역 머리 — 칩 한 줄 · 제목 · 설명 한 줄 */
.sec-head .sh-l{display:flex;flex-direction:column;gap:8px;min-width:0}
.sec-head .eyeb{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;
  background:var(--brand-tint);color:var(--brand-deep);border-radius:9999px;
  padding:6px 13px;font-size:12px;font-weight:800;line-height:1;letter-spacing:.02em}
.sec-head .sh-d{margin:0;font-size:14.5px;color:var(--ink-sub);line-height:1.5;word-break:keep-all}
.sec-head .more{align-self:flex-end;white-space:nowrap}

/* ── 카테고리 탭 (홈 «카테고리별 추천 모델») ──
   좁은 화면에서는 옆으로 밀어서 봅니다. */
.cattabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 18px;margin:0 0 6px;
  border-bottom:1px solid var(--line);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cattabs::-webkit-scrollbar{display:none}
.cattabs .ct{flex:none;height:38px;padding:0 16px;border-radius:9999px;cursor:pointer;
  border:1px solid var(--line);background:#fff;color:var(--ink-sub);
  font-family:inherit;font-size:14px;font-weight:700;letter-spacing:-.01em;
  transition:background .18s,color .18s,border-color .18s}
.cattabs .ct.on{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}
@media (hover:hover){.cattabs .ct:not(.on):hover{border-color:var(--brand);color:var(--brand-deep)}}
.cp{padding-top:24px}
.cp[hidden]{display:none}
.cp-more{margin-top:20px;text-align:right}
.cp-more a{font-size:14px;font-weight:700;color:var(--brand-deep)}

/* ── 상품 카드 (피그마 330×618 기준) ─────── */
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
/* 카드 한 장을 «테두리 있는 흰 판» 으로 만듭니다. 사진칸과 글칸이 따로 놀던 것을
   한 덩어리로 묶고, 마우스를 올리면 살짝 떠오릅니다. */
.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  transition:transform .28s cubic-bezier(.2,.7,.3,1),box-shadow .28s,border-color .28s}
/* 카드마다 이름 길이가 달라 가격판 높이가 들쭉날쭉했습니다.
   → 가격판을 카드 바닥에 붙여, 넉 장의 가격이 한 줄로 맞습니다. */
.card{display:flex;flex-direction:column}
.card>a{display:flex;flex-direction:column;flex:1}
@media (hover:hover){
  .card:hover{transform:translateY(-6px);border-color:var(--brand);
    box-shadow:0 18px 38px rgba(33,137,255,.18)}
  .card:hover .ph img{transform:scale(1.06)}
}
.card:focus-within{border-color:var(--brand)}
.card .ph{position:relative;aspect-ratio:1;border-radius:0;overflow:hidden;
  background:linear-gradient(160deg,#FCFDFF 0%,var(--bg-soft) 100%);
  display:flex;align-items:center;justify-content:center}
.card .ph::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--line)}
.card .ph img{width:86%;height:86%;object-fit:contain;
  transition:transform .32s cubic-bezier(.2,.7,.3,1)}
/* 순위 숫자를 모서리에 딱 붙이면 카드의 둥근 모서리를 덮어 각져 보입니다.
   12px 안쪽으로 들여놓고 그 자체를 둥근 네모로 만듭니다. */
.card .rank{position:absolute;left:12px;top:12px;z-index:1;width:36px;height:36px;color:#fff;
  background:linear-gradient(135deg,#3A3A3A 0%,#000000 100%);border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.28);
  display:flex;align-items:center;justify-content:center;font-family:var(--sharp);font-size:19px}
/* «구독특가» 동그라미 — 오른쪽 위에 두면 사진에 박혀 있는 «삼성전자 공식» 표시와 겹칩니다.
   왼쪽 아래로 내립니다. (왼쪽 위는 순위 숫자와 «비교» 가 쓰고 있습니다) */
.card .badge{position:absolute;left:12px;bottom:12px;width:60px;height:60px;border-radius:9999px;
  background:var(--brand);color:#fff;font-size:11px;font-weight:700;line-height:1.2;
  display:flex;align-items:center;justify-content:center;text-align:center}
/* 🔴 한글은 기본값으로 아무 글자 사이에서나 줄이 바뀝니다.
   그래서 좁은 화면에서 «63,900 / 원~», «11,200P~ 적 / 립» 처럼 쪼개졌습니다.
   낱말 단위로만 줄을 바꾸게 하고, 낱말 하나가 줄보다 길 때만 어쩔 수 없이 자릅니다. */
.card .info{padding:16px 16px 18px;display:flex;flex-direction:column;gap:10px;flex:1;
  word-break:keep-all;overflow-wrap:break-word}
.card .itag{align-self:flex-start;background:var(--tag);color:#fff;border-radius:9999px;
  padding:7px 12px;font-size:12px;font-weight:700;line-height:1}
.card .nm{font-size:20px;line-height:1.36;font-weight:700;color:var(--ink-strong);margin:0}
.card .meta{font-size:13.5px;line-height:1.5;color:var(--ink-sub)}
/* 가격은 옅은 파란 판 위에 얹어 눈이 먼저 가게 합니다. */
.card .price{display:flex;flex-direction:column;gap:6px;margin-top:auto;
  padding:13px 14px;border-radius:12px;
  background:linear-gradient(180deg,#F6FAFF 0%,#EBF3FF 100%);
  border:1px solid #DDE9FB}
.card .m{font-size:15px;color:var(--ink-sub)}
.card .m b{font-family:var(--sharp);font-size:26px;color:var(--ink-strong);letter-spacing:-.02em}
.card .best{font-size:15px;color:var(--brand-deep);font-weight:700}
.card .pt{font-size:13px;color:var(--point)}
/* «월 얼마 아낌» — 등록된 월요금과 최대혜택가의 차이를 그대로 뺀 값입니다. */
.card .save{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-deep) 100%);color:#fff;
  border-radius:9999px;padding:5px 11px;font-size:12px;font-weight:700;line-height:1;
  box-shadow:0 3px 8px rgba(0,107,234,.28)}

/* ── 카드 맨 위 초록 띠 «일시불보다 ○원 더 저렴» ──
   등록된 일시불 가격이 있는 상품에만 붙습니다. */
.card .ribbon{background:linear-gradient(135deg,#14A05A 0%,#0C7F45 100%);color:#fff;
  font-size:13px;font-weight:700;line-height:1;letter-spacing:-.01em;min-height:38px;
  padding:11px 14px;display:flex;align-items:center;gap:5px;word-break:keep-all}
/* 띠가 없는 카드의 «빈 자리» — 눈에 안 보이고 높이만 차지합니다 */
.card .ribbon.none{background:none;padding:0;min-height:38px}
.card .ribbon b{font-family:var(--sharp);font-size:15px;letter-spacing:-.02em}
/* 띠가 있으면 «비교» 체크칸을 그만큼 내려 줍니다 */
.card:has(.ribbon) .cmp{top:46px}
.card:has(.ribbon):has(.rank) .cmp{top:92px}

/* ── 사진칸 오른쪽 «아래» «삼성전자 공식 인증점» 방패 ──
   위쪽에 두면 순위 숫자·비교칸과 자리를 다투고, 머리줄 문구와 같은 말이 두 번 보입니다. */
.oem{position:absolute;right:10px;bottom:10px;z-index:1;width:64px;height:64px;
  border-radius:9999px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;text-align:center;line-height:1.1;overflow:hidden;
  box-shadow:0 4px 12px rgba(0,60,140,.22)}
.oem i{background:#fff;color:#1428A0;font-style:normal;font-size:9.5px;font-weight:800;
  width:100%;padding:6px 0 4px}
.oem b{background:var(--brand-deep);color:#fff;font-size:9.5px;font-weight:800;
  width:100%;padding:5px 0 7px}

/* ── 사진칸 아래쪽 특징 딱지 줄 ── */
.card .ph:has(.oem) .tags{right:84px}
.card .tags{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;
  display:flex;flex-wrap:wrap;gap:5px}
.card .tags i{font-style:normal;font-size:11px;font-weight:700;line-height:1;
  padding:5px 8px;border-radius:6px;background:#fff;border:1px solid var(--line);color:var(--ink-sub)}
.card .tags .t-zero{background:#EAF7EF;border-color:#B7E3C8;color:#0C7F45}
.card .tags .t-best{background:var(--brand);border-color:var(--brand);color:#fff}
.card .tags .t-b{background:#FFF2E8;border-color:#FFD3B0;color:#C05600}
.card .tags .t-i{background:var(--tag);border-color:var(--tag);color:#fff}

/* ── 색상 동그라미 줄 ── */
.card .swatch{display:flex;align-items:center;gap:5px;flex-wrap:wrap;
  font-size:12.5px;color:var(--ink-sub)}
.card .swatch span{margin-right:2px}
.card .swatch i{width:15px;height:15px;border-radius:9999px;background:var(--c);
  border:1px solid rgba(0,0,0,.18);display:inline-block;flex:none}

/* ── 가격판 안쪽 «정상가 → 혜택가» 한 줄 ── */
.card .pbox{display:flex;flex-direction:column;gap:4px}
.card .pbox .pb-t{font-size:11.5px;font-weight:700;color:var(--brand-deep);line-height:1.3}
.card .pbox .pb-l{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px}
.card .pbox s{font-size:13px;color:var(--ink-mute)}
.card .pbox em{font-style:normal;font-size:12px;color:var(--ink-mute)}
.card .pbox b{font-family:var(--sharp);font-size:23px;line-height:1.15;
  color:var(--brand-deep);letter-spacing:-.03em}

/* ── 카드 맨 아래 단추 두 개 ── */
.card .cacts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 16px}
.card .cacts .c-ask,.card .cacts .c-go{display:flex;align-items:center;justify-content:center;gap:4px;
  height:42px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;
  font-family:inherit;letter-spacing:-.01em}
.card .cacts .c-go{background:var(--brand-tint);color:var(--brand-deep);border:1px solid #C7DCFA}
.card .cacts .c-ask{background:var(--brand-deep);color:#fff;border:1px solid var(--brand-deep)}
.card .cacts .c-go i{font-style:normal}
@media (hover:hover){
  .card .cacts .c-go:hover{background:#DBE8FD;border-color:#A8C6F5}
  .card .cacts .c-ask:hover{background:var(--brand)}
}

/* ── 하단 고정 상담바 (피그마 1020×72 · 알약) ── */
.sticky{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:60;
  width:min(1020px,calc(100% - 32px));background:var(--brand);color:#fff;border-radius:9999px;
  padding:12px 17px;display:flex;align-items:center;gap:24px;
  box-shadow:0 8px 28px rgba(0,0,0,.18);
  transition:transform .28s cubic-bezier(.2,.8,.2,1)}
/* 아래로 내릴 때는 신청바를 화면 밖으로 접어 둡니다. 위로 올리면 다시 올라옵니다.
   🔴 가운데 맞추는 translateX(-50%) 를 반드시 같이 써야 합니다. 빼면 바가 오른쪽으로 밀립니다.
   (자바스크립트가 꺼져 있으면 .down 이 안 붙어서 그냥 계속 보입니다) */
.sticky.down{transform:translateX(-50%) translateY(calc(100% + 32px))}
@media(prefers-reduced-motion:reduce){.sticky{transition:none}}
.sticky dl{display:flex;align-items:center;gap:16px;margin:0;padding-left:12px;white-space:nowrap}
.sticky dt{font-size:16px;font-weight:700}
.sticky dd{margin:0;font-size:19px;font-weight:700;font-family:var(--sharp)}
.sticky form{margin-left:auto;display:flex;align-items:center;gap:12px;flex:1;justify-content:flex-end}
.sticky .agree{display:flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
.sticky .agree a{text-decoration:underline}
.sticky input[type=text],.sticky input[type=tel]{border:0;border-radius:9999px;padding:11px 16px;
  width:130px;min-width:110px;color:var(--ink)}
.sticky button{border:0;border-radius:9999px;background:#fff;color:var(--brand);
  font-weight:700;padding:11px 22px;cursor:pointer;white-space:nowrap}
.sticky button:disabled{opacity:.6;cursor:not-allowed}
.sticky .msg{font-size:13px;white-space:nowrap}
/* 카카오·네이버 간편입력 (열쇠를 넣었을 때만 나옵니다) */
.sticky .easybox{display:flex;gap:6px;flex-shrink:0}
.sticky .easy{border-radius:9999px;padding:9px 14px;font-size:13px;font-weight:700;
  white-space:nowrap;line-height:1;display:flex;align-items:center}
/* 🔴 단추 두 개가 붙으면 한 줄(1020px)에 다 못 들어갑니다.
   그대로 두면 이름·연락처 칸이 동그랗게 찌부러집니다.
   → 단추를 윗줄로 올리고, 아래 줄에 전화번호·이름·연락처를 둡니다. */
.sticky:has(.easybox){flex-wrap:wrap;row-gap:10px;border-radius:28px}
.sticky:has(.easybox) .easybox{order:-1;width:100%;justify-content:center}

/* ── 발치 ─────────────────────────────────── */
footer{background:var(--bg-soft);margin-top:60px;padding-bottom:110px}
footer .top{border-bottom:1px solid var(--line)}
footer .top .inner{display:flex;align-items:center;gap:12px;height:64px;font-size:14px;font-weight:700;flex-wrap:wrap}
footer .top .inner i{width:1px;height:12px;background:var(--line2);display:block}
footer .bot .inner{padding-top:24px;padding-bottom:24px;font-size:13px;line-height:1.8;color:var(--ink-sub)}
/* 운영사 로고 (public/img/brand/clicknara.png) — 331×88 비율 그대로 */
footer .ft-logo{display:block;height:26px;width:auto;margin:0 0 14px}

/* ── 공용 조각 ───────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;
  border-radius:9999px;padding:14px 28px;font-weight:700;font-size:16px;background:var(--ink-strong);color:#fff}
.btn.line{background:#fff;color:var(--ink-strong);box-shadow:inset 0 0 0 1px var(--line)}
.btn.brand{background:var(--brand)}
.crumb{font-size:13px;color:var(--ink-sub);padding:20px 0}
.tbl{width:100%;border-collapse:collapse;font-size:15px}
.tbl th,.tbl td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.tbl th{background:var(--bg-soft);font-weight:700;width:180px}
.scrollx{overflow-x:auto}

/* ── 필터 (예제 사이트에 없는 것) ─────────── */
.filters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:16px 0;margin-bottom:24px;display:flex;flex-direction:column;gap:12px}
.frow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.frow b{font-size:13px;color:var(--ink-sub);min-width:56px}
.chip{display:inline-flex;align-items:center;padding:7px 14px;border-radius:9999px;
  font-size:14px;background:var(--bg-soft);color:var(--ink)}
.chip:hover{background:#EFF3FD;color:var(--brand-deep)}
.chip.on{background:var(--ink-strong);color:#fff}

/* ── 비교 담기 ───────────────────────────── */
.card{position:relative}
.card .cmp{position:absolute;left:8px;top:8px;z-index:2;display:flex;align-items:center;gap:4px;
  background:rgba(255,255,255,.94);border-radius:9999px;padding:5px 11px 5px 8px;
  font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.12);
  white-space:nowrap}
/* 순위 숫자(왼쪽 위 40x40 검은 네모)가 있는 카드에서는 «비교» 를 그 아래로 내립니다.
   안 내리면 «비교» 가 숫자를 완전히 덮어 검은 네모만 보입니다. */
.card:has(.rank) .cmp{top:56px;left:12px}
#cmpbar{position:fixed;left:50%;bottom:104px;transform:translateX(-50%);z-index:62;
  background:var(--ink-strong);color:#fff;border-radius:9999px;padding:12px 20px;
  display:flex;align-items:center;gap:12px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.24);
  white-space:nowrap;max-width:calc(100vw - 24px)}
#cmpbar button{border:0;border-radius:9999px;padding:8px 16px;font-weight:700;cursor:pointer;
  background:#fff;color:var(--ink-strong);white-space:nowrap;flex:none}
#cmpbar #cmpclear{background:transparent;color:#fff;text-decoration:underline;padding:8px 4px}
/* 위에서 display:flex 를 직접 줬기 때문에 이 줄이 없으면 hidden 이 먹지 않습니다.
   아무것도 안 골랐는데 «0개 선택됨» 바가 계속 떠 있게 됩니다. */
#cmpbar[hidden]{display:none}
.cmptbl th,.cmptbl td{border-bottom:1px solid var(--line);vertical-align:middle}
/* 🔴 좁은 화면에서 «제품코 / 드», «카드할 / 인 적용 / 총액», «자세히 보 / 기» 처럼
   글자가 쪼개져 읽을 수 없었습니다. 제휴카드 맞대보기 표와 같은 방식으로 고칩니다 —
   줄바꿈을 막고 표를 옆으로 밀게 하며, 왼쪽 항목 이름은 붙어 있게 합니다. */
.cmptbl{min-width:560px;background:#fff}
.cmptbl tbody th{white-space:nowrap;position:sticky;left:0;z-index:2;
  background:var(--bg-soft);box-shadow:1px 0 0 var(--line)}
.cmptbl thead th:first-child{position:sticky;left:0;z-index:2;background:#fff}
.cmptbl td .btn{white-space:nowrap}

/* ── AI 상담창 ───────────────────────────── */
/* hidden 속성이 먹으려면 이 줄이 있어야 합니다.
   아래 #aiOpen/#aiBox 가 display 를 직접 지정하기 때문에,
   이 규칙이 없으면 상담창이 처음부터 열린 채 화면을 덮고 닫기 버튼도 듣지 않습니다. */
#aiOpen[hidden],#aiBox[hidden]{display:none}
/* 삼성닷컴처럼 동그란 «반짝이» 단추입니다.
   평소엔 아이콘만, 마우스를 올리거나 키보드로 짚으면 «AI 상담» 글자가 옆으로 펼쳐집니다. */
#aiOpen{position:fixed;right:20px;bottom:104px;z-index:61;cursor:pointer;
  background:#fff;color:var(--brand);border:1.5px solid #bcd8ff;border-radius:9999px;
  height:60px;padding:0 17px;display:flex;align-items:center;gap:0;
  box-shadow:0 6px 22px rgba(20,60,140,.20);transition:gap .2s,box-shadow .2s}
#aiOpen svg{flex:0 0 26px;fill:currentColor}
#aiOpen b{max-width:0;overflow:hidden;white-space:nowrap;font-size:15px;font-weight:700;
  letter-spacing:-.02em;transition:max-width .25s}
#aiOpen:hover,#aiOpen:focus-visible{box-shadow:0 8px 26px rgba(20,60,140,.28);gap:8px}
#aiOpen:hover b,#aiOpen:focus-visible b{max-width:80px}
@media(hover:none){#aiOpen b{display:none}}
#aiBox{position:fixed;right:20px;bottom:104px;z-index:62;width:380px;max-width:calc(100vw - 32px);
  height:min(560px,calc(100vh - 180px));background:#fff;border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 16px 48px rgba(0,0,0,.28)}
#aiBox header{background:#fff;color:var(--ink-strong);padding:16px 18px;display:flex;
  align-items:center;gap:8px;border-bottom:1px solid var(--line)}
#aiBox header b{font-size:16px}
#aiBox header span{font-size:12px;color:var(--ink-sub)}
#aiBox header button{margin-left:auto;background:none;border:0;color:var(--ink);font-size:16px;cursor:pointer;padding:4px}
#aiLog{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(180deg,#fff 0%,#eaf1fe 100%)}
#aiLog .m{max-width:86%;padding:11px 14px;border-radius:14px;font-size:14.5px;line-height:1.6;white-space:pre-line}
#aiLog .bot{background:#fff;align-self:flex-start;border-bottom-left-radius:4px;
  border:1px solid rgba(20,60,140,.10)}
#aiLog .me{background:var(--ink-strong);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
#aiLog .wait{opacity:.6}
#aiLog .quick{display:flex;flex-direction:column;gap:6px;align-items:flex-start;margin-top:2px}
#aiLog .quick button{border:1px solid var(--line);background:#fff;border-radius:9999px;
  padding:8px 14px;font-size:13px;cursor:pointer;text-align:left;color:var(--brand-deep)}
#aiForm{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line);background:#fff}
#aiForm input{flex:1;min-width:0;border:1px solid var(--line);border-radius:9999px;padding:11px 16px}
#aiForm button{border:0;border-radius:9999px;background:var(--brand);color:#fff;
  font-weight:700;padding:11px 18px;cursor:pointer}
#aiForm button:disabled{opacity:.5;cursor:not-allowed}
#aiBox .note{margin:0;padding:0 14px 12px;font-size:11.5px;color:var(--ink-sub);background:#fff;line-height:1.5}

/* 답변 아래에 붙는 진짜 상품 카드 — 눌러서 상세 페이지로 바로 갑니다 */
/* AI 상담이 붙여 주는 영상 */
.aivids{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.aivt{margin:0 0 2px;font-size:12px;font-weight:700;color:var(--ink-sub)}
.aiv{display:grid;grid-template-columns:96px 1fr 24px;gap:10px;align-items:center;
  border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:8px;
  text-align:left;cursor:pointer;width:100%}
.aiv:hover{border-color:var(--brand)}
.aiv img{width:96px;height:54px;object-fit:cover;border-radius:6px;background:#000}
.aiv b{display:block;font-size:13px;line-height:1.4;color:var(--ink-strong);font-weight:700;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.aiv i{display:block;font-style:normal;font-size:11px;color:var(--ink-sub);margin-top:2px}
.aiv em{font-style:normal;color:var(--ink-sub);font-size:13px}
.aiframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;display:block}

.aicards{display:flex;flex-direction:column;gap:8px}
.aicard{display:grid;grid-template-columns:56px 1fr;grid-template-rows:auto auto auto;
  column-gap:12px;align-items:center;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:10px 12px;text-decoration:none;color:inherit}
.aicard:hover{border-color:var(--brand)}
.aicard img,.aicard i{grid-row:1/4;width:56px;height:56px;border-radius:10px;
  object-fit:contain;background:var(--bg-soft);display:block}
.aicard b{font-size:13.5px;line-height:1.4;font-weight:700}
.aicard span{font-size:12.5px;color:var(--ink-sub)}
.aicard em{font-size:12.5px;font-style:normal;font-weight:700;color:var(--brand)}

/* 대화창 안에서 바로 받는 상담 신청 */
.ailead{display:flex;flex-direction:column;gap:8px;background:#fff;
  border:1px solid var(--line);border-radius:14px;padding:14px}
.ailead b{font-size:14px}
.ailead input[type=text],.ailead input:not([type]){width:100%}
.ailead input:not([type=checkbox]){border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;font-size:14px;width:100%;box-sizing:border-box}
.ailead label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-sub)}
.ailead label a{color:var(--brand)}
.ailead button{border:0;border-radius:10px;background:var(--brand);color:#fff;
  font-weight:700;padding:11px;cursor:pointer;font-size:14px}
.ailead button:disabled{opacity:.5}

/* ── 상품 상세 (예전엔 칸 수가 고정이라 휴대폰에서 반토막 났습니다) ── */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.pdp .shot{background:var(--bg-soft);border-radius:16px;aspect-ratio:1;position:relative;
  display:flex;align-items:center;justify-content:center}
/* 삼성 원본 사진은 제품 둘레에 여백이 이미 들어 있습니다.
   여기서 또 78% 로 줄이니 제품이 두 번 작아져 허전해 보였습니다. 92% 로 키웁니다.
   object-fit:contain 이라 어떤 비율의 사진을 넣어도 잘리지 않습니다. */
.pdp .shot img{width:92%;height:92%;object-fit:contain}
.pdp h1{font-size:28px;line-height:1.33;margin:0 0 12px;color:var(--ink-strong)}
.pdp .acts{display:flex;gap:12px;flex-wrap:wrap}

/* ── 두 칸/세 칸 목록 (구매 가이드·이벤트) ── */
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid3{list-style:none;padding:0;margin:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}

/* ── 같은 무리의 다른 품목으로 건너뛰는 줄 ── */
.catnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}

/* ── 고객 후기 ─────────────────────────────── */
.revs{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.rev{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.rev .ph{background:var(--bg-soft);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.rev .ph img{width:100%;height:100%;object-fit:cover}
.rev .in{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.rev .stars{color:#FFB400;font-size:15px;letter-spacing:2px}
.rev .tt{font-weight:700;font-size:17px;margin:0;color:var(--ink-strong)}
.rev .bd{font-size:14.5px;line-height:1.7;color:var(--ink);margin:0}
.rev .by{margin-top:auto;padding-top:8px;font-size:13px;color:var(--ink-sub)}

/* ── 영상 갤러리 (유튜브) ── */
/* 가로 3개씩 큼직하게. 영상이 많아도 화면이 버벅이지 않게 화면 밖 카드는 그리지 않습니다. */
.vids{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(3,1fr);gap:32px 24px}
.vids .vid{content-visibility:auto;contain-intrinsic-size:auto 320px}
.vid[hidden]{display:none}

/* ── 영상 찾기 ── */
.vfind{position:relative;margin-bottom:16px}
.vfind input{width:100%;height:56px;padding:0 52px 0 20px;font-size:17px;
  border:1px solid var(--line2);border-radius:9999px;background:var(--bg);color:var(--ink)}
.vfind input:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.vfind button{position:absolute;right:10px;top:10px;width:36px;height:36px;border:0;border-radius:9999px;
  background:var(--bg-soft);color:var(--ink-sub);font-size:15px;cursor:pointer}
.vchips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}
.vchip{border:1px solid var(--line2);background:var(--bg);color:var(--ink-sub);
  border-radius:9999px;padding:8px 16px;font-size:14px;font-weight:700;cursor:pointer}
.vchip:hover{border-color:var(--brand)}
.vchip.on{background:var(--ink-strong);border-color:var(--ink-strong);color:#fff}
.vnone{color:var(--ink-sub);padding:40px 0;text-align:center;font-size:15px}
.vid{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.vid .ph{position:relative;display:block;width:100%;aspect-ratio:16/9;background:#000;
  border:0;padding:0;cursor:pointer}
.vid .ph img{width:100%;height:100%;object-fit:cover;display:block}
.vid .ph .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:58px;height:40px;border-radius:10px;background:rgba(0,0,0,.7);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:16px;transition:background .15s}
.vid .ph:hover .play,.vid .ph:focus-visible .play{background:#FF0000}
.vid iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
.vid .in{padding:16px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.vid .tt{font-weight:700;font-size:17px;margin:0;color:var(--ink-strong);line-height:1.5}
.vid .nt{font-size:14px;line-height:1.7;color:var(--ink-sub);margin:0}

/* ── 건너뛰기 링크 (키보드·화면낭독기 이용자용) ── */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--ink-strong);color:#fff;
  padding:12px 20px;border-radius:0 0 8px 0;font-weight:700}
.skip:focus{left:0}

/* ── 카카오톡 상담 버튼 ─────────────────────── */
#kakaoBtn{position:fixed;right:20px;bottom:158px;z-index:61;background:#FEE500;color:#3C1E1E;
  border-radius:9999px;padding:13px 20px;font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px;
  box-shadow:0 6px 20px rgba(0,0,0,.22)}

/* 화면이 부드럽게 바뀝니다 (지원하지 않는 브라우저는 예전처럼 동작) */
@view-transition{navigation:auto}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
}

/* ══════════════════════════════════════════════════════════
   ✨ 손님 화면을 살리는 장치들
   ──────────────────────────────────────────────────────────
   전부 «브라우저가 원래 갖고 있는 기능»만 씁니다. 받아올 파일이 늘지 않아
   사이트가 느려지지 않고, 지원하지 않는 브라우저에서는 효과만 빠집니다.
   색·간격·모서리는 삼성 가이드 안에서만 골랐습니다.
   ══════════════════════════════════════════════════════════ */

/* ── ① 스크롤하면 살짝 떠오르며 나타납니다 ────────────────
   자바스크립트 한 줄 없이 CSS 만으로 합니다(스크롤 연동 애니메이션).
   «움직임 줄이기»를 켠 분에게는 아예 적용하지 않습니다. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .card,.vid,.rev,.shortcut li,.sec-head{
      animation:떠오름 both;
      animation-timeline:view();
      animation-range:entry 0% entry 40%;
    }
  }
}
/* ★ 일부러 «투명도»를 건드리지 않고 «위치»만 움직입니다.
   투명도로 만들면, 어떤 이유로든 효과가 끝까지 돌지 않았을 때 내용이 안 보이는 사고가 납니다.
   위치만 움직이면 최악의 경우에도 16px 아래에 그려질 뿐이라 손님은 아무 문제를 겪지 않습니다. */
@keyframes 떠오름{from{transform:translateY(16px)}to{transform:none}}

/* 카테고리 칸은 왼쪽부터 차례로 올라옵니다 — 한 줄이 물결처럼 번집니다.
   («몇 번째 칸인가»를 li 마다 --i 로 적어 두었습니다) */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .shortcut li{animation-range:entry 0% entry calc(24% + var(--i,0) * 1.8%)}
  }
}

/* ── ② 제품 사진 크게 보기 ───────────────────────────────
   상세화면의 사진을 누르면 화면 가득 크게 띄웁니다.
   ESC 키·바깥 누르기로 닫히는 것은 브라우저가 알아서 해 줍니다(dialog). */
.pdp .shot{cursor:zoom-in}
.pdp .shot .oem{width:92px;height:92px;right:18px;top:18px;bottom:auto;cursor:default}
.pdp .shot .oem i,.pdp .shot .oem b{font-size:13px}
.pdp .shot::after{
  content:'크게 보기';position:absolute;right:12px;bottom:12px;
  background:var(--bg);border:1px solid var(--line);border-radius:9999px;
  padding:6px 16px;font-size:13px;font-weight:700;color:var(--ink-strong);
  pointer-events:none;
}
dialog.zoom{border:0;padding:0;background:transparent;width:100%;height:100%;
  max-width:100vw;max-height:100vh;overflow:hidden}
dialog.zoom::backdrop{background:rgba(0,0,0,.84)}
dialog.zoom .box{width:100%;height:100%;display:grid;place-items:center;padding:24px}
dialog.zoom img{max-width:min(1100px,92vw);max-height:84vh;object-fit:contain;
  background:var(--bg);border-radius:20px}
dialog.zoom .x{position:fixed;top:16px;right:16px;width:48px;height:48px;border-radius:9999px;
  border:0;background:var(--bg);color:var(--ink-strong);font-size:22px;font-weight:700;cursor:pointer;
  display:grid;place-items:center}
dialog.zoom .cap{position:fixed;left:0;right:0;bottom:20px;text-align:center;
  color:#fff;font-size:14px;padding:0 24px}

/* ── ③ 최근 본 상품 ──────────────────────────────────────
   본 적이 있어야 나타나므로 처음에는 감춰 둡니다.
   기록은 손님 브라우저에만 남고 서버로 보내지 않습니다. */
#recent{display:none}
#recent.on{display:block}
#recent .rc{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
#recent .rc a{flex:0 0 168px;scroll-snap-align:start}
#recent .rc .ph{background:var(--bg-soft);border-radius:4px;aspect-ratio:1;
  display:flex;align-items:center;justify-content:center;margin-bottom:10px}
#recent .rc .ph img{width:86%;height:86%;object-fit:contain}
#recent .rc .nm{font-size:14px;line-height:1.33;color:var(--ink-strong);font-weight:700;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#recent .rc .pr{font-size:13px;color:var(--ink-sub);margin-top:4px}
#recent .clr{background:none;border:0;color:var(--ink-sub);font-size:13px;cursor:pointer;text-decoration:underline}

/* ── 모바일 ───────────────────────────────── */
@media (max-width:1200px){
  .kv-eyebrow{font-size:16px}
  .kv-title{font-size:38px;margin:0 0 14px}
  .kv-sub{font-size:16px;margin:0 0 22px}
}

@media (max-width:1024px){
  :root{--pad:16px}
  .quick ul{grid-template-columns:repeat(2,1fr)}
  .hd-top{height:65px}
  .hd-top .inner{height:64px;gap:12px}
  html{scroll-padding-top:124px}
  .hd-search{width:auto;flex:1;padding:7px 12px;margin-left:8px}
  .hd-sns{display:none}
  .pdp{grid-template-columns:1fr;gap:24px}
  .pdp h1{font-size:22px}
  .grid2{grid-template-columns:1fr;gap:16px}
  .grid3,.revs,.vids{gap:16px}
  .vids{grid-template-columns:repeat(2,1fr)}
  .vfind input{height:50px;font-size:16px}
  .hd-logo{font-size:15px;gap:6px}
  .hd-logo .mark{width:36px;height:36px;font-size:8px}
  .hd-logo .wm{height:18px}
  .hd-logo small{font-size:10px}
  #kakaoBtn{right:12px;bottom:198px;padding:11px 16px;font-size:14px}
}

/* ── 좁은 화면에서 머리줄이 무너지지 않게 ─────────────────────
   머리줄은 가로로 늘어선 칸(flex)입니다. 좁아지면 각 칸이 눌리면서
   «전체 카테고리» 가 한 글자씩 세로로 쪼개지고, 검색창이 상호를 덮습니다.
   → 로고와 «전체 카테고리» 는 눌리지 않게 못을 박고, 메뉴만 옆으로 넘깁니다. */
@media (max-width:1024px){
  .hd-logo{flex:none}
  .hd-search{min-width:0}
  .gnb .all{flex:none;white-space:nowrap;padding-right:14px;font-size:14px}
  .gnb nav{padding-left:14px;gap:16px}
}

/* 아주 작은 화면(480px 급)에서는 검색창 자리를 만들기 위해 상호를 감춥니다.
   동그란 마크는 남으므로 어디 사이트인지는 그대로 알 수 있습니다.
   «전체 카테고리» 도 글자를 접고 네모 아이콘만 남깁니다
   (읽어 주는 기계에는 aria-label 로 이름이 그대로 전달됩니다). */
@media (max-width:480px){
  /* 상호 감추기는 아래 560px 블록에서 이미 하고 있습니다 */
  .gnb .all .tx{display:none}
  .gnb .all{padding-right:12px}
  .gnb nav{padding-left:12px;gap:14px;font-size:14px}
}
/* ── 휴대폰·작은 태블릿 (900px 이하) — 배너 칸은 정사각형 1 : 1 ─────
   가로로 아주 긴 컴퓨터용 배너는 좁은 화면에서 쓸 수가 없습니다.
   그래서 칸을 정사각형으로 바꾸고, 휴대폰용 사진(1080 × 1080)으로 갈아 끼웁니다. */
@media (max-width:900px){
  .kv-slide{height:auto;min-height:380px;padding:32px 0}
  /* 좁은 화면에서는 사진 비율이 4 : 3 (1080 × 810) 으로 바뀝니다 */
  .kv-media .kv-fill,.kv-media .kv-roll,.kv-media .kv-ytwrap{aspect-ratio:4/3}
  .kv-slide .inner{flex-direction:column;align-items:flex-start;gap:14px}
  .kv-txt{max-width:100%}
  .kv-art{width:100%;max-width:100%;height:170px;order:-1}
  .kv-eyebrow{font-size:15px;margin-bottom:8px}
  .kv-title{font-size:30px;margin:0 0 12px}
  .kv-sub{font-size:15px;margin:0 0 18px}
  .kv-cta{padding:11px 22px;font-size:15px}
  .kv-shade{background:linear-gradient(180deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,.62) 100%)}
  .kv-roll-dots{right:50%;transform:translateX(50%);bottom:16px}
}

/* ── 실시간 상담 문의 (왼쪽 아래에 조용히 뜨는 접수 알림) ────────
   진짜 접수된 건만 보여 줍니다. 이름·번호는 가운데를 별표로 가립니다.
   접수된 게 하나도 없으면 아예 나오지 않습니다. */
#live{position:fixed;left:20px;bottom:104px;z-index:61;width:252px;background:#fff;
  border-radius:14px;overflow:hidden;border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(0,0,0,.16);
  opacity:0;transform:translateY(12px);transition:opacity .4s,transform .4s;pointer-events:none}
#live.on{opacity:1;transform:none;pointer-events:auto}
#live[hidden]{display:none}
#live .lv-hd{background:var(--brand);color:#fff;display:flex;align-items:center;gap:7px;
  padding:9px 12px;font-size:13px;font-weight:700}
#live .lv-hd .dot{width:7px;height:7px;border-radius:9999px;background:#3DDC84;display:block;
  animation:lvblink 1.6s infinite}
@keyframes lvblink{0%,100%{opacity:1}50%{opacity:.2}}
#live .lv-hd button{margin-left:auto;background:none;border:0;color:#fff;cursor:pointer;
  font-size:13px;line-height:1;padding:2px 0 2px 6px}
#live .lv-bd{display:block;width:100%;text-align:left;background:#fff;border:0;
  padding:11px 12px 12px;cursor:pointer;transition:opacity .3s}
#live .lv-bd.fade{opacity:0}
#live .lv-r{display:flex;gap:8px;font-size:12.5px;line-height:1.9;color:var(--ink)}
#live .lv-r i{font-style:normal;color:var(--ink-sub);width:42px;flex:none}
#live .lv-r b{font-weight:700;letter-spacing:.01em}
#live .lv-ok{display:inline-block;margin-top:8px;background:#E8F7EE;color:#12824A;
  border-radius:7px;font-size:11.5px;font-weight:700;padding:4px 9px}

/* ── 구독문의 신청 창 (이름·연락처에 더해 «언제 통화 가능한지»까지 받습니다) ── */
#askDlg{border:0;border-radius:18px;padding:0;width:min(420px,calc(100vw - 32px));
  color:var(--ink);box-shadow:0 24px 60px rgba(0,0,0,.3)}
#askDlg::backdrop{background:rgba(17,17,17,.45)}
#askDlg .ask-hd{display:flex;align-items:center;padding:20px 22px 6px}
#askDlg .ask-hd b{font-size:18px;font-weight:700}
#askDlg .ask-hd button{margin-left:auto;background:none;border:0;font-size:16px;
  color:var(--ink-sub);cursor:pointer;padding:4px}
#askDlg form{padding:10px 22px 22px;display:flex;flex-direction:column;gap:10px}
#askDlg .ask-tel{background:var(--bg-soft);border-radius:10px;padding:13px 14px;
  font-size:14px;font-weight:700}
#askDlg .ask-tel a{color:var(--brand);font-family:var(--sharp);margin-left:6px}
#askDlg .ask-t{font-size:13px;font-weight:700;margin:4px 0 -4px}
#askDlg input[type=text],#askDlg input[type=tel],#askDlg input[type=date],#askDlg select{
  width:100%;border:1px solid var(--line2);border-radius:10px;padding:13px 14px;
  font-size:15px;background:#fff;color:var(--ink);font-family:inherit}
#askDlg input:focus,#askDlg select:focus{outline:2px solid var(--brand);outline-offset:1px;
  border-color:var(--brand)}
#askDlg .ask-agree{display:flex;align-items:flex-start;gap:8px;font-size:13px;
  color:var(--ink-sub);line-height:1.6;margin-top:2px}
#askDlg .ask-agree a{text-decoration:underline}
#askDlg .ask-msg{margin:0;font-size:13px;color:var(--brand-deep);min-height:17px}
#askDlg .ask-btns{display:flex;gap:10px;margin-top:2px}
#askDlg .ask-btns button{border:0;border-radius:9999px;padding:14px 18px;font-size:15px;
  font-weight:700;cursor:pointer;font-family:inherit}
#askDlg .ask-no{background:var(--bg-soft);color:var(--ink-sub);flex:none;padding:14px 24px}
#askDlg .ask-go{background:var(--brand);color:#fff;flex:1}
#askDlg .ask-go:disabled{opacity:.6;cursor:not-allowed}

/* ── AI 상담창 아래 고정 구역 — 전화상담 단추와 자주 묻는 질문 단추 ── */
#aiFoot{background:#fff;padding:11px 12px 0}
#aiCall{width:100%;border:0;border-radius:9999px;background:var(--brand);color:#fff;
  font-weight:700;font-size:15px;padding:13px;cursor:pointer;font-family:inherit;
  box-shadow:0 4px 12px rgba(20,64,255,.22)}
#aiChips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
#aiChips button{border:1px solid var(--line);background:#fff;border-radius:9999px;
  padding:7px 12px;font-size:12.5px;cursor:pointer;color:var(--brand-deep);font-family:inherit}
#aiChips button:hover{border-color:var(--brand)}
#aiForm{border-top:0;padding-top:10px}

/* ── 목록 화면 위 여백 줄이기 (제목이 화면 위쪽에 바로 붙게) ── */
.sec.tight{padding-top:28px}
.sec.tight .sec-head{margin-bottom:14px}
.sec.tight .lead{margin:0 0 16px}
.sec.tight .vchips{margin-bottom:22px}

@media (max-width:560px){
  .hd-logo>span:last-child{display:none}
  .hd-search input::placeholder{font-size:14px}
  .kv-title{font-size:26px}
  .kv-sub{font-size:14px;margin:0 0 14px}
  .shortcut ul{grid-template-columns:repeat(4,1fr);gap:20px 8px}
  .quick ul{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr);gap:16px}
  .vids{grid-template-columns:1fr}
  .card .nm{font-size:16px}
  .card .m b{font-size:20px}
  .card{border-radius:14px}
  .card .info{padding:12px 12px 14px;gap:8px}
  .card .price{padding:10px 11px;border-radius:10px}
  .card .m{font-size:13.5px}
  .card .best{font-size:13.5px}
  .card .pt{font-size:12px}
  .card .save{font-size:11px;padding:4px 9px}
  .card .meta{font-size:12.5px}
  .card .ribbon{font-size:11px;padding:9px 10px;gap:4px;min-height:32px}
  .card .ribbon.none{min-height:32px}
  .card .ribbon b{font-size:12.5px}
  .card:has(.ribbon) .cmp{top:40px}
  .card:has(.ribbon):has(.rank) .cmp{top:84px}
  .card .oem{width:50px;height:50px;right:7px;bottom:7px}
  .card .ph:has(.oem) .tags{right:65px}
  .card .oem i,.card .oem b{font-size:8px}
  .card .tags{left:7px;right:7px;bottom:7px;gap:4px}
  .card .tags i{font-size:10px;padding:4px 6px}
  .card .swatch{font-size:11.5px}
  .card .swatch i{width:13px;height:13px}
  .card .pbox .pb-t{font-size:10.5px}
  .card .pbox b{font-size:19px}
  .card .pbox s{font-size:12px}
  .card .cacts{padding:0 12px 12px;gap:6px}
  .card .cacts .c-ask,.card .cacts .c-go{height:38px;font-size:12.5px}
  .shortcut .thumb{border-radius:14px}
  .shortcut span{font-size:13px}
  .sec{padding:40px 0}
  .sec-head h2{font-size:22px}
  .gnb .call{display:none}
  .evbar .inner{gap:8px;min-height:40px;padding:8px 14px}
  .evbar .ev-tx{font-size:13px}
  .evbar .ev-day{display:none}
  .evbar .ev-go{padding:5px 11px;font-size:11.5px}
  .cattabs .ct{height:34px;padding:0 13px;font-size:13px}
  .cp{padding-top:18px}
  .topsum{padding:14px 14px 12px;border-radius:12px}
  .topsum .ts-r b{font-size:22px}
  .topsum .ts-r.hi b{font-size:27px}
  #toTop{right:12px;bottom:252px;width:42px;height:42px;font-size:18px}
  body:not(:has(#kakaoBtn)) #toTop{bottom:198px}
  /* 좁은 화면에서 신청바가 다섯 줄로 늘어나 화면을 절반 가까이 덮고 있었습니다.
     → 세 줄로 접습니다.  ① 전화번호  ② 이름·연락처 나란히  ③ 동의 + 신청하기 */
  .sticky{flex-flow:row wrap;align-items:center;gap:8px;border-radius:20px;padding:12px 14px;bottom:12px}
  .sticky dl{width:100%;padding-left:0;justify-content:center;gap:10px}
  .sticky dt{font-size:15px}
  .sticky dd{font-size:18px}
  .sticky input[type=text],.sticky input[type=tel]{flex:1 1 calc(50% - 4px);width:auto;min-width:0}
  .sticky .agree{flex:1 1 auto;font-size:12px;gap:5px;white-space:normal;line-height:1.4}
  .sticky button{flex:0 0 auto;width:auto;padding:11px 22px}
  .sticky .easybox{width:100%;order:-1}
  .sticky .easy{flex:1;justify-content:center;padding:11px 10px}
  .sticky .msg{width:100%;text-align:center}
  /* 신청바(세 줄, 약 160px) 위로 띄웁니다. 겹치면 버튼이 파묻혀 눌리지 않습니다. */
  #aiOpen{right:12px;bottom:172px;height:54px;padding:0 14px}
  #aiOpen svg{flex:0 0 24px;width:24px;height:24px}
  #aiBox{right:8px;left:8px;bottom:172px;width:auto;height:min(64vh,460px)}
  #cmpbar{bottom:172px}
  /* 🔴 휴대폰에서는 접수 알림을 아예 띄우지 않습니다.
     화면이 좁아 어디에 놓아도 상품 한 장을 통째로 덮어 버립니다.
     (넓은 화면에서는 그대로 나옵니다) */
  #live{display:none}
  .sec.tight{padding-top:20px}
  /* 신청바가 세 줄(약 160px)이라 110px 여백으로는 페이지 끝이 덮입니다 */
  footer{padding-bottom:186px}
}

/* 대표 사진 아래 작은 사진 줄 */
.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.thumb{width:66px;height:66px;border:1px solid var(--line2);border-radius:8px;background:#fff;
  padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:11px;
  color:var(--ink-sub);font-family:inherit;white-space:nowrap}
.thumb img{width:100%;height:100%;object-fit:contain}
.thumb.on{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.thumb.more{cursor:default;background:var(--bg-soft);word-break:keep-all;text-align:center;
  line-height:1.3;white-space:normal}

/* 설치 가이드 */
.guide{display:flex;gap:16px;align-items:center;border:1px solid var(--line2);border-radius:12px;
  padding:16px;background:#fff}
.guide .g-ph{width:110px;height:78px;flex:none;background:var(--bg-soft);border-radius:8px;
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.guide .g-ph img{width:100%;height:100%;object-fit:cover}
.guide .g-tx{font-size:14.5px;line-height:1.7;color:var(--ink);word-break:keep-all}
.guide .g-tx i{display:block;font-style:normal;font-size:13px;color:var(--brand-deep);
  font-weight:700;text-decoration:underline;margin-top:6px}
@media(max-width:560px){.guide .g-ph{width:84px;height:64px}.guide{gap:12px;padding:12px}}

/* ══════ 상품 상세 — 구독 옵션 고르기 ══════════════════════════ */
.picker{margin:20px 0 24px}
/* «시뮬레이션» 이라는 것을 손님이 바로 알게 합니다 */
.sim-hd{margin-bottom:10px}
/* 🔴 «>» 를 빼면 아래 설명글 안의 <b> 까지 블록이 되어 문장이 토막납니다 */
.sim-hd>b{display:block;font-size:18px;font-weight:700;color:var(--ink-strong)}
.sim-hd p b{font-weight:700;color:var(--ink)}
.sim-hd p{margin:5px 0 0;font-size:13.5px;color:var(--ink-sub);line-height:1.7;word-break:keep-all}
.sim-warn{margin:0 0 22px;background:#FFF7E6;border:1px solid #FFE0A3;border-radius:10px;
  padding:12px 14px;font-size:12.5px;line-height:1.75;color:#7A5200;word-break:keep-all}
.sim-warn b{font-weight:700}

/* 월 0원 만들기 */
.freebox{border:2px solid var(--brand);border-radius:12px;padding:16px 18px;margin-bottom:18px;
  background:linear-gradient(180deg,#F2F7FF 0%,#fff 100%)}
.free-t{display:block;font-size:16px;font-weight:700;color:var(--ink-strong);margin-bottom:12px}
.free-t em{font-style:normal;color:var(--brand-deep)}
.free-steps{margin:0;padding-left:20px;font-size:14px;line-height:1.9;color:var(--ink);
  word-break:keep-all}
.free-steps b{font-weight:700}
.free-steps b.hi{color:var(--brand-deep);font-size:16px}
.free-r{margin:10px 0 0;font-size:15px;font-weight:700;color:var(--ink)}
.free-r b{font-size:26px;color:var(--brand-deep);letter-spacing:-.02em}
.free-d{margin:10px 0 0;font-size:13.5px;color:var(--ink-sub);line-height:1.7;word-break:keep-all}
.free-d b{color:var(--ink);font-weight:700}
.free-p{margin:12px 0 0;background:#fff;border:1px dashed var(--brand);border-radius:9px;
  padding:12px 13px;font-size:13.5px;line-height:1.8;color:var(--ink);word-break:keep-all}
.free-p b{color:var(--brand-deep);font-weight:700}
.free-go{display:inline-block;margin-top:8px;background:var(--brand);color:#fff;border-radius:9999px;
  padding:8px 16px;font-size:13px;font-weight:700;white-space:nowrap}
.free-w{margin:10px 0 0;font-size:11.5px;color:var(--ink-sub);line-height:1.6;word-break:keep-all}
.free-no{margin:0;font-size:14px;line-height:1.8;color:var(--ink);word-break:keep-all}
.free-no b{font-weight:700}
.free-no b.hi{color:var(--brand-deep);font-size:17px}

/* 합쳐서 견적 (상품 비교 화면) */
.bundle{border:2px solid var(--brand);border-radius:16px;padding:22px;
  background:linear-gradient(180deg,#F2F7FF 0%,#fff 60%)}
.bd-t{display:block;font-size:19px;font-weight:700;color:var(--ink-strong)}
.bd-list{margin:6px 0 16px;font-size:13.5px;color:var(--ink-sub);line-height:1.7;word-break:keep-all}
.bd-sum{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin:0 0 18px;
  background:#fff;border:1px solid var(--line2);border-radius:10px;padding:14px 16px;font-size:14px}
.bd-sum dt{color:var(--ink-sub)}
.bd-sum dd{margin:0;text-align:right;font-weight:700;color:var(--ink)}
.bd-sum dd b{font-size:24px;color:var(--brand-deep);letter-spacing:-.02em}
.bd-free{background:#fff;border:1px solid var(--brand);border-radius:12px;padding:16px 18px}
.bd-free>b{display:block;font-size:16px;font-weight:700;margin-bottom:12px;color:var(--ink-strong)}
.bd-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.bd-acts .btn{padding:13px 22px;font-size:15px}
@media(max-width:560px){
  .bundle{padding:16px}
  .bd-t{font-size:17px}
  .bd-sum dd b{font-size:21px}
  .bd-acts .btn{flex:1 1 100%;justify-content:center}
}

/* 담기 단추 */
.sim-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sim-acts button{border:1px solid var(--brand);background:#fff;color:var(--brand-deep);
  border-radius:9999px;padding:10px 18px;font-family:inherit;font-size:13.5px;font-weight:700;
  cursor:pointer;white-space:nowrap}
.sim-acts button:hover{background:#EAF3FF}
.sim-acts #비우기옵션,.sim-acts #기억지우기{border-color:var(--line2);color:var(--ink-sub);font-weight:400}
.sim-acts button[hidden]{display:none}

/* 담아 둔 조합 나란히 */
.simbox{border:1px solid var(--line2);border-radius:12px;padding:16px;margin-bottom:20px;background:#fff}
.simbox[hidden]{display:none}
.sim-t{display:block;font-size:15px;font-weight:700;margin-bottom:4px}
.sim-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin-top:10px}
.sim-c{position:relative;flex:0 0 208px;border:1px solid var(--line2);border-radius:10px;
  padding:12px 12px 10px;background:var(--bg-soft)}
.sim-c.best{border-color:var(--brand);background:#F4F8FF}
.sim-x{position:absolute;right:6px;top:6px;border:0;background:none;cursor:pointer;
  font-size:13px;color:var(--ink-sub);padding:2px 4px;line-height:1}
.sim-b{display:inline-block;font-style:normal;background:var(--brand);color:#fff;font-size:10.5px;
  font-weight:700;border-radius:9999px;padding:2px 8px;margin-bottom:6px}
.sim-n{display:block;font-size:12.5px;font-weight:700;line-height:1.5;color:var(--ink);
  padding-right:18px;margin-bottom:8px;word-break:keep-all}
.sim-c dl{display:grid;grid-template-columns:1fr auto;gap:4px 8px;margin:0;font-size:12px}
.sim-c dt{color:var(--ink-sub);white-space:nowrap}
.sim-c dd{margin:0;text-align:right;font-weight:700;color:var(--ink);white-space:nowrap}
.sim-c dd.hi{color:var(--brand-deep)}
/* 구매방식 — 일시불 / 구독 */
.buytab{display:flex;gap:0;margin-bottom:28px;border-bottom:1px solid var(--line2)}
.buytab .bt{flex:1;background:var(--bg-soft);border:1px solid var(--line2);border-bottom:0;
  border-radius:10px 10px 0 0;padding:13px 12px;font-family:inherit;font-size:14px;
  color:var(--ink-sub);cursor:pointer;display:flex;flex-direction:column;gap:5px;align-items:center;
  margin-bottom:-1px}
.buytab .bt b{font-size:16px;font-weight:700;color:var(--ink)}
.buytab .bt.on{background:#fff;border-color:var(--line2);color:var(--ink-strong);font-weight:700}

.opt-row{margin-bottom:22px;transition:opacity .2s}
.opt-t{display:block;font-size:15px;font-weight:700;margin-bottom:6px}
.opt-d{margin:0 0 10px;font-size:13px;color:var(--ink-sub);line-height:1.6}
.opt-btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
.opt{border:1px solid var(--line2);background:#fff;border-radius:8px;padding:13px 10px;
  font-family:inherit;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:3px;white-space:nowrap;
  transition:border-color .15s,color .15s}
.opt small{font-size:11px;font-weight:400;color:var(--ink-sub)}
/* ★추천 — 등록된 요금표에서 월 부담이 가장 낮은 조합에만 붙습니다 */
.opt .rec{font-style:normal;font-size:10.5px;font-weight:800;line-height:1;
  background:var(--brand);color:#fff;border-radius:9999px;padding:4px 7px;margin-top:1px}
.opt.on .rec{background:var(--brand-deep)}
.opt:hover:not(:disabled){border-color:var(--brand)}
.opt.on{border-color:var(--brand);color:var(--brand-deep);box-shadow:inset 0 0 0 1px var(--brand)}
.opt:disabled{opacity:.38;cursor:not-allowed}
.opt-note{margin:8px 0 0;font-size:12px;color:var(--ink-sub);line-height:1.7}
.opt-note a{text-decoration:underline}

/* 색상 동그라미 */
.colors{display:flex;gap:10px;flex-wrap:wrap}
.cdot{width:34px;height:34px;border-radius:9999px;background:var(--c);cursor:pointer;
  border:1px solid var(--line2);padding:0;box-shadow:inset 0 0 0 2px #fff}
.cdot.on{outline:2px solid var(--brand);outline-offset:2px}

/* 사은품 고르기 */
.gifts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.gift{border:1px solid var(--line2);background:#fff;border-radius:10px;padding:13px 12px;
  font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;
  text-align:center;transition:border-color .15s}
.gift img{width:56px;height:56px;object-fit:contain}
.gift .g-n{font-size:14px;font-weight:700;color:var(--ink);word-break:keep-all}
.gift small{font-size:12px;color:var(--ink-sub)}
.gift .g-s{font-style:normal;font-size:11px;color:var(--point)}
.gift:hover{border-color:var(--brand)}
.gift.on{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
/* «기본 제공» 사은품 — 고르는 것이 아니라 항상 들어가는 것이라 눌리지 않습니다 */
.gifts.base .gift{cursor:default;background:var(--bg-soft)}
.gift .g-b{font-style:normal;font-size:11px;font-weight:700;color:#fff;background:var(--brand);
  border-radius:9999px;padding:3px 9px;line-height:1.3}

/* 한 달 카드 사용액 — 이 금액에 따라 할인이 달라집니다 */
.opt-row.spend{background:var(--bg-soft);border-radius:12px;padding:16px;margin-top:-6px}
.spend-out{margin-top:10px;background:#fff;border:1px solid var(--line2);border-radius:8px;
  padding:11px 13px;font-size:13.5px;line-height:1.7;color:var(--ink);word-break:keep-all}
.spend-out b{font-weight:700}
.spend-out b.hi{color:var(--brand-deep);font-size:16px}
.spend-out .warn{font-style:normal;color:#B4460A;font-size:12.5px}

/* 선납금 가로바 — 0% 부터 정한 최대치까지 끌어서 고릅니다 */
.opt-row.pre .pre-bar{display:flex;align-items:center;gap:14px;margin:14px 0 4px}
.opt-row.pre input[type=range]{flex:1 1 auto;min-width:0;height:26px;margin:0;
  -webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}
.opt-row.pre input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;
  background:var(--line2)}
.opt-row.pre input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:var(--line2)}
.opt-row.pre input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;
  width:24px;height:24px;margin-top:-9px;border-radius:50%;background:var(--brand);
  border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.28)}
.opt-row.pre input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;
  background:var(--brand);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.28)}
.opt-row.pre input[type=range]:focus-visible{outline:2px solid var(--brand);outline-offset:4px;
  border-radius:99px}
/* 선납금을 뺀 «남은 잔액» 과 그 잔액을 개월로 나눈 금액 */
.pre-dl{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin:0;
  font-size:13.5px;line-height:1.6}
.pre-dl dt{color:var(--ink-sub);word-break:keep-all}
.pre-dl dt small{display:block;font-size:11.5px;color:var(--ink-sub);opacity:.85}
.pre-dl dt b{color:var(--brand-deep);font-weight:700}
.pre-dl dd{margin:0;text-align:right;font-weight:700;color:var(--ink);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.pre-dl dt.hi,.pre-dl dd.hi{color:var(--brand-deep);border-top:1px solid var(--line2);
  padding-top:9px;margin-top:2px}
.pre-dl dd.hi{font-size:15px}
.pre-dl dd.big{font-size:18px;color:var(--brand-deep)}

.pre-v{flex:none;min-width:64px;text-align:center;font-size:17px;font-weight:700;
  color:var(--brand-deep);background:#fff;border:1px solid var(--line2);border-radius:8px;
  padding:6px 8px;font-variant-numeric:tabular-nums}

#카드고르기{width:100%;border:1px solid var(--line2);border-radius:8px;padding:13px 14px;
  font-family:inherit;font-size:14px;background:#fff;color:var(--ink)}

/* ── 제품명 바로 아래 «큰 금액» 상자 ──
   손님이 제일 먼저 보는 숫자입니다. 아래 요약과 같은 값이 들어갑니다. */
.topsum{border:1px solid #DDE9FB;border-radius:14px;padding:16px 18px 14px;margin-bottom:24px;
  background:linear-gradient(180deg,#F8FBFF 0%,#EDF4FF 100%)}
.topsum .ts-r{display:flex;align-items:baseline;gap:8px;font-size:14px;color:var(--ink-sub)}
.topsum .ts-r span{flex:1;word-break:keep-all}
.topsum .ts-r b{font-size:26px;letter-spacing:-.03em;color:var(--ink-strong)}
.topsum .ts-r i{font-style:normal;font-size:14px;font-weight:700;color:var(--ink-strong)}
.topsum .ts-r.hi{margin-top:8px;padding-top:10px;border-top:1px dashed #C9DDF8}
.topsum .ts-r.hi b{font-size:32px;color:var(--brand-deep)}
.topsum .ts-r.hi i{color:var(--brand-deep);font-size:16px}
.topsum .ts-n{margin:10px 0 0;font-size:12px;color:var(--ink-sub);line-height:1.6;word-break:keep-all}

/* 금액 요약 */
.sumbox{border:1px solid var(--line2);border-radius:12px;padding:18px 18px 14px;
  background:var(--bg-soft);margin-bottom:20px;transition:opacity .2s}
.sum-hd{display:flex;align-items:baseline;gap:8px;font-size:14px;color:var(--ink-sub)}
.sum-hd span{flex:1}
.sum-hd b{font-size:30px;letter-spacing:-.02em;color:var(--ink-strong)}
.sum-hd i{font-style:normal;font-size:15px;font-weight:700;color:var(--ink-strong)}
.sum-hd.sub{margin-top:6px;padding-top:10px;border-top:1px dashed var(--line2)}
.sum-hd.sub b,.sum-hd.sub i{color:var(--brand-deep)}
.sum-hd.sub b{font-size:24px}
.sum-de{margin-top:12px}
.sum-de summary{font-size:13px;color:var(--ink-sub);cursor:pointer}
.sum-dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:12px 0 0;font-size:13.5px}
.sum-dl dt{color:var(--ink-sub)}
.sum-dl dd{margin:0;text-align:right;font-weight:700;color:var(--ink)}
.sum-note{margin:10px 0 0;font-size:12px;color:var(--ink-sub);line-height:1.7;word-break:keep-all}

/* ══════ 일시불 구매 VS AI 구독 ══════════════════════════════ */
.vsbox{border:1px solid var(--line2);border-radius:16px;overflow:hidden;background:#fff}
.vs-hd{background:var(--brand-deep);color:#fff;padding:22px 22px 20px;text-align:center}
.vs-t{display:block;font-size:16px;font-weight:700;margin-bottom:12px}
.vs-t b{opacity:.7;font-weight:400;margin:0 4px}
.vs-chip{display:inline-block;background:rgba(255,255,255,.2);border-radius:9999px;
  padding:4px 14px;font-size:13px;font-weight:700;margin-bottom:8px}
.vs-big{display:block;font-size:34px;letter-spacing:-.02em}
.vsbox .swipe-tip{margin:14px 22px 0}
.vstbl{width:100%;border-collapse:collapse;font-size:14px;min-width:520px;background:#fff}
.vstbl th,.vstbl td{border:1px solid var(--line);padding:14px 12px;text-align:center;
  vertical-align:middle;word-break:keep-all}
.vstbl thead th{background:var(--bg-soft);font-weight:700;font-size:14px}
.vstbl thead th.hi{background:var(--brand);color:#fff}
.vstbl tbody th{background:var(--bg-soft);text-align:left;font-weight:700;white-space:nowrap;
  position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--line)}
.vstbl td.hi{background:#F4F8FF}
.vstbl small{display:block;font-size:11.5px;font-weight:400;color:var(--ink-sub);margin-top:3px;
  line-height:1.5}
.vstbl .none{font-style:normal;color:var(--ink-sub)}
.vstbl .minus{color:var(--brand-deep);font-weight:700}
.vstbl tr.fin th{background:var(--ink-strong);color:#fff;box-shadow:1px 0 0 var(--ink-strong)}
.vstbl tr.fin td{background:var(--bg-soft)}
.vstbl tr.fin td.hi{background:#E6F0FF}
.vstbl tr.fin b{font-size:22px;letter-spacing:-.02em}
.vstbl tr.fin td.hi b{color:var(--brand-deep)}
.vs-note{margin:0;padding:14px 22px 18px;font-size:12px;color:var(--ink-sub);line-height:1.7;
  word-break:keep-all}
@media(max-width:560px){
  .vs-big{font-size:27px}
  .vs-hd{padding:18px 16px 16px}
  .vs-note{padding:12px 16px 16px}
  .vsbox .swipe-tip{margin:12px 16px 0}
  .sum-hd b{font-size:26px}
  .opt-btns{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}
}

/* ── 제휴카드 화면 — 카드를 고르면 그 카드의 혜택표가 그대로 펼쳐집니다 ── */
.ctabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.ctab{border:1px solid var(--line2);background:#fff;border-radius:9999px;padding:11px 18px;
  font-size:15px;font-weight:700;color:var(--ink-sub);cursor:pointer;font-family:inherit;
  display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.ctab:hover{border-color:var(--brand)}
.ctab.on{background:var(--ink-strong);border-color:var(--ink-strong);color:#fff}
.ctab small{font-size:12px;font-weight:400;opacity:.75}
.cpanel{display:none;grid-template-columns:360px 1fr;gap:36px;align-items:start;
  background:var(--bg-soft);border-radius:20px;padding:32px}
.cpanel.on{display:grid}
.cp-art{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.cp-art img{width:100%;max-width:320px;border-radius:14px;display:block;
  box-shadow:0 12px 30px rgba(0,0,0,.18)}
.cardface{width:100%;max-width:320px;aspect-ratio:1.585;border-radius:14px;padding:22px;
  background:linear-gradient(135deg,#41527A 0%,#1B2436 100%);color:#fff;
  display:flex;flex-direction:column;text-align:left;box-shadow:0 12px 30px rgba(0,0,0,.22)}
.cardface b{font-size:17px;font-weight:700;letter-spacing:-.01em;display:block}
.cardface span{font-size:13px;opacity:.8;margin-top:5px;display:block}
.cardface i{width:38px;height:28px;border-radius:6px;margin-top:auto;display:block;
  background:linear-gradient(135deg,#EBCE84,#B08C33)}
.cp-cap{font-size:12.5px;color:var(--ink-sub);margin:0}
.cp-info{background:#fff;border-radius:16px;padding:28px}
.cp-info h2{font-size:22px;margin:0 0 22px;font-weight:700}
.cp-k{font-size:15px;font-weight:700;margin:0 0 8px}
.cp-v{margin:0 0 22px;font-size:15px;color:var(--ink-sub)}
.cp-v b{font-family:var(--sharp);font-size:21px;color:var(--ink-strong);letter-spacing:-.02em}
.cp-tbl{width:100%;border-collapse:collapse;font-size:15px;margin:0 0 20px}
.cp-tbl th,.cp-tbl td{border:1px solid var(--line);padding:12px 10px;text-align:center}
.cp-tbl th{background:var(--bg-soft);font-weight:700;font-size:14px}
.cp-tbl td b{color:var(--brand-deep);font-weight:700;font-size:16px}
.cp-note{margin:0 0 22px;padding-left:18px;color:var(--ink-sub);font-size:13.5px;line-height:1.9}
.cp-go{border:0;border-radius:9999px;background:var(--brand);color:#fff;font-weight:700;
  font-size:15px;padding:13px 26px;cursor:pointer;font-family:inherit}
@media(max-width:900px){
  .cpanel{grid-template-columns:1fr;gap:22px;padding:20px}
  .cp-info{padding:20px}
  .cp-tbl{font-size:14px}
  .cp-tbl th,.cp-tbl td{padding:10px 6px}
  .cp-art img,.cardface{max-width:280px}
}

/* ── 카드 4장을 나란히 놓고 한눈에 견주기 ──────────────────
   손님이 제일 먼저 알고 싶은 것은 «어느 카드가 제일 많이 깎이나» 입니다.
   그래서 카드사·최대 할인액·72개월 총액을 한 화면에 늘어놓고,
   막대 길이로 차이가 눈에 바로 들어오게 했습니다. */
.cwall{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 16px;align-items:stretch}
.cw{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:20px 18px 18px;display:flex;flex-direction:column;
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .25s}
.cw:hover{transform:translateY(-8px);box-shadow:0 22px 46px rgba(0,0,0,.13);border-color:var(--brand)}
.cw.pick{border-color:var(--brand-deep);box-shadow:0 0 0 2px rgba(0,107,234,.16)}
/* 맞대보기에서 뺀 카드는 흐리게 — 지우지 않고 표시만 흐려집니다 */
.cw.off{opacity:.45}
.cw.off:hover{opacity:1}
.cw-crown{position:absolute;top:-12px;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:linear-gradient(135deg,#F5A623,#E0820A);color:#fff;font-size:12px;font-weight:700;
  padding:5px 14px;border-radius:9999px;box-shadow:0 4px 12px rgba(224,130,10,.38)}

/* 카드 그림 — 마우스를 올리면 표면에 빛이 한 번 지나갑니다 */
.cw-face{aspect-ratio:1.585;border-radius:12px;padding:15px;color:#fff;display:flex;
  flex-direction:column;position:relative;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.24)}
.cw-face .co{font-size:13px;opacity:.88;font-weight:700;letter-spacing:-.01em}
.cw-face .ic{width:30px;height:22px;border-radius:4px;margin-top:auto;
  background:linear-gradient(135deg,#EBCE84,#B08C33)}
.cw-face .nm{font-size:14.5px;font-weight:700;margin-top:9px;line-height:1.35;letter-spacing:-.01em}
.cw-face::after{content:'';position:absolute;inset:-40%;pointer-events:none;
  background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.30) 48%,transparent 58%);
  transform:translateX(-100%);transition:transform 1s ease}
.cw:hover .cw-face::after{transform:translateX(100%)}

.cw-lab{font-size:12.5px;color:var(--ink-sub);margin:16px 0 0}
.cw-big{font-family:var(--sharp);font-size:30px;font-weight:700;color:var(--brand-deep);
  letter-spacing:-.03em;line-height:1.15;margin:2px 0 0}
.cw-big small{font-size:15px;font-weight:700;margin-left:1px}
.cw-bg{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 0;min-height:24px}
.cw-bg span{font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:9999px;
  background:#EAF3FF;color:var(--brand-deep);white-space:nowrap}
/* 배지가 한 줄인 카드와 두 줄인 카드가 섞여도 아래 항목들의 높이가 어긋나지 않게,
   여기서부터 아래는 카드 바닥에 맞춰 정렬합니다. */
.cw-dl{margin:14px 0 0;margin-top:auto;padding:14px 0 0;border-top:1px solid var(--line);
  display:grid;grid-template-columns:auto 1fr;gap:7px 10px;font-size:13.5px}
.cw-dl dt{color:var(--ink-sub)}
.cw-dl dd{margin:0;text-align:right;font-weight:700}
.cw-bar{height:9px;border-radius:9999px;background:var(--bg-soft);overflow:hidden;margin:16px 0 7px}
.cw-bar i{display:block;height:100%;width:0;border-radius:9999px;
  background:linear-gradient(90deg,var(--brand),var(--brand-deep));
  transition:width 1.2s cubic-bezier(.2,.8,.2,1)}
.cw-sum{font-size:12.5px;color:var(--ink-sub);margin:0 0 16px;line-height:1.6}
.cw-sum b{font-family:var(--sharp);font-size:17px;color:var(--ink-strong);letter-spacing:-.02em}
.cw-btn{display:flex;gap:8px}
.cw-btn button{flex:1;border-radius:9999px;font-family:inherit;font-weight:700;font-size:13.5px;
  padding:11px 8px;cursor:pointer;border:1px solid var(--line2);background:#fff;color:var(--ink)}
.cw-btn button:hover{border-color:var(--brand);color:var(--brand-deep)}
.cw-btn .go{background:var(--brand);border-color:var(--brand);color:#fff}
.cw-btn .go:hover{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}
/* 표에 «담겨 있음» 상태 — 눌러서 뺄 수 있다는 뜻이라 조용한 모양으로 둡니다 */
.cw-btn .on{background:#EAF3FF;border-color:#BBD8FF;color:var(--brand-deep)}

/* 맞대보기 표 — 항목마다 제일 나은 칸에 색을 칠합니다 */
/* 🔴 칸 안에서 글자가 줄바꿈되면 «삼성 구독 제휴카 / 드», «3,600,000 / 원» 처럼
   쪼개져서 읽을 수가 없습니다. 줄바꿈을 막고 좁은 화면에서는 표를 옆으로 밀어 봅니다. */
.cvs{width:100%;border-collapse:collapse;font-size:15px;background:#fff;min-width:560px}
.cvs th,.cvs td{border:1px solid var(--line);padding:14px 12px;text-align:center;white-space:nowrap}
.cvs thead th{background:var(--ink-strong);color:#fff;font-size:14.5px;font-weight:700}
.cvs thead th small{display:block;font-size:12px;font-weight:400;opacity:.75;margin-top:3px;white-space:nowrap}
.cvs tbody th{background:var(--bg-soft);text-align:left;font-size:14px;font-weight:700;white-space:nowrap}
/* 표를 옆으로 밀어도 «최대 월 할인» 같은 항목 이름은 왼쪽에 붙어 있게 합니다.
   (테두리를 합쳐 그리는 표라 왼쪽 열의 선이 사라지므로 그림자로 선을 대신 긋습니다) */
.cvs th:first-child{position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--line)}
.cvs td b{font-family:var(--sharp);font-size:18px;letter-spacing:-.02em}
.cvs td.win{background:#EAF3FF}
.cvs td.win b{color:var(--brand-deep)}
.cvs .fin{font-size:12px;color:var(--brand-deep);font-weight:700;display:block;margin-top:2px}
/* 표가 화면보다 넓어지는 좁은 화면에서만 «옆으로 미세요» 를 알립니다 */
.swipe-tip{display:none;font-size:13px;color:var(--ink-sub);margin:0 0 10px}
@media(max-width:900px){.swipe-tip{display:block}}

/* 화면에 들어올 때 살짝 떠오르기.
   🔴 숨기는 것은 .hid 가 붙었을 때뿐입니다. .hid 는 자바스크립트가 붙입니다.
      → 자바스크립트가 꺼져 있어도 내용이 그대로 다 보입니다. */
.rise.hid{opacity:0;transform:translateY(24px)}
.rise.in{opacity:1;transform:none;
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1)}

@media(max-width:1100px){.cwall{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .cwall{grid-template-columns:1fr;gap:16px}
  .cw-big{font-size:27px}
  /* 한 줄에 한 장씩 놓이면 카드 그림이 화면 폭만큼 커져서 한 장 보는 데도
     스크롤이 한참 필요합니다. 그림만 줄이고 숫자는 그대로 둡니다. */
  .cw-face{max-width:250px;margin:0 auto;width:100%}
}
/* 화면 움직임을 줄여 달라고 설정한 분께는 애니메이션을 끕니다 */
@media(prefers-reduced-motion:reduce){
  .rise.hid{opacity:1;transform:none}
  .cw,.cw-bar i,.cw-face::after{transition:none}
}

/* ── 제품군 «더 알아보기» 카드줄 ───────────────
   삼성닷컴의 «냉장고 더 알아보기» 와 같은 자리입니다. 좁은 화면에서는 옆으로 밀어 봅니다. */
.gd-h{font-size:32px;font-weight:700;letter-spacing:-.03em;margin:0 0 28px}
.gdwrap{position:relative}
.gdrow{list-style:none;margin:0;padding:0;display:flex;gap:16px;overflow-x:auto;
  scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none}
.gdrow::-webkit-scrollbar{display:none}
.gdcard{flex:0 0 250px;scroll-snap-align:start}
.gdcard a{display:block;height:100%;background:transparent;text-decoration:none;color:inherit}
.gd-th{aspect-ratio:1/1;background:var(--bg-soft);border-radius:8px;display:flex;align-items:center;
  justify-content:center;overflow:hidden;transition:opacity .2s}
.gdcard a:hover .gd-th{opacity:.86}
.gd-th img{width:100%;height:100%;object-fit:cover}
.gd-th i{font-style:normal;font-family:var(--sharp);font-size:30px;font-weight:800;
  color:var(--brand-deep);letter-spacing:-.02em}
.gdcard b{display:block;padding:18px 0 0;font-size:17px;letter-spacing:-.02em;line-height:1.4}
.gd-nt{display:block;padding:10px 0 0;font-size:13.5px;line-height:1.65;color:var(--ink-sub)}
/* 아래 진행 막대와 좌우 화살표 — 삼성닷컴 카드줄과 같은 움직임입니다 */
.gd-nav{position:relative;margin-top:36px;display:flex;align-items:center;
  justify-content:center;min-height:40px}
.gd-bar{display:block;width:min(440px,58%);height:2px;background:var(--line);position:relative;overflow:hidden}
.gd-bar i{position:absolute;top:0;height:2px;background:var(--ink-strong);transition:left .2s,width .2s}
.gd-ar{position:absolute;top:0;width:40px;height:40px;border-radius:9999px;border:1px solid var(--line);
  background:#fff;color:var(--ink);font-size:15px;cursor:pointer;line-height:1}
.gd-ar[data-go="-1"]{right:52px}
.gd-ar[data-go="1"]{right:0}
.gd-ar:disabled{opacity:.3;cursor:default}
.gd-ar:not(:disabled):hover{background:var(--bg-soft)}

/* ── 자주 묻는 질문 (펼쳐 보는 칸) ─────────── */
.qa{border-bottom:1px solid var(--line);padding:18px 0}
.qa summary{font-weight:700;cursor:pointer;font-size:17px;letter-spacing:-.02em;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:'+';float:right;color:var(--ink-sub);font-weight:400;margin-left:12px}
.qa[open] summary::after{content:'−'}
.qa>div{padding-top:12px;color:var(--ink-sub);line-height:1.85;white-space:pre-line}

/* ── 자주 묻는 질문 «큰 칸» — 삼성닷컴 품목 화면과 같은 모양 ─────────── */
.qasec{background:#fff}
.qa-h{font-size:36px;font-weight:700;letter-spacing:-.03em;margin:0 0 28px}
.qalist{display:flex;flex-direction:column;gap:2px}
.qa2{background:#f5f5f5}
.qa2 summary{display:flex;align-items:center;gap:16px;padding:22px 28px;cursor:pointer;
  list-style:none;font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.5}
.qa2 summary::-webkit-details-marker{display:none}
.qa2 summary span{flex:1;min-width:0}
.qa2 summary i{flex:0 0 16px;width:16px;height:16px;position:relative}
.qa2 summary i::before,.qa2 summary i::after{content:'';position:absolute;background:var(--ink)}
.qa2 summary i::before{left:0;top:7px;width:16px;height:1.5px}
.qa2 summary i::after{top:0;left:7px;width:1.5px;height:16px}
.qa2[open] summary i::after{display:none}
.qa2>div{padding:0 28px 30px;color:var(--ink-sub);font-size:14.5px;line-height:1.9;white-space:pre-line}
.qa-ft{margin:28px 0 0;padding-left:20px;font-size:12.5px;line-height:1.8;
  color:var(--ink-sub);white-space:pre-line}
.qa-more{margin:24px 0 0;padding-left:20px;font-size:13.5px}
.qa-more a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* ── 안내 글 한 장의 본문 ─────────── */
.gdbody{line-height:1.9;color:var(--ink);font-size:16px}
.gdbody h2{font-size:21px;margin:34px 0 12px}
.gdbody h3{font-size:18px;margin:26px 0 10px}
.gdbody ul,.gdbody ol{padding-left:20px;margin:12px 0}
.gdbody li{margin:6px 0;list-style:disc}
.gdbody img{max-width:100%;height:auto;border-radius:12px}
.gdbody table{width:100%;border-collapse:collapse;font-size:15px;margin:16px 0}
.gdbody th,.gdbody td{border:1px solid var(--line);padding:10px 12px;text-align:left}

/* ── 삼성닷컴에서 받아온 글 ───────────────
   남의 사이트 구조를 그대로 옮겨 온 자리라 «화면 밖으로 안 넘치게» 만 잡습니다. */
.smsrc{background:#FFF7E6;border:1px solid #F2D69B;border-radius:12px;padding:14px 16px;
  font-size:14px;line-height:1.75;color:var(--ink);margin:0 0 28px}
.smblk{border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:24px;background:#fff}
.smblk>h2{font-size:20px;margin:0 0 16px;letter-spacing:-.02em}
.smfrom{margin:18px 0 0;font-size:12px;color:var(--ink-sub);word-break:break-all}
.smbody{font-size:15px;line-height:1.8;color:var(--ink);overflow-x:auto}
.smbody img{max-width:100%;height:auto}
.smbody div,.smbody p,.smbody span{max-width:100%}
.smbody table{border-collapse:collapse;margin:14px 0;min-width:520px}
.smbody th,.smbody td{border:1px solid var(--line);padding:9px 12px;text-align:center;
  vertical-align:middle}
.smbody th{background:var(--bg-soft);font-weight:700}
.smbody ul,.smbody ol{padding-left:18px;margin:10px 0}
.smbody li{margin:4px 0;list-style:disc}
.smbody h2{font-size:19px;margin:26px 0 10px}
.smbody h3,.smbody h4,.smbody h5{font-size:16px;margin:20px 0 8px;font-weight:700}
.smbody a{color:var(--brand-deep);text-decoration:underline}
@media(max-width:560px){
  .gdcard{flex:0 0 200px}
  .gd-h{font-size:23px;margin-bottom:20px}
  .gdcard b{font-size:15.5px;padding-top:14px}
  .gd-nav{margin-top:24px;justify-content:flex-start;min-height:34px}
  .gd-bar{width:100%;margin-right:80px}
  .gd-ar{width:34px;height:34px;font-size:13px}
  .gd-ar[data-go="-1"]{right:40px}
  .qa-h{font-size:24px;margin-bottom:18px}
  .qa2 summary{padding:18px 18px;font-size:15.5px;gap:12px}
  .qa2>div{padding:0 18px 22px;font-size:14px}
  .qa-ft,.qa-more{padding-left:0}
  .smblk{padding:18px 14px}
}

/* ── 메뉴 한 칸 (글자) ───────────────────────────────────────
   칸을 메뉴줄 높이(56px)만큼 꽉 채워 둡니다. 그래야 글자 아래쪽 끝과
   펼침칸 위쪽 끝이 딱 붙어서, 마우스가 내려갈 때 «빈 틈» 을 지나지 않습니다. */
.gnb .mn-t{align-self:stretch;display:flex;align-items:center;flex:none}
.gnb .mn-t>a{display:flex;align-items:center;gap:6px;height:100%;padding:0;white-space:nowrap}
.gnb .mn-t>a:hover{color:var(--brand-deep)}
.gnb .mn-t>a.on{color:var(--brand)}

/* 글자 옆 작은 딱지 (예: NEW) */
.gnb .mn-bd{display:inline-block;padding:1px 6px;border-radius:9999px;background:var(--danger);
  color:#fff;font-size:10px;font-weight:800;line-height:1.7;letter-spacing:.02em}

/* ── 오른쪽 끝에 서는 메뉴 ─────────────────────────────────── */
.gnb .mn-right{margin-left:auto;display:flex;align-items:stretch;gap:18px;padding-left:20px;
  font-size:15px;font-weight:700;min-width:0}

/* ── 펼침칸 ──────────────────────────────────────────────────
   화면 가로 전체를 덮는 흰 판입니다. 안쪽 글만 본문 폭(--w)에 맞춰 세웁니다.
   .gnb 가 자리기준(position:relative)이라 left/right 0 이 화면 전체가 됩니다. */
.gnb .mn-pop{position:absolute;left:0;right:0;top:100%;z-index:40;
  background:var(--bg);border-top:1px solid var(--line);
  box-shadow:0 16px 32px rgba(0,0,0,.10);
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}

/* 펼쳐진 상태 — 아래 «짝짓기» 규칙과 이 두 가지가 함께 씁니다 */
.gnb .mn-pop.mn-open,
.gnb .mn-pop:hover,
.gnb .mn-pop:focus-within{opacity:1;visibility:visible;transform:none;
  transition:opacity .16s ease,transform .16s ease,visibility 0s}

/* ── 펼침칸 짝짓기 ───────────────────────────────────────────
   «mn-k3 메뉴 글자에 마우스가 올라갔거나 키보드가 닿았으면, mn-k3 펼침칸을 연다»
   자바스크립트 없이 열려야 해서(검색엔진·키보드 이용자) 이렇게 열여섯 줄을 적어 둡니다.
   메뉴를 열여섯 개보다 많이 등록하면 열일곱 번째부터는 그냥 링크로만 동작합니다. */
.gnb .inner:has(.mn-t.mn-k1:is(:hover,:focus-within)) .mn-pop.mn-k1,
.gnb .inner:has(.mn-t.mn-k2:is(:hover,:focus-within)) .mn-pop.mn-k2,
.gnb .inner:has(.mn-t.mn-k3:is(:hover,:focus-within)) .mn-pop.mn-k3,
.gnb .inner:has(.mn-t.mn-k4:is(:hover,:focus-within)) .mn-pop.mn-k4,
.gnb .inner:has(.mn-t.mn-k5:is(:hover,:focus-within)) .mn-pop.mn-k5,
.gnb .inner:has(.mn-t.mn-k6:is(:hover,:focus-within)) .mn-pop.mn-k6,
.gnb .inner:has(.mn-t.mn-k7:is(:hover,:focus-within)) .mn-pop.mn-k7,
.gnb .inner:has(.mn-t.mn-k8:is(:hover,:focus-within)) .mn-pop.mn-k8,
.gnb .inner:has(.mn-t.mn-k9:is(:hover,:focus-within)) .mn-pop.mn-k9,
.gnb .inner:has(.mn-t.mn-k10:is(:hover,:focus-within)) .mn-pop.mn-k10,
.gnb .inner:has(.mn-t.mn-k11:is(:hover,:focus-within)) .mn-pop.mn-k11,
.gnb .inner:has(.mn-t.mn-k12:is(:hover,:focus-within)) .mn-pop.mn-k12,
.gnb .inner:has(.mn-t.mn-k13:is(:hover,:focus-within)) .mn-pop.mn-k13,
.gnb .inner:has(.mn-t.mn-k14:is(:hover,:focus-within)) .mn-pop.mn-k14,
.gnb .inner:has(.mn-t.mn-k15:is(:hover,:focus-within)) .mn-pop.mn-k15,
.gnb .inner:has(.mn-t.mn-k16:is(:hover,:focus-within)) .mn-pop.mn-k16{
  opacity:1;visibility:visible;transform:none;
  transition:opacity .16s ease,transform .16s ease,visibility 0s}

/* ── 펼침칸 안쪽 배치 ─────────────────────────────────────────
   왼쪽에 정사각형 그림칸 격자, 오른쪽에 세로 구분선과 «더 알아보기» 목록 */
.gnb .mn-pin{max-width:var(--w);margin:0 auto;padding:26px var(--pad) 30px;
  display:flex;gap:32px;align-items:flex-start}

.gnb .mn-tiles{flex:1 1 auto;min-width:0;list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:18px 12px}
.gnb .mn-tiles li{min-width:0}
.gnb .mn-tile{display:block;text-align:center}
.gnb .mn-th{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;
  border-radius:14px;background:var(--bg-soft);overflow:hidden;color:var(--ink-sub);
  transition:background .15s,color .15s}
.gnb .mn-th img{width:100%;height:100%;object-fit:contain;padding:12%}
.gnb .mn-th .ic{width:38px;height:38px}
.gnb .mn-tile b{display:block;margin-top:9px;font-size:13.5px;font-weight:700;
  letter-spacing:-.02em;line-height:1.35;color:var(--ink-strong);white-space:normal}
.gnb .mn-tile .mn-nt{display:block;margin-top:3px;font-size:11.5px;line-height:1.45;
  color:var(--ink-sub);font-weight:400;white-space:normal}
.gnb .mn-tile:hover .mn-th{background:#EAF3FF;color:var(--brand-deep)}
.gnb .mn-tile:hover b{color:var(--brand-deep)}

.gnb .mn-side{flex:0 0 218px;align-self:stretch;border-left:1px solid var(--line);
  padding-left:28px;min-width:0}
.gnb .mn-side h3{margin:0 0 10px;font-size:14px;font-weight:800;letter-spacing:-.02em;
  color:var(--ink-strong)}
.gnb .mn-side ul{list-style:none;margin:0;padding:0}
.gnb .mn-side a{display:block;padding:7px 0;font-size:13.5px;font-weight:400;
  line-height:1.5;color:var(--ink-sub);white-space:normal}
.gnb .mn-side a:hover{color:var(--brand-deep);text-decoration:underline}
.gnb .mn-side a .mn-ar{color:var(--ink-mute)}

/* 그림칸이 하나도 없는 메뉴(링크 + 더 알아보기만)에서는 세로선을 지우고 왼쪽으로 붙입니다 */
.gnb .mn-pop.mn-only .mn-pin{padding-top:22px;padding-bottom:24px}
.gnb .mn-pop.mn-only .mn-side{flex:0 0 auto;border-left:0;padding-left:0;min-width:260px}

/* ── 화면이 좁아질 때 ────────────────────────────────────────
   그림칸 개수를 줄여 글자가 눌리지 않게 합니다. */
@media (max-width:1240px){
  .gnb .mn-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}
  .gnb .mn-side{flex-basis:190px;padding-left:22px}
  .gnb .mn-pin{gap:24px}
}
@media (max-width:1024px){
  .gnb .mn-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}
  .gnb .mn-right{gap:14px;padding-left:14px;font-size:14px}
}

/* ── 마우스가 없는 기기(휴대폰·태블릿) ──────────────────────
   손가락에는 «올려놓기» 가 없습니다. 한 번 누르면 펼쳐졌다가
   다시 눌러야 이동하는 답답한 메뉴가 되므로, 펼침칸을 아예 접고
   메뉴는 그냥 링크로 동작하게 둡니다. */
@media (hover:none){
  .gnb .mn-pop{display:none}
}
/* 좁은 화면에서는 펼칠 자리 자체가 없습니다 (마우스가 있어도 접습니다) */
@media (max-width:900px){
  .gnb .mn-pop{display:none}
}
@media (max-width:560px){
  .gnb .mn-right{gap:12px;padding-left:10px;font-size:13.5px;
    overflow-x:auto;scrollbar-width:none}
  .gnb .mn-right::-webkit-scrollbar{display:none}
  .gnb .mn-bd{padding:1px 5px;font-size:9.5px}
}

/* 움직임을 줄여 달라고 설정한 분에게는 스르륵 열리는 효과를 끕니다 */
@media (prefers-reduced-motion:reduce){
  .gnb .mn-pop{transition:none;transform:none}
}

/* ── 메뉴줄 자리다툼 정리 ────────────────────────────────────
   메뉴가 열세 칸으로 늘면서 «전체 카테고리» 가 두 줄로 접히고,
   오른쪽 메뉴가 파란 전화번호 칸에 깔려 «사은품 신…» 처럼 잘렸습니다.
   원인은 가운데 글자줄이 줄어들 줄 몰라서 옆칸을 밀어낸 것입니다.
   그래서 «가운데 글자줄만 줄어들고, 넘치면 옆으로 밀어 본다» 로 못 박습니다. */
.gnb .all{flex:none;white-space:nowrap}
.gnb nav{flex:1 1 auto;min-width:0;gap:16px;padding-left:18px}
.gnb .mn-right{flex:none;margin-left:16px;padding-left:16px;
  border-left:1px solid var(--line)}
.gnb .call{flex:none}

/* ── 위쪽 머리줄로 옮긴 전화번호 ─────────────────────────────
   메뉴줄에 있던 파란 전화번호 칸을 로고 옆 빈자리로 올렸습니다.
   그 자리는 원래 텅 비어 있어서, 옮기고 나니 메뉴도 살고 번호도 더 잘 보입니다. */
.hd-top .hd-call{margin-left:auto;display:flex;align-items:center;gap:10px}
.hd-top .hd-call a{display:flex;align-items:center;gap:7px;white-space:nowrap;
  padding:8px 16px;border-radius:9999px;background:var(--brand);color:#fff;
  font-size:15px;font-weight:800;letter-spacing:-.01em}
.hd-top .hd-call a+a{background:var(--bg-soft);color:var(--ink-strong)}
.hd-top .hd-call b{font-size:11.5px;font-weight:800;opacity:.85}
.hd-top .hd-call a+a b{color:var(--ink-sub);opacity:1}
/* 검색칸이 이미 margin-left:auto 로 오른쪽에 붙어 있었습니다.
   전화번호가 뒤에 서야 하므로 검색칸의 «밀어내기» 를 여기서 풉니다. */
.hd-top .hd-search{margin-left:auto}
.hd-top .hd-call+.hd-sns{margin-left:0}

@media (max-width:1180px){
  .hd-top .hd-call a+a{display:none}
}
@media (max-width:860px){
  .hd-top .hd-call{display:none}
}
@media (max-width:760px){
  .gnb .mn-right{margin-left:8px;padding-left:8px}
}

/* ══════════════ 제휴카드 화면 (/cards) ══════════════ */

/* 글과 표가 많은 구역이라 폭을 1100px 로 좁혀 가운데 세웁니다.
   1392px 을 꽉 채우면 표의 오른쪽 끝까지 눈이 따라가지 못합니다. */
.cdt{max-width:1100px;margin:0 auto}

/* 탭을 고르는 라디오 단추 — 눈에는 안 보이지만 키보드로는 잡힙니다.
   자바스크립트가 꺼져 있어도 이 라디오만으로 탭이 바뀝니다. */
.cdt>.cdt-r{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0;border:0}

/* ── 카드사 탭 줄 ── */
.cdt-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
  border-bottom:1px solid var(--line);margin-bottom:28px;padding:0 2px}
.cdt-tabs::-webkit-scrollbar{display:none}
.cdt-tabs label{flex:none;position:relative;top:1px;cursor:pointer;
  padding:13px 18px 12px;border:1px solid var(--line);border-bottom:1px solid var(--line);
  border-radius:12px 12px 0 0;background:var(--bg-soft);color:var(--ink-sub);
  display:flex;flex-direction:column;gap:3px;white-space:nowrap;line-height:1.25}
.cdt-tabs label b{font-size:15px;font-weight:700;letter-spacing:-.02em}
.cdt-tabs label span{font-size:12.5px;font-weight:400;color:var(--ink-mute)}
/* 신규발급 불가 같은 «상태» 딱지 — 등록된 값이 있을 때만 붙습니다 */
.cdt-tabs label i{align-self:flex-start;font-style:normal;margin-top:2px;
  background:#FFEBEE;color:#B3261E;border-radius:9999px;
  padding:3px 8px;font-size:11px;font-weight:700;line-height:1}
@media (hover:hover){.cdt-tabs label:hover{color:var(--brand-deep);border-color:var(--line2)}}
.cdt>.cdt-r:focus-visible~.cdt-tabs label{outline:none}

/* ── 고른 탭 · 그 아래 칸 ──
   라디오 몇 번째가 켜졌는지에 따라 탭 색과 보일 칸이 정해집니다.
   등록할 수 있는 카드는 최대 12장까지입니다(그보다 많으면 13번째부터 안 보입니다). */
/* 칸 모양은 여기서 한 번만 정합니다. 아래 «몇 번째 탭이 켜졌나» 규칙은 보이고/숨기고만 합니다.
   (모양까지 그 규칙에 넣으면 선택자가 너무 세져서 좁은 화면 규칙이 먹히지 않습니다) */
.cdt-panel{display:none;grid-template-columns:330px minmax(0,1fr);gap:36px;align-items:start}
.cdt>.cdt-r:nth-of-type(1):checked~.cdt-tabs>label:nth-of-type(1),
.cdt>.cdt-r:nth-of-type(2):checked~.cdt-tabs>label:nth-of-type(2),
.cdt>.cdt-r:nth-of-type(3):checked~.cdt-tabs>label:nth-of-type(3),
.cdt>.cdt-r:nth-of-type(4):checked~.cdt-tabs>label:nth-of-type(4),
.cdt>.cdt-r:nth-of-type(5):checked~.cdt-tabs>label:nth-of-type(5),
.cdt>.cdt-r:nth-of-type(6):checked~.cdt-tabs>label:nth-of-type(6),
.cdt>.cdt-r:nth-of-type(7):checked~.cdt-tabs>label:nth-of-type(7),
.cdt>.cdt-r:nth-of-type(8):checked~.cdt-tabs>label:nth-of-type(8),
.cdt>.cdt-r:nth-of-type(9):checked~.cdt-tabs>label:nth-of-type(9),
.cdt>.cdt-r:nth-of-type(10):checked~.cdt-tabs>label:nth-of-type(10),
.cdt>.cdt-r:nth-of-type(11):checked~.cdt-tabs>label:nth-of-type(11),
.cdt>.cdt-r:nth-of-type(12):checked~.cdt-tabs>label:nth-of-type(12){
  background:#fff;border-color:var(--line);border-bottom-color:#fff;color:var(--ink-strong)}
.cdt>.cdt-r:nth-of-type(1):checked~.cdt-tabs>label:nth-of-type(1) b,
.cdt>.cdt-r:nth-of-type(2):checked~.cdt-tabs>label:nth-of-type(2) b,
.cdt>.cdt-r:nth-of-type(3):checked~.cdt-tabs>label:nth-of-type(3) b,
.cdt>.cdt-r:nth-of-type(4):checked~.cdt-tabs>label:nth-of-type(4) b,
.cdt>.cdt-r:nth-of-type(5):checked~.cdt-tabs>label:nth-of-type(5) b,
.cdt>.cdt-r:nth-of-type(6):checked~.cdt-tabs>label:nth-of-type(6) b,
.cdt>.cdt-r:nth-of-type(7):checked~.cdt-tabs>label:nth-of-type(7) b,
.cdt>.cdt-r:nth-of-type(8):checked~.cdt-tabs>label:nth-of-type(8) b,
.cdt>.cdt-r:nth-of-type(9):checked~.cdt-tabs>label:nth-of-type(9) b,
.cdt>.cdt-r:nth-of-type(10):checked~.cdt-tabs>label:nth-of-type(10) b,
.cdt>.cdt-r:nth-of-type(11):checked~.cdt-tabs>label:nth-of-type(11) b,
.cdt>.cdt-r:nth-of-type(12):checked~.cdt-tabs>label:nth-of-type(12) b{color:var(--brand-deep)}
.cdt>.cdt-r:nth-of-type(1):checked~.cdt-body>.cdt-panel:nth-of-type(1),
.cdt>.cdt-r:nth-of-type(2):checked~.cdt-body>.cdt-panel:nth-of-type(2),
.cdt>.cdt-r:nth-of-type(3):checked~.cdt-body>.cdt-panel:nth-of-type(3),
.cdt>.cdt-r:nth-of-type(4):checked~.cdt-body>.cdt-panel:nth-of-type(4),
.cdt>.cdt-r:nth-of-type(5):checked~.cdt-body>.cdt-panel:nth-of-type(5),
.cdt>.cdt-r:nth-of-type(6):checked~.cdt-body>.cdt-panel:nth-of-type(6),
.cdt>.cdt-r:nth-of-type(7):checked~.cdt-body>.cdt-panel:nth-of-type(7),
.cdt>.cdt-r:nth-of-type(8):checked~.cdt-body>.cdt-panel:nth-of-type(8),
.cdt>.cdt-r:nth-of-type(9):checked~.cdt-body>.cdt-panel:nth-of-type(9),
.cdt>.cdt-r:nth-of-type(10):checked~.cdt-body>.cdt-panel:nth-of-type(10),
.cdt>.cdt-r:nth-of-type(11):checked~.cdt-body>.cdt-panel:nth-of-type(11),
.cdt>.cdt-r:nth-of-type(12):checked~.cdt-body>.cdt-panel:nth-of-type(12){display:grid}
/* 키보드로 탭을 옮길 때 «지금 여기» 가 보이게 */
.cdt>.cdt-r:focus-visible~.cdt-tabs>label{outline:none}

/* ── 왼쪽 : 카드 그림과 큰 숫자 ── */
.cdt-art{min-width:0}
.cdt-art>img{width:100%;border-radius:16px;border:1px solid var(--line)}
/* 사진이 아직 없을 때 색으로 그리는 카드 (실제 카드 디자인과 다릅니다) */
.cdt-face{aspect-ratio:1.585;border-radius:16px;padding:20px;color:#fff;position:relative;
  display:flex;flex-direction:column;justify-content:space-between;
  box-shadow:0 12px 28px rgba(0,0,0,.22)}
.cdt-face b{font-size:17px;font-weight:700;letter-spacing:-.02em;line-height:1.35;word-break:keep-all}
.cdt-face span{font-size:13px;opacity:.82}
.cdt-face i{position:absolute;right:20px;top:52%;width:44px;height:32px;border-radius:6px;
  background:linear-gradient(135deg,#E9D48A 0%,#B99B4B 100%);opacity:.9}
.cdt-cap{margin:8px 0 0;font-size:12px;color:var(--ink-mute)}
.cdt-nm{margin:18px 0 4px;font-size:19px;font-weight:700;letter-spacing:-.02em;
  color:var(--ink-strong);word-break:keep-all}
.cdt-issuer{margin:0 0 14px;font-size:13.5px;color:var(--ink-sub)}
.cdt-lab{margin:0;font-size:13.5px;color:var(--ink-sub)}
.cdt-big{margin:2px 0 14px;font-family:var(--sharp);font-size:38px;line-height:1.15;
  letter-spacing:-.03em;color:var(--brand-deep)}
.cdt-big small{font-family:var(--sans);font-size:19px;margin-left:2px;color:var(--ink-strong)}
.cdt-cond{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:6px}
.cdt-cond li{font-size:14px;color:var(--ink);line-height:1.55;word-break:keep-all;
  padding-left:15px;position:relative}
.cdt-cond li::before{content:'';position:absolute;left:2px;top:8px;width:5px;height:5px;
  border-radius:9999px;background:var(--brand)}
.cdt-go{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;
  border:0;cursor:pointer;border-radius:9999px;padding:15px 22px;font-size:15.5px;font-weight:700;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-deep) 100%);color:#fff;
  box-shadow:0 8px 18px rgba(0,107,234,.26)}
@media (hover:hover){.cdt-go:hover{filter:brightness(1.06)}}

/* ── 오른쪽 : 혜택 상세내용 ── */
.cdt-det{min-width:0}
.cdt-det h3{margin:0 0 18px;font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--ink-strong)}
.cdt-fee{display:flex;align-items:baseline;gap:10px;margin:0 0 20px;padding:14px 18px;
  border-radius:12px;background:var(--bg-soft);border:1px solid var(--line)}
.cdt-fee dt{margin:0;font-size:14px;color:var(--ink-sub);font-weight:700;white-space:nowrap}
.cdt-fee dd{margin:0;font-size:18px;font-weight:700;color:var(--ink-strong)}
/* 좁은 화면에서 네 칸짜리 표가 짜부라지지 않게 옆으로 밀어서 봅니다 */
.cdt-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cdt-tbl{width:100%;min-width:520px;border-collapse:collapse;font-size:14.5px}
.cdt-tbl th,.cdt-tbl td{padding:13px 14px;border-bottom:1px solid var(--line);
  text-align:center;vertical-align:middle;white-space:nowrap}
.cdt-tbl thead th{background:var(--bg-soft);font-weight:700;font-size:13.5px;color:var(--ink-sub);
  border-bottom:1px solid var(--line2)}
.cdt-tbl tbody th{font-weight:700;color:var(--ink-strong);text-align:left}
.cdt-tbl tbody tr:last-child td,.cdt-tbl tbody tr:last-child th{border-bottom:0}
.cdt-tbl .sum{font-family:var(--sharp);font-size:17px;color:var(--brand-deep);letter-spacing:-.02em}
.cdt-tbl .none{color:var(--ink-mute)}
.cdt-empty{margin:0;padding:24px 0;color:var(--ink-sub)}
/* 카드마다 다른 «유의사항» — 등록된 글만 그대로 나옵니다 */
.cdt-note{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.cdt-note li{font-size:13.5px;line-height:1.75;color:var(--ink-sub);
  padding-left:14px;position:relative;word-break:keep-all}
.cdt-note li::before{content:'·';position:absolute;left:3px;top:0;color:var(--ink-mute)}
.cdt-note li b{color:var(--ink-strong)}

/* ── 맨 아래 노란 «제휴카드 이용 안내» 상자 ── */
.cdt-warn{max-width:1100px;margin:0 auto;background:#FFF8E6;border:1px solid #EFDBA6;
  border-radius:16px;padding:24px 26px}
.cdt-warn h2{margin:0 0 12px;font-size:17px;font-weight:700;color:#7A5A12;letter-spacing:-.02em}
.cdt-warn ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.cdt-warn li{font-size:14px;line-height:1.8;color:#6B531B;padding-left:15px;position:relative;
  word-break:keep-all}
.cdt-warn li::before{content:'·';position:absolute;left:4px;top:0}

/* ── 내 카드로 계산해보기 ── */
.cdt-calc{max-width:1100px;margin:0 auto;display:grid;
  grid-template-columns:340px minmax(0,1fr);gap:36px;align-items:start}
.cdt-form{background:var(--bg-soft);border:1px solid var(--line);border-radius:16px;padding:24px}
.cdt-form label{display:block;font-weight:700;font-size:14.5px;margin-bottom:8px}
.cdt-form input,.cdt-form select{width:100%;padding:13px 15px;border:1px solid var(--line);
  border-radius:10px;background:#fff;margin-bottom:20px}
.cdt-form select{margin-bottom:0}
.cdt-out{min-width:0}
.cdt-out .cdt-tbl{min-width:600px}
.cdt-out .cdt-tbl tbody td{white-space:nowrap}
.cdt-out .best td{background:#EFF3FD}
.cdt-out .nm{text-align:left}
.cdt-out .nm small{display:block;font-size:12.5px;color:var(--ink-sub);font-weight:400}
.cdt-out .dc{color:var(--brand-deep);font-weight:700}
.cdt-out .net b{font-family:var(--sharp);font-size:20px;letter-spacing:-.02em}
.cdt-out .low{color:var(--point);font-size:12px;margin-left:4px}
.cdt-tip{margin:16px 0 0;font-size:13px;color:var(--ink-sub);line-height:1.8}

@media(max-width:1024px){
  .cdt-panel{grid-template-columns:minmax(0,1fr);gap:26px}
  .cdt-art{max-width:360px}
  .cdt-calc{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media(max-width:560px){
  .cdt-big{font-size:32px}
  .cdt-warn{padding:20px 18px;border-radius:14px}
  .cdt-det h3{font-size:19px}
}

/* ══════════════ 0원 구독 화면 (/zero-deal) ══════════════ */

/* 맨 위 파란 띠 — 제목·설명 두 줄은 백오피스 «사이트 설정» 에서 바꿉니다 */
.zro-hero{background:linear-gradient(120deg,var(--brand-deep) 0%,var(--brand) 62%,#3E6BE8 100%);
  color:#fff;padding:52px 0 48px}
.zro-hero .inner{max-width:1100px}
.zro-hero .chip{display:inline-flex;align-items:center;border-radius:9999px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);
  padding:6px 13px;font-size:12px;font-weight:800;line-height:1;letter-spacing:.03em}
.zro-hero h1{margin:14px 0 12px;font-family:var(--sharp);font-size:40px;line-height:1.2;
  letter-spacing:-.03em;word-break:keep-all}
.zro-hero p{margin:0;font-size:16.5px;line-height:1.8;opacity:.94;word-break:keep-all}

/* ── 접었다 펴는 «0원 구독 조건 선택» 상자 ── */
.zro-pick{max-width:1100px;margin:-26px auto 0;position:relative;z-index:2;
  background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08)}
.zro-pick>summary{list-style:none;cursor:pointer;padding:20px 24px;display:flex;
  align-items:center;gap:10px;font-size:17px;font-weight:700;letter-spacing:-.02em}
.zro-pick>summary::-webkit-details-marker{display:none}
.zro-pick>summary::after{content:'▾';margin-left:auto;color:var(--ink-sub);font-size:15px}
.zro-pick[open]>summary::after{content:'▴'}
.zro-pick>summary small{font-size:13px;font-weight:400;color:var(--ink-sub)}
.zro-form{padding:0 24px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.zro-form label{display:block;font-weight:700;font-size:14.5px;margin-bottom:8px}
.zro-form select{width:100%;padding:13px 15px;border:1px solid var(--line);
  border-radius:10px;background:#fff}
.zro-form .hint{margin:8px 0 0;font-size:12.5px;color:var(--ink-sub);line-height:1.6}

/* ── 「○개 상품이 매월 0원」 세어 준 줄 ── */
/* 바탕을 옅은 파랑으로 깝니다 — --brand-soft 는 진한 파랑이라 글자가 묻힙니다 */
.zro-count{max-width:1100px;margin:28px auto 0;padding:18px 22px;border-radius:14px;
  background:linear-gradient(180deg,#F6FAFF 0%,#EBF3FF 100%);border:1px solid #DDE9FB;
  font-size:16px;line-height:1.7;color:var(--ink-strong);word-break:keep-all}
.zro-count b{font-family:var(--sharp);font-size:24px;color:var(--brand-deep);letter-spacing:-.02em}
.zro-count .cond{display:block;margin-top:4px;font-size:13px;color:var(--ink-sub)}

/* ── 상품 칸에 덧붙는 0원 전용 표시 ── */
.card .zro-badge{position:absolute;left:12px;top:12px;z-index:2;
  background:linear-gradient(135deg,#14A05A 0%,#0C7F45 100%);color:#fff;
  border-radius:9999px;padding:7px 13px;font-size:12.5px;font-weight:800;line-height:1;
  box-shadow:0 4px 12px rgba(12,127,69,.32)}
.zro-calcbox{display:flex;flex-direction:column;gap:4px}
.zro-calcbox .was{font-size:13.5px;color:var(--ink-sub)}
.zro-calcbox .was s{color:var(--ink-mute)}
.zro-calcbox .cut{font-size:13.5px;color:var(--brand-deep);font-weight:700}
.zro-calcbox .now{font-size:15px;color:var(--ink-sub)}
.zro-calcbox .now b{font-family:var(--sharp);font-size:26px;color:var(--ink-strong);letter-spacing:-.02em}
.zro-calcbox .now.free b{color:#0C7F45}
.zro-empty{margin:0;padding:40px 0;color:var(--ink-sub)}

@media(max-width:900px){
  .zro-hero h1{font-size:30px}
  .zro-form{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
  .zro-hero{padding:38px 0 40px}
  .zro-pick{margin-top:-18px;border-radius:14px}
  .zro-pick>summary{padding:16px 18px;font-size:15.5px}
  .zro-form{padding:0 18px 20px}
  .zro-count{padding:16px 18px;font-size:15px}
}
