/* Text → Heading */
.text-content-container :is(p, ul, ol)+ :is(h1, h2, h3, h4, h5, h6) {
    margin-top: var(--wp--preset--spacing--x-large) !important;
}

/* Heading → Text */
.text-content-container :is(h1, h2, h3, h4, h5, h6)+ :is(p, ul, ol) {
    margin-top: var(--wp--preset--spacing--small) !important;
}

/* Paragraph → Paragraph */
.text-content-container p+p {
    margin-top: var(--wp--preset--spacing--regular) !important;
}

/* Paragraph ↔ List */
.text-content-container :is(p)+ :is(ul, ol),
.text-content-container :is(ul, ol)+ :is(p) {
    margin-top: var(--wp--preset--spacing--regular) !important;
}

/* List ↔ List */
.text-content-container :is(ul, ol)+ :is(ul, ol) {
    margin-top: var(--wp--preset--spacing--small) !important;
}

.text-content-container ul,
.panel-body ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.text-content-container {
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.read-more-btn {
    margin-top: 0;
    transition: margin 0.3s ease;
}

.read-more-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn .bi {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

/* Text button */
.read-more-btn-text a {
    color: var(--wp--preset--color--primary-text);
    font-weight: 600;
    padding: 0;
}

.read-more-btn-text a:hover {
    opacity: 0.7;
}

/* Bordered button */
.read-more-btn-bordered a {
    padding: 12px 24px;
    border: 1px solid var(--wp--preset--color--primary-text);
    ;
    border-radius: 100px;
    color: var(--wp--preset--color--primary-text);
    ;
    font-weight: 600;
    background: transparent;
}

.read-more-btn-bordered a:hover {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--secondary);
}

/* Solid button */
.read-more-btn-solid a {
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--secondary-background);
    font-weight: 600;
    border: 1px solid var(--wp--preset--color--secondary);
}

.read-more-btn-solid a:hover {
    opacity: 0.9;
}

ul,
ol{
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.list-padding {
    list-style-type: disc;
    padding-left: 32px;
}

ol.list-padding {
    list-style-type: decimal;
    padding-left: 32px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.select2-container .select2-dropdown,
.select2-container .select2-selection {
    border: 1px solid var(--wp--preset--color--primary-border) !important;
}
input,
textarea {
    font-size: 16px!important;
}

input:focus,
textarea:focus {
    border-color: var(--wp--preset--color--primary) !important;
}

.card {
    background: var(--wp--preset--color--secondary-background);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(29, 33, 41, 0.06);
    ;
    border: 1px solid var(--border);
    padding: 20px
}

.survey-popup,
.quote-popup {
    cursor: pointer;
}

.order-0 {
    order: 0 !important;
}

.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

.order-3 {
    order: 3 !important;
}

.order-4 {
    order: 4 !important;
}

.width-max-content {
    min-width: max-content !important;
}


.big-icon {
    min-width: 120px;
    min-height: 120px;
}

.normal-icon {
    min-width: 80px;
    min-height: 80px;
}

.small-icon {
    min-width: 60px;
    min-height: 60px;
}

.glass {
    background-color: rgba(15, 157, 88, 0.08);
}

a.clickable::before,
.clickable>a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wp-block-cover__inner-container {
    width: 100% !important;
}

.vertical-divider {
    width: 1px;
    height: 100%;
    background: var(--wp--preset--color--primary-border);
}

.slider-btn {
    cursor: pointer;
}

.slider-btn.disabled {
    background-color: var(--wp--preset--color--placeholder-text) !important;
}

.icon-list li {
    position: relative;
    padding-left: 1.5rem;
}

.icon-list li::before {
    font-family: "Bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
}

.icon-list.check-icon-list li::before {
    content: "\f26a";
}

.plusminus {
    position: relative;
    width: 15px;
    height: 15px;
    cursor: pointer;

    &.active {
        &:before {
            transform: translatey(-50%) rotate(-90deg);
            opacity: 0;
        }

        &:after {
            transform: translatey(-50%) rotate(0);
        }
    }

    &:before,
    &:after {
        content: "";
        display: block;
        background-color: var(--wp--preset--color--body);
        position: absolute;
        top: 50%;
        left: 0;
        transition: .35s;
        width: 100%;
        height: 1.5px;
    }

    &:before {
        transform: translatey(-52%);
    }

    &:after {
        transform: translatey(-50%) rotate(90deg);
    }

}

.wp-block-cover .wp-block-cover__inner-container {
    padding: 0 !important;
}

/* FAQs Section */
.faqs-section .accordion-container {
    border: 1px solid var(--wp--preset--color--secondary-border);
    border-radius: 6px;
    overflow: hidden;
}

.faqs-section .accordion-head {
    padding: 16px;
    cursor: pointer;
}

.faqs-section .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faqs-section .panel .panel-body>* {
    margin-top: 10px;
}

/* Custom Accordions */
.custom-accordions .accordion-head {
    cursor: pointer;
}
.custom-accordions .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.custom-accordions .accordion-item.expanded .accordion-panel {
    margin-top: 16px;
    max-height: unset;
}

/* Reviews Section */
.reviews-section .slider-nav {
    max-width: 1520px;
    width: 1520px;
    position: absolute;
    left: -80px;
}

.swiper-slide {
    height: auto !important;
}

@media (max-width: 780px) {
    .reviews-section .slider-nav {
        position: unset;
        width: 110px;
        align-self: flex-end;
    }
}

/* Tabs */
.tab-content {
    display: none !important;
}

.tabs {
    /* display: flex;
    padding: var(--wp--preset--spacing--small);
    background-color: var(--wp--preset--color--secondary-background);
    border-radius: 100px;
    position: relative;
    max-width: 400px;
    margin-bottom: 30px; */
}

.tab {
    cursor: pointer;
    z-index: 1;
}

.tab.active {
    color: var(--wp--preset--color--white);
}

.tabs-bg {
    position: absolute;
    height: 100%;
    width: 0;
    background: var(--wp--preset--color--secondary);
    border-radius: 100px;
    transition: 0.3s ease;
    z-index: 0;
}

/* Product Card */
li.wc-block-product .wc-product-img-wrap *{
	height: 100%!important;
}

li.wc-block-product .wc-block-components-product-button__button span {
    font-size: 0;
    line-height: 1;
}

li.wc-block-product .wc-block-components-product-button__button span::before,
li.wc-block-product.outofstock .wp-element-button.cwg_popup_submit_wrapper::before {
    content: "\F179";
    font-family: "Bootstrap-icons";
    font-size: 24px;
    font-weight: 400 !important;
}

li.wc-block-product.outofstock .wp-element-button.cwg_popup_submit_wrapper::before {
    content: "\F32F";
    color: var(--wp--preset--color--secondary);
    font-size: 32px;
}

.wc-block-components-product-price del {
    font-size: var(--wp--preset--font-size--small);
    font-weight: normal;
    margin-right: var(--wp--preset--spacing--small);
}

li.wc-block-product.outofstock .wp-element-button.cwg_popup_submit_wrapper {
    background-color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--large);
    border-radius: 8px;
    line-height: 1;
    position: relative;
}
.related-products ul.wc-block-product-template li.wc-block-product.outofstock .wp-element-button,
body.home .slider-section ul.wc-block-product-template li.wc-block-product.outofstock .wp-element-button {
    display: none !important;
}

li.wc-block-product.outofstock .wp-element-button.cwg_popup_submit_wrapper input.cwg_popup_submit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    border: 0;
    z-index: 10;
}

li.wc-block-product .wc-block-components-product-stock-indicator::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10ca56;
    margin-right: 6px;
}

li.wc-block-product.outofstock .wc-block-components-product-stock-indicator {
    color: var(--wp--preset--color--grey) !important;
}

li.wc-block-product.outofstock .wc-block-components-product-stock-indicator::before {
    background: var(--wp--preset--color--grey);
}

li.wc-block-product.product-type-variable.instock .wc-block-components-product-stock-indicator::after {
    content: 'Op voorraad';
}
li.wc-block-product.product-type-variable.outofstock .wc-block-components-product-stock-indicator::after {
    content: 'Tijdelijk uitverkocht';
}

/* Out of Stock Notification Popup */
.swal2-shown .swal2-container .swal2-content {
    padding: 0 !important;
}

.swal2-shown .swal2-container .swal2-popup.swal2-modal.swal2-show {
    background: #fff;
    border-radius: 14px;
    max-width: 350px;
    margin: 0 auto;
    padding: 28px 26px 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: left;
    animation: fadeIn 0.25s ease;
}

.swal2-shown .swal2-container .swal2-close {
    position: absolute;
    top: 10px;
    right: 8px;
    font-size: 24px;
    color: var(--wp--preset--color--grey);
    cursor: pointer;
    transition: color 0.2s;
}

.swal2-shown .swal2-container .cwginstock-title {
    font-size: var(--wp--preset--font-size--large);
    text-align: center;
    margin-bottom: 8px;
}

.swal2-shown .swal2-container .cwginstock-desc {
    color: var(--wp--preset--color--grey);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--medium);
}

.swal2-shown .swal2-container .cwginstock-form {
    font-family: "Lato", sans-serif;
}

.swal2-shown .swal2-container .cwginstock-form label {
    font-size: var(--wp--preset--font-size--small);
    display: block;
    text-align: left;
    margin-bottom: 8px;
}

.swal2-shown .swal2-container .cwginstock-form input[type="text"],
.swal2-shown .swal2-container .cwginstock-form input[type="email"],
.swal2-shown .swal2-container .cwginstock-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--wp--preset--color--primary-border);
    border-radius: 8px;
}

.swal2-shown .swal2-container .cwgstock_button {
    width: 100%;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--success);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 0;
    border-radius: 8px !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.swal2-shown .swal2-container .cwgstock_output>div {

    padding: 12px;
    border-radius: 8px;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.44;
}

.swal2-shown .swal2-container .cwginstocksuccess {
    background: #e4f5ee;
    margin-top: 16px;
    color: var(--wp--preset--color--success) !important;


}

.swal2-shown .swal2-container .cwginstockerror {
    background: #f9e7e7;
    margin-top: 16px;
    color: var(--wp--preset--color--error);

}

.swal2-shown .swal2-container .cwginstock-form:has(.cwgstock_output > .cwgstocksuccess) .cwgstock_form_fields {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}