/*
Theme Name: Sellex Pro Custom
Author: Tu Nombre
Description: Web de alta gama para Sellex desarrollada con IA y Tailwind CSS.
Version: 1.0
Text Domain: sellex-pro
*/

/**
 * Tipografías (autohospedadas en assets/fonts/)
 *
 * Coloca tus archivos con licencia en esta carpeta. Nombres esperados:
 * - Avenir-Medium.woff2 (títulos; opcional: Avenir-Black.woff2 para negritas fuertes)
 * - RedondaVF-Test.woff2 (variable; texto corrido)
 *
 * Si faltan los .woff2, el navegador usará los fallbacks (Avenir Next en macOS, system-ui).
 */

@font-face {
    font-family: 'Avenir';
    src:
        local('Avenir Medium'),
        local('Avenir-Medium'),
        local('Avenir Next Medium'),
        url('assets/fonts/Avenir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src:
        local('Avenir Black'),
        local('Avenir-Black'),
        local('Avenir Next Condensed Demi Bold'),
        url('assets/fonts/Avenir-Black.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Redonda VF Test';
    src: url('assets/fonts/RedondaVF-Test.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --sellex-soft: #cecccc;
    --sellex-white: #ffffff;
    --sellex-brand: #152023;
    --sellex-brand-deep: #0e1619;
    --sellex-wa-accent: #4ab87a;
    --sellex-wa-accent-deep: #3a9d66;
    --sellex-wa-accent-bright: #5fd492;
    --sellex-font-heading: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sellex-font-body: 'Redonda VF Test', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Misma imagen que .sellex-hero::before — header de portada la reutiliza */
    --sellex-hero-bg-img: url('assets/images/portada.png');
    /* Superficies y texto (modo claro; oscuro en [data-theme="dark"]) */
    --sellex-bg: #f9fafb;
    --sellex-bg-body: #ffffff;
    --sellex-text: #1f2937;
    --sellex-text-heading: #111827;
    --sellex-text-muted: #4b5563;
    --sellex-text-muted-2: #6b7280;
    --sellex-surface: #ffffff;
    --sellex-surface-subtle: #fcfcfc;
    --sellex-surface-muted: #f3f4f6;
    --sellex-surface-hover: #f8fafb;
    --sellex-border: rgba(206, 204, 204, 0.55);
    --sellex-border-subtle: rgba(21, 32, 35, 0.08);
    --sellex-border-medium: rgba(21, 32, 35, 0.12);
    --sellex-border-strong: rgba(21, 32, 35, 0.18);
    --sellex-shadow: rgba(21, 32, 35, 0.08);
    --sellex-shadow-strong: rgba(21, 32, 35, 0.12);
    --sellex-inset-highlight: rgba(255, 255, 255, 0.9);
    --sellex-accent-surface: #f7f8f8;
    --sellex-amber-bg: rgba(255, 251, 235, 0.5);
    --sellex-amber-border: #fef3c7;
    --sellex-eyebrow-bg: rgba(21, 32, 35, 0.06);
    --sellex-eyebrow-text: var(--sellex-brand);
    --sellex-eyebrow-dot: var(--sellex-brand);
    color-scheme: light;
}

html {
    font-family: var(--sellex-font-body);
}

body {
    background-color: var(--sellex-bg);
    color: var(--sellex-text);
    letter-spacing: 0.01em;
    font-family: var(--sellex-font-body);
}

/**
 * Titulos: Avenir. h1/h2 deben ganar a Tailwind font-sans del body o utilidades.
 */
h3,
h4,
h5,
h6,
.sellex-font-heading {
    font-family: var(--sellex-font-heading);
    font-weight: 600;
}

h1,
h2 {
    font-family: var(--sellex-font-heading) !important;
    font-weight: 600;
}

h1.font-sans,
h2.font-sans,
h1.font-heading,
h2.font-heading {
    font-family: var(--sellex-font-heading) !important;
}

h1 {
    font-weight: 700;
}

.sellex-site-logo,
.sellex-footer-logo {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.sellex-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0);
    color: var(--sellex-white);
    /* Cristal oscuro: capa semitransparente + desenfoque del contenido bajo el header */
    background-color: rgba(21, 32, 35, 0.42);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.02) 38%,
        transparent 72%
    );
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    border-bottom: none;
    /* Separación muy suave respecto al contenido (sin línea dura) */
    box-shadow: 0 6px 24px rgba(21, 32, 35, 0.045);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .sellex-header {
        background-color: transparent;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
            linear-gradient(165deg, rgba(21, 32, 35, 0.94) 0%, var(--sellex-brand) 100%);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .sellex-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(21, 32, 35, 0.96);
        background-image: linear-gradient(165deg, rgba(21, 32, 35, 0.98) 0%, var(--sellex-brand) 100%);
    }
}

/**
 * Portada: barra transparente sobre el hero; al scroll, .sellex-header--scrolled (JS).
 * Resto de páginas: misma barra fija con cristal (estilos base de .sellex-header).
 */
.sellex-front-hero .sellex-header {
    background-color: transparent;
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition:
        background-color 0.28s ease,
        box-shadow 0.28s ease,
        backdrop-filter 0.28s ease;
}

body.sellex-front-hero .sellex-header.sellex-header--scrolled {
    background-color: rgba(21, 32, 35, 0.92);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}

body.sellex-front-hero .sellex-header:not(.sellex-header--scrolled) .sellex-header-nav .sellex-header-menu > li > a {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 2px 14px rgba(0, 0, 0, 0.35);
}

body.sellex-front-hero .sellex-header:not(.sellex-header--scrolled) .sellex-site-logo {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

body.sellex-front-hero .sellex-header:not(.sellex-header--scrolled) .sellex-nav-toggle {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

@media (prefers-reduced-transparency: reduce) {
    body.sellex-front-hero .sellex-header.sellex-header--scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(21, 32, 35, 0.97);
    }
}

body.admin-bar .sellex-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .sellex-header {
        top: 46px;
    }
}

/**
 * Contenido bajo el header fijo (todas las páginas excepto portada, que usa el hero a pantalla completa).
 */
body:not(.sellex-front-hero) main.container {
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.4rem);
}

body.admin-bar:not(.sellex-front-hero) main.container {
    padding-top: calc(32px + env(safe-area-inset-top, 0px) + 4.4rem);
}

@media screen and (max-width: 782px) {
    body.admin-bar:not(.sellex-front-hero) main.container {
        padding-top: calc(46px + env(safe-area-inset-top, 0px) + 4.4rem);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-header {
        transition: box-shadow 0.2s ease;
    }
}

body.sellex-nav-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    body.sellex-nav-open {
        overflow: auto;
    }
}

.sellex-header-accent {
    display: none;
}

/**
 * Barra del header: logo, nav y WhatsApp alineados al centro en el eje vertical (misma fila).
 */
.sellex-header-toolbar {
    align-items: center;
}

/** Todas las vistas: columna derecha (menú / WhatsApp / hamburguesa) pinta sobre el logo si hay solape. */
.sellex-header-toolbar > div:last-child {
    position: relative;
    z-index: 2;
}

.sellex-header-toolbar > div:first-child {
    position: relative;
    z-index: 0;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .sellex-header-toolbar {
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .sellex-header-nav {
        display: flex;
        align-items: center;
        margin-inline: 0.75rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .sellex-header-nav {
        margin-inline: 1rem 1.5rem;
    }
}

.sellex-header-nav .sellex-header-menu {
    row-gap: 0.35rem;
}

@media (min-width: 768px) {
    .sellex-header-nav .sellex-header-menu {
        align-items: center;
    }
}

.sellex-header-nav .sellex-header-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-family: var(--sellex-font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.68);
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sellex-header-nav .sellex-header-menu > li > a:hover {
    color: var(--sellex-white);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.sellex-header-nav .sellex-header-menu > li.current-menu-item > a,
.sellex-header-nav .sellex-header-menu > li.current_page_item > a {
    color: var(--sellex-white);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(206, 204, 204, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sellex-header-nav .sellex-header-menu > li > a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

/**
 * Submenú "Información" (solo etiqueta): hover en escritorio, animación suave.
 */
.sellex-header-nav .sellex-header-menu > li.sellex-nav-dropdown {
    position: relative;
}

.sellex-header-nav .sellex-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.5rem 0.85rem;
    border: none;
    border-radius: 999px;
    font-family: var(--sellex-font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

@media (min-width: 768px) {
    .sellex-header-nav .sellex-header-menu > li > a,
    .sellex-header-nav .sellex-dropdown-trigger {
        padding-top: 0.58rem;
        padding-bottom: 0.4rem;
    }
}

@media (min-width: 1024px) {
    .sellex-header-nav .sellex-header-menu > li > a,
    .sellex-header-nav .sellex-dropdown-trigger {
        padding: 0.62rem 1rem 0.48rem;
    }
}

.sellex-header-nav .sellex-dropdown-trigger:hover,
.sellex-header-nav li.sellex-nav-dropdown:hover > .sellex-dropdown-trigger {
    color: var(--sellex-white);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.sellex-header-nav .sellex-dropdown-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.sellex-dropdown-chevron {
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
    opacity: 0.85;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.sellex-header-nav li.sellex-nav-dropdown:hover > .sellex-dropdown-trigger .sellex-dropdown-chevron,
.sellex-header-nav li.sellex-nav-dropdown:focus-within > .sellex-dropdown-trigger .sellex-dropdown-chevron {
    transform: rotate(225deg);
}

.sellex-header-nav .sellex-nav-submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    z-index: 60;
    display: block;
    min-width: 14.5rem;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    border-radius: 0.875rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        linear-gradient(165deg, rgba(21, 32, 35, 0.98) 0%, rgba(14, 22, 25, 0.99) 100%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top left;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    .sellex-header-nav .sellex-nav-submenu {
        transition: opacity 0.15s ease, visibility 0.15s ease;
        transform: none;
    }
}

.sellex-header-nav li.sellex-nav-dropdown:hover > .sellex-nav-submenu,
.sellex-header-nav li.sellex-nav-dropdown:focus-within > .sellex-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sellex-header-nav .sellex-nav-submenu > li {
    margin: 0;
}

.sellex-header-nav .sellex-nav-submenu > li > a {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    font-family: var(--sellex-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.sellex-header-nav .sellex-nav-submenu > li > a:hover,
.sellex-header-nav .sellex-nav-submenu > li > a:focus-visible {
    color: var(--sellex-white);
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: none;
}

.sellex-header-nav .sellex-nav-submenu > li.current-menu-item > a {
    color: var(--sellex-white);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(206, 204, 204, 0.25);
}

/**
 * Menú móvil — drawer desde la izquierda (~94% ancho), backdrop a la derecha; header del sitio sigue encima (z-index mayor).
 */
.sellex-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
}

.sellex-mobile-overlay.hidden {
    display: none;
}

.sellex-mobile-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: pointer;
    background-color: rgba(14, 18, 22, 0.5);
    backdrop-filter: blur(5px) saturate(1.05);
    -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

@media (prefers-reduced-transparency: reduce) {
    .sellex-mobile-backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(14, 18, 22, 0.72);
    }
}

.sellex-mobile-sheet {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    width: min(94vw, 26rem);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: max(0.75rem, env(safe-area-inset-left, 0));
    padding-right: 1rem;
    /*
     * El header fijo (z-index 50) queda sobre el overlay (45): sin este margen interno,
     * el borde superior del drawer queda detrás del logo/banda del header.
     */
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.35rem);
    border-radius: 0 1.125rem 1.125rem 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
        linear-gradient(165deg, rgba(21, 32, 35, 0.97) 0%, rgba(14, 22, 25, 0.99) 100%);
    box-shadow:
        12px 0 40px rgba(0, 0, 0, 0.35),
        inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

body.admin-bar .sellex-mobile-sheet {
    padding-top: calc(32px + env(safe-area-inset-top, 0px) + 4.35rem);
}

@media screen and (max-width: 782px) {
    body.admin-bar .sellex-mobile-sheet {
        padding-top: calc(46px + env(safe-area-inset-top, 0px) + 4.35rem);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-mobile-overlay:not(.hidden) {
        animation: sellex-mobile-overlay-in 0.26s ease-out;
    }

    .sellex-mobile-overlay:not(.hidden) .sellex-mobile-sheet {
        animation: sellex-mobile-sheet-slide-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sellex-mobile-overlay:not(.hidden) .sellex-mobile-sheet {
        transform: translateX(0);
    }
}

@keyframes sellex-mobile-overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes sellex-mobile-sheet-slide-in {
    from {
        opacity: 0.92;
        transform: translateX(-104%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sellex-mobile-sheet-head {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.625rem;
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sellex-mobile-sheet-title {
    font-family: var(--sellex-font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.72);
}

.sellex-mobile-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -0.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.sellex-mobile-sheet-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.sellex-mobile-sheet-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.sellex-mobile-sheet-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 1rem;
    padding-right: 0.25rem;
}

.sellex-mobile-overlay .sellex-header-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem 1rem 0.75rem 0.875rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--sellex-font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.82);
    background-color: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sellex-mobile-overlay .sellex-header-menu > li > a::before {
    content: '';
    flex-shrink: 0;
    width: 3px;
    height: 1.25rem;
    margin-right: 0.75rem;
    border-radius: 999px;
    background-color: rgba(206, 204, 204, 0.35);
    opacity: 0.35;
    transition:
        opacity 0.2s ease,
        background-color 0.2s ease;
}

.sellex-mobile-overlay .sellex-header-menu > li > a:hover {
    color: var(--sellex-white);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.sellex-mobile-overlay .sellex-header-menu > li > a:hover::before {
    opacity: 0.85;
    background-color: rgba(206, 204, 204, 0.75);
}

.sellex-mobile-overlay .sellex-header-menu > li.current-menu-item > a,
.sellex-mobile-overlay .sellex-header-menu > li.current_page_item > a {
    color: var(--sellex-white);
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(206, 204, 204, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.2);
}

.sellex-mobile-overlay .sellex-header-menu > li.current-menu-item > a::before,
.sellex-mobile-overlay .sellex-header-menu > li.current_page_item > a::before {
    opacity: 1;
    background-color: var(--sellex-soft);
    box-shadow: 0 0 12px rgba(206, 204, 204, 0.45);
}

.sellex-mobile-overlay .sellex-header-menu > li > a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

/* Drawer: desplegable "Información" (tap para expandir) */
.sellex-mobile-overlay .sellex-nav-dropdown > .sellex-dropdown-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--sellex-font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    text-align: left;
    color: rgba(255, 255, 255, 0.92);
    background-color: rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.sellex-mobile-overlay .sellex-nav-dropdown > .sellex-dropdown-trigger:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.06);
}

.sellex-mobile-overlay .sellex-nav-dropdown > .sellex-dropdown-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.sellex-mobile-overlay .sellex-nav-dropdown > .sellex-dropdown-trigger .sellex-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.9;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.sellex-mobile-overlay .sellex-nav-dropdown.is-open > .sellex-dropdown-trigger .sellex-dropdown-chevron {
    transform: rotate(225deg);
}

.sellex-mobile-overlay .sellex-nav-submenu {
    display: none;
    margin: 0.5rem 0 0;
    padding: 0.35rem 0 0.35rem 0.85rem;
    list-style: none;
    border-left: 2px solid rgba(206, 204, 204, 0.35);
}

.sellex-mobile-overlay .sellex-nav-dropdown.is-open > .sellex-nav-submenu {
    display: block;
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-mobile-overlay .sellex-nav-dropdown.is-open > .sellex-nav-submenu {
        animation: sellex-mobile-submenu-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@keyframes sellex-mobile-submenu-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sellex-mobile-overlay .sellex-nav-submenu > li {
    margin: 0 0 0.5rem;
}

.sellex-mobile-overlay .sellex-nav-submenu > li:last-child {
    margin-bottom: 0;
}

.sellex-mobile-overlay .sellex-nav-submenu > li > a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.88);
    background-color: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.sellex-mobile-overlay .sellex-nav-submenu > li > a::before {
    display: none;
}

.sellex-mobile-overlay .sellex-nav-submenu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.sellex-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-radius: 9999px;
    color: var(--sellex-wa-accent-bright);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-btn-contact:active {
        transform: scale(0.96);
    }
}

.sellex-btn-contact:hover {
    color: #fff;
    background: rgba(74, 184, 122, 0.22);
    border-color: rgba(95, 212, 146, 0.5);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(95, 212, 146, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.sellex-btn-contact:focus-visible {
    outline: 2px solid rgba(95, 212, 146, 0.75);
    outline-offset: 2px;
}

.sellex-btn-contact-icon {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.sellex-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(206, 204, 204, 0.28);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sellex-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.sellex-nav-toggle.is-open {
    background: rgba(255, 255, 255, 0.14);
}

.sellex-nav-toggle-bars {
    position: relative;
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.sellex-nav-toggle-bars::before,
.sellex-nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
        transform 0.22s ease,
        top 0.22s ease;
}

.sellex-nav-toggle-bars::before {
    top: -6px;
}

.sellex-nav-toggle-bars::after {
    top: 6px;
}

.sellex-nav-toggle.is-open .sellex-nav-toggle-bars {
    background: transparent;
}

.sellex-nav-toggle.is-open .sellex-nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.sellex-nav-toggle.is-open .sellex-nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Menu movil abierto: ocultar la "X" del header y dejar solo la del panel lateral. */
body.sellex-nav-open .sellex-nav-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 768px) {
    body.sellex-nav-open .sellex-nav-toggle {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.sellex-footer {
    background:
        radial-gradient(1200px 420px at 8% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        linear-gradient(165deg, #132025 0%, #0d1518 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sellex-header .menu a,
.sellex-header nav a {
    text-decoration: none;
}

.sellex-footer a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.sellex-footer a:hover {
    color: #fff;
    opacity: 1;
}

/* Conmutador de idioma (footer) */
.sellex-lang-switch-track {
    display: inline-flex;
    align-items: stretch;
    border-radius: 9999px;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sellex-lang-switch-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.sellex-lang-switch-opt:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.sellex-lang-switch-opt.is-active {
    color: #152023;
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.sellex-lang-switch-opt:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.sellex-lang-switch-opt.is-active:focus-visible {
    outline-color: #152023;
}

/**
 * Hero inicio — pantalla completa, capas de imagen + overlay (referencia visual tipo showcase).
 */
.sellex-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--sellex-brand-deep);
}

/* YouTube como fondo: escala tipo cover, centrado (el velo diagonal deja legible el copy a la izquierda). */
.sellex-hero-media--youtube {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--sellex-brand-deep);
    background-image: var(--sellex-hero-bg-img);
    background-size: cover;
    background-position: center;
}

.sellex-hero-youtube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.77vh;
    min-height: 100vh;
    border: 0;
    transform: translate(-50%, -50%);
    filter: saturate(1.05) contrast(1.05);
}

/**
 * Con video de fondo, no superponer Ken Burns de imagen para evitar doble capa.
 */
.sellex-hero.sellex-hero--video-bg::before {
    display: none;
}

/**
 * Sube el hero para que quede detrás del header transparente; si no, el blur solo ve el fondo del body (gris).
 */
.sellex-hero::before {
    content: '';
    position: absolute;
    inset: -4%;
    z-index: 0;
    background-image: var(--sellex-hero-bg-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    transform: scale(1.04);
    transform-origin: center center;
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-hero::before {
        animation: sellex-hero-kenburns 42s ease-in-out infinite alternate;
    }
}

@keyframes sellex-hero-kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.sellex-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(14, 22, 25, 0.35) 0%, rgba(14, 22, 25, 0.12) 38%, rgba(14, 22, 25, 0.82) 100%),
        linear-gradient(
            125deg,
            rgba(21, 32, 35, 0.88) 0%,
            rgba(21, 32, 35, 0.35) 48%,
            rgba(21, 32, 35, 0.55) 100%
        );
}

/* Portada con video: menos velo a la derecha (auto) y más contraste hacia el panel de texto a la izquierda. */
.sellex-hero.sellex-hero--video-bg::after {
    background:
        linear-gradient(105deg, rgba(14, 22, 25, 0.9) 0%, rgba(14, 22, 25, 0.72) 24%, rgba(14, 22, 25, 0.06) 58%, transparent 100%),
        linear-gradient(180deg, rgba(14, 22, 25, 0.25) 0%, rgba(14, 22, 25, 0.06) 42%, rgba(14, 22, 25, 0.82) 100%);
}

.sellex-hero-inner {
    position: relative;
    z-index: 2;
    align-items: stretch;
    display: flex;
    flex-direction: column;
}

.sellex-hero-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    width: min(45rem, 100%);
    padding: clamp(1rem, 2.2vw, 2rem) clamp(1.1rem, 2.4vw, 2.4rem)
        clamp(2.75rem, 5vh, 3.75rem);
    box-sizing: border-box;
    /* Bordes rectos; sin línea superior para fundirse con el borde del viewport / header */
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top: none;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    background: linear-gradient(160deg, rgba(18, 29, 33, 0.56), rgba(18, 29, 33, 0.26));
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

@media (min-width: 768px) {
    /** Panel de copy: dos líneas verticales iguales (marco respecto al video y al margen). */
    .sellex-hero.sellex-hero--video-bg .sellex-hero-copy {
        border-left: 1px solid rgba(255, 255, 255, 0.22);
        border-right: 1px solid rgba(255, 255, 255, 0.22);
    }
}

/**
 * Portada: el panel de vidrio llega al borde superior del hero (incluye la banda del header);
 * el contenido se despeja con padding-top acorde al header fijo (z-index por encima).
 */
body.sellex-front-hero .sellex-hero-copy {
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.4rem);
}

body.admin-bar.sellex-front-hero .sellex-hero-copy {
    padding-top: calc(32px + env(safe-area-inset-top, 0px) + 4.4rem);
}

@media screen and (max-width: 782px) {
    body.admin-bar.sellex-front-hero .sellex-hero-copy {
        padding-top: calc(46px + env(safe-area-inset-top, 0px) + 4.4rem);
    }
}

@media (max-width: 767px) {
    .sellex-hero-inner {
        align-items: stretch;
    }

    .sellex-hero-copy {
        flex: 0 1 auto;
        width: 100%;
        border-right: 1px solid rgba(255, 255, 255, 0.22);
        border-top: none;
        border-radius: 0;
        text-align: left;
    }

    body.sellex-front-hero .sellex-hero-copy {
        padding-top: calc(env(safe-area-inset-top, 0px) + 5rem);
    }

    body.admin-bar.sellex-front-hero .sellex-hero-copy {
        padding-top: calc(46px + env(safe-area-inset-top, 0px) + 5rem);
    }
}

.sellex-hero-headline {
    font-family: var(--sellex-font-heading);
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.35),
        0 12px 48px rgba(0, 0, 0, 0.45);
}

.sellex-hero-headline .block {
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.sellex-hero-lead {
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
    text-wrap: pretty;
}

.sellex-hero--impact .sellex-hero-cta-primary {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.sellex-hero--impact .sellex-hero-cta-secondary {
    backdrop-filter: blur(8px);
}

.sellex-btn-brand {
    background: linear-gradient(135deg, var(--sellex-brand) 0%, #1d2d32 100%);
    color: var(--sellex-white);
    box-shadow:
        0 10px 24px rgba(13, 21, 24, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(13, 21, 24, 0.35);
}

.sellex-btn-brand:hover {
    background: linear-gradient(135deg, #0f181c 0%, #152328 100%);
    box-shadow:
        0 14px 30px rgba(13, 21, 24, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.sellex-btn-brand:focus-visible {
    outline: 2px solid rgba(21, 32, 35, 0.35);
    outline-offset: 2px;
}

/**
 * Botones WhatsApp — gradiente de marca + acento verde discreto en el icono.
 */
.sellex-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.85rem;
    font-family: var(--sellex-font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    color: var(--sellex-white);
    background: linear-gradient(135deg, var(--sellex-brand) 0%, #1d2d32 100%);
    border: 1px solid rgba(13, 21, 24, 0.35);
    box-shadow:
        0 10px 24px rgba(13, 21, 24, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.sellex-btn-wa:hover {
    color: var(--sellex-white);
    background: linear-gradient(135deg, var(--sellex-brand-deep) 0%, #152328 100%);
    box-shadow:
        0 14px 30px rgba(13, 21, 24, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-btn-wa:hover {
        transform: translateY(-1px);
    }
}

.sellex-btn-wa:focus-visible {
    outline: 2px solid rgba(74, 184, 122, 0.55);
    outline-offset: 2px;
}

.sellex-btn-wa-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--sellex-wa-accent-bright);
    filter: drop-shadow(0 0 8px rgba(74, 184, 122, 0.35));
}

.sellex-btn-wa--block {
    width: 100%;
}

@media (min-width: 640px) {
    .sellex-btn-wa--block-sm-auto {
        width: auto;
    }
}

.sellex-btn-wa--lg {
    min-height: 3rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.85rem;
}

.sellex-btn-wa--compact {
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
}

.sellex-btn-wa--on-dark,
.sellex-btn-wa--inverse {
    color: var(--sellex-brand);
    background: var(--sellex-white);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.sellex-btn-wa--on-dark:hover,
.sellex-btn-wa--inverse:hover {
    color: var(--sellex-brand-deep);
    background: #f7f8f8;
    border-color: #fff;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.sellex-btn-wa--on-dark .sellex-btn-wa-icon,
.sellex-btn-wa--inverse .sellex-btn-wa-icon {
    color: var(--sellex-wa-accent-deep);
    filter: none;
}

.sellex-btn-wa--outline {
    color: var(--sellex-brand);
    background: #fff;
    border: 1px solid rgba(21, 32, 35, 0.18);
    box-shadow: 0 4px 14px rgba(21, 32, 35, 0.06);
}

.sellex-btn-wa--outline:hover {
    color: var(--sellex-brand);
    background: rgba(21, 32, 35, 0.04);
    border-color: var(--sellex-brand);
    box-shadow: 0 8px 20px rgba(21, 32, 35, 0.1);
}

.sellex-btn-wa--outline .sellex-btn-wa-icon {
    color: var(--sellex-wa-accent);
    filter: none;
}

.sellex-about-final-cta--wa {
    border-color: rgba(21, 32, 35, 0.18);
}

.sellex-about-final-cta--wa .sellex-btn-wa-icon {
    width: 1rem;
    height: 1rem;
    color: var(--sellex-wa-accent);
    filter: none;
}

.sellex-about-final-cta--wa:hover {
    border-color: rgba(74, 184, 122, 0.45);
    background: rgba(74, 184, 122, 0.06);
}

/* Rediseño global (sin afectar hero): superficies, tarjetas y lectura. */
body:not(.sellex-front-hero) .sellex-page-content,
body:not(.sellex-front-hero) .sellex-page-faq > div > div,
body:not(.sellex-front-hero) .sellex-page-generic > div > div {
    border-color: var(--sellex-border);
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow: 0 10px 32px var(--sellex-shadow);
}

article.rounded-2xl.bg-white.shadow-sm,
article.rounded-3xl.border.border-gray-200.bg-white.shadow-sm {
    border: 1px solid var(--sellex-border);
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 12px 32px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

article.rounded-2xl.bg-white.shadow-sm:hover,
article.rounded-3xl.border.border-gray-200.bg-white.shadow-sm:hover {
    box-shadow:
        0 18px 44px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    margin: 0 0.2rem;
    padding: 0 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(206, 204, 204, 0.65);
    background: #fff;
    color: #334155;
    font-family: var(--sellex-font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers:hover {
    border-color: rgba(21, 32, 35, 0.42);
    color: #152023;
    background: #f8fafb;
}

.page-numbers.current {
    border-color: #152023;
    background: linear-gradient(135deg, #152023 0%, #1d2d32 100%);
    color: #fff;
}

.sellex-soft-bg {
    background-color: var(--sellex-soft);
}

.sellex-soft-border {
    border-color: var(--sellex-soft);
}

.menu a {
    transition: color 0.25s ease;
}

.menu a:hover,
.menu .current-menu-item > a {
    color: var(--sellex-white);
}

/* Ficha técnica — single auto */
.sellex-ficha-title {
    font-family: var(--sellex-font-heading);
}

.sellex-ficha-grid {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--sellex-border-medium);
    background-color: var(--sellex-surface);
}

.sellex-ficha-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sellex-border-subtle);
}

.sellex-ficha-row:nth-child(odd) {
    background-color: var(--sellex-surface);
}

.sellex-ficha-row:nth-child(even) {
    background-color: var(--sellex-surface-muted);
}

@media (min-width: 768px) {
    .sellex-ficha-row {
        grid-template-columns: minmax(180px, 34%) 1fr;
        align-items: baseline;
        gap: 1.25rem;
        padding: 0.95rem 1.25rem;
    }
}

.sellex-ficha-row:last-child {
    border-bottom: none;
}

.sellex-ficha-dt {
    margin: 0;
    font-family: var(--sellex-font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sellex-text-muted-2);
}

.sellex-ficha-dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--sellex-text-heading);
}

/* Pestañas ficha técnica */
.sellex-ficha-tab {
    flex: 0 0 auto;
    border-radius: 9999px;
    border: 1px solid var(--sellex-border-strong);
    background: var(--sellex-surface);
    padding: 0.5rem 1rem;
    font-family: var(--sellex-font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #64748b;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.sellex-ficha-tab:hover {
    border-color: rgba(21, 32, 35, 0.4);
    color: #152023;
}

.sellex-ficha-tab.is-active,
.sellex-ficha-tab[aria-selected='true'] {
    border-color: #152023;
    background: #152023;
    color: #fff;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/**
 * Carrusel — ficha single autos (imagen destacada + galería).
 */
.sellex-auto-carousel-viewport {
    position: relative;
    isolation: isolate;
}

.sellex-auto-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .sellex-auto-carousel-track {
        transition: none;
    }
}

.sellex-auto-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
}

.sellex-auto-carousel-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
}

.sellex-auto-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(21, 32, 35, 0.35);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        width 0.2s ease;
}

.sellex-auto-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.sellex-auto-carousel-dot.is-active,
.sellex-auto-carousel-dot[aria-selected='true'] {
    width: 1.35rem;
    background: #fff;
    transform: scaleY(1.05);
}

.sellex-auto-carousel-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/**
 * Galería del modelo — lightbox (popup + carrusel).
 */
body.sellex-gallery-lightbox-open {
    overflow: hidden;
}

.sellex-auto-gallery-intro-media {
    position: relative;
    overflow: hidden;
}

.sellex-auto-gallery-intro-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sellex-auto-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
}

.sellex-auto-gallery-lightbox[hidden] {
    display: none !important;
}

.sellex-auto-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    cursor: pointer;
}

.sellex-auto-gallery-lightbox-panel {
    position: relative;
    z-index: 1;
    display: flex;
    max-height: min(92vh, 900px);
    width: min(100%, 960px);
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    background: #0f172a;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sellex-auto-gallery-lightbox-toolbar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sellex-auto-gallery-lightbox-heading {
    margin: 0;
    min-width: 0;
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: #f8fafc;
}

@media (min-width: 768px) {
    .sellex-auto-gallery-lightbox-heading {
        font-size: 1.0625rem;
    }
}

.sellex-auto-gallery-lightbox-close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.sellex-auto-gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.sellex-auto-gallery-lightbox-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sellex-auto-carousel--lightbox {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sellex-auto-carousel-viewport--lightbox {
    position: relative;
    width: 100%;
    height: min(72vh, 640px);
    min-height: 220px;
    overflow: hidden;
    background: #020617;
}

@media (min-width: 768px) {
    .sellex-auto-carousel-viewport--lightbox {
        height: min(74vh, 680px);
    }
}

.sellex-auto-carousel-viewport--lightbox .sellex-auto-carousel-track {
    height: 100%;
    align-items: center;
}

.sellex-auto-carousel-viewport--lightbox .sellex-auto-carousel-slide {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.sellex-auto-carousel-img--lightbox {
    max-height: min(72vh, 640px);
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 768px) {
    .sellex-auto-carousel-img--lightbox {
        max-height: min(74vh, 680px);
    }
}

.sellex-auto-carousel-dots--lightbox {
    bottom: 0.65rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/**
 * Página Nosotros — hero compacto, timeline de proceso, pilares y compromiso.
 *
 * El hero hace bleed bajo el header fijo (transparente cristal), por eso anulamos
 * el padding-top que normalmente añade el body fuera de la portada.
 */
body.sellex-page-has-hero main.container {
    padding-top: 0;
}

body.admin-bar.sellex-page-has-hero main.container {
    padding-top: 0;
}

.sellex-nosotros-hero {
    position: relative;
    isolation: isolate;
    background-color: var(--sellex-brand-deep);
}

.sellex-nosotros-hero-bg {
    position: absolute;
    inset: -4%;
    z-index: 0;
    background-image: var(--sellex-hero-bg-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px) saturate(1.05);
    transform: scale(1.04);
}

@media (prefers-reduced-motion: no-preference) {
    .sellex-nosotros-hero-bg {
        animation: sellex-hero-kenburns 42s ease-in-out infinite alternate;
    }
}

.sellex-nosotros-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(14, 22, 25, 0.92) 0%, rgba(14, 22, 25, 0.78) 28%, rgba(14, 22, 25, 0.4) 62%, rgba(14, 22, 25, 0.58) 100%),
        linear-gradient(180deg, rgba(14, 22, 25, 0.35) 0%, rgba(14, 22, 25, 0.05) 38%, rgba(14, 22, 25, 0.85) 100%);
}

.sellex-nosotros-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 56rem;
    padding-top: calc(env(safe-area-inset-top, 0px) + 6.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

body.admin-bar.sellex-page-has-hero .sellex-nosotros-hero-copy {
    padding-top: calc(32px + env(safe-area-inset-top, 0px) + 6.5rem);
}

@media screen and (max-width: 782px) {
    body.admin-bar.sellex-page-has-hero .sellex-nosotros-hero-copy {
        padding-top: calc(46px + env(safe-area-inset-top, 0px) + 6rem);
    }
}

@media (min-width: 768px) {
    .sellex-nosotros-hero-copy {
        padding-top: calc(env(safe-area-inset-top, 0px) + 7.5rem);
        padding-bottom: clamp(4rem, 8vw, 6.5rem);
    }
}

.sellex-nosotros-hero-headline {
    text-wrap: balance;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.35),
        0 12px 48px rgba(0, 0, 0, 0.45);
}

.sellex-nosotros-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.7rem 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--sellex-eyebrow-bg);
    color: var(--sellex-eyebrow-text);
    font-family: var(--sellex-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.sellex-nosotros-eyebrow::before {
    content: '';
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--sellex-eyebrow-dot);
}

.sellex-nosotros-process {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sellex-nosotros-process::before {
    content: '';
    position: absolute;
    top: 1.6rem;
    bottom: 1.6rem;
    left: 1.45rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(21, 32, 35, 0.18) 0%, rgba(21, 32, 35, 0.08) 100%);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .sellex-nosotros-process::before {
        left: 1.85rem;
    }
}

.sellex-nosotros-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr;
    align-items: start;
    gap: 1rem;
    padding-bottom: 1.25rem;
}

.sellex-nosotros-process-step:last-child {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .sellex-nosotros-process-step {
        grid-template-columns: 3.75rem 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.sellex-nosotros-process-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sellex-brand) 0%, #1d2d32 100%);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow:
        0 10px 24px rgba(13, 21, 24, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .sellex-nosotros-process-num {
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1.05rem;
    }
}

.sellex-nosotros-process-body {
    flex: 1;
    padding: 1rem 1.1rem;
    border: 1px solid var(--sellex-border);
    border-radius: 1rem;
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 8px 22px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

@media (min-width: 768px) {
    .sellex-nosotros-process-body {
        padding: 1.15rem 1.4rem;
    }
}

.sellex-nosotros-process-step:hover .sellex-nosotros-process-body {
    transform: translateY(-2px);
    border-color: var(--sellex-border-strong);
    box-shadow:
        0 12px 30px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.sellex-nosotros-process-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--sellex-text);
}

@media (min-width: 768px) {
    .sellex-nosotros-process-body p {
        font-size: 1.02rem;
    }
}

.sellex-nosotros-process-body strong {
    color: var(--sellex-brand);
    font-weight: 700;
}

.sellex-nosotros-pillar {
    position: relative;
    padding: 1.5rem;
    border: 1px solid var(--sellex-border);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 10px 28px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

@media (min-width: 768px) {
    .sellex-nosotros-pillar {
        padding: 1.75rem;
    }
}

.sellex-nosotros-pillar:hover {
    transform: translateY(-3px);
    border-color: var(--sellex-border-strong);
    box-shadow:
        0 16px 36px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.sellex-nosotros-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--sellex-brand) 0%, #1d2d32 100%);
    color: #fff;
    box-shadow:
        0 10px 24px rgba(13, 21, 24, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sellex-nosotros-pillar-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.sellex-nosotros-commit {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--sellex-brand) 0%, var(--sellex-brand-deep) 100%);
    color: #fff;
    box-shadow:
        0 20px 50px rgba(13, 21, 24, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .sellex-nosotros-commit {
        padding: 2rem 2.25rem;
        gap: 1.75rem;
    }
}

.sellex-nosotros-commit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    flex-shrink: 0;
}

.sellex-nosotros-commit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .sellex-nosotros-commit-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .sellex-nosotros-commit-icon svg {
        width: 1.65rem;
        height: 1.65rem;
    }
}

/**
 * Nosotros — bloques propios de la página de marca (no se comparten con A Pedido).
 *
 * Namespacing: `.sellex-about-*`. Los `.sellex-nosotros-*` siguen siendo
 * compartidos (hero, eyebrow, etc.) y NO deben modificarse desde aquí.
 */
.sellex-about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.85rem 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.sellex-about-hero-eyebrow-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

/* Historia: dos columnas con copy + figura del catálogo */
.sellex-about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .sellex-about-story {
        grid-template-columns: 1.05fr 1fr;
        gap: 3.5rem;
    }
}

.sellex-about-story-copy {
    max-width: 36rem;
}

.sellex-about-story-text {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.sellex-about-story-text p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .sellex-about-story-text p {
        font-size: 1.05rem;
    }
}

.sellex-about-story-meta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sellex-about-story-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(21, 32, 35, 0.06);
    color: var(--sellex-brand);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sellex-about-story-meta-item svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sellex-about-story-media {
    position: relative;
    margin: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #eef0f1 0%, #f7f8f8 100%);
    border: 1px solid rgba(21, 32, 35, 0.08);
    box-shadow:
        0 24px 60px rgba(13, 21, 24, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
    .sellex-about-story-media {
        aspect-ratio: 4 / 5;
    }
}

.sellex-about-story-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sellex-about-story-img--empty {
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(21, 32, 35, 0.08), transparent 60%),
        linear-gradient(135deg, #e9ebec 0%, #f4f5f5 100%);
}

.sellex-about-story-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(14, 22, 25, 0.78);
    color: #fff;
    backdrop-filter: blur(8px);
}

.sellex-about-story-tag {
    align-self: flex-start;
    font-family: var(--sellex-font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.sellex-about-story-caption-text {
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
}

/* Cifras / stats — strip de 4 celdas con valor grande */
.sellex-about-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .sellex-about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.1rem;
    }
}

.sellex-about-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid var(--sellex-border-subtle);
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 10px 28px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

@media (min-width: 768px) {
    .sellex-about-stat {
        padding: 1.5rem 1.35rem;
    }
}

.sellex-about-stat:hover {
    transform: translateY(-2px);
    border-color: var(--sellex-border-strong);
    box-shadow:
        0 16px 36px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.sellex-about-stat-value {
    font-family: var(--sellex-font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--sellex-brand);
}

@media (min-width: 768px) {
    .sellex-about-stat-value {
        font-size: 2.4rem;
    }
}

.sellex-about-stat-label {
    font-family: var(--sellex-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sellex-text-heading);
    letter-spacing: 0.01em;
}

.sellex-about-stat-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--sellex-text-muted);
}

/* Manifiesto — panel oscuro asimétrico + lista numerada */
.sellex-about-manifest {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--sellex-surface);
    border: 1px solid var(--sellex-border-subtle);
    box-shadow:
        0 20px 50px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

@media (min-width: 900px) {
    .sellex-about-manifest {
        grid-template-columns: 0.85fr 1.15fr;
    }
}

.sellex-about-manifest-aside {
    position: relative;
    padding: 1.75rem 1.5rem 2rem;
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        linear-gradient(160deg, var(--sellex-brand) 0%, var(--sellex-brand-deep) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

@media (min-width: 900px) {
    .sellex-about-manifest-aside {
        padding: 2.5rem 2.25rem 2.75rem;
    }
}

.sellex-about-manifest-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.7rem 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.sellex-about-manifest-eyebrow::before {
    content: '';
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #fff;
}

.sellex-about-manifest-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 24rem;
}

.sellex-about-manifest-mark {
    margin-top: auto;
    align-self: flex-end;
    font-family: var(--sellex-font-heading);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
}

.sellex-about-manifest-list {
    list-style: none;
    margin: 0;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

@media (min-width: 900px) {
    .sellex-about-manifest-list {
        padding: 2.5rem 2.25rem;
        gap: 1.1rem;
    }
}

.sellex-about-manifest-item {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    align-items: start;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed rgba(21, 32, 35, 0.12);
}

.sellex-about-manifest-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sellex-about-manifest-num {
    font-family: var(--sellex-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sellex-brand);
    letter-spacing: 0.06em;
    padding-top: 0.15rem;
}

.sellex-about-manifest-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #1f2937;
}

@media (min-width: 768px) {
    .sellex-about-manifest-text {
        font-size: 1.05rem;
    }
}

.sellex-about-manifest-text strong {
    color: var(--sellex-brand);
    font-weight: 700;
}

/* Líneas de servicio — dos cards, una en blanco, otra dark */
.sellex-about-lines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .sellex-about-lines {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.sellex-about-line {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem 1.85rem;
    border-radius: 1.25rem;
    border: 1px solid var(--sellex-border-subtle);
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 12px 32px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

@media (min-width: 768px) {
    .sellex-about-line {
        padding: 2rem 1.85rem 2.1rem;
    }
}

.sellex-about-line:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 44px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.sellex-about-line--dark {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        linear-gradient(160deg, var(--sellex-brand) 0%, var(--sellex-brand-deep) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow:
        0 22px 50px rgba(13, 21, 24, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.sellex-about-line-tag {
    align-self: flex-start;
    font-family: var(--sellex-font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(21, 32, 35, 0.07);
    color: var(--sellex-brand);
}

.sellex-about-line--dark .sellex-about-line-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sellex-about-line-title {
    font-family: var(--sellex-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--sellex-text-heading);
    margin: 0.25rem 0 0;
}

.sellex-about-line--dark .sellex-about-line-title {
    color: #fff;
}

@media (min-width: 768px) {
    .sellex-about-line-title {
        font-size: 1.75rem;
    }
}

.sellex-about-line-desc {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--sellex-text-muted);
}

.sellex-about-line--dark .sellex-about-line-desc {
    color: rgba(255, 255, 255, 0.85);
}

.sellex-about-line-bullets {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sellex-about-line-bullets li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #1f2937;
}

.sellex-about-line--dark .sellex-about-line-bullets li {
    color: rgba(255, 255, 255, 0.92);
}

.sellex-about-line-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.85rem;
    height: 2px;
    border-radius: 2px;
    background: var(--sellex-brand);
}

.sellex-about-line--dark .sellex-about-line-bullets li::before {
    background: #fff;
}

.sellex-about-line-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    background: var(--sellex-brand);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.sellex-about-line-cta:hover {
    background: #000;
    transform: translateY(-1px);
    color: #fff;
}

.sellex-about-line-cta svg {
    width: 1rem;
    height: 1rem;
}

.sellex-about-line-cta--invert {
    background: #fff;
    color: var(--sellex-brand);
}

.sellex-about-line-cta--invert:hover {
    background: #f3f4f6;
    color: var(--sellex-brand);
}

/* Instagram strip — banda brand-dark, canal complementario premium */
.sellex-about-ig {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem 1.5rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
        linear-gradient(135deg, var(--sellex-brand) 0%, var(--sellex-brand-deep) 100%);
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 24px 60px rgba(13, 21, 24, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

@media (min-width: 900px) {
    .sellex-about-ig {
        grid-template-columns: 1.5fr auto;
        padding: 2.25rem 2.5rem;
        gap: 2.5rem;
    }
}

.sellex-about-ig-glow {
    position: absolute;
    inset: -40% -10% auto auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    filter: blur(20px);
}

.sellex-about-ig-copy {
    position: relative;
    z-index: 1;
}

.sellex-about-ig-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.75rem 0.32rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.sellex-about-ig-eyebrow svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sellex-about-ig-title {
    margin: 0.85rem 0 0;
    font-family: var(--sellex-font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    max-width: 32rem;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .sellex-about-ig-title {
        font-size: 1.85rem;
    }
}

.sellex-about-ig-desc {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 36rem;
}

.sellex-about-ig-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

@media (min-width: 900px) {
    .sellex-about-ig-actions {
        align-items: flex-end;
    }
}

.sellex-about-ig-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.35rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
    color: #fff;
    font-family: var(--sellex-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow:
        0 14px 30px rgba(221, 42, 123, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sellex-about-ig-cta:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow:
        0 18px 36px rgba(221, 42, 123, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sellex-about-ig-cta svg {
    width: 1.1rem;
    height: 1.1rem;
}

.sellex-about-ig-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

/* CTA final — bloque limpio, sin imagen, distinto al de A Pedido */
.sellex-about-final {
    position: relative;
    text-align: center;
    padding: 2.25rem 1.5rem 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(21, 32, 35, 0.1);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(21, 32, 35, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow:
        0 18px 42px rgba(21, 32, 35, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

@media (min-width: 768px) {
    .sellex-about-final {
        padding: 3rem 2.5rem 3.25rem;
    }
}

.sellex-about-final-eyebrow {
    margin: 0;
    font-family: var(--sellex-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(21, 32, 35, 0.55);
}

.sellex-about-final-title {
    margin: 0.75rem 0 0;
    font-family: var(--sellex-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--sellex-brand);
}

@media (min-width: 768px) {
    .sellex-about-final-title {
        font-size: 2.2rem;
    }
}

.sellex-about-final-desc {
    margin: 0.85rem auto 0;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.sellex-about-final-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 540px) {
    .sellex-about-final-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.sellex-about-final-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.85rem;
    font-family: var(--sellex-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sellex-about-final-cta svg {
    width: 1rem;
    height: 1rem;
}

.sellex-about-final-cta--primary {
    background: var(--sellex-brand);
    color: #fff;
}

.sellex-about-final-cta--primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.sellex-about-final-cta--ghost {
    background: #fff;
    color: var(--sellex-brand);
    border: 1px solid rgba(21, 32, 35, 0.18);
}

.sellex-about-final-cta--ghost:hover {
    border-color: var(--sellex-brand);
    background: rgba(21, 32, 35, 0.04);
    color: var(--sellex-brand);
    transform: translateY(-1px);
}

/**
 * Portada: secciones de catálogo (Disponibles + A Pedido).
 */
.sellex-front-section {
    padding-top: 0.5rem;
}

.sellex-front-section + .sellex-front-section {
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .sellex-front-section + .sellex-front-section {
        margin-top: 6rem;
    }
}

.sellex-front-section--soft {
    position: relative;
    padding: 3rem 1.25rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(1200px 480px at 12% -10%, rgba(21, 32, 35, 0.06), transparent 60%),
        linear-gradient(180deg, var(--sellex-accent-surface) 0%, var(--sellex-surface-subtle) 100%);
    border: 1px solid var(--sellex-border-subtle);
}

@media (min-width: 768px) {
    .sellex-front-section--soft {
        padding: 4rem 2.25rem;
    }
}

/**
 * Cards "Modelo a Pedido" en la portada.
 */
.sellex-pedido-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid var(--sellex-border-subtle);
    background: linear-gradient(180deg, var(--sellex-surface) 0%, var(--sellex-surface-subtle) 100%);
    box-shadow:
        0 12px 32px var(--sellex-shadow),
        0 1px 0 var(--sellex-inset-highlight) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sellex-pedido-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 44px var(--sellex-shadow-strong),
        0 1px 0 var(--sellex-inset-highlight) inset;
}

.sellex-pedido-card-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #eef0f1 0%, #f7f8f8 100%);
    position: relative;
}

.sellex-pedido-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sellex-pedido-card:hover .sellex-pedido-card-img {
    transform: scale(1.03);
}

.sellex-pedido-card-img--empty {
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(45deg, rgba(21, 32, 35, 0.04) 0 12px, rgba(21, 32, 35, 0.07) 12px 24px);
}

.sellex-pedido-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.35rem 1.5rem;
}

.sellex-pedido-card-title {
    margin: 0;
    font-family: var(--sellex-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sellex-text-heading);
    letter-spacing: -0.01em;
}

.sellex-pedido-card-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: var(--sellex-text-muted-2);
    line-height: 1.4;
}

.sellex-pedido-card-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.sellex-pedido-variant-btn {
    appearance: none;
    border: 1px solid var(--sellex-border-strong);
    background: var(--sellex-surface);
    color: var(--sellex-text);
    font-family: var(--sellex-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}

.sellex-pedido-variant-btn:hover {
    border-color: var(--sellex-border-strong);
    background: var(--sellex-surface-hover);
    color: var(--sellex-text-heading);
}

.sellex-pedido-variant-btn:focus-visible {
    outline: 2px solid rgba(21, 32, 35, 0.5);
    outline-offset: 2px;
}

.sellex-pedido-variant-btn.is-active {
    background: var(--sellex-brand-deep);
    color: #ffffff;
    border-color: var(--sellex-brand-deep);
    box-shadow: 0 4px 14px rgba(21, 32, 35, 0.18);
}

.sellex-pedido-card-cta {
    align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
    .sellex-pedido-card,
    .sellex-pedido-card-img,
    .sellex-pedido-variant-btn {
        transition: none !important;
    }

    .sellex-pedido-card:hover {
        transform: none;
    }

    .sellex-pedido-card:hover .sellex-pedido-card-img {
        transform: none;
    }
}

/* -------------------------------------------------------------------------
 * Scroll reveal — entradas sutiles al desplazarse (sellex-scroll-reveal.js)
 * Fade + slide, escala ligera y blur suave; respeta reduced-motion.
 * ------------------------------------------------------------------------- */

html.sellex-reveal-init .sellex-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0) scale(0.985);
    filter: blur(4px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--sellex-reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

html.sellex-reveal-init .sellex-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    will-change: auto;
}

html.sellex-reveal-init .sellex-reveal--hero {
    transform: translate3d(0, 0.75rem, 0) scale(0.99);
    filter: blur(2px);
}

html.sellex-reveal-init .sellex-reveal--left {
    transform: translate3d(-1.125rem, 1rem, 0) scale(0.985);
}

html.sellex-reveal-init .sellex-reveal--right {
    transform: translate3d(1.125rem, 1rem, 0) scale(0.985);
}

html.sellex-reveal-init .sellex-reveal--scale {
    transform: translate3d(0, 1.5rem, 0) scale(0.94);
    filter: blur(6px);
}

html.sellex-reveal-init .sellex-reveal--fade {
    transform: none;
    filter: none;
}

html.sellex-reveal-init .sellex-reveal--left.is-visible,
html.sellex-reveal-init .sellex-reveal--right.is-visible,
html.sellex-reveal-init .sellex-reveal--scale.is-visible,
html.sellex-reveal-init .sellex-reveal--hero.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    html.sellex-reveal-init .sellex-reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        will-change: auto;
    }
}

/* -------------------------------------------------------------------------
 * Modo oscuro — variables semánticas + utilidades Tailwind del tema
 * Activado con data-theme="dark" en <html> (sellex-theme.js + init temprano).
 * ------------------------------------------------------------------------- */

[data-theme="dark"] {
    --sellex-soft: #3d4a4f;
    --sellex-bg: #0a1012;
    --sellex-bg-body: #0e1416;
    --sellex-text: #c8d2d6;
    --sellex-text-heading: #eef2f3;
    --sellex-text-muted: #9aa8ad;
    --sellex-text-muted-2: #7d8b90;
    --sellex-surface: #141c1f;
    --sellex-surface-subtle: #171f23;
    --sellex-surface-muted: #1a2327;
    --sellex-surface-hover: #1f2a2e;
    --sellex-border: rgba(206, 204, 204, 0.14);
    --sellex-border-subtle: rgba(206, 204, 204, 0.1);
    --sellex-border-medium: rgba(206, 204, 204, 0.16);
    --sellex-border-strong: rgba(206, 204, 204, 0.22);
    --sellex-shadow: rgba(0, 0, 0, 0.35);
    --sellex-shadow-strong: rgba(0, 0, 0, 0.5);
    --sellex-inset-highlight: rgba(255, 255, 255, 0.04);
    --sellex-accent-surface: #121a1d;
    --sellex-amber-bg: rgba(251, 191, 36, 0.08);
    --sellex-amber-border: rgba(251, 191, 36, 0.22);
    --sellex-eyebrow-bg: rgba(74, 184, 122, 0.14);
    --sellex-eyebrow-text: var(--sellex-wa-accent-bright);
    --sellex-eyebrow-dot: var(--sellex-wa-accent);
    color-scheme: dark;
}

[data-theme="dark"] .sellex-front-section--soft {
    background:
        radial-gradient(1200px 480px at 12% -10%, rgba(74, 184, 122, 0.06), transparent 60%),
        linear-gradient(180deg, var(--sellex-accent-surface) 0%, var(--sellex-surface-subtle) 100%);
}

[data-theme="dark"] .sellex-pedido-card-media {
    background: linear-gradient(135deg, #1a2327 0%, #121a1d 100%);
}

[data-theme="dark"] .page-numbers {
    border-color: var(--sellex-border);
    background: var(--sellex-surface);
    color: var(--sellex-text-muted);
}

[data-theme="dark"] .page-numbers:hover {
    border-color: var(--sellex-border-strong);
    color: var(--sellex-text-heading);
    background: var(--sellex-surface-hover);
}

[data-theme="dark"] .sellex-ficha-tab {
    border-color: var(--sellex-border-strong);
    background: var(--sellex-surface);
    color: var(--sellex-text-muted-2);
}

[data-theme="dark"] .sellex-ficha-tab.is-active,
[data-theme="dark"] .sellex-ficha-tab[aria-selected="true"] {
    background: var(--sellex-brand);
    border-color: var(--sellex-brand);
    color: var(--sellex-white);
}

/* Utilidades Tailwind usadas en plantillas PHP */
[data-theme="dark"] .bg-white {
    background-color: var(--sellex-surface) !important;
}

[data-theme="dark"] .bg-gray-50 {
    background-color: var(--sellex-bg) !important;
}

[data-theme="dark"] .bg-gray-100 {
    background-color: var(--sellex-surface-muted) !important;
}

[data-theme="dark"] .hover\:bg-gray-50:hover,
[data-theme="dark"] .hover\:bg-gray-100:hover {
    background-color: var(--sellex-surface-hover) !important;
}

[data-theme="dark"] .text-gray-900,
[data-theme="dark"] .text-gray-800 {
    color: var(--sellex-text-heading) !important;
}

[data-theme="dark"] .text-gray-700,
[data-theme="dark"] .text-gray-600 {
    color: var(--sellex-text-muted) !important;
}

[data-theme="dark"] .text-gray-500 {
    color: var(--sellex-text-muted-2) !important;
}

[data-theme="dark"] .border-gray-100,
[data-theme="dark"] .border-gray-200 {
    border-color: var(--sellex-border) !important;
}

[data-theme="dark"] .border-amber-100 {
    border-color: var(--sellex-amber-border) !important;
}

[data-theme="dark"] .bg-amber-50\/50 {
    background-color: var(--sellex-amber-bg) !important;
}

[data-theme="dark"] .text-\[\#152023\] {
    color: var(--sellex-text-heading) !important;
}

[data-theme="dark"] .border-\[\#152023\]\/20 {
    border-color: rgba(206, 204, 204, 0.2) !important;
}

[data-theme="dark"] .hover\:border-\[\#152023\]\/40:hover {
    border-color: rgba(206, 204, 204, 0.35) !important;
}

[data-theme="dark"] .hover\:text-\[\#152023\]:hover {
    color: var(--sellex-wa-accent-bright) !important;
}

[data-theme="dark"] .open\:border-\[\#152023\]\/20[open] {
    border-color: rgba(74, 184, 122, 0.25) !important;
}

[data-theme="dark"] .sellex-auto-gallery-intro {
    background-color: var(--sellex-surface-muted) !important;
}

[data-theme="dark"] .sellex-btn-wa--inverse,
[data-theme="dark"] .sellex-btn-wa--on-dark:hover {
    color: var(--sellex-brand);
    background: var(--sellex-white);
}

[data-theme="dark"] .sellex-theme-toggle {
    color: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .sellex-theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

[data-theme="dark"] .sellex-about-stat-value,
[data-theme="dark"] .sellex-nosotros-process-body strong {
    color: var(--sellex-wa-accent-bright);
}

/* Botón modo oscuro / claro en header */
.sellex-theme-toggle .sellex-theme-icon {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.sellex-theme-toggle .sellex-theme-icon[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
 * Preloader de página (logo Sellex) — minimalista
 * -------------------------------------------------------------------------- */

html.sellex-is-loading,
html.sellex-is-loading body {
    overflow: hidden;
}

.sellex-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sellex-brand);
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}

.sellex-page-loader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sellex-page-loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.125rem;
    animation: sellex-loader-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sellex-loader-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sellex-page-loader__logo {
    display: block;
    width: clamp(5.25rem, 14vw, 6.5rem);
    height: auto;
    object-fit: contain;
    opacity: 0.88;
    animation: sellex-loader-logo-fade 2.8s ease-in-out infinite;
}

@keyframes sellex-loader-logo-fade {
    0%,
    100% {
        opacity: 0.72;
    }
    50% {
        opacity: 0.95;
    }
}

.sellex-page-loader__accent {
    display: block;
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    transform-origin: center;
    animation: sellex-loader-accent 2.8s ease-in-out infinite;
}

@keyframes sellex-loader-accent {
    0%,
    100% {
        transform: scaleX(0.55);
        opacity: 0.35;
    }
    50% {
        transform: scaleX(1);
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sellex-page-loader__content,
    .sellex-page-loader__logo,
    .sellex-page-loader__accent {
        animation: none;
    }

    .sellex-page-loader__logo {
        opacity: 0.9;
    }

    .sellex-page-loader__accent {
        opacity: 0.5;
        transform: none;
    }

    .sellex-page-loader {
        transition-duration: 0.12s;
    }
}
