/* 상품 분류 목록의 소개 글·심층리뷰·FAQ (2026-11-03) — skin/shop/basic/listintro.skin.php, listseo.skin.php
   색·글꼴은 사이트 디자인 기준(회색 #5·#666 글자, 구역 바탕 #f5f5f5) 그대로 */

/* 소개 글: 심층리뷰 띠와 상품 목록 사이 회색 바탕에, 2줄까지만 보이고 둘째 줄 끝에 [더보기] */
.hm-cat-intro {
    --hm-ci-pb: 28px; /* 아래 여백(상품 목록과의 간격) — [더보기] 위치도 이 값을 따름 */
    position: relative; /* [더보기]를 둘째 줄 끝에 겹쳐 놓는 기준 */
    padding: 18px 17px var(--hm-ci-pb); /* 위 = 정렬·랭킹 줄과의 간격(심층리뷰 띠가 없는 분류에서 딱 붙어 보였음, 2026-11-03) */
}

/* 심층리뷰 띠 바로 아래일 땐 띠 자체의 아래 회색 여백(8px)이 있어 덜 띄움 */
.hm-cat-rv ~ .hm-cat-intro { /* 사이에 Swiper 초기화 script가 끼어 있어 + 가 아니라 ~ */
    padding-top: 8px;
}

.hm-cat-intro-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
}

.hm-cat-intro [data-hm-clamp] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-cat-intro [data-hm-clamp].is-open {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* [더보기] — 굵은 글자만. 따로 한 줄을 차지하지 않고 둘째 줄 오른쪽 끝에 겹쳐 놓음(앞 글자는 바탕색으로 서서히 가림, 2026-11-03 사용자 요청).
   위치: 소개 글 칸 오른쪽 아래(칸 아래 여백 위 = 마지막 줄 자리). 펼치면 [접기]로 바뀜(JS data-hm-clamp-fold) */
.hm-cat-intro .hm-clamp-more {
    position: absolute;
    right: 17px;
    bottom: var(--hm-ci-pb);
    margin: 0;
    padding: 0 0 0 26px;
    border: 0;
    background: linear-gradient(to right, rgba(245, 245, 245, 0), #f5f5f5 22px);
    color: #1e1e1e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
}

.hm-cat-intro .hm-clamp-more::before {
    content: '… ';
    font-weight: 400;
    color: #555555;
}

/* 펼친 뒤엔 [접기] — JS가 글 안쪽 끝으로 옮겨서, 마지막 줄 뒤에 이어 붙는다(새 줄 없음) */
.hm-cat-intro [data-hm-clamp].is-open .hm-clamp-more {
    position: static;
    display: inline;
    margin: 0 0 0 8px;
    padding: 0;
    background: none;
    line-height: inherit;
}

.hm-cat-intro [data-hm-clamp].is-open .hm-clamp-more::before {
    content: none;
}

/* 상품 목록 위 '○○ 심층리뷰' 썸네일 띠 (2026-11-03) — 작은 정사각 썸네일 + 제품명만, 좌우로 넘김. 벤치마킹: honeyme-specs/2611-seo/item-list.png
   바탕은 이 페이지의 안내 띠(#list-noti)와 같은 회색 위 흰 상자(모서리 4px). 색·글꼴은 사이트 기준 */
.hm-cat-rv {
    background: #f5f5f5;
    padding: 8px 10px 8px; /* 아래도 위와 같은 회색 여백(흰 상자와 상품 목록 사이) */
}

.hm-cat-strip {
    background: #ffffff;
    border-radius: 4px;
    padding: 14px 0 12px; /* 좌우 0 — 썸네일 띠가 흰 상자 양끝까지 스크롤됨(첫·끝 칸의 14px 여백은 Swiper slidesOffsetBefore/After) */
}

.hm-cat-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px; /* 제목 줄만 좌우 여백 */
    margin-bottom: 12px;
}

.hm-cat-strip-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e1e1e;
}

.hm-cat-strip-more {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 8px;
    font-size: 12.5px;
    color: #666666;
    text-decoration: none;
}

.hm-cat-strip-more .bi {
    font-size: 11px;
    margin-left: 2px;
}

/* .swiper 기본 CSS(padding 0)에 안 덮이게 .swiper.○○로 */
.swiper.hm-cat-strip-swiper {
    overflow: hidden;
}

/* 폭은 .swiper.○○ .○○로 — Swiper 기본 CSS의 .swiper-slide { width: 100% }가 나중에 불러와져 같은 무게의 클래스 하나는 덮어써서 한 칸이 가로 전체를 차지했음 */
.swiper.hm-cat-strip-swiper .hm-cat-strip-item {
    display: block;
    flex-shrink: 0;
    width: 64px;
    text-decoration: none;
    color: inherit;
}

.hm-cat-strip-thumb {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    background: #f5f5f5;
}

.hm-cat-strip-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 제품명만, 두 줄까지(HTML엔 전체 글자) */
.hm-cat-strip-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: #1e1e1e;
    word-break: keep-all;
}

/* 목록 아래 구역: 좌우 여백은 홈 줄과 같게(.hm-hrank-bleed가 이 여백 기준으로 화면 끝까지 넓어짐) */
.hm-cat-sec {
    --bs-gutter-x: 1.5rem;
    padding: 20px calc(var(--bs-gutter-x) * .5) 12px;
}

.hm-cat-faq {
    padding-top: 8px;
    padding-bottom: 24px;
}
