/**
 * Frontend style
 *
 * @author Leanza Francesco
 * @version 1.0.0
 */

.yith-wcpb-bundled-items-heading {
    font-size   : 1.1em;
    margin      : 15px 0 10px;
    font-weight : 500;
}

.yith-wcpb-product-bundled-items {
    width              : 100%;
    border             : 1px solid #d8d8d8;
    border-radius      : 5px;
    border-collapse    : separate;
    -webkit-box-shadow : 1px 2px 6px 0px rgba(0, 0, 0, 0.1);
    box-shadow         : 1px 2px 6px 0px rgba(0, 0, 0, 0.1);
    margin-bottom      : 40px;
    overflow           : hidden;
    table-layout       : auto;
}

.yith-wcpb-product-bundled-items label {
    display : inline-block;
}

.yith-wcpb-product-bundled-items .yith-wcpb-product-bundled-item {
    border-bottom : 1px solid #d8d8d8;
    display       : flex;
    padding       : 20px;
}

.yith-wcpb-product-bundled-items .yith-wcpb-product-bundled-item:last-child {
    border-bottom : none;
}

.yith-wcpb-product-bundled-items .yith-wcpb-product-bundled-item-image {
    width          : 80px;
    padding        : 0 !important;
    vertical-align : top;
}

.yith-wcpb-product-bundled-items .yith-wcpb-product-bundled-item-data {
    padding-left    : 20px;
    position        : relative;
    flex            : 1;
    display         : flex;
    flex-direction  : column;
    justify-content : center;
}

.yith-wcpb-product-bundled-item-data__variations_form {
    max-width : 400px;
}

.woocommerce div.product form.cart .yith-wcpb-product-bundled-item-data__variations_form .variations select.yith-wcpb-select-for-variables {
    margin-right : 0;
    width        : 100%;
}

.yith-wcpb-product-bundled-item-data__optional {
    margin : 15px 0;
}

.yith-wcpb-product-bundled-item-data__optional label {
    font-weight : 500;
    font-size   : 0.9em;
    cursor      : pointer;
}

.yith-wcpb-product-bundled-item-image .images {
    margin  : 0 !important;
    padding : 0 !important;
    width   : 100% !important;
    float   : none !important;
}

.yith-wcpb-product-bundled-item-image img {
    width : 80px;
}

.yith-wcpb-product-bundled-item-data h3,
.single-product .yith-wcpb-product-bundled-item-data h3 {
    font-size : 1em;
    margin    : 5px 0;
}

h3.yith-wcpb-product-bundled-item-data__title,
.single-product h3.yith-wcpb-product-bundled-item-data__title {
    margin-top : 0;
}

h3.yith-wcpb-product-bundled-item-data__title a,
.single-product h3.yith-wcpb-product-bundled-item-data__title a {
    text-decoration : none;
}

.yith-wcpb-product-bundled-item-data p {
    margin-bottom : 5px;
}

.yith-wcpb-product-bundled-item-data .woocommerce-variation-price,
.yith-wcpb-product-bundled-item-data .price {
    display : none;
}

.yith-wcpb-product-bundled-item-data__price .price {
    display : block;
}

.yith-wcpb-product-bundled-item-data__price .price del,
.yith-wcpb-product-bundled-item-data__price .price del span.amount {
    font-size : 12px !important;
    opacity   : 1 !important;
}

.yith-wcpb-product-bundled-item-data__price .price ins {
    font-weight : bold;
    color       : #485b6d;
    line-height : 1.7;
}

.yith-wcpb-product-bundled-items p.stock {
    display    : block;
    margin     : 0 !important;
    text-align : right;
    padding    : 0 2px 10px 0;
    background : transparent;
    font-size  : 0.92em;
}

.yith-wcpb-product-bundled-items p.stock.out-of-stock {
    color : #5d5d5d;
}

.yith-wcpb-product-bundled-items p.stock.in-stock {
    color : #5d5d5d;
}

.yith-wcpb-product-bundled-item-availability.not-variation p.stock {
    padding : 10px 2px 0 0;
}

.yith-wcpb-product-bundled-item-data__quantity input[type='number'].yith-wcpb-bundled-quantity {
    width       : 70px;
    padding     : 13px 5px;
    background  : #fff;
    border      : 1px solid #d1d1d1;
    text-align  : center;
    line-height : 1;
    height      : auto;
}

.yith-wcpb-bundled-quantity__invalid-notice {
    display       : none;
    margin-top    : 6px;
    border-radius : 5px;
    font-size     : .7em;
    font-weight   : 600;
    color         : red;
}

.yith-wcpb-product-bundled-item-data__quantity input[type='number'].yith-wcpb-bundled-quantity:invalid {
    border-color : red;
}

.yith-wcpb-product-bundled-item-data__quantity input[type='number'].yith-wcpb-bundled-quantity:invalid + .yith-wcpb-bundled-quantity__invalid-notice {
    display : block;
}

.woocommerce div.product form.cart .yith-wcpb-product-bundled-item-data table.variations {
    margin : 15px 0 7px;
}

.woocommerce div.product form.cart .yith-wcpb-product-bundled-item-data table.variations td {
    font-size   : 0.9em;
    font-weight : 500;
}

.woocommerce div.product form.cart .yith-wcpb-product-bundled-item-data table.variations .reset_variations {
    float           : right;
    text-transform  : none;
    text-decoration : none;
}


.yith-wcpb-product-bundled-item-data table.variations,
.yith-wcpb-product-bundled-item-data table.variations tr {
    border : 0px none;
}

/**
 Cart
 */

tr.yith-wcpb-bundle-table-item td {
    border-bottom : 0px !important;
}

tr.yith-wcpb-child-of-bundle-table-item,
tr.yith-wcpb-child-of-bundle-table-item td {
    border-top : 0px !important;
}

tr.yith-wcpb-child-of-bundle-table-item:not(.yith-wcpb-child-of-bundle-table-item--last),
tr.yith-wcpb-child-of-bundle-table-item:not(.yith-wcpb-child-of-bundle-table-item--last) td {
    border-bottom : 0px !important;
}

tr.yith-wcpb-child-of-bundle-table-item td {
    padding-top : 0px !important;
}

tr.yith-wcpb-child-of-bundle-table-item:not(.yith-wcpb-child-of-bundle-table-item--last) td {
    padding-bottom : 0px !important;
}

tr.yith-wcpb-child-of-bundle-table-item td img {
    transform : scale(.7);
}

tr.yith-wcpb-child-of-bundle-table-item td,
tr.yith-wcpb-child-of-bundle-table-item dl.variation dt,
tr.yith-wcpb-child-of-bundle-table-item dl.variation dd,
tr.yith-wcpb-child-of-bundle-table-item ul.wc-item-meta li,
body.woocommerce-checkout .entry-content tr.yith-wcpb-child-of-bundle-table-item ul.wc-item-meta li,
body.woocommerce-account .entry-content tr.yith-wcpb-child-of-bundle-table-item ul.wc-item-meta li {
    font-size : .8em;
}

body.woocommerce-checkout .entry-content tr.yith-wcpb-child-of-bundle-table-item dl.variation dt p,
body.woocommerce-checkout .entry-content tr.yith-wcpb-child-of-bundle-table-item dl.variation dd p,
body.woocommerce-checkout .entry-content tr.yith-wcpb-child-of-bundle-table-item ul.wc-item-meta p,
body.woocommerce-account .entry-content tr.yith-wcpb-child-of-bundle-table-item dl.variation dt p,
body.woocommerce-account .entry-content tr.yith-wcpb-child-of-bundle-table-item dl.variation dd p,
body.woocommerce-account .entry-content tr.yith-wcpb-child-of-bundle-table-item ul.wc-item-meta p{
    font-size  : 1em;
    margin-top : .3em;
}

.yith-wcpb-child-of-bundle-table-item .product-price > *,
.yith-wcpb-child-of-bundle-table-item .product-subtotal > *,
.yith-wcpb-child-of-bundle-table-item .product-total > * {
    opacity : 0.6;
}

.yith-wcpb-saving-amount {
    font-size   : .8em;
    margin-left : 10px;
    font-weight : 600;
    color       : #c81313;
}

/*
	W I D G E T
*/

.yith_wcpb_bundle_widget {
    background : #fff !important;
    border     : 2px solid #f1f1f1;
    padding    : 20px 30px !important;
}

.yith_wcpb_bundle_widget h3 {
    font           : 700 17px 'Open Sans', Helvetica, sans-serif !important;
    text-transform : uppercase;
    color          : #777 !important;
}

ul.yith_wcpb_bundle_list_widget {
    list-style : none !important;
    padding    : 0;
    margin     : 0;
}

ul.yith_wcpb_bundle_list_widget > li {
    min-height     : 65px;
    padding-bottom : 20px;
}

ul.yith_wcpb_bundle_list_widget > li img {
    float       : right;
    margin-left : 4px;
    width       : 45px;
    height      : auto;
    box-shadow  : none;
}

ul.yith_wcpb_bundle_list_widget > li a {
    display     : block;
    font-weight : 700;
}

div.yith-wcbm-widget-bundle-container {
    overflow      : auto;
    display       : block;
    margin-bottom : 10px;
    padding-top   : 20px;
    border-top    : 1px solid #eaeaea;
}

div.yith-wcbm-widget-bundle-container a {
    font            : 600 16px 'Open Sans', Helvetica, sans-serif !important;
    text-transform  : uppercase;
    text-decoration : none;
    color           : #cf1a00;
}

.yith-wcbm-widget-bundle-price del {
    font  : 300 14px 'Open Sans', Helvetica, sans-serif !important;
    color : #777;
}

.yith-wcbm-widget-bundle-price ins {
    font        : 700 15px 'Open Sans', Helvetica, sans-serif !important;
    background  : transparent;
    font-weight : 800;
}

.yith-wcbm-widget-bundle-price > span.amount {
    font        : 700 15px 'Open Sans', Helvetica, sans-serif !important;
    background  : transparent;
    font-weight : 800;
}

ul.yith-wcbm-widget-bundled-items {
    margin     : 0 !important;
    padding    : 0 !important;
    list-style : none !important;
}

ul.yith-wcbm-widget-bundled-items li a {
    font            : 600 13px 'Open Sans', Helvetica, sans-serif !important;
    padding         : 3px 0;
    display         : flex;
    align-items     : center;
    text-decoration : none;
    color           : #777;
}

ul.yith-wcbm-widget-bundled-items li img {
    margin     : 0 10px 0 0;
    width      : 40px;
    height     : auto;
    box-shadow : none;
}

table.yith-wcpb-table-variations tr {
    text-align : right;
}

table.yith-wcpb-table-variations label {
    font-weight  : 800;
    margin-right : 5px;
}

/* ******* REQUEST A QUOTE ******* */
#yith-ywraq-form .yith-wcpb-child-of-bundle-table-item .product-thumbnail img {
}

@media only screen and (max-width : 768px) {
    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item {
        height : auto;
    }

    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item .product-price,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item .product-price,
    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item .product-subtotal,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item .product-subtotal {
        display : none;
    }

    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item td.product-name a,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item td.product-name a {
        font-size    : inherit;
        padding-left : inherit;
    }

    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item td.product-name::before,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item td.product-name::before {
        content : '- ';
    }

    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item dl.variation dt,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item dl.variation dt,
    .woocommerce table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item dl.variation dd,
    .woocommerce-page table.shop_table_responsive tr.yith-wcpb-child-of-bundle-table-item dl.variation dd {
        margin      : inherit;
        font-size   : inherit;
        padding     : inherit;
        line-height : inherit;
    }
}

/**
 * Storefront - Quick View - Bundle FIX
 */
.storefront-full-width-content.single-product .yith-quick-view-content .product .images {
    margin : 0 !important;
}

/**
 * YITH Proteo
 */

.theme-yith-proteo.single-product div.product .summary.entry-summary .yith-wcpb-product-bundled-item-data__price .price {
    margin-bottom : 5px;
    font-size     : 1em;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data__price .price ins {
    font-size : 15px;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations {
    margin : 20px 0 7px;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations td {
    font-size   : 0.9375rem;
    font-weight : 500;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations td.label {
    padding        : 7px 30px 20px 0;
    vertical-align : top;
    min-width      : 70px;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations td.value {
    width          : 100%;
    padding-bottom : 20px;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations tr:last-child td {
    padding-bottom : 0;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations .reset_variations {
    margin-top      : 5px;
    float           : right;
    text-transform  : none;
    text-decoration : none;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations {
    text-transform : uppercase;
}

.theme-yith-proteo .yith-wcpb-product-bundled-item-data table.variations tr > td .select2-container {
    width : 100% !important;
}

.theme-yith-proteo .yith-wcpb-saving-amount {
    font-size : .5em;
}

/**
 * Elementor
*/
.woocommerce div.product.elementor form.yith-wcpb-bundle-form {
    display : block !important;
}