/*
Theme Name:     Sandbox Child
Theme URI:      https://demo.oceanthemes.site/sandbox/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       sandbox
*/

@import url("../sandbox/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

#billing_company_field,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_state_field,
#bphs_receipt_type_field,
#bphs_afm_field {
    grid-column: 1 / -1;
}

#bphs_receipt_type_field {
  padding-top: 20px !important;
}

.select2-selection__arrow {
  display: none !important;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.4;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
}

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

    #billing_company_field,
    #billing_country_field,
    #billing_address_1_field,
    #billing_address_2_field,
    #billing_state_field,
    #bphs_receipt_type_field,
    #bphs_afm_field {
        grid-column: auto;
    }
}

/* ίδιο πλάτος λογικά με το αριστερό billing column */
.woocommerce-checkout form.checkout .bphs-checkout-domain.bphs-checkout-card {
    width: 48%;
    max-width: 48%;
    margin: 0 0 24px 0;
    padding: 0;
    box-sizing: border-box;
}

/* το field να γεμίζει όλο το wrapper */
.woocommerce-checkout form.checkout #bphs_hosting_domain_field {
    width: 100%;
    max-width: 100%;
    margin: 0;
    float: none;
    clear: both;
    box-sizing: border-box;
}

/* wrapper του input */
.woocommerce-checkout form.checkout #bphs_hosting_domain_field .woocommerce-input-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ίδιο behavior με τα woo inputs */
.woocommerce-checkout form.checkout #bphs_hosting_domain {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* mobile full width */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout .bphs-checkout-domain.bphs-checkout-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Fix broken bullets in WooCommerce My Account navigation */
.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding-left: 20px;
    list-style-position: outside;
}

.woocommerce-MyAccount-navigation li {
    margin: 0 0 10px 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li a br {
    display: none !important;
}

.woocommerce-MyAccount-navigation li a {
    display: inline;
    line-height: 1.5;
    vertical-align: baseline;
}
