/* --- RESET Y BODY --- */
body { background-color: white; } /* El fondo de esta página es blanco */
body > .navbar, body > footer { display: none; }
body > main { padding: 0 !important; padding-bottom: 80px !important; }

/* --- CABECERA SUPERIOR --- */
.detail-header {
    position: absolute; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 2.5rem 1rem 1rem 1rem;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}
.header-btn { color: white; font-size: 1.5rem; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.header-actions { display: flex; gap: 1rem; }

/* --- CARRUSEL DE IMÁGENES --- */
.detail-image-carousel {
    position: relative; height: 320px;
    background-color: #ddd;
    border-bottom-left-radius: 45px; /* La curva mágica */
    overflow: hidden;
}
.detail-image-carousel img { width: 100%; height: 100%; object-fit: cover; }
.tag {
    position: absolute; color: white; padding: 6px 12px;
    font-size: 0.8rem; font-weight: bold; border-radius: 6px;
}
.opportunity-tag { top: 20px; left: 20px; background-color: #673ab7; }
.three-d-tag { top: 20px; right: 20px; background-color: #ff9800; }

/* --- HOJA DE DETALLES --- */
.detail-sheet { padding: 1.5rem; }
.price-section { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: bold; color: #333; }
.price-alert { color: #ff9800; font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.detail-title { font-size: 1.5rem; font-weight: 500; color: #333; margin: 0; }
.detail-location { font-size: 1rem; color: #6c757d; }
.detail-divider { border: 0; height: 1px; background-color: #f0f0f0; margin: 1.5rem 0; }

/* --- SECCIÓN DE CARACTERÍSTICAS --- */
.specs-section { display: flex; justify-content: flex-start; gap: 1.5rem; }
.spec-item { display: flex; align-items: center; gap: 0.5rem; color: #555; font-size: 1rem; }
.spec-icon { width: 24px; height: 24px; opacity: 0.5; }

/* --- SECCIÓN DE BOTONES DE ACCIÓN --- */
.action-buttons-section { display: flex; justify-content: space-around; text-align: center; }
.action-button { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.icon-circle {
    width: 50px; height: 50px;
    border: 1.5px solid #ff9800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #ff9800; font-size: 1.5rem;
}
.action-button:first-child .icon-circle { background-color: #ff9800; color: white; }
.action-button span { color: #555; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.5px; }

/* --- SECCIÓN DE DESCRIPCIÓN --- */
.description-section { margin-top: 2rem; }
.description-section h4 { font-weight: bold; }
.description-section p { color: #555; line-height: 1.6; }

.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #4fc3f7; /* Mismo color azul claro que la cabecera */
    display: flex; justify-content: space-around;
    padding: 0.5rem 0; box-shadow: 0 -2px 5px rgba(0,0,0,0.08); z-index: 1010;
}
.nav-item {
    text-decoration: none; color: #dcf5ff; /* Color de iconos inactivos */
    text-align: center; font-size: 0.75rem; flex-grow: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.nav-item i { font-size: 1.5rem; display: block; margin-bottom: 2px; }
.nav-item.active { color: white; font-weight: bold; } /* Icono activo */