/* ======================================================
   DELMATION CUSTOM STYLES
   ====================================================== */

/* 1. JOUW SPECIFIEKE LAYOUT OVERRIDE */
body.delmation .site-main {
    max-width: 94.063rem;
    margin: 0 auto;
    padding-left: 1.563rem;
    padding-right: 1.563rem;
}

#delmation-custom-template {
    max-width: 1455px;
    margin: 40px auto;
    color: #022242;
    box-sizing: border-box;
}

#delmation-custom-template * {
    box-sizing: border-box;
}

#delmation-custom-template .hidden-qty {
    display: none;
}

/* --- GRID LAYOUT --- */
#delmation-custom-template .dm-main-grid {
    display: grid;
    grid-template-columns: 1fr 580px;
    gap: 60px; /* Let op: in Figma is de gap tussen foto en tekst ook aanwezig */
    background: #ffffff;
    border: 2px solid #e5e8eb;
    border-radius: 10px;
    padding: 40px;
}

/* BELANGRIJK: Fix voor Owl Carousel binnen CSS Grid */

/* Zonder dit drukt de slider de kolom oneindig breed */
#delmation-custom-template .dm-col-gallery {
    min-width: 0;
    overflow: hidden;
}

@media (max-width:1200px) {
    #delmation-custom-template .dm-main-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width:991px) {
    #delmation-custom-template .dm-main-grid {
        grid-template-columns: 1fr;
        padding: 20px; /* Iets minder padding op mobiel */
        gap: 30px;
    }

    body #delmation-custom-template .dm-content-full {
        padding: 20px;
    }

}

/* --- GALLERY CAROUSEL (Figma Styling) --- */

/* De container box om de slider heen (frame-8114401 in Figma) */
#delmation-custom-template .dm-gallery-wrapper {
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #e5e8eb;
    padding: 40px; /* Ruimte rondom het plaatje */
    position: relative; /* Voor positionering navigatie */
    min-height: 400px; /* Minimale hoogte voor consistentie */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slide item centreren */
#delmation-custom-template .dm-product-carousel .dm-slide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px; /* Vaste hoogte tegen verspringen */
}

.dm-col-gallery .owl-carousel .owl-stage-outer {
    border-radius: 10px;
}

/* Afbeelding restricties */
#delmation-custom-template .dm-product-carousel img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    width: auto;
    object-fit: cover;
    margin: 0 auto;
    height: 100%;
    border-radius: 10px;
}

/* Navigatie Container (Pijltjes) */
#delmation-custom-template .dm-carousel-nav {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none; /* Klik gaat door container heen */
}

/* De Pijl Knoppen zelf (zoals .button in Figma) */
#delmation-custom-template .dm-nav-btn {
    pointer-events: auto; /* Knoppen wel klikbaar */
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

#delmation-custom-template .dm-nav-btn:hover {
    background: #fff;
}

/* Dots Styling (Bolletjes onderaan) */
#delmation-custom-template .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

#delmation-custom-template .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(113, 113, 130, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
}

#delmation-custom-template .owl-dot.active span {
    width: 24px;
    background: #022242;
}

/* --- TYPOGRAPHY --- */
#delmation-custom-template .dm-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #022242;
    margin-bottom: 12px;
    padding: 0;
    clear: none;
}

#delmation-custom-template .dm-description {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #022242;
}

/* --- PURCHASE CARD --- */
#delmation-custom-template .dm-purchase-card {
    background: #E7E8EC;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    border: none;
}

#delmation-custom-template .dm-price-row {
    margin-bottom: 24px;
}

#delmation-custom-template .dm-price {
    font-size: 32px;
    font-weight: 700;
    color: #022242;
    line-height: 1.2;
    display: block;
}

#delmation-custom-template .dm-price .amount {
    color: #022242;
}

#delmation-custom-template .dm-vat-text {
    font-size: 12px;
    color: #717182;
    margin-top: 4px;
    font-weight: 400;
}

/* --- ACTIONS BAR (Qty + Buttons) --- */
#delmation-custom-template .dm-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
}

#delmation-custom-template .dm-qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 0 16px;
    height: 54px;
    min-width: 100px;
}

#delmation-custom-template .dm-qty-control .quantity {
    display: none;
}

#delmation-custom-template .dm-qty-btn {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 16px;
    color: #022242;
    cursor: pointer;
    padding: 0;
}

#delmation-custom-template .dm-qty-display {
    font-weight: 700;
    font-size: 16px;
    color: #022242;
    width: 20px;
    text-align: center;
}

#delmation-custom-template .dm-btn-order {
    background-color: #EA5B0C;
    color: #fff;
    border: none;
    border-radius: 30px;
    height: 54px;
    padding: 0 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-grow: 1;
    margin: 0;
}

#delmation-custom-template .dm-btn-order:hover {
    background-color: #c94e0a;
}

#delmation-custom-template .dm-btn-offer {
    border: 2px solid #EA5B0C;
    border-radius: 30px;
    height: 54px;
    padding: 0 29px;
    color: #EA5B0C;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: transparent;
    flex-grow: 1;
}

#delmation-custom-template .dm-btn-offer:hover {
    background-color: #EA5B0C;
    color: #fff;
}

/* --- USP GRID --- */
#delmation-custom-template .dm-usp-grid {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width:480px) {
    #delmation-custom-template .dm-usp-grid {
        grid-template-columns: 1fr;
    }

}

#delmation-custom-template .dm-usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #022242;
    line-height: 20px;
}

#delmation-custom-template .dm-icon-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

#delmation-custom-template .dm-b2b-notice {
    font-size: 12px;
    line-height: 16px;
    color: #022242;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

/* --- EXTRA CONTENT --- */
#delmation-custom-template .dm-content-full {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e5e8eb;
    padding: 40px;
    margin-top: 1.5rem;
}

#delmation-custom-template .dm-content-full h6 {
    font-size: 1rem;
}

#delmation-custom-template .dm-content-full p:empty {
    display: none;
}

#delmation-custom-template .dm-content-full h2 {
    color: #022242;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Mobiele aanpassing voor Carousel Hoogte */
@media (max-width:768px) {
    #delmation-custom-template .dm-product-carousel .dm-slide-item {
        height: 200px;
    }

    #delmation-custom-template .dm-gallery-wrapper {
        padding: 20px;
        min-height: auto;
    }

    #delmation-custom-template .dm-carousel-nav {
        width: 100%;
        left: 0;
        right: unset;
    }

}

/* --- FAQ SECTION (Figma Styling) --- */

/* De buitenste wrapper */
#delmation-custom-template .dm-faq-wrapper {
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #e5e8eb;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

/* De titel */
#delmation-custom-template .dm-faq-main-title {
    color: #022242;
    text-align: left;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

/* De lijst met vragen */
#delmation-custom-template .dm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Een enkel item (Border & Radius) */
#delmation-custom-template .dm-faq-item {
    border-radius: 10px;
    border: 2px solid rgba(2, 34, 66, 0.1);
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* De Header (Vraag + Toggle) */
#delmation-custom-template .dm-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
}

/* De Vraag tekst */
#delmation-custom-template .dm-faq-question {
    color: #022242;
    text-align: left;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    transition: color 0.3s;
}

/* Toggle Container */
#delmation-custom-template .dm-faq-toggle {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* De Antwoord Sectie */
#delmation-custom-template .dm-faq-body {
    padding: 0 25px 25px 25px;
}

#delmation-custom-template .dm-faq-answer {
    color: #022242;
    text-align: left;
    font-size: 16px;
    line-height: 25.6px;
    font-weight: 400;
}

/* ACTIEVE STAAT */
#delmation-custom-template .dm-faq-item.active .dm-faq-question {
    color: #EA5B0C;
}

/* Mobiele aanpassing FAQ */
@media (max-width:768px) {
    #delmation-custom-template .dm-faq-wrapper {
        padding: 20px;
    }

    #delmation-custom-template .dm-faq-question {
        font-size: 18px;
    }

    body #delmation-custom-template .dm-faq-main-title, #delmation-custom-template .dm-content-full h2 {
        margin-bottom: 20px;
    }

}

/* --- BENEFITS SECTION (NIEUW) --- */

/* De container (frame-8114410 style) */
#delmation-custom-template .dm-benefits-section {
    background: #ffffff;
    border: 2px solid #e5e8eb;
    border-radius: 10px;
    padding: 40px;
    margin-top: 1.5rem; /* Ruimte boven de sectie */
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start; /* Titel links uitlijnen */
}

/* De Titel */
#delmation-custom-template .dm-benefits-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #022242;
    margin: 0;
    width: 100%;
    text-align: center;
}

/* De Lijst (Grid) */
#delmation-custom-template .dm-benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolommen */
    column-gap: 192px; /* De grote ruimte uit je Figma design */
    row-gap: 16px;     /* Ruimte tussen rijen */
    width: 100%;
}

/* Responsive: Op kleinere schermen minder gap */
@media (max-width:1400px) {
    #delmation-custom-template .dm-benefits-list {
        column-gap: 60px;
    }

}

/* Responsive: Mobiel 1 kolom */
@media (max-width:768px) {
    #delmation-custom-template .dm-benefits-section {
        padding: 20px;
    }

    #delmation-custom-template .dm-benefits-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 16px;
    }

}

/* Item styling */
#delmation-custom-template .dm-benefit-item {
    display: flex;
    align-items: center; /* Icoon en tekst verticaal centreren */
    gap: 12px;
}

/* Icoon */
#delmation-custom-template .dm-benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0; /* Voorkom dat icoon geplet wordt */
}

/* Tekst */
#delmation-custom-template .dm-benefit-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #022242;
}

/* --- USAGE & WARNING SECTIONS (Figma Styling) --- */

/* De container voor Toepassing & Gebruik */
#delmation-custom-template .dm-usage-section {
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #e5e8eb;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    margin-top: 60px;
}

#delmation-custom-template .dm-section-main-title {
    color: #022242;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

/* De sub-blokken (container & container2 in Figma) */
#delmation-custom-template .dm-usage-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    gap: 0;
}

#delmation-custom-template .dm-usage-block + .dm-usage-block {
    margin-top: 40px;
}

#delmation-custom-template .dm-usage-subtitle {
    color: #022242;
    text-align: left;
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
}

/* De lijsten */
#delmation-custom-template .dm-usage-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#delmation-custom-template .dm-usage-item {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #0a0a0a;
}

/* De bullet list items (Ideaal voor...) */
#delmation-custom-template .dm-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px; /* Ruimte tussen bullet en tekst */
}

#delmation-custom-template .dm-bullet {
    color: #0071e3; /* Blauwe bullet */
    font-weight: 400;
    line-height: 24px;
}

/* --- WARNING SECTION (Niet geschikt voor) --- */
#delmation-custom-template .dm-warning-section {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 40px;
    display: flex;
    gap: 12px; /* Ruimte tussen Icoon en Tekstblok */
    align-items: flex-start;
    width: 100%;
}

#delmation-custom-template .dm-warning-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px; /* Optisch uitlijnen met titel */
}

#delmation-custom-template .dm-warning-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    gap: 0;
}

.dm-usage-content {
    width: 100%;
}

#delmation-custom-template .dm-warning-title {
    color: #022242;
    text-align: left;
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
}

#delmation-custom-template .dm-warning-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#delmation-custom-template .dm-warning-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

#delmation-custom-template .dm-warning-bullet {
    color: #717182; /* Grijze bullet */
}

#delmation-custom-template .dm-warning-text {
    color: #717182; /* Grijze tekst */
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

/* Mobiel responsive */
@media (max-width:768px) {
    #delmation-custom-template .dm-usage-section {
        padding: 20px;
    }

    #delmation-custom-template .dm-usage-block + .dm-usage-block {
        margin-top: 20px;
    }

    #delmation-custom-template .dm-warning-section {
        margin-top: 20px;
    }

}

/* --- TECHNISCHE SPECIFICATIES (Figma Styling) --- */

/* De wrapper container */
#delmation-custom-template .dm-specs-section {
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid rgba(229, 232, 235, 0.1); /* Lichte border uit Figma */

    /* Let op: Figma heeft hier een hele lichte border, of wellicht #e5e8eb zoals de rest? */
    border: 2px solid #e5e8eb; /* Consistent met de rest */
    padding: 40px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* Titel */
#delmation-custom-template .dm-specs-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #022242;
    width: 100%;
    margin: 0;
    text-align: center; /* Of center, afhankelijk van voorkeur. Figma lijkt left. */
}

/* De lijst container */
#delmation-custom-template .dm-specs-list {
    width: 100%;
    display: flex;
    flex-direction: column;    /* Geen gap hier, we gebruiken padding/border op de rows */
}

/* Enkele Rij (Label + Waarde) */
#delmation-custom-template .dm-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0 0 0; /* Padding bovenkant */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Lijntje onder */
    padding-bottom: 16px; /* Ruimte onder */
}

/* Laatste rij geen border */
#delmation-custom-template .dm-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Eerste rij geen padding boven */
#delmation-custom-template .dm-spec-row:first-child {
    padding-top: 0;
}

/* Label Kolom */
#delmation-custom-template .dm-spec-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700; /* Bold */
    color: #022242;
    flex-shrink: 0;
    width: 40%; /* Of een vaste width als in Figma */
}

/* Waarde Kolom */
#delmation-custom-template .dm-spec-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400; /* Regular */
    color: #022242;
    text-align: right;
    width: 60%;
}

#delmation-custom-template .dm-spec-value p, #delmation-custom-template .dm-spec-label p {
    margin: 0;
}

/* Mobiel Responsive */
@media (max-width:768px) {
    #delmation-custom-template .dm-specs-section {
        padding: 20px;
    }

    #delmation-custom-template .dm-spec-row {
        flex-direction: column; /* Onder elkaar op mobiel? Of naast elkaar houden? */
        gap: 4px;
    }

    #delmation-custom-template .dm-spec-label, #delmation-custom-template .dm-spec-value {
        width: 100%;
        text-align: left;
    }

    #delmation-custom-template .dm-spec-value {
        color: #717182; /* Iets lichter op mobiel voor onderscheid? */
    }

}