@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*GENERALES*/

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --back: #000000;
    --blanco: #ffffff;
    --oscuro: #212121;
    --naranja: #E30D21;
    --secundario: #0097a7;
    --gris: #757575;
    --grisclaro: #dfe9f3;
    --primario:#e23939;
    --gris-claro:#b8b8b8;
    --sombras: 0 0 13px 0 rgba(185,185,185, .25);
    --fuenteprin:'Roboto', sans-serif;
    --fuentesec:'Open Sans', sans-serif;
    --fuentehed: 'Staatliches', cursive;
    --colorky: #006ec2;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;


}

.titulo, 
.titulo-rojo, 
.titulo-negro, 
.titulo-service, 
.subtitulo, 
.titulo-naranja, 
.titulo-mission,.titulo-apartados, .titulo-ky {
    /* Usamos la fuente que definiste */
    font-family: 'Staatliches', cursive !important;
    
    /* Ajuste de espacio entre letras (opcional, Staatliches se ve bien así) */
    letter-spacing: 0.05em;
    
    /* Para que no se vean pegados los textos */
    line-height: 1.1 !important;

    font-weight: 700 !important; 

}


.titulo-rojo, 
.titulo-negro, 
.subtitulo, 
.titulo-naranja, 
.titulo-mission {
    /* Quitamos el peso extra que Tailwind intenta poner */
        font-size: 5.5rem !important;

}

/* Si quieres que los títulos de las secciones NUEVAS también usen Staatliches */
#machinery h2, 
#trayectoria h2, 
#mas-vendidos h2,
#mas-vendidos h3 {
    font-family: 'Staatliches', cursive !important;
    font-weight: normal !important;
    text-transform: uppercase; /* Staatliches es una fuente de puras mayúsculas */
}

*, *:before, *:after {
    box-sizing: inherit;
  }

body {
    font-size: 18px; /* 1rem=10px*/
    font-family: 'Poppins', sans-serif;
    /* background: #cacaca; */
}

h1, h2, h3, h4, h5 {
    text-align: center;
    margin-bottom: 0;
}
a {
    text-decoration: none;
}

p{
    text-align: justify;
}

.gif-card {
    width: 80px;
    padding: 0;
    margin: auto;

}

.contenedor p {
    padding: 2rem 0 ;
}

.contenedor {
    margin: auto;
    width: 89%;
    max-width: 120rem;
    
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.contenedor-maquinas {
    margin: 0 7rem;
}


.titulo {
    font-family: var(--fuentehed);
    font-size: 5.5rem;
}

.titulo-naranja {
    color: var(--naranja);
    font-family: var(--fuentehed);
    font-size: 5.5rem;
}

.titulo-ky {
    color: var(--colorky);
    font-family: var(--fuentehed);
    font-size: 5.5rem;
}

.titulo-rojo {
    color: var(--naranja);
    font-size: 5.5rem;
    font-family: var(--fuentehed);
}

.titulo-gris {
    color: rgb(105, 96, 96);
    font-family: var(--fuentehed);
    font-size: 5rem;
}

.texto-negritas {
    font-weight: bold;
}

.titulo-apartados {
    font-size: 7rem;
    padding: 2rem  15rem 0 15rem;
}

.titulo-ndm {
    padding-top: 2rem;
}

.contenedor ul, .contenedor ol {
    margin-top: 2rem;
    padding: 0 4rem;
}

.subtitulos {
    color: #000;
    font-size: 3.7rem;
    font-family: var(--fuentehed);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;

}

.texto {
    font-size: 6rem;
}


/* TEXTO RODEANDO DERECHA */

.imagen-flotante-derecha {
    width: 50rem;
    float: right;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.imagen-kyf {
    width: 15rem;
}

.img-indi {
    width: 30rem;
}

.img-appli {
    width: 70%;
    justify-content: center;
    margin: auto;
}

.imagen-100 {
    width: 100%;
    margin: 2rem 0;
}

.imagen-general {
    width: 70rem;
}

/* TEXTO RODEANDO IZQUIERDA */

.imagen-flotante-izquierda {
    width: 50rem;
    float: left;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

/* Scroll */

body::-webkit-scrollbar {
    width: 10px;
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background: #34495E;
    border-right: 2px solid #34495E;
}

ul {
    list-style-type: none;
}

.parrafo {
    margin-bottom: 1rem;
    text-align: justify;
}


.cta {
    width: 130px;
    background: #000;
    color: var(--blanco);
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
}

/*---INICIO---*/

/* INICIA ENCABEZADO */
.encabezado {
    height: 550px;

}

.grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    width: 90%;
    max-width: 1100px;
    height: 100%;
    margin: auto;
    gap: 10px;
    overflow: hidden;
    align-items: center;
}

.img-hero {
    width: 120%;
    height: auto;
    grid-column: 9/ 13;

}

.heades-img {
    width: 95%;
    max-width: 400px;
}

.texto-hero {
    grid-column: 1/ 7;
    padding-right: 2rem;
    padding-top: 3rem;
}

.texto-hero p {
    text-align: center;
}
/* TERMINA ENCABEZADO */

/* INICIAN CARDS INFORMATICAS */

.service {
    height: 370px;
    background: linear-gradient(180deg, #fff 50%, #000 50%);

}

.items {
    grid-column: 1/ -1;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.item {
    width: 30%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.877);
    overflow: hidden;
    height: 240px;
    padding: 20px 10px;
    text-align: center;

}

.item i {
    font-size: 50px;
    text-align: center;
    color: rgb(255, 94, 0);
}


.titulo-service {
    margin:0;
    font-size: 2.9rem;
    font-family: var(--fuentehed);

}
/* TERMINAN CARDS INFORMATICAS */

/* INICIA About US */
.about-us {
    background: #000;
    color: var(--blanco);
    height: auto;
    padding-bottom: 6rem;
}

.textos-about-us {
    grid-column: 1/ -1;
    text-align: center;
}

.textos-about-us .parrafo {
    margin-top: 1rem;
    color: #ccc;

}
/* TERMINA About US */

/* INICIA MISION INDITEX */
.mission {
    padding: 70px 0;
}
.img-mission {
    grid-column: 1/ 7;
    grid-row: 1/ -1;
}
.textos-mission {
    grid-column: 7/ 13;
    grid-row: 1/ -1;
    margin-bottom: 50px;
    padding-left: 10rem;

}
/* TERMINA MISION */

.numbers {
    grid-column: 1/ -1;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.number {
    text-align: center;
    font-size: 30px;
    width: 22%;
}

/*Mission*/


.background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.top__title {
    margin-top: 52px;
    color: var(--white);
    text-align: center;
    z-index: 3;
}

.top__title h1 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1px;
}

.top__title h3 {
    margin-top: 3px;
    font-size: 20px;
    font-weight: 400;
}

.top__title h4 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #d01f2a;
}

.top__title--links {
    margin-top: 5px;
}
  
.top__title--links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--a);
}
  
.top__title--links a:nth-child(2) {
    margin-left: 30px;
}
  
.top__title--links a img {
    width: 12px;
}

/*---FOOTER---*/

footer {
    line-height: 1.5;
    
}

.container-footer{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}

.footer{
	background-color: var(--back);
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
    text-align: left;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
    
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
    
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.social-icon-info {
	display: flex;
	align-items: center;
}

.social-info a{
	text-decoration: none;
	color: #ffffff;
    font-size: 16px;
}

.footer-col .social-links .social-icon-info .social-icon a{
	display: block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links .social-icon-info .social-icon a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*---NOSOTROS---*/
.texto-hero-nos {
    margin-top: 6rem;
    margin-left: 11rem;
    margin-right: 11rem;
    height: 5rem;
}

.nos {
    padding: 3rem 15rem;
    text-align: justify;
    
}

.lista {
    margin: 6rem;
}

/* CATALOGO */
/* CONTENEDOR CAT */
input[type="radio"]{
    display: none;
}

.container-category {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;

}

.container-category label {
    padding: 6px 40px;
    margin: 10px;
    font-size: 20px;
    background: #e2e2e2;
    border-radius: 5px;
    cursor: pointer;
}

.container-category label:hover {
    opacity: 0.8;
}


.body-catalogo {
    background-color: #fbfbfb;
}

.container-all {
    position: static;
    z-index: 1;
}

.container-post {
    max-width: 1200px;
    margin: auto;

}

.posts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;

    margin-top: 20px;
    padding: 20px;
}

.posts .post {
    background: #fff;
    box-shadow: 0 0 25px -25px #000;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 20px;

}

.posts .post .ctn-img-catalogo {
    width: 100%;
}

.posts .post .ctn-img-catalogo  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.post h2 {
    font-size: 18px;
    margin-top: 20px;
    padding: 0 20px;
}

.ctn-tag-catalog {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 16px;
    margin-top: 10px;
}

.ctn-tag-catalog li {
    list-style: none;
    font-size: 14px;
    margin: 4px;
    padding: 6px 10px;
    background: #e8e8e8;
    cursor: default;
    border-radius: 5px;
}

.post button {
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 50px;
    font-size: 16px;
    background: #46a2fd;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.post a button {
    text-decoration: none;
    display: block;
    padding: .7rem 14rem;

}

.post button:hover {
    opacity: 0.9;
}

.post span {
    display: block;
    margin-top: 10px;
    padding: 0 20px;
}

/* Sistema de filtrado */
[value="TODOS"]:checked ~  .posts .post[data-category~="TODOS"] {
    display: block;
}


[value="MAQUINAS"]:checked ~  .posts .post:not([data-category~="MAQUINAS"]),
[value="REFACCIONES"]:checked ~  .posts .post:not([data-category~="REFACCIONES"]),
[value="TELAR"]:checked ~  .posts .post:not([data-category~="TELAR"]),
[value="JAQUARD"]:checked ~  .posts .post:not([data-category~="JAQUARD"]),
[value="OTRAS"]:checked ~  .posts .post:not([data-category~="OTRAS"]) {
    display: none;
}

[value="TODOS"]:checked ~ .container-category [for="TODOS"],
[value="MAQUINAS"]:checked ~ .container-category [for="MAQUINAS"],
[value="REFACCIONES"]:checked ~ .container-category [for="REFACCIONES"],
[value="TELAR"]:checked ~ .container-category [for="TELAR"],
[value="JAQUARD"]:checked ~ .container-category [for="JAQUARD"],
[value="OTRAS"]:checked ~ .container-category [for="OTRAS"] {
    background: #46a2fd;
    color: #fff;
}


/* Representados */



.subtitulos-mission-representados {
    text-align: left;
    color: #0072a7;
    font-size: 3.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;

}

.contenido-representados{
    margin-top: 3rem;
}

.contenido-representados {
    padding: 4rem 15rem;
}

.cita-text-repre {
    color: #db4d57;
    font-weight: bold;
    font-size: 2.3rem;

}

.cita-p-rep {
    font-weight: bold;
    color: #0e0e0e;
    font-size: 2rem;
}


.contenido-tabla h3 {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.tabla {
    text-align: center;
}

.header-tabla {
    background-color: #2e2c2c;
    color: #fff;
    font-weight: bold;
    
}

.header-tabla td {
    padding: 1.3rem;
}

.cuerpo-tabla-1 {
    background-color: #8f8c8c;
    
}
.cuerpo-tabla-2 {
    background-color: #cac8c8;
}

.cuerpo-tabla-1 td,
.cuerpo-tabla-2 td {
    padding: .7rem;
}

/* =================== Estilos del formulario =================== */

.formulario-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-contact-form label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.formulario-contact-form input,
.formulario-contact-form select,
.formulario-contact-form textarea {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    width: 100%;
}

.formulario-contact-form input:focus,
.formulario-contact-form select:focus,
.formulario-contact-form textarea:focus {
    border-color: #0c7ff2;
}

.formulario-btn-contact.formulario-fifth {
    background-color: #0c7ff2;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.formulario-btn-contact.formulario-fifth:hover {
    background-color: #0056b3;
}

/* Estilos para formularios y campos de entrada */
.formulario-contact-form {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.formulario-contact-form label {
    font-size: 16px;
    color: #111418;
    margin-bottom: 8px;
}

.formulario-contact-form input,
.formulario-contact-form select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f0f2f5;
    font-size: 16px;
    margin-bottom: 15px;
    background-color: #f0f2f5;
}

.formulario-contact-form input:focus,
.formulario-contact-form select:focus {
    outline: none;
    border-color: #0c7ff2;
}
/* Estilos generales */
.formulario-layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.formulario-content {
    flex: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.formulario-contact-form {
    max-width: 600px;
    width: 100%;
}

/* =================== Estilos del Modal =================== */

.container {
    margin-left: 1rem;
    margin-right: 1rem;
}

.modal {
    height: 100vh;
    display: grid;
    place-items: center;
}

.modal__button {
    display: inline-block;
    background-color: var(--first-color);
    color: #FFF;
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    transition: .3s;
}

.modal__button:hover {
    background-color: var(--first-color-alt);
}

.modal__container {
    position: absolute;
    top: 0;
    left: 0;
    background-color: hsla(var(--hue), 18%, 75%, .8);
    width: 100%;
    height: 100%;
    display: grid;
    align-items: flex-end;
    overflow: hidden;
    transition: all .3s;
    z-index: var(--z-modal);
    visibility: hidden;
    opacity: 0;
}

.modal__content {
    position: relative;
    background-color: var(--container-color);
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-radius: 1rem 1rem 0 0;
    transition: all .3s;
    transform: translateY(10%);
}

.modal__img {
    width: 150px;
    margin-bottom: .75rem;
}

.modal__close {
    display: inline-flex;
    background-color: var(--first-color);
    border-radius: .25rem;
    color: #FFF;
    font-size: 1.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

.modal__title {
    font-size: var(--big-font-size);
    color: var(--title-color);
    font-weight: 500;
}

.modal__description {
    margin-bottom: 1.5rem;
}

.modal__button-width {
    width: 90%;
}

.modal__button-link {
    display: block;
    margin: 1rem auto 0;
    background-color: transparent;
    color: var(--first-color);
    font-weight: 500;
}

.show-modal {
    visibility: visible;
    opacity: 1;
}

.show-modal .modal__content {
    transform: translateY(0);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (min-width: 576px) {
    .modal__content {
        margin: auto;
        width: 380px;
        border-radius: 1.25rem;
    }

    .modal__img {
        width: 170px;
    }
}

/* =================== Estilo para el campo de comentario (No editable y sin redimensionar) =================== */

.formulario-textarea {
    resize: none; /* Desactiva el redimensionamiento */
    width: 100%;   /* Asegura que ocupe el 100% del ancho disponible */
    height: 100px; /* Ajusta la altura al tamaño que prefieras */
    background-color: #f0f2f5; /* Fondo del campo */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    color: #333;
    font-size: 14px;
}

.formulario-textarea[readonly] {
    background-color: #e0e0e0; /* Fondo gris cuando está deshabilitado */
    cursor: not-allowed; /* Cambia el cursor a "no permitido" */
}

/* =================== Estilo para los campos deshabilitados =================== */

.formulario-contact-form input:disabled,
.formulario-contact-form select:disabled,
.formulario-contact-form textarea:disabled {
    background-color: #e0e0e0; /* Fondo gris */
    cursor: not-allowed; /* Cambia el cursor */
}

/* =================== Estilo de los campos obligatorios =================== */

.formulario-contact-form input[required],
.formulario-contact-form select[required],
.formulario-contact-form textarea[required] {
    border-color: #ccc;
}

.formulario-contact-form input[required]:focus,
.formulario-contact-form select[required]:focus,
.formulario-contact-form textarea[required]:focus {
    border-color: #0c7ff2; /* Color del borde cuando el campo está en foco */
}

/* =================== Estilos para el mensaje de error =================== */

#error-message {
    color: red;
    margin-top: 15px;
}

#error-message ul {
    list-style-type: none;
    padding-left: 0;
}

#error-message li {
    margin: 5px 0;
}

/* ======BLOG======*/
/* ======BLOG HEADER====== */
.blog-header {
  width: 10 0%;
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* Opacidad para la capa */
  z-index: 1;
}

.blog-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-header-title {
  font-size: 7rem;
  text-align: center;
  font-family: var(--fuentehed);
  z-index: 2;
}

/* ======BLOG CONTENT===== */
.blog-content {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 para artículos y 1/3 para tags */
  gap: 20px;
  padding: 20px;
}

.blog-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-article {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Imagen ocupa 1/3 y texto 2/3 */
  gap: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
}

.blog-article-link {
  display: flex;
  text-decoration: none;
  width: 100%;
}

.blog-article-image {
  background-size: cover;
  background-position: center;
  height: 200px;
}

.blog-article-info {
  padding: 20px;
  flex-grow: 1;
}

.blog-article-title {
  font-size: 22px;
  font-weight: bold;
}

.blog-article-content {
  color: #666;
  font-size: 16px;
  margin-top: 10px;
}

/* ======SIDEBAR===== */
.blog-sidebar {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
}

.blog-sidebar-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-tags,
.blog-topics {
  margin-top: 10px;
}

.blog-tag {
  background-color: #eaedf0;
  color: #111;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.blog-tag:hover {
  background-color: #d0d7df;
}

.blog-topics li {
  margin-bottom: 8px;
}

.blog-topics li a {
  text-decoration: none;
  color: #111;
}

.blog-topics li a:hover {
  text-decoration: underline;
}

/* ======PAGINATION===== */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.blog-pagination-link {
  padding: 10px 15px;
  background-color: #eaedf0;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
}

.blog-pagination-link:hover {
  background-color: #c4cad9;
}

.blog-pagination-link:active {
  background-color: #b0b8c1;
}

/* ======RESPONSIVE DESIGN===== */
@media (max-width: 768px) {
  /* Cambiar el comportamiento en dispositivos móviles */
  .blog-content {
    grid-template-columns: 1fr; /* Para móviles, todos los contenidos deben apilarse */
  }

  /* Artículos en vista móvil (imagen encima del texto) */
  .blog-article {
    grid-template-columns: 1fr; /* Apilar la imagen sobre el texto */
  }

  /* Ajustar la altura de la imagen */
  .blog-article-image {
    height: 300px; /* Ajustar la imagen para dispositivos pequeños */
  }

  /* Sidebar se coloca debajo en pantallas pequeñas */
  .blog-sidebar {
    margin-top: 20px;
  }
}


/* Sidebar */
.blog-sidebar {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px); /* Para que el sidebar ocupe toda la altura disponible */
}

.blog-sidebar-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-tags, .blog-topics {
  margin-top: 10px;
}

.blog-tag {
  background-color: #eaedf0;
  color: #111;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.blog-tag:hover {
  background-color: #d0d7df;
}

.blog-topics li {
  margin-bottom: 8px;
}

.blog-topics li a {
  text-decoration: none;
  color: #111;
}

.blog-topics li a:hover {
  text-decoration: underline;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  grid-column: span 2; /* Esto hace que la paginación ocupe todo el ancho del contenedor */
}

.blog-pagination-link {
  padding: 10px 15px;
  background-color: #eaedf0;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
}

.blog-pagination-link:hover {
  background-color: #c4cad9;
}

.blog-pagination-link:active {
  background-color: #b0b8c1;
}

@media screen and (max-width: 992px) {
    
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }

    /* BarraNav */
    .logo{
        color: #fff;
        font-size: 2.5rem;
        letter-spacing: 3px;
        line-height: 2rem;
    }

    .nav-link > a{
        line-height: 3rem;
        color: #fff;
        padding: 0 1rem;
        letter-spacing: 1px;
        font-size: 1.7rem;
    }

    .tabla {
        width: 100%;
        padding: 0;
        margin: 0;
        font-size: 1.1rem;
    }

    .header-tabla td {
        padding: .7rem;
    }
    
    .cuerpo-tabla-1 td,
    .cuerpo-tabla-2 td {
        padding: .7rem .7rem;
    }

    .service {
        height: auto;
        margin-top: 20px;

    }

    .item {
        width: 60%;
        margin: 20px 0;
        height: auto;
        padding: 20px;
    }

}

@media screen and (max-width: 768px) {

    .imagen-kyf {
        display: none;
    }

    .contenedor-maquinas {
        margin: 0 2rem;
    }

    .titulo {
        font-family: var(--fuentehed);
        font-size: 4rem;
    }
    
    .titulo-naranja {
        color: var(--naranja);
        font-family: var(--fuentehed);
        font-size: 4.5rem;
    }
    
    .titulo-gris {
        color: rgb(105, 96, 96);
        font-family: var(--fuentehed);
        font-size: 3.5rem;
    }
    
    .texto-negritas {
        font-weight: bold;
    }
    
    .titulo-apartados {
        font-size: 6rem;
        padding: 1rem  2rem 0 2rem;
    }
    
    .log-sign{
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }

    .content{
        z-index: -1;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
    }

    .encabezado {
        height: auto;
        
    }

    .texto-hero {
        padding-top: 15rem;
    }
    /* NOSOTROS */
    .nos {
        padding: 3rem 9rem;
    }
/* 
    .titulo {
        position: relative;
        z-index: 99;
    } */

    .grid {
        grid-gap: 30px;

    }
    
    .img-hero,
    .texto-hero {
        grid-column: 1/ -1;
    }
    .img-hero {
        text-align: center;
        width: 100%;
    }
    .texto-hero {
        padding-top: 1rem;
    }

    .service {
        height: auto;
        margin-top: 20px;

    }

    .item {
        width: 60%;
        margin: 40px 0;
        height: auto;
        padding: 40px;
    }

    .img-mission {
        grid-column: 1/-1;
        grid-row: 2/3;
        text-align: center;
    }

    .textos-mission {
        grid-column: 1/-1;
        grid-row: 1/2;
        align-self: center;
    }

    /* CATALOGO */

    .posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .post a button {
        padding: .7rem 12rem;
    
    }

    /* rEPRESENTADOS */

    .contenido-representados {
        padding: 1rem 1rem;
    }

    .tabla {
        width: 90%;
        padding: 0;
        margin: 0;
        font-size: 1rem;
    }

    .header-tabla td {
        padding: .5rem;
    }
    
    .cuerpo-tabla-1 td,
    .cuerpo-tabla-2 td {
        padding: .5rem .5rem;
    }



    /* FOOTER */

    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }

    .imagen-flotante-derecha,
    .imagen-flotante-izquierda {
        width: 100%;
    }

    .section4 .row{
        flex-direction: column;
    }

    .section4__item {
        flex: auto;
    }

    .texto-hero {
        margin-top: 5rem;
    }
}

@media screen and (max-width: 576px) {

    /*---NOSOTROS---*/
.texto-hero-nos {
    margin-left: 5rem;
    margin-right: 5rem;
}

    *{
        margin: 0;
    }

    .titulo-apartados {
        font-size: 5rem;
        padding: 0rem  2rem 0 2rem;
    }

    .logo{
        font-size: 2rem;
    }
    
    .img {
        max-width: 400px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(180px));
    }

    .item {
        width: 100%;
        flex-shrink: 0;
    }
    
    .item {
        width: 300px;
        height: 250px;
        padding: 10px 5px;
    
    }

    .parrafo {
        margin-right: 1.5rem;
    }



    
    .number {
        width: 55%;
        border-bottom: 1px dotted #fff;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }

    .mission {
        padding: 0;
        padding-top: 4rem;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    .textos-mission {
        grid-column: 1/ 13;
        grid-row: 1/ -1;
        margin-bottom: 50px;
        padding-left: 0;
    
    }

    .texto-mission {
        margin: 0;
        padding: 0;
        margin-left: 0;
    }

    .texto-mission p {
        text-align: justify;
        
    }

    .texto-mission a {
        margin: 0;
        align-items: center;
        
    }

    /* REPRESENTADOS */
    .contenido-representados {
        padding: 1.2rem 3rem;
    
    }

    .nos {
        padding: 3rem 7rem;

        text-align: justify;
    }

    .lista {
        margin: 1rem;
    }

    /* CATALOGO */

    .posts {
        grid-template-columns: repeat(1, 1fr);
    }

    /* FOOTER */

    .footer-col{
        width: 100%;
    }

    /* REPRESENTADOS */

    .titulo-representados {
        letter-spacing: 0rem;
        font-size: 5rem;
        padding: 0rem  0rem 0 0rem;
    }

    .contenido-tabla table {
        width: 100%;
    }
    
    .contenido-tabla h3 {
        font-size: 20px;
    }
    
    .header-tabla {
        font-weight: normal;
        font-size: .7rem;
        
    }
    
    .cuerpo-tabla-1 td,
    .cuerpo-tabla-2 td {
        font-size: .7rem;
        padding: .1rem;
    }
    .header-tabla td {
        padding: .0rem;
    }
    

    .texto-hero .fifth:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
        width: 0;
        height: 100%;
        background: #e08709;
        z-index: -1;
        -webkit-transition: width 2s ease-in-out;
        transition: width 150ms ease-in-out;
    }

    .texto-hero .fifth:hover {
        color: #fff;
    }
    
    .texto-hero .fifth:hover:after {
        width: 100%;
    }

    .texto-hero .btn-contact {
        width: 98%;
        font-size: 1.8rem;
        font-weight: 400;
        line-height: 1;
        margin: 2rem 0px;
        text-align: center;
        align-items: center;
        justify-content: center;

        padding: 1em 2.5em;
        text-decoration: none;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
    }

    .titulo-gris {
        font-size: 3rem;
    }

    

}

/* Animaciones */

@keyframes moverIzquierda {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moverDerecha {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes arriba {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}




/* ERROR 404 */ 
.error {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Consolas;
}

.error {
    min-height: 100vh;
    background: linear-gradient(0deg, #fff, #03a9f4);
}

.sky {
    position: relative;
    widows: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sky h2 {
    font-size: 16rem;
    color: #fff;
    text-shadow: 15px 15px 0 rgba(0, 0 , 0, 0.1);
}

.sky h2 span {
    display: inline-block;
    animation: animate 2s ease-in-out infinite;

}

.sky h2 span:nth-child(even) {
    animation-delay: -1s;
}

.field {
    padding: 100px;
    height: 40vh;
    background: #6e2308;
    box-shadow: inset 0 20px 10px #51680c;
    text-align: center;

}

.field h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;

}

.field a {
    background: #fff;
    color: #000;
    width: 160px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    font-size: 20px;
}


.grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: url(../img/grass.png);
    background-position: bottom;
    animation: animateGrass .2s linear infinite;
}

@keyframes animateGrass {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 94px 0;
    }
}

@keyframes animate {
    0%,100% {
        transform: translateY(-50px);
    }

    50% {
        transform: translateY(50px);
    }
}

/* BOTONES */


.fifth {
    border-color: #8e44ad;
    border-radius: 0;
    color: #8e44ad;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: color 3s ease-in-out;
    transition: color 1s ease-in-out;
}
.fifth:after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: var(--naranja);
    z-index: -1;
    -webkit-transition: width 2s ease-in-out;
    transition: width 150ms ease-in-out;
}
.fifth:hover {
    color: #fff;
}
.fifth:hover:after {
    width: 110%;
}

.btn-contact {
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
        appearance: none;
    background-color: transparent;
    border: 2px solid var(--naranja);
    border-radius: 2px;
    color: var(--naranja);
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
        align-self: center;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    margin: 5px 2px;
    text-align: center;
    align-items: center;
    justify-content: center;

    padding: 1em 2.5em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-contact:hover, .btn:focus {
    color: #fff;
    outline: 0;
}
/* CATEGORIAS */
.faq {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
}
.categorias{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
    margin-bottom: 60px;
}

.categoria {
    cursor: pointer;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    color: var(--gris-claro);
    border: 2px solid transparent;
    transition: .3s ease all;
}

.categoria:hover {
    box-shadow: var(--sombras);
    color: #000;
}

.categoria:hover path{
    fill: var(--primario);
}

.categoria svg{
    width: 64px;
    margin-bottom: 10px;
}

.categoria path{
    fill: var(--gris-claro);
    transition: .3s ease all;
}


.categoria.activa{
    border: 2px solid var(--primario);
    color: #000;
}
.categoria.activa path{
    fill: var(--primario)
}

/* contenedor-preguntas */
.contenedor-preguntas{
    display: none;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contenedor-preguntas.activo{
    display: grid;
}

.contenedor-pregunta{
    background: #fff;
    padding: 40px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s ease all;
    cursor: pointer;
}

.contenedor-pregunta:hover{
    box-shadow: var(--sombra);
}
.contenedor-pregunta.activa{
    border: 2px solid var(--primario);
}

.pregunta{
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pregunta img{
    width: 14px;
}

.respuesta{
    color:#808080;
    line-height: 30px;
    max-height: 0;
    opacity: 0;
    transition: .3s ease all;
}

.contenedor-pregunta.activa .respuesta{
    opacity: 1;
    margin-top: 20px;
}

.contenedor-pregunta.activa img{
  transform: rotate(45deg);
}


@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
}
  
.logos {
overflow: hidden;
padding: 60px 0 0 0;
background: white;
white-space: nowrap;
position: relative;
}

.logos:before,
.logos:after {
position: absolute;
top: 0;
width: 250px;
height: 100%;
content: "";
z-index: 2;
}

.logos:before {
left: 0;
background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
right: 0;
background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
animation-play-state: paused;
}

.logos-slide {
display: inline-block;
animation: 15s slide infinite linear;
}

.logos-slide img {
height: 60px;
margin: 0 60px;
filter: hue-rotate(360deg);

}
/*TABLA*/

main.table {
    height: auto;
    background-color: #fff5;

    backdrop-filter: blur(7px);
    box-shadow: 0 .5rem .9rem #0005;
    border-radius: .8rem;

    overflow: hidden;
}

main.smll-table {
    height: 70vh;

}

main.bby-smll-table {
    height: 40vh;

}

.table__header {
    width: 100%;
    height: 12%;
    background-color: #fff4;
    padding: .8rem 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table__header .input-group {
    width: 30%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.137);
    padding: 0 .8rem;
    border-radius: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: .2s;
}

.table__header .input-group:hover {
    width: 35%;
    background-color: rgba(0, 0, 0, 0.137);
    box-shadow: 0 .1rem .4rem #0002;
}

.table__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.table__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

.table__header h1 {
    font-size: 23px;
}

thead th {
    font-size: 16.2px;
}

tbody td {
    font-size: 14px;
}

.table__body {
    width: 95%;
    max-height: calc(89% - 1.6rem);
    background-color: #fffb;

    margin: .8rem auto;
    border-radius: .6rem;

    overflow: auto;
    overflow: overlay;
}


.table__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.table__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.table__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}


table {
    width: 100%;
}

td img {
    width: 36px;
    height: 36px;
    margin-right: .5rem;
    border-radius: 50%;

    vertical-align: middle;
}

table, th, td {
    border-collapse: collapse;
    padding: 1rem;
    text-align: center;
}

thead th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--secundario);
    cursor: pointer;
    text-transform: capitalize;
}

tbody tr:nth-child(even) {
    background-color: #0000000b;
}

tbody tr {
    --delay: .1s;
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

tbody tr.hide {
    opacity: 0;
    transform: translateX(100%);
}

tbody tr:hover {
    background-color: #fff6 !important;
}

tbody tr td,
tbody tr td p,
tbody tr td img {
    transition: .2s ease-in-out;
}

tbody tr.hide td,
tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}


@media (max-width: 1000px) {
    td:not(:first-of-type) {
        min-width: 12.1rem;
    }
}

thead th span.icon-arrow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    
    text-align: center;
    font-size: 1rem;
    
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

thead th:hover span.icon-arrow{
    border: 1.4px solid var(--naranja);
}

thead th:hover {
    color: var(--naranja);
}

thead th.active span.icon-arrow{
    background-color: var(--naranja);
    color: #fff;
}

thead th.asc span.icon-arrow{
    transform: rotate(180deg);
}

thead th.active,tbody td.active {
    color: var(--naranja);
}

.export__file {
    position: relative;
}

.export__file .export__file-btn {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: #fff6 url(img/export.png) center / 80% no-repeat;
    border-radius: 50%;
    transition: .2s ease-in-out;
}

.export__file .export__file-btn:hover { 
    background-color: #fff;
    transform: scale(1.15);
    cursor: pointer;
}

.export__file input {
    display: none;
}

.export__file .export__file-options {
    position: absolute;
    right: 0;
    
    width: 12rem;
    border-radius: .5rem;
    overflow: hidden;
    text-align: center;

    opacity: 0;
    transform: scale(.8);
    transform-origin: top right;
    
    box-shadow: 0 .2rem .5rem #0004;
    
    transition: .2s;
}

.export__file input:checked + .export__file-options {
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.export__file .export__file-options label{
    display: block;
    width: 100%;
    padding: .6rem 0;
    background-color: #f2f2f2;
    
    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: .2s ease-in-out;
}

.export__file .export__file-options label:first-of-type{
    padding: 1rem 0;
    background-color: #86e49d !important;
}

.export__file .export__file-options label:hover{
    transform: scale(1.05);
    background-color: #fff;
    cursor: pointer;
}

.export__file .export__file-options img{
    width: 2rem;
    height: auto;
}


.contenedor-maquinas ul {
    list-style-type: disc;
}

.product-imgs {
    max-width: 600px;
    margin: auto;
}



.card-wrapper{
    max-width:1100px;
    margin: 0 auto;
}

img{
    width: 100%;
    display: block;
}
.img-display{
    overflow: hidden;
}
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase img{
    min-width: 100%;
}
.img-select{
    display: flex;
}
.img-item{
    margin: 0.3rem;
    width: 100px;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;
}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    padding: 2rem 1rem;
}
.product-title{
    font-size: 3rem;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: #12263a;
    margin: 1rem 0;
}
.product-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
}
.product-link{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0 0.3rem;
    transition: all 0.5s ease;
}
.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    color: #ffc107;
}
.product-rating span{
    font-weight: 600;
    color: #252525;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.last-price span{
    color: #f64749;
    text-decoration: line-through;
}
.new-price span{
    color: #256eff;
}
.product-detail h2{
    text-transform: capitalize;
    color: #12263a;
    padding-bottom: 0.6rem;
}
.product-detail p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}
.product-detail ul li{
    margin: 0;
    list-style: none;
    background: url(shoes_images/checked.png) left center no-repeat;
    background-size: 18px;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
}
.product-detail ul li span{
    font-weight: 400;
}
.purchase-info{
    margin: 1.5rem 0;
}
.purchase-info input,
.purchase-info .btn{
    border: 1.5px solid #ddd;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}
.purchase-info input{
    width: 60px;
}
.purchase-info .btn{
    cursor: pointer;
    color: #fff;
}
.purchase-info .btn:first-of-type{
    background: #256eff;
}
.purchase-info .btn:last-of-type{
    background: #f64749;
}
.purchase-info .btn:hover{
    opacity: 0.9;
}


@media screen and (min-width: 992px){
    .card{
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        grid-column: 0/ 1;
    }
    .product-content{
        padding-top: 0;
        grid-column: 2/ 7;
    }

    .card-wrapper{
        max-width: 1100px;
        margin: 0 auto;
    }

    img{
        width: 100%;
        display: block;
    }
    .img-display{
        overflow: hidden;
    }
    .img-showcase{
        display: flex;
        width: 100%;
        transition: all 0.5s ease;
    }
    .img-showcase img{
        min-width: 100%;
    }
    .img-select{
        display: flex;
    }
    .img-item{
        margin: 0.3rem;
        width: 100px;
    }
}

.contenedor-maquinas .imagen-flotante-derecha {
    width: 30rem;
}


/* Estilo para el Título Industrial Gigante pegado a la izquierda */
    .titulo-industrial {
        font-family: monospace !important;
        font-size: 3rem !important; 
        font-weight: 900;
        line-height: 1;
        letter-spacing: -1.5px;
        color: #1a1a1a;
        text-transform: uppercase;
        margin: 0;
    }

    /* Fuente Mono para toda la sección */
    .seccion-tecnica {
        font-family: monospace !important;
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
        clear: both;
    }

    #techTable {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
    }

    /* Encabezados se mantienen en 17px para legibilidad */
    #techTable th {
        font-family: monospace !important;
        font-size: 17px !important;
        background-color: #02aad4;
        color: #ffffff !important;
        padding: 18px 15px;
        transition: background-color 0.2s ease;
        cursor: pointer;
        border: none;
    }

    #techTable th:hover {
        background-color: #E30D21 !important;
    }

    /* DATOS TÉCNICOS: Reducidos 2px (Ahora 15px) */
    #techTable td {
        font-family: monospace !important;
        font-size: 15px !important; /* Texto 2px más chico */
        border: 1px solid #e2e8f0;
        padding: 14px 15px;
    }

    /* --- FILAS: EFECTO GRIS + ROJO + MOVIMIENTO --- */
    #techTable tbody tr {
        transition: all 0.2s ease-in-out;
    }

    #techTable tbody tr:hover {
        background-color: #e2e8f0 !important; /* Gris marcado */
        border-left: 6px solid #E30D21; /* Borde rojo */
        transform: translateX(8px);
    }

    .sort-icon {
        font-size: 16px !important;
        vertical-align: middle;
        opacity: 0.8;
    }

    /* Definimos la animación de desvanecimiento */

    #tabla-especificaciones, 
#tabla-datos {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

/* Encabezados se mantienen en 17px para legibilidad */
#tabla-especificaciones th, 
#tabla-datos th {
    font-family: monospace !important;
    font-size: 17px !important;
    background-color: #E30D21;
    color: #ffffff !important;
    padding: 18px 15px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    border: none;
}

#tabla-especificaciones th:hover, 
#tabla-datos th:hover {
    background-color: #02aad4 !important;
}

/* DATOS TÉCNICOS: Reducidos 2px (Ahora 15px) */
#tabla-especificaciones td, 
#tabla-datos td {
    font-family: monospace !important;
    font-size: 15px !important; /* Texto 2px más chico */
    border: 1px solid #e2e8f0;
    padding: 14px 15px;
}

/* --- FILAS: EFECTO GRIS + ROJO + MOVIMIENTO --- */
#tabla-especificaciones tbody tr, 
#tabla-datos tbody tr {
    transition: all 0.2s ease-in-out;
}

#tabla-especificaciones tbody tr:hover, 
#tabla-datos tbody tr:hover {
    background-color: #e2e8f0 !important; /* Gris marcado */
    border-left: 6px solid #E30D21; /* Borde rojo */
    transform: translateX(8px);
}

.sort-icon {
    font-size: 16px !important;
    vertical-align: middle;
    opacity: 0.8;
}
@keyframes fadeInSuave {
    from {
        opacity: 0;
        transform: translateY(10px); /* Opcional: sube ligeramente */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Esta clase aplicará la animación */
.animar-cambio {
    animation: fadeInSuave 0.5s ease-out forwards;
}