/* Werner Forster - Catalog Styles */

/* Catalog Header */
.wf-cat-hdr {
    background: linear-gradient(135deg, var(--primary) 0%, #a84a2e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.wf-cat-hdr h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.wf-cat-hdr p {
    font-size: 18px;
    opacity: 0.9;
}

/* Catalog Layout */
.wf-catalog {
    padding: 60px 0;
}

.wf-cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Sidebar */
.wf-cat-sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.wf-filter-sec {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.wf-filter-sec h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.wf-filter-list {
    list-style: none;
}

.wf-filter-list li {
    margin-bottom: 10px;
}

.wf-filter-list a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s;
}

.wf-filter-list a:hover,
.wf-filter-list a.active {
    color: var(--primary);
}

.wf-filter-list a.active {
    font-weight: 600;
}

/* Main Content */
.wf-cat-main {
    min-height: 500px;
}

.wf-cat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.wf-cat-toolbar span {
    color: var(--text-light);
    font-size: 14px;
}

/* Product Card Enhancements */
.wf-p-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wf-p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.wf-p-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.wf-p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.wf-p-card:hover .wf-p-img img {
    transform: scale(1.05);
}

.wf-p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.wf-p-info {
    padding: 20px;
}

.wf-p-cat {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.wf-p-tit {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.wf-p-tit a {
    color: var(--text);
}

.wf-p-tit a:hover {
    color: var(--primary);
}

.wf-p-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.wf-p-price del {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 8px;
    font-weight: 400;
}

/* Empty State */
.wf-empty {
    text-align: center;
    padding: 80px 20px;
}

.wf-empty p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .wf-cat-layout {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .wf-cat-hdr {
        padding: 60px 0;
    }
    
    .wf-cat-hdr h1 {
        font-size: 32px;
    }
    
    .wf-cat-layout {
        grid-template-columns: 1fr;
    }
    
    .wf-cat-sidebar {
        position: static;
        order: 1;
    }
    
    .wf-filter-sec {
        padding: 16px;
    }
    
    .wf-filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .wf-filter-list li {
        margin: 0;
    }
    
    .wf-filter-list a {
        padding: 8px 16px;
        background: var(--background);
        border-radius: 20px;
    }
    
    .wf-cat-main {
        order: 0;
    }
}

@media (max-width: 480px) {
    .wf-cat-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}
