/**
 * Single Property & Terreno Styles
 * 
 * CSS exclusivo para páginas de detalhes de imóveis e terrenos
 * Corrige cores de texto, espaçamento e visibilidade
 * 
 * @package Luciola_Imoveis
 * @since 3.0.0
 */

/* ========================================
   CRITICAL FIX - Reset Position for Form Elements
   This prevents form elements from "floating" on screen
   ======================================== */

/* Force all sidebar form elements to have correct positioning */
.lsc-property-sidebar .lsc-sidebar-card .lsc-schedule-form-wrapper,
.lsc-property-sidebar .lsc-sidebar-card .lsc-schedule-form,
.lsc-property-sidebar .lsc-sidebar-card .lsc-schedule-header,
.lsc-property-sidebar .lsc-sidebar-card .lsc-form-row,
.lsc-property-sidebar .lsc-sidebar-card .lsc-form-group,
.lsc-property-sidebar .lsc-sidebar-card .lsc-form-consent,
.lsc-property-sidebar .lsc-sidebar-card .lsc-checkbox-wrapper,
.lsc-property-sidebar .lsc-sidebar-card label,
.lsc-property-sidebar .lsc-sidebar-card input[type="text"],
.lsc-property-sidebar .lsc-sidebar-card input[type="email"],
.lsc-property-sidebar .lsc-sidebar-card input[type="tel"],
.lsc-property-sidebar .lsc-sidebar-card input[type="date"],
.lsc-property-sidebar .lsc-sidebar-card input[type="checkbox"],
.lsc-property-sidebar .lsc-sidebar-card textarea,
.lsc-property-sidebar .lsc-sidebar-card select,
.lsc-property-sidebar .lsc-sidebar-card button,
.lsc-property-sidebar .lsc-sidebar-card #visit-time,
.lsc-property-sidebar .lsc-sidebar-card #visit-date,
.lsc-property-sidebar .lsc-sidebar-card #visit-name,
.lsc-property-sidebar .lsc-sidebar-card #visit-email,
.lsc-property-sidebar .lsc-sidebar-card #visit-phone {
    position: static !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    transform: none !important;
    float: none !important;
    z-index: auto !important;
}

/* Only checkmark needs relative for the ::after pseudo-element */
.lsc-property-sidebar .lsc-sidebar-card .lsc-checkmark,
.lsc-property-sidebar .lsc-sidebar-card span.lsc-checkmark {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    transform: none !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    flex-shrink: 0 !important;
    background: #fff !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
}

/* Checkmark icon when checked */
.lsc-property-sidebar .lsc-sidebar-card .lsc-checkbox-wrapper input:checked + .lsc-checkmark::after {
    position: absolute !important;
    content: '' !important;
    top: 2px !important;
    left: 6px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #1a1a1a !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Hide original checkbox input */
.lsc-property-sidebar .lsc-sidebar-card .lsc-checkbox-wrapper input[type="checkbox"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure form elements display correctly */
.lsc-property-sidebar .lsc-sidebar-card .lsc-form-group {
    display: block !important;
    margin-bottom: 16px !important;
}

.lsc-property-sidebar .lsc-sidebar-card .lsc-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

.lsc-property-sidebar .lsc-sidebar-card .lsc-checkbox-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
}

.lsc-property-sidebar .lsc-sidebar-card .lsc-form-consent {
    display: block !important;
    margin-top: 8px !important;
}

/* ========================================
   Reset de cores - Garantir visibilidade
   ======================================== */

.lsc-single-property,
.single-property {
    background: #f8f9fa;
    color: #1a1a1a;
}

.lsc-single-property *,
.lsc-single-property h1,
.lsc-single-property h2,
.lsc-single-property h3,
.lsc-single-property h4,
.lsc-single-property h5,
.lsc-single-property h6,
.single-property *,
.single-property h1,
.single-property h2,
.single-property h3,
.single-property h4,
.single-property h5,
.single-property h6 {
    color: inherit;
}

/* ========================================
   Single Terreno - Estilos Básicos
   ======================================== */

.single-property {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.single-header {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 15px;
    line-height: 1.3;
}

.single-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37 !important;
}

.single-gallery {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.single-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #374151 !important;
}

.single-features .feature .icon {
    font-size: 1.25rem;
}

.single-features .feature small {
    color: #64748b !important;
    font-size: 0.8rem;
}

.single-content {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.single-content p {
    color: #4b5563 !important;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: #1a1a1a !important;
    margin: 1.5rem 0 1rem;
}

.single-content ul,
.single-content ol {
    color: #4b5563 !important;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.single-content li {
    color: #4b5563 !important;
    margin-bottom: 0.5rem;
}

.single-sidebar {
    margin-top: 30px;
}

.single-sidebar .card {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-sidebar .card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d4af37;
}

.single-sidebar .card p {
    color: #4b5563 !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    color: #94a3b8 !important;
    font-size: 0.9rem;
}

/* ========================================
   Breadcrumb
   ======================================== */

.lsc-breadcrumb {
    background: #1a1a1a;
    padding: 15px 0;
}

.lsc-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lsc-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.lsc-breadcrumb a:hover {
    color: #d4af37;
}

.lsc-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.lsc-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

/* ========================================
   Gallery Section - Fully Responsive
   Adapta automaticamente a diferentes orientações
   ======================================== */

.lsc-property-gallery {
    position: relative;
    background: #1a1a1a;
}

/* Gallery Principal - Responsive Container */
.lsc-gallery-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagem Principal - Adapta automaticamente */
.lsc-gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lsc-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Muda para cover se a imagem for muito pequena */
    min-width: 100%;
}

/* Suporte para diferentes orientações */
.lsc-gallery-image img.orientation-vertical {
    object-fit: contain;
    max-width: 100%;
}

.lsc-gallery-image img.orientation-horizontal {
    object-fit: contain;
    width: 100%;
}

.lsc-gallery-image img.orientation-square {
    object-fit: contain;
}

/* Botão de Expandir */
.lsc-gallery-expand {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.lsc-gallery-expand:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: scale(1.1);
}

.lsc-gallery-expand svg {
    width: 24px;
    height: 24px;
}

/* Thumbnails - Grid fluído e responsivo */
.lsc-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #1a1a1a;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.lsc-gallery-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 75px;
    height: 75px;
}

.lsc-gallery-thumb:hover,
.lsc-gallery-thumb.active {
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lsc-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lsc-gallery-thumb:hover img {
    transform: scale(1.1);
}

.lsc-gallery-more {
    aspect-ratio: 4 / 3;
    background: rgba(212, 175, 55, 0.2);
    border: 2px dashed #d4af37;
    border-radius: 8px;
    color: #d4af37;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-width: 75px;
    height: 75px;
    font-weight: 600;
}

.lsc-gallery-more:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: scale(1.05);
}

.lsc-gallery-more span {
    font-size: 1.25rem;
    font-weight: 700;
}

.lsc-gallery-more small {
    font-size: 0.75rem;
}

/* ========================================
   Mobile Adaptations
   ======================================== */

@media (max-width: 768px) {
    .lsc-property-gallery {
        display: grid;
        grid-template-areas:
            "main"
            "thumbs";
        gap: 8px;
    }

    .lsc-gallery-main {
        position: relative;
        grid-area: main;
    }

    /* Galeria principal reduz altura no mobile */
    .lsc-gallery-main {
        aspect-ratio: 1 / 1;
        max-height: 100vw;
    }

    .lsc-gallery-image img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    /* Thumbs em scroll horizontal no mobile */
    .lsc-gallery-thumbs {
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 8.5vh;
        display: flex;
        gap: 8px;
        padding: 8px;
        width: auto;
        max-width: 10vh;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        background: rgba(0, 0, 0, 0.55);
        border-radius: 10px;
        z-index: 2;
        grid-area: main;
    }

    .lsc-gallery-thumb {
        flex: 0 0 60px;
        min-width: 60px;
        height: 60px;
        width: 60px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .lsc-gallery-more {
        flex: 0 0 60px;
        min-width: 60px;
        height: 60px;
        width: 60px;
    }

    .lsc-gallery-expand {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .lsc-gallery-expand svg {
        width: 20px;
        height: 20px;
    }

    .lsc-gallery-actions {
        position: relative;
        grid-area: main;
        align-self: end;
        justify-self: center;
        width: auto;
        max-width: calc(100% - 16px);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        background: rgba(0, 0, 0, 0.6);
        padding: 6px;
        border-radius: 10px;
        gap: 6px;
        z-index: 2;
    }

    .lsc-gallery-action,
    .lsc-gallery-actions .lsc-favorite-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
        border-radius: 6px;
        white-space: nowrap;
    }

    .lsc-gallery-action svg,
    .lsc-gallery-actions .lsc-favorite-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .lsc-gallery-main {
        aspect-ratio: 1 / 1;
        max-height: 100vw;
    }

    .lsc-gallery-thumbs {
        padding: 8px;
        gap: 6px;
    }

    .lsc-gallery-thumb {
        flex: 0 0 50px;
        min-width: 50px;
        height: 50px;
        width: 50px;
    }

    .lsc-gallery-more {
        flex: 0 0 50px;
        min-width: 50px;
        height: 50px;
        width: 50px;
    }

    .lsc-gallery-more span {
        font-size: 0.9rem;
    }

    .lsc-gallery-expand {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Gallery Actions
   ======================================== */

.lsc-gallery-actions {
    position: absolute;
    bottom: var(--lsc-spacing-lg);
    margin-left: 10vh;
    display: flex;
    gap: var(--lsc-spacing-sm);
    z-index: 10;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.55);
    padding: 10px 12px;
    align-items: center;
}

.lsc-gallery-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: max-content;
}

.lsc-gallery-action:hover {
    background: #d4af37;
    color: #1a1a1a !important;
}

.lsc-gallery-action svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* Share Button Specific */
.lsc-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: black !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lsc-share-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lsc-share-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* Favorite Button in Gallery */
.lsc-gallery-actions .lsc-favorite-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: none;
}

.lsc-gallery-actions .lsc-favorite-btn:hover {
    background: #fef2f2;
    color: #ef4444 !important;
    transform: none;
    box-shadow: none;
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    position: relative;
}

.lsc-gallery-actions .lsc-favorite-btn svg {
    width: 18px;
    height: 18px;
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-empty {
    color: currentColor;
    stroke: currentColor;
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-full {
    position: absolute;
    top: 0;
    left: 0;
    color: #ef4444;
    opacity: 0;
    transform: scale(0.5);
}

.lsc-gallery-actions .lsc-favorite-btn:hover .lsc-fav-empty {
    color: #ef4444;
}

.lsc-gallery-actions .lsc-favorite-btn.active {
    background: #fef2f2;
    color: #ef4444 !important;
}

.lsc-gallery-actions .lsc-favorite-btn.active .lsc-fav-empty {
    opacity: 0;
}

.lsc-gallery-actions .lsc-favorite-btn.active .lsc-fav-full {
    opacity: 1;
    transform: scale(1);
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-text {
    display: flex;
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-add {
    display: inline;
}

.lsc-gallery-actions .lsc-favorite-btn .lsc-fav-remove {
    display: none;
}

.lsc-gallery-actions .lsc-favorite-btn.active .lsc-fav-add {
    display: none;
}

.lsc-gallery-actions .lsc-favorite-btn.active .lsc-fav-remove {
    display: inline;
}

/* ========================================
   Badges
   ======================================== */

.lsc-property-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 10;
}

.lsc-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lsc-badge-status {
    background: #1a1a1a;
    color: #fff !important;
}

.lsc-badge-disponivel {
    background: #10b981;
    color: #fff !important;
}

.lsc-badge-reservado {
    background: #f59e0b;
    color: #1a1a1a !important;
}

.lsc-badge-vendido {
    background: #ef4444;
    color: #fff !important;
}

.lsc-badge-alugado {
    background: #3b82f6;
    color: #fff !important;
}

.lsc-badge-new {
    background: #8b5cf6;
    color: #fff !important;
}

.lsc-badge-exclusive {
    background: #d4af37;
    color: #1a1a1a !important;
}

.lsc-badge-featured {
    background: linear-gradient(135deg, #d4af37, #f7e98e);
    color: #1a1a1a !important;
}

/* ========================================
   Content Section
   ======================================== */

.lsc-property-content {
    padding: 40px 0;
    background: #f8f9fa;
}

.lsc-property-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

@media (max-width: 991px) {
    .lsc-property-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Main Content
   ======================================== */

.lsc-property-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header */
.lsc-property-header {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lsc-property-meta-top {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.lsc-property-code {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b !important;
}

.lsc-property-type {
    background: #d4af37;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a !important;
}

.lsc-property-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 10px;
    line-height: 1.3;
}

.lsc-property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b !important;
    font-size: 0.95rem;
    margin: 0;
}

.lsc-property-location svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #d4af37;
}

/* ========================================
   Price Box
   ======================================== */

.lsc-property-price-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.lsc-price-item {
    flex: 1;
    min-width: 200px;
}

.lsc-price-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b !important;
    margin-bottom: 4px;
}

.lsc-price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #d4af37 !important;
}

.lsc-price-value small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8 !important;
}

.lsc-price-sale .lsc-price-value {
    color: #10b981 !important;
}

.lsc-price-rent .lsc-price-value {
    color: #3b82f6 !important;
}

.lsc-price-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.lsc-price-extras span {
    font-size: 0.875rem;
    color: #64748b !important;
}

.lsc-price-extras strong {
    color: #1a1a1a !important;
}

/* ========================================
   Features Grid
   ======================================== */

.lsc-property-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.lsc-feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.lsc-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d4af37 0%, #f7e98e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lsc-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #1a1a1a;
}

.lsc-feature-info {
    display: flex;
    flex-direction: column;
}

.lsc-feature-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a !important;
}

.lsc-feature-label {
    font-size: 0.8rem;
    color: #64748b !important;
}

/* ========================================
   Description Section
   ======================================== */

.lsc-property-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lsc-property-section h2,
.lsc-property-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}

.lsc-property-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563 !important;
}

.lsc-property-description p {
    color: #4b5563 !important;
    margin-bottom: 1rem;
}

.lsc-property-description ul,
.lsc-property-description ol {
    color: #4b5563 !important;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.lsc-property-description li {
    color: #4b5563 !important;
    margin-bottom: 0.5rem;
}

/* ========================================
   Amenities / Características
   ======================================== */

.lsc-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.lsc-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #374151 !important;
}

.lsc-amenity-item svg {
    width: 20px;
    height: 20px;
    stroke: #d4af37;
    flex-shrink: 0;
}

.lsc-amenity-check {
    width: 20px;
    height: 20px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lsc-amenity-check svg {
    width: 12px;
    height: 12px;
    stroke: #1a1a1a;
}

/* ========================================
   Location / Map Section
   ======================================== */

.lsc-location-info {
    margin-bottom: 20px;
}

.lsc-location-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 15px;
}

.lsc-location-address svg {
    width: 24px;
    height: 24px;
    stroke: #d4af37;
    flex-shrink: 0;
}

.lsc-location-address p {
    margin: 0;
    color: #374151 !important;
    line-height: 1.5;
}

.lsc-location-address strong {
    color: #1a1a1a !important;
    display: block;
    margin-bottom: 4px;
}

.lsc-map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.lsc-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Share Buttons Container */
.lsc-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

/* ========================================
   Sidebar
   ======================================== */

.lsc-property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lsc-sidebar-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lsc-sidebar-card h3,
.lsc-sidebar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 20px;
}

/* Contact Form */
.lsc-contact-form .lsc-form-group {
    margin-bottom: 15px;
}

.lsc-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151 !important;
    margin-bottom: 6px;
}

.lsc-contact-form input,
.lsc-contact-form select,
.lsc-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    background: #fff !important;
    transition: border-color 0.3s;
}

.lsc-contact-form input::placeholder,
.lsc-contact-form textarea::placeholder {
    color: #94a3b8 !important;
}

.lsc-contact-form input:focus,
.lsc-contact-form select:focus,
.lsc-contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.lsc-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.lsc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
}

.lsc-btn svg {
    width: 20px;
    height: 20px;
}

.lsc-btn-primary {
    background: linear-gradient(135deg, #d4af37, #f7e98e);
    color: #1a1a1a !important;
}

.lsc-btn-primary:hover {
    background: linear-gradient(135deg, #c9a431, #e8db7f);
    transform: translateY(-2px);
}

.lsc-btn-whatsapp {
    background: #25d366;
    color: #fff !important;
}

.lsc-btn-whatsapp:hover {
    background: #20bd5a;
}

.lsc-btn-outline {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37 !important;
}

.lsc-btn-outline:hover {
    background: #d4af37;
    color: #1a1a1a !important;
}

/* Agent Card */
.lsc-agent-card {
    text-align: center;
}

.lsc-agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid #d4af37;
}

.lsc-agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lsc-agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 5px;
}

.lsc-agent-role {
    font-size: 0.85rem;
    color: #64748b !important;
    margin: 0 0 15px;
}

.lsc-agent-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lsc-agent-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151 !important;
    text-decoration: none;
}

.lsc-agent-contact:hover {
    color: #d4af37 !important;
}

.lsc-agent-contact svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* ========================================
   Related Properties
   ======================================== */

.lsc-related-section {
    padding: 60px 0;
    background: #fff;
}

.lsc-related-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 30px;
    text-align: center;
}

.lsc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* ========================================
   Lightbox
   ======================================== */

.lsc-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lsc-lightbox.active {
    display: flex;
}

.lsc-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lsc-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lsc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsc-lightbox-close:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.lsc-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsc-lightbox-nav:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.lsc-lightbox-prev {
    left: 20px;
}

.lsc-lightbox-next {
    right: 20px;
}

.lsc-lightbox-nav svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 768px) {
    .lsc-property-gallery {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    .lsc-gallery-main {
        max-height: 55vh;
    }
}

@media (max-width: 767px) {
    .lsc-property-title {
        font-size: 1.4rem;
    }
    
    .lsc-price-value {
        font-size: 1.4rem;
    }
    
    .lsc-property-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lsc-feature-box {
        padding: 15px;
    }
    
    .lsc-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .lsc-feature-value {
        font-size: 1.1rem;
    }
    
    .lsc-gallery-actions {
        flex-direction: row;
    }
    
    .lsc-gallery-action {
        width: auto;
        justify-content: center;
    }
    
    .lsc-amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .lsc-property-header,
    .lsc-property-price-box,
    .lsc-property-section,
    .lsc-sidebar-card {
        padding: 20px;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .lsc-gallery-actions,
    .lsc-lightbox,
    .lsc-property-sidebar,
    .site-header,
    .site-footer {
        display: none !important;
    }
    
    .lsc-property-grid {
        grid-template-columns: 1fr;
    }
    
    .lsc-property-content {
        padding: 20px 0;
    }
}

/* ========================================
   Property Calculators - Cores Específicas
   ======================================== */

.lsc-property-calculators {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.lsc-property-calculators > h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}

.lsc-property-calculators .lsc-calculators {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    overflow: hidden;
}

.lsc-property-calculators .lsc-calc-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lsc-property-calculators .lsc-calc-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lsc-property-calculators .lsc-calc-tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.lsc-property-calculators .lsc-calc-tab:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
}

.lsc-property-calculators .lsc-calc-tab.active {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 3px solid #d4af37;
}

.lsc-property-calculators .lsc-calc-panel {
    padding: 30px;
}

.lsc-property-calculators .lsc-calc-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    color: #fff !important;
    margin: 0 0 8px;
}

.lsc-property-calculators .lsc-calc-header h3 svg {
    width: 28px;
    height: 28px;
    stroke: #d4af37;
}

.lsc-property-calculators .lsc-calc-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
    text-align: center;
}

.lsc-property-calculators .lsc-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    display: block;
    margin-bottom: 8px;
}

.lsc-property-calculators .lsc-form-group small {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem;
}

.lsc-property-calculators .lsc-input-prefix,
.lsc-property-calculators .lsc-input-suffix {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.lsc-property-calculators .lsc-input-prefix > span,
.lsc-property-calculators .lsc-input-suffix > span {
    padding: 12px 15px;
    background: #f1f5f9;
    color: #64748b !important;
    font-weight: 600;
}

.lsc-property-calculators .lsc-input-prefix input,
.lsc-property-calculators .lsc-input-suffix input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 1rem;
    color: #1a1a1a !important;
    background: #fff !important;
}

.lsc-property-calculators select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a !important;
    background: #fff !important;
}

.lsc-property-calculators .lsc-input-or {
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 0 10px;
    font-size: 0.85rem;
}

.lsc-property-calculators .lsc-slider-labels span {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem;
}

.lsc-property-calculators .lsc-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lsc-property-calculators .lsc-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff !important;
}

.lsc-property-calculators .lsc-radio-label {
    color: #fff !important;
}

.lsc-property-calculators .lsc-radio-label strong {
    color: #1b1b1b !important;
    display: block;
}

.lsc-property-calculators .lsc-radio-label small {
    color: rgba(22, 22, 22, 0.6) !important;
    font-size: 0.8rem;
}

.lsc-property-calculators .lsc-radio span {
    color: #1a1a1a !important;
}

.lsc-property-calculators .lsc-calc-disclaimer p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem;
    margin: 20px 0 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.lsc-property-calculators .lsc-calc-disclaimer svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.4);
}

.lsc-property-calculators .lsc-result-header h4 {
    color: #d4af37 !important;
    font-size: 1.25rem;
    margin: 0 0 20px;
    text-align: center;
}

.lsc-property-calculators .lsc-result-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.lsc-property-calculators .lsc-result-value {
    color: #d4af37 !important;
    font-weight: 700;
}

.lsc-property-calculators .lsc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
}

.lsc-property-calculators .lsc-result-row span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.lsc-property-calculators .lsc-result-row small {
    color: rgba(255, 255, 255, 0.5) !important;
    display: block;
    font-size: 0.75rem;
}

.lsc-property-calculators .lsc-result-total span {
    color: #d4af37 !important;
    font-weight: 700;
}

.lsc-property-calculators .lsc-chart-legend span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.lsc-property-calculators h5 {
    color: #fff !important;
    font-size: 1rem;
    margin: 20px 0 15px;
}

.lsc-property-calculators .lsc-breakdown-bar label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.lsc-property-calculators .lsc-breakdown-bar span {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   Sidebar Sticky Card - Ajustes
   ======================================== */

.lsc-property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 400px;
    width: 400px;
    flex-shrink: 0;
}

.lsc-sticky-card {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: 100%;
}

.lsc-sidebar-card {
    background: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.lsc-form-wrapper {
    width: 100%;
}

.lsc-form-header {
    margin-bottom: 20px;
    text-align: center;
}

.lsc-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 8px;
}

.lsc-form-property-code {
    font-size: 0.85rem;
    color: #64748b !important;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
}

.lsc-lead-form .lsc-form-group {
    margin-bottom: 15px;
}

.lsc-lead-form input[type="text"],
.lsc-lead-form input[type="email"],
.lsc-lead-form input[type="tel"],
.lsc-lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    background: #fff !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.lsc-lead-form input::placeholder,
.lsc-lead-form textarea::placeholder {
    color: #94a3b8 !important;
}

.lsc-lead-form input:focus,
.lsc-lead-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lsc-lead-form textarea {
    min-height: 80px;
    resize: vertical;
}

.lsc-form-consent {
    margin-bottom: 15px;
}

.lsc-form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: #64748b !important;
    cursor: pointer;
}

.lsc-form-consent .lsc-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.lsc-form-consent .lsc-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.lsc-form-consent .lsc-checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    display: inline-block;
}

.lsc-form-consent .lsc-checkbox-wrapper:hover .lsc-checkmark {
    border-color: #d4af37;
}

.lsc-form-consent .lsc-checkbox-wrapper input:checked + .lsc-checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.lsc-form-consent .lsc-checkbox-wrapper input:checked + .lsc-checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lsc-form-consent a {
    color: #d4af37 !important;
    text-decoration: underline;
}

/* Select fields in forms */
.lsc-lead-form select,
.lsc-property-form select,
#visit-time {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    background: #fff !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.lsc-lead-form select:focus,
.lsc-property-form select:focus,
#visit-time:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lsc-lead-form select:disabled,
.lsc-property-form select:disabled,
#visit-time:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.lsc-btn-gold {
    background: linear-gradient(135deg, #d4af37, #f7e98e);
    color: #1a1a1a !important;
    font-weight: 600;
}

.lsc-btn-gold:hover {
    background: linear-gradient(135deg, #c9a431, #e8db7f);
    transform: translateY(-2px);
}

.lsc-form-whatsapp {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.lsc-form-whatsapp > span {
    display: block;
    font-size: 0.85rem;
    color: #64748b !important;
    margin-bottom: 12px;
}

.lsc-btn-whatsapp {
    background: #25d366 !important;
    color: #fff !important;
    width: 100%;
    justify-content: center;
}

.lsc-btn-whatsapp:hover {
    background: #20bd5a !important;
}

/* ========================================
   Schedule Form Styles
   ======================================== */

.lsc-schedule-form-wrapper {
    background: #fff !important;
    border-radius: 16px;
    padding: 24px !important;
    position: static !important;
}

.lsc-schedule-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: static !important;
}

.lsc-schedule-form .lsc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lsc-schedule-form .lsc-form-group {
    margin-bottom: 0;
    position: static !important;
}

.lsc-schedule-form .lsc-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.lsc-schedule-form input[type="text"],
.lsc-schedule-form input[type="email"],
.lsc-schedule-form input[type="tel"],
.lsc-schedule-form input[type="date"],
.lsc-schedule-form textarea,
.lsc-schedule-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a1a !important;
    background: #fff !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: static !important;
    display: block !important;
}

.lsc-schedule-form input::placeholder,
.lsc-schedule-form textarea::placeholder {
    color: #94a3b8 !important;
}

.lsc-schedule-form input:focus,
.lsc-schedule-form textarea:focus,
.lsc-schedule-form select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lsc-schedule-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

.lsc-schedule-form select:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.lsc-schedule-form .lsc-form-consent {
    margin-top: 8px;
    position: static !important;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    position: static !important;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkbox-wrapper input[type="checkbox"] {
    display: none !important;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    transition: all 0.2s ease;
    display: inline-block !important;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkbox-wrapper:hover .lsc-checkmark {
    border-color: #d4af37;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkbox-wrapper input:checked + .lsc-checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.lsc-schedule-form .lsc-form-consent .lsc-checkbox-wrapper input:checked + .lsc-checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Specific selector for #visit-time */
#visit-time {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: #1a1a1a !important;
    background: #fff !important;
    position: static !important;
    display: block !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

#visit-time:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

#visit-time:focus {
    outline: none;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Specific fix for floating elements - override any position fixed/absolute */
.lsc-schedule-form-wrapper,
.lsc-schedule-form-wrapper .lsc-schedule-form,
.lsc-schedule-form-wrapper .lsc-form-group,
.lsc-schedule-form-wrapper .lsc-form-row,
.lsc-schedule-form-wrapper .lsc-form-consent,
.lsc-schedule-form-wrapper .lsc-checkbox-wrapper,
.lsc-schedule-form-wrapper input,
.lsc-schedule-form-wrapper select,
.lsc-schedule-form-wrapper textarea,
.lsc-schedule-form-wrapper label,
.lsc-schedule-form-wrapper button {
    position: static !important;
}

.lsc-schedule-form-wrapper .lsc-checkmark {
    position: relative !important;
}

.lsc-schedule-form-wrapper .lsc-checkbox-wrapper input:checked + .lsc-checkmark::after {
    position: absolute !important;
}

@media (max-width: 991px) {
    .lsc-property-sidebar {
        min-width: 100%;
        width: 100%;
    }
    
    .lsc-sticky-card {
        position: static;
    }
    
    .lsc-sidebar-card {
        min-width: 100%;
        width: 100%;
        padding: 20px;
    }
    
    .lsc-gallery-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lsc-schedule-form .lsc-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 670px) {
    /* Force all form elements to fit in viewport */
    .lsc-property-sidebar,
    .lsc-sidebar-card,
    .lsc-schedule-form-wrapper,
    .lsc-schedule-form {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .lsc-form-input,
    .lsc-form-select,
    .lsc-form-textarea,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .lsc-form-group {
        width: 100%;
        overflow: hidden;
    }

    .lsc-form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Gallery adjustments */
    .lsc-gallery-main {
        width: 100%;
        max-width: 100%;
    }

    .lsc-gallery-thumbnails {
        width: 100%;
        max-width: 100%;
    }

    /* Ensure property info doesn't overflow */
    .lsc-property-details {
        width: 100%;
        overflow-x: hidden;
    }

    .lsc-property-features {
        flex-wrap: wrap;
    }
}
