/*
Theme Name: LA Marketing corporativo
Theme URI: https://lamarketing.co/
Author: Onex Media SAS
Author URI: https://onexmedia.co/
Description: Tema premium a medida para e-commerce B2B de artículos promocionales y corporativos. Basado en el catálogo y cotizador digital con personalización de marcación, logotipos y escalas de precio por volumen.
Version: 1.7.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-marketing-theme
Tags: e-commerce, custom-colors, translation-ready, B2B, wholesale, portfolio
*/

/* Estilos de transición interactiva y efectos de ripple */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Efectos de ripple interactivo para botones */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Sombras y transiciones para tarjetas de productos */
.product-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Scrollbar personalizada estética */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Gradientes del Hero */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0,52,111,0.9) 0%, rgba(0,74,153,0.7) 100%);
}

/* Triggers para el Megamenú (hover y foco por teclado) */
.megamenu-trigger:hover .megamenu,
.megamenu-trigger:focus-within .megamenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Paginación de WooCommerce / WordPress */
ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    gap: 8px;
}

ul.page-numbers li {
    display: inline-block;
}

ul.page-numbers li a,
ul.page-numbers li span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

ul.page-numbers li a:hover {
    color: #00346f;
    border-color: #00346f;
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 52, 111, 0.08);
}

ul.page-numbers li span.current {
    background-color: #00346f;
    border-color: #00346f;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 52, 111, 0.2);
}

ul.page-numbers li span.dots {
    border: none;
    background: transparent;
    color: #94a3b8;
    box-shadow: none;
    min-width: 24px;
    padding: 0;
}

ul.page-numbers li a .material-symbols-outlined,
ul.page-numbers li span .material-symbols-outlined {
    font-size: 20px;
    display: block;
}

/* ============================================================
   Tipografía de contenido de páginas (.la-page-content)
   Restaura estilos legibles que el preflight de Tailwind elimina
   para el HTML editable desde el panel de WordPress.
   ============================================================ */
.la-page-content {
    color: #0d1c2e;
    font-size: 16px;
    line-height: 1.7;
    max-width: 820px;
}
.la-page-content h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #00346f;
    margin: 2rem 0 0.75rem;
}
.la-page-content h3 {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    color: #0d1c2e;
    margin: 1.5rem 0 0.5rem;
}
.la-page-content p {
    margin: 0 0 1rem;
    color: #424751;
}
.la-page-content a {
    color: #00346f;
    font-weight: 600;
    text-decoration: underline;
}
.la-page-content a:hover {
    color: #004a99;
}
.la-page-content ul,
.la-page-content ol {
    margin: 0 0 1.25rem 1.25rem;
    color: #424751;
}
.la-page-content ul { list-style: disc; }
.la-page-content ol { list-style: decimal; }
.la-page-content li { margin-bottom: 0.4rem; }
.la-page-content strong { font-weight: 700; color: #0d1c2e; }

/* Acordeón FAQ con <details> */
.la-page-content details {
    border: 1px solid #c2c6d3;
    border-radius: 12px;
    padding: 0.25rem 1.25rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
}
.la-page-content details summary {
    cursor: pointer;
    font-weight: 700;
    color: #0d1c2e;
    padding: 0.9rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.la-page-content details summary::-webkit-details-marker { display: none; }
.la-page-content details summary::after {
    content: "+";
    font-size: 22px;
    color: #00346f;
    font-weight: 400;
}
.la-page-content details[open] summary::after { content: "\2013"; }
.la-page-content details[open] summary { border-bottom: 1px solid #e2e8f0; }
.la-page-content details > *:not(summary) { padding-top: 0.75rem; }

/* ============================================================
   CAPA "WOW" — movimiento, profundidad y firma de marca
   Azul corporativo #00346f · Naranja de acción #F18F04
   Accesible: respeta prefers-reduced-motion y funciona sin JS.
   ============================================================ */

/* --- Header: cristal al hacer scroll --- */
.site-header { transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled {
    background-color: rgba(248, 249, 255, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -12px rgba(0, 52, 111, 0.22);
}

/* --- Hero premium: malla de gradiente animada azul→naranja --- */
.hero-premium { background-color: #021b3a; }
.hero-mesh {
    background-image:
        radial-gradient(55% 75% at 12% 18%, rgba(0, 74, 153, 0.95), transparent 60%),
        radial-gradient(45% 65% at 88% 12%, rgba(241, 143, 4, 0.55), transparent 60%),
        radial-gradient(65% 85% at 75% 95%, rgba(0, 52, 111, 0.95), transparent 62%),
        linear-gradient(135deg, #00346f 0%, #021b3a 100%);
    background-size: 180% 180%;
    background-position: 0% 50%;
}
.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
}

/* --- Firma de marca: trazo naranja que se "dibuja" bajo la frase clave --- */
.brand-mark { position: relative; display: inline-block; }
.brand-mark::after {
    content: "";
    position: absolute;
    left: -0.04em; right: -0.04em; bottom: -0.06em;
    height: 0.16em;
    border-radius: 6px;
    background: linear-gradient(90deg, #F18F04, #FFA726);
    transform: scaleX(0);
    transform-origin: left center;
}

/* --- Botón con brillo --- */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
    content: "";
    position: absolute;
    top: 0; left: -130%;
    width: 55%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
    pointer-events: none;
}
.btn-shine:hover::after { left: 150%; }

/* --- Tarjetas de producto: elevación premium --- */
.product-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -20px rgba(0, 52, 111, 0.38); }

/* --- Reveal al hacer scroll (solo se activa con JS + sin reduced-motion) --- */
.reveal--hidden { opacity: 0; transform: translateY(28px); }
.reveal--show {
    opacity: 1;
    transform: none;
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

/* --- Animaciones de entrada del hero (solo si el usuario acepta movimiento) --- */
@media (prefers-reduced-motion: no-preference) {
    .hero-mesh { animation: mesh-pan 20s ease-in-out infinite alternate; }
    .hero-blob { animation: blob-float 14s ease-in-out infinite alternate; }
    .hero-enter { opacity: 0; transform: translateY(22px); animation: hero-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
    .hero-enter.he-1 { animation-delay: .15s; }
    .hero-enter.he-2 { animation-delay: .30s; }
    .hero-enter.he-3 { animation-delay: .45s; }
    .hero-enter.he-4 { animation-delay: .60s; }
    .hero-title .brand-mark::after { transition: transform 1s cubic-bezier(.2,.7,.2,1) 1s; }
    .hero-title.he-2 .brand-mark::after { transform: scaleX(0); }
    .hero-title.he-2 .brand-mark::after { animation: mark-draw 1s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
}
.reveal--show .brand-mark::after { transform: scaleX(1); transition: transform 1s cubic-bezier(.2,.7,.2,1) .3s; }

@keyframes mesh-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes blob-float { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,-24px,0) scale(1.08); } }
@keyframes hero-rise { to { opacity: 1; transform: none; } }
@keyframes mark-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* En reduced-motion el trazo se muestra sin animar */
@media (prefers-reduced-motion: reduce) {
    .brand-mark::after { transform: scaleX(1); }
}


/* ==========================================================================
   IDENTIDAD LA MARKETING (v1.5.0)
   Misma línea gráfica de social.lamarketing.co y digital.lamarketing.co:
   tipografía Supersonic Rocketship con sombra dura, textura azul del
   encabezado, botones naranja con borde negro y fondo de garabatos.
   Se usa !important donde hay que ganarle a las utilidades de Tailwind CDN,
   que se inyectan después de esta hoja.
   ========================================================================== */
@font-face {
    font-family: 'Supersonic Rocketship';
    src: url('assets/fonts/SupersonicRocketship.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --la-navy: #0f2f52;
    --la-orange: #F19000;
    --la-ink: #111111;
    --la-display: 'Supersonic Rocketship', 'Manrope', sans-serif;
}

/* ---- Barra de marcas (Corporativo | Social | Digital) ---- */
.la-brandbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 4vw, 56px);
    padding: 14px 16px 16px;
    background: var(--la-navy) url('assets/img/fondo-cabecera.webp') center / cover no-repeat;
    border-radius: 0 0 40px 40px;
    border-bottom: 3px solid var(--la-ink);
    position: relative;
    z-index: 40;
}
.la-brandbar a {
    font-family: var(--la-display);
    font-size: clamp(16px, 3vw, 40px);
    line-height: 1;
    color: #fff;
    text-shadow: 5px 2px 0 #000;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease;
}
.la-brandbar a:hover { transform: translateY(-2px); color: #ffe2b0; }
.la-brandbar a.is-active { color: #fff; }
.la-brandbar__sep {
    width: 3px;
    height: clamp(22px, 3.2vw, 44px);
    background: var(--la-orange);
    border-radius: 2px;
    flex: none;
}
/* La barra de utilidades pasa a un tono claro para no competir con la barra de marcas */
.la-utilbar {
    background: #eef3fb !important;
    color: #0d1c2e !important;
    border-bottom: 1px solid #dfe6f2 !important;
}
.la-utilbar .material-symbols-outlined { color: var(--la-orange); }

/* ---- Tipografía de marca en títulos ---- */
h1, h2,
.hero-title {
    font-family: var(--la-display) !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
}
main h2, .la-pattern h2, section h2 {
    text-shadow: 3px 3px 0 var(--la-orange);
}
.la-dark h2, .la-dark h1 {
    color: #fff !important;
    text-shadow: 5px 3px 0 #000 !important;
}
.hero-title {
    text-shadow: 5px 3px 0 #000;
}
/* Títulos largos de producto: sin sombra para mantener legibilidad */
.single-product h1, .woocommerce-account h1, .woocommerce-account h2 {
    text-shadow: none !important;
}
/* El megamenú y formularios conservan la fuente de lectura */
.megamenu h2, .megamenu h4, #mobile-drawer h2 { font-family: 'Manrope', sans-serif !important; text-shadow: none !important; }

/* ---- Botones de acción: naranja + borde negro + sombra dura ---- */
a.bg-secondary, button.bg-secondary, input.bg-secondary {
    background-color: var(--la-orange) !important;
    color: var(--la-ink) !important;
    border: 2px solid var(--la-ink) !important;
    box-shadow: 4px 4px 0 var(--la-ink) !important;
    font-family: var(--la-display) !important;
    font-weight: 400 !important;
    letter-spacing: .02em;
    transition: transform .15s ease, box-shadow .15s ease !important;
}
a.bg-secondary *, button.bg-secondary * { color: var(--la-ink) !important; }
a.bg-secondary:hover, button.bg-secondary:hover, input.bg-secondary:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0 var(--la-ink) !important;
    opacity: 1 !important;
}
a.bg-secondary:active, button.bg-secondary:active {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--la-ink) !important;
}

/* ---- Fondo de garabatos en secciones claras ---- */
.la-pattern {
    background-color: #ffffff !important;
    background-image: url('assets/img/patron-garabatos.webp') !important;
    background-size: 140px auto !important;
    background-repeat: repeat !important;
}
/* Tarjetas sobre el patrón: blancas y con borde marcado tipo sticker */
.la-pattern .product-card,
.la-pattern a.group,
.la-pattern .bg-surface-container-lowest {
    background-color: #fff;
}
.product-card {
    border: 2px solid var(--la-ink) !important;
    border-radius: 18px !important;
    box-shadow: 5px 5px 0 var(--la-ink) !important;
}

/* Textura de garabatos sutil sobre el héroe azul */
.hero-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/img/patron-garabatos.webp') repeat;
    background-size: 140px auto;
    opacity: .06;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* ---- Pie de página con la textura azul de marca ---- */
.la-footer {
    background: var(--la-navy) url('assets/img/fondo-cabecera.webp') center / cover no-repeat;
    border-top: 3px solid var(--la-ink);
    border-radius: 40px 40px 0 0;
    color: #e8eefb;
}
.la-footer .text-primary,
.la-footer .font-label-md { color: #fff !important; }
.la-footer .font-label-md { font-family: var(--la-display); font-weight: 400; letter-spacing: .02em; }
.la-footer .material-symbols-outlined { font-family: 'Material Symbols Outlined' !important; }
.la-footer img { height: 84px !important; width: auto !important; }
.la-footer .text-on-surface-variant,
.la-footer p, .la-footer a { color: #dbe4f5 !important; }
.la-footer a:hover { color: var(--la-orange) !important; }
.la-footer .material-symbols-outlined { color: var(--la-orange) !important; }
.la-footer .border-outline-variant\/30 { border-color: rgba(255,255,255,.18) !important; }
.la-footer .bg-surface-container-high { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.la-footer .bg-surface-container-high:hover { background: var(--la-orange) !important; color: var(--la-ink) !important; }
.la-footer input[type="email"] { background: #fff; color: #0d1c2e; }
.la-footer__bottom { border-top: 1px solid rgba(255,255,255,.18); }
.la-footer__bottom p, .la-footer__bottom strong { color: #c9d5ec !important; }

/* Logo de marca: altura fija (evita que el alto intrínseco del PNG lo agrande en móvil) */
.la-logo { height: 48px !important; width: auto !important; max-width: none; }
@media (min-width: 768px) { .la-logo { height: 60px !important; } }
#mobile-drawer img { height: 44px !important; width: auto !important; }
.la-footer a > img { align-self: flex-start; object-fit: contain; max-width: 100%; }
.la-footer .bg-secondary .material-symbols-outlined { color: var(--la-ink) !important; }

/* Botón secundario de marca (contorno) y precio a consultar */
.la-btn-outline {
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--la-navy) !important;
    border: 2px solid var(--la-ink); box-shadow: 3px 3px 0 var(--la-ink);
    font-family: var(--la-display); letter-spacing: .02em;
    transition: transform .15s ease, box-shadow .15s ease;
}
.la-btn-outline:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--la-ink); background: #fff7ea; }
.la-price-ask { color: var(--la-orange); font-weight: 700; font-size: .9em; }

/* Composición de productos del héroe */
.la-hero-art {
    position: absolute;
    right: -10px;
    top: 50%;
    width: 46%;
    max-width: 620px;
    height: auto;
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}
@media (prefers-reduced-motion: no-preference) {
    .la-hero-art { animation: la-float 6s ease-in-out infinite; }
    @keyframes la-float {
        0%, 100% { transform: translateY(-50%); }
        50% { transform: translateY(calc(-50% - 12px)); }
    }
}

/* ---- Pie v2: banda naranja de boletín (como social) ---- */
.la-newsletter {
    background: #F18F04 url('assets/img/fondo-naranja.webp') center / cover no-repeat;
    border-top: 3px solid var(--la-ink);
}
.la-newsletter__title {
    font-family: var(--la-display) !important;
    color: #fff !important;
    font-size: clamp(28px, 4.2vw, 52px);
    line-height: 1.05;
    text-shadow: 5px 3px 0 #000 !important;
    margin-bottom: 10px;
}
.la-newsletter__text { color: #1d1206; font-weight: 600; max-width: 560px; margin-bottom: 18px; }
.la-newsletter__form { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.la-newsletter__form input[type="email"] {
    width: 100%;
    border-radius: 999px;
    border: 2px solid var(--la-ink);
    padding: 12px 22px;
    font-family: var(--la-display);
    font-size: 18px;
    letter-spacing: .02em;
    color: #0d1c2e;
    background: #fff;
}
.la-newsletter__form input::placeholder { color: #8a93a6; }
.la-newsletter__form button {
    border-radius: 999px;
    background: var(--la-navy);
    color: #fff;
    font-family: var(--la-display);
    font-size: 20px;
    letter-spacing: .04em;
    padding: 10px 22px;
    border: 2px solid var(--la-ink);
    box-shadow: 4px 4px 0 var(--la-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.la-newsletter__form button:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--la-ink); }
.la-newsletter__logo { width: 240px; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
@media (min-width: 768px) { .la-newsletter__form { flex-direction: row; } .la-newsletter__form button { flex: none; min-width: 160px; } }

/* ---- Pie v2: banda azul ---- */
.la-footer { margin-top: -28px; position: relative; }
.la-footer__text { color: #dbe4f5; line-height: 1.6; max-width: 360px; }
.la-footer__heading {
    font-family: var(--la-display) !important;
    color: #fff !important;
    font-size: 22px;
    letter-spacing: .02em;
    text-shadow: 3px 2px 0 #000 !important;
    margin-bottom: 4px;
}
.la-footer nav a { color: #dbe4f5 !important; font-size: 15px; }
.la-footer nav a:hover { color: var(--la-orange) !important; }
.la-social {
    width: 42px; height: 42px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--la-navy) !important;
    border: 2px solid var(--la-ink); box-shadow: 3px 3px 0 var(--la-ink);
    transition: transform .15s ease, background .15s ease;
}
.la-social .material-symbols-outlined { color: var(--la-navy) !important; }
.la-social:hover { background: var(--la-orange); transform: translate(-1px, -1px); }
.la-contact {
    display: flex; align-items: center; gap: 12px;
    background: #fff; color: #0d1c2e !important;
    border-radius: 999px; padding: 6px 18px 6px 6px;
    border: 2px solid var(--la-ink); box-shadow: 3px 3px 0 var(--la-ink);
    font-weight: 700; font-size: 14px; line-height: 1.2;
    max-width: 360px;
}
.la-contact small { display: block; font-weight: 600; font-size: 11px; color: #5b6475; text-transform: uppercase; letter-spacing: .06em; }
.la-contact span { color: #0d1c2e; }
a.la-contact:hover { background: #fff7ea; }
.la-contact__icon {
    width: 42px; height: 42px; border-radius: 999px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--la-ink);
}
.la-contact__icon--orange { background: var(--la-orange); }
.la-contact__icon--white { background: var(--la-navy); }
.la-contact__icon .material-symbols-outlined { color: #fff !important; font-size: 22px; }
.la-footer__bottom p { color: #c9d5ec !important; font-size: 13px; }
.la-footer a.la-social, .la-footer a.la-social svg { color: var(--la-navy) !important; }
.la-footer a.la-contact { color: #0d1c2e !important; }
/* Fotos de tarjetas: llenar siempre el recuadro cuadrado */
.product-card .aspect-square img,
.product-card .aspect-square picture { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }

/* ---- Móvil: productos en 2 columnas con tarjetas compactas ---- */
@media (max-width: 639px) {
    .la-product-grid .product-card { border-radius: 14px !important; box-shadow: 3px 3px 0 var(--la-ink) !important; }
    .la-product-grid .product-card > div:last-child,
    .la-product-grid .product-card .p-6,
    .la-product-grid .product-card .p-5,
    .la-product-grid .product-card .p-4 { padding: 10px !important; }
    .la-product-grid .product-card h3,
    .la-product-grid .product-card h4 { font-size: 13px !important; line-height: 1.25 !important; margin-bottom: 4px !important; }
    .la-product-grid .product-card .text-caption,
    .la-product-grid .product-card p.text-\[10px\] { font-size: 10px !important; }
    .la-product-grid .product-card .text-lg,
    .la-product-grid .product-card .text-base,
    .la-product-grid .product-card .la-price-ask { font-size: 12px !important; }
    .la-product-grid .product-card .h-64 { height: 150px !important; }
    .la-product-grid .product-card .mb-4 { margin-bottom: 6px !important; }
    .la-product-grid .product-card a.bg-secondary,
    .la-product-grid .product-card .la-btn-outline,
    .la-product-grid .product-card .button { font-size: 12px !important; padding: 7px 6px !important; }
    .la-product-grid .product-card .italic { display: none; }   /* "Mín: 50 und" */
}

/* ---- Móvil: barra de marcas más compacta y equilibrada ---- */
@media (max-width: 767px) {
    .la-brandbar {
        padding: 10px 12px 12px;
        gap: 12px;
        border-radius: 0 0 24px 24px;
        border-bottom-width: 2px;
    }
    .la-brandbar a { font-size: 17px; text-shadow: 3px 2px 0 #000; flex: 1; text-align: center; }
    .la-brandbar a.is-active { color: var(--la-orange); }
    .la-brandbar__sep { height: 20px; width: 2px; }
}

/* ---- Tienda en móvil: categorías como fila deslizable ---- */
@media (max-width: 767px) {
    .la-shop-aside h2 { font-size: 22px !important; margin-bottom: 10px !important; }
    .la-cat-nav {
        display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .la-cat-nav::-webkit-scrollbar { display: none; }
    .la-cat-nav > * + * { margin-top: 0 !important; }
    .la-cat-nav a {
        flex: none; scroll-snap-align: start; white-space: nowrap;
        padding: 8px 14px !important; gap: 6px !important;
        background: #fff; border: 2px solid var(--la-ink); border-radius: 999px !important;
        box-shadow: 2px 2px 0 var(--la-ink); transform: none !important;
        color: var(--la-navy) !important; font-size: 13px;
    }
    .la-cat-nav a.bg-secondary-container { background: var(--la-orange) !important; color: var(--la-ink) !important; }
    .la-cat-nav a .material-symbols-outlined { font-size: 18px !important; }
}
.la-shop-aside { min-width: 0; }
@media (max-width: 767px) { .la-shop-aside, .la-cat-nav { max-width: 100vw; } .la-shop-aside > div { min-width: 0; } }

/* Tarjetas de categoría (portada) con estilo sticker */
.la-cat-card { background: #fff !important; border: 2px solid var(--la-ink); box-shadow: 4px 4px 0 var(--la-ink); }
.la-cat-card:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--la-ink); }
.la-cat-icon { background: var(--la-orange); border: 2px solid var(--la-ink); color: var(--la-ink); }
.la-cat-icon .material-symbols-outlined { font-size: 32px !important; }
.la-cat-card:nth-child(even) .la-cat-icon { background: var(--la-navy); color: #fff; }
@media (max-width: 767px) {
  .la-cat-card { padding: 14px 8px !important; }
  .la-cat-icon { width: 54px !important; height: 54px !important; }
  .la-cat-icon .material-symbols-outlined { font-size: 26px !important; }
  .la-cat-card h3, .la-cat-card span:not(.material-symbols-outlined), .la-cat-card p { font-size: 14px !important; line-height: 1.25 !important; }
}
.la-icon-btn { background:#fff; border: 2px solid var(--la-ink) !important; color: var(--la-navy) !important; box-shadow: 3px 3px 0 var(--la-ink); }
.la-icon-btn:hover { background:#fff7ea !important; }

/* Acciones de tarjeta: Comprar + ojo (ver detalle) en una fila */
.la-card-actions { flex-direction: row !important; align-items: stretch; }
.la-card-actions a.bg-secondary { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.la-btn-eye { width: 44px; min-height: 40px; padding: 0 !important; }
.la-btn-eye .material-symbols-outlined { font-size: 22px; font-family: 'Material Symbols Outlined' !important; }
@media (max-width: 639px) {
  .la-card-actions a.bg-secondary { font-size: 13px !important; padding: 8px 6px !important; gap: 4px !important; }
  .la-card-actions a.bg-secondary .material-symbols-outlined { font-size: 16px !important; }
  .la-btn-eye { width: 40px; }
}

/* ---- Héroe v2: fondo con la línea gráfica LA (azul + trama de puntos + garabatos) ---- */
.hero-premium {
    background-color: var(--la-navy) !important;
    background-image:
        radial-gradient(rgba(0, 0, 0, .38) 1.3px, transparent 1.8px),
        radial-gradient(rgba(255, 255, 255, .05) 1.3px, transparent 1.8px) !important;
    background-size: 9px 9px, 9px 9px !important;
    background-position: 0 0, 4.5px 4.5px !important;
}
.hero-premium .hero-mesh,
.hero-premium .hero-grid,
.hero-premium .hero-blob,
.hero-premium > .absolute.bg-gradient-to-t { display: none !important; }
.hero-premium::after { opacity: .09 !important; }
/* Viñeta suave para dar profundidad sin romper la trama */
.hero-premium::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse at 75% 50%, rgba(241, 144, 0, .10), transparent 55%),
                linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .25) 100%);
}
/* Destellos de marca */
.hero-premium .la-spark { position: absolute; z-index: 1; color: #fff; pointer-events: none; font-size: 22px; line-height: 1; }
.hero-premium {
    background-color: #0d2a4a !important;
    background-image: radial-gradient(rgba(0, 0, 0, .42) 1.3px, transparent 1.9px) !important;
    background-size: 8px 8px !important;
}
.hero-premium::after { opacity: .045 !important; }
.hero-premium a.backdrop-blur-md {
    background: #fff !important; color: var(--la-navy) !important;
    border: 2px solid var(--la-ink) !important; box-shadow: 4px 4px 0 var(--la-ink);
    font-family: var(--la-display); font-weight: 400 !important; letter-spacing: .02em;
    backdrop-filter: none !important;
}
.hero-premium a.backdrop-blur-md .material-symbols-outlined { color: var(--la-orange); }
.hero-premium a.backdrop-blur-md:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--la-ink); }

/* ===== Mi cuenta: anular anchos/floats por defecto de WooCommerce =====
   woocommerce-layout.css aplica .woocommerce-MyAccount-navigation {float:left;width:30%}
   y .woocommerce-MyAccount-content {float:right;width:68%}; aquí ya viven dentro de un grid,
   así que el menú quedaba en ~78px ("Res", textos montados). */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    max-width: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
}
@media (max-width: 1023px) {
    /* Móvil/tablet: menú como fila deslizable para no ocupar media pantalla */
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li { flex: 0 0 auto; }
}
