/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */
html, body {
  overflow-x: clip;  
  overflow-y: visible;
  position: relative;
}

::selection {
  background:var(--e-global-color-secondary) !important;
	color:white;
}

.doorlopend .swiper{
    overflow: visible!important;
}
body {
 font-size: 1.1vw!important;
}

@media screen and (min-width:1920px) {
 body {font-size: 21px!important;}
}

@media screen and (max-width:1100px) {
body {font-size: 16px!important;}
}


/* ============================================
   YITH WAPO – Product Card v3
   Cleaner layout, compact quantity, aligned images
   ============================================ */

/* Reset YITH's eigen indicators */
.yith-wapo-option.selected .product-container > .yith-wapo-selected-icon,
.yith-wapo-option.selected > .yith-wapo-selected-icon,
.yith-wapo-option .product-container::after,
.yith-wapo-option.selected::after,
.yith-wapo-option.selected::before {
    display: none !important;
    content: none !important;
}

/* ============================================
   Card container
   ============================================ */
.yith-wapo-option.selection-multiple .product-container,
.yith-wapo-option.selection-single .product-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.yith-wapo-option:not(.selected) .product-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.04);
}

.yith-wapo-option.selected .product-container {
    border-color: #14b8a6;
    background-color: rgba(20, 184, 166, 0.06);
    box-shadow: none; /* eerdere outer glow weg, border is genoeg */
}

/* ============================================
   Product image – strak vierkant
   ============================================ */
.yith-wapo-option .product-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yith-wapo-option .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   Product info
   ============================================ */
.yith-wapo-option .product-info {
    flex: 1 1 auto;
    min-width: 0; /* zodat flexbox text-overflow toelaat */
    padding-right: 24px; /* ruimte voor het vinkje */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yith-wapo-option .product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    /* Voorkomt onnodig afbreken op één woord */
    word-break: normal;
    overflow-wrap: anywhere;
}

.yith-wapo-option .option-price {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.yith-wapo-option .option-price .woocommerce-Price-amount {
    font-weight: 500;
}

/* ============================================
   Quantity – compacte pill, rechts uitgelijnd
   ============================================ */
.yith-wapo-option .option-add-to-cart {
    margin-top: 6px;
}

.yith-wapo-option .option-add-to-cart .quantity {
    position: relative;
    z-index: 4;
    margin: 0;
}

.yith-wapo-option .rey-qtyField.cartBtnQty-controls {
    display: inline-flex !important;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    padding: 2px;
    width: auto;
    max-width: 110px;
    height: 28px;
}

.yith-wapo-option .cartBtnQty-control {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    transition: background-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.yith-wapo-option .cartBtnQty-control:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.yith-wapo-option .cartBtnQty-control svg {
    width: 14px;
    height: 14px;
}

.yith-wapo-option .wapo-product-qty {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    width: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 24px !important;
    line-height: 24px !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.yith-wapo-option .wapo-product-qty::-webkit-outer-spin-button,
.yith-wapo-option .wapo-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================
   Checkbox indicator – rechtsboven, subtiel
   ============================================ */
.yith-wapo-option .product-container::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: transparent;
    box-sizing: border-box;
    transition: all 0.2s ease;
    z-index: 2;
    pointer-events: none;
    display: block !important;
}

.yith-wapo-option .product-container > .product-info::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 13px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.15s ease;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.yith-wapo-option:not(.selected) .product-container:hover::before {
    border-color: rgba(255, 255, 255, 0.6);
}

.yith-wapo-option.selected .product-container::before {
    background-color: #14b8a6;
    border-color: #14b8a6;
}

.yith-wapo-option.selected .product-container > .product-info::before {
    transform: scale(1);
    opacity: 1;
}

/* ============================================
   Hidden YITH checkbox
   ============================================ */
.yith-wapo-option input.yith-wapo-option-value {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* ============================================
   Rey theme – Universele quantity selector styling
   Werkt voor: YITH WAPO, single product, cart, mini-cart
   ============================================ */

/* ---- Basis custom properties (light default) ---- */
.rey-qtyField.cartBtnQty-controls {
    --qty-bg: rgba(0, 0, 0, 0.06);
    --qty-text: #1a1a1a;
    --qty-btn-hover-bg: rgba(0, 0, 0, 0.1);
    --qty-btn-hover-text: #000000;
    --qty-width: 110px;
    --qty-height: 34px;
    --qty-btn-size: 28px;
}

/* ---- Dark context: binnen YITH WAPO add-on kaarten ---- */
.yith-wapo-option .rey-qtyField.cartBtnQty-controls {
    --qty-bg: rgba(0, 0, 0, 0.5);
    --qty-text: #ffffff;
    --qty-btn-hover-bg: rgba(255, 255, 255, 0.15);
    --qty-btn-hover-text: #ffffff;
    --qty-width: 100px;
    --qty-height: 30px;
    --qty-btn-size: 24px;
}

/* ---- Container: de pill ---- */
.rey-qtyField.cartBtnQty-controls {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    background-color: var(--qty-bg) !important;
    border-radius: 999px !important;
    padding: 3px !important;
    width: var(--qty-width) !important;
    max-width: var(--qty-width) !important;
    height: var(--qty-height) !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    border: none !important;
}

/* ---- Visuele volgorde forceren ---- */
.rey-qtyField .cartBtnQty-control.--minus {
    order: 1 !important;
}

.rey-qtyField input.qty,
.rey-qtyField input.wapo-product-qty,
.rey-qtyField input.input-text {
    order: 2 !important;
}

.rey-qtyField .cartBtnQty-control.--plus {
    order: 3 !important;
}

.rey-qtyField .screen-reader-text {
    order: 0 !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
}

/* ---- Plus/min knoppen ---- */
.rey-qtyField .cartBtnQty-control {
    flex: 0 0 var(--qty-btn-size) !important;
    width: var(--qty-btn-size) !important;
    min-width: var(--qty-btn-size) !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    border-radius: 999px !important;
    color: var(--qty-text) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    opacity: 0.85;
}

.rey-qtyField .cartBtnQty-control:hover {
    background-color: var(--qty-btn-hover-bg) !important;
    color: var(--qty-btn-hover-text) !important;
    opacity: 1;
}

.rey-qtyField .cartBtnQty-control svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
}

/* Disabled state (bv. min wanneer qty = 1 of 0) */
.rey-qtyField .cartBtnQty-control.--disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* ---- Input: vult de ruimte tussen de knoppen ---- */
.rey-qtyField input.qty,
.rey-qtyField input.wapo-product-qty,
.rey-qtyField input.input-text,
.rey-qtyField input[type="text"],
.rey-qtyField input[type="number"] {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--qty-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-align-last: center !important;
    
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    
    position: static !important;
    transform: none !important;
    float: none !important;
    
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.rey-qtyField input::-webkit-outer-spin-button,
.rey-qtyField input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.rey-qtyField input:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: center !important;
}

/* ============================================
   Context-specifieke aanpassingen
   ============================================ */

/* Single product page – matcht hoogte van Add to Cart knop */
.rey-cartBtnQty .rey-qtyField.cartBtnQty-controls {
    --qty-width: 140px;
    --qty-height: 56px;
    --qty-btn-size: 44px;
    margin-right: 12px;
}

/* Iets grotere icoontjes binnen de pill op single product */
.rey-cartBtnQty .rey-qtyField .cartBtnQty-control svg {
    width: 16px !important;
    height: 16px !important;
}

/* Iets groter getal op single product */
.rey-cartBtnQty .rey-qtyField input.qty,
.rey-cartBtnQty .rey-qtyField input.input-text {
    font-size: 15px !important;
}

/* Cart page – iets ruimer */
.woocommerce-cart-form .rey-qtyField.cartBtnQty-controls,
.product-quantity .rey-qtyField.cartBtnQty-controls {
    --qty-width: 120px;
    --qty-height: 38px;
    --qty-btn-size: 32px;
}
/* ============================================
   Rey theme – Universele quantity selector styling
   DARK is de default (jouw site heeft zwarte bg)
   ============================================ */

/* ---- Basis custom properties: DARK default ---- */
.rey-qtyField.cartBtnQty-controls {
    --qty-bg: rgba(255, 255, 255, 0.08);
    --qty-text: #ffffff;
    --qty-btn-hover-bg: rgba(255, 255, 255, 0.18);
    --qty-btn-hover-text: #ffffff;
    --qty-border: 1px solid rgba(255, 255, 255, 0.12);
    --qty-width: 110px;
    --qty-height: 34px;
    --qty-btn-size: 28px;
}

/* ---- Binnen YITH WAPO kaarten: iets dieper donker
        omdat de kaart zelf al donkergrijs is ---- */
.yith-wapo-option .rey-qtyField.cartBtnQty-controls {
    --qty-bg: rgba(0, 0, 0, 0.5);
    --qty-border: 1px solid rgba(255, 255, 255, 0.08);
    --qty-width: 100px;
    --qty-height: 30px;
    --qty-btn-size: 24px;
}
/* ============================================
   Rey single product – fix de wrapper chain
   .rey-cartBtnQty → .quantity → .rey-qtyField
   ============================================ */

/* De buitenste container: flex met stretch, knoppen even hoog */
.rey-cartBtnQty {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
}

/* De .quantity wrapper mag geen eigen hoogte/margin claimen */
.rey-cartBtnQty .quantity {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
}

/* De pill zelf: stretch naar volledige hoogte van de flex-row */
.rey-cartBtnQty .rey-qtyField.cartBtnQty-controls {
    --qty-width: 140px;
    --qty-btn-size: 50px;
    height: auto !important;        /* override de vaste height */
    min-height: 56px !important;    /* matcht typische cart-button hoogte */
    align-self: stretch !important; /* groei mee met de cart button */
    margin: 0 !important;
    padding: 4px !important;
}

/* Cart-knop: behoud zijn natuurlijke hoogte (referentie) */
.rey-cartBtnQty .single_add_to_cart_button {
    margin: 0 !important;
    align-self: stretch !important;
}

/* Knoppen binnen de pill: vul de volledige (nu variabele) hoogte */
.rey-cartBtnQty .rey-qtyField .cartBtnQty-control {
    height: auto !important;
    align-self: stretch !important;
}

/* Input: ook stretchen */
.rey-cartBtnQty .rey-qtyField input.qty,
.rey-cartBtnQty .rey-qtyField input.input-text {
    height: auto !important;
    align-self: stretch !important;
    font-size: 15px !important;
}

/* Icoontjes binnen de knoppen op single product */
.rey-cartBtnQty .rey-qtyField .cartBtnQty-control svg {
    width: 16px !important;
    height: 16px !important;
}