/* Globale stijlen gebaseerd op de referentie site */
:root {
    --primary-color: #004d9b; /* Donkerblauw */
    --secondary-color: #f7a900; /* Oranje */
    --text-color: #333;
    --background-color: #f4f4f4;
    --card-background: #fff;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
    --shadow2: 8px 8px 8px hsl(240deg 100% 75% / 25%);
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}
h1 {
    text-wrap: pretty;
}

header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #fcae1e;
}

/* Product grid stijlen */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;

    & .product-info {
        display: flex;
        flex-direction: column;
        height: 100%;
        & img {
            padding: -16px;
        }
        & h3 {
            flex-grow: 1;
            margin-block-start: 0.5rem;
            margin-block-end: 0;
        }
        & .price {
            margin-top: auto;
            text-align:end;
        }
    }
}

.product-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    & a {
        text-decoration:none;
        color:black;
    }
    &:has( [data-sold="1"] ) {
        opacity: 0.5;
        & a:after {
            content: "Verkocht";
            position: absolute;
            font-size:2rem;
            transform-origin: center;
            top:50%;
            left:50%;
            background-color: red;
            rotate: -30deg;
            color: white;
            padding: 5px 10px;
            font-weight: bold;
            border-radius: 5px;
            transform: translateX(-150px);
            transform: translateY(-100px);
        }
    }
    &:has( [data-promo="1"]) {
        box-shadow: var(--shadow2);
    }
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin-top: 0;
    font-size: 1.25rem;
    text-wrap: pretty;
}

.product-info .price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Filters */
.filters {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    h2 {
        margin-block:0;
    }
    .filter-group {
        display: inline-block;
        font-size: 1rem; 
        font-weight: 600;
        &.hidden {
            display: none;
        }
    }
}

/* Product Detail Pagina */
.product-detail-page {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.image-gallery {
    flex: 1;
    min-width: 300px;
    position: relative; /* Belangrijk voor absolute positionering van de navigatie */
}
.slider-wrapper {
  width: 80%; /* Or any desired fixed width for the visible slider area */
  max-width: 800px; /* Example max-width */
  max-height: 300px;
  margin: 0 auto; /* Center the slider */
  overflow: hidden; /* This is crucial: it hides images outside the current view */
  position: relative; /* Needed for absolute positioning of nav buttons, if any */
}
.image-slider-container {
  display: flex; /* Arranges images side-by-side */
  width: 300%; /* If you have 3 images, this is 3 * 100% of slider-wrapper width */
                /* This needs to be (number_of_images * 100)% */
  transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
  /* This will be manipulated by JavaScript using transform: translateX(-X%); */
}
.image-slider-container > img {
  width: calc(100% / 3); /* Each image takes 1/3rd of the .image-slider-container's width */
                        /* So it will effectively be 100% of the .slider-wrapper width */
  flex-shrink: 0; /* Prevents images from shrinking */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensures images cover the area without distortion */
}
.image-slider-container > .imgWrapper {
  width: calc(100% / 3); /* Each image takes 1/3rd of the .image-slider-container's width */
                        /* So it will effectively be 100% of the .slider-wrapper width */
  flex-shrink: 0; /* Prevents images from shrinking */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensures images cover the area without distortion */
}
.imgWrapper {
    display: flex;
    text-align: center;
    align-items: center;

    & img {
        max-width: 800px;
        max-height: 300px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain; /* Ensures images cover the area without distortion */
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
}

.product-details {
    flex: 2;
    min-width: 300px;
    h1 {
        margin-top: 0;
    }
    p#product-description {
        max-width: 80ch;
    }
}


footer {
    padding-block: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    margin-top: 2rem;
    & p {
        text-align: center;
    }
    & div {
        font-size: 14px;
    }
    & a {
        color: white;
        text-decoration: none;
    }
}

/* */
.widget {
    margin: 30px 0;
    position: relative;
}
.one-fourth.column {
    width: 25%;
}
.column {
    float: left;
    margin: 0px;
}
.container:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.section_wrapper, .container {
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}
header img {
    height: 130px;
}
/* START: Menu handling for different screen sizes */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    nav ul {
        margin-block-start:0px;
        padding-inline-end:1rem;
        right:0;
        top:160px;
        display: inline-block;
        position:absolute;
        background-color: var(--primary-color);
        text-align:right;
        display:none;
        & li {
            padding-block-end: 1rem;
        }
    }
    body:has(#menuToggle input:checked) nav ul {
        display: inline-block;
    }
    #menuToggle {
        display: inline-block;
    }
    header .logo.title {
        flex-grow: 1;
        text-align:center;
    }
}
@media only screen and (max-width: 767px) {
    nav ul {
        margin-block-start:0px;
        padding-inline-end:1rem;
        right:0;
        top:90px;
        display: inline-block;
        position:absolute;
        background-color: var(--primary-color);
        text-align:right;
        display:none;
        & li {
            padding-block-end: 1rem;
        }
    }
    body:has(#menuToggle input:checked) nav ul {
        display: inline-block;
    }
    #menuToggle {
        display: inline-block;
    }
    header .logo.title {
        flex-grow: 1;
        text-align:center;
    }
}
/* END: Menu handling for different screen sizes */
@media only screen and (min-width: 960px) and (max-width:1239px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: 940px;
    }
}
@media only screen and (min-width: 768px) and (max-width:959px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: 708px;
    }
    header .title {
        font-size:1.25rem;
    }
}
@media only screen and (max-width: 767px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: 770px;
        padding-inline: 2rem;
    }
    .mobile-one.column {
        width: 100%;
    }
    .container .column {
        margin: 0px;
        width: 100%;
        clear: both;
    }
    header img {
        height: 50px;
    }
}
@media only screen and (max-height: 400px) {
    header img {
        height: 50px;
    }
    body:has(#menuToggle input:checked) nav ul {
        margin-block-start:0px;
        padding-inline-end:1rem;
        right:0;
        top:90px;
    }
}
.mcb-column-inner{
    position: relative;
    margin-top: 0;
    margin-bottom: 40px;
    margin-left: 12px;
    margin-right: 12px;
}
h4 {
    font-size: 21px;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom:15px;
}
footer .footer_copy {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.1);
    border-top-color: rgba(255,255,255,0.1);
}
@media only screen and (min-width:1240px) {
    .section_wrapper, .container {
        max-width: 1220px;
    }
}
@media only screen and (min-width: 960px) and (max-width: 1239px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: 940px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: 708px;
    }
}
@media only screen and (max-width: 767px) {
    .content_wrapper .section_wrapper, .container, .four.columns .widget-area {
        max-width: 770px !important;
        padding-left: 33px;
        padding-right: 33px;
    }
    .mobile-one.column, .mobile-one.mcb-wrap {
        width: 100% !important;
    }
    .section_wrapper .mcb-wrap, .section_wrapper .column, .container .column  {
        margin: 0;
        width: 100% !important;
        clear: both;
    }
}
.section_wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.section_wrapper, .container {
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}
.one-second.mcb-wrap {
    width:50%;
}
.mcb-wrap {
    display:flex;
    align-items:flex-start;
}
.mcb-item-info_box-inner {
    padding: 25px 20px 25px 30px;
    background-color: #91252e;
}
.mcb-column-inner {
    position: relative;
    margin:12px 40px 12px 40px;
}
.ib-desc {
    display: block;
}
.infobox {
    display: block;
    & ul, h3 {
        color: white;
    }
    & ul li {
        margin: 0px;
        padding: 5px 0 5px 0.5rem;
        position: relative;
        font-size:14px;
        list-style-type: "\1F44D";
    }
}
.section {
    position: relative;
    background-position: left top;
    background-repeat: no-repeat;
}
.section > .mcb-background-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;    
}
.section[data-parallax="3d"] {
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.section[data-parallax="3d"] .mfn-parallax {
    position: absolute;
    left: 50%;
    top: 0;
    max-width: unset!important;
    transition: opacity .2s;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.content_wrapper img {
    height: auto;
}
.column_attr.align_center {
    & h2 {
        font-size: 1.5rem;
    }
    text-align: center;
    font-size:14px;
    color: white;
}
.one.mcb-wrap {
    width:100%
}
.one-third.mcb-wrap {
    width: 33%;
}
.mcb-column-inner {
    position: relative;
    margin: 12px 0 12px 40px;
}
.one.column {
    width: 100%;
}
.column_image {
    line-height: 0;
}
.mcb-column {
    position: relative;
}
.column {
    float:left;
    margin:0px;
}
.image_frame .no_border {
    border-width: 0px;
}
.image_item.image_frame {
    display:inline-block;
}
.image_frame{
    border-color: #f8f8f8;
    overflow: hidden;
    margin: 0;
    border-style: solid;
    max-width: 100%;
    line-height: 0;
    box-sizing: border-box;
}
img.scale-width-grid.content_wrapper img {
    max-width: 100%;
    height:auto;
}
.image_frame .image_wrapper img:not(.ls-l) {
    position: relative;
    top: 0;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
img.scale-with-grid, .content_wrapper img {
    max-width: 100%;
    height: auto;
}
.mcb-wrap-inner {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    align-self: stretch;
}