﻿/* =========================================================
   VModa — site.css
   Estilo unificado: base global + home editorial integrado
   Paleta editorial cálida (ink / bone / accent terracota)
   =========================================================

   NOTA IMPORTANTE: La fuente DM Sans se carga aquí mediante @import (en lugar
   de un <link> en el layout) porque la URL de Google Fonts contiene el carácter
   @ en parámetros de variación (ej. wght@0,...), que confunde el lexer del
   generador de fuentes Razor en .NET 8. Al cargarse desde CSS no hay problema.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

/* ── GOOGLE FONTS (referencia — cargar en _Layout.cshtml) ──
   <link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
   ──────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────
   0) Design tokens
───────────────────────────────────────── */
:root {
    /* Paleta editorial VModa */
    /*--vm-w: #f6f6f6;*/
    --vm-w: #FCFBFA;
    --vm-bone: #FAFAF8;
    --vm-gray-xl: #F4F3F1;
    --vm-gray-l: #ECEAE7;
    --vm-gray-mid: #D0CEC9;
    --vm-gray-txt: #888480;
    --vm-dark-mid: #4A4844;
    --vm-dark: #2A2826;
    --vm-ink: #1C1A18;
    --vm-light: #f8fafc;
    /*--vm-accent: #A0503A;*/
    /*--vm-accent-h: #884030;*/
    --vm-accent: #d71920;
    --vm-accent-h: #d71920;
    /* Aliases semánticos (usados por componentes legacy) */
    --bg: var(--vm-w);
    --bg-soft: var(--vm-bone);
    --bg-softer: var(--vm-gray-xl);
    --text: var(--vm-ink);
    --muted: var(--vm-gray-txt);
    --muted-2: var(--vm-dark-mid);
    --border: var(--vm-gray-l);
    /* Brand (botón primario = terracota) */
    --brand: var(--vm-accent);
    --brand-2: #B8604A;
    --brand-ink: #FFFFFF;
    --accent: var(--vm-ink);
    /* Estados */
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --info: #2563eb;
    /* Sombras */
    --shadow-xs: 0 1px 3px rgba(28,26,24,.04);
    --shadow-sm: 0 4px 16px rgba(28,26,24,.07);
    --shadow-md: 0 10px 32px rgba(28,26,24,.11);
    --shadow-lg: 0 22px 60px rgba(28,26,24,.15);
    /* Radios — más sobrios que el anterior */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --container: 1380px;
    --ease: cubic-bezier(.2,.8,.2,1);
    /* Tipografía */
    --font-sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    /* z-index */
    --z-backdrop: 1040;
    --z-offcanvas: 1050;
    --z-modal: 1060;
}

/* ─────────────────────────────────────────
   1) Reset / Base
───────────────────────────────────────── */
html {
    font-size: 16px;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--vm-ink);
    background: var(--vm-w);
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

.btn, .form-control, .form-select {
    font-family: var(--font-sans) !important;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

a {
    color: inherit;
}

.text-muted {
    color: var(--muted) !important;
}

/* Container alineado al ancho editorial */
.container,
.container-fluid {
    max-width: var(--container);
}

/* Espaciado de páginas */
.page {
    padding: 20px 0 52px;
}

@media (min-width: 992px) {
    .page {
        padding: 28px 0 72px;
    }
}

/* Foco accesible */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--vm-w), 0 0 0 0.25rem rgba(160,80,58,.45);
}

/* ─────────────────────────────────────────
   2) Helpers / micro-utilidades
───────────────────────────────────────── */
.fade-in {
    animation: fadeIn .35s var(--ease) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lift {
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

    .lift:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.soft-shadow {
    box-shadow: var(--shadow-sm);
}

.hard-shadow {
    box-shadow: var(--shadow-md);
}

.rounded-4x {
    border-radius: var(--radius-lg) !important;
}

.rounded-3x {
    border-radius: var(--radius-md) !important;
}

.border-soft {
    border: 1px solid var(--border) !important;
}

.bg-soft {
    background: var(--bg-soft) !important;
}

.bg-softer {
    background: var(--bg-softer) !important;
}

.divider {
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 14px 0;
}

/* ─────────────────────────────────────────
   3) Buttons — estilo editorial
───────────────────────────────────────── */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: .03em;
    font-family: var(--font-sans);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

    .btn:active {
        transform: translateY(1px);
    }

/* Primary — terracota */
.btn-primary {
    background: var(--vm-accent) !important;
    border-color: var(--vm-accent) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(160,80,58,.22);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--vm-accent-h) !important;
        border-color: var(--vm-accent-h) !important;
        color: #fff !important;
        box-shadow: 0 10px 26px rgba(160,80,58,.28);
    }

/* Outline */
.btn-outline-secondary {
    border-color: var(--border);
    color: var(--vm-ink);
    background: transparent;
}

    .btn-outline-secondary:hover {
        background: var(--vm-gray-xl);
        border-color: var(--vm-gray-mid);
        color: var(--vm-ink);
    }

/* Dark */
.btn-dark {
    border: 0 !important;
    background: var(--vm-ink) !important;
    color: var(--vm-w) !important;
}

    .btn-dark:hover {
        filter: brightness(1.08);
        color: var(--vm-w) !important;
    }

/* Light*/
.btn-light {
    border: 0 !important;
    background: var(--vm-light) !important;
    color: #1c1f23 !important;
    border: 2px solid var(--vm-ink) !important;
}

    .btn-light:hover {
        filter: brightness(1.2);
        color: #1c1f23 !important;
    }

/* Botón redondo icono */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--vm-w);
    color: #111 !important;
    text-decoration: none !important;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

    .btn-icon:hover {
        background: var(--vm-gray-xl);
        box-shadow: var(--shadow-sm);
    }

    .btn-icon i {
        font-size: 1.1rem;
    }

/* ─────────────────────────────────────────
   4) Forms
───────────────────────────────────────── */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border);
    padding: .62rem .9rem;
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--vm-ink);
}

    .form-control:focus,
    .form-select:focus {
        border-color: rgba(160,80,58,.4);
        box-shadow: 0 0 0 .2rem rgba(160,80,58,.12);
    }

/* Search pill */
.search-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--vm-w);
    display: flex;
    align-items: center;
    height: 44px;
}

    .search-pill input {
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 14px;
        font-family: var(--font-sans);
        text-transform: uppercase;
    }

    .search-pill .search-btn {
        border: 0;
        background: transparent;
        width: 48px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
    }

        .search-pill .search-btn:hover {
            color: var(--vm-ink);
        }

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--vm-w);
    color: var(--vm-ink);
    font-size: .86rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

    .chip:hover {
        background: var(--vm-gray-xl);
    }

    .chip.active {
        border-color: var(--vm-accent);
        background: rgba(160,80,58,.06);
        color: var(--vm-accent);
    }

/* Lives chip */
.chip-lives,
a.chip-lives,
a.chip-lives:visited,
a.chip-lives:link {
    border-color: var(--border);
    color: var(--vm-ink) !important;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    padding-right: 36px;
    text-decoration: none;
}
.chip-lives:hover { background: var(--vm-gray-xl); color: var(--vm-ink) !important; }

.chip-pronto {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) rotate(30deg);
    background: var(--vm-accent);
    color: #fff;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 2px 22px;
    line-height: 1.4;
    white-space: nowrap;
}

/* ─────────────────────────────────────────
   5) Header / Nav — estilo VModa
───────────────────────────────────────── */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--vm-w);
    font-family: var(--font-sans);
}

.announce-bar {
    background: var(--vm-ink);
    color: rgba(255,255,255,.7);
    font-size: 11px;
    padding: 9px 0;
    text-align: center;
    letter-spacing: .1em;
    text-transform: uppercase;
}

    .announce-bar a {
        color: #fff;
        text-decoration: underline;
    }

.header-main {
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--vm-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 15px;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-name {
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--vm-ink);
}

.brand-sub {
    font-size: .78rem;
    color: var(--muted);
    margin-top: -2px;
    letter-spacing: .04em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.badge-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: var(--vm-accent);
    border: 2px solid var(--vm-w);
    border-radius: 999px;
}

.cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--vm-accent);
    color: #fff;
    font-size: .72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--vm-w);
    font-weight: 700;
}

/* Secondary nav / cats row */
.header-cats {
    border-top: 1px solid var(--border);
    background: var(--vm-w);
}

.cats-row {
    display: flex;
    gap: 0;
    overflow: auto;
    padding: 0;
    scrollbar-width: none;
}

    .cats-row::-webkit-scrollbar {
        display: none;
    }

    .cats-row a {
        text-decoration: none !important;
        font-weight: 500;
        font-size: 12px;
        color: var(--vm-ink) !important;
        padding: 10px 16px;
        letter-spacing: .04em;
        text-transform: uppercase;
        white-space: nowrap;
        transition: opacity .15s;
    }

        .cats-row a:hover {
            color: var(--vm-ink) !important;
            opacity: .65;
        }

        .cats-row a.active {
            color: var(--vm-ink) !important;
            font-weight: 700;
        }

/* ─────────────────────────────────────────
   6) Footer — estilo VModa oscuro
───────────────────────────────────────── */
.app-footer {
    background: var(--vm-ink);
    color: rgba(255,255,255,.75);
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
}

    .app-footer a {
        color: inherit;
    }

.footer-top {
    padding: 20px 0 16px;
}

.footer-col h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1rem;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: .01em;
}

.footer-links-wrap {
    display: none;
    flex-direction: column;
}

.footer-links-wrap.open {
    display: flex;
}

.footer-col a,
.footer-col a:link,
.footer-col a:visited {
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    padding: 4px 0;
    line-height: 1.3;
    letter-spacing: .02em;
    transition: color .15s;
}

    .footer-col a:hover {
        color: #fff;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 14px 0;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .04em;
}

.app-footer p,
.app-footer ul {
    margin-bottom: 0;
}

.app-footer ul {
    padding-left: 0;
    list-style: none;
}

.app-footer li {
    margin-bottom: 4px;
}

/* Social icons en footer */
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-soc {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65) !important;
    text-decoration: none;
    transition: all .2s;
}

    .footer-soc:hover {
        border-color: rgba(255,255,255,.5);
        color: #fff !important;
    }

/* ─────────────────────────────────────────
   7) Cards — productos / bloques
───────────────────────────────────────── */
.card {
    border-radius: var(--radius-md);
    border-color: var(--border);
}

.card-clean {
    border: 1px solid var(--border);
    background: var(--vm-w);
    box-shadow: var(--shadow-sm);
}

    .card-clean:hover {
        box-shadow: var(--shadow-md);
    }

.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--vm-w);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.product-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--vm-gray-xl);
    display: block;
}

@media (min-width: 1200px) {
    .product-img {
        height: 260px;
    }
}

.product-body {
    padding: 14px 14px 16px;
}

.product-store {
    font-size: .80rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.product-name {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: .95rem;
    line-height: 1.35;
    margin-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-cat {
    font-size: .82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    color: var(--vm-ink);
    font-weight: 700;
    font-size: .88rem;
    padding: 5px 10px;
    border: 1px solid rgba(28,26,24,.08);
    backdrop-filter: blur(6px);
}

.fav-floating {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

/* ─────────────────────────────────────────
   8) Tabs (Mis compras, perfil, etc.)
───────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.tab {
    padding: 10px 16px;
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-weight: 500;
    font-size: .88rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: .02em;
    transition: all .15s;
}

    .tab:hover {
        color: var(--vm-ink);
    }

    .tab.active {
        color: var(--vm-ink);
        border-bottom-color: var(--vm-ink);
        font-weight: 600;
    }

/* ─────────────────────────────────────────
   9) Tables — pro
───────────────────────────────────────── */
.table-pro {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .table-pro table {
        margin: 0;
    }

    .table-pro thead th {
        background: var(--vm-gray-xl);
        color: var(--vm-dark-mid);
        font-size: .83rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .07em;
        border-bottom: 1px solid var(--border);
    }

    .table-pro td {
        vertical-align: middle;
        border-color: var(--border);
        font-size: .92rem;
    }

    .table-pro tbody tr:hover {
        background: var(--vm-bone);
    }

/* ─────────────────────────────────────────
   10) Order cards — Mis compras
───────────────────────────────────────── */
.order-card {
    border: 1px solid var(--border);
    background: var(--vm-w);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

    .order-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.order-head {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.order-title {
    font-weight: 600;
    font-size: .95rem;
}

.order-meta {
    color: var(--muted);
    font-size: .86rem;
}

.order-body {
    padding: 14px 16px 16px;
}

.order-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

    .order-line:last-child {
        border-bottom: 0;
    }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: var(--vm-w);
}

    .status-pill .dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: var(--muted);
    }

.status-paid {
    border-color: rgba(22,163,74,.25);
    background: rgba(22,163,74,.06);
    color: #166534;
}

    .status-paid .dot {
        background: var(--success);
    }

.status-pending {
    border-color: rgba(245,158,11,.25);
    background: rgba(245,158,11,.08);
    color: #7c4a03;
}

    .status-pending .dot {
        background: var(--warning);
    }

.status-cancel {
    border-color: rgba(220,38,38,.25);
    background: rgba(220,38,38,.06);
    color: #7f1d1d;
}

    .status-cancel .dot {
        background: var(--danger);
    }

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ─────────────────────────────────────────
   11) Empty states / Skeletons
───────────────────────────────────────── */
.empty {
    text-align: center;
    padding: 56px 10px;
    color: var(--muted);
}

    .empty i {
        font-size: 2.2rem;
        display: block;
        margin-bottom: 12px;
        color: var(--vm-gray-mid);
    }

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--vm-gray-l);
}

    .skeleton::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
        animation: shimmer 1.25s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(220%);
    }
}

/* ─────────────────────────────────────────
   12) Toasts / Modals
───────────────────────────────────────── */
.toast {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.modal-content {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

/* z-index order */
.modal-backdrop {
    z-index: var(--z-backdrop) !important;
}

.offcanvas-backdrop {
    z-index: 1041 !important;
}

.offcanvas {
    z-index: var(--z-offcanvas) !important;
}

.modal {
    z-index: var(--z-modal) !important;
}

/* Offcanvas widths */
@media (max-width: 576px) {
    .offcanvas-start {
        width: 100% !important;
    }
}

@media (min-width: 577px) and (max-width: 991.98px) {
    .offcanvas-start {
        width: 80% !important;
        max-width: 420px;
    }
}

@media (min-width: 992px) {
    .offcanvas-start {
        width: 360px !important;
    }
}

/* ─────────────────────────────────────────
   13) Auth page
───────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
}

/* ─────────────────────────────────────────
   14) App loader
───────────────────────────────────────── */
.app-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(2px);
    z-index: 2147483000;
}

    .app-loader[hidden] {
        display: none !important;
    }

.app-loader-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: var(--vm-w);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 220px;
}

.vm-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 24px;
    background: var(--vm-ink);
    color: #fff;
    user-select: none;
    letter-spacing: .5px;
}

.app-loader-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--vm-gray-mid);
    border-top-color: var(--vm-ink);
    animation: appLoaderSpin .85s linear infinite;
}

.app-loader-text {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .06em;
    text-transform: uppercase;
}

@keyframes appLoaderSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ─────────────────────────────────────────
   MOBILE RESPONSIVE — Global fixes
   ========================================
   Ensures ALL views work perfectly on phones
───────────────────────────────────────── */

/* ── Announce bar: smaller on mobile ── */
@media (max-width: 767.98px) {
    .announce-bar {
        font-size: 9px;
        padding: 6px 0;
        letter-spacing: .06em;
    }

        .announce-bar span {
            font-size: 9px;
        }
}

/* ── Header main: tighter on mobile ── */
@media (max-width: 767.98px) {
    .header-main {
        padding: 8px 0;
    }

        .header-main .container {
            gap: 6px;
        }

    .brand {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
    }

        .btn-icon i {
            font-size: 1rem;
        }

    .cart-badge {
        top: -5px;
        right: -5px;
        min-width: 16px;
        height: 16px;
        font-size: .65rem;
    }
}

/* ── Categories strip: scroll snap, no overflow leak ── */
.cats-row {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .header-cats {
        overflow: hidden;
    }

    .cats-row {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0 4px;
    }

        .cats-row::-webkit-scrollbar {
            display: none;
        }

        .cats-row a {
            font-size: 11px;
            padding: 8px 10px;
            flex-shrink: 0;
        }
    /* Hide mega menu panel on mobile — use sidebar instead */
    .tiendas-mega-panel {
        display: none !important;
    }

    .tiendas-mega:hover .tiendas-mega-panel {
        display: none !important;
    }
}

/* ── Mobile floating search bar (Zara-style) ── */
.mobile-search-bar {
    background: transparent;
    position: sticky;
    top: 0; /* sobreescrito por JS con la altura real del header */
    z-index: 1029; /* debajo del header (1030) para no taparlo */
    padding: 0px;
    pointer-events: none;
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    height: 30px;
    border-bottom: 2px solid var(--vm-ink);
    margin: 0 16px;
    /*background: #fff;*/
    pointer-events: all;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #111;
    padding: 0;
    text-transform: uppercase;
    text-align: center;
}

    .mobile-search-input::placeholder {
        color: #444;
        font-weight: 700;
        letter-spacing: 0.12em;
        font-size: 0.68rem;
        text-align: center;
    }

    .mobile-search-input::-webkit-search-cancel-button {
        display: none;
    }

.mobile-search-icon {
    border: none;
    background: transparent;
    padding: 0;
    color: var(--vm-ink);
    font-size: 1rem;
    cursor: pointer;
}

/* ── Search pill mobile ── */
@media (max-width: 767.98px) {
    .container.d-md-none.mt-3 {
        margin-top: 6px !important;
        padding-bottom: 6px;
    }

    .search-pill {
        height: 38px;
        width: 100%;
        border: none;
        border-bottom: 1px solid var(--vm-ink);
        border-radius: 0;
        background: transparent;
    }

        .search-pill input {
            font-size: .85rem;
            flex: 1 1 auto;
            min-width: 0;
            background: transparent !important;
        }

    .header-main .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* ── Footer: compact on mobile ── */
@media (max-width: 767.98px) {
    .footer-top {
        padding: 28px 0 20px;
    }

    .footer-col h6 {
        font-size: .78rem;
        margin-bottom: 8px;
    }

    .footer-col a {
        font-size: .75rem;
        padding: 2px 0;
    }

    .footer-col p {
        font-size: .78rem;
    }

    .app-footer .row.g-4 {
        --bs-gutter-y: .75rem;
        --bs-gutter-x: .5rem;
    }
    /* Toggle header */
    .footer-toggle-hdr {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
    }

    .footer-chevron {
        font-size: .65rem;
        transition: transform 0.25s ease;
        flex-shrink: 0;
    }
    .footer-bottom {
        padding: 10px 0;
        font-size: .75rem;
    }
    /* Hide VModa description on mobile footer, keep links */
    .footer-col:first-child p {
        font-size: .78rem;
        margin-bottom: 4px !important;
    }

    .footer-col:first-child .chip {
        font-size: .72rem;
        padding: 4px 8px;
    }
}

/* ── Page container: less padding on mobile ── */
@media (max-width: 767.98px) {
    .page {
        padding: 12px 0 32px;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ── HOME: hero, sections, grids ── */
@media (max-width: 991.98px) {
    .vmhome .vm-wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .vmhome .vm-sec-head,
    .vmhome .vm-eyebrow,
    .vmhome .vm-title {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .vmhome .vm-section {
        padding: 32px 0;
    }

    .vmhome .vm-sec-head {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vmhome .vm-title {
        font-size: 20px;
    }
    /* Hero: single column, smaller text */
    .vmhome .vm-h-slide {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 280px;
    }

    .vmhome .vm-h-content {
        padding: 28px 16px;
    }

    .vmhome .vm-h-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .vmhome .vm-h-eyebrow {
        margin-bottom: 12px;
    }

    .vmhome .vm-h-body {
        font-size: 13px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .vmhome .vm-h-visual {
        display: none;
    }

    .vmhome .vm-h-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

        .vmhome .vm-h-ctas a {
            padding: 10px 18px;
            font-size: 10px;
            flex: 0 0 auto;
            width: auto;
        }
    /* Carousel controls smaller */
    .vmhome .vm-hc-prev,
    .vmhome .vm-hc-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .vmhome .vm-hc-prev {
        left: 6px;
    }

    .vmhome .vm-hc-next {
        right: 6px;
    }
    /* Product grid: 2 columns always */
    .vmhome .vm-prod-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vmhome .vm-pcard-body {
        padding: 10px 10px 14px;
    }

    .vmhome .vm-pname {
        font-size: 12px;
    }

    .vmhome .vm-pprice {
        font-size: 12px;
    }

    .vmhome .vm-pstore {
        font-size: 9px;
    }
    /* Bands — full width, smaller text */
    .vmhome .vm-band {
        min-height: 260px;
    }

    .vmhome .vm-band-inner {
        padding: 32px 16px;
    }

    .vmhome .vm-band-title {
        font-size: 22px;
    }

    .vmhome .vm-band-sub {
        font-size: 13px;
        margin-bottom: 20px;
    }
    /* Try-on phone mockup smaller */
    .vmhome .vm-phone-wrap {
        transform: scale(.7);
        padding: 10px 0;
    }

    .vmhome .vm-tryon-grid {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        gap: 20px;
    }
        /* En mobile reseteamos placement explícito — el DOM ya tiene el orden correcto */
        .vmhome .vm-tryon-copy,
        .vmhome .vm-tryon-grid .vm-phone-wrap,
        .vmhome .vm-tryon-cta-wrap {
            grid-column: unset;
            grid-row: unset;
        }

    .vmhome .vm-t-title {
        font-size: 24px;
    }

    .vmhome .vm-t-body {
        font-size: 13px;
        max-width: 100%;
    }
    /* Advisor grid */
    .vmhome .vm-adv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* Trust bar: wrap tighter */
    .vmhome .vm-trust-inner {
        gap: 12px;
        padding: 0 12px;
        justify-content: space-around;
    }

    .vmhome .vm-ti-text strong {
        font-size: 10px;
    }

    .vmhome .vm-ti-text span {
        font-size: 9px;
    }
    /* CTA buttons: full width on mobile */
    .vmhome .vm-cta-dark,
    .vmhome .vm-cta-ghost,
    .vmhome .vm-cta-accent {
        padding: 11px 20px;
        font-size: 10px;
        width: 100%;
        text-align: center;
    }
    /* Marquee smaller */
    .vmhome .vm-mitem {
        font-size: 8px;
        padding: 0 16px;
    }
}

#tiendasPreviewBtn {
    background-color: var(--vm-ink);
    color: var(--vm-w) !important;
}
/* ── Product cards in grid views (Explorar, Catalogo) ── */
@media (max-width: 575.98px) {
    .product-img {
        height: 160px;
    }

    .product-body {
        padding: 10px 10px 12px;
    }

    .product-name {
        font-size: .85rem;
    }

    .product-store {
        font-size: .72rem;
    }

    .price-tag {
        font-size: .78rem;
        padding: 3px 7px;
        top: 6px;
        right: 6px;
    }
}

/* ── Cards: tighter on mobile ── */
@media (max-width: 575.98px) {
    .card .card-body {
        padding: .75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: .85rem;
    }
}

/* ── Tables: horizontal scroll on mobile ── */
@media (max-width: 767.98px) {
    .table-pro {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .table-pro table {
            min-width: 600px;
        }
}

/* ── Order cards (Compras): tighter ── */
@media (max-width: 575.98px) {
    .order-head {
        padding: 10px 12px;
        flex-direction: column;
        gap: 6px;
    }

    .order-body {
        padding: 10px 12px 12px;
    }

    .order-title {
        font-size: .88rem;
    }

    .order-meta {
        font-size: .8rem;
    }

    .order-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .order-actions {
        gap: 6px;
    }

        .order-actions .btn {
            font-size: .78rem;
            padding: .35rem .65rem;
        }
}

/* ── Tabs: scroll horizontal on mobile ── */
@media (max-width: 575.98px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .tabs::-webkit-scrollbar {
            display: none;
        }

    .tab {
        flex-shrink: 0;
        font-size: .82rem;
        padding: 8px 12px;
    }
}

/* ── Chat floating widget: compact on small screens ── */
@media (max-width: 575.98px) {
    .vm-chat {
        right: 8px;
        bottom: 8px;
        left: auto;
    }

    .vm-chat-toggle {
        min-width: auto;
        width: 58px;
        height: 58px;
        border-radius: 999px;
        padding: 0;
        justify-content: center;
    }

    .vm-chat-toggle-copy {
        display: none;
    }

    .vm-chat-toggle-icon {
        width: 42px;
        height: 42px;
    }

    .vm-chat-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
        z-index: 9999;
    }

    .vm-chat-header {
        padding-top: max(16px, env(safe-area-inset-top, 16px)) !important;
    }

    .vm-chat-messages {
        flex: 1;
        min-height: 0;
        height: auto;
    }
}

/* ── Forms on mobile: full width inputs ── */
@media (max-width: 575.98px) {
    .form-control,
    .form-select {
        font-size: .88rem;
        padding: .55rem .75rem;
    }

    .btn {
        font-size: .85rem;
    }
}

/* ── Auth pages: responsive ── */
@media (max-width: 575.98px) {
    .auth-page {
        min-height: auto;
        padding: 20px 0;
    }
}

/* ── Panel (user profile): responsive cards ── */
@media (max-width: 575.98px) {
    .container .row.g-3 > [class*="col-"] {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* ── Modals: full screen on mobile ── */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100vh;
    }

    .modal-content {
        border-radius: 0;
        min-height: 100vh;
    }
}

/* ── Empty states smaller ── */
@media (max-width: 575.98px) {
    .empty {
        padding: 32px 10px;
    }

        .empty i {
            font-size: 1.8rem;
        }
}

/* ── Onboarding (Driver.js) overrides for mobile ── */
@media (max-width: 575.98px) {
    .driver-popover {
        max-width: calc(100vw - 24px) !important;
        margin: 0 12px !important;
    }

    .driver-popover-title {
        font-size: 15px !important;
    }

    .driver-popover-description {
        font-size: 13px !important;
    }
}

/* ── Onboarding custom styles ── */
.driver-popover {
    border-radius: 16px !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 20px 60px rgba(28,26,24,.18) !important;
    font-family: var(--font-sans) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.driver-popover-title {
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--vm-ink) !important;
    padding: 18px 20px 0 !important;
    margin: 0 !important;
}

.driver-popover-description {
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--vm-dark-mid) !important;
    padding: 8px 20px 4px !important;
    margin: 0 !important;
}

.driver-popover-footer {
    padding: 12px 20px 16px !important;
    border-top: none !important;
}

.driver-popover-prev-btn,
.driver-popover-next-btn {
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: .03em !important;
    padding: 8px 16px !important;
    text-shadow: none !important;
}

.driver-popover-next-btn {
    background: var(--vm-ink) !important;
    color: #fff !important;
    border: 1px solid var(--vm-ink) !important;
}

    .driver-popover-next-btn:hover {
        background: var(--vm-dark) !important;
    }

.driver-popover-prev-btn {
    background: transparent !important;
    color: var(--vm-ink) !important;
    border: 1px solid var(--border) !important;
}

    .driver-popover-prev-btn:hover {
        background: var(--vm-gray-xl) !important;
    }

.driver-popover-progress-text {
    font-family: var(--font-sans) !important;
    font-size: 11px !important;
    color: var(--muted) !important;
}

.driver-popover-close-btn {
    color: var(--muted) !important;
}

    .driver-popover-close-btn:hover {
        color: var(--vm-ink) !important;
    }

/* Onboarding step icon in description */
.onboarding-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(160,80,58,.08);
    color: var(--vm-accent);
    font-size: 15px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ── Panel onboarding guide ── */
.panel-guide-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--vm-bone) 0%, var(--vm-w) 100%);
    overflow: hidden;
}

.panel-guide-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-guide-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--vm-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.panel-guide-header h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.panel-guide-header p {
    font-size: .82rem;
    color: var(--muted);
    margin: 2px 0 0;
}

.panel-guide-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.panel-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

    .panel-guide-item:last-child {
        border-bottom: none;
    }

    .panel-guide-item:hover {
        background: rgba(160,80,58,.03);
    }

.panel-guide-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--vm-w);
}

.panel-guide-item-text h6 {
    font-size: .88rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--vm-ink);
}

.panel-guide-item-text p {
    font-size: .8rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .panel-guide-header {
        padding: 14px 16px 12px;
    }

    .panel-guide-item {
        padding: 10px 16px;
        gap: 10px;
    }

    .panel-guide-item-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .panel-guide-item-text h6 {
        font-size: .82rem;
    }

    .panel-guide-item-text p {
        font-size: .75rem;
    }
}

/* ═══════════════════════════════════════════
   MOBILE FIX: cats-row, sections spacing,
   categories, notifications
   ═══════════════════════════════════════════ */

/* ── Mobile search bar: fade on scroll ── */
@media (max-width: 767.98px) {
    .mobile-search-bar {
        transition: opacity 0.4s ease;
    }

        .mobile-search-bar.search-hidden {
            opacity: 0.25;
        }
}

/* ── Cats-row: oculto en mobile ── */
@media (max-width: 767.98px) {
    .header-cats {
        display: none !important;
    }
}

/* ── Cats-row: force containment on tablet ── */
@media (max-width: 991.98px) {
    .header-cats {
        overflow: hidden !important;
        max-width: 100vw;
    }

        .header-cats .container {
            overflow: hidden !important;
            padding-left: 0;
            padding-right: 0;
        }

    .cats-row {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        max-width: 100vw;
        padding: 0 12px;
    }

        .cats-row::-webkit-scrollbar {
            display: none;
        }

        .cats-row a {
            flex-shrink: 0;
            white-space: nowrap;
            font-size: 11px;
            padding: 8px 10px;
        }
}

/* ── Home sections: proper spacing on mobile ── */
@media (max-width: 767.98px) {
    .vmhome .vm-section {
        padding: 36px 0;
    }

    .vmhome .vm-section-alt {
        padding: 36px 0;
    }

    .vmhome .vm-band {
        min-height: 220px !important;
    }

    .vmhome .vm-band-inner {
        padding: 28px 20px;
    }

    .vmhome .vm-band-title {
        font-size: 20px;
    }

    .vmhome .vm-band-sub {
        font-size: 13px;
    }

    .vmhome .vm-marquee {
        padding: 10px 0;
    }
    /* Probador virtual section */
    .vmhome .vm-tryon-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: unset !important;
        gap: 20px !important;
    }

        .vmhome .vm-tryon-copy,
        .vmhome .vm-tryon-grid .vm-phone-wrap,
        .vmhome .vm-tryon-cta-wrap {
            grid-column: 1 !important;
            grid-row: auto !important;
        }

        .vmhome .vm-tryon-grid .vm-phone-wrap {
            display: flex !important;
            transform: scale(.5);
            transform-origin: top center;
            padding: 0 !important;
            height: 170px;
            margin-top: 20px;
            overflow: visible;
        }

    .vmhome .vm-t-title {
        font-size: 22px;
    }

    .vmhome .vm-steps {
        gap: 12px;
    }

    .vmhome .vm-step {
        gap: 10px;
    }
    /* Asesor IA section */
    .vmhome .vm-app-grid,
    .vm-app-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .vm-chatbox-home {
        max-height: 320px;
        overflow: hidden;
    }

    .vm-feature {
        gap: 10px;
    }

    .vm-feature-ic {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ── Categories section: mobile layout ── */
@media (max-width: 767.98px) {
    .vmhome .vm-cats-row {
        gap: 18px;
        padding: 4px 4px 8px 0;
        scroll-snap-type: x mandatory;
    }

    .vmhome .vm-cat {
        scroll-snap-align: start;
        gap: 8px;
        min-width: 68px;
    }

    .vmhome .vm-cat-circle {
        width: 68px;
        height: 68px;
    }

    .vmhome .vm-cat-name {
        font-size: 10px;
        max-width: 72px;
        text-align: center;
    }

    .vmhome .vm-sec-head {
        margin-bottom: 16px;
    }

    .vmhome .vm-harrows {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .vmhome .vm-eyebrow {
        font-size: 9px;
    }

    .vmhome .vm-title {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════
   NOTIFICATIONS — clean redesign
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   NOTIFICATIONS — Index page
   ═══════════════════════════════════════════ */
.notif-page {
    max-width: 680px;
    margin: 0 auto;
}

.notif-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.notif-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notif-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vm-ink);
    margin: 0;
    letter-spacing: -.02em;
}

.notif-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: var(--vm-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 6px;
}

.notif-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-link-btn {
    font-size: .8rem;
    font-weight: 600;
    color: var(--vm-dark-mid);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color .15s;
}

    .notif-link-btn:hover {
        color: var(--vm-ink);
    }

.notif-link-pref {
    color: var(--vm-accent);
}

    .notif-link-pref:hover {
        color: var(--vm-accent-h);
    }

.notif-section-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    padding: 16px 0 8px;
}

/* Card-style notifications */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notif-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--vm-w);
    border: 1px solid var(--border);
    border-radius: 14px;
    position: relative;
    transition: border-color .15s, box-shadow .15s;
}

    .notif-card:hover {
        border-color: var(--vm-gray-mid);
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

.notif-card--unread {
    background: rgba(160,80,58,.02);
    border-color: rgba(160,80,58,.15);
}

.notif-card-dot {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vm-accent);
}

.notif-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.notif-card-content {
    flex: 1;
    min-width: 0;
}

.notif-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2px;
}

.notif-card-title {
    font-size: .88rem;
    font-weight: 650;
    color: var(--vm-ink);
    line-height: 1.3;
}

.notif-card-time {
    font-size: .72rem;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 14px;
}

.notif-card-msg {
    font-size: .82rem;
    color: var(--vm-dark-mid);
    margin: 2px 0 0;
    line-height: 1.5;
}

.notif-card-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.notif-card-link {
    font-size: .78rem;
    font-weight: 600;
    color: var(--vm-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .notif-card-link:hover {
        text-decoration: underline;
    }

.notif-card-action {
    margin: 0;
}

.notif-card-read-btn {
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--vm-w);
    color: var(--vm-dark-mid);
    cursor: pointer;
    transition: all .15s;
    font-weight: 500;
}

    .notif-card-read-btn:hover {
        background: var(--vm-bone);
        border-color: var(--vm-gray-mid);
        color: var(--vm-ink);
    }

/* Empty state */
.notif-empty-state {
    text-align: center;
    padding: 64px 24px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    background: var(--vm-bone);
}

.notif-empty-icon-wrap {
    font-size: 2.6rem;
    color: var(--vm-gray-mid);
    margin-bottom: 16px;
}

.notif-empty-state h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vm-ink);
    margin: 0 0 6px;
}

.notif-empty-state p {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
    max-width: 340px;
    margin-inline: auto;
}

/* ═══════════════════════════════════════════
   NOTIFICATIONS — Preferences page
   ═══════════════════════════════════════════ */
.notif-pref-page {
    max-width: 620px;
    margin: 0 auto;
}

.notif-pref-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--vm-dark-mid);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color .15s;
}

    .notif-pref-back:hover {
        color: var(--vm-ink);
    }

.notif-pref-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.notif-pref-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--vm-bone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--vm-ink);
    flex-shrink: 0;
}

.notif-pref-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--vm-ink);
    margin: 0;
    letter-spacing: -.02em;
}

.notif-pref-subtitle {
    font-size: .84rem;
    color: var(--muted);
    margin: 2px 0 0;
}

.notif-pref-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-pref-section {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--vm-w);
    padding: 18px 20px 14px;
    transition: border-color .15s;
}

    .notif-pref-section:hover {
        border-color: var(--vm-gray-mid);
    }

.notif-pref-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.notif-pref-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.notif-pref-section-name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--vm-ink);
}

.notif-pref-section-desc {
    font-size: .76rem;
    color: var(--muted);
    margin-top: 1px;
}

.notif-pref-channels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notif-pref-channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--vm-bone);
    cursor: pointer;
    transition: background .15s;
    margin: 0;
}

    .notif-pref-channel:hover {
        background: #f0eeec;
    }

.notif-pref-channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--vm-dark-mid);
}

    .notif-pref-channel-info i {
        font-size: 15px;
        color: var(--muted);
    }

/* Toggle switch */
.notif-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

    .notif-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.notif-toggle-track {
    position: absolute;
    inset: 0;
    background: var(--vm-gray-mid);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s;
}

    .notif-toggle-track::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        top: 3px;
        left: 3px;
        transition: transform .2s;
        box-shadow: 0 1px 3px rgba(0,0,0,.15);
    }

.notif-toggle input:checked + .notif-toggle-track {
    background: var(--vm-accent);
}

    .notif-toggle input:checked + .notif-toggle-track::after {
        transform: translateX(18px);
    }

.notif-pref-save {
    margin-top: 20px;
}

.notif-pref-save-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: var(--vm-ink);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
}

    .notif-pref-save-btn:hover {
        opacity: .88;
    }

/* ── Mobile responsive notifications ── */
@media (max-width: 575.98px) {
    .notif-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .notif-card {
        padding: 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .notif-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 15px;
    }

    .notif-card-title {
        font-size: .84rem;
    }

    .notif-card-msg {
        font-size: .78rem;
    }

    .notif-card-time {
        font-size: .68rem;
    }

    .notif-pref-section {
        padding: 14px 14px 10px;
    }

    .notif-pref-channel {
        padding: 8px 10px;
    }

    .notif-pref-channel-info {
        font-size: .78rem;
    }

    .notif-pref-hero {
        gap: 12px;
    }

    .notif-pref-hero-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .notif-pref-title {
        font-size: 1.2rem;
    }
}

/* ══════════════════════════════════════════════
   Chat: mode switcher + asesor accent
   ══════════════════════════════════════════════ */
.vm-chat-mode-switcher {
    display: flex;
    gap: 0;
    background: #f3f4f6;
    padding: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.vm-chat-mode-btn {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 800;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .vm-chat-mode-btn:hover {
        color: #374151;
        background: rgba(255,255,255,.5);
    }

    .vm-chat-mode-btn.is-active {
        background: #fff;
        color: #111827;
        box-shadow: 0 1px 3px rgba(0,0,0,.1);
    }

    .vm-chat-mode-btn i {
        font-size: 14px;
    }

/* Asesor mode: purple accent */
.vm-chat--asesor .vm-chat-avatar {
    background: linear-gradient(180deg, #8b5cf6, #7c3aed) !important;
}

.vm-chat--asesor .vm-chat-mode-btn.is-active {
    color: #7c3aed;
}

.vm-chat--asesor .vm-chat-header {
    background: #1e1b4b;
}

.vm-chat--asesor .vm-chat-send {
    background: linear-gradient(180deg, #6b35e8, #5412d7);
}

/* Close button padding fix for mobile (avoid search bar overlap) */
.vm-chat-close {
    padding-top: 24px;
}

@media (max-width: 575.98px) {
    .vm-chat-close {
        padding-top: 36px;
    }

    .vm-chat-mode-switcher {
        padding: 3px;
    }

    .vm-chat-mode-btn {
        font-size: 14px;
        padding: 6px 8px;
    }
}

.vm-chat-quick-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    background: none;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

.vm-chat-quick-close:hover {
    background: #f3f4f6;
    color: #374151;
}


/* ================================================================
   TIENDAS MEGA MENU  (Alibaba-style dropdown)
   ================================================================ */

.tiendas-mega {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.tiendas-mega-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: .45rem !important;
    padding: .35rem .6rem !important;
    border-radius: .75rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.tiendas-mega-trigger i {
    font-size: 1.1rem !important;
    line-height: 1 !important;
}

/* invisible bridge between trigger and panel */
.tiendas-mega::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    width: 260px !important;
    height: 16px !important;
}

.tiendas-mega-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    width: 720px !important;
    max-width: calc(100vw - 24px) !important;
    height: 440px !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.16) !important;
    z-index: 1060 !important;
    display: none !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    margin-top: 0 !important;
}

.tiendas-mega.open .tiendas-mega-panel {
    display: flex !important;
}

/* CSS-only fallback: open on hover even if JS fails */
.tiendas-mega:hover .tiendas-mega-panel {
    display: flex !important;
}

.tiendas-mega-left {
    width: 340px !important;
    height: 100% !important;
    border-right: 1px solid rgba(0,0,0,.08) !important;
    display: flex !important;
    flex-direction: column !important;
}

.tiendas-mega-title {
    padding: 14px 14px 10px 14px !important;
    font-weight: 900 !important;
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
    display: flex !important;
    align-items: center !important;
}

.tiendas-mega-list {
    padding: 8px !important;
    overflow: auto !important;
    height: 100% !important;
}

.tiendas-mega-empty {
    padding: 10px !important;
    color: rgba(0,0,0,.55) !important;
    font-size: .9rem !important;
}

.tiendas-mega-item {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .55rem .6rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.tiendas-mega-item:hover    { background: rgba(0,0,0,.04) !important; }
.tiendas-mega-item.is-active { background: rgba(0,0,0,.06) !important; }

.tiendas-mega-item-logo {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    object-fit: cover !important;
    background: #f7f7f7 !important;
    flex: 0 0 auto !important;
}

.tiendas-mega-item-fallback {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    font-weight: 900 !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    background: rgba(13,110,253,.08) !important;
    color: rgba(13,110,253,1) !important;
    flex: 0 0 auto !important;
}

.tiendas-mega-item-name {
    font-weight: 800 !important;
    font-size: .95rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.tiendas-mega-right {
    flex: 1 !important;
    height: 100% !important;
    padding: 14px !important;
}

.tiendas-mega-preview {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.tiendas-mega-preview-media {
    flex: 1 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    background: #f7f7f7 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.tiendas-mega-preview-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.tiendas-mega-preview-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.tiendas-mega-preview-name {
    font-weight: 900 !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Mobile: hide panel (no hover on touch) */
@media (max-width: 991.98px) {
    .tiendas-mega-panel { display: none !important; }
}

/* Desktop: allow mega menu to overflow its container */
@media (min-width: 992px) {
    .app-header,
    .header-main,
    .header-cats,
    .header-cats .container,
    .header-cats .cats-row {
        overflow: visible !important;
    }
}

/* Stacking context */
.header-cats  { position: relative !important; z-index: 2000 !important; }
.tiendas-mega { position: relative !important; z-index: 3000 !important; }

/* ================================================================
   PRINT — hide shell chrome
   ================================================================ */
@media print {
    .app-header, .announce-bar, footer, .cookie-banner, .offcanvas,
    .vmoda-chat-widget, #pushBanner, .breadcrumb { display: none !important; }
    body { background: white !important; }
    .container { max-width: 100% !important; padding: 0 !important; }
    .legal-body h2     { page-break-after: avoid; }
    .legal-body section { page-break-inside: avoid; }
}

/* ─────────────────────────────────────────
   VMODA CHAT WIDGET — estilos globales
   (disponible en todas las vistas)
───────────────────────────────────────── */
.vm-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1095;
}

.vm-chat-panel {
    display: none;
}

.vm-chat.is-open .vm-chat-panel {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .vm-chat.is-open .vm-chat-toggle {
        display: none;
    }
}

.vm-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    background: #1c1a18;
    color: #fff;
    box-shadow: 0 18px 48px rgba(17,24,39,.24);
    cursor: pointer;
}

.vm-chat-toggle-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e11d48;
    color: #fff;
    flex: 0 0 auto;
}

.vm-chat-toggle-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

    .vm-chat-toggle-copy strong {
        font-size: 13px;
        color: #fff;
    }

    .vm-chat-toggle-copy span {
        font-size: 11px;
        color: rgba(255,255,255,.78);
    }

.vm-chat-panel {
    width: min(420px, calc(100vw - 20px));
    max-height: min(76vh, 720px);
    margin-top: 12px;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(17,24,39,.26);
}

.vm-chat-header {
    background: var(--vm-ink);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.vm-chat-header-main {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.vm-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ef4444, #e11d48);
    color: #fff;
    flex: 0 0 auto;
}

.vm-chat-title {
    font-size: 15px;
    font-weight: 800;
}

.vm-chat-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,.76);
    line-height: 1.45;
    margin-top: 4px;
}

.vm-chat-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.vm-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vm-chat-bubble {
    max-width: 86%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.vm-chat-bubble--user {
    background: #111827;
    color: rgba(255,255,255,.92);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.vm-chat-bubble--bot {
    background: #fff;
    color: #111315;
    align-self: flex-start;
    border: 1px solid #e7e9ee;
    border-bottom-left-radius: 6px;
    box-shadow: 0 6px 16px rgba(17,24,39,.05);
}

.vm-chat-bubble--meta {
    background: #eef2ff;
    color: #475569;
    align-self: center;
    font-size: 12px;
    max-width: 100%;
}

.vm-chat-typing {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

    .vm-chat-typing span {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #94a3b8;
        display: inline-block;
        animation: vmTyping 1s infinite ease-in-out;
    }

        .vm-chat-typing span:nth-child(2) {
            animation-delay: .12s;
        }

        .vm-chat-typing span:nth-child(3) {
            animation-delay: .24s;
        }

@keyframes vmTyping {
    0%,80%,100% {
        transform: scale(.7);
        opacity: .5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.vm-chat-quick-actions {
    padding: 12px 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
}

.vm-chat-quick-btn {
    border: 1px solid #e7e9ee;
    background: #fff;
    color: #111315;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.vm-chat-form {
    padding: 12px 14px;
    border-top: 1px solid #e7e9ee;
    background: #fff;
    flex-shrink: 0;
}

.vm-chat-form-main {
    display: grid;
    gap: 10px;
}

.vm-chat-input {
    width: 100%;
    min-height: 48px;
    max-height: 132px;
    resize: none;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    padding: 12px 14px;
    background: #f8fafc;
    font-size: 13px;
    line-height: 1.5;
    outline: none;
}

.vm-chat-form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.vm-chat-attach,
.vm-chat-send {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.vm-chat-attach {
    background: #f3f4f6;
    color: #111315;
}

.vm-chat-send {
    background: linear-gradient(180deg, #ef4444, #e11d48);
    color: #fff;
}

.vm-chat-image-preview {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    background: #fff;
}

    .vm-chat-image-preview img {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 10px;
    }

.vm-chat-image-name {
    font-size: 12px;
    font-weight: 700;
    color: #111315;
    word-break: break-word;
}

.vm-chat-remove-image {
    border: 0;
    background: transparent;
    color: #e11d48;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    cursor: pointer;
}

.vm-chat-actions {
    margin-top: 10px;
}

.vm-chat-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .vm-chat {
        right: 4px;
        left: auto;
        bottom: 14px;
    }

    /* Toggle compacto: sólo el círculo del ícono, sin texto */
    .vm-chat-toggle {
        width: auto;
        min-width: 0;
        padding: 6px;
        gap: 0;
        border-radius: 999px;
        box-shadow: none;
        background: none;
        justify-content: center;
    }

    .vm-chat-toggle-icon {
        width: 45px;
        height: 45px;
    }


        .vm-chat-toggle-copy {
            display: none;
        }

    /* Panel ocupa toda la pantalla en mobile, sin borde ni redondeo */
    .vm-chat.is-open .vm-chat-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        z-index: 2000;
    }

    .vm-chat-form-actions {
        flex-wrap: wrap;
    }

    .vm-chat-attach,
    .vm-chat-send {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
    }
}


/* ─────────────────────────────────────────
   Panel de tienda — nav tabs
───────────────────────────────────────── */
.nav-tabs .nav-link {
    color: var(--vm-ink);
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: color .15s, font-weight .15s, border-color .15s, box-shadow .15s;
}

.nav-tabs .nav-link:hover {
    color: var(--vm-ink);
    font-weight: 600;
    border-color: transparent transparent var(--vm-gray-mid) transparent;
    box-shadow: 0 2px 8px rgba(28,26,24,.10);
}

.nav-tabs .nav-link.active {
    color: var(--vm-ink);
    font-weight: 700;
    border-color: transparent transparent var(--vm-ink) transparent;
    box-shadow: 0 3px 10px rgba(28,26,24,.13);
}

