/* ESTILOS PARA LA PÁGINA DRONE_REEDS.HTML ******************** */
*{
    overflow-y: hidden;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Esto asegura que la página ocupe al menos la altura completa de la ventana */
    background-color: #fff;
}

main {
    flex: 1; /* El contenido principal ocupará el espacio restante */
}

.drone-reeds {
    display: grid;
    grid-template-columns: 1.5fr 2fr; /* Dos columnas: una para la galería y otra para el texto */
    grid-template-rows: auto auto; /* Dos filas: una para imagen y texto, otra para la compra */
    grid-template-areas:
        "image text"       /* Galería e información textual en la misma fila */
        "purchase-info text"; /* Información de compra debajo de la galería */
    gap: 1px;
    padding: 15px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto auto 30px; 

}

.drone-reeds-image,
#chanter-reed-gallery,
#template-reed-CO-gallery {
    grid-area: image;
    position: relative;   
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(88, 88, 88, 9);
    width: 100%;
    max-width: 450px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
}

#chanter-reed-gallery,
#template-reed-CO-gallery {
    margin-left: 0%;
}

.drone-reeds-image img,
#chanter-reed-gallery img,
#template-reed-CO-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in; /* Cambia el cursor a una lupa */
}

.drone-reeds-image .arrow,
#chanter-reed-gallery .arrow,
#template-reed-CO-gallery .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4em;
    color: white;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    border-radius: 50%;
    opacity: 0.7;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.drone-reeds-image .arrow.left,
#chanter-reed-gallery .arrow.left,
#template-reed-CO-gallery .arrow.left {
    left: 10px;
}

.drone-reeds-image .arrow.right,
#chanter-reed-gallery .arrow.right,
#template-reed-CO-gallery .arrow.right {
    right: 10px;
}

.drone-reeds-image .arrow:hover,
#chanter-reed-gallery .arrow:hover,
#template-reed-CO-gallery .arrow:hover {
    transform: scale(1.2) translateY(-50%);
    opacity: 1;
}

/* Contenedor para la información de compra (stock, precios, botón) */
.purchase-info {
    grid-area: purchase-info;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color:bisque;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(88, 88, 88, 0.7);
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

.stock {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
    padding-left: 10px;
}

.stock label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #686868;
    font-size: 0.9rem;
    margin-right: 1px;
}

.stock input {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #5d5d5d;
    font-size: 0.9rem;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #bdbdbd;
    text-align: right;
    width: 30px;
    height: 20px;
}

.prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 2%;
    color: #686868;
    line-height: 1.5;
    width: 100%;
    font-size: 1rem;
    overflow-y: hidden;
}

.price-highlight {
    font-weight: bold;
    font-size: 1.1rem;
    color: #196f3d;
}

.purchase-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0vh;
    padding-bottom: 2vh;
    padding-left: 10px;
}

.button {
    display: inline-block;
    padding: 5px 15px;
    margin-top: 5%;
    font-size: 1rem;
    color: #fff;
    background-color: #21618c;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    background-color: #2e86c1;
    transform: scale(1.1);
}

.button-disabled {
    background-color: #747373; /* Cambia el color de fondo a un gris claro */
    color: #cacaca; /* Cambia el color del texto a un gris más oscuro */
    cursor: not-allowed; /* Cambia el cursor para indicar que está deshabilitado */
    pointer-events: none; /* Evita que el botón sea clickeado */
    opacity: 0.6; /* Añade un poco de transparencia para el efecto deshabilitado */
}

.paypal-icon {
    margin-top: auto;
    margin-left: 15px;
    font-size: 1.5em;
    color: #21618c;
}

.paypal-icon:hover {
    color: #2e86c1; /* Color más claro al hacer hover */
    transform: scale(1.15);
}

.paypal-icon-disabled{
    color: #747373;; 
    cursor: not-allowed; 
    pointer-events: none; 
    opacity: 0.6; 
}

/* Estilos del texto descriptivo */
.drone-reeds-description {
    grid-area: text;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
    color: #6d6d6d;
    border:0.5px solid #a8a8a8;
    border-radius: 10px;
    line-height: 1.6;
    background-color:gainsboro;
    box-shadow: 5px 5px 15px rgba(88, 88, 88, 0.7);
    padding: 20px;
    margin-top: -10px;
    text-align:left;
    overflow-y: hidden;
}

.drone-reeds-description ul {
    list-style: none;
    padding-left: 20px;
    position: relative;
}

.drone-reeds-description ul li::before {
    content: "•";
    color: #6d6d6d;
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1.2;
}

.drone-reeds-description ul li {
    margin-left: 1.5em;
    position: relative;
    padding-left: 10px;
    overflow-y: hidden;
}

.drone-reeds-description a {
    color: #721f49;
    text-decoration: none;
}

.drone-reeds-description a:hover {
    text-decoration: none;
    cursor: pointer;
}

.title {
    color: #690d0e; 
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

.bold-text {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

/*Estilos home icon-supplies*/
.home-icon-wrapper-supplies {
    position: fixed;
    top: 10%; 
    right: 30px !important; /* Ajuste más controlado con px */
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 11;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: visible; /* Asegura que el contenedor del icono no tenga overflow que interfiera */
}

.tooltip-text-supplies {
    visibility: hidden;
    width: 120px;
    background-color: rgb(252, 249, 249);
    color: rgb(114, 19, 19);
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    top: 0px; /* Ajusta para que el tooltip aparezca fuera del borde */
    right: 115px;
    transform: translateX(50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 12;
}

.home-icon-wrapper-supplies:hover .tooltip-text-supplies {
    visibility: visible;
    opacity: 1;
}

.home-icon-supplies {
    font-size: 23px;
    color: #444;
    text-decoration: none;
}

.home-icon-supplies:hover {
    color: #707070;
}

.home-icon-wrapper-supplies:hover {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
}


/* ==== Modal USA Price ==== */
/*Boton click here --- USA Price*/
.usa-price-link {
    cursor: pointer;
    text-decoration: none;   /* Sin subrayado */
    color: #196f3d;          /* El verde original de tu web */
    transition: color 0.2s ease;
}

/* Efecto hover Boton click here --- USA Price */
.usa-price-link:hover {
    color: #7a7a7a;          /* Gris elegante en hover */
}


/* Fondo oscuro detrás del modal */
#usa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 900; /* por encima del contenido normal */
}

/* Caja del modal */
#usa-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    max-width: 420px;
    width: 90%;
    background: #f6f2ea; /* tono claro tipo pergamino, acorde con la web */
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    border-top: 6px solid #a8979c; /* mismo tono que la barra de notificación */
    padding: 1.4rem 1.6rem 1.2rem;
    opacity: 0;
    pointer-events: none;
    z-index: 910;
}

/* Estado visible (se usará con JS) */
#usa-modal.visible {
    pointer-events: auto;
    animation: usaModalSlideDown 0.6s ease-out forwards;
}

/* Mostrar/ocultar overlay */
#usa-modal-overlay.visible {
    display: block;
}

/* Cabecera y texto dentro del modal */
#usa-modal h2 {
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
    color: #333;
}

#usa-modal p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

/* Botón de cierre (cruz) */
.usa-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #5c4b45; /* tono marrón suave */
    line-height: 1;
    padding: 0;
}

.usa-modal-close:hover {
    transform: scale(1.1);
}

/* Animación: baja desde arriba y se queda en el centro */
@keyframes usaModalSlideDown {
    from {
        transform: translate(-50%, -80%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}
/* Fin estilos modal USA Price */

