/*
Theme Name:     Afan Grafico Child Theme
Theme URI:      https://afangrafico.com
Template:       kadence
Author:			Afan Grafico
Author URI:     https://afangrafico.com
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Encabezado
------------------------------------------------------*/
.site-header-section-left-center, .site-header-section-right-center {
    align-items: flex-end;
}

.logged-in .menu-item-499,
.logged-in .menu-item-356,
.logged-in .menu-item-508,
.logged-in .menu-item-358,
.menu-item-502,
.menu-item-503,
.menu-item-509,
.menu-item-510
  {
    display: none;
}


.logged-in .menu-item-502,
.logged-in .menu-item-503,
.logged-in .menu-item-509,
.logged-in .menu-item-510 {
	display: block;
}

/* Boton logout (salir)
-----------------------------------*/


/* Home-Servicios
------------------------------------------------------*/

#servicios .modal-trigger .kt-inside-inner-col p {
	text-align: justify;
}



/* Home-Carrusel de subastas
------------------------------------------------------*/

.home .yith-wcact-timeleft-loop {
	display: none;
}

.home .campo_valoracion {
	margin-bottom: 5px;
}


/* Bloque de lista
------------------------------------------------------*/

.wp-block-kadence-modal li>ul {
    margin-top: 10px;
    list-style: circle;
}

.wp-block-kadence-modal li {
    margin-top: 10px;
}

/* Pagina tienda
------------------------------------------------------*/

.woocommerce-ordering select {
    font-weight: normal;
}

.post-type-archive-product .product,
.archive .product,
.kwt-related-wrap .related .product {
    border: 1px solid var(--global-palette8);
    border-radius: 0;
}

.post-type-archive-product .product .product-details .price {
    margin-bottom: 0!important;
}

.yith-wcact-timeleft-loop,
.campo_valoracion {
    font-size: 17px;
}

.campo_valoracion {
	margin: 0 0 5px 0;
}

/* Correcion efecto hover encima de producto */
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap {
    -webkit-transform: translateY(-2rem);
    transform: translateY(-4rem);
}

.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap {
    bottom: -50px;
    opacity: 1;
}

.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap .auction_end_start {
    display: none;
}

.term-venta-directa .texto-deposito,
.term-venta-directa .woocommerce-Price-amount {
	display: none; /*Elimina campo de precio (en este caso deposito) el loop de productos*/
}

/* Filtros
------------------------------------------------------*/

div.facetwp-checkbox[data-value="destacados-inversores"],
div.facetwp-checkbox[data-value="destacados-vivir"],
.tax-product_cat .facetwp-facet-categorias,
.facetwp-facet-price .facetwp-slider-reset,
.tax-productype .facetwp-facet-tipo_de_producto {
    display: none;
}

.facetwp-facet .fs-wrap {
	width: 100%;
}

.facetwp-facet .fs-label-wrap {
	border: 2px solid var(--global-palette7)!important;
}

.fs-dropdown {
	border: 2px solid var(--global-palette7)!important;
	border-top: none!important;
}

.facetwp-facet .fs-label-wrap .fs-label {
    padding: 11px 13px;	
}

.fs-dropdown .fs-options {
    max-height: 300px;
	padding: 15px 10px;
}

.fs-dropdown .fs-options .fs-option {
	padding: 10px;
}

.facetwp-facet .facetwp-checkbox {
    background: url(/wp-content/uploads/checkbox-vivifica.jpg) 0 50% no-repeat;
    background-size: 20px 20px;
    margin-bottom: 10px;
    padding-left: 30px;
}

.facetwp-facet .noUi-connect {
    background: var(--global-palette7);
}

.facetwp-facet .facetwp-reset {
	text-transform: uppercase;
	margin-bottom: -100px;
}

.facetwp-type-slider {
	z-index: 0!important;
	position: relative;
}


/* Pagina producto
------------------------------------------------------*/

.woocommerce .product .kwt-title-single .product_title {
    margin-bottom: 20px;
}

.product_image {
	max-width: 100%!important;
}

.product_image img {
	width: 100%!important;
}

.yith-wcact-aution-badge, .ywcact-currency-symbol, .yith-wcact-manual-bid-increment {
    display: none;
}

.single-product .product .yith-wcact-time-left-main .ywcact-time-left,
.single-product .product .ywcact-your-bid-header p,
.ywcact-winner-max-bid-message,
.woocommerce div.product p.price,
.ywcact-fee-amount-title {
    font-size: 20px!important;
    font-weight: 600!important;
}

.single-product .product .yith-wcact-time-left-main {
    border: 1px solid var(--global-palette8);
}

.single-product .product .ywcact-auction-end-date,
.single-product .product .ywcact-fee-amount-message .ywcact-fee-amount-content {
	font-size: 13px;
	line-height: 1.2;
}

.ywcact-bid-form {
    width: 100%;
}

.ywcact-bid-form button,
.single_add_to_cart_button {
    text-transform: uppercase;
    border: 2px solid var(--global-palette7);
    width: 150px;
}

.ywcact-bid-form button:hover {
    background-color: #ffffff!important;
    color: var(--global-palette7)!important;
    border: 2px solid;
}

#yith-wcact-form-bid .quantity {
    width: 150px;
    margin-right: 20px;
}

.woocommerce .quantity .qty {
    width: 150px;
    height: 69px!important;
    border: 2px solid var(--global-palette7);
    border-radius: 0;
}

.woocommerce div.product .kwt-add-to-cart-single .button.single_add_to_cart_button {
	width: 170px;
    height: 69px!important;
    border: 2px solid var(--global-palette7);
    border-radius: 0;
	line-height: 24px;
	margin-left: 20px;
}

.yith-wcact-add-to-watchlist-button {
	align-items: center;
}

.ywcact-add-to-watchlist-container {
    margin-top: 150px;
}

.yith-wcact-add-to-watchlist-browse-message a,
.yith-wcact-add-to-watchlist-button-message a {
	color: #FF9101;
}

.yith-wcact-add-to-watchlist-button-message > span,
.add-to-watchlist-number-of-users {
	display: none;
}

.ywcact-add-to-watchlist-container .yith-wcact-add-to-watchlist-button, .ywcact-add-to-watchlist-container .yith-wcact-add-to-watchlist-browse {
    display: flex;
}

.ywcact-add-to-watchlist-container .yith-wcact-add-to-watchlist-button img, .ywcact-add-to-watchlist-container .yith-wcact-add-to-watchlist-browse img {
    margin-right: 20px;
}

.add-to-watchlist-number-of-users {
	margin-top: 10px;
}

.ywcact-winner-max-bid {
    background-color: #c9d5cd;
    border: none;
    padding: 20px;
}

.ywcact-winner-max-bid-message {
    margin-bottom: 10px!important;
}

.producto-tabs .woocommerce-Tabs-panel p,
.ywcact-congratulations-winner-auction-section {
	font-size: 17px!important;
}

.yith-wcact-table-bids #datatable {
	font-size: 15px;
}

.kwt-related-wrap h2,
#yith_auction_end_product_page h2 {
	color: var(--global-palette7, #EDF2F7);
}

.ywcact-congratulations-winner-auction-section {
	margin-top: 75px;
}

.ywcact-congratulations-winner-auction-section .ywcact-congratulation-title img,
.ywcact-congratulations-winner-auction-section .auction_add_to_cart_button {
	display: none;
}

.ywcact-congratulations-winner-auction-section #yith-wcact-auction-won-auction {
	border-color: #B76E0B;
}

.ywcact-congratulations-winner-auction-section #yith-wcact-auction-won-auction:hover {
	color: #ffffff;
}

.productype-subastas .texto-venta-directa,
.productype-subastas .campo-oferta {
	display: none;
} 

.texto-valoracion-subastas {
	max-width: 350px;
}

#custom_offer_field {
	margin-left: 52px;
}

.yith-wcact-modal-title {
	margin-bottom: -10px!important;
}

/* Pagina producto: venta directa
------------------------------------------------------*/

.productype-venta-directa .calculadora-wrap,
.productype-venta-directa .quantity  {
	display:  none;
}

.productype-venta-directa .texto-venta-directa {
	font-size: 17px;
}

.productype-venta-directa div.product .kwt-add-to-cart-single .button.single_add_to_cart_button {
	width: 250px;
	margin-left: 0;
	margin-top: 20px;
}


.campo-oferta #custom_offer_field {
    width: 150px;
    height: 69px!important;
    border: 2px solid var(--global-palette7);
    border-radius: 0;
}

.productype-venta-directa .texto-deposito {
	margin-right: 7%;
}

.productype-subastas .woocommerce-Price-amount {
	margin-left: 2%;
}



/* Calculadora
------------------------------------------------------*/

.calculadora-wrap {
	margin-top: -50px;
}

#calculadora-puja label {
	display: block;
	margin-bottom: 20px;
}

#calculadora-puja input {
	width: 150px;
    height: 69px!important;
    border: 2px solid var(--global-palette7);
    border-radius: 0;
	margin-right: 15px;
}

#calculadora-puja button {
    text-transform: uppercase;
    border: 2px solid var(--global-palette7);
    width: 175px;
}

#tabla-detalles,
#tabla-detalles tr,
#tabla-detalles th,
#tabla-detalles td {
	border: 2px solid var(--global-palette7, #EDF2F7);
	padding: 4px 10px;
	font-size: 17px;
}

#tabla-detalles th,
#tabla-detalles td strong {
	text-align: left!important;
	font-weight: 600;
}

#tabla-detalles {
	color: var(--global-palette7, #EDF2F7);
}

/* Pop up cuota de puja
------------------------------------------------------*/

.yith_ywcact_opened .yith-ywcact-popup-wrapper {
	width: 500px;
	padding: 40px 0px;
}

.yith_ywcact_opened .yith-ywcact-popup-wrapper h3 {
	font-size: 20px;
}

.yith_ywcact_opened .yith-ywcact-popup-wrapper button {
	text-transform: uppercase;
}


/* Pagina Mi cuenta
------------------------------------------------------*/

.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--dashboard,
.yith-wcact-my-watchlist-list-index-container,
.yith-wcact-end-on .yith-wcact-timeleft-seconds,
.account-navigation-wrap,
.ywcact-return-to-watchlist,
.page-id-29 label[for="account_display_name"],
.page-id-29 #account_display_name {
	display: none!important;
}


/* Quitar menu original */

.woocommerce-account .woocommerce-MyAccount-content {
	width: 100%;
	padding: 0!important;
}

.yith-wcact-my-account-image {
    margin-right: 0;
}

/* Modificar lista favoritos
------------------------------*/


.yith-wcact-my-watchlist-list-index-container-header {
	margin-bottom: 60px;
}

.yith-wcact-my-watchlist-list-index-container-header h3,
.yith-wcact-my-auctions-list-index-container-header h3 {
	font-size: 20px;
}

.order-number,
.order-status .nobr {
	visibility: hidden;
}

.yith_wcact_my_auctions_my_watchlist .yith-wcact-auction-image {
    max-width: 150px;
}

.product-url a {
	font-weight: 700;
	text-decoration: none;
}

.product-url a:hover,
.my-auction-list-index-product a:hover {
	text-decoration: underline;
}

.woocommerce a.remove {
	font-size: 25px!important;
	background-color: red;
	color: white!important;
}

/* Modificar lista mis subastas
-------------------------------*/

.my-auction-list-index-product {
		display: flex;
	}

.yith-wcact-my-account-image img {
	max-width: 200px!important;
	float: left;
}

.my-auction-list-index-product a {
	margin-left: 30px;
	top: 50px;
	position: relative;
	font-weight: 600;
	text-decoration: underline;
}


.yith-wcact-auction-my-watchlist-endpoint a {
	font-weight: 600;
	text-decoration: underline;
}

.yith-wcact-auction-my-watchlist-endpoint a:hover {
	text-decoration: none;
}

.my-auction-list-index-product a:hover {
	text-decoration: none;
}

.yith-wcact-auctions-status .auction_add_to_cart_button {
	display: none;
}

/* Pagina Registro
------------------------------------------------------*/

.woocommerce form.register {
	border: none;
}

#customer_login label {
	font-size: 17px;
	font-weight: 600;
}

#customer_login input {
	font-size: 17px;
}

#customer_login button {
	text-transform: uppercase;
}

#customer_login .col-1,
.page-id-29 .kt-accordion-pane,
.page-id-29 .kt-block-spacer {
	display: none;
}

.logged-in .kt-accordion-pane,
.logged-in .kt-block-spacer {
	display: block;
}

#customer_login .col-2 {
	width: 65%;
	margin: auto;
	float: none;
}

#customer_login .col-2 h2 {
	color: var(--global-palette7, #718096);
	text-align: center;
}

#customer_login .col-2 button {
	background-color: var(--global-palette7, #718096);
}

#customer_login .col-2 button:hover {
	background-color: #ffffff;
	color: var(--global-palette7, #718096);
}

.woocommerce form.register {
	border-color: var(--global-palette6, #718096);
}

#customer_login .woocommerce-privacy-policy-text {
	font-size: 17px;
	margin: 30px 0;
}

#customer_login .texto-intro p {
	font-size: 17px;
	line-height: 1.3;
	margin-bottom: 30px;
}

#customer_login .terms span {
	font-weight: 300;
	font-size: 17px;
}

/* Pagina checkout
------------------------------------------------------*/
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block {
	display: none;
}

.wp-block-woocommerce-checkout  .is-large .wc-block-checkout__sidebar {
	top: 150px!important;
}

.wp-block-woocommerce-checkout input {
	padding: 50px 30px 15px 10px!important;
}

.wc-block-components-product-price__value,
.wc-block-components-totals-item__value {
	font-weight: 300!important;
}

.wc-block-components-totals-footer-item-tax-value {
	font-weight: 600!important;
}

.wc-block-components-radio-control-accordion-content {
	padding-bottom: 20px!important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
	text-transform: uppercase
}

.wc-block-components-checkout-place-order-button {
	border: 2px solid #ffffff;
	transition: .2s linear!important;
}

.wc-block-components-checkout-place-order-button:hover {
	border: 2px solid var(--global-palette7)!important;
}

.wc-block-checkout__order-notes textarea::placeholder {
    color: transparent;
}

.wp-block-woocommerce-checkout .wc-block-checkout__order-notes input {
	padding: 10px!important;
	margin: 15px 15px 0 0;
	border-radius: 5px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions_row {
	flex-direction: column;
}

.custom-text-below-order-button {
	margin-top: 50px!important;
	font-size: 14px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions_row {
	align-items: flex-start;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
	font-size: 17px;
}

.wp-block-woocommerce-checkout .wc-block-components-address-card address .wc-block-components-address-card__address-section {
	margin-bottom: 10px!important;
}

/* Pagina checkout: gracias
------------------------------------------------------*/

.woocommerce-order-received .woocommerce-notice--success {
	margin: 70px 0!important;
}

.woocommerce-order-overview li {
	margin-bottom: 30px;
}

.woocommerce-order-overview li:last-child {
	margin-bottom: 0;
}

.woocommerce-order-overview strong,
.woocommerce-bacs-bank-details strong {
	margin-top: 8px;
}

.woocommerce-order-received h2 {
	color: var(--global-palette7, #EDF2F7);
	margin-top: 80px!important;
}

.woocommerce-order-received .wc-bacs-bank-details-account-name {
	font-size: 20px;
	margin: 50px 0 40px;
}

.woocommerce ul.order_details li strong {
	font-weight: 600;
}

.woocommerce-customer-details address {
	padding: 20px!important;
}

/* Banner cookies
------------------------------------------------------*/

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
	flex-direction: column;
	padding: 20px 0 10px;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
	text-transform: uppercase!important;
	border-radius: 0!important;
	font-weight: 700!important;
	padding: 20px 25px!important;
	font-size: 20px!important;
}

/* Boton flotante
------------------------------------------------------*/

.floating-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 80px; 
            height: 80px; 
            background-image: url('/wp-content/uploads/charlando.png'); 
            background-size: 75%; 
			background-repeat: no-repeat;
			background-position: center;
            z-index: 1000; 
            transition: transform 0.3s ease; 
        }

        .floating-button:hover {
            transform: scale(1.1); /* Aumenta el tamaño del botón al pasar el cursor */
        }


@media (max-width: 1024px) {

	
	/* Pagina producto
	------------------------------------------------------*/
	
	.columnas-producto > .kt-row-column-wrap {
	    column-gap: var(--global-kb-gap-lg, 2rem)!important;
		grid-template-columns: minmax(0, 60%) minmax(0, 40%)!important;
	}

	.single-product .product .yith-wcact-timeleft-big-blocks .yith-wcact-number,
	.single-product .product .ywcact-fee-amount-message .ywcact-fee-amount-title {
		font-size: 20px;
		font-weight: 600!important;
	}

	.single-product .product .yith-wcact-timeleft-big-blocks .yith-wcact-timeleft {
		border: none;
	}

	.single-product .product .yith-wcact-container-timeleft {
		padding-left: 5px;
	}

	.single-product .product .ywcact-bid-form button {
		max-width: 110px;
	}

	.single-product .product .yith-wcact-add-to-watchlist-browse-message {
		font-size: 17px;
	}

	.woocommerce .quantity .qty,
	#yith-wcact-form-bid .quantity,
	#calculadora-puja input {
	    width: 110px;
	}

	.kwt-price-wrap span,
	.woocommerce div.product p.price {
		font-size: 18px!important;
	}

	.texto-valoracion-subastas {
		max-width: 275px;
	}

	.productype-subastas .woocommerce-Price-amount {
		margin-left: 1%;
	}

	/* Calculadora
	------------------------------------------------------*/

	#calculadora-puja button {
		max-width: 150px;
	}

	/* Pagina Registro
	------------------------------------------------------*/

	#customer_login label {
		line-height: 1.5;
		margin-bottom: 20px;
	}

	#customer_login .col-2 {
	width: 80%;
	}

	#customer_login button {
		margin-top: 20px;
	}


	/* Formulario 1
	------------------------*/

	#customer_login form.login {
		padding-bottom: 105px;
	}

	
	#customer_login .col-1 .woocommerce-form-login__rememberme {
		margin-top: 15px;
	}

	#customer_login .col-1 .woocommerce-form-login__submit {
		margin-top: 0;
	}

	

	
}

@media (max-width: 767px) {

	/* Pagina producto
	------------------------------------------------------*/

	.columnas-producto > .kt-row-column-wrap {
		grid-template-columns: 100% !important;
		gap: 0px!important;
	}

	.product_meta {
		display: none;
	}

	.single-product .product .ywcact-fee-amount-message .ywcact-fee-amount-title {
		font-size: 20px;
		font-weight: 600!important;
	}

	.ywcact-bid-form button {
		max-width: 150px;
	}

	.producto-tabs {
		margin-top: -40px;
	}

	.texto-valoracion-subastas {
		max-width: 300px;
	}

	/* Pagina Registro
	------------------------------------------------------*/

	#customer_login .col-2 {
		width: 100%;
	}

	.woocommerce form.register  {
		padding: 0;
	}

	#customer_login form.login {
		padding-bottom: 40px;
	}

	#customer_login .texto-intro {
		margin: 40px 0;
	}




	/* Pagina Mi cuenta
	-------------------------------------------------------*/

	/* Modificar lista mis subastas
	------------------------------*/

	.yith-wcact-my-account-image img {
		display: none;
	}

	.my-auction-list-index-product a,
	.yith-wcact-auction-my-watchlist-endpoint a {
		margin-left: 0;
		top: 0;
		position: relative;
		font-weight: 300;
	}

	.yith-wcact-my-auctions-list-index-container tr {
		padding-bottom: 40px;
	}

	/* Modificar lista favoritos
	------------------------------*/

	.yith_wcact_my_auctions_my_watchlist .yith-wcact-auction-image {
		display: none!important;
	}

	.yith_wcact_my_auctions_my_watchlist tr {
		padding-bottom: 40px;
	}

	.yith_wcact_my_auctions_my_watchlist .yith-wcact-timer-auction {
		display: block;
	}

	.yith_wcact_my_auctions_my_watchlist .yith-wcact-end-on {
		padding-top: 10px!important;
	}

	.product-remove,
	.product-url {
		border-top: 0!important;
	}

	.yith-wcact-number {
		font-size: 17px!important;
	}

	

	/* Pop up cuota de puja
	------------------------------------------------------*/

	.yith_ywcact_opened .yith-ywcact-popup-wrapper {
		width: 90vw;
		padding: 20px 0px;
	}

	/* Pagina checkout
	------------------------------------------------------*/

	.wc-block-components-address-card {
		flex-direction: column;
	}

	/* Banner cookies
	------------------------------------------------------*/

	#moove_gdpr_cookie_info_bar {
		max-height: fit-content!important; 
	}
	
	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p {
		font-size: 12px!important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
		font-size: 18px!important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-button-holder {
		justify-content: center;
	}

	.moove-gdpr-infobar-settings-btn {
		display: none!important;
	}

		/* Pagina checkout: graciasº------------------------------------------------------*/

	.woocommerce-order-received .wc-bacs-bank-details-account-name {
		margin: 30px 0 30px;
	}

	.woocommerce-order-received .wc-bacs-bank-details li {
		margin-bottom: 20px;
	}

	/* Boton flotante
	------------------------------------------------------*/

	.floating-button {
            width: 50px; 
            height: 50px; 
        }




	
}
