/* Main Stylesheet 
   NOTE: Imports removed to fix cache busting. 
   Files are now enqueued individually in inc/ThemeSetup.php 
*/

/* 1. Base & Layout -> Enqueued separately as 'pp-base', 'pp-header' */

/* 2. Components -> Enqueued separately as 'pp-cards', 'pp-breadcrumbs' */

/* 3. Page Specific Styles -> Enqueued conditionally in ThemeSetup.php */

/* Utility - No Results Box */
.pp-no-results-box {
    text-align: center;
    padding: 60px 0;
}

/* --- Browse Categories (Global) --- */
.section-categories { 
    padding: 80px 0; 
    background: var(--bg-surface); 
    transition: background 0.3s ease;
}

.section-header-center { text-align: center; margin-bottom: 50px; }
.section-header-center h2 { 
    font-size: 2rem; 
    color: var(--text-main); 
    margin: 0 0 10px; 
    letter-spacing: -0.02em; 
}
.section-header-center .section-subtitle { color: var(--text-muted); }

.category-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 24px; 
}

.category-card { 
    display: flex; align-items: center; 
    background: var(--bg-subtle); 
    padding: 24px; 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    transition: all 0.3s ease; 
    position: relative;
    overflow: hidden;
}

.category-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--primary); 
    background: var(--bg-body);
    box-shadow: 0 10px 30px -10px var(--shadow-color);
}

.category-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, var(--primary) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
    mix-blend-mode: overlay;
}
.category-card:hover::after { opacity: 0.1; }

.cat-icon { 
    width: 50px; height: 50px; 
    background: var(--bg-surface); 
    color: var(--primary); 
    border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; 
    font-weight: 800; font-size: 1.4rem; margin-right: 18px; 
    border: 1px solid var(--border-color);
}

.cat-info h3 { margin: 0; font-size: 1.05rem; color: var(--text-main); font-weight: 600; }
.cat-info span { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 2px; }

.section-actions {
    margin-top: 36px;
    text-align: center;
}

/* Mobile Category Grid */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .cat-icon {
        margin-right: 0;
        margin-bottom: 10px;
        width: 40px; height: 40px;
        font-size: 1.2rem;
    }
    .cat-info h3 { 
        font-size: 0.95rem; 
        margin-bottom: 4px;
    }
    .cat-info span { 
        font-size: 0.75rem; 
    }
}

/* Buttons */
.pp-btn-glassy-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pp-btn-glassy-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}
