/**
 * CLIPS & PAPER - CENTRALE STYLESHEET
 * 
 * Responsive layout met sidebar en content area
 */

/* ================================================================
   CSS VARIABELEN - XTREMEOFFICE BRANDING
   ================================================================ */
:root {
    /* XtremeOffice kleuren */
    --primary-color: #8B3A9C;        /* Paars */
    --primary-dark: #6B2A7C;         /* Donker paars */
    --primary-light: #C590D3;        /* Licht paars */
    --secondary-color: #9ACD32;      /* Groen */
    --secondary-dark: #7AB512;       /* Donker groen */
    --secondary-light: #B8E65C;      /* Licht groen */
    
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --danger-color: #F44336;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #e0e0e0;
    --background-color: #f5f5f5;
    --card-background: #fff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(139,58,156,0.25);
    --radius: 8px;
    --radius-small: 4px;
    
    --header-height: 180px;
    --sidebar-width: 280px;
    --footer-height: auto;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: var(--header-height);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* EERSTE RIJ: Logo (Stier) + Contact/Winkelwagen */
.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 5px 0;
    gap: 20px;
}

.header-top-left {
    justify-self: start;
}

.header-top-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-self: center;
}

.logo-image {
    height: 130px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.logo-image:hover {
    transform: scale(1.05);
}

/* TWEEDE RIJ: Zoekbalk VOLLE BREEDTE */
.header-bottom {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 5px 0 10px 0;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    flex-shrink: 0;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Search - VOLLE BREEDTE */
.search-container {
    width: 100%;
}

.search-form {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 100%;
}

.search-input {
    flex: 1;
    min-width: 0; /* Voorkom overflow */
    padding: 14px 18px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 15px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
}

.search-button {
    padding: 14px 20px;
    background: var(--secondary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-button:hover {
    background: var(--secondary-dark);
}

.search-icon {
    font-size: 18px;
    margin-right: 5px;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Header contact info */
.header-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: white;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-contact-icon {
    font-size: 16px;
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.header-contact a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Header actions (winkelwagen + account) */
.header-actions {
    display: flex;
    gap: 10px;
}

.header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: var(--radius-small);
    transition: all 0.2s;
    background: rgba(255,255,255,0.1);
}

.header-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
    text-decoration: none;
}

.header-icon {
    font-size: 28px;
    margin-bottom: 3px;
}

.header-link-text {
    font-size: 11px;
    font-weight: 500;
}

/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.main-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--card-background);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease;
    z-index: 900;
    /* Smooth scrolling */
    scroll-behavior: smooth;
}

/* Scrollbar styling voor sidebar */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px 10px;
}

.sidebar-header {
    padding: 20px 15px 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 850;
}

.sidebar-overlay.visible {
    display: block;
}

/* ================================================================
   SIDEBAR NAVIGATION
   ================================================================ */
.sidebar-nav {
    padding: 10px 0;
}

.nav-item {
    border-bottom: 1px solid var(--border-color);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
}

.nav-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-light);
    flex-shrink: 0;
    transition: all 0.2s;
}

.nav-toggle:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.nav-link {
    flex: 1;
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--background-color);
    padding: 2px 6px;
    border-radius: 10px;
}

/* Active state */
.nav-item.active > .nav-item-header {
    background: var(--primary-light);
}

.nav-item.active > .nav-item-header .nav-link {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Nested levels */
.nav-level-2 {
    background: #fafafa;
}

.nav-level-2 .nav-item-header {
    padding-left: 25px;
}

.nav-level-2 .nav-link {
    font-size: 13px;
}

.nav-level-3 {
    background: #f5f5f5;
}

.nav-level-3 .nav-item-header {
    padding-left: 40px;
}

.nav-level-3 .nav-link {
    font-size: 13px;
    color: var(--text-light);
}

.nav-level-4 {
    background: #f0f0f0;
}

.nav-level-4 .nav-item-header {
    padding-left: 55px;
}

.nav-level-4 .nav-link {
    font-size: 12px;
    color: var(--text-light);
}

/* ================================================================
   CONTENT AREA
   ================================================================ */
.content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 20px;
    min-height: calc(100vh - var(--header-height));
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), #1a1a2e);
    color: white;
    margin-left: var(--sidebar-width);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-brand {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 20px;
    border-radius: var(--radius);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-brand h4 {
    color: white;
    font-size: 18px;
    margin-top: 5px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ================================================================
   RESPONSIVE - TABLET
   ================================================================ */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }
}

/* ================================================================
   RESPONSIVE - MOBILE
   ================================================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    /* Header mobile */
    .menu-toggle {
        display: block;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .search-container {
        display: none; /* Of maak compact versie */
    }
    
    .header-link-text {
        display: none;
    }
    
    /* Sidebar mobile */
    .sidebar {
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
        top: 0;
        padding-top: 20px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: block;
    }
    
    /* Content mobile */
    .content {
        margin-left: 0;
    }
    
    /* Footer mobile */
    .footer {
        margin-left: 0;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================================================================
   HOMEPAGE STYLES
   ================================================================ */
.homepage {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
}

/* ================================================================
   XTREMEOFFER BANNER GRID
   ================================================================ */
.xtreme-offer-section {
    margin-bottom: 50px;
    background: linear-gradient(135deg, #f8f4fc, #ffffff);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(139, 58, 156, 0.15);
}

.xtreme-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.xtreme-offer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Banner als achtergrond */
.offer-banner {
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 1;
    margin-bottom: -100px; /* Trek de banner OVER de product card */
}

.offer-banner-bg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Product card onder banner - maar afbeelding eroverheen */
.offer-product-card {
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: var(--radius);
    padding: 20px;
    padding-top: 230px; /* Ruimte voor banner + afbeelding */
    width: 100%;
    max-width: 280px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(139, 58, 156, 0.1);
    position: relative;
    z-index: 2;
    min-height: 420px; /* Minimale hoogte voor alle content */
}

.offer-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 156, 0.2);
    text-decoration: none;
}

/* Productafbeelding OVER de banner */
.offer-product-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-small);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: absolute;
    top: 20px; /* Positie binnen de banner */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* BOVEN alles */
}

.offer-product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.offer-product-info {
    /* Content onder de afbeelding */
}

.offer-product-brand {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-product-name {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 15px;
    min-height: 36px;
    color: var(--text-color);
    font-weight: 500;
}

.offer-product-pricing {
    margin-bottom: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f4fc, #ffffff);
    border-radius: var(--radius-small);
}

.offer-price-main {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.offer-price-incl {
    font-size: 14px;
    color: var(--text-light);
}

.offer-product-stock {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-small);
}

.offer-product-stock.in-stock {
    color: var(--success-color);
    background: rgba(76, 175, 80, 0.1);
}

.offer-product-stock.out-of-stock {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
}

/* Product sections */
.product-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    font-size: 32px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-small);
    transition: all 0.3s;
}

.view-all-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--card-background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    text-decoration: none;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #fafafa;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-small);
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--success-color);
    font-weight: 600;
}

.product-stock.out-of-stock {
    color: var(--danger-color);
}

.product-sku {
    color: var(--text-muted);
}

.product-pricing {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.product-price-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-incl {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 3px;
}

/* Webwinkelkeur placeholder */
.webwinkelkeur-widget {
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    background: var(--card-background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.webwinkelkeur-placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* ================================================================
   CATEGORIEËN GRID (HOMEPAGE)
   ================================================================ */
.categories-section {
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--card-background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    text-decoration: none;
}

.category-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    overflow: hidden;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-info {
    padding: 15px;
    text-align: center;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Search highlighting */
mark {
    background-color: var(--secondary-color);
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-results h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--text-light);
    font-size: 16px;
}

/* ================================================================
   RESULTATEN STYLES
   ================================================================ */
.resultaten {
    max-width: 1400px;
    margin: 0 auto;
}

.results-header {
    background: var(--card-background);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.results-count {
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
}

.breadcrumb-item {
    color: var(--text-light);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* ================================================================
   PRODUCT DETAIL STYLES
   ================================================================ */
.product {
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail {
    background: var(--card-background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.variants-table thead {
    background: var(--primary-color);
    color: white;
}

.variants-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.variants-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.variants-table tbody tr:hover {
    background: var(--primary-light);
}

.variants-table td {
    padding: 12px;
    font-size: 14px;
}

/* Mobiele variant kaarten */
.variant-card {
    display: none;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.variant-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.variant-card-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fafafa;
    padding: 5px;
    border-radius: var(--radius-small);
}

.variant-card-info {
    flex: 1;
}

.variant-card-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.variant-card-sku {
    font-size: 12px;
    color: var(--text-muted);
}

.variant-card-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.variant-card-detail {
    font-size: 13px;
}

.variant-card-label {
    color: var(--text-muted);
    font-size: 11px;
    display: block;
}

.variant-card-value {
    font-weight: 600;
    color: var(--text-color);
}

.variant-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ================================================================
   RESPONSIVE - TABLET
   ================================================================ */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }
    
    .product-grid,
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
}

/* ================================================================
   RESPONSIVE - MOBILE
   ================================================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 140px;
    }
    
    /* Header mobile - vereenvoudigd */
    .header-inner {
        padding: 8px 15px;
        gap: 8px;
    }
    
    .header-top {
        padding: 0;
    }
    
    .logo-image {
        height: 70px;
    }
    
    .header-bottom {
        gap: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .search-container {
        flex: 1;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 10px 12px;
    }
    
    .search-icon {
        margin-right: 0;
    }
    
    /* Verberg tekst op kleine schermen */
    .search-button {
        font-size: 0;
    }
    
    .search-button .search-icon {
        font-size: 18px;
    }
    
    .header-contact {
        display: none;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .header-link {
        padding: 6px 8px;
    }
    
    .header-link-text {
        display: none;
    }
    
    .header-icon {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    /* XtremeOffer mobile */
    .xtreme-offer-section {
        padding: 20px 15px;
    }
    
    .xtreme-offer-grid {
        grid-template-columns: 1fr;
        gap: 60px; /* Meer ruimte tussen items op mobiel */
    }
    
    .offer-banner {
        max-width: 280px;
        margin-bottom: -80px; /* Minder overlap op mobiel */
    }
    
    .offer-product-card {
        max-width: 100%;
        padding-top: 200px; /* Aangepast voor mobiel */
        min-height: 380px;
    }
    
    .offer-product-image {
        width: 160px;
        height: 160px;
        top: 15px;
    }
    
    .offer-product-brand {
        font-size: 12px;
    }
    
    .offer-product-name {
        font-size: 13px;
    }
    
    /* Product grids mobile */
    .product-grid,
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    /* Categories grid mobile */
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .category-count {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-card {
        font-size: 13px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-description {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    /* Variants tabel -> kaarten op mobiel */
    .variants-table {
        display: none;
    }
    
    .variant-card {
        display: block;
    }
    
    /* Sidebar mobile */
    .sidebar {
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
        top: 0;
        padding-top: 20px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: block;
    }
    
    /* Content mobile */
    .content {
        margin-left: 0;
        padding: 15px;
    }
    
    /* Footer mobile */
    .footer {
        margin-left: 0;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-detail {
        padding: 20px 15px;
    }
}
