@charset "utf-8";


/* ========================= */
/* 1. ESTILOS GENERALES */
/* ========================= */
body {
    font-family: "Nunito", "sans-serif";
    height: 100vh;
    margin: 0;
}

/* Titulo y caja*/
.titulo-box {
    color:#666666;
    background-color: #f8f9fa;
    border-radius: 25px;
    padding: 15px;
}
.titulo-box h2{
    font-weight: bold;
}


/* ========================= */
/* 2. TARJETAS Y HOVERS */
/* ========================= */

/* Efecto hover en las tarjetas */
.hover-shadow:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Sombra al pasar el mouse */
    transform: scale(1.05); /* Pequeño crecimiento */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Tarjetas */
.card {
    height: 100%; /* Todas las tarjetas con misma altura */
    border-radius: 10px; /* Bordes redondeados */
}

/* Contenido de la tarjeta */
.card-body {
    flex-grow: 1; /* Hace que todas las tarjetas crezcan igual */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Mantiene el contenido alineado */
    align-items: center;
}

/* Texto dentro de las tarjetas */
.card-text {
    text-align: center;
}

/* Título del descuento dentro de las tarjetas */
.descuento {
    font-size: 2rem;
    font-weight: bold;
    color: black;
    margin-bottom: 5px;
}

/* Imagen principal de tarjeta*/
.card-img-param{
    height: 180px; 
    width: 100%; 
    object-fit: cover;
}

/* ========================= */
/* 3. ELEMENTOS SUPERPUESTOS */
/* ========================= */

/* Caja con el nombre del comercio */
.nombre-comercio {
    font-family: "Nunito", "sans-serif";
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 11px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Logo del comercio superpuesto */
.logo-superpuesto {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Imagen del logo */
.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= */
/* 4. TEXTOS Y FORMATOS */
/* ========================= */

/* Bajada de texto principal */
.txt-bajada {
    font-size: 18px;
}

/* Iconos de enlaces */
.iconoLink {
    width: 100px;
    height: auto;
}
@media (max-width: 576px) {
    .iconoLink {
        width: 70px; /* Iconos más pequeños para 1/4 */
    }
}
/* ========================= */
/* 5. FOOTER Y BOTÓN DE WHATSAPP */
/* ========================= */

/* Estilos del footer */
.footer {
    background-color: #330066;
    color: white;
    padding: 15px;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}
