/*
 * Instabooster — mobile menu (owner redesign 2026-11-12, Claude Design canvas): a full-height
 * sheet with the search, three shortcuts, every network as an accordion (one open at a time,
 * the whole row toggles), the secondary links and a bottom bar (account + cart). Hand-written
 * `.mm` system (new class names only). Markup: src/components/brands/ib/chrome/mobile-menu.tsx.
 * Render-blocking on every page (css-bundles.ts): the menu is in the HTML of every page.
 * Every rule in @layer ib, scoped to html[data-brand="ib"] .mm.
 */
@layer ib {
  html[data-brand="ib"] .mm { --pk:#e61c72; --pk-d:#cf1665; --grad:linear-gradient(135deg,#e61c72 0%,#ff4d94 100%); --ink:#14181f; --text:#4b5563; --muted:#5b6472; --line:#e8eaed; --tint:#f4f5f7; --ease:cubic-bezier(.2,.8,.2,1); background:#fff; font-family:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:16px; line-height:1.4; color:var(--ink); -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:transparent; }
  html[data-brand="ib"] .mm * { box-sizing:border-box; min-width:0; }
  html[data-brand="ib"] .mm :where(h1,h2,h3,p,ul,ol,li) { margin:0; padding:0; }
  html[data-brand="ib"] .mm :where(ul,ol) { list-style:none; }
  html[data-brand="ib"] .mm :where(a) { text-decoration:none; }
  html[data-brand="ib"] .mm :where(button) { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-align:left; }
  html[data-brand="ib"] .mm :where(svg) { display:block; flex:none; }
  html[data-brand="ib"] .mm :is(a,button,input):focus-visible { outline:3px solid rgba(230,28,114,.5); outline-offset:2px; }
  html[data-brand="ib"] .mm .mm-ic { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  html[data-brand="ib"] .mm .mm-round { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; color:var(--ink); transition:background-color .2s; }
  html[data-brand="ib"] .mm .mm-round:active { background:var(--tint); }
  html[data-brand="ib"] .mm .mm-top { flex:none; display:flex; align-items:center; height:64px; padding:0 12px 0 20px; }
  html[data-brand="ib"] .mm .mm-top img { height:26px; width:auto; margin-right:auto; }
  html[data-brand="ib"] .mm .mm-close { background:var(--tint); }
  html[data-brand="ib"] .mm .mm-body { flex:1; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:4px 16px 28px; scrollbar-width:none; }
  html[data-brand="ib"] .mm .mm-body::-webkit-scrollbar { display:none; }
  html[data-brand="ib"] .mm .mm-search { position:relative; display:flex; align-items:center; }
  html[data-brand="ib"] .mm .mm-search svg { position:absolute; left:16px; color:var(--muted); pointer-events:none; }
  html[data-brand="ib"] .mm .mm-search input { width:100%; height:52px; padding:0 48px 0 46px; border:1.5px solid transparent; border-radius:16px; background:var(--tint); font:inherit; font-size:16px; font-weight:600; color:var(--ink); outline:0; transition:border-color .2s,background-color .2s; }
  html[data-brand="ib"] .mm .mm-search input:focus-visible { outline:0; }
  html[data-brand="ib"] .mm .mm-search input::-webkit-search-cancel-button, html[data-brand="ib"] .mm .mm-search input::-webkit-search-decoration { -webkit-appearance:none; appearance:none; display:none; }
  html[data-brand="ib"] .mm .mm-search input::placeholder { color:var(--muted); font-weight:500; }
  html[data-brand="ib"] .mm .mm-search input:focus { border-color:var(--pk); background:#fff; }
  html[data-brand="ib"] .mm .mm-clear { position:absolute; right:4px; display:grid; place-items:center; width:44px; height:44px; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
  html[data-brand="ib"] .mm .mm-tile { display:flex; flex-direction:column; gap:10px; min-height:92px; padding:14px 12px 12px; border-radius:16px; background:var(--tint); transition:transform .2s var(--ease),background-color .2s; }
  html[data-brand="ib"] .mm .mm-tile:active { transform:scale(.97); background:#eceef1; }
  html[data-brand="ib"] .mm .mm-tile b { display:block; font-size:13.5px; font-weight:800; letter-spacing:-.025em; overflow-wrap:anywhere; }
  html[data-brand="ib"] .mm .mm-tile small { display:block; margin-top:1px; font-size:11.5px; font-weight:600; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-tile--pk { background:var(--grad); color:#fff; }
  html[data-brand="ib"] .mm .mm-tile--pk:active { background:var(--grad); }
  html[data-brand="ib"] .mm .mm-tile--pk small { color:#fff; }
  html[data-brand="ib"] .mm .mm-label { margin:26px 4px 6px; font-size:11.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-net { border-bottom:1px solid var(--line); }
  html[data-brand="ib"] .mm .mm-net:last-child { border-bottom:0; }
  html[data-brand="ib"] .mm .mm-net__row { display:flex; align-items:center; gap:14px; width:100%; min-height:68px; padding:8px 4px; border-radius:14px; transition:background-color .2s; }
  html[data-brand="ib"] .mm .mm-net__row:active { background:var(--tint); }
  html[data-brand="ib"] .mm .mm-net__logo { width:40px; height:40px; border-radius:11px; object-fit:contain; flex:none; }
  html[data-brand="ib"] .mm .mm-net__txt { flex:1; }
  html[data-brand="ib"] .mm .mm-net__name { display:block; font-size:16.5px; font-weight:700; letter-spacing:-.015em; }
  html[data-brand="ib"] .mm .mm-net__sub { display:block; margin-top:1px; font-size:12.5px; font-weight:500; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-caret { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; color:var(--muted); transition:transform .32s var(--ease),background-color .2s,color .2s; }
  html[data-brand="ib"] .mm .mm-net.is-open .mm-caret { transform:rotate(180deg); background:var(--ink); color:#fff; }
  html[data-brand="ib"] .mm .mm-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .34s var(--ease); }
  html[data-brand="ib"] .mm .mm-net.is-open .mm-panel { grid-template-rows:1fr; }
  html[data-brand="ib"] .mm .mm-panel__in { overflow:hidden; min-height:0; visibility:hidden; transition:visibility 0s .34s; }
  html[data-brand="ib"] .mm .mm-net.is-open .mm-panel__in { visibility:visible; transition-delay:0s; }
  html[data-brand="ib"] .mm .mm-list { margin:2px 0 14px; padding:6px; border-radius:18px; background:var(--tint); }
  @keyframes mm-in { from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none} }
  html[data-brand="ib"] .mm .mm-net.is-open .mm-item { animation:mm-in .36s var(--ease) both; }
  html[data-brand="ib"] .mm .mm-item { display:flex; align-items:center; gap:12px; min-height:50px; padding:6px 10px; border-radius:12px; font-size:14.5px; font-weight:600; transition:background-color .2s; }
  html[data-brand="ib"] .mm .mm-item:active { background:#fff; }
  html[data-brand="ib"] .mm .mm-item__ic { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:#fff; color:var(--ink); flex:none; }
  html[data-brand="ib"] .mm .mm-item__ic svg { width:17px; height:17px; }
  html[data-brand="ib"] .mm .mm-item__name { flex:1; display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; }
  html[data-brand="ib"] .mm .mm-best { display:inline-flex; align-items:center; height:19px; padding:0 8px; border-radius:999px; background:var(--grad); color:#fff; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; }
  html[data-brand="ib"] .mm .mm-price { font-size:13.5px; font-weight:700; color:var(--ink); white-space:nowrap; text-align:right; }
  html[data-brand="ib"] .mm .mm-price small { display:block; font-size:10.5px; font-weight:600; color:var(--muted); line-height:1.1; }
  html[data-brand="ib"] .mm .mm-all { color:var(--pk-d); font-weight:800; }
  html[data-brand="ib"] .mm .mm-all .mm-item__ic { background:var(--grad); color:#fff; }
  html[data-brand="ib"] .mm .mm-all__arrow { margin-left:auto; color:var(--pk-d); }
  html[data-brand="ib"] .mm .mm-more { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:48px; margin-top:10px; border-radius:14px; box-shadow:inset 0 0 0 1.5px var(--line); font-size:14px; font-weight:700; text-align:center; transition:background-color .2s; }
  html[data-brand="ib"] .mm .mm-more:active { background:var(--tint); }
  html[data-brand="ib"] .mm .mm-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 8px; margin-top:4px; }
  html[data-brand="ib"] .mm .mm-link { display:flex; align-items:center; gap:12px; min-height:48px; padding:0 6px; border-radius:12px; font-size:14.5px; font-weight:600; color:var(--text); }
  html[data-brand="ib"] .mm .mm-link:active { background:var(--tint); }
  html[data-brand="ib"] .mm .mm-link svg { color:var(--muted); }
  html[data-brand="ib"] .mm .mm-hit { display:flex; align-items:center; gap:12px; min-height:60px; padding:8px 4px; border-bottom:1px solid var(--line); animation:mm-in .3s var(--ease) both; }
  html[data-brand="ib"] .mm .mm-hit img { width:34px; height:34px; border-radius:9px; object-fit:contain; flex:none; }
  html[data-brand="ib"] .mm .mm-hit__txt { flex:1; }
  html[data-brand="ib"] .mm .mm-hit__name { display:block; font-size:15px; font-weight:700; }
  html[data-brand="ib"] .mm .mm-hit__net { display:block; font-size:12px; font-weight:500; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-count { margin:18px 4px 4px; font-size:13px; font-weight:600; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-empty { padding:44px 12px 0; text-align:center; }
  html[data-brand="ib"] .mm .mm-empty b { display:block; font-size:17px; font-weight:800; }
  html[data-brand="ib"] .mm .mm-empty p { margin-top:6px; font-size:14px; color:var(--text); }
  html[data-brand="ib"] .mm .mm-bar { flex:none; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:12px 16px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fff; }
  html[data-brand="ib"] .mm .mm-cta { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; min-height:52px; border-radius:999px; font-size:15px; font-weight:800; letter-spacing:-.01em; transition:transform .2s var(--ease); }
  html[data-brand="ib"] .mm .mm-cta:active { transform:scale(.97); }
  html[data-brand="ib"] .mm .mm-cta--line { box-shadow:inset 0 0 0 1.5px var(--ink); }
  html[data-brand="ib"] .mm .mm-cta--pk { background:var(--grad); color:#fff; }
  html[data-brand="ib"] .mm .mm-badge { display:grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:#fff; color:var(--pk-d); font-size:12px; font-weight:800; }
  @media (prefers-reduced-motion:reduce) {
    html[data-brand="ib"] .mm * { animation:none!important; transition:none!important; }
  }

  /* ── the real page: the menu is the whole sheet, fixed over the site (phones and tablets) ── */
  html[data-brand="ib"] .mm { position:fixed; inset:var(--onsite-top-bar, 0px) 0 0 auto; z-index:10050; display:flex; flex-direction:column; width:100%; max-width:480px; height:auto; transform:translateX(102%); visibility:hidden; transition:transform .34s cubic-bezier(.5,0,.8,.3), visibility 0s .34s; will-change:transform; text-align:left; }
  html[data-brand="ib"] .mm.is-open { transform:none; visibility:visible; transition:transform .42s var(--ease), visibility 0s 0s; box-shadow:-24px 0 60px -30px rgba(20,24,31,.45); }
  html[data-brand="ib"] .mm-back { position:fixed; inset:var(--onsite-top-bar, 0px) 0 0 0; z-index:10049; background:rgba(20,24,31,.5); opacity:0; visibility:hidden; transition:opacity .3s, visibility 0s .3s; }
  html[data-brand="ib"] .mm-back.is-open { opacity:1; visibility:visible; transition:opacity .3s, visibility 0s 0s; }
  @media (min-width:992px) {
    html[data-brand="ib"] .mm, html[data-brand="ib"] .mm-back { display:none !important; }
  }
  /* every network stays in the HTML; the short list only hides the rest */
  html[data-brand="ib"] .mm:not(.is-all) .mm-net.is-more { display:none; }
  html[data-brand="ib"] .mm :where(h2,h3) { font-family:inherit; }
  html[data-brand="ib"] .mm .mm-label { margin:26px 4px 6px; font-size:11.5px; font-weight:800; line-height:1.4; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); }
  html[data-brand="ib"] .mm .mm-top img { height:26px; width:auto; max-width:none; }
  html[data-brand="ib"] .mm .mm-top a { display:flex; align-items:center; min-height:44px; margin-right:auto; }
  html[data-brand="ib"] .mm .mm-search input { margin:0; box-shadow:none; -webkit-appearance:none; appearance:none; }
  html[data-brand="ib"] .mm .mm-item, html[data-brand="ib"] .mm .mm-link, html[data-brand="ib"] .mm .mm-hit, html[data-brand="ib"] .mm .mm-tile { color:var(--ink); }
  html[data-brand="ib"] .mm .mm-link { color:var(--text); }
  html[data-brand="ib"] .mm .mm-tile--pk, html[data-brand="ib"] .mm .mm-cta--pk { color:#fff; }
  html[data-brand="ib"] .mm .mm-all { color:var(--pk-d); }
  html[data-brand="ib"] .mm .mm-cta { border:0; color:var(--ink); cursor:pointer; }
  html[data-brand="ib"] .mm .mm-cta--pk { color:#fff; }
  html[data-brand="ib"] .mm .mm-link.is-on, html[data-brand="ib"] .mm .mm-item.is-on { color:var(--pk-d); font-weight:800; }
  html[data-brand="ib"] .mm .mm-hit__pack { display:inline-flex; align-items:center; height:19px; margin-left:8px; padding:0 8px; border-radius:999px; background:var(--grad); color:#fff; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; vertical-align:2px; white-space:nowrap; }
  html[data-brand="ib"] .mm .mm-hit__name mark { padding:0; background:none; color:var(--pk-d); }
  html[data-brand="ib"] .mm .mm-price small, html[data-brand="ib"] .mm .mm-tile small { font-family:inherit; }
  /* An on-site top bar stays above the sheet (the sheet starts under it: --onsite-top-bar); the
     chat bubble would sit on the «Carrito» button, so it steps aside while the menu is open. */
  html[data-brand="ib"].ib-menu-open .convlux-widget-container { visibility:hidden !important; pointer-events:none !important; }
  html[data-brand="ib"] .mm:focus { outline:0; }
  /* shortcuts: as wide as their label needs (three equal columns cut «Herramientas») */
  html[data-brand="ib"] .mm .mm-tiles { display:flex; }
  html[data-brand="ib"] .mm .mm-tile { flex:1 1 auto; padding:14px 10px 12px; }
  html[data-brand="ib"] .mm .mm-tile b, html[data-brand="ib"] .mm .mm-tile small { overflow-wrap:normal; white-space:nowrap; }
  html[data-brand="ib"] .mm .mm-tile small { font-size:11px; }
  html[data-brand="ib"] .mm :where(em,i) { font-style:normal; }
  html[data-brand="ib"] .mm .mm-all b { font-weight:800; }
  html[data-brand="ib"] .mm [hidden] { display:none !important; }
  @media (max-width:359.98px) {
    html[data-brand="ib"] .mm .mm-body { padding-left:12px; padding-right:12px; }
    html[data-brand="ib"] .mm .mm-tiles { gap:6px; }
    html[data-brand="ib"] .mm .mm-tile { padding:12px 8px 10px; }
    html[data-brand="ib"] .mm .mm-tile b { font-size:12px; }
    html[data-brand="ib"] .mm .mm-tile small { font-size:10.5px; }
    html[data-brand="ib"] .mm .mm-net__row { gap:10px; }
    html[data-brand="ib"] .mm .mm-item { gap:9px; padding:6px; font-size:13.5px; }
    html[data-brand="ib"] .mm .mm-bar { padding-left:12px; padding-right:12px; gap:8px; }
    html[data-brand="ib"] .mm .mm-cta { font-size:14px; gap:7px; }
  }
}
