/* ---- top nav bar ---- */
.mose-menu{ display:flex; justify-content:center; }
.mose-menu__list{ display:flex; gap:40px; align-items:center; list-style:none; margin:0; padding:0; }
.mose-menu__item{ position:relative; }
.mose-menu__link{
  display:inline-block; text-decoration:none !important; text-transform:uppercase;
  font-family:"Archivo-SemiBold", Archivo, sans-serif;
  font-weight:600; font-size:18px; letter-spacing:normal; color:#111;
  transition:color .15s ease; white-space:nowrap;
}
.mose-menu__item:hover > .mose-menu__link,
.mose-menu__link:hover{ color:#e6007e; }

/* ---- panels: hidden until item hover (pure CSS, unique classes so theme JS can't touch them) ---- */
.mose-menu__item > .mmpanel,
.mose-menu__item > .mose-menu__sub{ opacity:0; visibility:hidden; pointer-events:none; }
.mose-menu__item:hover > .mmpanel,
.mose-menu__item:hover > .mose-menu__sub,
.mose-menu__item.is-open > .mmpanel,
.mose-menu__item.is-open > .mose-menu__sub{ opacity:1; visibility:visible; pointer-events:auto; }

/* Hide the header row's own bottom hairline while a panel is open — with
   the panel's box-shadow already separating it from the page, that hairline
   just reads as a stray extra seam wedged between the nav and the panel. */
.elementor-location-header:has(.mose-menu__item:hover) .elementor-element-8651dff,
.elementor-location-header:has(.mose-menu__item.is-open) .elementor-element-8651dff{
  border-bottom-color:transparent !important;
}

/* Full-width white panel spanning edge-to-edge under the header (like the original);
   the CONTENT is centered via .__inner max-width. top = header height. */
.mmpanel{
  position:fixed; top:var(--mm-top, 82px); left:0; right:0; width:100%;
  z-index:99999; background:#fff; border-radius:0;
  box-shadow:0 18px 32px -14px rgba(0,0,0,.20);
  padding:24px 0;
  transition:opacity .18s ease, visibility .18s ease;
}
.mmpanel::before{ content:""; position:absolute; top:-16px; left:0; right:0; height:16px; } /* hover bridge */
.mmega__inner{ max-width:940px; margin:0 auto; padding:0 24px; }
.mmemp__inner{ max-width:760px; margin:0 auto; padding:0 24px; display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }

/* hero (featured card) */
.mmega__feature{ display:block; position:relative; height:300px; border-radius:16px; overflow:hidden; margin-bottom:14px; text-decoration:none; background:#eef0f4; }
.mmega__feature-img{ display:block; width:100%; height:100%; }
.mmega__feature-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.mmega__feature:hover .mmega__feature-img img{ transform:scale(1.04); }
.mmega__feature::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 55%); }
.mmega__feature-name{ position:absolute; left:20px; bottom:16px; z-index:2; color:#fff; font-weight:800; text-transform:uppercase; letter-spacing:.06em; font-size:26px; text-shadow:0 2px 14px rgba(0,0,0,.4); }

/* model grid */
.mmega__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.mmega__card{ display:flex; align-items:center; gap:12px; padding:8px; border-radius:12px; text-decoration:none; color:#1a1a1a; transition:background .15s ease, transform .15s ease; }
.mmega__card:hover{ background:#f5f5f5; transform:translateX(3px); }
.mmega__thumb{ position:relative; width:52px; height:52px; flex:0 0 52px; border-radius:14px; overflow:hidden; background:#eef0f4; }
.mmega__thumb-front,.mmega__thumb-back{ position:absolute; inset:0; transition:opacity .3s ease; }
.mmega__thumb-front img,.mmega__thumb-back img{ width:100%; height:100%; object-fit:cover; display:block; }
.mmega__thumb-back{ opacity:0; }
.mmega__card:hover .mmega__thumb-front{ opacity:0; }
.mmega__card:hover .mmega__thumb-back{ opacity:1; }
.mmega__name{ font-weight:700; text-transform:uppercase; letter-spacing:.04em; font-size:13px; transition:color .15s ease; }
.mmega__card:hover .mmega__name{ color:#e6007e; }

/* company 2x2 */
.mmemp__card{ position:relative; display:block; height:150px; border-radius:16px; overflow:hidden; text-decoration:none; background:#eef0f4; }
.mmemp__img{ position:absolute; inset:0; width:100%; height:100%; }
.mmemp__img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.mmemp__card:hover .mmemp__img img{ transform:scale(1.05); }
.mmemp__card::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.mmemp__name{ position:absolute; left:16px; bottom:12px; z-index:2; color:#fff; font-weight:800; text-transform:uppercase; letter-spacing:.04em; font-size:17px; text-shadow:0 2px 10px rgba(0,0,0,.45); }

/* simple text dropdown */
.mose-menu__sub{ position:absolute; left:0; top:100%; z-index:99999; list-style:none; margin:0; padding:8px 0; background:#fff; border:1px solid #eee; min-width:210px; box-shadow:0 12px 30px rgba(0,0,0,.08); }
.mose-menu__sub li a{ display:block; padding:9px 20px; text-decoration:none; text-transform:uppercase; font-weight:600; color:#111; }
.mose-menu__sub li a:hover{ color:#e6007e; }

@media (max-width:860px){
  .mmpanel{ position:static; transform:none; width:auto; box-shadow:none; padding:8px 0; }
  .mmega__grid{ grid-template-columns:1fr; }
  .mmemp__inner{ grid-template-columns:1fr; }
  .mmega__feature{ height:150px; }
}

/* ============================================================
   MOBILE (≤1024px): burger replaces the inline list; the drawer
   chrome (.mose-mnav*) is styled by the theme — only the plugin's
   own cloned card classes are styled here.
   ============================================================ */
.mose-menu button.mose-menu__burger{ display:none !important; }
@media (max-width:1024px){
  .mose-menu__list{ display:none; }
  .mose-menu .mmpanel{ display:none; }
  .mose-menu{ justify-content:flex-end; }
  /* high specificity + !important: the theme's global button reset
     (pink border, block display, own padding) must not win here */
  .mose-menu button.mose-menu__burger{
    display:flex !important; flex-direction:column; justify-content:center; align-items:center; gap:5px;
    width:44px !important; height:44px !important; padding:10px !important;
    background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
    cursor:pointer; -webkit-tap-highlight-color:transparent;
  }
  .mose-menu button.mose-menu__burger span{
    display:block; height:2px; width:24px; flex:0 0 auto;
    background:#111; border-radius:2px;
  }
  /* header row: logo left, cart then burger on the right */
  .elementor-location-header .elementor-widget-shortcode:has(.mose-menu){ order:3; }
}

/* drawer clones — models accordion (DEPORTIVAS) */
.mose-mnav__models .mmega__feature{ height:160px; border-radius:16px; margin:0 0 10px; }
.mose-mnav__models .mmega__grid{ display:block; }
.mose-mnav__models .mmega__card{ border-radius:12px; padding:10px 12px; }
.mose-mnav__models .mmega__thumb{ width:46px; height:46px; flex:0 0 46px; }
.mose-mnav__models .mmega__name{ font-size:15px; }

/* drawer clones — company cards (EMPRESA) */
.mose-mnav__sub .mmemp__card{ height:120px; border-radius:14px; margin-bottom:10px; }
.mose-mnav__sub .mmemp__name{ font-size:17px; left:14px; bottom:12px; }
