/* 쇼핑몰 화면(대표 지시 2026-12-01). 영카트 기본 css(default_shop · mobile_shop) 위에 allweb 모양을 얹습니다. */

/* mobile_shop.css 의 a:link, a:visited { color:#000 } 이 allweb 머리 · 꼬리 · 전체메뉴의 a { color:inherit } 보다 강해
   휴대폰에서 로고 · 메뉴 글자가 검게 나왔습니다(2026-12-01 운영 실측). 그 세 곳만 되돌립니다. 쇼핑몰 본문의 단추 색은 건드리지 않습니다. */
:where(.hd, .ft, .sitemap) a:not(:where(.hd-shop, .sm-shop, .logo-light)):link,
:where(.hd, .ft, .sitemap) a:not(:where(.hd-shop, .sm-shop, .logo-light)):visited { color: inherit; }
/* 자기 색이 있는 링크 셋은 style.css 의 값(.hd-shop · .sm-shop :122, .logo-light :401)을 같은 세기로 다시 줍니다. :hover 규칙은 더 세서 그대로 이깁니다. */
a:where(.hd-shop, .sm-shop):link, a:where(.hd-shop, .sm-shop):visited { color: var(--ink); }
a:where(.logo-light):link, a:where(.logo-light):visited { color: #fff; }

/* 쇼핑몰 띠 */
.aw-shopbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.aw-shopbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: 1600px; margin: 0 auto; padding: 14px var(--gut); font: 500 15px/1.4 var(--kr); }
.aw-shopbar__cats, .aw-shopbar__my { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.aw-shopbar__cats { flex: 1 1 auto; }
.aw-shopbar a { color: var(--ink); text-decoration: none; }
.aw-shopbar a:hover, .aw-shopbar a:focus-visible { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.aw-shopbar__my a { color: var(--sub); font-size: 14px; }
.aw-shopbar__sch { display: flex; height: 40px; border: 1px solid var(--line); }
.aw-shopbar__sch input { width: 180px; padding: 0 12px; border: 0; font: inherit; font-size: 14px; background: transparent; }
.aw-shopbar__sch button { padding: 0 16px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }

/* 띠는 .allweb-gnu 래퍼 안에 있으므로 좌우 여백은 래퍼 것만 씁니다. */
.allweb-gnu .aw-shopbar { margin-bottom: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.allweb-gnu .aw-shopbar__in { padding: 14px 0; }

/* 본문: .allweb-gnu(gnu.css) 안에서 영카트 화면 폭을 넘치지 않게 둡니다. */
.aw-shop { font-family: var(--kr); }
.aw-shop img { max-width: 100%; height: auto; }
.aw-shop #sit, .aw-shop #sod_bsk, .aw-shop #sod_frm, .aw-shop #smb_my, .aw-shop #sct { max-width: 100%; }
.aw-shop__sec { margin: 0 0 clamp(48px, 6vw, 88px); }
.aw-shop__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.aw-shop__head h2 { flex: 1 1 auto; width: auto; margin: 0; font: 700 clamp(22px, 2.2vw, 30px)/1.3 var(--kr); letter-spacing: -0.02em; }
.aw-shop__head h2 a, .aw-shop__more { color: var(--ink); text-decoration: none; }
.aw-shop__more { flex: none; margin-left: auto; font-size: 14px; color: var(--sub); }
.aw-shop .sct_noitem, .aw-shop .empty_list { padding: 56px 0; color: var(--dim); text-align: center; }

@media (max-width: 1024px) {
  .aw-shopbar__sch { order: 3; width: 100%; }
  .aw-shopbar__sch input { flex: 1; width: auto; }
}
@media (max-width: 768px) {
  .aw-shopbar__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .aw-shopbar__cats::-webkit-scrollbar { display: none; }
  .aw-shopbar__cats li { flex: none; }
}
