


/* ==================================================
   CONFIGURACIÓN GENERAL
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background-color: #ffffff;
    color: #212529;

    overflow-x: hidden;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    min-height: 70px;
}

.navbar-brand {
    font-size: 1.2rem;
}

.navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar .nav-link svg {
    flex-shrink: 0;
}

.navbar .dropdown-menu {
    border: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.navbar .dropdown-item {
    padding: 10px 16px;
}

.navbar .dropdown-item:hover {
    background-color: #f1f3f5;
}


/* ==================================================
   HERO / CARRUSEL
================================================== */

.hero-section {
    padding-top: 30px;
    padding-bottom: 20px;
}

.hero-section .carousel {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-section .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* ==================================================
   PRODUCTOS
================================================== */

.productos-section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: #6c757d;
    margin: 0;
}


/* ==================================================
   TARJETAS
================================================== */

.producto-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;

    background-color: #ffffff;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.producto-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.14);
}

.producto-img {
    width: 100%;
    height: 250px;

    object-fit: cover;
}

.producto-card .card-body {
    padding: 20px;
}

.producto-card .card-title {
    font-weight: 700;
}

.vista-rapida {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #212529;
    text-decoration: none;

    font-size: 0.9rem;
}

.vista-rapida:hover {
    color: #0d6efd;
}


/* ==================================================
   DESCUENTO
================================================== */

.descuento {
    display: inline-block;

    padding: 5px 10px;

    background-color: #dc3545;
    color: white;

    border-radius: 5px;

    font-size: 0.85rem;
}


/* ==================================================
   PAYPAL
================================================== */

.paypal-container {
    max-width: 100%;
    margin-top: 20px;
}


/* ==================================================
   MODALES
================================================== */

.modal-content {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #eeeeee;
}

.modal-body {
    padding: 30px;
}

.modal-body img {
    max-width: 100%;
    height: auto;
}


/* ==================================================
   PRODUCTOS DEL MODAL
================================================== */

.producto-menu {
    color: inherit;
    text-decoration: none;
}

.producto-menu .card {
    border: 1px solid #eeeeee;
    transition: all 0.25s ease;
}

.producto-menu .card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.1);
}

.producto-menu img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}


/* ==================================================
   FOOTER
================================================== */

footer.footer {
    background-color: #6c757d  !important;
    color: #ffffff !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

footer.footer h5 {
    color: #ffffff !important;
}

footer.footer p {
    color: #dddddd !important;
}

footer.footer a {
    color: #dddddd !important;
    text-decoration: none;
}

footer.footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

footer.footer .footer-bottom {
    background-color: #16191c !important;
    color: #ffffff !important;
    width: 100%;
}


/* ENLACES */

.footer-links {
    background-color: #e6e6e6;
    padding: 20px 0 70px;
}

.footer-links h5 {
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-links a {
    display: block;

    width: fit-content;

    margin-bottom: 7px;

    color: #212529;

    text-decoration: none;
}

.footer-links a:hover {
    color: #0d6efd;
}


/* COPYRIGHT */

.footer-bottom {
    padding: 20px 0;

    background-color: #212529;
    color: white;

    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 991.98px) {

    .hero-section {
        padding-top: 20px;
    }

    .hero-section .carousel-item img {
        height: 400px;
    }

    .navbar .navbar-collapse {
        padding: 15px 0;
    }

    .navbar form {
        width: 100%;
    }

    .navbar form input {
        flex: 1;
    }

}


/* ==================================================
   MÓVIL
================================================== */

@media (max-width: 767.98px) {

    .hero-section {
        padding-top: 10px;
    }

    .hero-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-section .carousel {
        border-radius: 8px;
    }

    .hero-section .carousel-item img {
        height: 230px;
        object-fit: cover;
    }


    .productos-section {
        padding: 45px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }


    .producto-img {
        height: 230px;
    }


    .modal-body {
        padding: 20px;
    }


    .newsletter {
        padding: 45px 0;
    }

    .newsletter h3 {
        text-align: center;
    }


    .footer-links {
        padding-bottom: 40px;
    }

}


/* ==================================================
   MÓVIL PEQUEÑO
================================================== */

@media (max-width: 575.98px) {

    .hero-section .carousel-item img {
        height: 180px;
    }

    .producto-img {
        height: 220px;
    }

    .productos-section {
        padding-top: 35px;
    }

    .newsletter {
        padding: 35px 0;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        margin-left: auto;
        margin-right: auto;
    }

}

