/*
Theme Name:     Afan Grafico Child Theme
Theme URI:      https://afangrafico.com
Template:       kadence
Author:         AfÃ¡n GrÃ¡fico
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
*/

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

.splide__pagination {
    display: none!important;
}

/* PÃ¡gina inmueble */

.single-inmuebles .single-content p {
    margin-bottom: 0;
}

.inmo-descripcion p {
    line-height: 1.5;
}

.inmo-lista ul {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.inmo-lista ul li {
    position: relative;
    margin-bottom: 10px; 
    padding-left: 25px; 
}

.inmo-lista ul li::before {
    content: '\2713'; 
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff; 
    font-size: 18px; 
    line-height: 1; 
}

/* Inmueble rebajado */

body:not(.inmueble-rebajado):not(.home):not(.archive) .precio-rebajado {
    display: none;
}

li:not(.inmueble-rebajado) .precio-rebajado {
    display: none;
}

li:not(.inmueble-rebajado) .price-wrap .kt-row-column-wrap {
    display: flex!important;
    justify-content: center;
}

.inmueble-rebajado .price-wrap .kt-row-column-wrap {
    display: flex;
    flex-flow: row-reverse;
    justify-content: flex-end;
}

.inmueble-rebajado .precio-normal {
    color: red;
    position: relative;
    display: inline-block;
}

.inmueble-rebajado .precio-normal::after {
    content: '';
    position: absolute;
    top: 50%; /* Coloca la lÃ­nea en el centro del texto */
    left: 0;
    width: 100%;
    height: 2px; /* Grosor de la lÃ­nea */
    background-color: red; /* Color de la lÃ­nea */
    transform: translateY(-50%); /* Ajusta verticalmente la posiciÃ³n */
    transform: rotate(-6deg); /* RotaciÃ³n para la diagonal */
}

/* Inmueble vendido */

.inmueble-vendido .kb-gallery-ul:after {
    content: "VENDIDO";
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
}

/* Boton flotante */

#phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px; 
    z-index: 1000; 
}

#phone-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* TamaÃ±o del botÃ³n */
    height: 60px; /* TamaÃ±o del botÃ³n */
    background-color: #7cd573; /* Color de fondo */
    color: white; /* Color del sÃ­mbolo */
    border-radius: 50%; /* Hace el botÃ³n circular */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    font-size: 24px; /* TamaÃ±o del sÃ­mbolo */
    text-decoration: none; /* Quita el subrayado */
    transition: all 0.3s ease; /* AnimaciÃ³n al hover */
}

 #phone-button a:hover {
    transform: scale(1.1); 
}
