/*
Theme Name: ErgoCraft Child
Author: VamTam
Author URI: https://vamtam.com
Template: ergocraft
Text Domain: ergocraft-child
Version: 1.1.2
*/

.psmwoo-mc-switcher-options {
    background: #fff;
    border: 0px solid #dad9d2 !important;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(229, 229, 229) !important;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    color: #000;
    cursor: pointer;
    font-size: .75rem;
    left: 0;
    line-height: normal;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: var(--psmfr-popup-z-index);
}


.shop_table.woocommerce-checkout-review-order-table tfoot tr th,
.shop_table.woocommerce-checkout-review-order-table thead tr th {

    font-family: "Inter" !important;
    font-size: 14px !important;
}

#shipping_method li label {
    font-size: 14px !important;
}


@media (max-width: 768px) {
    #my-custom-shipping-message {
        width: 100% !important;
    }

    #my-custom-shipping-message * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #my-custom-shipping-message .shop_table {
        display: block !important;
    }

    #my-custom-shipping-message tbody,
    #my-custom-shipping-message tr,
    #my-custom-shipping-message td {
        display: block !important;
    }

    #my-custom-shipping-message th {
        display: none !important;
    }
}

.e-show-coupon-form {
    text-decoration: underline !important;
}

.elementor-widget-woocommerce-checkout-page.vamtam-has-theme-widget-styles .woocommerce :is(.woocommerce-shipping-totals, .shipping.recurring-total) td::before {
    content: attr(data-title);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    margin-bottom: var(--forms-label-spacing, 3px) !important;
}

@media (max-width: 1024px) {
    .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table td,
    .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table th,
    .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tr {
        border: 0;
        padding-bottom: 15px;
        padding-left: 0;
        padding-top: 0px !important;
    }
}

#mrkv_ua_shipping_nova-poshta_address_city_label_field,
#mrkv_ua_shipping_nova-poshta_address_city_ref_field,
#mrkv_ua_shipping_nova-poshta_address_street_ref_field,
#mrkv_ua_shipping_nova-poshta_address_address_ref_field,
#mrkv_ua_shipping_nova-poshta_address_area_name_field {
    padding: 0 !important;
    margin: 0 !important;
}


#mrkv_ua_shipping_nova-poshta_city_label_field,
#mrkv_ua_shipping_nova-poshta_city_ref_field,
#mrkv_ua_shipping_nova-poshta_area_name_field {
    padding: 0 !important;
    margin: 0 !important;
}


#mrkv_ua_shipping_nova-poshta_warehouse_ref_field,
#mrkv_ua_shipping_nova-poshta_warehouse_number_field {
    padding: 0 !important;
    margin: 0 !important;
}


.woocommerce-terms-and-conditions-link {
    text-decoration: underline !important;
}

.custom-ua-section p,
.woocommerce-checkout #shipping_method li label,
.woocommerce-terms-and-conditions-checkbox-text,
.shop_table.shop_table_responsive
.shop_table.woocommerce-checkout-review-order-table tfoot tr th,
.shop_table.woocommerce-checkout-review-order-table thead tr th {

    font-family: "Inter" !important;
}

.payment_box.payment_method_liqpay p,
.woocommerce-privacy-policy-text p {
    font-family: "Inter" !important;
    font-size: 15px !important;
}

#custom_shipping_methods_wrapper .woocommerce-shipping-totals th {
    width: auto;
    padding: 15px 0 10px 0;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border-bottom: none;
}

#custom_shipping_methods_wrapper .woocommerce-shipping-totals td {
    padding: 0 0 20px 0 !important;
    border-bottom: none;
}

#custom_shipping_methods_wrapper ul.woocommerce-shipping-methods li {
    width: 100%;
    display: flex;
}

#custom_shipping_methods_wrapper .woocommerce-Price-amount {
    white-space: nowrap;
    font-weight: 600;
    color: #000;
    margin-left: 10px;
}

@media (max-width: 768px) {
    #custom_shipping_methods_wrapper ul.woocommerce-shipping-methods li {
        flex-direction: row;
        align-items: center;
        gap: 0px;
        width: 200px;
        display: flex;
    }

    #custom_shipping_methods_wrapper .woocommerce-Price-amount {
        margin-left: auto;
        padding-left: 10px;
    }
}


@media (min-width: 1025px) {
    .vamtam-product-gallery .swiper-slide {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vamtam-product-gallery .vamtam-gallery-img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }
}


.elementor-button.elementor-button--view-cart.elementor-size-md,
.elementor-button.elementor-button--checkout.elementor-size-md {
    transition: all 0.3s ease !important;
}

.elementor-button.elementor-button--view-cart.elementor-size-md:hover,
.elementor-button.elementor-button--checkout.elementor-size-md:hover {
    background-color: #000 !important;
    color: white !important;
}


/*

put your child theme styles here


you don't need any @import rules

*/
.color-item.current {
    padding: 1px 1px 1px 1px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #000000;
    border-radius: 90px 90px 90px 90px;
}

.color-item .elementor-icon {
    display: flex
}

.cpel-switcher--layout-horizontal .cpel-switcher__lang:not(:last-child) {
    margin-right: 0px !important;
}

.page-header h1 {
    text-align: center;
}