/**
 * Tokko Custom Search and Grid Styles
 * Designed for Inmobiliaria Mega with Premium Modern Aesthetics (Glassmorphism & HSL Colors)
 */

:root {
    --tokko-primary: var(--primary-color, var(--wp--preset--color--primary, #27ae60)); /* Usar color primario del tema, fallback a verde premium */
    --tokko-primary-hover: var(--primary-color-hover, var(--wp--preset--color--secondary, #219653));
    --tokko-accent: var(--accent-color, var(--wp--preset--color--accent, #d4af37));
    --tokko-accent-hover: #b89728;
    --tokko-bg-glass: rgba(255, 255, 255, 0.85);
    --tokko-border-glass: rgba(0, 0, 0, 0.08);
    --tokko-text: inherit;
    --tokko-text-light: #7f8c8d;
    --tokko-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --tokko-card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --tokko-radius: 12px;
    --tokko-transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. Formulario de Búsqueda (Shortcode & Superior)
   ========================================================================== */
.tokko-search-form-wrapper {
    background: var(--tokko-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--tokko-border-glass);
    border-radius: var(--tokko-radius);
    padding: 24px;
    box-shadow: var(--tokko-card-shadow-hover);
    max-width: 1100px;
    margin: 30px auto;
    position: relative;
    z-index: 10;
}

.tokko-search-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: end;
}

.tokko-search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tokko-search-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tokko-primary);
}

.tokko-search-select-wrapper {
    position: relative;
}

.tokko-search-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--tokko-primary);
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: var(--tokko-transition);
}

.tokko-search-select-wrapper select {
    width: 100%;
    padding: 12px 35px 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--tokko-text);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: var(--tokko-transition);
}

.tokko-search-select-wrapper select:focus {
    outline: none;
    border-color: var(--tokko-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.tokko-search-btn-group {
    display: flex;
    justify-content: flex-end;
}

.tokko-search-submit-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--tokko-primary), #1a6da8);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.25);
    transition: var(--tokko-transition);
}

.tokko-search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.35);
    background: linear-gradient(135deg, var(--tokko-primary-hover), var(--tokko-primary));
}

.tokko-search-submit-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   2. Contenedores y Grilla de Propiedades
   ========================================================================== */
.tokko-search-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.tokko-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 15px;
}

.tokko-results-title h2 {
    font-size: 1.5rem;
    color: var(--tokko-primary);
    margin: 0;
}

.tokko-results-count {
    color: var(--tokko-text-light);
    font-size: 0.95rem;
}

.tokko-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.tokko-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: var(--tokko-radius);
    border: 1px dashed rgba(0,0,0,0.15);
}

.tokko-no-results i {
    font-size: 3rem;
    color: var(--tokko-primary);
    margin-bottom: 15px;
    opacity: 0.6;
}

.tokko-no-results p {
    font-size: 1.1rem;
    color: var(--tokko-text-light);
}

/* ==========================================================================
   3. Tarjeta de Propiedad Custom (Premium Card)
   ========================================================================== */
.tokko-property-card {
    background: #ffffff;
    border-radius: var(--tokko-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow: var(--tokko-card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--tokko-transition);
}

.tokko-property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tokko-card-shadow-hover);
    border-color: rgba(15, 76, 129, 0.15);
}

/* Media y Slider de Imagenes */
.tokko-card-media {
    position: relative;
    aspect-ratio: 16/10.5;
    background: #eaeaea;
    overflow: hidden;
}

.tokko-card-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.tokko-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.tokko-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.tokko-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Flechas de Navegación */
.tokko-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--tokko-transition);
}

.tokko-slider-btn i {
    font-size: 0.85rem;
    color: var(--tokko-primary);
    transition: var(--tokko-transition);
}

.tokko-slider-btn:hover {
    background: var(--tokko-primary);
}

.tokko-slider-btn:hover i {
    color: #ffffff;
}

.tokko-card-media:hover .tokko-slider-btn {
    opacity: 1;
    visibility: visible;
}

.tokko-slider-prev {
    left: 12px;
}

.tokko-slider-next {
    right: 12px;
}

/* Puntos de Navegación (Dots) */
.tokko-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.tokko-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--tokko-transition);
}

.tokko-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Etiquetas flotantes */
.tokko-badge-status {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 12;
    background: var(--tokko-primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tokko-badge-status.alquileres {
    background: var(--tokko-primary);
}

.tokko-badge-status.ventas {
    background: var(--tokko-primary);
}

/* Contenido de la Tarjeta */
.tokko-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tokko-card-price-wrapper {
    margin-bottom: 10px;
}

.tokko-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--tokko-primary);
}

.tokko-card-currency {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tokko-accent);
    margin-left: 4px;
}

.tokko-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--tokko-text);
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.tokko-card-address {
    font-size: 0.85rem;
    color: var(--tokko-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tokko-card-address i {
    color: var(--tokko-primary);
    opacity: 0.8;
}

/* Características técnicas */
.tokko-card-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 14px;
    margin-top: auto;
}

.tokko-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tokko-text);
    font-size: 0.85rem;
    font-weight: 600;
}

.tokko-feature-item i {
    font-size: 0.95rem;
    color: var(--tokko-primary);
    opacity: 0.7;
}

.tokko-feature-label {
    font-size: 0.75rem;
    color: var(--tokko-text-light);
    font-weight: 400;
    margin-left: 2px;
}

/* Botón de ver más */
.tokko-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    cursor: pointer;
}

/* ==========================================================================
   4. Paginación Custom
   ========================================================================== */
.tokko-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.tokko-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: var(--tokko-text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tokko-transition);
}

.tokko-page-link:hover {
    border-color: var(--tokko-primary);
    color: var(--tokko-primary);
    background: rgba(15, 76, 129, 0.05);
}

.tokko-page-link.active {
    background: var(--tokko-primary);
    color: #ffffff;
    border-color: var(--tokko-primary);
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
}

.tokko-page-link.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.tokko-page-link.dots:hover {
    background: transparent;
    color: var(--tokko-text);
}

/* ==========================================================================
   5. Diseño Responsivo
   ========================================================================== */
@media (max-width: 768px) {
    .tokko-search-form-wrapper {
        padding: 16px;
        margin: 15px auto;
    }
    
    .tokko-search-form-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tokko-properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tokko-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================================================
   6. Estilos para Ficha de Propiedad Individual (Single Page)
   ========================================================================== */
.tokko-single-page-wrapper {
    color: inherit;
    padding-bottom: 60px;
    font-family: inherit;
}

.tokko-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra de Navegación Rápida y Migas de Pan */
.tokko-single-navigation-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.tokko-flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tokko-breadcrumbs {
    font-size: 0.85rem;
    color: var(--tokko-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tokko-breadcrumbs a {
    color: var(--tokko-text-light);
    text-decoration: none;
    transition: var(--tokko-transition);
}

.tokko-breadcrumbs a:hover {
    color: var(--tokko-primary);
}

.tokko-breadcrumbs i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.tokko-breadcrumbs span.active {
    color: var(--tokko-primary);
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tokko-quick-anchors {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tokko-anchor-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tokko-text);
    text-decoration: none;
    transition: var(--tokko-transition);
}

.tokko-anchor-link:hover {
    color: var(--tokko-primary);
}

.tokko-anchor-link.tokko-btn-action {
    background: var(--tokko-primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tokko-anchor-link.tokko-btn-action:hover {
    background: var(--tokko-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hero y Slider Principal */
.tokko-single-hero {
    margin: 25px 0;
}

.tokko-single-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tokko-single-slider {
    position: relative;
    aspect-ratio: 21/9;
    min-height: 380px;
    background: #000;
    border-radius: var(--tokko-radius);
    overflow: hidden;
    box-shadow: var(--tokko-card-shadow);
}

.tokko-single-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.tokko-single-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.tokko-single-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Botones del Slider */
.tokko-single-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--tokko-transition);
}

.tokko-single-btn i {
    font-size: 1.1rem;
    color: var(--tokko-primary);
}

.tokko-single-btn:hover {
    background: var(--tokko-primary);
    transform: translateY(-50%) scale(1.05);
}

.tokko-single-btn:hover i {
    color: #ffffff;
}

.tokko-single-prev {
    left: 20px;
}

.tokko-single-next {
    right: 20px;
}

.tokko-single-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.tokko-single-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--tokko-transition);
}

.tokko-single-dot.active {
    background: #ffffff;
    transform: scale(1.25);
}

/* Grid de Información y Contacto */
.tokko-single-main-content {
    margin-top: 40px;
    margin-bottom: 40px;
}

.tokko-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.tokko-info-column {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--tokko-radius);
    padding: 30px;
    box-shadow: var(--tokko-card-shadow);
}

.tokko-single-title {
    font-size: 2rem;
    font-weight: 800;
    color: inherit;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.tokko-single-location {
    font-size: 0.95rem;
    color: inherit;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.tokko-single-location i {
    color: var(--tokko-primary);
}

/* Insignias Técnicas */
.tokko-single-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.tokko-spec-badge {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    flex-grow: 1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--tokko-transition);
}

.tokko-spec-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.05);
}

.tokko-spec-badge i {
    font-size: 1.4rem;
    color: var(--tokko-primary);
    margin-bottom: 6px;
}

.tokko-spec-badge .val {
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
}

.tokko-spec-badge .lbl {
    font-size: 0.75rem;
    color: inherit;
    opacity: 0.8;
    margin-top: 2px;
}

.tokko-divider {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 30px 0;
}

/* Bloques de Secciones */
.tokko-section-block {
    margin-bottom: 40px;
}

.tokko-section-block h2 {
    font-size: 1.35rem;
    color: inherit;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid var(--tokko-primary);
    padding-left: 12px;
}

.tokko-description-content {
    line-height: 1.7;
    font-size: 1rem;
    color: #4a5568;
}

.tokko-description-content p {
    margin-bottom: 16px;
}

/* Checkboxes de Características */
.tokko-features-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.tokko-feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.tokko-feature-check-item i {
    color: var(--tokko-primary);
    font-size: 1.15rem;
}

/* Columna Derecha: Tarjeta Adhesiva de Contacto */
.tokko-contact-column {
    height: 100%;
}

.tokko-sticky-contact-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--tokko-radius);
    padding: 30px;
    box-shadow: var(--tokko-card-shadow-hover);
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    box-sizing: border-box;
}

.tokko-contact-price-box {
    text-align: center;
    background: color-mix(in srgb, var(--tokko-primary) 8%, transparent);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 25px;
    border: 1px dashed color-mix(in srgb, var(--tokko-primary) 30%, transparent);
}

.tokko-contact-price-box .price-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--tokko-primary);
}

.tokko-contact-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tokko-contact-form .form-group {
    margin-bottom: 16px;
}

.tokko-contact-form input[type="text"],
.tokko-contact-form input[type="email"],
.tokko-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--tokko-transition);
    box-sizing: border-box;
}

.tokko-contact-form input:focus,
.tokko-contact-form textarea:focus {
    outline: none;
    border-color: var(--tokko-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

/* Botones de Acción de la Tarjeta */
.tokko-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.tokko-contact-buttons a,
.tokko-contact-buttons button {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--tokko-transition);
    border: none;
    box-sizing: border-box;
}

/* WhatsApp */
.tokko-btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.tokko-btn-whatsapp:hover {
    background: #1ebd59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Email */
.tokko-btn-email {
    background: var(--tokko-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tokko-btn-email:hover {
    background: var(--tokko-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Llamar */
.tokko-btn-call {
    background: #ffffff;
    color: var(--tokko-primary) !important;
    border: 1.5px solid var(--tokko-primary) !important;
}

.tokko-btn-call:hover {
    background: var(--tokko-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Feedback AJAX */
.tokko-form-response {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
    text-align: center;
}

.tokko-form-response.success {
    background: color-mix(in srgb, var(--tokko-primary) 12%, transparent);
    color: var(--tokko-primary);
    border: 1px solid color-mix(in srgb, var(--tokko-primary) 30%, transparent);
    display: block;
}

.tokko-form-response.error {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
    display: block;
}

/* Mapa de Ancho Completo */
.tokko-single-map-wrapper {
    margin: 40px 0;
    width: 100%;
}

#tokko-single-map {
    height: 480px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Propiedades Relacionadas */
.tokko-related-properties-section {
    padding: 40px 0 20px 0;
    background: #f6f8fa;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.tokko-related-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--tokko-primary);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .tokko-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tokko-sticky-contact-card {
        position: static;
        min-height: auto;
    }
    .tokko-single-slider {
        aspect-ratio: 16/10;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .tokko-flex-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .tokko-quick-anchors {
        width: 100%;
        justify-content: space-between;
    }
    .tokko-single-title {
        font-size: 1.5rem;
    }
    .tokko-features-check-grid {
        grid-template-columns: 1fr;
    }
    #tokko-single-map {
        height: 320px;
    }
}
