@charset "utf-8";

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --verde-fec: #80B918;
    --verde-oscuro: #004D28;
    --verde-disponible: #3aaa35;
    --rojo-agotado: #cf0216;

    --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,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   =========================================================
   HEADER
   COMPARTIDO POR INDEX Y CATÁLOGO
   =========================================================
========================================================= */

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: var(--verde-fec);
    border-color: var(--verde-fec);

    border-radius: 50px;

    font-weight: 700;
}

header .btn-primary:hover,
header .btn-primary:focus {
    background-color: #6ca313;
    border-color: #6ca313;
}

.boton-volver-container {
    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   BANNER
   INDEX
========================================================= */

.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 INDEX
   =========================================================
========================================================= */

.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 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 INDEX
========================================================= */

.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 INDEX
========================================================= */

.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 INDEX
   =========================================================
========================================================= */

.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: #ffffff;

    text-align: left;
}

.terminos-header h1 {
    margin: 0;
    padding: 0;

    color: #ffffff;

    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;

    text-align: justify;

    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
   ESTOS VALORES SE CONSERVAN DEL CSS ORIGINAL
   =========================================================
========================================================= */

main {
    width: 100%;

    text-align: center;
}

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 GENERALES DEL CATÁLOGO
========================================================= */

main h1 {
    font-size: 28px;

    font-weight: 400;

    padding: 8px;

    margin-bottom: 10px;

    color: #ffffff;
}

main h4 {
    font-size: 20px;

    font-weight: 700;
}


/* =========================================================
   TARJETAS DEL CATÁLOGO
========================================================= */

.producto {
    padding: 10px;

    display: flex;

    align-items: stretch;
}

.producto .card {
    width: 100%;

    max-width: 400px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    height: 100%;

    min-height: 100%;

    border: 1px solid #d8d8d8;

    border-radius: 30px;

    overflow: hidden;

    background-color: #ffffff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   IMÁGENES DEL PRODUCTO
   IMPORTANTE:
   SE CONSERVA EL DISEÑO ORIGINAL DEL CATÁLOGO
========================================================= */

.producto .card > .carousel {
    width: 100%;

    flex-shrink: 0;

    border-radius: 30px 30px 0 0;

    overflow: hidden;

    background-color: #ffffff;
}

.producto .carousel-inner {
    width: 100%;
}

.producto .carousel-item {
    width: 100%;
}

.producto .card img,
.producto .carousel-item img {
    display: block;

    width: 100%;

    height: 350px;

    object-fit: contain;

    object-position: center;

    background-color: #ffffff;
}


/* =========================================================
   CUERPO DE LA TARJETA
========================================================= */

.producto .card-body {
    width: 100%;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    flex: 1;

    margin: 0;

    padding: 0 25px 18px !important;

    background-color: #ffffff;

    border-radius: 0;
}


/* =========================================================
   TÍTULO PRODUCTO
========================================================= */

.producto .card-title {
    width: 100%;

    margin: 0 !important;

    padding: 10px 5px 4px;

    color: #333333;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.2;

    text-align: center;

    white-space: normal;

    overflow: visible;

    word-wrap: break-word;

    overflow-wrap: break-word;
}


/* =========================================================
   SUBTÍTULO PRODUCTO
   SE CONSERVA DEL CSS ORIGINAL
========================================================= */

.producto .card-subtitle {
    width: 100%;

    margin: 0 !important;

    padding: 3px 5px 10px;

    color: #222222;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.25;

    text-align: center;

    word-wrap: break-word;

    overflow-wrap: break-word;
}


/* =========================================================
   DESCRIPCIÓN PRODUCTO
========================================================= */

.producto .card-text {
    width: 100%;

    flex-grow: 1;

    display: block;

    margin: 0 !important;

    padding: 0 0 5px;

    color: #333333;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.55;

    text-align: justify;

    word-wrap: break-word;

    overflow-wrap: break-word;
}

.producto .card-text strong {
    color: #222222;

    font-weight: 700;
}


/* =========================================================
   FRANJAS DISPONIBLE / AGOTADO
========================================================= */

.producto .disponible,
.producto .agotado {
    display: block;

    width: 100%;

    flex-shrink: 0;

    margin: 0 !important;

    padding: 11px 10px;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 22px;

    font-weight: 800;

    line-height: 1.2;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 1px;

    box-sizing: border-box;
}


/* =========================================================
   DISPONIBLE
========================================================= */

.producto .disponible {
    background-color: var(--verde-disponible);

    border-radius: 0 0 30px 30px;
}


/* =========================================================
   AGOTADO
========================================================= */

.producto .agotado {
    background-color: var(--rojo-agotado);

    border-radius: 0 0 30px 30px;
}


/* =========================================================
   CARRUSEL
========================================================= */

.producto .carousel-control-prev,
.producto .carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;

    height: 30px;

    background-color: rgba(0, 0, 0, 0.45);

    border-radius: 50%;

    background-size: 50% 50%;
}


/* =========================================================
   BOTONES GENERALES
========================================================= */

.btn {
    background-color: var(--verde-fec);

    border-color: var(--verde-fec);

    border-radius: 50px;
}


/* =========================================================
   FOOTER
   COMPARTIDO
========================================================= */

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: #ffffff;

    font-weight: 600;

    text-align: center;

    padding: 15px;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   =========================================================
   TABLET
   =========================================================
========================================================= */

@media (max-width: 991px) {

    /* -----------------------------------------------------
       INDEX
    ----------------------------------------------------- */

    .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 INDEX */

    .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
       VALORES ORIGINALES
    ----------------------------------------------------- */

    main .container-fluid {
        padding: 0 10px;
    }

    main > .container-fluid > .row {
        padding: 25px 0;
    }

    .producto {
        padding: 10px;
    }

    .producto .card {
        max-width: 400px;
    }


    /* IMAGEN */

    .producto .card img,
    .producto .carousel-item img {
        height: 350px;

        object-fit: contain;
    }


    /* CUERPO */

    .producto .card-body {
        padding: 0 23px 17px !important;
    }


    /* DESCRIPCIÓN */

    .producto .card-text {
        text-align: justify;

        line-height: 1.55;
    }
}


/* =========================================================
   =========================================================
   MOBILE
   =========================================================
========================================================= */

@media (max-width: 767px) {

    body {
        font-size: 16px;
    }

    p {
        font-size: 15px;

        line-height: 1.65;
    }


    /* =====================================================
       HEADER
       ORIGINAL
    ===================================================== */

    header .row {
        padding: 10px 5px;
    }

    header .btn-primary {
        width: 140px;

        max-width: 140px;
    }


    /* =====================================================
       INDEX - INTRO
    ===================================================== */

    .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 CATÁLOGO
    ===================================================== */

    #titulo-regalos {
        font-size: 20px;

        line-height: 1.3;

        padding: 15px 12px;
    }


    /* =====================================================
       BOTONES INDEX
    ===================================================== */

    .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
    ===================================================== */

    .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;

        text-align: justify;

        white-space: normal;

        overflow-wrap: break-word;

        word-wrap: break-word;

        word-break: normal;
    }


    /* =====================================================
       CATÁLOGO MOBILE
       ESTOS VALORES SON LOS DEL CSS ORIGINAL
    ===================================================== */

    main .container-fluid {
        padding: 0 8px;
    }

    main > .container-fluid > .row {
        width: 100%;

        padding: 15px 0;
    }

    .producto {
        width: 100%;

        padding: 8px;
    }

    .producto .card {
        width: 100%;

        max-width: 400px;

        margin: 0 auto;
    }


    /* IMAGEN */

    .producto .card img,
    .producto .carousel-item img {
        width: 100%;

        height: 350px;

        object-fit: contain;

        object-position: center;
    }


    /* CONTENIDO */

    .producto .card-body {
        padding: 0 22px 16px !important;
    }

    .producto .card-title {
        padding: 8px 5px 3px;

        font-size: 16px;

        line-height: 1.2;
    }

    .producto .card-subtitle {
        padding: 3px 5px 9px;

        font-size: 15px;

        line-height: 1.25;
    }

    .producto .card-text {
        padding: 0;

        font-size: 15px;

        line-height: 1.55;

        text-align: justify;
    }


    /* FRANJAS */

    .producto .disponible,
    .producto .agotado {
        font-size: 21px;

        padding: 11px 8px;
    }


    /* =====================================================
       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) {

    /* =====================================================
       INDEX
    ===================================================== */

    .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 */

    #titulo-regalos {
        font-size: 18px;

        line-height: 1.3;

        padding: 14px 10px;
    }


    /* BOTONES */

    .botones-regalos {
        padding: 12px 15px 25px;

        gap: 18px;
    }

    .boton-regalo {
        max-width: 350px;
    }

    .boton-regalo img {
        max-width: 350px;
    }


    /* =====================================================
       TÉRMINOS
    ===================================================== */

    .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;

        text-align: justify;

        white-space: normal;

        overflow-wrap: break-word;

        word-wrap: break-word;

        word-break: normal;
    }


    /* =====================================================
       CATÁLOGO
       ORIGINAL
    ===================================================== */

    main .container-fluid {
        padding: 0 5px;
    }

    main > .container-fluid > .row {
        padding: 12px 0;
    }

    .producto {
        padding: 7px;
    }

    .producto .card {
        max-width: 350px;

        border-radius: 26px;
    }


    /* IMAGEN */

    .producto .card img,
    .producto .carousel-item img {
        height: 350px;
    }


    /* TEXTO */

    .producto .card-body {
        padding: 0 20px 15px !important;
    }

    .producto .card-title {
        padding: 8px 5px 3px;

        font-size: 15px;

        line-height: 1.2;
    }

    .producto .card-subtitle {
        padding: 3px 5px 9px;

        font-size: 14px;

        line-height: 1.25;
    }

    .producto .card-text {
        padding: 0;

        font-size: 14px;

        line-height: 1.55;

        text-align: justify;
    }


    /* FRANJAS */

    .producto .disponible,
    .producto .agotado {
        font-size: 20px;

        padding: 10px 8px;

        border-radius: 0 0 26px 26px;
    }
}
