/*
 Theme Name:   Fynode Child
 Theme URI:    http://klbtheme.com/fynode/
 Description:  Fynode Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     fynode
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  fynode-child
*/

/* Botão "Adicionar ao carrinho" em roxo */
.single-product-wrapper .single-product-detail form.cart .single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.add_to_cart_button,
.woocommerce a.button.ajax_add_to_cart,
a.add_to_cart_button,
a.ajax_add_to_cart,
button.single_add_to_cart_button {
	background-color: #6e70b5 !important;
	border-color: #6e70b5 !important;
	color: #ffffff !important;
}

.single-product-wrapper .single-product-detail form.cart .single_add_to_cart_button:hover,
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.add_to_cart_button:hover,
.woocommerce a.button.ajax_add_to_cart:hover,
a.add_to_cart_button:hover,
a.ajax_add_to_cart:hover,
button.single_add_to_cart_button:hover {
	background-color: #5c5e9c !important;
	border-color: #5c5e9c !important;
	color: #ffffff !important;
}

/* Tag de desconto (porcentagem) nos produtos */
.product-badges .badge.sale,
.product-badge.badge.sale,
.badge.sale,
span.onsale {
	background: #94fade !important;
	background-color: #94fade !important;
	color: #08365e !important;
	border: 1px solid #94fade !important;
}

/* Botões pretos do tema em #6e70b5 */
.btn-black,
.btn.btn-black,
a.btn-black,
button.btn-black,
.products .product-cart-button a.button,
.product-list .product-inner .product-content-wrapper .button,
a.added_to_cart,
.woocommerce-message a.button,
.woocommerce-notices-wrapper .woocommerce-error a.button,
.single-product .woocommerce-Reviews #review_form_wrapper .comment-form > *.form-submit .submit,
p.woocommerce-mini-cart__buttons.buttons a,
.single-product-wrapper .single-product-detail .buy_now_button,
.single-product-wrapper .single-product-detail .orderon-whatsapp a,
.shop_table .actions-wrapper .empty-cart-button,
.shop_table .actions-wrapper .empty-cart-button:hover,
.cart-collaterals .wc-proceed-to-checkout a,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #place_order,
#place_order {
	background-color: #6e70b5 !important;
	border-color: #6e70b5 !important;
	color: #ffffff !important;
}

.btn-black:hover,
.btn.btn-black:hover,
a.btn-black:hover,
button.btn-black:hover,
.products .product-cart-button a.button:hover,
.product-list .product-inner .product-content-wrapper .button:hover,
a.added_to_cart:hover,
.woocommerce-message a.button:hover,
.woocommerce-notices-wrapper .woocommerce-error a.button:hover,
.single-product .woocommerce-Reviews #review_form_wrapper .comment-form > *.form-submit .submit:hover,
p.woocommerce-mini-cart__buttons.buttons a:hover,
.single-product-wrapper .single-product-detail .buy_now_button:hover,
.single-product-wrapper .single-product-detail .orderon-whatsapp a:hover,
.cart-collaterals .wc-proceed-to-checkout a:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover,
#place_order:hover {
	background-color: #5c5e9c !important;
	border-color: #5c5e9c !important;
	color: #ffffff !important;
}

/* Tabelas nas descrições dos produtos: sem bordas */
.woocommerce-Tabs-panel--description table,
.woocommerce-Tabs-panel--description table th,
.woocommerce-Tabs-panel--description table td,
.woocommerce-Tabs-panel--description table tr,
#tab-description table,
#tab-description table th,
#tab-description table td,
#tab-description table tr,
.woocommerce-product-details__short-description table,
.woocommerce-product-details__short-description table th,
.woocommerce-product-details__short-description table td,
.woocommerce-product-details__short-description table tr,
.single-product .product .description table,
.single-product .product .description table th,
.single-product .product .description table td,
.single-product .product .description table tr,
.single-product .main-content table:not(.shop_attributes):not(.variations):not(.group_table),
.single-product .main-content table:not(.shop_attributes):not(.variations):not(.group_table) th,
.single-product .main-content table:not(.shop_attributes):not(.variations):not(.group_table) td,
.single-product .main-content table:not(.shop_attributes):not(.variations):not(.group_table) tr {
	border: 0 !important;
}

/* Botão "Compra Agora" */
body .single-product-wrapper .single-product-detail .buy_now_button,
body .buy_now_button,
body a.buy_now_button,
body button.buy_now_button {
	background-color: #94fade !important;
	border-color: #94fade !important;
	color: #08365e !important;
}

body .single-product-wrapper .single-product-detail .buy_now_button:hover,
body .buy_now_button:hover,
body a.buy_now_button:hover,
body button.buy_now_button:hover {
	background-color: #7ae0c4 !important;
	border-color: #7ae0c4 !important;
	color: #08365e !important;
}

/* Cards de produtos: todas as fotos com a mesma altura */
.product-wrapper .product-thumbnail-wrapper .product-thumbnail,
.product-wrapper .product-thumbnail-wrapper .product-thumbnail > a {
	display: block;
}

.product-wrapper .product-thumbnail-wrapper .product-thumbnail img,
.product-wrapper .product-thumbnail-wrapper .product-second-image img,
.product-wrapper .product-thumbnail-wrapper .hover-gallery-item img {
	width: 100% !important;
	height: 280px !important;
	object-fit: contain !important;
	object-position: center !important;
}

@media (max-width: 767px) {
	.product-wrapper .product-thumbnail-wrapper .product-thumbnail img,
	.product-wrapper .product-thumbnail-wrapper .product-second-image img,
	.product-wrapper .product-thumbnail-wrapper .hover-gallery-item img {
		height: 200px !important;
	}
}
