/** Toogle START **/
.toggle-master {
    cursor: pointer
}

.toggle-master .ticon {
    text-align: center;
    height: 25px;
    width: 25px;
    color: var(--wpex-accent);
    line-height: 25px;
    font-size: 16px;
    font-weight: bolder;
}
/** Toogle END **/

#product-badges {padding: 0; margin: 10px 0; list-style: none;}
#product-badges li {float: left; display: inline-block; width: 60px; height: 60px; margin: 5px 5px 5px 0;}
#product-badges:after {clear: both; display: block; content: ' '}


/* Custom Boxes product - START */
.woocommerce-page div.product-type-cpb_custom_product_boxes #cpb_product_boxes_custom div.images {
    width: 50%;
    max-width: 50%;
}

.cpb-col-left {
    flex: 0 0 58%;
    max-width: 58%;
}

.cpb-col-right {
    flex: 0 0 42%;
    max-width: 42%;
}

.woocommerce .product .cpb-col-right .woocommerce-product-gallery {
    float: none;
    width: 100%;
}

#cpb_product_boxes_custom .product_title,
#cpb_product_boxes_custom .woocommerce-tabs {
    float: left;
    width: 50%;
    padding-left: 7px;
    clear: none;
}

#cpb_product_boxes_custom .cpb_bundle .cpb_totals_text {
    font-size: 18px
}

#cpb_product_boxes_custom .cpb_bundle .cpb_bundle_price {
    font-size: 18px;
    color: var(--wpex-accent)
}

#cpb_product_boxes_custom .cpb_extra_field {
    margin-bottom: 20px;
}

#cpb_product_boxes_custom .cpb-boxes .cpb-inner img {
    background-color: #fff
}

#cpb_product_boxes_custom .cpb_category_filters_wrap .cpb-filter-text {
    text-align: left;
    font-size: var(--wpex-text-2xl);
    line-height: 1.4;
    color: var(--wpex-accent);
    font-weight: normal;
}

#cpb_product_boxes_custom .cpb_category_filters_wrap {
    border-bottom: 1px solid var(--wpex-border-main);
    margin-bottom: 15px;
}

#cpb_product_boxes_custom .cpb-row {
    clear: both;
}

#cpb_product_boxes_custom .cpb_category_filters_wrap .cpb-row:last-child .cpb-col-1 {
    text-align: left;
    min-height: 40px;
    padding: 0;
    margin-bottom: 0;
}

#cpb_product_boxes_custom .cpb_category_filters_item {
    display: inline-block;
    height: 30px;
    margin: 1px 10px -1px 0;
    color: #000;
    border-bottom: 2px solid transparent;
}

#cpb_product_boxes_custom .cpb_category_filters_item label {
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
}

#cpb_product_boxes_custom .cpb_category_filters_item label input {
    display: none
}

#cpb_product_boxes_custom .cpb_category_filters_item:hover {
    border-bottom-color: var(--wpex-accent);
}

#cpb_product_boxes_custom .cpb_category_filters_item.active {
    border-bottom-color: var(--wpex-accent);
    font-weight: bolder;
}

#cpb_product_boxes_custom .cpb-items .cpb-caption .woocommerce-loop-product__title {
    overflow: hidden;
    height: 46px;
    text-overflow: ellipsis;
}

#cpb_product_boxes_custom .cpb-items .cpb-inner {
    position: relative;
}

#cpb_product_boxes_custom .cpb-items .cpb-inner .cpb-item-image {
    border: 1px solid var(--wpex-accent);
}

#cpb_product_boxes_custom .cpb-items .cpb-inner:hover .cpb-item-image::before {
    background: none !important;
}

#cpb_product_boxes_custom .cpb-items .cpb-inner .wpex-icon {
    display: block;
    position: absolute;
    z-index: 50;
    font-size: 16px;
    opacity: 1;
    top: 5px;
    right: 5px;
    color: var(--wpex-accent);
    background: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

#cpb_product_boxes_custom .cpb-boxes .cpb_items_header {
    line-height: normal;
    width: 100%;
    text-align: left;
    margin: 0 0 15px 0;
    font-weight: normal;
    border-bottom: 1px solid var(--wpex-border-main);
    padding-bottom: 15px;
    font-size: var(--wpex-text-2xl);
}

.cpb-remove {
    display: none;
}

#cpb_product_boxes_custom .cpb-remove {
    display: none;
    position: absolute;
    right: 14px;
    top: 0;
    bottom: 0;
    color: var(--wpex-accent);
}

#cpb_product_boxes_custom .cpb-boxes .cpb-inner:not(:empty) + .cpb-remove {
    display: block;
}

#cpb_product_boxes_custom .cpb-boxes .cpb-inner:hover:not(:empty)::before {
    background: none !important;
}

#cpb_product_boxes_custom .cpb_extra_field label {
    text-align: left;
    display: inline-block;
    margin: 15px 0;
    width: 100%;
    font-size: 18px;
    line-height: 1.4;
    color: var(--wpex-accent);
}

#cpb_product_boxes_custom .cpb_extra_field textarea {
    height: 150px
}

.cpb_product_quick_view .cpb_product_quick_view_close {
    color: var(--wpex-accent);
}

.cpb_product_quick_view .cpb_loader div {
    border-color: var(--wpex-accent) transparent transparent transparent;
}

.theme-Total div#cpb-success-message {
    top: 20%;
    background: var(--wpex-accent);
    color: var(--wpex-on-accent);
    border-radius: 0;
    border: 1px solid var(--wpex-accent);
    font-weight: 600;
    padding: 10px 20px;
}

.theme-Total div#cpb-error-message {
    top: 20%;
    background: var(--wpex-red-error);
    color: var(--wpex-white);
    border-radius: 0;
    border: 1px solid var(--wpex-red-error);
    font-weight: 600;
    padding: 10px 20px;
}

.theme-Total .cpb_product_quick_view {
    width: 96vw;
    max-height: 96vh;
    overflow-y: scroll;
}

.theme-Total .cpb_product_quick_view_content div.product div.images, .woocommerce-page div.product div.images {
    width: 45%;
}

.theme-Total .cpb_product_quick_view_content .product .summary {
    width: 45%;
    margin-right: 50px;
}

.theme-Total .cpb_product_quick_view .cpb_boxes_item_data .cpb_product_boxes_carousel {
    width: 100%;
}

.theme-Total .cpb_product_quick_view_content .woocommerce-product-gallery__wrapper {
    display: block;
}

@media (max-width: 480px) {

    .theme-Total .cpb_product_quick_view {
        width: 90vw;
        padding: 4vw;
    }

    #cpb_product_boxes_custom .product_title,
    #cpb_product_boxes_custom .woocommerce-tabs,
    .theme-Total .cpb_product_quick_view_content div.product div.images, .woocommerce-page div.product div.images,
    .theme-Total .cpb_product_quick_view_content .product .summary {
        float: none;
        width: 100%;
        padding: 0;
    }

    .woocommerce-page div.product-type-cpb_custom_product_boxes #cpb_product_boxes_custom div.images,
    #cpb_product_boxes_custom .cpb-col-right, #cpb_product_boxes_custom .cpb-col-left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #cpb_product_boxes_custom .cpb-col-2, #cpb_product_boxes_custom .cpb-col-3, #cpb_product_boxes_custom .cpb-col-4,
    #cpb_product_boxes_custom .cpb-col-5, #cpb_product_boxes_custom .cpb-col-6, #cpb_product_boxes_custom .cpb-col-7,
    #cpb_product_boxes_custom .cpb-col-8, #cpb_product_boxes_custom .cpb-col-9, #cpb_product_boxes_custom .cpb-col-10,
    #cpb_product_boxes_custom .cpb-col-11, #cpb_product_boxes_custom .cpb-col-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Custom Boxes product - END */

/* Custom Checkout START*/
.woocommerce-checkout .ywgc_enter_code {
    padding: 0;
    margin-top: 0;
}

.woocommerce-checkout .ywgc_enter_code .form-row-last {
    padding: 0;
}

.woocommerce-checkout form.checkout_coupon {
    display: block !important;

    input {
        display: none;
    }
}

.woocommerce-checkout .ywgc_enter_code p,
.woocommerce-checkout .checkout_coupon_form p {
    margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}
/* Custom Checkout START*/

#current-shop-items-inner .i3woo-amount-left {
    padding: 0 10px 0 20px;
}

.woocommerce-checkout .ywgc_enter_code,
.woocommerce-checkout .checkout_coupon_form {
    margin-bottom: 20px;
}

.woocommerce-checkout .ywgc_enter_code p.form-row.form-row-first {
    width: auto;
    float: none;
    display: inline-block;
    padding-right: 0;
    margin-right: 5px;
}
.woocommerce-checkout .ywgc_enter_code p.form-row.form-row-last {
    width: auto;
    float: none;
    display: inline-block;
    padding-left: 0;
}

.woocommerce-checkout .checkout_coupon_form p.form-row.form-row-first {
    width: auto;
    float: none;
    display: inline-block;
    padding-right: 0;
    margin-right: 5px;
}
.woocommerce-checkout .checkout_coupon_form p.form-row.form-row-last {
    width: auto;
    float: none;
    display: inline-block;
    padding-left: 0;
}

/*GIFT CARD START */
.ywgc-design-list .ywgc-preset-image img {
    width: 50px;
    height: 50px;
}

.entry-content .product-type-gift-card .woocommerce-product-gallery__wrapper {
    grid-template-columns: auto
}

.gift-cards_form.cart .gift-cards-list button {
    width: 32.50%
}

.gift-cards_form.cart .gift-cards-list #ywgc-manual-amount {
    width: 100%
}

.gift-cards_form.cart .gift-card-content-editor.step-content label {
    float: none;
    width: 100%;
    text-align: left
}

.gift-cards_form.cart .gift-card-content-editor.step-content input, .gift-card-content-editor.step-content textarea {
    float: none;
    width: 100%
}

.gift-cards_form.cart .gift-card-content-editor.step-content h5 {
    margin: 30px 0 0;
}

.gift-cards_form.cart .gift-card-content-editor.step-content .ywgc-single-recipient .ywgc-recipient-name {
    margin-bottom: 0;
}

.gift-cards_form.cart .gift_card_template_button {
    margin-top: 0;
}

.gift-cards_form.cart .gift-card-content-editor.step-appearance .ywgc-design-list .ywgc-preset-image-view-all {
    display: none
}

.product-type-gift-card .woocommerce-product-gallery__wrapper {
    display: block;
}

.product-type-gift-card .ywgc-main-form-preview-container {
    word-wrap: break-word;
    box-shadow: none;
}

.product-type-gift-card .ywgc-manual-currency-symbol {
    padding: 0 10px;
}

.product-type-gift-card .ywgc-manual-amount-container {
    height: 30px;
}

.product-type-gift-card #ywgc-manual-amount {
    padding: 6px 9px;
}

.gift-card-panel-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gift-card-panel-title-container .yith-add-new-gc-my-account-button {
    font-size: var(--wpex-text-sm);
    display: inline-block;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-font-smoothing: inherit;
    text-decoration: none !important;
    text-align: center;
    max-width: 100%;
    padding: var(--wpex-btn-padding);
    transition: .15s all ease;
    background-color: var(--wpex-btn-bg, var(--wpex-accent));
    background-image: var(--wpex-btn-img);
    border-radius: var(--wpex-btn-border-radius);
    border-width: var(--wpex-btn-border-width);
    border-style: var(--wpex-btn-border-style);
    border-color: var(--wpex-btn-border-color, currentColor);
    color: var(--wpex-btn-color, var(--wpex-on-accent));
    font-family: var(--wpex-btn-font-family);
    font-style: var(--wpex-btn-font-style);
    text-transform: var(--wpex-btn-text-transform);
    letter-spacing: var(--wpex-btn-letter-spacing);
    line-height: var(--wpex-btn-line-height);
    font-weight: var(--wpex-btn-font-weight);

    &:hover {
        color: var(--wpex-hover-btn-color, var(--wpex-on-accent-alt));
        background-color: var(--wpex-hover-btn-bg, var(--wpex-accent-alt));
        background-image: var(--wpex-hover-btn-img, var(--wpex-btn-img));
        border-color: var(--wpex-hover-btn-border-color, var(--wpex-btn-border-color, currentColor));
        text-decoration: none;
    }
}

.ywgc-empty-table {
    .ywgc-empty-table-icon {
        display: none;
    }
}

/*GIFT CARD END */


/*CART START */
.woocommerce-cart .single-page-content .i3woo-amount-left .vcex-module {
    font-size: 16px;
    padding-bottom: 30px;
    width: 50%;
    margin: 0 auto;
    text-align: center;
    vertical-align: center;
}

.woocommerce-cart .ywgc_enter_code {
    margin: 0;
    padding: .769em 1em;
    border-top: 0;
}

.woocommerce-cart .ywgc_enter_code p.form-row.form-row-first {
    width: auto;
    float: none;
    display: inline-block;
    padding-right: 0;
    margin-right: 5px;
}
.woocommerce-cart .ywgc_enter_code p.form-row.form-row-last {
    width: auto;
    float: none;
    display: inline-block;
    padding-left: 0;
}

.ywgc_enter_code .form-row {
    padding-right: 0;
}

.i3woo-amount-left .woocommerce-Price-amount {
    font-weight: bold;
}

.woocommerce-cart .woocommerce-cart-form table {
    margin-bottom: 0;
}

.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 0;
}

.woocommerce-cart .ywgc_enter_code p {
    margin-bottom: 0;
}

/*CART END */

/*TOOLTIP added-to-cart-notice START*/
.wpex-added-to-cart-notice {
    line-height: normal;
    height: unset;
    max-height: unset;
}

.wpex-added-to-cart-notice .wpex-text {
    display: block;
}
/*TOOLTIP added-to-cart-notice END*/

/* Gift Wrapper - START */
.giftwrapper_products_modal .modal-dialog {
    width: 50vw
}

.wc-giftwrap .giftwrap_ul {
    justify-content: left;
}

.giftwrapper_products .giftwrap_ul {
    margin-bottom: 0;
}

.giftwrapper_products li.giftwrap_li, .giftwrap_ul li, .entry ul.giftwrap_ul li {
    float: none;
    flex-basis: 50%;
}

.giftwrapper_products li.giftwrap_li:after, .giftwrap_ul li:after, .entry ul.giftwrap_ul li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    zoom: 1;
}

.giftwrapper_products .giftwrap_details {
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 5px
}

.giftwrapper_products .amount::before {
    display: none
}

.giftwrapper_products .woocommerce-Price-amount {
    font-size: 1.385em;
}

.giftwrapper_products .woocommerce-Price-amount bdi {
    font-size: 1.385em;
}

.giftwrapper_products .wcgwp_product_input {
    display: none;
}

.giftwrapper_products .giftwrap_thumb {
    float: inherit;
    width: inherit;
    cursor: pointer;
}

.giftwrapper_products .giftwrap_thumb.active {
    border: 1px solid var(--wpex-btn-bg,var(--wpex-accent));
}

.giftwrapper_products .giftwrap_desc {
    float: inherit;
    width: inherit;
}

.giftwrapper_products .giftwrap_title {
    font-size: 1.846em;
    font-weight: 600;
    display: block;
}

.giftwrapper_products .wc_giftwrap_notes_container {
    display: block;
    margin-left: 0;
}

.giftwrapper_products .wc_giftwrap_notes_container label {
    font-weight: 600;
    font-size: 16px;
}

.giftwrapper_products .wc_giftwrap_notes_container label small {
    font-weight: normal
}

.woocommerce-cart .wc-giftwrap {
    margin-bottom: 40px;
    border-top: 0;
    padding: .769em 1em;
}

.woocommerce-cart .giftwrap_header_wrapper {
    margin-bottom: 0;
}

.woocommerce-cart .giftwrap_header_wrapper p {
    margin-bottom: 6px;
}

.woocommerce-checkout .wcgwp-modal-toggle {
    width: calc(49% + 133px);
}

@media only screen and (max-width: 480px) {
    .giftwrapper_products_modal .modal-dialog {
        width: auto;
    }

    .wcgwp-modal-toggle, .woocommerce-checkout .wcgwp-modal-toggle {
        width: 100%;
    }
}

/* Gift Wrapper - END */