/* ====== Tipografía y estilos base ====== */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fdfdfd;
    color: #212529;
}

/* Links y botones */
a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* ====== Layout con sidebar ====== */
.layout-flex {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

    .layout-flex .sidebar {
        width: 220px;
        background-color: #f5f5f5;
        padding: 10px;
    }

    .layout-flex .main {
        flex: 1;
        padding: 20px;
    }

/* ====== Catálogo ====== */

/* Filtros */
.filtros-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .filtros-container .form-control,
    .filtros-container .form-select {
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

        .filtros-container .form-control:focus,
        .filtros-container .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 6px rgba(13,110,253,0.4);
        }

/* Cards */
.product-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .product-card .card-body h5 {
        font-weight: 600;
        color: #212529;
    }

    .product-card .card-body p.text-muted {
        font-size: 0.9rem;
    }

/* Carrusel */
.carousel-inner img {
    border-bottom: 1px solid #e9ecef;
    max-height: 220px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}

/* Paginación */
.paginacion-container {
    margin-top: 2rem;
    text-align: center;
}

    .paginacion-container .btn {
        border-radius: 6px;
        margin: 0 6px;
        min-width: 100px;
        font-weight: 500;
    }

    .paginacion-container span {
        font-weight: 600;
        margin: 0 10px;
        color: #212529;
    }

/* Botón Carrito */
.btn-outline-primary {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}


/* ====== Encabezado del carrito ====== */
h3.bg-light {
    font-weight: 600;
    color: #212529;
    border-left: 6px solid #0d6efd;
}

/* ====== Tabla del carrito ====== */
.table-responsive {
    margin-top: 1rem;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

    .table thead {
        background-color: #0d6efd;
        color: #fff;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table td, .table th {
    vertical-align: middle;
}

/* Botón eliminar */
.btn-danger {
    border-radius: 6px;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* ====== Totales ====== */
.text-end.fw-bold.fs-5 {
    background-color: #f1f3f5;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

/* ====== Botones de acción ====== */
.mt-4 .btn {
    min-width: 160px;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
}

/* Botones de pago */
.btn-warning {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #212529;
    font-weight: 600;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    font-weight: 600;
}

/*Estilo campirano*/

body {
    font-family: 'Merriweather', serif;
    background-color: #f5f5dc;
    color: #3e2723;
}

/* Encabezado */
h3 {
    color: #8d6e63;
    font-weight: 700;
    border-bottom: 3px solid #fbc02d;
    padding-bottom: 0.5rem;
}

/* Cards estilo madera */
.product-card {
    background-color: #fff8e1;
    border: 2px solid #8d6e63;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

    /* Precios */
    .product-card .fw-bold {
        color: #2e7d32;
        font-size: 1.2rem;
    }

/* Botones */
.btn-primary {
    background-color: #2e7d32;
    border-color: #1b5e20;
}

.btn-outline-primary {
    border-color: #8d6e63;
    color: #8d6e63;
}

    .btn-outline-primary:hover {
        background-color: #8d6e63;
        color: #fff;
    }

/* Encabezado carrito */
h3.bg-light {
    background-color: #fff8e1 !important;
    color: #6d4c41 !important;
    border-left: 6px solid #fbc02d;
}

/* Tabla */
.table thead {
    background-color: #8d6e63;
    color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f5f5dc;
}

/* Totales */
.text-end.fw-bold.fs-5 {
    background-color: #fbc02d;
    color: #3e2723;
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

/* Botones de pago */
.btn-warning {
    background-color: #fbc02d;
    border-color: #fbc02d;
    color: #3e2723;
    font-weight: 600;
}

.btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
    font-weight: 600;
}

.navbar {
    background-color: #8d6e63; /* tono madera */
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #fff !important;
}

    .navbar-brand img {
        border-radius: 50%; /* icono redondeado */
        border: 2px solid #fbc02d; /* borde amarillo trigo */
    }


.social-links h5 {
    font-family: 'Merriweather', serif;
    color: #6d4c41;
}

.social-links .btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    min-width: 160px;
}

.social-links .bi {
    margin-right: 8px;
    font-size: 1.2rem;
}

.footer {
    background-color: #4e342e; /* tono madera más oscuro */
    color: #f5f5f5; /* texto claro */
    font-family: 'Merriweather', serif;
    text-align: center;
}

    .footer p {
        margin: 0.3rem 0;
        font-size: 0.95rem;
    }

    .footer img {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    }

    .footer i {
        margin-right: 6px;
        color: #ffd54f; /* íconos en amarillo trigo */
    }

.btn-facebook {
    background-color: #1877f2; /* Azul oficial Facebook */
    color: #fff;
}

    .btn-facebook:hover {
        background-color: #145dbf;
        color: #fff;
    }

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border: none;
}

    .btn-instagram:hover {
        opacity: 0.85;
        color: #fff;
    }

.footer {
    background: url('images/madera-footer.png') center/cover no-repeat;
    color: #f5f5dc; /* Beige claro para contraste */
    font-family: 'Segoe UI', serif;
    border-top: 3px solid #8b5a2b; /* Línea superior estilo madera */
}

    .footer i {
        color: #f5deb3; /* Íconos en tono trigo */
        margin-right: 6px;
    }

    .footer p {
        margin-bottom: 0.5rem;
    }

.text-bienvenida {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #5c3a21;
    border-top: 1px solid #5c3a21;
    border-bottom: 1px solid #5c3a21;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.sub-bienvenida {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #7a5230;
    font-size: 1.2rem;
}

.navbar {
    background-color: #2c2c2c; /* tono oscuro rústico */
}

.navbar-brand span {
    color: #f5f5dc;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: #f5f5dc !important;
    transition: color 0.3s ease, background 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #ffd700 !important; /* dorado estilo campirano */
        background-color: rgba(255, 215, 0, 0.1);
        border-radius: 6px;
    }

/*.dropdown-menu {
    background-color: #3a3a3a;
    border: none;
}

    .dropdown-menu .dropdown-item {
        color: #f5f5dc;
    }

        .dropdown-menu .dropdown-item:hover {
            background-color: #5c3a21;
            color: #ffd700;
        }*/

.navbar-nav .nav-link i {
    margin-right: 6px;
    color: #ffd700; /* íconos dorados */
}
.text-bienvenida {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #5c3a21;
    border-top: 1px solid #5c3a21;
    border-bottom: 1px solid #5c3a21;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.sub-bienvenida {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #7a5230;
    font-size: 1.2rem;
}

section h3 {
    color: #5c3a21;
}

/* Card estilo campirano */
.card {
    background-color: #fdfaf6; /* beige claro */
    border: 1px solid #d2b48c; /* tono madera clara */
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(92, 58, 33, 0.3); /* sombra marrón */
    }

/* Títulos y texto */
.card-title {
    color: #5c3a21; /* marrón madera */
    font-weight: bold;
}

.card-text {
    color: #7a5230; /* marrón más claro */
}

/* Precio */
.card-body .fw-bold {
    color: #ffd700 !important; /* dorado */
    font-size: 1.2rem;
}

/* Botones */
.btn-outline-danger {
    border-color: #8b0000;
    color: #8b0000;
}

    .btn-outline-danger:hover {
        background-color: #8b0000;
        color: #fff;
    }

.btn-outline-success {
    border-color: #228b22;
    color: #228b22;
}

    .btn-outline-success:hover {
        background-color: #228b22;
        color: #fff;
    }

/* Badge cantidad */
.badge.bg-secondary {
    background-color: #5c3a21 !important; /* marrón oscuro */
    color: #f5f5dc; /* beige claro */
}

/* Botón carrito */
.btn-outline-primary {
    border-color: #5c3a21;
    color: #5c3a21;
}

    .btn-outline-primary:hover {
        background-color: #5c3a21;
        color: #fff;
    }


/* Contenedor de filtros */
.filtros-container {
    background-color: #fdfaf6; /* beige claro */
    border: 1px solid #d2b48c; /* borde madera clara */
    border-radius: 8px;
    padding: 1rem;
}

    /* Input de búsqueda */
    .filtros-container .form-control {
        border: 1px solid #5c3a21; /* marrón madera */
        background-color: #fffaf0; /* tono cálido */
        color: #5c3a21;
    }

        .filtros-container .form-control:focus {
            border-color: #ffd700; /* dorado */
            box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
        }

    /* Selects */
    .filtros-container .form-select {
        border: 1px solid #5c3a21;
        background-color: #fffaf0;
        color: #5c3a21;
    }

        .filtros-container .form-select:focus {
            border-color: #ffd700;
            box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
        }

    /* Placeholder y texto */
    .filtros-container input::placeholder {
        color: #7a5230;
        opacity: 0.8;
    }

/* Encabezado carrito */
h3.bg-light {
    background-color: #fdfaf6 !important; /* beige claro */
    color: #5c3a21; /* marrón madera */
    border: 1px solid #d2b48c;
}

/* Tabla */
.table {
    border: 1px solid #d2b48c;
}

    .table thead {
        background-color: #5c3a21; /* marrón oscuro */
        color: #f5f5dc; /* beige claro */
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fffaf0; /* tono cálido */
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #fdfaf6;
}

/* Botón eliminar */
.btn-danger {
    background-color: #8b0000;
    border: none;
}

    .btn-danger:hover {
        background-color: #a52a2a;
    }

/* Botones de acción */
.btn-outline-secondary {
    border-color: #5c3a21;
    color: #5c3a21;
}

    .btn-outline-secondary:hover {
        background-color: #5c3a21;
        color: #fff;
    }

.btn-primary {
    background-color: #5c3a21;
    border: none;
}

    .btn-primary:hover {
        background-color: #7a5230;
    }

/* Botones externos */
.btn-warning {
    background-color: #ffd700;
    border: none;
    color: #5c3a21;
}

.btn-success {
    background-color: #228b22;
    border: none;
}

/* Tipografía rústica */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fdfbf7; /* Beige claro */
    color: #3e2c1c; /* Marrón tierra */
}

/* Encabezados */
h1, h2, h3, h5 {
    font-weight: bold;
    color: #5a3d2b; /* Café oscuro */
}

/* Botones */
.btn-primary {
    background-color: #8b4513; /* Marrón madera */
    border-color: #6f3a10;
}

    .btn-primary:hover {
        background-color: #a0522d;
        border-color: #7b3f15;
    }

/* Tarjetas */
.card {
    border: 1px solid #d2b48c; /* Arena */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Menú lateral */
nav {
    background-color: #f5deb3; /* Trigo */
}

    nav .nav-link {
        color: #5a3d2b;
        font-weight: 500;
    }

        nav .nav-link:hover {
            background-color: #deb887; /* Marrón claro */
            border-radius: 4px;
        }

/* Footer */
footer {
    background-color: #fdfbf7;
    border-top: 2px solid #d2b48c;
    padding: 20px;
    color: #5a3d2b;
}

/* Íconos sociales */
.bi-facebook {
    color: #1877f2;
}

.bi-twitter {
    color: #1da1f2;
}

.bi-youtube {
    color: #ff0000;
}

.bi-instagram {
    color: #c13584;
}

/* Fondo texturizado campirano */
.bg-campirano {
    background-image: url("/images/textura-beige.png");
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
}

/* Títulos en marrón tierra */
.text-brown {
    color: #6e4b2f;
}

/* Fondo beige claro */
.bg-beige {
    background-color: #fdf8f3;
}

/* Botón estilo madera */
.btn-madera {
    background-color: #6e4b2f;
    color: white;
    border: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

    .btn-madera:hover {
        background-color: #5a3d26;
    }

/* Tarjeta campirana */
.card-campirana {
    background-color: #fffaf3;
    border: 1px solid #e0d4c0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

/* Sombra suave */
.shadow-campirano {
    box-shadow: 0 4px 12px rgba(110, 75, 47, 0.2);
}

/* Fondo texturizado campirano */
.bg-campirano {
    background-image: url("/images/textura-beige.png"); /* usa la textura que generamos */
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
}

/* Títulos en marrón tierra */
.text-brown {
    color: #6e4b2f;
}

/* Fondo beige claro */
.bg-beige {
    background-color: #fdf8f3;
}

/* Botón estilo madera */
.btn-madera {
    background-color: #6e4b2f;
    color: white;
    border: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .btn-madera:hover {
        background-color: #5a3d26;
    }

/* Tarjeta campirana */
.card-campirana {
    background-color: #fffaf3;
    border: 1px solid #e0d4c0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

/* Sombra suave */
.shadow-campirano {
    box-shadow: 0 4px 12px rgba(110, 75, 47, 0.2);
}


.bg-beige {
    background-color: #fdf8f3 !important;
}

.navbar .nav-link {
    color: #6e4b2f !important;
    font-weight: 500;
}

    .navbar .nav-link:hover {
        color: #5a3d26 !important;
    }

/* Fondo café madera */
.bg-madera {
    background-color: #6e4b2f !important;
}

/* Texto claro, legible y elegante en navbar */
.navbar.bg-madera .nav-link {
    color: #fdf8f3 !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

    /* Hover más claro */
    .navbar.bg-madera .nav-link:hover {
        color: #ffe8c8 !important;
    }

/* Dropdown fondo beige y texto marrón */
.dropdown-menu.bg-beige {
    background-color: #fdf8f3 !important;
}

.dropdown-menu .dropdown-item.text-brown {
    color: #6e4b2f !important;
    font-weight: 500;
}

/* Fondo campirano (madera) */
.bg-campirano {
    background-color: #6e4b2f !important; /* mismo tono que el footer */
}

/* Texto marrón claro para contraste */
.navbar.bg-campirano .nav-link {
    color: #fdf8f3 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

    .navbar.bg-campirano .nav-link:hover {
        color: #ffe8c8 !important;
    }

/* Fondo campirano (mismo que footer) */
.bg-campirano {
    background-color: #6e4b2f !important;
}

/* Texto claro para contraste */
.navbar.bg-campirano .nav-link {
    color: #fdf8f3 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

    .navbar.bg-campirano .nav-link:hover {
        color: #ffe8c8 !important;
    }

/* Fondo campirano (mismo tono que footer) */
.bg-campirano {
    background-color: #6e4b2f !important;
}

/* Texto claro para contraste en navbar */
.navbar.bg-campirano .nav-link {
    color: #fdf8f3 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

    .navbar.bg-campirano .nav-link:hover {
        color: #ffe8c8 !important;
    }

/* Forzar texto blanco en navbar con fondo madera */
.navbar[style*="madera-footer.png"] .nav-link,
.navbar[style*="madera-footer.png"] .nav-link:visited {
    color: #ffffff !important; /* blanco puro */
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6); /* sombra para legibilidad */
}

    /* Hover en beige claro */
    .navbar[style*="madera-footer.png"] .nav-link:hover {
        color: #f5f5dc !important; /* beige claro */
    }


/* Forzar texto blanco en navbar */
.navbar[style*="madera-footer.png"] .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

    /* Hover en beige claro */
    .navbar[style*="madera-footer.png"] .nav-link:hover {
        color: #f5f5dc !important;
    }

/* Submenú con fondo madera */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover en submenú */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.1) !important;
            color: #f5f5dc !important;
        }

/* Fondo madera en dropdown */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Forzar fondo madera en el submenú */
.navbar .dropdown-menu {
    background: url('images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .navbar .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .navbar .dropdown-menu .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Forzar fondo madera en TODOS los dropdowns dentro del navbar */
.navbar .dropdown-menu {
    background: url('images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .navbar .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .navbar .dropdown-menu .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Forzar fondo madera en el dropdown dentro del navbar */
.navbar .nav-item .dropdown-menu {
    background: url('images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .navbar .nav-item .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .navbar .nav-item .dropdown-menu .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Forzar fondo madera en TODOS los dropdowns del navbar */
.navbar .nav-item.dropdown > .dropdown-menu {
    background: url('images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .navbar .nav-item.dropdown > .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .navbar .nav-item.dropdown > .dropdown-menu .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Fondo madera solo para dropdown con clase personalizada */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }
/* Fondo madera solo para dropdown con clase personalizada */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }
/* Fondo madera solo para dropdown con clase personalizada */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

/* Fondo madera solo para dropdown con clase personalizada */
.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

    /* Texto blanco en submenú */
    .dropdown-menu.dropdown-madera .dropdown-item {
        color: #ffffff !important;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    }

        /* Hover elegante */
        .dropdown-menu.dropdown-madera .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15) !important;
            color: #f5f5dc !important;
        }

    /* Mensaje de prueba SOLO si se usa dropdown-madera */
    /*.dropdown-menu.dropdown-madera::before {
        content: "✅ Estilo dropdown-madera aplicado";
        display: block;
        background: green;
        color: white;
        font-weight: bold;
        text-align: center;
        padding: 5px;
    }*/



.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
}

.navbar .nav-item.dropdown > ul.dropdown-menu.dropdown-madera {
    background: url('/images/madera-footer.png') center/cover no-repeat !important;
    border: none !important;
}

/*.recetas-header {
    background: url('images/wood-texture.jpg') center/cover;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
}

    .recetas-header .logo {
        height: 60px;
        margin-right: 1rem;
    }

.recetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.receta-card {
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .receta-card img {
        width: 100%;
        border-radius: 6px;
    }

.btn-video {
    display: inline-block;
    margin-top: 1rem;
    background: #b22222;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
}

.recetas-footer {
    background: url('images/wood-texture.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
}

.recetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.receta-card {
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .receta-card img {
        width: 100%;
        border-radius: 6px;
    }

.recetas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.receta-card {
    background: url('/images/madera-textura.jpg');
    background-size: cover;
    border: 2px solid #4a2f1f;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    max-width: 320px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
    font-family: 'Georgia', serif;
}

    .receta-card h3 {
        font-weight: bold;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .receta-card img {
        border-radius: 6px;
        margin-bottom: 10px;
        width: 100%;
    }

.recetas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.receta-card {
    background: url('/images/madera-textura.jpg');
    background-size: cover;
    border: 2px solid #4a2f1f;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    max-width: 320px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
    font-family: 'Georgia', serif;
}

    .receta-card h2 {
        font-weight: bold;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .receta-card img {
        border-radius: 6px;
        margin-bottom: 10px;
        width: 100%;
    }

.btn-video {
    display: inline-block;
    background-color: #d4a017;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-video:hover {
        background-color: #a52a2a;
    }

.receta-card {
    background: url('/images/madera-textura.jpg');
    background-size: cover;
    border: 2px solid #4a2f1f;
    border-radius: 8px;
    padding: 15px;
    max-width: 320px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
    position: relative;
    color: #fff;
    font-family: 'Georgia', serif;
}

    .receta-card h2,
    .receta-card p,
    .receta-card pre,
    .receta-card a {
        background-color: rgba(0,0,0,0.6);*/ /* fondo oscuro semitransparente */
        /*padding: 5px;
        border-radius: 4px;
    }

.recetas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.receta-card {
    background-color: #fff;*/ /* fondo claro */
    /*border: 2px solid #4a2f1f;*/ /* borde madera */
    /*border-radius: 8px;
    padding: 15px;
    max-width: 320px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
    font-family: 'Georgia', serif;
    color: #333;*/ /* texto oscuro */
/*}

    .receta-card h2 {
        font-weight: bold;
        margin-bottom: 10px;
        text-transform: uppercase;
        color: #4a2f1f;*/ /* tono madera para títulos */
    /*}

    .receta-card img {
        border-radius: 6px;
        margin-bottom: 10px;
        width: 100%;
    }

    .receta-card ul {
        margin: 0;
        padding-left: 20px;
        color: #222;
    }

.btn-video {
    display: inline-block;
    background-color: #c62828;*/ /* rojo fuerte */
    /*color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-video:hover {
        background-color: #8b0000;*/ /* rojo oscuro */
    /*}*/


.panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-secondary {
    background-color: #5a3e2b;
    border: none;
    color: #fff;
}

.btn-danger {
    background-color: #8b0000;
    border: none;
    color: #fff;
}

.whatsapp-btn {
    background-color: #25D366; /* verde oficial WhatsApp */
    border: none;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

    .whatsapp-btn:hover {
        background-color: #128C7E; /* verde más oscuro */
        color: #fff;
    }

.card {
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: scale(1.02);
    }

.carousel-inner img {
    border-radius: 8px;
}

/* Botón WhatsApp */
.btn-success {
    background-color: #25D366;
    border: none;
}

    .btn-success:hover {
        background-color: #128C7E;
    }

/* Responsive: en móvil los botones se apilan */
@media (max-width: 768px) {
    .card-footer {
        flex-direction: column !important;
    }

        .card-footer .btn {
            width: 100%;
        }
}

.text-producto {
    color: #4B2E2E; /* café oscuro, más campirano */
    font-weight: 700;
}

.badge.bg-warning.text-dark {
    background-color: #d2b48c; /* beige rústico */
    color: #3e2a1f; /* café oscuro */
    font-weight: 600;
}



/* Card Venta */

/* Nombre del producto */
.text-producto {
    color: #3e2a1f; /* café oscuro */
    font-weight: 700;
}

/* Precio base */
.precio-base {
    color: #2f4f4f; /* gris verdoso sobrio */
    font-weight: 600;
}

/* Precio normal tachado */
.precio-normal {
    color: #7a7a7a;
    text-decoration: line-through;
    margin-right: 8px;
}

/* Precio promocional */
.precio-promo {
    color: #006400; /* verde oscuro */
    font-weight: 700;
}

/* Badge rústico */
.badge-rustico {
    background-color: #d2b48c; /* beige rústico */
    color: #3e2a1f; /* café oscuro */
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 10px;
}

/* Carrito */

/* Contenedor de botones de pago */
.carrito-pagos .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

    .carrito-pagos .btn:hover {
        transform: scale(1.05);
    }

/* Logo dentro del botón */
.logo-pago {
    height: 24px;
    width: auto;
}

/* Amazon */
.btn-amazon {
    background-color: #FF9900; /* naranja oficial Amazon */
    color: #fff;
    border: none;
}

    .btn-amazon:hover {
        background-color: #E68A00;
    }

/* Mercado Libre */
.btn-mercadolibre {
    background-color: #ffe600; /* amarillo oficial Mercado Libre */
    color: #000;
    border: none;
}

    .btn-mercadolibre:hover {
        background-color: #ffd000;
    }

.logo-pago {
    height: 32px; /* antes 24px */
    width: auto;
}

.logo-pago {
    height: 80px; /* antes 24px */
    width: auto;
}

/* Logo más grande y claro */
.logo-pago-grande {
    height: 64px; /* tamaño más grande */
    width: auto;
    margin-right: 10px;
}

/* Botón Mercado Libre */
.btn-mercadolibre {
    background-color: #ffe600; /* amarillo oficial */
    color: #000;
    border: none;
    font-size: 1.1rem; /* texto más grande */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 8px;
}

    .btn-mercadolibre:hover {
        background-color: #ffd000;
    }

/* Botón vertical Mercado Libre */
.btn-mercadolibre-vertical {
    background-color: #ffe600; /* amarillo oficial */
    color: #000;
    border: none;
    font-weight: 600;
    display: flex;
    flex-direction: column; /* logo arriba, texto abajo */
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    gap: 10px;
    width: 100%; /* ocupa todo el ancho en móvil */
    max-width: 220px; /* tamaño controlado en escritorio */
}

    .btn-mercadolibre-vertical:hover {
        background-color: #ffd000;
    }

/* Logo más grande en vertical */
.logo-pago-vertical {
    height: 72px; /* tamaño grande para móvil */
    width: auto;
}

/* Texto debajo del logo */
.texto-pago {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Botón vertical Amazon */
.btn-amazon-vertical {
    background-color: #FF9900; /* naranja oficial Amazon */
    color: #fff;
    border: none;
    font-weight: 600;
    display: flex;
    flex-direction: column; /* logo arriba, texto abajo */
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    gap: 10px;
    width: 100%; /* ocupa todo el ancho en móvil */
    max-width: 220px; /* tamaño controlado en escritorio */
}

    .btn-amazon-vertical:hover {
        background-color: #E68A00;
    }

/* Logo más grande en vertical */
.logo-pago-vertical {
    height: 72px; /* tamaño grande para móvil */
    width: auto;
}

/* Texto debajo del logo */
.texto-pago {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-call {
    background-color: #28a745; /* verde llamativo */
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease-in-out;
}

    .btn-call:hover {
        background-color: #218838;
        transform: scale(1.05);
    }

