/* El Buen Fin */
.el-buen-fin img {
    margin: 0 auto;
    display: block;
    max-width: 380px;
    transition: 0.25s;
}

.el-buen-fin a:hover img {
    width: 390px !important;
    transform: scale(1.04);
    opacity: 0.7;
}

/* Variables */
:root {
    --primario: #fc0069;
    --black: #000;
    --gris-claro: #F6F6F6;
    --black33: rgba(0,0,0,0.33);
    --paypal-btn: #ffce00;
    --oro: #D9B950;
    --oro-light: #FAF2A6;
    --oro-dark: #987F37;
    --trans: ease-in-out all 0.25s;
    --br3: 3px;
    --linea: 0.7px solid rgba(0, 0, 0, .2);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5; /* Fondo light-gray */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; /* Espacio para el header fijo */
}

.color-primario {color: var(--primario) !important;}

/* Header fijo */
.btn-back {
    z-index: 999;
}

.header-nav-icon {
    color: white;
    transition: 0.2s ease-in-out all;
    text-decoration: none;
    /* padding: 3px 12px; */
}
.header-nav-icon:hover {
    opacity: 0.6;
}
.header-nav-icon .material-symbols-outlined {
    font-size: 2rem;
}

/* Sub-header */
.sub-header {
    display: flex;
    align-items:center;
    justify-content: end;
    top: 50px;
    position: fixed;
    background-color: var(--paypal-btn);
    height: 22px;
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    font-weight:500;
    padding-right: 12px;
    z-index: 999;
}

/* botón flotante envío gratis */
.floating-badge {
    position: fixed;
    top: 40px;
    left: 20px;
    width: 85px;
    height: 85px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-badge img {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.btn-home {
    margin-right: 80px;
    z-index: 999;
}

.btn-comprar, .btn-faqs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    z-index: 1;
    padding: 0;
}
.btn-comprar {
    background: #ffd140;
    padding: 2px 10px;
    color: black;
    border-radius: 20px;
    font-weight: bold;
}

.btn-faqs {
    margin-right: 35px;
}
.btn-comprar img {
    padding-right: 3px;
}

.fixed-header {
    position: fixed;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fc0069 0%, #da007c 100%);
    color: white;
    text-align: center;
    padding: 5px 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-buttons-right {
    display: flex;
}

.fixed-header h1 {
    position: absolute;
    width: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 0;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    padding: 20px;
}

.tutubik-logo-blanco img {
    width: 100%;
    max-width: 80px;
    transition: 0.2s ease-in-out all;
}

.tutubik-logo-blanco img:hover {
    opacity: 0.6;
}

.image-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animación de aparición */
.image-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efecto hover sutil */
.image-card:hover img {
    transform: scale(1.02);
}

.image-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.mensaje {
    text-align: center;
}

/* -------------------- */
/* WHATSAPP/MESSENGER botón flotante ---------------------------- */
/* -------------------- */
/* Estilos generales del botón flotante */
.whatsapp-float, .messenger-float {
    position: fixed;
    bottom: 25px; /* Distancia desde la parte inferior */
    right: 15px;  /* Distancia desde la parte derecha */
    z-index: 1000; /* Para asegurarse de que esté encima de otros elementos */
}

.messenger-float {
    bottom: 20px; /* Distancia desde la parte inferior */
}

.whatsapp-float a, .messenger-float a {
    display: block;
    width: 75px;
    height: 75px;
    padding: 5px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255,255,255,0.6);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover, .messenger-float a:hover {
    transform: scale(1.1);
    background-color: var(--orodedalo);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

/* Estilo del SVG dentro del botón */
.whatsapp-float .whatsapp-icon {
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    content: url("../images/whatsapp-icon.svg");
}

/* Cambiar la imagen en hover */
.whatsapp-float a:hover .whatsapp-icon {
    content: url("../images/whatsapp-icon-hover.svg");
    opacity: 0.9; /* Leve transparencia al hover */
}


/* Estilo del SVG dentro del botón */
.messenger-float .messenger-icon {
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    content: url("../images/messenger-icon.svg");
}

/* Cambiar la imagen en hover */
.messenger-float a:hover .messenger-icon {
    content: url("../images/messenger-icon-hover.svg");
    opacity: 0.9; /* Leve transparencia al hover */
}

footer {
    /* color: var(--primario); */
    display: inline-flex;
    position: relative;
    color: #a0a0a0;
    margin: 20px auto 20px 15px;
}

footer small {
    margin-left: 10px;
    display: flex;
    align-items:end;
    justify-content: start;
}

footer small a {
    color: var(--primario);
    text-decoration: none;
}
footer small a:hover {
    opacity: 0.5;
}

footer small .material-symbols-outlined {
    bottom: -8px;
    position: relative;
}

.socialmedia-icons {
    padding: 5px;
    display: inline-block;
    transition: opacity 0.3s ease; /* Transición suave */
    border-radius: 4px; /* Opcional: esquinas redondeadas */
}

.socialmedia-icons:hover {
    opacity: 0.5;
}

footer .socialmedia-icons img {
    width: 100%;
    max-width: 20px;
}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* Responsividad */
@media (max-width: 768px) {
    .fixed-header h1 {
        font-size: 1.5rem;
    }
    
    .container {
        gap: 15px;
    }
    
    .image-card {
        padding: 12px;
    }
    
    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    /* botón flotante envío gratis */
    .floating-badge {
        top: inherit;
        bottom: 10px;
        left: 10px;
    }
    .tutubik-logo-blanco {
        position: absolute;
        left: 50px;
        margin-top: -10px;
        padding: 0;
    }
    .fixed-header {
        padding: 3px;
        padding: 5px 12px;
    }
    
    .fixed-header h1 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }

    .fixed-header h1 small {
        display: none;
    }

    .btn-faqs {
        margin-right: 10px;
    }

    .btn-faqs img {
        width: 22px;
    }
                
    .container {
        gap: 12px;
        padding: 15px;
    }
    
    .image-card {
        padding: 10px;
        border-radius: 10px;
    }
    
    .image-card img {
        border-radius: 6px;
    }
    
    body {
        padding-top: 60px;
    }

    .whatsapp-float {
        display: none;
    }

    .messenger-float {
        bottom: 15px;
        right: 15px;
    }

    .messenger-float a {
        width: 65px;
        height: 65px;
    }
}


