/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Styling for the new block based WooCommerce checkout */
.woocommerce-checkout main {
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    margin-bottom: 4em;
}

.woocommerce-checkout .wc-block-components-panel__button, .woocommerce-checkout .wc-block-components-panel__button:hover, .woocommerce-checkout .wc-block-components-panel__button:focus {
    background: none;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    line-height: var(--e-global-typography-accent-line-height);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    outline: none;
}

.woocommerce-checkout main .wc-block-components-button {
    outline: none;
    border: none;
    border-radius: 100px;
}

.woocommerce-checkout main .wc-block-components-button .wc-block-components-button__text {
    margin-top: .2em;
}

@media screen and (max-width: 768px) {
    .woocommerce-checkout main {
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-inline-start: 30px !important;
        padding-inline-end: 30px !important;
    }
}

/* Woo price filter fix for dynamic modals */
.dialog-message .widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 10px;
}
.dialog-message .widget_price_filter .price_slider_amount input[type="text"] {
    display: inline-block !important;
    width: calc(50% - 10px);
}

/* Woo mobile notices fix button overlap */
@media screen and (max-width: 768px) {
    .woocommerce-message {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    .woocommerce-message .button {
        text-align: center !important;
        margin-top: 1em !important;
    }
}

.woocommerce-widget-layered-nav .select2-selection--single {
    height: 40px !important;
    display: flex !important;
    vertical-align: middle;
    align-items: center;
}

.woocommerce-widget-layered-nav .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
    right: 3px;
}

.cpx-coins {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
    position: absolute;
    left: 5px;
    top: 5px;
}

.cpx-coins img {
    height: 18px !important;
    width: 18px !important;
    margin: 0 !important;
    background-color: #fff;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0 4px rgba(0,0,0,.4) !important;
}

.cpx-dynamic-hosting-upsell {
    margin-bottom: 1.5em;
}

.cpx-custom-checkbox {
    display: flex;
    flex-direction: row;
    gap: 15px;
    color: #fff;

    background-color: rgba(255, 255, 255, .05);
    padding: 15px;
    border-radius: 23px;
}

.cpx-custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cpx-custom-checkbox label {
    line-height: 1.5em;
    padding-left: 35px;
    font-weight: var(--e-global-typography-text-font-weight);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.cpx-custom-checkbox label:before {
    content: '';
    background-color: #fff;
    height: 26px;
    width: 26px;
    border: 1px solid var(--e-global-color-7d9382d6);
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 2px;
    display: block;
    cursor: pointer;
    margin-left: 15px;
    margin-top: 15px;
}

.cpx-custom-checkbox label:after {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 100%;
    background-color: var(--e-global-color-940875d);
    left: 4px;
    top: 6px;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: transform .12s ease-in;
    margin-left: 15px;
    margin-top: 15px;
}

.cpx-custom-checkbox input[type="checkbox"]:hover + label:after {
    opacity: 1;
    transform: scale(.5);
}

.cpx-custom-checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

form.woocommerce-cart-form .woocommerce-cart-form__cart-item .product-name {
    color: #fff !important;
}

form.woocommerce-cart-form .woocommerce-cart-form__cart-item .product-name p {
    font-size: .8em;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods .payment_box {
    background-color: var(--e-global-color-7d9382d6);
}