/* 종합몰 3(general3) — 11/17 카페24 «일상한칸»(리빙 랭킹·탭)과 짝(docs/분양몰_예시그림_문장.md). general3 화면에서만 읽는다.
   흰 바탕 · 왼쪽 이름 + 큰 검색 · «전체 카테고리» + 분류 줄 · 꽉 찬 배너 왼쪽 아래 흰 상자 · 둥근 아이콘 분류 줄(첫 칸 강조색) ·
   밑줄 탭 진열 5열 · 큰 사진 + 신상품 목록 · 인기 상품(순위). 깔끔하게 정리된 리빙 몰 느낌. */
.ml-t[data-mall-template="general3"] { --t-ink: #222; --t-sub: #8C8C8C; --t-line: #ECECEC; --t-soft: #F4F4F2; --t-dark: #222; --t-r: 4px; --t-rl: 6px; --t-br: 3px; }
.ml-t[data-mall-template="general3"] .ml-strip { background: var(--ml); color: var(--ml-ink); font-size: 12px; }
.ml-t[data-mall-template="general3"] .th-search .ml-search { max-width: 460px; height: 44px; border: 1px solid #DADADA; border-radius: 22px; }
.ml-t[data-mall-template="general3"] .th-search .ml-search button { width: 70px; margin: 4px; border-radius: 18px; background: var(--t-ink); color: #fff; font-size: 13px; }
.ml-t[data-mall-template="general3"] .ml-menu { border-top: 1px solid var(--t-line); }
.ml-t[data-mall-template="general3"] .btn-allcat { padding-left: 0; font-weight: 700; }

/* 배너 — 왼쪽 아래 흰 상자 */
.ml-t[data-mall-template="general3"] .tb-hero .hs-slide { height: clamp(380px, 38vw, 600px); }
.ml-t[data-mall-template="general3"] .tb-hero .hs-copy { align-items: flex-end; padding-bottom: 56px; }
.ml-t[data-mall-template="general3"] .tb-hero .hs-copy .hc { max-width: 380px; padding: 30px 32px 28px; background: rgba(255, 255, 255, .96); color: var(--t-ink); border-radius: 2px; }
.ml-t[data-mall-template="general3"] .tb-hero .hs-copy h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.ml-t[data-mall-template="general3"] .tb-hero .hs-copy p { margin-bottom: 20px; font-size: 14px; color: var(--t-sub); }
.ml-t[data-mall-template="general3"] .tb-hero .hs-copy .ml-btn { height: 40px; padding: 0 18px; background: var(--t-ink); border-color: var(--t-ink); color: #fff; font-size: 13px; }

.ml-t[data-mall-template="general3"] .tb { margin-top: 84px; }
.ml-t[data-mall-template="general3"] .tb-hero { margin-top: 0; }
.ml-t[data-mall-template="general3"] .tb-caticons { margin-top: 44px; }
.ml-t[data-mall-template="general3"] .tb-h { position: relative; justify-content: center; margin-bottom: 22px; }
.ml-t[data-mall-template="general3"] .tb-h h2 { font-size: 24px; font-weight: 700; }
.ml-t[data-mall-template="general3"] .tb-h .more { position: absolute; right: 0; bottom: 4px; }

/* 밑줄 탭 */
.ml-t[data-mall-template="general3"] .tb-cattabs .tb-tabs { gap: 0 24px; padding-bottom: 0; border-bottom: 1px solid var(--t-line); }
.ml-t[data-mall-template="general3"] .tb-cattabs .tb-tabs label { padding: 12px 2px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; border-radius: 0;
  font-size: 15px; }
.ml-t[data-mall-template="general3"] #tt1:checked ~ .tb-tabs label[for="tt1"], .ml-t[data-mall-template="general3"] #tt2:checked ~ .tb-tabs label[for="tt2"],
.ml-t[data-mall-template="general3"] #tt3:checked ~ .tb-tabs label[for="tt3"], .ml-t[data-mall-template="general3"] #tt4:checked ~ .tb-tabs label[for="tt4"],
.ml-t[data-mall-template="general3"] #tt5:checked ~ .tb-tabs label[for="tt5"] { background: none; color: var(--t-ink); border-bottom-color: var(--t-ink); font-weight: 800; }

/* 상품 칸 — 옅은 회색 사진 면 · 순위 네모 */
.ml-t[data-mall-template="general3"] .ml-card .thumb { background: var(--t-soft); }
.ml-t[data-mall-template="general3"] .ml-card .thumb img { mix-blend-mode: multiply; }
.ml-t[data-mall-template="general3"] .ml-card .name { font-size: 13px; font-weight: 400; color: #444; }
.ml-t[data-mall-template="general3"] .ml-card .price { font-size: 15px; }
.ml-t[data-mall-template="general3"] .ml-card .rk { left: 0; top: 0; border-radius: 0; background: var(--ml); color: var(--ml-ink); }

/* 큰 사진 + 신상품 카드 2×2 */
.ml-t[data-mall-template="general3"] .tb-feature .fb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ml-t[data-mall-template="general3"] .tb-feature .ph { min-height: 440px; border-radius: 2px; }
.ml-t[data-mall-template="general3"] .tb-feature .fl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ml-t[data-mall-template="general3"] .tb-feature .fi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; border: 0; }
.ml-t[data-mall-template="general3"] .tb-feature .th { width: 100%; background: var(--t-soft); }
.ml-t[data-mall-template="general3"] .tb-feature .th img { mix-blend-mode: multiply; }
.ml-t[data-mall-template="general3"] .tb-feature .tx b { font-size: 13px; font-weight: 400; }
.ml-t[data-mall-template="general3"] .tb-feature .tx em { font-size: 15px; }

.ml-t[data-mall-template="general3"] .tb-list .ml-sec { margin-top: 80px; padding-bottom: 12px; border-bottom: 2px solid var(--t-ink); }
.ml-t[data-mall-template="general3"] .ml-foot { background: #F7F7F7; }

@media (max-width: 640px) {
  .ml-t[data-mall-template="general3"] .tb { margin-top: 56px; }
  .ml-t[data-mall-template="general3"] .tb-hero { margin-top: 0; }
  .ml-t[data-mall-template="general3"] .tb-hero .hs-copy { padding-bottom: 20px; }
  .ml-t[data-mall-template="general3"] .tb-hero .hs-copy .hc { padding: 20px 20px 18px; }
  .ml-t[data-mall-template="general3"] .tb-hero .hs-copy h1 { font-size: 22px; }
  .ml-t[data-mall-template="general3"] .tb-cattabs .tb-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .ml-t[data-mall-template="general3"] .tb-feature .ph { min-height: 220px; }
}
