.elementor-104475 .elementor-element.elementor-element-4bfc75f{--display:flex;}/* Start custom CSS for html, class: .elementor-element-1ad17c2 *//*
PÁGINA: Alergias y restricciones en la comida del Baby Shower
SLUG: alergias-restricciones-comida-baby-shower
VERSIÓN: 4.0 · MOBILE-FIRST · MODAL GLOBAL DE RECURSOS
TIPOGRAFÍA: Plus Jakarta Sans con fallbacks
ENCAPSULADO PRINCIPAL: .tbs-allergy-page
COMPATIBILIDAD: WordPress + Elementor
*/

/* ================================================================
   BASE Y TOKENS
   ================================================================ */

.tbs-allergy-page {
  --tbs-primary: #f2679a;
  --tbs-primary-dark: #d94f82;
  --tbs-primary-deep: #b93d70;
  --tbs-secondary: #8174d0;
  --tbs-secondary-dark: #6658b4;
  --tbs-accent: #b77945;
  --tbs-green: #4f8c77;
  --tbs-green-dark: #356754;
  --tbs-ink: #403a4b;
  --tbs-ink-strong: #292532;
  --tbs-text: #625b6d;
  --tbs-muted: #81798b;
  --tbs-paper: #fffdf9;
  --tbs-surface: #ffffff;
  --tbs-pink-soft: #fff2f7;
  --tbs-lilac-soft: #f3efff;
  --tbs-cream-soft: #fff8f1;
  --tbs-green-soft: #f1faf6;
  --tbs-warning-soft: #fff7e8;
  --tbs-line: rgba(62, 54, 89, 0.12);
  --tbs-line-soft: rgba(62, 54, 89, 0.075);
  --tbs-shadow-xs: 0 8px 22px rgba(67, 50, 92, 0.055);
  --tbs-shadow-sm: 0 14px 34px rgba(67, 50, 92, 0.08);
  --tbs-shadow-md: 0 24px 58px rgba(67, 50, 92, 0.12);
  --tbs-shadow-lg: 0 34px 82px rgba(75, 52, 91, 0.18);
  --tbs-font: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;

  position: relative !important;
  left: 50% !important;
  isolation: isolate;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0;
  margin: 0 0 0 -50vw !important;
  padding: 0;
  overflow-x: clip;
  color: var(--tbs-ink);
  background: var(--tbs-paper);
  font-family: var(--tbs-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.68;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (width: 100dvw) {
  .tbs-allergy-page {
    width: 100dvw !important;
    max-width: 100dvw !important;
    margin-left: -50dvw !important;
  }
}

.tbs-allergy-page,
.tbs-allergy-page *,
.tbs-allergy-page *::before,
.tbs-allergy-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.tbs-allergy-page a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.tbs-allergy-page img,
.tbs-allergy-page svg {
  display: block;
  max-width: 100%;
}

.tbs-allergy-page img {
  width: 100%;
  height: auto;
}

.tbs-allergy-page figure,
.tbs-allergy-page h1,
.tbs-allergy-page h2,
.tbs-allergy-page h3,
.tbs-allergy-page p,
.tbs-allergy-page ul,
.tbs-allergy-page ol,
.tbs-allergy-page blockquote {
  margin-top: 0;
}

.tbs-allergy-page figure {
  margin-right: 0;
  margin-left: 0;
}

.tbs-allergy-page ul,
.tbs-allergy-page ol {
  padding-left: 0;
}

.tbs-allergy-page h1,
.tbs-allergy-page h2,
.tbs-allergy-page h3,
.tbs-allergy-page button,
.tbs-allergy-page .tbs-allergy-button,
.tbs-allergy-page .tbs-allergy-kicker,
.tbs-allergy-page .tbs-allergy-eyebrow,
.tbs-allergy-page .tbs-allergy-card-label {
  font-family: var(--tbs-font);
  font-weight: 700;
}

.tbs-allergy-page h1,
.tbs-allergy-page h2,
.tbs-allergy-page h3 {
  color: var(--tbs-ink-strong);
  letter-spacing: -0.046em;
  line-height: 1.08;
  text-wrap: balance;
}

.tbs-allergy-page h1 em,
.tbs-allergy-page h2 em {
  color: var(--tbs-primary-dark);
  font-style: normal;
  font-weight: 700;
}

.tbs-allergy-page p,
.tbs-allergy-page li,
.tbs-allergy-page td,
.tbs-allergy-page figcaption {
  color: var(--tbs-text);
  font-weight: 500;
  line-height: 1.68;
  text-wrap: pretty;
}

.tbs-allergy-page strong,
.tbs-allergy-page b,
.tbs-allergy-page summary {
  font-weight: 600;
}

.tbs-allergy-page small,
.tbs-allergy-page figcaption,
.tbs-allergy-page .tbs-allergy-table-note,
.tbs-allergy-page .tbs-allergy-message-card__note,
.tbs-allergy-page .tbs-allergy-checklist-card__microcopy,
.tbs-allergy-page .tbs-allergy-product__price del,
.tbs-allergy-page .tbs-allergy-product__price small {
  font-weight: 400;
}

.tbs-allergy-page :focus {
  outline: none;
}

.tbs-allergy-page :focus-visible {
  outline: 3px solid rgba(102, 88, 180, 0.45);
  outline-offset: 4px;
}

.tbs-allergy-page [id] {
  scroll-margin-top: 92px;
}

.tbs-allergy-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tbs-allergy-container {
  width: min(calc(100% - 28px), 1320px);
  margin-inline: auto;
}

.tbs-allergy-skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 1000000;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--tbs-ink-strong);
  font: 700 13px/1.2 var(--tbs-font);
}

.tbs-allergy-skip-link:focus {
  top: 12px;
}

/* ================================================================
   COMPONENTES COMPARTIDOS
   ================================================================ */

.tbs-allergy-section {
  width: 100%;
  padding: 68px 0;
}

.tbs-allergy-section-head {
  width: 100%;
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.tbs-allergy-section-head h2 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(1.8rem, 8.4vw, 2.65rem);
}

.tbs-allergy-section-head > p:last-child:not(.tbs-allergy-kicker) {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 0.97rem;
}

.tbs-allergy-kicker,
.tbs-allergy-card-label,
.tbs-allergy-eyebrow {
  color: var(--tbs-secondary-dark);
  font-size: 0.7rem;
  letter-spacing: 0.095em;
  line-height: 1.45;
  text-transform: uppercase;
}

.tbs-allergy-kicker {
  margin-bottom: 12px;
}

.tbs-allergy-kicker--light {
  color: rgba(255, 255, 255, 0.82);
}

.tbs-allergy-card-label {
  margin-bottom: 9px;
  color: #7669b6;
  font-size: 0.64rem;
}

.tbs-allergy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 0;
}

.tbs-allergy-eyebrow > span {
  color: var(--tbs-primary-dark);
  font-size: 1rem;
  line-height: 1;
}

.tbs-allergy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.tbs-allergy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.91rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.tbs-allergy-button svg,
.tbs-allergy-related__grid > a > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.tbs-allergy-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--tbs-primary-dark), #c04d99 50%, var(--tbs-secondary-dark));
  box-shadow: 0 14px 30px rgba(115, 69, 150, 0.23);
}

.tbs-allergy-button--secondary {
  color: var(--tbs-ink-strong) !important;
  border-color: rgba(57, 47, 69, 0.15);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-button--light {
  color: var(--tbs-secondary-dark) !important;
  background: #fff;
  box-shadow: 0 15px 34px rgba(31, 22, 48, 0.2);
}

.tbs-allergy-button--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.tbs-allergy-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(102, 88, 180, 0.12);
  border-radius: 16px;
  color: var(--tbs-primary-dark);
  background: linear-gradient(145deg, #ffe7ef, #f0ebff);
}

.tbs-allergy-icon svg {
  width: 23px;
  height: 23px;
}

.tbs-allergy-check-list {
  display: grid;
  gap: 11px;
  margin: 0 0 25px;
  list-style: none;
}

.tbs-allergy-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
}

.tbs-allergy-check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--tbs-primary-dark);
}

/* ================================================================
   NAVEGACIÓN PRINCIPAL DEL CENTRO
   ================================================================ */

.tbs-allergy-pillar-nav-section {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(72, 57, 92, 0.06);
  border-bottom: 1px solid rgba(72, 57, 92, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(58, 43, 78, 0.05);
}

.tbs-allergy-pillar-nav__inner {
  width: 100%;
  padding-inline: 12px;
}

.tbs-allergy-pillar-nav {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tbs-allergy-pillar-nav::-webkit-scrollbar {
  display: none;
}

.tbs-allergy-pillar-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid rgba(70, 57, 87, 0.12);
  border-radius: 999px;
  color: #4b4457;
  background: #fff;
  box-shadow: 0 6px 18px rgba(57, 43, 76, 0.045);
  font: 700 0.75rem/1.2 var(--tbs-font);
  white-space: nowrap;
  scroll-snap-align: start;
}

.tbs-allergy-pillar-nav__link--home {
  gap: 9px;
}

.tbs-allergy-pillar-nav__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--tbs-primary);
  box-shadow: 0 0 0 5px rgba(242, 103, 154, 0.11);
}

.tbs-allergy-pillar-nav__link.is-current,
.tbs-allergy-pillar-nav__link[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #7063c5, var(--tbs-secondary));
  box-shadow: 0 12px 26px rgba(91, 75, 164, 0.22);
}

.tbs-allergy-pillar-nav__link--cta {
  justify-content: space-between;
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(116deg, #d7448e, #bc4aa0 45%, #735ac4);
  box-shadow: 0 12px 27px rgba(166, 67, 153, 0.22);
}

.tbs-allergy-pillar-nav__cta-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  color: var(--tbs-secondary-dark);
  background: #fff;
  font: 700 14px/1 Arial, sans-serif;
}

/* ================================================================
   HERO
   ================================================================ */

.tbs-allergy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 54px;
  background:
    radial-gradient(circle at 2% 4%, rgba(242, 103, 154, 0.09), transparent 21rem),
    radial-gradient(circle at 96% 92%, rgba(129, 116, 208, 0.1), transparent 24rem),
    linear-gradient(135deg, #fff9f4, #fff7fa 56%, #f7f3ff);
}

.tbs-allergy-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 2%;
  z-index: -1;
  width: 120px;
  height: 120px;
  opacity: 0.33;
  background-image: radial-gradient(rgba(242, 103, 154, 0.5) 1px, transparent 1.3px);
  background-size: 16px 16px;
  transform: rotate(-10deg);
}

.tbs-allergy-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 36px;
}

.tbs-allergy-hero__copy {
  width: 100%;
  max-width: 730px;
}

.tbs-allergy-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: #756e80;
  font-size: 0.72rem;
  font-weight: 600;
}

.tbs-allergy-hero h1 {
  max-width: 15ch;
  margin: 16px 0 20px;
  font-size: clamp(2.2rem, 10.4vw, 3.65rem);
  line-height: 1.025;
}

.tbs-allergy-hero__lead {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(1rem, 3.8vw, 1.11rem);
  line-height: 1.72;
}

.tbs-allergy-hero__actions {
  display: grid;
  grid-template-columns: 1fr;
}

.tbs-allergy-hero__actions .tbs-allergy-button {
  width: 100%;
}

.tbs-allergy-hero__proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 26px 0 0;
  list-style: none;
}

.tbs-allergy-hero__proof li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 1px 11px;
  padding: 14px;
  border: 1px solid rgba(73, 59, 94, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-hero__proof span {
  grid-row: 1 / 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--tbs-primary-dark);
  background: var(--tbs-pink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.tbs-allergy-hero__proof strong {
  color: var(--tbs-ink-strong);
  font-size: 0.84rem;
}

.tbs-allergy-hero__proof small {
  color: var(--tbs-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.tbs-allergy-hero__scope {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  color: var(--tbs-muted) !important;
  font-size: 0.76rem;
  line-height: 1.5;
}

.tbs-allergy-hero__scope svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--tbs-green-dark);
}

.tbs-allergy-hero__figure {
  width: 100%;
  max-width: 720px;
  justify-self: center;
  margin-bottom: 0;
}

.tbs-allergy-hero__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: #f4e9ee;
  box-shadow: var(--tbs-shadow-lg);
}

.tbs-allergy-hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(39, 28, 50, 0.22));
}

.tbs-allergy-hero__image-wrap img {
  height: 100%;
  object-fit: cover;
}

.tbs-allergy-hero__note {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(66, 49, 86, 0.1);
}

.tbs-allergy-hero__note--top {
  top: 11px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--tbs-secondary-dark);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tbs-allergy-hero__note--top svg {
  width: 17px;
  height: 17px;
}

.tbs-allergy-hero__note--bottom {
  right: 11px;
  bottom: 11px;
}

.tbs-allergy-hero__note--bottom strong,
.tbs-allergy-hero__note--bottom small {
  display: block;
}

.tbs-allergy-hero__note--bottom strong {
  color: var(--tbs-ink-strong);
  font-size: 0.82rem;
}

.tbs-allergy-hero__note--bottom small {
  color: var(--tbs-muted);
  font-size: 0.62rem;
}

.tbs-allergy-hero__figure figcaption {
  margin: 11px auto 0;
  color: var(--tbs-muted);
  font-size: 0.68rem;
  text-align: center;
}

/* ================================================================
   ÍNDICE
   ================================================================ */

.tbs-allergy-quick-nav {
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--tbs-line-soft);
  background: linear-gradient(180deg, #fff9f4, #fffdf9);
}

.tbs-allergy-index {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid var(--tbs-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--tbs-shadow-xs);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tbs-allergy-index::-webkit-scrollbar {
  display: none;
}

.tbs-allergy-index strong,
.tbs-allergy-index a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.tbs-allergy-index strong {
  color: #fff;
  background: var(--tbs-secondary-dark);
}

.tbs-allergy-index a {
  color: #595064;
  background: #f7f4fa;
}

/* ================================================================
   RESPUESTA DIRECTA
   ================================================================ */

.tbs-allergy-answer {
  background: var(--tbs-paper);
}

.tbs-allergy-answer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.tbs-allergy-answer h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 8.8vw, 3rem);
}

.tbs-allergy-answer__copy > p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.76;
}

.tbs-allergy-answer__copy aside {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 18px;
  border-left: 4px solid var(--tbs-primary-dark);
  border-radius: 0 18px 18px 0;
  background: var(--tbs-pink-soft);
}

.tbs-allergy-answer__copy aside svg {
  width: 25px;
  height: 25px;
  color: var(--tbs-primary-dark);
}

.tbs-allergy-answer__copy aside strong {
  display: block;
  margin-bottom: 5px;
  color: var(--tbs-ink-strong);
  font-size: 0.9rem;
}

.tbs-allergy-answer__copy aside p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.tbs-allergy-answer__rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 26px;
}

.tbs-allergy-answer__rules article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--tbs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-answer__rules article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--tbs-primary-dark), var(--tbs-secondary));
  font-size: 0.78rem;
  font-weight: 700;
}

.tbs-allergy-answer__rules strong {
  display: block;
  color: var(--tbs-ink-strong);
  font-size: 0.86rem;
}

.tbs-allergy-answer__rules p {
  margin-bottom: 0;
  font-size: 0.75rem;
}

/* ================================================================
   DIFERENCIAS
   ================================================================ */

.tbs-allergy-differences {
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 103, 154, 0.055), transparent 23rem),
    radial-gradient(circle at 93% 88%, rgba(129, 116, 208, 0.065), transparent 24rem),
    #f8f6fb;
}

.tbs-allergy-differences__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.tbs-allergy-differences__grid article {
  padding: 24px 21px;
  border: 1px solid var(--tbs-line);
  border-radius: 22px;
  box-shadow: var(--tbs-shadow-sm);
}

.tbs-allergy-differences__grid .is-critical {
  background: radial-gradient(circle at 100% 0, rgba(242, 103, 154, 0.13), transparent 13rem), linear-gradient(145deg, #fff, #fff3f7);
}

.tbs-allergy-differences__grid .is-medical {
  background: radial-gradient(circle at 100% 0, rgba(129, 116, 208, 0.13), transparent 13rem), linear-gradient(145deg, #fff, #f7f3ff);
}

.tbs-allergy-differences__grid .is-choice {
  background: radial-gradient(circle at 100% 0, rgba(93, 146, 125, 0.13), transparent 13rem), linear-gradient(145deg, #fff, #f2faf7);
}

.tbs-allergy-differences__grid .is-unknown {
  background: radial-gradient(circle at 100% 0, rgba(201, 155, 97, 0.14), transparent 13rem), linear-gradient(145deg, #fff, #fff9ef);
}

.tbs-allergy-differences__grid .tbs-allergy-icon {
  margin-bottom: 20px;
}

.tbs-allergy-differences__grid h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 6vw, 1.72rem);
}

.tbs-allergy-differences__grid p:not(.tbs-allergy-card-label) {
  margin-bottom: 0;
  font-size: 0.87rem;
}

.tbs-allergy-privacy-note {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 17px;
  border: 1px solid rgba(93, 146, 125, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, #f4fbf8, #fff);
}

.tbs-allergy-privacy-note > svg {
  width: 24px;
  height: 24px;
  color: var(--tbs-green-dark);
}

.tbs-allergy-privacy-note strong {
  display: block;
  margin-bottom: 4px;
  color: #365846;
  font-size: 0.85rem;
}

.tbs-allergy-privacy-note p {
  margin-bottom: 0;
  font-size: 0.76rem;
}

/* ================================================================
   PROCESO
   ================================================================ */

.tbs-allergy-process {
  background: linear-gradient(145deg, var(--tbs-pink-soft), var(--tbs-lilac-soft));
}

.tbs-allergy-process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  list-style: none;
}

.tbs-allergy-process__grid li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 20px;
  border: 1px solid var(--tbs-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-process__grid li > span {
  grid-row: 1 / 3;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: var(--tbs-primary-dark);
  background: linear-gradient(145deg, #ffe7ef, #f0ebff);
  font-size: 0.77rem;
  font-weight: 700;
}

.tbs-allergy-process__grid h3 {
  margin-bottom: 3px;
  font-size: 1.08rem;
}

.tbs-allergy-process__grid p {
  margin-bottom: 0;
  font-size: 0.77rem;
}

/* ================================================================
   MATRIZ: TARJETAS EN MÓVIL, TABLA EN ESCRITORIO
   ================================================================ */

.tbs-allergy-matrix {
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 103, 154, 0.055), transparent 24rem),
    radial-gradient(circle at 94% 88%, rgba(129, 116, 208, 0.065), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fcfafd 100%);
}

.tbs-allergy-table-wrap {
  width: 100%;
}

.tbs-allergy-table {
  display: block;
  width: 100%;
  border: 0;
  border-spacing: 0;
  background: transparent;
  font-family: var(--tbs-font);
}

.tbs-allergy-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tbs-allergy-table tbody,
.tbs-allergy-table tr,
.tbs-allergy-table th,
.tbs-allergy-table td {
  display: block;
  width: 100%;
}

.tbs-allergy-table tbody {
  display: grid;
  gap: 14px;
}

.tbs-allergy-table tr {
  overflow: hidden;
  border: 1px solid rgba(102, 88, 180, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--tbs-shadow-sm);
}

.tbs-allergy-table tbody th {
  position: relative;
  padding: 21px 19px 18px;
  color: var(--tbs-ink-strong);
  background: radial-gradient(circle at 20% 18%, rgba(242, 103, 154, 0.1), transparent 7rem), linear-gradient(145deg, #fff9fb, #f8f4ff);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.tbs-allergy-table tbody th::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tbs-primary), var(--tbs-secondary));
}

.tbs-allergy-table tbody td {
  position: relative;
  padding: 14px 18px 15px;
  border-top: 1px solid var(--tbs-line-soft);
  color: #625b6d;
  font-size: 0.82rem;
  line-height: 1.58;
}

.tbs-allergy-table tbody td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 5px;
  color: var(--tbs-secondary-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tbs-allergy-table-note {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  min-height: 48px;
  margin: 17px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(102, 88, 180, 0.1);
  border-radius: 16px;
  color: #756e80 !important;
  background: #fff;
  box-shadow: var(--tbs-shadow-xs);
  font-size: 0.72rem;
  text-align: center;
}

/* ================================================================
   PROVEEDOR
   ================================================================ */

.tbs-allergy-provider {
  background: radial-gradient(circle at 5% 10%, rgba(242, 103, 154, 0.07), transparent 25rem), linear-gradient(145deg, #fff8fa, #fffdfb 62%, #f8f4ff);
}

.tbs-allergy-provider__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.tbs-allergy-provider__copy h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 8.2vw, 3rem);
}

.tbs-allergy-provider__copy > p:not(.tbs-allergy-kicker) {
  margin-bottom: 23px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.tbs-allergy-provider__figure {
  margin-bottom: 0;
}

.tbs-allergy-provider__figure img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--tbs-shadow-lg);
}

.tbs-allergy-provider__figure figcaption {
  margin: 11px auto 0;
  color: var(--tbs-muted);
  font-size: 0.68rem;
  text-align: center;
}

/* ================================================================
   MENSAJE MODELO
   ================================================================ */

.tbs-allergy-message {
  background: var(--tbs-paper);
}

.tbs-allergy-message-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 27px 22px;
  border: 1px solid var(--tbs-line);
  border-radius: 24px;
  background: radial-gradient(circle at 92% 8%, rgba(242, 103, 154, 0.1), transparent 17rem), linear-gradient(145deg, #fff, #f8f4ff);
  box-shadow: var(--tbs-shadow-md);
}

.tbs-allergy-message-card h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 8.7vw, 3rem);
}

.tbs-allergy-message-card blockquote {
  margin-bottom: 0;
  padding: 0 0 0 20px;
  border-left: 4px solid var(--tbs-primary-dark);
  color: var(--tbs-ink-strong);
  font-size: clamp(1.05rem, 4.8vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.tbs-allergy-message-card__note {
  margin-bottom: 0;
  padding: 13px 15px;
  border-radius: 14px;
  color: #795f3d !important;
  background: var(--tbs-warning-soft);
  font-size: 0.75rem;
}

/* ================================================================
   SERVICIO
   ================================================================ */

.tbs-allergy-service {
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 103, 154, 0.055), transparent 23rem),
    radial-gradient(circle at 93% 88%, rgba(129, 116, 208, 0.065), transparent 24rem),
    #f8f6fb;
}

.tbs-allergy-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.tbs-allergy-service__grid article {
  padding: 23px 21px;
  border: 1px solid var(--tbs-line);
  border-radius: 21px;
  background: linear-gradient(145deg, #fff, #fcfaff);
  box-shadow: var(--tbs-shadow-sm);
}

.tbs-allergy-service__grid .tbs-allergy-icon {
  margin-bottom: 21px;
}

.tbs-allergy-service__grid h3 {
  margin-bottom: 11px;
  font-size: 1.43rem;
}

.tbs-allergy-service__grid p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.tbs-allergy-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 22px;
}

.tbs-allergy-status-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--tbs-line);
  border-radius: 17px;
  background: #fff;
}

.tbs-allergy-status-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
}

.tbs-allergy-status-grid svg {
  width: 20px;
  height: 20px;
}

.tbs-allergy-status-grid .is-confirmed > span {
  color: #fff;
  background: var(--tbs-green);
}

.tbs-allergy-status-grid .is-pending > span {
  color: #745b37;
  background: #f5ead6;
}

.tbs-allergy-status-grid .is-not-guaranteed > span {
  color: #fff;
  background: #9b7480;
}

.tbs-allergy-status-grid strong {
  display: block;
  margin-bottom: 3px;
  color: var(--tbs-ink-strong);
  font-size: 0.84rem;
}

.tbs-allergy-status-grid p {
  margin-bottom: 0;
  font-size: 0.72rem;
}

/* ================================================================
   CHECKLIST GRATUITA
   ================================================================ */

.tbs-allergy-checklist {
  background: #faf8fc;
}

.tbs-allergy-checklist-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid rgba(102, 88, 180, 0.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--tbs-shadow-md);
}

.tbs-allergy-checklist-card__copy {
  padding: 27px 22px;
}

.tbs-allergy-checklist-card h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 8.2vw, 3rem);
}

.tbs-allergy-checklist-card__copy > p:not(.tbs-allergy-kicker):not(.tbs-allergy-checklist-card__microcopy) {
  margin-bottom: 21px;
  font-size: 0.96rem;
  line-height: 1.75;
}

.tbs-allergy-registration-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin: 0 0 21px;
  padding: 15px;
  border: 1px solid rgba(82, 153, 125, 0.2);
  border-radius: 17px;
  background: linear-gradient(145deg, #f5fcf8, #fff);
}

.tbs-allergy-registration-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #609d87, #4f8c77);
}

.tbs-allergy-registration-note svg {
  width: 20px;
  height: 20px;
}

.tbs-allergy-registration-note strong {
  display: block;
  margin-bottom: 4px;
  color: #365846;
  font-size: 0.84rem;
}

.tbs-allergy-registration-note p {
  margin-bottom: 0;
  color: #5f6c64;
  font-size: 0.74rem;
}

.tbs-allergy-checklist-trigger {
  width: 100%;
}

.tbs-allergy-checklist-card__microcopy {
  margin: 10px 0 0;
  color: var(--tbs-muted) !important;
  font-size: 0.7rem;
  text-align: center;
}

.tbs-allergy-checklist-card__figure {
  position: relative;
  min-height: 310px;
  margin-bottom: 0;
  background: var(--tbs-lilac-soft);
}

.tbs-allergy-checklist-card__image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  overflow: hidden;
}

.tbs-allergy-checklist-card__image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 31, 59, 0.29));
}

.tbs-allergy-checklist-card__image-link img {
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.tbs-allergy-checklist-card__image-link > span {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #fff;
  background: rgba(62, 48, 81, 0.58);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ================================================================
   PRODUCTO RECOMENDADO
   ================================================================ */

.tbs-allergy-product {
  background: var(--tbs-paper);
}

.tbs-allergy-product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.tbs-allergy-product__visual {
  position: relative;
  display: block;
  width: min(100%, 430px);
  justify-self: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--tbs-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--tbs-shadow-lg);
}

.tbs-allergy-product__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbs-allergy-product__visual > span {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  background: rgba(41, 37, 50, 0.88);
  box-shadow: 0 8px 22px rgba(41, 37, 50, 0.14);
  font-size: 0.68rem;
  font-weight: 700;
}

.tbs-allergy-product__copy h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 8.2vw, 3rem);
}

.tbs-allergy-product__copy > p:not(.tbs-allergy-kicker) {
  margin-bottom: 21px;
  font-size: 0.96rem;
  line-height: 1.75;
}

.tbs-allergy-product__price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: start;
  gap: 2px 10px;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid rgba(102, 88, 180, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff8fb, #f6f2ff);
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-product__price > span {
  grid-column: 1 / -1;
  color: var(--tbs-secondary-dark);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tbs-allergy-product__price > strong {
  color: var(--tbs-ink-strong);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tbs-allergy-product__price > del {
  align-self: center;
  color: var(--tbs-muted);
  font-size: 0.88rem;
}

.tbs-allergy-product__price > small {
  grid-column: 1 / -1;
  margin-top: 7px;
  color: var(--tbs-muted);
  font-size: 0.7rem;
}

.tbs-allergy-product__actions {
  display: grid;
  grid-template-columns: 1fr;
}

.tbs-allergy-product__actions .tbs-allergy-button {
  width: 100%;
}

/* ================================================================
   INTEGRACIÓN / CTA OSCURO
   ================================================================ */

.tbs-allergy-integration {
  background: var(--tbs-paper);
}

.tbs-allergy-integration__inner,
.tbs-allergy-final__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 31px;
  overflow: hidden;
  padding: 34px 24px;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(circle at 91% 12%, rgba(255, 255, 255, 0.14), transparent 21rem), linear-gradient(118deg, #5d56a8, #8174c3 49%, #e46c9f);
  box-shadow: 0 28px 66px rgba(67, 45, 101, 0.18);
}

.tbs-allergy-integration h2,
.tbs-allergy-final h2 {
  max-width: 15ch;
  margin-bottom: 15px;
  color: #fff;
  font-size: clamp(2rem, 8.7vw, 3rem);
}

.tbs-allergy-integration h2 em,
.tbs-allergy-final h2 em {
  color: #ffd7e6;
}

.tbs-allergy-integration p:not(.tbs-allergy-kicker),
.tbs-allergy-final p:not(.tbs-allergy-kicker) {
  max-width: 700px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.tbs-allergy-integration__inner .tbs-allergy-actions,
.tbs-allergy-final__inner .tbs-allergy-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.tbs-allergy-integration__inner .tbs-allergy-button,
.tbs-allergy-final__inner .tbs-allergy-button {
  width: 100%;
}

.tbs-allergy-integration__steps {
  display: grid;
  gap: 10px;
  align-content: center;
}

.tbs-allergy-integration__steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 3px 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.tbs-allergy-integration__steps span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--tbs-secondary-dark);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.tbs-allergy-integration__steps strong {
  color: #fff;
  font-size: 0.84rem;
}

.tbs-allergy-integration__steps small {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.7rem;
}

/* ================================================================
   FUENTES Y ALCANCE
   ================================================================ */

.tbs-allergy-sources {
  background: linear-gradient(145deg, #fff8fa, #fffdf9 58%, #f4fbf8);
}

.tbs-allergy-sources__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 27px;
  padding: 25px 21px;
  border: 1px solid var(--tbs-line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--tbs-shadow-sm);
}

.tbs-allergy-sources h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 8.7vw, 3rem);
}

.tbs-allergy-sources__inner > div:last-child > p {
  margin-bottom: 17px;
  font-size: 0.85rem;
}

.tbs-allergy-sources ul {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  list-style: none;
}

.tbs-allergy-sources a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--tbs-secondary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(102, 88, 180, 0.3);
  text-underline-offset: 4px;
}

/* ================================================================
   RELACIONADOS
   ================================================================ */

.tbs-allergy-related {
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 103, 154, 0.055), transparent 23rem),
    radial-gradient(circle at 93% 88%, rgba(129, 116, 208, 0.065), transparent 24rem),
    #f8f6fb;
}

.tbs-allergy-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.tbs-allergy-related__grid > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 3px 13px;
  min-height: 132px;
  padding: 19px;
  border: 1px solid var(--tbs-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-related__grid > a > span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--tbs-primary-dark);
  background: var(--tbs-pink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.tbs-allergy-related__grid strong {
  color: var(--tbs-ink-strong);
  font-size: 0.94rem;
}

.tbs-allergy-related__grid small {
  color: var(--tbs-muted);
  font-size: 0.72rem;
  line-height: 1.48;
}

.tbs-allergy-related__grid > a > svg {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--tbs-secondary-dark);
}

/* ================================================================
   FAQ
   ================================================================ */

.tbs-allergy-faq {
  background: var(--tbs-paper);
}

.tbs-allergy-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.tbs-allergy-faq__intro h2 {
  max-width: 15ch;
  margin-bottom: 15px;
  font-size: clamp(2rem, 8.7vw, 3rem);
}

.tbs-allergy-faq__intro > p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 0.89rem;
}

.tbs-allergy-faq__list {
  display: grid;
  gap: 10px;
}

.tbs-allergy-faq__list details {
  overflow: hidden;
  border: 1px solid var(--tbs-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--tbs-shadow-xs);
}

.tbs-allergy-faq__list summary {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 16px 48px 16px 17px;
  color: var(--tbs-ink-strong);
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.4;
  list-style: none;
}

.tbs-allergy-faq__list summary::-webkit-details-marker {
  display: none;
}

.tbs-allergy-faq__list summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  color: var(--tbs-secondary-dark);
  background: var(--tbs-lilac-soft);
  font-size: 1rem;
  font-weight: 700;
}

.tbs-allergy-faq__list details[open] summary::after {
  content: "−";
}

.tbs-allergy-faq__list details > div {
  padding: 0 17px 17px;
}

.tbs-allergy-faq__list details p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

/* ================================================================
   CTA FINAL Y NOSCRIPT
   ================================================================ */

.tbs-allergy-final {
  padding: 0 0 34px;
  background: var(--tbs-paper);
}

.tbs-allergy-noscript {
  width: min(calc(100% - 28px), 900px);
  margin: 18px auto;
  padding: 14px 16px;
  border: 1px solid #d7a55d;
  border-radius: 14px;
  color: #76572c;
  background: #fff7e7;
  font: 600 0.82rem/1.55 var(--tbs-font);
}

/* ================================================================
   INTERACCIONES PARA DISPOSITIVOS CON HOVER
   ================================================================ */

@media (hover: hover) and (pointer: fine) {
  .tbs-allergy-button:hover {
    transform: translateY(-2px);
  }

  .tbs-allergy-button--primary:hover {
    box-shadow: 0 18px 40px rgba(115, 69, 150, 0.3);
  }

  .tbs-allergy-button--secondary:hover {
    border-color: rgba(242, 103, 154, 0.3);
    background: #fff;
  }

  .tbs-allergy-pillar-nav__link:not(.is-current):hover,
  .tbs-allergy-index a:hover {
    color: var(--tbs-primary-dark);
    border-color: rgba(242, 103, 154, 0.24);
  }

  .tbs-allergy-product__visual:hover,
  .tbs-allergy-related__grid > a:hover {
    transform: translateY(-4px);
    box-shadow: var(--tbs-shadow-md);
  }

  .tbs-allergy-product__visual,
  .tbs-allergy-related__grid > a {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .tbs-allergy-faq__list summary:hover {
    color: var(--tbs-secondary-dark);
  }
}

/* ================================================================
   TABLET
   ================================================================ */

@media (min-width: 560px) {
  .tbs-allergy-container {
    width: min(calc(100% - 40px), 1320px);
  }

  .tbs-allergy-hero__actions,
  .tbs-allergy-product__actions,
  .tbs-allergy-integration__inner .tbs-allergy-actions,
  .tbs-allergy-final__inner .tbs-allergy-actions {
    display: flex;
  }

  .tbs-allergy-hero__actions .tbs-allergy-button,
  .tbs-allergy-product__actions .tbs-allergy-button,
  .tbs-allergy-integration__inner .tbs-allergy-button,
  .tbs-allergy-final__inner .tbs-allergy-button {
    width: auto;
  }

  .tbs-allergy-hero__proof,
  .tbs-allergy-answer__rules,
  .tbs-allergy-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tbs-allergy-hero__proof li {
    display: block;
  }

  .tbs-allergy-hero__proof span {
    margin-bottom: 8px;
  }

  .tbs-allergy-hero__proof strong,
  .tbs-allergy-hero__proof small {
    display: block;
  }

  .tbs-allergy-answer__rules article {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .tbs-allergy-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tbs-allergy-process__grid li {
    display: block;
  }

  .tbs-allergy-process__grid li > span {
    margin-bottom: 18px;
  }

  .tbs-allergy-differences__grid,
  .tbs-allergy-service__grid,
  .tbs-allergy-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tbs-allergy-checklist-trigger {
    width: fit-content;
  }

  .tbs-allergy-checklist-card__microcopy {
    text-align: left;
  }
}

/* ================================================================
   ESCRITORIO MEDIO
   ================================================================ */

@media (min-width: 900px) {
  .tbs-allergy-section {
    padding: 88px 0;
  }

  .tbs-allergy-section-head {
    margin-bottom: 42px;
  }

  .tbs-allergy-section-head h2 {
    font-size: clamp(2.45rem, 4.1vw, 3.25rem);
  }

  .tbs-allergy-pillar-nav__inner {
    padding-inline: clamp(20px, 2.8vw, 48px);
  }

  .tbs-allergy-hero {
    min-height: 680px;
    padding: 48px 0 66px;
  }

  .tbs-allergy-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.94fr);
    gap: clamp(44px, 5vw, 76px);
  }

  .tbs-allergy-hero__figure {
    justify-self: end;
  }

  .tbs-allergy-hero__image-wrap {
    border-radius: 30px;
  }

  .tbs-allergy-hero h1 {
    font-size: clamp(3.25rem, 5vw, 4.2rem);
  }

  .tbs-allergy-answer__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }

  .tbs-allergy-answer h2,
  .tbs-allergy-provider__copy h2,
  .tbs-allergy-message-card h2,
  .tbs-allergy-checklist-card h2,
  .tbs-allergy-product__copy h2,
  .tbs-allergy-sources h2,
  .tbs-allergy-faq__intro h2,
  .tbs-allergy-integration h2,
  .tbs-allergy-final h2 {
    font-size: clamp(2.55rem, 4vw, 3.35rem);
  }

  .tbs-allergy-differences__grid,
  .tbs-allergy-service__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tbs-allergy-differences__grid article,
  .tbs-allergy-service__grid article {
    min-height: 305px;
  }

  .tbs-allergy-process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tbs-allergy-process__grid li {
    min-height: 230px;
    padding: 24px;
  }

  .tbs-allergy-provider__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
    gap: 64px;
  }

  .tbs-allergy-message-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 42px;
    padding: 52px;
  }

  .tbs-allergy-message-card__note {
    grid-column: 1 / -1;
  }

  .tbs-allergy-checklist-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    border-radius: 30px;
  }

  .tbs-allergy-checklist-card__copy {
    padding: 48px;
  }

  .tbs-allergy-checklist-card__figure,
  .tbs-allergy-checklist-card__image-link,
  .tbs-allergy-checklist-card__image-link img {
    min-height: 100%;
  }

  .tbs-allergy-product__grid {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
    gap: 70px;
  }

  .tbs-allergy-product__visual {
    width: min(100%, 440px);
  }

  .tbs-allergy-integration__inner,
  .tbs-allergy-final__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: 60px;
    padding: 62px;
    border-radius: 34px;
  }

  .tbs-allergy-sources__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 58px;
    padding: 46px;
    border-radius: 28px;
  }

  .tbs-allergy-faq__grid {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 64px;
    align-items: start;
  }

  .tbs-allergy-faq__intro {
    position: sticky;
    top: 104px;
  }

  .tbs-allergy-final {
    padding-bottom: 54px;
  }
}

/* ================================================================
   TABLA REAL EN ESCRITORIO
   ================================================================ */

@media (min-width: 1024px) {
  .tbs-allergy-table-wrap {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(102, 88, 180, 0.14);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--tbs-shadow-md);
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 88, 180, 0.3) rgba(243, 239, 255, 0.8);
  }

  .tbs-allergy-table-wrap::before {
    content: "";
    position: sticky;
    top: 0;
    left: 0;
    z-index: 8;
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: -5px;
    pointer-events: none;
    background: linear-gradient(90deg, var(--tbs-primary), #d756a0 42%, var(--tbs-secondary));
  }

  .tbs-allergy-table {
    display: table;
    width: 100%;
    min-width: 1050px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
    font-size: 0.81rem;
  }

  .tbs-allergy-table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .tbs-allergy-table tbody {
    display: table-row-group;
  }

  .tbs-allergy-table tr {
    display: table-row;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .tbs-allergy-table th,
  .tbs-allergy-table td {
    display: table-cell;
    width: auto;
    padding: 22px 21px;
    border-right: 1px solid var(--tbs-line-soft);
    border-bottom: 1px solid var(--tbs-line-soft);
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
  }

  .tbs-allergy-table th:last-child,
  .tbs-allergy-table td:last-child {
    border-right: 0;
  }

  .tbs-allergy-table tbody tr:last-child th,
  .tbs-allergy-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .tbs-allergy-table thead th {
    color: #5a4f68;
    background: linear-gradient(180deg, #fff8fb, #faf6ff);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.095em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .tbs-allergy-table thead th:nth-child(1) { width: 17%; }
  .tbs-allergy-table thead th:nth-child(2) { width: 24%; }
  .tbs-allergy-table thead th:nth-child(3) { width: 15%; }
  .tbs-allergy-table thead th:nth-child(4) { width: 23%; }
  .tbs-allergy-table thead th:nth-child(5) { width: 21%; }

  .tbs-allergy-table tbody tr:nth-child(even) {
    background: linear-gradient(90deg, rgba(255, 249, 252, 0.74), rgba(249, 247, 255, 0.72));
  }

  .tbs-allergy-table tbody th {
    padding: 22px 20px;
    text-align: center;
  }

  .tbs-allergy-table tbody th::before {
    margin: 0 auto 11px;
  }

  .tbs-allergy-table tbody td {
    padding: 22px 21px;
    border-top: 0;
    font-size: 0.79rem;
  }

  .tbs-allergy-table tbody td::before {
    display: none;
  }

  .tbs-allergy-table tbody td:nth-child(3) {
    text-align: center;
    font-weight: 600;
  }

  .tbs-allergy-table-note {
    border-radius: 999px;
  }
}

/* ================================================================
   NAVEGACIÓN AMPLIA
   ================================================================ */

@media (min-width: 1320px) {
  .tbs-allergy-pillar-nav {
    display: grid;
    grid-template-columns: minmax(150px, 1.12fr) minmax(158px, 1.17fr) repeat(8, minmax(88px, 0.82fr)) minmax(158px, 1.12fr);
    overflow: visible;
  }

  .tbs-allergy-pillar-nav__link {
    min-height: 54px;
    padding-inline: 10px;
    font-size: clamp(0.64rem, 0.68vw, 0.76rem);
  }
}

/* ================================================================
   MÓVILES PEQUEÑOS
   ================================================================ */

@media (max-width: 380px) {
  .tbs-allergy-container {
    width: min(calc(100% - 20px), 1320px);
  }

  .tbs-allergy-hero h1 {
    font-size: 2.05rem;
  }

  .tbs-allergy-button {
    padding-inline: 16px;
    font-size: 0.84rem;
  }

  .tbs-allergy-hero__note--top {
    max-width: 168px;
  }

  .tbs-allergy-hero__note--bottom {
    display: none;
  }

  .tbs-allergy-checklist-card__copy,
  .tbs-allergy-message-card,
  .tbs-allergy-integration__inner,
  .tbs-allergy-final__inner {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* ================================================================
   IMPRESIÓN Y MOVIMIENTO REDUCIDO
   ================================================================ */

@media print {
  .tbs-allergy-pillar-nav-section,
  .tbs-allergy-quick-nav,
  .tbs-allergy-actions,
  .tbs-allergy-final,
  .tbs-allergy-checklist-card__figure,
  .tbs-allergy-product,
  .tbs-allergy-integration {
    display: none !important;
  }

  .tbs-allergy-page {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible;
    color: #000;
    background: #fff;
  }

  .tbs-allergy-section {
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbs-allergy-page *,
  .tbs-allergy-page *::before,
  .tbs-allergy-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   REGISTRO RÁPIDO PARA RECURSOS GRATUITOS
   Componente reutilizable para enlaces .tbs-protected-download
   ================================================================ */

body.tbs-modal-open {
  overflow: hidden !important;
}

.tbs-protected-download {
  position: relative;
}

.tbs-protected-download::before {
  content: "🔒";
  font-size: 0.76rem;
  line-height: 1;
}

.tbs-access-modal[hidden] {
  display: none !important;
}

.tbs-access-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.tbs-access-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.tbs-access-modal,
.tbs-access-modal *,
.tbs-access-modal *::before,
.tbs-access-modal *::after {
  box-sizing: border-box;
}

.tbs-access-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(36, 29, 39, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
}

.tbs-access-modal__panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(315px, 0.82fr) minmax(500px, 1.18fr);
  width: min(1040px, 100%);
  height: min(720px, calc(100dvh - 24px));
  max-height: calc(100vh - 24px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 36px 110px rgba(36, 29, 39, 0.34);
  transform: translateY(14px) scale(0.985);
  transition: transform 180ms ease;
}

.tbs-access-modal.is-open .tbs-access-modal__panel {
  transform: translateY(0) scale(1);
}

.tbs-access-modal__close {
  position: absolute;
  z-index: 8;
  top: 13px;
  right: 13px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(41, 37, 50, 0.09);
  border-radius: 50%;
  color: #655f6d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(70, 49, 70, 0.1);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease;
}

.tbs-access-modal__close:hover {
  color: #dc4f84;
  background: #fff0f6;
  transform: rotate(4deg);
}

.tbs-access-modal__aside {
  position: relative;
  display: flex;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  padding: 36px 32px 28px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.2), transparent 30%),
    radial-gradient(circle at 10% 100%, rgba(255, 218, 231, 0.2), transparent 32%),
    linear-gradient(145deg, #6658b4 0%, #8174d0 45%, #e66194 100%);
}

.tbs-access-modal__aside::before,
.tbs-access-modal__aside::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.tbs-access-modal__aside::before {
  top: -100px;
  right: -90px;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(255, 255, 255, 0.19);
}

.tbs-access-modal__aside::after {
  right: 32px;
  bottom: 75px;
  width: 105px;
  height: 105px;
  background: rgba(255, 255, 255, 0.08);
}

.tbs-access-modal__brand {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tbs-access-modal__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tbs-access-modal__aside h2 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 14px 0 0;
  font-size: clamp(1.85rem, 2.65vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.tbs-access-modal__aside > p {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.52;
}

.tbs-access-modal__benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tbs-access-modal__benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
}

.tbs-access-modal__benefits li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 50%;
  color: #6658b4;
  background: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
}

.tbs-access-modal__resource {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.tbs-access-modal__resource-thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(45, 34, 70, 0.18);
}

.tbs-access-modal__resource-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tbs-access-modal__resource-thumb.is-empty {
  display: none;
}

.tbs-access-modal__resource-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.tbs-access-modal__resource-copy > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tbs-access-modal__resource-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tbs-access-modal__resource-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 600;
}

.tbs-access-modal__content {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 42px 22px;
}

.tbs-access-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid #eee7ec;
  border-radius: 15px;
  background: #f7f4f7;
}

.tbs-access-modal__tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: #7b7480;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.tbs-access-modal__tabs button.is-active {
  color: #292532;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(70, 49, 70, 0.09);
}

.tbs-access-modal__status {
  flex: 0 0 auto;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.tbs-access-modal__status.is-error {
  color: #a52f55;
  border: 1px solid #f5c8d8;
  background: #fff0f6;
}

.tbs-access-modal__status.is-success {
  color: #23765d;
  border: 1px solid #bfe6d8;
  background: #eaf8f2;
}

.tbs-access-modal__form-panel {
  display: none;
  min-height: 0;
}

.tbs-access-modal__form-panel.is-active {
  display: block;
}

.tbs-access-modal__heading {
  margin-top: 14px;
}

.tbs-access-modal__heading > span {
  color: #dc4f84;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tbs-access-modal__heading h3 {
  margin: 5px 0 0;
  color: #292532;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.tbs-access-modal__heading p {
  margin: 7px 0 0;
  color: #746d79;
  font-size: 0.74rem;
  line-height: 1.45;
}

.tbs-access-social {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tbs-access-social__label {
  margin: 0;
  color: #5f5865;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.tbs-access-social .nsl-container,
.tbs-access-social .nsl-container-block,
.tbs-access-social .nsl-container-grid,
.tbs-access-social .nsl-container-buttons {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tbs-access-social .nsl-container-buttons {
  display: grid !important;
  gap: 8px !important;
}

.tbs-access-social .nsl-button,
.tbs-access-social a[data-provider="google"] {
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  box-shadow: 0 9px 22px rgba(70, 49, 70, 0.1) !important;
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
}

.tbs-access-social .nsl-button > span,
.tbs-access-social a[data-provider="google"] > span {
  min-height: 44px !important;
  align-items: center !important;
}

.tbs-access-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 11px 0 0;
  color: #9a939e;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tbs-access-divider::before,
.tbs-access-divider::after {
  content: "";
  height: 1px;
  background: #eee7ec;
}

.tbs-access-social__fallback {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #ddd4dc;
  border-radius: 11px;
  color: #817a85;
  background: #faf8fa;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.tbs-access-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.tbs-access-form__field {
  display: grid;
  gap: 4px;
}

.tbs-access-form__field label {
  color: #48414d;
  font-size: 0.69rem;
  font-weight: 700;
}

.tbs-access-form__field input {
  width: 100%;
  height: 43px;
  padding: 0 14px;
  border: 1px solid #e2dbe1;
  border-radius: 12px;
  color: #292532;
  background: #fff;
  outline: none;
  font: inherit;
  font-size: 0.8rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.tbs-access-form__field input::placeholder {
  color: #aaa3ad;
}

.tbs-access-form__field input:focus {
  border-color: rgba(129, 116, 208, 0.62);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(129, 116, 208, 0.11);
}

.tbs-access-form__check {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #746d79;
  cursor: pointer;
  font-size: 0.64rem;
  line-height: 1.4;
}

.tbs-access-form__check--compact {
  font-size: 0.7rem;
}

.tbs-access-form__check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #8174d0;
}

.tbs-access-form__check a {
  color: #6658b4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tbs-access-form__submit {
  position: relative;
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #f2679a, #dc4f84);
  box-shadow: 0 11px 26px rgba(220, 79, 132, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 0.79rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.tbs-access-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 31px rgba(220, 79, 132, 0.31);
}

.tbs-access-form__submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.tbs-access-form__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: tbs-access-spin 700ms linear infinite;
}

.tbs-access-form.is-loading .tbs-access-form__spinner {
  display: inline-block;
}

.tbs-access-form__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  color: #918a95;
  font-size: 0.61rem;
  font-weight: 700;
}

.tbs-access-form__forgot {
  justify-self: center;
  color: #6658b4;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.tbs-access-form__forgot:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbs-access-modal__account-note {
  margin: 9px 0 0;
  color: #817a85;
  font-size: 0.64rem;
  line-height: 1.4;
  text-align: center;
}

.tbs-access-modal__account-note strong {
  color: #5d5462;
}

.tbs-access-form__submit--login {
  background: linear-gradient(135deg, #8174d0, #6658b4);
  box-shadow: 0 11px 26px rgba(102, 88, 180, 0.24);
}

.tbs-access-form__submit--login:hover {
  box-shadow: 0 15px 31px rgba(102, 88, 180, 0.31);
}

.tbs-access-modal button:focus-visible,
.tbs-access-modal input:focus-visible,
.tbs-access-modal a:focus-visible {
  outline: 3px solid rgba(129, 116, 208, 0.28);
  outline-offset: 3px;
}

@keyframes tbs-access-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modo compacto para portátiles, zoom elevado o ventanas de poca altura. */
@media (min-width: 821px) and (max-height: 760px) {
  .tbs-access-modal {
    padding: 8px;
  }

  .tbs-access-modal__panel {
    width: min(990px, 100%);
    height: calc(100dvh - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 23px;
  }

  .tbs-access-modal__aside {
    padding: 24px 27px 20px;
  }

  .tbs-access-modal__eyebrow {
    margin-top: 18px;
  }

  .tbs-access-modal__aside h2 {
    margin-top: 10px;
    font-size: 1.85rem;
  }

  .tbs-access-modal__aside > p {
    margin-top: 9px;
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .tbs-access-modal__benefits {
    gap: 6px;
    margin-top: 12px;
  }

  .tbs-access-modal__benefits li {
    font-size: 0.68rem;
  }

  .tbs-access-modal__resource {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }

  .tbs-access-modal__resource-thumb {
    width: 58px;
  }

  .tbs-access-modal__content {
    padding: 16px 32px 14px;
  }

  .tbs-access-modal__tabs button {
    min-height: 36px;
  }

  .tbs-access-modal__heading {
    margin-top: 9px;
  }

  .tbs-access-modal__heading h3 {
    font-size: 1.35rem;
  }

  .tbs-access-modal__heading p {
    margin-top: 4px;
    font-size: 0.68rem;
  }

  .tbs-access-social {
    margin-top: 8px;
  }

  .tbs-access-social .nsl-button,
  .tbs-access-social a[data-provider="google"],
  .tbs-access-social .nsl-button > span,
  .tbs-access-social a[data-provider="google"] > span {
    min-height: 40px !important;
  }

  .tbs-access-divider {
    margin-top: 7px;
  }

  .tbs-access-form {
    gap: 7px;
    margin-top: 8px;
  }

  .tbs-access-form__field input {
    height: 39px;
  }

  .tbs-access-form__submit {
    min-height: 41px;
  }

  .tbs-access-form__security,
  .tbs-access-modal__account-note {
    font-size: 0.58rem;
  }
}

@media (max-width: 820px) {
  .tbs-access-modal {
    padding: 10px;
  }

  .tbs-access-modal__panel {
    grid-template-columns: 1fr;
    width: min(590px, 100%);
    height: auto;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 24px;
  }

  .tbs-access-modal__aside {
    min-height: auto;
    height: auto;
    padding: 26px 26px 22px;
  }

  .tbs-access-modal__eyebrow {
    margin-top: 20px;
  }

  .tbs-access-modal__aside h2 {
    max-width: 470px;
    font-size: 1.8rem;
  }

  .tbs-access-modal__benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .tbs-access-modal__benefits li {
    align-items: flex-start;
    font-size: 0.66rem;
  }

  .tbs-access-modal__resource {
    margin-top: 18px;
  }

  .tbs-access-modal__content {
    height: auto;
    overflow: visible;
    padding: 24px 26px 25px;
  }
}

@media (max-width: 560px) {
  .tbs-access-modal {
    align-items: end;
    padding: 0;
  }

  .tbs-access-modal__panel {
    width: 100%;
    max-height: 96dvh;
    border-radius: 22px 22px 0 0;
  }

  .tbs-access-modal__aside {
    padding: 22px 18px 18px;
  }

  .tbs-access-modal__brand {
    font-size: 0.66rem;
  }

  .tbs-access-modal__eyebrow {
    margin-top: 17px;
  }

  .tbs-access-modal__aside h2 {
    font-size: 1.55rem;
  }

  .tbs-access-modal__aside > p {
    font-size: 0.75rem;
  }

  .tbs-access-modal__benefits {
    display: none;
  }

  .tbs-access-modal__resource {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-top: 14px;
  }

  .tbs-access-modal__resource-thumb {
    width: 58px;
  }

  .tbs-access-modal__content {
    padding: 20px 18px 22px;
  }

  .tbs-access-modal__heading {
    margin-top: 16px;
  }

  .tbs-access-modal__heading h3 {
    font-size: 1.35rem;
  }

  .tbs-access-modal__close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbs-access-modal,
  .tbs-access-modal__panel,
  .tbs-access-modal__close,
  .tbs-access-form__submit {
    transition: none !important;
  }

  .tbs-access-form__spinner {
    animation-duration: 1.4s;
  }
}

/* ================================================================
   MODAL GLOBAL · JERARQUÍA TIPOGRÁFICA OFICIAL
   ================================================================ */

.tbs-access-modal {
  font-weight: 500 !important;
}

.tbs-access-modal p,
.tbs-access-modal li,
.tbs-access-modal input,
.tbs-access-modal textarea,
.tbs-access-modal select {
  font-weight: 500 !important;
}

.tbs-access-modal h2,
.tbs-access-modal h3,
.tbs-access-modal__brand,
.tbs-access-modal__eyebrow,
.tbs-access-modal__tabs button,
.tbs-access-modal__heading > span,
.tbs-access-social__label,
.tbs-access-form__field label,
.tbs-access-form__submit,
.tbs-access-form__forgot,
.tbs-access-form__check a {
  font-weight: 700 !important;
}

.tbs-access-modal strong,
.tbs-access-modal b,
.tbs-access-modal__benefits li,
.tbs-access-modal__status {
  font-weight: 600 !important;
}

.tbs-access-modal small,
.tbs-access-modal__resource-copy > span,
.tbs-access-modal__resource-copy small,
.tbs-access-form__security,
.tbs-access-modal__account-note,
.tbs-access-divider,
.tbs-access-social__fallback {
  font-weight: 400 !important;
}/* End custom CSS */