/**
Theme Name: Prokura Child Theme
Author: Corin Design
Author URI: https://www.corindesign.co.uk
Description: Prokura child theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prokura-child-theme
Template: astra
*/

#delivery_address_type_field > label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600; 
}

#delivery_address_type_field label.radio span.required {
    display: none !important;
}

#delivery_address_type_field .woocommerce-input-wrapper {
    display: grid !important;
    grid-template-columns: min-content 1fr;
    align-items: center;
    row-gap: 12px;
    column-gap: 8px;
}

#delivery_address_type_field .woocommerce-input-wrapper input[type="radio"],
#delivery_address_type_field .woocommerce-input-wrapper label.radio {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

#delivery_address_type_field .woocommerce-input-wrapper label.radio {
    font-weight: normal !important;
}

/* 1. Turn the Astra header into a Flexbox row */
.woocommerce-checkout .entry-header {
    display: flex !important;
    align-items: center; /* Vertically centers the button with the text */
    justify-content: space-between; /* Pushes 'Checkout' left, button right */
    flex-wrap: wrap; /* Prevents overlap on tiny mobile screens */
    gap: 15px; /* Adds breathing room if they wrap on mobile */
    margin-bottom: 2em; /* Keeps space between header and checkout form */
}

/* 2. Strip default bottom margins from the h1 so it aligns perfectly */
.woocommerce-checkout .entry-header .entry-title {
    margin-bottom: 0 !important;
}

/* 3. Strip any stray margins from our button wrapper */
.woocommerce-checkout .blz-checkout-back-btn-wrapper {
    margin: 0 !important;
}

/* Remove invisible Searchanise sync objects from document flow to fix bottom white bar */
object[data*="action=se_async"] {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}