﻿
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
}

    .swiper-button-next:after, .swiper-button-prev:after {
        background-color: rgba(0, 0, 0, 0.6);
        font-size: 1.2rem !important;
        padding: 15px 10px 15px 10px;
        position: absolute;
    }

    .swiper-button-prev:after {
        border-radius: 0px 5px 5px 0px;
        left: -10px !important;
    }

    .swiper-button-next:after {
        border-radius: 5px 0px 0px 5px;
        right: -10px !important;
    }


.swiper-pagination-bullet-active {
    background: #fff !important;
}

.swiper-pagination-fraction {
    background: #00000080 !important;
    color: #fff !important;
    /*font-size: 11px;*/
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: fit-content !important;
    align-content: center;
    position: absolute;
    margin-left: 10px;
    text-transform: uppercase;
}

.swiper-pagination-progressbar-fill {
    background: #FFDD05 !important;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper {
    width: 100%;
    height: 260px;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
}

.swiper-slide {
    padding: 0;
    margin: 0;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }




/*FICHA TITULO DEL PROUCTOS*/
.card-vehiculo {
    border-radius: 0.8rem;
    margin-bottom: 1.5rem;
    background: #fff;
    max-width: 740px;
    margin: auto;
    font-family: 'Segoe UI', sans-serif;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: box-shadow .25s ease, transform .25s ease;
}
    .card-vehiculo:hover {
        box-shadow: 0 16px 40px rgba(0,0,0,.16);
        transform: translateY(-3px);
    }

    .premium {
        border: 1px solid #ffdd05;
    }
        .premium:hover {
            box-shadow: 0 5px 15px rgba(255,221,5,0.56) !important;
        }

.card-vehiculo-title {
    font-weight: 600;
    font-size: 0.85rem;
}

.card-vehiculo-footer {
    border-top: solid 1px #eee;
}

/*.floating-img {
    position: absolute;
    top: 10px;
    z-index: 2;
    width: 100px;
    height: 25px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
/* background-color: white; */
/* padding: 2px; */
/*}

    .floating-img.left {
        left: 10px;
    }*/

.card-img-container {
    position: relative;
}

.titulo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.barra-precio {
    height: 8px;
    background: #e0e0e0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
}

    .barra-precio .relleno {
        width: 50%;
        height: 100%;
        background: #0aaf58;
    }

.btn-alerta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #000;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

    .btn-alerta:hover {
        background: #f4f4f4;
    }

/*@media (max-width: 576px) {
    .info-precios {
        flex-direction: column;
    }
}*/

.fecha-publicacion {
    font-size: 0.7rem;
    color: #888;
}

.precio-contado {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

/* Contenedor de la imagen premium: se posiciona sobre la foto */
.premium-tooltip {
    position: absolute;
    top: 8px; /* ajusta según tu gusto */
    left: 8px; /* ajusta según tu gusto */
    display: inline-block;
    cursor: default;
    z-index: 30;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    /*filter: drop-shadow(0 0 4px rgba(255, 204, 0, 0.40)) drop-shadow(0 0 6px rgba(255, 204, 0, 0.30));*/
}



/* Imagen del badge premium */
.premium-img {
    display: block;
    width: 100px;
    height: 25px;
    border-radius: 5px;
    object-fit: cover;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
    /*border: 1px solid #ffdd05;*/
    /*box-shadow: 0px 1px 3px rgba(255,221,5,0.7) !important;*/
}

/* Globito */
.premium-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px); /* por encima del badge */
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 20;
    /*box-shadow: 0 0 6px rgba(255, 204, 0, 0.35),
    0 0 14px rgba(255, 204, 0, 0.25);
    border: 1px solid rgba(255, 204, 0, 0.35);*/
}

/* Flecha del tooltip */
.premium-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #111 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
    z-index: 19;
    /*filter: drop-shadow(0 0 4px rgba(255, 204, 0, 0.45));*/
}

/* Mostrar tooltip al hover */
.premium-tooltip:hover::after,
.premium-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.premium-tooltip:hover::after {
    transform: translateX(-50%) translateY(-2px);
}




.dealer-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
}

/*.stars {
    display: flex;
    gap: 3px;
}

.star {
    width: 16px;
    height: 16px;
}

    .star.filled path {
        fill: #007bff;
    }

    .star.empty path {
        fill: #ccc;
    }*/

.stars {
    display: flex;
    gap: 3px;
}

.star {
    width: 16px;
    height: 16px;
}

    .star.filled path {
        fill: #007bff;
    }

    .star.empty path {
        fill: #ccc;
    }

.vehicle-floating-title {
    position: absolute;
    top: 10px;
    left: 15px;
    display: flex;
    flex-direction: row; /* horizontal */
    gap: 8px;
    z-index: 10;
}

.vehicle-floating-item {
    padding: 3px 12px;
    border-radius: 20px;
    background-color: #232323;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

    .color {
        background-color: #ffdd05 !important;
        color: #000;
    }

.vehicle-floating-footer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-direction: row; /* horizontal */
    gap: 8px;
    z-index: 10;
}

.vehicle-floating-buttons {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    flex-direction: row; /* horizontal */
    gap: 10px;
    z-index: 10;
}

.car-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.fav-icon {
    transition: color .3s ease, transform .3s ease;
}

.favorito {
    color: #e63946 !important; /* rojo bonito */
}

.rotando {
    animation: spin 1s linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 576px) {
    .vehicle-floating-title {
        top: 10px;
        left: 15px;
        gap: 5px;
    }

    .vehicle-floating-item {
        padding: 2px 8px;
        font-size: 0.65rem;
        color: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
}

/* 👉 Layout tipo 1360x768: thumbs a la DERECHA en vertical */
@media screen and (min-width: 1200px) and (max-width: 1400px) and (max-height: 800px) {

    .vehicle-floating-item {
        padding: 2px 8px;
        font-size: 0.70rem;
        color: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }
}





.nx-title {
    font-size: 1.55rem;
    font-weight: 400;
    /*color: #2c3a4a;*/
    margin-bottom: 1.6rem;
    position: relative;
    padding-bottom: 0.6rem;
}

    .nx-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px; /* Desktop tamaño elegante */
        height: 4px; /* Grosor desktop */
        background-color: #ffdd05;
        border-radius: 50px;
        transition: width .25s ease, height .25s ease;
    }
    .nx-title.no-after::after {
        content: none;
    }

.nx-title-sm {
    font-size: 1rem;
    font-weight: 600;
    /*color: #2c3a4a;*/
    margin-bottom: 1.6rem;
    position: relative;
    padding-bottom: 0.6rem;
}
    .nx-title-sm::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 30px; /* Desktop tamaño elegante */
        height: 3px; /* Grosor desktop */
        background-color: #ffdd05;
        border-radius: 50px;
        transition: width .25s ease, height .25s ease;
    }
    .nx-title-sm.no-after::after {
        content: none;
    }


.card-share-btn {
    position: absolute;
    display: flex;
    text-align: center;
    align-items: center;
    top: 20px;
    right: 20px;
    z-index: 20;
    gap: 15px;
}

.btn-lnkbutton {
    width: 60px;
    height: 60px;
    display: flex; /* centra contenido */
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */

    border-radius: 12px; /* opcional, igual a tu screenshot */
}

@media print {
    header, footer, .no-print {
        display: none !important;
    }

    .print-area {
        width: 100%;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .nx-title {
        font-size: 1.8rem;
    }

        .nx-title::after {
            width: 75px;
            height: 5px;
        }
}

/* Móvil */
@media (max-width: 576px) {
    .nx-title {
        font-size: 1.2rem;
        text-wrap: balance; /* opcional, mejora lectura */
    }

        .nx-title::after {
            width: 55px;
            height: 4px;
        }

    .card-share-btn {
        top: 10px;
        right: 10px;
        z-index: 20;
        gap: 10px;
    }
}


















.mc-report {
    border-radius: 18px;
}

.rep-loader {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rep-list .rep-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 16px 8px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    cursor: pointer;
}

    .rep-list .rep-item:last-child {
        border-bottom: 0;
    }

.rep-list .rep-title {
    font-weight: 400;
}

.rep-list .rep-desc {
    font-size: .875rem;
    color: #6c757d;
    margin-top: 2px;
}

.rep-list input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #111; /* look “Airbnb-ish” */
}

.rep-other {
    overflow: hidden;
    transition: max-height .28s ease, opacity .18s ease, transform .28s ease;
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

    .rep-other.collapsed {
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
    }


.premium-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    left: 8px;
    top: 8px;
    gap: 6px;
    background: #222222; /* negro profundo */
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1;
    user-select: none;
    z-index:5;
}

    .premium-badge i {
        color: #ffcc00; /* dorado */
        font-size: 12px;
    }
