/* Estilos adicionales para la línea vertical */
.main-header__container {
  display: flex;
  align-items: center;
  padding: 1px;
}

.menu__item.separador {
  position: relative;
}

.menu__item.separador::after {
  content: '';
  position: absolute;
  top: 0;
  right: -5px; /* Ajusta la posición de la línea vertical */
  bottom: 0;
  width: 1px;
  background-color: black; /* Ajusta el color a negro o el que desees */
}

@media (max-width: 768px) {
  .logo{
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  header {
      flex-direction: column;
      align-items: flex-start;
  }

  .main-nav {
      margin-top: 20px;
  }

  .menu-container {
      margin-left: 0;
  }

  .menu {
      flex-direction: column;
  }

  .menu__item {
      margin-right: 0;
      margin-bottom: 10px;
  }

  .main-header__icons {
    display: flex;
    align-items: center;
    margin-left: 35%;
}

.main-header__link1,
.login {
    margin-left: 2px; /* Ajusta el margen entre estos elementos según sea necesario */
    margin-right: 2px; /* Ajusta el margen entre estos elementos según sea necesario */
}

.main-header__link2 {
    margin-left: -90px; /* Mueve el enlace del carrito al extremo derecho */
    margin-top: 10px; /* Ajusta el margen superior según sea necesario */
}}

.main-header__link2 {
  display: inline-block;
  transition: transform 0.5s ease-in-out;
  color: #000000;
  height: 1px;
  padding: 50px;
  text-decoration: none;
  font-size: 13px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}
.header{
  text-align: center;
  
}



.login{
  text-decoration: none;
  color: #212121;
  height: 10px;
}

/* Agrega estos estilos al final de tu sección de estilos CSS */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-image {
  max-width: 1000px;
  max-height: 1000px;
  width: 400px;
  height: 300px;
  margin-bottom: 5px;
  margin-right: 55px; /* Ajusta el margen derecho según tu preferencia */
}

.popup-content {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 30px;
  text-align: center;
  position: relative;
  max-width: 600px; /* Ajusta el ancho máximo según tu preferencia */
  max-height: 80vh; /* Ajusta la altura máxima según tu preferencia */
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Agrega sombra si lo deseas */
  overflow-y: auto; /* Agrega desplazamiento vertical si el contenido excede la altura máxima */
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  cursor: pointer;
}

.popup-text {
  max-width: 50%; /* Ajusta el ancho máximo del texto según tu preferencia */
}



* {
  box-sizing: border-box;
}
.main-header__icons {
  display: flex;
  align-items: center; /* Alinea los elementos verticalmente al centro */
}

.main-header__link1{
  margin-left: 10px; /* Ajusta según sea necesario para separar los iconos */
  padding: 10px;
  height: 5px;
  color: #000000;
}
body {
  margin: 0;
  font-family: "Inconsolata", sans-serif;
}
/* Estilos para el contenedor grande */
.full-width-container {
  width: auto;
  height: 100px;
  padding-bottom: 56.25%; /* Proporción 16:9 (ajusta según sea necesario) */
  position: relative;
  overflow: hidden;
}

.full-width-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Estilos adicionales para el diseño */
.container-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 20px;
}

.product {
  width: 300px;
  margin-bottom: 20px;
  text-align: center;
}

.product__img {
  max-width: 100%;
  height: auto;
}

@import url(https://fonts.googleapis.com/css?family=Inconsolata);
@font-face {
  font-family: "Inconsolata";
  src: url(../fonts/inconsolata.ttf);
}
@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-Bold.ttf);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inconsolata";
}
.logo-container {
  display: inline-block;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ocupa todo el ancho */
  max-width: 400px; /* Ajusta el ancho máximo según sea necesario */
}
.logo-link {
  display: inline-block;
  align-items: center;
}

.logo-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border: none;
  width: 300px;
  height: 150px;
  object-fit: fill;
  align-items: center;
  margin-top: 0%;
}

img {
  display: block;
  width: 100%;
}
.main-header {
  padding: 1px; /* Agrega relleno alrededor del contenido del header */
  padding-left: 200px;
  background-color: white; /* Fondo blanco */
  position: relative;
  z-index: 100;
}
.main-header__title{
  text-align: center;
  font-size: 2.5em;
  margin: 10px 0;
  color: #454546;
  font-family: "Poppins";
}
.main-header__container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Estilo común para ambos casos */
.main-header__icons {
  text-align: center; /* Alinea los íconos al centro por defecto */
}

.main-header__link1 {
  display: inline-block;
  color: #333;
  text-decoration: none;
  padding: 10px;
}

/* Estilos para pantallas más grandes (min-width: 760px) */
@media only screen and (min-width: 760px) {
  .main-header__icons {
    text-align: right; /* Alinea los íconos a la derecha */
  }

  .main-header__link1 {
    display: block; /* Cambia a bloque para colocarlo verticalmente */
    margin-bottom: 10px; /* Espacio entre enlaces verticales */
    margin-left: auto; /* Mueve el enlace a la derecha del todo */
  }
}


/* Estilos del Menu */
.main-nav {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  z-index: 999999;
}
.menu{
  position: absolute;
  top: 180px;
  left: 0;
  background: #212121;
  width: 100%;
  list-style: none;
  padding: 0px;
  margin: 0;
}
.menu__item {
  text-align: center;
  margin: auto;
}
.menu__link {
  padding: 20px;
  color: white;
  text-decoration: none;
  position: relative;
  display: block;
}
.menu__link:hover {
  background: white;
  color: #212121;
}

.mostrar{
  opacity: 1;
  visibility: visible;
}

.icon-menu{
  font-size: 1.5em;
  border: 1px solid #454546; 
  display: block;
  padding: 10px 20px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1;
}
.main-header__btn{
  display: block;
  padding: 10px 30px;
  color: #454546;
  border: 1px solid #454546;
  text-decoration: none;
}
.main-header__input{
  display: block;
  padding: 10px;
  width: 50%;
}



.main {
  padding: 0 20px;
}




/* ESTILOS DE SLIDER */
.container-slider{
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 400%;
  height: 300px;
  margin-left: -100%;
  position: relative;
}
.slider:before{
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  height: 100%;
}

.slider__section {
  width: 100%;
  position: relative;
}
.slider__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider__btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}
.slider__btn:hover { 
  background: #fff;
}
.slider__btn--left{
  left: 10px;
}
.slider__btn--right {
  right: 10px;
}
.slider__content{
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  transform: translate(-50%, -50%);
  width: 60%;
  text-align: center;
  z-index: 999;
}
.slider__title{
  font-size: 2.2em;
  margin: 0;
}
.slider__txt{
  margin: 5px 0;
}
.btn-shop{
  display: block;
  border: 2px solid #FF4E00;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  width: 150px;
  margin: 20px auto;
  transition: all 0.5s;
}
.btn-shop:hover{
  background: #FF4E00;
  color: white;
}
/* ESTILOS DE PRODUCTOS */
.container-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}
.product {
  border: 1px solid #ccc;
  padding: 20px;
  text-align: center;
  position: relative;
}
.product:before {
  content: "New";
  background: #FF4E00;
  padding: 10px;
  width: 60px;
  position: absolute;
  top: 20px;
  right: 10px;
  transform: rotate(-90deg);
  color: white;
}

.product__img{
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.product__title{
  text-align: center;
}
.product__price {
  color: #FF4E00;
  font-weight: bold;
}
.product__icon {
  display: block;
  margin-top: 10px;
}
.product:hover .product__icon {
  color: #FF4E00;
}
.container__testimonials{
  text-align: center;
  background: #F7F7F7;
  padding: 20px;
  margin: 20px 0;
}
.testimonial__txt{
  color: #777;
}
.container-editor{
  margin-top: 20px;
}

.editor__item{
  height: 200px;
  position: relative;
  overflow: hidden;
}
.editor__img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor__circle{
  width: 200px;
  height: 200px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -200px;
  right: -150px;
  color: black;
  padding: 20px;
  padding-bottom: 70px;
  padding-right: 50px;
  font-size: 1.1em;
  text-align: center;
  font-weight: bold;
  transition: all 0.5s;
}
.editor__item:hover .editor__circle{
  transform: scale(1.2);
  bottom: -90px;
  right: -50px;
}
.editor__item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: all 0.5s;
}
.editor__item:hover:before {
  opacity: 1;
}
.container-tips{
  margin: 20px 0;
  text-align: center;
}
.tip i{
  font-size: 2em;
  color: #333;
  padding: 20px 0;
}
.tip .btn-shop {
  color: #333;
}
.btn-shop:hover {
  color: white;
}

/* Estilos generales para el footer */
.main-footer {
  background-color: #333; /* Color de fondo del footer */
  color: #fff; /* Color de texto */
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  max-width: 250px;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  display: block;
  margin-bottom: 5px;
}

/* Estilos para los métodos de pago */
.payment-methods {
  flex: 1; /* Ampliar esta sección para acomodar los métodos de pago */
}

.payment-icons {
  display: flex;
  justify-content: space-between;
}

.payment-icons img {
  max-width: 40px; /* Ajusta el tamaño de las imágenes según tus necesidades */
}

/* Estilos para el copyright */
.copyright {
  font-size: 0.9rem;
  margin-top: 20px;
}

/*Estilos para tablet*/
@media screen and (min-width:768px) {
  .slider{
    height: 400px;
  }
  .editor__item{
    height: 250px;
  }
  .container-tips{
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
}

/*Estilos para web*/

@media screen and (min-width:1024px) { 
  .container{
    width: 1000px;
    margin: auto;
  }
  .icon-menu {
    display: none;
    
  }
  .main-header .container--flex{
    display: flex;
    align-items: center;
  }
  .main-header__container{
    flex-wrap: wrap;
    align-content: flex-start;
  }
  .main-header__txt{
    width: 100%;
  }
  .main-header__container:nth-child(2){
    order: -1;
    width: 25%;
  }
  .main-header__container:nth-child(3){
    width: 25%;
    padding: 0 20px;
  }
  .main-header__title {
    width: 100%;
    font-size: 4em;
    margin: 0;
    border-bottom: 1px solid #ccc;
  }
  .main-header__link {
    margin-bottom: 20px;
  }
  .main-header__btn{
    width: 130px;
    padding: 10px;
    margin-bottom: 20px;
  }
  .main-header__input{
    width: 85%;
  }
  .main-nav{
    visibility: visible;
    opacity: 1;
    width: 100%;
    margin-top: 20px;
  }
  .menu {
    position: static;
    width: 100%;
    display: flex;
    background: none;
  }
  .menu__link{
    color: #333;
  }
  .menu__link:hover{
    background: #333;
    color: white;
  }
  .container-products {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
  }
  .product__img {
    height: 450px;
  }
  .container__testimonials{
    font-size: 1.3em; 
  }
  .container-editor{
    display: flex;
    justify-content: space-between;
  }
  .editor__item{
    width: 48%;
  }

  .copy {
    grid-column-start: span 4;
    text-align: center;
  }
}

@media screen and (min-width:1280px) { 
  .container{
    width: 1200px;
  }
  .main-header__container:nth-child(3){
    padding-left: 60px;
  }
  .main-header__container:nth-child(2){
    font-size: 1.3em;
  }
  .slider{
    height: 500px;
    font-size: 1.5em;
  }
}

@media screen and (min-width:1600px) { 
  .container{
    width: 1500px;
  }
  .main-header__container:nth-child(3){
    padding-left: 150px;
  }
  .main-header__container:nth-child(2){
    font-size: 1.5em;
  }
  .slider{
    height: 600px;
  }
  .product__img {
    height: 350px;
  }
}

/* Estilos para el footer en web */
@media screen and (min-width: 1024px) {
  .main-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .footer-section {
    flex: 1;
    margin: 0 15px;
    text-align: center;
  }

  .footer-container {
    text-align: center;
  }

  .payment-methods {
    flex: 1;
    order: 5;
    text-align: right; /* Alinea los métodos de pago a la derecha */
  }

  .payment-icons {
    display: flex;
    flex-direction: row;
    align-items: flex-end; /* Alinea los métodos de pago a la derecha */
  }

  .payment-icons img {
    max-width: 50px; /* Ajusta el tamaño de las imágenes de métodos de pago */
  }

  .copyright {
    width: 100%;
    text-align: center;
    order: 2;
  }

  /* Ajusta el espacio entre las imágenes de métodos de pago */
  .payment-icons img {
    margin-bottom: 0px; /* Espacio entre imágenes */
  }
  
  .payment-icons img:last-child {
    margin-bottom: 0; /* Sin espacio debajo de la última imagen */
  }
}

/* Estilos para celulares */
@media screen and (max-width: 767px) {
  .main-footer {
    flex-direction: column; /* Cambia la dirección de los elementos a columna */
  }

  .footer-section {
    flex: 1;
    margin: 10px 0;
    text-align: center;
  }

  .payment-methods {
    order: 4;
    text-align: center; /* Centra los métodos de pago en pantallas pequeñas */
  }

  .payment-icons {
    flex-direction: row; /* Vuelve a la dirección de fila para las imágenes */
    justify-content: center; /* Centra horizontalmente las imágenes */
  }
}

@media (max-width: 400px) {
  
  .main-header__icons {
    display: flex;
    align-items: center;
    margin-left: 20%;
}

.main-header__link1,
.login {
    margin-left: 2px; /* Ajusta el margen entre estos elementos según sea necesario */
    margin-right: 2px; /* Ajusta el margen entre estos elementos según sea necesario */
}

.main-header__link2 {
    margin-left: -180px; /* Mueve el enlace del carrito al extremo derecho */
    margin-top: 10px; /* Ajusta el margen superior según sea necesario */
}
    /* Estilos para la parte de usuario e iniciar sesión */
.header-secondary {
  background-color: #474747; /* Color de fondo para la segunda sección */
  display: flex;
  align-items: center;
  padding: 30px; /* Ajuste de espacio interior */
  min-height: 50px; /* Ajuste de altura mínima */
}
}


@media only screen and (max-width: 1100px) {
  .main-header {
    padding-left: 20px; /* Ajusta el relleno izquierdo del encabezado */
    padding-right: 20px; /* Ajusta el relleno derecho del encabezado */
  }

  .main-header__title {
    font-size: 1.8em; /* Ajusta el tamaño de la fuente del título */
    margin-bottom: 5px; /* Espacio inferior al título */
  }

  .main-header__icons {
    text-align: center; /* Alinea el texto al centro */
    margin-top: 0; /* Elimina el espacio superior */
  }

  .main-header__link1,
  .login,
  .main-header__link2 {
    display: block; /* Cambia a bloque para colocarlos verticalmente */
    margin: -100px 0; /* Ajusta el margen para reducir aún más el espacio entre los enlaces */
  }

  .main-header__btn {
    width: auto; /* Ajusta el ancho automáticamente */
    margin-bottom: 3px; /* Espacio inferior al botón */
  }

  .main-header__input {
    width: 80%; /* Ajusta el ancho del campo de entrada */
    margin-bottom: 3px; /* Espacio inferior al campo de entrada */
  }
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  .product {
      width: 100%; /* Ocupar el ancho completo en dispositivos móviles */
  }
}


@media only screen and (max-width: 600px) {
  .main-header__icons {
      margin-left: 40px; /* Elimina el margen derecho en formato celular */
  }


}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  .tip__title {
    font-size: 18px; /* Reduce el tamaño del título */
  }

  .tip__txt {
    font-size: 14px; /* Reduce el tamaño del texto */
  }
}

@media (max-width: 767px) {
  .logo-img {
      height: auto; /* Ajusta la altura automáticamente para mantener la proporción */
      max-height: 70px; /* Establece la altura máxima para reducir el tamaño */
  }
}
