/**
 * Kamphuis Assortiment Pagina Styling
 * Bestand: archive-product.css
 * Locatie: wp-content/themes/hello-elementor-child/
 */

/* ═══════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=DM+Sans:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════
   VERBERG STANDAARD WOOCOMMERCE
   ═══════════════════════════════════════════════════════════ */

.woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce nav.woocommerce-pagination,
ul.products.columns-3,
ul.products.columns-4 {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTIE
   ═══════════════════════════════════════════════════════════ */

.kamphuis-archive-hero {
    background: #0B0520;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.kamphuis-archive-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    margin: 0 0 1rem;
    color: white;
}

.kamphuis-archive-hero p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto;
    max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════
   FILTER BALK
   ═══════════════════════════════════════════════════════════ */

.kamphuis-filter-bar {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #F8F8F8;
    flex-wrap: wrap;
}

.kamphuis-filter-bar .filter-label {
    font-size: 14px;
    color: #666;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
}

.kamphuis-filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
}

.kamphuis-filter-dropdown {
    display: none;
    flex: 1;
}

.kamphuis-filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    cursor: pointer;
}

.kamphuis-filter-btn {
    padding: 8px 16px;
    background: white;
    color: #0B0520;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.kamphuis-filter-btn:hover {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.25);
}

.kamphuis-filter-btn.active {
    background: #0B0520;
    color: white;
    border-color: #0B0520;
}

.kamphuis-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.kamphuis-sort-wrapper span {
    font-size: 14px;
    color: #666;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
}

.kamphuis-sort-select {
    padding: 8px 12px;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════ */

.kamphuis-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.kamphuis-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT KAART
   ═══════════════════════════════════════════════════════════ */

.kamphuis-product-card {
    background: white;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.kamphuis-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.kamphuis-product-image {
    aspect-ratio: 1;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.kamphuis-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kamphuis-product-placeholder {
    width: 80px;
    height: 80px;
    background: #0B0520;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kamphuis-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0B0520;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.kamphuis-product-badge.badge-sale {
    background: #E24B4A;
}

.kamphuis-product-badge.badge-new {
    background: #0B0520;
}

.kamphuis-product-info {
    padding: 1.25rem;
}

.kamphuis-product-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: #0B0520;
    font-family: 'DM Sans', sans-serif;
}

.kamphuis-product-excerpt {
    font-size: 13px;
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

.kamphuis-product-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.kamphuis-product-price {
    font-size: 22px;
    font-weight: 500;
    color: #0B0520;
    font-family: 'DM Sans', sans-serif;
}

.kamphuis-product-price del {
    font-size: 16px;
    color: #999;
    margin-right: 8px;
}

.kamphuis-product-unit {
    font-size: 13px;
    color: #999;
    font-family: 'DM Sans', sans-serif;
}

.kamphuis-add-to-cart {
    width: 100%;
    padding: 12px;
    background: #0B0520;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.kamphuis-add-to-cart:hover {
    background: #1a0f3d;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */

.kamphuis-cta-banner {
    background: #0B0520;
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem auto 0;
    max-width: 1400px;
}

.kamphuis-cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 1rem;
    color: white;
}

.kamphuis-cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.5rem;
    font-family: 'DM Sans', sans-serif;
}

.kamphuis-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.kamphuis-cta-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.kamphuis-cta-btn.primary {
    background: white;
    color: #0B0520;
    border: none;
}

.kamphuis-cta-btn.primary:hover {
    background: #f5f5f5;
}

.kamphuis-cta-btn.secondary {
    background: transparent;
    color: white;
    border: 0.5px solid white;
}

.kamphuis-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE - TABLET
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .kamphuis-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .kamphuis-archive-hero h1 {
        font-size: 36px;
    }
    
    .kamphuis-cta-banner h2 {
        font-size: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE - MOBIEL
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .kamphuis-archive-hero {
        padding: 2.5rem 1.5rem;
    }
    
    .kamphuis-archive-hero h1 {
        font-size: 28px;
    }
    
    .kamphuis-archive-hero p {
        font-size: 15px;
    }
    
    .kamphuis-filter-bar {
        padding: 1rem 1rem;
        gap: 0.75rem;
    }
    
    .kamphuis-filter-bar .filter-label {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .kamphuis-filter-buttons {
        display: none;
    }
    
    .kamphuis-filter-dropdown {
        display: block;
        width: 100%;
    }
    
    .kamphuis-filter-select {
        font-size: 13px;
    }
    
    .kamphuis-sort-wrapper {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .kamphuis-sort-select {
        flex: 1;
        font-size: 13px;
    }
    
    .kamphuis-products-container {
        padding: 1.5rem 1rem;
    }
    
    .kamphuis-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .kamphuis-product-card {
        border-radius: 10px;
    }
    
    .kamphuis-product-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .kamphuis-product-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .kamphuis-product-info {
        padding: 0.75rem;
    }
    
    .kamphuis-product-title {
        font-size: 14px;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }
    
    .kamphuis-product-excerpt {
        font-size: 11px;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .kamphuis-product-price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .kamphuis-product-price {
        font-size: 16px;
    }
    
    .kamphuis-product-price del {
        font-size: 13px;
    }
    
    .kamphuis-product-unit {
        font-size: 11px;
    }
    
    .kamphuis-product-card > div:last-child {
        padding: 0 0.75rem 0.75rem !important;
    }
    
    .kamphuis-add-to-cart,
    .kamphuis-product-card .button {
        padding: 9px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }
    
    .kamphuis-cta-banner {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem 0;
        border-radius: 10px;
    }
    
    .kamphuis-cta-banner h2 {
        font-size: 22px;
    }
    
    .kamphuis-cta-banner p {
        font-size: 14px;
    }
    
    .kamphuis-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .kamphuis-cta-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

/* Extra kleine schermen */
@media (max-width: 400px) {
    .kamphuis-archive-hero h1 {
        font-size: 24px;
    }
    
    .kamphuis-filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .kamphuis-product-title {
        font-size: 13px;
    }
    
    .kamphuis-product-price {
        font-size: 15px;
    }
}