/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* HEADER */
header .logo img {
    width: 250px;
	max-width: 100%;
    /*filter: brightness(0) saturate(100%) invert(100%);*/
    background-size: contain;
}

nav.top_menu > ul {
    justify-content: center;
}

nav.top_menu > ul > li {
    border-right: 0;
}

body nav.top_menu > ul > li > a {
    padding-bottom: 11px;
}

.rh-menu-label {
    top: -4px;
    background: #07c980;
}

header .user-editorders-link-intop.menu-item span {
    font-size: 0;
}

header .user-editorders-link-intop.menu-item span:before {
    content: 'Mi cuenta';
    font-size: 14px;
}



/* TIENDA */
.rh_woo_star {
	display: none;
}

.ywcca_container {
    padding: 15px 20px 15px 25px;
}

ul.category_accordion > .cat-item i {
    margin-top: 0!important;
    float: right;
}

li.cat-item a {
    line-height: 1.3;
    max-width: 90%;
    display: inline-block;
}

li.cat-item > i + a {
    width: auto;
    max-width: 88%;
}

.ywcca_container .yith-children {
    width: 100%;
    margin-top: 9px;
}

.ywcca_container ul.category_accordion .yith-children li.cat-item {
    margin-left: 20px;
}

.ywcca_container ul.category_accordion .yith-children li.cat-item a {
    display: block;
    margin-bottom: 7px;
}



/* PROVEEDOR */
.wcfm_dashboard_latest_topics, body.wcfm-store-page #wcfm_store_header .profile-stats, body.wcfm-store-page #wcfm_store_header .wcfmmp_store_header_email, body.wcfm-store-page #wcfm_store_header .tab_links_area, select[name="product_type"] option[value="grouped"], select[name="product_type"] option[value="external"], select[name="product_type"] option[value="downloadable"], select[name="product_type"] option[value="virtual"], #wcfm_products_manage_form_general_expander input#is_virtual, #wcfm_products_manage_form_general_expander input#is_downloadable, input#is_virtual + p, input#is_downloadable + p, .wcfm_products_limit_label, .wcfm_disk_limit_label, #wcfm_settings_form_payment_head, #wcfm_settings_form_module_head, #orders_details_general_expander > table tbody, .wcfm_pdf_invoice_dummy {
	display: none;
}

table#wcfm-orders p {
    line-height: 1.2;
}

#orders_details_general_expander .order_number {
    margin-bottom: 20px;	
}

#orders_details_general_expander > p {
    margin-left: 7px;
    color: #555;
}

#orders_details_general_expander b {
    font-weight: 700;
}



/* PRODUCTOS */
.compare-domain-icon, .expired_coupon figure:after, .expired_coupon .offer_thumb:after, header + .rh-container .sku_wrapper {
    display: none;
}

.price del {
    opacity: 0.5;
}

body .re_carousel {
    overflow: visible;
}

.carousel-style-fullpost .re_carousel .controls {
    transition: all .3s ease-in-out;
    background: none !important;
    border-radius: 7px;
}

.carousel-style-fullpost .re_carousel .controls:hover {
    background: #02559f24  !important;
}

.carousel-style-fullpost .re_carousel .controls.prev {
    left: -50px;
}

.carousel-style-fullpost .re_carousel .controls.next {
    transform: rotate(180deg);
    right: -50px;
}

body .carousel-style-fullpost .re_carousel .controls:after {
    font-size: 50px;
    color: #02559f;
    content: "\f053";
}

.woo_column_item .woo_column_btn {
    position: static;
    transform: translateY(-100px);
}

.woo_column_item .woo_column_price {
    border: 1px solid #02559f;
    border-radius: 8px;
    padding: 12px 12px 10px;
    min-width: 65%;
    display: inline-block;
    margin-top: 5px !important;
	transition: all .3s ease-in-out;
}

.woo_column_item .woo_column_btn a {
    transform: translateY(45px);
    padding-top: 58px;
}

body .woo_column_item .woo_column_price + .stock {
    margin-top: 7px;
	margin-bottom: -16px !important;
}

.woo_column_item:hover .woo_column_price {
    opacity: 1;
    transform: none;
    background: #c1f1df;
}

.woo_column_item:hover .woo_column_btn {
    transform: translateY(-122px);
}



/* SINGLE product */
body.single-product .tb_campos_limitacion_leyenda.wcpa_cl_status_disable + .tb_campos_limitacion_texto {
	display: none!important;
}

body.single-product .tb_campos_limitacion_leyenda.wcpa_cl_status_disable, body.single-product .tb_campos_limitacion_texto, .float-panel-woo-button {
	display: none;
}

.woocommerce div.product div.summary p {
    line-height: 1.5;
}

.woocommerce div.product form.cart .variations {
    width: auto;
}

.woocommerce div.product form.cart .variations tr {
    /*display: flex;
    flex-direction: column;*/
}

.woocommerce div.product form.cart .variations tr, .woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td {
    padding: 0;
}

.woocommerce div.product form.cart .variations [data-attribute="attribute_pa_color"] {
	margin-top: 7px;
}

table.variations .rh-var-selector input +.rh-var-label {
    position: relative;
    border: 1px solid #444;
}

table.variations .rh-var-selector input:checked + .rh-var-label {
    position: relative;
    opacity: 1;
    border: none;
    transform: scale(0.9);
}

table.variations .rh-var-selector input:checked +.rh-var-label:after {
    content: '';
    border: 3px solid #444;
    border-radius: 50px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    top: -4.5px;
    position: absolute;
    left: -4.5px;
}

table.variations a.reset_variations {
    margin-top: -5px;
    display: block;
}

.re_wooinner_cta_wrapper {
	margin-bottom: -30px !important;
}

.col_wrap_six .col_item {
    width: 24%;
}

body.single-product .tb_campos_limitacion_leyenda .wcpa_checkbox label {
    border: none;
    outline: none !important;
}

body.single-product .tb_campos_limitacion_leyenda .wcpa_checkbox label:hover {
    background: #b0d8ff;	
}

body.single-product .tb_campos_limitacion_leyenda .wcpa_checkbox label span {
    color: #02559f;
    font-size: 16px;
}

body.single-product .tb_campos_limitacion_texto {
	margin-top: -15px;
    background: #cae2f9;
    padding: 20px 25px 10px;
    border-radius: 40px;
}

body.single-product .tb_campos_limitacion_texto .wcpa_type_radio-group {
    margin-bottom: 10px;
}

.wcpa_wrap .wcpa_radio .wcpa_radio_custom {
    border: 1px solid;
}

body.single-product .tb_campos_limitacion_texto .wcpa_clear {
    margin-top: -10px;
}

body.single-product .tb_campos_limitacion_texto .wcpa_type_text {
    margin-top: -7px;
}

.woocommerce .quantity input.qty {
	padding-left: 0;
	padding-right: 0.5em;
}

.woocommerce .quantity input[type=number]::-webkit-inner-spin-button, .woocommerce .quantity input[type=number]::-webkit-outer-spin-button {
	opacity: 1;
	width: 1em;
	box-shadow: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
}



/* WOOCOMMERCE pag */
.page-template-template-systempages .logo_image img {
	width: 250px;
	max-width: 90%;
    /*filter: brightness(0) saturate(100%) invert(100%);*/
    background-size: contain;
}

.woo_column_desc h3 a {
    padding-bottom: 70px;
    z-index: 100;
    position: relative;
}

.woo_column_item .woo_column_desc+.woo_column_btn a {
    font-size: 0;
    pointer-events: none;
}



/* MI CUENTA pag */
body.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login > .col-1, form.woocommerce-form-register .afreg_extra_fields + .woocommerce-form-row + p {
	display: none;
}

body.woocommerce-account.woocommerce-page:not(.logged-in) .logo + .rh-container {
    width: 450px;
    max-width: 90%;
}

body.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login > .col-2 {
    float: none;
    width: 100%;
}

.afreg_half_field {
    width: 48% !important;
}

.form-row.afreg_half_field {
    margin-right: 2% !important;
}

.form-row.afreg_half_field + .form-row.afreg_half_field {
    margin-right: 0 !important;
    margin-left: 2% !important;
}

.woocommerce form .form-row label {
    line-height: 1.4;
}



/* CARRITO pag */
.woocommerce-shipping-totals .woocommerce-shipping-destination {
	display: none;
}

.woocommerce-cart-form__cart-item.wcpa_cart_has_fields .product-quantity input[type=number].restriccion {
    pointer-events: none;
}

.woocommerce-cart-form__cart-item.wcpa_cart_has_fields .product-quantity input[type=number].restriccion::-webkit-inner-spin-button, .woocommerce-cart-form__cart-item.wcpa_cart_has_fields .product-quantity input[type=number].restriccion::-webkit-outer-spin-button {
    appearance: none;
}

body.woocommerce-cart .wcpa_edit_product {
    border: 1px solid #02559f;
    border-radius: 8px;
    padding: 1px 5px 0px;
    background: #c1f1df;
	display: inline-block;
    margin-bottom: 0 !important;
}

body.woocommerce-cart .wcpa_edit_product + .wcpa_cart_meta {
    margin-top: 3px;
}

/*___mini carrito en barra lateral*/
#rh-woo-cart-panel-wrap .mini_cart_item .wcpa_cart_meta + .rh-custom-quantity .minus-quantity, #rh-woo-cart-panel-wrap .mini_cart_item .wcpa_cart_meta + .rh-custom-quantity .plus-quantity, #rh-woo-cart-panel-wrap .mini_cart_item .wcpa_cart_meta + .rh-custom-quantity .input-text {
	pointer-events: none;
	opacity: .7;
}


/* CHECKOUT pag */
body.woocommerce-checkout .woocommerce-info .showlogin, body.woocommerce-checkout:not(.logged-in) .woocommerce-form-coupon-toggle, body.woocommerce-checkout:not(.logged-in) form[name="checkout"], body.woocommerce-checkout:not(.logged-in) .woocommerce-billing-fields > h3:first-child, form[name="checkout"] #billing_company_field, form[name="checkout"] #billing_city_field, form[name="checkout"] #billing_postcode_field, form[name="checkout"] #billing_country_field, form[name="checkout"] #billing_state_field, form[name="checkout"] #billing_address_1_field, form[name="checkout"] #billing_address_2_field {
	display: none;
}

body.woocommerce-checkout .show_login, body.woocommerce-checkout .show_registry {
    margin-bottom: 30px;
    display: inline-block;
}

body.woocommerce-checkout .show_login {
    margin-right: 30px;
}

.woocommerce-button.button.clicked {
	background: #38afff !important;
    box-shadow: -1px 6px 13px rgba(2, 85, 159, 0.4) !important;
}

form[name="checkout"] .form-row:not(.form-row-first):not(.form-row-last) {
    clear: both;
}

body.woocommerce-checkout .woocommerce-additional-fields > h3:first-child {
    margin-bottom: 10px;
}

body.woocommerce-checkout:not(.logged-in) .woocommerce-additional-fields > h3:first-child:after {
    content: ' para este pedido';
}



/* ORDEN pag */
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
	font-size: 20px;
    background: #00d084;
    color: white;
    display: inline;
    padding: 4px 22px 5px;
    border-radius: 15px;
}



/* RESPONSIVE */
@media only screen and (min-width: 1000px) {
	nav.top_menu ul li {
		margin: 0 45px;
	}
}

@media only screen and (min-width: 1400px) {
	.e-con {
		--container-max-width: 1330px;
	}
}

@media only screen and (min-width: 1500px) {
	.e-con {
		--container-max-width: 1530px;
	}
}