@charset "utf-8";

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --verde-fec: #80B918;
    --verde-oscuro: #004D28;
    --gris-fondo: #f0f0f0;
    --gris-texto: #555555;
    --gris-oscuro: #333333;

    --banner-web-max-width: 1200px;
    --banner-margin-top: 30px;
    --banner-radius: 20px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background-color: var(--gris-fondo);
    color: var(--gris-oscuro);
    font-size: 16px;
    font-weight: 500;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}

h1 {
    color: var(--gris-oscuro);
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    padding: 10px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   HEADER
========================================================= */

header {
    width: 100%;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

header .container {
    width: 100%;
}

header .row {
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}

header img {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}


/* =========================================================
   BOTÓN VOLVER
========================================================= */

header .btn-primary {
    width: 150px;
    max-width: 150px;
    background-color: #80B918;
    border-color: #80B918;
    border-radius: 50px;
    font-weight: 700;
}

.boton-volver-container {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   BANNER
========================================================= */

.banner-contenedor {
    width: 100%;
    margin: var(--banner-margin-top) auto 0;
    padding: 0 15px;
    text-align: center;
}

.banner-contenedor a {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-decoration: none;
}

.banner-contenedor img {
    display: block;
    width: 100%;
    max-width: var(--banner-web-max-width);
    height: auto;
    margin: 0 auto;
    border-radius: var(--banner-radius);
}


/* =========================================================
   BANNER WEB / MOBILE
========================================================= */

.visibleDesktop {
    display: block !important;
}

.visibleMobile {
    display: none !important;
}

@media (max-width: 519px) {

    .visibleDesktop {
        display: none !important;
    }

    .visibleMobile {
        display: block !important;
    }

    .banner-contenedor {
        margin-top: 20px;
        padding: 0 10px;
    }

    .banner-contenedor img {
        max-width: 100%;
    }
}


/* =========================================================
   INTRODUCCIÓN
========================================================= */

.intro-fidelidad {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 25px 35px;
}

.intro-fidelidad-contenido {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-fidelidad #titulocat {
    margin: 0;
    padding: 5px 0 0;
    color: var(--verde-fec);
    font-size: 45px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-align: center;
}

.intro-linea {
    width: 75px;
    height: 4px;
    margin: 18px auto 22px;
    background-color: var(--verde-fec);
    border-radius: 20px;
}

.intro-fidelidad .intro-text {
    max-width: 850px;
    margin: 0 auto 15px;
    color: var(--gris-texto);
    font-size: 17px;
    line-height: 1.75;
    text-align: center;
}

.intro-fidelidad .intro-text strong {
    color: var(--gris-oscuro);
    font-weight: 700;
}


/* =========================================================
   FRANJA DEL TÍTULO DEL CATÁLOGO
========================================================= */

.franja-regalos {
    width: 100%;
    background: linear-gradient(
        180deg,
        #3aaa35 0%,
        #017f36 100%
    );
    margin: 0;
    padding: 0;
}

#titulo-regalos {
    margin: 0;
    padding: 18px 20px;
    background-color: transparent;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.2px;
    text-align: center;
}


/* =========================================================
   MENSAJE DESTACADO
========================================================= */

.intro-mensaje {
    max-width: 800px;
    margin: 22px auto 0;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(
        135deg,
        #f4f9eb,
        #ffffff
    );
    border-left: 4px solid var(--verde-fec);
    border-radius: 12px;
    text-align: left;
}

.intro-mensaje .intro-text {
    margin: 0;
    text-align: left;
}

.intro-icono {
    min-width: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--verde-fec);
    border-radius: 50%;
    font-size: 22px;
}


/* =========================================================
   BOTONES CATÁLOGO / ELEGIR REGALO
========================================================= */

.botones-regalos {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 15px 35px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
}

.boton-regalo {
    flex: 0 1 380px;
    width: 380px;
    max-width: 45%;
    padding: 0;
    margin: 0;
}

.boton-regalo a {
    display: block;
    width: 100%;
}

.boton-regalo img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.boton-regalo img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(
        0 8px 12px rgba(0, 0, 0, 0.20)
    );
}


/* =========================================================
   TÉRMINOS Y CONDICIONES
========================================================= */

.terminos-seccion {
    width: 100%;
    padding: 35px 15px 60px;
    background-color: var(--gris-fondo);
    text-align: left;
}

.terminos-contenedor {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0;
}

.terminos-card {
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.10);
    text-align: left;
}

.terminos-header {
    padding: 28px 35px;
    background: linear-gradient(
        135deg,
        var(--verde-fec) 0%,
        #6ca313 100%
    );
    color: white;
    text-align: left;
}

.terminos-header h1 {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 32px;
    font-weight: 800;
    text-align: left;
}

.terminos-body {
    width: 100%;
    padding: 28px 35px 38px;
    text-align: left;
    overflow: visible;
}

.terminos-lista {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 30px;
    text-align: left;
}

.terminos-lista li {
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    padding-left: 10px;
    color: var(--gris-texto);
    font-size: 16px;
    line-height: 1.75;

    /* TEXTO JUSTIFICADO */
    text-align: justify;

    /* EVITA DESBORDAMIENTOS */
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}

.terminos-lista li:last-child {
    margin-bottom: 0;
}

.terminos-lista li strong {
    color: var(--gris-oscuro);
    font-weight: 700;
}

.terminos-lista li::marker {
    color: var(--verde-fec);
    font-weight: 800;
}


/* =========================================================
   CATÁLOGO
========================================================= */

main {
    width: 100%;
    text-align: center;
}

main > center {
    width: 100%;
}

main .container-fluid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main .container-fluid > .row {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}


/* =========================================================
   TÍTULOS DEL CATÁLOGO
========================================================= */

main h1 {
    font-size: 28px;
    font-weight: 400;
    padding: 8px;
    margin-bottom: 10px;
    color: white;
}

main h4 {
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
}


/* =========================================================
   TARJETAS DEL CATÁLOGO
========================================================= */

.producto {
    padding: 10px;
    display: flex;
}

.producto .card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background-color: #ffffff;
}

.producto .card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
}

.producto .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding: 0 !important;
    border-radius: 0 0 30px 30px;
}


/* Título de producto */

.producto .card-title {
    width: 100%;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #333333;
}


/* Descripción */

.producto .card-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 10px;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    color: #333333;
}


.agotado,
.disponible {
    width: 100%;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    padding: 12px 10px;
    margin: 15px 0 0;
    letter-spacing: 1px;
}

.agotado {
    background-color: #cf0216;
}

.disponible {
    background-color: #3aaa35;
}


/* =========================================================
   CARRUSEL DE LAS TARJETAS
========================================================= */

.producto .carousel {
    width: 100%;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.producto .carousel-inner {
    width: 100%;
}

.producto .carousel-item {
    width: 100%;
}

.producto .carousel-control-prev,
.producto .carousel-control-next {
    width: 15%;
}


/* Botones de navegación */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    background-size: 50% 50%;
}


/* =========================================================
   BOTONES GENERALES
========================================================= */

.btn {
    background-color: #80B918;
    border-color: #80B918;
    border-radius: 50px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

footer .container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #333333;
}

footer .row {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    align-items: center;
}

footer img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}

#footertext {
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .intro-fidelidad #titulocat {
        font-size: 38px;
    }

    .intro-fidelidad .intro-text {
        font-size: 16px;
    }

    .terminos-header h1 {
        font-size: 29px;
    }

    .terminos-lista li {
        font-size: 16px;
        line-height: 1.7;
        text-align: justify;
    }

    /* BOTONES */

    .botones-regalos {
        max-width: 800px;
        gap: 20px;
    }

    .boton-regalo {
        flex: 0 1 350px;
        width: 350px;
        max-width: 45%;
    }

    .boton-regalo img {
        max-width: 350px;
    }

    /* CATÁLOGO */

    main .container-fluid {
        padding: 0 10px;
    }

    main .container-fluid > .row {
        padding: 25px 0;
    }

    .producto {
        padding: 10px;
    }

    .producto .card {
        max-width: 400px;
    }

    .producto .card img {
        height: 300px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    body {
        font-size: 16px;
    }

    p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* =====================================================
       HEADER
       SE CONSERVA EL DISEÑO ORIGINAL
    ===================================================== */

    header .row {
        padding: 10px 5px;
    }

    header .btn-primary {
        width: 140px;
        max-width: 140px;
    }


    /* =====================================================
       INTRODUCCIÓN
    ===================================================== */

    .intro-fidelidad {
        padding: 30px 20px 25px;
    }

    .intro-fidelidad #titulocat {
        font-size: 32px;
        line-height: 1.2;
    }

    .intro-fidelidad .intro-text {
        font-size: 16px;
        line-height: 1.7;
    }

    .intro-mensaje {
        padding: 15px;
        gap: 12px;
    }

    .intro-mensaje .intro-text {
        font-size: 15px;
        min-width: 0;
    }

    .intro-icono {
        min-width: 42px;
        width: 42px;
        height: 42px;
        font-size: 19px;
    }


    /* =====================================================
       FRANJA DEL CATÁLOGO
    ===================================================== */

    #titulo-regalos {
        font-size: 32px;
        line-height: 1.2;
    }


    /* =====================================================
       BOTONES
    ===================================================== */

    .botones-regalos {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px 30px;
        flex-direction: column;
        gap: 20px;
    }

    .boton-regalo {
        width: 100%;
        max-width: 400px;
        flex: none;
    }

    .boton-regalo img {
        width: 100%;
        max-width: 400px;
    }


    /* =====================================================
       TÉRMINOS Y CONDICIONES
    ===================================================== */

    .terminos-seccion {
        width: 100%;
        max-width: 100%;
        padding: 25px 10px 40px;
    }

    .terminos-contenedor {
        width: 100%;
        max-width: 100%;
    }

    .terminos-card {
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }

    .terminos-header {
        width: 100%;
        padding: 22px 18px;
    }

    .terminos-header h1 {
        width: 100%;
        max-width: 100%;
        font-size: 25px;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .terminos-body {
        width: 100%;
        max-width: 100%;
        padding: 22px 12px 28px;
        overflow: visible;
    }

    .terminos-lista {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 22px;
    }

    .terminos-lista li {
        width: auto;
        max-width: 100%;
        margin-bottom: 18px;
        padding-left: 2px;
        font-size: 15px;
        line-height: 1.7;

        /* JUSTIFICADO EN MOBILE */
        text-align: justify;

        /* EVITA DESBORDAMIENTO */
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: normal;
    }


    /* =====================================================
       CATÁLOGO EN MÓVIL
    ===================================================== */

    main .container-fluid {
        padding: 0 10px;
    }

    main .container-fluid > .row {
        width: 100%;
        padding: 20px 0;
    }

    .producto {
        width: 100%;
        padding: 10px;
    }

    .producto .card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .producto .card img {
        height: 300px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    footer .row {
        padding: 20px 15px;
        display: block;
    }

    footer .col-md-2,
    footer .col-md-7,
    footer .col-md-3 {
        width: 100%;
        text-align: center;
    }

    footer img {
        margin: 0 auto 15px;
    }

    #footertext {
        padding: 10px;
        font-size: 14px;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {

    .intro-fidelidad {
        padding: 25px 15px 20px;
    }

    .intro-fidelidad #titulocat {
        font-size: 28px;
    }

    .intro-fidelidad .intro-text {
        font-size: 15px;
    }

    .intro-linea {
        margin: 14px auto 18px;
    }

    .intro-mensaje {
        padding: 13px;
    }


    /* =====================================================
       FRANJA DEL CATÁLOGO
    ===================================================== */

    #titulo-regalos {
        font-size: 28px;
        line-height: 1.2;
    }


    /* =====================================================
       BOTONES
    ===================================================== */

    .botones-regalos {
        padding: 12px 15px 25px;
        gap: 18px;
    }

    .boton-regalo {
        max-width: 350px;
    }

    .boton-regalo img {
        max-width: 350px;
    }


    /* =====================================================
       TÉRMINOS Y CONDICIONES
    ===================================================== */

    .terminos-seccion {
        width: 100%;
        max-width: 100%;
        padding: 20px 8px 35px;
    }

    .terminos-contenedor {
        width: 100%;
        max-width: 100%;
    }

    .terminos-card {
        width: 100%;
        max-width: 100%;
    }

    .terminos-header {
        width: 100%;
        padding: 20px 15px;
    }

    .terminos-header h1 {
        width: 100%;
        max-width: 100%;
        font-size: 23px;
        line-height: 1.2;
    }

    .terminos-body {
        width: 100%;
        max-width: 100%;
        padding: 20px 12px 25px;
        overflow: visible;
    }

    .terminos-lista {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 21px;
    }

    .terminos-lista li {
        width: auto;
        max-width: 100%;
        margin-bottom: 18px;
        padding-left: 2px;
        font-size: 15px;
        line-height: 1.7;

        /* JUSTIFICADO EN CELULARES PEQUEÑOS */
        text-align: justify;

        /* EVITA QUE EL TEXTO SE CORTE */
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: normal;
    }


    /* =====================================================
       CATÁLOGO
    ===================================================== */

    .producto {
        padding: 8px;
    }

    .producto .card {
        max-width: 350px;
    }

    .producto .card img {
        height: 300px;
    }

    .producto .card-title {
        font-size: 16px;
    }

    .producto .card-text {
        font-size: 15px;
    }
}


/* =========================================================
   AGOTADO
========================================================= */

.agotado {
    width: 100%;
    background-color: #cf0216;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    padding: 12px 10px;
    margin: 15px 0 0;
    letter-spacing: 1px;
}