:root {
    --pc-border-soft: #2a2f36;
    --pc-text-weak: #cfd5dc;
    --pc-text-mute: #9aa3ad;
}

/* Layout base */
.pc-cat .container {
    max-width: 1200px;
}

/* Breadcrumb */
.pc-breadcrumb {
    margin: 18px 0 6px;
}

.pc-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-breadcrumb li {
    color: #bbb;
    font-size: 13px;
}

.pc-breadcrumb a {
    color: #ff9c00;
    text-decoration: none;
}

.pc-breadcrumb li+li::before {
    content: "›";
    margin: 0 6px;
    color: #666;
}

/* Header categoria */
.pc-cat-head {
    margin: 6px 0 16px;
    padding: 8px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--pc-border-soft);
}

.pc-cat-head h1 {
    font-size: 24px;
    margin: 0;
}

.pc-cat-subtitle {
    margin: 4px 0 0;
    color: var(--pc-text-mute);
}

/* NASCONDI FILTRO (toolbox) */
.pc-cat-tools,
.pc-cat-tools select {
    display: none !important;
}

/* Skeleton (usato dentro le col bootstrap) */
.pc-skel-card {
    border-radius: 10px;
    height: 240px;
    background: linear-gradient(90deg, #22252a 25%, #2b3036 37%, #22252a 63%);
    background-size: 400% 100%;
    animation: skel 1.2s ease-in-out infinite;
    border: 1px solid var(--pc-border-soft);
}

@keyframes skel {
    0% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

#cat-results.loading .pc-skel-card {
    opacity: .4;
}

/* Stati */
.pc-cat-empty,
.pc-cat-error {
    text-align: center;
    margin: 26px 0;
    color: #bbb;
}

.pc-cat-error h3 {
    color: #ff7676;
}

/* Paginazione */
.pc-cat-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.pc-btn {
    background: #1a1d22;
    border: 1px solid var(--pc-border-soft);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.pc-btn:hover {
    background: #ff9c00;
    color: #111;
    border-color: #ff9c00;
}

.pc-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.pc-page-info {
    color: var(--pc-text-mute);
}

/* Evidenzia sottocategoria corrente nel mega menu */
#parts-menu a.current {
    background: #ff9c00;
    color: #111 !important;
    border-radius: 4px;
}