/* Auto-generated CSS Module: productbits | ISO: de_DE */
/* --- Source: nl_NL / 1-productbits.css --- */
/* templates/nl_NL/css/productbits/1-productbits.css */
/* 
   =============================================================
   HIGH-CONVERSION PRODUCT CARD (SPLIT LAYOUT)
   Core Actions (White Box) + Meta Info (Transparent/Blue BG)
   =============================================================
*/

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    row-gap: 30px !important; /* Sufficient space between rows */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 900px) { 
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } 
}
@media (max-width: 600px) { 
    .product-grid { grid-template-columns: minmax(0, 1fr) !important; } 
}

/* Base Card Wrapper */
.product-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0; /* Add this to prevent flex child expansion */
}

/* 
   1. CORE ACTIONS (White Box)
   Contains Ribbon (anchored here), Image, and Cart
*/
.card-core {
    position: relative; /* Anchor for Ribbon */
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-wrapper:hover .card-core {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Image Container */
.card-image-box {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 4px 4px 0 0;
    overflow: hidden; /* Clips image and OOS overlay, but NOT ribbon */
}

.card-image-box a {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s;
}

/* Fast CTA Container */
.card-cta {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: #fff;
    border-radius: 0 0 4px 4px;
}

.card-cta input[type="number"] {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 6px 4px;
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin: 0;
}
.card-cta input[type="number"]:focus { border-color: #3b749d; outline: none; }

.card-cta button {
    flex-grow: 1;
    background: linear-gradient(to bottom, #2d628f, #1c456b)!important;
    color: white!important;
    border: 1px solid #163756!important;
    border-radius: 3px;
    padding: 6px!important;
    cursor: pointer;
    font-weight: normal;
    font-size: 13px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.card-cta button:hover:not(:disabled) { 
    background: linear-gradient(to bottom, #78b41d 0%, #92de1b 100%)!important;
    border-color: #6ea715!important;
    border-right: 1px solid #6ea715!important;
    border-bottom: 1px solid #6ea715!important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* 
   2. META INFO (Transparent Background)
   Sits below the white box on the section background
*/
.card-meta {
    padding: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-moreinfo {
    display: block;
    background: linear-gradient(to bottom, #2d628f, #1c456b);
    color: #fff!important;
    text-decoration: none;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 3px;
    border: 1px solid #163756;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    margin-bottom: 10px;
    text-align: left;
}
.btn-moreinfo:hover { 
    background: linear-gradient(to bottom, #78b41d 0%, #92de1b 100%);
    border-color: #6ea715;
    border-right: 1px solid #6ea715;
    border-bottom: 1px solid #6ea715;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.card-title {
    font-size: 13px;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.35;
    font-weight: normal;
}
.card-title a {
    color: #fff; /* White text on blue background */
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.card-title a:hover { text-decoration: underline; }

/* Pricing Elements */
.card-pricing {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-row { display: flex; justify-content: space-between; align-items: baseline; }
.price-row .label { color: #0c324e; font-size: 13px; }
.price-row.package .label { color: rgba(255,255,255,0.8); font-size: 13px; margin-right: 6px; }
.price-row.package { justify-content: flex-end; }

/* Big price value is dark blue to contrast against the section background */
.price-row .val { color: #12304a; font-size: 24px; font-weight: bold; line-height: 1; }
.price-row.package .val { color: #fff; font-size: 15px; font-weight: normal; }

/* Discount States */
.price-original {
    text-decoration: line-through;
    color: #12304a; /* Original requested color */
    font-size: 18px; /* Original requested size */
    margin-right: 8px;
    font-weight: normal;
    display: none;
}
.product-card-wrapper.is-discounted .price-original { display: inline; }
.product-card-wrapper.is-discounted .price-row .val { 
    color: #fff; 
    background: #7dbb1d; /* Original bright green background */
    padding: 0 4px;
    border-radius: 2px;
    text-shadow: none; 
}

/* Out of Stock Overlay & States */
.oos-overlay {
    position: absolute; inset: 0; background: none;
    opacity: 0; pointer-events: none; z-index: 20; transition: opacity 0.3s;
    border-radius: 4px 4px 0 0;
}

/* The Stamp */
.oos-stamp {
    position: absolute;
    top: -5px;
    left: -20px;
    /* The sprite is 371x337. Scale it down to fit the card visually like a real stamp. */
    transform: scale(0.45) rotate(-5deg); 
    transform-origin: top left;
    pointer-events: none;
}

.product-card-wrapper.is-outofstock .oos-overlay { opacity: 1; pointer-events: none; }
.product-card-wrapper.is-outofstock .card-image-box img { filter: grayscale(1); opacity: 0.6; }
.product-card-wrapper.is-outofstock .ribbon { filter: grayscale(1); }
.product-card-wrapper.is-outofstock .card-cta button { background: #555; border-color: #444; cursor: not-allowed; color: #aaa; box-shadow: none; text-shadow: none; }
.product-card-wrapper.is-outofstock .card-cta input { background: #eee; color: #999; border-color: #ddd; }

@media (max-width:768px) {
    .price-row { width: 221px; max-width: 100%; }
    .price-row.package .label { color: #0c324e; }
    .price-row.package .val{ color: black; }
    .card-pricing { align-items: end; }
    .product-grid { justify-items: center; }
    .product-card-wrapper { max-width: 221px; }
}

/* =============================================================
   LEGACY PRODUCT LIST & BOXPRODUCT INTEGRATION
   Preserved for unmigrated auxiliary pages
   ============================================================= */

.listProducts { margin: 0; padding-top: 10px; display: flex; flex-wrap: wrap; align-content: space-between; justify-content: space-between; gap: 10px; }
.listProducts li { margin: 0 34px 30px 15px; position: relative }
.listProducts li > div { max-width: 220px }
.listProducts li.hr:nth-child(3n) { display: block; content: ''; width: 100%; max-width: 100%; border: none; border-top: 1px solid rgba(67,139,194,1); margin-top: 2em; margin-bottom: 2em; height: 1px }
.listProducts.big, .listProducts.big li { margin: 0 }

.boxProduct { display: block; position: relative; width: 132px }
.boxProduct figure { width: 132px; height: 132px; position: relative; border: 3px solid #fff; box-sizing: border-box; background-repeat: no-repeat; background-position: center center; border-radius: 4px; }
.boxProduct figcaption { color: #fff; text-align: center; font-weight: 700; margin: 10px 0 0 0; font-size: 14px }
.boxProduct .download { position: absolute; bottom: 4px; left: 4px; padding: 0 4px; background: #333; border-radius: 4px; opacity: .7; font-size: 9px; text-transform: uppercase; font-family: tahoma,sans-serif }
.boxProduct .download:hover { opacity: .95 }
.boxProduct .ico-addblue-png, .boxProduct .ico-add-png { position: absolute; top: 10px; right: 10px; z-index: 100 }
.boxProduct figure .button { position: absolute; bottom: 10px; left: -10px; right: -10px; font-weight: 700; text-align: center }
.boxProduct .button:hover { border-right: 1px solid #6ea715; border-bottom: 1px solid #6ea715; background: #78b41d; background: linear-gradient(to bottom,rgba(120,180,29,1) 0,rgba(146,222,27,1) 100%) }
.boxProduct .moreInfo .button { margin: 10px 10px 0 40px; display: block }
.boxProduct .moreInfo p { margin: 15px 0 }
.boxProduct .moreInfo p.TwoLines { height: 34px; overflow: hidden }
.boxProduct .moreInfo .price { color: #0c324e; margin-bottom:0; padding-bottom:0; }
.boxProduct .moreInfo .price > strong { float: right; display: inline-block; position: relative; top: -10px; font-size: 24px; white-space:nowrap; margin:0; padding:0; }
.boxProduct .moreInfo .packageprice { clear:both;text-align:right;font-size:12px;line-height:14px;margin:0;padding:0; }
.boxProduct .moreInfo .packageprice .ppv { white-space:nowrap; }
.boxProduct .moreInfo .unit { color: #fff }
.boxProduct .moreInfo .unit strong { font-size: 18px }

.boxProduct.big { width: 220px }
.boxProduct.big figure { width: 220px; height: 220px; background-color: #fff; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.boxProduct.big .cart { background-color: #e2e2e2; padding: 4px 6px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; display:flex; gap: 5px; justify-content: center; align-items: center; }
.boxProduct.big .cart input { width: 30px; height: 30px; border: solid 1px #d5d5d5; vertical-align: middle; text-align: center; box-shadow: none }
.boxProduct.big .cart button { width: 168px; flex: 1; }

.boxProduct.bigger { width: 320px }
.boxProduct.bigger figure { width: 320px; height: 320px; background-color: #fff }
.boxProduct.bigger .productInfo { color: #fff; padding: 20px 0 }
.boxProduct.bigger .productInfo h3 { color: #fff; margin: 0 0 10px 0 }

.boxProduct.small { width: 63px }
.boxProduct.small figure { width: 63px; height: 63px; background-size: cover; }
.boxProduct.small figure .button { position: absolute; padding: 3px 5px; font-size: 8px; bottom: 5px; left: -5px; right: -5px; font-weight: 400; text-align: center }
.boxProduct.small figcaption { color: #438bc1; font-size: 10px; font-weight: 400; margin: 10px -10px }

/* PROMOTIONAL STICKERS (Missing Coordinates Restored) */
.boxProduct figure span.promotext { position: absolute; z-index: 1000; cursor: pointer; display: block; text-align: center; width: 220px; transform: rotate(-35deg); top: 35px; left: -59px; font-size: 20px; line-height: 20px; font-family: verdana,arial }
.boxProduct figure .promoimg { position: absolute; top: -12px; left: -12px; z-index: 999; width: 220px }
.boxProduct figure span.p8 { top: 28px; left: -54px; font-size: 8px; line-height: 10px }
.boxProduct figure span.p9 { top: 28px; left: -54px; font-size: 9px; line-height: 11px }
.boxProduct figure span.p10 { top: 28px; left: -54px; font-size: 10px; line-height: 12px }
.boxProduct figure span.p11 { top: 28px; left: -54px; font-size: 11px; line-height: 13px }
.boxProduct figure span.p12 { top: 28px; left: -54px; font-size: 12px; line-height: 14px }
.boxProduct figure span.p13 { top: 28px; left: -54px; font-size: 13px; line-height: 15px }
.boxProduct figure span.p14 { top: 28px; left: -54px; font-size: 14px; line-height: 16px }
.boxProduct figure span.p15 { top: 28px; left: -54px; font-size: 15px; line-height: 17px }
.boxProduct figure span.p16 { top: 28px; left: -54px; font-size: 16px; line-height: 18px }
.boxProduct figure span.p17 { top: 28px; left: -54px; font-size: 17px; line-height: 19px }
.boxProduct figure span.p18 { top: 28px; left: -54px; font-size: 18px; line-height: 20px }
.boxProduct figure span.p19 { top: 28px; left: -54px; font-size: 19px; line-height: 21px }
.boxProduct figure span.p20 { top: 28px; left: -54px; font-size: 20px; line-height: 20px }
.boxProduct figure span.p21 { top: 28px; left: -54px; font-size: 21px; line-height: 20px }
.boxProduct figure span.p22 { top: 26px; left: -54px; font-size: 22px; line-height: 20px }
.boxProduct figure span.p23 { top: 26px; left: -54px; font-size: 23px; line-height: 20px }
.boxProduct figure span.p24 { top: 26px; left: -54px; font-size: 24px; line-height: 20px }
.boxProduct figure span.p25 { top: 26px; left: -54px; font-size: 25px; line-height: 21px }
.boxProduct figure span.p26 { top: 26px; left: -54px; font-size: 26px; line-height: 22px }
.boxProduct figure span.p27 { top: 26px; left: -54px; font-size: 27px; line-height: 23px }
.boxProduct figure span.p28 { top: 26px; left: -54px; font-size: 28px; line-height: 23px }
.boxProduct figure span.p29 { top: 26px; left: -54px; font-size: 29px; line-height: 24px }
.boxProduct figure span.p30 { top: 26px; left: -54px; font-size: 30px; line-height: 24px }
.boxProduct figure span.small { width: 100px; top: 9px; left: -28px }
.boxProduct figure img.small { width: 100px; top: -5px; left: -5px }
.boxProduct figure span.medium { top: 16px; left: -74px }
.boxProduct figure img.medium { width: 160px; top: -7px; left: -7px }

/* Category Product List Overrides */
.category-prodlist > div { color: black; }
.category-prodlist > div.prods { padding: 0 20px; }
.category-prodlist .listProducts::after { content: unset; }
.category-prodlist .listProducts li { margin: 0; width: 30%; display: flex; justify-content: center; }
.category-prodlist .boxProduct .moreInfo strong,
.category-prodlist .boxProduct .moreInfo .unit { color: black; }
.category-prodlist .boxProduct .moreInfo .cSpot > .cart { margin-bottom: 10px; }
.category-prodlist .next-link a { font-size: 24px; }

/* Mobile overrides for Legacy Products */
@media (max-width: 1024px) {
    .listProducts.big { margin: 0; padding: 10px 10px 2em; width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap }
    .listProducts.big li { float: none; display: block; clear: both; margin: 2em auto 0; width: 100%; box-sizing: border-box; max-width: 220px; height: auto!important }
    .listProducts .boxProduct.big { width: 100%; box-sizing: border-box }
    .listProducts .boxProduct .cart { padding: 0; background: 0 0 }
    .listProducts .boxProduct .cart input { display: none }
    .listProducts .boxProduct .cart .button { font-size: 18px; width: 100%; max-width: 200px; margin: 0 auto; text-align: center; display: block }
    .listProducts .boxProduct.big .lnk { margin: 0 auto; display: block; width: 220px }
    .listProducts .moreInfo .button { display: none }
    .listProducts .moreInfo .t { font-size: 18px; line-height: 20px; max-height: 60px; overflow: hidden; text-overflow: ellipsis }
}
@media (max-width: 768px) {
    .listProducts { margin: 0; align-items: center; justify-content: center }
    .listProducts li.sim { min-width: 250px; display: inline-block; margin: 0 0 1em; flex: 1 0 50%; width: 50%!important }
    .listProducts li.sim .boxProduct { margin: 0 auto; width: 250px }
    .listProducts li.sim .boxProduct figure { width: 250px; height: 250px }
    .listProducts li.sim .boxProduct figure .button { display: none }
    .listProducts .boxProduct .cart input, .listProducts .moreInfo .button, .listProducts li.hr:nth-child(3n) { display: none }
    .listProducts li.hr:nth-child(4n) { display: block; content: ''; width: 100%; max-width: 100%; border: none; border-top: 1px solid rgba(67,139,194,.2); margin-top: 2em; margin-bottom: 2em; height: 1px }


    .category-prodlist .listProducts { justify-content: space-evenly; }
    .category-prodlist .listProducts li { width: 45%; }
    .category-prodlist .listProducts .boxProduct .cart .button { font-size: 12px; }
}
@media (max-width: 550px) {
    .listProducts li.hr:nth-child(4n) { display: none }
    .listProducts li.hr:nth-child(1n) { display: block; content: ''; width: 100%; max-width: 100%; border: none; border-top: 1px solid rgba(67,139,194,.2); margin-top: 2em; margin-bottom: 2em; height: 1px }
}
@media (max-width: 400px) {
    .category-prodlist .listProducts li { width: 100%; }
}

