/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* .quantity {
    display: none !important;
} */

/* =========== Header ============ */

/* .mobile_nav nav .ubermenu-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 30px;
}

.mobile_nav nav .ubermenu-nav .ubermenu-item {
  width: 100% !important;
}

.mobile_nav nav .ubermenu-nav .ubermenu-item a {
  text-align: start;
}

.mobile_nav nav .ubermenu-nav .ubermenu-item .ubermenu-submenu {
  position: relative !important;
  z-index: unset !important;
  box-shadow: none !important;
}

.mobile_nav nav .ubermenu-nav .ubermenu-item .ubermenu-submenu  .ubermenu-row:first-child {
        flex-direction: column;
} */

/* Hide desktop UberMenu on mobile */


/* ======== Header ========== */

/* --- UberMenu Accordion Mobile --- */


.mainProductGal .brxe-product-gallery .wcgs-carousel{
    width: 100% !important;
}

.brxe-product-add-to-cart .cart form {
    margin-top: 12px;
}

@media(max-width: 991px) {

    .brxe-product-content p {
        margin-block: 0 0.4em;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-item {
        max-width: 100% !important;
        padding: 15px 0;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-rating-overall .cr-review-form-rating {
         max-width: 100% !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-comment {
        max-width: 100% !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-ne {
        max-width: 100% !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-form-item-media.cr-form-item-container {
        max-width: 100% !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-terms {
        max-width: 100% !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-buttons {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .productReviewPanel .cr-reviews-ajax-reviews .cr-ajax-reviews-review-form .cr-single-product-review .cr-review-form-wrap .cr-review-form-buttons button {
        background-color: #122d8d !important;
    }






    .brxe-woocommerce-breadcrumbs .separator {
        margin: 0 12px !important;
    }

    /* ============ product-responsive =========== */



    .brx-multilevel-back {
        color: #122d8d !important;
        font-weight: 600 !important;
        font-family: 'Mulish', sans-serif !important;
        
        position: relative;
        display: flex;
        justify-content: end !important;
        display: flex !important;
    padding-right: 20px !important;
    width: auto !important;
    }

    .brx-multilevel-back::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        display: flex;
        background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64'/%3E%3Cpath d='m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    left: -20px;
    top: 7px;
    background-position: center;
    border: 1px solid #000;
    }

    .menu-item:has(.brx-multilevel-back) {
            display: flex;
    justify-content: end;
    background-color: #c0c0c0;
    }

    /* Hide all submenus by default */
    .ubermenu .ubermenu-submenu {
        display: none !important;
        padding: 0;
    }

    /* Accordion Header */
    .ubermenu .ubermenu-item-level-0>.ubermenu-target {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 12px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        border-bottom: 1px solid #ddd;
    }

    /* Arrow Icon */
    .ubermenu .accordion-arrow {
        transform: rotate(0deg);
        transition: 0.3s ease;
    }

    /* When opened */
    .ubermenu .open>.ubermenu-target .accordion-arrow {
        transform: rotate(180deg);
    }

    /* Show submenu when opened */
    .ubermenu .open>.ubermenu-submenu {
        display: block !important;
    }

    /* Submenu styling */
    .ubermenu .ubermenu-submenu .ubermenu-item {
        padding: 12px 20px;
        font-size: 16px;
        border-bottom: 1px solid #f2f2f2;
    }

}

/* =========== Header ============ */

.cart:has(input[type="hidden"]) {
    margin-top: 12px !important;
}

.quantity:has(input[type="hidden"]) {
    display: none;
    margin-top: 20px !important;
}

.quantity:has(input[type="hidden"])+button {
    margin-left: 0 !important;

}

.one-qty-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    background: rgba(18, 45, 141, 1);
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    padding: 8px 20px 8px 24px;
    gap: 100px;
}

.one-qty-wrapper .brxe-product-price {
    background: transparent;

}

.one-qty-wrapper .single_add_to_cart_button {
    background: transparent !important;
    color: #fff !important;
}

.single-qty-product .quantity,
.single-qty-product .single_add_to_cart_button,
.single-qty-product .brxe-product-price,
.single-qty-product .single_variation_wrap .woocommerce-variation-price {
    opacity: 0;
    visibility: hidden;
}

body.wrap-fix * {
    visibility: hidden;
}

.one-qty-wrapper .one-qty-wrapper,
.one-qty-wrapper .single_add_to_cart_button,
.one-qty-wrapper .brxe-product-price {
    visibility: visible !important;
    opacity: 1;
}


@media only screen and (min-width: 992px) and (max-width: 1024px) {
    #brxe-gbwxgl {
        column-gap: 40px !important;
    }

    #brxe-gbwxgl #brxe-ejzvae {
        width: 50%;
    }

    #brxe-gbwxgl #brxe-uhoqmi {
        width: 50%;
    }
}

@media(max-width: 478px) {
    .one-qty-wrapper {
        width: 100%;
        gap: 40px !important;
    }

    form.cart .quantity .minus svg {
        width: 36px !important;
        height: 24px !important;
    }

    form.cart .quantity .plus svg {
        width: 36px !important;
        height: 24px !important;
    }

    .add_to_cart_option .single_variation_wrap .woocommerce-variation-add-to-cart .quantity::after {
        left: 60% !important;
    }

    #brxe-dwidjf form table.variations tbody {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    #brxe-dwidjf {
        width: 100% !important;
    }

    .single_add_to_cart_button {
        width: 100% !important;
        display: inline-flex !important;
        padding: 10px !important;
    }

    .cart:has(input[type="hidden"]) {
        margin-top: 0px !important;
    }
}

@media(max-width: 390px) {
    #brxe-ovrvqt {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
    }
}