:root {
  --background: #070707;
  --surface: #111111;
  --surface-light: #1b1b1b;
  --primary: #ffcc00;
  --primary-hover: #ffdb4d;
  --secondary: #e10600;
  --secondary-hover: #ff2b24;
  --text: #ffffff;
  --text-muted: #bdbdbd;
  --border: #2a2a2a;
  --success: #22c55e;
  --warning: #f59e0b;
  --gradient-main: linear-gradient(135deg, #ffcc00 0%, #ff8a00 100%);
  --gradient-dark: linear-gradient(135deg, #111111 0%, #1f1f1f 100%);
  --shadow-primary: 0 0 25px rgba(255, 204, 0, 0.35);
  --shadow-red: 0 0 25px rgba(225, 6, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
    overflow-x: hidden;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding-bottom: 90px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a { color: inherit; text-decoration: none; }

.container {
    padding: 0 15px; /* Iets minder padding op mobiel voor meer ruimte voor producten */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1025px) {
    .container {
        padding: 0 40px;
    }
}

.header {
    border-bottom: 2px solid var(--primary);
    background-color: rgba(7, 7, 7, 0.7); /* Meer doorzichtig */
    backdrop-filter: blur(12px); /* Iets meer blur voor de leesbaarheid */
    -webkit-backdrop-filter: blur(12px); 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.home-page .header,
.cart-page .header,
.checkout-page .header {
    position: relative;
    background-color: rgba(7, 7, 7, 1);
}

.home-page .category-wrapper {
    top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 0 !important;
}

@media (min-width: 1025px) {
    .home-page .category-wrapper {
        padding-left: 40px !important;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: max(15px, env(safe-area-inset-top));
    padding-bottom: 15px;
}

/* Standaard main voor shop en andere pagina's */
main {
    padding-top: 80px;
}

/* Geforceerde ruimte voor specifieke auth-pagina's */
.auth-page main,
.profile-page,
.register-page {
    padding-top: 110px !important;
}

@media (min-width: 1025px) {
    main {
        padding-top: 110px;
    }
    .auth-page main,
    .profile-page,
    .register-page {
        padding-top: 150px !important;
    }
}

.cart-icon.bump {
    animation: cartBump 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

@keyframes cartBump {
    0% { transform: scale(1); }
    30% { transform: scale(1.4) rotate(-15deg); }
    60% { transform: scale(1.4) rotate(15deg); }
    100% { transform: scale(1) rotate(0); }
}

.logo img {
    height: 65px;
    filter: drop-shadow(var(--shadow-primary));
}

/* --- Desktop Nav Dropdown --- */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 65px;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Onzichtbare brug om de gap tussen menu en dropdown te overbruggen */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface);
    min-width: 220px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.8);
    z-index: 1;
    border-radius: 12px;
    border: 1px solid var(--border);
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.dropdown-content a i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.dropdown-content a:first-child { border-radius: 12px 12px 0 0; }
.dropdown-content a:last-child { border-radius: 0 0 12px 12px; }

.dropdown-content a:hover {
    background-color: var(--surface-light);
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.nav-dropdown:hover .dropbtn {
    color: var(--primary);
}

/* --- Mobile Menu Styles --- */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--surface);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.mobile-side-menu.active {
    left: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    padding: 20px;
    background: var(--surface-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
}

.menu-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.menu-section {
    margin-bottom: 30px;
}

.section-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.menu-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.menu-link:hover {
    background: var(--surface-light);
    color: var(--primary);
}

@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    .header-mobile-left {
        display: flex !important;
        justify-content: flex-start;
        min-width: 80px;
        padding-left: 15px; /* Nog iets meer naar rechts verplaatst */
    }

    .logo {
        display: flex;
        justify-content: center;
        flex: 0 0 auto;
    }

    .header-actions {
        display: flex !important;
        justify-content: flex-end;
        gap: 15px;
        min-width: 80px;
        padding-right: 15px;
    }

    .desktop-cart-only {
        display: none !important;
    }

    .admin-orders-shortcut {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .header-account-icon {
        display: none !important;
    }
}
/* --- End Mobile Menu Styles --- */

@media (min-width: 1025px) {
    .logo img { height: 75px; }
    .header-container { padding-left: 40px; padding-right: 40px; }
}

.desktop-nav { display: none; }

@media (min-width: 1025px) {
    .desktop-nav {
        display: flex;
        gap: 65px;
        font-weight: bold;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    .desktop-nav a:hover { color: var(--primary); }
}

.hero-full {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.85)), url('../img/nieuwe hero pc.png');
    background-size: cover;
    background-position: center 35%; /* Iets meer omhoog voor betere bus-focus op desktop */
    padding: 120px 20px 60px 20px;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Zorg dat er geen margin is */
}

@media (max-width: 768px) {
    .hero-full {
        background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.85)), url('../img/hero mobiel new.png');
        height: 100vh;
        background-position: center center;
        background-size: cover;
        padding: 100px 15px 40px 15px;
    }
}
    
    .hero-full h1 span:nth-child(2) {
    }
    
    .hero-full h1 span:nth-child(3) {
    }
    
    .hero-full p {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .hero-full .btn-primary {
        width: 100% !important;
        max-width: 280px;
    }
}

@media (min-width: 1025px) {
    .hero-full {
        height: calc(100vh - 95px);
    }
}

.sticky-filter-bar {
    position: relative;
    z-index: 990; 
    background: transparent;
    padding: 15px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

@media (max-width: 1024px) {
    .sticky-filter-bar {
        padding: 15px 0px 10px 0px;
    }
}

/* --- Nieuwe Categorie Scroll Nav --- */
.category-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 110px; /* Precies onder de desktop header */
    z-index: 999;
    background: var(--background);
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-top: 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 1024px) {
    .category-wrapper {
        top: calc(65px + max(15px, env(safe-area-inset-top))); /* Dynamisch onder mobiele header */
        padding: 10px 15px;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
}

.category-scroll-nav {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 5px 15px 5px 15px;
    flex: 1;
    scroll-snap-type: x mandatory;
    min-width: 0;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

.category-scroll-nav::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    scroll-snap-align: center;
}
}

.cat-pill i {
    color: var(--primary);
}

.cat-pill.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.2);
}

.cat-pill.active i {
    color: #000;
}

.cat-pill-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    vertical-align: middle;
}

.cat-expand-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 8px;
    flex-shrink: 0;
    gap: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Overlay Grid Styles */
.category-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-end;
}

.category-grid-overlay.active {
    display: flex;
}

.overlay-content {
    background: var(--surface);
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 30px 20px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.overlay-header span {
    font-size: 1.4rem;
    font-weight: 800;
}

.overlay-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.grid-cat-item {
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: 20px 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.grid-cat-item i {
    font-size: 2.2rem;
    color: var(--primary);
}

.grid-cat-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.grid-cat-item.active {
    background: var(--primary);
    color: #000;
}

.grid-cat-item.active i {
    color: #000;
}

.category-nav, .category-dropdown-container, .category-dropdown-menu {
    display: none !important;
}
}

/* Custom Scrollbar voor de gehele site */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 10px;
    border: 2px solid var(--background);
}

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

/* Specifieke styling voor de Categorie Dropdown Scrollbar */
.category-dropdown-menu::-webkit-scrollbar {
    width: 6px;
    display: block !important; /* Forceer weergave indien nodig */
}

.category-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 0 0 25px 0;
}

.category-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1025px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Verticale product card */
.product-card {
    background: #141414;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    background: #1a1a1a;
}

/* Afbeeldingsgebied */
.product-img-area {
    aspect-ratio: 1 / 1;
    margin: 10px 10px 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    position: relative;
}

.product-img-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-emoji-icon {
    font-size: 3rem;
}

/* Info gebied */
.product-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-stock-line {
    font-size: 0.72rem;
    color: #f97316;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.s-dot {
    width: 6px;
    height: 6px;
    background: #f97316;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Footer: prijs + knop */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.prod-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.prod-old-price {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #666;
    text-decoration: line-through;
}

/* + knop */
.product-card .add-btn-circle {
    position: relative;
    top: auto;
    right: auto;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.15s ease;
    z-index: auto;
}

.product-card .add-btn-circle.has-qty {
    background: var(--primary);
    color: #000;
    font-size: 0.85rem;
    font-weight: 900;
}

.product-card .add-btn-circle:active {
    transform: scale(0.9);
}

.oos-label {
    font-size: 0.7rem;
    font-weight: 800;
    background: #282828;
    color: #666;
    padding: 6px 10px;
    border-radius: 8px;
}

/* Modal Styles voor Product Informatie */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-modal.active {
    display: flex;
}

.info-modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.info-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.info-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-modal-body {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.product-card .price-row {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.product-card .short-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .meta-info {
    font-size: 0.75rem;
    color: #777;
    margin-top: auto;
}

.product-card.out-of-stock {
    opacity: 0.7;
    filter: grayscale(0.2);
}

.out-of-stock-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #fff;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.low-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff8a00;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 2;
}

.product-side-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    flex-shrink: 0;
}
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
    margin-top: auto;
}

.btn-primary.disabled {
    background: #333;
    color: #666;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.btn-primary:active { transform: scale(0.95); }

/* Slide-in Cart Styling */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: var(--background);
    z-index: 3001;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    left: 0;
}

.cart-drawer-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.close-cart-drawer {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.drawer-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.drawer-checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient-main);
    color: #000;
    text-align: center;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.drawer-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drawer-item-img {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.drawer-item-info {
    flex: 1;
}

.drawer-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.drawer-item-price {
    color: var(--primary);
    font-weight: 700;
}

.drawer-qty-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.drawer-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.drawer-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.drawer-qty-value {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-nav-cart {
    position: fixed;
    bottom: 25px;
    left: 15px;
    right: 15px;
    background: var(--gradient-main); /* Goud/Oranje website kleur */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    color: #000;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transform: translateY(150%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.mobile-nav-cart.visible {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-cart:active {
    transform: scale(0.95);
}

.cart-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-wrapper i {
    font-size: 1.4rem;
    color: #000;
}

.cart-icon-wrapper .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.cart-total {
    font-size: 1.15rem;
    font-weight: 800;
}

@media (min-width: 1025px) { 
    .mobile-nav-cart { display: none; } 
}

.cart-icon, .cart-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-icon i, .cart-wrapper i {
    font-size: 1.5rem;
    color: var(--text);
    position: relative;
}

.cart-count {
    background: var(--secondary);
    color: #fff;
    font-size: 0.65rem;
    padding: 0;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -6px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    text-align: center;
    border: 2px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
    .mobile-nav .cart-count {
        border-color: var(--surface);
    }
}

@media (min-width: 1025px) {
    .header-mobile-left {
        display: none !important;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
}
.modal-content {
    background-color: var(--surface);
    margin: 100px auto;
    padding: 40px;
    border: 1px solid var(--border);
    width: 90%;
    max-width: 450px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-primary);
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
    width: 100%;
}

.pagination a, .pagination button {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text) !important;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.pagination a:hover, .pagination button:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
    color: var(--primary) !important;
}

.pagination a.active, .pagination button.active {
    background: var(--gradient-main) !important;
    color: #000 !important;
    border: none;
    box-shadow: var(--shadow-primary);
}

.pagination a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Desktop Footer Styles */
.main-footer {
    display: none; /* Standaard uit voor mobiel */
    background-color: #0c0c0c;
    border-top: 1px solid var(--border);
    padding: 60px 0 0 0;
    margin-top: 60px;
}

@media (min-width: 1025px) {
    .main-footer {
        display: block;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.footer-socials a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--primary);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.footer-bottom {
    background: #000;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Desktop Footer Styles */
.main-footer {
    background-color: #0c0c0c;
    border-top: 1px solid var(--border);
    padding: 60px 0 0 0;
    margin-top: 60px;
    display: none;
}

@media (min-width: 1025px) {
    .main-footer {
        display: block;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.footer-socials a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--primary);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.footer-bottom {
    background: #000;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Scroll to Top Button - Professional Style */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Terug naar links onder */
    width: 45px;
    height: 45px;
    background: rgba(255, 204, 0, 0.9);
    backdrop-filter: blur(10px);
    color: #000;
    border-radius: 12px; /* Modern squircle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2000; /* Hoger dan mobile nav */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 204, 0, 0.2);
    border: none;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 204, 0, 0.5);
}

.scroll-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .scroll-top-btn {
        bottom: 25px; 
        left: 20px; /* Terug naar links op mobiel */
        right: auto;
        width: 40px;
        height: 40px;
    }
    body.home-page .scroll-top-btn {
        bottom: 25px;
    }
}

@media (min-width: 1025px) {
    .scroll-top-btn {
        bottom: 30px;
        left: 30px; /* Terug naar links op desktop */
        right: auto;
        width: 50px;
        height: 50px;
    }
}

/* Floating Chat Action Button */
.chat-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    animation: bounceChat 3s infinite;
}

.chat-fab:hover {
    transform: scale(1.1) rotate(5deg);
    background: #e6b800;
    box-shadow: 0 12px 30px rgba(255, 204, 0, 0.5);
}

/* Chat Menu Container */
.chat-menu {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 320px;
    background: #121212;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.chat-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #1a1200 0%, #2a1f00 100%);
    border-bottom: 2px solid var(--primary);
    padding: 20px;
    color: white;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.chat-header p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.75;
}

.chat-options {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--surface-light);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.chat-option:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateX(5px);
}

.chat-option i {
    font-size: 1.4rem;
}

.chat-option.whatsapp i { color: #25D366; }
.chat-option.phone i { color: var(--primary); }
.chat-option.mail i { color: #4488ff; }

.chat-option-text h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.chat-option-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes bounceChat {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media (max-width: 1024px) {
    .chat-fab {
        bottom: 25px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    body.home-page .chat-fab {
        bottom: 25px;
    }
    .chat-menu {
        bottom: 90px;
        right: 20px;
        width: calc(100% - 40px);
        max-width: 320px;
    }
    body.home-page .chat-menu {
        bottom: 90px;
    }
}

/* Chat + scroll-to-top verbergen als de winkelwagen-balk zichtbaar is */
.mobile-nav-cart.visible ~ .chat-fab,
.mobile-nav-cart.visible ~ .scroll-top-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.7) !important;
    transition: opacity 0.2s, transform 0.2s;
}

.mobile-nav-cart.visible ~ #chatMenu {
    display: none !important;
}

/* Chat + scroll-to-top + winkelwagen balk verbergen als categorie-overlay open is */
body.cat-overlay-open .chat-fab,
body.cat-overlay-open .scroll-top-btn,
body.cat-overlay-open .mobile-nav-cart {
    display: none !important;
}

body.cat-overlay-open #chatMenu {
    display: none !important;
}

/* --- Product Car.qty-selector:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.qty-btn:active {
    transform: scale(0.9);
}

.add-to-cart-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

.cart-icon.bump {
    animation: cartBump 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}


/* --- Product Card & Cart Controls --- */
.cart-controls {
    margin-top: auto;
}

.qty-selector {
    transition: all 0.3s ease;
}

.qty-selector:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.qty-btn:active {
    transform: scale(0.9);
}

.add-to-cart-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

.qty-value {
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}
