:root {
    --primary-color: #ddad3e; 
    --secondary-color: #2ecc71; 
    --text-color: #f7f7f7; 
    /* --background-color: #3b3b3b; */
    --background-color: #212121;
}

html {
    font-size: 10px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body {
    font-size: 1.6rem;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%; 
    margin: 0 auto;
    overflow-x: hidden;
}

.hamburger {
    display: none;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}
#nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}



/* Estilos de navegación */
.layout__nav {
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: rgba(59, 59, 59, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    
    
}

.layout__nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: -13rem;
    font-size: 1.4rem;
    
}

.layout__nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
    font-weight: 600;
}

.layout__nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
    font-weight: 600;
}

.nav__logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    
}

.nav__logo img {
    width: 4rem;
    height: 4rem;
}

.nav__redes {
    display: flex;
    gap: 2rem;
    
}

.nav__redes i {
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
}

.nav__redes i:hover {
    color: var(--primary-color);
    transform: scale(1.5);
}



/* Estilos del Hero Section */



/* Footer */
.footer {
    background-color: #212121; 
    color: #f7f7f7; 
    padding: 2rem;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 2rem;
}

.footer__social a {
    color: #f7f7f7;
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

.footer__social a:hover {
    color: var(--primary-color); 
    transform: scale(1.1);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact p {
    margin: 0;
    font-size: 1.4rem;
}

.footer__contact i {
    margin-right: 0.5rem;
}
.footer__link{
    font-size: 1.6rem;
}

.footer__credits {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #bbb;
}

.footer__credits p {
    margin: 0;
}

.contact__title{
    margin: 1rem;
}
/* Menu Acordeones */
.main{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.container__title{
    margin-top: 8rem;
}

.cromaticos__title{
    color: var(--primary-color);
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.cromaticos__lista{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    
}
.cromaticos__item{
    width: 120px;
    background-color: #2c2c2c;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 300ms ease-in-out;
    font-weight: 600;
    
}
.cromaticos__item:hover{
    background-color: var(--text-color);
    color: var(--background-color);
    padding: 0.5rem;
    border-radius: 5px;
    transform: scale(1.1);
}
.diatonicos__title{
    color: var(--primary-color);
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.en-tercera__container{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 5rem 2rem;
    margin-top: 2rem;
    

}
.vendidos__container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem 2rem;
    margin-top: 2rem;
    align-items: center;
}

/* card */ 

.card {
    --bg-card: #27272a;
    --primary: #6d28d9;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);


  
    position: relative;
    overflow: hidden;
  
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  
    padding: 1rem;
    width: 30rem;
    height: 603px;
    background-color: var(--bg-card);
  
    border-radius: 1rem;
    transition: all 100ms ease-in-out;
  }
  .card:hover{
    box-shadow: 0px 0px 12px rgb(92, 90, 90);
    /* transform: scale(1.02); */
  }

  .card__vendido{
    --bg-card: #27272a;
    --primary: #6d28d9;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
  
    position: relative;
  
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  
    padding: 1rem;
    width: 30rem;
    height: 565px;
    background-color: var(--bg-card);
  
    border-radius: 1rem;
  }
  .link{
    width: 100%;
  }

  .card__vendido:hover{
    box-shadow: 0px 0px 12px rgb(92, 90, 90);
    /* transform: scale(1.03); */
  }
  
  .image_container {
    overflow: hidden;
    cursor: pointer;
  
    position: relative;
    z-index: 5;
  
    width: 100%;
    height: 100%;
    
    background-color: var(--primary-color);
  
    border-radius: 0.5rem;
  }
    
  .image_container .image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  
    width: 100%;
    height: 100%;
    object-fit: cover;
    
  }
  .description__title{
    color: var(--primary-color);

  }
  .description__text-chico{
    font-size: 14.5px;
    text-align: left;
  }
  .description__text{
    font-size: 1.5rem;
    text-align: left;
  }
  .title {
    overflow: clip;
  
    width: 100%;
  
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    text-transform: capitalize;
    text-wrap: nowrap;
    text-overflow: ellipsis;
  }
  
  .size {
    font-size: 0.75rem;
    color: var(--light);
  }
  
  .list-size {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  
    margin-top: 0.25rem;
  }
  
  .list-size .item-list {
    list-style: none;
  }
  
  .list-size .item-list-button {
    cursor: pointer;
  
    padding: 0.5rem;
    background-color: var(--zinc-800);
  
    font-size: 0.75rem;
    color: var(--light);
  
    border: 2px solid var(--zinc-800);
    border-radius: 0.25rem;
  
    transition: all 0.3s ease-in-out;
  }
  
  .item-list-button:hover {
    border: 2px solid var(--light);
  }
  .item-list-button:focus {
    background-color: var(--primary);
  
    border: 2px solid var(--primary-shadow);
  
    box-shadow: inset 0px 1px 4px var(--primary-shadow);
  }
  
  .action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    
  }
  
  .price {
    margin-bottom: 1px;
    width: 100%;
    font-size: 1.5rem;
    background-color: var(--primary-color);
    font-weight: 600;
    color: var(--background-color);
    padding: 0.2rem;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 0.25rem 1px var(--primary-color);
  }
  .consultar{
    margin-bottom: 1px;
    width: 100%;
    font-size: 1.5rem;
    background-color: var(--primary-color);
    font-weight: 600;
    color: var(--background-color);
    padding: 0.2rem;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 0.25rem 1px var(--primary-color);
  }
  
  
  .cart-button {
    cursor: pointer;
  
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
  
    padding: 0.5rem;
    width: 100%;
    background-image: var(--text-color);
  
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--background-color);
    text-wrap: nowrap;
  
    border: 2px solid var(--text-color);
    border-radius: 5px;
    box-shadow: inset 0 0 0.25rem 1px var(--light);
  }
  
  .cart-button .cart-icon {
    width: 1.5rem;
    font-weight: 600;

  }




/* precio oferta y contador */


.offer-banner {
    position: absolute;
    width: 280px;
    top: 240px;
    left: 10px;
    background-color: rgba(68, 66, 66, 0.9);
    color: white;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* .offer-banner2 {
    position: absolute;
    width: 190px;
    top: 250px;
    left: 5px;
    
    color: white;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: left;
    z-index: 10;
} */

.offer-content {
    text-align: center;
}



.countdown {
    margin-top: 0px;
    font-size: 14px;
    font-weight: 600;
}

/* .super-oferta{
    color: var(--secondary-color);
    font-weight: bold;
} */

.countdown-wrapper {
    display: flex;
    align-items: end;
    font-size: 15px;
    font-weight: 600;
    margin-top: 0px;
}

.countdown-wrapper span {
    margin-right: 10px;
}

/* escarapela flotante */
.floating-escarapela {
    position: fixed; /* Para mantenerlo flotando sobre la página */
    bottom: 20px; /* Ajusta la posición vertical */
    right: 20px; /* Ajusta la posición horizontal */
    z-index: 1000; /* Asegura que esté por encima del slider */
}

.floating-escarapela img {
    width: 90px; /* Ajusta el tamaño del logo */
    height: auto;
    filter: drop-shadow(10px 10px 10px black);
}


/* Rating Star */
.rating {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 10;
    color: var(--text-color);
    /* background-color: rgba(56, 56, 56, 0.5); */
    padding: 3px 3px;
    border-radius: 4px;
    font-size: 16px; /* Ajusta el tamaño según necesites */
}

.half-star-container {
    position: relative;
    display: inline-block;
}

.half-star {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    overflow: hidden;
}

.half-star .fas.fa-star {
    position: relative;
    left: 0;
}

.rating i {
    margin-right: 2px; /* Espacio entre estrellas */
}

/* Bordes card */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0px 5px rgba(68, 248, 51, 0.6);
    }
    50% {
        box-shadow: 0 0 5px 5px rgb(255, 251, 0);
    }
    100% {
        box-shadow: 0 0 0px 5px rgba(68, 248, 51, 0.6);
    }   
}

.oportunidad {
    border: 1px solid transparent; /* Base */
    border-radius: 10px; /* Redondez */
    box-shadow: 0 0 0px 5px rgba(68, 248, 51, 0.6); /* Difuminado verde */
    animation: pulse 2s infinite; /* Aplica la animación */
    transition: transform 0.3s ease-in-out;
}

.oportunidad:hover {
    transform: scale(1.05); /* Efecto de agrandamiento al pasar el mouse */
}




  
  
  

    
/* RESPONSIVE */



/* Para pantallas de 768px o menos */

@media (max-width: 768px) {
/* Ocultar el menú y mostrar el botón de hamburguesa */
.hamburger {
    display: block;
}

.nav-menu {
    display: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Al hacer clic en la hamburguesa se abrirá el menú */
.nav-menu.open {
    display: flex;
}

/* Ajuste de logo y espaciado */
.nav__logo {
    font-size: 1.8rem;
}

.layout__nav {
    padding: 1rem;
}
}



/* Para pantallas de 768px o menos */
@media (max-width: 768px) {

.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}

.footer {
    padding: 1rem;
    font-size: 1.2rem;
}

.footer__social {
    font-size: 1.8rem;
}

.footer__contact p, .footer__credits p {
    font-size: 1.1rem;
}

.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}
.text-overlay h1 {
    font-size: 1.8rem;
    
}

.text-overlay h2 {
    font-size: 2.5rem;
}
.text-overlay h3 {
    font-size: 1.8rem;
}
}

/* Para pantallas de 480px o menos */
@media (max-width: 480px) {

html {
    font-size: 10px;
}



#nav-menu{
    display: none;
}

#nav-menu.open {
    display: block; 
}
.footer p{
    font-size: 1.5rem;
}
.category-card{
    height: 18rem;
}
.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}

.en-tercera__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card{
    width: 95%;
    height: 718px;
}

.card__vendido{
    width: 95%;
    height: 625px;
}

/* precio oferta y contador */


.offer-banner {
    
    width: 100%;
    top: 300px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    
    
}

/* escarapela flotante */
.floating-escarapela {
    
    bottom: 15px; /* Ajusta la posición vertical */
    right: 15px; /* Ajusta la posición horizontal */
    
}

.floating-escarapela img {
    width: 60px; /* Ajusta el tamaño del logo */
    height: auto;
    
}

/* .offer-banner2 {
    position: absolute;
    width: 200px;
    top: 315px;
    left: 5px;
    
    color: white;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: left;
    z-index: 10;
} */

.maps {
  width: 300px;
  margin: 0 auto; /* centra horizontalmente */
  display: block; /* necesario para que margin funcione */
  border-radius: 15px;
}


}
