* {
  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;
}



/* =========================
CARRITO
========================= */

.carrito-compras{

    width: 80%;
    margin: 70px auto;

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 40px;
}

/* =========================
TITULO
========================= */

.productos-carrito h1{

    font-size: 4rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: black;

    margin-bottom: 40px;
}

/* =========================
CARD CARRITO
========================= */

.card-carrito{

    border: 1px solid #E5E7EB;

    padding: 20px;

    margin-bottom: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

/* INFO */

.info-producto{

    display: flex;

    align-items: center;

    gap: 20px;
}

/* IMAGEN */

.info-producto img{

    width: 120px;
    height: 120px;

    object-fit: cover;
}

/* DATOS */

.datos-producto h2{

    font-size: 2rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: black;
}

/* PRECIO */

.precio{

    display: block;

    font-size: 2rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: #E30613;

    margin-top: 20px;
}

/* CANTIDAD */

.cantidad-producto{

    display: flex;

    margin-top: 25px;
}

.cantidad-producto button,
.cantidad-producto span{

    width: 50px;
    height: 45px;

    border: 1px solid #D1D5DB;

    display: flex;

    justify-content: center;
    align-items: center;

    background: white;

    font-size: 1.4rem;

    font-family: "Montserrat";
}

.cantidad-producto button{

    cursor: pointer;

    transition: all .3s ease;
}

.cantidad-producto button:hover{

    background: #F3F4F6;
}

/* ELIMINAR */

.eliminar-producto{

    border: none;

    background: transparent;

    cursor: pointer;
}

.eliminar-producto span{

    color: #E30613;

    font-size: 2rem;
}

/* =========================
RESUMEN
========================= */

.resumen-pedido{

    background: #F9FAFB;

    padding: 35px;

    height: fit-content;
}

.resumen-pedido h2{

    font-size: 2.5rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: black;

    margin-bottom: 40px;
}

/* FILAS */

.fila-resumen{

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;
}

.fila-resumen span,
.fila-resumen strong{

    font-size: 1.2rem;

    font-family: "Montserrat";

    color: #22304E;
}

/* LINEA */

.linea{

    width: 100%;
    height: 1px;

    background: #D1D5DB;

    margin: 35px 0;
}

/* TOTAL */

.total span{

    font-size: 2rem;

    font-weight: 700;
}

.total h3{

    font-size: 3rem;

    font-family: "Montserrat";

    font-weight: 700;

    color: #E30613;
}

/* BOTON */

.btn-pago{

    width: 100%;
    height: 65px;

    border: none;

    background: #E30613;

    color: white;

    font-size: 1.2rem;

    font-family: "Montserrat";

    font-weight: 700;

    cursor: pointer;

    margin-top: 30px;

    transition: all .3s ease;
}

.btn-pago:hover{

    background: black;
}

/* CONTINUAR */

.seguir-comprando{

    display: block;

    text-align: center;

    margin-top: 30px;

    text-decoration: none;

    font-size: 1.2rem;

    font-family: "Montserrat";

    font-weight: 600;

    color: black;
}

/*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) {
 

  .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%;
  }

    /* CONTENEDOR GENERAL */

    .carrito-compras{

        width: 90%;

        grid-template-columns: 1fr;

        gap: 35px;

        margin: 40px auto;
    }

    /* TITULO */

    .productos-carrito h1{

        font-size: 2.5rem;

        line-height: 3rem;

        margin-bottom: 30px;
    }

    /* CARD */

    .card-carrito{

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding: 18px;
    }

    /* INFO PRODUCTO */

    .info-producto{

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    /* IMAGEN */

    .info-producto img{

        width: 100%;
        height: 220px;
    }

    /* DATOS */

    .datos-producto{

        width: 100%;
    }

    .datos-producto h2{

        font-size: 1.5rem;

        line-height: 2rem;
    }

    /* PRECIO */

    .precio{

        font-size: 1.6rem;

        margin-top: 15px;
    }

    /* CANTIDAD */

    .cantidad-producto{

        margin-top: 20px;
    }

    .cantidad-producto button,
    .cantidad-producto span{

        width: 45px;
        height: 42px;

        font-size: 1.1rem;
    }

    /* ELIMINAR */

    .eliminar-producto{

        align-self: flex-end;
    }

    .eliminar-producto span{

        font-size: 1.8rem;
    }

    /* RESUMEN */

    .resumen-pedido{

        padding: 25px;
    }

    .resumen-pedido h2{

        font-size: 2rem;

        margin-bottom: 30px;
    }

    /* FILAS */

    .fila-resumen{

        margin-bottom: 25px;
    }

    .fila-resumen span,
    .fila-resumen strong{

        font-size: 1rem;
    }

    /* TOTAL */

    .total span{

        font-size: 1.5rem;
    }

    .total h3{

        font-size: 2.2rem;
    }

    /* BOTON */

    .btn-pago{

        height: 58px;

        font-size: 1rem;

        margin-top: 25px;
    }

    /* CONTINUAR */

    .seguir-comprando{

        font-size: 1rem;

        margin-top: 25px;
    }

  /* ======== FOOTER ======= */

    .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;
    }
  
   }