/* =========================================================
   MARNA MILITARIA — custom.css
   Kleurenschema-match met de oude v21-shop (zwart / wit / grijs)
   ========================================================= */

/* ---------------------------------------------------------
   FOOTER ALTIJD ONDERAAN (alle pagina's)
   --------------------------------------------------------- */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main.col-12 {
    flex: 1 0 auto;
}

/* ---------------------------------------------------------
   ALLEEN OP DE HOMEPAGE: extra ruimte tussen tekst en emailer
   + fix voor overlap met de vaste header
   --------------------------------------------------------- */
.home main.col-12 {
    display: flex;
    flex-direction: column;
    padding-top: 61px;
}

.home main.col-12 > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.home .CTA-block.emailer {
    margin-top: auto;
}

/* ---------------------------------------------------------
   LOGO: groter weergeven in de header
   --------------------------------------------------------- */
header .logo img,
header .navbar-brand img {
    max-height: 48px !important;
    max-width: 320px !important;
    width: auto !important;
    height: auto !important;
}

/* ---------------------------------------------------------
   SHOP: zichtbare rand om productkaarten en filterpaneel
   (nodig omdat tertiary nu wit is, net als de kaarten zelf —
   zonder rand is er geen enkel visueel onderscheid meer)
   --------------------------------------------------------- */
.shop .card {
    border: 1px solid #E0E0E0 !important;
}

.shop .filter-position {
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

/* ---------------------------------------------------------
   PRODUCTFOTO'S: niet uitrekken, verhouding behouden
   --------------------------------------------------------- */
.product-swiper .swiper-slide img {
    object-fit: contain;
}

/* ---------------------------------------------------------
   NIEUWSBRIEF / EMAILER-BLOK
   Zwart met wit/lichtgrijs-accenten, geen achtergrondafbeelding
   --------------------------------------------------------- */
.CTA-block.emailer > div.w-100 {
    background-image: none !important;
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
}

.CTA-block.emailer > div.w-100 p {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.CTA-block.emailer > div.w-100 h2 {
    font-size: 1.1em;
    line-height: 1.6;
    color: #DDDDDD;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.CTA-block.emailer .cta-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.CTA-block.emailer .cta-form .email-field input.form-control[type="email"] {
    flex-grow: 1;
    padding: 14px 20px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    background-color: #363636;
    color: #ffffff;
    font-size: 1.1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.CTA-block.emailer .cta-form .email-field input.form-control[type="email"]::placeholder {
    color: #999999;
}

.CTA-block.emailer .cta-form .email-field input.form-control[type="email"]:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.CTA-block.emailer .cta-form .submit-button button.btn.btn-outline-light {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.CTA-block.emailer .cta-form .submit-button button.btn.btn-outline-light:hover {
    background-color: #DDDDDD;
    color: #000000;
    transform: translateY(-2px);
}

.CTA-block.emailer .cta-form .cf-turnstile {
    margin: 10px auto;
}

@media (max-width: 768px) {
    .CTA-block.emailer > div.w-100 {
        padding: 35px 15px;
    }

    .CTA-block.emailer > div.w-100 p {
        font-size: 1.8em;
        line-height: 1.3;
    }

    .CTA-block.emailer > div.w-100 h2 {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .CTA-block.emailer .cta-form {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        width: calc(100% - 30px);
        padding: 0 15px;
        box-sizing: border-box;
    }

    .CTA-block.emailer .cta-form .email-field,
    .CTA-block.emailer .cta-form .submit-button,
    .CTA-block.emailer .cta-form .cf-turnstile {
        width: 100%;
        max-width: none;
    }

    .CTA-block.emailer .cta-form .email-field input.form-control[type="email"],
    .CTA-block.emailer .cta-form .submit-button button.btn.btn-outline-light {
        width: 100%;
    }
}