/* ── Category page overrides ────────────────────────────────────────── */

/* Hero: darken overlay so text is legible over any category image */
.category-hero .edp-hero-bg {
    object-fit: cover;
    width: 100%;
    object-position: center 20%;
}

.category-hero .edp-hero-layout,
.category-hero .edp-hero-left,
.category-hero .edp-hero-title-block {
    position: relative;
    z-index: 2;
}

.category-hero .edp-hero-title-block {
    max-width: min(640px, 92%);
}

.category-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    pointer-events: none;
}

.category-hero-placeholder {
    background: #1a1a1a;
}

/* Empty state */
.empty-catalog {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #888;
}

.empty-catalog p {
    font-size: 16px;
    margin-bottom: 16px;
}

.empty-catalog .btn-link {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, border-color 0.2s;
}

.empty-catalog .btn-link:hover {
    color: #fff;
    border-color: #fff;
}

/* ── Category hero: subtitle & description inside the banner overlay ── */

.category-subtitle {
    margin: 8px 0 0;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    max-width: 520px;
}

.category-description {
    margin-top: 14px;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 480px;
}

.category-hero .category-subtitle,
.category-hero .category-description {
    display: block;
}

.category-description p {
    margin: 0 0 8px;
}

.category-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .category-subtitle {
        font-size: 14px;
        max-width: 100%;
    }
    .category-description {
        font-size: 13px;
        max-width: 100%;
        margin-top: 10px;
    }
}
