/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-vidaskin
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
    --cpx-border-radius: 10px;
    --cpx-border-radius-medium: 35px;
    --cpx-border-radius-big: 50px;
}

/* Hide recaptcha */
.grecaptcha-badge {
    visibility: hidden;
}

form .elementor-field-type-recaptcha_v3 {
    height: 0;
    margin-bottom: 0 !important;
}

.elementor-form .elementor-form-fields-wrapper small {
    line-height: 1.3em;
    display: block;
    text-wrap: balance;
}

.elementor-form .elementor-form-fields-wrapper small a {
    color: inherit;
    text-decoration: underline;
}

/* Elementor form messages */
.elementor-form .elementor-message {
    background-color: #f8f8f8;
    border-radius: 0px;
    padding: 15px;
    line-height: 1.5;
    border: 1px solid #bdbdbd;
}

.elementor-form .elementor-message.elementor-message-success {
    border-bottom: 3px solid var(--e-global-color-primary);
}

/* Hide hidden form fields */
.elementor-form .elementor-field-type-hidden {
    margin-bottom: 0 !important;
    height: 0 !important;
}

/* CPX form checkboxes and radio buttons */
.cpx-form .elementor-field-type-checkbox .elementor-field-option,
.cpx-form .elementor-field-type-acceptance .elementor-field-option,
.cpx-form .elementor-field-type-radio .elementor-field-option {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label,
.cpx-form .elementor-field-type-radio .elementor-field-option label {
    padding-left: 1.75em;
    position: relative;
    font-weight: 400;
    font-size: var(--e-global-typography-text-font-size);
    line-height: 1.2;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:hover,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:hover,
.cpx-form .elementor-field-type-radio .elementor-field-option label:hover {
    cursor: pointer;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option input[type="checkbox"],
.cpx-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"],
.cpx-form .elementor-field-type-radio .elementor-field-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:before,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:before,
.cpx-form .elementor-field-type-radio .elementor-field-option label:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 21px;
    height: 21px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #b6b6b6;
    transition: background-color .2s ease-in-out;
    line-height: 0;
}

/* Make the radio buttons round */
.cpx-form .elementor-field-type-radio .elementor-field-option label:before {
    border-radius: 100%;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option label:after {
    content: '';
    color: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    background-color: var(--e-global-color-secondary);
    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    line-height: 0;

    opacity: 0;
    transform: scale(0);
}

/* Make the radio buttons round */
.cpx-form .elementor-field-type-radio .elementor-field-option label:after {
    border-radius: 100%;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option:hover label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option:hover label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option:hover label:after {
    opacity: 1;
    transform: scale(0.6);
}

.cpx-form .elementor-field-type-checkbox .elementor-field-option input[type="checkbox"]:checked+label:after,
.cpx-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"]:checked+label:after,
.cpx-form .elementor-field-type-radio .elementor-field-option input[type="radio"]:checked+label:after {
    opacity: 1;
    transform: none;
}

.cpx-form .elementor-field-type-radio .elementor-field-subgroup,
.cpx-form .elementor-field-type-checkbox .elementor-field-subgroup,
.cpx-form .elementor-field-type-acceptance .elementor-field-subgroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cpx-form .elementor-field-type-checkbox .elementor-field-label,
.cpx-form .elementor-field-type-acceptance .elementor-field-label,
.cpx-form .elementor-field-type-radio .elementor-field-label {
    margin-bottom: .5rem;
}

.cpx-form .elementor-field-type-checkbox,
.cpx-form .elementor-field-type-acceptance,
.cpx-form .elementor-field-type-radio {
    margin-bottom: 30px !important;
}

/* End CPX form checkboxes */

/* Fix icons not having auto width defined on ipad */
.elementor-widget-icon svg {
    width: auto !important;
}

/* Elementor animation overwrites */
@keyframes cpx_fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInDown {
    animation-name: cpx_fadeInDown !important;
}

@keyframes cpx_fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInLeft {
    animation-name: cpx_fadeInLeft !important;
}

@keyframes cpx_fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInRight {
    animation-name: cpx_fadeInRight !important
}

@keyframes cpx_fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.fadeInUp {
    animation-name: cpx_fadeInUp !important;
}

/* Balance out all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Fix elementor default line height for icons. Icons should not affect button height */
.elementor-widget-button .elementor-button-icon {
    line-height: 0;
    /* Flexbox to keep the icon in the middle if it's not big enough to fill height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Backgrounds */
.cpx-background {
    height: 100%;
}

.cpx-background img {
    object-fit: cover;
    object-position: center;
}

/* ::selection {
    background: rgba(251, 80, 0, 0.3);
    color: #FFFFFF;
}
  
::-moz-selection {
    background: rgba(251, 80, 0, 0.3);
    color: #FFFFFF;
} */

.product-card-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-card-bottom .product-card-bottom__add-to-cart a {
    font-family: var(--e-global-typography-37d0cf7-font-family), Sans-serif;
    font-size: var(--e-global-typography-37d0cf7-font-size);
    font-weight: var(--e-global-typography-37d0cf7-font-weight);
    line-height: var(--e-global-typography-37d0cf7-line-height);
    color: var(--e-global-color-001a536);
    border-radius: 0px 0px 0px 0px;
    padding: 12px 22px 12px 22px;

    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-001a536);
    border-top-left-radius: var(--cpx-border-radius);
    border-bottom-left-radius: var(--cpx-border-radius);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;

    transition: all .3s;
}

.product-card-bottom .product-card-bottom__add-to-cart a:hover,
.product-card-bottom .product-card-bottom__add-to-cart a:focus {
    background-color: var(--e-global-color-primary);
}

.product-card-bottom .product-card-bottom__more-info {
    flex-grow: 1;
}

.product-card-bottom .product-card-bottom__more-info-link {
    text-align: center;
}

.product-card-bottom .product-card-bottom__more-info a {
    width: 100%;

    font-family: var(--e-global-typography-37d0cf7-font-family), Sans-serif;
    font-weight: var(--e-global-typography-37d0cf7-font-weight);
    line-height: var(--e-global-typography-37d0cf7-line-height);
    color: var(--e-global-color-001a536);
    border-radius: 0px 0px 0px 0px;
    padding: 10px 22px 10px 22px;

    font-size: 22px;
    padding-left: 5px;
    padding-right: 5px;

    background-color: var(--e-global-color-a0fa980);
    color: var(--e-global-color-text);
    border-top-right-radius: var(--cpx-border-radius);
    border-bottom-right-radius: var(--cpx-border-radius);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;

    transition: all .3s;
}

.product-card-bottom:not(.product-card-bottom--can-add-to-cart) .product-card-bottom__more-info a {
    border-radius: var(--cpx-border-radius);
}

.product-card-bottom .product-card-bottom__more-info a:hover,
.product-card-bottom .product-card-bottom__more-info a:focus {
    background-color: var(--e-global-color-aeb64d8);
}

@media screen and (max-width: 768px) {
    .product-card-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .product-card-bottom .product-card-bottom__add-to-cart {
        width: 100%;
    }

    .product-card-bottom a.product-card-bottom__add-to-cart-button {
        width: 100%;

        border-top-right-radius: var(--cpx-border-radius);
        border-bottom-right-radius: var(--cpx-border-radius);
    }

    .product-card-bottom .product-card-bottom__more-info {
        width: 100%;
    }

    .product-card-bottom a.product-card-bottom__more-info-link {
        width: 100%;

        border-top-left-radius: var(--cpx-border-radius);
        border-bottom-left-radius: var(--cpx-border-radius);

        font-size: 1.3rem;

        padding-left: 5px;
        padding-right: 5px;
    }

    /* When the cart button is there too, this will become too tight, so the icon needs to go */
    .product-card-bottom .product-card-bottom__more-info a img {
        display: none;
    }
}

.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .e-loop-item .price ins,
.elementor-widget-woocommerce-product-price .price ins {
    text-decoration: none;
}

.elementor-widget-loop-grid[data-widget_type="loop-grid.product"] .e-loop-item .price del,
.elementor-widget-woocommerce-product-price .price del {
    text-decoration-thickness: 1px;
}

/* Fix margins for paragraphs in text widgets */
.elementor-widget-text-editor p {
    margin-bottom: 1em;
}

/* This will turn the pagination of a slide into lines */
.cpx-slider-navigation-lines .swiper-pagination .swiper-pagination-bullet {
    width: 75px;
    height: 4px;
    border-radius: 4px;
    opacity: 1;
    transition: background-color .2s ease-in-out;

    --swiper-pagination-bullet-horizontal-gap: 8px;
}

@media screen and (max-width: 768px) {
    .cpx-slider-navigation-lines .swiper-pagination .swiper-pagination-bullet {
        width: 35px;
    }
}

.cpx-slider-navigation-lines .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--e-global-color-a0fa980);
}

/* Header animation */
header .cpx-header-main {
    width: 100% !important;
}

header .cpx-header-logo .elementor-widget-container,
header .cpx-header-logo img,
header .cpx-header-main {
    transition: all .2s ease-in-out !important;
}

header.scrolled-past .cpx-header-logo .elementor-widget-container {
    transform: none;
}

header.scrolled-past .cpx-header-main {
    --min-height: 75px !important;
}

header.scrolled-past .cpx-header-logo img {
    width: 70px !important;
}

/* Breadcrumbs */
.elementor-widget-breadcrumbs #breadcrumbs>span>span {
    display: inline-block;
    margin-left: .3em;
    margin-right: .3em;
}

/* Prevent focussing woo messages with ugly outline */
.woocommerce-message:focus {
    outline: none;
    box-shadow: none;
}

/* Change sale badge */
.woocommerce span.onsale {
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-001a536);
    border-radius: var(--cpx-border-radius);
    line-height: 1;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Speciale eigenschappen widget */
.product-speciale-eigenschappen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    gap: 10px;
    /* space between grid items */
}

/* Mobile */
@media screen and (max-width: 768px) {
    .product-speciale-eigenschappen {
        grid-template-columns: 1fr;
        /* 1 column */
    }
}

.product-speciale-eigenschappen__item {
    display: flex;
    align-items: center;
}

.product-speciale-eigenschappen__icon {
    width: 26px;
    height: 26px;
    margin-right: 8px;
}

.product-speciale-eigenschappen__label {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: -.25em;
}

/* Turn elementor grids into centered flex layout using the gap variables from the grid */
.cpx-grid-to-flex .elementor-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--grid-row-gap, 30px);
    column-gap: var(--grid-column-gap, 30px);
    justify-content: center;
}

/* Based on the variable --grid-columns (this is an int, say: 5) i need the items (.e-loop-item) to have the correct sizes. calculate the gaps so it doesnt overflow */
.cpx-grid-to-flex .elementor-grid .e-loop-item {
    flex: 0 1 calc(calc(100% / var(--grid-columns, 5)) - var(--grid-column-gap, 30px));
}

/* Restyle product tabs */
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs h2 {
    margin-top: 0;
}

.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs .panel {
    padding: 30px 40px !important;
    padding-top: 43px !important;
}

.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs {
    margin-bottom: -15px !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 15px;
}

@media screen and (max-width: 768px) {
    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs {
        flex-direction: column;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 0;
    }
}

.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li {
    border-radius: var(--cpx-border-radius) !important;
    margin: 0 !important;
    transition: background-color .2s ease-in-out !important;
}

/* On mobile, only keep the top left and right border radius from the top one, and the bottom left and right from the last one */
@media screen and (max-width: 768px) {
    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li {
        border-radius: 0 !important;
    }

    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li a {
        padding-top: .35em !important;
        padding-bottom: .35em !important;
    }

    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li:first-child {
        border-top-left-radius: var(--cpx-border-radius) !important;
        border-top-right-radius: var(--cpx-border-radius) !important;
    }

    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li:last-child {
        border-bottom-left-radius: var(--cpx-border-radius) !important;
        border-bottom-right-radius: var(--cpx-border-radius) !important;
    }

    /* Border bottom except for the last one */
    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li:not(:last-child) {
        border-bottom: 1px solid var(--e-global-color-a0fa980) !important;
    }

    .elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs .panel {
        padding: 20px 20px !important;
        padding-top: 23px !important;
    }
}

/* Hover, focus */
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li:hover,
.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li:focus {
    background-color: var(--e-global-color-a0fa980) !important;
}

.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs ul.tabs li.active {
    background-color: var(--e-global-color-a0fa980) !important;
}

.elementor-widget-woocommerce-product-data-tabs .woocommerce-tabs .panel ul {
    padding-left: 1em;
}

/* Shopping cart */
.elementor-widget-woocommerce-cart .input-text.qty {
    padding: 15px 5px !important;
    text-align: center !important;
    border-radius: calc(var(--cpx-border-radius)* 0.5) !important;
}

/* Checkout */
.elementor-widget-woocommerce-checkout-page button#place_order {
    width: 100% !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

.elementor-widget-woocommerce-checkout-page .wc_payment_methods .wc_payment_method {
    background-color: var(--e-global-color-aeb64d8);
    border-radius: var(--cpx-border-radius);
    padding: 15px;
}

.elementor-widget-woocommerce-checkout-page .wc_payment_methods .wc_payment_method .payment_box {
    margin-bottom: 0 !important;
    border-radius: var(--cpx-border-radius) !important;
}

/* Fix checkout myparcel styling */
.elementor-widget-woocommerce-checkout-page {

    #billing_street_name_field,
    #billing_house_number_field {
        margin-right: 10px !important;
        margin-bottom: 5px !important;
    }

    .form-row .required {
        position: absolute;
        color: #a5a5a5 !important;
    }
}

/* Header cart counter */
.elementor-menu-cart--items-indicator-bubble .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
}

/* CPX tabel */
.cpx-tabel {
    width: 400px;
    max-width: 100%;
    border: 1px solid hsla(0, 0%, 50.2%, .5019607843);
    border-radius: var(--cpx-border-radius);
}

.cpx-tabel table {
    margin-bottom: 0;
}

.cpx-tabel table td,
.cpx-tabel table th {
    border: none;
}

.cpx-tabel--white {
    color: #fff;
}

/* Reset HTML scoll behaviour */
html {
    scroll-behavior: auto;
}

/* Restyle pagination for loops */
.elementor-pagination a.page-numbers {
    background-color: var(--e-global-color-a0fa980);
    color: var(--e-global-color-text);
    border-radius: var(--cpx-border-radius);
    padding: 9px 15px;
    margin: 0 5px;
    min-width: 45px;
    height: 45px;
    text-align: center;
    display: inline-block;
    line-height: 1;
    transition: all .2s ease-in;
}

.elementor-pagination a.page-numbers:hover,
.elementor-pagination a.page-numbers:focus {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-001a536) !important;
}

/* Single product image */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    background-color: #fff;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
    display: block;
    width: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
}

/* === Category bar ================================================= */
.cpx-cat-bar {
    overflow: hidden;
    /* verberg in‑progress scroll */
    cursor: grab;
    position: relative;
}

.cpx-cat-bar:active {
    cursor: grabbing;
}

/* Swiper wrapper → flex i.p.v. Swiper default */
.cpx-cat-bar__wrapper {
    display: flex;
}

.cpx-cat-bar__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    color: var(--e-global-color-text);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s;
}

.cpx-cat-bar__nav:hover {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-001a536);
}

.cpx-cat-bar__nav--prev {
    left: 0.25rem;
}

.cpx-cat-bar__nav--next {
    right: 0.25rem;
}

/* auto-hide when not needed */
.cpx-cat-bar__nav.is-disabled {
    opacity: 0;
    pointer-events: none;
}

a.cpx-cat-card {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    text-decoration: none;
    color: var(--e-global-color-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    transition: all .2s ease;
    flex: 0 0 auto;
    width: auto !important;

    margin-right: .75rem;
    user-select: none;


    &:hover {
        background-color: var(--e-global-color-secondary);
        color: var(--e-global-color-001a536);
        border-color: var(--e-global-color-secondary);
    }
}

.cpx-cat-card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 30px;
}

a.cpx-cat-card.cpx-cat-card--filter {
    img {
        background-color: var(--e-global-color-secondary);
        padding: 9px;
    }

    span {
        position: relative;
        padding-right: 35px;

        &:before,
        &:after {
            content: '';
            position: absolute;
            top: 50%;
            right: 18px;
            /* Positioned to the right of the span */
            width: 2px;
            /* 20px wide */
            height: 12px;
            /* 20px high */
            background-color: currentColor;
            border-radius: 50%;
            /* Optional: make it circular */
            transform-origin: center;
            transition: transform 0.2s ease-in-out;
        }

        &:before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        &:after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }
    }

    &:hover span {

        &:before,
        &:after {
            background-color: #fff;
        }
    }
}

.cpx-cat-card span {
    padding: 0 .75rem;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    /* name never wraps */
}

.cpx-cat-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}

.cpx-cat-card:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}


.cpx-swatch-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
    .cpx-swatch-wrapper {
        gap: 8px;
    }
}

.cpx-color-swatch__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #fff;
    border-radius: 5px;
    padding: 8px;
    border: 1px solid #dedede;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    min-height: 38px;
    position: relative;


    &:hover {
        border-color: color-mix(in srgb, var(--e-global-color-secondary) 30%, white 70%);
        background-color: color-mix(in srgb, var(--e-global-color-secondary) 30%, white 70%);
    }

    &.is-selected {
        border-color: var(--e-global-color-secondary);
        background-color: var(--e-global-color-secondary);
        color: #fff;
    }

    &.is-uitverkocht {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;

        &:hover {
            border-color: #dedede;
            background-color: #fff;
        }

        &:after {
            content: "";
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(45deg, rgba(174, 126, 87, .1) 0 6px, transparent 6px 12px);
            border-radius: inherit;
        }
    }
}

.cpx-color-swatch__label {
    margin-bottom: -4px;
    line-height: 1;
}

.cpx-color-swatch {
    width: 23px !important;
    height: 23px !important;
    border-radius: 3px !important;
    padding: 0 !important;
    border: none;
    transition: border-color 0.2s ease;
    outline: none;

    &:focus {
        outline: none;
    }

    &[style="background-color:#06ff00"] {
        display: none;
    }
}

table.variations label[for="pa_kleur"] {
    margin-top: 12px;
}

.cpx-props__colours__swatch,
.cpx-props__colours__more {
    --cpx-swatch-size: 14px;
    display: inline-block;
    width: var(--cpx-swatch-size);
    height: var(--cpx-swatch-size);
    margin-right: .25rem;
    vertical-align: middle;
    line-height: var(--cpx-swatch-size);
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
}

.cpx-props__colours__more {
    background: #fff;
}

.cpx-categories {
    margin-bottom: 30px;
}

.cpx-categories>.cpx-categories__list>.cpx-categories__item {
    border-bottom: 1px solid #f4e6d4;
}

.cpx-categories__list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.cpx-categories__item {
    padding-top: .5rem;
    padding-bottom: .5rem;

    a {
        color: var(--e-global-color-text);

        &:hover,
        &:focus {
            opacity: .7;
        }
    }
}

.cpx-categories__item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .cpx-categories__icon {
        display: block;
        transition: transform 0.2s ease-in-out;
        width: 13px;
        height: 13px;

        img {
            width: 100%;
            height: auto;
        }
    }
}

.cpx-categories__item__link {
    text-decoration: none;
}

.cpx-categories__toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    width: 25px;
    height: 25px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    &:focus {
        outline: none;
    }
}

.cpx-categories__submenu {
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;

    .cpx-categories__item {
        padding-top: .1rem;
        padding-bottom: .1rem;
    }
}

.cpx-categories__item--expanded>.cpx-categories__item__header {
    .cpx-categories__toggle {
        background-color: var(--e-global-color-secondary);
    }

    .cpx-categories__icon {
        transform: rotate(180deg);
    }
}

.cpx-huidtype-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cpx-huidtype-filter__item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    color: var(--e-global-color-text) !important;
    font-size: .9rem;

    &.is-active {
        font-weight: bold;

        img {
            background-color: #fff;
            border-color: var(--e-global-color-secondary);
        }
    }

    img {
        height: 35px;
        width: 35px;
        object-fit: cover;
        border-radius: 50%;
        border: 1px solid #dedede;
        transition: background-color .2s ease-in-out;
    }

    &:hover,
    &:focus {
        img {
            background-color: #fff;
        }
    }
}

.cpx-brand-filter__heading {
    font-family: var(--e-global-typography-37d0cf7-font-family), Sans-serif;
    font-size: var(--e-global-typography-37d0cf7-font-size);
    font-weight: var(--e-global-typography-37d0cf7-font-weight);
    line-height: var(--e-global-typography-37d0cf7-line-height);
    color: var(--e-global-color-text);

    margin-bottom: 7px;
}

.cpx-brand-filter__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cpx-brand-filter__item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    color: var(--e-global-color-text) !important;
    font-size: 15px;

    &.is-active {
        font-weight: bold;
    }

    img {
        height: 35px;
        width: 35px;
        object-fit: cover;
        border-radius: 50%;
        border: 1px solid #dedede;
        transition: background-color .2s ease-in-out;
    }

    &:hover,
    &:focus {
        img {
            background-color: #fff;
        }
    }
}

.cpx-main-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 20px;

    .cpx-category-card {
        width: calc(50% - 10px);
        background-color: #fff;
        color: var(--e-global-color-text);
        border-radius: var(--cpx-border-radius);
        padding: 15px;
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, .05);
        transition: all .5s cubic-bezier(.19, 1, .22, 1);

        &:hover,
        &:focus {
            transform: translateY(-5px);
            box-shadow: 0 0 20px 0 rgba(0, 0, 0, .09);

            .cpx-category-card-image {
                transform: translateY(-5px);
            }
        }
    }

    .cpx-category-card-image {
        transition: all .5s cubic-bezier(.19, 1, .22, 1);

        img {
            aspect-ratio: 1/1;
            object-fit: cover;
            object-position: center;
            border-radius: 8px;
        }
    }

    .cpx-category-card-title {
        text-align: center;
        display: block;
        font-size: 24px;

        font-family: var(--e-global-typography-37d0cf7-font-family), Sans-serif;
        font-weight: var(--e-global-typography-37d0cf7-font-weight);
        line-height: var(--e-global-typography-37d0cf7-line-height);
    }
}

@media screen and (min-width: 768px) {
    .cpx-main-categories {
        .cpx-category-card {
            width: calc(33.333% - 20px);
        }
    }
}

@media screen and (min-width: 1024px) {
    .cpx-main-categories {
        gap: 40px 30px;

        .cpx-category-card {
            width: calc(16.66% - 25px);
        }

        .cpx-category-card-title {
            font-size: 26px;
        }
    }
}

#tab-title-additional_information {
    display: none !important;
}

/* Gift cards */
.woocommerce_gc_giftcard_form {
    background: #fff;
    padding: 30px;
    padding-top: 20px;
    border-radius: var(--cpx-border-radius);

    textarea {
        border-radius: var(--cpx-border-radius) !important;
    }

    .required {
        color: #bbbbbb !important;
    }
}

.woocommerce_gc_giftcard_form_wrapper {

    +.single_variation,
    +.single_variation+.woocommerce-variation-add-to-cart,
    &~.woocommerce-variation-add-to-cart {
        .single_add_to_cart_button {
            border-top-left-radius: var(--cpx-border-radius) !important;
            border-bottom-left-radius: var(--cpx-border-radius) !important;
            margin-left: 0 !important;
        }
    }
}

/* Balance checker */
.cpx-gc-balance-checker {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;

    input[type="text"] {
        width: 300px;
    }

    input[type="submit"] {
        border-color: var(--e-global-color-primary);

        &:hover,
        &:focus {
            border-color: var(--e-global-color-secondary);
        }
    }
}

@media screen and (max-width: 768px) {
    .cpx-gc-balance-checker {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;

        input[type="submit"],
        input[type="text"] {
            width: 100%;
            text-align: center;
        }
    }
}

.cpx-gc-balance-checker__output {
    margin-bottom: 20px;
    text-align: center;

    .updated {
        font-size: 23px;
        margin-bottom: 20px;
    }
}

/* Gift cards in account */
.woocommerce-MyAccount-content {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--typography-section-titles-color, #000) !important;
        margin-bottom: 5px !important;
    }

    .woocommerce-MyAccount-Giftcards-form {
        margin-bottom: 30px;

        .woocommerce-button {
            font-family: var(--e-global-typography-text-font-family), Sans-serif;
            font-size: var(--e-global-typography-text-font-size);
            font-weight: var(--e-global-typography-text-font-weight);
            line-height: var(--e-global-typography-text-line-height);
            color: var(--e-global-color-text);
            background-color: var(--e-global-color-secondary);
            border-radius: var(--cpx-border-radius);
            color: #fff;

            &:hover,
            &:focus {
                background-color: var(--e-global-color-primary);
                color: var(--e-global-color-001a536);
            }
        }
    }

    .woocommerce-giftcards-table,
    .woocommerce-giftcards-activity-table {
        color: var(--e-global-color-text);
        font-family: var(--e-global-typography-text-font-family), Sans-serif;
        font-size: var(--e-global-typography-text-font-size);
        font-weight: var(--e-global-typography-text-font-weight);
        line-height: var(--e-global-typography-text-line-height);
        padding: 10px;
        background-color: #fff;
        border-radius: var(--cpx-border-radius);
    }
}

.woocommerce-MyAccount-Giftcards-balance-amount {
    .amount {
        font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
        font-size: var(--e-global-typography-secondary-font-size);
        font-weight: var(--e-global-typography-secondary-font-weight);
        line-height: var(--e-global-typography-secondary-line-height);
        color: var(--e-global-color-secondary);
    }
}

.add_gift_card_form button#wc_gc_cart_redeem_send {
    background-color: var(--e-global-color-secondary);
    font-family: var(--e-global-typography-37d0cf7-font-family), Sans-serif;
    font-size: var(--e-global-typography-37d0cf7-font-size);
    font-weight: var(--e-global-typography-37d0cf7-font-weight);
    line-height: var(--e-global-typography-37d0cf7-line-height);
    color: var(--e-global-color-001a536);
    border-radius: var(--cpx-border-radius) var(--cpx-border-radius) var(--cpx-border-radius) var(--cpx-border-radius);
    padding: 10px 22px 10px 22px;
    box-shadow: none;
    text-decoration: none;
    fill: #fff;
    text-align: center;
    transition: all .3s;
}

/* Product bundles */
.elementor-add-to-cart.elementor-product-bundle {
    .bundled_product_title {
        font-size: 28px;

        a.bundled_product_permalink:before {
            font-size: .5em;
            transform: translateY(-53%);
        }
    }

    .bundled_product_image img {
        width: 80px !important;
        height: 80px !important;
        object-fit: cover;
        object-position: center;
        border-radius: var(--cpx-border-radius);
    }

    .bundled_product_excerpt {
        font-size: 15px;
    }

    .bundled_item_cart_details .stock {
        display: none;
    }

    .bundle_button input.qty {
        height: 52px !important;
    }
}
