/* 그로핏 새 메인 v2 (2026-10-13) — SSG식 구조: 1280 그리드·직각·그림자 최소·사진과 타이포 중심. 브랜드색 #0a8f5c */
.h2{--g:#0a8f5c;--ink:#111;--mut:#888;--line:#e5e5e5;color:var(--ink);padding-bottom:24px}
.h2-wrap{max-width:1280px;margin:0 auto;padding:0 20px}
.h2 a{color:inherit;text-decoration:none}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* 검색 + 빠른 메뉴 */
.h2-top{border-bottom:1px solid var(--line);background:#fff}
.h2-top .h2-wrap{display:flex;align-items:center;gap:28px;padding-top:14px;padding-bottom:14px}
.h2-search{position:relative;flex:0 0 440px;display:flex;border:2px solid var(--ink);height:46px}
.h2-search input{flex:1;border:0;outline:0;padding:0 14px;font:inherit;font-size:15px;min-width:0;background:transparent}
.h2-search button{width:48px;border:0;background:transparent;cursor:pointer;color:var(--ink)}
.h2-sug{position:absolute;left:-2px;right:-2px;top:44px;z-index:40;background:#fff;border:2px solid var(--ink);border-top:1px solid var(--line);list-style:none;margin:0;padding:6px 0;max-height:360px;overflow:auto}
.h2-sug a{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;font-size:14px}
.h2-sug a:hover,.h2-sug a[aria-selected=true]{background:#f4f4f4}
.h2-sug small{color:var(--mut);font-size:12px;white-space:nowrap}
.h2-menu{display:flex;gap:22px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.h2-menu::-webkit-scrollbar{display:none}
.h2-menu a{font-size:15px;font-weight:600;padding:6px 0}
.h2-menu a:hover{color:var(--g)}
/* 히어로 배너 레일(풀블리드) */
.h2-hero{margin-top:20px}
.h2-rail{display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 max(20px,calc((100vw - 1280px)/2));outline:0}
.h2-rail::-webkit-scrollbar{display:none}
.h2-ban{position:relative;flex:0 0 424px;height:374px;scroll-snap-align:start;overflow:hidden;background:#222;color:#fff!important}
.h2-ban img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h2-ban::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.32)}
.h2-ban-tag{position:absolute;left:0;top:0;z-index:2;background:#111;color:#fff;font-size:12px;font-weight:700;padding:7px 10px}
.h2-ban-txt{position:absolute;left:24px;right:24px;bottom:24px;z-index:2;display:flex;flex-direction:column;gap:8px}
.h2-ban-txt b{font-size:24px;line-height:1.35;font-weight:700;letter-spacing:-.02em}
.h2-ban-txt small{font-size:14px;opacity:.92}
.h2-ctl{display:flex;align-items:center;gap:6px;margin-top:14px}
.h2-prog{flex:1;height:2px;background:var(--line);margin-right:12px;position:relative}
.h2-prog i{position:absolute;left:0;top:0;bottom:0;background:var(--ink);transition:width .3s}
.h2-btn{width:30px;height:30px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.h2-count{font-size:13px;color:var(--mut);margin-left:8px;min-width:52px;font-variant-numeric:tabular-nums}
.h2-count b{color:var(--ink)}
/* 원형 퀵메뉴 */
.h2-quick{margin-top:36px}
.h2-quick ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(15,1fr);gap:8px}
.h2-quick a{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;text-align:center}
.h2-quick i{width:64px;height:64px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font-style:normal}
.h2-quick i.ph{background:#eee}
.h2-quick i.ph img{width:100%;height:100%;object-fit:cover}
.h2-quick i.tx{background:#f2f4f3;color:var(--g);font-weight:800;font-size:13px;letter-spacing:-.03em;border:1px solid #e3ebe7}
.h2-quick a:hover span{color:var(--g)}
/* 섹션 공통 */
.h2-sec{margin-top:56px}
.h2-sh{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:6px}
.h2-sh h2{font-size:22px;font-weight:700;margin:0;letter-spacing:-.02em}
.h2-sh a{font-size:14px;color:var(--mut);display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.h2-note{font-size:13px;color:var(--mut);margin:0 0 18px}
.h2-sq{position:relative;display:block;aspect-ratio:1/1;background:#f2f2f2;overflow:hidden}
.h2-sq img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
a:hover .h2-sq img{transform:scale(1.03)}
/* 브랜드 카드 */
.h2-bgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px 16px}
.h2-bgrid a{display:flex;flex-direction:column;gap:4px}
.h2-sq em{position:absolute;left:0;bottom:0;background:rgba(17,17,17,.82);color:#fff;font-style:normal;font-size:12px;font-weight:600;padding:5px 9px}
.h2-bgrid small{color:var(--mut);font-size:12px;margin-top:10px}
.h2-bgrid b{font-size:17px;font-weight:700}
.h2-one{font-size:14px;color:#444;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.h2-cost{font-size:14px;margin-top:6px}
.h2-cost strong{color:var(--g);font-weight:800;margin-right:4px}
.h2-cost .mut{color:var(--mut)}
.h2-area{font-size:13px;color:#555}
.h2-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.h2-chips i{font-style:normal;font-size:11px;border:1px solid #cfd6d2;color:#3a4a42;padding:3px 6px}
/* 짙은 띠 기획전 */
.h2-band{margin-top:64px;background:#14211b;color:#fff;padding:52px 0 44px}
.h2-band-h{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.h2-band h2{font-size:36px;line-height:1.25;font-weight:600;margin:0;letter-spacing:-.03em}
.h2-tabs{display:flex;gap:8px;flex-wrap:wrap}
.h2-tabs button{border:1px solid rgba(255,255,255,.45);background:transparent;color:#fff;border-radius:999px;padding:9px 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.h2-tabs button[aria-selected=true]{background:#fff;color:#111;border-color:#fff}
.h2-cols{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.h2-cols a{display:flex;flex-direction:column;gap:6px;color:#fff!important}
.h2-cols small{color:#9fd7bd;font-size:12px;margin-top:8px}
.h2-cols b{font-size:16px;line-height:1.4;font-weight:600}
.h2-band-more{display:inline-flex;align-items:center;gap:2px;margin-top:28px;color:#d6e7de!important;font-size:14px}
/* 지역 */
.h2-reg{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(8,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.h2-reg a{display:block;text-align:center;padding:16px 6px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;font-weight:600}
.h2-reg a:hover{background:#f4f8f6;color:var(--g)}
/* CTA */
.h2-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--g);color:#fff!important;padding:28px 32px}
.h2-cta span{display:flex;flex-direction:column;gap:6px}
.h2-cta small{font-size:14px;opacity:.9}
.h2-cta b{font-size:22px;font-weight:700;letter-spacing:-.02em}
.h2-cta em{font-style:normal;font-weight:700;background:#fff;color:var(--g);padding:12px 18px;display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
/* 하단 탭바(모바일) */
.h2-tabbar{display:none}
/* 태블릿 */
@media (max-width:1100px){
  .h2-quick ul{grid-template-columns:repeat(8,1fr);row-gap:18px}
  .h2-bgrid,.h2-cols{grid-template-columns:repeat(3,1fr)}
  .h2-reg{grid-template-columns:repeat(6,1fr)}
  .h2-search{flex-basis:360px}
}
/* 모바일 */
@media (max-width:860px){
  .h2-top .h2-wrap{flex-direction:column;align-items:stretch;gap:10px;padding-top:10px;padding-bottom:6px}
  .h2-search{flex:none;border:0;background:#f2f2f2;border-radius:999px;height:44px}
  .h2-search input{padding-left:18px}
  .h2-sug{border-radius:12px;top:48px;left:0;right:0;border:1px solid var(--line)}
  .h2-menu{gap:18px;padding-bottom:4px}
  .h2-menu a{font-size:14px}
  .h2-hero{margin-top:12px}
  .h2-rail{padding:0;gap:0}
  .h2-ban{flex:0 0 100%;height:auto;aspect-ratio:1/1}
  .h2-ban-txt b{font-size:22px}
  .h2-ctl{margin-top:10px}
  .h2-quick{margin-top:26px}
  .h2-quick ul{display:flex;overflow-x:auto;gap:14px;scrollbar-width:none;padding-bottom:4px}
  .h2-quick ul::-webkit-scrollbar{display:none}
  .h2-quick li{flex:0 0 64px}
  .h2-quick i{width:58px;height:58px}
  .h2-sec{margin-top:40px}
  .h2-sh h2{font-size:19px}
  .h2-bgrid,.h2-cols{grid-template-columns:repeat(2,1fr);gap:22px 12px}
  .h2-bgrid b{font-size:16px}
  .h2-band{margin-top:44px;padding:36px 0 32px}
  .h2-band-h{flex-direction:column;align-items:flex-start;gap:16px}
  .h2-band h2{font-size:26px}
  .h2-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none}
  .h2-tabs button{flex:0 0 auto;padding:8px 15px}
  .h2-reg{grid-template-columns:repeat(4,1fr)}
  .h2-reg a{padding:13px 4px;font-size:13px}
  .h2-cta{flex-direction:column;align-items:flex-start;padding:22px 20px}
  .h2-cta b{font-size:18px}
  .h2-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
  .h2-tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 7px;font-size:11px;color:#555;text-decoration:none}
  .h2-tabbar a[aria-current=page]{color:#0a8f5c;font-weight:700}
  body:has(.h2-tabbar) .ft{padding-bottom:84px}
}
@media (prefers-reduced-motion:reduce){.h2-sq img,.h2-prog i{transition:none}}
.h2-max{font-size:14px}
.h2-max strong{color:#d0302f;font-weight:800;margin-right:4px}
.h2-quick ul{grid-template-columns:repeat(auto-fit,minmax(64px,1fr))}
