            html.vcg-menu-open,
            html.vcg-menu-open body {
                overflow: hidden !important;
                overscroll-behavior: none;
            }

            body.vcg-global-shell-active {
                --vcg-blue: #0861e8;
                --vcg-blue-strong: #0354d6;
                --vcg-blue-soft: #eaf2ff;
                --vcg-navy: #071d49;
                --vcg-text: #101828;
                --vcg-muted: #667085;
                --vcg-line: #dce3ee;
                --vcg-shell: 1240px;
                --vcg-header-height: 84px;
                overflow-x: hidden;
            }

            /*
             * Nunca ocultamos la cabecera o el pie del tema hasta confirmar que
             * el global de Vendecarsubastas se ha impreso. Así una plantilla sin hooks no
             * puede dejar la página sin navegación.
             */
            html.vcg-header-ready #masthead,
            html.vcg-header-ready .site-header,
            html.vcg-header-ready .ast-mobile-header-wrap,
            html.vcg-header-ready .ast-above-header-wrap,
            html.vcg-header-ready .ast-below-header-wrap,
            html.vcg-header-ready .elementor-location-header {
                display: none !important;
            }

            html.vcg-footer-ready #colophon,
            html.vcg-footer-ready .site-footer,
            html.vcg-footer-ready footer.site-footer,
            html.vcg-footer-ready .elementor-location-footer {
                display: none !important;
            }

            html.vcg-header-ready body.vc-home-v2-page .vc-home-v2 > .vc-site-header,
            html.vcg-header-ready body.vc-home-v2-page .vc-home-v2 > .vc-bottom-nav,
            html.vcg-footer-ready body.vc-home-v2-page .vc-home-v2 > .vc-site-footer {
                display: none !important;
            }

            /*
             * Astra reserva 60px por encima y por debajo de #primary. Con la
             * cabecera y el pie globales eso deja un hueco vacío entre el menú
             * y el contenido (se veía en Tasación y Tarifas; el resto de
             * páginas ya lo anulaban por su cuenta). Las plantillas traen su
             * propio espaciado, así que aquí se quita para todas por igual.
             */
            html body.vcg-global-shell-active.ast-plain-container #primary,
            html body.vcg-global-shell-active.ast-separate-container #primary,
            html body.vcg-global-shell-active.ast-narrow-container #primary,
            html body.vcg-global-shell-active.ast-page-builder-template #primary {
                margin-top: 0;
                margin-bottom: 0;
            }

            /*
             * Página 404 (también la ficha de un coche cuya subasta ya ha
             * terminado). El pie global se imprime dentro de .ast-container,
             * que Astra monta en fila con flex, y en esta página quedaba al
             * lado del texto. En bloque, el pie baja a su sitio y el aviso se
             * centra con los colores de la web.
             */
            body.error404 .site-content > .ast-container {
                display: block;
            }

            /*
             * Ficha de una novedad (single.php de Astra: el tema no tiene
             * plantilla propia para las entradas). Mismo problema que en la
             * 404: .ast-container queda en fila con flex, así que el texto
             * de la novedad se encogía a la izquierda y el pie global se
             * colaba al lado en vez de debajo, tapando el contenido.
             */
            body.single-post .site-content > .ast-container {
                display: block;
            }

            /* Más específico que «.ast-page-builder-template .site .site-content #primary» de Astra. */
            html body.vcg-global-shell-active.error404 .site .site-content #primary {
                width: min(100% - 32px, 760px);
                margin: 0 auto;
                padding: clamp(48px, 8vw, 96px) 0;
                text-align: center;
            }

            body.error404 .error-404 .page-title {
                margin: 0 0 14px;
                color: #071d49;
                font-size: clamp(30px, 4vw, 42px);
                line-height: 1.1;
                letter-spacing: -.03em;
            }

            body.error404 .error-404 .page-content {
                color: #667085;
                font-size: 16px;
                line-height: 1.6;
            }

            body.error404 .error-404 .search-form {
                max-width: 440px;
                margin: 24px auto 0;
            }

            #vcg-site-header,
            #vcg-site-footer {
                --vcg-blue: #0861e8;
                --vcg-blue-strong: #0354d6;
                --vcg-blue-soft: #eaf2ff;
                --vcg-navy: #071d49;
                --vcg-text: #101828;
                --vcg-muted: #667085;
                --vcg-line: #dce3ee;
                --vcg-shell: 1240px;
                --vcg-header-height: 84px;
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            /*
             * Barlow se carga para todo el sitio en vcg_print_global_fonts().
             * Se fija aquí para que la cabecera y el pie usen la misma
             * tipografía en todas las secciones: antes solo la portada la
             * aplicaba con su propia regla y el resto heredaba la del tema.
             */
            .vcg-header,
            .vcg-header *,
            .vcg-footer,
            .vcg-footer * {
                font-family: "Barlow", "Avenir Next", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            }

            .vcg-header,
            .vcg-header *,
            .vcg-footer,
            .vcg-footer *,
            .vcg-header *::before,
            .vcg-header *::after,
            .vcg-footer *::before,
            .vcg-footer *::after {
                box-sizing: border-box;
            }

            .vcg-shell {
                width: min(calc(100% - 40px), var(--vcg-shell));
                margin-inline: auto;
            }

            .vcg-icon {
                display: block;
                width: 20px;
                height: 20px;
                flex: 0 0 auto;
            }

            .vcg-header {
                position: sticky;
                width: 100vw;
                max-width: none;
                margin-right: calc(50% - 50vw);
                margin-left: calc(50% - 50vw);
                top: 0;
                z-index: 99990;
                min-height: var(--vcg-header-height);
                border-bottom: 1px solid rgba(220, 227, 238, 0.9);
                background: rgba(255, 255, 255, 0.97);
                box-shadow: 0 7px 24px rgba(12, 37, 73, 0.045);
                color: var(--vcg-navy);
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
            }

            /*
             * La barra de administración de WordPress es "absolute" en la
             * parte pública: se va con el scroll. Reservarle 32px aquí dejaba
             * una franja vacía sobre el menú en cuanto se bajaba un poco la
             * página, visible solo para quien tiene la sesión iniciada.
             */
            body.admin-bar .vcg-header {
                top: 0;
            }

            /*
             * En móvil la barra superior deja de quedarse fija: sube con el
             * resto de la página. El límite es el mismo en el que la cabecera
             * cambia a su composición móvil (menú, logotipo centrado y cuenta).
             *
             * Va en relative y no en static a propósito. La cabecera crea un
             * contexto de apilamiento por su backdrop-filter, y con static el
             * z-index se ignora: el panel del menú desplegable quedaba atrapado
             * dentro de ese contexto y lo tapaba el contenido de la página. Con
             * relative sin desplazamientos la cabecera sigue subiendo con el
             * scroll, pero su z-index vuelve a contar y el menú se ve.
             */
            @media (max-width: 980px) {
                .vcg-header,
                body.admin-bar .vcg-header {
                    position: relative;
                    top: auto;
                }
            }

            .vcg-header__inner {
                display: grid;
                grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) auto;
                min-height: var(--vcg-header-height);
                align-items: center;
                gap: clamp(20px, 2.6vw, 42px);
            }

            .vcg-brand {
                display: inline-flex;
                min-width: 0;
                align-items: center;
                justify-content: flex-start;
                color: var(--vcg-blue);
                text-decoration: none !important;
            }

            .vcg-brand__image,
            .vcg-brand .custom-logo {
                display: block;
                width: 255px;
                max-width: 100%;
                height: auto;
                aspect-ratio: 1254 / 296;
                object-fit: contain;
            }

            .vcg-brand__text {
                display: grid;
                line-height: 1;
            }

            .vcg-brand__text strong {
                color: var(--vcg-blue);
                font-size: 28px;
                font-weight: 850;
                letter-spacing: -0.04em;
            }

            .vcg-brand__text small {
                margin-top: 5px;
                color: var(--vcg-navy);
                font-size: 9px;
                font-weight: 800;
                letter-spacing: 0.44em;
                text-transform: uppercase;
            }

            .vcg-desktop-nav {
                display: flex;
                min-width: 0;
                align-items: center;
                justify-content: center;
                gap: clamp(16px, 2vw, 31px);
            }

            .vcg-desktop-nav a {
                position: relative;
                display: inline-flex;
                min-height: 44px;
                align-items: center;
                padding: 8px 0;
                color: var(--vcg-navy);
                font-size: 15px;
                font-weight: 750;
                line-height: 1.2;
                text-decoration: none !important;
                white-space: nowrap;
            }

            .vcg-desktop-nav a::after {
                content: "";
                position: absolute;
                right: 50%;
                bottom: 5px;
                left: 50%;
                height: 2px;
                border-radius: 0;
                background: var(--vcg-blue);
                transition: left .2s ease, right .2s ease;
            }

            .vcg-desktop-nav a:hover,
            .vcg-desktop-nav a:focus-visible,
            .vcg-desktop-nav a.is-current {
                color: var(--vcg-blue);
            }

            .vcg-desktop-nav a:hover::after,
            .vcg-desktop-nav a:focus-visible::after,
            .vcg-desktop-nav a.is-current::after {
                right: 0;
                left: 0;
            }

            .vcg-header-actions {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 10px;
            }

            .vcg-account,
            .vcg-register,
            .vcg-mobile-account,
            .vcg-mobile-register {
                display: inline-flex;
                min-height: 40px;
                align-items: center;
                justify-content: center;
                gap: 9px;
                border-radius: 0;
                font-size: 13px;
                font-weight: 800;
                line-height: 1.2;
                text-decoration: none !important;
                transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
                padding-block: 8px;
              }

            .vcg-account {
                padding: 0 17px;
                border: 1px solid rgba(8, 97, 232, .42);
                background: #fff;
                box-shadow: 0 0 0 4px rgba(8, 97, 232, .09);
                color: var(--vcg-navy);
            }

            /* Con sesión iniciada el texto es el nombre del usuario, que puede ser largo. */
            .vcg-account span {
                overflow: hidden;
                max-width: 160px;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .vcg-register {
                padding: 0 18px;
                border: 1px solid var(--vcg-blue);
                background: linear-gradient(135deg, var(--vcg-blue), var(--vcg-blue-strong));
                box-shadow: 0 8px 20px rgba(8, 97, 232, .2);
                color: #fff;
            }

            .vcg-account:hover,
            .vcg-account:focus-visible,
            .vcg-register:hover,
            .vcg-register:focus-visible {
                transform: translateY(-1px);
            }

            .vcg-account:hover,
            .vcg-account:focus-visible {
                border-color: var(--vcg-blue);
                background: var(--vcg-blue-soft);
                color: var(--vcg-blue);
            }

            .vcg-register:hover,
            .vcg-register:focus-visible {
                background: linear-gradient(135deg, #0c6af8, #034fc9);
                color: #fff;
            }

            .vcg-mobile-menu {
                display: none;
            }

            .vcg-header a:focus-visible,
            .vcg-header summary:focus-visible,
            .vcg-footer a:focus-visible {
                outline: 3px solid rgba(8, 97, 232, .27);
                outline-offset: 3px;
            }

            .vcg-footer {
                position: relative;
                width: 100vw;
                max-width: none;
                margin-right: calc(50% - 50vw);
                margin-left: calc(50% - 50vw);
                z-index: 20;
                padding: 30px 0 32px;
                border-top: 1px solid #e9eef5;
                background: #fff;
                color: var(--vcg-navy);
            }

            .vcg-footer__inner {
                display: grid;
                /*
                 * "max-content" a secas dejaba que la columna de la marca
                 * midiera lo que pidiera su hijo más ancho -- y ese no es
                 * el logo (215px), es el texto del copyright en una sola
                 * línea (unos 470px con white-space:nowrap más abajo). En
                 * portátiles esa columna se comía casi todo el ancho y
                 * dejaba al menú (EMPRESA/LEGAL/CONDICIONES) sin sitio, con
                 * el texto partido palabra a palabra. Con un tope fijo la
                 * columna de la marca no depende de lo que mida ese texto.
                 */
                grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
                align-items: start;
                gap: clamp(40px, 6vw, 110px);
            }

            .vcg-footer__brand {
                display: grid;
                gap: 11px;
                justify-items: start;
            }

            .vcg-brand--footer .vcg-brand__image,
            .vcg-brand--footer .custom-logo {
                width: min(100%, 215px);
                max-width: 100%;
                height: auto;
            }

            .vcg-footer__nav {
                grid-column: 2;
                justify-self: center;
                max-width: 100%;
                display: grid;
                /* minmax(0, ...) y no max-content a secas: si no hay espacio
                   para que las tres columnas midan lo que pide su contenido
                   (p. ej. con el logo del pie más ancho, o en pantallas de
                   portátil), que las columnas se encojan y el texto pase a
                   una segunda línea, en vez de que "CONDICIONES" se salga
                   por el lateral y aparezca una barra de scroll horizontal. */
                grid-template-columns: repeat(3, minmax(0, max-content));
                gap: clamp(24px, 6vw, 112px);
            }

            .vcg-footer__title {
                margin: 0 0 8px;
                color: var(--vcg-navy);
                font-size: 12px;
                font-weight: 850;
                letter-spacing: .09em;
                line-height: 1.2;
                text-transform: uppercase;
            }

            .vcg-footer__links {
                display: grid;
                align-content: start;
                gap: 4px;
                margin: 0;
                padding: 0;
                list-style: none;
            }

            .vcg-footer__links a {
                color: var(--vcg-muted);
                font-size: 13px;
                line-height: 1.35;
                text-decoration: none !important;
            }

            .vcg-footer__links a:hover,
            .vcg-footer__links a:focus-visible {
                color: var(--vcg-blue);
            }

            /* Franja con los enlaces a las páginas por sector, bajo las columnas:
               azul clarito del logo, a todo el ancho y hasta el final del pie
               (el margen negativo compensa el padding inferior de .vcg-footer). */
            .vcg-footer__sectors-band {
                margin: 28px 0 -32px;
                padding: 24px 0 30px;
                border-top: 1px solid #d6e4fb;
                background: var(--vcg-blue-soft, #eaf2ff);
            }

            .vcg-footer__sectors {
                display: grid;
                grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
                gap: 24px clamp(24px, 5vw, 80px);
            }

            .vcg-footer__sectors .vcg-footer__links a {
                color: #3b4a66;
            }

            .vcg-footer__sectors .vcg-footer__links a:hover,
            .vcg-footer__sectors .vcg-footer__links a:focus-visible {
                color: var(--vcg-blue);
            }

            @media (max-width: 640px) {
                .vcg-footer__sectors-band {
                    margin-bottom: calc(-30px - env(safe-area-inset-bottom));
                    padding-bottom: calc(26px + env(safe-area-inset-bottom));
                }
            }

            .vcg-footer__sectors .vcg-footer__links {
                display: block;
                columns: 2 220px;
                column-gap: 32px;
            }

            .vcg-footer__sectors .vcg-footer__links li {
                break-inside: avoid;
                margin-bottom: 4px;
            }

            @media (max-width: 900px) {
                .vcg-footer__sectors {
                    grid-template-columns: minmax(0, 1fr);
                }
            }

            .vcg-footer__copyright {
                margin: 0;
                color: var(--vcg-muted);
                font-size: 12px;
                line-height: 1.4;
            }

            /* Redes sociales bajo el copyright: botones redondos con el color de cada red. */
            .vcg-footer__socials {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 8px;
                margin-top: 8px;
            }

            .vcg-social-link,
            .vcg-social-link:visited {
                display: inline-flex;
                width: 34px;
                height: 34px;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: var(--vcg-navy);
                color: #ffffff !important;
                text-decoration: none !important;
                box-shadow: 0 6px 16px rgba(8, 29, 73, 0.12);
                transition: transform .18s ease, filter .18s ease;
            }

            .vcg-social-link--instagram {
                background: radial-gradient(circle at 28% 105%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 100%);
            }

            .vcg-social-link--facebook {
                background: #1877f2;
            }

            .vcg-social-link--tiktok {
                background: #010101;
            }

            .vcg-social-link--linkedin {
                background: #0a66c2;
            }

            .vcg-social-link:hover,
            .vcg-social-link:focus-visible {
                transform: translateY(-2px);
                filter: brightness(1.12);
                color: #ffffff !important;
            }

            .vcg-social-link .vcg-icon {
                width: 18px;
                height: 18px;
            }

            /* --------------------------------------------------------------
               Botón flotante de WhatsApp: solo el logotipo, en todas las
               páginas públicas. El nombre va en el aria-label del enlace.
               -------------------------------------------------------------- */
            /*
             * LiveChat no se usa por ahora: WhatsApp ocupa la esquina inferior
             * derecha. Si vuelve LiveChat, basta con ajustar estas variables
             * para apartar el botón a su izquierda.
             */
            :root {
                --vcg-whatsapp-right: 24px;   /* separación desde el borde derecho */
                --vcg-whatsapp-bottom: 24px;  /* separación desde el borde inferior */
            }

            .vcg-whatsapp-float,
            .vcg-whatsapp-float:visited {
                position: fixed;
                right: calc(var(--vcg-whatsapp-right) + env(safe-area-inset-right));
                bottom: calc(var(--vcg-whatsapp-bottom) + env(safe-area-inset-bottom));
                z-index: 1200;
                display: inline-flex;
                width: 54px;
                height: 54px;
                align-items: center;
                justify-content: center;
                padding: 0;
                border: 2px solid rgba(255, 255, 255, .92);
                border-radius: 50%;
                background: #128c4a;
                color: #fff !important;
                text-decoration: none !important;
                box-shadow: 0 16px 34px rgba(18, 140, 74, .3);
                transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
            }

            /*
             * Flecha de «volver arriba» de Astra: a la izquierda del botón de
             * WhatsApp, centrada a su misma altura (flecha de 2.1em a 15px ≈ 32px).
             */
            #ast-scroll-top {
                right: calc(var(--vcg-whatsapp-right) + 54px + 12px + env(safe-area-inset-right));
                bottom: calc(var(--vcg-whatsapp-bottom) + 11px + env(safe-area-inset-bottom));
                left: auto;
            }

            .vcg-whatsapp-float:hover,
            .vcg-whatsapp-float:focus-visible {
                transform: translateY(-2px);
                background: #0e773f;
                color: #fff !important;
                box-shadow: 0 20px 42px rgba(18, 140, 74, .36);
            }

            .vcg-whatsapp-float__icon {
                display: block;
                width: 28px;
                height: 28px;
            }

            /*
             * La portada tiene una barra de navegación inferior en móvil: el
             * botón sube para no quedar debajo de ella.
             */
            @media (max-width: 767px) {
                .vcg-whatsapp-float,
                .vcg-whatsapp-float:visited {
                    right: calc(16px + env(safe-area-inset-right));
                    bottom: calc(16px + env(safe-area-inset-bottom));
                    width: 44px;
                    height: 44px;
                }

                .vcg-whatsapp-float__icon {
                    width: 24px;
                    height: 24px;
                }

                /* En móvil la flecha va encima de WhatsApp, centrada con él. */
                #ast-scroll-top {
                    right: calc(16px + 6px + env(safe-area-inset-right));
                    bottom: calc(16px + 44px + 10px + env(safe-area-inset-bottom));
                }

                /*
                 * Con la cabecera global activa la barra inferior de la
                 * portada se oculta, y el botón vuelve a su sitio de siempre
                 * junto al borde inferior.
                 */
                html:not(.vcg-header-ready) body.vc-home-v2-page .vcg-whatsapp-float {
                    bottom: calc(84px + env(safe-area-inset-bottom));
                }

                /* La flecha de «volver arriba» sube con él. */
                html:not(.vcg-header-ready) body.vc-home-v2-page #ast-scroll-top {
                    bottom: calc(84px + 44px + 10px + env(safe-area-inset-bottom));
                }

                /* Tampoco hace falta el hueco que la portada reserva para esa barra. */
                html.vcg-header-ready body.vc-home-v2-page {
                    padding-bottom: 0;
                }
            }

            @media (prefers-reduced-motion: reduce) {
                .vcg-whatsapp-float {
                    transition: none;
                }
            }

            @media (max-width: 1180px) {
                .vcg-header__inner {
                    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) auto;
                    gap: 20px;
                }

                .vcg-desktop-nav {
                    gap: 17px;
                }

                .vcg-desktop-nav a {
                    font-size: 15px;
                }

                .vcg-register {
                    padding-inline: 14px;
                }
            }

            @media (max-width: 980px) {
                body.vcg-global-shell-active {
                    --vcg-header-height: 74px;
                }

                .vcg-shell {
                    width: min(calc(100% - 24px), var(--vcg-shell));
                }

                .vcg-header__inner {
                    position: relative;
                    grid-template-columns: 48px minmax(0, 1fr) auto;
                    gap: 10px;
                }

                .vcg-mobile-menu {
                    display: block;
                    width: 48px;
                    height: 48px;
                    margin: 0;
                }

                .vcg-mobile-menu > summary {
                    position: relative;
                    z-index: 100004;
                    display: grid;
                    width: 48px;
                    height: 48px;
                    place-items: center;
                    border: 1px solid var(--vcg-line);
                    border-radius: 0;
                    background: #fff;
                    color: var(--vcg-navy);
                    cursor: pointer;
                    list-style: none;
                    -webkit-tap-highlight-color: transparent;
                }

                .vcg-mobile-menu > summary::-webkit-details-marker {
                    display: none;
                }

                .vcg-mobile-menu__close {
                    display: none;
                }

                .vcg-mobile-menu[open] .vcg-mobile-menu__open {
                    display: none;
                }

                .vcg-mobile-menu[open] .vcg-mobile-menu__close {
                    display: block;
                }

                .vcg-mobile-menu[open]::before {
                    content: "";
                    position: fixed;
                    inset: 0;
                    z-index: 100000;
                    background: rgba(7, 29, 73, .38);
                    backdrop-filter: blur(2px);
                    -webkit-backdrop-filter: blur(2px);
                }

                .vcg-mobile-menu__panel {
                    position: fixed;
                    top: calc(var(--vcg-header-height) + 10px);
                    right: 12px;
                    left: 12px;
                    z-index: 100003;
                    max-height: calc(100dvh - var(--vcg-header-height) - 24px);
                    overflow-y: auto;
                    padding: 13px;
                    border: 1px solid rgba(205, 217, 235, .95);
                    border-radius: 0;
                    background: #fff;
                    box-shadow: 0 24px 60px rgba(7, 29, 73, .22);
                    overscroll-behavior: contain;
                }

                body.admin-bar .vcg-mobile-menu__panel {
                    top: calc(var(--vcg-header-height) + 56px);
                }

                .vcg-mobile-menu__panel nav {
                    display: grid;
                    gap: 0;
                    /* Mismos márgenes que el menú de la derecha: iconos a 16px del borde y 6px arriba y abajo. */
                    margin: -7px -13px;
                }

                .vcg-mobile-menu__panel nav:not(:last-child) {
                    margin-bottom: 0;
                }

                /* Iconos, texto y espaciado iguales que en el menú de la derecha (.vcg-account-menu__panel a). */
                .vcg-mobile-menu__panel nav a {
                    display: flex;
                    min-height: 0;
                    align-items: center;
                    gap: 10px;
                    padding: 7px 16px;
                    border-radius: 0;
                    color: var(--vcg-navy);
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 1.25;
                    text-decoration: none !important;
                }

                .vcg-mobile-menu__panel nav a svg {
                    flex: 0 0 auto;
                    width: 18px;
                    height: 18px;
                    fill: none;
                    stroke: currentColor;
                    stroke-width: 1.8;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                }

                .vcg-mobile-menu__panel nav a:hover,
                .vcg-mobile-menu__panel nav a:focus-visible {
                    background: var(--vcg-blue-soft);
                    color: var(--vcg-blue);
                }

                .vcg-mobile-menu__actions {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 9px;
                    margin-top: 12px;
                    padding-top: 12px;
                    border-top: 1px solid #e9eef5;
                }

                .vcg-mobile-account {
                    padding: 0 14px;
                    border: 1px solid rgba(8, 97, 232, .42);
                    background: #fff;
                    color: var(--vcg-navy);
                }

                .vcg-mobile-register {
                    padding: 0 14px;
                    background: linear-gradient(135deg, var(--vcg-blue), var(--vcg-blue-strong));
                    color: #fff;
                }

                .vcg-brand {
                    justify-self: center;
                    justify-content: center;
                }

                .vcg-brand__image,
                .vcg-brand .custom-logo {
                    width: min(52vw, 224px);
                    max-width: 100%;
                    height: auto;
                }

                /*
                 * El centrado de arriba es para la cabecera, donde el logotipo
                 * queda entre el menú y la cuenta. En el pie el logotipo sigue
                 * alineado a la izquierda, como el resto de la columna.
                 */
                .vcg-brand--footer {
                    justify-self: start;
                }

                .vcg-brand--footer .vcg-brand__image,
                .vcg-brand--footer .custom-logo {
                    width: min(100%, 215px);
                }

                .vcg-desktop-nav,
                .vcg-register {
                    display: none;
                }

                .vcg-header-actions {
                    min-width: 48px;
                }

                .vcg-account {
                    width: auto;
                    min-width: 48px;
                    height: 48px;
                    padding: 0 13px;
                    border-radius: 0;
                    box-shadow: none;
                }

                .vcg-footer__inner {
                    grid-template-columns: minmax(0, 1fr);
                    gap: 24px;
                }

                .vcg-footer__nav {
                    grid-column: 1;
                    justify-self: start;
                }
            }

            @media (max-width: 640px) {
                .vcg-mobile-menu__actions {
                    grid-template-columns: 1fr;
                }

                .vcg-footer {
                    padding: 27px 0 calc(30px + env(safe-area-inset-bottom));
                }

                .vcg-footer__inner {
                    gap: 22px;
                }

                .vcg-footer__nav {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 24px;
                }

                /* Logo, copyright y redes sociales centrados en el móvil. */
                .vcg-footer__brand {
                    justify-items: center;
                    text-align: center;
                }

                .vcg-footer__brand .vcg-brand--footer {
                    justify-self: center;
                }

                .vcg-header,
                .vcg-header *,
                .vcg-footer,
                .vcg-footer * {
                    text-align: center;
                }

                .vcg-footer__socials {
                    justify-content: center;
                }
            }

            @media (max-width: 430px) {
                .vcg-shell {
                    width: calc(100% - 20px);
                }

                .vcg-header__inner {
                    grid-template-columns: 46px minmax(0, 1fr) 46px;
                    gap: 7px;
                }

                .vcg-mobile-menu,
                .vcg-mobile-menu > summary,
                .vcg-account {
                    width: 46px;
                    min-width: 46px;
                    height: 46px;
                    padding: 0;
                }

                .vcg-account span {
                    position: absolute;
                    width: 1px;
                    height: 1px;
                    overflow: hidden;
                    clip: rect(0 0 0 0);
                    white-space: nowrap;
                }

                .vcg-brand__image,
                .vcg-brand .custom-logo {
                    width: min(56vw, 205px);
                    max-width: 100%;
                    height: auto;
                }

                .vcg-footer__nav {
                    gap: 20px;
                }
            }

            /*
             * Por debajo de 980px la cabecera va en el flujo (no es fija), así
             * que no necesita reservar hueco para la barra de administración.
             */
            @media (max-width: 782px) {
                body.admin-bar .vcg-header {
                    top: 0;
                }
            }

            @media (prefers-reduced-motion: reduce) {
                .vcg-header *,
                .vcg-footer * {
                    scroll-behavior: auto !important;
                    transition-duration: .01ms !important;
                    animation-duration: .01ms !important;
                    animation-iteration-count: 1 !important;
                }
            }

            /* ==============================================================
               Pie azul marino de una pieza (.vcg-footer--marino).
               Marca, contacto y redes | sectores comprador y vendedor |
               Empresa | Legal + Condiciones. Barra final con el copyright y
               «Configurar cookies». Letras de la web (Oswald para títulos,
               Roboto Condensed para el texto). Va con #id para pisar las
               reglas anteriores del pie, también las del móvil.
               ============================================================== */
            #vcg-site-footer.vcg-footer--marino {
                padding: 44px 0 0;
                border-top: 0;
                background: #071d49;
                color: #c9d6ea;
            }
            #vcg-site-footer.vcg-footer--marino,
            #vcg-site-footer.vcg-footer--marino * {
                font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
                text-align: left;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__inner {
                grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
                /* Hueco de 40px entre la marca y el menú: con 1240px de ancho deja
                   920px al menú y la línea de «Vende los vehículos de tu empresa»
                   (unos 908px) cabe en un solo renglón. */
                gap: 36px clamp(28px, 3vw, 40px);
                padding-bottom: 36px;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__brand { gap: 12px; justify-items: start; }
            /* Logo en blanco sobre el azul marino. */
            #vcg-site-footer.vcg-footer--marino .vcg-brand--footer img {
                width: min(100%, 205px);
                height: auto;
                filter: brightness(0) invert(1);
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__about { margin: 0; color: #a9b9d3; font-size: 13.5px; line-height: 1.55; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__contact { display: grid; gap: 4px; margin: 2px 0 0; padding: 0; list-style: none; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__contact a { color: #fff; font-size: 14px; font-weight: 700; text-decoration: none !important; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__contact a:hover { color: #8fbaff; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__contact-label {
                display: inline-block;
                min-width: 66px;
                color: #8fa3c4;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: .08em;
                text-transform: uppercase;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__socials { justify-content: flex-start; margin-top: 6px; }
            /* Redes: círculos del mismo azul, sin sombra; al pasar, el color de cada red. */
            #vcg-site-footer.vcg-footer--marino .vcg-social-link,
            #vcg-site-footer.vcg-footer--marino .vcg-social-link:visited { width: 34px; height: 34px; background: #123171; box-shadow: none; }
            #vcg-site-footer.vcg-footer--marino .vcg-social-link--instagram:hover { background: radial-gradient(circle at 28% 105%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 100%); }
            #vcg-site-footer.vcg-footer--marino .vcg-social-link--facebook:hover { background: #1877f2; }
            #vcg-site-footer.vcg-footer--marino .vcg-social-link--tiktok:hover { background: #010101; }
            #vcg-site-footer.vcg-footer--marino .vcg-social-link--linkedin:hover { background: #0a66c2; }
            /* Enlaces en dos filas: arriba Empresa, Legal y Condiciones (3 columnas);
               debajo, separados por una raya, los dos grupos de sectores en una sola
               columna: una línea por grupo («Título: enlace, enlace…»). */
            #vcg-site-footer.vcg-footer--marino .vcg-footer__nav {
                grid-column: 2;
                justify-self: stretch;
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                gap: 26px;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__row { display: grid; gap: 26px clamp(20px, 3vw, 40px); }
            /* 4 columnas iguales: Empresa, Legal y Condiciones en las 3 primeras; la 4.ª queda libre. */
            #vcg-site-footer.vcg-footer--marino .vcg-footer__row--principal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__row--sectores {
                grid-template-columns: minmax(0, 1fr);
                gap: 8px;
                padding-top: 22px;
                border-top: 1px solid #1b3570;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__sector-line { margin: 0; color: #8fa3c4; font-size: 13.5px; line-height: 1.6; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__sector-title {
                margin-right: 2px;
                color: #fff;
                font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
                font-size: 15px;
                font-weight: 500;
                letter-spacing: .01em;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__sector-line a { color: #c9d6ea; text-decoration: none !important; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__sector-line a:hover,
            #vcg-site-footer.vcg-footer--marino .vcg-footer__sector-line a:focus-visible { color: #fff; text-decoration: underline !important; text-underline-offset: 2px; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__title {
                margin: 0 0 10px;
                color: #fff;
                font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
                font-size: 15px;
                font-weight: 500;
                letter-spacing: .01em;
                line-height: 1.25;
                text-transform: none;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__links { gap: 6px; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__links a { color: #c9d6ea; font-size: 13.5px; line-height: 1.4; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__links a:hover,
            #vcg-site-footer.vcg-footer--marino .vcg-footer__links a:focus-visible { color: #fff; text-decoration: underline !important; text-underline-offset: 2px; }
            #vcg-site-footer.vcg-footer--marino a:focus-visible { outline-color: rgba(143, 186, 255, .6); }
            /* Barra final. */
            #vcg-site-footer.vcg-footer--marino .vcg-footer__bottom { border-top: 1px solid #1b3570; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__copyright { margin: 0; color: #8fa3c4; font-size: 12.5px; line-height: 1.45; }
            /* «Configurar cookies»: enlace discreto (el plugin da estilo de botón a .vcc-open-settings con !important). */
            #vcg-site-footer.vcg-footer--marino .vcg-footer__cookies.vcc-open-settings {
                display: inline !important;
                padding: 0 !important;
                border: 0 !important;
                background: none !important;
                color: #fff !important;
                font: 700 12.5px/1.45 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important;
                text-decoration: underline !important;
                text-underline-offset: 2px;
                cursor: pointer;
            }
            #vcg-site-footer.vcg-footer--marino .vcg-footer__cookies.vcc-open-settings:hover { background: none !important; color: #8fbaff !important; }
            /* El botón suelto del plugin bajo el pie sobra: ya está en la barra final. */
            html.vcg-footer-ready .vcc-footer-controls { display: none !important; }

            @media (max-width: 1100px) {
                #vcg-site-footer.vcg-footer--marino .vcg-footer__inner { grid-template-columns: minmax(0, 1fr); }
                #vcg-site-footer.vcg-footer--marino .vcg-footer__nav { grid-column: 1; }
            }
            @media (max-width: 760px) {
                /* Sin sitio para la columna libre: las 3 columnas ocupan todo el ancho. */
                #vcg-site-footer.vcg-footer--marino .vcg-footer__row--principal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
                #vcg-site-footer.vcg-footer--marino { padding-top: 32px; }
                #vcg-site-footer.vcg-footer--marino .vcg-footer__inner { padding-bottom: 28px; }
            }
            @media (max-width: 560px) {
                #vcg-site-footer.vcg-footer--marino .vcg-footer__row--principal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
                #vcg-site-footer.vcg-footer--marino .vcg-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
            }

            /* ==============================================================
               Cabecera superior a ancho completo en TODAS las secciones.
               Reutiliza la composición de la página de Inicio (logotipo a la
               izquierda, navegación centrada y acciones a la derecha) pero
               deja que la barra ocupe el 100% del ancho de la pantalla, sin
               tope de 1240px ni de 1840px. Se usa !important en las medidas
               porque las plantillas (por ejemplo Inicio) imprimen su propio
               CSS después de este bloque.
               ============================================================== */
            #vcg-site-header {
                --vcg-shell: 100%;
            }

            /*
             * Misma tipografía del menú que en Inicio (Barlow). La fuente se
             * carga para todo el sitio desde vcg_print_global_fonts(); si no
             * llegara a cargarse, la pila de reserva mantiene el aspecto.
             */
            #vcg-site-header,
            #vcg-site-header button,
            #vcg-site-header input,
            #vcg-site-header select,
            #vcg-site-header textarea {
                font-family: "Barlow", "Avenir Next", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            }

            /*
             * La barra (fondo y borde) sigue ocupando todo el ancho, pero su
             * contenido se centra en la misma columna de 1240 px que usan las
             * secciones de la web. En móvil se mantiene el ajuste de más abajo.
             */
            #vcg-site-header .vcg-shell,
            #vcg-site-header .vcg-header__inner {
                width: min(calc(100% - 32px), 1240px) !important;
                max-width: 1240px !important;
                margin-inline: auto !important;
                padding-inline: 0 !important;
            }

            #vcg-site-header .vcg-header__inner {
                grid-template-columns: minmax(238px, 292px) minmax(0, 1fr) auto;
                gap: clamp(14px, 1.75vw, 32px);
            }

            #vcg-site-header .vcg-brand {
                justify-self: start;
                justify-content: flex-start;
                margin-left: 0;
            }

            #vcg-site-header .vcg-brand__image,
            #vcg-site-header .vcg-brand .custom-logo {
                width: min(100%, 215px);
            }

            #vcg-site-header .vcg-desktop-nav {
                gap: clamp(11px, 1.2vw, 22px);
            }

            #vcg-site-header .vcg-desktop-nav a {
                font-size: 15px;
                font-weight: 700;
            }

            #vcg-site-header .vcg-header-actions {
                justify-self: end;
                margin-right: 0;
                margin-left: auto;
            }

            @media (max-width: 1320px) and (min-width: 1081px) {
                #vcg-site-header .vcg-header__inner {
                    grid-template-columns: minmax(210px, 238px) minmax(0, 1fr) auto;
                    gap: 12px;
                }

                #vcg-site-header .vcg-desktop-nav {
                    gap: 11px;
                }

                #vcg-site-header .vcg-desktop-nav a {
                    font-size: 15px;
                }
            }

            /* Móvil: menú, logotipo centrado y cuenta, también a ancho completo. */
            @media (max-width: 980px) {
                #vcg-site-header .vcg-shell,
                #vcg-site-header .vcg-header__inner {
                    width: 100% !important;
                    max-width: none !important;
                    margin-inline: 0 !important;
                    padding-inline: 12px !important;
                }

                #vcg-site-header .vcg-header__inner {
                    grid-template-columns: 48px minmax(0, 1fr) auto;
                    gap: 10px;
                }

                #vcg-site-header .vcg-brand {
                    justify-self: center;
                    justify-content: center;
                    margin-left: 0;
                }

                #vcg-site-header .vcg-brand__image,
                #vcg-site-header .vcg-brand .custom-logo {
                    width: min(52vw, 224px);
                    max-width: 100%;
                    height: auto;
                }
            }

            @media (max-width: 430px) {
                #vcg-site-header .vcg-shell,
                #vcg-site-header .vcg-header__inner {
                    padding-inline: 10px !important;
                }

                #vcg-site-header .vcg-header__inner {
                    grid-template-columns: 46px minmax(0, 1fr) 46px;
                    gap: 7px;
                }

                #vcg-site-header .vcg-brand__image,
                #vcg-site-header .vcg-brand .custom-logo {
                    width: min(56vw, 205px);
                }
            }

            /*
             * Cabecera más compacta solo en móvil: el logotipo, el botón de
             * menú y el de cuenta bajan de tamaño para que la barra pese menos
             * sobre el contenido. En escritorio se queda como estaba. Va al
             * final del bloque para ganar a los ajustes por anchura de arriba.
             */
            @media (max-width: 980px) {
                /*
                 * También en #vcg-site-header: allí se fija su propia altura
                 * de 84px, que si no ganaría a la del body.
                 */
                body.vcg-global-shell-active,
                body.vcg-global-shell-active #vcg-site-header {
                    --vcg-header-height: 56px;
                }

                #vcg-site-header .vcg-header__inner {
                    grid-template-columns: 40px minmax(0, 1fr) auto;
                }

                #vcg-site-header .vcg-mobile-menu,
                #vcg-site-header .vcg-mobile-menu > summary {
                    width: 40px;
                    height: 40px;
                }

                #vcg-site-header .vcg-mobile-menu > summary {
                    border-radius: 0;
                }

                #vcg-site-header .vcg-brand__image,
                #vcg-site-header .vcg-brand .custom-logo {
                    width: min(36vw, 140px);
                }

                /* En móvil sin márgenes laterales: pegado a su columna del grid. */
                #vcg-site-header .vcg-header-actions {
                    min-width: 40px;
                    margin-right: 0;
                    margin-left: 0;
                }

                #vcg-site-header .vcg-header-actions .vcg-account {
                    min-width: 40px;
                    min-height: 40px;
                    height: 40px;
                    padding: 0 11px;
                    border-radius: 0;
                    font-size: 12px;
                    gap: 7px;
                }

                #vcg-site-header .vcg-header-actions .vcg-icon {
                    width: 17px;
                    height: 17px;
                }
            }

            @media (max-width: 430px) {
                #vcg-site-header .vcg-header__inner {
                    grid-template-columns: 40px minmax(0, 1fr) 40px;
                }

                #vcg-site-header .vcg-brand__image,
                #vcg-site-header .vcg-brand .custom-logo {
                    width: min(36vw, 128px);
                }
            }

            /*
             * Móvil con sesión de profesional: en lugar del botón de la
             * persona, el nombre de la empresa abre el menú privado,
             * alineado a la derecha bajo la cabecera. En escritorio no cambia.
             */
            .vcg-account-menu {
                display: none;
            }

            @media (max-width: 980px) {
                #vcg-site-header.vcg-header--private .vcg-header__inner {
                    grid-template-columns: 40px minmax(0, 1fr) auto;
                }

                #vcg-site-header .vcg-header-actions .vcg-account--desktop {
                    display: none;
                }

                #vcg-site-header .vcg-account-menu {
                    position: relative;
                    display: block;
                }

                /* Mismo aspecto que el botón de la persona de siempre. */
                #vcg-site-header .vcg-account-menu__toggle {
                    display: inline-flex;
                    width: 40px;
                    height: 40px;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid rgba(8, 97, 232, .42);
                    background: #fff;
                    box-shadow: 0 0 0 4px rgba(8, 97, 232, .09);
                    color: var(--vcg-navy);
                    list-style: none;
                    cursor: pointer;
                    -webkit-tap-highlight-color: transparent;
                }

                #vcg-site-header .vcg-account-menu__toggle::-webkit-details-marker {
                    display: none;
                }

                #vcg-site-header .vcg-account-menu__toggle .vcg-icon {
                    width: 17px;
                    height: 17px;
                }

                #vcg-site-header .vcg-account-menu[open] .vcg-account-menu__toggle {
                    border-color: var(--vcg-blue);
                    background: var(--vcg-blue-soft);
                    color: var(--vcg-blue);
                }

                /* Persona de contacto y empresa, encima de los apartados. */
                /* Enlace a Mi cuenta: más específico que los enlaces de las secciones. */
                #vcg-site-header .vcg-account-menu__panel a.vcg-account-menu__who {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    text-align: left;
                    gap: 2px;
                    margin-bottom: 6px;
                    padding: 8px 16px 12px;
                    border-bottom: 1px solid #e6edf7;
                }

                #vcg-site-header .vcg-account-menu__who strong {
                    color: var(--vcg-navy);
                    font-size: 15px;
                    font-weight: 800;
                    line-height: 1.25;
                }

                #vcg-site-header .vcg-account-menu__who span {
                    color: #5f6b7e;
                    font-size: 13px;
                    font-weight: 600;
                    line-height: 1.3;
                    overflow-wrap: anywhere;
                }

                #vcg-site-header .vcg-account-menu__panel {
                    position: absolute;
                    top: calc(100% + 8px);
                    right: 0;
                    z-index: 1000;
                    display: flex;
                    flex-direction: column;
                    align-items: stretch;
                    text-align: left;
                    width: 240px;
                    max-width: calc(100vw - 16px);
                    max-height: calc(100vh - 140px);
                    overflow-y: auto;
                    padding: 6px 0;
                    border: 1px solid #dfe5ee;
                    background: #fff;
                    box-shadow: 0 14px 34px rgba(10, 30, 70, .16);
                }

                #vcg-site-header .vcg-account-menu__panel a {
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    text-align: left;
                    gap: 10px;
                    padding: 7px 16px;
                    color: var(--vcg-navy);
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 1.25;
                    text-decoration: none !important;
                }

                /* Gana a «.vcg-header * { text-align: center }» del móvil, que va elemento a elemento. */
                #vcg-site-header .vcg-account-menu__panel,
                #vcg-site-header .vcg-account-menu__panel * {
                    text-align: left;
                }

                #vcg-site-header .vcg-account-menu__panel a svg {
                    flex: 0 0 auto;
                    width: 18px;
                    height: 18px;
                    fill: none;
                    stroke: currentColor;
                    stroke-width: 1.8;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                }

                #vcg-site-header .vcg-account-menu__label {
                    flex: 1 1 auto;
                    min-width: 0;
                }

                /* Grupos (Actividad, Cuenta, Ayuda), como en la app. */
                #vcg-site-header .vcg-account-menu__group {
                    display: block;
                    padding: 8px 16px 3px;
                    color: #8a96a8;
                    font-size: 11px;
                    font-weight: 700;
                    letter-spacing: .06em;
                    text-transform: uppercase;
                }

                #vcg-site-header .vcg-account-menu__panel a:hover,
                #vcg-site-header .vcg-account-menu__panel a:focus-visible,
                #vcg-site-header .vcg-account-menu__panel a.is-current {
                    background: var(--vcg-blue-soft);
                    color: var(--vcg-blue);
                }

                #vcg-site-header .vcg-account-menu__panel a.vcg-account-menu__logout {
                    margin-top: 6px;
                    border-top: 1px solid #e6edf7;
                    color: #9f2d24;
                }

                #vcg-site-header .vcg-account-menu__badge {
                    min-width: 18px;
                    height: 18px;
                    padding: 0 5px;
                    border-radius: 9px;
                    background: #d92d20;
                    color: #fff;
                    font-size: 11px;
                    font-weight: 800;
                    line-height: 18px;
                    text-align: center;
                }
            }

