/* Modal de Descrição Completa */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: default;
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-image {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

.modal-content {
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-type.comercio { background: #e3f2fd; color: #1e3c72; }
.modal-type.servico { background: #e8f5e9; color: #2e7d32; }
.modal-type.produto { background: #fff8e1; color: #f57c00; }
.modal-type.topatudo { background: #e0f7fa; color: #00838f; }

.modal-desc {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-desc p {
    margin-bottom: 0.8rem;
}

.modal-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.modal-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.modal-info-item i {
    width: 25px;
    color: var(--primary);
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.modal-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.modal-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.02);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-desc {
        font-size: 0.9rem;
    }
    
    .modal-price {
        font-size: 1.2rem;
    }
}