/* KBM AZKI clean-room P1 — Design consistency, NOT Azki visual/code copying.
 * Scoped to the canonical KBM header/footer; preserves navy/yellow/Estedad.
 * Does not change drawer/controller ownership or sticky/scroll behaviors. */
body.kbm-theme-core{
 --kbm-ref-p1-canvas:#f6f8fb;--kbm-ref-p1-navy:#102a44;
 --kbm-ref-p1-yellow:#ffce32;--kbm-ref-p1-line:#dce5ed;
 --kbm-ref-p1-muted:#596b7b;--kbm-ref-p1-card-radius:18px;
 --kbm-ref-p1-elev:0 12px 28px rgba(11,35,59,.065);
}
body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header{
 border-bottom:1px solid var(--kbm-ref-p1-line);
 box-shadow:0 4px 18px rgba(8,30,52,.035);
}
@media (min-width:1100px){
 body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header__inner{gap:clamp(12px,1.8vw,26px)}
 body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-nav__link{border-radius:10px;transition:background-color .16s ease,color .16s ease}
 body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-nav__link:hover{background:#f2f5f9}
}
body.kbm-theme-core .kbm-theme-footer{
 background:linear-gradient(180deg,#102c44,#0c2439);
}
body.kbm-theme-core .kbm-gdb02-footer-cta{border-radius:20px;overflow:hidden}
body.kbm-theme-core .kbm-vr-footer-grid{gap:clamp(16px,2.4vw,38px)}
body.kbm-theme-core .kbm-theme-footer-directory__links{gap:clamp(14px,2vw,28px)}
body.kbm-theme-core .kbm-theme-footer :is(a,button,summary):focus-visible,
body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header :is(a,button,input):focus-visible{
 outline:3px solid var(--kbm-ref-p1-yellow);outline-offset:3px;
}
@media (max-width:767px){
 body.kbm-theme-core .kbm-gdb02-footer-cta{border-radius:16px}
 body.kbm-theme-core .kbm-theme-footer-directory__links{gap:12px}
}
@media (prefers-reduced-motion:reduce){
 body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-nav__link{transition:none}
}

/* KBM-U1-DESIGN-FOUNDATION — accessible theme shell, November 2026.
 * Core's DS2030 owns base tokens, so this late existing stylesheet applies
 * scoped role tokens without a second token loader, JS, or DOM replacement.
 * Maintain the industrial yellow/navy palette and canonical RTL shell.
 */
body.kbm-theme-core {
  --kbm-u1-action-bg:var(--kbm-color-brand,#ffcc00);
  --kbm-u1-action-ink:var(--kbm-color-brand-contrast,#071a33);
  --kbm-u1-ink-on-light:#173247;
  --kbm-u1-muted-on-light:#53676e;
  --kbm-u1-ink-on-navy:#f7fbff;
  --kbm-u1-focus-on-light:var(--kbm-color-focus,#1859b8);
  --kbm-u1-focus-on-navy:var(--kbm-color-focus-inverse,#ffcc00);
  --kbm-u1-surface-line:#dce5ed;
}
/* Desktop only: improve legibility without widening links at narrow tablet sizes. */
@media (min-width:1280px) {
  body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header .kbm-theme-nav__link {
    font-size:clamp(14px,.92vw,15px)!important;
    line-height:1.6;
  }
}
/* Keep focus visible on light header controls and navy navigation separately. */
body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header :is(a,button,input,select):focus-visible {
  outline:var(--kbm-focus-width,3px) solid var(--kbm-u1-focus-on-light);
  outline-offset:var(--kbm-focus-offset,2px);
}
body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header .kbm-theme-nav :is(a,button,input,select):focus-visible {
  outline-color:var(--kbm-u1-focus-on-navy);
}
body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header .kbm-gdb02-search-form :is(input,select,button):focus-visible {
  outline:var(--kbm-focus-width,3px) solid var(--kbm-u1-focus-on-light)!important;
  outline-offset:calc(-1 * var(--kbm-focus-width,3px))!important;
  box-shadow:none!important;
}
/* Footer trust microcopy was 11–12px; do not change component structure. */
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-kasbi05-trust__step-copy h3 {
  font-size:15px;
  line-height:1.65;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-kasbi05-trust__step-copy p,
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-kasbi05-trust__note p {
  font-size:14px;
  line-height:1.8;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-kasbi05-trust__links a {
  font-size:13px;
  line-height:1.5;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-gdb13-trust-seal b {
  font-size:13px;
  line-height:1.65;
}
/* Compact light-footer links require dark ink, never brand yellow on white. */
body.kbm-theme-core .kbm-theme-footer.kbm-theme-footer--compact .kbm-theme-footer__compact-meta a {
  color:var(--kbm-u1-ink-on-light);
}
body.kbm-theme-core .kbm-theme-footer.kbm-theme-footer--compact :is(a,button,summary):focus-visible {
  outline-color:var(--kbm-u1-focus-on-light);
}
@media (prefers-reduced-motion:reduce) {
  body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-header .kbm-theme-nav__link {transition:none;}
}

/* KBM-U1B-NAV-FOOTER — canonical Theme header/footer, clean-room controls.
 * Scopes only existing markup, no JS controller, duplicate shell or business logic.
 * Original social icon SVG/PNG and official trustseal verification URL preserved.
 */
@media (min-width:1025px) {
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__link {
    line-height:1.55;
    transition:background-color .17s ease,color .17s ease;
  }
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__item:not(.is-active):hover>.kbm-theme-nav__link,
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__item:not(.is-active):focus-within>.kbm-theme-nav__link {
    background:rgba(255,255,255,.14)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__item.is-active>.kbm-theme-nav__link {
    color:#102b3b!important;
    -webkit-text-fill-color:#102b3b!important;
  }
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__item:not(.is-active) .kbm-theme-nav__link[aria-current="page"] {
    color:#102b3b!important;
  }
  body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-submenu__link:hover,
  body:not(.kbm-b1-global-shell).kbm-theme-core .kbm-theme-submenu__link:focus-visible {
    background:#f1f6fa;
    color:#12344b;
  }
}
@media(min-width:1025px) and (max-width:1279px) {
  body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-theme-header-canonical .kbm-theme-header .kbm-theme-nav__link {font-size:13px;}
}
body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-gdb02-shell .kbm-gdb02-utility__links a,
body:not(.kbm-b1-global-shell).kbm-theme-core.kbm-gdb02-shell .kbm-gdb02-utility__caption {
  font-size:12px;
  line-height:1.6;
}
/* Footer four actionable trust/social destinations: readable names, real brand marks,
 * two-column grid within existing first footer column (works at 360px and 1920px). */
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  height:auto!important;
  min-height:54px!important;
  max-width:none!important;
  min-width:0!important;
  flex:1 1 auto!important;
  aspect-ratio:auto!important;
  box-sizing:border-box!important;
  padding:7px 9px!important;
  border:1px solid #406779!important;
  border-radius:13px!important;
  background:#183c52!important;
  color:#f5faff!important;
  -webkit-text-fill-color:#f5faff!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  overflow:visible!important;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a:hover {
  background:#214e66!important;
  border-color:#8ba9b8!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-2px);
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a>.kbm-u1b-social__mark {
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  border-radius:10px;
  background:rgba(255,255,255,.13);
  overflow:visible;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-u1b-social--instagram>.kbm-u1b-social__mark {
  background:linear-gradient(135deg,rgba(251,117,84,.34),rgba(177,54,165,.34));
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-u1b-social--telegram>.kbm-u1b-social__mark {
  background:rgba(56,169,236,.25);
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-u1b-social--bale>.kbm-u1b-social__mark {
  background:rgba(69,156,223,.22);
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-u1b-social__mark :is(img,svg) {
  display:block;
  max-width:27px!important;
  max-height:27px!important;
  width:27px!important;
  height:27px!important;
  object-fit:contain;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-u1b-social__label {
  display:block!important;
  position:static!important;
  clip:auto!important;
  clip-path:none!important;
  width:auto!important;
  height:auto!important;
  white-space:normal!important;
  overflow:visible!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.5;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-gdb13-trust-seal {
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  height:auto!important;
  min-height:54px!important;
  max-width:none!important;
  padding:7px 9px!important;
  background:#183c52!important;
  border-color:#a89049!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-gdb13-trust-seal img {
  display:block;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  object-fit:contain;
  border-radius:7px;
  background:#fff;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-u1b-seal-label {
  display:block!important;
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  font-size:12px;
  font-weight:750;
  line-height:1.55;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* Calm legal directory: visible hover/focus affordance with no extra row. */
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer-directory nav a {
  border-radius:8px;
  padding-inline:7px;
  transition:background-color .16s ease,color .16s ease;
}
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer-directory nav a:hover,
body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer-directory nav a:focus-visible {
  background:rgba(255,255,255,.09);
  color:#ffd866!important;
  -webkit-text-fill-color:#ffd866!important;
}
@media(max-width:767px) {
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social {gap:8px!important;}
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a {min-height:50px!important;padding:6px 8px!important;gap:6px!important;}
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-u1b-social__label {font-size:12px!important;}
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-u1b-seal-label {font-size:11px;}
}
@media(max-width:370px) {
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a>.kbm-u1b-social__mark {width:32px!important;min-width:32px!important;height:32px!important;}
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social .kbm-u1b-social__label {font-size:11px!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer__social>a,
  body.kbm-theme-core #kbm-vr-footer:not(.kbm-b7-footer) .kbm-theme-footer-directory nav a {transition:none!important;transform:none!important;}
}
