/* Algemene stijlen */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #ffffff;
}
.drag-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7280; /* grey to show on white or dark */
    background: rgba(255,255,255,0.85);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1;
    z-index: 4;
    transition: opacity 500ms ease;
}
.drag-hint.hidden { opacity: 0; pointer-events: none; }
.mini-form .button-outline {
    width: 100%;
    background: transparent;
    border: 1px solid #349C4C;
    color: #FFFFFF;
    font-weight: 600;
    font-family: 'Rajdhani', Arial, sans-serif;
    padding: 10px 16px;
}
.mini-form .button-outline:hover {
    background: rgba(52,156,76,0.1);
}
.mini-form-actions.mobile-only { display: none; }
@media (max-width: 600px) {
    .mini-form-actions.mobile-only { display: block; }
}

/* Vertical Config tab (mirrors contact tab, but on the left) */
.config-tab {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 3;
    user-select: none;
    display: none; /* hidden by default on desktop */
}
.config-tab:hover { transform: translateY(-50%) translateX(4px); opacity: 0.95; }

/* Viewer tab (to return from config mode to viewer) */
.viewer-tab {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 3;
    user-select: none;
    display: none; /* shown only in config-open mode on mobile */
}
.viewer-tab:hover { transform: translateY(-50%) translateX(-4px); opacity: 0.95; }

/* Navigatiebar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222222; /* Donkerder grijs, maar niet helemaal zwart */
    padding: 10px 100px; /* Aangepaste padding links en rechts */
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3); /* Sterkere schaduw met meer spreiding en opacity */
    position: relative; /* Nodig voor de schaduw */
    z-index: 1000; /* Zorgt ervoor dat de schaduw altijd boven andere elementen komt */
}

.navbar .logo {
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 15px;
    transition: all 0.6s ease;
}

.navbar .nav-links a:hover {
    opacity: 0.8;
}

/* Lander */
.lander {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 50px); /* 50px voor de navbar */
    background: white;
    padding: 20px 100px; /* Zelfde padding als navbar (100px) links en rechts */
    overflow: hidden; /* Voorkomt dat content buiten de div komt */
}

.lander img {
    max-width: 50%;
    max-height: 100%; /* Zorgt dat de afbeelding niet hoger wordt dan de container */
    object-fit: contain; /* Behoudt aspect ratio en past binnen de grenzen */
    width: auto; /* Laat de breedte zich aanpassen aan de hoogte */
}

.lander .text {
    max-width: 40%;
    text-align: right;
}

.lander .text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .lander {
        padding: 20px 60px; /* Kleiner op medium schermen */
    }

    .lander .text h1 {
        font-size: 28px; /* Kleiner op medium schermen */
    }
}

@media (max-width: 600px) {
    .lander {
        padding: 20px 40px; /* Nog kleiner op kleine schermen */
    }

    .lander .text h1 {
        font-size: 24px; /* Nog kleiner op kleine schermen */
    }
}

@media (max-width: 400px) {
    .lander {
        padding: 20px 20px; /* Kleinste padding voor zeer kleine schermen */
    }

    .lander .text h1 {
        font-size: 20px; /* Kleinste formaat voor zeer kleine schermen */
    }
}

.lander .text p {
    font-size: 18px;
    margin: 10px 0 30px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.lander .text .button-primary {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px; /* Grotere tekst */
    padding: 15px 30px; /* Meer padding voor grotere knop */
}


/* Product overzicht */
.product-overzicht {
    padding: 40px 40px; /* Van 40px 150px naar 40px 40px */
}

.product-overzicht .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0; /* Verwijder de padding */
}

.product-overzicht .search-bar {
    margin-bottom: 40px;
    width: 100%;
    text-align: left;
    padding: 0 20px; /* Verplaats de padding naar de zoekbalk */
}

.product-overzicht .search-bar input {
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Zorgt dat padding binnen de width: 100% valt */
}

.product-overzicht .product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    justify-content: flex-start;
    padding: 0 20px; /* Voeg dezelfde padding toe aan de product list */
}

.product-overzicht .product-tile {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 280px; /* Aangepast van 375px naar 280px */
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: left;
}

.product-overzicht .product-tile:hover {
    transform: scale(1.05);
}

.product-overzicht .product-tile img {
    max-width: 100%;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.product-overzicht .product-tile h3 {
    font-size: 20px;
    margin: 10px 0;
}

.product-overzicht .product-tile p {
    font-size: 16px;
    color: #666;
}

/* Blauwe knop stijl */
.button-primary {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 
                0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.button-primary:hover {
    background-color: #0052a3; /* Iets donkerder blauw bij hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 
                0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Update de navigatie link stijl voor de Bekijk aanbod knop */
.navbar .nav-links a.button-primary {
    background-color: #0066cc;
    border-radius: 3px; /* Kleinere radius voor de navbar knop */
    color: white;
}

.navbar .nav-links a.button-primary:hover {
    background-color: #0052a3;
    opacity: 1;
}

/* Product detail pagina */
.product-detail {
    height: 100vh;
    display: flex;
    background: white;
    position: relative;
}

.product-detail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #5DA9DD;
}

.product-detail .content-wrapper {
    display: flex;
    flex: 1;
}

.product-detail .input-section {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 420px;
    border-right: none;
    background: #3B393B; /* menu achtergrond */
    color: #EEE;
    overflow-y: auto;
    max-height: 100%;
    /* Place the vertical scrollbar on the left while keeping content LTR */
    direction: rtl; /* moves scrollbar to the left in all major browsers */
    scrollbar-width: thin; /* Firefox styling */
    scrollbar-color: #2F2E2F #3B393B; /* thumb, track */
}

.product-detail .input-section .input-columns {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.product-detail .input-section .contact-fields {
    margin-top: auto;
    padding-top: 20px;
}

.product-detail .input-section .contact-fields .input-group {
    margin-bottom: 15px;
}

.product-detail .input-section .input-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail .input-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
}

.product-detail .input-group label {
    font-size: 12px;
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.product-detail .input-group .input-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.product-detail .input-group input,
.product-detail .input-group select {
    padding: 4px 8px;
    border: 1px solid #333333;
    border-radius: 3px;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #000000;
    font-weight: normal;
    height: 28px;
}

.product-detail .input-group .unit {
    font-size: 13px;
    color: #666666;
    white-space: nowrap;
}

.product-detail .input-group input:focus,
.product-detail .input-group select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

.product-detail .input-group select {
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px;
}

.product-detail .input-group select option {
    font-weight: normal;
    padding: 6px;
}

.product-detail .image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* allow panel to push viewer */
    padding: 0;
    position: relative; /* for slanted divider */
    overflow: hidden;   /* contain the skewed pseudo-element and hide overflow */
}

/* Reset content direction back to normal inside the RTL-scrolling panel */
.product-detail .input-section > * {
    direction: ltr;
}

/* Slanted divider using the menu color on the image section's left edge */
.product-detail .image-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    /* Rotated rectangle yields a constant angle independent of viewport size */
    width: 160px;                /* minimal coverage */
    height: 200%;                /* taller to cover full height when rotated */
    top: -50%;                   /* vertically center the oversized element */
    left: -120px;                /* position so the top meets ~0 width at the top edge */
    background: #3B393B;         /* same as menu background */
    transform: rotate(-2deg);    /* exact 2 degree angle */
    transform-origin: left center;
    pointer-events: none;        /* non-interactive overlay */
    z-index: 2;
}

/* Vertical Contact tab */
.contact-tab {
    position: absolute;
    top: 50%;
    right: 8px; /* inside the image area */
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 3; /* above slanted overlays */
    user-select: none;
}

.contact-tab:hover {
    transform: translateY(-50%) translateX(-4px);
    opacity: 0.95;
}

/* Sliding contact panel */
.contact-panel {
    /* slide in over the reserved space */
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    background: #3B393B; /* solid, same tint as menu */
    color: #FFFFFF;
    transform: translateX(100%);
    transition: transform 250ms ease;
    z-index: 3;
    display: flex;
    align-items: center;
    box-shadow: none;
}

.contact-panel.open {
    transform: translateX(0);
}

/* Spacer that actually pushes the viewer when panel is opened */
.contact-panel-spacer {
    flex: 0 0 auto;
    width: 0;
    height: 100%;
    transition: width 250ms ease;
}

.contact-panel-spacer.open {
    width: 280px;
}

.contact-panel-content {
    width: 100%;
    padding: 24px;
}

.contact-panel-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.contact-panel-content p {
    margin: 0 0 14px 0;
    font-size: 14px;
    color: #E0E0E0;
}

.contact-row {
    margin: 6px 0;
    font-size: 14px;
}

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

.product-detail .input-section .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.product-detail .input-section .button-outline,
.product-detail .input-section .button-primary {
    text-align: center;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: bold;
    background: #5DA9DD;
    cursor: pointer;
    width: 100%;
}

.product-detail .input-section .button-outline:hover,
.product-detail .input-section .button-primary:hover {
    background-color: #1D6CA1;
}

.product-viewer {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;     /* shrink when contact panel opens */
    min-width: 0;       /* allow flexbox to shrink content */
    cursor: grab;
    position: relative; /* Voeg position relative toe */
}

.product-viewer:active {
    cursor: grabbing;
}

.product-viewer .product-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    user-select: none;
    position: relative;
}

/* Frame image fills the canvas and stays below overlays */
.product-viewer .product-image .frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1; /* below loader (4) and contact tab (3) */
    -webkit-user-drag: none;
    user-select: none;
}

/* Loader overlay while frames are loading */
.viewer-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    z-index: 4; /* above slanted overlays and contact tab */
}
.viewer-loader .loader-text {
    color: #6B7280; /* medium grey */
    font-size: 14px;
    font-family: 'Rajdhani', Arial, sans-serif;
    letter-spacing: 0.3px;
}
.viewer-loader .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(107,114,128,0.25); /* light grey ring */
    border-top-color: #6B7280; /* medium grey head */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Mirrored slanted grey plane on the right side with same 2° angle */
.product-viewer .product-image::after {
    content: '';
    position: absolute;
    top: -50%;                /* center oversized element vertically */
    right: -120px;            /* pull into the image from the right edge */
    width: 160px;             /* minimal coverage */
    height: 200%;             /* taller to cover full height when rotated */
    background: #3B393B;      /* same grey as menu */
    transform: rotate(-2deg); /* flipped angle to be exactly opposite */
    transform-origin: right center;
    pointer-events: none;     /* keep product interactions */
    z-index: 2;
    transition: transform 0.2s ease; /* allow smooth hover movement */
}

/* Move triangle only when the contact tab is hovered (JS toggles .tab-hover) */
.product-viewer .product-image.tab-hover::after {
    transform: rotate(-2deg) translateX(-4px);
}

.product-viewer .product-image.mirrored {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* Options list styling */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0 4px 0;
}

/* Header above options with cart icon */
.options-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* align to left edge of rows */
    width: 32px;                /* same width as checkbox column */
    color: #EDEDED;
    opacity: 0.9;
    margin: 0 0 8px 0;
}
.options-header .icon-cart {
    color: #EDEDED;
    opacity: 0.9;
    width: 22px;
    height: 22px;
    margin-left: 5px;           /* center the 22px icon within 32px column */
}

.option-row {
    display: flex;
    gap: 8px; /* space between checkbox and button */
    align-items: center;
}

/* Sub-option row styling (nested under a parent option) */
.sub-option-row {
    display: none;           /* hidden by default */
    padding-left: 0;         /* checkbox aligns with others; button handles indent */
    position: relative;      /* anchor connector lines */
}
.sub-option-row.visible {
    display: flex;           /* shown when parent is checked */
}
/* Connector lines to indicate hierarchy under carrier */
.sub-option-row .sub-connector {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 64px;            /* matches .option-button.sub margin-left */
    pointer-events: none;
}
.sub-option-row .sub-connector::before {
    /* horizontal elbow pointing to the indented button */
    content: '';
    position: absolute;
    top: 50%;
    left: 64px;             /* start at the gutter */
    width: 16px;            /* extend into the button area */
    height: 2px;
    background: #555;
    opacity: 0.6;
    transform: translateY(-1px);
}
.sub-option-row .sub-connector::after {
    /* short vertical segment to suggest connection */
    content: '';
    position: absolute;
    top: 0;
    bottom: calc(50% + 1px);
    left: 64px;             /* aligns with .option-button.sub margin-left */
    width: 2px;
    background: #555;
    opacity: 0.6;
}
/* Indent the checkbox for sub-option */
/* extra visual indent already handled by .sub-option-row padding-left */
/* Extra left padding to account for deeper checkbox position */
.option-button.sub {
    margin-left: 64px;     /* slightly less indent; aligns with connector */
    padding-left: 16px;    /* same internal padding as base for centered text */
    background: #2D2B2D;   /* slightly different to suggest nesting */
}


.checkbox-button {
    position: static;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-button:hover {
    background: transparent; /* keep invisible on hover */
    border: none;
}

.checkbox-button:focus,
.checkbox-button:focus-visible,
.checkbox-button:active {
    outline: none;
    box-shadow: none;
    background: transparent;
    border: none;
}

.checkbox-button.error {
    background: transparent; /* keep invisible when checked */
}

/* Ensure error state is clearly visible without a border */
.checkbox-button.error .checkbox {
    color: #e53935 !important;
}

.checkbox-button .checkbox {
    font-size: 24px; /* larger glyph */
    color: #BDBDBD;
    transition: all 0.2s;
}

.checkbox-button.checked .checkbox {
    color: #8ad19a;
}

/* Checkbox error highlight */
.checkbox-button.error {
    border-color: #e53935 !important;
}

.option-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    background: #323032; /* base neutral tint */
    border: 2px solid transparent; /* baseline to avoid size change when active */
    border-radius: 0;    /* sharp corners */
    box-sizing: border-box; /* avoid layout shift when active border appears */
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    text-align: center;
    color: #EDEDED;
    position: relative;
    padding-right: 44px; /* room for info icon */
}

.option-button:hover {
    background: #373537; /* subtle neutral hover tint */
}

.option-button.active {
    border-color: #349C4C;     /* same green as name/email fields */
    background: #323032;       /* keep neutral fill; only border turns green */
}

.option-button .option-label {
    font-weight: 500;
    color: #EDEDED;
}

/* Info indicator aligned to the far right inside the button */
.option-button::after {
    content: 'i';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #E0E0E0;
    color: #E0E0E0;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
}

/* Info panel */
.info-panel {
    margin-top: 12px;
    background: #349C4C; /* green background */
    color: #FFFFFF; /* white text */
    border-radius: 0; /* square corners */
    box-shadow: none; /* no shadow/border */
}
.info-header {
    background: transparent; /* blend with panel */
    padding: 12px 16px 6px 16px; /* space for divider */
    display: flex;
    align-items: center;
}
.info-header .info-title {
    display: flex;
    flex-direction: column;
}
.info-header h3 {
    margin: 0;
    font-size: 16px;
    color: #FFFFFF;
    display: inline-block; /* divider under title width only */
    padding-bottom: 6px;
    border-bottom: 2.5px solid #FFFFFF; /* divider */
}
.info-header .info-subtitle {
    margin-top: 6px;
    font-size: 12px;
    color: #E0E0E0;
    letter-spacing: 0.3px;
}
.option-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto; /* push to the right */
}
.option-toggle[hidden] { display: none !important; }
.option-toggle .toggle-text {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.9;
}
/* Switch control */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.switch input { display: none; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #555; /* neutral color */
    transition: 0.2s ease;
    border-radius: 20px;
}
.slider:before {
    position: absolute;
    content: '';
    height: 14px; width: 14px;
    left: 3px; top: 3px;
    background-color: white;
    transition: 0.2s ease;
    border-radius: 50%;
}
.switch input:checked + .slider { background-color: #555; }
.switch input:checked + .slider:before {
    transform: translateX(20px);
}
.info-content {
    padding: 8px 16px 16px 16px;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line; /* render \n as line breaks */
}

/* Mini form */
.mini-form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.dependency-warning {
    background: #E53935; /* solid red */
    color: #FFFFFF;      /* white text */
    border: none;        /* no border */
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
}
.mini-form-row input[type="text"],
.mini-form-row input[type="email"],
.mini-form-row input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 2px solid transparent; /* fixed thickness to avoid layout shift */
    border-radius: 0;
    background: #3B393B; /* same as menu background */
    color: #FFFFFF;
}
.mini-form-row input::placeholder {
    color: #FFFFFF; /* white placeholder text */
}
.mini-form-row input:hover,
.mini-form-row input:focus {
    outline: none;
    border-color: #349C4C; /* green highlight on hover/focus */
    box-shadow: none;
}
.mini-form-actions {
    margin-top: 4px;
}
.mini-form .button-primary {
    width: 100%;
    background: #349C4C; /* EMOVR groen */
    border: none;
    color: #fff;
    font-weight: 600;
    font-family: 'Rajdhani', Arial, sans-serif;
    text-transform: capitalize;
    padding: 12px 16px;
    border-radius: 0;
    transition: background 0.2s ease, transform 0.05s ease;
}
.mini-form .button-primary:hover {
    background: #2f8d45;
}
.mini-form .button-primary:active {
    transform: translateY(1px);
}

/* Stronger override to beat previous generic button styles in the left panel */
.product-detail .input-section .mini-form .button-primary {
    background: #349C4C !important;
    border-radius: 0 !important;
}

.offer-confirm {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 220ms ease;
    z-index: 6;
}
.offer-confirm[aria-hidden="true"] { display: none; }
.offer-confirm.show { transform: translateY(0); }
.offer-confirm .offer-confirm-content {
    background: #349C4C;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}
.offer-confirm .offer-confirm-text {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
}
.offer-confirm .offer-confirm-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Remove rounded corners from any remaining elements in the left menu */
.product-detail .input-section .button-primary,
.product-detail .input-section .button-outline {
    border-radius: 0 !important;
}




@media (max-width: 900px) {
    .navbar {
        padding: 10px 60px;
    }
    .navbar .logo {
        font-size: 20px; /* Kleiner op medium schermen */
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 10px 40px;
        flex-direction: column; /* Logo en nav-links onder elkaar */
        gap: 10px; /* Ruimte tussen logo en nav-links */
    }

    .navbar .logo {
        font-size: 18px;
    }

    .navbar .nav-links {
        flex-direction: column; /* Links onder elkaar */
        width: 100%; /* Volledige breedte */
        align-items: center; /* Links centreren */
        gap: 10px; /* Ruimte tussen de links */
        margin-left: 0; /* Reset de auto margin */
    }

    .navbar .nav-links a {
        width: 100%; /* Links volledige breedte */
        text-align: center; /* Text centreren */
        padding: 10px 0; /* Meer klikbaar gebied */
    }

    .product-detail {
        flex-direction: column;
        height: auto;
    }

    .product-detail .input-section {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1);
        order: 2; /* Plaats input sectie onder de afbeelding */
    }

    .product-detail .image-section {
        height: 100vh;
        order: 1; /* Plaats afbeelding bovenaan */
    }

    .product-viewer {
        height: 100vh;
    }

    /* Mobile: overlay the input-section off-canvas by default */
    .product-detail { flex-direction: column; height: auto; }
    .product-detail .input-section {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        max-width: 100%;
        border-right: none;
        border-bottom: none;
        box-shadow: none;
        order: initial;
        transform: translateX(-100%);
        transition: transform 250ms ease;
        z-index: 5;
    }
    .product-detail .image-section { height: 100vh; order: initial; }
    .product-viewer { height: 100vh; }

    /* Tabs visibility: config and contact visible in viewer mode */
    .config-tab { display: block; }
    .contact-tab { display: block; }
    .viewer-tab { display: none; }

    /* When config is open on mobile */
    .product-detail.mobile-config-open .input-section { transform: translateX(0); }
    .product-detail.mobile-config-open .image-section { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
    .product-detail.mobile-config-open .config-tab { display: none; }
    .product-detail.mobile-config-open .contact-tab { display: none; }
    .product-detail.mobile-config-open .viewer-tab { display: block; }
}

@media (max-width: 400px) {
    .navbar {
        padding: 10px 20px;
    }
    .navbar .logo {
        font-size: 16px; /* Kleinste formaat voor zeer kleine schermen */
    }
}

@media (max-width: 700px) {
    body {
        font-size: 14px; /* Basis font size kleiner */
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }


    .product-overzicht .product-tile h3 {
        font-size: 16px;
    }

    .product-overzicht .product-tile p {
        font-size: 14px;
    }

}


.logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
}

.logo {
    max-width: 180px;
    height: auto;
}


.contact-link {
    color: #666666;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #1D6CA1;
}


.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #5DA9DD;
    color: white;
    font-size: 10px;
    font-weight: bold;
    margin-left: 4px;
    cursor: help;
    position: relative;
    vertical-align: middle;
}

.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: none;
    padding: 8px 12px;
    background-color: #333;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: normal;
    z-index: 9999;
    margin-bottom: 8px;
    width: 200px;
    text-align: left;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-icon:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 4px;
    transform: none;
    border-width: 4px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    z-index: 9999;
}

/* Zorg ervoor dat de labels de juiste breedte hebben */
.input-group label {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Verwijder alle absolute positionering */
.tooltip-icon {
    position: relative;
    margin-left: 8px;
}

/* Zorg ervoor dat de tooltip binnen de div blijft */
.input-column:last-child .tooltip-icon:hover::after {
    left: auto;
    right: 0;
}

.input-column:last-child .tooltip-icon:hover::before {
    left: auto;
    right: 4px;
}


.content-with-image {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.text-content {
    flex: 2.5;
}

.image-content {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.section-image {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
        gap: 1rem;
    }
    
    .text-content, .image-content {
        width: 100%;
    }

    .image-content {
        justify-content: center;
    }

    .section-image {
        max-width: 75%;
    }
}


/* Verwijder fade-in animatie en maak tekst altijd zichtbaar */
.fade-in-up, .visible, .text-content, .image-content, .text-container {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

.product-detail .input-group input[readonly] {
    background-color: #f5f5f5;
    color: #666666;
    cursor: not-allowed;
    border-color: #cccccc;
}

.product-detail .input-group input[readonly]:focus {
    outline: none;
    border-color: #cccccc;
    box-shadow: none;
}

 