* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.sertext {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f6fb;
    color: #333;
}

/* HEADER */
.sertext .header {
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: white;

    width: 100%;
}

.sertext .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 50%;
}

.sertext .logo img {
    width: auto;
    height: 150px;
    object-fit: contain;
    background: transparent; 
    transition: transform 0.3s ease;
}

.sertext .logo img:hover {
    transform: scale(1.1);
}

.sertext .logo h1 {
    color: #ac1d95;
    font-family: 'Playfair Display', serif;
    font-weight: 800;

    white-space: nowrap;
    text-align: center;

}

.sertext nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.sertext nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.sertext nav a:hover,
.sertext nav a.active {
    color: #ac1d95;
}

@media (max-width: 768px) {

    .sertext .header{
        padding: 15px 20px; /* menos espacio a los lados */
        display: flex;
        justify-content: space-between;
        align-items: center;
        
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .sertext .logo{
        justify-content: center;
        gap: 10px; /* logo pegado a la izquierda */
       
        width: 100%;
        margin-bottom: 0px;
    }

    .sertext .logo img{
        height: 100px; /* logo más pequeño en celular */
    }

    .sertext .logo h1{
        font-size: clamp(18px, 4vw, 24px);
        text-align: center;
        line-height: 1.2;
    }


    .sertext nav{
        width: 100%;
        margin-top: -10px;
    }

    .sertext nav ul{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;

        padding: 0;
    }

    .sertext nav a {
        font-size: 12px

    }

        
}

/* ===== SECCIÓN INFO SERTEXT ===== */

.sertext .sertext-info{
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sertext .sertext-info img{
    width: 100%;
    height: auto;
    display: block;
}

.sertext .info-overlay{
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.4);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

.sertext .info-contenedor{
    text-align: center;
    max-width: 800px;
}

.sertext .info-contenedor h1{
    font-size: 28px;
    margin-bottom: 20px;
    color: #ac1d95;
}

.sertext .info-contenedor p{
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

/* ===== TABLET ===== */

@media (max-width: 992px){

    .sertext .info-contenedor h1{
        font-size: 26px;
    }

    .sertext .info-contenedor p{
        font-size: 16px;
    }

}

/* ===== CELULAR ===== */

@media (max-width: 576px){

    .sertext .info-overlay{
        padding: 15px;
    }

    .sertext .info-contenedor{
        max-width: 90%;
    }

    .sertext .info-contenedor h1{
        font-size: 13px;
        line-height: 1.2;
    }

    .sertext .info-contenedor p{
        font-size: 9px;
        line-height: 1.4;
    }

}

/* CATÁLOGO */
.sertext .catalogo{
padding:50px;
text-align:center;
}

.sertext .clasificacion h2 {
    font-size: 28px;
    margin-bottom: 40px;
}
.sertext .catalogo-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.sertext .producto{
background:#fff;
padding:15px;
border-radius:15px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
text-align: center;
border-radius: 15px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sertext .producto:hover{
transform: translateY(-5px);
box-shadow:0 12px 25px rgba(0,0,0,0.12);
}


.sertext .producto img{
width:100%;
border-radius:10px;
}

.sertext .btn-cotizar{
padding:14px 35px;
border:none;
background:#ac1d95;
color:white;
border-radius:30px;
cursor:pointer;
font-size: 16px;
font-weight: bold;
transition: 0.3s;
}

.sertext .btn-cotizar:hover{
    transform: scale(1.05);
    transition: 0.3s;
    
}

.sertext .contenedor-boton{
    text-align: center;
    margin: 40px 0;
}

/* Tablet */
@media (max-width: 992px){
  .sertext .catalogo-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celular */
@media (max-width: 576px){
  .sertext .catalogo{
    padding: 30px 15px;
  }

  .sertext .clasificacion h2{
    font-size: 26px;
  }

  .sertext .catalogo-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .sertext .producto{
    padding: 12px;
  }

  .sertext .producto h3{
    font-size: 16px;
  }

  .sertext .producto p{
    font-size: 12px;
  }

  .sertext .btn-cotizar{
    width: auto;
    padding: 12px 25px;
    font-size: 15px;
    display: block;
    margin: 20px auto;
  }
}

/* FOOTER */
.sertext .footer {
    background: linear-gradient(135deg, #8e157a, #ac1d95, #d633b2);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    flex-wrap: wrap;
}

.sertext .columna {
    width: 30%;
    
}

.sertext .columna h3 {
    margin-bottom: 10px;
    margin-top: 15px;
    font-size: 18px;
}

.sertext .columna p,
.sertext .columna a {
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.sertext .columna ul {
    list-style: none;
    padding: 0;
}

.sertext .columna ul li {
    margin-bottom: 8px;
}

.sertext .columna a:hover {
    color: black;
}

/* Redes sociales */
.sertext .redes img {
    width: 30px;
    margin-right: 10px;
}

/* Mapa */
.sertext .mapa iframe {
    width: 100%;
    height: 180px;
    border-radius: 10px;

}

/* Responsive */
@media (max-width: 768px) {
    .sertext .footer {
        flex-direction: column;
        text-align: center;
    }

    .sertext .columna {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* WHATSAPP */
.sertext .whatsapp-float{
position:fixed;
bottom:20px;
right:20px;
width: 80px;
height: 80px;
background-color: #25D366;
color:white;
border-radius:50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 40px;
z-index: 1000;
text-decoration: none;
animation: latido 1.5s infinite;
} 

/* TEXTO*/
.sertext .texto-wsp{
    position: absolute;
    right: 85px;
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 15px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.sertext .whatsapp-float:hover .texto-wsp { 
    opacity: 1;
}

@keyframes latido{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
    100%{
        transform: scale(1);
    }
}

@media (max-width:768px){

    /* BOTON WHATSAPP */
    .sertext .whatsapp-float{
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
        font-size: 30px;
    }

    /* TEXTO */
    .sertext .texto-wsp{
        right: 65px;
        padding: 6px 10px;
        font-size: 12px; /* P */
    }

    /* h */
    .sertext h1{
        font-size: 26px;
    }

    /* Subtitulos */
    .sertext h2,
    .sertext h3{
        font-size: 16px;
    }

    /* P */
    .sertext p{
        font-size: 12px;
        line-height: 1.5;
    }
}

/*ESTILOS FORMULARIO*/


.sertext #formulario{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
justify-content:center;
align-items:center;
z-index:1000;
}

.sertext .form-box{
background:white;
padding:30px;
border-radius: 0x;
width:650px;
max-width:90%;
overflow-y:auto;
max-height: 90vh;
font-family:'Poppins', sans-serif;
}

.sertext .form-box h2{
    text-align: center;
    margin-bottom: 20px;
    font-family:'Poppins', sans-serif;
}
.sertext .cerrar{
float:right;
cursor:pointer;
font-size:18px;
}

.sertext .form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-bottom:10px;
}

.sertext .form-grid input{
width:100%;
padding:8px;
border:1px solid #ccc;
border-radius:5px;
font-family:'Poppins', sans-serif;
}

.sertext .producto-item{
border:1px solid #ddd;
padding:10px;
margin-top:10px;
border-radius:5px;
}

.sertext .producto-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:10px;
}

.sertext .producto-grid select,
.sertext .producto-grid input{
width:100%;
padding:6px;
border:1px solid #ccc;
border-radius:5px;
font-family:'Poppins', sans-serif;
}

.sertext .subcategoria{
margin-top:10px;
}

.sertext .subcategoria select{
width:100%;
padding:6px;
border:1px solid #ccc;
border-radius:5px;
}

.sertext textarea{
width:100%;
padding:8px;
margin-top:10px;
border-radius:5px;
border:1px solid #ccc;
font-family:'Poppins', sans-serif
}

.sertext button{
margin-top:10px;
padding:10px;
border:none;
cursor:pointer;
border-radius:5px;
}

.sertext .btn-agregar{
background:#ddd;
font-family:'Poppins', sans-serif;
}

.sertext .btn-enviar{
background:#ac1d95;
color:white;
width:60%;
font-family:'Poppins', sans-serif;
display: block;
margin: 20px auto;
}

.sertext .btn-eliminar{
    background:#ddd;
font-family:'Poppins', sans-serif;

}

/* ===== RESPONSIVE FORMULARIO ===== */
@media (max-width:768px){

    /* CONTENEDOR */
    .sertext .form-box{
        width: 80%;
        max-height: 80vh;
        overflow-y: auto;
        padding: 15px;

        max-width: 300px;

    }

    /* h */
    .sertext .form-box h2{
        font-size: 26px;
        line-height: 1.3;
    }

    /* SUBTITULOS */
    .sertext label,
    .sertext h3{
        font-size: 16px;
    }

    /* P */
    .sertext p,
    .sertext input,
    .sertext select,
    .sertext textarea,
    .sertext button{
        font-size: 12px;
        line-height: 1.5;
    }

    /* GRID PRINCIPAL */
    .sertext .form-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* GRID PRODUCTOS */
    .sertext .producto-grid{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* INPUTS */
    .sertext .form-grid input,
    .sertext .producto-grid input,
    .sertext .producto-grid select,
    .sertext textarea,
    .sertext .subcategoria select{
        padding: 10px;
    }

    /* BOTONES */
    .sertext button{
        padding: 10px;
    }

    .sertext .btn-enviar{
        width: 100%;
    }

    /* PRODUCTOS */
    .sertext .producto-item{
        padding: 15px;
    }
}









