/**
 * Favourite Niches Module - Professional & Classy Design
 * Card-based layout with colored accents
 */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========================================
   FAVOURITE NICHES SECTION
   ======================================== */

.ac-spp-fvrt-niches {
    padding: 32px 0;
    font-family: 'Poppins', sans-serif;
}

/* Section Title */
.ac-spp-fvrt-niches-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

/* Section Subtitle */
.ac-spp-fvrt-niches-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

/* Niches Container - Grid Layout */
.ac-spp-niches-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Niche Card - Professional Design */
.ac-spp-niche-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left-width: 4px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ac-spp-niche-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: currentColor;
}

/* Niche Icon - Colored Circle */
.ac-spp-niche-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.ac-spp-niche-card:hover .ac-spp-niche-icon {
    transform: rotate(15deg) scale(1.1);
}

.ac-spp-niche-icon svg {
    display: block;
}

/* Niche Name */
.ac-spp-niche-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   TABLET RESPONSIVE (1024px and below)
   ======================================== */

@media (max-width: 1024px) {
    .ac-spp-fvrt-niches {
        padding: 28px 0;
    }

    .ac-spp-fvrt-niches-title {
        font-size: 22px;
    }

    .ac-spp-fvrt-niches-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .ac-spp-niches-container {
        gap: 14px;
    }

    .ac-spp-niche-card {
        padding: 16px 18px;
    }

    .ac-spp-niche-icon {
        width: 38px;
        height: 38px;
    }

    .ac-spp-niche-icon svg {
        width: 18px;
        height: 18px;
    }

    .ac-spp-niche-name {
        font-size: 15px;
    }
}

/* ========================================
   MOBILE RESPONSIVE (768px and below)
   ======================================== */

@media (max-width: 768px) {
    .ac-spp-fvrt-niches {
        padding: 24px 0;
    }

    .ac-spp-fvrt-niches-title {
        font-size: 20px;
        text-align: center;
    }

    .ac-spp-fvrt-niches-subtitle {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Keep 2 columns on mobile for better space usage */
    .ac-spp-niches-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ac-spp-niche-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .ac-spp-niche-icon {
        width: 36px;
        height: 36px;
    }

    .ac-spp-niche-icon svg {
        width: 16px;
        height: 16px;
    }

    .ac-spp-niche-name {
        font-size: 14px;
    }
}

/* ========================================
   SMALL MOBILE (480px and below)
   ======================================== */

@media (max-width: 480px) {
    .ac-spp-fvrt-niches {
        padding: 20px 0;
    }

    .ac-spp-fvrt-niches-title {
        font-size: 18px;
    }

    .ac-spp-fvrt-niches-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Stack to single column on very small screens */
    .ac-spp-niches-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ac-spp-niche-card {
        padding: 12px 14px;
    }

    .ac-spp-niche-icon {
        width: 34px;
        height: 34px;
    }

    .ac-spp-niche-name {
        font-size: 13px;
    }
}
