/* Shared nav only; directory styling stays scoped. */
#top-menu-col-container > .fmo-promociones-nav-slot { width: auto; flex: 0 0 auto; align-self: stretch; justify-content: center; }
#top-menu-col-container .fmo-promociones-nav { box-sizing:border-box; text-decoration:none; }
html.fmo-contact-header-enhanced body #subheader #top-menu-col-container .fmo-promociones-nav[aria-current="page"]::after { content:""!important; display:block!important; position:absolute; left:12px;right:12px;bottom:6px;height:3px;border-radius:999px;background:#e5362f;box-shadow:0 0 12px #e5362f6b; }
html.fmo-contact-header-enhanced body #subheader .fmo-promociones-nav:is(:hover,:focus-visible) .oxel_megamenu_parent__title { color:#fff!important; text-shadow:0 0 5px #fff,0 0 14px #78c9ef; }
html.fmo-contact-header-enhanced body #subheader .fmo-promociones-nav:focus-visible .megamenu-link-img { filter:brightness(0) invert(1) drop-shadow(0 0 5px #fff) drop-shadow(0 0 16px #ffffff85)!important; }

/* ── Landing /promociones/ — navy de marca (como cabecera y carrusel «Ofertas exclusivas») ── */
.fmo-promociones {
    --promo-navy: #0a2944; --promo-deep: #061b30; --promo-card: #0d3150; --promo-line: #ffffff1a;
    --promo-red: #f24843; --promo-cyan: #29c5f0; --promo-text: #c7d8e5;
    box-sizing: border-box; color: #fff; font-family: Montserrat, 'FMO Montserrat', system-ui, sans-serif;
    padding: 0 max(20px, calc((100% - 1320px) / 2)) 72px;
    background:
        radial-gradient(ellipse 70% 420px at 50% 0, #134a73 0, rgba(19, 74, 115, 0) 70%),
        linear-gradient(180deg, var(--promo-navy) 0, var(--promo-deep) 100%);
}
.fmo-promociones *, .fmo-promociones *::before, .fmo-promociones *::after { box-sizing: border-box; }
.fmo-promociones :is(h1, h2, p, a, span, strong, button, dt, dd, li) { font-family: inherit; }
.fmo-promociones a:focus-visible, .fmo-promociones button:focus-visible, .fmo-promociones-nav:focus-visible { outline: 3px solid var(--promo-cyan, #29c5f0); outline-offset: 3px; }

/* Cabecera */
.fmo-promociones-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; padding: 48px 0 28px; border-bottom: 1px solid var(--promo-line); }
.fmo-promociones-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: #8fd9ee; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.fmo-promociones-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--promo-red); }
.fmo-promociones h1 { margin: 12px 0 10px; color: #fff; font-family: 'Barlow Condensed', Montserrat, 'FMO Montserrat', sans-serif; font-size: clamp(42px, 5vw, 68px); font-style: italic; font-weight: 900; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.fmo-promociones h1 em, .fmo-promociones h2 em { color: var(--promo-red); font-style: inherit; }
.fmo-promociones .fmo-promociones-description { max-width: 620px; margin: 0; color: var(--promo-text); font-size: 15px; line-height: 1.6; }
.fmo-promociones-stats { display: flex; gap: 10px; margin: 0; }
.fmo-promociones-stats > div { min-width: 132px; padding: 14px 18px 12px; border: 1px solid var(--promo-line); border-radius: 12px; background: #ffffff0a; }
.fmo-promociones-stats dt { margin: 0 0 4px; color: #8fb3c9; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fmo-promociones-stats dd { margin: 0; color: #fff; font-family: 'Barlow Condensed', Montserrat, sans-serif; font-size: 38px; font-weight: 900; font-style: italic; line-height: 1; }
.fmo-promociones-stats dd small { margin-left: 3px; color: var(--promo-red); font-size: 24px; }

/* Filtros */
.fmo-promociones-filters { display: flex; gap: 8px; margin: 24px 0 0; overflow-x: auto; scrollbar-width: none; }
.fmo-promociones-filters::-webkit-scrollbar { display: none; }
.fmo-promociones-filters button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 8px 10px 8px 18px; border: 1px solid var(--promo-line); border-radius: 999px; background: #ffffff0a; color: var(--promo-text); font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.fmo-promociones-filters button span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #29c5f026; color: #8fe3f7; font-size: 12px; font-weight: 800; }
.fmo-promociones-filters button:hover { color: #fff; border-color: #ffffff40; }
.fmo-promociones-filters button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #052238; }
.fmo-promociones-filters button[aria-pressed="true"] span { background: var(--promo-red); color: #fff; }

/* Rejilla de campañas: aprovecha el ancho (3 columnas a 1320px) */
.fmo-promociones-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 28px; }
.fmo-promociones-list.is-single { grid-template-columns: minmax(0, 1fr); }
.fmo-promociones-card { position: relative; display: flex; min-width: 0; border: 1px solid var(--promo-line); border-radius: 16px; overflow: hidden; background: var(--promo-card); box-shadow: 0 14px 34px #0006; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.fmo-promociones-card[hidden] { display: none; }
.fmo-promociones-card:hover { transform: translateY(-4px); border-color: #29c5f099; box-shadow: 0 20px 44px #0008, 0 0 0 1px #29c5f033; }
.fmo-promociones-card-link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.fmo-promociones-card-link:hover { color: inherit; }
.fmo-promociones-media { position: relative; overflow: hidden; background: #061b30; }
.fmo-promociones-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--promo-cyan) 0 70%, var(--promo-red) 70% 100%); }
.fmo-promociones-media picture, .fmo-promociones-media img { display: block; width: 100%; height: auto; }
.fmo-promociones-media img { transition: transform .6s ease; }
/* CLS: banners stored by URL have no intrinsic size in the markup. Reserve the
   standard slider ratios (desktop 1920×760, mobile 700×1200); contain = never crop. */
.fmo-promociones-media img:not([width]) { aspect-ratio: 1920 / 760; object-fit: contain; }
@media (max-width: 600px) { .fmo-promociones-media img:not([width]) { aspect-ratio: 700 / 1200; } }
.fmo-promociones-card:hover .fmo-promociones-media img { transform: scale(1.03); }
.fmo-promociones-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fmo-promociones-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; line-height: 1; text-transform: uppercase; }
.fmo-promociones-chip svg { width: 14px; height: 14px; }
.fmo-promociones-chip--type { background: #29c5f01f; color: #8fe3f7; border: 1px solid #29c5f04d; }
.fmo-promociones-card-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 22px 22px 22px; }
.fmo-promociones h2 { margin: 0; color: #fff; font-family: 'Barlow Condensed', Montserrat, 'FMO Montserrat', sans-serif; font-size: 32px; font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -.005em; text-transform: uppercase; overflow-wrap: anywhere; }
.fmo-promociones-card-desc { display: -webkit-box; margin: 0; overflow: hidden; color: var(--promo-text); font-size: 14px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fmo-promociones-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fmo-promociones-facts li { display: inline-flex; align-items: baseline; gap: 5px; margin: 0; padding: 7px 12px; border-radius: 8px; background: #ffffff0f; color: var(--promo-text); font-size: 13px; font-weight: 600; }
.fmo-promociones-facts strong { color: #fff; font-size: 15px; font-weight: 800; }
.fmo-promociones-facts .is-offer { background: #f2484326; }
.fmo-promociones-facts .is-offer strong { color: #ff8a84; }
.fmo-promociones-facts .is-note { color: #ffd166; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; align-items: center; }
.fmo-promociones-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: auto; padding: 12px 18px; border-radius: 10px; background: var(--promo-red); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 10px 24px #f2484340, inset 0 1px 0 #ffffff26; transition: background-color .2s, box-shadow .2s; }
.fmo-promociones-cta svg { width: 20px; height: 20px; flex: 0 0 20px; }
.fmo-promociones-card-link:is(:hover, :focus-visible) .fmo-promociones-cta { background: #e03b36; }

/* Una sola campaña: banner a la izquierda, ficha a la derecha. */
@media (min-width: 900px) {
    .fmo-promociones-list.is-single .fmo-promociones-card-link { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); }
    .fmo-promociones-list.is-single .fmo-promociones-card-body { justify-content: center; padding: 32px; }
    .fmo-promociones-list.is-single .fmo-promociones-media { display: flex; align-items: center; }
}

/* Cierre: accesos a todo el stock */
.fmo-promociones-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 22px 26px; border: 1px solid var(--promo-line); border-radius: 14px; background: #ffffff08; }
.fmo-promociones-more > div { display: grid; gap: 4px; }
.fmo-promociones-more strong { color: #fff; font-size: 17px; font-weight: 800; }
.fmo-promociones-more span { color: var(--promo-text); font-size: 14px; }
.fmo-promociones-more nav { display: flex; flex-wrap: wrap; gap: 10px; }
.fmo-promociones-more a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 1px solid #29c5f080; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; transition: background-color .2s, color .2s; }
.fmo-promociones-more a:hover { background: var(--promo-cyan); border-color: var(--promo-cyan); color: #052238; }

.fmo-promociones-empty { padding: 32px; border-radius: 14px; background: #ffffff0d; }
.fmo-promociones-empty h2 { font-size: 28px; }
.fmo-promociones-empty a { color: #8fe3f7; }
.fmo-promociones-skip { position: absolute; left: 12px; top: -100px; z-index: 99999; background: #fff; color: #15283e; padding: 12px; }
.fmo-promociones-skip:focus { top: 12px; }

@media (max-width: 1023px) {
    .fmo-promociones-hero { grid-template-columns: minmax(0, 1fr); }
    .fmo-promociones-stats > div { flex: 1; min-width: 0; }
}
@media (max-width: 767px) {
    #top-menu-col-container > .fmo-promociones-nav-slot { flex: 1 1 auto; }
    .fmo-promociones { padding: 0 16px 48px; }
    .fmo-promociones-hero { gap: 18px; padding: 30px 0 22px; }
    .fmo-promociones h1 { font-size: 44px; }
    .fmo-promociones .fmo-promociones-description { font-size: 14px; }
    .fmo-promociones-stats { gap: 8px; }
    .fmo-promociones-stats > div { padding: 10px 12px; }
    .fmo-promociones-stats dt { font-size: 10px; letter-spacing: .04em; }
    .fmo-promociones-stats dd { font-size: 30px; }
    .fmo-promociones-filters { margin-top: 18px; }
    .fmo-promociones-list { gap: 18px; margin-top: 20px; }
    .fmo-promociones-card-body { padding: 18px; gap: 12px; }
    .fmo-promociones h2 { font-size: 28px; }
    .fmo-promociones-more { padding: 18px; }
    .fmo-promociones-more nav, .fmo-promociones-more a { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .fmo-promociones-card, .fmo-promociones-media img, .fmo-promociones-cta, .fmo-promociones-filters button { transition: none; }
    .fmo-promociones-card:hover, .fmo-promociones-card:hover .fmo-promociones-media img { transform: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .fmo-promociones-page .fmo-contact-drawer,
    .fmo-promociones-page .fmo-contact-backdrop { transition: none !important; animation: none !important; }
}
@font-face { font-family: 'FMO Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/campaign-preview/montserrat-latin-variable.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/campaign-preview/barlow-condensed-900-latin.woff2') format('woff2'); }
