/* 종합몰 7(general7 · 옛 시안 B «미니멀 셀렉트» · 11/26 대표님 «넷 다»로 정식 템플릿 — services/mall_templates.TEMPLATES). general7 화면에서만 읽는다.
   여러 분류를 차분하게 골라 보여 주는 가게: 흰 바탕 · 옅은 회색 상품 면(#F5F5F6) · 큰 둥근 모서리(18px) · 알약 단추 · 가운데 정렬 제목 · 많은 여백.
   짜임: 얇은 띠 → 왼쪽 이름 + 가운데 분류 + 오른쪽 검색·장바구니 → 왼쪽 큰 글 · 오른쪽 사진 두 장 → 큰 분류 사진 4칸 → 신상품 모자이크 →
   인기 순위 → 가게 안내 줄. 강조색 = 몰 대표색(만들 때 짙은 녹색) — 단추 · 고른 표시. */
.ml-t[data-mall-template="general7"] { --t-bg: #fff; --t-ink: #1D1D1F; --t-sub: #6E6E73; --t-line: #E6E6EA; --t-soft: #F5F5F6; --t-dark: #1D1D1F; --t-card: #fff;
  --t-r: 18px; --t-rl: 24px; --t-br: 999px; }
.ml-t[data-mall-template="general7"] .ml-strip { background: var(--t-soft); color: var(--t-sub); font-size: 12px; }
.ml-t[data-mall-template="general7"] .th-inline { border-bottom: 1px solid var(--t-line); }
.ml-t[data-mall-template="general7"] .th-inline > .ml-wrap { height: 72px; }
.ml-t[data-mall-template="general7"] .ml-brand b { color: var(--t-ink); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.ml-t[data-mall-template="general7"] .ml-inlinecats a { font-size: 14px; font-weight: 500; color: var(--t-ink); }
.ml-t[data-mall-template="general7"] .ml-tools > a { --icl: var(--t-ink); --icl2: var(--t-ink); }
.ml-t[data-mall-template="general7"] .ml-btn { border-radius: 999px; }

/* 첫 화면 — 왼쪽 큰 글 · 오른쪽 둥근 사진 두 장 */
.ml-t[data-mall-template="general7"] .tb-split > .ml-wrap { padding-top: 72px; padding-bottom: 40px; gap: 72px; }
.ml-t[data-mall-template="general7"] .sp-copy h1 { font-size: 58px; font-weight: 700; line-height: 1.1; letter-spacing: -.05em; }
.ml-t[data-mall-template="general7"] .sp-copy p { font-size: 18px; line-height: 1.65; }
.ml-t[data-mall-template="general7"] .sp-copy .ml-btn { height: 50px; padding: 0 28px; font-size: 15px; font-weight: 600; }
.ml-t[data-mall-template="general7"] .sp-copy .ml-btn.line { background: transparent; border-color: var(--t-line); color: var(--t-ink); }
.ml-t[data-mall-template="general7"] .sp-pics { min-height: 520px; }
.ml-t[data-mall-template="general7"] .sp-pics .p1, .ml-t[data-mall-template="general7"] .sp-pics .p2 { border-radius: var(--t-rl); }

/* 구역 — 가운데 큰 제목 */
.ml-t[data-mall-template="general7"] .tb { margin-top: 112px; }
.ml-t[data-mall-template="general7"] .tb-split { margin-top: 0; }
.ml-t[data-mall-template="general7"] .tb-h { position: relative; justify-content: center; margin-bottom: 36px; }
.ml-t[data-mall-template="general7"] .tb-h h2 { font-size: 34px; font-weight: 700; letter-spacing: -.045em; }
.ml-t[data-mall-template="general7"] .tb-h .more { position: absolute; right: 0; bottom: 6px; padding: 7px 14px; border: 1px solid var(--t-line); border-radius: 999px;
  color: var(--t-ink); font-size: 13px; font-weight: 500; }

/* 큰 분류 사진 4칸 — 둥근 면 · 이름은 아래 가운데 */
.ml-t[data-mall-template="general7"] .tb-catphotos { margin-top: 88px; }
.ml-t[data-mall-template="general7"] .tb-catphotos .tb-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ml-t[data-mall-template="general7"] .tb-catphotos a { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--t-ink); }
.ml-t[data-mall-template="general7"] .tb-catphotos .cp { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--t-r); background: var(--t-soft); }
.ml-t[data-mall-template="general7"] .tb-catphotos .cp img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply;
  transition: transform .45s ease; }
.ml-t[data-mall-template="general7"] .tb-catphotos a:hover .cp img { transform: scale(1.05); }
.ml-t[data-mall-template="general7"] .tb-catphotos b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }

/* 상품 칸 — 옅은 회색 둥근 면 · 가운데 정렬 */
.ml-t[data-mall-template="general7"] .ml-card .thumb { border-radius: var(--t-r); background: var(--t-soft); }
.ml-t[data-mall-template="general7"] .ml-card .thumb img { object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .45s ease; }
.ml-t[data-mall-template="general7"] .ml-card:hover .thumb img { transform: scale(1.04); }
.ml-t[data-mall-template="general7"] .ml-card .body { align-items: center; padding-top: 16px; text-align: center; }
.ml-t[data-mall-template="general7"] .ml-card .name { font-size: 15px; font-weight: 600; color: var(--t-ink); }
.ml-t[data-mall-template="general7"] .ml-card .price { font-size: 15px; font-weight: 500; color: var(--t-sub); }
.ml-t[data-mall-template="general7"] .ml-card .rk { left: 12px; top: 12px; min-width: 28px; height: 28px; border-radius: 999px; background: var(--t-ink); font-size: 12px; }
.ml-t[data-mall-template="general7"] .ml-sold { border-radius: 999px; }
.ml-t[data-mall-template="general7"] .tb-newmz .nmz { gap: 40px 20px; }

/* 인기 순위 — 큰 1위 카드 + 가는 선 목록 */
.ml-t[data-mall-template="general7"] .rk-top .ml-card .thumb { aspect-ratio: 4 / 3; }
.ml-t[data-mall-template="general7"] .rk-list { border-top: 0; }
.ml-t[data-mall-template="general7"] .rk-list li { border-bottom-color: var(--t-line); }
.ml-t[data-mall-template="general7"] .rk-list .no { color: var(--t-sub); font-size: 18px; font-weight: 600; }
.ml-t[data-mall-template="general7"] .rk-list .th { border-radius: 14px; }
.ml-t[data-mall-template="general7"] .rk-list .th img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.ml-t[data-mall-template="general7"] .rk-list .price { font-weight: 600; }
.ml-t[data-mall-template="general7"] .tb-stats .sx { border-radius: var(--t-r); background: var(--t-soft); border: 0; }
.ml-t[data-mall-template="general7"] .tb-stats .sx > a + a { border-left-color: #E2E2E6; }

.ml-t[data-mall-template="general7"] .tb-list .ml-sec { margin-top: 96px; }
.ml-t[data-mall-template="general7"] .ml-foot { margin-top: 112px; background: var(--t-soft); }

@media (max-width: 960px) {
  /* 11/26 공용 규칙(.sp-pics 가로:세로 4:3)에 최소 높이를 더하면 칸이 화면보다 넓어져 옆으로 밀렸다(폰 390 에서 27px) — 최소 높이 없음 */
  .ml-t[data-mall-template="general7"] .sp-pics { min-height: 0; }
  .ml-t[data-mall-template="general7"] .sp-copy h1 { font-size: 42px; }
  .ml-t[data-mall-template="general7"] .tb-catphotos .tb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ml-t[data-mall-template="general7"] .tb { margin-top: 72px; }
  .ml-t[data-mall-template="general7"] .tb-split > .ml-wrap { padding-top: 32px; gap: 28px; }
  .ml-t[data-mall-template="general7"] .sp-copy h1 { font-size: 32px; }
  .ml-t[data-mall-template="general7"] .sp-copy p { font-size: 15px; }
  .ml-t[data-mall-template="general7"] .sp-pics { min-height: 0; aspect-ratio: 1 / 1; }
  .ml-t[data-mall-template="general7"] .tb-h { justify-content: flex-start; }
  .ml-t[data-mall-template="general7"] .tb-h h2 { font-size: 24px; }
  .ml-t[data-mall-template="general7"] .tb-h .more { position: static; margin-left: auto; }
  .ml-t[data-mall-template="general7"] .tb-catphotos { margin-top: 56px; }
  .ml-t[data-mall-template="general7"] .tb-catphotos .tb-items { gap: 12px; }
}
