/*
 Theme Name:   Cleanflex Thema
 Theme URI:    https://www.burodebom.nl/
 Description:  Cleanflex thema door buro_deBom
 Author:       buro_deBom
 Author URI:   https://www.burodebom.nl/
 Template:     neve
 Version:      1.0.0
 Tags:         plaats, hier, jouw, tags, gescheiden, door, kommas
 Text Domain:  neve-child
*/

/* =============================================================
   INHOUDSOPGAVE
   1. Producten archief
   2. Product detail
   3. Contactformulier
   4. Header
   5. Mobiel menu
   6. Footer
   7. Breadcrumbs
   8. Overig
   ============================================================= */


/* =============================================================
   1. PRODUCTEN ARCHIEF
   ============================================================= */

.cleanflex-producten-archief .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.cf-product-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
    align-items: flex-start;
}

.cf-product-image {
    flex: 0 0 280px;
}

.cf-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cf-product-content {
    flex: 1;
    padding-top: 0.5rem;
}

.cf-product-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cf-product-content h2 a {
    text-decoration: none;
    color: inherit;
}

.cf-product-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.25rem;
}

.cf-btn-offerte {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    background: #c8e1f5;
    border: 1px solid #c8e1f5;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cf-btn-offerte:hover {
    background: transparent;
    color: #333;
    border-color: #333;
}


/* =============================================================
   2. PRODUCT DETAIL
   ============================================================= */

.cleanflex-product-detail .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.cf-detail-inner {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
}

.cf-detail-image {
    flex: 0 0 480px;
    position: relative;
}

.cf-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cf-detail-content {
    flex: 1;
    padding-top: 0.25rem;
}

.cf-detail-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cf-detail-category {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.cf-detail-category a {
    color: #2980b9;
    text-decoration: none;
}

.cf-description-tab {
    font-size: 1rem;
    font-weight: 700;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #333;
    display: inline-block;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.cf-detail-description strong,
.cf-detail-description b {
    display: block;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

.cf-detail-description ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.cf-detail-description ul li::before {
    content: "○ ";
    color: #333;
}

/* Offerte knop */
.cf-offerte-toggle {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #2980b9;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 1.25rem;
    transition: background 0.2s;
}

.cf-offerte-toggle:hover {
    background: #1f6898;
}

/* Uitklapbaar formulier */
.cf-offerte-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Elementor image boxes uitlijning */
[data-id="9be7e05"] .elementor-image-box-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

[data-id="9be7e05"] .elementor-image-box-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

[data-id="9be7e05"] .elementor-image-box-description {
    flex: 1;
}

[data-id="9be7e05"] .elementor-widget-button {
    margin-top: auto;
}

[data-id="9be7e05"] .elementor-column .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .cf-product-item,
    .cf-detail-inner {
        flex-direction: column;
    }

    .cf-detail-image,
    .cf-product-image {
        flex: unset;
        width: 100%;
    }

    .cf-offerte-form {
        margin-left: 1rem;
        margin-right: 1rem;
        overflow: hidden;
        box-sizing: border-box;
    }

    .cf-offerte-form input,
    .cf-offerte-form textarea,
    .cf-offerte-form select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wpcf7-form {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =============================================================
   3. CONTACTFORMULIER
   ============================================================= */

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
    width: 100% !important;
    max-width: 680px !important;
    background: #e8e8e8 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 1rem 1.2rem !important;
    font-size: 1rem !important;
    color: #333 !important;
    box-sizing: border-box !important;
    display: block !important;
}

.wpcf7-form .wpcf7-textarea {
    min-height: 280px !important;
    resize: vertical !important;
}

.wpcf7-form label,
.wpcf7-form .wpcf7-form-control-wrap {
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: block !important;
    margin-bottom: 1.5rem !important;
}

/* Witte labels op contactpagina (page-id-38) */
.elementor-page-38 .wpcf7-form label,
.elementor-page-38 .wpcf7-form .wpcf7-form-control-wrap {
    color: #fff !important;
}

/* Zwarte labels op andere pagina's (page-id-40) */
.elementor-page-40 .wpcf7-form label,
.elementor-page-40 .wpcf7-form .wpcf7-form-control-wrap {
    color: #000 !important;
}

.wpcf7 {
    padding: 3rem 2rem !important;
    max-width: 680px !important;
    margin: 0 auto !important;
}

.wpcf7-form .wpcf7-submit {
    width: 100% !important;
    max-width: 680px !important;
    padding: 1rem !important;
    background: #c8dce8 !important;
    color: #333 !important;
    border: none !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    margin-top: 1rem !important;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #a8c4d8 !important;
}


/* =============================================================
   4. HEADER
   ============================================================= */

/* Zoekbalk verbergen */
.builder-item--header_search_responsive {
    display: none;
}

/* Menu-items verticaal uitlijnen */
header .nav-ul li:not(.current-menu-item):not(.current_page_item) a {
    padding-top: 10px !important;
}

/* Actief menu-item kleur */
header .current_page_item a,
header .current-menu-item a {
    color: #F28C28 !important;
    margin-top: 8px;
}

/* Contact knop oranje */
.contactBttn > .wrap > a {
    background-color: #F28C28 !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 4px !important;
}

.contactBttn > .wrap > a:hover {
    background-color: #d97820 !important;
}

/* Zwarte achtergrond op active state verwijderen */
header .contactBttn.current-menu-item,
header .contactBttn.current_page_item,
header .contactBttn.nv-active {
    background-color: transparent !important;
    border: none !important;
}


/* =============================================================
   5. MOBIEL MENU
   ============================================================= */

.header-menu-sidebar,
.header-menu-sidebar-inner {
    background: #C8E1F5 !important;
    --nv-site-bg: #C8E1F5 !important;
}

.header-menu-sidebar .nav-ul li a,
.header-menu-sidebar .nav-ul li .wrap > a {
    color: #1a1a1a !important;
    font-size: 1rem !important;
}

body .header-menu-sidebar .current-menu-item,
body .header-menu-sidebar .current_page_item {
    background: rgba(0, 0, 0, 0.10) !important;
    border-left: 3px solid #1a5a8a !important;
}

body .header-menu-sidebar .current-menu-item > .wrap,
body .header-menu-sidebar .current_page_item > .wrap {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

body .header-menu-sidebar .current-menu-item a,
body .header-menu-sidebar .current_page_item a {
    color: #1a3a5a !important;
    background: transparent !important;
}

.close-sidebar-panel,
.close-sidebar-panel button,
.navbar-toggle-wrapper button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1rem 1rem 0.5rem auto !important;
    cursor: pointer !important;
}

.header-menu-sidebar-overlay,
.hfg-ov {
    background: rgba(0, 0, 0, 0.4) !important;
}


/* =============================================================
   6. FOOTER
   ============================================================= */

#cb-row--footer-desktop-bottom,
.builder-item--footer_copyright {
    display: none !important;
}

.nv-footer-content .builder-item:nth-child(2) {
    min-width: 400px;
    margin: 0 auto;
}

.hfg_footer,
.footer--row,
.footer-top-inner,
.footer--row .container {
    background-color: #c8e1f5 !important;
}

.hfg_footer {
    padding: 25px 0;
}

@media screen and (max-width: 960px) {
    .site-footer .widget_media_image img {
        max-width: 300px !important;
    }
}


/* =============================================================
   7. BREADCRUMBS
   ============================================================= */

.aioseo-breadcrumbs {
    font-size: 13px;
}

.aioseo-breadcrumbs a {
    font-weight: bold;
}

@media (max-width: 768px) {
    .aioseo-breadcrumbs {
        text-align: center;
    }
}


/* =============================================================
   8. OVERIG
   ============================================================= */

/* reCAPTCHA badge verbergen */
.grecaptcha-badge {
    visibility: hidden !important;
}