/* 2026-10-13: 상품 목록 공통 스타일 — 카테고리 목록(shop/category.php)·검색 결과(shop/searchList.php) */
.catList { width: 1200px; margin: 0 auto; padding: 28px 0 120px; font-family: "Noto Sans KR", sans-serif; color: #111; letter-spacing: -0.02em; }
.catList * { box-sizing: border-box; }
.catList a { color: inherit; text-decoration: none; }
.catList .catTitle { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 32px; }
.catList .catTitle h2 { font-size: 30px; font-weight: 700; margin: 0; line-height: 1.3; }
.catList .catTitle span { font-size: 15px; color: #8b95a1; }
.catList .catMain { display: flex; gap: 40px; align-items: flex-start; }
.catList .catSide { width: 220px; flex: 0 0 220px; position: sticky; top: 140px; }
.catList .catSide h4 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.catList .catGroup { padding-bottom: 24px; }
.catList .catGroup + .catGroup.line { border-top: 1px solid #ebebeb; padding-top: 24px; }
.catList .catSubBtn { display: flex; justify-content: space-between; width: 100%; padding: 3px 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; color: #333; text-align: left; }
.catList .catSubBtn em { font-style: normal; font-size: 13px; color: #a0a7b0; }
.catList .catSubBtn.on, .catList .catSubBtn.on em { color: #e5282e; font-weight: 700; }
.catList .catChk { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 14px; color: #333; cursor: pointer; }
/* 사이트 공통 CSS가 체크박스를 숨기므로(display:none) 여기서 직접 그린다 */
.catList .catChk input { display: inline-block !important; -webkit-appearance: none; appearance: none; flex: 0 0 16px; width: 16px; height: 16px; margin: 0; border: 1px solid #bdbdbd; border-radius: 3px; background: #fff; cursor: pointer; position: static; opacity: 1; }
.catList .catChk input:checked { border-color: #111; background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.catList .catChk input:checked + span { color: #111; font-weight: 500; }
.catList .catChk em { font-style: normal; font-size: 13px; color: #a0a7b0; margin-left: auto; }
.catList .catOther a { display: block; font-size: 13px; color: #666; padding: 4px 0; }
.catList .catOther a:hover { color: #111; text-decoration: underline; }
.catList .catBody { width: 940px; flex: 0 0 940px; }
.catList .catBar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #111; }
.catList .catBar .cnt { font-size: 14px; color: #555; }
.catList .catBar .cnt b { color: #111; }
.catList .catSort button { height: 32px; padding: 0 14px; margin-left: 6px; border-radius: 18px; border: 1px solid #dadada; background: #fff; color: #555; font: inherit; font-size: 13px; cursor: pointer; }
.catList .catSort button.on { background: #111; border-color: #111; color: #fff; font-weight: 500; }
.catList .catSec { padding-top: 36px; }
.catList .catSec h3 { font-size: 20px; font-weight: 700; margin: 0 0 20px; }
.catList .catSec h3 em { font-style: normal; font-size: 15px; font-weight: 500; color: #a0a7b0; margin-left: 8px; }
.catList .catGrid { display: grid; grid-template-columns: repeat(4, 220px); gap: 36px 20px; margin: 0; padding: 0; list-style: none; }
.catList .catCard a { display: block; }
.catList .catCardImg { position: relative; display: block; width: 220px; height: 176px; border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; background: #f2f2f2; }
.catList .catCardImg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.catList .catCard a:hover .catCardImg img { transform: scale(1.04); }
.catList .catCardImg .noImg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #a0a7b0; }
.catList .catBadge { position: absolute; left: 12px; top: 12px; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; font-style: normal; color: #fff; line-height: 16px; }
.catList .catBadge.hot { background: #e5282e; }
.catList .catBadge.new { background: #111; }
.catList .catToday { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 50%; background: #000; color: #fff; font-size: 11px; font-weight: 700; line-height: 14px; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.catList .catCardPath { display: block; padding-top: 12px; font-size: 11px; color: #8b95a1; }
.catList .catCardName { display: block; padding-top: 4px; font-size: 15px; font-weight: 500; line-height: 21px; color: #111; word-break: keep-all; }
.catList .catCard a:hover .catCardName { text-decoration: underline; }
.catList .catChips { display: flex; gap: 4px; padding-top: 8px; }
.catList .catChip { padding: 1px 7px; border: 1px solid #dadada; border-radius: 4px; font-size: 11px; font-weight: 500; color: #555; background: #fff; }
.catList .catChip.off { border-color: #ffc2d3; color: #ff5983; }
.catList .catEmpty { padding: 80px 0; text-align: center; font-size: 15px; color: #8b95a1; display: none; }
.catList .catEmpty button { margin-top: 14px; height: 36px; padding: 0 18px; border-radius: 6px; border: 1px solid #d4d4d4; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }

/* ---- 검색 결과 (shop/searchList.php) ---- */
.srchBand { background: #f7f7f8; padding: 36px 0 30px; }
.srchBand form { width: 640px; margin: 0 auto; position: relative; }
.srchBand input[type=text] { display: block; width: 100%; height: 56px; padding: 0 60px 0 22px; border: 2px solid #111; border-radius: 10px; background: #fff; font: inherit; font-family: "Noto Sans KR", sans-serif; font-size: 18px; font-weight: 500; color: #111; box-sizing: border-box; outline: none; }
.srchBand button { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.srchBand .srchRec { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-family: "Noto Sans KR", sans-serif; }
.srchBand .srchRec span { font-size: 12px; font-weight: 500; color: #8b95a1; }
.srchBand .srchRec a { padding: 4px 12px; border: 1px solid #e1e1e1; border-radius: 14px; background: #fff; font-size: 12px; color: #444; text-decoration: none; }
.srchBand .srchRec a:hover { border-color: #111; color: #111; }
.catList.srch { padding-top: 40px; }
.catList .srchTitle { font-size: 26px; font-weight: 700; margin: 0 0 28px; }
.catList .srchTitle em, .catList .catCardName em.hl { font-style: normal; color: #e5282e; }
.catList .catSubBtn.dep { padding-left: 14px; font-size: 13px; color: #666; }
.catList .catGrid.flat { padding-top: 28px; }
/* 셀프에디터 카드 */
.catList .catCard.ed .catCardImg { background: #f6f6ee; }
.catList .catCard.ed .catCardImg img.tpl { object-fit: contain; }
.catList .catBadge.ed { background: #2f5bd2; }
.catList .catChip.ed { border-color: #bfd0f5; background: #f2f6ff; color: #2f5bd2; }
/* 하위 상품 카드 (itemCateList) */
.catList .catCardDesc { display: block; padding-top: 3px; font-size: 12px; line-height: 17px; color: #666; word-break: keep-all; }
.catList .catChip.sub { border-color: #e4e4e7; background: #f4f4f5; color: #444; }
/* 관련 안내 */
.catList .srchGuide { padding-top: 64px; }
.catList .srchGuide h3 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.catList .srchGuide ul { margin: 0; padding: 0; list-style: none; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; }
.catList .srchGuide li + li { border-top: 1px solid #efefef; }
.catList .srchGuide a { display: flex; align-items: center; gap: 24px; padding: 18px 20px 18px 24px; }
.catList .srchGuide a:hover { background: #fafafa; }
.catList .srchGuide b { font-size: 15px; font-weight: 700; }
.catList .srchGuide span { flex: 1; font-size: 13px; color: #8b95a1; }
/* 결과 없음 */
.catList .srchNone { text-align: center; padding: 24px 0 56px; border-bottom: 1px solid #ebebeb; }
.catList .srchNone .ico { width: 64px; height: 64px; margin: 0 auto 20px; }
.catList .srchNone h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.catList .srchNone h2 em { font-style: normal; color: #e5282e; }
.catList .srchNone p { font-size: 14px; color: #8b95a1; margin: 0 0 24px; }
.catList .srchNone p span + span::before { content: "·"; margin: 0 10px; }
.catList .srchNone .btns a { display: inline-block; padding: 11px 22px; margin: 0 4px; border-radius: 6px; font-size: 14px; font-weight: 500; border: 1px solid #d4d4d4; color: #333; }
.catList .srchNone .btns a.dark { background: #111; border-color: #111; color: #fff; }
.catList .srchShort { padding-top: 40px; }
.catList .srchShort h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.catList .srchShort .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.catList .srchShort .chips a { padding: 9px 16px; border: 1px solid #e1e1e1; border-radius: 20px; font-size: 13px; font-weight: 500; color: #333; }
.catList .srchShort .chips a:hover { border-color: #111; }
.catList .srchShort .chips a.ed { background: #f2f6ff; border-color: #bfd0f5; color: #2f5bd2; }
.catList .srchPop { padding-top: 48px; }
.catList .srchPop h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.catList .srchPop .catGrid { grid-template-columns: repeat(5, 220px); gap: 36px 25px; }

/* ---- 하위 상품 목록 (shop/itemCateList.php) ---- */
.catList.ciList { padding-top: 40px; }
.catList .ciHead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; }
.catList .ciHead .catTitle { padding: 0; }
.catList .ciBack { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; color: #555; }
.catList .ciBack:hover { color: #111; text-decoration: underline; }
.catList .ciBanner { display: block; border-radius: 16px; overflow: hidden; }
.catList .ciBanner img { display: block; width: 100%; height: auto; }
.catList .ciTabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.catList .ciTabs a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid #ddd; border-radius: 18px; background: #fff; font-size: 13px; color: #333; }
.catList .ciTabs a em { font-style: normal; margin-left: 4px; color: #a0a7b0; }
.catList .ciTabs a.on { background: #111; border-color: #111; color: #fff; font-weight: 700; }
.catList .ciTabs a.on em { color: #fff; font-weight: 400; }
.catList .ciBar { margin-top: 40px; }
.catList .ciTabs + .ciBar { margin-top: 24px; }
.catList .ciHint { font-size: 13px; color: #8b95a1; }
.catList .ciSec { padding-top: 36px; }
.catList .ciSec:first-of-type { padding-top: 28px; }
.catList .ciGrid { display: grid; grid-template-columns: repeat(4, 285px); gap: 44px 20px; margin: 0; padding: 0; list-style: none; }
.catList .ciCard a { display: block; }
.catList .catCardImg.ciImg { width: 285px; height: 220px; }
.catList .ciCard a:hover .ciImg img { transform: scale(1.04); }
.catList .ciName { display: block; padding-top: 14px; font-size: 17px; font-weight: 700; line-height: 24px; color: #111; word-break: keep-all; }
.catList .ciCard a:hover .ciName { text-decoration: underline; }
.catList .ciDesc { display: block; padding-top: 6px; font-size: 13px; line-height: 19px; color: #666; word-break: keep-all; }
.catList .ciPrice { display: block; padding-top: 8px; }
.catList .ciPrice b { font-size: 16px; font-weight: 700; color: #111; }
.catList .ciPrice i { font-style: normal; font-size: 12px; color: #8b95a1; margin-left: 4px; }
.catList .ciChips { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 8px; }
.catList .ciSpec { display: block; margin-top: 8px; padding: 9px 12px; border-radius: 8px; background: #f7f7f8; }
.catList .ciSpec span { display: block; font-size: 12px; line-height: 18px; color: #555; }
.catList .ciSpec em { font-style: normal; color: #8b95a1; margin-right: 8px; }
/* 2026-10-14: 하위 상품 특징 칩 — 종류별 색 (itemCateList.php $ciChipKind, 색은 디자인팀 지정, 2026-10-14 배경색 없음) */
.catList .ciChip { padding: 1px 7px; border: 1px solid; border-radius: 4px; font-size: 11px; font-weight: 500; line-height: 17px; }
.catList .ciChip.k-rec { background: transparent; border-color: #568940; color: #568940; }	/* ~추천 */
.catList .ciChip.k-opt { background: transparent; border-color: #dc7a00; color: #dc7a00; }	/* 선택 - ~ (옵션) */
.catList .ciChip.k-inc { background: transparent; border-color: #e51088; color: #e51088; }	/* 기본제공 등 */
.catList .ciChip.k-tab { background: transparent; border-color: #5267de; color: #5267de; }	/* 함께 속한 다른 탭 (보온/보냉 등) */
.catList .ciChip.k-etc { background: transparent; border-color: #c4c8ce; color: #555; }

/* 2026-10-14: 하위 상품 목록 카테고리 동그라미 (배너 대신) — 선택: ALL은 검정 바탕·흰 글씨, 이미지는 검정 테두리·이름 굵게 / 미선택: 회색 테두리 */
.catList .ciCats { display: flex; flex-wrap: wrap; gap: 20px 28px; padding-top: 8px; }
.catList .ciCat { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; }
.catList .ciCat .circle { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border: 1px solid #ddd; border-radius: 50%; background: #fff; overflow: hidden; box-sizing: border-box; font-size: 17px; font-weight: 700; color: #111; letter-spacing: 0; }
.catList .ciCat .circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catList .ciCat .label { font-size: 14px; color: #333; text-align: center; line-height: 1.3; word-break: keep-all; }
.catList .ciCat:hover .circle { border-color: #999; }
.catList .ciCat.on .circle { border: 2px solid #111; }
.catList .ciCat.on .label { color: #111; font-weight: 700; }
.catList .ciCat.all.on .circle { background: #111; color: #fff; }
.catList .ciCats + .ciBar { margin-top: 32px; }

/* 2026-10-14: 검색 결과가 있을 때도 맨 아래 카테고리 바로가기 · 많이 찾는 상품 */
.catList .srchMore.line { margin-top: 80px; padding-top: 8px; border-top: 1px solid #ebebeb; }

/* 2026-10-14: 전체 상품 목록(category.php, ca 없음) — 분류 동그라미 한 줄 + 좌우 넘김 (모양은 .ciCat 그대로, 크기만 76px) */
.catList .alCats { position: relative; margin: 0 0 40px; }
.catList .alTrack { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; user-select: none; }
.catList .alTrack::-webkit-scrollbar { display: none; }
.catList .alTrack.drag { cursor: grabbing; }
.catList .alTrack.drag .ciCat { pointer-events: none; }
.catList .alCats .ciCat { flex: 0 0 auto; width: 84px; gap: 8px; padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.catList .alCats .ciCat .circle { width: 76px; height: 76px; font-size: 16px; }
.catList .alCats .ciCat .label { font-size: 13px; }
.catList .alCats::before, .catList .alCats::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .15s; }
.catList .alCats::before { left: 0; background: linear-gradient(to left, rgba(255,255,255,0), #fff 70%); }
.catList .alCats::after { right: 0; background: linear-gradient(to right, rgba(255,255,255,0), #fff 70%); }
.catList .alCats.canPrev::before, .catList .alCats.canNext::after { opacity: 1; }
.catList .alArrow { position: absolute; top: 24px; z-index: 2; display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ddd; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; }
.catList .alArrow:hover { border-color: #999; }
.catList .alArrow.prev { left: 0; }
.catList .alArrow.next { right: 0; }
.catList .alCats.canPrev .alArrow.prev, .catList .alCats.canNext .alArrow.next { display: flex; }
