﻿.quote-wizard {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* STEP */
.quote-step {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    background: white;
    transition: all .25s ease;
}

    .quote-step.disabled {
        opacity: .55;
        pointer-events: none;
    }

/* HEADER */
.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* NÚMERO */
.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

/* TÍTULO */
.step-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.1;
}

/* CHECK */
.step-check {
    margin-left: auto;
    color: #22c55e;
    display: none;
    font-size: 18px;
}

.quote-step.completed .step-check {
    display: block;
}
#area {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}
#cotizador {
    min-height: 100vh;
}

@media (max-width:768px) {

    #cotizador {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
#cotizador .row {
    align-items: stretch;
}

#cotizador .col-lg-6 {
    display: flex;
    flex-direction: column;
}

#map {
    flex: 1;
    min-height: 500px;
}
#geocoder {
    width: 100%;
}

    #geocoder .mapboxgl-ctrl-geocoder {
        width: 100%;
        max-width: 100%;
    }
#geocoder .mapboxgl-ctrl-geocoder--input {
    width: 100%;
}

.quote-result {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

#totalPrice {
    font-weight: 700;
    color: #0d6efd;
}

/* Ajuste para secciones que deben quedar debajo del navbar */
#cotizador,
#quoteSummary {
    margin-top: 100px; /* deja espacio suficiente para el navbar */
    scroll-margin-top: 100px; /* scrollIntoView considera el navbar */
}
.estimated-price {
    font-size: 20px;
    font-weight: 500;
    color: #157a3e;
    margin-left: 5px;
}

.estimate-note {
    background: #f8f9fa;
    border-left: 4px solid #157a3e;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
}
#summaryPrice {
    font-size: 20px;
    font-weight: 600;
    color: #0d6efd;
    display: inline;
    margin-left: 6px;
}
/* Ajuste responsive si navbar es más alto en móvil */
@media (max-width: 768px) {
    #cotizador,
    #quoteSummary {
        margin-top: 120px;
        scroll-margin-top: 120px;
    }
}


/* BODY */
.step-body {
    margin-top: 8px;
}

/*Selector de Pisos*/
.floor-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floor-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 16px;
}

.floor-input {
    width: 50px;
    text-align: center;
    font-size: 14px;
}

/*Nivel de Inclinación*/
.inclination-btn {
    flex: 1;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .inclination-btn i {
        font-size: 16px;
    }

.inclination-options {
    display: flex;
    gap: 12px;
}

.inclination-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 10px; /* antes seguramente 16px o más */
    min-height: 60px; /* controla la altura */
}
    .inclination-btn.active {
        background: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }



/*Productos*/
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.product-color {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.product-card.selected {
    border: 2px solid #0d6efd;
}

.product-name {
    font-size: 12px;
}

.product-card.selected {
    border: 2px solid #0d6efd;
    background: #f3f7ff;
}

.product-card:hover {
    border-color: #0d6efd;
    transform: translateY(-1px);
}

/* CSS personalizado */
.hidden {
    display: none !important;
}