/* 분양몰 템플릿 공통 모양(11/16 T-20261115-003) — 기본(basic)이 아닌 템플릿 화면에서만 읽는다(mall/_base.html: tpl.css 가 있을 때).
   읽는 차례: base.css → mall.css(기본 몰 모양) → 이 파일(템플릿 공통 짜임) → mall_t_<열쇠>.css(템플릿마다 색·모서리·구역 모양).
   ★모든 규칙은 .ml-shop.ml-t 아래 — 포털·공개몰·기본 몰에는 번지지 않는다.
   ★법정 표시(바닥 .biz · .resp · .pw, 주문서 동의, 상품 고시, 이용 안내 개인정보)는 숨기지 않는다(display:none·글자 크기 0 금지).
   ★템플릿마다 바꾸는 값은 변수로: --t-bg 바탕 · --t-ink 글자 · --t-sub 흐린 글자 · --t-line 선 · --t-soft 옅은 면 · --t-dark 짙은 면 ·
     --t-card 상자 바탕 · --t-r 모서리 · --t-rl 큰 면 모서리 · --t-br 단추 모서리. 강조색 = 몰 대표색 --ml(셀러가 고름). */

.ml-shop.ml-t { --t-bg: #fff; --t-ink: #1F2328; --t-sub: #6B7280; --t-line: #E5E7EB; --t-soft: #F5F6F7; --t-dark: #171717; --t-card: #fff;
  --t-r: 8px; --t-rl: 14px; --t-br: 4px; background: var(--t-bg); color: var(--t-ink); }
.ml-t .ml-wrap { max-width: 1232px; }
.ml-t h1, .ml-t h2, .ml-t h3 { color: var(--t-ink); }
.ml-t main [id] { scroll-margin-top: 72px; }
.ml-t a:focus-visible, .ml-t button:focus-visible, .ml-t input:focus-visible { outline: 2px solid var(--ml); outline-offset: 2px; }
.ml-t .ml-i { position: relative; display: inline-grid; place-items: center; line-height: 1; }
.ml-t .ml-i .lp-ic { width: 22px; height: 22px; }
.ml-t .ml-i .n { position: absolute; right: -10px; top: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ml); color: var(--ml-ink);
  font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* ── 띠 · 머리 ─────────────────────────────────────────────────────────── */
.ml-t .ml-strip .ml-wrap { height: 36px; }
.ml-t .ml-head { background: var(--t-bg); }
.ml-t .ml-head .ml-wrap { height: 84px; gap: 28px; }
.ml-t .ml-brand b { color: var(--t-ink); font-size: 24px; }
.ml-t .th-search .ml-search { max-width: 620px; height: 48px; border-radius: var(--t-br); overflow: hidden; }
.ml-t .ml-tools { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.ml-t .ml-tools > a { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; margin: 0; font-size: 14px; font-weight: 600; color: var(--t-ink);
  white-space: nowrap; --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .ml-tools > a:hover { color: var(--ml); }
.ml-t .ml-tools .ml-cart .ml-i { margin-right: 6px; }
.ml-t .th-closed .ml-wrap { height: 72px; }
/* 가운데 이름형(개인몰) — 왼쪽 메뉴 3 · 가운데 이름 · 오른쪽 아이콘 */
.ml-t .th-center .ml-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; gap: 20px; }
.ml-t .ml-hmenu { display: flex; gap: 24px; font-size: 14px; }
.ml-t .ml-hmenu a { color: var(--t-ink); padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.ml-t .ml-hmenu a:hover, .ml-t .ml-hmenu a.on { border-bottom-color: currentColor; }
.ml-t .th-center .ml-brand { justify-self: center; }
.ml-t .th-center .ml-tools { justify-self: end; margin-left: 0; gap: 18px; }
/* 가운데 이름 + 오른쪽 글자 메뉴 + 아래 분류 줄(stack · 11/16 4차 카페24 1인 창업자형) — 색은 템플릿 모양 파일이 정한다 */
.ml-t .th-stack > .ml-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 20px; }
.ml-t .th-stack .ml-brand { grid-column: 2; justify-self: center; }
.ml-t .ml-tlinks { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 26px; font-size: 13px; letter-spacing: .04em; }
.ml-t .ml-tlinks a { display: inline-flex; align-items: center; gap: 6px; color: var(--t-ink); white-space: nowrap; border-bottom: 1px solid transparent; }
.ml-t .ml-tlinks a:hover, .ml-t .ml-tlinks a.on { border-bottom-color: currentColor; }
.ml-t .ml-tlinks .n { font-weight: 800; }
.ml-t .ml-tlinks .ml-burger .lp-ic { width: 16px; height: 16px; }
.ml-t .ml-stackcats .ml-wrap { display: flex; align-items: center; gap: 36px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.ml-t .ml-stackcats .ml-wrap::-webkit-scrollbar { display: none; }
.ml-t .ml-stackcats a { flex: none; padding: 5px 0; border-bottom: 1px solid transparent; color: var(--t-ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.ml-t .ml-stackcats a:hover, .ml-t .ml-stackcats a.on { border-bottom-color: currentColor; }

/* ── 메뉴 줄(«전체 카테고리» + 메뉴/분류) ─────────────────────────────── */
.ml-t .ml-menu { background: var(--t-bg); border-bottom: 1px solid var(--t-line); position: sticky; top: 0; z-index: 30; }
.ml-t .ml-menu .ml-wrap { display: flex; align-items: stretch; height: 52px; gap: 2px; }
.ml-t .ml-menu .ml-wrap > a, .ml-t .ml-catnav a { position: relative; display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 600;
  color: var(--t-ink); white-space: nowrap; }
.ml-t .ml-menu .ml-wrap > a:hover, .ml-t .ml-menu .ml-wrap > a.on, .ml-t .ml-catnav a:hover, .ml-t .ml-catnav a.on { color: var(--ml); }
.ml-t .ml-menu .ml-wrap > a.on::after, .ml-t .ml-catnav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--ml); }
.ml-t .ml-allcat { position: relative; display: flex; flex: none; margin-right: 12px; }
.ml-t .btn-allcat { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ml-t .btn-allcat .lp-ic { width: 18px; height: 18px; }
.ml-t .ml-allcat .drop { display: none; position: absolute; left: 0; top: 100%; z-index: 45; min-width: 260px; max-height: min(70vh, 560px); overflow: auto; padding: 6px 0;
  background: #fff; border: 1px solid var(--t-line); border-radius: 0 0 var(--t-r) var(--t-r); box-shadow: 0 16px 32px rgba(17, 24, 39, .12); }
@media (hover: hover) and (min-width: 961px) { .ml-t .ml-allcat:hover .drop { display: block; } }
.ml-t .ml-allcat .drop a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 18px; font-size: 14px; color: var(--t-ink); }
.ml-t .ml-allcat .drop a:hover { background: var(--t-soft); color: var(--ml); }
.ml-t .ml-allcat .drop small { font-size: 12px; color: var(--t-sub); }
.ml-t .ml-catnav { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ml-t .ml-catnav::-webkit-scrollbar { display: none; }

/* ── 카테고리·검색 창(:target) · 폰 아래 탭 ─────────────────────────────── */
.ml-t .ml-panel { display: none; position: fixed; inset: 0; z-index: 80; }
.ml-t .ml-panel:target { display: block; }
.ml-t .ml-panel .bg { position: absolute; inset: 0; background: rgba(17, 24, 39, .48); }
.ml-t .ml-panel .sheet { position: absolute; left: 50%; top: 72px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 144px);
  overflow: auto; background: #fff; color: #1F2328; border-radius: var(--t-rl); padding: 18px 22px 24px; }
.ml-t .ml-panel .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ml-t .ml-panel .hd b { font-size: 18px; font-weight: 800; }
.ml-t .ml-panel .x { font-size: 14px; color: #6B7280; padding: 6px 2px; }
.ml-t .ml-panel .pcats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.ml-t .ml-panel .pcats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 2px; border-bottom: 1px solid #EEF0F2; font-size: 15px; color: #1F2328; }
.ml-t .ml-panel .pcats a:hover { color: var(--ml); }
.ml-t .ml-panel .pcats small { font-size: 12px; color: #9CA3AF; }
.ml-t .ml-panel .ml-search { max-width: none; height: 50px; border-radius: var(--t-br); overflow: hidden; }
.ml-t .ml-btabs { display: none; }

/* ── 구역 공통 ────────────────────────────────────────────────────────── */
.ml-t .tb { margin-top: 56px; }
.ml-t .tb-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ml-t .tb-h h2 { font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.ml-t .tb-h .more { flex: none; font-size: 13px; color: var(--t-sub); }
.ml-t .tb-h .more:hover { color: var(--ml); }
.ml-t .tb-row .tb-items, .ml-t .tb-cattabs .tb-items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.ml-t .tb-catphotos .cp { display: contents; }     /* 분류 사진 감싸개 — 상자를 만드는 템플릿만 모양 파일에서 연다(종합몰: 둥근 회색 면) */

/* 상품 칸(템플릿) — 사진 · (분류) · 이름 · 값 */
.ml-t .ml-card .thumb { border: 0; border-radius: var(--t-r); background: var(--t-soft); }
.ml-t .ml-card:hover .thumb { border-color: transparent; }
.ml-t .ml-card .body { padding-top: 12px; gap: 3px; }
.ml-t .ml-card .cat { font-size: 12px; color: var(--t-sub); }
.ml-t .ml-card .name { color: var(--t-ink); }
.ml-t .ml-card .price { color: var(--t-ink); font-size: 17px; }
.ml-t .ml-card .rk { position: absolute; left: 8px; top: 8px; z-index: 1; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center;
  border-radius: 4px; background: var(--t-dark); color: #fff; font-size: 13px; font-weight: 800; }
.ml-t .ml-card .rk ~ .ml-sold { left: auto; right: 0; }

/* 전체 상품 목록(왼쪽 세로 분류는 tpl.list_side) */
.ml-t .tb-list .ml-sec { margin-top: 56px; }
.ml-t .tb-list .ml-crumb + .ml-sec, .ml-t .tb-list .ml-subcats + .ml-sec { margin-top: 20px; }
.ml-t .tb-list .ml-sec h2 small { color: var(--ml); font-weight: 700; }
.ml-t .tb-list.has-side .lb { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.ml-t .tb-list .side { position: sticky; top: 68px; display: flex; flex-direction: column; border: 1px solid var(--t-line); border-radius: var(--t-r); overflow: hidden; background: var(--t-card); }
.ml-t .tb-list .side a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; font-size: 14px; color: var(--t-ink); border-top: 1px solid var(--t-line); }
.ml-t .tb-list .side a:first-child, .ml-t .tb-list .side .sh + a { border-top: 0; }
.ml-t .tb-list .side .sh { display: block; padding: 14px 16px; background: var(--t-dark); color: #fff; font-size: 14px; font-weight: 800; }
.ml-t .tb-list .side a:hover { color: var(--ml); }
.ml-t .tb-list .side a.on { background: var(--ml-soft); color: var(--ml); font-weight: 700; }
.ml-t .tb-list .side i { font-style: normal; opacity: 0; }
.ml-t .tb-list .side a.on i { opacity: 1; }
.ml-t .ml-grid { gap: 36px 20px; }
.ml-t .ml-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ml-t .ml-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-t .ml-grid.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ml-t .ml-pager a, .ml-t .ml-pager span { border-radius: var(--t-br); border-color: var(--t-line); background: var(--t-card); }
.ml-t .ml-empty { border-color: var(--t-line); border-radius: var(--t-r); background: var(--t-card); }

/* ── 안쪽 화면(상세·장바구니·주문서·조회·안내) — 짜임은 그대로, 색·모서리만 ─── */
.ml-t .ml-btn { border-radius: var(--t-br); }
.ml-t .ml-btn.line { background: var(--t-card); border-color: var(--t-line); color: var(--t-ink); }
.ml-t .ml-btn.line:hover { border-color: var(--ml); color: var(--ml); }
.ml-t .ml-box { border-color: var(--t-line); border-radius: var(--t-r); background: var(--t-card); }
.ml-t .ml-box .ml-note { background: none; border: 0; border-top: 1px solid var(--t-line); border-radius: 0; }
.ml-t .ml-note { border-radius: var(--t-r); border-color: var(--t-line); background: var(--t-card); }
.ml-t .ml-boxfoot { background: var(--t-soft); border-top-color: var(--t-line); }
.ml-t .ml-pagehead { border-bottom-color: var(--t-ink); }
.ml-t .ml-gal .main, .ml-t .ml-gal .more label { border-radius: var(--t-r); border-color: var(--t-line); }
.ml-t .ml-pricebox { border-top-color: var(--t-ink); border-bottom-color: var(--t-line); }
.ml-t .ml-facts dt, .ml-t .ml-facts dd { border-top-color: var(--t-line); }
.ml-t .ml-opt { border-color: var(--t-line); background: var(--t-card); }
.ml-t .ml-ptabs { background: var(--t-bg); top: 52px; border-bottom-color: var(--t-line); }
.ml-t .ml-desc .html, .ml-t .ml-desc .imgs, .ml-t .ml-desc > .muted, .ml-t .ml-desc table.notice, .ml-t .ml-desc .ml-g3 { border-top-color: var(--t-ink); }
.ml-t .ml-lines .im img, .ml-t .ml-lines .im .ph { border-radius: 6px; }
.ml-t .ml-side { top: 72px; }
.ml-t .ml-urlbox { border-color: var(--t-line); border-radius: var(--t-r); background: var(--t-card); }
.ml-t .ml-status { border-radius: var(--t-r); overflow: hidden; }
.ml-t .ml-form .in { border-radius: 6px; }

/* ── 바닥 — 내용은 기본과 같은 한 벌(mall/_base.html), 놓는 자리만 다르다 ─────── */
.ml-t .ml-foot { background: var(--t-soft); border-top: 0; margin-top: 88px; padding: 40px 0 44px; color: var(--t-sub); }
.ml-t .ml-foot .biz b { color: var(--t-ink); }
/* 가로 3칸(전문몰·종합몰): 이름·링크 | 사업자 정보 | 고객센터 큰 번호 / 판매자 고지 */
.ml-t .tf-wide .ml-wrap { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto; grid-template-areas: "brand biz cs" "links biz cs" "resp resp resp" "pw pw pw";
  column-gap: 40px; row-gap: 12px; align-items: start; }
.ml-t .tf-wide .top, .ml-t .tf-wide .who { display: contents; }
.ml-t .tf-wide .ml-brand { grid-area: brand; }
.ml-t .tf-wide .links { grid-area: links; }
.ml-t .tf-wide .biz { grid-area: biz; }
.ml-t .tf-wide .csbox { grid-area: cs; text-align: right; min-width: 0; }
.ml-t .tf-wide .csbox b { font-size: 30px; letter-spacing: .01em; }
.ml-t .tf-wide .resp { grid-area: resp; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--t-line); }
.ml-t .tf-wide .pw { grid-area: pw; margin-top: 0; }
/* 가운데 정렬(개인몰) */
.ml-t .tf-center { text-align: center; }
.ml-t .tf-center .top { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 12px; border-bottom-color: var(--t-line); }
.ml-t .tf-center .who { align-items: center; }
.ml-t .tf-center .links { justify-content: center; }
.ml-t .tf-center .csbox { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; }
.ml-t .tf-center .csbox b { font-size: 17px; margin: 0; }
.ml-t .tf-center .biz { justify-content: center; }

/* ── 넓이별 ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ml-t .tb-row .tb-items, .ml-t .tb-cattabs .tb-items, .ml-t .ml-grid.c4, .ml-t .ml-grid.c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ml-t .tb-list.has-side .lb { display: block; }
  .ml-t .tb-list .side { display: none; }
  .ml-t .tf-wide .ml-wrap { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cs" "links cs" "biz biz" "resp resp" "pw pw"; }
}
@media (max-width: 640px) {
  .ml-shop.ml-t { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .ml-t main [id] { scroll-margin-top: 56px; }
  .ml-t .ml-strip .ml-wrap { height: 32px; }
  .ml-t .ml-head .ml-wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px 14px; }
  .ml-t .ml-brand b { font-size: 20px; max-width: 210px; }
  .ml-t .th-search .ml-search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .ml-t .ml-tools { gap: 16px; }
  .ml-t .ml-tools .t { display: none; }
  .ml-t .th-stack > .ml-wrap { height: 58px; }
  .ml-t .ml-tlinks { display: none; }
  .ml-t .ml-stackcats .ml-wrap { gap: 22px; height: 42px; }
  .ml-t .th-center .ml-wrap { grid-template-columns: 1fr auto 1fr; grid-template-areas: ". brand tools" "menu menu menu"; padding-top: 14px; padding-bottom: 0; gap: 6px 10px; }
  .ml-t .th-center .ml-brand { grid-area: brand; } .ml-t .th-center .ml-tools { grid-area: tools; }
  .ml-t .ml-hmenu { grid-area: menu; justify-content: center; gap: 20px; padding: 6px 0 10px; font-size: 14px; }
  .ml-t .ml-menu .ml-wrap { height: 46px; overflow-x: auto; scrollbar-width: none; }
  .ml-t .ml-menu .ml-wrap::-webkit-scrollbar { display: none; }
  .ml-t .ml-menu .ml-wrap > a, .ml-t .ml-catnav a { padding: 0 11px; font-size: 14px; }
  .ml-t .ml-menu .ml-wrap > a.on::after, .ml-t .ml-catnav a.on::after { left: 11px; right: 11px; }
  .ml-t .ml-allcat { margin-right: 4px; }
  .ml-t .btn-allcat { padding: 0 14px; }
  .ml-t .btn-allcat .t { display: none; }
  .ml-t .ml-panel .sheet { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 80vh; border-radius: 16px 16px 0 0;
    padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); }
  .ml-t .ml-btabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid #E5E7EB; }
  .ml-t .ml-btabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: #1F2328;
    --icl: #1F2328; --icl2: var(--ml); }
  .ml-t .tb { margin-top: 40px; }
  .ml-t .tb-h { margin-bottom: 14px; }
  .ml-t .tb-h h2 { font-size: 19px; }
  /* 상품 줄은 가로로 밀어 본다(칸 수와 상관없이 빈칸이 안 보이게) */
  .ml-t .tb-row .tb-items, .ml-t .tb-cattabs .tb-items { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 4px; }
  .ml-t .tb-row .tb-items::-webkit-scrollbar, .ml-t .tb-cattabs .tb-items::-webkit-scrollbar { display: none; }
  .ml-t .tb-row .tb-items > *, .ml-t .tb-cattabs .tb-items > * { scroll-snap-align: start; }
  .ml-t .ml-grid.c3, .ml-t .ml-grid.c4, .ml-t .ml-grid.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .ml-t .tb-list .ml-sec { margin-top: 40px; }
  .ml-t .ml-ptabs { top: 46px; }
  .ml-t .ml-foot { margin-top: 64px; padding: 28px 0 32px; }
  .ml-t .tf-wide .ml-wrap { display: block; }
  .ml-t .tf-wide .top { display: flex; flex-direction: column; gap: 14px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--t-line); }
  .ml-t .tf-wide .who { display: flex; flex-direction: column; gap: 10px; }
  .ml-t .tf-wide .csbox { text-align: left; }
  .ml-t .tf-wide .csbox b { font-size: 22px; }
  .ml-t .tf-wide .resp { margin-top: 10px; padding-top: 0; border-top: 0; }
  .ml-t .tf-wide .pw { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ml-t .tb-row .tb-items { scroll-snap-type: none; } }

/* ── 카테고리 메뉴 모양(셀러가 고름 · 뿌리 data-nav — 11/16 대표님 «지금 해») ───────────────
   top 위쪽 가로 줄(위 «메뉴 줄» 그대로) · mega 전체 카테고리 펼침 · side 왼쪽 세로 메뉴 · icons 아이콘 줄 · burger 메뉴 버튼만.
   ★폰(640px 아래)은 어느 모양이든 아래 탭 «카테고리»가 같은 창(#m-cats)을 연다. */
/* 전체 카테고리 펼침 — «전체 카테고리»에 올리면 대분류 칸마다 중분류 목록 */
.ml-t .ml-allcat .drop.mega { width: max-content; max-width: min(1184px, calc(100vw - 48px)); max-height: min(72vh, 620px); padding: 26px 32px 30px;
  grid-template-columns: repeat(var(--mc, 6), minmax(140px, 184px)); gap: 26px 36px; }   /* --mc = 대분류 수(최대 6 — 넘으면 다음 줄) */
@media (hover: hover) and (min-width: 961px) { .ml-t .ml-allcat:hover .drop.mega { display: grid; } }
.ml-t .drop.mega .col { display: flex; flex-direction: column; min-width: 0; }
.ml-t .drop.mega .col a { display: block; padding: 5px 0; font-size: 14px; color: var(--t-sub); }
.ml-t .drop.mega .col a.h { padding: 0 0 9px; margin-bottom: 6px; border-bottom: 1px solid var(--t-line); font-size: 15px; font-weight: 800; color: var(--t-ink); }
.ml-t .drop.mega .col a:hover { background: none; color: var(--ml); }
/* 아이콘 줄 — 머리 아래 둥근 아이콘 + 분류 이름(넘치면 옆으로 밀어 봄) */
.ml-t .ml-iconnav { background: var(--t-bg); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.ml-t .ml-iconnav .ml-wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 18px; padding-bottom: 14px; }
.ml-t .ml-iconnav .ml-wrap::-webkit-scrollbar { display: none; }
.ml-t .ml-iconnav a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; color: var(--t-ink); --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .ml-iconnav a:first-child { margin-left: auto; }
.ml-t .ml-iconnav a:last-child { margin-right: auto; }
.ml-t .ml-iconnav .ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--t-soft); }
.ml-t .ml-iconnav .ic .lp-ic { width: 28px; height: 28px; }
.ml-t .ml-iconnav b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.ml-t .ml-iconnav a:hover .ic, .ml-t .ml-iconnav a.on .ic { background: var(--ml-soft); }
.ml-t .ml-iconnav a.on b { color: var(--ml); font-weight: 800; }
/* 메뉴 버튼만 — 메뉴 줄 없이 머리 오른쪽 «카테고리»(가운데 이름형 머리에서는 아이콘만) */
.ml-t .th-center .ml-burger .t { display: none; }
/* 왼쪽 세로 메뉴 — 상품 목록 화면 본문을 두 칸으로(mall/_base.html) */
.ml-t .ml-sidewrap { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 40px; align-items: start; }
.ml-t .ml-sidebody { min-width: 0; }
.ml-t .ml-sidebody .ml-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.ml-t .ml-sidecats { position: sticky; top: 16px; display: flex; flex-direction: column; margin-top: 32px; border-top: 2px solid var(--t-ink); }
.ml-t .ml-sidecats a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--t-line); font-size: 14px; color: var(--t-ink); }
.ml-t .ml-sidecats a:hover { color: var(--ml); }
.ml-t .ml-sidecats a.on { color: var(--ml); font-weight: 800; }
@media (max-width: 960px) {
  .ml-t .ml-sidewrap { display: block; }
  .ml-t .ml-sidecats { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0; border-top: 0; border-bottom: 1px solid var(--t-line); }
  .ml-t .ml-sidecats::-webkit-scrollbar { display: none; }
  .ml-t .ml-sidecats a { flex: none; padding: 13px 12px; border-bottom: 0; white-space: nowrap; }
  .ml-t .ml-sidecats a.on { box-shadow: inset 0 -3px var(--ml); }
}
@media (max-width: 640px) {
  .ml-t .ml-iconnav .ml-wrap { gap: 2px; padding-top: 14px; padding-bottom: 10px; }
  .ml-t .ml-iconnav a { width: 74px; gap: 6px; }
  .ml-t .ml-iconnav .ic { width: 52px; height: 52px; }
  .ml-t .ml-iconnav .ic .lp-ic { width: 24px; height: 24px; }
  .ml-t .ml-iconnav b { font-size: 12px; }
}

/* ── 모양 느낌(셀러가 고름 · 뿌리 data-tone) — 템플릿 모양 파일보다 앞서게 [data-mall-template] 을 하나 더 붙인다 ───
   modern 모던(각진 모서리 · 굵은 글자) · soft 부드러운(둥근 모서리 · 알약 단추) · classic 클래식(얇은 선 · 가는 글자). 색은 바꾸지 않는다. */
.ml-shop.ml-t[data-mall-template][data-tone="modern"] { --t-r: 0px; --t-rl: 0px; --t-br: 0px; }
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-search,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-search button,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-btn,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-tabs label,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-card .rk,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-allcat .drop,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-guide4 a,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-catcards a,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-iconnav .ic,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-hero.auto .pics a,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-ownhero .ph,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-card .thumb,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-catphotos .cp { border-radius: 0; }
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .tb-h h2 { font-weight: 900; letter-spacing: -.05em; }
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-catnav a,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-menu .ml-wrap > a,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .btn-allcat,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-sidecats a { font-weight: 800; }
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-catnav a.on::after,
.ml-shop.ml-t[data-mall-template][data-tone="modern"] .ml-menu .ml-wrap > a.on::after { height: 4px; }

.ml-shop.ml-t[data-mall-template][data-tone="soft"] { --t-r: 16px; --t-rl: 24px; --t-br: 999px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-search,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-search button,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-btn,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-tabs label { border-radius: 999px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-card .thumb,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-guide4 a,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-catcards a,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-hero.auto .pics a,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-ownhero .ph { border-radius: 16px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-allcat .drop { border-radius: 0 0 16px 16px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-card .rk { border-radius: 12px; left: 8px; top: 8px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .tb-h h2 { font-weight: 700; letter-spacing: -.02em; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-catnav a.on::after,
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-menu .ml-wrap > a.on::after { height: 3px; border-radius: 3px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-sidecats { border-top: 0; gap: 4px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-sidecats a { border-bottom: 0; padding: 11px 16px; border-radius: 12px; }
.ml-shop.ml-t[data-mall-template][data-tone="soft"] .ml-sidecats a.on { background: var(--ml-soft); }

.ml-shop.ml-t[data-mall-template][data-tone="classic"] { --t-r: 0px; --t-rl: 0px; --t-br: 0px; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-search,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-search button,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-btn,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-tabs label,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-card .rk,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-allcat .drop,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-guide4 a,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-catcards a,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-iconnav .ic,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-hero.auto .pics a,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-ownhero .ph { border-radius: 0; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .th-search .ml-search { border-width: 1px; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-card .thumb { border: 1px solid var(--t-line); border-radius: 0; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-catphotos .cp { border-radius: 0; background: none; border: 1px solid var(--t-line); }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-iconnav .ic { background: none; border: 1px solid var(--t-line); }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .tb-h h2 { font-weight: 500; letter-spacing: .01em; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-catnav a,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-menu .ml-wrap > a,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .btn-allcat,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-sidecats a { font-weight: 500; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-catnav a.on::after,
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-menu .ml-wrap > a.on::after { height: 1px; }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-menu { border-bottom-color: var(--t-ink); }
.ml-shop.ml-t[data-mall-template][data-tone="classic"] .ml-sidecats { border-top-width: 1px; }

/* ── 11/17 템플릿 8개 공통 짜임(대표님 «8개 … 이게 최선이야?») — 색·글자·여백은 템플릿 모양 파일이 정한다 ───────────── */
/* 메인 배너(hero_slider) 짜임 — 모든 템플릿 공통(종합몰 1 은 자기 파일이 더 덮음) */
.ml-t .tb-hero { margin-top: 0; position: relative; background: var(--t-soft); }
.ml-t .tb-hero .hs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ml-t .tb-hero .hs-track::-webkit-scrollbar { display: none; }
.ml-t .tb-hero .hs-slide { flex: 0 0 100%; height: clamp(360px, 40vw, 640px); scroll-snap-align: start; }
.ml-t .tb-hero .hs-slide a { display: block; height: 100%; }
.ml-t .tb-hero .hs-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .tb-hero .hs-ctl { position: absolute; z-index: 2; bottom: 26px; right: max(24px, calc((100% - 1232px) / 2 + 24px)); display: flex; align-items: center; gap: 4px;
  padding: 4px 6px; background: rgba(17, 17, 17, .5); border-radius: 20px; color: #fff; font-size: 13px; }
.ml-t .tb-hero .hs-ctl button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ml-t .tb-hero .hs-ctl button:hover { background: rgba(255, 255, 255, .18); }
.ml-t .tb-hero .hs-n { padding: 0 4px; font-variant-numeric: tabular-nums; }
.ml-t .tb-hero .hs-n i { margin: 0 6px; font-style: normal; opacity: .55; }
/* 배너 위 몰 이름 상자(tpl.hero_copy) */
.ml-t .tb-hero .hs-copy { position: absolute; z-index: 1; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; }
.ml-t .tb-hero .hs-copy .hc { max-width: 480px; pointer-events: auto; }
.ml-t .tb-hero .hs-copy h1 { margin: 0 0 12px; color: inherit; font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .tb-hero .hs-copy p { margin: 0 0 26px; font-size: 16px; line-height: 1.6; word-break: keep-all; }
.ml-t .tb-hero .hs-copy .ml-btn { height: 46px; padding: 0 24px; }
/* 배너가 없을 때(손님 몰) — 옅은 띠 + 큰 이름 + 상품 사진 */
.ml-t .tb-hero.auto .ml-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; min-height: clamp(320px, 28vw, 440px);
  padding-top: 44px; padding-bottom: 44px; }
.ml-t .tb-hero.auto h1 { margin: 0 0 14px; font-size: 44px; font-weight: 800; letter-spacing: -.045em; line-height: 1.15; word-break: keep-all; }
.ml-t .tb-hero.auto p { margin: 0 0 28px; font-size: 17px; color: var(--t-sub); line-height: 1.6; word-break: keep-all; }
.ml-t .tb-hero.auto .ml-btn { height: 48px; padding: 0 26px; }
.ml-t .tb-hero.auto .pics { display: flex; align-items: center; gap: 16px; }
.ml-t .tb-hero.auto .pics a { display: block; width: 200px; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border-radius: var(--t-r); }
.ml-t .tb-hero.auto .pics img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }

/* 머리 inline — 왼쪽 이름 + 가운데 분류 한 줄 + 오른쪽 검색·장바구니 */
.ml-t .th-inline > .ml-wrap { display: flex; align-items: center; height: 76px; gap: 36px; }
.ml-t .ml-inlinecats { display: flex; align-items: center; gap: 28px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ml-t .ml-inlinecats::-webkit-scrollbar { display: none; }
.ml-t .ml-inlinecats a { flex: none; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--t-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.ml-t .ml-inlinecats a:hover, .ml-t .ml-inlinecats a.on { border-bottom-color: currentColor; }
.ml-t .th-inline .ml-tools { gap: 18px; }

/* 둥근 아이콘 분류 줄(cat_icons) */
.ml-t .tb-caticons { margin-top: 40px; }
.ml-t .tb-caticons .icrow { display: flex; justify-content: center; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ml-t .tb-caticons .icrow::-webkit-scrollbar { display: none; }
.ml-t .tb-caticons a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 88px; color: var(--t-ink); --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .tb-caticons .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--t-soft); }
.ml-t .tb-caticons .ic .lp-ic { width: 28px; height: 28px; }
.ml-t .tb-caticons a.all .ic { background: var(--ml); --icl: var(--ml-ink); --icl2: var(--ml-ink); }
.ml-t .tb-caticons b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.ml-t .tb-caticons a:hover b { color: var(--ml); }

/* 큰 사진 + 신상품 목록(feature_new) */
.ml-t .tb-feature .fb { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.ml-t .tb-feature .ph { min-height: 420px; overflow: hidden; border-radius: var(--t-r); background: var(--t-soft); }
.ml-t .tb-feature .ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .tb-feature .fl { display: flex; flex-direction: column; }
.ml-t .tb-feature .fi { display: flex; align-items: center; gap: 18px; flex: 1; padding: 14px 0; border-bottom: 1px solid var(--t-line); color: var(--t-ink); }
.ml-t .tb-feature .fi:first-child { padding-top: 0; }
.ml-t .tb-feature .th { flex: none; width: 104px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--t-r); background: var(--t-soft); }
.ml-t .tb-feature .th img { width: 100%; height: 100%; object-fit: cover; }
.ml-t .tb-feature .tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ml-t .tb-feature .tx b { font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-t .tb-feature .tx em { font-style: normal; font-size: 17px; font-weight: 800; }
.ml-t .tb-feature .tx em small { margin-left: 3px; font-size: 12px; font-weight: 500; color: var(--t-sub); }
.ml-t .tb-feature .tx .off { font-size: 12px; color: var(--t-sub); }
.ml-t .tb-feature .fi:hover b { color: var(--ml); }

/* 실제 숫자 칸(stats) */
.ml-t .tb-stats .sx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.ml-t .tb-stats .sx > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 12px; text-align: center; }
.ml-t .tb-stats .sx > div + div { border-left: 1px solid var(--t-line); }
.ml-t .tb-stats b { font-size: 40px; font-weight: 300; letter-spacing: -.02em; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.ml-t .tb-stats b i { margin-left: 4px; font-size: 16px; font-style: normal; font-weight: 600; }
.ml-t .tb-stats b.tel { font-size: 30px; font-weight: 600; }
.ml-t .tb-stats small { font-size: 13px; color: var(--t-sub); }

@media (max-width: 960px) {
  .ml-t .th-inline > .ml-wrap { gap: 20px; }
  .ml-t .ml-inlinecats { gap: 18px; }
  .ml-t .tb-hero .hs-copy h1 { font-size: 34px; }
  .ml-t .tb-hero.auto .ml-wrap { grid-template-columns: 1fr; gap: 26px; }
  .ml-t .tb-hero.auto .pics a { width: 150px; }
  .ml-t .tb-feature .fb { grid-template-columns: 1fr; }
  .ml-t .tb-feature .ph { min-height: 280px; }
}
@media (max-width: 640px) {
  .ml-t .th-inline > .ml-wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 0; gap: 8px 14px; }
  .ml-t .ml-inlinecats { order: 3; flex-basis: 100%; gap: 20px; height: 42px; }
  .ml-t .tb-hero .hs-slide { height: 112vw; max-height: 520px; }
  .ml-t .tb-hero .hs-copy { align-items: flex-end; padding-bottom: 64px; }
  .ml-t .tb-hero .hs-copy .hc { max-width: 100%; }
  .ml-t .tb-hero .hs-copy h1 { font-size: 28px; }
  .ml-t .tb-hero .hs-copy p { margin-bottom: 18px; font-size: 14px; }
  .ml-t .tb-hero .hs-copy .ml-btn { height: 42px; padding: 0 18px; font-size: 14px; }
  .ml-t .tb-hero .hs-ctl { bottom: 14px; right: 14px; font-size: 12px; }
  .ml-t .tb-hero.auto .ml-wrap { min-height: 0; padding-top: 30px; padding-bottom: 30px; }
  .ml-t .tb-hero.auto h1 { font-size: 30px; }
  /* 11/20 고침: 배너 없는 첫 띠의 상품 사진 3장(150px 고정)이 폰 390 폭에서 오른쪽으로 108px 넘쳤다 — 폭을 나눠 갖게(셀러·공급사 몰에도 있던 것) */
  .ml-t .tb-hero.auto .pics { gap: 10px; }
  .ml-t .tb-hero.auto .pics a { width: auto; flex: 1 1 0; min-width: 0; max-width: 150px; }
  .ml-t .tb-caticons { margin-top: 26px; }
  .ml-t .tb-caticons .icrow { justify-content: flex-start; }
  .ml-t .tb-caticons a { width: 70px; }
  .ml-t .tb-caticons .ic { width: 54px; height: 54px; }
  .ml-t .tb-feature .ph { min-height: 220px; }
  .ml-t .tb-feature .th { width: 84px; }
  .ml-t .tb-stats .sx > div { padding: 22px 6px; }
  .ml-t .tb-stats b { font-size: 26px; }
  .ml-t .tb-stats b.tel { font-size: 15px; }
}

/* 분류 탭 진열(cat_tabs) 전환 짜임 — 모든 템플릿 공통(라디오 + CSS · 스크립트 없음). 탭 모양은 템플릿 모양 파일이 정한다 */
.ml-t .tb-cattabs .ml-wrap { position: relative; }
.ml-t .tt-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ml-t .tb-cattabs .tb-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.ml-t .tb-cattabs .tb-tabs label { padding: 9px 18px; border: 1px solid var(--t-line); background: #fff; color: var(--t-sub); font-size: 14px; font-weight: 600; cursor: pointer;
  white-space: nowrap; border-radius: var(--t-br); }
.ml-t .tt-p { display: none; }
.ml-t #tt1:checked ~ .p1, .ml-t #tt2:checked ~ .p2, .ml-t #tt3:checked ~ .p3, .ml-t #tt4:checked ~ .p4, .ml-t #tt5:checked ~ .p5 { display: block; }
.ml-t #tt1:checked ~ .tb-tabs label[for="tt1"], .ml-t #tt2:checked ~ .tb-tabs label[for="tt2"], .ml-t #tt3:checked ~ .tb-tabs label[for="tt3"],
.ml-t #tt4:checked ~ .tb-tabs label[for="tt4"], .ml-t #tt5:checked ~ .tb-tabs label[for="tt5"] { background: var(--t-ink); border-color: var(--t-ink); color: #fff; }
.ml-t .tt-r:focus-visible ~ .tb-tabs { outline: 2px solid var(--ml); outline-offset: 4px; }
.ml-t .tt-more { margin-top: 34px; text-align: center; }
.ml-t .tt-more .ml-btn { min-width: 200px; height: 46px; }

/* ══ 11/20 템플릿 20개 공통 짜임(대표님 «카테고리 보이는게 상단에만 있는게 아니라 좌측에도 있고 좀 더 구성잡히게 … 전문몰 느낌») ══════════════════
   새 틀 2(세로 머리 head="side" · 왼쪽 카테고리 상자 tpl.side) + 새 첫 구역 6 + 새 진열 구역 7 의 «칸 나눔 · 넘김 · 좁은 화면에서 접힘»만 여기서 정한다.
   색·글자·여백·모서리는 템플릿 모양 파일(mall_t_<열쇠>.css)이 변수(--t-*)와 같은 칸 이름으로 덮는다(여기 규칙은 무게를 낮게 — .ml-t 한 번).
   ★넓은 화면 = 961px 위 · 좁은 화면 = 960px 아래(왼쪽 카테고리는 옆으로 미는 줄로 접힌다 — 폰은 아래 탭 «카테고리» 창이 늘 같이 있다).
   ★고객센터를 다시 보여 주는 칸(.sd-cs · .cx-cs · .ch-info .cc)은 좁은 화면에서 접어도 된다 — 법정 표시(바닥 .csbox · .biz · .resp · .pw)는 그대로 있다. */

/* 배너 넘김 칸(.hs-box) — 메인 배너(.tb-hero)와 같은 넘김을 다른 첫 구역 안에서도 쓴다(static/js/mall_tpl.js 는 [data-hero] 안 .hs-track 을 넘긴다) */
.ml-t .hs-box { position: relative; overflow: hidden; background: var(--t-soft); }
.ml-t .hs-box .hs-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ml-t .hs-box .hs-track::-webkit-scrollbar { display: none; }
.ml-t .hs-box .hs-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.ml-t .hs-box .hs-slide a { display: block; height: 100%; }
.ml-t .hs-box .hs-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .hs-box .hs-ctl { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 4px 6px; background: rgba(17, 17, 17, .5);
  border-radius: 20px; color: #fff; font-size: 13px; }
.ml-t .hs-box .hs-ctl button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ml-t .hs-box .hs-ctl button:hover { background: rgba(255, 255, 255, .18); }
.ml-t .hs-box .hs-n { padding: 0 4px; font-variant-numeric: tabular-nums; }
.ml-t .hs-box .hs-n i { margin: 0 6px; font-style: normal; opacity: .55; }
/* 상품 사진으로 채운 칸(.ph) — 흰 바탕 상품 사진이 면과 이어지게 */
.ml-t .ppi { display: block; overflow: hidden; }
.ml-t .ppi img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; }

/* ── 세로 머리(head="side") — 좁은 화면 기본: 위쪽 한 줄(이름 + 검색·장바구니) + 옆으로 미는 분류 줄 ── */
.ml-t .th-side { border-bottom: 1px solid var(--t-line); }
.ml-t .th-side .sd-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; padding: 14px 16px 0; }
.ml-t .th-side .ml-brand { flex: 1; min-width: 0; }
.ml-t .th-side .ml-tools { margin-left: auto; gap: 18px; }
.ml-t .th-side .sd-find, .ml-t .th-side .sd-links, .ml-t .th-side .sd-cs { display: none; }
.ml-t .th-side .sd-cats { flex-basis: 100%; display: flex; align-items: center; gap: 22px; height: 46px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.ml-t .th-side .sd-cats::-webkit-scrollbar { display: none; }
.ml-t .th-side .sd-cats a { flex: none; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--t-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.ml-t .th-side .sd-cats a:hover, .ml-t .th-side .sd-cats a.on { border-bottom-color: currentColor; }
.ml-t .th-side .sd-cats small { display: none; }
@media (min-width: 961px) {
  /* 넓은 화면: 왼쪽에 서 있는 칸(--sd-w) + 오른쪽 본문. 띠·메뉴 줄·본문·바닥이 모두 오른쪽 칸으로 간다(미리보기 띠만 가로 전체). */
  .ml-shop.ml-t.ml-sidefrm { display: grid; grid-template-columns: var(--sd-w, 248px) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "pv pv" "side strip" "side nav" "side main" "side foot"; }
  .ml-t.ml-sidefrm > .ml-preview { grid-area: pv; }
  .ml-t.ml-sidefrm > .ml-strip { grid-area: strip; }
  .ml-t.ml-sidefrm > .th-side { grid-area: side; position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; scrollbar-width: thin;
    border-bottom: 0; border-right: 1px solid var(--t-line); }
  .ml-t.ml-sidefrm > .ml-menu, .ml-t.ml-sidefrm > .ml-iconnav { grid-area: nav; }
  .ml-t.ml-sidefrm > main { grid-area: main; min-width: 0; }
  .ml-t.ml-sidefrm > .ml-foot { grid-area: foot; }
  .ml-t.ml-sidefrm .ml-wrap { padding-left: 40px; padding-right: 40px; }
  .ml-t .th-side .sd-in { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; min-height: 100%; padding: 44px 28px 28px; }
  .ml-t .th-side .ml-brand { flex: none; }
  .ml-t .th-side .ml-brand b { max-width: none; white-space: normal; line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
  .ml-t .th-side .ml-tools { display: none; }
  .ml-t .th-side .sd-find { display: flex; flex: none; max-width: none; height: 40px; margin-top: 28px; border: 1px solid var(--t-line); border-radius: var(--t-br); overflow: hidden; }
  .ml-t .th-side .sd-find input { padding: 0 12px; font-size: 13px; }
  .ml-t .th-side .sd-find button { width: 54px; background: var(--t-ink); color: #fff; font-size: 13px; }
  .ml-t .th-side .sd-cats { flex: none; flex-direction: column; align-items: stretch; gap: 0; height: auto; margin-top: 28px; overflow: visible; }
  .ml-t .th-side .sd-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--t-line);
    font-size: 15px; font-weight: 500; white-space: normal; }
  .ml-t .th-side .sd-cats a:first-child { font-weight: 800; }
  .ml-t .th-side .sd-cats a:hover, .ml-t .th-side .sd-cats a.on { border-bottom-color: var(--t-line); color: var(--ml); }
  .ml-t .th-side .sd-cats a.on { font-weight: 800; }
  .ml-t .th-side .sd-cats small { display: inline; flex: none; font-size: 12px; color: var(--t-sub); font-variant-numeric: tabular-nums; }
  .ml-t .th-side .sd-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 28px; font-size: 13px; }
  .ml-t .th-side .sd-links a { color: var(--t-sub); }
  .ml-t .th-side .sd-links a:hover, .ml-t .th-side .sd-links a.on { color: var(--t-ink); }
  .ml-t .th-side .sd-links .n { margin-left: 6px; font-weight: 800; color: var(--ml); }
  .ml-t .th-side .sd-cs { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 32px; }
  .ml-t .th-side .sd-cs small { font-size: 12px; color: var(--t-sub); }
  .ml-t .th-side .sd-cs b { font-size: 18px; font-weight: 800; letter-spacing: .01em; color: var(--t-ink); }
  .ml-t .th-side .sd-cs span { font-size: 12px; color: var(--t-sub); }
  .ml-t.ml-sidefrm .ml-ptabs { top: 0; }
}

/* ── 왼쪽 카테고리 상자(메뉴 모양 side + tpl.side — box 그림·상품 수 · tree 중분류) ── */
.ml-t .ml-sidecol { min-width: 0; }
.ml-t .ml-sidecol .sh, .ml-t .ml-sidecol .ic, .ml-t .ml-sidecol small, .ml-t .ml-sidecol .sub, .ml-t .ml-sidecol .sd-cs { display: none; }   /* 좁은 화면: 분류 이름 줄만 */
@media (min-width: 961px) {
  .ml-t .ml-sidewrap.sw-box, .ml-t .ml-sidewrap.sw-tree { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .ml-t .ml-sidecol { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
  .ml-t .ml-sidecol .ml-sidecats { position: static; flex: none; margin-top: 0; border: 1px solid var(--t-line); border-radius: var(--t-r); overflow: hidden; background: var(--t-card); }
  .ml-t .ml-sidecol .sh { display: flex; align-items: center; gap: 9px; padding: 14px 16px; background: var(--t-dark); color: #fff; font-size: 15px; font-weight: 800;
    --icl: #fff; --icl2: #fff; }
  .ml-t .ml-sidecol .sh .lp-ic { width: 18px; height: 18px; }
  .ml-t .ml-sidecol .ml-sidecats > a { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--t-line); font-size: 14px;
    --icl: var(--t-ink); --icl2: var(--ml); }
  .ml-t .ml-sidecol .ml-sidecats > a:last-child { border-bottom: 0; }
  .ml-t .ml-sidecol .ml-sidecats > a.on { background: var(--ml-soft); box-shadow: inset 3px 0 var(--ml); }
  .ml-t .ml-sidecol .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ml-t .ml-sidecol .ic { display: grid; place-items: center; flex: none; width: 26px; height: 26px; }
  .ml-t .ml-sidecol .ic .lp-ic { width: 20px; height: 20px; }
  .ml-t .ml-sidecol small { display: inline; flex: none; font-size: 12px; color: var(--t-sub); font-variant-numeric: tabular-nums; }
  .ml-t .ml-sidecol .sub { display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 0 16px 12px; margin-top: -3px; border-bottom: 1px solid var(--t-line); }
  .ml-t .ml-sidecol .sub a { font-size: 13px; color: var(--t-sub); }
  .ml-t .ml-sidecol .sub a:hover { color: var(--ml); }
  .ml-t .ml-sidecol .ml-sidecats > a:has(+ .sub) { border-bottom: 0; }
  .ml-t .ml-sidecol .sd-cs { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; flex: none; padding: 16px; border: 1px solid var(--t-line); border-radius: var(--t-r);
    background: var(--t-card); }
  .ml-t .ml-sidecol .sd-cs small { font-size: 12px; font-weight: 700; color: var(--t-sub); }
  .ml-t .ml-sidecol .sd-cs b { font-size: 20px; font-weight: 800; letter-spacing: .01em; color: var(--t-ink); }
  .ml-t .ml-sidecol .sd-cs span { font-size: 12px; color: var(--t-sub); }
  .ml-t .ml-sidecol .sd-cs .ml-btn { align-self: stretch; margin-top: 10px; }
  /* 본문이 왼쪽 상자만큼 좁다 — 배너는 낮게, 줄은 4칸 */
  .ml-t .ml-sidebody .tb-hero { margin-top: 28px; border-radius: var(--t-rl); overflow: hidden; }
  .ml-t .ml-sidebody .tb-hero .hs-slide { height: clamp(300px, 26vw, 400px); }
  .ml-t .ml-sidebody .tb-row .tb-items, .ml-t .ml-sidebody .tb-cattabs .tb-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ml-t .ml-sidebody .ml-grid.c5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── 첫 구역: 왼쪽 카테고리 상자 + 배너(+ 가게 안내) ── */
.ml-t .tb-cathero { margin-top: 0; }
.ml-t .tb-cathero > .ml-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 20px; align-items: stretch; }
.ml-t .tb-cathero.has-info > .ml-wrap { grid-template-columns: 240px minmax(0, 1fr) 264px; }
/* 분류가 아직 없는 몰(갓 만든 몰) — 빈 카테고리 상자를 그리지 않고 배너가 그 자리까지 쓴다(템플릿 모양 파일의 칸 나눔보다 앞서게 무게를 높임) */
.ml-shop.ml-t[data-mall-template] .tb-cathero.nocat > .ml-wrap { grid-template-columns: minmax(0, 1fr); }
.ml-shop.ml-t[data-mall-template] .tb-cathero.nocat.has-info > .ml-wrap { grid-template-columns: minmax(0, 1fr) 264px; }
.ml-t .ch-cats { display: flex; flex-direction: column; min-width: 0; background: var(--t-card); border: 1px solid var(--t-line); border-top: 0; --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .ch-cats .sh { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 16px; background: var(--t-dark); color: #fff; font-size: 15px; font-weight: 800; --icl: #fff; --icl2: #fff; }
.ml-t .ch-cats .sh .lp-ic { width: 18px; height: 18px; }
.ml-t .ch-cats a { display: flex; align-items: center; gap: 10px; flex: 1; min-height: 42px; max-height: 52px; padding: 0 16px; font-size: 14px; color: var(--t-ink); }
.ml-t .ch-cats a:hover { background: var(--t-soft); color: var(--ml); }
.ml-t .ch-cats .ic { display: grid; place-items: center; flex: none; width: 24px; height: 24px; }
.ml-t .ch-cats .ic .lp-ic { width: 20px; height: 20px; }
.ml-t .ch-cats .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-t .ch-cats small { flex: none; font-size: 12px; color: var(--t-sub); font-variant-numeric: tabular-nums; }
.ml-t .ch-cats .all { flex: none; margin-top: auto; border-top: 1px solid var(--t-line); font-weight: 700; }
.ml-t .ch-bn { min-width: 0; min-height: 420px; }
.ml-t .ch-copy { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; max-width: 58%; padding: 0 44px; pointer-events: none; }
.ml-t .ch-copy h1 { margin: 0 0 10px; color: inherit; font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .ch-copy p { margin: 0; font-size: 15px; line-height: 1.6; word-break: keep-all; }
.ml-t .ch-bn.auto { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 40px 44px; }
.ml-t .ch-bn.auto h1 { margin: 0 0 12px; font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .ch-bn.auto p { margin: 0 0 26px; font-size: 16px; line-height: 1.6; color: var(--t-sub); word-break: keep-all; }
.ml-t .ch-bn.auto .pics { display: flex; gap: 14px; }
.ml-t .ch-bn.auto .pp { width: 168px; aspect-ratio: 1 / 1; background: #fff; border-radius: var(--t-r); }
.ml-t .ch-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ml-t .ch-info .st { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px 20px 20px; background: var(--t-card); border: 1px solid var(--t-line); }
.ml-t .ch-info h2 { margin: 0; font-size: 17px; font-weight: 800; }
.ml-t .ch-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.ml-t .ch-info dl > div { padding: 12px 14px; background: var(--t-soft); }
.ml-t .ch-info dt { font-size: 12px; color: var(--t-sub); }
.ml-t .ch-info dd { margin: 4px 0 0; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--t-ink); }
.ml-t .ch-info dd i { margin-left: 2px; font-size: 13px; font-style: normal; }
.ml-t .ch-info .dk { margin-top: auto; height: 44px; background: var(--t-dark); border-color: var(--t-dark); color: #fff; }
.ml-t .ch-info .cc { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--ml-soft); }
.ml-t .ch-info .cc small { font-size: 12px; font-weight: 700; color: var(--t-ink); }
.ml-t .ch-info .cc b { font-size: 21px; font-weight: 800; letter-spacing: .01em; color: var(--t-ink); }
.ml-t .ch-info .cc span { font-size: 12px; color: var(--t-sub); }

/* ── 첫 구역: 검색 중심 ── */
.ml-t .tb-findhero { margin-top: 0; background: var(--ml); color: var(--ml-ink); }
.ml-t .tb-findhero > .ml-wrap { display: flex; flex-direction: column; align-items: center; padding-top: 76px; padding-bottom: 68px; text-align: center; }
.ml-t .tb-findhero h1 { margin: 0; color: inherit; font-size: 46px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .tb-findhero p { margin: 14px 0 32px; font-size: 17px; line-height: 1.6; opacity: .9; word-break: keep-all; }
.ml-t .tb-findhero .ml-search { flex: none; width: min(720px, 100%); max-width: none; height: 64px; border: 0; border-radius: var(--t-br); overflow: hidden; background: #fff; }
.ml-t .tb-findhero .ml-search input { padding: 0 24px; font-size: 17px; color: #1F2328; }
.ml-t .tb-findhero .ml-search button { width: 112px; background: var(--t-dark); color: #fff; font-size: 16px; }
.ml-t .fh-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.ml-t .fh-cats a { padding: 7px 15px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: .88; white-space: nowrap; }
.ml-t .fh-cats a:hover { opacity: 1; background: rgba(255, 255, 255, .14); }

/* ── 첫 구역: 모자이크(큰 배너 + 색 타일 + 사진 타일) ── */
.ml-t .tb-mosaic { margin-top: 24px; }
.ml-t .tb-mosaic .mz { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; height: clamp(440px, 38vw, 560px); }
.ml-t .mz-a { grid-row: 1 / 3; min-width: 0; border-radius: var(--t-rl); }
.ml-t .mz-a .pp { position: absolute; inset: 0; }
.ml-t .mz-b { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: 28px 32px; background: var(--ml); color: var(--ml-ink); border-radius: var(--t-rl); }
.ml-t .mz-b h1 { margin: 0 0 8px; color: inherit; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .mz-b p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; opacity: .9; word-break: keep-all; }
.ml-t .mz-b .ml-btn { height: 42px; padding: 0 20px; font-size: 14px; }
.ml-t .mz-c { display: block; min-width: 0; overflow: hidden; background: var(--t-soft); border-radius: var(--t-rl); }
.ml-t .mz-c img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .mz-c.noph { display: grid; place-items: center; --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .mz-c.noph .lp-ic { width: 72px; height: 72px; }

/* ── 첫 구역: 좌우 반반(글 + 사진 두 장) ── */
.ml-t .tb-split { margin-top: 0; }
.ml-t .tb-split > .ml-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 56px; }
.ml-t .sp-copy h1 { margin: 0 0 16px; font-size: 54px; font-weight: 800; line-height: 1.14; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .sp-copy p { margin: 0 0 32px; font-size: 17px; line-height: 1.7; color: var(--t-sub); word-break: keep-all; }
.ml-t .sp-copy .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ml-t .sp-pics { position: relative; min-height: 480px; }
.ml-t .sp-pics.none { background: var(--ml-soft); border-radius: var(--t-rl); }
.ml-t .sp-pics .p1 { position: absolute; left: 0; top: 0; bottom: 0; right: 14%; display: block; overflow: hidden; background: var(--t-soft); border-radius: var(--t-rl); }
.ml-t .sp-pics .p2 { position: absolute; right: 0; bottom: 9%; width: 36%; aspect-ratio: 4 / 5; display: block; overflow: hidden; background: var(--t-soft); border: 8px solid var(--t-bg); border-radius: var(--t-rl); }
.ml-t .sp-pics img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── 첫 구역: 배너 두 장 나란히 + 가운데 이름 카드 ── */
.ml-t .tb-duo { position: relative; margin-top: 0; }
.ml-t .tb-duo .du { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; height: clamp(420px, 40vw, 620px); }
.ml-t .du-a, .ml-t .du-b { display: block; min-width: 0; overflow: hidden; background: var(--t-soft); }
.ml-t .du-a.tone { background: var(--ml); }
.ml-t .du-b.tone { background: var(--ml-soft); }
.ml-t .tb-duo .du img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .tb-duo .du-wrap { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ml-t .du-card { width: min(400px, 100%); padding: 40px 36px 36px; background: var(--t-card); color: var(--t-ink); text-align: center; pointer-events: auto; }
.ml-t .du-card h1 { margin: 0 0 10px; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .du-card p { margin: 0 0 24px; font-size: 14px; line-height: 1.65; color: var(--t-sub); word-break: keep-all; }
.ml-t .du-card .ml-btn { height: 44px; padding: 0 22px; font-size: 14px; }

/* ── 첫 구역: 액자형(들인 배너 + 사진 아래에 걸친 큰 이름) ── */
.ml-t .tb-frame { margin-top: 28px; }
.ml-t .fr-pic { height: clamp(360px, 36vw, 540px); border-radius: var(--t-rl); }
.ml-t .fr-pic .pp { position: absolute; inset: 0; }
.ml-t .fr-copy { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: end; gap: 40px; }
.ml-t .fr-copy h1 { justify-self: start; max-width: 100%; margin: -.62em 0 0; padding: .16em .28em 0 0; background: var(--t-bg); border-top-right-radius: var(--t-rl); font-size: clamp(44px, 6.6vw, 100px);
  font-weight: 900; line-height: 1; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: anywhere; }
.ml-t .fr-copy .r { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 22px; }
.ml-t .fr-copy p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--t-sub); word-break: keep-all; }

/* ── 진열: 카테고리별 구역(왼쪽 제목 판 + 상품 한 줄) ── */
.ml-t .tb-catsec .cs-row { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ml-t .tb-catsec + .tb-catsec { margin-top: 28px; }
.ml-t .cs-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 24px 22px 22px; background: var(--t-soft); border-radius: var(--t-r); color: var(--t-ink);
  --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .cs-head .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; background: var(--t-card); }
.ml-t .cs-head .ic .lp-ic { width: 24px; height: 24px; }
.ml-t .cs-head h2 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; word-break: keep-all; }
.ml-t .cs-head small { font-size: 13px; color: var(--t-sub); }
.ml-t .cs-head em { margin-top: auto; padding-top: 16px; font-style: normal; font-size: 13px; font-weight: 700; }
.ml-t .cs-head:hover em { color: var(--ml); }
.ml-t .tb-catsec .tb-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ── 진열: 왼쪽 세로 탭(라디오 + CSS — 스크립트 없음) ── */
.ml-t .tb-vtabs .vt { position: relative; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; align-items: start; }
.ml-t .vt-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ml-t .vt-tabs { display: flex; flex-direction: column; min-width: 0; border-top: 2px solid var(--t-ink); }
.ml-t .vt-tabs label { display: flex; align-items: center; gap: 10px; padding: 15px 12px; border-bottom: 1px solid var(--t-line); color: var(--t-ink); font-size: 15px; cursor: pointer;
  --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .vt-tabs label:hover { color: var(--ml); }
.ml-t .vt-tabs .ic { display: grid; place-items: center; flex: none; width: 24px; height: 24px; }
.ml-t .vt-tabs .ic .lp-ic { width: 20px; height: 20px; }
.ml-t .vt-tabs b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ml-t .vt-tabs small { flex: none; font-size: 12px; color: var(--t-sub); font-variant-numeric: tabular-nums; }
.ml-t .vt-p { display: none; grid-column: 2; min-width: 0; }
.ml-t #vt1:checked ~ .p1, .ml-t #vt2:checked ~ .p2, .ml-t #vt3:checked ~ .p3, .ml-t #vt4:checked ~ .p4, .ml-t #vt5:checked ~ .p5 { display: block; }
.ml-t #vt1:checked ~ .vt-tabs label[for="vt1"], .ml-t #vt2:checked ~ .vt-tabs label[for="vt2"], .ml-t #vt3:checked ~ .vt-tabs label[for="vt3"],
.ml-t #vt4:checked ~ .vt-tabs label[for="vt4"], .ml-t #vt5:checked ~ .vt-tabs label[for="vt5"] { background: var(--ml-soft); color: var(--ml); box-shadow: inset 3px 0 var(--ml); }
.ml-t .vt-r:focus-visible ~ .vt-tabs { outline: 2px solid var(--ml); outline-offset: 4px; }
.ml-t .tb-vtabs .tb-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.ml-t .vt-more { margin-top: 26px; text-align: right; }
.ml-t .vt-more .ml-btn { height: 44px; min-width: 160px; }

/* ── 진열: 카테고리 판(대분류 칸 + 중분류 글) ── */
.ml-t .tb-catboard .cb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--t-ink); border-left: 1px solid var(--t-line); }
.ml-t .cb-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 20px 20px 22px; border-right: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); background: var(--t-card); }
.ml-t .cb-col .h { display: flex; align-items: center; gap: 10px; color: var(--t-ink); --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .cb-col .h .ic { display: grid; place-items: center; flex: none; width: 26px; height: 26px; }
.ml-t .cb-col .h .lp-ic { width: 22px; height: 22px; }
.ml-t .cb-col .h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; }
.ml-t .cb-col .h small { flex: none; font-size: 12px; color: var(--t-sub); }
.ml-t .cb-col .h:hover b { color: var(--ml); }
.ml-t .cb-col .s { font-size: 14px; color: var(--t-sub); }
.ml-t .cb-col .h + .s { margin-top: 6px; }
.ml-t .cb-col .s:hover { color: var(--ml); }

/* ── 진열: 인기 상품 순위 목록(1위 크게 + 줄 목록) ── */
.ml-t .tb-rank .rkw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; align-items: stretch; }
.ml-t .rk-top { min-width: 0; }
.ml-t .rk-top .ml-card .name { font-size: 17px; min-height: 0; }
.ml-t .rk-top .ml-card .price { font-size: 22px; }
.ml-t .rk-list { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--t-ink); }
.ml-t .rk-list li { display: flex; flex: 1; border-bottom: 1px solid var(--t-line); }
.ml-t .rk-list a { display: grid; grid-template-columns: 34px 88px minmax(0, 1fr); align-items: center; gap: 18px; flex: 1; padding: 12px 4px; color: var(--t-ink); }
.ml-t .rk-list .no { font-size: 22px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.ml-t .rk-list .th { display: block; width: 88px; aspect-ratio: 1 / 1; overflow: hidden; background: var(--t-soft); border-radius: var(--t-r); }
.ml-t .rk-list .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-t .rk-list .tx { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ml-t .rk-list .name { font-size: 15px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-t .rk-list .price { font-style: normal; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ml-t .rk-list .price small { margin-left: 3px; font-size: 12px; font-weight: 500; color: var(--t-sub); }
.ml-t .rk-list .off { font-size: 12px; color: var(--t-sub); }
.ml-t .rk-list a:hover .name { color: var(--ml); }
.ml-t .rk-list a.sold .th img { opacity: .55; }

/* ── 진열: 신상품 모자이크(첫 상품 크게 + 작은 칸 넷) ── */
.ml-t .tb-newmz .nmz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.ml-t .tb-newmz .nmz.n5 > :first-child { grid-column: span 2; grid-row: span 2; }
.ml-t .tb-newmz .nmz.n5 > :first-child .thumb { flex: 1; aspect-ratio: auto; min-height: 0; }
.ml-t .tb-newmz .nmz.n5 > :first-child .body { flex: none; }
.ml-t .tb-newmz .nmz.n5 > :first-child .name { font-size: 17px; min-height: 0; }
.ml-t .tb-newmz .nmz.n5 > :first-child .price { font-size: 21px; }

/* ── 진열: 큰 상품 소개 줄(큰 사진 + 글 · 좌우 번갈아) ── */
.ml-t .tb-show .sh-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 64px; color: var(--t-ink); }
.ml-t .tb-show .sh-row + .sh-row { margin-top: 72px; }
.ml-t .tb-show .sh-row:nth-of-type(even) .sh-ph { order: 2; }
.ml-t .tb-show .sh-ph { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--t-soft); border-radius: var(--t-rl); }
.ml-t .tb-show .sh-ph img { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.ml-t .tb-show .sh-ph .noimg { font-size: 13px; color: var(--t-sub); }
.ml-t .tb-show .tx { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ml-t .tb-show .name { font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; word-break: keep-all; }
.ml-t .tb-show .price { font-style: normal; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ml-t .tb-show .price small { margin-left: 4px; font-size: 13px; font-weight: 500; color: var(--t-sub); }
.ml-t .tb-show .off { font-size: 13px; color: var(--t-sub); }
.ml-t .tb-show .sh-row:hover .name { color: var(--ml); }
.ml-t .tb-show .sh-row.sold .sh-ph img { opacity: .55; }

/* ── 진열: 안내 판 3칸(고객센터 · 안내 링크 · 주문 조회) ── */
.ml-t .tb-csboard .cx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; background: var(--t-card); border: 1px solid var(--t-line); border-radius: var(--t-r); }
.ml-t .cx > * { min-width: 0; padding: 28px 30px; }
.ml-t .cx > * + * { border-left: 1px solid var(--t-line); }
.ml-t .cx-cs { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.ml-t .cx-cs small { font-size: 13px; font-weight: 700; color: var(--t-sub); }
.ml-t .cx-cs b { margin: 2px 0 4px; font-size: 28px; font-weight: 800; letter-spacing: .01em; color: var(--t-ink); }
.ml-t .cx-cs span { font-size: 13px; color: var(--t-sub); overflow-wrap: anywhere; }
.ml-t .cx-links { display: flex; flex-direction: column; justify-content: center; }
.ml-t .cx-links a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--t-ink); font-size: 15px; --icl: var(--t-ink); --icl2: var(--ml); }
.ml-t .cx-links a + a { border-top: 1px solid var(--t-line); }
.ml-t .cx-links b { font-weight: 600; }
.ml-t .cx-links a:hover { color: var(--ml); }
.ml-t .cx-look { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; background: var(--t-soft); }
.ml-t .cx-look b { font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--t-ink); word-break: keep-all; }
.ml-t .cx-look .ml-btn { height: 44px; padding: 0 22px; font-size: 14px; }

@media (max-width: 1180px) {
  .ml-t .tb-cathero.has-info > .ml-wrap { grid-template-columns: 220px minmax(0, 1fr); row-gap: 12px; }
  .ml-shop.ml-t[data-mall-template] .tb-cathero.nocat.has-info > .ml-wrap { grid-template-columns: minmax(0, 1fr); }
  .ml-t .tb-cathero.has-info .ch-info { grid-column: 1 / -1; flex-direction: row; }
  .ml-t .tb-cathero.has-info .ch-info .st { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 16px 20px; }
  .ml-t .tb-cathero.has-info .ch-info dl { flex: 1; min-width: 220px; }
  .ml-t .tb-cathero.has-info .ch-info .dk { flex: none; width: auto; margin-top: 0; padding: 0 22px; }
  .ml-t .tb-cathero.has-info .ch-info .cc { flex: none; justify-content: center; }
}
@media (max-width: 960px) {
  /* 왼쪽 카테고리는 분류 이름만 옆으로 미는 줄로 접힌다 */
  .ml-t .tb-cathero > .ml-wrap, .ml-t .tb-cathero.has-info > .ml-wrap { display: flex; flex-direction: column; gap: 0; padding-left: 0; padding-right: 0; }
  .ml-t .ch-cats { order: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; border: 0; border-bottom: 1px solid var(--t-line); }
  .ml-t .ch-cats::-webkit-scrollbar { display: none; }
  .ml-t .ch-cats .sh, .ml-t .ch-cats .ic, .ml-t .ch-cats small { display: none; }
  .ml-t .ch-cats a { flex: none; min-height: 46px; max-height: none; padding: 0 14px; white-space: nowrap; }
  .ml-t .ch-cats .all { order: -1; margin-top: 0; border-top: 0; }
  .ml-t .ch-bn { min-height: 0; aspect-ratio: 16 / 9; }
  .ml-t .ch-bn.auto { aspect-ratio: auto; padding: 32px 24px; }
  .ml-t .tb-cathero.has-info .ch-info { order: 3; margin: 12px 16px 0; }
  .ml-t .tb-mosaic .mz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; height: auto; gap: 12px; }
  .ml-t .mz-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .ml-t .mz-b, .ml-t .mz-c { min-height: 200px; }
  .ml-t .tb-split > .ml-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 36px; }
  .ml-t .sp-copy h1 { font-size: 40px; }
  .ml-t .sp-pics { min-height: 0; aspect-ratio: 4 / 3; }
  .ml-t .tb-catsec .cs-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ml-t .cs-head { flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px; }
  .ml-t .cs-head .ic { width: 34px; height: 34px; margin-bottom: 0; }
  .ml-t .cs-head h2 { font-size: 17px; }
  .ml-t .cs-head em { margin: 0 0 0 auto; padding-top: 0; }
  .ml-t .tb-catsec .tb-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ml-t .tb-vtabs .vt { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ml-t .vt-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-top: 0; border-bottom: 1px solid var(--t-line); }
  .ml-t .vt-tabs::-webkit-scrollbar { display: none; }
  .ml-t .vt-tabs label { flex: none; padding: 12px 14px; border-bottom: 0; }
  .ml-t .vt-tabs .ic, .ml-t .vt-tabs small { display: none; }
  .ml-t .vt-tabs b { overflow: visible; }
  .ml-t #vt1:checked ~ .vt-tabs label[for="vt1"], .ml-t #vt2:checked ~ .vt-tabs label[for="vt2"], .ml-t #vt3:checked ~ .vt-tabs label[for="vt3"],
  .ml-t #vt4:checked ~ .vt-tabs label[for="vt4"], .ml-t #vt5:checked ~ .vt-tabs label[for="vt5"] { background: none; box-shadow: inset 0 -3px var(--ml); }
  .ml-t .vt-p { grid-column: 1; }
  .ml-t .tb-catboard .cb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ml-t .tb-rank .rkw { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ml-t .rk-top .ml-card { flex-direction: row; align-items: center; gap: 20px; }
  .ml-t .rk-top .ml-card .thumb { flex: none; width: 42%; }
  .ml-t .tb-newmz .nmz { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ml-t .tb-newmz .nmz.n5 > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .ml-t .tb-newmz .nmz.n5 > :first-child .thumb { flex: none; aspect-ratio: 16 / 9; }
  .ml-t .tb-newmz .nmz.n5 > :nth-child(n+5) { display: none; }
  .ml-t .tb-show .sh-row { gap: 32px; }
  .ml-t .tb-show .name { font-size: 24px; }
  .ml-t .tb-csboard .cx { grid-template-columns: minmax(0, 1fr); }
  .ml-t .cx > * { padding: 22px 22px; }
  .ml-t .cx > * + * { border-left: 0; border-top: 1px solid var(--t-line); }
}
@media (max-width: 640px) {
  .ml-t .ch-copy { max-width: 80%; padding: 0 20px; }
  .ml-t .ch-copy h1 { font-size: 24px; }
  .ml-t .ch-copy p { font-size: 13px; }
  .ml-t .ch-bn.auto { grid-template-columns: minmax(0, 1fr); }
  .ml-t .ch-bn.auto h1 { font-size: 28px; }
  .ml-t .ch-bn.auto .pp { width: 120px; }
  .ml-t .tb-cathero.has-info .ch-info, .ml-t .tb-cathero.has-info .ch-info .st { flex-direction: column; align-items: stretch; }
  .ml-t .tb-cathero.has-info .ch-info dl { min-width: 0; }
  .ml-t .tb-findhero > .ml-wrap { padding-top: 44px; padding-bottom: 40px; }
  .ml-t .tb-findhero h1 { font-size: 30px; }
  .ml-t .tb-findhero p { margin: 10px 0 22px; font-size: 15px; }
  .ml-t .tb-findhero .ml-search { height: 52px; }
  .ml-t .tb-findhero .ml-search input { padding: 0 16px; font-size: 16px; }
  .ml-t .tb-findhero .ml-search button { width: 76px; font-size: 15px; }
  .ml-t .fh-cats { flex-wrap: nowrap; justify-content: flex-start; align-self: stretch; overflow-x: auto; scrollbar-width: none; margin: 18px -16px 0; padding: 0 16px; }
  .ml-t .fh-cats::-webkit-scrollbar { display: none; }
  .ml-t .tb-mosaic { margin-top: 12px; }
  .ml-t .tb-mosaic .mz { grid-template-columns: minmax(0, 1fr); }
  .ml-t .mz-a { aspect-ratio: 4 / 3; }
  .ml-t .mz-b { min-height: 0; padding: 24px 22px; }
  .ml-t .mz-b h1 { font-size: 24px; }
  .ml-t .mz-c { min-height: 0; aspect-ratio: 16 / 9; }
  .ml-t .tb-split > .ml-wrap { gap: 24px; padding-top: 28px; padding-bottom: 28px; }
  .ml-t .sp-copy h1 { font-size: 30px; }
  .ml-t .sp-copy p { margin-bottom: 22px; font-size: 15px; }
  .ml-t .sp-pics .p2 { border-width: 5px; }
  .ml-t .tb-duo .du { height: 64vw; max-height: 380px; gap: 4px; }
  .ml-t .tb-duo .du-wrap { position: static; display: block; margin-top: -36px; }
  .ml-t .du-card { position: relative; width: auto; padding: 26px 22px 24px; }
  .ml-t .du-card h1 { font-size: 24px; }
  .ml-t .tb-frame { margin-top: 12px; }
  .ml-t .fr-pic { height: 72vw; max-height: 420px; }
  .ml-t .fr-copy { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ml-t .fr-copy h1 { font-size: 40px; }
  .ml-t .fr-copy .r { padding-top: 14px; }
  /* 상품 줄은 가로로 밀어 본다(위 «상품 줄»과 같은 방식) */
  .ml-t .tb-catsec .tb-items { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .ml-t .tb-catsec .tb-items::-webkit-scrollbar { display: none; }
  .ml-t .tb-catsec .tb-items > * { scroll-snap-align: start; }
  .ml-t .tb-vtabs .tb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .ml-t .vt-more { text-align: center; }
  .ml-t .vt-more .ml-btn { width: 100%; }
  .ml-t .tb-catboard .cb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-t .cb-col { padding: 14px 14px 16px; }
  .ml-t .cb-col .h b { font-size: 15px; }
  .ml-t .rk-top .ml-card { flex-direction: column; align-items: stretch; gap: 0; }
  .ml-t .rk-top .ml-card .thumb { width: auto; }
  .ml-t .rk-list a { grid-template-columns: 26px 68px minmax(0, 1fr); gap: 12px; }
  .ml-t .rk-list .no { font-size: 18px; }
  .ml-t .rk-list .th { width: 68px; }
  .ml-t .tb-newmz .nmz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .ml-t .tb-newmz .nmz.n5 > :first-child .thumb { aspect-ratio: 4 / 3; }
  .ml-t .tb-newmz .nmz.n5 > :nth-child(n+5) { display: flex; }
  .ml-t .tb-show .sh-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ml-t .tb-show .sh-row + .sh-row { margin-top: 40px; }
  .ml-t .tb-show .sh-row:nth-of-type(even) .sh-ph { order: 0; }
  .ml-t .tb-show .name { font-size: 20px; }
  .ml-t .tb-show .price { font-size: 17px; }
  .ml-t .cx-cs b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ml-t .tb-catsec .tb-items { scroll-snap-type: none; } }

/* ── 11/26 전문가 다듬기 — 대표님 «이상하게 그림처럼 유치하게 나온것들도 고쳐라»(전문몰 9 미리보기 화면과 함께) ───────────────
   ① 분류 = 그 분류 상품 사진(.pics) 또는 글자(.txt) — 동그라미 그림 아이콘 없음(templates/mall/_blocks · _frame · services/mall_look)
   ② 가게 안내 줄(.tb-stats) · 첫 구역 «가게 안내»(.gi) = 배송 · 교환·반품 · 고객센터 글(진열 상품 수 · 큰 번호 카드 없음)
   ③ 카테고리별 구역 제목 판 = 분류 사진 + 이름(.cs-head.ph · 색 면 없이) ④ 바닥 고객센터 번호는 작게
   ★템플릿 모양 파일(mall_t_<열쇠>.css)보다 앞서도록 .ml-shop.ml-t[data-mall-template] 로 시작한다 — 색 · 모서리는 템플릿 변수(--t-*) 그대로. */
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics .ic,
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics .ic { overflow: hidden; width: 72px; height: 72px; border-radius: 50%; background: #F4F4F2; border: 1px solid rgba(0, 0, 0, .06); }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics .ic img,
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics .ic img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .35s ease; }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics a:hover .ic img,
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics a:hover .ic img { transform: scale(1.06); }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics a.on .ic { box-shadow: 0 0 0 2px var(--t-bg, #fff), 0 0 0 4px var(--ml); }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics a { width: 104px; gap: 10px; }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.pics b,
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics b { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics a.all .ic { display: grid; place-items: center; background: var(--t-ink); border-color: var(--t-ink); --icl: #fff; --icl2: #fff; }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics a.all .ic .lp-ic { width: 26px; height: 26px; }
/* 글자 줄(사진이 없는 분류가 섞이면) — 밑줄 탭 · 알약 */
.ml-shop.ml-t[data-mall-template] .ml-iconnav.txt .ml-wrap { gap: 2px; padding-top: 0; padding-bottom: 0; }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.txt a { width: auto; flex-direction: row; padding: 15px 16px; }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.txt b { font-size: 15px; font-weight: 600; }
.ml-shop.ml-t[data-mall-template] .ml-iconnav.txt a.on { box-shadow: inset 0 -2px var(--ml); }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.txt { flex-wrap: wrap; gap: 8px; }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.txt a { width: auto; flex-direction: row; padding: 10px 18px; border: 1px solid var(--t-line); border-radius: 999px; }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.txt a.all { background: var(--t-ink); border-color: var(--t-ink); color: #fff; }
.ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.txt a:hover { border-color: var(--t-ink); }

/* 카테고리 카드(전문몰 1 · 2) — 사진 칸 + 이름 · 상품 수 / 글자 칸 */
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.pics a { padding: 0 0 4px; border: 0; background: none; border-radius: 0; gap: 4px; align-items: flex-start; text-align: left; }
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.pics .cpx { display: block; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 8px; overflow: hidden; border-radius: var(--t-r); background: #F4F4F2; }
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.pics .cpx img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s ease; }
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.pics a:hover .cpx img { transform: scale(1.05); }
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.pics a:hover b { color: var(--ml); }
.ml-shop.ml-t[data-mall-template] .tb-catcards .cc.txt a { padding: 18px 10px; }

/* 가게 안내 줄 — 배송 안내 · 교환·반품 안내 · 고객센터(글 크기 하나 · 칸 사이 가는 선) */
.ml-shop.ml-t[data-mall-template] .tb-stats .sx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; background: none;
  border: 0; border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); border-radius: 0; }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx > a { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 22px 28px; text-align: left;
  background: none; border-radius: 0; color: var(--t-ink); }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx > a + a { border-left: 1px solid var(--t-line); }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx small { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--t-sub); }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx b { height: auto; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; color: var(--t-ink); font-variant-numeric: normal; }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx span { font-size: 13px; line-height: 1.5; color: var(--t-sub); }
.ml-shop.ml-t[data-mall-template] .tb-stats .sx > a:hover b { color: var(--ml); }

/* 첫 구역 «가게 안내»(전문몰 1 · 3) — 배송 안내 · 교환·반품 안내 두 줄 */
.ml-shop.ml-t[data-mall-template] .gi { display: flex; flex-direction: column; gap: 0; margin: 0; }
.ml-shop.ml-t[data-mall-template] .gi > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 13px 0; background: none; border-top: 1px solid var(--t-line); text-align: left; }
.ml-shop.ml-t[data-mall-template] .gi > div:last-child { border-bottom: 1px solid var(--t-line); }
.ml-shop.ml-t[data-mall-template] .gi dt { font-size: 12px; font-weight: 700; color: var(--t-sub); }
.ml-shop.ml-t[data-mall-template] .gi dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--t-ink); font-variant-numeric: normal; word-break: keep-all; }

/* 전문몰 1 짙은 배너의 상품 사진 한 장(큰 분류 그림 대신) */
.ml-shop.ml-t[data-mall-template] .tb-prohero .deco.ph { overflow: hidden; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); transform: translateY(-50%); }
.ml-shop.ml-t[data-mall-template] .tb-prohero .deco.ph img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 13%; }

/* 카테고리별 구역 제목 판 — 분류 사진 + 이름 · 상품 수 · 더보기(색 면 · 동그라미 그림 없음) */
.ml-shop.ml-t[data-mall-template] .cs-head.ph { position: relative; justify-content: flex-start; gap: 2px; padding: 0 0 20px; overflow: hidden;
  background: #F6F6F4; border: 0; border-radius: var(--t-r); color: var(--t-ink); }
.ml-shop.ml-t[data-mall-template] .cs-head.ph h2 { color: var(--t-ink); }
.ml-shop.ml-t[data-mall-template] .cs-head.ph small { color: var(--t-sub); }
.ml-shop.ml-t[data-mall-template] .cs-head.ph .cpx { display: block; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 14px; overflow: hidden; }
.ml-shop.ml-t[data-mall-template] .cs-head.ph .cpx img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .45s ease; }
.ml-shop.ml-t[data-mall-template] .cs-head.ph:hover .cpx img { transform: scale(1.05); }
.ml-shop.ml-t[data-mall-template] .cs-head.ph h2, .ml-shop.ml-t[data-mall-template] .cs-head.ph small { padding: 0 20px; }
.ml-shop.ml-t[data-mall-template] .cs-head.ph em { margin: auto 20px 0; padding: 14px 0 0; background: none; border: 0; border-radius: 0; color: var(--t-ink); font-size: 13px; font-weight: 700; }
.ml-shop.ml-t[data-mall-template] .cs-head.ph:hover em { background: none; color: var(--ml); }

/* 모자이크 첫 구역 — 사진이 없을 때의 칸(그림 대신 글자) */
.ml-t .mz-c.noph b { font-size: 15px; font-weight: 700; color: var(--t-ink); }

/* 바닥 고객센터 번호 — 큰 숫자 대신 본문보다 조금 큰 글 */
.ml-shop.ml-t[data-mall-template] .tf-wide .csbox b { font-size: 22px; letter-spacing: 0; }

@media (max-width: 960px) {
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.pics a { width: 86px; }
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.pics .ic,
  .ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics .ic { width: 60px; height: 60px; }
  .ml-shop.ml-t[data-mall-template] .tb-stats .sx > a { padding: 18px 18px; }
}
@media (max-width: 640px) {
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.pics a { width: 76px; gap: 8px; }
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.pics .ic,
  .ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics .ic { width: 56px; height: 56px; }
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.pics b, .ml-shop.ml-t[data-mall-template] .tb-caticons .icrow.pics b { font-size: 12px; }
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.txt a { padding: 13px 12px; }
  .ml-shop.ml-t[data-mall-template] .ml-iconnav.txt b { font-size: 14px; }
  .ml-shop.ml-t[data-mall-template] .tb-stats .sx { grid-template-columns: minmax(0, 1fr); }
  .ml-shop.ml-t[data-mall-template] .tb-stats .sx > a { padding: 14px 4px; }
  .ml-shop.ml-t[data-mall-template] .tb-stats .sx > a + a { border-left: 0; border-top: 1px solid var(--t-line); }
  .ml-shop.ml-t[data-mall-template] .gi > div { grid-template-columns: 80px minmax(0, 1fr); padding: 11px 0; }
  .ml-shop.ml-t[data-mall-template] .cs-head.ph { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
  .ml-shop.ml-t[data-mall-template] .cs-head.ph .cpx { flex: none; width: 52px; margin: 0; border-radius: calc(var(--t-r) * .6); }
  .ml-shop.ml-t[data-mall-template] .cs-head.ph h2, .ml-shop.ml-t[data-mall-template] .cs-head.ph small { padding: 0; }
  .ml-shop.ml-t[data-mall-template] .cs-head.ph em { margin: 0 0 0 auto; padding: 0; }
  .ml-shop.ml-t[data-mall-template] .tf-wide .csbox b { font-size: 18px; }
}
