/* ==========================================================
   WRAPPER GENERAL DEL MÓDULO
   ========================================================== */

#ssps-smart-specs-wrapper{
    margin-top:32px;
    margin-bottom:36px;
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-family:inherit;
}

/* ==========================================================
   BOTONES DE NAVEGACIÓN
   ========================================================== */

.ssps-toggle-btn{
    border:none;
    background:#111111;
    color:#ffffff;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.3px;
    padding:14px 10px;
    border-radius:6px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:52px;
    transition:all 0.22s ease;
}

.ssps-toggle-btn.active{
    background:#3d6df2;
}

/* ==========================================================
   INDICADOR VISUAL
   ========================================================== */

.ssps-arrow{
    display:none;
    font-size:17px;
    line-height:1;
    transition:transform 0.2s ease;
}

.ssps-toggle-btn.active .ssps-arrow{
    transform:rotate(45deg);
}

/* ==========================================================
   PANELES DE CONTENIDO
   ========================================================== */

.ssps-toggle-content{
    display:none;
    width:100%;
    background:#ffffff;
    border:1px solid #ebebeb;
    border-radius:16px;
    padding:24px;
    box-shadow:0 8px 20px rgba(0,0,0,0.022);
}

.ssps-toggle-content.active{
    display:block;
}

/* ==========================================================
   DESKTOP:
   LOS PRIMEROS 5 BOTONES FORMAN LA BARRA SUPERIOR
   ========================================================== */

@media(min-width:768px){

    .ssps-toggle-btn{
        width:calc(20% - 8px);
        order:1;
    }

    .ssps-toggle-content{
        order:2;
    }
}

/* ==========================================================
   MOBILE:
   BOTÓN FULL WIDTH + PANEL DEBAJO
   ========================================================== */

@media(max-width:767px){

    #ssps-smart-specs-wrapper{
        gap:8px;
    }

    .ssps-toggle-btn{
        width:100%;
        justify-content:space-between;
        font-size:12px;
        padding:13px 16px;
        border-radius:10px;
    }

    .ssps-arrow{
        display:inline-block;
    }

    .ssps-toggle-content{
        padding:18px;
        border-radius:14px;
        margin-bottom:2px;
    }
}

/* ==========================================================
   TEXTOS GENERALES
   ========================================================== */

.ssps-about-content,
#ssps-selected-package-description,
.ssps-fabric-content{
    font-size:14px;
    line-height:1.9;
    color:#4a4a4a;
}

.ssps-about-content p:last-child{
    margin-bottom:0;
}

/* ==========================================================
   GRID TECHNICAL SPECS
   ========================================================== */

.ssps-tech-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.ssps-tech-card{
    background:#fafafa;
    border:1px solid #ededed;
    border-radius:14px;
    padding:17px;
    min-height:86px;
    display:flex;
    flex-direction:column;
    gap:9px;
}

.ssps-tech-card-full{
    grid-column:1 / -1;
}

.ssps-tech-label{
    font-size:11px;
    text-transform:uppercase;
    font-weight:700;
    letter-spacing:1px;
    color:#8a8a8a;
}

#ssps-selected-package-size,
.ssps-tech-card span:not(.ssps-tech-label):not(.ssps-tech-badge){
    font-size:14px;
    font-weight:600;
    line-height:1.6;
    color:#111111;
}

/* ==========================================================
   BADGES TÉCNICOS
   ========================================================== */

.ssps-tech-badge{
    display:inline-flex;
    align-self:flex-start;
    background:#111111;
    color:#ffffff;
    font-size:12px;
    font-weight:600;
    padding:7px 12px;
    border-radius:30px;
    line-height:1.2;
}

/* ==========================================================
   WARNING PANEL
   ========================================================== */

.ssps-production-warning{
    background:#fff9ef;
    border:1px solid #f0dfbb;
    border-left:4px solid #d89c2e;
    border-radius:14px;
    padding:20px;
    font-size:13px;
    line-height:1.85;
    color:#6d5323;
}

.ssps-production-warning strong{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    color:#553d10;
}

/* ==========================================================
   GRID TÉCNICO EN MOBILE
   ========================================================== */

@media(max-width:767px){

    .ssps-tech-grid{
        grid-template-columns:1fr;
    }

    .ssps-tech-card-full{
        grid-column:auto;
    }
}