/* Minor League Argentina · Mobile hardening 2026-11-02 */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,iframe,canvas{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%}

@media (max-width:820px){
  body{overflow-x:hidden!important}
  .wrap,.container,.section-inner,.hero-inner,.cta-inner,.footer-inner,.header-inner,.nav-inner,.seo-header-inner,.bottom-inner,.sede-banner-inner{width:100%!important;max-width:100%!important;padding-left:18px!important;padding-right:18px!important}
  .hero-inner>*,.hero-grid>*,.format-grid>*,.form-grid>*,.grid>*,.product-grid>*,.benefit-grid>*,.steps>*,.actions-grid>*,.deal-grid>*,.partners-grid>*,.divisions-grid>*,.dupr-grid>*,.nations-grid>*{min-width:0}
  h1,.section-h,.section-title{overflow-wrap:anywhere}
  p,li,.lede,.section-lede,.hero-lede{overflow-wrap:anywhere}
  .hero-inner,.hero-grid,.format-grid,.form-grid,.product-grid,.benefit-grid,.steps,.actions-grid,.deal-grid,.partners-grid,.divisions-grid,.dupr-grid,.nations-grid,.games-distribution,.pricing-card{grid-template-columns:1fr!important}
  .hero-ctas,.cta-buttons,.bottom-actions,.actions,.joola-main-actions,.hero-joola-offer-actions,.toolbar,.other-card,.bottom-inner,.sede-banner-inner,.header{flex-wrap:wrap!important}
  .hero-ctas .btn,.cta-buttons .btn,.bottom-actions a,.joola-main-actions a,.hero-joola-offer-actions a{max-width:100%}
  table{max-width:100%}
  .card,.deal-card,.confirm-box,.hero-card,.joola-main-card{max-width:100%}

  /* Main MiLP navigation */
  .top-bar{font-size:10px!important;line-height:1.35!important;padding:8px 12px!important}
  .nav-inner{padding-top:8px!important;padding-bottom:8px!important;gap:8px!important}
  .nav-logo img{height:44px!important;width:auto!important}
  .nav-actions{gap:7px!important}
  .nav-cta{display:none!important}
  .nav-joola img{width:72px!important;max-height:28px!important;object-fit:contain}
  .menu-toggle{flex:0 0 auto!important}
  .nav-links{max-width:100vw!important}
  .nav-links.is-active,.nav-links.active{overflow-y:auto!important;max-height:calc(100vh - 80px)!important}

  /* Main MiLP content */
  .hero{padding-left:0!important;padding-right:0!important}
  .hero-logo{max-width:250px!important;margin:0 auto!important}
  .hero h1{font-size:clamp(38px,11vw,58px)!important;line-height:.98!important}
  .hero p.lede,.hero-lede{font-size:15px!important;line-height:1.55!important}
  .hero-ctas{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .hero-ctas .btn{width:100%!important;text-align:center!important}
  .registration-helper{max-width:100%!important}
  .hero-main-sponsor{max-width:100%!important}
  .hero-joola-offer{flex-direction:column!important;align-items:stretch!important;width:100%!important}
  .hero-joola-offer-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .joola-main-top,.joola-main-benefits,.joola-main-promo{grid-template-columns:1fr!important;display:grid!important;gap:18px!important}
  .joola-main-card{padding:22px 18px!important}
  .joola-main-logo-box img{max-width:180px!important}
  .event-card,.match-card,.dupr-card,.nations-header{max-width:100%!important;overflow:hidden}
  .event-days,.event-info,.footer-top,.footer-bottom{flex-wrap:wrap!important}
  .team-grid{grid-template-columns:1fr 1fr!important}
  .stats-inner{grid-template-columns:1fr 1fr!important}
  .partners-grid{gap:12px!important}
  .partner{min-height:0!important}
  .footer-top{gap:24px!important}

  /* Jugadores */
  .header-inner{gap:10px!important}
  .header-logo img{height:44px!important;width:auto!important}
  .header-nav{gap:8px!important}
  .header-cta{padding:9px 11px!important;font-size:11px!important}
  .events{grid-template-columns:1fr!important}
  .pricing-card{padding:22px!important}

  /* JOOLA public header */
  .seo-header-inner{padding-top:9px!important;padding-bottom:9px!important;gap:10px!important}
  .seo-home-brand{gap:8px!important;min-width:0!important}
  .seo-home-brand img.minor{height:40px!important;width:auto!important}
  .seo-home-brand img.joola{height:22px!important;width:auto!important}
  .seo-brand-sep{height:28px!important}
  .seo-header-nav{gap:7px!important;flex:0 0 auto!important}
  .seo-header-nav a:not(.seo-cta){display:none!important}
  .seo-header-nav .seo-cta{padding:8px 10px!important;font-size:10px!important;white-space:nowrap}

  /* JOOLA catalog / promo */
  .top{font-size:10px!important;line-height:1.35!important;padding:8px 12px!important}
  .brand img{height:28px!important}
  .brand-copy{display:none!important}
  .head-actions{gap:8px!important}
  .head-actions a{display:none!important}
  .cart-btn{padding:9px 11px!important;font-size:11px!important;white-space:nowrap}
  .product-grid{gap:14px!important}
  .product{width:100%!important;max-width:100%!important}
  .visual{height:230px!important}
  .body{padding:17px!important}
  .price-row{align-items:flex-start!important;gap:8px!important}
  .price-main{font-size:29px!important}
  .featured-copy{font-size:12px!important}
  .toolbar{align-items:stretch!important;flex-direction:column!important}
  .source-link{display:inline-flex!important;width:100%!important;justify-content:center!important;text-align:center!important;padding:11px!important;border:1px solid #e5e7eb!important;border-radius:8px!important}
  .drawer{width:100vw!important;max-width:100vw!important}
  .drawer-head,.drawer-body,.drawer-foot{padding-left:16px!important;padding-right:16px!important}
  .coupon-row,.buyer-grid{grid-template-columns:1fr!important}
  .coupon-row button{min-height:44px!important;padding:10px 14px!important}
  .buyer input,.buyer textarea,.coupon-row input,.field select{font-size:16px!important}
  .product-actions{grid-template-columns:1fr 44px!important}
  .product-actions .add{min-height:44px!important}
  .other-card{padding:24px 20px!important;align-items:stretch!important}
  .other-card a{width:100%!important;text-align:center!important}

  /* JOOLA forms/status */
  .form-copy{position:static!important}
  .form-grid,.grid{grid-template-columns:1fr!important}
  .full{grid-column:auto!important}
  .card{padding:22px 18px!important}
  .coupon{font-size:clamp(18px,6vw,26px)!important;overflow-wrap:anywhere!important}
  input,select,textarea{font-size:16px!important}

  /* Sedes */
  .container{padding-top:22px!important;padding-bottom:28px!important}
  .header{flex-direction:column!important;text-align:center!important;padding:24px 18px!important;margin-bottom:24px!important}
  .header-info h1{font-size:36px!important}
  .header-info p{font-size:15px!important}
  .revenue-banner{padding:24px 16px!important;margin-bottom:24px!important}
  .revenue-banner h2{font-size:40px!important}
  .revenue-banner p{font-size:14px!important}
  .deal-card{padding:22px 18px!important}
  .confirm-box{padding:24px 18px!important}
  .btn-submit{width:100%!important;padding:15px 16px!important}
}

@media (max-width:480px){
  .wrap,.container,.section-inner,.hero-inner,.cta-inner,.footer-inner,.header-inner,.nav-inner,.seo-header-inner,.bottom-inner,.sede-banner-inner{padding-left:14px!important;padding-right:14px!important}
  .hero h1{font-size:clamp(34px,12vw,48px)!important}
  .section-h,.section-title,h2{font-size:clamp(30px,10vw,42px)!important}
  .team-grid,.stats-inner{grid-template-columns:1fr!important}
  .hero-logo{max-width:210px!important}
  .joola-main-card{padding:18px 14px!important}
  .seo-home-brand img.minor{height:36px!important}
  .seo-home-brand img.joola{height:20px!important}
  .visual{height:210px!important}
  .price-row{flex-direction:column!important}
  .price-benefit{text-align:left!important}
  .drawer{height:100dvh!important}
  .drawer-body{padding-bottom:24px!important}
}
