/*
 * Instabooster — product 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.
 * Sections: SERVICE (/{slug}), SERVICE-AUTO, NETWORK (/servicios/{network}), CATALOGUE (/servicios).
 */
@layer ib {
  /* ═══════════════════════════ SERVICE ═══════════════════════════ */
  /* Gradient-text shorthands the CSS generator lost (`background: linear-gradient(var())` was
     serialized as empty longhands in live.css): package-styles.min.css / package-new-sections.css. */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .package-price,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .package-price-currency {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .section-header h2:where(.ibr *) {
    background: var(--pkg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
  }

  /* States the crawl could not see, ported from app/modules/package/views/index.php (inline
     <style> blocks printed only when the category has them). */

  /* Quality / nationality selector (live.css has it only under the page marker
     .ibp-service-seguidores-instagram: every category with a selector prints it). */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick { margin: 0 0 26px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick__title { color: var(--gray-800, #1f2937); font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; text-align: center; letter-spacing: -0.01em; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; margin: 0 auto; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card { appearance: none; -webkit-appearance: none; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px 14px; border: 2px solid var(--gray-200, #e5e7eb); border-radius: 16px; background: #fff; font-family: inherit; text-align: center; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card:focus-visible { outline: 2px solid var(--primary, #e61c72); outline-offset: 2px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card:active { transform: scale(0.985); }
  @media (hover: hover) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1)); border-color: var(--primary, #e61c72); }
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card.selected { background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94)); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(230, 28, 114, 0.55); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__flag { display: block; line-height: 0; margin-bottom: 8px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__flag .q-flag--big { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 3px 8px -2px rgba(0, 0, 0, 0.22); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card.selected .nat-card__flag .q-flag--big { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 4px 10px -3px rgba(0, 0, 0, 0.3); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__place { font-size: 1.15rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--gray-800, #1f2937); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__from { font-size: 0.9rem; font-weight: 700; color: var(--primary, #e61c72); margin-top: 2px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__note { font-size: 0.74rem; font-weight: 500; line-height: 1.35; color: var(--gray-600, #4b5563); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card.selected .nat-card__place { color: #fff; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card.selected .nat-card__from { color: rgba(255, 255, 255, 0.95); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card.selected .nat-card__note { color: rgba(255, 255, 255, 0.9); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick__hint { margin: 12px auto 0; max-width: 520px; text-align: center; font-size: 0.78rem; line-height: 1.45; color: var(--gray-500, #6b7280); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .package-option.q-hidden { display: none !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .q-flag { display: inline-block; width: 21px; height: 16px; border-radius: 3px; object-fit: cover; vertical-align: -2px; margin-right: 7px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
  @media (max-width: 480px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick { margin-bottom: 18px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick__title { font-size: 0.92rem; margin-bottom: 10px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-seg { gap: 8px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card { padding: 14px 8px 12px; border-radius: 14px; gap: 2px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__flag { margin-bottom: 6px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__flag .q-flag--big { width: 44px; height: 44px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__place { font-size: 1rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__from { font-size: 0.84rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-card__note { font-size: 0.7rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .nat-pick__hint { font-size: 0.72rem; margin-top: 10px; }
  }

  /* «CONTINUAR» + «Añadir al carrito» (platform cart, owner exception) side by side; the cart
     action is the outline variant of the live pill (same height: 2 px border + 2 px less
     padding), stacked full width ≤ 480 px. */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-buy-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-buy-actions > button {
    flex: 1 1 auto;
    width: auto;
  }
  /* Compact enough that the price box (an `auto` grid column) stays narrow and the feature
     list keeps its two live columns (minmax(220px) × 2) at desktop widths. */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-buy-actions > .modern-order-button {
    padding-left: 22px;
    padding-right: 22px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 10px 16px;
    border: 2px solid var(--primary, #e61c72);
    border-radius: 50px;
    background: #fff;
    color: var(--primary, #e61c72);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart:hover {
    background: rgba(230, 28, 114, 0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart:active {
    transform: translateY(0);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart:focus-visible {
    outline: 2px solid var(--primary, #e61c72);
    outline-offset: 2px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart:disabled {
    border-color: rgb(156, 163, 175);
    color: rgb(156, 163, 175);
    background: #fff;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart svg {
    flex-shrink: 0;
  }
  @media (max-width: 768px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-add-cart {
      padding: 8px 20px;
      font-size: 0.9rem;
    }
  }
  @media (max-width: 480px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-buy-actions {
      flex-direction: column;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-buy-actions > button {
      width: 100%;
    }
  }

  /* «Tu usuario» step (owner request: the account is entered and verified on the product page).
     IB language: white card on the grey selector panel, gray-200 2 px border, 16 px radius,
     Montserrat, pink pill «Buscar», green «Encontrada» badge like the live trust ticks. */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target {
    margin: 8px 0 24px;
    padding: 20px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 16px;
    background: #fff;
    font-family: Montserrat, sans-serif;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-target-section {
    padding-bottom: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-target-section .ib-target {
    margin: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__title {
    margin: 0 0 14px;
    color: var(--gray-800, #1f2937);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__label {
    display: block;
    margin: 0 0 8px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 700;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 6px 0 14px;
    min-height: 52px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__search:focus-within {
    border-color: var(--primary, #e61c72);
    box-shadow: 0 0 0 4px rgba(230, 28, 114, 0.12);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__at {
    color: #9ca3af;
    font-size: 1.05rem;
    font-weight: 700;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 4px;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__input::placeholder {
    color: #9ca3af;
    font-weight: 500;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__go {
    flex-shrink: 0;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94));
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__go:disabled {
    opacity: 0.55;
    cursor: default;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__help {
    margin: 8px 4px 0;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.45;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__help.is-bad,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__error {
    color: #dc2626;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__help.is-warn {
    color: #b45309;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__input.is-bad {
    color: #b91c1c;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__error {
    margin: 10px 4px 0;
    font-size: 0.82rem;
    font-weight: 600;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 2px solid #d1fae5;
    border-radius: 14px;
    background: #f0fdf9;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary, #e61c72);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__avatar--ph {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94));
    color: #fff;
    font-weight: 800;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.3;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__name {
    overflow: hidden;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__handle,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__stat {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__badge--bad {
    background: #dc2626;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__posts {
    margin: 14px 0 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__manual {
    display: block;
    margin: 12px auto 0;
    padding: 4px 8px;
    border: 0;
    background: none;
    color: var(--primary, #e61c72);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__confirm {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 10px 4px 0;
    color: #374151;
    font-size: 0.82rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__comments {
    margin: 16px 0 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__textarea.is-bad {
    border-color: #dc2626;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) [data-field][data-attention] {
    animation: ibTargetPulse 0.8s ease-in-out 2;
  }
  @keyframes ibTargetPulse {
    50% { box-shadow: 0 0 0 6px rgba(230, 28, 114, 0.18); }
  }
  @media (max-width: 480px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target {
      padding: 16px 12px;
      border-radius: 14px;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto, .ibm-pack)) .ib-target__go {
      padding: 10px 16px;
    }
  }

  /* Per-category alert / tip banner. */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert-wrap {
    max-width: 900px;
    margin: 28px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert {
    --accent: #ec2d7f;
    --accent-dark: #c9156e;
    --surface: rgba(255, 255, 255, 0.85);
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px 16px 20px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid rgba(236, 45, 127, 0.18);
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(236, 45, 127, 0.08);
    animation: ibCatAlertIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    overflow: hidden;
    isolation: isolate;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 18px 0 0 18px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 0% 0%, rgba(236, 45, 127, 0.06), transparent 40%);
    pointer-events: none;
    z-index: -1;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--tip { --accent: #ec2d7f; --accent-dark: #c9156e; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--info { --accent: #2d6eec; --accent-dark: #1a4ec9; border-color: rgba(45, 110, 236, 0.2); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--warning { --accent: #d89b00; --accent-dark: #a67800; border-color: rgba(216, 155, 0, 0.25); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--alert { --accent: #d93838; --accent-dark: #b02424; border-color: rgba(217, 56, 56, 0.22); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--info::after { background: radial-gradient(600px circle at 0% 0%, rgba(45, 110, 236, 0.06), transparent 40%); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--warning::after { background: radial-gradient(600px circle at 0% 0%, rgba(216, 155, 0, 0.08), transparent 40%); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert--alert::after { background: radial-gradient(600px circle at 0% 0%, rgba(217, 56, 56, 0.06), transparent 40%); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--accent) 45%, transparent);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__icon { display: inline-flex; align-items: center; justify-content: center; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__label { white-space: nowrap; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__text {
    flex: 1;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #2a2a2a;
    font-weight: 500;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__close {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    color: #5a5a5a;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    padding: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__close:hover { background: rgba(0, 0, 0, 0.08); color: var(--accent); transform: scale(1.08); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__close:active { transform: scale(0.94); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert-wrap.is-dismissing .ib-cat-alert { animation: ibCatAlertOut 0.22s ease-in both; }
  @keyframes ibCatAlertIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes ibCatAlertOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-8px) scale(0.98); } }
  @media (max-width: 640px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert-wrap { margin: 22px auto 32px; padding: 0 16px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert { padding: 14px 14px 14px 16px; gap: 10px; border-radius: 16px; flex-wrap: wrap; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__badge { order: 1; padding: 5px 10px; font-size: 10.5px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__close { order: 2; margin-left: auto; width: 28px; height: 28px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert__text { order: 3; flex: 1 1 100%; font-size: 14px; margin-top: 2px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert,
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ib-cat-alert-wrap.is-dismissing .ib-cat-alert { animation: none; }
  }

  /* Duration selector (Twitch/Kick "¿Cuántos días quieres el plan?"). */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick { margin: 0 0 26px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick__title { color: var(--gray-800, #1f2937); font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; text-align: center; letter-spacing: -0.01em; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; margin: 0 auto; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 12px 14px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 16px;
    background: #fff;
    font-family: inherit;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1)); border-color: var(--primary, #e61c72); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card:focus-visible { outline: 2px solid var(--primary, #e61c72); outline-offset: 2px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected { background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94)); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(230, 28, 114, 0.55); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__days { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--gray-800, #1f2937); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__days small { font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__days--text { font-size: 1.1rem; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__from { font-size: 0.9rem; font-weight: 700; color: var(--primary, #e61c72); margin-top: 2px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__note { font-size: 0.74rem; font-weight: 500; line-height: 1.35; color: var(--gray-600, #4b5563); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__badge { position: absolute; top: -11px; right: 10px; padding: 3px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; background: #14181f; color: #fff; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.4); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected .duration-card__days,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected .duration-card__note { color: #fff; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected .duration-card__from { color: rgba(255, 255, 255, 0.95); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected .duration-card__note { color: rgba(255, 255, 255, 0.9); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card.selected .duration-card__badge { background: #fff; color: var(--primary, #e61c72); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick__hint { margin: 12px auto 0; max-width: 520px; text-align: center; font-size: 0.78rem; line-height: 1.45; color: var(--gray-500, #6b7280); }
  @media (max-width: 480px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick { margin-bottom: 18px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick__title { font-size: 0.92rem; margin-bottom: 10px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-seg { gap: 8px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card { padding: 16px 8px 12px; border-radius: 14px; gap: 3px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__days { font-size: 1.6rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__days small { font-size: 0.8rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__from { font-size: 0.82rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__note { font-size: 0.68rem; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-card__badge { right: 6px; font-size: 0.6rem; padding: 3px 7px; }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .duration-pick__hint { font-size: 0.72rem; }
  }

  /* ═══════════════════════════ SERVICE-AUTO ═══════════════════════════ */
  /* «Tu cuenta» block of the auto-subscription card (platform flow: the account, the e-mail and
     the express-consent box are taken here instead of on /checkout). Card language: slate
     section title, 12 px radius fields with the pink focus ring of the card. */
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-account {
    display: grid;
    gap: 10px;
    margin: 16px 0 14px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-field {
    display: grid;
    gap: 5px;
    margin: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-field-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-field-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-field-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-field-input:focus {
    border-color: #ec2d7f;
    box-shadow: 0 0 0 4px rgba(236, 45, 127, 0.12);
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #475569;
    cursor: pointer;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-consent input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #ec2d7f;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-error {
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
  }
  html[data-brand="ib"]:where(:has(.ibm-service-auto)) .as-cta:disabled {
    opacity: 0.7;
    cursor: default;
  }

  /* ═══════════════════════════ NETWORK ═══════════════════════════ */
  /* social-frontend.css `body` (16px / 1.6, gray-800): the layout <body> utilities and the
     chrome.css colour out-rank the generated rule. */
  html[data-brand="ib"]:where(:has(.ibm-network)) body {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #1f2937 !important;
  }

  /* ═══════════════════════════ CATALOGUE ═══════════════════════════ */

  /* ── QUOTE REQUEST (.reqq, categories without packages; live package/views/index.php) */
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq {max-width:620px;margin:0 auto}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__title {margin:0 0 10px;font-size:1.5rem;font-weight:800;line-height:1.25;letter-spacing:-.02em;color:#1f2937;text-align:center}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__lead {margin:0 auto 22px;max-width:540px;font-size:.95rem;line-height:1.6;color:#4b5563;text-align:center}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__form {position:relative;border:1px solid #e5e7eb;border-radius:24px;padding:28px;background:#fff;box-shadow:0 20px 25px -5px rgba(0,0,0,.08)}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__grid {display:grid;grid-template-columns:1fr 1fr;gap:14px}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field {display:flex;flex-direction:column;gap:6px;min-width:0}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field--wide {grid-column:1/-1}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field label {font-size:.82rem;font-weight:700;color:#374151;margin:0}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field label span {font-weight:500;color:#9ca3af}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field input, html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field textarea {width:100%;padding:11px 12px;border:1.5px solid #e5e7eb;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#1f2937;resize:vertical}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field input:focus, html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field textarea:focus {outline:none;border-color:#e61c72}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field input.is-bad, html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__field textarea.is-bad {border-color:#dc2626}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__trap {position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__send {width:100%;margin:16px 0 0;min-height:52px;padding:14px;border:0;border-radius:12px;background:linear-gradient(135deg,#e61c72,#ff4d94);color:#fff;font:inherit;font-size:1rem;font-weight:800;cursor:pointer;transition:transform .15s,box-shadow .15s}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__send:active {transform:scale(.99)}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__send:disabled {opacity:.65;cursor:default}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__status {margin:12px 0 0;font-size:.86rem;font-weight:600;line-height:1.45;text-align:center}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__status.is-ok {color:#0e8a64}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__status.is-bad {color:#b91c1c}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__status:empty {display:none}
  html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__legal {margin:12px 0 0;font-size:.74rem;line-height:1.45;color:#6b7280;text-align:center}
  @media (hover:hover){
    html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__send:hover{box-shadow:0 10px 24px -10px rgba(230,28,114,.55)}
  }
  @media (max-width:480px){
    html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__title{font-size:1.25rem}
    html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__lead{font-size:.88rem;margin-bottom:16px}
    html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__form{padding:18px 16px;border-radius:18px}
    html[data-brand="ib"]:where(:has(.ibm-service)) .reqq__grid{grid-template-columns:1fr;gap:12px}
  }

  /* ═══════════════ SERVICE — integrated buy card (`.ibb`, owner 2026-10-31) ═══════════════
     ONE card like MF's: steps on the left (package · account · posts), the order rail on the
     right (sticky on desktop). IB language: white card, gray-200 border, radius-lg, pink only on
     actions, Montserrat. Step numbers are CSS counters (no extra text). */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .modern-packages-section:has(.ibb) {
    overflow: clip !important;
    contain: none;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .modern-packages-container:has(.ibb) {
    overflow: visible;
    max-width: 1100px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: var(--radius-lg, 20px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
    counter-reset: ibb-step;
    font-family: Montserrat, sans-serif;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb__main {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
    padding: 20px 16px 24px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step {
    counter-increment: ibb-step;
    margin: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step + .ibb-step {
    padding-top: 22px;
    border-top: 1px solid var(--gray-100, #f3f4f6);
  }
  /* the live selector panel becomes a plain step */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .packages-selector {
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step__title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--gray-800, #1f2937);
    font-family: Montserrat, sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step__title::before {
    content: counter(ibb-step);
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step__hint {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gray-50, #f9fafb);
    color: var(--gray-500, #6b7280);
    font-size: 0.85rem;
  }
  /* step 1: title first (DOM keeps live's heading order: picker h3, then the h2) */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step--pkg {
    display: flex;
    flex-direction: column;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step--pkg > .ibb-step__title {
    order: -1;
  }
  /* step 1: quality / duration picker and the grid, flush with the step */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-pick,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .duration-pick {
    margin: 0 0 16px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-pick__title,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .duration-pick__title {
    margin: 0 0 10px;
    color: var(--gray-600, #4b5563);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-seg {
    max-width: none;
    margin: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    padding: 12px 14px;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__flag {
    margin: 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__flag .q-flag--big {
    width: 34px;
    height: 34px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__place {
    font-size: 1rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__from {
    margin: 0 0 0 auto;
    font-size: 0.85rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__note {
    flex-basis: 100%;
    padding-left: 44px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-pick__hint,
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .duration-pick__hint {
    max-width: none;
    margin: 8px 0 0;
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .packages-grid {
    margin: 0;
    padding: 0;
  }
  /* steps 2–3: the account / posts without their own card */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-target {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-target__manual {
    margin: 10px 0 0;
    padding: 4px 0;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-target__posts {
    margin: 0;
  }

  /* «Pago único / Cada semana / Cada mes» */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--gray-100, #f3f4f6);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq__opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--gray-600, #4b5563);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq__opt.is-on {
    background: #fff;
    color: var(--gray-900, #111827);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.1);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq__badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--primary, #e61c72);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  /* order rail */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb__side {
    min-width: 0;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0 0 var(--radius-lg, 20px) var(--radius-lg, 20px);
    background: var(--gray-50, #f9fafb);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail {
    padding: 20px 16px 22px;
    text-align: center;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail__label {
    margin: 0;
    color: var(--gray-500, #6b7280);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail__what {
    margin: 6px 0 8px;
    color: var(--gray-800, #1f2937);
    font-size: 0.95rem;
    font-weight: 600;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail__muted {
    color: var(--gray-500, #6b7280);
    font-weight: 500;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .package-price {
    font-size: 2.6rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .package-price-label {
    margin-bottom: 16px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-actions {
    flex-direction: column;
    gap: 8px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-actions > button {
    width: 100%;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-actions > .modern-order-button {
    min-height: 52px;
    font-size: 1.05rem;
    letter-spacing: 0.6px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-actions > .ib-add-cart {
    min-height: 46px;
  }
  /* the category's feature chips as quiet trust lines */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    text-align: left;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-trust .feature-item {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    gap: 9px;
    overflow: visible;
    will-change: auto;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-trust .feature-item:hover {
    background: none;
    transform: none;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-trust .feature-text {
    font-size: 0.82rem;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-pay {
    margin: 16px 0 0;
  }

  /* mobile bar: the cart next to CONTINUAR */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-bar-cart {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-bar-cart:disabled {
    opacity: 0.5;
  }

  @media (min-width: 640px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb__main {
      padding: 26px 26px 28px;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail {
      padding: 24px 26px 26px;
    }
  }
  @media (min-width: 1024px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb {
      grid-template-columns: minmax(0, 1fr) 340px;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb__main {
      padding: 32px;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb__side {
      border-top: 0;
      border-left: 1px solid var(--gray-200, #e5e7eb);
      border-radius: 0 var(--radius-lg, 20px) var(--radius-lg, 20px) 0;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-rail {
      position: sticky;
      top: 100px;
      padding: 30px 26px;
    }
  }
  @media (max-width: 480px) {
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-step__title {
      font-size: 1rem;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-card__note {
      padding-left: 0;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq__opt {
      flex-direction: column;
      gap: 2px;
      padding: 6px 4px;
      font-size: 0.78rem;
      white-space: nowrap;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq {
      border-radius: 16px;
    }
    /* country cards: one per row (flag · name · desde) instead of two cramped columns */
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .nat-seg {
      grid-template-columns: 1fr;
    }
    html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-freq__opt {
      border-radius: 12px;
    }
  }

  /* package tiles: the price under the quantity, like the other stores' buy cards */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .package-tile-price {
    display: block;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    color: var(--gray-900, #111827);
    font-size: 1rem;
    font-weight: 800;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .package-option.active .package-tile-price {
    border-top-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }

  /* mobile bar: live's pink band (owner: keep it pink), with a solid white CONTINUAR so the
     action reads clearly (live's translucent pill was pink-on-pink) */
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .mobile-bottom-bar {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .mobile-bottom-bar .mobile-order-btn {
    min-height: 46px;
    padding: 10px 26px;
    border: 0;
    background: #fff;
    color: var(--primary, #e61c72);
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 16px rgba(120, 10, 60, 0.25);
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .mobile-bottom-bar .mobile-order-btn.disabled {
    background: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
  }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb-bar-cart {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.85);
  }
}

/* Packs inside the buy card (owner 2026-11-01): the last block of the main column, same
   card language as the package tiles. DOM first (live text order), shown last via `order`. */
@layer ib {
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ibb-packs { order: 99; padding-top: 22px; border-top: 1px solid var(--gray-200, #e5e7eb); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hints-wrap { margin: 0 !important; padding: 0 !important; max-width: none !important; background: none !important; border: 0 !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hints-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; color: var(--gray-900, #111827) !important; font-family: Montserrat, sans-serif; font-size: 1.05rem !important; font-weight: 700 !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hints-title svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--primary, #e61c72), var(--primary-light, #ff4d94)); color: #fff; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hints { display: grid !important; grid-template-columns: 1fr; gap: 10px !important; }
  @media (min-width: 768px) { html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint { position: relative; display: grid !important; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic body" "ic price"; align-items: center; column-gap: 12px; row-gap: 6px; margin: 0 !important; padding: 14px 36px 14px 16px !important; border: 1.5px solid var(--gray-200, #e5e7eb) !important; border-radius: 16px !important; background: #fff !important; box-shadow: none !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint:hover { border-color: var(--primary, #e61c72) !important; box-shadow: 0 10px 24px rgba(230, 28, 114, .12) !important; transform: translateY(-1px); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__ic { grid-area: ic; align-self: start; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__name { overflow: hidden; color: var(--gray-900, #111827) !important; font-family: Montserrat, sans-serif; font-size: .9rem !important; font-weight: 700 !important; text-overflow: ellipsis; white-space: nowrap; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__items { color: var(--gray-500, #6b7280) !important; font-size: .76rem !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__why { display: inline-block; width: fit-content; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #fdf2f8; color: #be185d !important; font-size: .7rem !important; font-weight: 700 !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__price { grid-area: price; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__new { color: var(--primary, #e61c72) !important; font-family: Montserrat, sans-serif; font-size: 1.05rem !important; font-weight: 800 !important; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__save { padding: 2px 8px; border-radius: 999px; background: #ecfdf5; color: #047857 !important; font-size: .72rem !important; font-weight: 700 !important; white-space: nowrap; }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint__chev { position: absolute; top: 16px; right: 14px; color: var(--gray-400, #9ca3af); }
  html[data-brand="ib"]:where(:has(.ibm-service, .ibm-service-auto)) .ibb .ib-bundle-hint:hover .ib-bundle-hint__chev { color: var(--primary, #e61c72); }
}

@layer ib {
  /* profile lookup: «Reintentar» / «Volver a buscar» inline in the help line */
  html[data-brand="ib"] button.ib-target__again { padding: 0; border: 0; background: none; color: #e61c72; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  html[data-brand="ib"] button.ib-target__again:disabled { opacity: .5; cursor: default; }
}

@layer ib {
  /* ═══════════════ AUTOMATIC SERVICE on the integrated buy card (`.ibb--auto`, owner 2026-11-04:
     «como la página de producto, los packs bien integrados, que se pueda añadir al carrito»).
     Same card / steps / rail as the service page; the pieces below are the auto-only controls. */
  html[data-brand="ib"] .ibb--auto .ibb-auto-intro { display: flex; flex-direction: column; gap: 6px; padding: 0 0 4px; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-intro__eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fdeaf3; color: #c2185b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-intro__title { margin: 4px 0 0; color: var(--gray-900, #111827); font-family: Montserrat, sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-align: left; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-intro__text { margin: 0; max-width: 46em; color: var(--gray-500, #6b7280); font-size: .9rem; line-height: 1.55; text-align: left; }

  /* slider + exact number + chips */
  html[data-brand="ib"] .ibb--auto .ibb-range { display: flex; flex-direction: column; gap: 10px; }
  html[data-brand="ib"] .ibb--auto .ibb-range + .ibb-range { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--gray-200, #e5e7eb); }
  html[data-brand="ib"] .ibb--auto .ibb-range__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  html[data-brand="ib"] .ibb--auto .ibb-range__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  html[data-brand="ib"] .ibb--auto .ibb-range__title { color: var(--gray-800, #1f2937); font-size: .95rem; font-weight: 700; }
  html[data-brand="ib"] .ibb--auto .ibb-range__hint { color: var(--gray-500, #6b7280); font-size: .8rem; }
  html[data-brand="ib"] .ibb--auto input.ibb-range__input { flex: none; width: 104px; height: 44px; padding: 0 12px; border: 1.5px solid var(--gray-200, #e5e7eb); border-radius: 12px; background: #fff; color: var(--gray-900, #111827); font-family: inherit; font-size: 1.1rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; transition: border-color .15s, box-shadow .15s; }
  html[data-brand="ib"] .ibb--auto input.ibb-range__input::-webkit-inner-spin-button,
  html[data-brand="ib"] .ibb--auto input.ibb-range__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  html[data-brand="ib"] .ibb--auto input.ibb-range__input:focus { outline: none; border-color: var(--primary, #e61c72); box-shadow: 0 0 0 4px rgba(230, 28, 114, .12); }
  html[data-brand="ib"] .ibb--auto input.ibb-range__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 6px 0 0; border-radius: 999px; background: linear-gradient(90deg, #e61c72 0%, #ff4d94 var(--p, 0%), var(--gray-100, #f3f4f6) var(--p, 0%)); cursor: pointer; }
  html[data-brand="ib"] .ibb--auto input.ibb-range__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; background: #e61c72; box-shadow: 0 2px 10px rgba(230, 28, 114, .45); transition: transform .15s; }
  html[data-brand="ib"] .ibb--auto input.ibb-range__slider::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #e61c72; box-shadow: 0 2px 10px rgba(230, 28, 114, .45); }
  html[data-brand="ib"] .ibb--auto input.ibb-range__slider:active::-webkit-slider-thumb { transform: scale(1.12); }
  html[data-brand="ib"] .ibb--auto input.ibb-range__slider:focus-visible { outline: 2px solid #e61c72; outline-offset: 4px; }
  html[data-brand="ib"] .ibb--auto .ibb-range__meta { display: flex; justify-content: space-between; color: var(--gray-500, #6b7280); font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  html[data-brand="ib"] .ibb--auto .ibb-range__chips { display: flex; flex-wrap: wrap; gap: 6px; }
  html[data-brand="ib"] .ibb--auto button.ibb-range__chip { min-width: 46px; height: 34px; padding: 0 12px; border: 1.5px solid var(--gray-200, #e5e7eb); border-radius: 999px; background: #fff; color: var(--gray-700, #374151); font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
  html[data-brand="ib"] .ibb--auto button.ibb-range__chip:hover { border-color: #f4a6c8; color: #c2185b; }
  html[data-brand="ib"] .ibb--auto button.ibb-range__chip.is-on { border-color: transparent; background: linear-gradient(135deg, #e61c72, #ff4d94); color: #fff; box-shadow: 0 6px 14px -8px rgba(230, 28, 114, .8); }

  /* posts: two settings in one step (side by side from 900 px) */
  html[data-brand="ib"] .ibb--auto .ibb-auto-posts { display: flex; flex-direction: column; }

  /* payment frequency: two cards like the package tiles */
  html[data-brand="ib"] .ibb--auto .ibb-auto-periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 16px 14px; border: 2px solid var(--gray-200, #e5e7eb); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period:hover { border-color: #f4a6c8; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period.is-on { border-color: #e61c72; background: #fff7fb; box-shadow: 0 10px 24px -16px rgba(230, 28, 114, .7); }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period input { position: absolute; opacity: 0; pointer-events: none; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period:has(input:focus-visible) { outline: 2px solid #e61c72; outline-offset: 3px; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border: 2px solid var(--gray-300, #d1d5db); border-radius: 50%; background: #fff; transition: border-color .15s, box-shadow .15s; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period.is-on::after { border-color: #e61c72; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #e61c72; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__name { padding-right: 28px; color: var(--gray-900, #111827); font-size: 1rem; font-weight: 800; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__desc { color: var(--gray-500, #6b7280); font-size: .78rem; line-height: 1.35; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: 8px; color: #e61c72; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__price small { color: #e61c72; font-size: .8rem; font-weight: 700; letter-spacing: 0; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__price s { margin-left: 4px; color: var(--gray-500, #6b7280); font-size: .78rem; font-weight: 600; letter-spacing: 0; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-period__badge { position: absolute; top: -11px; right: 14px; padding: 3px 9px; border-radius: 999px; background: #047857; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 4px 10px -4px rgba(5, 150, 105, .6); }

  /* volume tiers: one quiet line of pills, the reached one highlighted */
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--gray-50, #f9fafb); }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__head { margin: 0 0 8px; color: var(--gray-700, #374151); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__head span { color: #047857; font-weight: 700; letter-spacing: 0; text-transform: none; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 999px; background: #fff; color: var(--gray-500, #6b7280); font-size: .74rem; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list li strong { color: var(--gray-700, #374151); }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list li em { color: #047857; font-style: normal; font-weight: 800; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list li.is-past { opacity: .55; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-tiers__list li.is-hit { border-color: #059669; background: #ecfdf5; color: #065f46; }

  /* account step: the missing-account state */
  html[data-brand="ib"] .ibb--auto .ib-target.is-missing .ib-target__search { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }

  /* rail */
  html[data-brand="ib"] .ibb--auto .ibb-rail__what strong { color: var(--gray-900, #111827); }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__per { margin-left: 4px; color: var(--gray-500, #6b7280); font-size: .95rem; font-weight: 700; -webkit-text-fill-color: var(--gray-500, #6b7280); }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__facts { margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 12px; background: #fff; list-style: none; text-align: left; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__facts li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: var(--gray-500, #6b7280); font-size: .8rem; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__facts li strong { color: var(--gray-800, #1f2937); font-variant-numeric: tabular-nums; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__facts li.is-save strong { color: #059669; text-align: right; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__trust { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--gray-200, #e5e7eb); list-style: none; text-align: left; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__trust li { display: flex; align-items: center; gap: 8px; color: var(--gray-700, #374151); font-size: .85rem; font-weight: 600; }
  html[data-brand="ib"] .ibb--auto .ibb-auto-rail__trust svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: #10b981; color: #fff; }
  html[data-brand="ib"] .ibb-auto-bar__per { margin-left: 3px; font-size: .7rem; font-weight: 700; opacity: .85; }

  @media (min-width: 900px) {
    html[data-brand="ib"] .ibb--auto .ibb-auto-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    html[data-brand="ib"] .ibb--auto .ibb-range + .ibb-range { margin-top: 0; padding-top: 0; border-top: 0; }
    html[data-brand="ib"] .ibb--auto .ibb-auto-intro__title { font-size: 1.55rem; }
  }
}

@layer ib {
  /* ═══════════════ «Productos Relacionados» (owner 2026-11-04: «completamente rediseñados e
     integrados»): horizontal service rows like the rest of the store (search, cross-sell,
     success page) — network icon, name, Popular + «desde X €», a round arrow that turns pink. */
  html[data-brand="ib"] .related-products-section .related-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px !important;
    max-width: 1100px;
    margin: 0 auto;
  }
  html[data-brand="ib"] .related-products-section .related-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 0 !important;
    padding: 16px 16px 16px 14px !important;
    border: 1px solid #e9ebef !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04) !important;
    text-align: left !important;
    text-decoration: none !important;
    transform: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
  }
  html[data-brand="ib"] .related-products-section .related-card:hover,
  html[data-brand="ib"] .related-products-section .related-card:focus-visible {
    border-color: #f4c3d8 !important;
    box-shadow: 0 14px 30px -18px rgba(230, 28, 114, .45) !important;
    outline: none;
  }
  html[data-brand="ib"] .related-products-section .related-card::before,
  html[data-brand="ib"] .related-products-section .related-card::after { content: none !important; }
  html[data-brand="ib"] .related-products-section .related-card-icon {
    display: grid !important;
    place-items: center;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 9px;
    border-radius: 14px !important;
    background: #f7f8fa !important;
    box-shadow: none !important;
  }
  html[data-brand="ib"] .related-products-section .related-card-icon img { width: 100% !important; height: 100% !important; object-fit: contain; }
  html[data-brand="ib"] .related-products-section .related-card-icon svg { width: 24px; height: 24px; color: #e61c72; }
  html[data-brand="ib"] .related-products-section .related-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
  html[data-brand="ib"] .related-products-section .related-card-title {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }
  html[data-brand="ib"] .related-products-section .related-badge {
    position: static !important;
    order: 3;
    display: inline-flex;
    margin: 2px 0 0 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: #fdeaf3 !important;
    color: #c2185b !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: none !important;
  }
  html[data-brand="ib"] .related-products-section .related-card-price { order: 2; color: #6b7280; font-size: .82rem; }
  html[data-brand="ib"] .related-products-section .related-card-price strong { color: #111827; font-weight: 700; }
  html[data-brand="ib"] .related-products-section .related-card-cta {
    display: inline-grid !important;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f5f6f8 !important;
    color: #6b7280 !important;
    transition: background-color .2s ease, color .2s ease !important;
  }
  html[data-brand="ib"] .related-products-section .related-card-cta svg { width: 16px; height: 16px; transform: none !important; }
  html[data-brand="ib"] .related-products-section .related-card-cta__text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  html[data-brand="ib"] .related-products-section .related-card:hover .related-card-cta,
  html[data-brand="ib"] .related-products-section .related-card:focus-visible .related-card-cta {
    background: linear-gradient(135deg, #e61c72, #ff4d94) !important;
    color: #fff !important;
  }
  @media (min-width: 640px) {
    html[data-brand="ib"] .related-products-section .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1024px) {
    html[data-brand="ib"] .related-products-section .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px !important; }
    html[data-brand="ib"] .related-products-section .related-card { padding: 18px 18px 18px 16px !important; }
  }
}

@layer ib {
  html[data-brand="ib"] .related-products-section .related-card-price::before { content: attr(data-price); color: #4b5563; font-size: .82rem; font-weight: 600; }
}

@layer ib {
  /* «Popular»: a small tab on the card's top edge (first in the DOM, live text order) */
  html[data-brand="ib"] .related-products-section .related-card .related-badge {
    position: absolute !important;
    top: -9px;
    right: 64px;
    left: auto !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #e61c72, #ff4d94) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px -4px rgba(230, 28, 114, .6) !important;
  }
}

@layer ib {
  /* «Popular» tab: the card must not clip it */
  html[data-brand="ib"] .related-products-section .related-card { overflow: visible !important; }
  html[data-brand="ib"] .related-products-section .related-grid { padding-top: 10px; overflow: visible !important; }

  /* ═══════════════ «Artículos Relacionados» (owner 2026-11-04: «rediseña lo de los artículos»):
     editorial cards — 16:9 cover, title (2 lines), grey excerpt (3 lines), «Leer artículo →»;
     a quiet hover (cover zooms a touch, title turns pink, arrow nudges), no lift. */
  html[data-brand="ib"] .related-blogs-section .blogs-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
    max-width: 1100px;
    margin: 0 auto;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card {
    display: flex !important;
    flex-direction: column;
    overflow: hidden !important;
    border: 1px solid #e9ebef !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04) !important;
    transform: none !important;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card:hover,
  html[data-brand="ib"] .related-blogs-section .blog-card:focus-visible {
    border-color: #f4c3d8 !important;
    box-shadow: 0 18px 36px -24px rgba(17, 24, 39, .35) !important;
    outline: none;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto !important;
    overflow: hidden;
    background: #f5f6f8;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1) !important;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card:hover .blog-card-image img { transform: scale(1.04); }
  html[data-brand="ib"] .related-blogs-section .blog-card-content {
    display: flex !important;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px !important;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -.01em;
    transition: color .2s ease;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card:hover .blog-card-title { color: #e61c72 !important; }
  html[data-brand="ib"] .related-blogs-section .blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: .88rem !important;
    line-height: 1.6 !important;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: auto !important;
    padding-top: 6px;
    color: #e61c72 !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
  }
  html[data-brand="ib"] .related-blogs-section .blog-card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
  html[data-brand="ib"] .related-blogs-section .blog-card:hover .blog-card-link svg { transform: translateX(3px); }
  html[data-brand="ib"] .related-blogs-section .blogs-more { margin-top: 28px !important; text-align: center; }
  html[data-brand="ib"] .related-blogs-section .blogs-more-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 22px !important;
    border: 1.5px solid #e2e5ea !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease !important;
  }
  html[data-brand="ib"] .related-blogs-section .blogs-more-link:hover { border-color: #e61c72 !important; color: #e61c72 !important; }
  html[data-brand="ib"] .related-blogs-section .blogs-more-link svg { width: 16px; height: 16px; }
  @media (min-width: 640px) {
    html[data-brand="ib"] .related-blogs-section .blogs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1024px) {
    html[data-brand="ib"] .related-blogs-section .blogs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px !important; }
  }
}

@layer ib {
  /* ═══ Duration picker on the quality cards (owner 2026-11-04: «más integrado, como las calidades»).
     The `.nat-*` card rules apply; these add the days disc (where the flag goes) and the saving pill. */
  html[data-brand="ib"] .nat-card--days .nat-card__days {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fdeaf3;
    box-shadow: inset 0 0 0 1.5px #f7b3d0;
  }
  html[data-brand="ib"] .nat-card--days .nat-card__days::before {
    content: attr(data-days);
    color: #c2185b;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
  }
  html[data-brand="ib"] .nat-card--days.selected .nat-card__days { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
  html[data-brand="ib"] .nat-card--days .nat-card__place small { font-size: .85em; font-weight: 700; letter-spacing: 0; }
  html[data-brand="ib"] .nat-card--days .nat-card__save {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #059669;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px -4px rgba(5, 150, 105, .6);
  }
  html[data-brand="ib"] .nat-card--days.selected .nat-card__save { background: #fff; color: #047857; }
}

/* WCAG AA text contrast (Lighthouse color-contrast): live.css greys under 4.5:1 on white. */
@layer ib {
  html[data-brand="ib"]:where(:has(.ibm-service-auto, .ibm-service)) .ib-bundle-hint__old { color: #6b7280; }
}

/* Points a price earns («Ganas N puntos…», shared LoyaltyEarnHint in a .tw island): rail of the
   service card and the pack buy box. Empty island (programme off) takes no room. */
@layer ib {
  html[data-brand="ib"] .ibb-points.tw, html[data-brand="ib"] .ibp-points.tw { margin:6px 0 20px; display:flex; justify-content:center; text-align:center; }
  html[data-brand="ib"] .ibb-points.tw p { font-size:13px; color:#6b7280; }
  html[data-brand="ib"] .ibp-points.tw { justify-content:flex-start; text-align:left; margin:10px 0 0; }
  html[data-brand="ib"] .ibb-points.tw:empty, html[data-brand="ib"] .ibp-points.tw:empty { display:none; }
  html[data-brand="ib"] .ibb-points.tw *, html[data-brand="ib"] .ibp-points.tw * { all:revert-layer; }
}
