/* Establece el fondo y color del header */
header {
    background-color: black;
    color: rgb(158, 158, 217);
    font-size: 18px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Aseguramos que el body no afecte al header */
body {
    margin: 0;
    padding: 0;
}

button{
    cursor: pointer
}

a {
    color: inherit; /* Hereda el color del elemento padre */
    text-decoration: none; /* Elimina el subrayado */
}
/* Diseño de los botones de navegación */
.head-buttons {
    font-family: "Arsenal SC", system-ui;
    border: none;
    color: rgb(230, 230, 230);
    background-color: black;
    padding: 14px 12px;
    margin: 0 10px;
    text-align: center;
    font-size: 17px;
    transition-duration: 0.4s;
}

.head-buttons:hover {
    background-color: rgb(230, 230, 230);
    color: black;
}

.head-buttons:hover img {
    filter: brightness(0);
}

/* Estilo para el logo */
#logo {
    color: rgb(208, 194, 226);
    font-size: 28px;
    margin: 0px;
    font-family: "Arsenal SC", system-ui;
}

/* Estilos para los íconos */
.header-icons {
    width: 42px;
    height: 42px;
    margin-right: 15px;
    cursor: pointer;
}

#cart-list {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgb(149, 149, 255);
    color: white;
    font-size: 14px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px; /* Igual al alto para centrar el texto verticalmente */
    transform: translate(-400%, 10%); /* Ajusta la posición relativa */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* Agrega un pequeño efecto de sombra */
}

.baseDropdown { 
    position: relative;
    display: inline-block;
}  

.baseDropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 130px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
    right: 15px;
    top: 49px;
    border-radius: 6px; /* Bordes redondeados opcionales */
    padding-top: 10px; /* Espacio para el triángulo */
    font-size: 15px;
    font-family: "Rokkitt", serif;
}

/* Triángulo */
.baseDropdown-content::before {
    content: "";
    position: absolute;
    top: -12px; /* Lo sube para que parezca saliendo del botón */
    right: 10px; /* Ajusta la posición del triángulo */
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent rgb(0, 0, 0) transparent; /* Triángulo negro */
}

.baseDropdown-content a {
    color: rgb(250, 250, 250);
    padding: 7px;
    padding-left: 17px;
    text-decoration: none;
    display: block;
}

.baseDropdown-content a:hover {
    background-color: rgb(235, 235, 235);
    color: black;
}

.baseDropdown:hover .baseDropdown-content{
    display: block;
}

#logout-button {
    background: none;  
    border: none;      
    color: rgb(250, 250, 250);  
    font-family: "Rokkitt", serif;
    font-size: 15px; 
    padding: 8px;
    padding-left: 14px;
    padding-right: 88px;
    margin: 0px;
    cursor: pointer;   
}

#logout-button:hover {
    background-color: rgb(235, 235, 235);
    color: black;
}



/* Alineación y estilos para la barra de búsqueda */
.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.search-input {
    width: 250px;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 15px;
    border: 2px solid #ccc;
    outline: none;
    margin-right: 10px;
}

#lupa {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

#lupa img {
    width: 35px;
    height: 35px;
}

#insta-cell{
    display: none;
}

/* Opciones adicionales para asegurar una correcta visualización en pantallas pequeñas */
@media (max-width: 768px) {
    .head-buttons {
        font-size: 15px;
        padding: 10px;
    }

    .search-input {
        width: 150px;
    }

    .header-icons {
        width: 35px;
        height: 35px;
    }
}

/*------------ Bottom ------------*/

#bottom{
    box-shadow: 0px 8px 20px 8px black; 
    background-color: black;
}

#logo-bottom{
    width: 230px;
    height: 230px;
    margin-top: 10px;
    margin-left: 7px;
}

#slogan{
    color: rgb(208, 194, 226);
    font-family: "Arsenal SC", system-ui;
    font-size: 20px;
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 15px;
}

#insta{
    width: 100px;
    height: 100px;
    background-color: black;
    margin-bottom: 10px;
}

#insta-button{
    background-color: black;
    border: none;
    color: rgb(177, 177, 177);
    padding-top: 80px;
    padding-right: 40px;
}

.column-container {
    display: flex; /* Activa flexbox */
    gap: 20px; /* Espacio entre columnas */
}

#column-0{
    flex: 1; /* Hace que las columnas ocupen el mismo espacio */
    padding-top: 10px; /* Espaciado interno */
    padding-left: 20px;
    padding-right: 20px;
}

#column-1{
    font-family: "Arsenal SC", system-ui;
    text-align: center;
    flex: 1; /* Hace que las columnas ocupen el mismo espacio */
  /* Espaciado interno */
    font-size: 23px;
    background-color: black;
    color: rgb(177, 177, 177);
}

.column {
    font-family: "Arsenal SC", system-ui;
    text-align: center;
    flex: 1; /* Hace que las columnas ocupen el mismo espacio */
    font-size: 23px;
    color: rgb(177, 177, 177);
}

.titles{
    color: white;
    font-size: 28px;
}

.mail{
    color: rgb(177, 177, 177);
    margin-left: 7px;
}

#mail-logo{
    width: 30px;
    height: 25px;
}

#phone-logo{
    margin-left: 4px;
    margin-right: 4px;
    width: 22px;
    height: 22px;
}
#insta-logo{
    margin-left: 4px;
    width: 22px;
    height: 22px;
}

#bottom-margin{
    margin-bottom: 20px;
}

#separation{
    color: rgb(235, 235, 235);
    background: rgb(235, 235, 235);
    border: none;
    height: 50px;
    margin: 0px; 
}

.mobile-trigger{
    display: none;
}

@media (max-width: 1024px) {
    html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    }

    img, video {
    max-width: 100%;
    height: auto;
    display: block;
    }

    * {
    box-sizing: border-box;
    }

    #insta-cell{
    display: block;
    }

    .column-container {
        display: flex; /* Activa flexbox */
        gap: 10px; /* Espacio entre columnas */
    }

    #column-0{
        flex: 1; /* Hace que las columnas ocupen el mismo espacio */
        padding-top: 10px; /* Espaciado interno */
        padding-left: 10px;
        padding-right: 0px;
        margin-right: 0px;
        width: 8%;
    }

    .column {
        font-family: "Arsenal SC", system-ui;
        text-align: center;
        flex: 1; /* Hace que las columnas ocupen el mismo espacio */
        font-size: 14px;
        color: rgb(177, 177, 177);
    }

    .titles{
    color: white;
    font-size: 24px;
    }

    #insta{
    display: none;
    }
    
    #insta-button{
    display: none;
    }

    #bottom{
    box-shadow: 0px 8px 20px 8px black; 
    background-color: black;
    }

    #logo-bottom{
        width: 150px;
        height: 150px;
        margin-top: 10px;
        margin-left: 7px;
    }
    
    .head-icon{
    display: none;
    }

    /* Estilo para el logo */
    #logo, #logo-ref {
        color: rgb(208, 194, 226);
        font-size: 21px;
        margin: 0px;
        font-family: "Arsenal SC", system-ui;
        display: none;
    }
    
    .head-buttons {
    font-family: "Arsenal SC", system-ui;
    border: none;
    color: rgb(230, 230, 230);
    background-color: black;
    padding: 14px 10px;
    margin: 0 0px;
    text-align: center;
    font-size: 17px;
    transition-duration: 0.4s;
    }

    header {
    background-color: black;
    color: rgb(158, 158, 217);
    font-size: 11px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    }
    

    .search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    width: 40px;
    }

    .search-input {
    width: 130px;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 15px;
    border: 2px solid #ccc;
    outline: none;
    margin-right: 10px;
    }

    .desktop-trigger{
        display: none;
    }
    .mobile-trigger{
        display: block;
        background: none;      
        border: none;         
        padding: 0;          
        margin: 0;          
    }
    /* Mostrar con hover (PC) o focus-within (móvil/click) */
    .baseDropdown:hover .baseDropdown-content,
    .baseDropdown:focus-within .baseDropdown-content {
    display: block;
    }
    #mail-logo, #phone-logo{
        margin-bottom: 3px;
    }
}

@media (max-width: 640px) {
    .column-container {
        display: flex; /* Activa flexbox */
        gap: 10px; /* Espacio entre columnas */
    }

    #column-0{
        flex: 1; /* Hace que las columnas ocupen el mismo espacio */
        padding-top: 10px; /* Espaciado interno */
        padding-left: 10px;
        padding-right: 0px;
        margin-right: 0px;
    }

    .column {
        font-family: "Arsenal SC", system-ui;
        text-align: center;
        flex: 1; /* Hace que las columnas ocupen el mismo espacio */
        font-size: 14px;
        color: rgb(177, 177, 177);
    }

    .titles{
    color: white;
    font-size: 24px;
    }

    #insta{
    display: none;
    }
    
    #insta-button{
    display: none;
    }

    #bottom{
    box-shadow: 0px 8px 20px 8px black; 
    background-color: black;
    }

    #logo-bottom{
        width: 100px;
        height: 100px;
        margin-top: 10px;
        margin-left: 7px;
    }
    
    .head-icon{
    display: none;
    }

    /* Estilo para el logo */
    #logo {
        color: rgb(208, 194, 226);
        font-size: 21px;
        margin: 0px;
        font-family: "Arsenal SC", system-ui;
        display: none;
    }
    
    .head-buttons {
    font-family: "Arsenal SC", system-ui;
    border: none;
    color: rgb(230, 230, 230);
    background-color: black;
    padding: 14px 5px;
    margin: 0 0px;
    text-align: center;
    font-size: 15px;
    transition-duration: 0.4s;
    }

    header {
    background-color: black;
    color: rgb(158, 158, 217);
    font-size: 11px;
    padding: 0px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    }
    

    .search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    width: 30px;
    }

    .search-input {
    width: 100px;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 10px;
    border: 2px solid #ccc;
    outline: none;
    margin-right: 10px;
    }

    .desktop-trigger{
        display: none;
    }
    .mobile-trigger{
        display: block;
        background: none;      
        border: none;         
        padding: 0;          
        margin: 0;  
    }

    .header-icons {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    cursor: pointer;
    }
    /* Mostrar con hover (PC) o focus-within (móvil/click) */
    .baseDropdown:hover .baseDropdown-content,
    .baseDropdown:focus-within .baseDropdown-content {
    display: block;
    }
    #lupa{
        display: none;
    }
    #cart-list {
        font-size: 13px;
        width: 18px;
        height: 18px;
    }
    .number{
        font-size: 15px;
    }
    #user.header-icons{
        margin-right: 2px;
    }
}

@media (max-width: 460px) {
    .search-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        margin-left: 180px;
        margin-bottom: 5px;
    }
    .search-input {
        width: 200px;
        height: 30px;
        font-size: 15px;
    }
    header {
        padding-bottom: 5px;
    }
    #logazo{
        width: 330px;
        height: 330px;
    }
    #logo-bottom{
        width: 55px;
        height: 55px;
        margin-top: 10px;
        margin-left: 7px;
    }
    #column-0{
        font-size: 10px;
    }
    #mail-logo{
        width: 22px;
        height: 21px;
        padding-bottom: 4px;
    }
    #phone-logo{
        width: 15px;
        height: 15px;
        margin-bottom: 3px; 
        margin-left: 2px
    }
    #insta-logo{
        width: 15px;
        height: 15px;
        margin-bottom: 3px; 
        margin-left: 2px
    }
    #slogan{
       font-size: 15px;
       margin-bottom: 55px;
    }
     .titles{
    font-size: 20px;
    }

    .images img{
        width: 300px;
        height: 300px;
    }
     #cart-list {
        transform: translate(-400%, 200%); /* Ajusta la posición relativa */
    }
    .number{
        font-size: 10px;
    }
    .head-buttons{
        font-size: 15px;
    }
}

@media (max-width: 344px) {
    .search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    margin-left: 180px;
    }
    .search-input {
        width: 150px;
    }
    .search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    width: 30px;
    margin-left: 80px;
    }
    #logazo{
        width: 260px;
        height: 260px;
    }
    #logo-bottom{
        display: none;
    }
    #slogan{
       display: none;
    }
    #mail-logo{
        margin-top: 200px;
        max-width: none;
    }
    .number{
        width: 100px;
    }
    .images img{
        width: 280px;
        height: 280px;
    }
    #column-0{
        width: 0px;
        padding: 0px;
        margin: 0px;
        gap: 0px;
        flex: 0;
    }
    .mail{
    margin-left: 15px;
    }

}