@font-face {
  font-family: 'SF';
  src: url('./fonts/sfui.woff') format('woff');
}

@font-face {
  font-family: 'SFBlack';
  src: url('./fonts/sfuiblack.woff') format('woff');
}

@font-face {
  font-family: 'SFBold';
  src: url('./fonts/sfuibold.woff') format('woff');
}

@font-face {
  font-family: 'SFSembibold';
  src: url('./fonts/sfuisemibold.woff') format('woff');
}

body{
    margin: 0;
    display: flex;
    font-family: SF;
    align-items: center;
    flex-direction: column;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    padding: 15px 0px 15px 0px;
    width: 100%;
    height: fit-content;
    background: #000000;
}

.contenedor-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 20px;
    gap: 20%;
    width: 100%;
    max-width: 1300px;
}

nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0px;
    gap: 20px 50px;
    width: 100%;
}

.profileicon{
    height: 30px;
    width: 30px;
}

.logo{
    height: 58px;
    width: 54px;
}

nav a{
    color: white;
    text-decoration: none;
}

.contenedor-header a{
    align-items: center;
    justify-content: center;
    display: flex;
}

.hero-div{
    background-image: url('https://comercializadorall.grupoctic.com/ComercializadoraLL/img/iphones.jpg');
    width: 100%;
    align-content: center;
    height: 400px;
    background-position: center;
    background-size: cover;
}

.hero-div-celulares{
    background-image: url('https://comercializadorall.grupoctic.com/ComercializadoraLL/img/XiaomiPocoX7.jpg');
    width: 100%;
    align-content: center;
    height: 400px;
    background-position: center;
    background-size: cover;
}

.hero-div-Accesorios{
    background-image: url('https://comercializadorall.grupoctic.com/ComercializadoraLL/img/Galaxy.jpg');
    width: 100%;
    align-content: center;
    height: 400px;
    background-position: center;
    background-size: cover;
}
.hero-div-Electrodomesticos{
   background-image: url('https://comercializadorall.grupoctic.com/ComercializadoraLL/img/tv.jpg');
    width: 100%;
    align-content: center;
    height: 400px;
    background-position: center;
    background-size: cover;
}

.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.textohero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
}

.textohero h1{
    margin: 0;
    color: white;
}

.textohero h3{
    margin: 0;
    color: white;
}

.contenedor-productos
{
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 30px;
    padding-bottom: 60px;
}

.comprar{
    color: #ffffff;
    background-color: #00000000;
    border-radius: 10px;
    padding: 15px 30px 15px 30px;
    justify-content: center;
    align-items: center;
    border-style: double;
    border-color: white;
}

.comprar:hover{
    cursor: pointer;
}

.comprarproducto:hover{
    cursor: pointer;
}

.comprarproducto{
    color: #ffffff;
    background-color: #8A2BE2;
    border-radius: 10px;
    padding: 15px 30px 15px 30px;
    justify-content: center;
    align-items: center;
    border-style: none;
}

.featured-text{
    padding-top: 30px;
    padding-bottom: 20px;
}

.texto-producto h2{
    margin: 0px;
    color: #ffffff;
}

.texto-producto h3{
    margin: 0px;
    color: #ffffff;
}

.texto-producto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
}

.recuadro{
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    border-radius: 0px 0px 20px 20px;
}

.producto-detalle{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    overflow: hidden;
    border-radius: 20px;
}

.producto{
    display: flex;
    flex-direction: column;
    width: 340px;
    height: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.062);
}

.imagenproducto{
    height: 300px;
    width: 300px;
}

.galeria-productos{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    column-gap: 40px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    justify-content: center;
}

footer{
    width: 100%;
    height: fit-content;
    background-color: #8A2BE2;
    padding-top: 20px;
    padding-bottom: 20px;
}

.linksFooter{
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
}

.linksFooter a{
    text-decoration: none;
    color: #ffffff;
}


/*Apartado de Acerca de*/
.acerca-container {
      max-width: 900px;
      margin: 2rem auto;
      background-color: var(--card);
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .acerca-container h2 {
      color: var(--accent);
      margin-bottom: 1rem;
    }
    .acerca-container p {
      line-height: 1.6;
      margin-bottom: 1rem;
      color: #333;
    }
    .acerca-container ul {
      margin-left: 1.5rem;
      margin-bottom: 1rem;
    }
    .acerca-container ul li {
      margin-bottom: 0.5rem;
    }

    /* Apartado del menú de usuario */
    .user-menu {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .user-menu span {
    font-size: 24px;
  }

  .menu {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
  }

  .menu a:hover {
    background-color: #f0f0f0;
  }

  
    .user-menu:hover .menu {
        display: block;
    }
    .user-menu .menu {
        display: none;
        position: absolute; 
        top: 110%;          
        right: 0;           
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        min-width: 150px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;      
    }
  .badge {
    background-color: #f00;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -5px;
    right: -5px;
  }

  
  .no-login .menu a.logged {
    display: none;
  }

  .logged-in .menu a.login {
    display: none;
  }


  /* Contenedor general */
.contacto {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  color: #000; 
}

/* titulo inicial */
.titulo-contacto {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #000; 
}

/* mi introduccion  */
.intro-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #222;
}

/* tarjetas de contacto */
.card-contacto {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* subtitulo */
.card-contacto h2 {
  color: #000;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

/* información */
.contact-info p {
  font-size: 1.1rem;
  color: #000;
  margin: 10px 0;
}

/*las redes de canva */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons .icon {
  width: 50px;
  height: 50px;
  background: #dcdcdc;      
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

.social-icons .icon img {
  width: 22px;
  height: 22px;
}

.social-icons .icon:hover {
  background: #bcbcbc;
}

/*Contactos de telefono */
.telefono-contacto {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.telefono-contacto span {
  font-size: 1.15rem;
  color: #000;
}

/* formulario */
.form-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-contact input,
.form-contact textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  transition: 0.2s;
  color: #000;
}

.form-contact input:focus,
.form-contact textarea:focus {
  border-color: #0b7285;
  box-shadow: 0 0 6px rgba(11,114,133,0.35);
}

.btn-enviar {
  padding: 14px;
  background-color: #0b7285;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 1rem;
  font-weight: bold;
}

.btn-enviar:hover {
  background-color: #085a6a;
}


/*Productos*/
.producto-detalle-contenedor {
    width: 100%;
    padding-left: 30px;
    max-width: 1200px;
    margin: 80px; 
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.producto-detalle-imagen img {
    width: 400px;
    border-radius: 20px;
}

.producto-detalle-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.precio-detalle {
    color: #7b2cfb; 
    font-size: 2rem;
    margin-bottom: 20px;
}

.descripcion-detalle {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #333;
    max-width: 420px;
}

.colores {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-block;
}

.pastelpink { background: #f1c4d9; }
.nude { background: #e6ddd3; }
.blue { background: #bcd5ff; }
.black { background: #000; }

.comprarproducto {
    background: #7b2cfb;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.comprarproducto:hover {
    background: #5e14d6;
}


.paginacion {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px; 
    margin-top: 1px;
}

.paginacion .pagina {
    padding: 10px 15px;
    background: #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    transition: 0.2s;
}

.paginacion .pagina:hover {
    background: #cfcfcf;
}

.paginacion .activa {
    background: #8A2BE2;;
    color: white;
}

