body.vorteilspaket:not(.show-optional-variations-table) .variations .attribute_options,
body.vorteilspaket .bundled_product .variations td.label,
body.vorteilspaket .bundled_product .variations .single_variation_wrap,
body.vorteilspaket .bundled_product .stock:not(.available-on-backorder),
body.vorteilspaket .bundled_product .reset_variations,
.bundled_product .bundled_item_cart_content--populated,
.attribute_options.attribute_value_static,
.bundled_item_38 .cart /*poeder olie kinderpakket*/ {
	display: none!important;
}

body.vorteilspaket.voor-kinderen .w-post-elm.add_to_cart {
    margin-top: 0;
}

/*3 vorteilspaket tags*/
.bundle-tag::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 14px;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.2);
}
.bundle-tag:after {
    position: absolute;
    left: -2em;
    top: 0;
    content: '';
    width: 0;
    height: 0;
    border-top: 21px solid transparent;
    border-right: 2em solid var(--color-header-middle-text-hover);
    border-bottom: 21px solid transparent;
}

/*GENERAL BUNDLE LAYOUT*/
#page-content .bundle_error {
    margin-top: 1.5rem!important;
}
.bundled_product input:not([type=submit]) {
    border-color: var(--color-content-secondary);
}
body.vorteilspaket .bundle_form {
    margin-top: 1.5rem;
}
body.vorteilspaket #page-content h1 {
    margin-bottom: 0;
}
body.woocommerce h4.bundled_product_title.product_title {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 0;
}
.bundled_product input[type=checkbox] {
    width: 1.5em!important;
}
body.vorteilspaket .bundled_product .cart {
    margin-bottom: 0;
    margin-top: 1rem;
}
body.vorteilspaket .bundled_product .cart.variations_form {
    margin-top: 0;
}
body.vorteilspaket div.bundled_product_summary, 
body.vorteilspaket.woocommerce div.product.bundled_product_summary {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
body.vorteilspaket.woocommerce:not(.postid-173160) div.product.bundled_product_summary {
    padding-bottom: 0.5rem; 
}
body.vorteilspaket .bundled_product_images {
    z-index: 1;
}
body.vorteilspaket .bundled_product_images:after {
    content: '\f00e';
    position: absolute;
    bottom: 0;
    right: -0.5rem;
    z-index: -1;
    font-family: fontawesome;
    font-weight: 400;
    color: var(--color-content-link);
}
body.vorteilspaket .bundled_product .amount-free,
body.postid-55 .bundled_product .bundled_item_cart_details span.price ins bdi {
    text-transform: uppercase;
    color: var(--color-content-primary);
    border-bottom: 1px dashed;
}
div.bundled_product_summary:not(.thumbnail_hidden) .details {
    margin-top: 0.5rem;
}
body.vorteilspaket div.bundled_product .cart.variations_form select {
    font-size: 90%;
    max-height: 2rem;
}

/*PRICE*/
body.vorteilspaket .single_variation_wrap .price {
    line-height: 1.4;
}
body.vorteilspaket .price del {
    text-decoration: none;
}
body.vorteilspaket p.price del {
    font-size: 70%;
}
body.vorteilspaket .price.discounted del,
body.vorteilspaket .woocommerce-variation-price .price del {
    margin: 0;
}
body.vorteilspaket .price del .amount {
    position: relative;
}
body.vorteilspaket .price del .amount:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    height: 1.5px;
    bottom: calc(50% - 1px);
    background-color: var(--color-content-text);
}
body.vorteilspaket .bundled_product_summary.bundled_product span.price.discounted,
body.vorteilspaket .bundled_product_summary.bundled_product .woocommerce-variation-price span.price  {
    display: flex;
    gap: 0.35rem;
    flex-direction: row;
    justify-content: flex-start;
}
.price.discounted del .woocommerce-Price-amount,
body.vorteilspaket .woocommerce-variation-price .price del .woocommerce-Price-amount {
    line-height: calc(1.6 * 1.2);
}
#page-content .bundled_product .price.discounted del .amount bdi,
body.vorteilspaket .woocommerce-variation-price .price del .amount bdi {
    font-size: 1rem;
}
#page-content .bundled_product .price.discounted ins .amount bdi,
body.vorteilspaket .woocommerce-variation-price .price ins .amount bdi {
    font-size: 1.2rem;
}
body.vorteilspaket .bundled_product .details {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

/*PLUS ICON*/
body.bundle-plus-icon form .bundled_product:nth-of-type(n+2):not(.bundled_item_optional):after {
    content: '\f067';
    font-family: fontawesome;
    font-weight: 400;
    font-size: 1.6rem;
    position: absolute;
    top: -1.5rem;
    width: 100%;
    text-align: center;
    line-height: 1;
    color: var(--color-content-primary);
}


/*BUNDLE WITH OPTIONAL ITEMS*/
body.vorteilspaket.bundle-wrapped-boxes div.bundled_product_summary,
body.vorteilspaket.woocommerce.bundle-wrapped-boxes div.product.bundled_product_summary {
    margin-bottom: 0;
}
body.vorteilspaket .bundled_product_excerpt {
    font-size: 80%;
    line-height: 1.2;
}
body.vorteilspaket:not(.optional-bundle-item-no-styling) .bundled_item_optional {
    margin-top: 2rem;
    background: var(--color-content-bg);
    padding: 0.5rem 0;
    border-radius: 5px;
    border: 1px solid var(--color-content-primary);
}
body:not(.bundle-wrapped-boxes) .bundled_item_optional { 
    margin-bottom: 1.618rem!important;
}
body.vorteilspaket.magnesium-voor-kinderen .bundled_item_optional { 
    margin-bottom: 0!important;
}
body.vorteilspaket .bundled_product_optional_checkbox .price {
    display: inline-block;
    line-height: 1.6;
}

/*BUNDLED IN BLUE BOXES*/
.bundle-wrapped-boxes .bundled_product {
    border: 2px solid var(--color-content-primary);
    padding-right: 1rem;   
}

.bundle-wrapped-boxes .cart_group.bundle_form>.bundled_product:first-child, /* default 1st item */
.bundled_item_76, .bundled_item_100, .bundled_item_126 /* other boxes top positioned */
{
    padding-top: 1.5rem;
    border-radius: 1rem 1rem 0 0;
    margin-top: 1.5rem;
}

.bundle-wrapped-boxes .cart_group.bundle_form>.bundled_product:nth-last-child(2), /* default last item */
.bundle-wrapped-boxes .bundled_item_97,.bundle-wrapped-boxes .bundled_item_101 /* other boxes bottom positioned */
 {
    padding-bottom: 1.5rem!important;
    border-top: none;
    border-radius: 0 0 1rem 1rem;
    border-bottom: 2px solid var(--color-content-primary) !important;
}
.bundled_item_96,.bundled_item_127 { /* boxes middle positioned */
    border-top: none!important;
}

/* single boxes, complete radius */
.bundled_item_87,.bundled_item_88 { 
    border: 2px solid var(--color-content-primary)!important;
    border-radius: 1rem!important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem!important;
}

/* titles */
div.bundled_product_summary.bundled_item_87:before,
div.bundled_product_summary.bundled_item_88:before { 
    position: absolute;
    top: -1.5rem;
    margin: auto;
    background: white;
    margin-left: 1.5rem;
    padding: 0.5rem;
}
div.bundled_product_summary.bundled_item_:before {
    content: '1. Wählen Sie ein Pulver';
}
div.bundled_product_summary.bundled_item_:before {
    content: '1. Sport Flakes';
}
div.bundled_product_summary.bundled_item_87:before {
    content: '1. Wählen Sie die Flocken';
}
div.bundled_product_summary.bundled_item_88:before {
    content: '2. Wählen Sie ein Öl';
}
div.bundled_product_summary.bundled_item_126:before {
    content: '2. Kies een Supplement'
}
div.bundled_product_summary.bundled_item_:before {
    content: '3. Optional';
}
div.bundled_product_summary.bundled_item_:before {
    content: '3. Kies een pot Tauraat';
}
div.bundled_product_summary.bundled_item_:before {
    content: '3. Magnesiumpoeder';
}
div.bundled_product_summary.bundled_item_:before {
    content: '2. Kies de MCM Gel';
}
div.bundled_product_summary.bundled_item_:before {
    content: '4. Optional';
}
div.bundled_product_summary.bundled_item_:before {
    content: '1. Night Time Capsules';
}
div.bundled_product_summary.bundled_item_:before {
    content: '2. Wählen Sie ein Lotion';
}
.bundled_item_ .details:before {
    position: absolute;
    left: 5px;
    font-size: 80%;
    content: 'Kundenfavorit';
    color: var(--color-actie);
    font-weight: 700;
}

/*huidaandoening*/
body.postid-55 .bundled_product .bundled_item_cart_details span.price {
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
}
body.vorteilspaket.postid-55 .bundled_product .cart,
.woocommerce.vorteilspaket.postid-55 div.product .product_title {
    margin-top: 0;
    margin-bottom: 0;
}

/*bundle sells*/
.bundle_sells_title h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.bundle_sells_form .bundled_product_summary .bundled_product_optional_checkbox {
    display:flex;
    align-items: center;
    margin-top: 0.75rem;
}
.bundle_sells_form .bundled_product_checkbox {
    margin-bottom: 0.1rem;
    margin-right: 0.75rem;
}

/*price with variaion bundle*/
.bundle_price .price {
    font-size: 1.7rem;
}
.bundle_price .price del {
    margin-bottom: 1rem;
}
#page-content .bundle_price p.price {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    /*tablepress kinderen*/
    body.vorteilspaket.magnesium-voor-kinderen .tablepress-id-1 {
        width: 204vw;
        margin-left: -24%;
        transform: scale(0.8);
    }
    body.vorteilspaket.magnesium-voor-kinderen .table-wrapper {
        overflow-x: scroll;
    }
    /*bundles*/
    body.vorteilspaket .bundled_product .variations_form .woocommerce-select select {
        font-size: 88%;
        padding-right: 1.8em;
    }
    .bundled_product input[type=checkbox] {
        font-size: 1em;
        vertical-align: middle!important;
    }
    body.vorteilspaket .bundled_product_images {
        max-width: 45%;
    }
    body.vorteilspaket .bundled_product_images:after {
        right: 2.5rem;
    }
    body.vorteilspaket .bundled_product {
        margin-left: -1.2rem;
        margin-right: -1.2rem;
    }
    body.vorteilspaket .small_width.bundle_form div.bundled_item_optional .bundled_product_images {
        max-width: 34%;
    }
    body.vorteilspaket .bundled_item_optional .bundled_product_optional_checkbox {
        font-size: 80%;
    }
    body.vorteilspaket .bundled_product_images:after {
        right: unset;
        left: 5%;
    }
    body.vorteilspaket .bundled_item_optional .bundled_product_optional_checkbox span.price {
        font-size: 16px;
    }
}