/* =================================================================== */
/* --- 1. Stylesheet für die Haupt-Shop-Seite (archive-product.php) --- */
/* =================================================================== */

/* Hero-Sektion */
.shop-hero {
    background-color: var(--hauptfarbe-1);
    color: var(--weiss);
    padding: 4rem 0;
    text-align: center;
}

.shop-hero h1 {
    color: var(--weiss);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.shop-hero .subline {
    color: var(--hauptfarbe-5);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter-Leiste */
.shop-filter-bar {
    background-color: var(--hintergrundfarbe-1);
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

.shop-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.shop-filter-btn {
    background-color: var(--weiss);
    border: 1px solid #ccc;
    color: var(--hauptfarbe-3);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.shop-filter-btn:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

.shop-filter-btn.active {
    background-color: var(--akzentfarbe);
    border-color: var(--akzentfarbe);
    color: var(--weiss);
}

/* Produkt-Grid */
.shop-grid-section {
    padding: 4rem 0;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Produkt-Karte */
.shop-product-item {
    background: var(--weiss);
    border: 1px solid var(--hintergrundfarbe-5);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Bild */
.shop-product-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    height: auto;
}

.shop-product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--hauptfarbe-1);
    margin-bottom: 0.5rem;
}

.shop-product-excerpt {
    font-size: 0.9rem;
    color: var(--hauptfarbe-3);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.shop-product-link {
    color: var(--akzentfarbe);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.shop-product-link:hover {
    text-decoration: underline;
}

.shop-no-results {
    text-align: center;
    padding: 3rem;
    background-color: var(--hintergrundfarbe-1);
    border: 1px dashed #ccc;
}

/* =================================================================== */
/* --- RESPONSIVE - KLEINER DESKTOP (max-width: 1200px) --- */
/* =================================================================== */
@media (max-width: 1200px) {
    .shop-product-grid {
        gap: 1.5rem;
    }

    .shop-product-image {
        height: 280px;
    }

    .shop-hero h1 {
        font-size: 2.5rem;
    }
}

/* =================================================================== */
/* --- RESPONSIVE - GROSSE TABLETS (max-width: 992px) --- */
/* =================================================================== */
@media (max-width: 992px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .shop-product-image {
        height: 260px;
    }

    .shop-hero {
        padding: 3rem 0;
    }

    .shop-hero h1 {
        font-size: 2.2rem;
    }

    .shop-filter-buttons {
        gap: 0.5rem;
    }

    .shop-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* =================================================================== */
/* --- RESPONSIVE - NORMALE TABLETS (max-width: 768px) --- */
/* =================================================================== */
@media (max-width: 768px) {
    .shop-hero {
        padding: 2.5rem 0;
    }

    .shop-hero h1 {
        font-size: 2rem;
    }

    .shop-hero .subline {
        font-size: 1.1rem;
    }

    .shop-grid-section {
        padding: 3rem 0;
    }

    .shop-product-grid {
        gap: 1.25rem;
    }

    .shop-product-image {
        height: 240px;
    }

    .shop-product-content {
        padding: 1.25rem;
    }

    .shop-product-title {
        font-size: 1.1rem;
    }

    .shop-filter-bar {
        padding: 1rem 0;
    }
}

/* =================================================================== */
/* --- RESPONSIVE - GROSSE SMARTPHONES (max-width: 576px) --- */
/* =================================================================== */
@media (max-width: 576px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shop-product-image {
        height: 250px;
    }

    .shop-hero {
        padding: 2rem 0;
    }

    .shop-hero h1 {
        font-size: 1.8rem;
    }

    .shop-hero .subline {
        font-size: 1rem;
    }

    .shop-filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filter-btn {
        width: 100%;
        text-align: center;
    }

    .shop-product-content {
        padding: 1.25rem;
    }

    .shop-no-results {
        padding: 2rem;
    }
}

/* =================================================================== */
/* --- RESPONSIVE - KLEINE SMARTPHONES (max-width: 480px) --- */
/* =================================================================== */
@media (max-width: 480px) {
    .shop-hero {
        padding: 1.5rem 0;
    }

    .shop-hero h1 {
        font-size: 1.6rem;
    }

    .shop-hero .subline {
        font-size: 0.95rem;
    }

    .shop-grid-section {
        padding: 2rem 0;
    }

    .shop-product-image {
        height: 220px;
    }

    .shop-product-content {
        padding: 1rem;
    }

    .shop-product-title {
        font-size: 1rem;
    }

    .shop-product-excerpt {
        font-size: 0.85rem;
    }

    .shop-filter-bar {
        padding: 0.75rem 0;
    }

    .shop-filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}