/* Tema JMEquipos: fondo blanco limpio en todo el sitio */

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body.jm-site {
    min-height: 100vh;
    overflow-x: clip;
    color: #000000;
    background-color: #ffffff;
    background-image: none;
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

body.jm-site :where(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
}

body.jm-site .producto-prose :where(p, li, h1, h2, h3, h4, h5, h6, td, th, span, a) {
    font-family: inherit;
}

body.jm-site ::selection {
    background-color: rgba(1, 52, 161, 0.22);
    color: #000000;
}

/* Un solo scroll vertical: el documento (evita barras anidadas) */
body.jm-site main#contenido {
    overflow: visible;
}

/* Cabecera: altura amplia con respiro vertical alrededor del logo */
.site-header__inner {
    --site-header-pad-y: 0.75rem;
    --site-header-logo-h: 3.125rem;
    --site-header-h: calc(var(--site-header-logo-h) + (var(--site-header-pad-y) * 2));
    box-sizing: border-box;
    min-height: var(--site-header-h);
    padding-top: var(--site-header-pad-y);
    padding-bottom: var(--site-header-pad-y);
}

@media (min-width: 768px) {
    .site-header__inner {
        --site-header-pad-y: 0.875rem;
        --site-header-logo-h: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        --site-header-pad-y: 1rem;
        --site-header-logo-h: 4.375rem;
    }
}

.site-header__logo-link {
    align-self: center;
    height: auto;
}

.site-logo {
    display: block;
    height: var(--site-header-logo-h);
    width: auto;
    max-width: min(62vw, 28rem);
}

/* Mega-menú estilo Apple (desktop) */
.site-header.site-mega-open,
body.site-mega-open .site-header {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.site-mega-nav__item.is-active .site-mega-nav__trigger {
    color: #0030a4;
}

.site-mega-nav {
    align-self: stretch;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

.site-mega-nav > .site-mega-nav__link {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
}

.site-mega-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
}

.site-mega-nav__label {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-mega-nav__label {
        max-width: 10.5rem;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .site-mega-nav__label {
        max-width: 12rem;
    }
}

/* Puente invisible entre el ítem del menú y el panel desplegable */
.site-mega-nav__item.is-active::after {
    content: '';
    position: absolute;
    left: -0.35rem;
    right: -0.35rem;
    top: 100%;
    z-index: 55;
    height: 1rem;
}

.site-mega-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.75rem;
    height: 0.75rem;
}

.site-mega-backdrop {
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    transition: opacity 0.22s ease;
}

.site-mega-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-mega-menu {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    transition: opacity 0.22s ease, transform 0.22s ease;
    transform: translateY(-4px);
    margin-top: -1px;
}

.site-mega-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-mega-menu__inner {
    max-height: min(72vh, 34rem);
    overflow: hidden;
    overscroll-behavior: contain;
}

.site-mega-menu__subcats > li.is-mega-trimmed,
.site-mega-menu__products-list > li.is-mega-trimmed {
    display: none;
}

.site-mega-menu__panel.is-active {
    display: block;
}

.site-mega-menu__subcat {
    display: block;
    padding: 0.2rem 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #737373;
    transition: color 0.15s ease;
}

.site-mega-menu__subcat:hover,
.site-mega-menu__subcat:focus-visible,
.site-mega-menu__subcat.is-active {
    color: #000000;
    outline: none;
}

.site-mega-menu__product {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: #171717;
    transition: color 0.15s ease;
}

.site-mega-menu__product:hover,
.site-mega-menu__product:focus-visible,
.site-mega-menu__product.is-preview-active {
    color: #0030a4;
    outline: none;
}

.site-mega-menu__products-layout {
    display: grid;
    gap: 2rem;
}

.site-mega-menu__products--with-featured .site-mega-menu__products-layout {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .site-mega-menu__products--with-featured .site-mega-menu__products-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2.5rem;
        align-items: start;
    }
}

.site-mega-menu__featured {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.site-mega-menu__featured--preview {
    grid-template-columns: minmax(0, 1fr);
    max-width: 18rem;
}

.site-mega-menu__featured--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 18rem;
}

.site-mega-menu__featured--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-mega-menu__featured-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.site-mega-menu__featured-media {
    display: flex;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-mega-menu__featured-card:hover .site-mega-menu__featured-media,
.site-mega-menu__featured-card:focus-visible .site-mega-menu__featured-media {
    transform: scale(1.01);
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.22);
}

.site-mega-menu__featured-img {
    max-width: 92%;
    max-height: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.site-mega-menu__featured-name {
    margin-top: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #171717;
    transition: color 0.15s ease;
}

.site-mega-menu__featured-card:hover .site-mega-menu__featured-name,
.site-mega-menu__featured-card:focus-visible .site-mega-menu__featured-name {
    color: #0030a4;
    outline: none;
}

@media (min-width: 1024px) {
    .site-mega-menu__featured--preview .site-mega-menu__featured-media,
    .site-mega-menu__featured--single .site-mega-menu__featured-media {
        aspect-ratio: 4 / 5;
    }
        aspect-ratio: 4 / 5;
    }

    .site-mega-menu__featured-name {
        font-size: 0.875rem;
    }
}

body.site-mega-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .site-mega-menu__subcat {
        font-size: 1.5rem;
    }

    .site-mega-menu__product {
        font-size: 1.25rem;
    }
}

/* Landing de producto — barra sticky bajo el menú principal */
.product-sticky {
    top: var(--site-header-h);
}

/* Menú móvil: panel opaco para legibilidad sobre cualquier contenido */
#site-mobile-nav-drawer {
    background-color: #ffffff;
}

/* Prose de fichas de producto sobre fondo claro/degradado */
body.jm-site .producto-prose {
    color: #171717;
}

body.jm-site .producto-prose a {
    color: #0134a1;
    text-decoration: underline;
}

body.jm-site .producto-prose h2,
body.jm-site .producto-prose h3 {
    color: #000000;
}

body.jm-site .producto-prose th {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.12);
}

body.jm-site .producto-prose td {
    border-color: rgba(0, 0, 0, 0.08);
}

/* Home — superficies alternadas (blanco / gris claro) */
.home-surface--white {
    background-color: #ffffff;
}

.home-surface--muted {
    background: linear-gradient(180deg, #f7f8fa 0%, #f3f4f6 100%);
}

/* Home — bienvenida (estilo Apple) */
.home-intro {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-intro__glow {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: -8rem;
    z-index: 0;
    height: 24rem;
    width: min(92vw, 56rem);
    transform: translateX(-50%);
    border-radius: 9999px;
    background: radial-gradient(ellipse at center, rgba(1, 52, 161, 0.09) 0%, transparent 72%);
}

.home-intro__inner {
    position: relative;
    z-index: 1;
}

.home-intro__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #0134a1;
}

.home-intro__title {
    font-size: clamp(2.25rem, 5.8vw, 4.5rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #1d1d1f;
}

.home-intro__lead {
    font-size: clamp(1.0625rem, 2.1vw, 1.3125rem);
    line-height: 1.65;
    color: #3a3a3c;
}

.home-intro__text {
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    line-height: 1.7;
    color: #6e6e73;
}

.home-intro__highlight {
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f5f5f7;
    box-shadow: 0 8px 32px -20px rgba(0, 0, 0, 0.12);
}

.home-intro__highlight-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1d1d1f;
}

.home-intro__highlight-label {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #6e6e73;
}

/* Home — carrusel «Conoce la familia» (estilo Apple) */
.home-family-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-surface--muted .home-family-carousel__btn {
    background: #ffffff;
}

.home-family-carousel__viewport {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-family-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.home-family-card {
    flex: 0 0 min(78vw, 17.5rem);
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .home-family-card {
        flex-basis: min(42vw, 18.5rem);
    }
}

@media (min-width: 1024px) {
    .home-family-card {
        flex-basis: calc((100% - 4.5rem) / 4);
        max-width: 18.75rem;
    }
}

.home-family-card__inner {
    min-height: 100%;
}

.home-family-card__media {
    display: flex;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    padding: 1.25rem;
    transition: transform 0.25s ease;
}

.home-family-card__media:hover {
    transform: scale(1.01);
}

.home-family-card__img {
    max-height: 88%;
    max-width: 88%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.home-family-card__body {
    padding-top: 1.25rem;
}

.home-family-card__title {
    min-height: 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #171717;
}

.home-family-card__desc {
    display: -webkit-box;
    margin-top: 0.5rem;
    min-height: 2.75rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #525252;
}

.home-family-card__desc--placeholder {
    visibility: hidden;
}

.home-family-carousel__btn {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f5f5f7;
    color: #404040;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.home-family-carousel__btn:hover:not(:disabled) {
    border-color: rgba(0, 0, 0, 0.2);
    background: #ebebed;
    color: #171717;
}

.home-family-carousel__btn:disabled {
    cursor: default;
    opacity: 0.35;
}

/* Home — carrusel de imágenes en cards de productos destacados (legacy) */
.featured-card-carousel__link {
    display: block;
    height: 100%;
    width: 100%;
}

.featured-card-carousel__track {
    height: 100%;
    width: 100%;
}

.featured-card-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}

.featured-card-carousel__img {
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease-out;
}

.group:hover .featured-card-carousel__img {
    transform: scale(1.06);
}

.featured-card-carousel__nav {
    pointer-events: auto;
}

/* Botón flotante: volver arriba (encima de WhatsApp) */
.back-to-top {
    bottom: 5.75rem;
    right: 1.5rem;
}

@media (min-width: 768px) {
    .back-to-top {
        bottom: 6.5rem;
        right: 2.5rem;
    }
}

.back-to-top--sin-whatsapp {
    bottom: 2rem;
    right: 1.5rem;
}

@media (min-width: 768px) {
    .back-to-top--sin-whatsapp {
        bottom: 2.5rem;
        right: 2.5rem;
    }
}

.back-to-top--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem) scale(0.92);
}

.back-to-top:focus-visible {
    outline: 2px solid #0030a4;
    outline-offset: 3px;
}

/* Footer — iconos de redes sociales */
.footer-social-link:hover {
    color: #0030a4;
}

/* Footer del sitio */
.site-footer {
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .site-footer {
        margin-top: 6rem;
    }
}

.site-footer__separator {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 15%,
        rgba(1, 52, 161, 0.22) 50%,
        rgba(0, 0, 0, 0.08) 85%,
        transparent 100%
    );
}

.site-footer__main {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #f7f7f8 0%, #f3f4f6 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-footer__heading {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #171717;
}

.site-footer__links {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer__links a {
    font-size: 0.875rem;
    color: #525252;
    transition: color 0.15s ease;
}

.site-footer__links a:hover {
    color: #0030a4;
}

.site-footer__contact-link {
    color: #262626;
    transition: color 0.15s ease;
}

.site-footer__contact-link:hover {
    color: #0030a4;
}

.site-footer__sede {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 4px 24px -10px rgba(0, 0, 0, 0.1);
}

.site-footer__sede::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, #0134a1 0%, rgba(1, 52, 161, 0.35) 100%);
}

.site-footer__legal {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ebebed;
}

/* Tarjetas Contáctenos */
.contacto-card__body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contacto-card__body a {
    text-decoration: none;
}

/* Formulario de contacto — validación UI */
.contacto-field--invalid input,
.contacto-field--invalid textarea {
    border-color: #dc2626;
}

.contacto-field--invalid input:focus,
.contacto-field--invalid textarea:focus {
    border-color: #dc2626;
    --tw-ring-color: rgba(220, 38, 38, 0.2);
}

.contacto-field__error {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #b91c1c;
}

.contacto-submit--sending {
    pointer-events: none;
}

.contacto-submit__spinner {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 9999px;
    animation: contacto-submit-spin 0.65s linear infinite;
}

@keyframes contacto-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Página Nosotros — contenido CMS normalizado */
.nosotros-prose {
    color: #424245;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.nosotros-prose__section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nosotros-prose__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nosotros-prose__heading {
    margin: 0 0 1rem;
    color: #1d1d1f;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: center;
    text-transform: none;
}

.nosotros-prose__section .nosotros-prose__heading {
    margin-top: 0;
}

.nosotros-prose p {
    margin: 0 0 1.15rem;
    text-align: left;
}

.nosotros-prose h3,
.nosotros-prose h4 {
    margin: 1.75rem 0 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nosotros-prose ul,
.nosotros-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.nosotros-prose li {
    margin-bottom: 0.45rem;
}

.nosotros-prose__link {
    color: #0134a1;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nosotros-prose__link:hover {
    color: #012a85;
}

.nosotros-media {
    margin: 2rem 0;
}

.nosotros-media--image {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.2);
}

.nosotros-prose__img {
    display: block;
    width: 100%;
    height: auto;
}

.nosotros-media--video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    background: #000000;
    box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.25);
}

.nosotros-prose__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Respaldo si queda HTML legacy sin normalizar */
.nosotros-prose table,
.nosotros-prose td,
.nosotros-prose th {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    background: transparent !important;
}

.nosotros-prose table {
    margin: 0;
}

.nosotros-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid #0134a1;
    background: rgba(1, 52, 161, 0.04);
    border-radius: 0 0.75rem 0.75rem 0;
    color: #1d1d1f;
}

/* Modal vista rápida — listado de categoría */
body.quick-view-open {
    overflow: hidden;
}

.quick-view-modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.quick-view-modal__panel {
    animation: quickViewIn 0.28s ease-out;
}

@keyframes quickViewIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quick-view-thumb.is-active {
    border-color: #0134a1;
}

/* Slider home (debajo del hero) */
.home-slider__viewport {
    width: 100%;
}

.home-slider__track {
    display: flex;
    height: 100%;
}

.home-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Overlay de texto/botón sobre banners del slider (centrado) */
.home-slider__overlay-scrim {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.home-slider__overlay {
    z-index: 5;
}

.home-slider__overlay-inner > * {
    max-width: 100%;
}

.home-slider__dot.is-active {
    width: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Landing producto — bloques de texto (lectura completa, estilo Apple) */
body.jm-site .producto-texto-seccion .producto-prose {
    font-size: clamp(1.0625rem, 1.85vw, 1.3125rem);
    line-height: 1.68;
    color: #3a3a3c;
    letter-spacing: -0.01em;
}

body.jm-site .producto-texto-seccion .producto-prose :where(p, li, td) {
    font-size: inherit;
    line-height: inherit;
}

body.jm-site .producto-texto-seccion .producto-prose p {
    margin-bottom: 1.35em;
}

body.jm-site .producto-texto-seccion .producto-prose p:last-child {
    margin-bottom: 0;
}

body.jm-site .producto-texto-seccion .producto-prose h2,
body.jm-site .producto-texto-seccion .producto-prose h3,
body.jm-site .producto-texto-seccion .producto-prose h4 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: #1d1d1f;
}

body.jm-site .producto-texto-seccion .producto-prose h2:first-child,
body.jm-site .producto-texto-seccion .producto-prose h3:first-child,
body.jm-site .producto-texto-seccion .producto-prose h4:first-child {
    margin-top: 0;
}

body.jm-site .producto-texto-seccion .producto-prose ul,
body.jm-site .producto-texto-seccion .producto-prose ol {
    margin: 1.25em 0;
    padding-left: 1.35em;
}

body.jm-site .producto-texto-seccion .producto-prose li {
    margin-bottom: 0.65em;
}

body.jm-site .producto-texto-seccion .producto-prose li:last-child {
    margin-bottom: 0;
}

body.jm-site .producto-texto-seccion .producto-prose table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.55;
}

body.jm-site .producto-texto-seccion .producto-prose th,
body.jm-site .producto-texto-seccion .producto-prose td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    vertical-align: top;
}

body.jm-site .producto-texto-seccion .producto-prose th {
    color: #1d1d1f;
    font-weight: 600;
}

body.jm-site .producto-texto-seccion .producto-prose strong,
body.jm-site .producto-texto-seccion .producto-prose b {
    font-weight: 600;
    color: #1d1d1f;
}

/* Landing producto — galería zigzag (imagen | texto alternado) */
.producto-galeria-zigzag__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 40%, rgba(0, 0, 0, 0.18) 100%);
}

/* Landing producto — galería con título y descripción (estilo DJI) */
.producto-feature-card__media {
    position: relative;
}

.producto-feature-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 35%, rgba(0, 0, 0, 0.12) 100%);
}

/* Supercategoría / categoría — hero con banner a ancho completo y alto fijo */
.super-hero--banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 30rem;
    min-height: 30rem;
    max-height: 30rem;
}

@media (min-width: 768px) {
    .super-hero--banner {
        height: 640px;
        min-height: 640px;
        max-height: 640px;
    }
}

.super-hero--banner .super-hero__banner-img {
    object-fit: cover;
    object-position: center;
}

.super-hero--banner .super-hero__content {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    justify-content: flex-end;
    gap: 1rem;
    overflow: hidden;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .super-hero--banner .super-hero__content {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }
}

.super-hero--banner .super-hero__copy {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.super-hero--banner .super-hero__copy::-webkit-scrollbar {
    width: 4px;
}

.super-hero--banner .super-hero__copy::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.super-hero--banner .super-hero__actions {
    flex-shrink: 0;
    margin-top: 0 !important;
}

.super-hero--banner .super-hero__scroll {
    display: none;
}

.super-hero__scrim {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.2) 45%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.super-hero__scrim--texto {
    background:
        radial-gradient(ellipse 85% 65% at 50% 48%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5) 100%);
}
