/* Galeria de productos IDEALAB: tablero de marca en baldosas y visor */
html body .ixg2 { --v: #2CFF05; position: relative; container-type: inline-size; }
html body .ixg2__grid { --g: 10px; --u: calc((100cqw - 3 * var(--g)) / 4); list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: var(--u); gap: var(--g) !important; grid-auto-flow: dense; }
html body .ixg2__cell { position: relative; margin: 0 !important; padding: 0 !important; min-width: 0; overflow: hidden; border-radius: 22px; background: #111; }
html body .ixg2.is-js .ixg2__cell { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .55s ease, transform .75s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 50ms); }
html body .ixg2.is-js.is-in .ixg2__cell { opacity: 1; transform: none; }
html body .ixg2__cell::before, html body .ixg2__cell::marker { content: none !important; }
html body .ixg2__cell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); pointer-events: none; transition: box-shadow .25s ease; }
html body .ixg2__cell:hover::after, html body .ixg2__cell:focus-within::after { box-shadow: inset 0 0 0 2px var(--v); }
html body .ixg2__cell.s-w { grid-column: span 2; }
html body .ixg2__cell.s-h { grid-row: span 2; }
html body .ixg2__cell.s-x { grid-column: span 2; grid-row: span 2; }
html body .ixg2__cell.s-y { grid-column: span 3; grid-row: span 2; }
html body .ixg2__cell.s-f { grid-column: 1 / -1; }
html body .ixg2__cell img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; border-radius: 0 !important; }
html body .ixg2__item { position: absolute !important; inset: 0; display: block !important; width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; cursor: zoom-in; transform: none !important; }
html body .ixg2__item::before, html body .ixg2__item::after { display: none !important; }
html body .ixg2__item:focus-visible { outline: none !important; }
html body .ixg2__item img { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
html body .ixg2__item:hover img { transform: scale(1.04); }
html body .ixg2__tag { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 13px; border-radius: 999px; background: #0b0d0b; color: #fff; font: 700 13px/1.1 var(--ix-font-display, system-ui, sans-serif); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
html body .ixg2__item:hover .ixg2__tag, html body .ixg2__item:focus-visible .ixg2__tag { opacity: 1; transform: none; }
html body .ixg2__k { background: #0b0d0b; }
html body .ixg2__k a { position: absolute; inset: 0; display: block; padding: 3cqw 3.4cqw; box-sizing: border-box; color: #fff !important; text-decoration: none !important; }
html body .ixg2__k b { display: block; white-space: nowrap; font: 900 calc(var(--fs) * 1cqw)/1 var(--ix-font-display, "Segoe UI Black", sans-serif); letter-spacing: -.045em; color: #fff; }
html body .ixg2__k b:first-child { color: var(--v); }
html body .ixg2__k small { position: absolute; left: 3.4cqw; bottom: 2.6cqw; font: 600 13px/1.2 var(--ix-font-display, system-ui, sans-serif); color: #c9cdc9; }
html body .ixg2__k i { position: absolute; right: 2.2cqw; bottom: 2cqw; padding: 10px 15px; border-radius: 999px; background: var(--v); color: #061003; font: 700 14px/1 var(--ix-font-display, system-ui, sans-serif); font-style: normal; transition: background .2s ease; }
html body .ixg2__k a:hover i { background: #fff; }
html body .ixg2__k.is-verde { background: var(--v); }
html body .ixg2__k.is-verde b, html body .ixg2__k.is-verde b:first-child { color: #061003; }
html body .ixg2__k.is-verde small { color: #103b06; }
html body .ixg2__k.is-verde i { background: #061003; color: #fff; }
html body .ixg2__k.is-verde a:hover i { background: #fff; color: #061003; }
html body .ixg2__k.is-verde:hover::after, html body .ixg2__k.is-verde:focus-within::after { box-shadow: inset 0 0 0 2px #061003; }
@media (max-width: 920px) {
  html body .ixg2__grid { --g: 8px; --u: calc((100cqw - var(--g)) / 2); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .ixg2__cell { border-radius: 16px; }
  html body .ixg2__cell.s-y { grid-column: span 2; grid-row: span 1; }
  html body .ixg2__k a { padding: 5cqw; }
  html body .ixg2__k b { font-size: calc(var(--fsm) * 1cqw); }
  html body .ixg2__k small { left: 5cqw; bottom: 5.4cqw; font-size: 12px; }
  html body .ixg2__k i { right: 4cqw; bottom: 4cqw; padding: 9px 13px; font-size: 13px; }
}

/* Visor */
.ixg2-v { position: fixed; inset: 0; z-index: 100000; display: none; background: rgba(5, 7, 5, .96); color: #fff; font-family: var(--ix-font-display, system-ui, sans-serif); }
.ixg2-v.is-open { display: grid; grid-template-columns: minmax(0, 1fr) 340px; animation: ixg2-in .25s ease; }
@keyframes ixg2-in { from { opacity: 0; } to { opacity: 1; } }
.ixg2-v__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 28px 76px; touch-action: pan-y; }
.ixg2-v__stage img { display: block; max-width: 100%; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); width: auto; height: auto; border-radius: 6px; animation: ixg2-pop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes ixg2-pop { from { opacity: .3; transform: scale(.975); } to { opacity: 1; transform: none; } }
.ixg2-v__info { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px 30px; border-left: 1px solid rgba(255, 255, 255, .1); }
.ixg2-v__count { font: 600 12px/1 "JetBrains Mono", Consolas, monospace; letter-spacing: .14em; color: #8a908a; }
.ixg2-v__cat { font: 600 11.5px/1 "JetBrains Mono", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: #2CFF05; }
.ixg2-v__info h3 { margin: 0; color: #fff; font: 800 30px/1.08 var(--ix-font-display, system-ui, sans-serif); letter-spacing: -.02em; }
.ixg2-v__info p { margin: 0; color: #c9cdc9; font-size: 15.5px; line-height: 1.45; }
.ixg2-v__go { display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 8px; border-radius: 999px; background: #2CFF05; color: #061003 !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.ixg2-v__go:hover { background: #fff; }
.ixg2-v button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(10, 10, 10, .72); color: #fff; font-size: 21px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ixg2-v button:hover, .ixg2-v button:focus-visible { background: #2CFF05; border-color: #2CFF05; color: #061003; outline: none; }
.ixg2-v__x { top: 18px; right: 18px; z-index: 2; }
.ixg2-v__p { left: 16px; top: 50%; margin-top: -24px; }
.ixg2-v__n { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 920px) {
  .ixg2-v.is-open { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .ixg2-v__stage { padding: 62px 12px 10px; }
  .ixg2-v__stage img { max-height: 100%; min-height: 0; }
  .ixg2-v__info { gap: 7px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .ixg2-v__info h3 { font-size: 21px; }
  .ixg2-v__info p { font-size: 14px; }
  .ixg2-v__go { min-height: 46px; margin-top: 4px; }
  .ixg2-v__x { top: 10px; right: 10px; }
  .ixg2-v__p, .ixg2-v__n { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html body .ixg2__item img { transition: none; }
  .ixg2-v.is-open, .ixg2-v__stage img { animation: none; }
}
