/* SOF Addon - Bundle Accordion Styles */

/* Accordion Container */
.sof-bundle-accordion {
    margin: 20px 0;
    /* border: 1px solid #86cbbc; */
    border-top: 2px solid #86cbbc;
    border-bottom: 2px solid #86cbbc;
    /* border-radius: 4px; */
    /* background: #fff; */
    overflow: hidden;
}

/* Accordion Header */
.sof-bundle-header {
    /* background: #f8f8f8; */
    /* border-bottom: 2px solid #86cbbc; */
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.sof-bundle-header:hover {
    opacity: 0.9;
}

/* Accordion Title */
.sof-bundle-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 14px 20px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: color .2s ease-in-out;
    border: none;
    box-shadow: none;
    color: #2F2E2A !important;
    font-size: 1em;
    font-family: "TTNormsProNormal", sans-serif;
    font-weight: normal;
}

/* Accordion Icon */
.sof-bundle-icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: inline-block;
    vertical-align: middle;
    height: 12px;
    width: 12px;
    color: #B27BC4 !important;
    border-color: #B27BC4;
}
.sof-bundle-icon:before {
    content: '';
    display: block;
    position: absolute;
    box-sizing: border-box;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-25%, -25%);
    border-color: #B27BC4 !important;
    transition: all .2s ease-in-out;
}

.sof-bundle-accordion.active .sof-bundle-icon:before {
    transform: rotate(225deg) translate(-25%, -25%);
}

.sof-bundle-content th.bundled_item_col {
    text-align: left;
}

h4.bundled_product_title{
    margin: 0;
    font-size: 1em;
}

/* Accordion Content */
.sof-bundle-content {
    /* display: none; */
    padding: 0;
}

.sof-bundle-accordion.active .sof-bundle-content {
    display: block;
}
@media (max-width: 480px) {
    .small_width.bundle_form table.bundled_products td, .small_width.bundle_form table.bundled_products tr td.bundled_item_qty_col {
        text-align: center !important;
    }
    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image {
        max-width: 80%;
        display: block;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 768px), screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .single-product .product .summary .cart button.single_add_to_cart_button {
        width: 100%;
        max-width: 190px;
        padding: 5px 15px;
    }
   .small_width.bundle_form table.bundled_products tr td.bundled_item_details_col {
    text-align: center;
    }

    .small_width.bundle_form table.bundled_products tr td.bundled_item_qty_col {
        text-align: center !important;
    }
    .bundled_product_summary .bundled_product_images img {
        max-width: 50%;
        display: block;
        margin: 0 auto;
    }   
}
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 22px;
    color: green;
}
.woocommerce-table--order-details th.product-name, .woocommerce-table--order-details th.product-total {
    background: #f3dcc7;
    text-align: left;
    padding: 5px 10px;
}
.woocommerce-table--order-details tfoot th {
    text-align: left;
    padding: 5px 0;
}
.woocommerce-table--order-details tbody td {
    padding: 6px 10px;
}
.woocommerce-table--order-details tbody td a {
    text-decoration: none;
}
.woocommerce-table--order-details ul.wc-item-meta li p {
    display: inline-block;
}
.woocommerce-table--order-details ul.wc-item-meta li {
    list-style: none;
}
.sof-bundle-content table.bundled_products td.bundled_item_col, .sof-bundle-content table.bundled_products th.bundled_item_col {
        padding: 10px;
}
.bundled_item_wrap .woocommerce-variation-add-to-cart {
    padding-bottom: 0;
}
.bundled_item_cart_content table.variations {
    margin-bottom: 10px;
}
@media (max-width: 640px) {
    .single-product .product .vc_tta-container .vc_tta-panel-body {
        padding: 0;
    }
    table.bundled_products td.bundled_item_images_col {
        width: 20%;
        min-width: 50px;
    }
    td.bundled_item_col.bundled_item_details_col {
        min-width: 90px;
    }
}
.has-sof-bundle-accordion .vc_tta.vc_general .vc_tta-panel:last-child {
    display: none;
}