/*ROOT*/
:root {
    --league-spartan: 'League Spartan', sans-serif;
    --great-vibes: 'Great Vibes', cursive;
    --mocha-muse: #a47864;
    --white: #fff;
    --orange: orange;
    --purple: #7e5e91;
    --cafecito: #cab7af;
    --verde:#aca17d;
    --rosita: #d2a99f;
}
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "League Spartan", serif;
}
/* ---------------------- NAVBAR ---------------------- */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: var(--white); /* Transparente */
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
} 
.navbar img {
    height: 70px; /* Logo */
    cursor: pointer;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center; /* Alineación vertical de los ítems */
}
.navbar ul li a {
    text-decoration: none;
    color:black;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px; /* Ajuste de tamaño para mejor alineación */
    text-transform: uppercase;
    position: relative;
}
/* Iconos de Lordicon */
.navbar ul li a .lord-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Estilo para el contador del carrito */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: orange;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
/* ---------------------- MENÚ HAMBURGUESA ---------------------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    height: 60px;
    width: auto;
}
.menu-toggle i{
    font-size: 30px;
}
/* ---------------------- ESTILO FOOTER ---------------------- */
footer {
    position: relative;
    color: white;
    text-align: center;
    background-color: var(--verde);
    width: 100%;
    height: 100%;
    padding: 5px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    flex-direction: column;
}
.footer-container h4 {
    font-size: 24px;
    padding: 5px;
    font-weight: 300;
}
.icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: row;
    align-items: center;
}
.icons a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}
.icons a:hover {
    color: orange;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: white;
    font-weight: 300;
}
/* Burbuja de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    align-items: center;
    bottom: 20px;
    right: 20px;
    background-color: #23d366;
    padding: 5px;    
    border-radius: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    cursor: pointer;
}
/*---------------------- HOME ---------------------- */
.product-detail {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    padding-top: 110px; /* Ajuste para dejar espacio al menú */
}
/* ---------------------- IMÁGENES PARA ESCRITORIO ---------------------- */
.desktop-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.desktop-thumbnails img {
    width: 110px;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.desktop-thumbnails img:hover {
    transform: scale(1.1);
}
.thumbnail-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    background-color:  transparent;
}
#mainImg {
    width: 470px;
    max-width: auto; /* Ajuste de tamaño para la imagen principal */
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#mainImg:hover {
    transform: scale(1.05);
}
/* ---------------------- SLIDER SOLO PARA RESPONSIVE ---------------------- */
.image-slider {
    display: none; /* Oculto en escritorio */
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    margin: auto;
}
.image-slider img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
}
/* Flechas de navegación */
.image-slider .prev, 
.image-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}
.image-slider .prev:hover, 
.image-slider .next:hover {
    background: rgba(0, 0, 0, 0.397);
}
/* Posición de las flechas */
.image-slider .prev {
    left: 10px;
}
.image-slider .next {
    right: 10px;
}
/* Contador de imágenes */
#image-counter {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    margin-top: 10px;
    color: var(--mocha-muse);
    display: none; /* Oculto en escritorio */
}
/*LADO DERECHO*/
.product-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn{
    padding: 10px;
    background: var(--mocha-muse);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.btn:hover {
    background: var(--white);
    color: var(--mocha-muse);
}
.btn-pack {
    display: none;
}
.price-btn{
    padding: 10px;
    background: white;
    color: orange;
    border: none;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 10px;
}
.product-info h2{
    font-size: 48px;
    font-family: var(--great-vibes);
    color: var(--orange);
}
.expanded {
    width: 90%;
    max-width: 450px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255, 255, 255);
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    border-radius: 10px;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
}
/* Asegúrate de que el contenedor de los detalles esté visible */
#package-details {
    display: block;  /* Aseguramos que esté visible */
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

#package-details ul {
    list-style-type: none;
    padding: 0;
    font-weight: 300;
    color: black;
}
.package-info strong {
    font-size: 20px;
    color: black;
    font-weight: 300;
}
#currency-toggle-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#currency-toggle {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
label {
    font-weight:300;
    cursor: pointer;
    font-size: 20px;
}
/* ---------------------- FORMAS DE PAGO ---------------------- */
.payment-options {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.payment-options h3 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--mocha-muse);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.payment-icons img {
    width: 100px;  /* Tamaño de los íconos */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.payment-icons img:hover {
    transform: scale(1.1);
}
/* POPUP ESTILO */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .popup-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    animation: popup-fade 0.3s ease;
  }
  
  .popup-content button {
    margin-top: 20px;
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .popup-content button:hover {
    background-color: var(--mocha-muse);
  }
  
  @keyframes popup-fade {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
    /* Por defecto: color original */
.responsive-icon {
    filter: none;
}
/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }
    .responsive-icon {
        filter: brightness(0) invert(1);
      }
    .navbar ul li a {
        color:white;
    }
    .navbar ul.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        text-align: center;
    }
    .product-detail {
        flex-direction: column;
        text-align: center;
    }
    .thumbnail-images {
        flex-wrap: wrap;
    }
    .product-info {
        width: 100%;
        padding: 10px;
    }
    .share-options lord-icon{
        justify-items: normal;
    }
    .thumbnail-images {
        display: none; /* Oculta las miniaturas */
    }

    .image-slider {
        display: flex; /* Activa el slider */
    }

    #image-counter {
        display: block; /* Muestra el contador en responsive */
    }
}
