/* ================================================================
   XTREMEOFFICE - TONER & INKT SELECTOR CSS
   ================================================================ */

.supply-selector {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================================================
   HERO SECTIE
   ================================================================ */
.supply-hero {
    background: linear-gradient(135deg, #8B3A9C 0%, #6B2A7C 60%, #4B1A5C 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    overflow: hidden;
}

.supply-hero-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.supply-hero-text {
    flex: 1;
}

.supply-hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.supply-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.supply-hero-dex {
    flex-shrink: 0;
}

.supply-dex-img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* ================================================================
   OEM ZOEKBALK
   ================================================================ */
.supply-oem-search {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.supply-oem-search label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text);
}

.supply-oem-row {
    display: flex;
    gap: 10px;
}

.supply-oem-row input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.supply-oem-row input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

/* ================================================================
   STAPPEN
   ================================================================ */
.supply-step {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.supply-step h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.supply-step-nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ================================================================
   MERKEN GRID
   ================================================================ */
.supply-merken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.supply-merk-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    text-align: center;
}

.supply-merk-tile:hover {
    border-color: var(--primary);
    background: #f9f0fc;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 58, 156, 0.15);
}

.supply-merk-active {
    border-color: var(--primary);
    background: #f0e6f6;
    box-shadow: 0 0 0 3px rgba(139, 58, 156, 0.2);
}

.supply-merk-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.supply-merk-count {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Merken zonder gekoppelde printermodellen */
.supply-merk-nomodels {
    opacity: 0.7;
}

.supply-merk-nomodels:hover {
    opacity: 1;
}

.supply-no-models-hint {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.supply-no-models-hint p {
    margin-bottom: 10px;
}

/* ================================================================
   MODEL GRID
   ================================================================ */
.supply-model-filter {
    margin-bottom: 16px;
}

.supply-model-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.supply-model-search:focus {
    outline: none;
    border-color: var(--primary);
}

.supply-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.supply-model-tile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.15s;
    font-size: 0.9rem;
}

.supply-model-tile:hover {
    border-color: var(--primary);
    background: #f9f0fc;
    text-decoration: none;
}

.supply-model-active {
    border-color: var(--primary);
    background: #f0e6f6;
    font-weight: 600;
}

.supply-model-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.supply-model-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supply-model-count {
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
}

.supply-model-hint {
    text-align: center;
    color: var(--text-light);
    margin-top: 12px;
    font-size: 0.9rem;
}

/* ================================================================
   TYPE FILTER TABS
   ================================================================ */
.supply-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.supply-tab {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    transition: all 0.15s;
}

.supply-tab:hover {
    border-color: var(--primary);
    text-decoration: none;
}

.supply-tab-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ================================================================
   KLEUR GROEPEN
   ================================================================ */
.supply-color-group {
    margin-bottom: 24px;
}

.supply-color-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.supply-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.supply-dot-zwart { background: #222; }
.supply-dot-cyaan { background: #00bcd4; }
.supply-dot-magenta { background: #e91e63; }
.supply-dot-geel { background: #ffc107; }
.supply-dot-multipack { background: linear-gradient(135deg, #00bcd4, #e91e63, #ffc107, #222); }
.supply-dot-default { background: #999; }
.supply-dot-foto\ zwart { background: #555; }
.supply-dot-licht\ cyaan { background: #80deea; }
.supply-dot-licht\ magenta { background: #f48fb1; }

.supply-type-label {
    font-size: 0.8rem;
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-light);
}

/* ================================================================
   SUPPLY CARDS
   ================================================================ */
.supply-grid,
.supply-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.supply-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    position: relative;
}

.supply-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.supply-card-origineel {
    border-color: #c8e6c9;
    background: #f1f8f1;
}

.supply-card-compatible {
    border-color: #bbdefb;
    background: #f5f9ff;
}

.supply-card-badge {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.supply-hc-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 4px;
}

.supply-card-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
    background: white;
    border-radius: 8px;
}

.supply-card-info {
    flex: 1;
    margin-bottom: 12px;
}

.supply-card-info h3,
.supply-card-info h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.supply-card-info h3 a,
.supply-card-info h4 a {
    color: var(--text);
}

.supply-card-info h3 a:hover,
.supply-card-info h4 a:hover {
    color: var(--primary);
}

.supply-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.supply-card-meta span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.supply-card-merk {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.supply-yield {
    font-size: 0.8rem;
    color: var(--text-light);
}

.supply-oem-nr {
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
    margin-top: 4px;
}

.supply-printers-mini {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.3;
}

/* ================================================================
   PRIJS & VOORRAAD
   ================================================================ */
.supply-card-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.supply-price-incl {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.supply-price-excl {
    font-size: 0.8rem;
    color: var(--text-light);
}

.supply-price-request {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.supply-stock {
    font-size: 0.8rem;
}

.supply-stock.in-stock {
    color: #2e7d32;
}

.supply-stock.no-stock {
    color: #ef6c00;
}

/* Levertijd tekst */
.supply-delivery {
    font-size: 0.75rem;
    color: #2e7d32;
    line-height: 1.3;
}

.supply-delivery-wait {
    color: #ef6c00;
}

/* ================================================================
   BESTELKNOP
   ================================================================ */
.supply-btn-cart {
    width: 100%;
    padding: 10px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.supply-btn-cart:hover {
    background: var(--secondary-dark);
}

/* Bekijk product link (als prijs ontbreekt) */
.supply-btn-bekijk {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.supply-btn-bekijk:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: white;
}

/* ================================================================
   NO RESULTS / SAD DEX
   ================================================================ */
.supply-broad-hint {
    font-style: italic;
    opacity: 0.7;
}

.supply-no-results {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
}

.supply-sad-dex {
    width: 120px;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* ================================================================
   SEO BLOK ONDERAAN
   ================================================================ */
.supply-seo-block {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.supply-seo-block h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.supply-seo-block p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.supply-seo-merken {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.supply-seo-merken a {
    padding: 6px 12px;
    background: var(--bg);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s;
}

.supply-seo-merken a:hover {
    background: #f0e6f6;
    color: var(--primary);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ================================================================
   HOMEPAGE TONER BANNER
   ================================================================ */
.supply-banner {
    margin-bottom: 24px;
}

.supply-banner-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #8B3A9C 0%, #6B2A7C 60%, #4B1A5C 100%);
    border-radius: 12px;
    padding: 24px 32px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.supply-banner-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 58, 156, 0.3);
    text-decoration: none;
}

.supply-banner-text {
    flex: 1;
}

.supply-banner-text h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: white;
}

.supply-banner-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.supply-banner-cta {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.supply-banner-inner:hover .supply-banner-cta {
    background: var(--secondary-dark);
}

/* Compacte banner variant (homepage) */
.supply-banner-compact .supply-banner-inner {
    padding: 12px 24px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.supply-banner-compact .supply-banner-text {
    flex: 1;
}

.supply-banner-compact .supply-banner-text h2 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.supply-banner-compact .supply-banner-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.supply-banner-compact .supply-banner-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.supply-banner-dex img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .supply-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .supply-hero h1 {
        font-size: 1.5rem;
    }
    
    .supply-dex-img {
        width: 120px;
    }
    
    .supply-oem-row {
        flex-direction: column;
    }
    
    .supply-merken-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .supply-model-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .supply-grid,
    .supply-compare-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .supply-card-img {
        height: 100px;
    }
}
