/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    A plain-vanilla &amp; lightweight theme for Elementor page builder
 */

.woocommerce-page main {
    margin: 30px auto;
}

.woocommerce-shop ul.products li.product {
    position: relative;
    cursor: pointer;
}

.woocommerce-shop ul.products.elementor-grid {
    align-items: flex-start;
}

.woocommerce-shop ul.products li.product img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: .5s ease;
    object-fit: contain;
}

.woocommerce-shop .products li.product div.content {
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    top: 0;
    height: 100%;
    z-index: 10;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7);
}

#customer_details,
#customer_details .col-1,
#customer_details .col-2 {
    display: block;
    float: none;
    width: 100%;
}

.woocommerce-page .woocommerce button.button,
.woocommerce-page .woocommerce button.button.alt {
    padding: 5px 15px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background-color: #374c9f;
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    height: 40px;
    padding: 5px 15px;
    border-radius: 0;
    appearance: none;
    resize: none;
}

[data-elementor-type="product-archive"] h1,
[data-elementor-type="product-archive"] h2,
[data-elementor-type="product-archive"] h3,
[data-elementor-type="product-archive"] h4 {
    margin: 20px 0 0 0;
    font-family: "Amatic SC", sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #374c9f;
}

.woocommerce form.checkout_coupon {
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
}

.woocommerce-checkout #payment div.form-row,
.woocommerce form .form-row {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.woocommerce form .form-row.form-row-flex {
    display: flex;
}

.woocommerce form .form-row.form-row-flex input[type="text"],
.woocommerce form .form-row.form-row-flex button[type="submit"] {
    width: auto;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}

.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    float: none;
    height: 40px;
    font-weight: 700;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 0;
}

.cart_item .product-remove.active::before,
.cart_item .product-remove.active::after {
    display: none;
}

.cart_item .product-remove.active > a.remove_from_cart_button,
.cart_item .product-remove.active > a.elementor_remove_from_cart_button {
    opacity: 1;
    color: white;
}

#elementor-popup-modal-204 .dialog-close-button {
    padding: 7px;
    border-radius: 50px;
}

@media ( max-width: 1024px) {
    #customer_details .col-1 .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media ( max-width: 767px) {
    #customer_details .col-1 .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}