/* Mobile website navigation. Existing desktop layout remains the source of truth. */
.vl-mobile-hub, .vl-mobile-bottom, .vl-mobile-section-back { display: none; }
.vl-mobile-search-filters > summary { display: none; }
@media (max-width: 767px) {
  html.vl-mobile-browse { scroll-padding-top: 86px; }
  html.vl-mobile-browse body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  html.vl-mobile-browse [data-mobile-away] { display: none !important; }
  html.vl-mobile-browse .vl-mobile-hub:not([hidden]) { display: block; }
  html.vl-mobile-browse #main-content > .vl-discovery-nav { display: none; }
  html.vl-mobile-browse .vl-mobile-section-back:not([hidden]) { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f1f6fc; color: #163f6b; }
  .vl-mobile-section-back > a { flex: 0 0 auto; font-size: 14px; font-weight: 750; }
  .vl-mobile-section-back > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .vl-mobile-hub { padding: 24px 16px; background: #f3f7fc; color: #173754; }
  .vl-mobile-hub .vl-mobile-eyebrow { color: #0962b8; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
  .vl-mobile-hub h2 { color: #163a60; font-size: 23px; line-height: 1.2; font-weight: 850; margin: 6px 0 8px; }
  .vl-mobile-hub > p { font-size: 14px; line-height: 1.5; }
  .vl-mobile-hub-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .vl-mobile-hub-heading h2 { font-size: 22px; margin-bottom: 0; max-width: 240px; }
  .vl-mobile-map-link { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; flex-shrink: 0; color: #075dab; font-size: 12px; font-weight: 750; }
  .vl-mobile-intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 19px 0 22px; }
  .vl-mobile-intents a { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 48px; padding: 8px 4px; border: 1px solid #d9e5f2; border-radius: 12px; background: #fff; color: #1a466e; font-size: 12px; font-weight: 750; text-decoration: none; }
  .vl-mobile-intents i { color: #0866b9; }
  .vl-mobile-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vl-mobile-stories > a { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #dbe5ef; color: #183956; text-decoration: none; }
  .vl-mobile-stories > a[hidden] { display: none; }
  .vl-mobile-stories img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .vl-mobile-stories a > span { display: block; padding: 12px 10px 14px; }
  .vl-mobile-stories strong { display: block; font-size: 14px; line-height: 1.35; }
  .vl-mobile-stories small { display: block; margin-top: 4px; color: #5f7387; font-size: 11px; }
  .vl-mobile-stories a > i { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #164b7d; background: #fff; }
  .vl-mobile-passport-link { display: flex; align-items: center; gap: 12px; padding: 18px 14px; margin-top: 18px; border-radius: 16px; --vl-text: #fff; --vl-muted: #e8f2ff; color: #fff; background: #154b80; text-decoration: none; }
  .vl-mobile-passport-link > i { display: grid; place-items: center; flex: 0 0 42px; height: 48px; color: #163d62; background: #ffdc93; border-radius: 10px; font-size: 22px; }
  .vl-mobile-passport-link > span:nth-child(2) { flex: 1; min-width: 0; }
  .vl-mobile-passport-link small, .vl-mobile-passport-link strong, .vl-mobile-passport-link span > span { display: block; color: #fff; }
  .vl-mobile-passport-link small { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; opacity: .85; }
  .vl-mobile-passport-link strong { font-size: 16px; margin: 3px 0; }
  .vl-mobile-passport-link span > span { font-size: 11px; opacity: .9; }
  .vl-mobile-secondary-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 10px 0 12px; }
  .vl-mobile-secondary-links a { display: flex; align-items: center; gap: 6px; min-height: 44px; color: #205c94; font-size: 12px; font-weight: 650; }
  .vl-mobile-hub details { border-top: 1px solid #d5e2f0; padding-top: 12px; }
  .vl-mobile-hub summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 8px 0; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
  .vl-mobile-hub summary::-webkit-details-marker { display: none; }
  .vl-mobile-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .vl-mobile-more :is(a, button) { color: #145a9c; padding: 10px 6px; font-size: 13px; }
  html.vl-mobile-browse .vl-mobile-bottom { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #d7e2ef; background: #fff; box-shadow: 0 -4px 20px #153f6310; }
  .vl-mobile-bottom :is(a, button) { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 11px; min-height: 48px; background: transparent; border: 0; color: #53677d; font: 650 11px/1.2 system-ui, sans-serif; text-decoration: none; }
  .vl-mobile-bottom i { font-size: 19px; }
  .vl-mobile-bottom [aria-current] { color: #075dab; background: #edf5ff; }
  html.vl-mobile-browse #accountFloatingInvite { bottom: calc(146px + env(safe-area-inset-bottom)); }
  html.vl-mobile-browse body #welcomeMusicToggle { bottom: calc(88px + env(safe-area-inset-bottom)) !important; }
  html.vl-mobile-browse :is(#webMascot, #webMascotRestore) { bottom: calc(88px + env(safe-area-inset-bottom)); }
  html.vl-mobile-browse.vl-mobile-typing :is(.vl-mobile-bottom, #accountFloatingInvite, #welcomeMusicToggle, #webMascot, #webMascotRestore) { display: none !important; }
  html.vl-mobile-browse :is(#welcomeSearch, #searchInput, #publicEntrepreneurSearch, #placeCantonFilter) { font-size: 16px; }
  .vl-mobile-search-filters { border: 1px solid #dbe6f3; border-radius: 12px; margin: 12px 0; background: #f7faff; }
  .vl-mobile-search-filters > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px; min-height: 44px; color: #173f6b; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
  .vl-mobile-search-filters > summary::-webkit-details-marker { display: none; }
  .vl-mobile-search-filters .discovery-controls { padding: 0 12px 12px; margin: 0; }
  html.vl-mobile-browse :is(.vl-mobile-more a, #categoryScroll button, #mapa button, .vl-mobile-section-back a) { min-height: 44px; }
  html.vl-mobile-browse .vl-mobile-more a { display: flex; align-items: center; }
  html.vl-mobile-browse #inicio .vl-editorial-quicklinks > a[href="#loja-en-imagenes"],
  html.vl-mobile-browse #inicio .vl-editorial-quicklinks > a[href="#loja-en-video"] { display: none; }

  html.vl-mobile-browse #inicio .vl-welcome-actions,
  html.vl-mobile-browse #inicio .vl-mobile-updates,
  html.vl-mobile-browse #inicio .vl149-category-link { display: none; }
  html.vl-mobile-browse #inicio #heroSubtitle { font-size: 14px; line-height: 1.5; }
  html.vl-mobile-browse #inicio .vl-welcome-copy { padding-block: 20px; }
  html.vl-mobile-browse #inicio .vl-editorial-quicklinks { gap: 6px; }
  html.vl-mobile-browse #inicio .vl-editorial-quicklinks a { padding: 9px 10px; font-size: 12px; }
}

@media (max-width: 767px) {
  html.vl-mobile-browse #inicio .vl-welcome-visual { min-height: 230px; border-radius: 0 0 22px 22px; }
  html.vl-mobile-browse #inicio .vl-mobile-intro { padding: 30px 20px 32px; background: linear-gradient(transparent, #102f50f2); }
  html.vl-mobile-browse #inicio .vl-mobile-intro h1 { font-size: 32px; margin-bottom: 7px; }
  html.vl-mobile-browse #inicio .vl-mobile-intro p { font-size: 13px; max-width: 290px; }
  html.vl-mobile-browse #inicio .vl-welcome-copy { padding: 0 16px 8px; }
  html.vl-mobile-browse #inicio .vl-welcome-search { margin-top: -12px; border-radius: 14px; }
  html.vl-mobile-browse #inicio .vl-editorial-quicklinks { display: none; }
  .vl-mobile-more button { border: 0; background: transparent; text-align: left; min-height: 44px; }
  .vl-mobile-hub { padding-top: 18px; background: #f6f9fc; }
}

@media (max-width: 767px) {
  html.vl-mobile-browse .vl-mobile-business { --vl-text:#173754; --vl-muted:#526a80; --vl-accent:#075dab; display:flex; align-items:center; gap:12px; margin:16px 0; padding:15px 12px; border:1px solid #bcd7ee; border-radius:16px; background:linear-gradient(120deg,#e8f3ff,#fff7e6); color:#173754; text-decoration:none; }
  .vl-mobile-business-icon { display:grid; place-items:center; flex:0 0 40px; height:44px; border-radius:12px; background:#075dab; color:#fff; }
  .vl-mobile-business > span:nth-child(2) { flex:1; min-width:0; }
  .vl-mobile-business small { display:block; color:#075dab; font-size:10px; font-weight:800; letter-spacing:.08em; }
  .vl-mobile-business strong { display:block; margin:4px 0; color:#173754; font-size:14px; line-height:1.35; }
  .vl-mobile-business span > span { display:block; color:#526a80; font-size:12px; }
  .vl-mobile-business > b { color:#075dab; font-size:22px; }
  .vl-mobile-business:focus-visible { outline:3px solid #075dab; outline-offset:3px; }
}


@media (max-width:767px) {
  html.vl-mobile-browse.vl-mobile-overlay-open body :is(#accountFloatingInvite,#welcomeMusicToggle,#webMascot,#webMascotRestore,.vl-mobile-bottom) { display:none!important; pointer-events:none!important; }
  html.vl-mobile-browse body #accountFloatingInvite { max-width:calc(100vw - 32px); right:12px; bottom:calc(148px + env(safe-area-inset-bottom))!important; }
  html.vl-mobile-browse body #welcomeMusicToggle { top:auto!important; right:12px!important; bottom:calc(88px + env(safe-area-inset-bottom))!important; width:44px!important; height:44px!important; }
  html.vl-mobile-browse .vl-mobile-business-icon { background:#e0efff; color:#075dab; }
}
