/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* Change product title font size */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px; /* Adjust as needed */
    font-weight: 200;
}

/* Change product price font size */
.woocommerce ul.products li.product .price {
    font-size: 12px; /* Adjust as needed */
    color: #ff6600; /* Change price color */
}

/* Change add to cart button text size */
.woocommerce ul.products li.product .button {
    font-size: 12px;
}

/* Change product description (if visible) */
.woocommerce ul.products li.product .woocommerce-loop-product__description {
    font-size: 12px;
}

/* Reduce Sidebar Widget Title Font Size */
.widget-title, .wc-block-price-filter__title {
    font-size: 16px !important; /* Adjust size as needed */
    font-weight: normal; /* Optional: Make it thinner */
}

/* Adjust WooCommerce Sidebar Width on Desktop */
@media (min-width: 1024px) {
    /* .site-content .widget-area {
        width: 20% !important;
    } */
    /* .site-content {
        display: flex;
    } */
    /* .content-area {
        width: 80% !important;
    } */
}

/* Adjust Sidebar Width on Tablets */
@media (max-width: 1023px) {
    /* .site-content .widget-area {
        width: 30% !important;
    } */
    /* .content-area {
        width: 70% !important;
    } */
}

/* Full-Width Sidebar on Mobile (Optional) */
/* @media (max-width: 768px) {
    .widget-area {
        width: 100% !important;
    }
} */


.user-registration-form a {
    color: #839E9E !important;
}

.user-registration-form a:hover {
    color: #6B8484 !important;
}

/* Change WooCommerce Button Colors */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-cart .checkout-button,
.user-registration-form button,
.user-registration button {
    background-color: #839E9E !important;
    color: white !important;
    border: none;
    border-radius: 5px;
}

/* Change Hover Effect */
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover, 
.woocommerce #content input.button:hover, 
.woocommerce-cart .checkout-button:hover,
.user-registration-form button:hover,
.user-registration button:hover {
    background-color: #6B8484 !important;
}

/* WooCommerce Disabled Button */
.woocommerce button.button:disabled, 
.woocommerce button.button:disabled[disabled], 
.woocommerce a.button.disabled, 
.woocommerce input.button:disabled, 
.woocommerce #respond input#submit:disabled, 
.woocommerce #content input.button:disabled, 
.woocommerce-cart .checkout-button:disabled,
.user-registration-form button:disabled,
.user-registration button:disabled {
    background-color: #B0C4C4 !important;
    color: #ffffff !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-block-components-price-slider--is-input-inline 
.wc-block-components-price-slider__controls 
.wc-block-components-price-slider__amount {
    max-width: 100px!important;
}

#secondary, #secondary button, #secondary input, #secondary select, #secondary textarea {
    font-size: 0.8rem;
}

/* Change form background color */
.user-registration-form-wrapper {
    background-color: #f9f9f9; /* Change to your preferred color */
    padding: 20px;
    border-radius: 10px;
}

/* Change button color */
/* .user-registration-Button button {
    background-color: #839E9E !important; 
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
} */

/* Change button hover color */
/* .user-registration-Button button:hover {
    background-color: #6b8787 !important; 
} */

/* Change error message color */
.user-registration-Button .ur-error {
    color: red !important;
}

/* Change success message color */
.user-registration-Button .ur-success {
    color: green !important;
}

/* Woocommerce - My Account Shipping */
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    width: 100%;
}
.woocommerce-Address .woocommerce-Address-title h2 {
    margin-bottom: 0.25em;
    font-size: 16px;
    display: inline-block;
}
.woocommerce-Address .woocommerce-Address-title a {
    padding: .25em .5em!important;
}
.woocommerce-Address address {
    font-style: normal;
}
.woocommerce-Address address:nth-child(1) {
    font-weight: 400;
}