/*
 * @package BusinessSaleTheme
 * Extracted from: sections-categories.css
 */
/* ── Section ── */
.cat-section {
    position: relative;
    padding: 5rem 1.5rem;
    background: #050505;
    overflow: hidden;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Subtle ambient glow */
.cat-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.06), transparent 70%);
    pointer-events: none;
}

.cat-container {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.cat-header {
    text-align: center;
    margin-bottom: 3rem;
}
.cat-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #818cf8;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(129,140,248,0.06);
    border: 1px solid rgba(129,140,248,0.1);
    border-radius: 100px;
}
.cat-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.cat-title-accent {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cat-desc {
    margin: 0;
    font-size: 1rem;
    color: #a1a1aa;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── Grid ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

/* ── Card ── */
.cat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1rem 1rem 0.875rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(16px);
}

/* Staggered entrance */
.cat-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.cat-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.cat-card.visible:hover {
    transform: translateY(-2px);
    transition-delay: 0s;
}

/* Top accent line */
.cat-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}
.cat-card:hover .cat-accent-line {
    opacity: 0.6;
}

/* Icon container */
.cat-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    color: #52525b;
    transition: all 0.3s;
}
.cat-card:hover .cat-icon-wrap {
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border-color: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Fallback for browsers without color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
    .cat-card:hover .cat-icon-wrap {
        background: rgba(129,140,248,0.1);
        border-color: rgba(129,140,248,0.15);
        color: #818cf8;
        box-shadow: 0 0 16px rgba(129,140,248,0.1);
    }
}

/* Info */
.cat-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.cat-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}
.cat-card:hover .cat-name {
    color: #ffffff;
}
.cat-count {
    font-size: 0.75rem;
    color: #52525b;
    transition: color 0.2s;
}
.cat-card:hover .cat-count {
    color: #a1a1aa;
}

/* Arrow */
.cat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    border-radius: 50%;
    color: #3f3f46;
    transition: all 0.25s;
}
.cat-card:hover .cat-arrow {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    transform: translate(2px, -2px);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
    .cat-card:hover .cat-arrow {
        color: #818cf8;
        background: rgba(129,140,248,0.08);
    }
}

/* ── View More ── */
.cat-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.cat-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    color: #a1a1aa;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
}
.cat-more-btn:hover {
    border-color: rgba(129,140,248,0.2);
    color: #c7d2fe;
    background: rgba(129,140,248,0.05);
    transform: translateY(-1px);
}
.cat-more-btn svg {
    transition: transform 0.2s;
}
.cat-more-btn:hover svg {
    transform: translateX(3px);
}

/* ── Empty State ── */
.cat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    color: #3f3f46;
    font-size: 0.9375rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .cat-section {
        padding: 3.5rem 1rem;
    }
    .cat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .cat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
        padding: 1rem;
        border-radius: 12px;
    }
    .cat-arrow {
        display: none;
    }
    .cat-icon-wrap {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        border-radius: 8px;
    }
    .cat-icon-wrap svg {
        width: 20px;
        height: 20px;
    }
    .cat-name {
        font-size: 0.8125rem;
    }
    .cat-desc {
        font-size: 0.875rem;
    }
}

@media (max-width: 400px) {
    .cat-grid {
        grid-template-columns: 1fr;
    }
}

