/*
 * Instabooster — content area: hand-written additions/fixes on top of live.css (generated, do not
 * edit). Plain CSS served as is (no build step). Keep every rule inside @layer ib and scoped to
 * html[data-brand="ib"] (add :where(:has(.ibm-<template>)) for page-specific rules), like live.css.
 */
@layer ib {
/* == legal (aviso-legal, politica-privacidad, cookies, desistimiento) == */
/* Child-combinator rules the crawl lost (assets/css/ib-hero.css:130, legal-pages.css:190, the
   cookies page inline <style>). */
html[data-brand="ib"]:where(:has(.ibm-legal)) .ib-hero__card > a {
  color: inherit;
  text-decoration: none !important;
}
html[data-brand="ib"]:where(:has(.ibm-legal)) .lg-content .lg-table-wrap > table:where(.ibr *) {
  margin: 0;
}
html[data-brand="ib"]:where(:has(.ibp-cookies)) .lg-grid > .lg-content {
  min-width: 0;
}
/* /aviso-legal#desistimiento lands on an h3 (platform link): clear the fixed header like the h2. */
html[data-brand="ib"]:where(:has(.ibm-legal)) .lg-content h3[id]:where(.ibr *) {
  scroll-margin-top: 80px;
}
/* /desistimiento (platform-only page in the legal look): form column + "Cómo funciona" column,
   the hero card without its note line. */
html[data-brand="ib"]:where(:has(.ibp-withdrawal)) .ibwd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
html[data-brand="ib"]:where(:has(.ibp-withdrawal)) .ibwd-form {
  min-width: 0;
}
@media (min-width: 992px) {
  html[data-brand="ib"]:where(:has(.ibp-withdrawal)) .ibwd-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 56px;
  }
  html[data-brand="ib"]:where(:has(.ibp-withdrawal)) .ibwd-grid .lg-content {
    position: sticky;
    top: 100px;
  }
}
/* (legal-css) */

/* == contact, contacto/gracias, sobre-nosotros == */
/* Child-combinator rules the crawl matcher missed (live-crawl.cjs turns "a > b" into "a *>* b"),
   so live.css lacks them: ib-hero.css + about.css. */
html[data-brand="ib"]:where(:has(.ibm-contact, .ibm-about)) .ib-hero__card > a {
  color: inherit;
  text-decoration: none !important;
}
html[data-brand="ib"]:where(:has(.ibm-about)) .cta-content > p:where(.ibr *) {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  html[data-brand="ib"]:where(:has(.ibm-about)) .cta-content > p:where(.ibr *) {
    font-size: 16px;
  }
}
/* contact.css `.contact-form-title { background: linear-gradient(… var(--primary) …) }`: the
   crawl serialised the var() shorthand as empty longhands, so live.css lost the gradient text. */
html[data-brand="ib"]:where(:has(.ibm-contact)) .contact-form-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
/* ── /contacto/gracias (not crawled): contact.css rules only that page uses + its inline <style>.
   React serialises inline styles without the space after ":", hence [style*="display:grid"]. */
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  margin-top: 0;
  color: white;
  position: relative;
  overflow: hidden;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 700px;
  opacity: 0.9;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  animation: ib-ct-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  animation: ib-ct-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .checkmark {
  animation: ib-ct-scale-in 0.3s ease-in-out 0.9s both;
}
@keyframes ib-ct-stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes ib-ct-scale-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) a[href*="faq"]:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 28, 114, 0.15);
}
@media (max-width: 768px) {
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-hero {
    padding: 60px 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-title {
    font-size: 2rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-subtitle {
    font-size: 1.1rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .info-card {
    grid-column: 1 / -1 !important;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .ibr div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .ibr div[style*="display:flex"][style*="gap:1rem"] {
    flex-direction: column;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .ibr a[style*="display:inline-flex"] {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-title {
    font-size: 1.75rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-contact-thanks)) .contact-subtitle {
    font-size: 1rem;
  }
}
/* contact.css states the /contact crawl could not see: alert box, submit spinner. */
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: ib-ct-slide-down 0.3s ease;
}
@keyframes ib-ct-slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 2px solid #ef4444;
  color: #991b1b;
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert-content {
  flex: 1;
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert-title:where(.ibr *) {
  font-weight: 700;
  margin: 0 0 0.25rem;
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .alert-message:where(.ibr *) {
  margin: 0;
  font-size: 0.95rem;
}
html[data-brand="ib"]:where(:has(.ibm-contact)) .loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: ib-ct-spin 0.8s linear infinite;
}
@keyframes ib-ct-spin {
  to {
    transform: rotate(360deg);
  }
}
/* (contact-css) */

/* == 404, reviews, landing, custom pages == */
/* ── /reviews ── */
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts { padding: 64px 0px 56px; background: rgb(248, 249, 251); border-top: 1px solid rgb(238, 240, 243); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__inner { box-sizing: border-box; max-width: 1200px; margin: 0px auto; padding: 0px 20px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__head { display: grid; gap: 18px; margin-bottom: 28px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0px 0px 14px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(230, 28, 114); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__eyebrow::before { content: ""; width: 22px; height: 2px; background: rgb(230, 28, 114); border-radius: 2px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__title { margin: 0px; max-width: 14ch; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: clamp(1.8rem, 4.2vw, 2.5rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; color: rgb(20, 24, 31); text-wrap: balance; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__lead { margin: 0px; max-width: 340px; font-size: 0.95rem; line-height: 1.55; color: rgb(107, 114, 128); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card { position: relative; display: flex; flex-direction: column; box-sizing: border-box; min-height: 200px; padding: 20px 18px 18px; background: rgb(255, 255, 255); border: 1px solid rgb(232, 234, 237); border-radius: 14px; color: rgb(20, 24, 31); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; text-decoration: none !important; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card:hover { border-color: rgb(230, 28, 114); transform: translateY(-3px); box-shadow: rgba(230, 28, 114, 0.45) 0px 14px 34px -18px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__stars { display: inline-flex; gap: 2px; color: rgb(245, 165, 36); margin-bottom: 12px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__stars svg:where(.ibr *) { width: 15px; height: 15px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__quote { margin: 0px 0px 18px; font-size: 1rem; line-height: 1.55; font-weight: 500; color: rgb(20, 24, 31); overflow-wrap: anywhere; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__quote::before { content: "“"; color: rgb(230, 28, 114); font-weight: 800; margin-right: 2px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__quote::after { content: "”"; color: rgb(230, 28, 114); font-weight: 800; margin-left: 2px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgb(238, 240, 243); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 36px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__avatar--txt { display: inline-flex; align-items: center; justify-content: center; background: rgb(253, 236, 244); color: rgb(230, 28, 114); font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__meta { display: grid; gap: 2px; min-width: 0px; font-size: 0.8rem; line-height: 1.3; color: rgb(107, 114, 128); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__meta strong:where(.ibr *) { font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.88rem; font-weight: 700; color: rgb(20, 24, 31); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card--sum { background: rgb(16, 17, 20); border-color: rgb(16, 17, 20); color: rgb(255, 255, 255); justify-content: flex-end; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card--sum:hover { border-color: rgb(16, 17, 20); box-shadow: rgba(0, 0, 0, 0.6) 0px 18px 40px -18px; color: rgb(255, 255, 255); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__big { display: flex; align-items: baseline; gap: 0.3em; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 10px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__big small:where(.ibr *) { font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); letter-spacing: 0px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__stars--big { margin-bottom: auto; padding-bottom: 20px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__stars--big svg:where(.ibr *) { width: 18px; height: 18px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__sumtext { display: block; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__sumtext strong:where(.ibr *) { color: rgb(255, 255, 255); font-weight: 700; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.78rem; font-weight: 600; color: rgb(255, 255, 255); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__cta svg:where(.ibr *) { width: 14px; height: 14px; flex: 0 0 14px; transition: transform 0.2s; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card--sum:hover .hts-card__cta svg:where(.ibr *) { transform: translateX(3px); }
@media (min-width: 640px) {
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts { padding: 80px 0px 72px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__inner { padding: 0px 24px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__head { grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: 32px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__lead { padding-bottom: 6px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__grid { grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 14px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card { min-height: 220px; padding: 22px 20px 18px; }
}
@media (min-width: 1024px) {
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts { padding: 100px 0px 88px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts__grid { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card { min-height: 232px; }
}
@media (prefers-reduced-motion: reduce) {
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card, html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card__cta svg:where(.ibr *) { transition: none; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card:hover { transform: none; }
}

/* /reviews (platform page): home testimonial cards (live.css .ibl-home rules, copied above under
   .ibm-reviews; every card shown, no --more), paged with a «Ver más» button, 404-style pill. */
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts { padding: 48px 0px 56px; }
@media (min-width: 640px) { html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts { padding: 64px 0px 72px; } }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .hts-card.ibrv-hidden { display: none; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-more { display: flex; justify-content: center; margin-top: 32px; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 28px; border: 0; border-radius: 50px; background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); color: #fff; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.95rem; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(230, 28, 114, 0.55); transition: transform 0.15s, box-shadow 0.15s; }
@media (hover: hover) { html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(230, 28, 114, 0.6); } }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-empty { max-width: 620px; margin: 0 auto; text-align: center; font-size: 1rem; line-height: 1.6; color: #475569; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-empty__title { margin: 0 0 8px; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 1.4rem; font-weight: 800; color: #0f172a; }
html[data-brand="ib"]:where(:has(.ibm-reviews)) .ibrv-empty a { color: #e61c72; font-weight: 700; text-decoration: none; }
/* ── /landing/{slug} (layout "landing" = app/views/layouts/landing.php: no site chrome) ── */
html[data-brand="ib"]:where(:has(.ibl-landing)) .store-chrome-full, html[data-brand="ib"]:where(:has(.ibl-landing)) .store-chrome-min { display: none !important; }
/* Inter, as live loads it on the landing (Cloudflare fonts, variable wght, latin + latin-ext).
   Private family name on purpose: other IB pages print "Inter" in stacks that live renders
   UNLOADED (footer → Arial, tool H1s), so a global "Inter" face would change them. */
@font-face { font-family: "IB Landing Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/brands/instabooster/fonts/inter-latin-ext-var.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IB Landing Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/brands/instabooster/fonts/inter-latin-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* chrome.css (loaded after live.css) sets the IB body type: restore the landing body of live.css. */
html[data-brand="ib"]:where(:has(.ibl-landing)) body { font-family: "IB Landing Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px !important; line-height: 1.6 !important; color: var(--text) !important; background-color: var(--background) !important; }
/* live.css lost the gradient shorthand of .services-title (crawl serialised it empty). */
html[data-brand="ib"]:where(:has(.ibl-landing)) .services-title { background: linear-gradient(135deg, #E72164 0%, #D91B5C 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Several networks (tiktok_only_mode = 0, PHP <style> by hand: the crawl only saw one network). */
html[data-brand="ib"]:where(:has(.ibld-multi)) .container { max-width: 1200px; padding: 0 16px; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filters-container { position: relative; margin-bottom: 32px; background: white; padding: 12px; border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; overflow: hidden; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .scroll-button { flex-shrink: 0; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--background); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: var(--shadow-sm); touch-action: manipulation; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .scroll-button:active:not(:disabled) { background: var(--primary); color: white; transform: scale(0.95); }
html[data-brand="ib"]:where(:has(.ibld-multi)) .scroll-button:disabled { opacity: 0.3; cursor: not-allowed; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filters-scroll { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 10px; flex: 1; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filters-scroll::-webkit-scrollbar { display: none; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filter-btn { padding: 14px 20px; border: 2px solid transparent; border-radius: 50px; background: #f8fafc; color: var(--text); font: inherit; font-weight: 500; transition: all 0.3s ease; white-space: nowrap; cursor: pointer; font-size: 0.95rem; min-height: 48px; touch-action: manipulation; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filter-btn:active, html[data-brand="ib"]:where(:has(.ibld-multi)) .filter-btn.active { border-color: var(--primary); background: white; color: var(--primary); transform: scale(0.98); box-shadow: var(--shadow-md); }
/* Grid tracks may shrink below the nowrap service names (they ellipsize): without this the
   1fr tracks grow to the longest name and overflow a phone screen. */
html[data-brand="ib"]:where(:has(.ibld-multi)) .services-grid { grid-template-columns: minmax(0, 1fr); }
html[data-brand="ib"]:where(:has(.ibld-multi)) .service-category { min-width: 0; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .filter-btn:focus { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (min-width: 768px) {
html[data-brand="ib"]:where(:has(.ibld-multi)) .container { max-width: 1200px; padding: 0 32px; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
html[data-brand="ib"]:where(:has(.ibld-multi)) .container { max-width: 1200px; padding: 0 32px; }
html[data-brand="ib"]:where(:has(.ibld-multi)) .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: none; margin: 0; }
}
@supports (padding: max(0px)) {
html[data-brand="ib"]:where(:has(.ibld-multi)) .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}
/* ── admin custom pages (/{slug}): legal-page reading column, centred when there is no index ── */
html[data-brand="ib"]:where(:has(.ibcp)) .lg-body .tl-container > .lg-content { margin: 0 auto; }
html[data-brand="ib"]:where(:has(.ibcp)) .lg-content .table-wrap { overflow-x: auto; margin: 18px 0; }
html[data-brand="ib"]:where(:has(.ibcp)) .lg-content img { max-width: 100%; height: auto; border-radius: 12px; }
/* (misc-css) */
}
