﻿:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary: #D32F2F;
    --warning: #FBC02D;
    --background: #F7F8FA;
    --card: #FFFFFF;
    --text: #333333;
    --border: #E5E5E5;
    --topbar: #2D3436;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter',sans-serif;
    background: var(--background);
    color: var(--text);
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins',sans-serif;
}
.topbar {
    background: var(--topbar);
    color: white;
    font-size: .9rem;
    padding: 10px 0;
}

.topbar i {
    color: #FBC02D;
    margin-right: 6px;
}

    .topbar span {
        margin-right: 20px;
    }

.renacer-header {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

    .renacer-header .container {
        display: flex;
        align-items: center;
        gap: 40px;
    }

.logo img {
    height: 90px;
}

.search-box {
    flex: 1;
    display: flex;
}

    .search-box input {
        flex: 1;
        border: 2px solid var(--primary);
        border-radius: 12px 0 0 12px;
        padding: 15px;
        font-size: 1rem;
        outline: none;
    }

    .search-box button {
        width: 70px;
        background: var(--primary);
        border: none;
        color: white;
        border-radius: 0 12px 12px 0;
        transition: .3s;
    }

        .search-box button:hover {
            background: var(--primary-dark);
        }

/*==========================
 HERO BANNER
===========================*/

.hero-banner {
    height: 520px;
    background-image: url('/images/ui/banner-default.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient( 90deg, rgba(27,94,32,.92), rgba(27,94,32,.55), rgba(27,94,32,.10) );
    width: 100%;
    height: 100%;
}

.hero-content {
    padding-top: 90px;
    color: white;
    max-width: 560px;
}

.hero-subtitle {
    color: #FBC02D;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 15px 0;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-button {
    font-size: 1.1rem;
    padding: 14px 35px;
    border-radius: 12px;
}

/*=============================
HEADER
==============================*/

.header-renacer {
    background: white;
    padding: 25px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .brand img {
        width: 90px;
        border-radius: 50%;
        box-shadow: 0 8px 25px rgba(0,0,0,.12);
    }

    .brand h1 {
        color: var(--primary);
        margin: 0;
        font-size: 2.2rem;
        font-weight: 700;
    }

    .brand h2 {
        margin: 0;
        color: #444;
        text-transform: uppercase;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .brand span {
        font-size: .85rem;
        color: #777;
    }

/* ==========================================================
   FOOTER RENACER
========================================================== */

.footer-renacer {
    background: #212529;
    color: #ffffff;
    margin-top: 60px;
}


/* Marca */

.footer-brand {
    max-width: 400px;
}


.footer-logo {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
}


.footer-brand h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}


.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}


.footer-description {
    color: #adb5bd;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* Títulos */

.footer-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}


/* Links */

.footer-links,
.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}


    .footer-links li,
    .footer-info li {
        margin-bottom: 12px;
    }


    .footer-links a,
    .footer-info a {
        color: #adb5bd;
        text-decoration: none;
        transition: 0.2s;
    }


        .footer-links a:hover,
        .footer-info a:hover {
            color: #ffffff;
        }


    /* Información */

    .footer-info li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #adb5bd;
        line-height: 1.6;
    }

        .footer-info li > span {
            flex: 1;
        }

    .footer-info strong {
        color: #ffffff;
        font-weight: 600;
    }

    .footer-info a {
        color: #adb5bd;
        text-decoration: none;
        transition: 0.2s;
    }

        .footer-info a:hover {
            color: #ffffff;
        }
    .footer-info i {
        margin-top: 3px;
    }


/* WhatsApp */

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}


    .footer-whatsapp:hover {
        color: #ffffff;
    }


.footer-contact-btn {
    margin-top: 15px;
    background: #198754;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
}


    .footer-contact-btn:hover {
        background: #157347;
        color: #ffffff;
    }


/* Parte inferior */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #adb5bd;
}


/* Responsive */

@media (max-width: 768px) {

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}


/*=============================
LOGIN
==============================*/

.btn-login {
    border: 2px solid var(--primary);
    padding: 14px 22px;
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}

    .btn-login:hover {
        background: var(--primary);
        color: white;
    }

/* =====================================================
   NAVBAR PRINCIPAL
===================================================== */

.menu-renacer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

    .menu-renacer > .container > ul {
        display: flex;
        align-items: center;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .menu-renacer > .container > ul > li {
            position: relative;
            list-style: none;
        }

            .menu-renacer > .container > ul > li > a {
                display: flex;
                align-items: center;
                gap: 7px;
                padding: 14px 18px;
                color: #343a40;
                text-decoration: none;
                font-size: 16px;
                font-weight: 500;
                white-space: nowrap;
                transition: all 0.2s ease;
            }

                .menu-renacer > .container > ul > li > a:hover {
                    color: #198754;
                    background-color: #f8f9fa;
                }

            .menu-renacer > .container > ul > li.active > a {
                color: #198754;
                font-weight: 600;
            }

            .menu-renacer > .container > ul > li.nav-disabled > span {
                display: flex;
                align-items: center;
                gap: 7px;
                padding: 14px 18px;
                color: #adb5bd;
                font-size: 16px;
                font-weight: 500;
                white-space: nowrap;
                cursor: default;
            }

    /* =====================================================
   DROPDOWN DE ÁREAS
===================================================== */

    .menu-renacer .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
        min-width: 220px;
        margin: 0;
        padding: 8px 0;
        background-color: #ffffff;
        border: 1px solid #dee2e6;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
        list-style: none;
    }


        /* Bootstrap agrega .show cuando se abre */

        .menu-renacer .dropdown-menu.show {
            display: block;
        }


        /* Elementos internos */

        .menu-renacer .dropdown-menu li {
            display: block;
            width: 100%;
            margin: 0;
            padding: 0;
            list-style: none;
        }


        /* Links internos */

        .menu-renacer .dropdown-menu .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 10px 16px;
            color: #343a40;
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            white-space: nowrap;
            background-color: transparent;
            transition: all 0.2s ease;
        }


            .menu-renacer .dropdown-menu .dropdown-item:hover {
                color: #198754;
                background-color: #f1f3f5;
            }


            .menu-renacer .dropdown-menu .dropdown-item i {
                width: 20px;
                text-align: center;
                flex-shrink: 0;
            }

/*=========================================
    ÁREAS HOME
=========================================*/

.areas-home {
    background: #fff;
}

.area-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
}

    .area-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(0,0,0,.15);
    }

    .area-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.area-card-body {
    padding: 25px;
}

    .area-card-body h3 {
        color: #2E7D32;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .area-card-body p {
        color: #666;
        margin-bottom: 20px;
    }

    .area-card-body span {
        color: #2E7D32;
        font-weight: 600;
    }

/*=========================================
    CATEGORÍAS
=========================================*/

.categorias-page {
    background: #f7f8f5;
}

.categoria-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .categoria-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,.15);
    }

    .categoria-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: .35s;
    }

    .categoria-card:hover img {
        transform: scale(1.05);
    }

.categoria-card-body {
    padding: 25px;
}

    .categoria-card-body h3 {
        color: #2E7D32;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .categoria-card-body p {
        color: #777;
        margin-bottom: 20px;
    }

    .categoria-card-body span {
        display: inline-block;
        padding: 12px 22px;
        background: #2E7D32;
        color: white;
        border-radius: 10px;
        font-weight: 600;
        transition: .25s;
    }

.categoria-card:hover span {
    background: #f4b400;
    color: #222;
}

/*==================================
        TOOLBAR
==================================*/

.toolbar-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 2fr 180px 180px 140px;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
}

.toolbar-search input {
    border-radius: 14px;
    height: 52px;
    font-size: 16px;
    padding-left: 18px;
}

.toolbar-order select {
    border-radius: 12px;
}

.toolbar-page select {
    border-radius: 12px;
}

@media(max-width:992px) {

    .toolbar-card {
        grid-template-columns: 1fr;
    }
}

/*=====================================
        PRODUCTO CARD
======================================*/

.producto-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
}

    .producto-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,.15);
    }

.producto-img {
    height: 220px;
    overflow: hidden;
    background: #fafafa;
}

    .producto-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: .35s;
        padding: 20px;
    }

.producto-card:hover img {
    transform: scale(1.05);
}

.producto-body {
    padding: 22px;
}

.producto-codigo {
    color: #999;
}

.producto-nombre {
    margin-top: 10px;
    height: 55px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.producto-precio {
    font-size: 1.9rem;
    font-weight: bold;
    color: #2E7D32;
    margin: 20px 0;
}

.btn-ver {
    display: block;
    margin-top: 20px;
    text-align: center;
    background: #2E7D32;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    transition: .25s;
}

    .btn-ver:hover {
        background: #F4B400;
        color: #222;
    }

/*===============================
        PAGINACION
===============================*/

.renacer-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 50px 0;
    flex-wrap: wrap;
}

    .renacer-pagination a {
        background: white;
        color: #2E7D32;
        text-decoration: none;
        padding: 12px 22px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        transition: .25s;
        font-weight: 600;
    }

        .renacer-pagination a:hover {
            background: #2E7D32;
            color: white;
        }

.active-page {
    background: #2E7D32;
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: bold;
}

/*==================================
        BADGES PRODUCTO
==================================*/

.producto-card {
    position: relative;
}

.badge-stock {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 50px;
    letter-spacing: .5px;
}

.badge-disponible {
    background: #2E7D32;
}

.badge-poco {
    background: #F4B400;
    color: #222;
}

.badge-agotado {
    background: #D32F2F;
}

.producto-ubicacion {
    color: #777;
    font-size: .9rem;
    margin-bottom: 18px;
}

/*==================================
        ADMIN LAYOUT
==================================*/

.admin-body {
    margin: 0;
    background: #F5F7FA;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 270px;
    background: #2E7D32;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-logo {
    text-align: center;
    padding: 30px 20px 10px;
}

    .admin-logo img {
        width: 80px;
        border-radius: 50%;
        background: white;
        padding: 4px;
    }

    .admin-logo h6 {
        color: #DDEEDD;
        letter-spacing: 2px;
        font-size: .70rem;
    }

    .admin-logo h3 {
        color: white;
        font-weight: 700;
    }

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 18px 20px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
}

    .admin-user i {
        font-size: 2rem;
    }

    .admin-user strong {
        display: block;
        color: white;
    }

    .admin-user small {
        color: #E5E5E5;
    }

.sidebar-divider {
    border-color: rgba(255,255,255,.15);
    margin: 0 18px 20px;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .admin-sidebar nav a {
        color: white;
        text-decoration: none;
        padding: 14px 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: .25s;
        font-weight: 500;
    }

        .admin-sidebar nav a.active {
            background: rgba(255,255,255,.18);
            border-left: 4px solid white;
        }

        .admin-sidebar nav a:hover {
            background: rgba(255,255,255,.12);
            padding-left: 32px;
        }

.admin-content {
    flex: 1;
}

.admin-navbar {
    height: 75px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.sidebar-menu-divider {
    height: 1px;
    margin: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    color: rgba(255,255,255,.7);
    font-size: .80rem;
}

/*====================================
            LOGIN
====================================*/

.login-body {
    background: #F5F7FA;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    width: 420px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.login-logo {
    display: block;
    width: 110px;
    margin: auto;
    margin-bottom: 20px;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2E7D32;
}

/*==================================
        DASHBOARD
==================================*/

.dashboard-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .25s;
    height: 100%;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
    }

.dashboard-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #E8F5E9;
    color: #2E7D32;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.dashboard-card h5 {
    color: #6c757d;
    margin-bottom: 10px;
}

.dashboard-card h2 {
    font-weight: 700;
    color: #2E7D32;
}

/*==================================
        ACCESOS RÁPIDOS
==================================*/

.quick-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: white;
    border-radius: 18px;
    text-decoration: none;
    color: #2E7D32;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    transition: .25s;
    font-weight: 600;
    height: 100%;
    cursor: pointer;
}

    .quick-action i {
        font-size: 2rem;
    }

    .quick-action:hover {
        transform: translateY(-6px);
        color: #2E7D32;
        cursor: pointer;
    }


/*==============================
    PAGINACIÓN ADMIN
==============================*/

.pagination-admin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 35px 0;
}

.pagination-info {
    background: #198754;
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    min-width: 170px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.pagination-btn {
    background: #fff;
    color: #198754;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    transition: .2s;
}

    .pagination-btn:hover {
        background: #198754;
        color: #fff;
        text-decoration: none;
    }

/*===============================
    PROMOCIONES HOME
================================*/

.renacer-promociones {
    padding: 70px 0;
    background: #f8f9fa;
}

.promocion-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .promocion-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .13);
    }


/* Imagen */

.promocion-imagen-container {
    width: 100%;
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    overflow: hidden;
}

.promocion-imagen {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 90%;
    max-height: 190px;
    object-fit: contain !important;
}


/* Sin imagen */

.promocion-sin-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #adb5bd;
    font-size: 50px;
}


/* Contenido */

.promocion-contenido {
    padding: 20px;
}

    .promocion-contenido h4 {
        margin-bottom: 8px;
        font-size: 22px;
        font-weight: 700;
    }

    .promocion-contenido p {
        margin-bottom: 18px;
        color: #6c757d;
    }


/* Precios */

.promocion-precios {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.precio-anterior {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 16px;
}

.precio-promocional {
    color: #198754;
    font-size: 25px;
    font-weight: 700;
}


/* Vigencia */

.promocion-vigencia {
    color: #6c757d;
    font-size: 14px;
}

/* WhatsApp */

.promocion-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding: 11px 15px;
    border-radius: 10px;
    background: #198754;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .25s ease;
}

    .promocion-whatsapp:hover {
        background: #146c43;
        color: white;
        transform: translateY(-2px);
    }

/*===============================
    DETALLE PRODUCTO
================================*/

.producto-detalle {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}


.producto-detalle-imagen {
    width: 100%;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
}


    .producto-detalle-imagen img {
        max-width: 100%;
        max-height: 420px;
        width: auto;
        height: auto;
        object-fit: contain;
    }


.producto-detalle-codigo {
    color: #6c757d;
    font-size: 14px;
}


.producto-detalle-nombre {
    margin-top: 8px;
    margin-bottom: 15px;
    font-size: 34px;
    font-weight: 700;
}


.producto-detalle-precio {
    color: #198754;
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0;
}


.producto-detalle-stock {
    margin-bottom: 25px;
}


.stock-detalle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}


    .stock-detalle.disponible {
        background: #d1e7dd;
        color: #0f5132;
    }


    .stock-detalle.poco {
        background: #fff3cd;
        color: #664d03;
    }


    .stock-detalle.agotado {
        background: #f8d7da;
        color: #842029;
    }


.producto-detalle-datos {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 25px 0;
    padding: 10px 0;
}


.dato-producto {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    font-size: 15px;
}


    .dato-producto span {
        color: #6c757d;
    }


    .dato-producto strong {
        text-align: right;
    }


.producto-detalle-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    background: #198754;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .25s ease;
}


    .producto-detalle-whatsapp:hover {
        background: #146c43;
        color: white;
        transform: translateY(-2px);
    }

/*========================================
    PRODUCTOS DESTACADOS
========================================*/

.productos-destacados-section {
    padding: 70px 0;
    background: #f8f9fa;
}


.destacados-header {
    margin-bottom: 35px;
}


.destacados-subtitulo {
    color: #198754;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
}


.destacados-header h2 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 34px;
    font-weight: 700;
}


.destacados-header p {
    color: #6c757d;
    margin: 0;
}


.destacados-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}


.destacados-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    padding: 10px 5px 20px;
}


    .destacados-carousel::-webkit-scrollbar {
        display: none;
    }


.destacado-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}


    /*
   Ajustamos la tarjeta para que ocupe
   correctamente el espacio del carrusel.
*/

    .destacado-slide .producto-card {
        width: 100%;
        height: 100%;
    }


.destacados-arrow {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: .2s ease;
    z-index: 2;
}


    .destacados-arrow:hover {
        background: #198754;
        color: white;
        transform: scale(1.05);
    }


.destacados-indicadores {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 15px;
}


.destacado-indicador {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ced4da;
    cursor: pointer;
    transition: .2s ease;
}


    .destacado-indicador.activo {
        width: 22px;
        border-radius: 10px;
        background: #198754;
    }


/*========================================
    TABLET
========================================*/

@media (max-width: 991px) {

    .destacado-slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}


/*========================================
    CELULAR
========================================*/

@media (max-width: 575px) {

    .productos-destacados-section {
        padding: 50px 0;
    }


    .destacados-header h2 {
        font-size: 28px;
    }


    .destacados-carousel-wrapper {
        gap: 8px;
    }


    .destacados-arrow {
        width: 38px;
        height: 38px;
    }


    .destacado-slide {
        flex: 0 0 85%;
    }
}

/*==========================================================
    BUSCADOR DE DESTACADOS
==========================================================*/

.destacado-resultado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    transition: .2s ease;
}

    .destacado-resultado:hover {
        border-color: #198754;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
    }


.destacado-producto-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}


.destacado-producto-imagen {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f8f9fa;
    flex-shrink: 0;
}


.destacado-producto-info h6 {
    font-weight: 600;
    color: #212529;
    margin: 0;
}


.btn-agregar-destacado {
    flex-shrink: 0;
}


@media (max-width: 575px) {

    .destacado-resultado {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-agregar-destacado {
        width: 100%;
    }
}

/* =====================================================
   ACERCA DE
===================================================== */

.acerca-page {
    background: #f5f7f9;
    min-height: calc(100vh - 200px);
}


.acerca-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}


/* ENCABEZADO */

.acerca-header {
    padding: 40px 30px;
    background: #f8fafb;
    border-bottom: 1px solid #e9ecef;
}


.acerca-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #198754;
    color: white;
    font-size: 28px;
}


.acerca-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #212529;
}


.acerca-header p {
    margin: 8px 0 0;
    color: #6c757d;
}


/* SECCIONES */

.acerca-seccion {
    padding: 28px 35px;
    border-bottom: 1px solid #eeeeee;
}


    .acerca-seccion h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 22px;
        color: #198754;
        font-size: 18px;
        font-weight: 700;
    }


        .acerca-seccion h4 i {
            font-size: 20px;
        }


/* DATOS */

.acerca-dato {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}


    .acerca-dato span {
        font-size: 13px;
        color: #6c757d;
    }


    .acerca-dato strong {
        font-size: 16px;
        color: #212529;
    }


/* DESCRIPCIÓN */

.acerca-descripcion {
    margin: 0;
    line-height: 1.7;
    color: #5f6b76;
}


/* FOOTER */

.acerca-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px 35px;
    background: #f8f9fa;
}


    .acerca-footer .btn {
        min-width: 110px;
    }

/* ==========================================================
   RESPONSIVE - CELULARES
   ========================================================== */

@media (max-width: 767px) {

    /* ==============================
       GENERAL
       ============================== */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }


    /* ==============================
       HEADER PUBLICO
       ============================== */

    .renacer-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .renacer-header {
        padding: 20px 15px;
    }

    .logo img {
        height: 70px;
    }

    .search-box {
        width: 100%;
    }


    /* ==============================
       HEADER / MARCA
       ============================== */

    .header-renacer {
        padding: 20px 15px;
    }

    .brand {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

        .brand img {
            width: 75px;
        }

        .brand h1 {
            font-size: 1.8rem;
        }

        .brand h2 {
            font-size: .9rem;
        }


    /* ==============================
       MENU PUBLICO
       ============================== */

    .menu-renacer {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

        .menu-renacer > .container {
            width: 100%;
            max-width: 100%;
            padding: 0;
        }

            .menu-renacer > .container > ul {
                justify-content: flex-start;
                width: max-content;
                min-width: 100%;
            }

                .menu-renacer > .container > ul > li > a,
                .menu-renacer > .container > ul > li.nav-disabled > span {
                    padding: 12px 14px;
                    font-size: 14px;
                }


    /* ==============================
       HERO
       ============================== */

    .hero-banner {
        width: 100%;
        height: 520px;
    }

    .hero-content {
        padding: 70px 20px 20px;
        max-width: 100%;
    }

        .hero-content h1 {
            font-size: 2.8rem;
            line-height: 1.05;
        }

        .hero-content p {
            font-size: 1rem;
            margin-bottom: 25px;
        }

    .hero-subtitle {
        font-size: 1rem;
    }


    /* ==============================
       TOOLBAR PRODUCTOS PUBLICOS
       ============================== */

    .toolbar-card {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
        margin: 20px 0;
    }


    /* ==============================
       PRODUCTOS PUBLICOS
       ============================== */

    .producto-img {
        height: 190px;
    }

    .producto-body {
        padding: 18px;
    }

    .producto-precio {
        font-size: 1.6rem;
    }


    /* ==============================
       DETALLE PRODUCTO
       ============================== */

    .producto-detalle {
        padding: 20px;
        border-radius: 15px;
    }

    .producto-detalle-imagen {
        min-height: 280px;
        padding: 20px;
    }

        .producto-detalle-imagen img {
            max-height: 280px;
        }

    .producto-detalle-nombre {
        font-size: 26px;
    }

    .producto-detalle-precio {
        font-size: 27px;
    }


    /* ==================================================
       ADMINISTRACION
       ================================================== */

    .admin-wrapper {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    /*
       Convertimos el sidebar en una barra lateral
       compacta para celular.
    */

    .admin-sidebar {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
        min-height: 100vh;
        flex-shrink: 0;
    }

    .admin-content {
        width: calc(100% - 72px);
        min-width: 0;
        max-width: calc(100% - 72px);
        overflow-x: hidden;
    }


    /* ==============================
       LOGO SIDEBAR
       ============================== */

    .admin-logo {
        padding: 20px 5px 10px;
    }

        .admin-logo img {
            width: 52px;
        }

        .admin-logo h6,
        .admin-logo h3 {
            display: none;
        }


    /* ==============================
       USUARIO SIDEBAR
       ============================== */

    .admin-user {
        margin: 0 8px 15px;
        padding: 10px 5px;
        justify-content: center;
    }

        .admin-user i {
            font-size: 1.8rem;
        }

        .admin-user strong,
        .admin-user small {
            display: none;
        }


    /* ==============================
       LINEAS SIDEBAR
       ============================== */

    .sidebar-divider,
    .sidebar-menu-divider {
        margin: 10px 8px;
    }


    /* ==============================
       MENU SIDEBAR
       ============================== */

    .admin-sidebar nav a {
        justify-content: center;
        padding: 15px 5px;
        gap: 0;
        font-size: 0;
    }

        .admin-sidebar nav a i {
            font-size: 1.3rem;
            margin: 0;
        }

        .admin-sidebar nav a:hover {
            padding-left: 5px;
        }


    /* ==============================
       FOOTER SIDEBAR
       ============================== */

    .sidebar-footer {
        display: none;
    }


    /* ==============================
       NAVBAR ADMIN
       ============================== */

    .admin-navbar {
        width: 100%;
        height: auto;
        min-height: 65px;
        padding: 12px 15px;
        gap: 10px;
    }

        .admin-navbar h1,
        .admin-navbar h2,
        .admin-navbar h3 {
            font-size: 1.2rem;
        }


    /* ==============================
       CONTENIDO ADMIN
       ============================== */

    .admin-content > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }


    /* ==============================
       DASHBOARD
       ============================== */

    .dashboard-card {
        padding: 18px;
    }

    .quick-action {
        padding: 22px 15px;
    }


    /* ==============================
       TABLAS ADMIN
       ============================== */

    .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 700px;
    }


    /* ==============================
       PAGINACION ADMIN
       ============================== */

    .pagination-admin {
        flex-wrap: wrap;
        gap: 8px;
        margin: 20px 0;
    }

    .pagination-info,
    .pagination-btn {
        padding: 10px 14px;
        min-width: auto;
    }
}

/* ==================================
   Boton Iniciar sesion 
   ================================== */
@media (max-width: 767px) {
    .btn-login {
        width: 58px;
        height: 50px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
    }

        .btn-login span {
            display: none;
        }

        .btn-login i {
            font-size: 1.4rem;
            margin: 0;
        }
}