/* 
Theme Name: Phuket Fresh
Theme URI: https://www.phuketfresh.fi
Description: Phuket Fresh Market teema
Author: Sami Koirikivi
Author URI: -
Template: hello-elementor
Version: 2.0.0
Text Domain: phuketfresh
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
*/

#customer_details .col-1, 
#customer_details .col-2,
.woocommerce-checkout-review-order-table,
.carrier-agents-postcode-search.wca-classic,
#payment {
    background-color: #ffffff !important;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-top: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.order_review_heading {
    background-color: #ffffff !important;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.carrier-agents-postcode-search.wca-classic {
    width: 100%;
    max-width: 100%;
}

#customer_details .col-1, 
#customer_details .col-2 {
    width: 100% !important;
    max-width: 100% !important;
}


form.checkout.woocommerce-checkout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.woocommerce-checkout-review-order {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100%;
}

/*
@media (min-width: 992px) {
    .woocommerce-checkout-review-order-table {
        flex: 0 0 calc(50% - 12.5px);
        margin: 0 !important;
    }
    .carrier-agents-postcode-search.wca-classic {
        flex: 0 0 calc(50% - 12.5px);
        margin: 0 !important;
    }
}
*/

@media (max-width: 991px) {
    .woocommerce-checkout-review-order-table,
    .carrier-agents-postcode-search.wca-classic {
        flex: 1 1 100%;
        width: 100% !important;
    }
}

.product-info-tab .product-info-col {
    line-height: 1;
}

@media (max-width: 768px) {
     .product-info-tab .product-tuotetiedot-tab .product-info-heading-label > p {
        margin-bottom: 0;
        margin-block-end: 0;
    }

    .product-info-tab .product-tuotetiedot-tab .product-info-text-label > p {
        margin-bottom: 0;
        margin-block-end: 0;
    }
}

#payment {
    width: 100%;
    text-align: left !important;
}

#payment ul.payment_methods li {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    text-align: left !important;
}

#payment ul.payment_methods li > input[type=radio] {
    margin: 0 10px 0 0 !important;
    flex-shrink: 0;
}

#payment ul.payment_methods li > label {
    display: flex !important;
    align-items: center;
    gap: 15px;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: bold !important;
    flex-grow: 1;
}

.payment_method_reepay_checkout .reepay-logos {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.payment_method_reepay_checkout .reepay-logo img {
    height: 20px !important;
    width: auto !important;
}

.payment_method_reepay_checkout .payment_box {
    width: 100%;
    background-color: #f8f8f8 !important;
    padding: 15px !important;
    margin: 15px 0 0 0 !important;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.4;
}

.payment_method_reepay_checkout .payment_box::before,
.payment_method_reepay_checkout .payment_box::after {
    display: none !important;
    content: none !important;
}

#ship-to-different-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}