html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    /* Stabiliseer viewportbreedte als er wel/geen vertical scrollbar is (voorkomt layout shift na dynamische content). */
    scrollbar-gutter: stable;
    font-family: 'Inter', sans-serif;
    color: #2E2E2E;
    scroll-behavior: smooth;
}

/* Fallback voor browsers zonder scrollbar-gutter support */
@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

/* Voorkom overscroll (rubber-band) op mobiel */
@media (max-width: 768px) {
    html {
        overscroll-behavior-y: none;
    }
}

* {
    box-sizing: border-box;
}

/* Verborgen voor zicht, zichtbaar voor screenreaders */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #143245;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
    max-width: 1400px;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    min-height: 100px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0 0 16px 16px;
}

.nav-usps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #143245;
    border-bottom: 1px solid rgba(20, 50, 69, 0.08);
    max-height: 80px;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease, border 0.2s ease;
}
/* USP-balk verbergen bij scroll voor meer beeldruimte (desktop + mobiel) */
body.header-usps-hidden .nav-usps {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    border-bottom-width: 0;
    min-height: 0;
}
.nav-usp {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
a.nav-usp {
    text-decoration: none;
    color: inherit;
}
a.nav-usp:hover {
    text-decoration: underline;
}
.nav-usp object {
    flex-shrink: 0;
    opacity: 0.9;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    height: 100px;
    width: 100%;
    position: relative;
    flex: 0 0 auto;
}

.logo {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    justify-content: flex-start;
    align-items: stretch; /* ul/li vullen headerhoogte zodat mega menu onder nav valt */
    flex: 1;
    padding-left: 8rem; /* Ruimte voor logo, nav items starten links van het midden */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 3rem; /* Iets meer ruimte tussen items */
    height: 100%; /* Zodat mega menu top:100% onder de header uitkomt */
}

.main-nav ul li {
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #143245;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav a object,
.main-nav a img,
.main-nav a svg {
    display: block;
    position: relative;
    top: -1px; /* Optische correctie */
    pointer-events: none;
}

.main-nav a {
    color: #143245;
}

.main-nav a svg {
    color: inherit;
}

.main-nav a:hover {
    color: #1a4a65;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #1a4a65;
    opacity: 1;
}

/* Navigation Actions (Account & Cart) */
.nav-actions {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 2.5rem;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #143245;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0.5rem;
    border-radius: 8px;
    height: 2.5rem;
    min-width: 2.5rem;
    box-sizing: border-box;
    line-height: 0;
}

.nav-icon:hover {
    color: #1a4a65;
    opacity: 1;
    background-color: rgba(20, 50, 69, 0.1);
}

.nav-icon object {
    display: block;
    pointer-events: none;
}

/* Loginstatus in header */
.nav-auth-status {
    font-size: 0.8rem;
    color: #143245;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, max-width 0.3s ease;
}
.nav-auth-status.visible {
    opacity: 0.9;
    max-width: 180px;
}

/* Impersonatiebanner (admin bekijkt webshop als klant) */
.impersonation-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10010;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.impersonation-banner a {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.5rem;
}
.impersonation-banner a:hover {
    color: #fff;
    opacity: 0.9;
}
body.impersonation-active .site-header {
    top: 40px;
}

/* Nav zoekbalk */
.nav-search-form {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 2.5rem;
}

.nav-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(20, 50, 69, 0.05);
    border: 1px solid rgba(20, 50, 69, 0.15);
    border-radius: 10px;
    padding: 0 0.85rem;
    gap: 0.6rem;
    min-width: 150px;
    max-width: 220px;
    height: 2.5rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nav-search-wrapper:hover {
    background: rgba(20, 50, 69, 0.08);
    border-color: rgba(20, 50, 69, 0.22);
}

.nav-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(20, 50, 69, 0.4);
    box-shadow: 0 0 0 3px rgba(20, 50, 69, 0.08);
}

.nav-search-icon {
    flex-shrink: 0;
    opacity: 0.55;
    pointer-events: none;
    color: #143245;
    display: block;
    line-height: 0;
}

.nav-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.925rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    min-width: 0;
    letter-spacing: 0.2px;
    -webkit-appearance: none;
    appearance: none;
    color: #143245;
}

.nav-search-input::placeholder {
    color: #143245;
    opacity: 0.55;
}

.nav-search-input:focus::placeholder {
    opacity: 0.4;
}

.cart-icon {
    position: relative;
    flex-shrink: 0;
}

.cart-icon object {
    display: block;
}

/* Mega Menu - Producten dropdown: vaste balk onder header, duwt content naar beneden */
.nav-item-has-mega {
    position: relative;
}

/* Wrapper: eerste child van body, eigen stacking context boven vanta/hero */
.mega-menu-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    pointer-events: none;
}
body.mega-menu-open .mega-menu-wrapper {
    display: block;
}
.mega-menu-wrapper .mega-menu {
    pointer-events: auto;
}

.mega-menu {
    position: fixed;
    top: var(--header-height-px, 140px);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
    max-width: 1400px;
    box-sizing: border-box;
    min-height: 200px;
    max-height: min(70vh, 560px);
    display: none; /* display i.p.v. opacity voor betrouwbare zichtbaarheid op desktop */
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(20, 50, 69, 0.15);
    border: 1px solid rgba(20, 50, 69, 0.1);
    border-top: none;
    z-index: 10002; /* Boven header (9999) en vanta canvas; menu in body moet zichtbaar blijven */
    pointer-events: none;
}

body.mega-menu-open .mega-menu {
    display: flex;
    pointer-events: auto;
}

/* Header zonder onderrand wanneer mega menu open (visuele verlenging) */
@media (min-width: 769px) {
    body.mega-menu-open .site-header {
        border-radius: 0 0 0 0;
        z-index: 10003; /* Boven mega menu (10002) zodat nav niet bedekt wordt */
    }
}

/* Content naar beneden wanneer mega menu open (verlenging van de nav) - alleen desktop */
@media (min-width: 769px) {
    body.mega-menu-open #hero {
        padding-top: calc(11rem + var(--mega-menu-height-px, 0) * 1px) !important;
    }
    body.mega-menu-open .content-section {
        padding-top: calc(9rem + var(--mega-menu-height-px, 0) * 1px);
    }
    body.mega-menu-open .products-section {
        padding-top: calc(10rem + var(--mega-menu-height-px, 0) * 1px);
    }
    body.mega-menu-open #auth.content-section,
    body.mega-menu-open #account.content-section,
    body.mega-menu-open #diensten.content-section,
    body.mega-menu-open #over-ons.content-section,
    body.mega-menu-open #contact.content-section,
    body.mega-menu-open .page-content.content-section {
        padding-top: calc(11rem + var(--mega-menu-height-px, 0) * 1px);
    }
    body.mega-menu-open .home-products-section.content-section {
        padding-top: calc(2rem + var(--mega-menu-height-px, 0) * 1px);
    }
    body.mega-menu-open .home-categories-section.content-section,
    body.mega-menu-open .home-brands-section.content-section {
        padding-top: calc(9rem + var(--mega-menu-height-px, 0) * 1px);
    }
}

/* Mobiele sluitknop - verborgen op desktop, zichtbaar op mobiel */
.mega-menu-close {
    display: none;
    position: fixed;
    top: calc(var(--header-height-px, 70px) + 52px);
    right: 1rem;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: rgba(20, 50, 69, 0.1);
    color: #143245;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.mega-menu-close:hover {
    background: rgba(20, 50, 69, 0.15);
}

.mega-menu-inner {
    padding: 75px 1.5rem 1.25rem 1.5rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mega-menu-loading,
.mega-menu-error,
.mega-menu-empty {
    padding: 1rem;
    color: #143245;
    margin: 0;
    font-size: 0.95rem;
}

.mega-menu-all {
    display: block;
    padding: 4.5rem 0 0 0;
    margin-bottom: 1rem;
    color: #1a4a65;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 50, 69, 0.1);
    transition: color 0.2s ease;
}

.mega-menu-all:hover {
    color: #143245;
}

.mega-menu-layout {
    display: flex;
    gap: 0;
    min-height: 200px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.mega-menu .mega-menu-main-list {
    display: block;
    list-style: none;
    margin: 1rem;
    padding: 0;
    min-width: 200px;
    max-height: 100%;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    border-right: 1px solid rgba(20, 50, 69, 0.12);
}

.mega-menu .mega-menu-main-list li {
    display: block;
    margin: 0;
}

.mega-menu-parent {
    display: block;
    padding: 0.5rem 1rem;
    color: #143245;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.mega-menu-parent:hover,
.mega-menu-parent:focus {
    color: #1a4a65;
    background: rgba(20, 50, 69, 0.06);
}

.mega-menu-sub-wrap {
    flex: 1;
    min-width: 260px;
    padding: 0.75rem 1.25rem;
    position: relative;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mega-menu-sub-placeholder {
    margin: 0;
    color: rgba(20, 50, 69, 0.6);
    font-size: 0.9rem;
}

.mega-menu-sub-placeholder.hidden {
    display: none;
}

.mega-menu-sub-panels {
    position: absolute;
    inset: 0.75rem 1.25rem 0 0;
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.mega-menu-sub-panel {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.mega-menu-sub-panel.mega-menu-sub-panel--active {
    display: flex;
}

.mega-menu-sub-panel.mega-menu-sub-panel--active > .mega-menu-sublist {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-right: 0.25rem;
}

.mega-menu-sub-all {
    display: block;
    padding: 0.35rem 0;
    margin-bottom: 0.25rem;
    color: #1a4a65;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 50, 69, 0.15);
    transition: color 0.2s ease;
}

.mega-menu-sub-all:hover {
    color: #143245;
}

.mega-menu-sub-empty {
    margin: 0;
    color: rgba(20, 50, 69, 0.6);
    font-size: 0.9rem;
}

/* Override .main-nav ul (display: flex) zodat subcategorieën verticaal staan */
.mega-menu .mega-menu-sublist {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu .mega-menu-sublist li {
    display: block;
    margin: 0;
}

.mega-menu .mega-menu-sublist .mega-menu-sublist {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(20, 50, 69, 0.12);
}

.mega-menu .mega-menu-sublist li.mega-menu-item-has-children > .mega-menu-sublist {
    display: none;
}

.mega-menu .mega-menu-sublist li.mega-menu-item-has-children.mega-menu-item-open > .mega-menu-sublist {
    display: block;
}

.mega-menu .mega-menu-sublist li.mega-menu-item-has-children > a {
    padding-right: 1.5rem;
    position: relative;
}

.mega-menu .mega-menu-sublist li.mega-menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    border: solid #2E2E2E;
    border-width: 0 2px 2px 0;
    padding: 3px;
    margin-top: -2px;
    transition: transform 0.2s ease;
}

.mega-menu .mega-menu-sublist li.mega-menu-item-has-children.mega-menu-item-open > a::after {
    transform: translateY(-50%) rotate(90deg);
}

.mega-menu .mega-menu-sublist a {
    display: block;
    padding: 0.35rem 0;
    color: #2E2E2E;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.35;
}

.mega-menu .mega-menu-sublist > li > a {
    padding: 0.4rem 0;
    font-weight: 500;
}

.mega-menu .mega-menu-sublist a:hover {
    color: #1a4a65;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    background-color: #1a4a65;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

/* Winkelwagen Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cart-modal {
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(20, 50, 69, 0.1);
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #143245;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #143245;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.cart-close:hover {
    background-color: rgba(20, 50, 69, 0.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(20, 50, 69, 0.1);
    align-items: center;
    position: relative;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #143245;
}

.cart-item-price-note {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.cart-item-price {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #143245;
    transition: all 0.3s ease;
}

.cart-qty-btn:hover {
    background-color: #143245;
    color: white;
    border-color: #143245;
}

.cart-item-subtotal {
    font-weight: 600;
    color: #143245;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #999;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cart-item-remove:hover {
    background-color: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
}

.cart-item-remove img {
    pointer-events: none;
}

.cart-item-remove:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.cart-empty object {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty p {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(20, 50, 69, 0.1);
    background-color: rgba(255, 255, 255, 0.5);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #143245;
}

.cart-summary-row--excl {
    padding-top: 0.25rem;
    border-top: 1px dashed rgba(20, 50, 69, 0.2);
}

.cart-summary-row:last-of-type {
    margin-bottom: 0.25rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #143245;
}

.cart-total-amount {
    font-size: 1.5rem;
}

.cart-btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #143245 0%, #1a4a65 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.cart-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

.cart-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cart-btn-secondary {
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    color: #143245;
    border: 2px solid #143245;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cart-btn-secondary:hover {
    background: rgba(20, 50, 69, 0.08);
}

@media (max-width: 768px) {
    .cart-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0.65rem 0.75rem;
        align-items: start;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .cart-item-info {
        grid-column: 2;
        grid-row: 1;
    }

    .cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .cart-item-subtotal {
        grid-column: 2 / 4;
        grid-row: 3;
        justify-self: end;
        text-align: right;
    }

    .cart-item-remove {
        position: static;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        margin-top: -0.125rem;
        padding: 0.25rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    right: 1.5rem; /* Rechts uitlijnen op mobiel/tablet */
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #143245;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Background & Hero */
#background {
    background-color: #000000;
}

#background canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
    pointer-events: none;
}

/* Homepage: compacte hero met USPs, daarna scroll naar producten en categorieën */
body.page-home {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

#hero {
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 11rem 0 2rem; /* Ruimte voor header + USP-balk, compacte hero, weinig ruimte onder */
}

.hero-content {
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 1100px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}


/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero h1 {
    font-size: 3.25rem;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: #ffffff !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.8);
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.3s both;
    letter-spacing: 0.02em;
    max-width: 100%;
}

/* Hero CTA Button */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: #ffffff;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(20, 50, 69, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: none;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero-cta-btn:hover::before {
    left: 100%;
}

.hero-cta-btn object,
.hero-cta-btn img,
.hero-cta-btn svg {
    transition: transform 0.3s ease;
    pointer-events: none;
    color: #ffffff;
}

.hero-cta-btn svg {
    color: inherit;
}

.hero-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(20, 50, 69, 0.5);
    background: linear-gradient(135deg, #1a4a65, #143245);
}

.hero-cta-btn:hover object,
.hero-cta-btn:hover img,
.hero-cta-btn:hover svg {
    transform: translateX(6px);
}

.hero-cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 50, 69, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    #hero h1 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Home: Trustbar (webshop-uitstraling, vertrouwen) */
.home-trust-bar {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(20, 50, 69, 0.08);
    padding: 1rem 0;
}
.home-trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.home-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #143245;
}
.home-trust-item object {
    flex-shrink: 0;
}
.home-trust-kvk {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Home: Uitgelichte producten */
.home-products-section .home-products-grid.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch;
    min-height: 360px; /* Compacter: reserve ruimte voor LCP/producten, vermindert CLS */
}
.home-products-section .product-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-products-section .product-image,
.home-products-section .product-image-placeholder {
    flex-shrink: 0;
    height: 170px;
    min-height: 170px;
}
.home-products-section .product-card .product-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
}
.home-products-section .product-card .product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.home-products-section .product-card .product-footer {
    flex-shrink: 0;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.home-products-section .product-card .product-btn {
    flex-shrink: 0;
    margin-top: auto;
}
.home-products-section.content-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}
.home-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.home-products-section .home-section-title {
    background: rgba(20, 50, 69, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
.home-products-cta {
    text-align: center;
    margin: 2.5rem 0 0 0;
}
.hero-cta-btn-secondary {
    background: rgba(20, 50, 69, 0.12);
    color: #143245;
}
.hero-cta-btn-secondary:hover {
    background: rgba(20, 50, 69, 0.22);
    color: #143245;
}

/* CTA's op donkere home-secties: goed zichtbaar (contrast) */
.home-products-section .hero-cta-btn-secondary,
.home-categories-section .hero-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #143245;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.home-products-section .hero-cta-btn-secondary:hover,
.home-categories-section .hero-cta-btn-secondary:hover {
    background: #ffffff;
    color: #143245;
    border-color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.home-products-empty {
    text-align: center;
    color: #143245;
    padding: 2rem;
}

/* Home: Shop per categorie (zelfde stijl als Onze merken) */
.home-categories-section.content-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    max-width: 1020px;
    min-height: 160px; /* Reserve ruimte, vermindert CLS bij laden categorieën */
}
.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 80px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #143245;
    font-weight: 600;
    transition: all 0.25s ease;
}
.home-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(20, 50, 69, 0.12);
    border-color: rgba(20, 50, 69, 0.15);
}
.home-category-name {
    display: block;
    text-align: center;
}
.home-category-count {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0.25rem;
}
.home-categories-cta {
    text-align: center;
    margin: 1.5rem 0 0 0;
}
.home-link-secondary {
    color: #143245;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(20, 50, 69, 0.3);
}
.home-link-secondary:hover {
    border-bottom-color: #143245;
}

/* Home: Merken (onder uitgelichte producten) */
.home-brands-section.content-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.home-brands-section .home-section-title,
.home-categories-section .home-section-title {
    background: rgba(20, 50, 69, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
.home-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    align-items: center;
    min-height: 180px; /* Reserve ruimte, vermindert CLS bij laden merken */
}
.home-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #143245;
    transition: all 0.25s ease;
    transform-origin: center;
    will-change: transform;
    min-height: 80px;
}
.home-brand-card:hover {
    transform: translateY(-3px) scale(1.2);
    box-shadow: 0 6px 24px rgba(20, 50, 69, 0.12);
    border-color: rgba(20, 50, 69, 0.15);
}
.home-brand-card:focus-visible {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 24px rgba(20, 50, 69, 0.12);
    border-color: rgba(20, 50, 69, 0.15);
    outline: 3px solid rgba(20, 50, 69, 0.35);
    outline-offset: 2px;
}
.home-brand-card .home-brand-logo {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.home-brand-card .home-brand-name-only {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}


/* Content Sections - ruimte onder header (incl. USP-balk) */
.content-section {
    padding: 9rem 0; /* Meer ruimte i.v.m. header + USP-balk */
    scroll-margin-top: 10rem;
    position: relative;
    z-index: 1;
}

/* Producten Sectie - Extra padding bovenaan voor header ruimte */
.products-section {
    padding-top: 10rem;
    min-height: calc(100vh - 200px);
}

/* Auth Sectie - Extra padding bovenaan voor header ruimte */
#auth.content-section {
    padding-top: 11rem;
    min-height: calc(100vh - 200px);
}

/* Account Sectie - Extra padding bovenaan voor header ruimte */
#account.content-section {
    padding-top: 11rem;
    min-height: calc(100vh - 200px);
}

/* Diensten, Over ons, Contact - alleen ruimte onder header, geen min-height (voorkomt onnodige scroll) */
#diensten.content-section,
#over-ons.content-section,
#contact.content-section,
.page-content.content-section {
    padding-top: 11rem;
}

.section-container {
    width: calc(100% - 40px); /* Exact zelfde breedte als header en footer */
    max-width: 1200px;
    margin: 0 auto;
}

.products-page-layout.section-container,
.section-container.products-page-layout {
    max-width: 1400px;
}

/* Cards & Panels Styling */
.card, .service-card, .section-header-card {
    background: rgba(255, 255, 255, 0.95) !important;
    position: relative;
    z-index: 10;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.section-header-card {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.section-header-card h2 {
    margin: 0;
    font-size: 2.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    margin-bottom: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #143245;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #1a4a65;
}

.service-icon svg {
    color: inherit;
}

.service-card:hover .service-icon {
    color: #143245;
    transform: scale(1.1);
}

/* Icon Animations (Always Active) */
.icon-settings {
    animation: spin 8s linear infinite;
}

.icon-briefcase {
    animation: bounce 3s ease infinite;
}

.icon-chart line {
    animation: growHeight 3s ease-in-out infinite alternate;
    transform-origin: bottom;
}

.icon-search {
    animation: searchMove 5s ease-in-out infinite;
}

.icon-code {
    animation: pulse 3s ease-in-out infinite;
}

.icon-layout line {
    animation: slideLine 4s ease-in-out infinite;
}

/* Stagger animations so they don't look synchronous */
.service-card:nth-child(2) .service-icon { animation-delay: 0.5s; }
.service-card:nth-child(3) .service-icon { animation-delay: 1.0s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.5s; }
.service-card:nth-child(5) .service-icon { animation-delay: 0.2s; }
.service-card:nth-child(6) .service-icon { animation-delay: 0.7s; }

/* Animation Keyframes */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes growHeight {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

@keyframes searchMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-3px, 3px) rotate(-10deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(3px, -3px) rotate(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes slideLine {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 1; }
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #143245;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* Over Axtro & Contact Cards */
.content-card {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.content-card h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Beheerde pagina's (Algemene voorwaarden, Privacybeleid) */
.page-content .content-card .page-body {
    max-width: 900px;
    margin: 0 auto;
}
.page-body h2 { font-size: 2rem; margin-top: 0; margin-bottom: 1rem; }
.page-body h3 { font-size: 1.35rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-body p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem; }
.page-body ul { margin: 0.5rem 0 1rem 1.5rem; }
.page-body li { margin-bottom: 0.25rem; }

/* Koppeling aanvragen — gebruikt horizontale ruimte op desktop (minder scrollen) */
.koppeling-form .koppeling-form-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 769px) {
    .koppeling-form .koppeling-form-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .koppeling-form .koppeling-form-grid > .koppeling-form-full {
        grid-column: 1 / -1;
    }
}
.koppeling-form .koppeling-form-grid .admin-form-group {
    margin-bottom: 0;
    min-width: 0;
}
.koppeling-form fieldset.koppeling-fieldset-checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.koppeling-form .koppeling-checkbox-grid {
    display: grid;
    gap: 0.35rem 1rem;
}
@media (min-width: 769px) {
    .koppeling-form .koppeling-checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.koppeling-form fieldset.koppeling-fieldset-checks > legend + p {
    margin-bottom: 0.25rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: #143245;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.values-list li {
    background: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.values-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #143245, #1a4a65);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.values-list li:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(20, 50, 69, 0.15);
}

.values-list li:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(20, 50, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #143245;
    transition: all 0.4s ease;
    position: relative;
}

.values-list li:hover .value-icon {
    background: #143245;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(20, 50, 69, 0.2);
}

.value-icon object,
.value-icon img,
.value-icon svg {
    width: 36px;
    height: 36px;
    pointer-events: none;
    transition: color 0.4s ease;
}

.value-icon {
    color: #143245;
}

.value-icon svg {
    color: inherit;
}

.values-list li:hover .value-icon {
    color: #ffffff;
}

.value-content strong {
    display: block;
    font-size: 1.4rem;
    color: #143245;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.value-content span {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    display: block;
}

/* Contact Specifics */
.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    text-align: left;
    width: 100%;
}

.form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    margin-bottom: 0.8rem;
    color: #143245;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label object,
.form-group label img,
.form-group label svg {
    pointer-events: none;
}

.form-group label {
    color: #143245;
}

.form-group label svg {
    color: #1a4a65;
}

.input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(26, 58, 110, 0.1);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(79, 127, 191, 0.3);
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #143245;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(20, 50, 69, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: #ffffff;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(20, 50, 69, 0.2);
    position: relative;
    overflow: hidden;
}

.submit-btn object,
.submit-btn img,
.submit-btn svg {
    transition: transform 0.3s ease;
    pointer-events: none;
    color: #ffffff;
}

.submit-btn svg {
    color: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 50, 69, 0.3);
}

.submit-btn:hover object,
.submit-btn:hover img,
.submit-btn:hover svg {
    transform: translateX(4px) translateY(-4px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(20, 50, 69, 0.2);
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.form-message-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.contact-direct {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.contact-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2.5rem 0;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.contact-divider span {
    padding: 0 1rem;
}

.email-btn {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(20, 50, 69, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    group: direct-mail;
}

.email-btn:hover {
    background: rgba(20, 50, 69, 0.02);
    border-color: #143245;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(20, 50, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #143245;
    transition: all 0.3s ease;
}

.icon-circle object,
.icon-circle img {
    pointer-events: none;
    transition: color 0.3s ease;
    color: #143245;
}

.icon-circle svg {
    color: inherit;
}

.email-btn:hover .icon-circle {
    background: #143245;
    color: #fff;
}

.email-btn:hover .icon-circle object,
.email-btn:hover .icon-circle img,
.email-btn:hover .icon-circle svg {
    color: #ffffff;
}

.email-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.email-content .label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.email-content .address {
    font-size: 1.1rem;
    font-weight: 700;
    color: #143245;
}

.email-btn .arrow {
    pointer-events: none;
    transition: all 0.3s ease;
    color: #ccc;
}

.email-btn .arrow svg {
    color: inherit;
}

.email-btn:hover .arrow {
    color: #143245;
    transform: translateX(4px);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 140px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(20, 50, 69, 0.4);
    z-index: 1100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out 1s both;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 769px) {
    .floating-cta {
        bottom: 220px;
    }
}

.floating-cta object,
.floating-cta img,
.floating-cta svg {
    pointer-events: none;
    color: #ffffff;
    flex-shrink: 0;
}

.floating-cta svg {
    color: inherit;
}

.floating-cta span {
    white-space: nowrap;
}

.floating-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(20, 50, 69, 0.5);
    background: linear-gradient(135deg, #1a4a65, #143245);
}

.floating-cta:active {
    transform: translateY(-2px) scale(1.02);
}

/* Footer Styling */
.site-footer {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
    border-radius: 16px 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    color: #143245;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #143245;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #143245;
    text-decoration: none;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(20, 50, 69, 0.15);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #143245;
}

/* Footer: details/summary voor uitklapbaar gedrag op mobiel */
.footer-details {
    display: block;
}

.footer-details .footer-collapsible {
    display: block !important; /* Desktop: altijd zichtbaar (summary verborgen via media query) */
}

.footer-toggle {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: center;
    list-style: none;
}

.footer-toggle::-webkit-details-marker,
.footer-toggle::marker {
    display: none;
}

/* Desktop: footer altijd volledig zichtbaar, geen toggle (alleen boven 1024px) */
@media (min-width: 1025px) {
    .footer-details .footer-collapsible {
        display: block !important;
        max-height: 500px !important;
        overflow: visible !important;
        visibility: visible !important;
    }
}

/* Mobiel menu open: scroll achter overlay uitschakelen */
body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* Responsive Design */

/* Tablet (iPad e.d.): leesbaar menu via hamburger, compacte footer */
@media (max-width: 1024px) {
    .site-header {
        width: calc(100% - 20px);
        min-height: 0;
        height: auto;
        justify-content: space-between;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav-container {
        height: 70px;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .logo {
        position: static;
        transform: none;
        order: 1;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: static;
        order: 3;
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        z-index: 1002;
    }

    .mobile-menu-toggle .bar {
        margin: 0;
    }

    .nav-actions {
        position: static;
        transform: none;
        order: 2;
        gap: 0.25rem;
    }

    .nav-icon {
        padding: 0.4rem;
    }

    .nav-icon object {
        width: 18px;
        height: 18px;
    }

    .nav-auth-status.visible {
        max-width: 0;
        padding: 0;
    }

    .nav-search-wrapper {
        min-width: 110px;
        max-width: 140px;
        padding: 0.4rem 0.65rem;
    }

    .nav-search-input {
        font-size: 0.875rem;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        overflow-y: auto;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 999;
        touch-action: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        margin: 0;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .main-nav a {
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        min-height: 44px;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .main-nav ul li {
        width: 100%;
        justify-content: flex-start;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    /* Footer: compact op tablet */
    .site-footer {
        width: calc(100% - 20px);
        padding: 0;
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }

    .footer-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 44px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        font-weight: 600;
        color: #143245;
    }

    .footer-toggle-icon {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg);
        transition: transform 0.25s ease;
    }

    .footer-details[open] .footer-toggle-icon {
        transform: rotate(135deg);
    }

    .footer-collapsible {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-details[open] .footer-collapsible {
        max-height: 320px;
    }

    .footer-collapsible .footer-container {
        padding: 0 1rem 0.75rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-info p {
        font-size: 0.85rem;
    }

    .footer-links {
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-copyright p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Documenthoogte = inhoud; voorkomt te ver naar onder scrollen onder de footer */
    html, body {
        height: auto;
        min-height: 0;
    }

    .products-section,
    #auth.content-section,
    #account.content-section,
    .product-detail-page,
    .checkout-section {
        min-height: 0;
    }

    .site-header {
        top: 0;
        width: calc(100% - 20px);
        min-height: 0;
        height: auto;
        border-radius: 0 0 12px 12px;
        justify-content: space-between;
        /* Geen backdrop-filter op mobiel: voorkomt dat main-nav als fixed child relatief t.o.v. header gepositioneerd wordt i.p.v. viewport */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav-usps {
        padding: 0.35rem 0.75rem;
        gap: 0.75rem 1rem;
        font-size: 0.75rem;
    }

    .nav-container {
        height: 70px;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .logo {
        position: static;
        transform: none;
        order: 1;
        flex-shrink: 0;
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: static;
        order: 3;
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        margin-left: 0.25rem;
    }

    .mobile-menu-toggle .bar {
        margin: 0;
    }

    .nav-actions {
        position: static;
        transform: none;
        order: 2;
        gap: 0.25rem;
        margin-right: 0;
    }

    .nav-icon {
        padding: 0.4rem;
    }

    .nav-icon object {
        width: 18px;
        height: 18px;
    }

    .nav-auth-status.visible {
        max-width: 0;
        padding: 0;
    }

    .nav-search-wrapper {
        min-width: 110px;
        max-width: 140px;
        padding: 0.4rem 0.65rem;
        gap: 0.5rem;
    }

    .nav-search-input {
        font-size: 0.875rem;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        overflow-y: auto;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 999;
        touch-action: auto;
    }
    
    .mobile-menu-toggle {
        z-index: 1002;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        margin: 0;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .main-nav a {
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        min-height: 44px;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .main-nav ul li {
        width: 100%;
        justify-content: flex-start;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    /* Mobiel mega menu – overlay boven navigatie (z-index 10001 > header 9999) */
    .mega-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        width: 100%;
        max-width: none;
        min-height: auto;
        max-height: none;
        margin: 0;
        border-radius: 0;
        padding-top: calc(var(--header-height-px, 70px) + 1rem);
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 2rem;
        box-sizing: border-box;
        overflow-y: auto;
    }

    body.mega-menu-open .mega-menu {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mega-menu-close {
        display: flex;
        margin-top: 20px;
    }

    .mega-menu-layout {
        flex-direction: column;
        min-height: 0;
        overflow: visible;
    }

    .mega-menu .mega-menu-main-list {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(20, 50, 69, 0.12);
        max-height: 220px;
        overflow-y: auto;
    }

    .mega-menu-sub-wrap {
        min-width: 100%;
        min-height: 120px;
    }

    .mega-menu-sub-placeholder {
        padding: 1rem 0 0;
        margin-top: 0.5rem;
    }

    .mega-menu-sub-panels {
        position: static;
        inset: auto;
    }

    .mega-menu-inner {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 0;
    }

    .mega-menu a,
    .mega-menu-parent,
    .mega-menu .mega-menu-sublist a {
        min-height: 44px;
        padding: 0.6rem 1rem;
        display: flex;
        align-items: center;
    }

    .mega-menu .mega-menu-main-list {
        max-height: min(65vh, 400px);
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .content-section {
        padding: 6.5rem 0;
    }

    .section-container {
        width: calc(100% - 20px); /* Consistent met mobiele header */
    }
    
    #hero h1 {
        font-size: 2rem;
    }


    .card, .service-card {
        padding: 1.5rem;
    }

    .section-header-card h2 {
        font-size: 1.8rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }

    .site-footer {
        width: calc(100% - 20px);
        padding: 0;
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }

    .footer-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 48px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #143245;
    }

    .footer-toggle-icon {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg);
        transition: transform 0.25s ease;
    }

    .footer-details[open] .footer-toggle-icon {
        transform: rotate(135deg);
    }

    .footer-collapsible {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-details[open] .footer-collapsible {
        max-height: 400px;
    }

    .footer-collapsible .footer-container {
        padding: 0 1rem 1rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .hero-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .floating-cta {
        bottom: 120px;
        right: 10px;
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }

    .floating-cta span {
        display: none;
    }

    .floating-cta {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    .floating-cta object,
    .floating-cta img,
    .floating-cta svg {
        width: 28px;
        height: 28px;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.cookie-banner-container {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner-content {
    padding: 2.5rem;
}

.cookie-banner-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #143245;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.cookie-banner-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 2rem 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(20, 50, 69, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 50, 69, 0.4);
    background: linear-gradient(135deg, #1a4a65, #143245);
}

.cookie-btn-secondary {
    background: #ffffff;
    color: #143245;
    border: 2px solid #143245;
}

.cookie-btn-secondary:hover {
    background: rgba(20, 50, 69, 0.05);
    transform: translateY(-2px);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    padding: 2.5rem;
}

.cookie-settings-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #143245;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.cookie-settings-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 2rem 0;
}

.cookie-settings-options {
    margin-bottom: 2rem;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(20, 50, 69, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(20, 50, 69, 0.1);
    transition: all 0.3s ease;
}

.cookie-setting-item:hover {
    background: rgba(20, 50, 69, 0.05);
    border-color: rgba(20, 50, 69, 0.2);
}

.cookie-setting-info {
    flex: 1;
    margin-right: 1.5rem;
}

.cookie-setting-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cookie-setting-label strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #143245;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.cookie-setting-label span {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 32px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #143245, #1a4a65);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:focus + .cookie-toggle-slider {
    box-shadow: 0 0 0 4px rgba(20, 50, 69, 0.2);
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 50, 69, 0.1);
}

.cookie-settings-actions .cookie-btn {
    min-width: 200px;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-container {
        max-width: 100%;
        margin: 1rem;
        max-height: 95vh;
    }

    .cookie-banner-content,
    .cookie-settings-panel {
        padding: 1.5rem;
    }

    .cookie-banner-header h3,
    .cookie-settings-header h3 {
        font-size: 1.5rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        min-width: unset;
    }

    .cookie-setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-setting-info {
        margin-right: 0;
    }

    .cookie-settings-actions .cookie-btn {
        width: 100%;
        min-width: unset;
    }
}

/* ========================================
   PRODUCTEN PAGINA - Sidebar + Producten
   ======================================== */

/* Layout: filters links, producten rechts */
.products-page-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

.products-sidebar .filters-drawer-close {
    display: none; /* Alleen op mobiel zichtbaar (drawer) */
}

/* Desktop: mobiele filter-knop en drawer-sluiten altijd verborgen */
@media (min-width: 769px) {
    .mobile-filters-bar {
        display: none !important;
    }
    .products-sidebar .filters-drawer-close {
        display: none !important;
    }
}

.products-sidebar {
    flex-shrink: 0;
    width: 280px;
    max-width: 280px;
    align-self: flex-start;
    position: sticky;
    top: 7rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(20, 50, 69, 0.1);
    box-shadow: 0 4px 20px rgba(20, 50, 69, 0.08);
    overflow: hidden; /* Voorkomt dat inhoud buiten de kolom uitrekt */
}

.products-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
}

.products-main .products-grid {
    flex: 1 1 auto;
}

.filters-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(20, 50, 69, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #143245;
    text-align: left;
    transition: all 0.2s ease;
}

.filter-group-header:hover {
    background: rgba(20, 50, 69, 0.05);
}

.filter-group-header:focus {
    outline: 2px solid rgba(20, 50, 69, 0.3);
    outline-offset: -2px;
}

.filter-toggle-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filter-group[data-collapsed="true"] .filter-toggle-icon {
    transform: rotate(-90deg);
}

.filter-group-content {
    padding: 0.75rem 1rem;
    display: block;
    max-height: 500px;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
    overflow: hidden;
    opacity: 1;
}

.filter-group[data-collapsed="true"] .filter-group-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #143245;
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-filters-container {
    margin: 2rem 0 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter rij: Alleen op voorraad (legacy) */
.stock-filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(20, 50, 69, 0.1);
    color: #143245;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filter-btn:hover {
    background: rgba(20, 50, 69, 0.15);
}

/* Legacy: toggle (niet meer gebruikt) */
.category-filter-toggle-row {
    margin-bottom: 1rem;
}

.toggle-category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: #143245;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.toggle-category-filter-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(20, 50, 69, 0.35);
    transform: translateY(-1px);
}

.categories-filter-container--hidden {
    display: none;
}

.categories-filter-container {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(20, 50, 69, 0.1);
    box-shadow: 0 4px 20px rgba(20, 50, 69, 0.08);
}

.categories-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.categories-filter-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-stock-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #143245;
}

.filter-stock-checkbox input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #143245;
    cursor: pointer;
}

.filter-stock-label {
    -webkit-user-select: none;
    user-select: none;
}

.standard-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.standard-filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standard-filter-item label,
.products-sidebar .filter-group > label:first-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: #143245;
    white-space: nowrap;
}

.standard-filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #143245;
    background: #fff;
    cursor: pointer;
    min-width: 120px;
    width: 100%;
}

.products-sidebar .standard-filter-select {
    min-width: 0;
}

.standard-filter-select:hover {
    border-color: rgba(20, 50, 69, 0.35);
}

/* Zoekbare categorie-combobox */
.category-combobox {
    position: relative;
}
.category-combobox-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.category-combobox-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    cursor: pointer;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #143245;
    background: #fff;
    min-width: 0;
}
.category-combobox-input:hover {
    border-color: rgba(20, 50, 69, 0.35);
}
.category-combobox-input:focus {
    outline: none;
    border-color: rgba(20, 50, 69, 0.5);
}
.category-combobox-icon {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
    flex-shrink: 0;
}
.category-combobox-input-wrap:hover .category-combobox-icon {
    opacity: 0.9;
}
.category-combobox-hint {
    margin: 0.35rem 0 0 0;
    font-size: 0.75rem;
    color: rgba(20, 50, 69, 0.6);
}
.category-combobox-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}
.category-combobox-dropdown.is-open {
    display: block;
}
.category-combobox-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #143245;
}
.category-combobox-option:hover,
.category-combobox-option--keyboard-focus,
.category-combobox-option--selected {
    background: rgba(20, 50, 69, 0.08);
}
.category-combobox-empty {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #666;
}

.spec-filters-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

.spec-filter-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(20, 50, 69, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.spec-filter-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #143245;
    text-align: left;
    transition: all 0.2s ease;
}

.spec-filter-item-header:hover {
    background: rgba(20, 50, 69, 0.05);
}

.spec-filter-item-header:focus {
    outline: 2px solid rgba(20, 50, 69, 0.3);
    outline-offset: -2px;
}

.spec-filter-item[data-collapsed="true"] .filter-toggle-icon {
    transform: rotate(-90deg);
}

.spec-filter-item-content {
    padding: 0.75rem 1rem;
    display: block;
    max-height: 500px;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
    overflow: hidden;
    opacity: 1;
}

.spec-filter-item[data-collapsed="true"] .spec-filter-item-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
}

.spec-filter-item label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #143245;
    white-space: nowrap;
}

.spec-filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #143245;
    background: #fff;
    cursor: pointer;
    width: 100%;
}

.spec-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid rgba(20, 50, 69, 0.2);
}

.spec-filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #143245;
    padding: 0.25rem 0;
}

.spec-filter-checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #143245;
    cursor: pointer;
}

.spec-filter-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-filter-range-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #143245;
    background: #fff;
}

.spec-filter-range-input:focus {
    outline: none;
    border-color: rgba(20, 50, 69, 0.4);
}

.spec-filter-range-separator {
    font-weight: 600;
    color: #143245;
    font-size: 0.9rem;
}

.spec-filter-select:hover {
    border-color: rgba(20, 50, 69, 0.35);
}

.categories-filter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #143245;
}

.clear-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(20, 50, 69, 0.1);
    color: #143245;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-category-btn:hover {
    background: rgba(20, 50, 69, 0.15);
    transform: translateY(-1px);
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.category-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.category-group-children {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid rgba(20, 50, 69, 0.15);
}

.category-filter-btn-sub {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.category-filter-btn-sub.category-depth-2 {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
}

.category-filter-btn-parent {
    font-weight: 600;
}

.category-filter-btn {
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    color: #143245;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-filter-btn:hover {
    background: rgba(20, 50, 69, 0.05);
    border-color: rgba(20, 50, 69, 0.3);
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: white;
    border-color: #143245;
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.2);
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-filter-btn.active .category-count {
    background: rgba(255, 255, 255, 0.3);
}

.loading-categories,
.no-categories,
.categories-error {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

/* Categorieënpagina: leesbare titel en tagline op donkere achtergrond, kaarten met subcategorieën binnen het veld */
.categories-page .categories-page-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 2.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.categories-page .categories-page-tagline {
    text-align: center;
    margin: 0 0 2rem 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

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

.category-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.category-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #143245;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.category-card-title:hover {
    text-decoration: underline;
}

.category-card-count {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #555;
}

.category-card-subtitle {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #143245;
}

.category-card-subcategories {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.category-card-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-card-sublist li {
    margin-bottom: 0.35rem;
}

.category-card-sublist a {
    font-size: 0.9rem;
    color: #1a4a65;
    text-decoration: none;
}

.category-card-sublist a:hover {
    text-decoration: underline;
}

.category-card-subcount {
    color: #666;
    font-size: 0.85em;
}

.categories-page .categories-loading,
.categories-page .categories-error {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.categories-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    box-shadow: 0 6px 30px rgba(20, 50, 69, 0.2);
    border-color: rgba(20, 50, 69, 0.3);
}

.search-icon {
    color: #143245;
    opacity: 0.6;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #143245;
    padding: 0;
}

.search-input::placeholder {
    color: #999;
    opacity: 0.7;
}

.clear-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.clear-search-btn:hover {
    color: #143245;
}

.search-results-info {
    margin-top: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
}

.search-results-info strong {
    color: #143245;
    font-weight: 600;
}

/* Producten Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 0;
    transition: opacity 0.3s ease;
    align-items: stretch;
    min-width: 0;
}

/* Product Card */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(20, 50, 69, 0.15);
    border-color: rgba(20, 50, 69, 0.2);
}

.product-card-clickable {
    cursor: pointer;
}

/* Product Detail Pagina */
.product-detail-page {
    padding-top: 11rem;
    min-height: calc(100vh - 200px);
}

.breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

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

.breadcrumb-sep {
    margin: 0 0.5rem;
    opacity: 0.8;
}

.product-detail-container {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.product-detail-loading p {
    margin: 0;
    color: #666;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-detail-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-left .product-back-link {
    margin-top: 0;
    margin-bottom: 0;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.product-detail-image .product-image-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #143245;
    margin: 0;
    line-height: 1.3;
}

.product-detail-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.product-detail-codes .product-code {
    font-family: 'Inter', sans-serif;
}

.product-detail-codes .product-code strong {
    color: #1a4a65;
    margin-right: 0.25rem;
}

.product-detail-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.product-detail-price-block .product-price-note {
    display: block;
    margin-top: 0.15rem;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a4a65;
    margin: 0;
}

.product-detail-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    white-space: pre-wrap;
}

.product-detail-specs {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e0e0;
}

.product-detail-specs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a4a65;
    margin: 0 0 0.75rem 0;
}

.product-specs-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1.5rem;
    margin: 0;
    font-size: 0.95rem;
}

.product-specs-list dt {
    font-weight: 500;
    color: #444;
}

.product-specs-list dd {
    margin: 0;
    color: #555;
}

.product-detail-tab-panel[data-panel="specificaties"]:not(.expanded) .product-specs-more-item {
    display: none;
}

.product-detail-tabs {
    margin-top: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.product-detail-tabs-fullwidth {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.product-detail-tab-buttons {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.product-detail-tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.product-detail-tab-btn:hover {
    color: #1a4a65;
}

.product-detail-tab-btn.active {
    color: #1a4a65;
    background: #fff;
    border-bottom-color: #1a4a65;
}

.product-detail-tab-panels {
    padding: 1.25rem;
    /* Meer ruimte voor rijke content zoals PDF previews */
    max-height: min(75vh, 900px);
    overflow-y: auto;
}

.product-detail-tab-panel {
    display: none;
}

.product-detail-tab-panel.active {
    display: block;
}

.product-detail-downloads {
    display: grid;
    gap: 0.75rem;
}

.product-detail-downloads a {
    font-weight: 600;
    color: #1a4a65;
    text-decoration: none;
}

.product-detail-downloads a:hover {
    text-decoration: underline;
}

.product-detail-downloads object {
    display: block;
    width: 100%;
    height: min(70vh, 820px);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.product-detail-pdf object {
    width: 100%;
}

/* Gerelateerde producten / accessoires (Icecat ProductRelated) */
.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

@media (max-width: 1100px) {
    .product-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .product-related-grid {
        grid-template-columns: 1fr;
    }
}

.product-related-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.6rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 50, 69, 0.12);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    overflow: hidden;
}

.product-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    border-color: rgba(26, 74, 101, 0.25);
}

.product-related-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: rgba(20, 50, 69, 0.04);
    border: 1px solid rgba(20, 50, 69, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product-related-thumb-placeholder {
    opacity: 0.85;
}

.product-related-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(46, 125, 50, 0.25);
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-related-meta {
    display: grid;
    gap: 0.2rem;
}

.product-related-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #143245;
    line-height: 1.25;
}

.product-related-brand {
    font-size: 0.85rem;
    color: rgba(20, 50, 69, 0.75);
}

.product-related-cta {
    justify-self: start;
    font-weight: 700;
    color: #1a4a65;
    font-size: 0.9rem;
}

.product-detail-no-content {
    margin: 0;
    color: #888;
    font-size: 0.95rem;
}

.product-specs-toggle {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a4a65;
    background: transparent;
    border: 1px solid #1a4a65;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.product-specs-toggle:hover {
    background: rgba(26, 74, 101, 0.08);
}

.product-detail-cta {
    margin-top: 0.5rem;
}

.product-detail-add-btn {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.product-detail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.product-detail-error-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.product-detail-error h3 {
    margin: 0;
    font-size: 1.25rem;
}

.product-detail-error p {
    margin: 0;
    color: #666;
}

.product-back-link {
    display: inline-block;
    margin-top: 0;
    color: #1a4a65;
    text-decoration: none;
    font-size: 0.95rem;
}

.product-back-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-page {
        padding-top: 9rem;
    }
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(20, 50, 69, 0.05), rgba(26, 74, 101, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #143245;
    opacity: 0.3;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-info .product-description {
    flex: 0 0 auto;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-info .product-footer {
    margin-top: auto;
}

.product-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1a4a65;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #143245;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.product-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 50, 69, 0.1);
}

.product-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}
.product-price-block .product-price-note {
    display: block;
    margin-top: 0.15rem;
}

.product-footer .product-stock {
    flex-shrink: 0;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #143245;
}

.product-price-request,
.product-detail-price-request {
    font-style: italic;
    color: #1a4a65;
}

.product-price-note {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.product-btn-quote {
    background: linear-gradient(135deg, #2e7d32, #388e3c) !important;
}

.product-btn-quote:hover {
    background: linear-gradient(135deg, #388e3c, #2e7d32) !important;
}

.product-stock {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.product-stock.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.product-stock.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.product-delivery-time {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a4a65;
    margin: 0.5rem 0 0 0;
}

.product-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(20, 50, 69, 0.2);
    margin-top: auto;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 50, 69, 0.3);
    background: linear-gradient(135deg, #1a4a65, #143245);
}

.product-btn:active {
    transform: translateY(0);
}

.product-btn object {
    color: white;
    pointer-events: none;
}

.product-btn svg {
    color: inherit;
    pointer-events: none;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(20, 50, 69, 0.1);
    border-top-color: #143245;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Geen Resultaten */
.no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
}

.no-results object {
    color: #999;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #143245;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.no-results p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
}

.clear-search-link {
    background: none;
    border: none;
    color: #143245;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Paginatie */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

/* Paginatie boven producten */
.pagination-container--top {
    margin-top: 0;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    color: #143245;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(20, 50, 69, 0.1);
    border-color: #143245;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-btn:active:not(:disabled) {
    transform: translateY(0);
}

.pagination-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn object {
    display: block;
    pointer-events: none;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    color: #143245;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-number:hover {
    background: rgba(20, 50, 69, 0.1);
    border-color: #143245;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-number-active {
    background: #143245;
    color: white;
    border-color: #143245;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

.pagination-number-active:hover {
    background: #1a4a65;
    border-color: #1a4a65;
    color: white;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.pagination-info {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

/* Responsive paginatie */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .pagination-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .pagination-info {
        font-size: 0.85rem;
    }
}

.clear-search-link:hover {
    color: #1a4a65;
}

/* Error Message */
.error-message {
    grid-column: 1 / -1;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.error-message object {
    color: #f44336;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.error-message h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #143245;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.error-message p {
    font-family: 'Inter', sans-serif;
    color: #666;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

.retry-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #143245, #1a4a65);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(20, 50, 69, 0.2);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 50, 69, 0.3);
    background: linear-gradient(135deg, #1a4a65, #143245);
}

.retry-btn:active {
    transform: translateY(0);
}

/* Section Subtitle */
.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Section Header Card verbetering */
.section-header-card {
    margin-bottom: 3rem;
}

.section-header-card h2 {
    margin-bottom: 0.5rem;
}

/* Mobiele filter-balk: knop om filterdrawer te openen (alleen op mobiel zichtbaar) */
.mobile-filters-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-filters-bar {
        display: flex;
        align-items: center;
        justify-content: stretch;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .mobile-filters-toggle {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        color: #143245;
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(20, 50, 69, 0.15);
        border-radius: 12px;
        cursor: pointer;
        box-shadow: 0 2px 12px rgba(20, 50, 69, 0.08);
        transition: background 0.2s, border-color 0.2s;
    }

    .mobile-filters-toggle:hover {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(20, 50, 69, 0.25);
    }

    .mobile-filters-toggle[aria-expanded="true"] {
        border-color: rgba(20, 50, 69, 0.35);
    }

    /* Filter-drawer overlay (alleen mobiel) */
    .filters-drawer-backdrop {
        display: none;
    }

    .filters-drawer-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(20, 50, 69, 0.4);
        z-index: 1000;
        animation: fadeIn 0.2s ease-out;
    }

    /* Sidebar wordt op mobiel een fullscreen-drawer; producten blijven eerst zichtbaar */
    .products-sidebar {
        position: fixed;
        top: calc(var(--header-height-px, 140) * 1px);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - (var(--header-height-px, 140) * 1px));
        height: calc(100dvh - (var(--header-height-px, 140) * 1px));
        max-height: none;
        z-index: 1001;
        transform: translateY(-100%);
        transition: transform 0.3s ease, visibility 0.3s;
        visibility: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        box-shadow: none;
        padding-top: 0;
        box-sizing: border-box;
    }

    body.filters-drawer-open .products-sidebar {
        transform: translateY(0);
        visibility: visible;
    }

    .products-sidebar .filters-drawer-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0.75rem 1rem;
        margin: 0 -1.5rem 1rem -1.5rem;
        background: rgba(255, 255, 255, 0.98);
        border: none;
        border-bottom: 1px solid rgba(20, 50, 69, 0.1);
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        color: #143245;
        cursor: pointer;
        z-index: 2;
        flex-shrink: 0;
    }

    .products-sidebar .filters-drawer-close:hover {
        background: rgba(20, 50, 69, 0.05);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Producten Pagina */
@media (max-width: 768px) {
    .products-section {
        padding-top: calc((var(--header-height-px, 140) * 1px) + 1.5rem);
    }

    .products-page-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .products-main {
        order: 1;
        width: 100%;
    }

    .products-sidebar {
        order: 2;
    }

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

    .search-filters-container {
        margin: 1.5rem 0 2rem;
    }

    .search-container {
        margin-bottom: 1.5rem;
    }

    .categories-filter-container {
        padding: 1.25rem;
        margin-top: 0;
        margin-bottom: 1.25rem;
    }

    .categories-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .categories-filter {
        gap: 0.5rem;
    }

    .category-group-children {
        padding-left: 1rem;
    }

    .category-filter-btn-sub {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .category-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .search-wrapper {
        padding: 0.875rem 1.25rem;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-image,
    .product-image-placeholder {
        height: 110px;
    }

    .home-products-section .product-image,
    .home-products-section .product-image-placeholder {
        height: 110px;
        min-height: 110px;
    }

    .product-info {
        padding: 0.65rem 0.75rem;
    }

    .product-name {
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-description {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-footer {
        padding-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .product-category {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .product-stock,
    .product-delivery-time {
        font-size: 0.7rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .no-results,
    .error-message,
    .loading-spinner {
        padding: 3rem 1.5rem;
        margin-top: 1.5rem;
    }

    .no-results h3,
    .error-message h3 {
        font-size: 1.3rem;
    }
}

/* Checkout Pagina */
.checkout-section {
    padding-top: 11rem;
    min-height: calc(100vh - 200px);
}

/* Checkout: header is fixed; ensure content clears dynamic header height */
.content-section.checkout-section {
    padding-top: calc((var(--header-height-px, 140) * 1px) + 1.5rem);
}

.checkout-container {
    display: grid;
    /* minmax(0,1fr) voorkomt layout shift door lange select/tekst (min-content overflow) */
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Laat grid-items echt kunnen krimpen (default min-width:auto kan overflow forceren) */
.checkout-container > * {
    min-width: 0;
}

.checkout-form-container {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 0;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-section-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-section-block h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.15rem;
    color: #143245;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(20, 50, 69, 0.1);
}

.checkout-section-block-row {
    flex-direction: row;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-form label {
    font-weight: 600;
    color: #143245;
    font-size: 0.85rem;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background-color: white;
    transition: all 0.3s ease;
    min-width: 0;
    max-width: 100%;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #143245;
    box-shadow: 0 0 0 3px rgba(20, 50, 69, 0.1);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 52px;
}

/* Verzendgegevens: 3-koloms grid (naam, bedrijf, t.n.v. | adres full | postcode, plaats, land) */
.shipping-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
}

.shipping-fields-grid .form-group-full {
    grid-column: 1 / -1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-terms {
    gap: 0.5rem;
    padding-top: 1.75rem;
}

.checkout-terms .checkbox-label {
    font-weight: normal;
    font-size: 1.05rem;
}

.checkout-terms .checkbox-label input[type="checkbox"] {
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    min-height: 1.35rem;
    accent-color: #143245;
    cursor: pointer;
}

.checkout-terms .checkbox-label a {
    color: #1a4a65;
    text-decoration: underline;
}

.checkout-terms .checkbox-label a:hover {
    color: #143245;
}

.shipping-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shipping-method-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid rgba(20, 50, 69, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.shipping-method-option:hover {
    border-color: rgba(20, 50, 69, 0.3);
    background-color: rgba(20, 50, 69, 0.02);
}

.shipping-method-option.selected {
    border-color: #143245;
    background-color: rgba(20, 50, 69, 0.05);
}

.shipping-method-option input {
    margin-right: 0.75rem;
}

.shipping-method-option .shipping-name {
    font-weight: 500;
    color: #143245;
}

.shipping-method-option .shipping-price {
    font-weight: 600;
    color: #143245;
}

.shipping-loading {
    color: #666;
    font-size: 0.95rem;
}

.checkout-error {
    background-color: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fcc;
    margin-bottom: 1rem;
}

.checkout-submit-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #143245 0%, #1a4a65 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkout-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

.checkout-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-summary {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
    min-width: 0;
}

.checkout-summary h3 {
    margin: 0 0 1rem 0;
    font-size: 1.15rem;
    color: #143245;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.checkout-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(20, 50, 69, 0.05);
    border-radius: 8px;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.checkout-item-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: #143245;
}

.checkout-item-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.checkout-item-total {
    font-weight: 600;
    color: #143245;
    align-self: center;
}

.checkout-summary-footer {
    border-top: 2px solid rgba(20, 50, 69, 0.1);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #666;
}

.checkout-summary-row--excl {
    padding-top: 0.25rem;
    border-top: 1px dashed rgba(20, 50, 69, 0.2);
}

.checkout-summary-row.checkout-total {
    font-size: 1.3rem;
    font-weight: 600;
    color: #143245;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(20, 50, 69, 0.1);
}

.checkout-summary-optional {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 50, 69, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-summary-optional .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-summary-optional label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #143245;
}

.checkout-summary-optional input,
.checkout-summary-optional textarea {
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background-color: white;
}

.checkout-summary-optional input:focus,
.checkout-summary-optional textarea:focus {
    outline: none;
    border-color: #143245;
    box-shadow: 0 0 0 3px rgba(20, 50, 69, 0.1);
}

.checkout-summary-optional textarea {
    resize: vertical;
    min-height: 52px;
}

@media (max-width: 968px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .shipping-fields-grid {
        grid-template-columns: 1fr;
    }

    .checkout-section-block-row {
        grid-template-columns: 1fr;
    }
}


/* Checkout Success */
.checkout-success-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.checkout-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
}

.checkout-success-card h1 {
    margin: 0 0 1rem 0;
    color: #143245;
}

.checkout-success-card p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 1.1rem;
}

.order-number {
    font-weight: 600;
    color: #143245;
    font-size: 1.2rem;
    margin: 1rem 0 !important;
}

.checkout-success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.checkout-btn-secondary {
    padding: 1rem 2rem;
    background-color: white;
    color: #143245;
    border: 2px solid #143245;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkout-btn-secondary:hover {
    background-color: #143245;
    color: white;
}

/* Auth Pages (Login/Register) */
.auth-container {
    width: 100%;
    max-width: min(100%, 520px);
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .auth-container {
        max-width: min(100%, 680px);
    }
}

@media (min-width: 900px) {
    .auth-container {
        max-width: min(100%, 880px);
    }
}

/* Registratie: meerkoloms grid op tablet/desktop, één kolom op smal mobiel */
.auth-register-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-row {
    display: grid;
    gap: 1rem 1.25rem;
    align-items: start;
}

.auth-form-row .form-group {
    margin-bottom: 0;
    min-width: 0;
}

.auth-form-row--1 {
    grid-template-columns: minmax(0, 1fr);
}

.auth-form-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form-row--street {
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 7rem);
}

@media (max-width: 599px) {
    .auth-form-row--2,
    .auth-form-row--street {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Ruimte tussen rijen via .auth-register-form gap; geen dubbele marge op submit */
.auth-register-form .auth-submit-btn {
    margin-top: 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin: 0 0 0.5rem 0;
    color: #143245;
    font-size: 2rem;
}

.auth-header p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    color: #143245;
}

.auth-tab.active {
    color: #143245;
    border-bottom-color: #143245;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-error {
    background-color: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fcc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-success {
    background-color: #eef9f0;
    color: #1f6b3a;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #cfead6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-extra-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.5rem;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #1a4a65;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-button:hover,
.link-button:focus {
    color: #143245;
    text-decoration-thickness: 2px;
}

.auth-submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #143245 0%, #1a4a65 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-postcode-lookup-btn {
    padding: 0.65rem 1.1rem;
    border: 1px solid #1a4a65;
    background: transparent;
    color: #1a4a65;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-postcode-lookup-btn:hover:not(:disabled) {
    background: rgba(26, 74, 101, 0.08);
}

.auth-postcode-lookup-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-postcode-hint {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-postcode-hint--pending {
    color: #555;
}

.auth-postcode-hint--ok {
    color: #1f6b3a;
}

.auth-postcode-hint--warn {
    color: #a94442;
}

/* Account Page */
#account .section-container {
    max-width: 1400px; /* Match header/footer container width on desktop */
}

.account-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.account-header {
    text-align: center;
    margin-bottom: 3rem;
}

.account-header h1 {
    margin: 0 0 0.5rem 0;
    color: #ffffff !important;
    font-size: 2.5rem;
    text-shadow: 0 4px 16px rgba(0,0,0,0.8);
    font-weight: 700;
}

.account-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.account-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2rem;
    align-items: start;
}

/* Saved carts: inline max-width in HTML is too restrictive on desktop */
#saved-carts-card .account-section-content > p {
    max-width: none !important;
}

#saved-carts-card .saved-cart-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(20, 50, 69, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

#saved-carts-card .saved-cart-row__main {
    flex: 1;
    min-width: 0;
}

#saved-carts-card .saved-cart-row__title {
    color: #143245;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

#saved-carts-card .saved-cart-row__meta {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#saved-carts-card .saved-cart-row__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#saved-carts-card .saved-cart-row__actions .account-action-btn {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    line-height: 1.1;
    min-height: 44px;
}

@media (max-width: 640px) {
    #saved-carts-card .saved-cart-row {
        flex-direction: column;
        align-items: stretch;
    }

    #saved-carts-card .saved-cart-row__actions {
        justify-content: stretch;
    }

    #saved-carts-card .saved-cart-row__actions .account-action-btn {
        width: 100%;
        justify-content: center;
    }
}

.account-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.account-right-column {
    display: flex;
    flex-direction: column;
}

.account-info-card,
.account-actions-card,
.account-orders-card {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure sections can be hidden when switching */
#account-profile-card[style*="display: none"],
#account-orders-card[style*="display: none"],
#account-invoices-card[style*="display: none"],
#account-quotes-card[style*="display: none"],
#account-support-card[style*="display: none"],
#account-addresses-card[style*="display: none"] {
    display: none !important;
}

.account-info-card h2,
.account-actions-card h2,
.account-orders-card h2 {
    margin: 0 0 1.5rem 0;
    color: #143245;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item strong {
    color: #143245;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-item span {
    color: #666;
    font-size: 1rem;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: white;
    color: #143245;
    border: 2px solid #143245;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.account-action-btn:hover {
    background-color: #143245;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

.account-action-btn object {
    pointer-events: none;
}

.account-action-btn-danger {
    border-color: #c33;
    color: #c33;
}

.account-action-btn-danger:hover {
    background-color: #c33;
    color: white;
    border-color: #c33;
}

.account-action-btn-active {
    background-color: #143245;
    color: white;
    border-color: #143245;
}

.account-action-btn-active:hover {
    background-color: #1a4a65;
    color: white;
    border-color: #1a4a65;
}

/* Account Orders Card (now inside left column) */
.account-orders-card {
    /* Styling already defined above with other cards */
}

/* Account Section Content (for invoices, quotes, support) */
.account-section-content {
    padding: 1rem 0;
}

.account-section-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    gap: 1.5rem;
}

.account-section-empty object {
    opacity: 0.5;
    color: #999;
}

.account-section-empty p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

.account-orders-card h2 {
    margin: 0 0 1.5rem 0;
    color: #143245;
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
}

.orders-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

.orders-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(20, 50, 69, 0.1);
    border-top-color: #143245;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.orders-loading p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    gap: 1.5rem;
}

.orders-empty object {
    opacity: 0.5;
    color: #999;
}

.orders-empty p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    border: 1px solid rgba(20, 50, 69, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.1);
    border-color: rgba(20, 50, 69, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 50, 69, 0.1);
}

.order-header-left h3 {
    margin: 0 0 0.5rem 0;
    color: #143245;
    font-size: 1.25rem;
    font-weight: 600;
}

.order-date {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.order-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid;
}

.order-items {
    margin-bottom: 1rem;
}

.order-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #143245;
    font-size: 0.9rem;
}

.order-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(20, 50, 69, 0.05);
}

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

.order-item-name {
    color: #333;
    font-size: 0.95rem;
}

.order-item-quantity,
.order-item-price,
.order-item-total {
    color: #666;
    font-size: 0.95rem;
    text-align: right;
}

.order-item-total {
    font-weight: 600;
    color: #143245;
}

.order-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(20, 50, 69, 0.1);
    text-align: right;
}

.account-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #143245;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #143245;
    transition: all 0.2s ease;
}

.account-download-btn:hover {
    background: #1a4a65;
    color: white;
    transform: translateY(-2px);
}

.account-download-btn object {
    pointer-events: none;
}

.order-total {
    font-size: 1.25rem;
    color: #143245;
}

.order-tracking {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(20, 50, 69, 0.06);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #143245;
}

.order-tracking-carrier {
    font-weight: 600;
}

.order-tracking-link {
    color: var(--axtro-blauw, #1a5f7a);
    text-decoration: underline;
}

.order-tracking-link:hover {
    text-decoration: none;
}

.order-item-serials {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }

    .account-content {
        grid-template-columns: 1fr;
    }

    .account-left-column {
        gap: 1.5rem;
    }

    .account-header h1 {
        font-size: 2rem;
    }

    .account-info-card,
    .account-actions-card,
    .account-orders-card {
        padding: 1.5rem;
    }

    .account-orders-card {
        margin-top: 1.5rem;
    }

    .account-orders-header {
        margin-bottom: 1rem;
    }

    .order-header {
        flex-direction: column;
        gap: 1rem;
    }

    .order-header-right {
        align-self: flex-start;
    }

    .order-items-header,
    .order-item-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .order-item-quantity,
    .order-item-price,
    .order-item-total {
        text-align: left;
        display: flex;
        justify-content: space-between;
    }

    .order-item-quantity::before {
        content: 'Aantal: ';
        font-weight: 600;
        color: #143245;
    }

    .order-item-price::before {
        content: 'Prijs: ';
        font-weight: 600;
        color: #143245;
    }

    .order-item-total::before {
        content: 'Totaal: ';
        font-weight: 600;
        color: #143245;
    }
}

/* Address Cards */
.address-card {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(20, 50, 69, 0.1);
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #143245;
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.15);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.address-card-info h4 {
    margin: 0 0 0.5rem 0;
    color: #143245;
    font-size: 1.1rem;
}

.address-card-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.address-default-badge {
    display: inline-block;
    background-color: var(--axtro-groen, #10b981);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.address-card-actions {
    display: flex;
    gap: 0.5rem;
}

.address-edit-btn,
.address-delete-btn {
    background: none;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-edit-btn object,
.address-delete-btn object {
    pointer-events: none;
}

.address-edit-btn:hover {
    background-color: #143245;
    border-color: #143245;
    color: white;
}

.address-delete-btn:hover {
    background-color: #c33;
    border-color: #c33;
    color: white;
}

/* Address Modal */
.address-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.address-modal {
    background-color: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.address-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid rgba(20, 50, 69, 0.1);
}

.address-modal-header h3 {
    margin: 0;
    color: #143245;
    font-size: 1.5rem;
}

.address-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.address-modal-close:hover {
    background-color: rgba(20, 50, 69, 0.1);
}

/* Klik op SVG-<object> moet bij de button terechtkomen (anders sluit X niet) */
.address-modal-close object {
    pointer-events: none;
    display: block;
}

.address-form {
    padding: 1.5rem;
}

.address-form .form-group {
    margin-bottom: 1.5rem;
}

.address-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #143245;
    font-weight: 600;
    font-size: 0.95rem;
}

.address-form input,
.address-form select,
.address-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(20, 50, 69, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.address-form input:focus,
.address-form select:focus,
.address-form textarea:focus {
    outline: none;
    border-color: #143245;
}

.address-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.address-form .address-postcode-hint-line {
    margin: 0 0 0.35rem;
}

.address-form-error {
    background-color: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fcc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.address-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(20, 50, 69, 0.1);
}

.address-form-cancel,
.address-form-submit {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.address-form-cancel {
    background-color: white;
    color: #666;
    border: 2px solid rgba(20, 50, 69, 0.2);
}

.address-form-cancel:hover {
    background-color: rgba(20, 50, 69, 0.05);
}

.address-form-submit {
    background-color: #143245;
    color: white;
    border: 2px solid #143245;
}

.address-form-submit:hover {
    background-color: #1a4a65;
    border-color: #1a4a65;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 50, 69, 0.3);
}

@media (max-width: 768px) {
    .address-card-header {
        flex-direction: column;
    }

    .address-card-actions {
        align-self: flex-end;
    }

    .address-form .form-row {
        grid-template-columns: 1fr;
    }

    .address-form-actions {
        flex-direction: column;
    }

    .address-form-cancel,
    .address-form-submit {
        width: 100%;
    }
}