/**
 * CSS Moderno para Página de Detalhes do Imóvel
 * @since 2025-12-15
 * IMPORTANTE: Todos os seletores usam prefixo .detail-page para não conflitar com CSS existente
 */

/* ============================================
   ESCOPO: Apenas dentro de .detail-page
   ============================================ */

/* Container Principal */
.detail-page .property-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header do Imóvel */
.detail-page .property-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 30px;
}

.detail-page .property-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-page .property-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #fff;
}

.detail-page .property-subtitle {
    font-size: 16px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-page .property-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.detail-page .property-ref {
    background: #dc1921;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Grid Principal */
.detail-page .property-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 40px;
}

/* Galeria de Fotos */
.detail-page .property-gallery {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.detail-page .gallery-main {
    position: relative;
    height: 450px !important;
    overflow: hidden;
    background: #f5f5f5;
}

.detail-page .gallery-main.swiper {
    height: 450px !important;
    width: 100% !important;
}

.detail-page .gallery-main .swiper-wrapper {
    height: 100% !important;
    display: flex !important;
}

.detail-page .gallery-main .swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 450px !important;
    width: 100% !important;
    flex-shrink: 0;
}

.detail-page .gallery-main .swiper-slide img,
.detail-page .gallery-main .slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    cursor: pointer;
    max-height: 450px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.detail-page .swiper-button-next,
.detail-page .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.detail-page .swiper-button-next::after,
.detail-page .swiper-button-prev::after {
    font-size: 20px;
}

.detail-page .gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: #f8f9fa;
}

.detail-page .gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.detail-page .gallery-thumb:hover,
.detail-page .gallery-thumb.active {
    opacity: 1;
    border-color: #dc1921;
}

.detail-page .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page .gallery-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* Sidebar de Preço e Ações */
.detail-page .property-sidebar {
    position: sticky;
    top: 20px;
}

.detail-page .price-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.detail-page .price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.detail-page .price-main {
    font-size: 32px;
    font-weight: 700;
    color: #dc1921;
    margin-bottom: 5px;
}

.detail-page .price-main small {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.detail-page .price-original {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.detail-page .price-promo-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.detail-page .price-details {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.detail-page .price-detail-item {
    flex: 1;
}

.detail-page .price-detail-item label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 3px;
}

.detail-page .price-detail-item span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Botões de Ação */
.detail-page .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.detail-page .action-buttons .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.detail-page .action-buttons .btn-primary:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.detail-page .action-buttons .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #dc1921;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.detail-page .action-buttons .btn-secondary:hover {
    background: #b8151b;
    transform: translateY(-2px);
}

.detail-page .action-buttons .btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: #333;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    cursor: pointer;
}

.detail-page .action-buttons .btn-outline:hover {
    border-color: #dc1921;
    color: #dc1921;
}

/* Card de Corretor */
.detail-page .broker-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.detail-page .broker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #999;
}

.detail-page .broker-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-page .broker-role {
    font-size: 14px;
    color: #666;
}

/* Características Principais */
.detail-page .property-features {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.detail-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.detail-page .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-page .feature-item:hover {
    background: #eef2ff;
    transform: translateY(-3px);
}

.detail-page .feature-icon {
    width: 48px;
    height: 48px;
    background: #dc1921;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #fff;
    font-size: 22px;
}

.detail-page .feature-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.detail-page .feature-label {
    font-size: 13px;
    color: #666;
}

/* Seção de Conteúdo */
.detail-page .content-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.detail-page .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dc1921;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-page .section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #dc1921;
    border-radius: 2px;
}

/* Descrição */
.detail-page .property-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Lista de Características */
.detail-page .features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-page .feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 14px;
    color: #166534;
}

.detail-page .feature-tag::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Informações Adicionais */
.detail-page .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-page .info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.detail-page .info-card-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-page .info-card-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Financiamento */
.detail-page .financing-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.detail-page .financing-title {
    font-size: 20px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-page .financing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.detail-page .financing-item {
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.detail-page .financing-item label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.detail-page .financing-item span {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
}

.detail-page .financing-info {
    margin-top: 15px;
    font-size: 14px;
    color: #78350f;
}

.detail-page .financing-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #78350f;
    margin: 15px 0 10px;
}

/* Localização */
.detail-page .location-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.detail-page .location-icon {
    width: 50px;
    height: 50px;
    background: #dc1921;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.detail-page .location-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.detail-page .location-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Formulário de Contato */
.detail-page .contact-form-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
}

.detail-page .contact-form-section .section-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.detail-page .contact-form-section .section-title::before {
    background: #fff;
}

.detail-page .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.detail-page .form-group {
    margin-bottom: 15px;
}

.detail-page .form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.detail-page .form-group input,
.detail-page .form-group textarea,
.detail-page .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.detail-page .form-group input::placeholder,
.detail-page .form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.detail-page .form-group input:focus,
.detail-page .form-group textarea:focus,
.detail-page .form-group select:focus {
    outline: none;
    border-color: #dc1921;
    background: rgba(255,255,255,0.1);
}

.detail-page .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.detail-page .form-submit {
    background: #dc1921;
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.detail-page .form-submit:hover {
    background: #b8151b;
    transform: translateY(-2px);
}

/* Status Badge */
.detail-page .status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.detail-page .status-available {
    background: #dcfce7;
    color: #166534;
}

.detail-page .status-sold {
    background: #fef2f2;
    color: #dc2626;
}

.detail-page .status-reserved {
    background: #fef3c7;
    color: #92400e;
}

/* Modal de Imagem */
.detail-page .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.detail-page .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.detail-page .modal-image {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsivo */
@media (max-width: 1024px) {
    .detail-page .property-grid {
        grid-template-columns: 1fr;
    }

    .detail-page .property-sidebar {
        position: relative;
        top: 0;
    }

    .detail-page .gallery-main,
    .detail-page .gallery-main.swiper,
    .detail-page .gallery-main .swiper-slide {
        height: 350px;
    }

    .detail-page .gallery-main .slide-img {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .detail-page .property-title {
        font-size: 22px;
    }

    .detail-page .price-main {
        font-size: 28px;
    }

    .detail-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-page .form-row {
        grid-template-columns: 1fr;
    }

    .detail-page .info-grid {
        grid-template-columns: 1fr;
    }

    .detail-page .gallery-main,
    .detail-page .gallery-main.swiper,
    .detail-page .gallery-main .swiper-slide {
        height: 280px;
    }

    .detail-page .gallery-main .slide-img {
        max-height: 280px;
    }

    .detail-page .content-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .detail-page .property-header {
        padding: 20px 0;
    }

    .detail-page .property-title {
        font-size: 18px;
    }

    .detail-page .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .detail-page .feature-item {
        padding: 15px 10px;
    }

    .detail-page .feature-value {
        font-size: 20px;
    }

    .detail-page .features-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SISTEMA DE DESBLOQUEIO DE FOTOS
   ============================================ */

/* Thumbnail de desbloqueio com imagem de fundo */
.detail-page .unlock-photos-thumb {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid #dc1921 !important;
    opacity: 1 !important;
    overflow: hidden;
}

.detail-page .unlock-photos-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 25, 33, 0.4);
}

/* Estilo para o botão "ver mais" quando usuário já está cadastrado */
.detail-page .unlock-photos-thumb.view-more-thumb {
    border-color: #25D366 !important;
}

.detail-page .unlock-photos-thumb.view-more-thumb:hover {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.detail-page .unlock-thumb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.5);
}

.detail-page .unlock-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 5px;
}

.detail-page .unlock-count {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.detail-page .unlock-text {
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Banner de desbloqueio */
.detail-page .unlock-photos-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    margin: 15px;
    padding: 0;
    overflow: hidden;
}

.detail-page .unlock-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.detail-page .unlock-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.detail-page .unlock-banner-text {
    flex: 1;
    min-width: 200px;
}

.detail-page .unlock-banner-text strong {
    display: block;
    font-size: 16px;
    color: #92400e;
    margin-bottom: 3px;
}

.detail-page .unlock-banner-text span {
    font-size: 14px;
    color: #b45309;
}

.detail-page .unlock-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc1921 0%, #a00d26 100%);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.detail-page .unlock-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 25, 33, 0.4);
    color: #fff !important;
}

/* ============================================
   MODAL DE DESBLOQUEIO (POPUP)
   ============================================ */

.detail-page .unlock-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.detail-page .unlock-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    padding: 40px 30px;
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-page .unlock-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.detail-page .unlock-modal-close:hover {
    color: #333;
}

.detail-page .unlock-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.detail-page .unlock-modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.detail-page .unlock-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.detail-page .unlock-modal-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.detail-page .unlock-modal-form .unlock-form-group {
    margin-bottom: 18px;
}

.detail-page .unlock-modal-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.detail-page .unlock-modal-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.detail-page .unlock-modal-form input:focus {
    outline: none;
    border-color: #dc1921;
}

.detail-page .unlock-form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #dc1921 0%, #a00d26 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.detail-page .unlock-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 25, 33, 0.4);
}

.detail-page .unlock-privacy-note {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.detail-page .unlock-privacy-note a {
    color: #dc1921;
    text-decoration: none;
}

/* ============================================
   NAVEGAÇÃO DO MODAL DE IMAGEM
   ============================================ */

.detail-page .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    padding: 20px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    border-radius: 4px;
}

.detail-page .modal-nav:hover {
    background: #fff;
    color: #dc1921;
}

.detail-page .modal-prev {
    left: 20px;
}

.detail-page .modal-next {
    right: 20px;
}

.detail-page .modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   MELHORIAS MOBILE
   ============================================ */

@media (max-width: 768px) {
    .detail-page .unlock-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 15px;
    }

    .detail-page .unlock-banner-text {
        min-width: auto;
    }

    .detail-page .unlock-banner-text strong {
        font-size: 14px;
    }

    .detail-page .unlock-banner-text span {
        font-size: 13px;
    }

    .detail-page .unlock-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .detail-page .unlock-photos-thumb {
        width: 70px;
        height: 50px;
    }

    .detail-page .unlock-count {
        font-size: 16px;
    }

    .detail-page .unlock-text {
        font-size: 9px;
    }

    /* Modal de desbloqueio mobile */
    .detail-page .unlock-modal-content {
        padding: 30px 20px;
        margin: 10px;
        max-height: 85vh;
    }

    .detail-page .unlock-modal-icon {
        font-size: 48px;
    }

    .detail-page .unlock-modal-header h2 {
        font-size: 20px;
    }

    /* Navegação do modal mobile */
    .detail-page .modal-nav {
        padding: 15px 12px;
        font-size: 20px;
    }

    .detail-page .modal-prev {
        left: 10px;
    }

    .detail-page .modal-next {
        right: 10px;
    }

    .detail-page .modal-counter {
        bottom: 20px;
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Galeria mobile */
    .detail-page .gallery-thumbnails {
        padding: 10px;
        gap: 8px;
    }

    .detail-page .gallery-thumb {
        width: 65px;
        height: 48px;
    }

    /* Header mobile */
    .detail-page .property-header {
        padding: 15px 0;
    }

    .detail-page .property-header-content {
        padding: 0 15px;
    }

    .detail-page .property-subtitle {
        font-size: 13px;
        gap: 8px;
    }

    .detail-page .property-ref {
        font-size: 12px;
        padding: 3px 10px;
    }

    /* Características mobile - melhorado */
    .detail-page .property-features {
        padding: 15px;
        margin-bottom: 20px;
    }

    .detail-page .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .detail-page .feature-item {
        padding: 12px 8px;
    }

    .detail-page .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .detail-page .feature-value {
        font-size: 18px;
    }

    .detail-page .feature-label {
        font-size: 11px;
    }

    /* Seções de conteúdo mobile */
    .detail-page .content-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .detail-page .section-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .detail-page .section-title::before {
        height: 20px;
        width: 3px;
    }

    /* Descrição mobile */
    .detail-page .property-description {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Features list mobile */
    .detail-page .features-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-page .feature-tag {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Sidebar mobile */
    .detail-page .price-card {
        padding: 20px;
        border-radius: 12px;
    }

    .detail-page .price-main {
        font-size: 26px;
    }

    .detail-page .action-buttons .btn-primary,
    .detail-page .action-buttons .btn-secondary {
        padding: 14px 20px;
        font-size: 14px;
    }

    .detail-page .action-buttons .btn-outline {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Broker card mobile */
    .detail-page .broker-card {
        padding: 15px;
    }

    .detail-page .broker-avatar {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .detail-page .broker-name {
        font-size: 16px;
    }

    /* Financiamento mobile */
    .detail-page .financing-section {
        padding: 20px 15px;
    }

    .detail-page .financing-title {
        font-size: 18px;
    }

    .detail-page .financing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .detail-page .financing-item {
        padding: 12px;
    }

    .detail-page .financing-item span {
        font-size: 16px;
    }

    /* Formulário de contato mobile */
    .detail-page .contact-form-section {
        padding: 20px 15px;
    }

    .detail-page .form-group input,
    .detail-page .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .detail-page .form-submit {
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Localização mobile */
    .detail-page .location-info {
        padding: 15px;
    }

    .detail-page .location-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .detail-page .location-details h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .detail-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-page .gallery-thumb {
        width: 55px;
        height: 40px;
    }

    .detail-page .unlock-photos-thumb {
        width: 55px;
        height: 40px;
    }

    .detail-page .unlock-count {
        font-size: 14px;
    }

    .detail-page .unlock-text {
        font-size: 8px;
    }

    .detail-page .property-title {
        font-size: 16px;
    }

    .detail-page .section-title {
        font-size: 16px;
    }

    .detail-page .unlock-modal-content {
        padding: 25px 15px;
    }

    .detail-page .unlock-modal-header h2 {
        font-size: 18px;
    }

    .detail-page .unlock-modal-form input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .detail-page .unlock-form-submit {
        padding: 14px;
        font-size: 15px;
    }
}
