/*
 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
*/


/* =======================================================================
=======================  MENU PRINCIPAL ============================
======================================================================= */


/* Esconde os itens do menu com a classe 'mobile-only' no desktop */
.menu-item.mobile-only {
    display: none;
}


/* =======================================================================
=======================  MENU LATERAL CARRINHO ===========================
======================================================================= */

#brxe-279680 .woocommerce-mini-cart-item .quantity {
    margin-top: 15px;
}


/* TODO: VERIFICAR SE É O PLUGIN QUE FOI RETIRADO */


/* =======================================================================
=======================  VARIATION PRODUCT ===============================
======================================================================= */

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_color_design .vi-wpvs-variation-button-select,
.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_color_design .vi-wpvs-option-wrap {
    padding: 0 !important;
    border-radius: initial !important;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_color_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
    transform: scale(1.2);
}


/* =======================================================================
=======================  DESTAQUE PRODUTOS ===============================
======================================================================= */

#highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3rem;
    row-gap: 8rem;
}

#highlights .product-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ededed;
    border-radius: 0.7rem;
    padding: 1rem 1.2rem;
}

#highlights .product-item .link-single-product {
    margin-bottom: 2rem;
}

#highlights .product-image {
    height: 20rem;
}

#highlights .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#highlights .product-title {
    font-family: 'Poppins';
    font-size: 0.972222222vw;
    text-align: center;
    font-weight: 700;
}

#highlights .product-rating i {
    font-size: 2rem;
    color: #FFD06A;
}

#highlights .product-price .regular-price {
    font-family: 'Poppins';
    font-size: 0.833333333vw;
    text-decoration: line-through;
    text-align: center;
    font-weight: 400;
    color: #A7A7A7;
    margin-bottom: 0;
}

#highlights .product-price .sale-price {
    font-family: 'Poppins';
    font-size: 1.666666667vw;
    text-align: center;
    font-weight: 700;
    color: #1C1C1C;
}

#highlights .add_to_cart_button {
    background-color: #E1251B;
    width: 100%;
    color: #fff;
    font-family: 'Poppins';
    font-size: 0.902777778vw;
    font-weight: 700;
    text-align: center;
    padding: 1rem 0;
    border-radius: 3px;
}


/* =======================================================================
=======================  SINGLE PRODUTOS =================================
======================================================================= */

#product-galery-images .wcgs-slider-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#product-galery-images .wcgs-slider-image {
    width: 100%;
    max-width: 35.58vw;
    height: 32.02vw;
}

#product-galery-images .wcgs-slider-image img {
    width: 100%;
    object-fit: contain;
    max-height: 32.02vw;
}

#product-galery-images .wcgs-photo {
    background-size: contain;
}

#wpgs-gallery .gallery-navigation-carousel .wcgs-swiper-arrow {
    background-color: initial;
}

#wcgs-swiper-button-prev .wcgs-swiper-arrow .swiper-button-disabled {
    left: 0;
}

#wpgs-gallery .gallery-navigation-carousel .wcgs-swiper-button-prev .wcgs-swiper-arrow {
    right: 0;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
    background-color: #EDEDED !important;
    box-shadow: 0 0 0 1px #E1251B inset !important;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected span {
    color: #1C1C1C !important;
    font-weight: 700 !important;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-hover {
    background-color: #EDEDED !important;
    box-shadow: 0 0 0 1px #E1251B inset !important;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-hover span {
    color: #1C1C1C !important;
    font-weight: 700 !important;
}

.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design .vi-wpvs-option-wrap.vi-wpvs-option-wrap-default span {
    font-weight: 700 !important;
}

.single_variation_wrap {
    display: flex;
    flex-direction: column;
    max-width: 45%;
}

form.cart .quantity{
    margin-bottom: 2rem;    
}

form.cart table.variations{
    margin-bottom:10px !important;
}

form.cart .woocommerce-variation.single_variation{
    display:none !important;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button .quantity {
    margin-right: 2rem;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button .quantity .action.minus {
    border-right: none !important;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button .quantity .action.plus {
    border-left: none !important;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button button,
.buy_now_button.button.alt,
.single_add_to_cart_button.button.alt{
    background-color: #E1251B;
    color: #fff;
    font-family: 'Poppins';
    font-size: 1.14vw;
    line-height: 1em;
    font-weight: 600;
    border-radius: 7px;
    margin-top: 0;
    padding: 15px;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button button:disabled,
.buy_now_button.button.alt:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

#tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    display: none;
    white-space: nowrap;
}

tr.tr-variation-product {
    border-top: 1px solid #EDEDED !important;
    margin-bottom: 0;
}

tr.tr-variation-product td {
    padding: 5px 0 !important;
}

/*tr.tr-variation-product p {
    font-size: 1.14vw;
    color: #1C1C1C;
}*/

p.price bdi {
    font-size: 1.82vw;
    font-weight: bold;
    color: #1C1C1C;
}

p.price ins {
    font-size: 1.82vw;
    font-weight: bold;
    color: #1C1C1C;
}

p.price del bdi {
    font-size: 1.14vw;
    text-decoration: line-through;
    color: #A7A7A7;
    font-weight: 400;
}

tr.vi-wpvs-variation-style.vi-wpvs-variation-style- label,
tr.vi-wpvs-variation-style.vi-wpvs-variation-style-vertical label{
    font-size: 1.14vw;
    color: #1C1C1C;
}

p.stock.in-stock {
    display: none;
}

form.cart {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 45%;
}

form.variations_form.cart.vi_wpvs_variation_form.vi_wpvs_variation_form_init {
    width: 100%;
}

form.cart table.variations td{
    padding:0 !important;
}

/*span.preco-regular bdi {
    font-size: 1.82vw;
	font-weight: bold; 
	color: #1C1C1C; 
	margin-right:20px
}

span.preco-promocional bdi{
	font-size: 1.14vw;
	text-decoration: line-through;
	color: #A7A7A7;
}*/

.single_variation_wrap {
    margin-bottom: 1rem;
}

#produtos-relacionados bdi {
    font-size: 1.666666667vw;
}

.custom-review {
    padding: 1.73vw 1.11vw;
    background-color: #F9F9F9;
    border-radius: 7px;
}

.custom-review .comments-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#reviews .avatar {
    width: 3.15vw !important;
    height: 3.15vw !important;
    border-radius: 7px !important;
}

.custom-review .comments-author h3 {
    font-size: 1.111111111vw;
    font-weight: 700;
    margin-right: 2.4rem;
}

.custom-review .comments-author p {
    font-size: 0.9vw;
    color: #A7A7A7;
}

.custom-review .review-content {
    font-size: 0.9vw;
}


/* =======================================================================
=======================  LISTA DE PRODUTO  =======================================
======================================================================= */

.custom-woocommerce-filter-list {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.custom-woocommerce-filter-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.custom-woocommerce-filter-list li {
    margin: 8px 0; /* Espaçamento entre os itens */
}

.custom-woocommerce-filter-list a {
    display: block; /* Cada link ocupa uma linha */
    background-color: white;
    color: #333;
    font-size: 14px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-woocommerce-filter-list a:hover {
    background-color: #f0f0f0;
    border-color: #e1251b;
    color: #e1251b;
}

.custom-woocommerce-filter-list .active a {
    background-color: #e1251b;
    color: white;
    border-color: #e1251b;
    font-weight: bold;
}

.custom-woocommerce-filter-select select{
    font-family: "Poppins";
    font-size: 20px;
}


/* =======================================================================
=======================  PAGINA DE ATLETAS ===============================
======================================================================= */

.rotate-up {
    transform: rotate(180deg);
    transition: transform 0.3s ease; 
}

/* =======================================================================
=======================  CARRINHO  =======================================
======================================================================= */

td[data-title="Subtotal"] span {
    padding-left: 5px;
}


.cart-collaterals table tbody th {
    
    vertical-align: baseline !important;
}

ul.woocommerce-shipping-methods input[type=radio]+label {
    font-size: 16px !important;
    color: #1c1c1c;
    font-weight: 600;
}
#shipping_method small {
    font-size: 15px;
}

p.woocommerce-shipping-destination {
    font-size: 16px;
}

a.shipping-calculator-button {
    padding-left: 0 !important;
    font-size: 16px;
}

p#calc_shipping_country_field {
    display: none;
}

section.shipping-calculator-form p {
    font-size: 16px;
}

@media (max-width:1521px){
    .custom-woocommerce-filter-select select{
        font-family: "Poppins";
        font-size: 16px;
    }
}

@media (max-width: 993px) {
    /* =======================================================================
    =======================  DESTAQUE PRODUTOS ===============================
    ======================================================================= */
    #highlights {
        grid-template-columns: repeat(3, 1fr);
    }
    #highlights .product-title {
        font-size: 1.2rem;
    }
    #highlights .product-price .regular-price {
        font-size: 1rem;
    }
    #highlights .product-price .sale-price {
        font-size: 2rem;
    }
    #highlights .add_to_cart_button {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
	
	/* =======================================================================
    =======================  MENU MOBILE ===============================
    ======================================================================= */

    .menu-item.mobile-only {
        display: block;
    }


    .social-icons i {
        font-size: 2rem;
        color: #1C1C1C;
        
            
    }
    .social-icons a {
        width: auto !important;
        
    }
    .social-icons {
        justify-content: start !important;
        display: flex;
        padding: 0 30px;
        column-gap: 1rem;
    }

    .menu-item.mobile-only.usuario a { 
        color: red !important;
    }
	
    /* =======================================================================
    =======================  DESTAQUE PRODUTOS ===============================
    ======================================================================= */
    #highlights {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        width: 100%;
    }
    #highlights .product-title {
        font-size: 1.4rem;
    }
    #highlights .product-price .regular-price {
        font-size: 1.2rem;
    }
    #highlights .product-price .sale-price {
        font-size: 2.4rem;
    }
    #highlights .add_to_cart_button {
        font-size: 1.2rem;
    }
	
	/* =======================================================================
    =======================  Single Product ===============================
    ======================================================================= */
	
	p.price bdi{
	    font-size: 18px;
	}
	
	p.price ins{
	    font-size: 18px;
	}
	
	p.price del bdi{
	    font-size: 13px;
	}
	
	span.preco-regular bdi {
    	font-size: 18px;
	}
	
	/*#brxe-cf9253 .cross-sells{
		display:none;
	}*/
	
	.woocommerce-message,
	.woocommerce-error,
	.woocommerce-info{
		font-size:14px;
	}
	
	/*tr.tr-variation-product p{
		font-size: 14px;
	}*/
	
	tr.woocommerce-shipping-totals.shipping th {
        font-size: 14px !important;
    }
    
    ul.woocommerce-shipping-methods input[type=radio]+label {
        font-size: 14px !important;
    }
	
	tr.vi-wpvs-variation-style.vi-wpvs-variation-style- label,
	tr.vi-wpvs-variation-style.vi-wpvs-variation-style-vertical label{
        font-size: 14px;
        color: #1C1C1C;
    }
	
	.woocommerce-variation-add-to-cart .quantity, form.cart .quantity {
		font-size: 14px;
	}
	
	.single_add_to_cart_button{
	    font-size: 14px !important;
	}
	
	a.reset_variations {
        font-size: 14px;
    }
	
	.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button button, 
	.buy_now_button.button.alt{
		font-size:14px;
	}
	
	#produtos-relacionados bdi{
		font-size:16px;
	}
}