* {
  padding: 0px;
  margin: 0px;
}

/*=========TIPOGRAFIAS============*/

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("font/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/*========== CABECERA =============*/

.cabecera {
  width: 100%;
  height: auto;
  background-color: #ffff;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.048);
  position: fixed;
  z-index: 1;
}

.content-menu {
  display: flex;
  padding: 20px;
}

.logo-inamec {
  margin-left: 30px;
  margin-top: 5px;
  width: 200px;
  height: auto;
}

.acciones-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.carrito {
  color: #000000;
}

.menu-toggle {
  display: none;
}

.menu {
  display: flex;
  margin-left: auto;
  margin-right: 30px;
  height: 40px;
  line-height: 50px;
}

.menu ul {
  display: flex;
  gap: 40px;
}

.menu ul li {
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  color: #000000;
  font-family: "Arial";
  font-weight: 500;
  font-size: 1rem;
}

.menu ul li a:hover {
  color: #dc0014;
}

.menu ul li:first-child a {
  color: #dc0014;
}

.menu ul li:first-child a:hover {
  color: #000000;
}

.menu a {
  text-decoration: none;
  color: #000000;
}

.menu span {
  margin-left: 30px;
  margin-top: 5px;
  font-size: 2rem;
  font-weight: 100;
}

.menu span:hover {
  color: #dc0014;
}

.section-cabecera {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
}

.video-cabecera {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.918),
    rgba(0, 0, 0, 0.123)
  );
  z-index: -1;
}

.top-inamec {
  color: #ffff;
  font-size: 1rem;
  font-family: "Arial";
  font-weight: 100;
  border: 1px solid #ffffff57;
  width: 30%;
  height: 40px;
  margin: left;
  line-height: 40px;
  letter-spacing: 2px;
  text-align: center;
}

.content-cabecera h1 {
  color: #ffff;
  font-size: 6rem;
  font-family: "Arial";
  font-weight: 700;
  line-height: 5.3rem;
  margin-top: 40px;
  letter-spacing: -5px;
}

.content-cabecera p {
  color: #ffff;
  font-family: "Arial";
  font-weight: 100;
  font-size: 1.5rem;
  margin-top: 20px;
}

.btn-cabecera {
  margin-top: 60px;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.btn-red,
.btn-outline {
  padding: 20px;
  background-color: #dc0014;
  color: #ffff;
  text-decoration: none;
  font-family: "Arial";
  width: 15%;
  height: 30px;
  line-height: 30px;
  transition: all 0.3s ease-out;
}

.btn-outline {
  border: 1px solid #ffffff57;
  background-color: transparent;
}

.btn-red:hover {
  transform: scale(1.1);
}

.btn-outline:hover {
  background-color: #ffffff25;
}

.filtros-productos{

    width: 90%;
    margin: 60px auto;
}

/* SUPERIOR */

.top-filtros{

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

/* BUSCADOR */

.buscador{

    width: 560px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid #D9DCE1;

    padding: 18px 20px;

    background: white;
}

.buscador span{

    color: #8B94A7;
}

.buscador input{

    width: 100%;

    border: none;
    outline: none;

    font-size: 1rem;
    font-family: "Montserrat";

    color: #364768;
}

.buscador input::placeholder{

    color: #8B94A7;
}

/* VISTAS */

.vistas-productos{

    display: flex;
    gap: 10px;
}

.btn-vista{

    width: 45px;
    height: 45px;

    border: none;

    background: #F2F4F7;

    cursor: pointer;

    transition: all .3s ease;
}

.btn-vista span{

    font-size: 1.3rem;
    color: #5A6475;
}

.btn-vista.active{

    background: #E30613;
}

.btn-vista.active span{

    color: white;
}

/* CATEGORIAS */

.categorias-productos{

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.categoria{

    padding: 15px 20px;

    border: none;

    background: #F2F4F7;

    font-size: 1rem;
    font-family: "Montserrat";

    color: #22304E;

    cursor: pointer;

    transition: all .3s ease;
}

.categoria.active{

    background: black;
    color: white;
}

/* INFO */

.info-productos{

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 50px;
}

.info-productos p{

    font-size: 1rem;
    font-family: "Montserrat";

    color: #22304E;
}

.info-productos span{

    font-size: 1rem;
    font-family: "Montserrat";

    color: #6B7280;
}

.productos-grid{

    width: 95%;
    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.productos-grid{

    width: 95%;
    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

/* =========================
GRID PRODUCTOS
========================= */

.productos-grid{

    width: 95%;
    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

/* =========================
LINK CARD
========================= */

.card-link{

    text-decoration: none;

    color: inherit;

    display: block;
}

/* =========================
CARD
========================= */

.card-producto{

    border: 1px solid #E5E7EB;

    background: white;

    overflow: hidden;

    transition: all .3s ease;
}

/* HOVER CARD */

.card-link:hover .card-producto{

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* =========================
IMAGEN
========================= */

.card-img{

    width: 100%;

    height: 270px;

    overflow: hidden;
}

.card-img img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

/* ZOOM IMAGEN */

.card-link:hover .card-img img{

    transform: scale(1.1);
}

/* =========================
INFO CARD
========================= */

.card-info{

    padding: 25px;
}

/* CATEGORIA */

.categoria-card{

    font-size: .9rem;

    font-family: "Montserrat";

    font-weight: 600;

    color: #E30613;
}

/* HP */

.hp{

    font-size: .9rem;

    font-family: "Montserrat";

    color: #7B8794;

    margin-left: 5px;
}

/* TITULO */

.card-info h2{

    font-size: 2rem;

    font-family: "Montserrat";

    font-weight: 700;

    line-height: 2.6rem;

    color: #111827;

    margin-top: 18px;
}

/* MARCA */

.card-info p{

    font-size: 1.1rem;

    font-family: "Montserrat";

    color: #4B5563;

    margin-top: 15px;
}

/* =========================
PARTE INFERIOR
========================= */

.card-bottom{

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 35px;
}

/* PRECIO */

.card-bottom h3{

    font-size: 2.2rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: black;
}

/* DETALLE */

.detalle{

    font-size: 1rem;

    font-family: "Montserrat";

    font-weight: 600;

    color: #E30613;

    transition: all .3s ease;
}

/* HOVER DETALLE */

.card-link:hover .detalle{

    transform: translateX(5px);
}

/* =========================
PAGINACION
========================= */

.paginacion-productos{

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin: 80px 0;
}

/* BOTONES */

.btn-paginacion,
.numero-pagina{

    height: 55px;

    border: 1px solid #E5E7EB;

    background: white;

    font-size: 1rem;

    font-family: "Montserrat";

    color: #22304E;

    cursor: pointer;

    transition: all .3s ease;
}

/* BOTONES LARGOS */

.btn-paginacion{

    padding: 0 25px;
}

/* NUMEROS */

.numero-pagina{

    width: 50px;
}

/* ACTIVE */

.numero-pagina.active{

    background: #E30613;

    color: white;

    border-color: #E30613;
}

/* DISABLED */

.btn-paginacion.disabled{

    color: #A0A7B5;

    cursor: default;
}

/* HOVER */

.numero-pagina:hover,
.btn-paginacion:hover{

    background: #F3F4F6;
}

/* EVITAR HOVER ACTIVE */

.numero-pagina.active:hover{

    background: #E30613;
}

/*FOOTER*/

.section-final {
  width: 100%;
  height: auto;
  padding-top: 50px;
  background-color: #000000;
  padding-bottom: 45px;
}

.box-final {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin-bottom: 10px;
  margin: auto;
  gap: 100px;
  justify-content: center;
}

.text-final {
  width: 20%;
  color: #99a1af;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 18px;
}

.text-final img {
  width: 70%;
}

.enlaces-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.enlaces-final ul li {
  list-style: none;
  margin-bottom: 5px;
}

.enlaces-final ul li a {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

.enlaces-final ul li a:hover {
  color: #dc0014;
}

.contacto-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.contacto-final ul li {
  list-style: none;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

.redes-final h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
}

.redes-final img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  background-color: #1a1a1a;
  border-radius: 50px;
  margin-right: 5px;
}

.redes-final img:hover {
  background-color: #dc0014;
}

.redes-final a {
  text-decoration: none;
}

.parte-final {
  width: 100%;
  text-align: center;
  margin-top: -50px;
}

.linea-final {
  width: 95%;
  margin: auto;
  border: 1px solid #1a1a1a;
  margin-bottom: 30px;
}

.final {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #99a1af;
}

@media (max-width: 480px) {
  /*  * {
        outline: 1px solid red;
    } */

 .content-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    z-index: 9999;
    cursor: pointer;
  }

  .menu-toggle span {
    font-size: 2.5rem;
    color: #dc0014;
  }

  .menu {
    display: none;

    position: absolute;

    top: 80px;
    left: 0;

    width: 100%;

    background-color: white;

    padding: 30px 0;

    z-index: 999;

    margin: 0;

    height: auto;
  }

  .menu.active {
    display: block;
  }

  .menu ul {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;
  }

  .menu ul li {
    line-height: 20px;
  }

  .logo-inamec {
    width: 30%;
    margin-left: 1rem;
  }

  .content-cabecera {
    width: 90%;
    height: auto;
  }

  .top-inamec {
    width: 100%;
  }

  /* ============ SECTION CABECERA ================== */

  .content-cabecera h1 {
    font-size: 3.3rem;
    letter-spacing: -1px;
    line-height: 1;
  }

  .content-cabecera p {
    font-size: 1.2rem;
    margin-top: 40px;
  }

  /* CONTENEDOR GENERAL */

    .filtros-productos{

        width: 90%;
        margin: 40px auto;
    }

    /* SUPERIOR */

    .top-filtros{

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    /* BUSCADOR */

    .buscador{

        width: 100%;

        padding: 15px;
    }

    .buscador input{

        font-size: .95rem;
    }

    /* BOTONES VISTA */

    .vistas-productos{

        width: 100%;

        justify-content: flex-end;
    }

    .btn-vista{

        width: 42px;
        height: 42px;
    }

    /* CATEGORIAS */

    .categorias-productos{

        margin-top: 25px;

        gap: 8px;
    }

    .categoria{

        width: 100%;

        text-align: center;

        padding: 14px 18px;

        font-size: .95rem;
    }

    /* INFO PRODUCTOS */

    .info-productos{

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-top: 35px;
    }

    .info-productos p,
    .info-productos span{

        font-size: .95rem;
    }

    /* GRID PRODUCTOS */

    .productos-grid{

        width: 90%;

        grid-template-columns: 1fr;

        gap: 25px;

        margin: 40px auto;
    }

    /* CARD */

    .card-producto{

        width: 100%;
    }

    /* IMAGEN */

    .card-img{

        height: 230px;
    }

    /* INFO */

    .card-info{

        padding: 20px;
    }

    .categoria-card,
    .hp{

        font-size: .85rem;
    }

    .card-info h2{

        font-size: 1.5rem;

        line-height: 2rem;

        margin-top: 15px;
    }

    .card-info p{

        font-size: 1rem;

        margin-top: 10px;
    }

    /* PARTE INFERIOR */

    .card-bottom{

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-top: 25px;
    }

    .card-bottom h3{

        font-size: 1.8rem;
    }

    .detalle{

        font-size: .95rem;
    }

    /* PAGINACION */

    .paginacion-productos{

        flex-wrap: wrap;

        justify-content: center;

        gap: 8px;

        margin: 50px 0;
    }

    .btn-paginacion{

        padding: 0 18px;

        height: 45px;

        font-size: .9rem;
    }

    .numero-pagina{

        width: 42px;
        height: 42px;

        font-size: .9rem;
    }

    
    .box-final {
        margin-top: 3rem;
        gap: 40px;   
     }

    .text-final {
        width: 100%;
    }

    .text-final img{
        width: 60%;
        margin: 0px auto;
        display: block;
    }

    .text-final p{
        margin-top: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .enlaces-final {
        width: 100%;
        
    }

    .enlaces-final h3 {
        margin-bottom: 1rem;
    }

    .enlaces-final ul li {
        margin-bottom: 1rem;
    }

    
    .enlaces-final ul li a{
        font-size: 1rem;
    }

    .contacto-final {
        width: 100%;
    }

    .contacto-final h3{
        margin-bottom: 1rem;
    }

    .contacto-final ul li{
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .redes-final {
        width: 100%;
        display: block;
        text-align: center;
    }

    .redes-final h3{
        text-align: left;
        margin-bottom: 1rem;
    }

    .parte-final {
        margin-top: 0.5rem;
    }

    .linea-final {
        margin-bottom: 0.5rem;
    }

    .parte-final p{
        margin-top: 0px;
        width: 100%;
        font-size: 0.7rem;
    }
  }