/* Header mobile custom layout */
@media (max-width: 991.98px) {
    .header-mobile-bar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }
    .header-mobile-bar .logo-mobile {
        flex: 0 0 auto;
        height: 44px;
        display: flex;
        align-items: center;
    }
    .header-mobile-bar form {
        flex: 1 1 0%;
        max-width: 160px;
        margin: 0 8px;
    }
    .header-mobile-bar .header-mobile-icons {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .header-mobile-menu-row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }
    .categorias-hamburger {
        margin-right: 8px;
    }
}
/* Responsive: menú hamburguesa en móviles */
.categorias-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #111;
    margin: 0 auto 12px auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .categorias-minimal-list {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-radius: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        padding: 12px 0;
        position: absolute;
        left: 0;
        right: 0;
        top: 60px;
        z-index: 100;
        width: 90vw;
        margin: 0 auto;
    }
        .categorias-minimal-list .categoria-link {
            font-weight: 800;
            color: #222;
            font-size: 1.08em;
        }
        .categorias-hamburger {
            border-radius: 0 !important;
            border: 2px solid #d19c97;
        }
    .categorias-minimal-list.categorias-open {
        display: flex;
    }
    .categorias-hamburger {
        display: block;
    }
    .categorias-minimal-list li {
        display: block;
        text-align: center;
        margin-bottom: 6px;
    }
    .categorias-minimal-sublist {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f8f4f0;
        margin-bottom: 8px;
    }
}
/* Estilos minimalistas y modernos para menú de categorías */
.categorias-minimal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}
.categorias-minimal-list .categoria-link {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 0.98rem;
    color: #333;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    background: transparent;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.categorias-minimal-list li {
    display: inline-block;
}
.categoria-link {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 0.98rem;
    color: #333;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    background: transparent;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.categoria-link:hover, .categoria-link:focus {
    background: #f3e9e7;
    color: #111;
    box-shadow: 0 2px 12px rgba(209,156,151,0.08);
    text-decoration: none;
}
.categoria-link.active {
    background: #D19C97;
    color: #fff;
}
.categorias-minimal-sublist {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    z-index: 10;
}
.categorias-minimal-list li:hover > .categorias-minimal-sublist {
    display: block;
}
.categorias-minimal-sublist li {
    display: block;
}
.categoria-sublink {
    display: block;
    color: #111;
    padding: 8px 18px;
    text-decoration: none;
    font-size: 0.89rem;
    background: transparent;
    transition: background 0.18s, color 0.18s;
    text-transform: uppercase;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.04em;
}
.categoria-sublink:hover, .categoria-sublink:focus {
    background: #f3e9e7;
    color: #D19C97;
}
/* Responsive: menú hamburguesa en móviles */
.categorias-hamburger {
    display: none;
    background: none;
    border: 2px solid #d19c97;
    border-radius: 0 !important;
    font-size: 2rem;
    color: #111;
    margin: 0 auto 12px auto;
    cursor: pointer;
    outline: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    transition: background 0.18s;
}
.categorias-hamburger:focus, .categorias-hamburger:hover {
    background: #f3e9e7;
    box-shadow: none;
}
@media (max-width: 768px) {
    .categorias-minimal-list {
        display: none !important;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        padding: 12px 0;
        position: absolute;
        left: 50%;
        top: 60px;
        transform: translateX(-50%);
        z-index: 100;
        width: 92vw;
        max-width: 420px;
        margin: 0;
    }
    .categorias-minimal-list.categorias-open {
        display: flex !important;
    }
    .categorias-hamburger {
        display: flex;
    }
    .categorias-minimal-list li {
        display: block;
        text-align: center;
        margin-bottom: 6px;
        position: relative;
    }
    .categorias-minimal-sublist {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f8f4f0;
        margin-bottom: 8px;
        display: none;
    }
    .categorias-minimal-list li.subcat-open > .categorias-minimal-sublist {
        display: block;
    }
}

@media (min-width: 769px) {
    .categorias-hamburger {
        display: none !important;
    }
    .categorias-minimal-list {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }
    .categorias-minimal-list li {
        display: inline-block;
        margin-bottom: 0;
    }
    .categorias-minimal-sublist {
        position: absolute;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        border-radius: 0 0 12px 12px;
        margin-bottom: 0;
    }
}

