/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   1. ALGEMENE ELEMENT STIJLEN & EFFECTEN (GLOBAL & HEADER)
========================================================================== */

.bestel-knop {
  display: inline-flex;
  background-color: #4BF23A;
  color: #fff;
  border-width: 2px;
  border-style: solid;
  border-color: #4BF23A;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(75, 242, 58, 0.4), 0 0 10px rgba(75, 242, 58, 0.4);
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 0px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 300ms ease-in-out;
  padding: 15px 20px;
  cursor: pointer;
}

.bestel-knop:hover,
.bestel-knop:active {
  background-color: #4BF23A;
  color: #ffffff;
  border-width: 4px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
  animation: outlineExpand 1s ease-in-out forwards;
  text-shadow: 1px 1px 2px #2e5d25;
}

@keyframes outlineExpand {
  0% { outline-color: rgba(255, 255, 255, 0); outline-offset: 0px; }
  20% { outline-color: rgba(255, 255, 255, 0.4); outline-offset: 4px; }
  40% { outline-color: rgba(255, 255, 255, 0.7); outline-offset: 8px; }
  60% { outline-color: rgba(255, 255, 255, 1); outline-offset: 12px; }
  100% { outline-color: rgba(255, 255, 255, 0); outline-offset: 15px; }
}

.header-button {
    transition: all 0.3s ease-in-out;
}

.header-button:hover {
    background-color: #ffffff !important;
    color: #222222 !important;
    border-color: #4BF23A !important;
    transform: translateY(-3px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.95);
}

.header-button:hover .gb-icon svg {
    fill: #000;
}

.site-logo img, .custom-logo {
    animation: dubbele-flits-rood-traag 5s ease-out infinite;
}

@keyframes dubbele-flits-rood-traag {
    0%   { filter: drop-shadow(0 0 0 rgba(217, 13, 21, 0)); }
    5%   { filter: drop-shadow(0 0 10px rgba(217, 13, 21, 1)) drop-shadow(0 0 30px rgba(217, 13, 21, 0.8)); }
    10%  { filter: drop-shadow(0 0 0 rgba(217, 13, 21, 0)); }
    15%  { filter: drop-shadow(0 0 10px rgba(217, 13, 21, 1)) drop-shadow(0 0 30px rgba(217, 13, 21, 0.8)); }
    20%  { filter: drop-shadow(0 0 0 rgba(217, 13, 21, 0)); }
    25%  { filter: drop-shadow(0 0 10px rgba(217, 13, 21, 1)) drop-shadow(0 0 30px rgba(217, 13, 21, 0.8)); }
    30%  { filter: drop-shadow(0 0 0 rgba(217, 13, 21, 0)); }
    100% { filter: drop-shadow(0 0 0 rgba(217, 13, 21, 0)); }
}

/* ==========================================================================
   2. STATISCHE HEADER (Schoon & Direct)
========================================================================== */
.breda-header-wrapper {
    position: relative;
    height: 100vh; 
    background-color: #000000; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-image: url('https://breda-achterlicht.nl/wp-content/uploads/2026/01/Breda-Achterlicht-website-header-steeg-breda-in-het-donker.png');
    background-size: cover;
    background-position: center;
}

/* De schone wrapper, laadt direct in */
.hero-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; 
}

.hero-content-box {
    text-align: center;
    padding: 20px;
    max-width: 850px;
    width: 100%;
}

.hero-title {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.9);
}

.text-breda-rood {
    color: #e3000f;
}

.hero-usp {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 35px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .hero-title { font-size: 28px; }
    .hero-usp { font-size: 15px; margin-bottom: 25px; }
}

.cta-button-breda {
    background-color: #4BF23A;
    color: #222222;
    border: 2px solid #4BF23A;
    border-radius: 50px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    margin: 0;
}

@media (max-width: 768px) {
    .cta-button-breda {
        padding: 12px 30px;
        font-size: 18px;
    }
}

/* ==========================================================================
   3. WOOCOMMERCE SYSTEM & CHECKOUT BLOCKS FUNNEL OPTIMALISATIE
========================================================================== */

.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-products-header__title,
.woocommerce-product-gallery__trigger,
.product_meta,
.quantity {
  display: none !important;
}

.wc-block-cart__submit.doorgaan-afrekenen {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-checkout__actions .wc-block-components-button {
    background-color: #4BF23A !important;
    color: #222222 !important; 
    border: 2px solid #4BF23A !important;
    border-radius: 50px !important; 
    padding: 15px 40px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-transform: none !important;
    box-shadow: 0px 4px 15px rgba(75, 242, 58, 0.4) !important;
    transition: all 0.3s ease-in-out !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-checkout__actions .wc-block-components-button:hover {
    background-color: #ffffff !important;
    color: #222222 !important;
    border-color: #4BF23A !important;
    transform: translateY(-3px) !important;
    box-shadow: 0px 8px 20px rgba(75, 242, 58, 0.6) !important;
}

.wc-block-components-button .wc-block-components-spinner {
    color: #222222 !important;
}

/* ==========================================================================
   4. WINKEL OVERZICHT (PRODUCT CARDS ARCHIEF GRID)
========================================================================== */

ul.products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  gap: 20px;
}

ul.products li.product {
  background-color: #ffffff;
  color: #222;
  border-radius: 20px; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.07);
  border: 1px solid rgba(255,255,255,0.5); 
  padding: 30px 20px 0 20px !important; 
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 40px;
  max-width: 300px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; 
}

ul.products li.product:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18), 0 10px 20px rgba(0,0,0,0.10);
    z-index: 2;
}

ul.products li.product a img {
    margin-bottom: 15px !important;
    border-radius: 10px;
    background: transparent !important;
    box-shadow: none !important;
    height: auto;
    max-width: 100%;
}

ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 1.4rem;
    color: #222; 
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

ul.products li.product .price, 
ul.products li.product .woocommerce-Price-amount {
    color: #D90D15 !important;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 800;
    font-size: 1.3rem !important;
    display: block;
    margin-bottom: 25px; 
    padding-top: 0 !important;
}

ul.products li.product .button.add_to_cart_button {
    background-color: #4BF23A !important;
    color: #222 !important; 
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700;
    text-transform: none !important; 
    font-size: 18px !important; 
    border-radius: 0 0 20px 20px !important; 
    width: calc(100% + 40px) !important; 
    margin-left: -20px !important;
    margin-right: -20px !important;
    margin-bottom: 0 !important;
    margin-top: auto !important;
    padding: 25px 0 !important; 
    border: none !important;
    display: block !important;
    line-height: 1;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    outline: none;
    text-shadow: none;
}

ul.products li.product .button.add_to_cart_button:hover {
    background-color: #ffffff !important; 
    color: #222 !important; 
    box-shadow: inset 0 0 0 3px #4BF23A !important; 
}

@media (max-width: 768px) {
  ul.products { padding: 0 10px; }
  ul.products li.product { max-width: 100%; margin: 10px 0; flex: 1 1 auto; }
}

/* ==========================================================================
   5. SINGLE PRODUCT PAGINA (RESTYLE BASISELEMENTEN)
========================================================================== */

.product_title.entry-title {
    font-family: 'Archivo Black', sans-serif !important;
    text-transform: uppercase;
    font-size: 2.5rem !important; 
    color: #222;
    margin-bottom: 10px;
}

.single-product .summary .price {
    color: #D90D15 !important;
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800;
    opacity: 1 !important; 
}

button.single_add_to_cart_button {
    background-color: #4BF23A !important;
    color: #222 !important; 
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important; 
    font-size: 18px !important;
    border-radius: 50px !important; 
    padding: 20px 40px !important; 
    border: 2px solid #4BF23A !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 5px 15px rgba(75, 242, 58, 0.3) !important;
    margin-top: 20px !important;
}

button.single_add_to_cart_button:hover {
    background-color: #ffffff !important;
    color: #222 !important;
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 3px #4BF23A, 0 10px 25px rgba(75, 242, 58, 0.5) !important; 
}

.woocommerce-product-gallery img {
    border-radius: 20px !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; 
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.flex-control-thumbs li img {
    border-radius: 10px !important;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active {
    opacity: 1;
    border: 2px solid #D90D15 !important; 
}

.woocommerce-product-details__short-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.woocommerce-tabs ul.tabs {
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
}

.woocommerce-tabs ul.tabs li.active {
    border-bottom: 3px solid #D90D15 !important; 
}

.woocommerce-tabs ul.tabs li a {
    font-family: 'Archivo Black', sans-serif !important;
    color: #222 !important;
    text-transform: uppercase;
    font-size: 16px !important;
}

/* ==========================================================================
   6. CUSTOM USP KAARTEN (BATTERIJ, WATERDICHT, OPLADEN)
========================================================================== */

/* De buitenste container zorgt dat ze netjes naast elkaar staan op desktop */
.breda-usp-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

/* De styling van het individuele witte kaartje */
.breda-usp-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center; 
    flex: 1 1 300px; /* Kaarten worden ~300px breed op desktop */
    max-width: 400px; 
}

/* De container voor het icoon */
.usp-icon {
    width: 60px;
    height: 60px;
    min-width: 60px; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px; 
    flex-shrink: 0;
}

.usp-icon svg {
    width: 28px;
    height: 28px;
}

/* Kleuren van de iconen (Aangepast met 'color' voor currentColor SVG's) */
.usp-icon.groen { background-color: rgba(58, 242, 107, 0.15); color: #3AF26B; }
.usp-icon.groen svg { fill: #3AF26B; }

.usp-icon.blauw { background-color: rgba(30, 115, 190, 0.15); color: #1e73be; }
.usp-icon.blauw svg { fill: #1e73be; }

.usp-icon.rood { background-color: rgba(217, 13, 21, 0.15); color: #D90D15; }
.usp-icon.rood svg { fill: #D90D15; }

/* De container voor de teksten */
.usp-text {
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

/* De vette titel */
.usp-text h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 5px 0 !important; 
    padding: 0 !important;
    line-height: 1.2;
    text-transform: none;
}

/* De subtitel */
.usp-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #666666;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

/* Mobiele optimalisatie: Reset de flex-hoogte en pas padding aan */
@media (max-width: 768px) {
    .breda-usp-wrapper {
        flex-direction: column; 
        align-items: stretch;
    }
    
    .breda-usp-card {
        max-width: 100%; 
        padding: 15px 20px;
        flex: 0 0 auto; /* DIT IS DE FIX: Zorgt dat de kaart alleen de hoogte van de inhoud pakt */
    }
    
    .usp-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin-right: 15px;
    }
    
    .usp-icon svg { width: 24px; height: 24px; }
    .usp-text h4 { font-size: 22px; }
    .usp-text p { font-size: 20px; }
}

/* ==========================================================================
   7. ZWEVENDE BESTELKNOP (PIL)
========================================================================== */

.zwevende-pil {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #4BF23A;
    color: #222222 !important;
    border: 2px solid #4BF23A;
    border-radius: 50px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: none;
    padding: 15px 40px 15px 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.zwevende-pil.zichtbaar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.zwevende-pil:hover {
    background-color: #ffffff;
    color: #222222 !important;
    border-color: #4BF23A;
    transform: translateY(-3px);
}

.zwevende-pil .pil-icoon svg {
    fill: currentColor;
    width: 1em;
    height: 1em;
}

@media screen and (max-width: 768px) {
    .zwevende-pil {
        padding: 10px 25px !important;
        font-size: 16px !important;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   8. FAQ ACCORDEON BLOCK STYLING
========================================================================== */

.wp-block-accordion-item.faq-blok {
    background-color: #f7f8f9 !important;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    border: none !important;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
}

@media (max-width: 768px) {
    .wp-block-accordion-item.faq-blok { width: 100% !important; }
}

.wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle {
    padding: 25px 30px !important;
    font-size: 18px !important; 
    font-weight: 700 !important;
    color: #222 !important;
    background-color: transparent !important; 
    border: none !important;
    border-radius: 15px !important;
}

.wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle:focus,
.wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle:active {
    background-color: transparent !important; 
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle-icon {
    color: #f27f0d !important;
}

.wp-block-accordion-item.faq-blok .wp-block-accordion-panel {
    padding: 0 30px 30px 30px !important; 
    font-size: 16px !important;
    color: #555 !important;
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .wp-block-accordion-item.faq-blok .wp-block-accordion-heading__toggle { 
        padding: 20px !important; 
        font-size: 16px !important; 
    }
    .wp-block-accordion-item.faq-blok .wp-block-accordion-panel { 
        padding: 0 20px 20px 20px !important; 
    }
}

/* ==========================================================================
   9. WAAROM DIT ACHTERLICHT (VOLLEDIG RESPONSIVE GRID & HOVER UPDATE)
========================================================================== */

.breda-section-gray {
    background-color: #f7f8f9; 
    padding: 40px;
    margin: 40px -20px; 
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-icon {
    background-color: rgba(217, 13, 21, 0.1) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.25s ease-in-out !important; 
}

.feature-icon svg {
    width: 26px !important;
    height: 26px !important;
    fill: #D90D15 !important;
    transition: all 0.25s ease-in-out !important;
}

.breda-feature-card h4 {
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #222222 !important;
}

.breda-feature-card p {
    font-size: 14px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
}

/* Groen bij hover over de kaart */
.breda-feature-card:hover .feature-icon {
    background-color: rgba(75, 242, 58, 0.15) !important; 
}

.breda-feature-card:hover .feature-icon svg {
    fill: #4BF23A !important; 
}

/* DESKTOP (Kaarten NAAST elkaar) */
@media (min-width: 769px) {
    .breda-features-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: space-between !important;
        align-items: stretch !important;
    }

    .breda-feature-card {
        background-color: #ffffff !important;
        padding: 30px 20px !important;
        border-radius: 10px !important;
        text-align: center !important;
        flex: 1 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        transition: transform 0.25s ease !important;
    }
    
    .breda-feature-card:hover {
        transform: translateY(-3px) !important;
    }

    .feature-icon { margin-bottom: 20px !important; }

    .breda-feature-card h4 {
        margin-bottom: 10px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* MOBIEL (Icoon links, H4 rechtsboven, P-tekst daaronder via CSS Grid) */
@media (max-width: 768px) {
    .breda-section-gray {
        margin: 30px -10px; 
        padding: 20px;
    }

    .breda-features-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .breda-feature-card {
        background-color: #ffffff !important;
        padding: 20px 15px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
        
        display: grid !important;
        grid-template-columns: 60px 1fr !important; 
        grid-template-rows: auto auto !important;
        column-gap: 15px !important;
        row-gap: 5px !important;
        align-items: center !important;
    }

    .feature-icon {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important; 
        margin-bottom: 0 !important;
        align-self: center !important;
    }

    .breda-feature-card h4 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        min-width: auto !important;
        max-width: none !important;
        align-self: end !important; 
    }

    .breda-feature-card p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: left !important;
        margin: 0 !important;
        padding-right: 0 !important;
        align-self: start !important;
    }
}

/* ==========================================================================
   10. SPECIFICATIES LIJST (UNIFIED & KOGELVRIJ)
========================================================================== */

.breda-section-specs {
    margin-top: 40px;
}

.breda-section-specs h3 {
    margin-bottom: 20px;
}

.breda-specs-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.breda-specs-list li {
    padding: 12px 20px !important;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    display: flex !important;
    flex-direction: row !important; 
    flex-wrap: nowrap !important; 
    align-items: flex-start !important;
}

.breda-specs-list li:last-child {
    border-bottom: none;
}

/* Kogelvrij groen vinkje */
.breda-specs-list li::before {
    content: "✓" !important;
    color: #4BF23A !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: inline-block !important;
    margin-right: 12px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

/* Vaste breedte voor labels tegen verspringen op desktop */
.breda-specs-list li strong {
    display: inline-block !important;
    min-width: 160px !important; /* Verhoogd van 130px naar 160px zodat 'Waterbestendig' makkelijk past */
    margin-bottom: 0 !important;
    margin-right: 5px !important;
    flex-shrink: 0 !important;
    color: #222;
}

.breda-outro {
    margin-top: 30px;
    font-size: 18px;
    text-align: center;
    color: #222;
}

@media (max-width: 500px) {
    .breda-specs-list li {
        font-size: 14px;
        padding: 12px 15px !important;
    }
    .breda-specs-list li strong {
        min-width: 135px !important; /* Ook op mobiel iets verhoogd zodat hij niet verspringt */
    }
}

@media (max-width: 768px) {
    .woocommerce-cart .entry-content,
    .woocommerce-checkout .entry-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Styling voor de footer links */
.site-info a, .footer-widgets a {
    color: #4a4a4a !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}
.site-info a:hover, .footer-widgets a:hover {
    color: #D90D15 !important; /* Breda Rood */
}

/* ==========================================================================
   8. HET EINDBEELD (AFBEELDING OVERLAY & TEKST)
========================================================================== */
.fade-in-groep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 🚀 FIX: Hier is een donkere filter (60% zwart) over je foto heen gelegd */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://breda-achterlicht.nl/wp-content/uploads/2026/01/Breda-Achterlicht-website-header-steeg-breda-in-het-donker.png') !important;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    animation: fadeInFinalScene 1.5s ease-in-out forwards;
    animation-delay: 8s;
}

@keyframes fadeInFinalScene { 
    to { opacity: 1; pointer-events: auto; } 
}

.hero-content-box { 
    text-align: center; 
    padding: 20px; 
    max-width: 850px; 
    width: 100%; 
}

.hero-title {
    color: #ffffff !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    
    /* 🚀 FIX: Zet de schreeuwerige hoofdletters uit */
    text-transform: none !important; 
    
    /* Maakt de schaduw achter de letters net iets dikker voor maximaal contrast */
    text-shadow: 0px 4px 25px rgba(0, 0, 0, 1) !important;
}

/* De subtitel in de header */
.hero-usp {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 400;
    margin-bottom: 35px !important;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.9);
}

/* 🚀 FIX: De nieuwe micro-copy met ademruimte onder de knop */
.hero-micro-copy {
    color: #ffffff;
    font-size: 15px; 
    font-family: 'Roboto', sans-serif;
    margin-top: 22px !important; /* Perfecte afstand tot de knop */
    margin-bottom: 0 !important;
    opacity: 0.9; 
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive aanpassingen voor mobiel */
@media (max-width: 768px) {
    .hero-title { font-size: 28px !important; }
    .hero-usp { font-size: 15px !important; margin-bottom: 25px !important; }
}

/* ==========================================================================
   WOOCOMMERCE PRODUCTPAGINA
========================================================================== */
h1.product_title.entry-title {
    font-size: 34px !important; /* Aanzienlijk kleiner en eleganter */
    text-transform: none !important; /* Zet de schreeuwerige ALL-CAPS uit */
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important; /* Trekt hem wat strakker op de prijs */
    color: #1a1a1a !important; /* Zorgt voor een mooie, strakke donkere kleur */
}

/* Een tikje kleiner voor mobiele schermen */
@media (max-width: 768px) {
    h1.product_title.entry-title {
        font-size: 26px !important;
    }
}

@media (max-width: 768px) {
    /* 1. Verberg de broodkruimels op mobiel (scheelt direct een flinke balk) */
    .woocommerce-breadcrumb {
        display: none !important;
    }

    /* 2. Trek de hele fotogalerij iets strakker naar boven */
    .woocommerce-product-gallery {
        margin-bottom: 15px !important;
    }

    /* 3. Titel, prijs en tekst strak op elkaar zetten */
    h1.product_title.entry-title {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        font-size: 24px !important; /* Nog een tikkie kleiner voor ruimte */
    }

    p.price {
        margin-bottom: 10px !important;
    }

    .woocommerce-product-details__short-description {
        margin-bottom: 15px !important;
    }
    
    .woocommerce-product-details__short-description p {
        margin-bottom: 10px !important;
    }
}

/* Prijs styling strakker en subtieler maken */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins,
.woocommerce div.product p.price bdi {
    color: #1a1a1a !important; /* Een strakke, donkere antraciet/zwarte kleur */
    font-weight: 300 !important; /* 400 is normaal, 500 is subtiel, haalt de extreme 'bold' eruit */
}


/* ==========================================================================
   KASSA: LEVERING & AFHALEN KNOPPEN UX FIX
========================================================================== */

/* 1. Reset de ongeselecteerde knop (witte achtergrond, duidelijke rand) */
.wc-block-checkout__shipping-method-option {
    background-color: #ffffff !important;
    border: 2px solid #cbd5e1 !important; /* Een duidelijke, frisse grijze rand in plaats van een grijs vlak */
    opacity: 1 !important; /* Haalt de "disabled" transparantie weg */
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease-in-out !important;
}

/* 2. Maak de tekst en het icoon dik en donker (Weg met het dunne font) */
.wc-block-checkout__shipping-method-option-title {
    font-weight: 700 !important; /* Vetgedrukte letters */
    color: #1a1a1a !important; /* Keihard donkergrijs/zwart */
    font-size: 16px !important;
}

.wc-block-checkout__shipping-method-option-icon {
    fill: #1a1a1a !important; /* Maakt de SVG iconen donker */
    color: #1a1a1a !important;
}

/* 3. Hover effect: Nodig de klant uit om te klikken */
.wc-block-checkout__shipping-method-option:hover {
    border-color: #4BF23A !important; /* Jouw Breda-Groen */
    background-color: #f4fdf4 !important; /* Subtiele groene waas */
    cursor: pointer !important;
    transform: translateY(-2px) !important; /* Knop komt iets omhoog */
    box-shadow: 0 4px 10px rgba(75, 242, 58, 0.15) !important;
}

/* 4. De geselecteerde knop (Dik contrast) */
.wc-block-checkout__shipping-method-option[aria-checked="true"] {
    border: 2px solid #1a1a1a !important;
    background-color: #fafafa !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ==========================================================================
   KASSA: USP BULLETS VOLLEDIGE BREEDTE
========================================================================== */

/* 1. Verander de layout van het product-blok naar een Grid */
.wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important; /* Foto, Tekst, Totaalprijs */
    align-items: center;
    column-gap: 15px;
    row-gap: 5px;
}

/* 2. De magische truc: Haal de 'beschrijving' uit zijn onzichtbare doosje */
.wc-block-components-order-summary-item__description {
    display: contents !important;
}

/* 3. Zet de afbeelding links, over 2 rijen (naast titel en stukprijs) */
.wc-block-components-order-summary-item__image {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* 4. Producttitel in het midden, bovenin */
.wc-block-components-product-name {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    align-self: end;
}

/* 5. Stukprijs in het midden, onder de titel */
.wc-block-cart-item__prices {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

/* 6. Totaalprijs helemaal rechts */
.wc-block-components-order-summary-item__total-price {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
}

/* 7. De USP Bullets over de VOLLE breedte eronder zetten */
.wc-block-components-product-metadata {
    grid-column: 1 / -1 !important; /* Span van uiterst links naar uiterst rechts */
    grid-row: 3; /* Zet op een gloednieuwe rij onder de foto en prijzen */
    margin-top: 15px !important;
    padding-top: 12px !important;
    border-top: 1px dashed #cbd5e1; /* Subtiel lijntje erboven voor de netheid */
}

/* 8. Zorg dat de tekst mooi uitlijnt met wat meer ademruimte */
.wc-block-components-product-metadata__description p {
    margin: 0 !important;
    line-height: 1.6 !important;
    color: #4a4a4a !important;
    font-size: 14px !important;
}

/* ==========================================================================
   KASSA: KORTINGSREGEL LAYOUT & KLEUR
========================================================================== */

/* 1. Kleur en dikte van de letters */
.wc-block-components-totals-fees .wc-block-components-totals-item__label,
.wc-block-components-totals-fees .wc-block-components-totals-item__value,
.wc-block-components-totals-fees .wc-block-formatted-money-amount {
    color: #e3000f !important; 
    font-weight: 800 !important; 
    font-size: 15px !important; 
}

/* 2. De veilige Grid-layout: Bedrag altijd rechts, extra ruimte bovenin */
.wc-block-components-totals-item.wc-block-components-totals-fees {
    display: grid !important;
    grid-template-columns: 1fr auto !important; /* Tekst krijgt de ruimte, bedrag klemt rechts */
    align-items: start !important; /* Houdt ze netjes op dezelfde starthoogte */
    margin-top: 20px !important; /* Extra ademruimte aan de bovenkant */
    column-gap: 15px !important;
}

/* 3. Verberg de lege HTML div die WooCommerce soms stiekem injecteert */
.wc-block-components-totals-item.wc-block-components-totals-fees .wc-block-components-totals-item__description {
    display: none !important;
}

/* 4. Tekst strak links, bedrag strak rechts */
.wc-block-components-totals-fees .wc-block-components-totals-item__label {
    text-align: left !important;
    line-height: 1.4 !important;
}
.wc-block-components-totals-fees .wc-block-components-totals-item__value {
    text-align: right !important;
}

/* ==========================================================================
   BEVESTIGINGSPAGINA: RUIMTE & LUCHT VOOR HET PRODUCTBLOK
========================================================================== */

/* Geef het hele productblok in de winkelwagen wat meer lucht rondom */
tr.woocommerce-cart-form__cart-item, 
.wc-block-cart-item {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Zet de stukprijs netjes onder de titel met voldoende witruimte */
.wc-block-cart-item__prices {
    margin-top: 8px !important;
    margin-bottom: 15px !important;
}

/* Zet de vinkjes (metadata) mooi los van de prijs en de streep */
.wc-block-components-product-metadata {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    padding-top: 12px !important;
    border-top: 1px dashed #e2e8f0; /* Subtiel scheidingslijntje */
}

/* Zorg dat de regel-afstand van de vinkjes prettig leesbaar blijft */
.wc-block-components-product-metadata__description p {
    line-height: 1.6 !important;
}

/* Geef de hoeveelheid-selector (plus/min knop) en prullenbak ademruimte aan de onderkant */
.wc-block-cart-item__quantity {
    margin-top: 15px !important;
}

/* ==========================================================================
   1. FIX VOOR BEDANKPAGINA (Besteloverzicht 2x2 grid zonder e-mailadres)
   ========================================================================== */
ul.woocommerce-order-overview.order_details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 40px;
}

ul.woocommerce-order-overview.order_details::before,
ul.woocommerce-order-overview.order_details::after {
    display: none !important;
}

ul.woocommerce-order-overview.order_details li {
    float: none !important;
    border-right: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

ul.woocommerce-order-overview.order_details li strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: normal;
}

ul.woocommerce-order-overview.order_details li.email {
    display: none !important;
}

/* ==========================================================================
   2. FIX VOOR AFREKENPAGINA (Custom 3-rijen layout op basis van jouw ontwerp)
   ========================================================================== */

/* 1. Verberg de vinkjes */
.wc-block-components-product-metadata {
    display: none !important;
}

/* 2. Hoofdcontainer: 3 kolommen (Foto | Stukprijs | Totaal) en 3 rijen */
.wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 64px 1fr max-content !important;
    grid-template-rows: auto 64px auto !important; /* Forceer rij 2 op de hoogte van de foto */
    column-gap: 15px !important;
    row-gap: 12px !important;
    padding-top: 10px !important;
}

/* 3. Breek de middelste kolom open zodat de teksten los in het grid vallen */
.wc-block-components-order-summary-item__description {
    display: contents !important;
}

/* --- RIJ 1: Productnaam (Over de hele breedte, bovenaan) --- */
.wc-block-components-product-name {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    margin: 0 !important;
}

/* --- RIJ 2, KOLOM 1: Foto --- */
.wc-block-components-order-summary-item__image {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    align-self: center !important;
}

/* --- RIJ 2, KOLOM 2: Stuksprijs (Direct naast de foto) --- */
.wc-block-cart-item__prices {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    align-self: center !important; /* Forceer exact verticaal in het midden */
    line-height: 1 !important; /* Haal onzichtbare WooCommerce witruimte weg */
}

/* --- RIJ 2, KOLOM 3: Totaalprijs (Helemaal rechts, zelfde hoogte) --- */
.wc-block-components-order-summary-item__total-price {
    grid-column: 3 !important;
    grid-row: 2 !important;
    font-weight: bold !important;
    text-align: right !important;
    margin: 0 !important;
    align-self: center !important; /* Forceer exact verticaal in het midden */
    line-height: 1 !important; /* Haal onzichtbare WooCommerce witruimte weg */
}

/* --- RIJ 3: Nabestelling (Over de hele breedte, onderaan) --- */
.wc-block-components-product-badge,
.wc-block-components-product-backorder-badge {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 6px !important;
    white-space: normal !important;
}