.catalog-page {
    padding-top: 96px;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(244, 184, 96, 0.4), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.92));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.catalog-hero-logo {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.catalog-section-title {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-rail-shell {
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.category-rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.category-rail::-webkit-scrollbar {
    height: 8px;
}

.category-rail::-webkit-scrollbar-thumb {
    background: rgba(31, 111, 95, 0.28);
    border-radius: 999px;
}

.category-pill {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 0.95rem 1.1rem;
    border-radius: 1.1rem;
    text-decoration: none;
    color: var(--tenant-text);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 248, 0.95));
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.category-pill:hover,
.category-pill.active {
    transform: translateY(-2px);
    border-color: rgba(31, 111, 95, 0.4);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.catalog-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(15, 23, 42, 0.16);
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .catalog-hero-logo {
        width: 72px;
        height: 72px;
    }

    .category-pill {
        min-width: 150px;
    }
}
