/* 
Theme Name: astra-child-theme
Theme URI: http://yourdomain.com
Description: astra-child-theme
Theme Author: Coding Heads
Author URI: http://yourdomain.com
Template: astra
Version: 1.0.1
Text Domain: astra-child
License: GNU General Public License or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

/* Add your custom styles here */

/* Colors */
/* Dark Green -- #2b3e1e */
/* Gold -- #b29259 */
/* Bright Gold -- #c9a669 */
/* Black -- #000000 */
/* White -- #ffffff */

/* General styles */

*, *:before, *:after {
    box-sizing: border-box!important; 
}

#page .site-content {
    flex-grow: unset!important;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0!important;
    margin-block-end: 0!important;
}

a:focus {
    outline: none!important;
}


/* Header */

.header-shadow {
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header-shadow.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-shadow.scrolled .elementor-widget-theme-site-logo img {
    width: 35%!important;
    transition: width 0.3s ease;
}

@media screen and (max-width: 766px) {
    .header-shadow.scrolled .elementor-widget-theme-site-logo img {
    width: 100%!important;
}
}

.header-shadow.scrolled > .e-con-inner {
    padding: 8px 0!important;
    transition: padding 0.3s ease;
}

/* Add transition to the logo image even when not scrolled */
.header-shadow .elementor-widget-theme-site-logo img {
    transition: width 0.3s ease;
}

/* Add transition to the container even when not scrolled */
.header-shadow > .e-con-inner {
    transition: padding 0.3s ease;
}


/* Filtering */

.switcher23-title2,
.woof-front-builder-container .woof_container h4,
.woof_container label {
    color: #b29259!important;
}

.woof-front-builder-container .woof_container h4 {
    background-color: #2b3e1e!important;
}

.switcher23-title2 {
    font-size: 16px!important;
}

.woof_list_radio li {
    display: flex!important;
    align-items: center!important;
    position: relative!important;
}

.woof_list_radio li label{
    margin: 0 0 0 10px!important;
}

ul.woof_list li {
    margin: 2px 0px!important;
}

.woof_list_radio .iradio_square-blue {
    width: 23px!important;
}

.woof_radio_term_reset_visible {
    position: relative!important;
}

.wc-block-components-product-price__value.is-discounted {
    margin-left: 0!important;;
}

.orderby,
.woof_reset_button_2,
.woof_reset_search_form,
.button.bt-ipay-add-card {
    padding: 10px;
    border-radius: 5px;
    border: 3px solid #2b3e1e;
    font-family: 'Comfortaa';
    background: #2b3e1e !important;
    color: #b29259!important;
    font-weight: 800!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}

.orderby {
    margin-bottom: 20px;
}

.orderby:hover {
    border: 3px solid #b29259;
}

@media screen and (max-width: 767px) {
    .orderby {
        width: 100%;
    }
    
}

.woof_products_top_panel_ul {
    display: flex;
    align-items: center;
}

.woof_sid_flat_white {
    background: #25252570;
    border-radius: 5px;
    border: none;
}

.woof_redraw_zone {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.woof .woof_wcga_label_hide, 
.woof_container_inner .woof_wcga_label_hide {
    display: unset!important;
}

.woof_checkbox_instock_container,
.woof_checkbox_sales_container {
    max-width: fit-content!important;
    min-width: fit-content!important;
    padding: 0 20px 0 20px!important;
}

.irs--round .irs-handle {
    border: 4px solid #b29259!important;
}

.irs--round .irs-bar {
    background-color: #b29259!important;
}

.irs--round .irs-from, 
.irs--round .irs-to, 
.irs--round .irs-single {
    background-color: #b29259!important;
}

.irs--round .irs-from:before, 
.irs--round .irs-to:before, 
.irs--round .irs-single:before {
    border-top-color: #b29259!important;
}

.woof_submit_search_form_container {
    width: 100%;
}

.iradio_square-blue {
    padding: 0 11px!important;
}

.woof_radio_term_reset_visible {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.woof_radio_term_reset img {
    max-width: 20px!important;
    height: auto!important;
    width: 20px !important;
}

.iradio_square-blue.checked {
    background-position: -72px 0 !important;
    background-image: none !important;
    background-color: #b29259 !important;
    border-radius: 30px !important;
    position: relative !important;
}

.iradio_square-blue.checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.woof_radio_label_selected {
    color: #b29259 !important;
} 


/* Subscribe --------------------------------------- */

.ff-el-form-control {
    background-clip: unset!important;
}

[data-icon]:before {
    content: ''!important;
}


/* uniqe pagination ----------------------------------------- */

a.page-numbers,
span.page-numbers {
    padding: 15px;
    border-radius: 5px;
    background-color: #b29259;
    color: #2b3e1e;  
    text-decoration: none;
}

a.page-numbers:hover {
    background-color: #dbbb82;
    color: #2b3e1e;
}

span.page-numbers.current {
    background-color: #dbbb82;
    color: #2b3e1e;
}

.uc-posts-pagination {
    padding: 40px 0 0;
    display: flex;
    justify-content: center;
}


/* SINGLE PRODUCT -------------------------------- */

.single-product #review_form label {
    color: #b29259!important;
}

.woocommerce-js p.stars a::before {
    top: -10px!important;
}

.comment-form .comment-form-comment textarea {
    border-radius: 5px!important;
}

.single-product .woocommerce-product-gallery__image {
    border-radius: 5px!important;
}

.single-product .variations label,
.single-product .single_variation_wrap label {
    color: #b29259!important;
}

.single-product .variations select,
.single-product .single_variation_wrap select {
    font-family: 'Comfortaa', cursive!important;
    border-radius: 5px!important;
    height: 57px!important;
}

.single-product .cart .single_add_to_cart_button {
    flex-grow: 1;
}

.single-product.woocommerce-js h2 {
    margin-bottom: 0!important;
}

.quantity {
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    max-width: 150px !important;
    height: 57px !important;
    flex-grow: 1;
    gap: 4px!important;
}

.quantity .qty {
    flex: 1 !important;
    border: none !important;
    background: none !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2b3e1e !important;
    background: #b29259 !important;
    border-radius: 5px!important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Create minus and plus buttons using pseudo-elements */
.quantity::before,
.quantity::after {
    content: '' !important;
    width: 45px !important;
    height: 100% !important;
    background-color: #2b3e1e !important;
    color: #b29259 !important;
    border-radius: 5px!important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-weight: bold !important;
    transition: background-color 0.3s ease !important;
    user-select: none !important;
}

.quantity::before {
    content: '−' !important;
}

.quantity::after {
    content: '+' !important;
}

.quantity::before:hover,
.quantity::after:hover {
    background-color: #b29259 !important;
    color: #2b3e1e !important;
}

@media screen and (max-width: 767px) {
    .quantity {
        height: 50px !important;
        max-width: 130px !important;
    }
    
    .quantity::before,
    .quantity::after {
        width: 40px !important;
        font-size: 18px !important;
    }
    
    .quantity .qty {
        font-size: 16px !important;
    }
}


/* Archive products ---------------------------------- */

.uc_post_image {
    border-radius: 5px!important;
}

.ue_grid_prices {
    display: flex;
    justify-content: center;
    padding: 10px 0!important;
}


/* CART -------------------------------------- */

.woocommerce-cart-form__contents,
.cart-collaterals .cart_totals {
    border-radius: 5px!important;
}

.woocommerce-cart-form__contents thead {
    background: #2b3e1e!important;
}

.cart-collaterals .cart_totals h2 {
    background: #2b3e1e!important;
}

.cart-collaterals .woocommerce-shipping-totals label {
    color: #b29259!important;
}

/* CHECKOUT ---------------------------------- */

.woocommerce-checkout label, 
.woocommerce-checkout legend {
    color: #b29259!important;
}

.woocommerce-checkout input,
.woocommerce-checkout textarea {
    border-radius: 5px!important;
}

h3#order_review_heading {
    border-radius: 5px 5px 0 0!important;
}

div#order_review.woocommerce-checkout-review-order {
    border-radius: 0 0 5px 5px!important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 12px!important;
}

.woocommerce-checkout .validate-required .woocommerce-form__label-for-checkbox {
    line-height: 1.2em!important;
}


/* MY ACCOUNT ---------------------------------- */

body .woocommerce-MyAccount-navigation-link.is-active a {
    background: #2b3e1e!important;
}

.woocommerce-MyAccount-navigation ul {
    padding: 0!important;
}

body .woocommerce-MyAccount-navigation-link {
    border: none!important;
}

.woocommerce-MyAccount-navigation {
    padding: 0 0 50px!important;
}