/* Catálogo Web 2026 — SPA por pestañas, color único de marca */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root {
    --brand: #002B2B;
    --brand-rgb: 0, 43, 43;
    --brand-light: color-mix(in srgb, var(--brand) 12%, #fff);
    --brand-soft: color-mix(in srgb, var(--brand) 8%, #f8fafc);
    --brand-glow: color-mix(in srgb, var(--brand) 25%, transparent);
    --surface: #ffffff;
    --bg: #f1f5f4;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
    --header-h: 72px;
    --topbar-h: 36px;
    --bottom-nav-h: 68px;
    --shell-top: color-mix(in srgb, var(--brand) 72%, #000);
    --shell-bg: var(--brand);
    --footer-bg: #121214;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    height: 100%;
}

body.cat-app {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    --shell-h: var(--header-h);
}

body.cat-app.cat-has-topbar {
    --shell-h: calc(var(--header-h) + var(--topbar-h));
}

/* ── Top bar + header ── */
.cat-header-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    width: 100%;
}

.cat-header-spacer {
    height: var(--shell-h);
    flex-shrink: 0;
    pointer-events: none;
}

.cat-topbar {
    background: var(--shell-top);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    align-items: center;
    min-height: var(--topbar-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cat-topbar span { display: inline-flex; align-items: center; gap: 0.35rem; opacity: 0.95; }

.cat-header {
    position: relative;
    background: var(--shell-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 20px rgba(var(--brand-rgb), 0.28);
}

.cat-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
}

.cat-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.cat-brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.cat-brand-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.cat-header .cat-brand-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    color: #fff;
}

.cat-header .cat-brand-text small {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.cat-search-global {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    position: relative;
    display: block;
}

.cat-header .cat-search-global input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cat-header .cat-search-global input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cat-header .cat-search-global input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.cat-header .cat-search-global svg {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.cat-nav {
    display: none;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}

.cat-header .cat-nav-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cat-header .cat-nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cat-header .cat-nav-btn.active {
    color: var(--brand);
    background: #fff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.cat-header .cat-cart-header {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.cat-header .cat-cart-header:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.cat-cart-header svg { width: 20px; height: 20px; }

.cat-cart-header .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Main panels (SPA) ── */
.cat-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem  calc(var(--bottom-nav-h) + 1.5rem);
    min-height: calc(100vh - var(--shell-h));
}

.cat-panel {
    display: none;
    animation: catFadeIn 0.35s var(--ease);
}

.cat-panel.active { display: block; }

@keyframes catFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero (Inicio) ── */
.cat-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: 65% center;
    box-shadow: var(--shadow-lg);
}

.cat-hero--solo {
    display: block;
    padding: 0;
    min-height: 0;
    aspect-ratio: 21 / 7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.78) 42%,
        rgba(0, 0, 0, 0.4) 68%,
        rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
}

.cat-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 480px;
    padding: 1.75rem 1.85rem;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.cat-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.cat-hero p {
    margin: 0 0 1.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.cat-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cat-hero .cat-btn-primary {
    background: #fff;
    color: var(--brand);
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.cat-hero .cat-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.cat-hero .cat-btn-wa {
    background: #25d366;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
}

.cat-hero .cat-btn-wa:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s var(--ease);
    text-decoration: none;
}

.cat-btn-primary { background: #fff; color: var(--brand); }
.cat-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.cat-btn-outline {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
}

.cat-btn-outline:hover { background: rgba(255,255,255,0.25); }

.cat-btn-brand { background: var(--brand); color: #fff; }
.cat-btn-brand:hover { filter: brightness(1.08); }

/* ── Section titles ── */
.cat-section-head {
    margin-bottom: 1.25rem;
}

.cat-section-head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand);
}

.cat-section-head p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* ── Category pills ── */
.cat-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
}

.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
    flex-shrink: 0;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill:hover { border-color: var(--brand); color: var(--brand); }
.cat-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── Product grid ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.cat-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cat-card.hidden { display: none; }

.cat-card-img {
    position: relative;
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.cat-ver-mas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.cat-ver-mas svg { width: 16px; height: 16px; }

.cat-card:hover .cat-ver-mas {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cat-card-cat {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
}

.cat-card-body h4 a {
    color: inherit;
    text-decoration: none;
}

.cat-card-desc {
    margin: 0;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.cat-btn-link {
    flex: 1;
    text-align: center;
    padding: 0.55rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}

.cat-card-actions .cat-btn-add { flex: 1; margin-top: 0; }

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.65rem;
}

.cat-card-img span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    opacity: 0.3;
}

.cat-card-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.3rem;
}

.cat-card-body h4 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-meta { font-size: 0.7rem; color: var(--muted); }

.cat-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand);
    margin-top: 0.15rem;
}

.cat-btn-add {
    margin-top: auto;
    width: 100%;
    padding: 0.55rem;
    border: none;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.cat-btn-add:active { transform: scale(0.98); }
.cat-btn-add:disabled { opacity: 0.4; cursor: not-allowed; }

.cat-category-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--brand-light);
}

.cat-category-title:first-child { margin-top: 0; }

/* ── Nosotros / Contacto ── */
.cat-page-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    line-height: 1.7;
    font-size: 0.95rem;
    color: #334155;
}

.cat-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cat-contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow);
    transition: border-color 0.2s;
}

.cat-contact-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }

.cat-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cat-contact-card strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.cat-contact-card a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.cat-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ── Bottom nav (mobile) ── */
.cat-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
    min-height: var(--bottom-nav-h);
}

.cat-bottom-nav a {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    cursor: pointer;
    padding: 0.4rem;
    transition: color 0.2s;
    text-decoration: none;
}

.cat-bottom-nav a svg { width: 22px; height: 22px; }
.cat-bottom-nav a.active { color: var(--brand); }

/* ── Cart drawer ── */
.cat-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
}

.cat-overlay.open { opacity: 1; visibility: visible; }

.cat-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 210;
    width: min(100%, 420px);
    background: var(--surface);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

.cat-drawer.open { transform: translateX(0); }

.cat-drawer-head {
    padding: 1.15rem 1.25rem;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-drawer-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }

.cat-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.cat-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.cat-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.cat-drawer-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-drawer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.cat-drawer-thumb--empty span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand);
    opacity: 0.35;
}

.cat-drawer-item-body { flex: 1; min-width: 0; }

.cat-drawer-item-body strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; line-height: 1.3; }
.cat-drawer-item-body > span { font-size: 0.78rem; color: var(--muted); }

.cat-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.cat-qty button {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
}

.cat-qty span { font-weight: 700; font-size: 0.88rem; min-width: 1.25rem; text-align: center; }

.cat-drawer-foot {
    padding: 1.15rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0));
}

.cat-drawer-client {
    margin-bottom: 0.85rem;
}

.cat-drawer-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.3rem;
}

.cat-drawer-label + .cat-drawer-input { margin-bottom: 0.55rem; }

.cat-drawer-input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    background: #fff;
}

.cat-drawer-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 20%, transparent);
}

.cat-opt { font-weight: 400; opacity: 0.75; }

.cat-req { color: #dc2626; }

.cat-drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.85rem;
}

.cat-btn-wa {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 14px;
    background: #25D366;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.cat-btn-wa:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── WhatsApp flotante ── */
.cat-wa-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 85;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0.75rem 0.85rem;
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
    animation: cat-wa-pulse 2.5s ease-in-out infinite;
}

.cat-wa-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    color: #fff;
}

.cat-wa-fab svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.cat-wa-fab-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

@keyframes cat-wa-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ── FAB mobile cart ── */
.cat-fab {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: calc(var(--bottom-nav-h) + 12px);
    z-index: 80;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 28px var(--brand-glow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.cat-fab svg { width: 24px; height: 24px; }

.cat-fab .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Desktop ── */
@media (min-width: 768px) {
    .cat-bottom-nav, .cat-fab { display: none; }

    .cat-nav { display: flex; }

    .cat-cart-header { margin-left: 0.5rem; }

    .cat-main {
        padding-bottom: 2.5rem;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }

    .cat-brand-text strong { max-width: 220px; }
}

@media (min-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .cat-fab { display: flex; }
    .cat-cart-header { display: none; }
    .cat-ver-mas { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .cat-wa-fab {
        bottom: calc(var(--bottom-nav-h) + 76px);
        padding: 0.7rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    .cat-wa-fab-label { display: none; }

    .cat-header .cat-brand-text small { display: none; }
    .cat-header .cat-brand-text strong { max-width: 88px; font-size: 0.8rem; }
    .cat-header .cat-search-global input {
        font-size: 0.8rem;
        padding: 0.55rem 0.75rem 0.55rem 2.2rem;
    }
    .cat-header-inner { gap: 0.55rem; }
}

/* ── Contacto formulario ── */
.cat-contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.cat-contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.cat-contact-form .form-group { margin-bottom: 1rem; }
.cat-contact-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.cat-contact-form input,
.cat-contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg);
}

.cat-contact-form input:focus,
.cat-contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.cat-contact-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.cat-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cat-alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.cat-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ── Footer ── */
.cat-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 2.5rem;
    padding: 2.75rem 1rem calc(var(--bottom-nav-h) + 1.25rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-footer-inner { max-width: 1200px; margin: 0 auto; }

.cat-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cat-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cat-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

.cat-footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cat-footer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.cat-footer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 22%, var(--footer-bg));
}

.cat-footer-logo strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.cat-footer-logo small {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-top: 0.1rem;
}

.cat-footer-brand > strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.cat-footer-brand p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    max-width: 36ch;
}

.cat-footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: #25d366;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.15s, transform 0.15s;
}

.cat-footer-wa:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.cat-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.cat-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transition: background 0.2s, transform 0.2s;
}

.cat-footer-social-link:hover {
    background: var(--brand);
    transform: translateY(-2px);
}

.cat-footer-social-link svg {
    width: 1.05rem;
    height: 1.05rem;
}

.cat-footer-col h4,
.cat-footer h4 {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.85rem;
}

.cat-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cat-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.15s;
}

.cat-footer a:hover { color: var(--brand); }

.cat-footer-contact li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.cat-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.cat-footer-bottom a {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.cat-footer-bottom a:hover { color: var(--brand); }

/* ── Página producto ── */
.cat-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.cat-breadcrumb a { color: var(--brand); text-decoration: none; font-weight: 600; }
.cat-breadcrumb .current { color: var(--text); font-weight: 700; }

.cat-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cat-product-img {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.cat-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1.25rem;
}
.cat-product-img span { font-size: 4rem; font-weight: 800; color: var(--brand); opacity: 0.25; }

.cat-badge-offer {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    text-transform: uppercase;
}

.cat-product-info h1 {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cat-product-lead { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 1rem; }

.cat-product-price-row { display: flex; align-items: baseline; gap: 0.65rem; margin-bottom: 0.5rem; }
.cat-product-price { font-size: 1.75rem; font-weight: 800; color: var(--brand); }
.cat-product-price-old { font-size: 1rem; color: var(--muted); text-decoration: line-through; }

.cat-product-stock { font-size: 0.88rem; font-weight: 600; color: #059669; margin: 0 0 1rem; }
.cat-product-stock.low { color: #d97706; }

.cat-product-buy { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }

.cat-qty-product {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.cat-qty-product button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
}

.cat-qty-product span { font-weight: 800; min-width: 2rem; text-align: center; }

.cat-btn-lg { padding: 0.85rem 1.5rem !important; font-size: 0.95rem !important; flex: 1; min-width: 180px; }

.cat-product-desc h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

@media (max-width: 919px) {
    .cat-product-page .cat-main { padding-bottom: calc(var(--bottom-nav-h) + 1.5rem); }
}
@media (min-width: 920px) {
    .cat-product-page .cat-main { padding-bottom: 2rem; }
}

@media (min-width: 768px) {
    .cat-contact-layout { grid-template-columns: 1.2fr 1fr; }
    .cat-footer-top { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
    .cat-footer { padding-bottom: 2rem; }
    .cat-product-layout { grid-template-columns: 1fr 1fr; align-items: start; }
    .cat-contact-form .form-row-2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .cat-contact-form .form-row-2 { grid-template-columns: 1fr; }
}

/* ── Iconos SVG ── */
.cat-icon-sm, .cat-icon-search, .cat-icon-cart, .cat-icon-nav, .cat-icon-footer {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke: currentColor;
}
.cat-icon-search { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.cat-icon-cart { width: 1.35rem; height: 1.35rem; }
.cat-icon-nav { width: 1.25rem; height: 1.25rem; }
.cat-icon-footer { width: 1rem; height: 1rem; opacity: 0.85; vertical-align: -2px; margin-right: 0.35rem; }
.cat-topbar .cat-icon-sm { width: 0.9rem; height: 0.9rem; opacity: 0.9; }

.cat-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.cat-footer-contact li span,
.cat-footer-contact li a {
    flex: 1;
    min-width: 0;
}

.cat-contact-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke: var(--brand);
}

/* ── Tienda con sidebar ── */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

.shop-sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shop-sidebar-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.shop-sidebar-head .cat-icon-sm { stroke: #fff; }

.shop-cat-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
}

.shop-cat-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.shop-cat-link:hover { background: var(--brand-soft); color: var(--brand); }

.shop-cat-link.active {
    background: color-mix(in srgb, var(--brand) 14%, #fff);
    color: var(--brand);
    font-weight: 700;
}

.shop-main {
    min-width: 0;
}

.shop-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-search:focus-within {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.shop-search .cat-icon-search {
    position: absolute;
    left: 0.95rem;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
}

.shop-search input {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 2.5rem 0.85rem 2.7rem;
    color: #0f172a;
    outline: none;
}

.shop-search input::placeholder {
    color: #94a3b8;
}

.shop-search-clear {
    position: absolute;
    right: 0.7rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    color: #64748b;
    text-decoration: none;
    background: #f1f5f9;
}

.shop-search-clear:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.shop-toolbar h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.shop-count-badge {
    background: color-mix(in srgb, var(--brand) 12%, #fff);
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.shop-grid { margin-top: 0; }

.shop-card .cat-card-body h4 {
    font-size: 0.88rem;
    line-height: 1.35;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card .cat-card-body h4 a {
    color: inherit;
    text-decoration: none;
}

.shop-card .cat-card-price {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.65rem;
}

.shop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.cat-btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f1f5f9;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.cat-btn-details:hover { background: #e2e8f0; }

.shop-add {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
}

.cat-card-img-link { display: block; text-decoration: none; }

@media (min-width: 900px) {
    .shop-layout {
        grid-template-columns: 260px 1fr;
        gap: 1.5rem;
    }

    .shop-sidebar { position: sticky; top: calc(var(--shell-h) + 1rem); }
}

@media (max-width: 899px) {
    .shop-cat-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-height: none;
        gap: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }

    .shop-cat-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ── Detalle producto: confianza y relacionados ── */
.cat-product-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.cat-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--brand-soft);
    border: 1px solid color-mix(in srgb, var(--brand) 10%, var(--border));
    border-radius: 12px;
}

.cat-trust-item svg {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    stroke: var(--brand);
    margin-top: 0.1rem;
}

.cat-trust-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.cat-trust-item span {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.35;
}

.cat-product-desc-block {
    margin-top: 2rem;
}

.cat-product-desc-block h2,
.cat-related h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.cat-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cat-related .cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

@media (min-width: 640px) {
    .cat-product-trust { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
    .cat-product-trust { grid-template-columns: 1fr; }
}

/* ── Home: cartas informativas ── */
.home-info-section {
    margin-bottom: 2rem;
}

.home-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.home-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-info-card--featured {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.home-info-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.home-info-card--featured .home-info-card-icon {
    background: rgba(255, 255, 255, 0.15);
}

.home-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--brand);
}

.home-info-card--featured .home-info-icon {
    stroke: #fff;
}

.home-info-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-info-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
    flex: 1;
}

.home-info-card--featured p {
    color: rgba(255, 255, 255, 0.88);
}

.home-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--brand);
    color: #fff;
    transition: filter 0.15s;
}

.home-info-btn:hover { filter: brightness(1.08); }

.home-info-card--featured .home-info-btn {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.home-info-card--featured .home-info-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    filter: none;
}

/* ── Home: por qué comprar ── */
.home-why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.35rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.home-why-card h2 {
    margin: 0 0 1.15rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.home-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text);
}

.home-why-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    stroke: var(--brand);
    margin-top: 0.15rem;
}

/* ── Home: FAQ ── */
.home-faq-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.home-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.home-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.home-faq-q:hover { color: var(--brand); }

.home-faq-chevron {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    stroke: var(--muted);
    transition: transform 0.2s var(--ease);
}

.home-faq-item.open .home-faq-chevron {
    transform: rotate(180deg);
    stroke: var(--brand);
}

.home-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
}

.home-faq-item.open .home-faq-a {
    max-height: 200px;
}

.home-faq-a p {
    margin: 0;
    padding: 0 1.15rem 1rem;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--muted);
}

.home-faq-cta {
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.home-faq-cta a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.home-faq-cta a:hover { text-decoration: underline; }

@media (min-width: 700px) {
    .home-info-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Página Nosotros pública ── */
.nos-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 65%, #000) 100%);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.nos-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}

.nos-hero-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
    max-width: 560px;
    color: #fff;
}

.nos-hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.65rem;
}

.nos-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.nos-hero-lead {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.92;
}

.nos-hero-btn { color: var(--brand) !important; }

.nos-intro {
    margin-bottom: 2.5rem;
}

.nos-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
}

.nos-intro-text h2 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.nos-intro-text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
}

.nos-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.nos-stat {
    background: var(--brand-soft);
    border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--border));
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
}

.nos-stat-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--brand) 12%, #fff);
    border-radius: 50%;
}

.nos-stat-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: var(--brand);
}

.nos-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.2rem;
}

.nos-stat span {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.35;
}

.nos-zigzag-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.nos-zigzag {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.nos-zigzag-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.nos-zigzag-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nos-zigzag-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
}

.nos-ph-icon { width: 3rem; height: 3rem; stroke: var(--brand); opacity: 0.35; }

.nos-zigzag-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nos-zigzag--reverse .nos-zigzag-num { left: auto; right: 1rem; }

.nos-zigzag-content h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.nos-zigzag-content p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
}

@media (min-width: 768px) {
    .nos-intro-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
    .nos-zigzag { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .nos-zigzag--reverse .nos-zigzag-media { order: 2; }
    .nos-zigzag--reverse .nos-zigzag-content { order: 1; }
}

/* ── Página de error (404) ── */
body.cat-error-app {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

body.cat-error-app .cat-header-shell,
body.cat-error-app .cat-header-spacer {
    flex-shrink: 0;
}

body.cat-error-app .cat-main {
    padding: 0;
    max-width: none;
    min-height: auto;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

body.cat-error-app .cat-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.cat-error-wrap {
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
}

.cat-error-spacer {
    flex: 1;
    min-height: 1rem;
    background: transparent;
}

.cat-error-content {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 3.5rem 1.25rem 2rem;
    text-align: center;
    flex-shrink: 0;
}

.cat-error-code-bg {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 32vw, 14rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: color-mix(in srgb, var(--brand) 14%, var(--bg));
    user-select: none;
    pointer-events: none;
}

.cat-error-inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
}

.cat-error-inner h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand);
}

.cat-error-msg {
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: color-mix(in srgb, var(--brand) 55%, #64748b);
}

.cat-error-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
}

.cat-error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.cat-btn-outline-dark {
    background: var(--surface);
    color: var(--brand);
    border: 1.5px solid color-mix(in srgb, var(--brand) 35%, #e2e8f0);
}

.cat-btn-outline-dark:hover {
    background: color-mix(in srgb, var(--brand) 6%, var(--surface));
    border-color: var(--brand);
    transform: translateY(-1px);
}

.cat-error-content .cat-btn-brand {
    background: var(--brand);
    color: #fff;
}

.cat-error-content .cat-btn-brand:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.28);
}

.cat-footer-top--compact {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .cat-footer-top--compact { grid-template-columns: 1.2fr 1fr; }
    .cat-error-content { padding: 4.5rem 2rem 2.5rem; }
}

@media (max-width: 919px) {
    body.cat-error-app .cat-main {
        padding-bottom: var(--bottom-nav-h);
    }
}
