/*
Theme Name: Petland Florida - Child
Theme URI: https://github.com/CosmickMedia/petland-florida
Template: petland
Description: Custom WordPress theme for Petland Florida.
Author: Cosmick Media
Author URI: https://cosmickmedia.com
Version: 1.0.0-beta7
*/
* {
    --gf-form-gap-y: 1rem;
    --gf-form-gap-x: 10px;
    --gf-field-gap-x: 10px;
    --gf-field-gap-y: 10px;
    --gf-ctrl-font-size: 1.125rem;
    --gf-ctrl-padding-x: 1rem;
    --gf-ctrl-size-lg: 59px !important;
    --gf-ctrl-font-family: ;
    --gf-ctrl-label-font-family-secondary: "Gotham", sans-serif;
    --gf-ctrl-label-font-size-secondary: 0.9rem;
    --gf-ctrl-label-letter-spacing-secondary: 0.4px;
    --gf-ctrl-label-line-height-secondary: 2.21;
    --gf-label-space-y-secondary: -4px;
    --gf-ctrl-btn-bg-color-primary: #d45224;
    --gf-ctrl-btn-bg-color-hover-primary: #45515d;
    --gf-ctrl-btn-bg-color-focus-primary: #45515d;
    --gf-ctrl-font-family: "Lato", sans-serif;
}

form[data-formid="5"] .gform_footer {
    justify-content: end;
}

.gform_wrapper {
    padding: 0px !important;
    border: none !important;
    margin-bottom: 1rem;
}

.gform_wrapper {
    padding: 10px !important;
    border: none !important;
    margin-bottom: 1rem;
}

.gform_title {
	display: none !important;
}

.gform_page_footer {
	display: block !important;
	text-align: center !important;
}

.gform_page_footer {
    text-align: center; /* Centers inline and inline-block elements */
    width: 100%; /* Ensures the footer takes up full width */
}

.gform_page_footer input[type="button"] {
    margin: 0 auto; /* Additional centering for button elements if necessary */
    display: inline-block; /* Allows text-align center to work on these buttons */
}

.gform_page_footer input[type="button"] {
    background-color: #f26322 !important;
    color: white !important;
    border: none;
    font-size: 28px !important;
    padding: 15px !important;
}

.gform_page_footer input[type="submit"] {
    background-color: #f26322 !important;
    color: white !important;
    border: none;
    font-size: 28px !important;
    padding: 15px !important;
}

.warranty-paperwork-image img {
	margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 90% !important;
}

/* Change background color of step numbers to orange */
.gf_step_number {
    background-color: orange !important;
    color: #fff; /* White text color for better readability */
    padding: 5px 10px; /* Adjust padding as needed */
    border-radius: 50%; /* Circular shape */
    display: inline-block; /* Ensure it doesn't take full width */
}

/* Style for completed steps */
.gf_step.gf_step_completed .gf_step_number,
.gf_step.gf_step_previous .gf_step_number {
    background-color: #E67E22; /* Darker shade of orange for differentiation */
}

/* Style for the active step */
.gf_step.gf_step_active .gf_step_number {
    background-color: #FFA500; /* Brighter shade of orange for the active step */
}

/* Optional: Adjust the step label styles for better visibility */
.gf_step_label {
    font-weight: bold; /* Make step labels bold */
    color: #333; /* Dark text color for better readability */
    margin-left: 10px; /* Space between number and label */
}

select.woocommerce-widget-layered-nav-dropdown {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

select.woocommerce-widget-layered-nav-dropdown {
    background: #fff;
    border: 1px solid #e0e0e0;
    height: 59px;
    border-radius: 0;
    font-size: 1.125rem;
    font-family: lato, sans-serif;
    font-weight: 300;
    line-height: 2.38;
    letter-spacing: 1.6px;
    padding-left: 20px;
    padding-right: 20px;
}

#reactBreedDetails section.form {
    display: none;
}

label[for="adopt_customer"] {
    display: none;
}


function custom_woocommerce_product_query( $q ) {
    if ( ! is_admin() && is_shop() || is_product_category() || is_product_tag() ) {
        $q->set( 'orderby', 'title' );
        $q->set( 'order', 'ASC' );
    }
}
add_action( 'woocommerce_product_query', 'custom_woocommerce_product_query' );
