/* ============================================================
   C. F. AG ELITE · V17.4 · TEMA APROBADO
   Cargado al final para dominar el CSS histórico sin alterar la lógica.
   ============================================================ */
:root{
  --v17-navy:#06152f;
  --v17-navy-2:#0b2246;
  --v17-panel:#0d2a55;
  --v17-blue:#1559a9;
  --v17-gold:#f4c21f;
  --v17-white:#ffffff;
  --v17-soft:#f4f6fa;
  --v17-text:#0a1730;
  --v17-muted:#667085;
}
html{background:#06152f}
body{background:#fff;color:var(--v17-text);overflow-x:hidden}

/* HEADER */
.site-header{
  height:78px!important;padding:0 4.5vw!important;background:rgba(5,18,40,.97)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;box-shadow:0 8px 30px rgba(0,0,0,.16)!important;
}
.brand img{width:52px!important;height:52px!important}.brand strong{color:#fff!important;font-size:22px!important}.brand small{color:var(--v17-gold)!important}
.main-nav{gap:21px!important}.main-nav a{color:#fff!important;font-size:11px!important;font-weight:900!important;letter-spacing:.025em!important}.main-nav a:hover{color:var(--v17-gold)!important}
.main-nav .nav-app{background:var(--v17-gold)!important;color:var(--v17-navy)!important;border-radius:5px!important;padding:13px 18px!important}

/* HERO APROBADO */
.hero-v17{min-height:660px!important;background:var(--v17-navy)!important;color:#fff!important;padding:0!important;position:relative!important;overflow:hidden!important}
.hero-v17-bg{position:absolute!important;inset:0!important;background:
  radial-gradient(circle at 75% 42%,rgba(32,92,163,.32),transparent 36%),
  radial-gradient(circle at 45% 70%,rgba(244,194,31,.08),transparent 35%),
  linear-gradient(90deg,rgba(3,15,35,.99) 0%,rgba(4,18,41,.95) 48%,rgba(6,25,55,.86) 100%)!important}
.hero-v17-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 72%,rgba(0,0,0,.28));pointer-events:none}
.hero-v17-grid{position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr)!important;gap:58px!important;align-items:center!important;padding-top:128px!important;padding-bottom:70px!important;min-height:660px!important}
.hero-v17-copy{min-width:0!important}.hero-kicker{color:var(--v17-gold)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.18em!important;margin-bottom:18px!important}
.hero-v17 h1{margin:0 0 22px!important;font:900 clamp(64px,6.2vw,96px)/.84 'Barlow Condensed',sans-serif!important;letter-spacing:-.025em!important;text-transform:uppercase!important;color:#fff!important;text-shadow:0 8px 32px rgba(0,0,0,.28)!important}
.hero-v17 h1 span,.hero-v17 h1 em{display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-style:normal!important}
.hero-v17 h1 em{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}
.hero-v17-copy>p{font-size:16px!important;line-height:1.65!important;color:#e7edf6!important;max-width:650px!important;margin:0 0 22px!important}
.hero-feature-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:24px 0 30px!important}
.hero-feature-row>div{display:grid!important;grid-template-columns:32px 1fr!important;column-gap:8px!important;align-content:start!important;color:#fff!important}
.hero-feature-row b{grid-row:1/3!important;color:var(--v17-gold)!important;font-size:22px!important;line-height:1!important}.hero-feature-row strong{font-size:11px!important;line-height:1.25!important;color:#fff!important}.hero-feature-row small{font-size:9px!important;line-height:1.4!important;color:#cbd6e5!important;margin-top:3px!important}
.hero-main-cta{background:var(--v17-gold)!important;color:var(--v17-navy)!important;border-radius:5px!important;padding:15px 20px!important;box-shadow:none!important}

/* TARJETA PRÓXIMO PARTIDO — elimina blanco/azul antiguo */
.hero-match-card{align-self:center!important;background:linear-gradient(145deg,#0b2246,#0c2e5d)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:13px!important;padding:22px!important;color:#fff!important;box-shadow:0 24px 55px rgba(0,0,0,.28)!important;overflow:hidden!important}
.hero-match-head{display:flex!important;justify-content:space-between!important;gap:14px!important;align-items:center!important;padding-bottom:15px!important;border-bottom:1px solid rgba(255,255,255,.11)!important}
.hero-match-head strong{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important;font-size:11px!important}.hero-match-head span{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:9px!important;font-weight:800!important}
.hero-match-card .next-match-card,.hero-next-match{display:grid!important;grid-template-columns:95px 1fr 150px!important;gap:18px!important;align-items:center!important;min-height:155px!important;padding:20px 0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;border:0!important}
.hero-next-match .next-date strong{font-size:29px!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.hero-next-match .next-date span{font-size:9px!important;color:#d9e4f2!important;-webkit-text-fill-color:#d9e4f2!important}
.hero-next-match .next-teams{display:flex!important;justify-content:center!important;gap:18px!important}.hero-next-match .next-teams>div{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:7px!important}.hero-next-match .next-teams img,.hero-next-match .rival-mark{width:50px!important;height:50px!important}.hero-next-match .next-teams b{font-size:10px!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.hero-next-match .next-teams em{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important;font-size:23px!important}
.hero-next-match .next-place{text-align:right!important}.hero-next-match .next-place small{display:block!important;color:#d8e3f0!important;-webkit-text-fill-color:#d8e3f0!important;font-size:9px!important}.hero-next-match .next-place strong{display:block!important;margin-top:6px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10px!important}
.hero-next-match .next-empty{grid-column:1/-1!important;padding:28px 18px!important;border:1px dashed rgba(255,255,255,.22)!important;border-radius:9px!important;text-align:center!important;color:#f3f7fc!important;-webkit-text-fill-color:#f3f7fc!important;background:rgba(255,255,255,.035)!important}
.hero-match-link{display:flex!important;justify-content:center!important;align-items:center!important;gap:9px!important;text-decoration:none!important;background:var(--v17-gold)!important;color:var(--v17-navy)!important;font-size:10px!important;font-weight:900!important;padding:13px!important;border-radius:5px!important}

/* TV */
#videos.video-section{background:#06152f!important;color:#fff!important;padding:54px 0 62px!important;border-top:1px solid rgba(255,255,255,.08)!important}
#videos .section-top{margin-bottom:25px!important}#videos h2{font-size:38px!important;color:#fff!important;-webkit-text-fill-color:#fff!important}#videos .section-intro{color:#d4deeb!important}#videos .eyebrow{color:var(--v17-gold)!important}.tv-badge{background:var(--v17-gold)!important;color:var(--v17-navy)!important}
#videos .video-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}#videos .tv-card{background:#0c203e!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:9px!important}#videos .tv-card *{opacity:1!important}#videos .video-title b{color:#fff!important;-webkit-text-fill-color:#fff!important}#videos .video-title small{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}#videos .video-title p{color:#dbe5f2!important;-webkit-text-fill-color:#dbe5f2!important}

/* CATEGORÍAS + NOTICIAS */
.home-duo-shell{background:#fff!important}.home-duo-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;align-items:start!important}.home-panel{padding:68px 0!important;min-width:0!important}.home-panel>.wrap{width:calc(100% - 56px)!important}.home-categories{background:#f7f8fa!important;border-right:1px solid #e4e8ef!important}.home-news{background:#fff!important}
.home-panel h2{font-size:44px!important;color:var(--v17-navy)!important;-webkit-text-fill-color:var(--v17-navy)!important}.home-panel .section-intro{font-size:13px!important;line-height:1.6!important;color:#5f6b7b!important}.home-panel .eyebrow{color:#b78b00!important}
.category-grid-pro{display:flex!important;gap:12px!important;overflow-x:auto!important}.category-grid-pro>*{flex:0 0 220px!important;min-height:220px!important;background:#0b203f!important;border:1px solid rgba(244,194,31,.24)!important;border-radius:10px!important;padding:22px!important;color:#fff!important}.category-grid-pro article>span,.category-grid-pro .category-more{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}.category-grid-pro h3{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:34px!important}.category-grid-pro p{color:#dbe4ef!important;-webkit-text-fill-color:#dbe4ef!important;font-size:12px!important}.category-cta{background:#06152f!important;border-radius:9px!important}.category-cta strong{color:#fff!important}.category-cta span{color:#d9e2ee!important}

#noticias .featured-news article{display:grid!important;grid-template-columns:40% 60%!important;background:#0b2b5d!important;border-radius:10px!important;overflow:hidden!important;color:#fff!important}#noticias .featured-news-media{min-height:200px!important}#noticias .featured-news-media img{width:100%!important;height:100%!important;object-fit:cover!important}#noticias .featured-news .card-body{padding:22px!important;background:#0b2b5d!important}#noticias .featured-news h3{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:28px!important}#noticias .featured-news p{color:#e7edf6!important;-webkit-text-fill-color:#e7edf6!important}#noticias .featured-news .card-meta,#noticias .featured-news .text-button{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}
#noticias .news-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}#noticias .content-card{background:#f7f8fa!important;border:1px solid #e1e6ed!important;border-radius:9px!important;overflow:hidden!important}#noticias .content-card h3{color:var(--v17-navy)!important}#noticias .content-card p{color:#5e6878!important}#noticias .read-more,#noticias .card-meta{color:#a97900!important}

/* CENTRO DEL PARTIDO */
#centro-partido{background:#06152f!important;color:#fff!important;padding:76px 0!important}#centro-partido h2{color:#fff!important;-webkit-text-fill-color:#fff!important}#centro-partido .section-intro{color:#d7e1ed!important}#centro-partido .eyebrow{color:var(--v17-gold)!important}
#centro-partido .match-center-grid{display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:18px!important}
#centro-partido .match-center-panel{border-radius:14px!important;padding:30px!important;min-height:290px!important;background:#0c2347!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
#centro-partido .primary-panel{background:linear-gradient(145deg,#1264d5,#153e82)!important}
#centro-partido .match-center-panel *{opacity:1!important;visibility:visible!important}
#centro-partido .match-center-empty span,#centro-partido .match-center-tag{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important;font-weight:900!important}
#centro-partido .match-center-empty h3,#centro-partido .match-center-panel h3,#centro-partido .match-center-panel strong,#centro-partido .match-center-panel b{color:#fff!important;-webkit-text-fill-color:#fff!important}
#centro-partido .match-center-empty p,#centro-partido .match-center-panel p,#centro-partido .match-center-panel small,#centro-partido .match-center-panel span{color:#eef5ff!important;-webkit-text-fill-color:#eef5ff!important}
#centro-partido .match-center-tag,#centro-partido .match-center-panel em,#centro-partido .match-center-empty span{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}
#centro-partido .match-center-empty h3{font-size:48px!important;line-height:.95!important;margin:16px 0!important;text-transform:uppercase!important}

/* CUERPO TÉCNICO */
#equipo .staff-summary{background:#071b3d!important;color:#fff!important;border-radius:10px!important}#equipo .staff-summary strong{color:var(--v17-gold)!important;-webkit-text-fill-color:var(--v17-gold)!important}#equipo .staff-summary span,#equipo .staff-summary p{color:#eef3f9!important;-webkit-text-fill-color:#eef3f9!important}.staff-card h3{color:var(--v17-navy)!important}.staff-card p{color:#606c7d!important}

/* CONTACTO / FOOTER */
#contacto.contact-section{background:#f5f6f8!important;color:var(--v17-navy)!important}#contacto h2{color:var(--v17-navy)!important;-webkit-text-fill-color:var(--v17-navy)!important}#contacto p,#contacto span{color:#566274!important}
footer{background:#06152f!important;color:#fff!important;border-top:3px solid var(--v17-gold)!important}footer b,footer strong{color:#fff!important}footer p,footer a,footer span{color:#e4ebf4!important}footer .footer-contact{color:var(--v17-gold)!important}

/* No permitir texto oscuro heredado dentro de superficies oscuras */
.hero-v17 *,#videos *,#centro-partido *,footer *{-webkit-text-fill-color:currentColor}

@media(max-width:1050px){
 .hero-v17-grid{grid-template-columns:1fr!important;gap:36px!important;padding-top:118px!important}.hero-match-card{max-width:720px!important}.hero-feature-row{grid-template-columns:repeat(2,1fr)!important}.home-duo-grid{grid-template-columns:1fr!important}.home-categories{border-right:0!important;border-bottom:1px solid #e4e8ef!important}#videos .video-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:760px){
 .site-header{height:68px!important;padding:0 16px!important}.brand img{width:44px!important;height:44px!important}.brand strong{font-size:18px!important}.main-nav{background:#06152f!important}.main-nav a{color:#fff!important}.menu-button{color:#fff!important}
 .hero-v17{min-height:0!important}.hero-v17-grid{padding-top:104px!important;padding-bottom:45px!important}.hero-v17 h1{font-size:clamp(52px,16vw,72px)!important}.hero-feature-row{grid-template-columns:1fr 1fr!important;gap:14px!important}.hero-match-card .next-match-card{grid-template-columns:1fr!important;text-align:center!important}.hero-next-match .next-place{text-align:center!important}.hero-match-head span{display:none!important}
 #videos .video-grid{grid-template-columns:1fr!important}.home-panel>.wrap{width:calc(100% - 28px)!important}#noticias .featured-news article{grid-template-columns:1fr!important}#noticias .news-grid{grid-template-columns:1fr!important}#centro-partido .match-center-grid{grid-template-columns:1fr!important}
}

/* ============================================================
   V17.5 · BLINDAJE DE CONTRASTE
   Reglas de máxima especificidad para impedir que estilos históricos
   vuelvan a pintar texto claro sobre blanco o texto oscuro sobre azul.
   ============================================================ */

/* CATEGORÍAS: tarjeta azul marino + texto blanco/dorado */
html body main #categorias .category-grid-pro > article.category-card-link,
html body main #categorias .category-grid-pro > [data-category-card] {
  background:linear-gradient(155deg,#08182f 0%,#0d3470 100%) !important;
  border:1px solid rgba(244,194,31,.34) !important;
  color:#ffffff !important;
  box-shadow:0 14px 32px rgba(6,21,47,.16) !important;
}
html body main #categorias .category-grid-pro > article.category-card-link h3,
html body main #categorias .category-grid-pro > [data-category-card] h3,
html body main #categorias .category-grid-pro > article.category-card-link > b,
html body main #categorias .category-grid-pro > [data-category-card] > b {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}
html body main #categorias .category-grid-pro > article.category-card-link > p,
html body main #categorias .category-grid-pro > article.category-card-link > small,
html body main #categorias .category-grid-pro > [data-category-card] > p,
html body main #categorias .category-grid-pro > [data-category-card] > small,
html body main #categorias .category-grid-pro .category-next {
  color:#e7eef8 !important;
  -webkit-text-fill-color:#e7eef8 !important;
  opacity:1 !important;
}
html body main #categorias .category-grid-pro > article.category-card-link > span,
html body main #categorias .category-grid-pro > [data-category-card] > span,
html body main #categorias .category-grid-pro .category-next b,
html body main #categorias .category-grid-pro .category-more {
  color:#f4c21f !important;
  -webkit-text-fill-color:#f4c21f !important;
  opacity:1 !important;
}
html body main #categorias .category-grid-pro .category-record span {
  background:rgba(255,255,255,.10) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border:1px solid rgba(255,255,255,.12) !important;
}
html body main #categorias .category-grid-pro article:after{opacity:.25 !important;border-color:rgba(244,194,31,.28) !important}

/* CTA debajo de categorías */
html body main #categorias .category-cta {
  background:#06152f !important;
  color:#ffffff !important;
}
html body main #categorias .category-cta strong {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
html body main #categorias .category-cta span {
  color:#dce6f3 !important;
  -webkit-text-fill-color:#dce6f3 !important;
}
html body main #categorias .category-cta .button {
  background:#f4c21f !important;
  color:#06152f !important;
  -webkit-text-fill-color:#06152f !important;
}

/* CENTRO DEL PARTIDO: blindar TODO el panel azul principal */
html body main #centro-partido article.match-center-panel.primary-panel[data-match-center-next],
html body main #centro-partido [data-match-center-next].primary-panel {
  background:linear-gradient(145deg,#1264d5 0%,#1552ad 55%,#153b7a 100%) !important;
  border-color:rgba(255,255,255,.24) !important;
  color:#ffffff !important;
}
html body main #centro-partido article.match-center-panel.primary-panel[data-match-center-next] *,
html body main #centro-partido [data-match-center-next].primary-panel * {
  opacity:1 !important;
  visibility:visible !important;
}
html body main #centro-partido [data-match-center-next] .match-center-empty h3,
html body main #centro-partido [data-match-center-next] .match-center-date strong,
html body main #centro-partido [data-match-center-next] .match-center-versus b,
html body main #centro-partido [data-match-center-next] .match-center-meta b,
html body main #centro-partido [data-match-center-next] strong,
html body main #centro-partido [data-match-center-next] b {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:0 1px 1px rgba(0,0,0,.12) !important;
}
html body main #centro-partido [data-match-center-next] .match-center-empty p,
html body main #centro-partido [data-match-center-next] .match-center-date span,
html body main #centro-partido [data-match-center-next] .match-center-meta small,
html body main #centro-partido [data-match-center-next] p,
html body main #centro-partido [data-match-center-next] small {
  color:#eef5ff !important;
  -webkit-text-fill-color:#eef5ff !important;
  opacity:1 !important;
}
html body main #centro-partido [data-match-center-next] .match-center-tag,
html body main #centro-partido [data-match-center-next] .match-center-empty > span,
html body main #centro-partido [data-match-center-next] em,
html body main #centro-partido [data-match-center-next] .rival-mark {
  color:#ffd23f !important;
  -webkit-text-fill-color:#ffd23f !important;
  opacity:1 !important;
}

/* El panel de último resultado permanece oscuro y legible */
html body main #centro-partido [data-match-center-last] {
  background:#0c2347 !important;
  color:#ffffff !important;
}
html body main #centro-partido [data-match-center-last] h3,
html body main #centro-partido [data-match-center-last] strong,
html body main #centro-partido [data-match-center-last] b {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
html body main #centro-partido [data-match-center-last] p,
html body main #centro-partido [data-match-center-last] span,
html body main #centro-partido [data-match-center-last] small {
  color:#e5edf7 !important;
  -webkit-text-fill-color:#e5edf7 !important;
}
html body main #centro-partido [data-match-center-last] .match-center-tag,
html body main #centro-partido [data-match-center-last] .result-score {
  color:#ffd23f !important;
  -webkit-text-fill-color:#ffd23f !important;
}

/* Evitar transparencia heredada en textos clave */
html body main #categorias .category-grid-pro *,
html body main #centro-partido .match-center-panel * {
  text-decoration-color:currentColor !important;
}


/* =========================================================
   V17.6 — MARCA DE AGUA + NOTICIAS LIMPIAS + LEGIBILIDAD
   ========================================================= */
/* Escudo institucional en marca de agua detrás del hero */
.hero-v17::after{
  content:""!important;
  position:absolute!important;
  width:min(48vw,620px)!important;
  aspect-ratio:1/1!important;
  right:3.5%!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  background:url('assets/logo.png') center/contain no-repeat!important;
  opacity:.075!important;
  filter:grayscale(1) brightness(1.65)!important;
  pointer-events:none!important;
  z-index:1!important;
}
.hero-v17-grid{z-index:2!important}

/* Centro del partido: escudo tenue, sin competir con el contenido */
#centro-partido{position:relative!important;overflow:hidden!important}
#centro-partido::before{
  content:""!important;
  position:absolute!important;
  width:520px!important;
  height:520px!important;
  right:-90px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  background:url('assets/logo.png') center/contain no-repeat!important;
  opacity:.035!important;
  filter:grayscale(1) brightness(1.7)!important;
  pointer-events:none!important;
}
#centro-partido .wrap{position:relative!important;z-index:2!important}
#centro-partido .match-center-intro,
#centro-partido .section-intro,
#centro-partido .section-top p{
  color:#f3f7ff!important;
  -webkit-text-fill-color:#f3f7ff!important;
  opacity:1!important;
  font-weight:500!important;
}

/* La noticia principal ya no lleva una etiqueta encima de la fotografía */
#noticias .featured-news-media{position:relative!important}
#noticias .featured-news-media>span{display:none!important}
#noticias .featured-news-media::before,
#noticias .featured-news-media::after{pointer-events:none!important}
#noticias .featured-news-media img{filter:none!important;opacity:1!important}
#noticias .featured-news .card-body{position:relative!important;z-index:2!important}
#noticias .featured-news .card-meta{font-weight:900!important}
#noticias .featured-news h3{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
#noticias .featured-news p{color:#f1f5fb!important;-webkit-text-fill-color:#f1f5fb!important;opacity:1!important}
#noticias .featured-news .text-button{color:#f6c400!important;-webkit-text-fill-color:#f6c400!important;font-weight:900!important}

@media(max-width:760px){
  .hero-v17::after{width:88vw!important;right:-24vw!important;opacity:.055!important}
  #centro-partido::before{width:380px!important;height:380px!important;right:-150px!important}
}

/* =========================================================
   V17.7 — CATEGORÍAS DESKTOP COMPLETAS
   - 4 tarjetas completas en escritorio
   - sin recorte horizontal en desktop/tablet grande
   - carrusel horizontal se conserva en móvil
   ========================================================= */
@media (min-width: 901px){
  html body main .home-duo-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body main #categorias.home-categories{
    border-right:0!important;
    border-bottom:1px solid #e4e8ef!important;
    width:100%!important;
    max-width:none!important;
  }
  html body main #categorias .carousel-shell{
    width:100%!important;
    overflow:visible!important;
  }
  html body main #categorias .category-grid-pro{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    overflow:visible!important;
    padding:2px 0 8px!important;
    scroll-snap-type:none!important;
  }
  html body main #categorias .category-grid-pro > *{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
    min-height:285px!important;
  }
  html body main #categorias .carousel-controls{
    display:none!important;
  }
  html body main #categorias .category-cta{
    margin-top:28px!important;
  }
}

@media (min-width: 621px) and (max-width: 900px){
  html body main #categorias .category-grid-pro{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  html body main #categorias .category-grid-pro > *{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
  html body main #categorias .carousel-controls{display:none!important}
}

@media (max-width: 620px){
  html body main #categorias .category-grid-pro{
    display:flex!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    gap:14px!important;
    padding-bottom:14px!important;
  }
  html body main #categorias .category-grid-pro > *{
    flex:0 0 84vw!important;
    width:84vw!important;
    min-width:84vw!important;
    max-width:84vw!important;
    scroll-snap-align:start!important;
  }
  html body main #categorias .carousel-controls{
    display:flex!important;
    justify-content:center!important;
  }
  html body main #categorias .category-cta{
    margin-top:20px!important;
    text-align:center!important;
  }
}

/* V17.8 — QR sitio oficial. Solo añade este bloque; no modifica módulos existentes. */
.web-qr-section{background:#07172d;color:#fff;padding:48px 0;border-top:1px solid rgba(255,196,0,.22);border-bottom:1px solid rgba(255,196,0,.22)}
.web-qr-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:38px;align-items:center}
.web-qr-copy h2{margin:8px 0 12px;color:#fff}.web-qr-copy p{max-width:650px;color:#dce6f3;margin:0 0 20px;line-height:1.65}.web-qr-copy strong{color:#ffc400}
.web-qr-card{background:#fff;border-radius:24px;padding:18px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.25);border:2px solid #ffc400}
.web-qr-card img{width:190px;height:190px;display:block}.web-qr-card strong{color:#07172d;font-size:1.15rem;margin-top:8px}.web-qr-card span{color:#526277;font-size:.86rem;margin-top:3px}
@media(max-width:760px){.web-qr-section{padding:36px 0}.web-qr-grid{grid-template-columns:1fr;gap:24px}.web-qr-card{max-width:280px;margin:0 auto;width:100%}.web-qr-copy{text-align:center}.web-qr-copy p{margin-left:auto;margin-right:auto}}
