/* ============================================================
   오늘역대가 · 토스 앱/토스쇼핑 스타일 UI (2026-11-17)
   - 쿨그레이 배경 #F2F4F6 · 흰 카드 · 라운드 20~24px · 은은한 그림자
   - 포인트: 토스 블루 #3182F6 / 할인·긴급 #F04452
   - 숫자는 tabular-nums (가격·할인율 자리 정렬)
   ============================================================ */
:root{
  --bg:#F2F4F6;
  --surface:#FFFFFF;
  --surface-2:#F7F8FA;
  --ink:#191F28;
  --ink-2:#4E5968;
  --ink-3:#8B95A1;
  --blue:#3182F6;
  --blue-soft:#E8F3FF;
  --red:#F04452;
  --red-soft:#FFEEF0;
  --orange:#FF6B2C;
  --orange-soft:#FFF1E8;
  --green:#00B76A;
  --green-soft:#E6F8F0;
  --green-ink:#00875C;
  --radius-xl:24px;
  --radius-lg:20px;
  --radius-md:16px;
  --radius-sm:12px;
  --shadow:0 2px 12px rgba(0,0,0,.04);
  --shadow-hover:0 6px 20px rgba(0,0,0,.07);
  --maxw:1120px;
}

*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif;
  font-size:15px;
  line-height:1.45;
  letter-spacing:-.2px;
  word-break:keep-all;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
img{max-width:100%}
.num,.pct,.now,.was,.save-chip,.count-line,.hero-price,.diff,.pct-badge,.hook-title em,.jump .n{font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- 상단: 브랜드 + 검색 + 카테고리 칩 (sticky) ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(242,244,246,.94);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
}
.topbar-row{
  max-width:var(--maxw); margin:0 auto;
  display:flex; align-items:center; gap:10px;
  padding:12px 20px 8px;
}
.brand{display:flex; align-items:center; gap:8px; flex:0 0 auto}
.brand-mark{
  width:30px; height:30px; border-radius:10px;
  background:var(--blue); color:#fff;
  font-size:15px; font-weight:800; letter-spacing:-1px;
  display:grid; place-items:center;
}
.brand-name{font-size:17px; font-weight:700; letter-spacing:-.5px; white-space:nowrap}

.searchbar{
  flex:1 1 auto; min-width:0;
  display:flex; align-items:center; gap:8px;
  height:46px; padding:0 14px;
  background:var(--surface); border:1.5px solid transparent; border-radius:14px;
  transition:border-color .16s ease, box-shadow .16s ease;
}
.searchbar:focus-within{border-color:var(--blue); box-shadow:0 0 0 3px rgba(49,130,246,.12)}
.search-ico{width:18px; height:18px; flex:0 0 auto; fill:none; stroke:var(--ink-3); stroke-width:2.2; stroke-linecap:round}
.searchbar:focus-within .search-ico{stroke:var(--blue)}
.searchbar input{
  flex:1 1 auto; min-width:0; width:100%;
  border:0; background:transparent; outline:none; padding:0;
  font-family:inherit; font-size:15px; color:var(--ink); letter-spacing:-.2px;
}
.searchbar input::placeholder{color:var(--ink-3)}
.searchbar input::-webkit-search-cancel-button,
.searchbar input::-webkit-search-decoration{-webkit-appearance:none; appearance:none}
.search-clear{
  flex:0 0 auto; width:20px; height:20px; padding:0;
  border:0; border-radius:50%; cursor:pointer;
  background:#DDE1E6; color:#fff; font-size:10px; line-height:20px;
}
.icon-btn{
  flex:0 0 auto; width:46px; height:46px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:0; border-radius:14px; background:var(--surface); color:var(--ink-2);
  cursor:pointer; transition:transform .12s ease;
}
.icon-btn svg{width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.icon-btn:active{transform:scale(.96)}

/* 카테고리 칩 바 */
.catbar{max-width:var(--maxw); margin:0 auto}
.catbar-inner{
  display:flex; gap:8px; overflow-x:auto; overflow-y:hidden;
  padding:2px 20px 12px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  scroll-padding-inline:20px;
}
.catbar-inner::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;
  display:inline-flex; align-items:center; gap:5px;
  height:36px; padding:0 13px;
  border:0; border-radius:999px;
  background:var(--surface); color:var(--ink-2);
  font-size:13.5px; font-weight:600; letter-spacing:-.3px;
  white-space:nowrap; cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.03);
  transition:background .14s ease, color .14s ease, transform .12s ease;
}
.chip .n{font-size:12px; font-weight:700; color:var(--ink-3)}
.chip:active{transform:scale(.97)}
.chip.on{background:var(--blue); color:#fff; box-shadow:0 2px 10px rgba(49,130,246,.24)}
.chip.on .n{color:rgba(255,255,255,.82)}

/* 판매처(몰) 세그먼트 */
.segwrap{max-width:var(--maxw); margin:0 auto; padding:2px 20px 9px}
.seg{
  display:flex; gap:2px; max-width:460px;
  padding:3px; border-radius:13px; background:#E8EBEE;
}
.seg-btn{
  flex:1 1 0; min-width:0; height:34px;
  display:inline-flex; align-items:center; justify-content:center; gap:3px;
  border:0; border-radius:10px; background:transparent; color:var(--ink-2);
  font-family:inherit; font-size:13px; font-weight:600; letter-spacing:-.3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer;
  transition:background .14s ease, color .14s ease, box-shadow .14s ease;
}
.seg-btn .n{font-size:11.5px; font-weight:700; color:var(--ink-3)}
.seg-btn:active{transform:scale(.985)}
.seg-btn.on{background:var(--surface); color:var(--ink); font-weight:700; box-shadow:0 1px 4px rgba(0,0,0,.08)}
.seg-btn.on .n{color:var(--blue)}

/* 대가성 고지 */
.disclosure{
  max-width:var(--maxw); margin:0 auto;
  padding:0 20px 2px;
  font-size:11.5px; line-height:1.5; color:var(--ink-3);
}

/* ---------- 본문 ---------- */
main{max-width:var(--maxw); margin:0 auto; padding:14px 20px 56px}

/* 섹션 제목 */
.sec-head{display:flex; align-items:baseline; gap:8px; margin:8px 0 12px}
.sec-head h2{margin:0; font-size:19px; font-weight:700; letter-spacing:-.6px}
.sec-head p{margin:0; font-size:12.5px; color:var(--ink-3); letter-spacing:-.2px}

/* ---------- 오늘 요약 + 빠른 점프 ---------- */
.hook{
  display:flex; align-items:center; justify-content:space-between; gap:12px 24px; flex-wrap:wrap;
  margin:2px 0 22px; padding:18px 20px;
  background:var(--surface); border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
}
.hook-main{min-width:0}
.hook-title{margin:0; font-size:18px; font-weight:800; letter-spacing:-.6px; line-height:1.35}
.hook-title em{font-style:normal; color:var(--red)}
.hook-meta{margin:5px 0 0; font-size:12.5px; color:var(--ink-3); letter-spacing:-.2px}
.hook-meta b{color:var(--ink-2); font-weight:700}
.hook-jump{display:flex; gap:6px; flex-wrap:wrap}
.jump{
  display:inline-flex; align-items:center; gap:5px; height:38px; padding:0 13px;
  border:0; border-radius:11px;
  background:var(--surface-2); color:var(--ink-2);
  font-family:inherit; font-size:12.5px; font-weight:700; letter-spacing:-.3px;
  white-space:nowrap; cursor:pointer;
  transition:background .14s ease, color .14s ease, transform .12s ease, box-shadow .14s ease;
}
.jump .n{font-size:11.5px; font-weight:800; color:var(--red)}
.jump:hover{background:#EDF0F3}
.jump:active{transform:scale(.97)}
.jump.on{background:var(--red-soft); color:var(--red); box-shadow:0 0 0 1.5px rgba(240,68,82,.24) inset}
.jump:first-child{background:var(--orange-soft); color:#D9480F}
.jump:first-child .n{color:#D9480F}
.jump:first-child.on{background:linear-gradient(135deg,#FFEADF,#FFE0E4); color:var(--red)}

/* ---------- 오늘의 TOP 3 ---------- */
.hero{margin:0 0 26px}
.hero-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.hero-card{
  position:relative; display:flex; flex-direction:column;
  background:var(--surface); border-radius:var(--radius-xl);
  padding:12px; box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.hero-card:hover{transform:translateY(-2px); box-shadow:var(--shadow-hover)}
.hero-card:active{transform:scale(.988)}
.hero-card.is-hot{box-shadow:0 0 0 1.5px rgba(240,68,82,.24), 0 4px 18px rgba(240,68,82,.08)}
.hero-thumb{
  position:relative; aspect-ratio:4/3; border-radius:18px; overflow:hidden;
  background:var(--surface);
}
.hero-thumb img{width:100%; height:100%; object-fit:cover; display:block}
.hero-rank{
  position:absolute; left:10px; top:10px; z-index:2;
  background:rgba(25,31,40,.88); color:#fff;
  font-size:11.5px; font-weight:800; letter-spacing:-.2px;
  padding:4px 8px; border-radius:9px;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.hero-pct{
  position:absolute; right:10px; top:10px; z-index:2;
  background:var(--red); color:#fff;
  font-size:13px; font-weight:800; letter-spacing:-.4px;
  padding:4px 9px; border-radius:9px;
  box-shadow:0 3px 10px rgba(240,68,82,.32);
}
.hero-tag{margin:0}
.hot-chip{
  display:inline-block;
  font-size:11px; font-weight:800; letter-spacing:-.3px;
  padding:3px 7px; border-radius:7px;
  background:linear-gradient(135deg,var(--orange),var(--red)); color:#fff;
}
.hero-body{display:flex; flex-direction:column; gap:4px; padding:12px 6px 4px}
.hero-name{
  margin:0; font-size:14.5px; font-weight:600; line-height:1.38; letter-spacing:-.35px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.76em;
}
.hero-price{display:flex; align-items:baseline; gap:6px; margin:2px 0 0}
.hero-price .pct{color:var(--red); font-size:16px; font-weight:800}
.hero-price .now{font-size:20px; font-weight:800; letter-spacing:-.7px}
.hero-price .now em{font-style:normal; font-size:14px; font-weight:700; margin-left:1px}
.hero-meta{
  margin:0; display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  font-size:12px; color:var(--ink-3);
}
.hero-meta .was{text-decoration:line-through}
.hero-meta .save-chip{background:var(--surface-2); color:var(--ink-2)}

/* ---------- 목록 툴바 ---------- */
.list{margin-top:4px; scroll-margin-top:178px}
.toolbar{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 12px}
.count-line{margin:0; font-size:13px; color:var(--ink-3); letter-spacing:-.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.count-line strong{font-size:15px; font-weight:700; color:var(--ink); margin-right:1px}
.cat-label{color:var(--ink-3)}
.sort-wrap{flex:0 0 auto}
.sort-wrap select{
  -webkit-appearance:none; appearance:none;
  height:36px; padding:0 30px 0 12px;
  border:0; border-radius:11px;
  background:var(--surface) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234E5968' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  font-family:inherit; font-size:13px; font-weight:600; color:var(--ink-2); letter-spacing:-.2px;
  box-shadow:0 1px 4px rgba(0,0,0,.03); cursor:pointer; outline:none;
}
.sort-wrap select:focus-visible{box-shadow:0 0 0 3px rgba(49,130,246,.14)}

/* ---------- 상품 그리드 ---------- */
.grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.card{
  position:relative;
  display:flex; flex-direction:column;
  background:var(--surface); border-radius:var(--radius-lg);
  overflow:hidden; box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:var(--shadow-hover)}
.card:active{transform:scale(.985)}
.card.is-hot{box-shadow:0 0 0 1.5px rgba(240,68,82,.26), 0 4px 16px rgba(240,68,82,.07)}
.card.is-hot:hover{box-shadow:0 0 0 1.5px rgba(240,68,82,.36), 0 8px 22px rgba(240,68,82,.14)}
.card:focus-within{outline:2px solid var(--blue); outline-offset:2px}
.thumb{
  position:relative; display:block;
  aspect-ratio:1/1; overflow:hidden;
  background:var(--surface);
}
.thumb img{width:100%; height:100%; object-fit:contain; display:block}
.pct-badge{
  position:absolute; right:9px; top:9px; z-index:3;
  background:var(--red); color:#fff;
  font-size:13px; font-weight:800; letter-spacing:-.4px;
  padding:4px 8px; border-radius:9px;
  box-shadow:0 3px 10px rgba(240,68,82,.3);
  pointer-events:none;
}
.badges{
  position:absolute; left:9px; top:9px; z-index:2;
  display:flex; flex-wrap:wrap; gap:4px; max-width:calc(100% - 74px);
}
.badge{
  font-size:11px; font-weight:700; letter-spacing:-.3px; line-height:1.3;
  padding:3px 6px; border-radius:7px;
  background:rgba(255,255,255,.94); color:var(--ink-2);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.badge.hot{background:var(--orange); color:#fff; box-shadow:0 2px 8px rgba(255,107,44,.28)}
.badge.hot.super{background:linear-gradient(135deg,var(--orange),var(--red)); box-shadow:0 2px 9px rgba(240,68,82,.3)}
.badge.record{background:#FFF2E8; color:#E8590C}
.badge.refurb{background:var(--blue-soft); color:var(--blue)}
.badge.under{background:var(--surface-2); color:var(--ink-2)}
.badge.new{background:var(--ink); color:#fff}
.rank-badge{
  position:absolute; left:9px; bottom:9px; z-index:2;
  background:rgba(25,31,40,.86); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:-.2px;
  padding:3px 7px; border-radius:8px;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}

.card-body{display:flex; flex-direction:column; gap:4px; padding:12px 14px 14px; flex:1 1 auto}
.meta{
  display:flex; align-items:center; gap:5px;
  margin:0; font-size:11.5px; color:var(--ink-3); letter-spacing:-.2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mall{
  flex:0 0 auto;
  background:var(--surface-2); color:var(--ink-2);
  font-size:11px; font-weight:700; letter-spacing:-.2px;
  padding:2px 5px; border-radius:5px;
}
.spec{overflow:hidden; text-overflow:ellipsis}
.name{
  margin:0; font-size:14px; font-weight:600; line-height:1.38; letter-spacing:-.35px;
  color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.76em;
}
.name a{color:inherit}
.price-row{display:flex; align-items:baseline; gap:6px; margin:3px 0 0; flex-wrap:wrap}
.price-row .pct{color:var(--red); font-size:15px; font-weight:800; letter-spacing:-.4px}
.price-row .now{font-size:18px; font-weight:800; letter-spacing:-.6px}
.price-row .now em{font-style:normal; font-size:13px; font-weight:700; margin-left:1px}
.sub-row{display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12px; color:var(--ink-3); min-height:18px}
.sub-row .was{text-decoration:line-through}
.save-chip{
  background:var(--green-soft); color:var(--green-ink);
  font-size:11.5px; font-weight:800; letter-spacing:-.3px;
  padding:2px 7px; border-radius:6px;
}
.diff{margin:0; font-size:11.5px; font-weight:600; color:var(--ink-3); letter-spacing:-.2px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.diff.down{color:var(--blue)}
.diff.up{color:var(--red)}
.diff.same{color:var(--ink-3)}
.diff.avg{color:var(--ink-3); font-weight:600}
.diff.avg.below{color:var(--green-ink); font-weight:800}
.cta{
  margin-top:auto;
  display:flex; align-items:center; justify-content:center; gap:4px;
  height:44px; border-radius:12px;
  background:var(--blue); color:#fff;
  font-size:13.5px; font-weight:700; letter-spacing:-.3px;
  transition:filter .14s ease, transform .12s ease;
}
/* 카드 어디를 눌러도 이 링크로 — 토스 앱처럼 카드 전체가 하나의 버튼 */
.cta::after{
  content:""; position:absolute; inset:0; z-index:1; border-radius:inherit;
}
.cta:hover{filter:brightness(.96)}
.card.is-hot .cta{background:var(--red)}
.card.is-super .cta{background:linear-gradient(135deg,#FF7A32 0%,var(--red) 100%)}
.cta svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.hero-meta .save-chip{background:var(--green-soft); color:var(--green-ink)}

.empty{margin:0; padding:56px 0; text-align:center; color:var(--ink-3); font-size:14px}

/* 빈 상태(미연동 몰 · 조건 불일치) */
.empty-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  background:var(--surface); border-radius:var(--radius-xl);
  box-shadow:var(--shadow); padding:56px 24px 48px;
}
.empty-ico{
  width:60px; height:60px; margin-bottom:16px;
  display:grid; place-items:center; border-radius:50%;
  background:var(--blue-soft);
}
.empty-ico svg{width:28px; height:28px; fill:none; stroke:var(--blue); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.empty-title{margin:0 0 6px; font-size:16.5px; font-weight:700; letter-spacing:-.45px; color:var(--ink)}
.empty-desc{margin:0; font-size:13.5px; line-height:1.55; color:var(--ink-3); letter-spacing:-.2px}
.empty-hint{margin:10px 0 0; font-size:12.5px; color:var(--ink-3)}
.empty-cta{
  margin-top:20px; height:46px; padding:0 22px;
  border:0; border-radius:13px;
  background:var(--blue); color:#fff;
  font-family:inherit; font-size:14.5px; font-weight:700; letter-spacing:-.3px;
  cursor:pointer; transition:filter .14s ease, transform .12s ease;
}
.empty-cta:hover{filter:brightness(.96)}
.empty-cta:active{transform:scale(.99)}

/* ---------- 푸터 ---------- */
.site-foot{background:var(--surface); margin-top:16px; padding:32px 20px 48px}
.foot-inner{max-width:var(--maxw); margin:0 auto}
.site-foot h3{margin:0 0 10px; font-size:14px; font-weight:700; letter-spacing:-.3px}
.site-foot ul{margin:0 0 18px; padding:0; list-style:none; font-size:12.5px; line-height:1.7; color:var(--ink-2); letter-spacing:-.2px}
.site-foot li{position:relative; padding-left:11px; margin-bottom:5px}
.site-foot li::before{content:""; position:absolute; left:0; top:9px; width:3px; height:3px; border-radius:50%; background:#C6CBD1}
.site-foot b{color:var(--ink); font-weight:700}
.site-foot i{font-style:normal; color:var(--ink-3)}
.foot-disclosure{
  margin:0 0 8px; padding:14px 16px; border-radius:14px;
  background:var(--bg); color:var(--ink-2);
  font-size:11.5px; line-height:1.55; letter-spacing:-.2px;
}
.foot-disclosure:last-of-type{margin-bottom:10px}
.foot-meta{margin:0; color:var(--ink-3); font-size:11.5px; letter-spacing:-.2px}

/* ---------- 토스트 ---------- */
.toast{
  position:fixed; left:50%; bottom:28px; z-index:80;
  transform:translate(-50%,16px);
  max-width:calc(100% - 40px);
  background:rgba(25,31,40,.94); color:#fff;
  font-size:13.5px; font-weight:600; letter-spacing:-.2px;
  padding:12px 18px; border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
  opacity:0; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  bottom:calc(28px + env(safe-area-inset-bottom,0px));
}
.toast.on{opacity:1; transform:translate(-50%,0)}

/* ---------- 반응형 ---------- */
@media (max-width:1023px){
  .grid{grid-template-columns:repeat(3,1fr); gap:12px}
  .hero-grid{grid-template-columns:repeat(3,1fr); gap:10px}
  .hero-price .now{font-size:18px}
}

@media (max-width:719px){
  body{font-size:14px}
  .topbar-row{padding:10px 16px 8px; gap:8px}
  .brand-mark{width:28px; height:28px; border-radius:9px; font-size:14px}
  .brand-name{font-size:16px}
  .searchbar{height:42px; padding:0 12px; border-radius:12px}
  .searchbar input{font-size:14px}
  .icon-btn{width:42px; height:42px; border-radius:12px}
  .segwrap{padding:0 16px 8px}
  .seg{max-width:none; padding:3px; border-radius:12px}
  .seg-btn{height:32px; font-size:12px; gap:2px; border-radius:9px}
  .seg-btn .n{font-size:10.5px}
  .empty-card{padding:44px 20px 38px; border-radius:20px}
  .empty-title{font-size:15px}
  .empty-desc{font-size:12.5px}
  .empty-cta{height:42px; font-size:13.5px; border-radius:12px}
  .catbar-inner{padding:2px 16px 10px; gap:6px; scroll-padding-inline:16px}
  .chip{height:33px; padding:0 11px; font-size:12.5px; gap:4px}
  .chip .n{font-size:11px}
  .disclosure{padding:0 16px 2px; font-size:10.5px; line-height:1.45}
  main{padding:10px 16px 44px}
  .sec-head{margin:6px 0 10px}
  .sec-head h2{font-size:17px}
  .sec-head p{display:none}

  /* 오늘 요약 + 빠른 점프 */
  .hook{margin:0 0 18px; padding:14px 16px; border-radius:20px; gap:10px}
  .hook-title{font-size:15.5px}
  .hook-meta{font-size:11.5px; margin-top:3px}
  .hook-time{display:none}
  .hook-jump{flex-wrap:nowrap; overflow-x:auto; gap:5px; width:100%;
    padding-bottom:2px; scrollbar-width:none; -webkit-overflow-scrolling:touch}
  .hook-jump::-webkit-scrollbar{display:none}
  .jump{height:34px; padding:0 11px; font-size:12px; border-radius:10px}
  .jump .n{font-size:11px}
  .list{scroll-margin-top:164px}

  /* TOP3: 옆으로 넘기는 큰 카드 */
  .hero{margin-bottom:22px}
  .hero-grid{
    display:flex; grid-template-columns:none;
    gap:10px; overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    padding:2px 16px 6px; margin:0 -16px;
    scrollbar-width:none; scroll-padding-inline:16px;
  }
  .hero-grid::-webkit-scrollbar{display:none}
  .hero-card{flex:0 0 78%; scroll-snap-align:start; padding:10px; border-radius:22px}
  .hero-thumb{border-radius:16px}
  .hero-rank{left:8px; top:8px; font-size:10.5px; padding:3px 7px; border-radius:8px}
  .hero-pct{right:8px; top:8px; font-size:11.5px; padding:3px 7px; border-radius:8px}
  .hero-tag{margin:0}
  .hot-chip{font-size:10px; padding:2px 6px; border-radius:6px}
  .hero-body{padding:10px 4px 2px}
  .hero-name{font-size:13.5px}
  .hero-price .pct{font-size:14.5px}
  .hero-price .now{font-size:18px}
  .hero-price .now em{font-size:12.5px}
  .hero-meta{font-size:11.5px}

  .toolbar{margin-bottom:10px}
  .count-line{font-size:12px}
  .count-line strong{font-size:14px}
  .sort-wrap select{height:32px; font-size:12px; padding:0 26px 0 10px; border-radius:10px; background-position:right 9px center}

  .grid{grid-template-columns:repeat(2,1fr); gap:10px}
  .card{border-radius:16px}
  .thumb{border-radius:16px 16px 0 0}
  .badges{left:7px; top:7px; gap:3px; max-width:calc(100% - 58px)}
  .badge{font-size:9.5px; padding:2px 5px; border-radius:6px}
  .pct-badge{right:7px; top:7px; font-size:11.5px; padding:3px 6px; border-radius:7px}
  .rank-badge{left:7px; bottom:7px; font-size:9.5px; padding:2px 6px; border-radius:6px}
  .card-body{padding:9px 10px 10px; gap:3px}
  .meta{font-size:10.5px; gap:4px}
  .mall{font-size:10px; padding:1px 4px; border-radius:4px}
  .name{font-size:12.2px; line-height:1.34; min-height:2.68em; letter-spacing:-.3px}
  .price-row{gap:4px; margin-top:2px}
  .price-row .pct{font-size:13px}
  .price-row .now{font-size:15.5px; letter-spacing:-.5px}
  .price-row .now em{font-size:11.5px}
  .sub-row{font-size:10.5px; gap:4px; min-height:16px}
  .save-chip{font-size:10px; padding:1px 4px; border-radius:4px}
  .diff{font-size:10px}
  .cta{height:44px; border-radius:12px; font-size:12.5px}
  .cta svg{width:12px; height:12px}

  .site-foot{padding:24px 16px 40px}
  .toast{bottom:calc(20px + env(safe-area-inset-bottom,0px)); font-size:13px}
}

@media (max-width:359px){
  .grid{gap:8px}
  .name{font-size:11.5px}
  .price-row .now{font-size:14.5px}
  .brand-name{font-size:15px}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important}
  .card:hover,.hero-card:hover{transform:none}
}

/* ---------- noscript: 검색봇(JS 미실행)용 정적 요약 ----------
   JS가 켜져 있으면 <noscript> 안은 렌더되지 않아 화면에 영향이 없습니다. */
.nojs{max-width:var(--maxw); margin:0 auto; padding:4px 20px 40px}
.nojs h2{margin:0 0 8px; font-size:19px; font-weight:700; letter-spacing:-.5px}
.nojs h3{margin:22px 0 8px; font-size:14px; font-weight:700; letter-spacing:-.3px; color:var(--ink)}
.nojs-lead{margin:0 0 14px; font-size:13px; line-height:1.65; color:var(--ink-2)}
.nojs-cats{margin:0; font-size:12.5px; line-height:1.8; color:var(--ink-2)}
.nojs-list{margin:0; padding:16px 18px; background:var(--surface); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); font-size:12.5px; line-height:1.9; color:var(--ink-2)}
.nojs-list li{margin-bottom:5px}
.nojs-list a{color:var(--ink); text-decoration:underline; text-underline-offset:2px}
.nojs-list b{color:var(--ink)}
.nojs-note{margin:14px 0 0; font-size:11.5px; color:var(--ink-3)}
@media (max-width:640px){
  .nojs{padding:4px 16px 32px}
  .nojs h2{font-size:16px}
  .nojs-list{font-size:12px; padding:13px 15px}
}
