@charset "utf-8";

/* ══════════════════════════════════════════════════════════════════
   toolon-product-list.css  —  카테고리 상품목록 (cTeg / searchDetail2)
   신규 .toolon- 접두어 전용. css.css/css2.css 영향 없음.
   디자인 기준: doc/toolon_product_list_redesign/product-list.html
   ══════════════════════════════════════════════════════════════════ */

.toolon-plist-page {
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

.toolon-plist-page * {
    box-sizing: border-box;
}

/* ── 빵가루 ─────────────────────────────────────────────────── */
.toolon-plist-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 0 0;
    font-size: 13px;
    color: #94A3B8;
}

.toolon-plist-breadcrumb a {
    color: var(--toolon-slate);
    text-decoration: none;
}

.toolon-plist-breadcrumb a:hover {
    color: var(--toolon-point);
}

.toolon-plist-breadcrumb .toolon-plist-bc-sep {
    margin: 0 7px;
    color: #CBD5E1;
}

.toolon-plist-breadcrumb strong {
    color: #1F2937;
    font-weight: 700;
}

/* ── 본문 래퍼 ──────────────────────────────────────────────── */
.toolon-plist-wrap {
    padding-top: 20px;     /* 페이지 타이틀 제거에 따른 상단 여백 보정 */
    padding-bottom: 40px;
}

/* ── 페이지 타이틀(미사용) ─────────────────────────────────── */
.toolon-plist-title {
    margin: 18px 0 12px;
}

.toolon-plist-title h1 {
    margin: 0;
    font-size: 28px;
    color: var(--toolon-primary);
    font-weight: 900;
    line-height: 1.2;
}

.toolon-plist-title p {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--toolon-slate);
}

/* ── 안내 배너 ──────────────────────────────────────────────── */
.toolon-plist-banner {
    display: flex;
    align-items: center;
    min-height: 78px;
    margin-bottom: 16px;
    padding: 0 26px;
    border-radius: 12px;
    background: linear-gradient(95deg, var(--toolon-primary) 0%, #334155 100%);
    color: #fff;
}

/* 공통 이미지 배너 */
.toolon-plist-banner-img { margin-bottom: 16px; }
.toolon-plist-banner-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.toolon-plist-banner strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.toolon-plist-banner span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #CBD5E1;
}

/* ── 2단 레이아웃 ───────────────────────────────────────────── */
.toolon-plist-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── 사이드바 ───────────────────────────────────────────────── */
.toolon-plist-side {
    border: 1px solid #D7DCE3;
    background: #fff;
    overflow: hidden;
}

.toolon-plist-filter {
    border-bottom: 1px solid #D7DCE3;
}

.toolon-plist-filter h3 {
    height: 44px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--toolon-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.toolon-plist-filter a {
    height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--toolon-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-decoration: none;
    border-bottom: 1px solid #F1F5F9;
}

.toolon-plist-filter a:last-child {
    border-bottom: 0;
}

.toolon-plist-filter a:hover,
.toolon-plist-filter a.active {
    color: var(--toolon-point);
}

.toolon-plist-filter a.toolon-plist-filter-parent {
    height: 36px;
    font-weight: 900;
    background: var(--toolon-soft);
    color: var(--toolon-text);
}

.toolon-plist-filter a span {
    color: var(--toolon-slate);
    font-size: 12px;
    font-weight: 700;
}

/* ── 카운트 라벨 (카테고리/브랜드 우측 상품 수) ──────────────── */
.toolon-plist-cnt {
    flex: 0 0 auto;
    margin-left: 8px;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ── 브랜드 필터 (전체 노출, 스크롤 없음) ───────────────────── */
.toolon-plist-brand label {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 14px;
    border-bottom: 1px solid #EEF2F7;
    color: var(--toolon-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.toolon-plist-brand label:last-child {
    border-bottom: 0;
}

.toolon-plist-brand input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--toolon-point);
    flex: 0 0 16px;
}

/* ── 프로모/안내 박스 ──────────────────────────────────────── */
.toolon-plist-promo {
    margin-top: 10px;
    min-height: 100px;
    padding: 18px 16px;
    text-align: center;
    border: 1px solid #D7DCE3;
}

.toolon-plist-promo.is-primary {
    background: var(--toolon-primary);
    border-color: var(--toolon-primary);
    color: #fff;
}

.toolon-plist-promo.is-primary strong {
    display: block;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: #FBBF24;
}

.toolon-plist-promo.is-primary b {
    display: block;
    margin-top: 5px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: #fff;
}

.toolon-plist-promo.is-primary span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #CBD5E1;
}

.toolon-plist-promo.is-light {
    background: #F3F4F6;
    border-color: #D7DCE3;
    color: var(--toolon-primary);
}

.toolon-plist-promo.is-light strong {
    display: block;
    color: var(--toolon-danger);
    font-size: 19px;
    font-weight: 900;
}

.toolon-plist-promo.is-light b {
    display: block;
    margin-top: 5px;
    color: var(--toolon-primary);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
}

.toolon-plist-cs {
    margin-top: 10px;
    border: 1px solid #D7DCE3;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.toolon-plist-cs b {
    display: block;
    height: 34px;
    line-height: 34px;
    background: var(--toolon-primary);
    color: #fff;
    font-size: 15px;
}

.toolon-plist-cs span {
    display: block;
    padding: 8px;
    background: #334155;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.toolon-plist-cs strong {
    display: block;
    margin: 10px 0 2px;
    color: var(--toolon-danger);
    font-size: 18px;
}

.toolon-plist-cs em {
    display: block;
    padding: 0 8px 12px;
    color: #374151;
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

/* ── 모바일 카테고리 바로가기 (≤1024px 노출) ─────────────────── */
.toolon-plist-mobile-cat {
    display: none;
}

/* ── 검색어 강조 (검색 결과 페이지) ────────────────────────── */
.toolon-plist-keyword {
    color: var(--toolon-point);
}

/* ── 결과내 검색 박스 ──────────────────────────────────────── */
.toolon-plist-subsearch {
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid #D7DCE3;
    background: var(--toolon-soft);
}

.toolon-plist-subsearch-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.toolon-plist-subsearch-row + .toolon-plist-subsearch-row {
    margin-top: 8px;
}

.toolon-plist-subsearch input {
    height: 40px;
    flex: 1 1 160px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid #D7DCE3;
    border-radius: 7px;
    background: #fff;
    color: var(--toolon-text);
    font-size: 14px;
    outline: none;
}

.toolon-plist-subsearch input:focus {
    border-color: var(--toolon-point);
    box-shadow: 0 0 0 3px #FFEDD5;
}

.toolon-plist-subsearch-btn {
    height: 40px;
    flex: 0 0 auto;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: var(--toolon-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.toolon-plist-subsearch-btn:hover {
    background: var(--toolon-point);
}

/* ── 콘텐츠 영역 ────────────────────────────────────────────── */
.toolon-plist-content {
    min-width: 0;
}

/* ── 정렬 툴바 ──────────────────────────────────────────────── */
.toolon-plist-toolbar {
    height: 44px;
    margin-bottom: 18px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 1px solid #D7DCE3;
    background: #fff;
    overflow: hidden;
}

.toolon-plist-sort {
    display: flex;
    height: 100%;
}

.toolon-plist-sort a {
    min-width: 112px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--toolon-slate);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid #EEF2F7;
    position: relative;
    cursor: pointer;
}

.toolon-plist-sort a.active {
    color: var(--toolon-primary);
}

.toolon-plist-sort a.active::after {
    content: '';
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 0;
    height: 2px;
    background: var(--toolon-point);
}

.toolon-plist-total {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: var(--toolon-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.toolon-plist-total b {
    color: #FBBF24;
    margin: 0 3px;
}

/* ── 카테고리 그룹 헤더 (cTp=3 LEV4 그룹) ────────────────────── */
.toolon-plist-group-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 2px;
    padding: 10px 4px;
    border-bottom: 2px solid var(--toolon-primary);
    font-size: 16px;
    font-weight: 900;
    color: var(--toolon-primary);
}

.toolon-plist-group-head .toolon-plist-group-sep {
    color: #94A3B8;
    font-weight: 400;
}

/* ── 상품 그리드 ────────────────────────────────────────────── */
.toolon-plist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
}

/* ── 상품 카드 ──────────────────────────────────────────────── */
.toolon-plist-card {
    position: relative;
    border: 1px solid #DADDE3;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.14s;
}

/* ── 툴맨추천 뱃지 ──────────────────────────────────────────── */
.toolon-plist-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    height: 22px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    background: var(--toolon-point);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.toolon-plist-card:hover {
    border-color: #BFC7D1;
}

.toolon-plist-card-img {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 14px 12px;
}

.toolon-plist-card-img img {
    max-width: 155px;
    max-height: 155px;
    object-fit: contain;
}

.toolon-plist-card-info {
    padding: 8px 10px 12px;
}

.toolon-plist-card-name {
    display: block;
    margin: 0 0 5px;
    color: var(--toolon-text);
    font-size: 15px;
    line-height: 1.32;
    font-weight: 900;
    letter-spacing: -0.55px;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 40px;
}

.toolon-plist-card-spec {
    min-height: 19px;
    margin: 0 0 7px;
    color: #475569;
    font-size: 13px;
    line-height: 1.42;
    letter-spacing: -0.35px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.toolon-plist-card-brand {
    display: block;
    margin-bottom: 7px;
    color: #28559A;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.toolon-plist-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.toolon-plist-card-price {
    color: var(--toolon-price);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.toolon-plist-card-cart {
    height: 28px;
    padding: 0 10px;
    border: 1px solid #D7DCE3;
    border-radius: 3px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    flex: 0 0 auto;
}

.toolon-plist-card-cart:hover {
    border-color: var(--toolon-point);
    color: var(--toolon-point);
}

/* ── 빈 결과 ────────────────────────────────────────────────── */
.toolon-plist-empty {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    color: #94A3B8;
    font-size: 15px;
}

/* ── 더보기 ─────────────────────────────────────────────────── */
.toolon-plist-more {
    margin: 26px 0 6px;
    text-align: center;
}

.toolon-plist-more button {
    min-width: 220px;
    height: 48px;
    border: 1px solid #D7DCE3;
    border-radius: 8px;
    background: #fff;
    color: var(--toolon-primary);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.toolon-plist-more button:hover {
    border-color: var(--toolon-point);
    color: var(--toolon-point);
}

/* ══════════════════════════════════════════════════════════════════
   반응형 — 4단계 (1024 / 768 / 640 / 390px)
   ══════════════════════════════════════════════════════════════════ */

/* ── 1024px 이하 (태블릿/모바일) ────────────────────────────── */
@media (max-width: 1024px) {
    .toolon-plist-breadcrumb,
    .toolon-plist-title,
    .toolon-plist-banner {
        display: none;
    }

    .toolon-plist-wrap {
        padding-top: 14px;
    }

    .toolon-plist-layout {
        display: block;
    }

    /* 검색결과(result.html) 등: 사이드바를 상단 2열로 노출 (기존 동작 유지) */
    .toolon-plist-side {
        display: block !important;
        width: 100%;
        margin: 0 0 14px;
        position: static;
        border: 0;
        background: transparent;
    }

    .toolon-plist-promo,
    .toolon-plist-cs {
        display: none !important;
    }

    .toolon-plist-filter {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 10px;
        border: 1px solid #D7DCE3;
        background: #fff;
    }

    .toolon-plist-filter h3 {
        grid-column: 1 / -1;
    }

    .toolon-plist-filter .toolon-plist-filter-parent {
        grid-column: 1 / -1;
        height: 40px;
    }

    .toolon-plist-filter a,
    .toolon-plist-brand label {
        height: 48px;
        font-size: 15px;
        border-bottom: 1px solid #EEF2F7;
    }

    .toolon-plist-filter a:nth-child(2n),
    .toolon-plist-brand label:nth-child(2n) {
        border-left: 1px solid #EEF2F7;
    }

    /* 카테고리상품목록(list.html, .toolon-plist-msheet): 칩+하단시트로 대체 → 사이드바 숨김 */
    .toolon-plist-msheet .toolon-plist-side {
        display: none !important;
    }

    /* 구버전 mobile-cat 잔존 시 숨김 */
    .toolon-plist-mobile-cat {
        display: none !important;
    }

    .toolon-plist-toolbar {
        height: 44px;
        margin: 0 0 14px;
        border: 0;
        border-top: 1px solid #EEF2F7;
        border-bottom: 1px solid #EEF2F7;
    }

    .toolon-plist-sort {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .toolon-plist-sort::-webkit-scrollbar {
        display: none;
    }

    .toolon-plist-sort a {
        min-width: 96px;
        font-size: 13px;
    }

    .toolon-plist-total {
        display: none;
    }

    .toolon-plist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .toolon-plist-card-img {
        height: 190px;
        padding: 16px;
    }

    .toolon-plist-card-img img {
        max-width: 170px;
        max-height: 170px;
    }

    .toolon-plist-card-info {
        padding: 10px 12px 12px;
    }

    .toolon-plist-card-name {
        font-size: 15px;
        min-height: 38px;
        margin-bottom: 4px;
    }

    .toolon-plist-card-spec {
        font-size: 13px;
        min-height: 18px;
        margin-bottom: 6px;
    }

    .toolon-plist-card-brand {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .toolon-plist-card-price {
        font-size: 16px;
    }

    .toolon-plist-card-cart {
        display: none;
    }

    .toolon-plist-group-head {
        font-size: 15px;
        margin-top: 4px;
    }

    .toolon-plist-subsearch {
        margin-bottom: 14px;
        padding: 12px 14px;
    }

    .toolon-plist-subsearch input {
        flex: 1 1 100%;
    }

    .toolon-plist-subsearch-btn {
        flex: 1 1 100%;
    }
}

/* ── 768px 이하 ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .toolon-plist-card-img {
        height: 178px;
        padding: 14px;
    }

    .toolon-plist-card-img img {
        max-width: 160px;
        max-height: 160px;
    }

    .toolon-plist-card-name {
        font-size: 15px;
    }

    .toolon-plist-card-spec {
        font-size: 13px;
    }
}

/* ── 640px 이하 (모바일 2열) ───────────────────────────────── */
@media (max-width: 640px) {
    .toolon-plist-grid {
        gap: 14px 10px;
    }

    .toolon-plist-card-img {
        height: 162px;
        padding: 12px;
    }

    .toolon-plist-card-img img {
        max-width: 145px;
        max-height: 145px;
    }

    .toolon-plist-card-info {
        padding: 0 12px 13px;
    }

    .toolon-plist-card-name {
        font-size: 14.5px;
        line-height: 1.35;
        min-height: 40px;
    }

    .toolon-plist-card-spec {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .toolon-plist-card-brand {
        font-size: 14px;
    }

    .toolon-plist-card-price {
        font-size: 15px;
    }

    .toolon-plist-sort a {
        min-width: 90px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   모바일/태블릿 필터 UI (카테고리 칩 + 필터 하단시트) — PC 기본 숨김
   ══════════════════════════════════════════════════════════════════ */
.toolon-plist-mchips,
.toolon-plist-mfilter,
.toolon-plist-sheet,
.toolon-plist-sheet-dim {
    display: none;
}

@media (max-width: 1024px) {
    /* 카테고리 칩 (가로 스크롤) */
    .toolon-plist-mchips {
        display: flex;
        gap: 8px;
        margin: 0 0 12px;
        padding-bottom: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .toolon-plist-mchips::-webkit-scrollbar { display: none; }
    .toolon-plist-mchips > a,
    .toolon-plist-mchips > button {
        flex: 0 0 auto;
        height: 38px;
        padding: 0 16px;
        display: inline-flex;
        align-items: center;
        border: 1px solid #D7DCE3;
        border-radius: 19px;
        background: #fff;
        color: #334155;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
    .toolon-plist-mchips > a.is-active {
        background: var(--toolon-point);
        border-color: var(--toolon-point);
        color: #fff;
    }
    .toolon-plist-mchip-more {
        font-weight: 800;
        color: var(--toolon-primary);
    }

    /* 툴바: 필터 버튼 + 정렬 (좌측 정렬, 정렬은 남은 폭) — list.html 전용 */
    .toolon-plist-msheet .toolon-plist-toolbar {
        justify-content: flex-start;
    }
    .toolon-plist-msheet .toolon-plist-toolbar .toolon-plist-sort {
        flex: 1 1 auto;
    }
    .toolon-plist-mfilter {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        height: 100%;
        padding: 0 16px;
        border: 0;
        border-right: 1px solid #EEF2F7;
        background: #fff;
        color: var(--toolon-primary);
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
    }
    .toolon-plist-mfilter svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: var(--toolon-primary);
        stroke-width: 1.8;
        stroke-linejoin: round;
    }

    /* 하단시트 dim */
    .toolon-plist-sheet-dim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(15, 23, 42, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s;
    }
    .toolon-plist-sheet-dim.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* 하단시트 */
    .toolon-plist-sheet {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1201;
        max-height: 82vh;
        background: #fff;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 28px rgba(15, 23, 42, .2);
        transform: translateY(100%);
        transition: transform .26s cubic-bezier(.4, 0, .2, 1);
    }
    .toolon-plist-sheet.is-open {
        transform: translateY(0);
    }
    .toolon-plist-sheet-handle {
        width: 44px;
        height: 5px;
        margin: 10px auto 4px;
        border-radius: 3px;
        background: #CBD5E1;
    }
    .toolon-plist-sheet-head {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 50px;
        font-size: 17px;
        font-weight: 800;
        color: var(--toolon-primary);
    }
    .toolon-plist-sheet-head button {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border: 0;
        background: transparent;
        font-size: 24px;
        color: var(--toolon-slate);
        cursor: pointer;
    }
    .toolon-plist-sheet-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 20px 10px;
    }
    .toolon-plist-sheet-sec {
        padding: 14px 0;
        border-top: 1px solid #F1F5F9;
    }
    .toolon-plist-sheet-sec:first-child {
        border-top: 0;
    }
    .toolon-plist-sheet-tit {
        margin-bottom: 12px;
        font-size: 15px;
        font-weight: 800;
        color: var(--toolon-primary);
    }
    .toolon-plist-sheet-radio,
    .toolon-plist-sheet-checks label,
    .toolon-plist-sheet-sorts label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: #334155;
        cursor: pointer;
    }
    .toolon-plist-sheet-radio {
        min-height: 44px;
    }
    .toolon-plist-sheet-radio input,
    .toolon-plist-sheet-checks input,
    .toolon-plist-sheet-sorts input {
        width: 19px;
        height: 19px;
        margin: 0;
        accent-color: var(--toolon-point);
        flex: 0 0 19px;
    }
    .toolon-plist-sheet-checks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 10px;
    }
    .toolon-plist-sheet-checks label {
        min-height: 40px;
        font-size: 14px;
    }
    .toolon-plist-sheet-brandcnt {
        margin-left: auto;
        font-style: normal;
        font-size: 12px;
        font-weight: 700;
        color: #94A3B8;
    }
    .toolon-plist-sheet-brandmsg {
        grid-column: 1 / -1;
        padding: 18px 0;
        text-align: center;
        color: #94A3B8;
        font-size: 14px;
    }
    .toolon-plist-sheet-sorts {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .toolon-plist-sheet-actions {
        flex: 0 0 auto;
        display: flex;
        gap: 10px;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #EEF2F7;
        background: #fff;
    }
    .toolon-plist-sheet-actions button {
        height: 52px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
    }
    .toolon-plist-sheet-reset {
        flex: 0 0 38%;
        border: 1px solid #D7DCE3;
        background: #fff;
        color: #334155;
    }
    .toolon-plist-sheet-apply {
        flex: 1 1 auto;
        border: 0;
        background: var(--toolon-point);
        color: #fff;
    }

    body.toolon-plist-sheet-on {
        overflow: hidden;
    }
}

/* ── 390px 이하 (소형 모바일) ──────────────────────────────── */
@media (max-width: 390px) {
    .toolon-plist-card-img {
        height: 146px;
    }

    .toolon-plist-card-img img {
        max-width: 132px;
        max-height: 132px;
    }

    .toolon-plist-filter a,
    .toolon-plist-brand label {
        height: 44px;
        font-size: 14px;
    }

    .toolon-plist-card-name {
        font-size: 14px;
    }

    .toolon-plist-card-spec {
        font-size: 12px;
    }

    .toolon-plist-card-brand {
        font-size: 13.5px;
    }

    .toolon-plist-card-price {
        font-size: 14.5px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   [P3-3] 카테고리/브랜드 정적 인라인 정리 (list·result 공용)
   — 기존 인라인 값 그대로 이전(시각 동일).
   ══════════════════════════════════════════════════════════════════ */
.toolon-plist-cat-all { color: inherit; font-weight: 900; }                  /* 전체보기 */
.toolon-plist-cat-txt { color: inherit; font-size: 14px; font-weight: 700; } /* 카테고리명 */
.toolon-plist-brand-row { display: inline-flex; align-items: center; gap: 8px; min-width: 0; } /* 브랜드 체크+텍스트 */

/* [cTeg-fix 2026-06-13] 그룹헤더에 상위 카테고리 전부 표시 → 길어지면 줄바꿈(모바일 넘침 방지) */
.toolon-plist-group-head { flex-wrap: wrap; row-gap: 2px; }
