body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ccc 0%,);
    position: relative;
    min-height: 100vh;
}


header {
    padding: 20px;
    background: linear-gradient(to right, rgb(87, 92, 237), rgba(106, 0, 255, 0.719));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: fit-content;
    color: white;
    }

h3{
    margin: 15px 0;
}

.banner h1 {
    margin: 0;
    color: white;
    margin-left: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

ul{
    padding: 5px;
    margin-bottom: 0px;
}

.CategoriasTitular{
    margin: 0px;
}

.OtrasOpciones{
    margin: 0px;
}

.OtrasOpciones li{
    cursor: pointer;
}


nav li{
    margin: 0 20px;
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s ease;
}

nav a:hover { 
    color: #ffd700;
}


.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

}

.navegacion{
    margin: auto;
    margin-left: 300px;
}

.search-bar button {
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 8px 15px;
    background-color: coral;
    color: white;
    cursor: pointer;
    height: 32px;
}

.search-bar button:hover {
    background-color: blueviolet;
}

.search-bar input {
    border: none;
    border-radius: 20px 0 0 20px;
    padding: 8px 15px;
    background-color: white;
    
}


main{
    display: flex;
    gap: 15px;
    padding: 15px;
    flex: 1;
    background-color: lightgrey;
}


aside {
    padding: 15px;
    border-radius: 10px;
}

.categories, .cart { /* Selector para .categories y .cart */
    flex: 1;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); /* Fondo gradiente */
    padding: 15px; /* Padding interno */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra */
    
}

.MenuOptions
{

}

.opcionesExtraHamburguer
{
display: none;

}


/*.categories {
    background-color: rgb(21, 181, 165);
    width: 15%;
}*/

/*.MenuOptions{
    list-style: none;
    padding: 0%;
}*/

/*.cart {
    background-color: rgb(21, 181, 165);
    width: 15%;
}*/

/*.cart-items {
    list-style: none;
    padding: 0;
}*/



.gallery{
    flex: 5; /* Ocupa el espacio restante */
    background-color: #fff; /* Fondo blanco */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra */
    padding: 20px; /* Padding interno */
}


h2{
    text-align: center;
}


.contenedorcentral{
width: 60%;
display: inline-block;
background-color: white;
padding: 15px;
border-radius: 10px;

}


.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    border-color: black;
    border-radius: 10px;
    gap: 10px;
}

.product{
    background-color: rgba(128, 128, 128, 0.118);
    width: 210px;
    border: 2px solid rgba(128, 128, 128, 0.413);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.product:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}

.ropa{
    background-color:antiquewhite;
}

.deportes{
    background-color: beige;
}

.hogar{
    background-color: blanchedalmond;
}

.electronica{
    background-color: rgb(244, 236, 208);
}

h3{
    font-weight: 900;
}


.product img {
    width: 120px;
    height: 120px;
    object-fit: cover;   /* recorta la foto sin deformar */
    border-radius: 8px;
    border: 1px solid #ccc;
}

 
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 28px;
  border: 4px solid;
  border-color: transparent;
  font-size: 14px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  margin-top: 42px;
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* CSS */
.button-34 {
  background: #5E5DF0;
  border-radius: 999px;
  box-shadow: #5E5DF0 0 10px 20px -10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 6px 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
}

#cartIcon {
    display: none;
    width: 28px;
    height: 28px;
    position: fixed;
    top: 12px; 
    right: 60px; 
}

.site-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(to right, rgb(87, 92, 237), rgba(106, 0, 255, 0.719));
    color: white;
}

.site-footer a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffd700;
}

.mobile-footer {
    display: none;
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 84px;
    }

    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        gap: 8px;
        padding: 10px 8px;
        background: linear-gradient(to right, rgb(87, 92, 237), rgba(106, 0, 255, 0.95));
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }

    .footer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 46px;
        font-size: 0.72rem;
        color: white;
        text-decoration: none;
        font-weight: 700;
    }

    .footer-icon {
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
    }

    .footer-icon svg {
        width: 22px;
        height: 22px;
        fill: white;
    }
}

.hamburger-check{
    display: none;
}

.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.hamburger span{
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger-check:checked ~ main .categories {
    left: 0; /* Mueve el menú desde -50% a 0 (visible) */
}

.hamburger-check:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px); /* Rota y mueve la primera línea */
}

.hamburger-check:checked + .hamburger span:nth-child(2) {
    opacity: 0; /* Desaparece la línea del medio */
}

.hamburger-check:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px); /* Rota y mueve la tercera línea */
}


@media (max-width: 1024px)
{

.hamburger{
    display: flex;
}

.cartIcon{
    display: inline;
}


header
    {
        position: sticky;
        top: 0;
        z-index: 1000;
    }  
    nav ul
    {
        display: none;
    }


    .MenuOtherOptions
    {
        display:block;    
    }

    main {
        flex-direction: column; /* Cambia el layout a columna */
        position: relative; /* Necesario para el posicionamiento del menú */
    }

.categories{
    position:fixed;
    left: -50%;
    height: 100vh;
    width: 25%;
    transition: left 0.3s ease;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    transition: left 0.3s;
    z-index: 999;
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
}

.opcionesExtraHamburguer
{
display: block;

}

.gallery{
    flex: 1;
}

.cart{
    flex: 1;
}


.OtrasOpcionestitular{
    margin: 20px 0px 0px 0px;
}

}

.cuadro-tipo-cambio {
    position: relative;
    width: 200px;
    min-height: 130px;
    color: #333;
    background-color: #171bdd71;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
}
.cuadro-tipo-cambio.expandido {
    max-height: 400px;
}



@media(max-width: 1038px){
    .menuHorizontal{
        display: none;
    }
    .categories{
        width: 36%;
    }
    .cuadro-tipo-cambio {
    width: 100%;
    max-width: 200px; 
    box-sizing: border-box;
}
    

    
}

@media (max-width: 518px) {
    .products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .categories {
        width: 36%;
    }

.cuadro-tipo-cambio {
    width: 120px;
    max-width: 300px; /* o el ancho máximo que necesites */
    box-sizing: border-box;
}
.cuadro-tipo-cambio.expandido {
    max-height: 400px;
}

.buttonCambio {
    width: 80px; 
        }


}



        .buttonCambio {
        padding: 10px 15px;
        font-size: 16px;
        font-family: Arial, sans-serif;
        font-weight: bold;
        }


         .resultado-tipo-cambio ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
            font-size: 12px;
            color: #ffffff;
            font-weight: bold;
        }

        #estadoTipoCambio{
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .btnCerrar {
        position: absolute;
        top: 10px;
        right: 10px;
        border: none;
        background: transparent;
        color: white;
        font-size: 18px;
        cursor: pointer;
      }
    