/* ============================================================
 * consumer.css — Cephas 소비자 전용 프런트 (Phase 2A)
 * 완전 격리: style2.css/common.css/default.css 미사용.
 * Mobile First · Grid/Flex · no float · no table-layout.
 * 브레이크: 360~479 / 480~767 / 768~1023 / 1024+
 * ============================================================ */
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body.cs{
	margin:0; background:#fff; color:#1a1a1a; line-height:1.5;
	font-size:16px; font-family:"Noto Sans KR","Apple SD Gothic Neo","맑은 고딕","Malgun Gothic",sans-serif;
	word-break:keep-all;
	overflow-x:hidden;   /* [2026-09-20] 방어용: 인앱 브라우저 가로 스크롤바 원천 차단(내부 auto 스크롤 .cs-table-wrap/.cs-chips 무영향). 실측상 페이지 overflow 0이나 belt&suspenders. */
}
body.cs img{ max-width:100%; height:auto; display:block; border:0; }
body.cs a{ color:inherit; text-decoration:none; }
body.cs ul{ list-style:none; margin:0; padding:0; }
.cs-wrap{ width:100%; max-width:1200px; margin:0 auto; padding:0 16px; }
.cs-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* ---------- Header (Main UX Rework 2026-08-25: 모바일 드롭다운 / PC 한 줄) ---------- */
body.cs{ --cs-header-h:57px; }   /* [2026-09-14] 헤더 총높이 SSOT(bar 56 + border 1). ≥1024=67px. 앵커 scroll-margin-top 이 참조 */
.cs-header{ position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid #ececec; }
.cs-header .cs-wrap{ position:relative; }
.cs-header__bar{ display:flex; align-items:center; gap:8px; height:56px; }
.cs-logo{ flex:0 0 auto; }
.cs-logo img{ height:26px; width:auto; }
.cs-header__util{ display:flex; align-items:center; gap:2px; margin-left:auto; }
.cs-iconbtn{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0; background:none; border:0; color:#1a1a1a; cursor:pointer; font-size:20px; line-height:1; }
.cs-authlinks{ display:flex; align-items:center; }
.cs-authlinks a{ display:inline-flex; align-items:center; min-height:44px; padding:0 8px; font-size:12.5px; color:#444; white-space:nowrap; }
.cs-authlinks a + a{ border-left:1px solid #e5e5e5; }

/* 검색 / 내비 = 모바일 드롭다운(bar 아래 절대배치, .cs-wrap 기준 폭) */
.cs-search{ display:none; position:absolute; left:0; right:0; top:100%; z-index:99; padding:10px 16px 12px; background:#fff; border-top:1px solid #ececec; box-shadow:0 10px 22px rgba(0,0,0,.06); }
.cs-search.is-open{ display:block; }
.cs-search form{ display:flex; gap:8px; }
.cs-search input{ flex:1; min-width:0; min-height:44px; padding:0 12px; font-size:16px; border:1px solid #ccc; border-radius:8px; }
.cs-search button{ flex:0 0 auto; min-height:44px; padding:0 16px; background:#da0617; color:#fff; border:0; border-radius:8px; font-size:15px; cursor:pointer; }
.cs-nav{ display:none; position:absolute; left:0; right:0; top:100%; z-index:98; padding:2px 16px; background:#fff; border-top:1px solid #ececec; box-shadow:0 10px 22px rgba(0,0,0,.06); }
.cs-nav.is-open{ display:block; }
.cs-nav a{ display:block; padding:13px 2px; font-size:15px; border-bottom:1px solid #f3f3f3; }

/* ---------- Hero ---------- */
.cs-hero-sec{ padding:0; position:relative; }
/* [2026-09-29] 현재/전체 배너 카운터(예: 3 / 10) — hero 우하단 모서리. 배너 2개+일 때만 JS가 display 토글. */
.cs-hero__count{ display:none; position:absolute; right:10px; bottom:34px; z-index:2; padding:2px 9px; border-radius:999px; background:rgba(0,0,0,.55); color:#fff; font-size:12px; line-height:1.5; font-weight:600; letter-spacing:.3px; pointer-events:none; }
@media(max-width:480px){ .cs-hero__count{ right:8px; bottom:28px; font-size:11px; padding:1px 8px; } }
.cs-hero{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; align-items:center; background:#f2f3f5; }
.cs-hero::-webkit-scrollbar{ display:none; }
/* [2026-11-16 모바일 Hero] 슬라이드 내 이미지 수직 중앙정렬 — 모바일 전용(1:1) 배너와 PC 폴백(가로형) 배너가 섞여도 한 줄(flex row)로 높이 고정, 전환 시 높이 안 튐. 폴백 배너는 가운데 배치(crop 없음). */
.cs-hero__slide{ flex:0 0 100%; scroll-snap-align:center; display:flex; align-items:center; justify-content:center; }
.cs-hero__slide img{ width:100%; height:auto; }
.cs-hero__pic{ display:block; width:100%; }
.cs-hero__pic img{ width:100%; height:auto; display:block; }
.cs-dots{ display:flex; justify-content:center; gap:8px; padding:12px 0; }
.cs-dots button{ width:8px; height:8px; padding:0; border:0; border-radius:50%; background:#cfcfcf; cursor:pointer; }
.cs-dots button.is-active{ background:#da0617; }
/* [2026-10-08] 히어로 좌우 화살표 + 재생/일시정지(배너 2개+ · 밝고 어두운 이미지 모두 가독 · 모바일 터치영역) */
.cs-hero__arw{ position:absolute; top:0; bottom:38px; height:44px; margin:auto 0; z-index:3; width:44px; border:0; border-radius:50%; background:rgba(0,0,0,.4); color:#fff; font-size:26px; line-height:1; cursor:pointer; padding:0; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 5px rgba(0,0,0,.3); -webkit-tap-highlight-color:transparent; }
.cs-hero__arw--prev{ left:10px; }
.cs-hero__arw--next{ right:10px; }
.cs-hero__arw:hover{ background:rgba(0,0,0,.58); }
.cs-hero__hud{ position:absolute; right:10px; bottom:30px; z-index:3; display:flex; align-items:center; gap:6px; }
.cs-hero__hud .cs-hero__count{ position:static; right:auto; bottom:auto; display:inline-block; }
.cs-hero__pp{ width:26px; height:26px; border:0; border-radius:50%; background:rgba(0,0,0,.55); color:#fff; font-size:12px; line-height:1; cursor:pointer; padding:0; display:inline-flex; align-items:center; justify-content:center; -webkit-tap-highlight-color:transparent; }
.cs-hero__pp:hover{ background:rgba(0,0,0,.72); }
.cs-hero__arw:focus-visible, .cs-hero__pp:focus-visible, .cs-dots button:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
@media(max-width:480px){
	.cs-hero__arw{ width:44px; height:48px; bottom:34px; font-size:28px; }
	.cs-hero__arw--prev{ left:6px; } .cs-hero__arw--next{ right:6px; }
	.cs-hero__hud{ bottom:26px; } .cs-hero__pp{ width:30px; height:30px; font-size:13px; }
}

/* ---------- Section ---------- */
.cs-section{ padding:26px 0; scroll-margin-top:57px; scroll-margin-top:var(--cs-header-h); }   /* [2026-09-14] 앵커(#csBrands 등) 오프셋=헤더 실제높이(--cs-header-h). 폴백 57px(var 미지원 브라우저) */
.cs-section__head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; }
.cs-section__title{ margin:0; font-size:18px; font-weight:700; }
.cs-section__more{ font-size:13px; color:#888; }

/* 브랜드 그리드 */
.cs-brands{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.cs-brands a{ display:flex; align-items:center; justify-content:center; min-height:54px; padding:8px; text-align:center;
	font-size:13.5px; font-weight:600; color:#222; border:1px solid #e9e9e9; border-radius:8px; background:#fafafa; }
.cs-brands a:active{ background:#f0f0f0; }

/* 프로모션 카드 */
.cs-cards{ display:grid; grid-template-columns:1fr; gap:14px; }
.cs-card{ display:block; }
.cs-card img{ width:100%; border-radius:8px; background:#f4f4f4; }
.cs-card__t{ margin:8px 2px 0; font-size:14px; color:#333; }

/* 공지 */
.cs-notice{ border-top:2px solid #222; }
.cs-notice li{ border-bottom:1px solid #eee; }
.cs-notice a{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:8px 2px; font-size:14px; }
.cs-notice .t{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-notice .d{ flex:0 0 auto; font-size:12px; color:#9a9a9a; }

/* CTA */
.cs-cta{ display:grid; grid-template-columns:1fr; gap:10px; }
.cs-btn{ display:flex; align-items:center; justify-content:center; min-height:52px; border-radius:8px; font-size:16px; font-weight:600; }
.cs-btn--primary{ background:#da0617; color:#fff; }
.cs-btn--line{ border:1px solid #ccc; color:#222; }

/* Footer */
.cs-footer{ margin-top:24px; background:#f7f7f7; border-top:1px solid #e5e5e5; }
.cs-footer__links{ display:flex; flex-wrap:wrap; gap:10px 18px; padding:18px 0 8px; font-size:13px; }
.cs-footer__links .pv{ color:#da0617; font-weight:700; }
.cs-footer__addr{ padding:6px 0 26px; font-size:12px; color:#8a8a8a; line-height:1.8; font-style:normal; }

/* ---------- Responsive ---------- */
@media (min-width:480px){
	.cs-brands{ grid-template-columns:repeat(4,1fr); }
}
@media (min-width:768px){
	/* 헤더는 <1024=모바일 토글 유지(태블릿 내비 충돌 방지), ≥1024=한 줄(하단 Rework 블록). */
	.cs-cards{ grid-template-columns:repeat(2,1fr); }
	.cs-cta{ grid-template-columns:repeat(3,1fr); }
	.cs-section{ padding:34px 0; }   /* [2026-09-14] scroll-margin 은 --cs-header-h(1024 브레이크포인트)로 통일 → 기존 768px 오프셋 override 제거 */
}
@media (min-width:1024px){
	.cs-brands{ grid-template-columns:repeat(6,1fr); }
	.cs-cards{ grid-template-columns:repeat(3,1fr); }
}

/* ============================================================
 * Phase 2B — 상품목록 / 상품상세 컴포넌트
 * ============================================================ */

/* 목록 상단 */
.cs-plist{ padding:18px 0 30px; }
.cs-plist__head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:14px; }
.cs-plist__title{ margin:0; font-size:19px; font-weight:700; }
.cs-plist__count{ font-size:13px; color:#777; }
.cs-plist__count strong{ color:#da0617; }
.cs-empty{ padding:60px 0; text-align:center; color:#888; }
.cs-empty__t{ margin:0 0 16px; font-size:15px; }
.cs-empty .cs-btn{ display:inline-flex; padding:0 22px; }

/* 상품 grid: 360~ 2열 */
.cs-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px 12px; }

/* 상품 카드 */
.cs-card2{ display:block; }
.cs-card2__img{ position:relative; width:100%; aspect-ratio:1/1; background:#f6f6f6; border:1px solid #eee; border-radius:8px; overflow:hidden; }
.cs-card2__img img{ width:100%; height:100%; object-fit:contain; }
.cs-card2.is-soldout .cs-card2__img img{ opacity:.5; }
.cs-badge{ position:absolute; font-size:11px; font-weight:700; line-height:1; padding:5px 7px; border-radius:4px; }
.cs-badge--sold{ top:8px; left:8px; background:rgba(30,30,30,.82); color:#fff; }
.cs-card2__body{ padding:8px 2px 0; }
.cs-card2__badges{ min-height:0; margin-bottom:4px; }
.cs-card2__badges img{ display:inline-block; height:16px; width:auto; vertical-align:middle; }
.cs-card2__name{ font-size:13.5px; line-height:1.4; color:#222; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.8em; }
.cs-card2__price{ margin-top:6px; display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.cs-price__was{ font-size:12px; color:#aaa; text-decoration:line-through; }
.cs-price__now{ font-size:16px; font-weight:800; color:#111; }
.cs-price__now i{ font-size:12px; font-weight:500; font-style:normal; margin-left:1px; }
.cs-price__rate{ font-size:14px; font-weight:800; color:#da0617; margin-right:4px; }

/* pagination */
.cs-paging{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:26px; }
.cs-paging__btn, .cs-paging__num{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0 10px; font-size:14px; border:1px solid #ddd; border-radius:8px; color:#333; }
.cs-paging__num.is-active{ background:#da0617; border-color:#da0617; color:#fff; font-weight:700; }
.cs-paging__gap{ color:#bbb; }

/* ---------- 상세 ---------- */
.cs-pview{ padding:14px 0 30px; }
.cs-crumb{ font-size:12.5px; color:#888; padding:6px 0 14px; }
.cs-crumb a{ color:#666; }
.cs-crumb i{ color:#ccc; margin:0 2px; }
/* 판매관(SMART DEAL / OUTLET) 목록 링크 — 경로에서 구분되게 강조(절제). */
.cs-crumb a.cs-crumb__ch{ color:#1f2530; font-weight:700; }
.cs-crumb a.cs-crumb__ch:hover{ text-decoration:underline; }
@media (max-width:480px){
	/* 모바일: 터치 영역 확보(이웃 링크 겹침 방지) + 자연 줄바꿈 */
	.cs-crumb{ line-height:2.0; }
	.cs-crumb a{ display:inline-block; padding:3px 2px; }
	.cs-crumb a.cs-crumb__ch{ padding:3px 8px; }
}

.cs-pview__top{ display:flex; flex-direction:column; gap:18px; }

/* 갤러리 — [2026-09-20] 강제 정사각(1/1)·회색배경 제거 → 이미지 실제 비율대로 표시(하단 회색 여백 제거).
 *   컨테이너 높이=이미지 높이(height:auto). 크롭(object-fit:cover) 미사용·원본 미변경. 극단 세로형만 max-height 내 contain 레터박스. */
.cs-gallery__main{ position:relative; width:100%; background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; text-align:center; }
.cs-gallery__main img{ display:block; width:100%; height:auto; max-height:560px; object-fit:contain; margin:0 auto; }
.cs-gallery__thumbs{ display:flex; gap:8px; overflow-x:auto; padding:10px 0 2px; scrollbar-width:none; }
.cs-gallery__thumbs::-webkit-scrollbar{ display:none; }
.cs-gallery__thumb{ flex:0 0 auto; width:58px; height:58px; padding:0; border:1px solid #e2e2e2; border-radius:6px; overflow:hidden; background:#fff; cursor:pointer; }
.cs-gallery__thumb.is-active{ border-color:#da0617; box-shadow:0 0 0 1px #da0617 inset; }
.cs-gallery__thumb img{ width:100%; height:100%; object-fit:contain; }

/* 정보 */
/* 상세 badge 행: 기존 .cs-badge(position:absolute) 무력화 → flex 독립배치(겹침/잘림 방지). SMART DEAL/1개 한정/전시 상품 등 다중 badge 대응. */
.cs-pinfo__badges{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:6px; }
.cs-pinfo__badges .cs-badge{ position:static; }
.cs-pinfo__badges img{ height:18px; width:auto; vertical-align:middle; margin-right:4px; }
.cs-pinfo__name{ margin:2px 0 6px; font-size:21px; font-weight:700; line-height:1.35; word-break:keep-all; }
.cs-pinfo__sub{ margin:0 0 12px; font-size:13.5px; color:#888; line-height:1.5; }
/* [2026-09-20] 가격: 이중 구분선 제거(상단선 삭제)·여백 정리. 긴 상품명/할인/품절에도 flex-wrap 유지. */
.cs-pinfo__price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 8px; padding:4px 0 14px; border-bottom:1px solid #eee; }
.cs-pinfo__price .cs-price__now{ font-size:24px; }
.cs-pinfo__price .cs-price__was{ font-size:14px; }
.cs-pinfo__stock{ margin:12px 0 2px; }
.cs-stock{ display:inline-block; font-size:13px; font-weight:600; padding:5px 10px; border-radius:6px; }
.cs-stock--in{ background:#eef7ee; color:#2e7d32; }
.cs-stock--out{ background:#fbeaea; color:#c62828; }

/* 옵션(기존 goption 재사용 스타일) */
.cs-option{ margin:16px 0 12px; }
.cs-option .viewOption_type, .cs-option li{ list-style:none; }
.cs-option .title01{ display:block; font-size:13px; color:#666; margin-bottom:6px; }
.cs-option .select_Div{ width:100%; }
.cs-option select{ width:100%; min-height:48px; font-size:16px; padding:0 12px; border:1px solid #ccc; border-radius:8px; background:#fff; }

/* 수량 */
.cs-qty{ display:flex; align-items:center; gap:14px; margin:14px 0; }
.cs-qty__label{ font-size:14px; color:#555; }
.cs-qty__ctrl{ display:inline-flex; align-items:center; border:1px solid #ccc; border-radius:8px; overflow:hidden; }
.cs-qty__btn{ width:44px; height:44px; border:0; background:#f4f4f4; font-size:20px; cursor:pointer; }
.cs-qty__input{ width:54px; height:44px; text-align:center; border:0; border-left:1px solid #e2e2e2; border-right:1px solid #e2e2e2; font-size:16px; }

/* CTA */
.cs-pcta{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.cs-pcta .cs-btn[disabled]{ opacity:.55; cursor:not-allowed; }
/* [2026-09-20] 바로구매=주(빨강 채움·굵게) / 장바구니=보조(아웃라인·연한 글자). 상세 CTA 한정(전역 .cs-btn 무영향). */
.cs-pcta .cs-btn--primary{ font-weight:700; }
.cs-pcta .cs-btn--line{ color:#444; }
.cs-pcta__note{ margin:10px 0 0; font-size:12px; color:#a00; line-height:1.5; }

/* 상세정보 안전 래퍼 */
.cs-desc{ overflow-x:auto; -webkit-overflow-scrolling:touch; font-size:14px; line-height:1.7; color:#333; }
.cs-desc img{ max-width:100% !important; height:auto !important; margin-left:auto; margin-right:auto; }   /* body.cs img{display:block}로 인해 legacy text-align:center 무력화 → block 이미지 margin auto로 중앙정렬(확대 아님) */
.cs-desc table{ max-width:100% !important; }
.cs-desc .cs-table-wrap{ overflow-x:auto; }
.cs-desc__loading{ color:#aaa; padding:30px 0; text-align:center; }

/* 안내 */
.cs-guide__list{ display:flex; flex-direction:column; gap:8px; padding:16px; background:#f7f7f7; border-radius:10px; font-size:13px; color:#555; }
.cs-guide__list b{ display:inline-block; min-width:64px; color:#333; }

/* ---------- 상세/목록 반응형 ---------- */
@media (min-width:768px){
	.cs-grid{ grid-template-columns:repeat(3,1fr); gap:20px 16px; }
	.cs-pview__top{ flex-direction:row; align-items:flex-start; gap:32px; }
	.cs-gallery{ flex:1 1 50%; max-width:50%; }
	.cs-pinfo{ flex:1 1 50%; }
	.cs-pcta{ grid-template-columns:1fr 1fr; }
}
@media (min-width:1024px){
	.cs-grid{ grid-template-columns:repeat(4,1fr); }
	.cs-gallery{ max-width:480px; }
}

/* ============================================================
 * Phase 2C — 카테고리 탐색(중/소분류 칩) + 대리점 가격 표시
 * 페이지 가로 스크롤 없음: 칩 영역(.cs-chips)만 가로 스크롤.
 * ============================================================ */
.cs-catnav{ padding:6px 0 8px; }
.cs-crumb2{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px; list-style:none; margin:0 0 12px; padding:0; font-size:12.5px; color:#999; }
.cs-crumb2 li{ display:flex; align-items:center; }
.cs-crumb2 li + li::before{ content:"\203A"; color:#ccc; margin:0 6px; }
.cs-crumb2 a{ color:#666; }
.cs-crumb2 li[aria-current]{ color:#222; font-weight:600; }

.cs-chips{ display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:2px 0 10px; }
.cs-chips::-webkit-scrollbar{ display:none; }
.cs-chips--sub{ padding-top:0; }
.cs-chip{ flex:0 0 auto; display:inline-flex; align-items:center; min-height:38px; padding:0 14px; border:1px solid #e0e0e0; border-radius:20px; font-size:13.5px; color:#444; background:#fff; white-space:nowrap; }
.cs-chip.is-active{ background:#1a1a1a; border-color:#1a1a1a; color:#fff; font-weight:600; }
.cs-chip--sm{ min-height:34px; padding:0 12px; font-size:12.5px; color:#666; background:#f6f6f6; border-color:#eee; }
/* PC/태블릿(≥768): 카테고리 칩을 여러 줄 wrap(화면 밖 가로 잘림 방지). row/column gap = 기존 8px 재사용. 모바일(<768)은 가로 스크롤 UX 유지. */
@media (min-width:768px){
	.cs-chips{ flex-wrap:wrap; overflow-x:visible; }
}
.cs-chip--sm.is-active{ background:#da0617; border-color:#da0617; color:#fff; }

.cs-dealer-tag{ display:inline-block; font-size:11px; font-weight:700; color:#fff; background:#22aa66; padding:2px 7px; border-radius:4px; vertical-align:middle; }

.cs-price--dealer .cs-price__lbl{ display:block; font-size:11px; color:#22aa66; font-weight:700; margin-bottom:1px; }

.cs-dprice{ list-style:none; margin:12px 0; padding:12px 14px; border:1px solid #e5e5e5; border-radius:10px; background:#fafafa; }
.cs-dprice li{ display:flex; justify-content:space-between; align-items:baseline; padding:5px 0; font-size:14px; }
.cs-dprice__t{ color:#666; }
.cs-dprice__v{ font-weight:600; color:#222; }
.cs-dprice--hl .cs-dprice__v{ color:#da0617; font-weight:800; }
.cs-dprice--tot{ border-top:1px dashed #ddd; margin-top:4px; padding-top:9px; }
.cs-dprice--tot .cs-dprice__v{ font-size:17px; font-weight:800; }

/* ============================================================
 * Phase 2E — Responsive Detail Renderer (모두 .cs-detail 스코프)
 * ============================================================ */
.cs-detail{ padding-top:8px; margin-top:22px; }   /* [2026-09-20] 구매 영역과 상세정보 경계 간결화 */
.cs-acc{ border-top:1px solid #e5e5e5; }
.cs-acc__item{ border-bottom:1px solid #e5e5e5; }
.cs-acc__head{ width:100%; display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:0 4px; background:none; border:0; font-size:15px; font-weight:600; color:#222; cursor:pointer; text-align:left; }
.cs-acc__ico{ position:relative; flex:0 0 auto; width:12px; height:12px; }
.cs-acc__ico::before, .cs-acc__ico::after{ content:""; position:absolute; background:#888; }
.cs-acc__ico::before{ top:5px; left:0; width:12px; height:2px; }
.cs-acc__ico::after{ top:0; left:5px; width:2px; height:12px; }
.cs-acc__item.is-open .cs-acc__ico::after{ opacity:0; }
.cs-acc__panel{ display:none; padding:4px 2px 20px; }
.cs-acc__item.is-open .cs-acc__panel{ display:block; }

/* 주입된 에디터 HTML 안전 처리(.cs-detail 하위 스코프만) */
.cs-detail .cs-acc__panel{ overflow-x:hidden; font-size:14px; line-height:1.7; color:#333; }
.cs-detail img{ max-width:100% !important; height:auto !important; margin-left:auto; margin-right:auto; }   /* 좁은 legacy 상세 이미지 중앙정렬(원본보다 확대 안 함): display:block + margin auto */
.cs-detail .in_Layer{ width:auto !important; max-width:100% !important; }
.cs-detail .viewDetail_Bg{ width:auto !important; }
.cs-detail .imgCenter{ text-align:center; }
.cs-detail .cs-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
.cs-detail .cs-table-wrap table{ max-width:none; }
.cs-detail .cs-embed{ position:relative; width:100%; aspect-ratio:16/9; margin:8px 0; }
.cs-detail .cs-embed iframe, .cs-detail .cs-embed embed, .cs-detail .cs-embed object, .cs-detail .cs-embed video{ position:absolute; inset:0; width:100% !important; height:100% !important; border:0; }

/* ============================================================
 * Phase 2G — Product Card V2 (슬롯형). ViewModel 결합, 계약: docs/08_PRODUCT_UI_CONTRACT.md
 * 컨테이너는 <article>(앵커 아님) + stretched-link → 미래 찜/컬러칩/그룹버튼 중첩 anchor 문제 없음.
 * 목록 그리드(.cs-grid)는 기존 2→3→4열 반응형 재사용. 상세 관련상품(.cs-card2)은 별도 유지.
 * ============================================================ */
/* ⚠️ 메인 프로모션 카드(.cs-cards .cs-card)와 클래스명 충돌 → 상품 카드는 .cs-grid 하위로 스코프해 격리 */
.cs-grid .cs-card{ position:relative; display:flex; flex-direction:column; min-width:0; }
.cs-grid .cs-card__media{ position:relative; width:100%; aspect-ratio:1/1; background:#fff; border:1px solid #eee; border-radius:8px; overflow:hidden; }
.cs-grid .cs-card__link{ position:static; } /* stretched-link: ::after 가 .cs-grid .cs-card(position:relative) 전체를 덮음 → 카드 전체 클릭 */
.cs-grid .cs-card__link::after{ content:""; position:absolute; inset:0; z-index:1; }
.cs-grid .cs-card__img{ position:relative; z-index:0; width:100%; height:100%; object-fit:contain; display:block; background:transparent; } /* 원본 잘림 방지 + 프로모 .cs-card img 회색배경 override */
.cs-grid .cs-card.is-soldout .cs-card__img{ opacity:.45; }

/* badge slot(미디어 좌상단 오버레이) — z-index 로 stretched-link 위 */
.cs-card__badges{ position:absolute; top:8px; left:8px; right:36px; z-index:2; display:flex; flex-wrap:wrap; gap:5px; }
.cs-card__badges .cs-badge{ position:static; max-width:100%; } /* 기존 .cs-badge(absolute) 무력화, flex 배치. right 경계+wrap 으로 badge 간 겹침 원천차단(wish 슬롯 우측 여백 확보) */
.cs-badge--sale{ background:#da0617; color:#fff; }

/* wish slot(찜 등) — 미디어 오버레이, 미래 예약, 지금 빈값 */
.cs-card__wish{ position:absolute; top:6px; right:6px; z-index:2; }

.cs-card__body{ padding:8px 2px 0; min-width:0; }
.cs-card__brand{ font-size:11.5px; font-weight:700; letter-spacing:.02em; color:#8a8a8a; text-transform:uppercase; margin-bottom:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-card__category{ font-size:11px; color:#b0b0b0; margin-bottom:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-card__name{ font-size:13.5px; line-height:1.42; color:#1a1a1a; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.84em; word-break:keep-all; }
.cs-card__price{ margin-top:6px; }
.cs-price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.cs-card__meta{ margin-top:6px; }
/* group_slot(색상, 미래) / option_slot(사이즈) / action_slot(수량+담기) — stretched-link(z1) 위에서 클릭되도록 z2 */
.cs-card__group{ margin-top:8px; position:relative; z-index:2; }
.cs-card__option{ margin-top:8px; position:relative; z-index:2; }
/* action(수량+담기): 기본 1행 compact. 좁은 폭(≈360, 2열)에서만 담기 버튼이 다음 줄로 자연 줄바꿈 → 오버플로 0 */
.cs-card__action{ position:relative; z-index:2; margin-top:8px; display:none; align-items:center; flex-wrap:wrap; gap:8px; }

/* 빈 슬롯 자동 접힘(공백 없이 출력하므로 :empty 정확 동작) */
.cs-card__badges:empty,
.cs-card__wish:empty,
.cs-card__brand:empty,
.cs-card__category:empty,
.cs-card__meta:empty,
.cs-card__group:empty,
.cs-card__option:empty{ display:none; }

/* action 노출 규칙: single=즉시 / multi=옵션 선택(.is-qsel) 후 / none=숨김. 등장 시 부드러운 페이드(담기 등장). */
.cs-card[data-qmode="single"] .cs-card__action,
.cs-card.is-qsel[data-qmode="multi"] .cs-card__action{ display:flex; animation:cs-qcart-in .2s ease; }
@keyframes cs-qcart-in{ from{ opacity:0; transform:translateY(-4px); } to{ opacity:1; transform:translateY(0); } }

@media (min-width:768px){
	.cs-card__name{ font-size:14px; }
	.cs-card__brand{ font-size:12px; }
}

/* ============================================================
 * Phase 2G/2G-1 — Quick Option / Quick Cart (소비자 목록 전용).
 * 네임스페이스: cs-qopt__*(OptionSelector) · cs-qcart__*(QuantitySelector+CartButton) · cs-toast.
 * ⚠️ 상세페이지 수량 UI(.cs-qty*, 위 라인 185~190/view.php)와 클래스 미공유 → selector 충돌 0.
 * ============================================================ */
/* 옵션 토글(사이즈 N개 ▼) — 한 줄, 여백 최소 */
.cs-qopt__toggle{ width:100%; min-height:34px; display:flex; align-items:center; justify-content:space-between;
	padding:0 10px; border:1px solid #e2e2e2; border-radius:8px; background:#fafafa; font-size:12.5px; color:#444; cursor:pointer; }
.cs-qopt__caret{ width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid #999; transition:transform .2s; }
.cs-card.is-optopen .cs-qopt__caret{ transform:rotate(180deg); }
/* 아코디언 패널 — grid-rows 트랜지션(부드럽게 살짝 열림) */
.cs-qopt__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .22s ease; }
.cs-card.is-optopen .cs-qopt__panel{ grid-template-rows:1fr; }
.cs-qopt__opts{ overflow:hidden; display:flex; flex-wrap:wrap; gap:6px; padding-top:0; opacity:0; transition:opacity .18s ease .06s; }
.cs-card.is-optopen .cs-qopt__opts{ padding-top:8px; opacity:1; }
/* 옵션 버튼: 재고 있음=진한 / 없음=회색 disabled. 터치 타겟 ≥44px */
.cs-qopt__btn{ min-width:44px; min-height:44px; padding:0 10px; border:1px solid #d0d0d0; border-radius:8px;
	background:#fff; color:#222; font-size:13px; font-weight:600; cursor:pointer; }
.cs-qopt__btn.is-active{ border-color:#111; background:#111; color:#fff; }
.cs-qopt__btn.is-sold{ color:#c0c0c0; background:#f3f3f3; border-color:#eee; cursor:not-allowed; text-decoration:line-through; }
/* 수량 스테퍼(QuantitySelector) — Quick Cart 전용. 상세 .cs-qty 와 완전 분리된 네임스페이스 */
.cs-qcart__qty{ display:inline-flex; align-items:center; flex:0 0 auto; border:1px solid #ddd; border-radius:8px; overflow:hidden; }
.cs-qcart__qty-btn{ width:34px; height:40px; border:0; background:#f7f7f7; font-size:18px; color:#333; line-height:1; cursor:pointer; }
.cs-qcart__qty-btn:active{ background:#ededed; }
.cs-qcart__qty-n{ min-width:34px; text-align:center; font-size:14px; font-weight:700; color:#111; }
/* 장바구니 담기(CartButton) */
.cs-qcart__submit{ flex:1 1 96px; min-width:96px; min-height:44px; border:0; border-radius:8px; background:#111; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.cs-qcart__submit[disabled]{ background:#c9c9c9; color:#fff; cursor:not-allowed; }
.cs-qcart__submit:not([disabled]):active{ background:#000; }

/* 카트 뱃지(헤더, 소비자) */
.cs-cartbtn{ position:relative; }
.cs-cart__n{ position:absolute; top:-2px; right:-4px; min-width:16px; height:16px; padding:0 4px; border-radius:8px;
	background:#da0617; color:#fff; font-size:10px; font-weight:700; line-height:16px; text-align:center; }
.cs-cart__n:empty{ display:none; }

/* Toast(소비자, alert/LayerMessageBox 대체) */
.cs-toast{ position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom)); transform:translateX(-50%) translateY(10px);
	max-width:88%; padding:12px 18px; background:rgba(20,20,20,.94); color:#fff; font-size:13.5px; border-radius:22px;
	box-shadow:0 6px 20px rgba(0,0,0,.25); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:9999; white-space:nowrap; }
.cs-toast.is-show{ opacity:1; transform:translateX(-50%) translateY(0); }
.cs-toast--err{ background:rgba(176,10,20,.96); }
.cs-detail .cs-desc__loading{ color:#aaa; padding:24px 0; text-align:center; }

/* ============================================================
 * Phase 2H — Consumer Cart Page (소비자 전용).
 * 네임스페이스: cs-cartpage__ / cs-cartitem__ / cs-cartqty__ / cs-cartsummary__ / cs-cartactions__
 * ⚠️ Quick Cart(cs-qcart)·상세(cs-qty)와 클래스 미공유 → selector 충돌 0.
 * ============================================================ */
.cs-cartpage{ padding:18px 0 40px; }
.cs-cartpage__title{ margin:0 0 16px; font-size:20px; font-weight:800; }
.cs-cartpage__empty{ padding:60px 0; text-align:center; color:#888; }
.cs-cartpage__empty-t{ margin:0 0 16px; font-size:15px; }
.cs-cartpage__empty .cs-btn{ display:inline-flex; padding:0 22px; }
.cs-cartpage__list{ display:flex; flex-direction:column; border-top:1px solid #ececec; }

/* CartLineItem */
.cs-cartitem{ position:relative; display:flex; flex-wrap:wrap; gap:12px; padding:16px 30px 16px 0; border-bottom:1px solid #ececec; }   /* [2026-09-20] flex-wrap: 모바일=수량/합계 하단행 · padding-right:30=삭제(×) 버튼 자리 확보(겹침 방지) */
.cs-cartitem.is-soldout{ opacity:.6; }
/* [2026-09-20] 흰 박스 안 이미지 가로·세로 중앙정렬(상단 쏠림 제거). flex 중앙 + max-width/height=원본 비율 유지·잘림 없음·강제확대 없음(약한 object-fit webview 대비). */
.cs-cartitem__media{ flex:0 0 84px; width:84px; height:84px; border:1px solid #eee; border-radius:8px; overflow:hidden; background:#fff; display:flex; align-items:center; justify-content:center; }
.cs-cartitem__media img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.cs-cartitem__body{ flex:1 1 auto; min-width:0; }   /* [2026-09-20] 삭제버튼 자리는 li padding-right가 확보 */
.cs-cartitem__name{ margin:0; font-size:14px; font-weight:600; line-height:1.4; color:#1a1a1a; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cs-cartitem__opt{ margin-top:3px; font-size:12.5px; color:#888; }
.cs-cartitem__price{ margin-top:6px; display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.cs-cartitem__was{ font-size:12px; color:#aaa; text-decoration:line-through; }
.cs-cartitem__rate{ font-size:13px; font-weight:800; color:#da0617; }
.cs-cartitem__now{ font-size:15px; font-weight:800; color:#111; }
.cs-cartitem__now i{ font-size:12px; font-weight:500; font-style:normal; margin-left:1px; }
/* [2026-09-20] 모바일: 수량+합계 = 하단 한 줄(수량 왼쪽/합계 오른쪽). flex:1 1 100% 로 자체 행 확보(가로 넘침 없이 배치). */
.cs-cartitem__ctrl{ flex:1 1 100%; margin-top:8px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cs-cartitem__linesum{ font-size:13px; color:#555; }
.cs-cartitem__sub{ font-size:15px; font-weight:800; color:#111; }
.cs-cartitem__remove{ position:absolute; top:14px; right:0; width:28px; height:28px; padding:0; border:0; background:none; font-size:22px; line-height:1; color:#bbb; cursor:pointer; }
.cs-cartitem__remove:active{ color:#666; }

/* QuantitySelector(cs-cartqty) — 상세 cs-qty·Quick Cart cs-qcart 와 분리 */
.cs-cartqty{ display:inline-flex; align-items:center; border:1px solid #ddd; border-radius:8px; overflow:hidden; }
.cs-cartqty__btn{ width:34px; height:36px; border:0; background:#f7f7f7; font-size:17px; color:#333; line-height:1; cursor:pointer; }
.cs-cartqty__btn:active{ background:#ededed; }
.cs-cartqty__n{ min-width:38px; text-align:center; font-size:14px; font-weight:700; color:#111; }

/* CartSummary */
.cs-cartsummary{ margin-top:20px; padding:16px; background:#fafafa; border:1px solid #eee; border-radius:12px; }
.cs-cartsummary__row{ display:flex; align-items:baseline; justify-content:space-between; padding:5px 0; font-size:14px; color:#555; }
.cs-cartsummary__val b{ font-weight:700; color:#222; }
.cs-cartsummary__row--total{ margin-top:6px; padding-top:12px; border-top:1px solid #e5e5e5; }
.cs-cartsummary__row--total .cs-cartsummary__lbl{ font-size:15px; font-weight:700; color:#111; }
.cs-cartsummary__row--total .cs-cartsummary__total{ font-size:19px; font-weight:800; color:#da0617; }
.cs-cartsummary__note{ margin:10px 0 0; font-size:12px; color:#999; }

/* CartActions */
.cs-cartactions{ margin-top:16px; }
.cs-cartactions__order{ width:100%; min-height:52px; border:0; border-radius:10px; background:#da0617; color:#fff; font-size:16px; font-weight:700; cursor:pointer; }
.cs-cartactions__order:active{ background:#b8050f; }

@media (min-width:768px){
	.cs-cartitem__media{ flex-basis:100px; width:100px; height:100px; }
	.cs-cartsummary, .cs-cartactions{ max-width:420px; margin-left:auto; }
}

/* ============================================================
 * Phase 2I — Consumer Order Sheet (소비자 주문서). 네임스페이스: cs-order__
 * cs-cart*/cs-qcart*/cs-qty* 와 클래스 미공유.
 * ============================================================ */
.cs-order{ padding:18px 0 44px; }
.cs-order__title{ margin:0 0 16px; font-size:20px; font-weight:800; }
.cs-order__empty{ padding:60px 0; text-align:center; color:#888; }
.cs-order__empty .cs-btn{ display:inline-flex; padding:0 22px; margin-top:12px; }
.cs-order__sec{ padding:16px 0; border-top:1px solid #ececec; }
.cs-order__sec:first-of-type{ border-top:0; }
.cs-order__h2{ margin:0 0 12px; font-size:15px; font-weight:700; color:#1a1a1a; display:flex; align-items:center; justify-content:space-between; }
.cs-order__same{ font-size:12.5px; font-weight:400; color:#666; display:inline-flex; align-items:center; gap:5px; }

/* 주문상품 */
.cs-order__items{ display:flex; flex-direction:column; gap:12px; }
.cs-order__item{ display:flex; gap:12px; align-items:center; }
.cs-order__thumb{ flex:0 0 64px; width:64px; height:64px; border:1px solid #eee; border-radius:8px; overflow:hidden; background:#fff; }
.cs-order__thumb img{ width:100%; height:100%; object-fit:contain; }
.cs-order__info{ flex:1; min-width:0; }
.cs-order__name{ font-size:13.5px; font-weight:600; color:#1a1a1a; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cs-order__opt{ margin-top:2px; font-size:12px; color:#888; }
.cs-order__qty{ margin-top:2px; font-size:12px; color:#666; }
.cs-order__lp{ font-size:14px; color:#333; white-space:nowrap; }
.cs-order__lp b{ font-weight:800; color:#111; }

/* 입력 필드 */
.cs-order__field{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.cs-order__field label{ flex:0 0 64px; font-size:13px; color:#555; }
.cs-order__field input{ flex:1; min-width:0; min-height:42px; padding:0 12px; font-size:15px; border:1px solid #ccc; border-radius:8px; }
.cs-order__field input[readonly]{ background:#f6f6f6; color:#777; }
.cs-order__memo{ width:100%; min-height:64px; padding:10px 12px; font-size:14px; border:1px solid #ccc; border-radius:8px; resize:vertical; }

/* 결제수단 슬롯 */
.cs-order__pg{ display:flex; gap:8px; margin-bottom:10px; }
.cs-order__pgbtn{ flex:1; min-height:44px; border:1px solid #ddd; border-radius:8px; background:#fff; font-size:14px; font-weight:700; color:#555; cursor:pointer; }
.cs-order__pgbtn.is-active{ border-color:#111; background:#111; color:#fff; }
.cs-order__methods{ display:flex; flex-wrap:wrap; gap:8px 16px; }
.cs-order__method{ display:inline-flex; align-items:center; gap:6px; font-size:14px; color:#333; }
.cs-order__note{ margin:8px 0 0; font-size:12px; color:#999; }

/* 결제금액 */
.cs-order__summary{ margin-top:16px; padding:16px; background:#fafafa; border:1px solid #eee; border-radius:12px; }
.cs-order__row{ display:flex; align-items:baseline; justify-content:space-between; padding:5px 0; font-size:14px; color:#555; }
.cs-order__row b{ font-weight:700; color:#222; }
.cs-order__row--total{ margin-top:6px; padding-top:12px; border-top:1px solid #e5e5e5; font-size:15px; color:#111; }
.cs-order__row--total span:first-child{ font-weight:700; }
.cs-order__total{ font-size:20px; font-weight:800; color:#da0617; }

.cs-order__actions{ margin-top:16px; }
.cs-order__submit{ width:100%; min-height:54px; border:0; border-radius:10px; background:#da0617; color:#fff; font-size:16px; font-weight:800; cursor:pointer; }
.cs-order__submit:active{ background:#b8050f; }

@media (min-width:768px){
	.cs-order__summary, .cs-order__actions{ max-width:440px; margin-left:auto; }
}

/* ============================================================
 * Phase 2J — Desktop Responsive (동일 DOM, breakpoint/hover/focus) + Consumer Auth
 * ============================================================ */
.cs-wrap{ max-width:1280px; }                 /* 1200→1280(자연스러운 데스크톱 폭) */
@media (min-width:1280px){ .cs-section{ padding:40px 0; } .cs-plist{ padding:24px 0 40px; } }
@media (min-width:1440px){
	.cs-grid{ grid-template-columns:repeat(5,1fr); }   /* 1440+ 5열 */
	.cs-wrap{ max-width:1360px; }                        /* 1920서 과확장 방지(1360 상한) */
}
/* hover(포인터 기기 전용) */
@media (hover:hover){
	.cs-grid .cs-card{ transition:transform .15s ease, box-shadow .15s ease; }
	.cs-grid .cs-card:hover{ transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,.08); }
	.cs-btn--primary:hover, .cs-qcart__submit:not([disabled]):hover, .cs-cartactions__order:hover, .cs-order__submit:hover, .cs-auth__btn:hover{ filter:brightness(1.07); }
	.cs-qopt__btn:not(.is-sold):hover, .cs-cartqty__btn:hover, .cs-qcart__qty-btn:hover, .cs-order__pgbtn:hover, .cs-auth__mini:hover, .cs-btn--line:hover, .cs-auth__btn--line:hover, .cs-chip:hover{ background:#f2f2f2; }
}
/* 키보드 접근성 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .cs-card__link:focus-visible{
	outline:2px solid #da0617; outline-offset:2px; border-radius:4px; }

/* ---------- Consumer Auth (login/join) — cs-auth__ ---------- */
.cs-auth{ padding:32px 0 60px; }
.cs-auth__wrap{ max-width:420px; margin:0 auto; padding:0 16px; }
.cs-auth__wrap--wide{ max-width:560px; }
.cs-auth__card{ border:1px solid #eee; border-radius:14px; padding:28px 22px; background:#fff; }
.cs-auth__title{ margin:0 0 20px; font-size:22px; font-weight:800; text-align:center; }
.cs-auth__h2{ margin:22px 0 12px; font-size:14px; font-weight:700; color:#555; padding-bottom:6px; border-bottom:1px solid #eee; }
.cs-auth__h2:first-of-type{ margin-top:4px; }
.cs-auth__field{ margin-bottom:14px; }
.cs-auth__field > label{ display:block; font-size:13px; color:#555; margin-bottom:6px; }
.cs-auth__field > label em{ color:#da0617; font-style:normal; }
.cs-auth__form input[type=text], .cs-auth__form input[type=password], .cs-auth__form input[type=email], .cs-auth__form input[type=tel], .cs-auth__form input[type=date]{
	width:100%; min-height:48px; padding:0 14px; font-size:16px; border:1px solid #ccc; border-radius:8px; background:#fff; }
.cs-auth__form input[readonly]{ background:#f6f6f6; color:#777; }
.cs-auth__inline{ display:flex; gap:8px; }
.cs-auth__inline > input{ flex:1; min-width:0; }
.cs-auth__hp{ align-items:center; }
.cs-auth__hp input{ text-align:center; }
.cs-auth__hp span{ color:#aaa; }
.cs-auth__mini{ flex:0 0 auto; min-height:48px; padding:0 14px; border:1px solid #111; border-radius:8px; background:#fff; font-size:13px; font-weight:700; color:#111; cursor:pointer; white-space:nowrap; }
.cs-auth__check{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; color:#555; margin:2px 0 6px; }
.cs-auth__radios{ display:flex; gap:18px; }
.cs-auth__radios label{ display:inline-flex; align-items:center; gap:6px; font-size:14px; }
.cs-auth__agree{ display:flex; align-items:flex-start; gap:8px; font-size:13.5px; color:#444; padding:7px 0; }
.cs-auth__hint{ margin:6px 0 0; font-size:12px; color:#888; min-height:15px; }
.cs-auth__hint.is-ok{ color:#2e7d32; } .cs-auth__hint.is-err{ color:#c62828; }
.cs-auth__err{ min-height:18px; margin:8px 0 0; font-size:13px; color:#c62828; }
.cs-auth__btn{ display:flex; align-items:center; justify-content:center; width:100%; min-height:52px; margin-top:14px; border:0; border-radius:10px; background:#da0617; color:#fff; font-size:16px; font-weight:800; cursor:pointer; }
.cs-auth__btn--line{ background:#fff; color:#222; border:1px solid #ccc; }
.cs-auth__links{ margin-top:16px; text-align:center; font-size:13.5px; color:#666; }
.cs-auth__links a{ color:#444; }
.cs-auth__sep{ margin:0 8px; color:#ddd; }
.cs-auth__notice{ text-align:center; }
.cs-auth__msg{ font-size:14.5px; line-height:1.7; color:#444; margin:0 0 20px; }
@media (min-width:768px){ .cs-auth{ padding:48px 0 80px; } .cs-auth__card{ padding:36px 32px; } }

/* ============================================================
 * Phase 2K — Consumer MyPage (cs-mypage__ / cs-mporder__). 읽기전용 suite.
 * ============================================================ */
.cs-mypage{ padding:20px 0 50px; }
.cs-mypage__hello{ margin:0 0 20px; font-size:20px; font-weight:700; }
.cs-mypage__hello b{ color:#da0617; }
.cs-mypage__title{ margin:8px 0 16px; font-size:20px; font-weight:800; }
.cs-mypage__count{ color:#da0617; font-size:16px; }
.cs-mypage__menu{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:26px; }
.cs-mypage__menu a{ display:flex; align-items:center; justify-content:center; min-height:56px; border:1px solid #e5e5e5; border-radius:10px; font-size:15px; font-weight:600; color:#222; background:#fafafa; }
.cs-mypage__sechead{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:12px; }
.cs-mypage__sechead h2{ margin:0; font-size:16px; font-weight:700; }
.cs-mypage__sechead a{ font-size:13px; color:#888; }
.cs-mypage__empty{ padding:30px 0; text-align:center; color:#888; }
.cs-mypage__emptybox{ padding:50px 0; text-align:center; color:#888; }
.cs-mypage__emptybox .cs-btn{ display:inline-flex; padding:0 22px; margin-top:14px; }
.cs-mypage__orders{ display:flex; flex-direction:column; gap:12px; }
.cs-mporder{ border:1px solid #ececec; border-radius:12px; }
.cs-mporder a{ display:block; padding:14px 16px; }
.cs-mporder__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.cs-mporder__date{ font-size:12.5px; color:#999; }
.cs-mporder__stat{ font-size:12px; font-weight:700; color:#fff; background:#1a1a1a; padding:3px 9px; border-radius:20px; white-space:nowrap; }
.cs-mporder__stat--lg{ font-size:13px; padding:5px 12px; }
.cs-mporder__code{ font-size:12px; color:#aaa; margin-bottom:4px; }
.cs-mporder__name{ font-size:14px; font-weight:600; color:#1a1a1a; margin-bottom:4px; }
.cs-mporder__pay{ font-size:13px; color:#555; }
.cs-mporder__pay b{ color:#111; font-weight:800; }
.cs-mypage__ordhead{ display:flex; align-items:center; gap:12px; padding:6px 0 4px; }
.cs-mypage__ordmeta{ margin:4px 0 10px; font-size:12.5px; color:#888; }
.cs-mypage__kv{ display:flex; gap:12px; padding:6px 0; font-size:14px; }
.cs-mypage__kv span{ flex:0 0 72px; color:#888; }
.cs-mypage__kv b{ font-weight:500; color:#333; }
@media (min-width:768px){ .cs-mypage__menu{ grid-template-columns:repeat(4,1fr); } }

/* ============================================================
 * Phase 2N — Consumer Support Center (cs-support/cs-notice/cs-noticeview/cs-faq)
 * ============================================================ */
.cs-support{ padding:20px 0 50px; }
.cs-support__title{ margin:8px 0 20px; font-size:22px; font-weight:800; }
.cs-support__note{ margin:18px 0 0; font-size:13px; color:#888; }
.cs-support__note a{ color:#da0617; }
/* SupportMenu 카드 */
.cs-support__menu{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cs-support__card{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-height:96px; padding:16px; border:1px solid #e9e9e9; border-radius:12px; background:#fafafa; }
.cs-support__card b{ font-size:15px; font-weight:700; color:#1a1a1a; }
.cs-support__card em{ font-size:12px; color:#999; font-style:normal; }
.cs-support__ico{ font-size:22px; margin-bottom:4px; }
.cs-support__doc{ margin-top:8px; }
.cs-support__doc img{ max-width:100%; height:auto; display:block; margin:0 auto; }

/* Notice/Download 리스트 (브랜드 공지센터 톤: 카드형 쇼핑몰 아님, 읽기 리스트) */
.cs-notice__search{ display:flex; gap:8px; margin:0 0 16px; }
.cs-notice__search input{ flex:1; min-height:44px; padding:0 14px; font-size:15px; border:1px solid #ccc; border-radius:8px; }
.cs-notice__search button{ min-height:44px; padding:0 18px; background:#1a1a1a; color:#fff; border:0; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; }
.cs-notice__list{ border-top:2px solid #222; }
.cs-notice__item{ border-bottom:1px solid #eee; }
.cs-notice__item a{ display:flex; align-items:center; gap:8px; padding:15px 4px; }
.cs-notice__item--pin{ background:#fcfcfc; }
.cs-notice__badge{ display:inline-block; font-size:11px; font-weight:700; color:#fff; background:#da0617; padding:2px 8px; border-radius:4px; margin-right:6px; vertical-align:middle; }
.cs-notice__t{ font-size:14.5px; font-weight:600; color:#1a1a1a; line-height:1.45; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.cs-notice__meta{ font-size:12.5px; color:#999; margin-left:auto; white-space:nowrap; }
.cs-notice__new{ display:inline-block; font-size:10px; font-weight:800; color:#da0617; vertical-align:middle; margin-left:2px; }
.cs-notice__file, .cs-notice__lock{ font-size:12px; }
.cs-notice__empty{ padding:60px 0; text-align:center; color:#888; }
.cs-notice__empty .cs-btn{ display:inline-flex; padding:0 22px; margin-top:14px; }

/* Notice View */
.cs-noticeview__head{ padding:6px 0 14px; border-bottom:2px solid #222; }
.cs-noticeview__title{ margin:0 0 8px; font-size:19px; font-weight:800; line-height:1.4; }
.cs-noticeview__meta{ font-size:12.5px; color:#999; }
.cs-noticeview__files{ display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #eee; font-size:13px; }
.cs-noticeview__files-t{ flex:0 0 auto; color:#888; }
.cs-noticeview__files ul{ margin:0; padding:0; }
.cs-noticeview__files a{ color:#0645ad; }
.cs-noticeview__body{ padding:22px 2px; min-height:120px; font-size:15px; line-height:1.75; color:#333; }
.cs-noticeview__nav{ display:flex; flex-direction:column; border-top:1px solid #eee; }
.cs-noticeview__pn{ display:flex; gap:10px; padding:12px 4px; font-size:13.5px; color:#555; border-bottom:1px solid #f2f2f2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-noticeview__pn span{ flex:0 0 auto; color:#aaa; font-weight:700; }
.cs-noticeview__foot{ margin-top:18px; text-align:center; }
.cs-noticeview__foot .cs-btn{ display:inline-flex; padding:0 30px; }

/* FAQ Accordion */
.cs-faq__acc{ border-top:2px solid #222; }
.cs-faq__item{ border-bottom:1px solid #eee; }
.cs-faq__q{ width:100%; display:flex; align-items:center; gap:10px; padding:16px 4px; background:none; border:0; text-align:left; font-size:15px; color:#1a1a1a; cursor:pointer; }
.cs-faq__qmark{ flex:0 0 auto; width:24px; height:24px; border-radius:50%; background:#da0617; color:#fff; font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; }
.cs-faq__qt{ flex:1; font-weight:600; line-height:1.45; }
.cs-faq__caret{ flex:0 0 auto; width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid #999; transition:transform .2s; }
.cs-faq__item.is-open .cs-faq__caret{ transform:rotate(180deg); }
.cs-faq__a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .22s ease; }
.cs-faq__item.is-open .cs-faq__a{ grid-template-rows:1fr; }
.cs-faq__ainner{ overflow:hidden; padding:0 4px 0 34px; font-size:14px; line-height:1.7; color:#444; }
.cs-faq__item.is-open .cs-faq__ainner{ padding-bottom:18px; }

@media (min-width:768px){
	.cs-support__menu{ grid-template-columns:repeat(3,1fr); }
	.cs-support__card{ min-height:120px; }
	.cs-noticeview__nav{ }
}
@media (min-width:1024px){ .cs-support__menu{ grid-template-columns:repeat(5,1fr); } }

/* ============================================================
 * Phase 2N-1 — Consumer Main 브랜드 로고 그리드 (sw_brand 이미지 재사용)
 * ============================================================ */
.cs-brands{ grid-template-columns:repeat(2,1fr); gap:10px; }
.cs-brands a.cs-brands__item{ flex-direction:column; gap:7px; min-height:88px; padding:12px; background:#fff; }
.cs-brands__logo{ max-width:100%; max-height:46px; object-fit:contain; }
.cs-brands__name{ font-size:11.5px; font-weight:600; color:#8a8a8a; text-align:center; line-height:1.2; }
.cs-brands a.cs-brands__item.is-noimg{ justify-content:center; }
.cs-brands a.cs-brands__item.is-noimg .cs-brands__name{ font-size:14px; color:#222; }
@media (min-width:480px){ .cs-brands{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:768px){ .cs-brands{ grid-template-columns:repeat(4,1fr); } .cs-brands__logo{ max-height:52px; } }
@media (min-width:1024px){ .cs-brands{ grid-template-columns:repeat(6,1fr); } }

/* ============================================================
 * Phase 2N-2 — 브랜드 로고만 노출(텍스트 제거) + 카드 높이 최적화 + PC hover
 * (render/링크/폴백/Admin 무변경 — CSS만. 이미지 없을 때만 브랜드명 fallback 표시)
 * ============================================================ */
.cs-brands a.cs-brands__item{ min-height:70px; padding:10px; gap:0; }
.cs-brands__name{ display:none; }                                   /* 로고 카드: 한글명 숨김 */
.cs-brands a.cs-brands__item.is-noimg{ min-height:70px; justify-content:center; }
.cs-brands a.cs-brands__item.is-noimg .cs-brands__name{ display:block; font-size:14px; font-weight:600; color:#222; }  /* 이미지 없으면 텍스트 fallback */
.cs-brands__logo{ max-height:40px; }
@media (min-width:768px){ .cs-brands a.cs-brands__item{ min-height:82px; } .cs-brands__logo{ max-height:48px; } }
@media (hover:hover){
	.cs-brands a.cs-brands__item{ transition:transform .22s ease, box-shadow .22s ease; }
	.cs-brands a.cs-brands__item:hover{ transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.10); }
}

/* ============================================================
 * Phase 2N-4 — 특별 판매관(SHOP) 카드 (sw_channel 자동 렌더)
 * ============================================================ */
.cs-channels{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cs-channels__item{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-height:92px; padding:16px; border:1px solid #e9e9e9; border-radius:12px; background:#fafafa; position:relative; }
.cs-channels__img{ max-width:100%; max-height:38px; object-fit:contain; margin-bottom:4px; }
.cs-channels__t{ font-size:15px; font-weight:800; color:#1a1a1a; letter-spacing:.02em; }
.cs-channels__s{ font-size:12px; color:#999; font-style:normal; }
.cs-channels__item.is-soon{ opacity:.55; cursor:default; }
.cs-channels__soon{ position:absolute; top:12px; right:12px; font-size:10px; font-weight:700; color:#fff; background:#bbb; padding:2px 8px; border-radius:20px; }
@media (min-width:768px){ .cs-channels{ grid-template-columns:repeat(3,1fr); } }
@media (hover:hover){ .cs-channels a.cs-channels__item{ transition:transform .2s ease, box-shadow .2s ease; } .cs-channels a.cs-channels__item:hover{ transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.08); } }

/* ============================================================
 * Phase 2N-5 — OUTLET(판매관) facet 헤더. cs-chips(가로스크롤) 재사용.
 * ============================================================ */
.cs-outlet{ padding:18px 0 6px; }
.cs-outlet__head{ margin-bottom:14px; }
.cs-outlet__title{ margin:0; font-size:22px; font-weight:800; }
.cs-outlet__sub{ margin:4px 0 0; font-size:13px; color:#888; }
.cs-outlet__facet{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.cs-outlet__flabel{ flex:0 0 44px; font-size:12px; font-weight:700; color:#555; }
.cs-chip__n{ font-size:11px; color:#aaa; font-style:normal; margin-left:2px; }
.cs-chip.is-active .cs-chip__n{ color:rgba(255,255,255,.75); }
.cs-plist__head--ch{ margin-top:4px; }

/* Phase 2N-11: SMART DEAL badge + countdown (최소 UI) */
.cs-badge--deal{background:#e67e22;color:#fff;}
.cs-deal-count{margin-top:6px;font-size:12px;color:#e67e22;font-weight:600;}
.cs-deal-count b{font-variant-numeric:tabular-nums;}

/* Phase 2N-12: SMART DEAL 전용 히어로 + 구매욕구 UX */
.cs-deal-hero{margin:14px 0 10px;padding:18px 16px;border-radius:10px;background:linear-gradient(135deg,#e74c3c,#e67e22);color:#fff;text-align:center;}
.cs-deal-hero__title{margin:0;font-size:22px;font-weight:800;letter-spacing:-.5px;}
.cs-deal-hero__sub{margin:6px 0 0;font-size:13px;opacity:.95;}
/* SMART DEAL 목록 인트로/유의사항 (Phase 2N-40, DISPLAY only) */
.cs-deal-intro{margin:0 0 12px;text-align:center;}
.cs-deal-intro__lead{margin:12px 0 2px;font-size:15px;color:#333;line-height:1.55;word-break:keep-all;}
.cs-deal-intro__lead b{color:#e67e22;}
.cs-deal-intro__quote{margin:0 0 12px;font-size:13px;color:#e74c3c;font-weight:700;line-height:1.55;word-break:keep-all;}
.cs-deal-points{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0;padding:0;list-style:none;}
.cs-deal-points li{flex:1 1 0;min-width:calc(25% - 8px);box-sizing:border-box;background:#fff5ec;border:1px solid #f6d3b3;border-radius:8px;padding:10px 8px;font-size:12.5px;font-weight:700;color:#c0392b;text-align:center;line-height:1.35;word-break:keep-all;}
.cs-deal-points__ico{display:block;font-size:18px;margin-bottom:4px;}
.cs-deal-guide{margin:14px 0 22px;padding:16px 16px 8px;border:1px solid #eee;border-radius:10px;background:#fafafa;}
.cs-deal-guide__t{margin:0 0 10px;font-size:15px;font-weight:800;color:#333;letter-spacing:-.3px;}
.cs-deal-guide__list{margin:0;padding:0;list-style:none;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:24px;column-gap:24px;}
.cs-deal-guide__list li{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid;position:relative;padding:0 0 10px 14px;font-size:12.5px;color:#555;line-height:1.6;word-break:keep-all;}
.cs-deal-guide__list li:before{content:"\00b7";position:absolute;left:2px;top:-1px;color:#e67e22;font-weight:800;}
@media (max-width:720px){
	.cs-deal-points li{min-width:calc(50% - 8px);}
	.cs-deal-guide__list{-webkit-column-count:1;-moz-column-count:1;column-count:1;}
	.cs-deal-intro__lead{font-size:14px;}
}
.cs-badge--limit{background:#111;color:#fff;}
.cs-deal-info{margin-top:6px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.cs-deal-limit{font-size:12px;font-weight:700;color:#c0392b;}
.cs-deal-hint{margin:4px 0 0;font-size:11px;color:#e67e22;font-weight:600;line-height:1.4;word-break:keep-all;}
.cs-deal-notice{margin:8px 0 0;font-size:13px;color:#333;}
.cs-deal-notice b{color:#c0392b;}
/* SMART DEAL 인하 안내(관리자 step_min/step_amount SSOT 표시전용) — LIST/DETAIL 공용 */
.cs-deal-drop{margin:4px 0 0;font-size:12.5px;font-weight:700;color:#c0392b;line-height:1.4;word-break:keep-all;}
.cs-pinfo__price--deal .cs-price__now{color:#e74c3c;font-size:1.15em;}
.cs-deal-count--lg{font-size:15px;margin-top:8px;padding:8px 12px;background:#fff5ee;border:1px solid #f5cba7;border-radius:6px;display:inline-block;}
.cs-deal-count--lg b{color:#e74c3c;font-size:1.1em;}

/* Phase 2N-13B: SMART DEAL 상태정보 + 수량 1개 한정 */
.cs-badge--cond{background:#555;color:#fff;}
.cs-cond{margin-top:14px;padding:12px 14px;border:1px solid #eee;border-radius:8px;background:#fafafa;}
.cs-cond__t{margin:0 0 6px;font-size:14px;font-weight:700;color:#333;}
.cs-cond__note{margin:0 0 8px;font-size:13px;color:#555;line-height:1.5;}
.cs-cond__gallery{display:flex;flex-wrap:wrap;gap:8px;}
.cs-cond__gallery img{width:96px;height:96px;object-fit:cover;border:1px solid #ddd;border-radius:6px;}
.cs-qty--fixed .cs-qty__fixed{font-weight:700;color:#c0392b;margin-left:8px;}

/* Phase 2N-14: 장바구니 체크박스/선택/딜 */
.cs-cartpage__selall{display:flex;justify-content:space-between;align-items:center;padding:8px 4px;border-bottom:1px solid #eee;margin-bottom:8px;font-size:14px;}
.cs-cartpage__delsel{background:none;border:1px solid #ccc;border-radius:4px;padding:4px 10px;font-size:12px;color:#666;cursor:pointer;}
.cs-cartitem{display:flex;align-items:flex-start;gap:8px;}
.cs-cartitem__chkwrap{padding-top:6px;}
.cs-cartitem__chk{width:18px;height:18px;}
.cs-cartitem.is-blocked{opacity:.6;}
.cs-cartitem__dealnotice{margin:4px 0 0;font-size:12px;color:#c0392b;font-weight:600;}
.cs-cartqty--fixed{color:#c0392b;font-weight:700;}
.cs-cartqty--fixed .cs-cartqty__fixed{font-weight:400;color:#999;font-size:12px;}
/* [2026-09-20] 장바구니 PC/태블릿(≥768): 체크박스→이미지→상품정보→수량(독립 우측 열)→합계 순·상품별 위치 통일. 이 블록이 위 .cs-cartitem 재정의보다 뒤라 이김. 장바구니 전용(타 화면·공통 버튼 무영향). */
@media (min-width:768px){
	.cs-cartitem{ flex-wrap:nowrap; align-items:center; }
	.cs-cartitem__ctrl{ flex:0 0 auto; width:auto; margin-top:0; gap:20px; align-self:center; }
	.cs-cartitem__linesum{ min-width:96px; text-align:right; }
}

/* Phase 2N-19: 주문서 수령인 주소검색(우편번호+버튼 한 줄, 모바일) */
.cs-order__zip{display:flex;gap:8px;align-items:center;}
.cs-order__zip input{flex:1 1 auto;min-width:0;}
.cs-order__zipbtn{flex:0 0 auto;padding:0 14px;height:40px;line-height:40px;background:#333;color:#fff;border:0;border-radius:6px;font-size:13px;white-space:nowrap;cursor:pointer;}
.cs-order__zipbtn:disabled{background:#ccc;cursor:not-allowed;}
.cs-order__same{float:right;font-size:13px;font-weight:400;color:#555;}

/* Phase 2N-22: 모바일 홈 — SMART DEAL 상단 큰 카드 + 브랜드 축소(로고전용, 8+아코디언) */
.cs-dealhome__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
.cs-dealhome__card{display:block;border:1px solid #f0d9b5;border-radius:10px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;}
.cs-dealhome__media{position:relative;aspect-ratio:1/1;background:#f7f7f7;}
.cs-dealhome__media img{width:100%;height:100%;object-fit:cover;display:block;}
.cs-dealhome__media .cs-badge{position:absolute;top:6px;font-size:10px;}
.cs-dealhome__media .cs-badge--deal{left:6px;}
.cs-dealhome__media .cs-badge--limit{left:6px;top:26px;background:#111;color:#fff;}
.cs-dealhome__body{padding:8px 10px 10px;}
.cs-dealhome__name{font-size:13px;font-weight:600;line-height:1.3;height:2.6em;overflow:hidden;}
.cs-dealhome__cond{color:#888;font-weight:400;}
.cs-dealhome__price{margin-top:4px;}
.cs-dealhome__price .cs-price__now{color:#e74c3c;font-size:1.15em;font-weight:800;}
.cs-dealhome__price .cs-price__was{font-size:12px;}
.cs-dealhome .cs-deal-count{margin-top:4px;font-size:11px;color:#e67e22;font-weight:600;}
.cs-dealhome .cs-deal-count b{font-variant-numeric:tabular-nums;}

/* 브랜드 축소: 2열x4(상위 8) + 큰 로고 카드 + 여백 */
.cs-brands--home{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.cs-brands--home .cs-brands__item{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;border:1px solid #eee;border-radius:12px;padding:10px;background:#fff;}
.cs-brands--home .cs-brands__logo{max-width:80%;max-height:60%;object-fit:contain;}
.cs-brands--home .cs-brands__name{display:none;}                 /* 로고만 표시(한글명 숨김) */
.cs-brands--home .cs-brands__item.is-noimg .cs-brands__name{display:block;font-size:12px;color:#555;text-align:center;}
.cs-brands--home .cs-brands__item.is-collapsed{display:none;}    /* 상위 8 외 접힘 */
.cs-brands--home.is-expanded .cs-brands__item.is-collapsed{display:flex;}
.cs-brands--home .cs-brands__item--personal{border-color:#f2c3c7;}                 /* 개인결제 카드(브랜드 그리드 내) accent */
.cs-brands--home .cs-brands__item--personal .cs-brands__name{display:block;color:#d51f30;font-weight:700;font-size:13px;}
.cs-brands__more{width:100%;margin-top:12px;padding:11px;background:#f5f5f5;border:1px solid #e4e4e4;border-radius:8px;font-size:14px;color:#333;cursor:pointer;}
@media (min-width:600px){ .cs-brands--home{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;} .cs-dealhome__grid{grid-template-columns:repeat(4,1fr);} }

/* 모바일 홈 개선: 이벤트 배너(SMART DEAL/OUTLET) + 브랜드 아이콘 축소 */
.cs-event{padding-top:6px;padding-bottom:6px;}
.cs-event__link{display:block;position:relative;border-radius:12px;overflow:hidden;text-decoration:none;color:#fff;background:#222;}
.cs-event__img{display:block;width:100%;height:auto;}
.cs-event__cap{position:absolute;left:14px;bottom:12px;text-shadow:0 1px 4px rgba(0,0,0,.5);}
.cs-event__cap b{font-size:18px;font-weight:800;}
.cs-event__cap em{font-size:12px;font-style:normal;opacity:.95;margin-left:6px;}
.cs-event--smart_deal .cs-event__link.is-noimg{background:linear-gradient(135deg,#e74c3c,#e67e22);}
.cs-event--outlet .cs-event__link.is-noimg{background:linear-gradient(135deg,#2c3e50,#34495e);}
.cs-event__link.is-noimg{padding:34px 16px;}
.cs-event__link.is-noimg .cs-event__cap{position:static;text-shadow:none;display:block;}

/* 브랜드: 카드 높이 축소(약 20~30%↓) + 로고 크게(중앙) + 텍스트 제거 = 아이콘 모음 */
.cs-brands--home .cs-brands__item{aspect-ratio:auto;height:60px;padding:7px;border-radius:12px;}
.cs-brands--home .cs-brands__logo{max-width:90%;max-height:82%;}
.cs-brands--home .cs-brands__name{display:none;}
.cs-brands--home .cs-brands__item.is-noimg .cs-brands__name{display:block;font-size:11px;color:#666;}
@media (min-width:600px){ .cs-brands--home .cs-brands__item{height:72px;} }

/* 개인결제 모바일 임시 비노출(삭제 아님) — PC(≥600px)는 규칙 미적용=기존 그대로. 향후 메뉴/마이페이지 재노출. */
@media (max-width:599px){ .cs-hide-m{ display:none !important; } }

/* 브랜드: 화면별 기본 노출 분리 — 모바일 8개(위 규칙 유지), PC(≥600px)는 6열×2줄=12개. 13개+만 '전체보기'로 접힘. */
@media (min-width:600px){
	/* PC: 7열 compact + 브랜드 15개 전량 노출(접힘 의존 제거) + 전체보기 버튼 숨김. 모바일(<600)은 기존 collapse 유지. */
	.cs-brands--home .cs-brands__item{ height:64px; padding:6px; }                     /* PC 카드 여백 축소(72→64) */
	.cs-brands--home .cs-brands__item.is-collapsed{ display:flex; }                    /* 9~15번째까지 PC 전량 노출 */
	.cs-brands--home .cs-brands__item--personal{ grid-column:7; }                      /* 개인결제 = 3번째 줄 우측(7열 중 마지막 칸) */
	.cs-brands__more{ display:none !important; }                                       /* PC 전체보기 버튼 숨김(항상 15) */
	.cs-hide-pc{ display:none !important; }
}

/* 개인결제 전 화면(모바일+PC) 임시 비노출 — 삭제 아님. 향후 메뉴/마이페이지 재노출. */
.cs-hide{ display:none !important; }

/* ── 세파스 추천 (mbanner mb1~mb9) — 잡지형 콘텐츠 보드 (Phase 2N-27) ──
   이미지가 콘텐츠 자체(내부 텍스트 포함)이므로 crop 금지·원본 비율 보존. WIDE(mb3/4/9)=2배폭, HALF=1폭.
   레거시 index.php 267/543 리듬을 responsive grid로 복원. 관리자/데이터 무관, VIEW 전용. */
.cs-recos{ display:grid; grid-template-columns:1fr; gap:12px; align-items:start; }
.cs-recos__item{ display:block; border-radius:10px; overflow:hidden; background:#f4f4f4; border:1px solid #ececec; }
.cs-recos__img{ display:block; width:100%; height:auto; }                 /* 원본 비율 유지 — stretch/crop 없음 */
/* 좁은 모바일(<480): WIDE·HALF 모두 1열 전체폭 → 이미지 내 글자 가독성 우선 */
/* 넓은 모바일/소형 태블릿(≥480): HALF 2열, WIDE 전체폭 */
@media (min-width:480px){
	.cs-recos{ grid-template-columns:repeat(2,1fr); }
	.cs-recos__item.is-wide{ grid-column:1 / -1; }
}
/* 데스크톱(≥1024): 4열 매거진 그리드 — HALF=1칸, WIDE=2칸(레거시 리듬). 빈 슬롯은 dense로 자연 재flow */
@media (min-width:1024px){
	.cs-recos{ grid-template-columns:repeat(4,1fr); gap:16px; grid-auto-flow:row dense; }
	.cs-recos__item.is-wide{ grid-column:span 2; }
}
@media (hover:hover) and (min-width:1024px){
	.cs-recos__item{ transition:transform .15s ease, box-shadow .15s ease; }
	.cs-recos__item:hover{ transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,.08); }
}

/* ── 신제품/추천 롤링 (sw_visual part='rolling') — CSS Scroll-Snap 캐러셀 (Phase 2N-29) ──
   이미지가 콘텐츠(상품명 내장) → crop 금지·원본비율. 모바일 peek(다음 카드 살짝), PC 4장+화살표, 무한/자동은 JS. */
.cs-roll{ position:relative; }
.cs-roll__track{
	display:flex; gap:10px;
	overflow-x:auto; overflow-y:hidden;
	scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scroll-behavior:smooth;
	overscroll-behavior-x:contain; touch-action:pan-x;   /* ★ 가로 스와이프 허용(이전 pan-y가 가로 제스처를 막아 스와이프 불가였음) */
	padding:2px 0; scrollbar-width:none;   /* 좌우 기준선 = 부모 .cs-wrap(0 16px)로 통일. 트랙 자체 가로패딩 제거(카드가 공통 기준선에 정렬) */
}
.cs-roll__track::-webkit-scrollbar{ display:none; }
.cs-roll__track.is-drag{ scroll-snap-type:none; scroll-behavior:auto; cursor:grabbing; }
.cs-roll__item{
	flex:0 0 auto; width:calc((100% - 10px) / 2);       /* 모바일: 정확히 2장 (gap 10px 반영, peek 제거) */
	scroll-snap-align:start;
	display:block; border-radius:10px; overflow:hidden;
	background:#f4f4f4; border:1px solid #ececec;
	-webkit-user-select:none; user-select:none;
}
.cs-roll__img{ display:block; width:100%; height:auto; pointer-events:none; }  /* 원본비율 유지, stretch/crop 없음 */
.cs-roll__arw{ display:none; }                          /* 모바일: 화살표 숨김(스와이프) */
/* Tablet: 2~3장 */
@media (min-width:600px){ .cs-roll__item{ width:44%; } }
@media (min-width:768px){
	.cs-roll__item{ width:31%; }
	.cs-roll__track{ scroll-snap-type:x proximity; padding:2px 0; }
}
/* PC: 4장 동시 + 좌우 화살표 */
@media (min-width:1024px){
	/* 폭·중앙정렬은 부모 .cs-wrap(max-width:1200; margin:0 auto)이 담당 → .cs-roll 자체 max-width 제거(기준선 이중화 방지) */
	.cs-roll__track{ gap:16px; padding:4px 0; }
	.cs-roll__item{ width:calc((100% - 48px) / 4); }     /* 4장 = (폭 - 3×gap)/4 */
	.cs-roll__track:not(.is-drag){ cursor:grab; }
	.cs-roll__arw{
		display:flex; align-items:center; justify-content:center;
		position:absolute; top:50%; transform:translateY(-50%); z-index:3;
		width:40px; height:40px; border-radius:50%;
		border:1px solid #e0e0e0; background:rgba(255,255,255,.96);
		box-shadow:0 2px 8px rgba(0,0,0,.14); font-size:24px; line-height:1; color:#333; cursor:pointer;
	}
	/* 카드는 공통 기준선(16px)에 정렬, 화살표는 .cs-wrap 좌우 여백(16px) 안에 배치 → 카드 위 최소 오버레이·뷰포트 밖 넘침 없음 */
	.cs-roll__arw--prev{ left:-16px; } .cs-roll__arw--next{ right:-16px; }
	.cs-roll__arw:hover{ background:#fff; box-shadow:0 4px 14px rgba(0,0,0,.2); }
}

/* ── SMART DEAL / OUTLET 프로모션 카드 (Phase 2N-36) — VIEW/CSS만, 링크·데이터·Admin 무변경 ──
   이미지 있으면 gradient overlay+image, 없으면 gradient fallback. 텍스트 대비 확보. */
.cs-promo{ display:grid; grid-template-columns:1fr; gap:12px; }
.cs-promo__card{
	position:relative; display:block; overflow:hidden; border-radius:16px;
	min-height:148px; padding:18px 18px 16px; color:#fff; text-decoration:none; isolation:isolate;
	-webkit-tap-highlight-color:rgba(0,0,0,.08);
}
.cs-promo__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.cs-promo__card::before{ content:""; position:absolute; inset:0; z-index:-1; }
/* gradient (이미지 없을 때 배경 = 브랜드 톤) */
.cs-promo__card--smart_deal::before{ background:linear-gradient(135deg,#e53935 0%,#ff7a45 100%); }
.cs-promo__card--outlet::before{ background:linear-gradient(140deg,#17181c 0%,#3a3d42 100%); }
/* 이미지 있을 때 = 어둡게 오버레이(가독) */
.cs-promo__card--smart_deal:not(.is-noimg)::before{ background:linear-gradient(135deg,rgba(214,40,40,.74) 0%,rgba(255,112,67,.5) 100%); }
.cs-promo__card--outlet:not(.is-noimg)::before{ background:linear-gradient(150deg,rgba(18,18,20,.78) 0%,rgba(44,46,51,.5) 100%); }
.cs-promo__inner{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-height:112px; height:100%; }
.cs-promo__badge{ font-size:11px; font-weight:800; letter-spacing:.08em; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.94); }
.cs-promo__card--smart_deal .cs-promo__badge{ color:#d62828; }
.cs-promo__card--outlet .cs-promo__badge{ color:#17181c; }
.cs-promo__title{ font-size:26px; font-weight:900; line-height:1.04; letter-spacing:-.01em; text-shadow:0 1px 6px rgba(0,0,0,.28); }
.cs-promo__sub{ font-size:13px; font-weight:500; opacity:.96; text-shadow:0 1px 4px rgba(0,0,0,.3); }
.cs-promo__cta{ margin-top:auto; display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:800; padding:9px 15px; border-radius:999px; background:#fff; color:#1a1a1a; }
.cs-promo__card--smart_deal .cs-promo__cta{ color:#d62828; }
.cs-promo__cta b{ font-weight:900; }
/* PC: 2열 50:50 */
@media (min-width:768px){
	.cs-promo{ grid-template-columns:1fr 1fr; gap:16px; }
	.cs-promo__card{ min-height:186px; padding:24px; }
	.cs-promo__inner{ min-height:138px; }
	.cs-promo__title{ font-size:32px; }
}
@media (min-width:1024px){ .cs-promo__card{ min-height:206px; } .cs-promo__title{ font-size:36px; } }
/* Interaction (PC hover) */
@media (hover:hover){
	.cs-promo__card{ transition:transform .18s ease, box-shadow .18s ease; }
	.cs-promo__card:hover{ transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.2); }
	.cs-promo__img{ transition:transform .3s ease; }
	.cs-promo__card:hover .cs-promo__img{ transform:scale(1.045); }
	.cs-promo__card:hover .cs-promo__cta{ box-shadow:0 4px 14px rgba(0,0,0,.28); }
}
@media (prefers-reduced-motion:reduce){
	.cs-promo__card, .cs-promo__img{ transition:none !important; }
	.cs-promo__card:hover{ transform:none; }
	.cs-promo__card:hover .cs-promo__img{ transform:none; }
}

/* Phase 2N-36b: OUTLET 카드 가독성 보완 (OUTLET만 · SMART DEAL 무변경) */
.cs-promo__card--outlet .cs-promo__title,
.cs-promo__card--outlet .cs-promo__sub{ color:#fff; }                                   /* ① 흰색 확정 */
.cs-promo__card--outlet .cs-promo__title{ text-shadow:0 2px 8px rgba(0,0,0,.6); }        /* ② 그림자 강화 */
.cs-promo__card--outlet .cs-promo__sub{ text-shadow:0 1px 6px rgba(0,0,0,.65); }
.cs-promo__card--outlet:not(.is-noimg)::before{ background:linear-gradient(150deg,rgba(18,18,20,.58) 0%,rgba(44,46,51,.36) 100%); }  /* ③ 오버레이 약 25%↓(이미지 더 보이게) */
@media (hover:hover){
	.cs-promo__card--outlet:hover .cs-promo__cta{ background:#fff; color:#000; box-shadow:0 6px 18px rgba(0,0,0,.42); }  /* ④ CTA hover 대비↑ */
}

/* Phase 2N-37: 모바일 브랜드 로고 확대 (모바일 <600px만 · PC ≥600px 규칙 무변경 · 이미지 동일) */
@media (max-width:599px){
	.cs-brands--home .cs-brands__item{ height:68px; padding:5px; }     /* 카드 60→68, padding 7→5 */
	.cs-brands--home .cs-brands__logo{ max-height:90%; max-width:96%; } /* 로고 상한 82→90% / 90→96% */
}

/* ── Consumer 아이디/비밀번호 찾기 (Phase 2N-38) — 기존 cs-auth 시스템 재사용, 델타만 ── */
.cs-auth__guide{ font-size:13px; color:#888; line-height:1.55; margin:-8px 0 16px; }
.cs-auth__guide b{ color:#555; }
/* AJAX 결과(find.act.php 레거시 클래스) → cs-auth 룩으로 스코프 리스타일 */
.cs-auth .h5_title img{ display:none; }
.cs-auth .h5_title{ font-size:15px; font-weight:800; margin:0 0 6px; color:#111; }
.cs-auth .block_txt{ display:block; font-size:13px; color:#888; font-weight:400; margin-top:4px; }
.cs-auth .loginBox{ margin-top:8px; }
.cs-auth .p_login{ margin-bottom:14px; }
.cs-auth .p_login label{ display:block; font-size:13px; color:#555; margin-bottom:6px; }
.cs-auth .input_Style01{ width:100% !important; box-sizing:border-box; min-height:52px; border:1px solid #ddd !important; border-radius:10px; padding:0 14px; font-size:15px; background:#fff; }
.cs-auth .btn_find{ margin-top:4px; }
.cs-auth .buttonStyle{ display:flex; align-items:center; justify-content:center; width:100%; min-height:52px; margin-top:6px; border:0; border-radius:10px; background:#da0617; color:#fff; font-size:16px; font-weight:800; cursor:pointer; }
/* ── 비밀번호 찾기 AJAX 결과 박스 (Phase 2N-38B) ── */
.cs-auth__result{ margin-top:14px; padding:16px 16px 18px; border-radius:12px; border:1px solid #eee; background:#fafafa; text-align:center; }
.cs-auth__result.is-ok{ border-color:#cfe8d4; background:#f4fbf5; }
.cs-auth__result.is-fail{ border-color:#f3d2d2; background:#fdf5f5; }
.cs-auth__result-msg{ margin:0; font-size:15px; font-weight:800; color:#111; line-height:1.5; }
.cs-auth__result.is-ok .cs-auth__result-msg{ color:#2e7d32; }
.cs-auth__result.is-fail .cs-auth__result-msg{ color:#c62828; }
.cs-auth__result-sub{ margin:6px 0 0; font-size:13px; color:#888; line-height:1.55; }
.cs-auth__result .cs-auth__btn{ margin-top:14px; }

/* ============================================================
 * MAIN UX REWORK — 2026-08-25 (VIEW/CSS only, TEST)
 * 목표: 개별 섹션의 나열감 → CEPHAS 단일 브랜드 경험. 공통 리듬(spacing/grid/hierarchy).
 * 데이터/링크/JS 무변경. 홈 전용은 body.cs-home 스코프.
 * ============================================================ */

/* ---------- 모바일(<1024) 헤더 1차 축소: 로고/검색/장바구니 크기↓로 폭 예산 회수. PC(≥1024) 미적용. ---------- */
@media (max-width:1023.98px){
	.cs-logo img{ height:16px; }        /* [2026-08-30] 22→16px. 로고 폭 197→143px(≈54px 회수). intrinsic 206×23(8.96:1) 비율유지·무왜곡. PC(≥1024)는 26px 유지. */
	.cs-authlinks a{ padding:0 5px; }   /* 8→5px. 링크 3개서 ≈18px 회수 → B2B몰 추가분(≈51px) 완전 상쇄. PC(≥1024)는 10px 유지. */
	.cs-iconbtn{ min-width:38px; min-height:38px; font-size:20px; }  /* [2026-08-30] 44→38 box(검색/장바구니/햄버거 3개서 ≈18px 회수). 터치 유지(38px). PC(≥1024)는 40px. */
	.cs-header__bar{ gap:6px; }          /* [2026-08-30] 8→6px 소폭. PC(≥1024)는 24px. */
	/* [2026-08-30 mhdr4] 2차: 계정/B2B 링크를 상단바에서 제거 → 햄버거(.cs-nav__acct)로 이동. 상단바 overflow 근본 해소. */
	.cs-header__util .cs-authlinks{ display:none; }   /* 데스크톱용 우측 계정링크는 모바일에서 숨김 */
	.cs-nav__acct{ margin-top:4px; border-top:1px solid #ececec; }  /* 햄버거 내 계정 구획 구분(메뉴 링크는 .cs-nav a 스타일 자동 상속). */
	.cs-nav__acct .cs-dealer-tag{ display:block; padding:13px 2px; font-size:13px; color:#888; }
}

/* ---------- PC(≥1024) ONE-LINE 헤더: 로고 | 내비(가운데) | 검색·유틸(우) ---------- */
@media (min-width:1024px){
	body.cs{ --cs-header-h:67px; }   /* [2026-09-14] ≥1024 헤더 총높이(bar 66 + border 1) — scroll-margin 과 동일 브레이크포인트 */
	.cs-header__bar{ height:66px; gap:24px; }
	.cs-search-toggle, .cs-menu-toggle{ display:none; }
	.cs-nav{ position:static; display:flex !important; margin:0 auto; padding:0; background:none; border:0; box-shadow:none; gap:2px; }
	.cs-nav a{ display:inline-flex; align-items:center; height:66px; padding:0 16px; font-size:15px; font-weight:600; color:#2a2a2a; border:0; position:relative; }
	.cs-nav a::after{ content:""; position:absolute; left:16px; right:16px; bottom:16px; height:2px; background:#da0617; transform:scaleX(0); transform-origin:center; transition:transform .18s ease; }
	.cs-nav a:hover{ color:#111; }
	.cs-nav a:hover::after{ transform:scaleX(1); }
	.cs-header__util{ margin-left:0; gap:8px; }
	.cs-search{ position:static; display:block !important; padding:0; background:none; border:0; box-shadow:none; }
	.cs-search form{ gap:0; }
	.cs-search input{ flex:0 0 auto; width:200px; min-width:0; min-height:38px; padding:0 14px; font-size:14px; border:1px solid #dcdcdc; border-right:0; border-radius:999px 0 0 999px; background:#fafafa; transition:width .2s ease, background .2s ease; }
	.cs-search input:focus{ width:270px; background:#fff; outline:none; border-color:#cfcfcf; }
	.cs-search button{ flex:0 0 auto; min-height:38px; padding:0 15px; font-size:13px; border-radius:0 999px 999px 0; }
	.cs-authlinks a{ font-size:13px; padding:0 10px; color:#555; }
	.cs-iconbtn{ min-width:40px; min-height:40px; font-size:19px; }
	.cs-nav__acct{ display:none; }   /* [2026-08-30 mhdr4] 데스크톱은 계정/B2B를 우측 util(.cs-authlinks)에 유지 → 햄버거 사본 숨김(중앙 nav 오염 방지). */
}

/* ---------- 공통 섹션 헤더(kicker + title + subtitle + more) ---------- */
.cs-section__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.cs-section__titles{ min-width:0; }
.cs-section__kicker{ display:block; font-size:11px; font-weight:800; letter-spacing:.14em; color:#da0617; text-transform:uppercase; margin-bottom:5px; }
.cs-section__title{ font-size:20px; font-weight:800; letter-spacing:-.01em; line-height:1.15; color:#151515; }
.cs-section__sub{ margin:6px 0 0; font-size:13px; color:#8a8a8a; word-break:keep-all; }
.cs-section__more{ flex:0 0 auto; display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:600; color:#666; }
.cs-section__more:hover{ color:#da0617; }

/* ---------- 홈 전용 리듬(section vertical spacing / title scale) ---------- */
body.cs-home .cs-section{ padding:40px 0; }
body.cs-home .cs-section__head{ margin-bottom:22px; }
body.cs-home .cs-dots{ padding:16px 0 2px; }
@media (min-width:768px){
	body.cs-home .cs-section{ padding:48px 0; }   /* 2차 폴리싱: 60→48(섹션간 120→96, -20%) */
	body.cs-home .cs-section__head{ margin-bottom:28px; }
	body.cs-home .cs-section__title{ font-size:24px; }
	body.cs-home .cs-section__kicker{ font-size:12px; }
}
@media (min-width:1024px){
	body.cs-home .cs-section{ padding:56px 0; }   /* 2차 폴리싱: 78→56(섹션간 156→112, -28%) — 프리미엄 여백 유지, 과공백만 제거 */
	body.cs-home .cs-section__title{ font-size:27px; }
}

/* ---------- SMART DEAL / OUTLET : Premium entry point(높이·타이틀 축소, 통일) ---------- */
@media (min-width:768px){
	body.cs-home .cs-promo{ gap:18px; }
	body.cs-home .cs-promo__card{ min-height:168px; padding:22px; }
	body.cs-home .cs-promo__inner{ min-height:120px; }
	body.cs-home .cs-promo__title{ font-size:30px; }
}
@media (min-width:1024px){
	body.cs-home .cs-promo__card{ min-height:182px; }
	body.cs-home .cs-promo__title{ font-size:32px; }
}
/* SMART DEAL red 톤 살짝 다운(Hero와 경쟁 완화) */
body.cs-home .cs-promo__card--smart_deal::before{ background:linear-gradient(135deg,#d63b3b 0%,#e8623a 100%); }
body.cs-home .cs-promo__card--smart_deal:not(.is-noimg)::before{ background:linear-gradient(135deg,rgba(198,40,40,.72) 0%,rgba(232,98,58,.46) 100%); }

/* ---------- CEPHAS STORIES(recos) 데스크톱 간격 여유 ---------- */
@media (min-width:1024px){ body.cs-home .cs-recos{ gap:18px; } }

/* ---------- NOTICE : 모던 리스트(구 게시판 톤 제거) ---------- */
body.cs-home .cs-notice{ border-top:1px solid #e5e5e5; }
body.cs-home .cs-notice li{ border-bottom:1px solid #f0f0f0; }
body.cs-home .cs-notice a{ min-height:52px; padding:11px 8px; border-radius:8px; transition:background .15s ease; }
body.cs-home .cs-notice .t{ font-size:14.5px; color:#333; }
body.cs-home .cs-notice .d{ font-size:12.5px; color:#aaa; }
@media (hover:hover){
	body.cs-home .cs-notice a:hover{ background:#fafafa; }
	body.cs-home .cs-notice a:hover .t{ color:#da0617; }
}

/* ---------- FOOTER : 브랜드 + 링크 + SNS 정돈(실제 정보만) ---------- */
.cs-footer{ margin-top:40px; background:#f7f7f7; border-top:1px solid #e5e5e5; }
.cs-footer__top{ display:flex; flex-direction:column; gap:16px; padding:28px 0 16px; }
.cs-footer__brand{ min-width:0; }
.cs-footer__logo{ height:24px; width:auto; margin-bottom:10px; }
.cs-footer__tag{ margin:0 0 12px; font-size:13px; color:#777; }
.cs-footer__sns{ display:flex; flex-wrap:wrap; gap:8px 14px; }
.cs-footer__sns a{ font-size:12.5px; color:#555; }
.cs-footer__sns a:hover{ color:#da0617; }
.cs-footer__links{ display:flex; flex-wrap:wrap; gap:10px 18px; margin:0; padding:0; font-size:13px; }
.cs-footer__links .pv{ color:#da0617; font-weight:700; }
.cs-footer__addr{ margin-top:8px; padding:14px 0 30px; border-top:1px solid #ececec; font-size:12px; color:#8a8a8a; line-height:1.9; font-style:normal; }
@media (min-width:768px){
	.cs-footer__top{ flex-direction:row; justify-content:space-between; align-items:flex-start; padding:36px 0 18px; }
	.cs-footer__links{ gap:12px 22px; }
}

/* ============================================================
 * PRODUCT LANDING — 2026-08-25 (VIEW/CSS only, TEST)
 * NEW 대표 strip + 브랜드 필터 + 정렬 + PC hover 상세보기. 기존 .cs-grid 카드/Quick Add 재사용.
 * ============================================================ */
/* NEW 대표 strip: 모바일=가로스크롤(2-peek) / PC=5열 grid. .cs-grid 카드 스타일 상속. */
.cs-newsec{ margin:6px 0 6px; }
.cs-newstrip{ display:flex; grid-template-columns:none; gap:12px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; scrollbar-width:none; padding:2px 0 6px; }
.cs-newstrip::-webkit-scrollbar{ display:none; }
.cs-newstrip .cs-card{ flex:0 0 46%; scroll-snap-align:start; }
@media (min-width:600px){ .cs-newstrip .cs-card{ flex-basis:31%; } }
@media (min-width:768px){ .cs-newstrip{ display:grid; grid-template-columns:repeat(5,1fr); overflow:visible; } .cs-newstrip .cs-card{ flex:none; } }

/* 브랜드 필터 */
.cs-brandfilter{ display:flex; align-items:center; gap:10px; margin:8px 0 2px; }
.cs-brandfilter__lbl{ flex:0 0 auto; font-size:13px; font-weight:700; color:#555; }
.cs-chips--brand{ padding:2px 0 6px; }

/* 목록 헤더 우측(총 N개 + 정렬) */
.cs-plist__headright{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.cs-plist__titles{ display:flex; flex-direction:column; gap:2px; }
.cs-plist__head--new{ align-items:flex-end; }
.cs-plist__back{ font-size:13px; font-weight:600; color:#666; }
.cs-plist__back:hover{ color:#da0617; }
.cs-plist__sortrow{ display:flex; justify-content:flex-end; margin:2px 0 10px; }
/* 정렬 select */
.cs-sort{ min-height:38px; padding:0 30px 0 12px; font-size:13.5px; color:#222; border:1px solid #d8d8d8; border-radius:8px; background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23888'/></svg>") no-repeat right 12px center; -webkit-appearance:none; -moz-appearance:none; appearance:none; cursor:pointer; }
.cs-sort:focus{ outline:none; border-color:#da0617; }

/* PC hover 상세보기 오버레이(이미지 위, 이름/가격 미가림). 터치기기는 미표시. */
.cs-card__view{ display:none; }
@media (hover:hover){
	.cs-grid .cs-card__view{ display:block; position:absolute; left:50%; top:50%; z-index:2; transform:translate(-50%,-50%) translateY(6px);
		padding:7px 16px; background:rgba(20,20,20,.82); color:#fff; font-size:12.5px; font-weight:700; letter-spacing:.02em; border-radius:999px;
		opacity:0; pointer-events:none; white-space:nowrap; transition:opacity .16s ease, transform .16s ease; }
	.cs-grid .cs-card:hover .cs-card__view{ opacity:1; transform:translate(-50%,-50%); }
}

/* NEW 대표 strip 카드는 액션 슬롯 숨김(대표는 탐색·클릭 유도, 담기는 목록/상세에서) — 카드 높이 균일 */
.cs-newstrip .cs-card__action, .cs-newstrip .cs-card__option{ display:none !important; }

/* ---- Brand Landing header (identity) — 2026-08-25 ---- */
.cs-brandhead{ padding:6px 0 2px; }
.cs-brandhead__title{ margin:0; font-size:22px; font-weight:800; letter-spacing:-.01em; color:#151515; }
.cs-plist__head--brand{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.cs-newsec--brand{ margin-top:8px; }
@media (min-width:768px){ .cs-brandhead__title{ font-size:26px; } }

/* ---- Brand Text Filter (compact) — 2026-08-25 (로고 filter 폐기, 텍스트 chip 복원 / count 미표시) ---- */
.cs-brandfilter{ align-items:flex-start; }
.cs-brandfilter__lbl{ line-height:34px; }
.cs-chips--brand .cs-chip{ min-height:34px; padding:0 12px; font-size:13px; }
@media (min-width:768px){ .cs-chips--brand{ row-gap:8px; } }

/* ---- 단순상품(single) Quick Add: PC hover/focus reveal — 2026-08-25 ----
   레이아웃 shift 방지=공간 예약(display 유지) + opacity 토글. 터치기기(hover:none)=기존 상시 노출. 옵션상품(multi) 무변경. */
@media (hover:hover){
	.cs-grid .cs-card[data-qmode="single"] .cs-card__action{ opacity:0; animation:none; pointer-events:none; transition:opacity .15s ease; }
	.cs-grid .cs-card[data-qmode="single"]:hover .cs-card__action,
	.cs-grid .cs-card[data-qmode="single"]:focus-within .cs-card__action{ opacity:1; pointer-events:auto; }
}

/* [2026-08-31] 홈 브랜드 전량 노출 — 중간/큰 모바일에서 9~15번째가 접힘(버튼 뒤)으로 접근 불가하던 문제 수정.
   모든 viewport에서 is-collapsed 해제(자연 줄바꿈 노출) + '전체보기' 버튼 제거. 캐러셀 아님(그리드 유지), 브랜드 개수·로고·링크·간격 무변경. */
.cs-brands--home .cs-brands__item.is-collapsed{ display:flex; }   /* 상위8 외 접힘 해제 → 전 브랜드 항상 노출 */
.cs-brands__more{ display:none !important; }                       /* 전체보기 버튼 불필요(전량 노출) → 전 화면 숨김 */

/* ===== [2026-09-06] MAIN PROMO BANNER — 대표상품 노출(내부 2단 그리드 + 롤링, stretched-link) ===== */
.cs-promo__card{ position:relative; overflow:hidden; }
.cs-promo__overlay{ position:absolute; inset:0; z-index:2; text-decoration:none; }
.cs-promo__inner{ position:relative; z-index:1; }
.cs-promo__aside{ position:relative; z-index:3; display:flex; flex-direction:column; gap:10px; min-width:0; }
.cs-promo__asidetop{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cs-promo__caption{ flex:1 1 auto; min-width:0; font-size:11.5px; font-weight:600; color:rgba(255,255,255,.92); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }   /* P3: 캡션이 CTA에 밀려 과축소되지 않게 */
.cs-cap-short{ display:none; }
.cs-promo__aside .cs-promo__cta{ margin-top:0; flex:0 0 auto; font-size:11.5px; padding:6px 12px; white-space:nowrap; }
.cs-promo__rep{ position:relative; }
.cs-promo__repitem{ display:none; background:#fff; border-radius:10px; min-height:118px; overflow:hidden; text-decoration:none; color:#1a1a1a; }
.cs-promo__repitem.is-active{ display:flex; }
.cs-promo__repimg{ flex:0 0 110px; width:110px; background:#fbfafa; display:flex; align-items:stretch; justify-content:center; }
.cs-promo__repimg img{ width:100%; height:100%; object-fit:contain; }
.cs-promo__repbody{ flex:1 1 auto; min-width:0; padding:10px 12px; display:flex; flex-direction:column; justify-content:center; gap:3px; }
.cs-promo__repbrand{ font-size:10px; font-weight:700; color:#8a8f96; letter-spacing:.02em; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cs-promo__repname{ font-size:11.5px; line-height:1.35; color:#222; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; max-height:2.7em; word-break:break-word; }   /* P2: 클램프 + max-height 2줄 방어(카드 높이 폭증 차단) */
.cs-promo__repprice{ font-size:12px; margin-top:1px; }
.cs-promo__reprate{ color:#d9400f; font-weight:800; margin-right:5px; }
.cs-promo__repnow{ font-weight:800; color:#111; }
.cs-promo__repwas{ color:#9aa0a6; font-size:10.5px; margin-left:5px; }
.cs-promo__reptime{ display:inline-block; margin-top:3px; background:#fff4ec; color:#d9400f; font-size:11px; font-weight:700; padding:2px 7px; border-radius:5px; white-space:nowrap; }
.cs-promo__repsave{ margin-top:3px; color:#1f7a4d; font-size:11.5px; font-weight:700; }
.cs-promo__dots{ display:flex; gap:5px; justify-content:flex-end; }
.cs-promo__dot{ width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.42); }
.cs-promo__dot.is-on{ background:#fff; }
.cs-promo__stats{ display:flex; gap:10px; }
.cs-promo__stat{ flex:1; min-height:118px; background:rgba(255,255,255,.14); border-radius:10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:#fff; }
.cs-promo__stat b{ font-size:26px; font-weight:900; line-height:1; }
.cs-promo__stat i{ font-size:11px; font-style:normal; opacity:.9; }
@media (min-width:768px){
	.cs-promo__card{ display:grid; grid-template-columns:.78fr 1.22fr; gap:14px; padding:18px 20px; min-height:186px; align-items:stretch; }
	.cs-promo__inner{ display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:7px; }
	.cs-promo__aside{ justify-content:space-between; }
	.cs-promo__rep{ flex:1 1 auto; }
	.cs-promo__repitem.is-active{ height:100%; }
}
@media (min-width:1024px){ .cs-promo__card{ min-height:206px; } }
body.cs-home .cs-promo__card{ min-height:186px; }
@media (max-width:767px){
	.cs-promo__card{ display:flex; flex-direction:column; padding:16px; }   /* P0: 콘텐츠 높이로 성장(클리핑 제거) */
	.cs-promo__inner{ height:auto; min-height:0; }                          /* P0: 데스크톱 height:100%/min-height 상속 차단 → 좌측 자연 높이 */
	.cs-promo__aside{ margin-top:12px; }
	.cs-cap-full{ display:none; }
	.cs-cap-short{ display:inline; }
	.cs-promo__aside .cs-promo__cta{ min-height:44px; }
	.cs-promo__repimg{ flex:0 0 84px; width:84px; }
	.cs-promo__repitem{ min-height:96px; }
	.cs-promo__repnext{ display:none; }   /* P5: "후 {가격}원" 전체(후 포함)가 repnext 안 → 모바일 숨김 = "🔥 MM:SS"만 */
	.cs-promo__stat{ min-height:96px; }
}
@media (prefers-reduced-motion: reduce){ .cs-promo__repitem{ transition:none !important; } }

/* [fix 2026-09-06] P1 CTA 글자색 명시(카드 color:#fff 상속 차단) / P6 배너 타이틀 1줄 유지 */
.cs-promo__cta{ color:#1a1a1a; }
.cs-promo__card--smart_deal .cs-promo__cta{ color:#d62828; }
.cs-promo__card--outlet .cs-promo__cta{ color:#17181c; }
@media (min-width:768px){ .cs-promo__title{ white-space:nowrap; } }

/* ===== [2026-09-20] 약관·개인정보(.cs-legal) + 회사소개(.cs-company) 소비자 페이지 ===== */
/* .cs-legal: 관리자 편집 HTML(agreement.txt/private.txt) 원문을 반응형으로 안전 표시.
   ★ 본문 무수정 — 긴 문장 줄바꿈, 이미지 축소, 넓은 표는 내부 가로 스크롤(내용 숨김 없음). */
.cs-legal{ font-size:14px; line-height:1.75; color:#333; word-break:break-word; overflow-wrap:break-word; }
.cs-legal img{ max-width:100%; height:auto; }
.cs-legal a{ color:#da0617; text-decoration:underline; }
.cs-legal h1,.cs-legal h2,.cs-legal h3,.cs-legal h4{ line-height:1.4; }
/* 넓은 표: 표 자체를 스크롤 컨테이너로(display:block) → 좁은 화면에서 잘림 없이 좌우로 읽기. 원문 마크업 무편집. */
.cs-legal table{ display:block; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border-collapse:collapse; }
.cs-legal table td,.cs-legal table th{ word-break:keep-all; }

/* .cs-company: 회사소개(기존 글·이미지 재배치). 구형 메뉴/quick 미사용. */
.cs-company__lead{ margin:4px 0 24px; }
.cs-company__lead img{ max-width:100%; height:auto; }
.cs-company__txt{ font-size:15px; line-height:1.8; color:#333; }
.cs-company__h{ margin:44px 0 16px; font-size:18px; font-weight:800; color:#1a1a1a; padding-bottom:8px; border-bottom:2px solid #1a1a1a; }
.cs-company__history img{ max-width:100%; height:auto; }
.cs-company__vision dl{ margin:0 0 12px; padding:16px 18px; border:1px solid #e9e9e9; border-radius:12px; background:#fafafa; }
.cs-company__vision dt{ font-size:15px; font-weight:700; color:#1a1a1a; margin-bottom:6px; }
.cs-company__vision dd{ margin:0; font-size:14px; line-height:1.7; color:#555; }
@media (min-width:768px){
	.cs-legal{ font-size:15px; }
	.cs-company__txt{ font-size:16px; }
	.cs-company__h{ font-size:22px; }
}
