﻿/* ========== Casa del Mimbre · Overrides visuales (Home + Master) ========== */
:root {
    --bg: #FAF7F2;
    --paper: #FFFFFF;
    --ink: #3f3f3f;
    --muted: #6f6f6f;
    --brand: #908478; /* acento cálido */
    --brand-2: #af9b7f; /* secundario (logo) */
    --line: #e8e2d9;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --gap: clamp(12px, 2vw, 24px);
    --shadow-md: 0 10px 24px rgba(0,0,0,.08);
    --shadow-sm: 0 6px 16px rgba(0,0,0,.06);
}

/* ===== Base ===== */
html, body {
    background: var(--bg);
    color: var(--ink);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================================================================== */
/* ========== MASTER: NAV SUPERIOR / LOGO CENTRAL / FOOTER / FLOTANTES ================ */
/* ===================================================================================== */

/* Barra de navegación */
.stl-nav-general {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.stl-nav-menu .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--brand);
    letter-spacing: .2px;
    padding: 8px 12px;
    transition: color .2s ease, transform .15s ease;
}

    .stl-nav-menu .navbar-nav .nav-link:hover {
        color: var(--brand);
        transform: translateY(-1px);
    }

    .stl-nav-menu .navbar-nav .nav-link.active,
    .stl-nav-menu .navbar-nav .nav-link:focus {
        color: var(--brand);
    }

/* Ítem <li> */
.stl-li-menu {
    margin: 0 2px;
}

/* Título central de la master */
.stl-ttl-central-master {
    margin: 0;
    padding: 0 8px;
    font-weight: 800;
    letter-spacing: .6px;
    color: var(--brand-2);
    font-size: clamp(16px, 2vw, 22px);
    white-space: nowrap;
}

/* Botón hamburguesa */
.dropdown-img {
    width: 28px;
    height: 28px;
    filter: grayscale(20%);
    opacity: .9;
}

/* Colapso del menú (nos pegamos a Bootstrap pero sin romperlo) */
.clsDivCollapseMenu {
    gap: 12px;    
}

.sl-menu {
    padding-inline: 60px;
    display: flex;
}

.ul-auto {
    gap: 2vw;
}

.carrito2 {
    display: none;
}

@media (max-width: 992px) {
    .sl-menu {
        padding-inline: initial;
        display: initial;
    }

    .ul-auto {
        gap: initial;
    }

    .carrito {
        display: none !important;
    }

    .carrito2 {
        display: initial;
        width: 8vw;
        margin-inline: 2.3vw;
    }

}

    @media (min-width: 992px) {
        .clsDivCollapseMenu {
            display: grid !important;
            grid-template-columns: 1fr auto 1fr; /* nav izquierda | título | nav derecha */
            align-items: center;
        }

        .stl-second-ul {
            justify-self: end;
        }
    }

    /* Logo centrado debajo del nav */
    .stl-img-nav {
        width: clamp(90px, 12vw, 140px);
        border-radius: 8px;
        box-shadow: var(--shadow-sm);
        margin: 14px auto 4px auto;
    }

    /* Flotantes */
    .wpp {
        position: fixed;
        right: 16px;
        z-index: 900;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        box-shadow: 0 10px 22px rgba(0,0,0,.18);
        transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    }

    .wpp {
        bottom: 84px;
        background: #25D366;
        padding: 8px;
    }

    .carrito {
        width: 2.5vw;
    }

    .wpp:hover {
        transform: translateY(-2px);
        filter: brightness(1.05);
        box-shadow: 0 14px 26px rgba(0,0,0,.22);
    }

    /* Footer */
.stl-footer {
    margin-top: 40px;
    background: #af9c7f;
    color: #fff;
    padding: 28px 0 10px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

    .stl-foot-gral {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--gap);
        display: grid;
        gap: var(--gap);
        grid-template-columns: 1fr;
        align-items: start;
    }

    @media (min-width: 960px) {
        .stl-foot-gral {
            grid-template-columns: 1.2fr .8fr;
        }
    }

    .stl-div-foot {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }

@media (max-width: 960px) {
    .stl-div-foot {
        grid-template-columns: 1fr;
    }
}

    .stl-foot-1, .stl-foot-2 {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 12px;
        padding: 10px 12px;
    }

    .img-instagram, .img-correo {
        width: 22px;
        height: 22px;
    }

    .stl-p-foot {
        margin: 0;
        font-weight: 600;
    }

    .stl-foot-3 {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 12px;
        padding: 12px 14px;
    }

    .stl-p-foot-2 {
        margin: 0 0 4px 0;
        font-weight: 700;
    }

    .stl-p-foot-3 {
        margin: 0 0 2px 0;
        opacity: .9;
    }

    .stl-p-foot-4, .stl-p-foot-5 {
        text-align: center;
        margin: 6px 0 0 0;
        opacity: .85;
        font-size: .9rem;
    }

    /* Enlaces del footer */
    .stl-footer a {
        color: #fff !important;
        text-decoration: none;
    }

        .stl-footer a:hover {
            text-decoration: underline;
        }

    /* ===================================================================================== */
    /* ========== HOME: HERO / DESTACADOS / CATEGORÍAS / NOSOTROS / CONTACTO / MAPAS ====== */
    /* ===================================================================================== */

    /* HERO */
.stl-div-img-home {
    position: relative;
    background-image: url('../Images/mimbre.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
}

.stl-img-home-2 {
    background-color: #897c69b3;
    padding: 1.5vw 3vw;
    width: 35vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 1px 1px 7px 0px #5f4d3e;
}

.stl-p-home {
    letter-spacing: .6px;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(25px, 2.6vw, 38px);
    font-family: "Merriweather", serif;
    white-space: nowrap;
}

.stl-p-home-2 {
    letter-spacing: .6px;
    color: #ffffff;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    font-family: "Merriweather", serif;
    margin-top: 20px;
    white-space: nowrap;
}

.btn-home-desc {
    display: inline-block;
    background-color: rgb(160 130 100 / 47%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 999px;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border: none;
    box-shadow: 1px 1px 4px 0px #857654;
}

    .btn-home-desc:hover {
        background-color: rgba(160, 130, 100, 0.9);
        transform: scale(1.03);
        text-decoration: none;
        color: #fff;
    }

@media (max-width: 980px) {
    .stl-img-home-2 {
        width: 90vw !important;
        padding: 6vw 1.5vw;
        border-radius: 5px;
    }
    .stl-p-home {
        font-size: 6vw;
    }
    .stl-p-home-2 {
        font-size: 3.4vw;
    }
}

@media (max-width: 1410px) {
    .stl-img-home-2 {
        width: 50vw;
    }
}


/* Título de “Productos destacados” (mantengo tu <h1>, pero lo reemplazo visualmente) */
.div-home-ttl {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 var(--gap);
    text-align: left;
}

    .stl-ttl-home {
        color: transparent !important;
        height: 0;
        margin: 0;
        position: relative;
    }

    .div-home-ttl::before {
        content: "PRODUCTOS DESTACADOS";
        display: inline-block;
        font-size: clamp(20px, 2.4vw, 30px);
        font-weight: 800;
        color: var(--brand);
        letter-spacing: .6px;
    }

    /* Productos destacados (grid + cards) */
    .stl-productos-destacados {
        max-width: 1200px;
        margin: 14px auto 0;
        padding: 0 var(--gap);
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(12, 1fr);
    }

    .stl-card-destacado {
        grid-column: span 12;
    }

    @media (min-width: 560px) {
        .stl-card-destacado {
            grid-column: span 6;
        }
    }

    @media (min-width: 980px) {
        .stl-card-destacado {
            grid-column: span 4;
        }
    }

    .stl-card-destacado-2 {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        height: 100%;
    }

    @media (max-width: 980px) {
        .stl-card-destacado-2 {
            width: 80%;
            margin: 3vw auto !important;
            height: auto;
        }
    }

    .stl-img-card-des-home {
        position: relative;
        aspect-ratio: 4/3;
        overflow: hidden;
        background: #f4efe7;
    }

    .stl-imagen-destacado {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.01);
        transition: transform .25s ease;
    }

    .stl-card-destacado-2 .stl-p-destacado {
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--ink);
        margin: 12px 14px 0;
        line-height: 1.25;
    }

    .stl-card-destacado-2 .stl-ref-destacado {
        font-size: .95rem;
        color: var(--muted);
        margin: 2px 14px 10px;
    }

        .stl-card-destacado-2 .stl-ref-destacado:last-of-type {
            color: var(--brand);
            font-weight: 700;
        }

    .stl-card-destacado-2:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0,0,0,.10);
        border-color: #e2d9cd;
    }

        .stl-card-destacado-2:hover .stl-imagen-destacado {
            transform: scale(1.04);
        }

    /* Categorías (renombradas visualmente) */
    .stl-categorias {
        max-width: 1200px;
        margin: 32px auto 0;
        padding: 0 var(--gap) var(--gap);
    }

    .stl-div-ttl-categorias {
        margin-top: 8vw;
    }
    
    .stl-div-ttl-categorias p.stl-ttl-categorias {
        color: transparent !important;
        height: 0;
        margin: 0;
        position: relative;
    }

    .stl-div-ttl-categorias::before {
        content: "NUESTRA LÍNEA DE PRODUCTOS";
        display: block;
        text-align: left;
        font-size: clamp(18px, 2.2vw, 26px);
        font-weight: 500;
        color: var(--brand-2);
    }

    .stl-secciones-categorias {
        display: grid;
        gap: var(--gap);
        grid-template-columns: 1fr;
        margin-top: 12px;
    }

    @media (max-width: 980px) {
        .stl-div-ttl-categorias::before {
            text-align: center;
        }
    }

    @media (min-width: 820px) {
        .stl-secciones-categorias {
            grid-template-columns: 1fr 1fr;
        }
    }

    .stl-sec-1, .stl-sec-4 {
        display: grid;
        gap: var(--gap);
        grid-template-columns: 1fr;
    }

    @media (min-width: 560px) {
        .stl-sec-1, .stl-sec-4 {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .stl-cat-destacada-boton-1, .stl-cat-destacada-boton-2 {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 999px;
        min-height: 64px;
        display: grid;
        place-items: center;
        text-align: center;
        box-shadow: var(--shadow-sm);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
    }

    .stl-p-sec, .stl-p-sec-2 {
        margin: 0;
        padding: 10px 18px;
        font-weight: 700;
        font-size: 1rem;
        color: var(--ink);
        letter-spacing: .2px;
    }

    .stl-cat-destacada-boton-1:hover, .stl-cat-destacada-boton-2:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 22px rgba(0,0,0,.09);
        border-color: #e2d9cd;
        background: #fffdf9;
    }

    /* Sobre nosotros */
.stl-sobre-nosotros {
    position: relative;
    background-image: url(../Images/sobrenosotros.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding: 6vw 10vw;
    background-attachment: fixed;
    margin-top: 8vw;
}

.stl-ttl-nosotros {
    letter-spacing: .6px;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(25px, 2.6vw, 38px);
    font-family: "Merriweather", serif;
    white-space: nowrap;
    text-align: center;
}

.stl-div-nosotros {
    background-color: #897c69b3;
    padding: 1.5vw 3vw;
    width: 50vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 1px 1px 7px 0px #5f4d3e;
}

@media (max-width: 980px) {
    .stl-sobre-nosotros {
        margin-top: 14vw;
    }

    .stl-div-nosotros {
        width: 80vw;
    }
}

.stl-img-nosotros {
    width: 120px;
    margin: 4px auto 14px;
    opacity: .9;
    display: block;
}

.stl-p-nosotros {
    letter-spacing: .6px;
    color: #ffffff;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 14px);
    font-family: "Merriweather", serif;
    margin-top: 20px;
    line-height: 1.7;
    text-align: justify;
}

    /* Contacto / disponibilidad */
    .stl-consultas-disponibilidad {
        max-width: 1200px;
        margin: 40px auto 0;
        padding: 0 var(--gap);
    }

    .stl-div-con-dis {
        display: grid;
        gap: var(--gap);
        grid-template-columns: 1fr;
        align-items: start;
    }

.img-dias {
    width: 100%;
    max-width: 600px;
    border-radius: 16px; /* esquinas redondeadas */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* sombra suave */
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* animación */
    display: block;
    margin: 0 auto;
}

    .img-dias:hover {
        transform: scale(1.02); /* pequeño zoom */
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); /* sombra más profunda */
    }

    @media (min-width: 980px) {
        .stl-div-con-dis {
            grid-template-columns: 1fr 1fr;
        }
    }
    /* Título inyectado */
    .stl-div-con-dis > div:first-child {
        position: relative;
    }

        .stl-div-con-dis > div:first-child::before {
            content: "CONTACTANOS";
            display: block;
            text-align: center;
            font-size: clamp(18px, 2.2vw, 26px);
            font-weight: 500;
            color: var(--brand-2);
        }

    /* Inputs/botón */
.stl-txt-con, .stl-txt-con-2 {
    width: 70%;
    border: 2px solid #d5d5d5;
    background: var(--paper);
    border-radius: 6px;
    padding: 12px 14px;
    color: #472d0bd6;
    outline: none;
    margin-top: 20px;
    font-weight: 500;
    max-width: none;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

    .stl-txt-con-2 {
        min-height: 120px;
    }

        .stl-txt-con:focus, .stl-txt-con-2:focus {
            border-color: #e2d9cd;
            box-shadow: 0 0 0 4px rgba(183,110,41,.08);
            background: #fffdfa;
        }

.stl-btn-con {
    display: inline-block;
    background-color: rgb(160 130 100 / 80%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 8px 50px;
    border-radius: 999px;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    border: none;
    box-shadow: 1px 1px 4px 0px #857654;
}

@media (max-width: 980px) {
    .stl-btn-con {
        margin-bottom: 15vw;
    }
}

.stl-btn-con:hover {
    transform: scale(1.03);
    background-color: rgb(160 130 100 / 47%);
}

        .stl-btn-con:active {
            transform: translateY(0);
        }

    /* Separadores y horarios */
    .stl-div-separador {
        display: grid;
        place-items: center;
    }

    .img-sep, .img-sep-2 {
        width: 48px;
        opacity: .8;
    }

    .stl-ttl-dis {
        font-weight: 800;
        color: var(--brand-2);
        font-size: 1.1rem;
        margin: 0;
    }

    .stl-div-dis {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .img-calendar {
        width: 20px;
        opacity: .85;
    }

    .stl-p-dis {
        margin: 0;
        font-weight: 700;
    }

    .stl-p-hor {
        margin: 2px 0 10px 28px;
        color: var(--muted);
    }

    /* Ubicación */
    .stl-ubicacion {
        max-width: 1200px;
        margin: 40px auto 60px;
        padding: 0 var(--gap);
    }

    .stl-div-ttl-ubicacion p.stl-ttl-ubicacion {
        color: transparent !important;
        height: 0;
        margin: 0;
        position: relative;
    }

.stl-div-ttl-ubicacion::before {
    content: "VISITANOS";
    display: block;
    text-align: center;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 500;
    color: var(--brand-2);
}

@media (max-width: 960px) {
    .stl-div-ttl-ubicacion::before {
        margin-top: 15vw;
    }
}

.hr-visitanos {
    width: 20%;
    border: 1px solid;
    color: var(--brand-2);
}

    .stl-maps {
        display: grid;
        gap: var(--gap);
        grid-template-columns: 1fr;
    }

    @media (min-width: 960px) {
        .stl-maps {
            grid-template-columns: 1fr 1fr;
        }
    }

.stl-map-1 {
    width: 100%;
    border-radius: 25px 25px 0px 0px;
    box-shadow: var(--shadow-sm) !important;
}

.stl-map {
    border: 2px solid;
    color: var(--brand-2);
    border-radius: 25px;
}

.h5-map {
    text-align: center;
    margin-top: 20px;
    color: #7d4f07;
}

.p-map {
    text-align: center;
    margin: 0 auto;
    color: #7d4f07;
    width: 50%;
    padding-bottom: 20px;
}

    /* Utilidad */
    center, .center {
        text-align: center;
    }

    /* ========================================================= */
    /* ========== PANTALLA DE PRODUCTOS (Productos.aspx) ======= */
    /* ========================================================= */

    /* Título de sección (reutiliza .div-home-ttl / .stl-ttl-home) */
body .div-home-ttl {
    max-width: 1200px;
    margin-top: 6vw;
    padding: 0 var(--gap);
    text-align: center;
    text-align: left;
}

    body .stl-ttl-home {
        color: transparent !important;
        height: 0;
        margin: 0;
        position: relative;
    }

    body .div-home-ttl::before {
        content: "PRODUCTOS DESTACADOS";
        display: inline-block;
        font-size: clamp(20px, 2.4vw, 30px);
        font-weight: 500;
        color: var(--brand);
        letter-spacing: .6px;
    }

@media (max-width: 992px) {
    body .div-home-ttl {
        margin-top: 14vw;
        text-align: center;
    }
}


    /* ===== Buscador (según PDF: input + botón centrados) ===== */
    .section-busqueda-productos {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 0 var(--gap);
        flex-wrap: wrap;
    }

        .section-busqueda-productos input[type="text"],
        .section-busqueda-productos input[type="search"],
        .section-busqueda-productos .aspNetDisabled {
            /* Estiliza el TxtBuscar (server control) */
            min-width: min(520px, 56vw);
            border: 1px solid var(--line);
            background: var(--paper);
            border-radius: 0px 15px 15px 0px;
            padding: 12px 16px;
            color: var(--ink);
            outline: none;
            transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
            border: 2px solid #977c56;
        }

            .section-busqueda-productos input[type="text"]:focus {
                border-color: #e2d9cd;
                box-shadow: 0 0 0 4px rgba(183,110,41,.08);
                background: #fffdfa;
            }

    /* Botón Buscar (BtnBuscar con .stl-btn-buscar-producto) */
    .stl-btn-buscar-producto {
        border: none !important;
        border-radius: 999px !important;
        background: linear-gradient(180deg, var(--brand), #a76520) !important;
        color: #fff !important;
        font-weight: 800 !important;
        letter-spacing: .2px;
        padding: 12px 18px !important;
        box-shadow: 0 10px 18px rgba(183,110,41,.25);
        transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    }

        .stl-btn-buscar-producto:hover {
            transform: translateY(-1px);
            filter: brightness(1.02);
        }

    /* ===== Botón de “Categorías” (barra con lupa) ===== */
.stl-seccion-categorias {
    max-width: 150px;
    padding: 0 var(--gap);
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #ac977b;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
    padding: 2px;
}

.secCategorias {
    max-width: 1200px;
    margin: 0 auto;
}

.stl-seccion-categorias:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0,0,0,.09);
}

    .stl-img-lupa-categoria {
        width: 22px;
        height: 22px;
    }

    .stl-p-seccion-categorias {
        margin: 0;
        padding: 12px 12px 12px 0;
        font-weight: 700;
        color: #ffffff;
    }

    @media (max-width: 900px) {
        .stl-p-seccion-categorias {
            padding: 6px 6px 6px 0;
        }

        .stl-seccion-categorias {

        }

        .secCategorias {
            padding-top: 30px;
            padding-inline: 15px;
        }
    }


    /* ===== Grilla de productos (cards) ===== */
    #rptProductos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }


    .stl-card-destacado-2-prod {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        height: 100%;
    }

    /* Reutilizamos la grilla de Home para la lista */
    .rptProductos-grid,
    .stl-productos-destacados-prod {
        max-width: 1200px;
        margin: 12px auto 0;
        padding: 0 var(--gap);
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(12, 1fr);
    }


.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15px;
}

    .stl-card-destacado-prod {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
        overflow: hidden;
    }

.stl-img-card-des-home {
    width: 100%;
    aspect-ratio: 1 / 1; /* cuadrada; cambiá a 4/3 o 3/2 si querés */
    overflow: hidden;
}

.stl-imagen-destacado {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recorta manteniendo proporción */
    display: block;
}

.stl-link {
    text-decoration: none;
    color: #7C7C7C;
}

/* Responsivo */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
        padding-inline: 15px;
    }
}

@media (max-width: 800px) {
    .productos-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        padding-inline: 15px;
    }
}

/*@media (max-width: 500px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
}*/

    /* Imagen */
    .stl-card-destacado-2-prod .stl-img-card-des-home {
        position: relative;
        aspect-ratio: 4/4;
        overflow: hidden;
        background: #f4efe7;
    }

    .stl-card-destacado-2-prod .stl-imagen-destacado {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.01);
        transition: transform .25s ease;
    }

    /* Textos en card (Nombre / Código / “Más info…”) */
    .stl-card-destacado-2-prod .stl-p-destacado {
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--ink);
        margin: 12px 14px 4px;
        line-height: 1.25;
    }

    .stl-card-destacado-2-prod .stl-ref-destacado {
        font-size: .95rem;
        color: var(--muted);
        margin: 0 14px 10px;
    }

        .stl-card-destacado-2-prod .stl-ref-destacado:last-of-type {
            color: var(--brand);
            font-weight: 700; /* Botón textual “Más info…” look */
        }

    /* Hover */
.stl-card-destacado-2-prod:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
    border-color: #e2d9cd;
    text-decoration: none !important;
}
.stl-card-destacado-prod a,
.stl-card-destacado-prod a:focus,
.stl-card-destacado-prod a:active {
    text-decoration: none !important;
    color: inherit; /* para mantener el color original */
}

.stl-card-destacado-2-prod a:hover {
    text-decoration: none;
}

        .stl-card-destacado-2-prod:hover .stl-imagen-destacado {
            transform: scale(1.04);
        }

    /* (Opcional) Precio si lo renderizás como <p class="stl-precio"> */
    .stl-precio {
        margin: 0 14px 8px;
        font-weight: 800;
        color: #1b1b1b;
        font-size: 1.05rem;
    }

    /* ===== Panel lateral de Categorías (toggle) ===== */
    .div-categorias-producto {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 86vw);
        height: 100dvh;
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(8px);
        border-left: 1px solid var(--line);
        box-shadow: -10px 0 24px rgba(0,0,0,.12);
        z-index: 1050;
        padding-top: 14px;
    }

    .div-categorias-oculto {
        display: none;
    }

    .div-categorias-producto-2 {
        height: 100%;
        overflow-y: auto;
        padding: 10px 12px 20px 12px;
    }

    .stl-img-flecha-categorias {
        width: 26px;
        height: 26px;
        cursor: pointer;
        margin: 4px 0 10px 2px;
    }

    .p-categorias-producto {
        margin: 0 0 10px 0;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--paper);
        color: var(--ink);
        font-weight: 600;
        transition: background .15s ease, transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    }

        .p-categorias-producto:hover {
            background: #fffdf9;
            border-color: #e2d9cd;
            box-shadow: var(--shadow-sm);
            transform: translateX(-2px);
        }

    .img-mini {
        width: 11vw;
        margin-left: 25px;
    }

    @media (max-width: 960px) {
        .img-mini {
            width: 35vw;
            margin-left: initial;
        }
    }

    /* Carrusel de categorías */

/* Contenedor */
.carousel-infinite {
    --gap: 28px;
    --card-w: 360px; /* ancho de cada card (ajustable) */
    --card-h: 220px; /* alto de cada card (ajustable) */
    --speed: 28s; /* velocidad: menor = más rápido */

    width: 100%;
    overflow: hidden;
    position: relative;
    padding-block: 20px;
}

/* Pista que se desplaza */
.carousel-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: scroll-x var(--speed) linear infinite;
}

/* Pausa al pasar el mouse/touch */
.carousel-infinite:hover .carousel-track {
    /*animation-play-state: paused;*/
}

/* Card clickeable (div con href via <a>) */
.card-cat {
    flex: 0 0 auto;
    width: var(--card-w);
    height: var(--card-h);
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: center/cover no-repeat var(--img);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card-cat::after { /* leve degrade inferior */
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.35) 12%, transparent 55%);
    }

    .card-cat:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }

/* Etiqueta como en tu ejemplo */
.card-label {
    position: absolute;
    bottom: 0;
    z-index: 1;
    display: inline-block;
    background: rgba(160, 130, 100, .78);
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    padding: 5px 16px;
    backdrop-filter: blur(2px);
    text-align: center;
    width: 100%;
    font-family: "Merriweather", serif;
}

/* Animación continua: mueve todo el track hacia la izquierda
   la distancia total de (N * (ancho+gap)). Como duplicamos ítems,
   al terminar, engancha perfecto con el inicio. */
@keyframes scroll-x {
    to {
        transform: translateX(calc(-1 * (3 * (var(--card-w) + var(--gap)))));
    }
}

/* Responsivo */
@media (max-width: 1024px) {
    .carousel-infinite {
        --card-w: 300px;
        --card-h: 190px;
    }
}

@media (max-width: 640px) {
    .carousel-infinite {
        --card-w: 240px;
        --card-h: 160px;
        --gap: 20px;
    }
}

.stl-img-logo {
    margin: 0 auto;
    width: 20vw;
}

@media (max-width: 1024px) {
    .stl-img-logo {
        width: 45vw;
        padding-top: 50px;
    }
}

.btn-buscar {
    background-image: url('../Images/search.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-color: #977c56 !important;
    border-radius: 15px 0px 0px 15px !important;
    height: -webkit-fill-available !important;
}

.stl-div-busqueda {
    display: flex;
    align-items: center;
}

/* Contenedor principal */
/* --- 1. Centrado del Contenedor de Paginación --- */
.pagination {
    text-align: center;
    width: 100%;
    justify-content: center;
}

.pagination-info {
    display: inline-block !important;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

/* --- 2. Estilos de los Botones (Inactivos) --- */
.pagination .page-item .page-link {
    /* Colores */
    background-color: #D0C7BC; /* Beige claro (inactivo) */
    color: #fff; /* Texto blanco */
    border: 1px solid #D0C7BC; /* Borde del mismo color */
    /* Ajustes visuales */
    font-weight: bold;
    padding: 0.6em 0.9em;
    border-radius: 4px;
    margin-left: 5px;
}

    .pagination .page-item .page-link.sti-paginado-productos.seleccionado {
        background-color: #A3917F !important;
        color: #fff !important;
        border: 1px solid #A3917F !important;
        font-weight: bold;
        padding: 0.6em 0.9em;
        border-radius: 4px;
        margin-left: 0;
    }

/* --- ESTILO PARA EL BOTÓN INACTIVO (BEIGE CLARO) --- */
/* Aseguramos que la regla de los inactivos sea también fuerte */

.stl-paginado-productos {
    background-color: #D0C7BC !important; /* Beige claro (inactivo) */
    color: #fff !important; /* Texto blanco */
    border: 1px solid #D0C7BC !important; /* Borde del mismo color */
    /* Ajustes visuales */
    font-weight: bold !important;
    padding: 0.6em 0.9em !important;
    border-radius: 4px !important;
    margin-left: 5px !important;
}

.stl-paginado-productos-seleccionado {
    background-color: #8b613e !important;
    color: #fff !important;
    border: 1px solid #D0C7BC !important;
    font-weight: bold !important;
    padding: 0.6em 0.9em !important;
    border-radius: 4px !important;
    margin-left: 5px !important;
}

.stl-desc-paginado {
    content: "(Página 1 de 2)"; /* este texto lo reemplaza dinámicamente GetPaginacion() */
    font-weight: 600;
    color: #5b4b3a;
    margin-bottom: 4px;
}

.stl-boton-atras-detalle-producto {
    display: flex;
    margin-left: 3vw;
    margin-top: 2vw;
    position: absolute;
    align-items: flex-start;
    gap: 9px;
}

.stl-volver-p {
    color: #3e342b;
    font-family: "Merriweather", serif;
    font-weight: 600;
    padding-top: 3px;
}

.stl-img-det {
    margin: 0 auto;
}

@media (max-width: 800px) {
    .stl-boton-atras-detalle-producto {
        margin-top: 3vw;        
    }

    .stl-img-det {
        margin: initial;
    }
}

    .stl-arrow-2 {
        width: 30px;
    }

    /* ====== Card / layout general ====== */
    .stl-div-detalle-gral {
        max-width: 980px;
        margin: 0 auto;
        align-items: start;
        padding-bottom: 50px;
    }

.stl-div-detalle-gral-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 80%;
    margin: 0 auto;
}

    @media (max-width: 800px) {
        .stl-div-detalle-gral-2 {
            grid-template-columns: 1fr !important;
            padding-inline: 10%;
            max-width: initial !important;
        }

        .stl-var-car {
            grid-template-columns: 1fr !important;
        }

        .stl-div-btns-detalle {
            margin: 0 auto !important;
        }
    }

    /* el <center> del markup: que alinee a la izq como en la imagen */
    .stl-div-detalle-gral center {
        display: block;
        text-align: left;
    }

    /* ====== Imagen ====== */
    .stl-div-detalle-2 {
        width: 300px;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
        background: #f3f0ec;
    }

    .stl-img-detalle {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* ====== Título y precio ====== */
    .stl-ttl-detalle {
        display: block;
        font-size: 28px;
        line-height: 1.2;
        font-weight: 800;
        color: #3e342b; /* marrón oscuro */
        margin-bottom: 10px;
        font-family: "Merriweather", serif;
    }

    .stl-precio-detalle {
        display: inline-block;
        font-size: 22px;
        font-weight: 800;
        color: #3e342b;
        margin: 0 0 14px 0;
        font-family: "Merriweather", serif;
    }

    /* ====== Texto auxiliar (código / categoría / etiquetas) ====== */
    .stl-div-detalle-3 {
        margin-top: 4px;
    }

    .stl-div-detalle-4 {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .stl-div-detalle-5 {
        display: flex;
        flex-direction: column;
    }

    .stl-p-gral-detalle {
        font-size: 14px;
        color: #6c6258;
        font-weight: 600;
    }

        .stl-p-gral-detalle strong {
            color: #3e342b;
        }

    /* ====== Dropdown variante (tu DdlMedidas usa .btn .btn-warning) ====== */
    /* Lo limito al contenedor para no tocar otros botones del sitio */
    .stl-div-detalle-gral .btn.btn-warning {
        background: #efe6d7; /* beige */
        color: #3e342b;
        border: 1px solid #dccdb6;
        border-radius: 12px;
        padding: 6px 12px;
        font-weight: 600;
        box-shadow: 0 1px 0 rgba(0,0,0,.04);
    }

        .stl-div-detalle-gral .btn.btn-warning:focus,
        .stl-div-detalle-gral .btn.btn-warning:hover {
            background: #e8decd;
            border-color: #d4c4aa;
        }

    /* ====== Botones ====== */
    .stl-div-btns-detalle {
        margin-top: 16px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* Agregar al carrito (oscuro) */
    .stl-btn-agregar-carrito {
        background: #4a3b2f;
        color: #fff !important;
        border: 0;
        border-radius: 12px;
        padding: 10px 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 2px 0 rgba(0,0,0,.15);
        width: 100%;
    }

        .stl-btn-agregar-carrito:hover {
            filter: brightness(1.05);
            transform: scale(1.03);
            background: #4a3b2fab;
        }

    /* Ir al carrito (beige) */
    .stl-btn-ir-carrito {
        background: #e9d9bf;
        color: #3e342b !important;
        border: 0;
        border-radius: 12px;
        padding: 10px 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 2px 0 rgba(0,0,0,.08);
        width: 100%;
    }

        .stl-btn-ir-carrito:hover {
            filter: brightness(1.03);
            transform: scale(1.03);
            background: #d5b683;
        }

    .stl-var-car {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    /* Mensaje “Sin stock” */
    .stl-lbl-variante-sin-stock {
        background: #fbeaea;
        color: #a23b3b;
        border: 1px solid #f0c8c8;
        border-radius: 10px;
        padding: 8px 10px;
        font-weight: 700;
    }

    /* ====== Responsive ====== */
    @media (max-width: 680px) {
        .stl-div-detalle-gral {
            grid-template-columns: 1fr;
        }

        .stl-div-detalle-2 {
            width: 100%;
        }
    }

/* === Contenedor general del carrito === */
.stl-div-carrito {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fffaf6;
    border-radius: 14px;
    padding: 16px 24px;
    margin: 20px auto;
    width: 90%;
    max-width: 750px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    font-family: "Poppins", "Segoe UI", sans-serif;
}

/* === Imagen del producto === */
.stl-img-carrito {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

/* === Descripción === */
.stl-desc-carrito {
    flex: 1;
    color: #4a3b2c;
}

    .stl-desc-carrito h3 {
        font-size: 1.2rem;
        font-weight: 700;
        margin: 0 0 4px 0;
        color: #4b3a2a;
    }

    .stl-desc-carrito h5 {
        margin: 2px 0;
        font-size: 0.9rem;
        font-weight: 400;
        color: #6b5a48;
    }

/* === Precio === */
.stl-precio-carrito {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4b3a2a;
    margin-left: 20px;
    white-space: nowrap;
}

/* === Botones de cantidad === */
.stl-cantidad-carrito {
    display: flex;
    align-items: center;
    background-color: #f5eadd;
    border-radius: 12px;
    padding: 4px 10px;
    gap: 10px;
    margin-left: 20px;
}

.btn-cantidades-carrito {
    background-color: transparent !important;
    border: none !important;
    font-size: 1.2rem !important;
    color: #4b3a2a !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

    .btn-cantidades-carrito:hover {
        transform: scale(1.2);
    }

.card-cantidad-carrito-prod {
    font-size: 1rem;
    font-weight: 600;
    color: #4b3a2a;
    margin-bottom: 0.1rem;
}

/* === Importe total === */
.stl-total-carrito {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4b3a2a;
    margin-top: 30px;
}

/* === Botones de acción === */
.btn-success {
    background-color: #85c940ad !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    color: white !important;
    margin-right: 10px !important;
    transition: background-color 0.2s ease !important;
}

    .btn-success:hover {
        background-color: #69a828 !important;
    }

.btn-danger {
    background-color: #b44436d4 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    color: white !important;
    transition: background-color 0.2s ease !important;
}

    .btn-danger:hover {
        background-color: #983a2f !important;
    }

.stl-div-det {
    display: flex;
    align-items: center;
}

/* === Responsivo === */
@media (max-width: 600px) {
    .stl-div-carrito {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .stl-cantidad-carrito {
        margin: 0 auto;
    }

    .stl-precio-carrito {
        margin: 0 auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .stl-div-det {
        margin: 0 auto;
    }
}

/* ====== Confirmar Carrito (look claro) ====== */
:root {
    --brand: #b76e29; /* acento */
    --ink: #3f2e22; /* títulos */
    --text: #5f5044; /* texto */
    --muted: #9b8e81; /* placeholder */
    --line: #e9dece; /* bordes suaves */
    --panel: #fbf6ef; /* fondo cálido del bloque */
    --btn-neutral: #efe5d6;
    --btn-neutral-h: #e7dbc9;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* Contenedor general del bloque de confirmación */
.stl-cofir-gral {
    display: block;
    width: 100%;
    padding: 22px 0 8px;
    border-radius: 18px;
}

/* Título */
.stl-ttl-conf {
    color: var(--ink) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    margin: 0 !important;
}

/* Anchura del formulario y zona de botones */
.div-contenedor-campo-confirmar-carrito,
.stl-div-botones-confirmar-carrito {
    width: min(720px, 92%);
}

/* Tarjeta de cada campo (label + input) */
.div-contenedor-campo-abm-productos {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    text-align: left;
}

/* Label */
.div-subcontenedor-titulocampo-abm-productos span {
    display: block;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 8px;
}
/* Asterisco en color de marca */
.div-subcontenedor-titulocampo-abm-productos b[style*="color: red"] {
    color: var(--brand) !important;
    font-weight: 800;
}

/* Inputs ASP: ocupar 100% y estilo exacto */
input.stl-form-abm,
input.form-control.stl-form-abm,
textarea.stl-form-abm,
select.stl-form-abm {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    padding: 10px 14px;
    font-size: .98rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

    input.stl-form-abm::placeholder {
        color: var(--muted);
    }

    input.stl-form-abm:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
    }

/* Botones */
.stl-div-botones-confirmar-carrito {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start; /* cambialo a center si lo querés centrado */
}

.btn.btn-success.btn-confirmar-carrito {
    background: var(--brand) !important;
    border: 1px solid color-mix(in srgb, var(--brand) 75%, #000) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 18px !important;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: var(--shadow);
    transition: transform .08s, filter .2s;
    margin-right: initial !important;
}

    .btn.btn-success.btn-confirmar-carrito:hover {
        transform: translateY(-1px);
        filter: brightness(.95);
    }

.btn.btn-danger.btn-confirmar-carrito {
    background: var(--btn-neutral) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    padding: 12px 18px !important;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: var(--shadow);
    transition: transform .08s, background-color .2s;
}

    .btn.btn-danger.btn-confirmar-carrito:hover {
        background: var(--btn-neutral-h) !important;
        transform: translateY(-1px);
    }

/* Ajuste de los <br/> del HTML para que no abran huecos grandes */
.stl-cofir-gral br {
    line-height: .5;
}

.stl-cofir-gral-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive */
@media (max-width:720px) {
    .stl-div-botones-confirmar-carrito {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-confirmar-carrito {
        width: 100%;
    }
}

/* ——— Anti-dark-mode en este bloque (si tu sitio usa preferencia del SO) ——— */
/*@media (prefers-color-scheme: dark) {
    .stl-cofir-gral,
    .div-contenedor-campo-abm-productos,
    .stl-div-botones-confirmar-carrito {
        background: revert !important;
        color: revert !important;
        box-shadow: 0 10px 24px rgba(0,0,0,.06) !important;
    }
}*/

.stl-precio-prod {
    font-size: 18px;
    font-weight: 800;
    color: #3e342b;
    font-family: "Merriweather", serif;
    text-align: center;
    padding-top: 5px;
    animation: none;
}