/* KBM Industrial Premium Motion UI — 1.9.9-rc.25 */
@view-transition { navigation: auto; }

:root {
  --kbm-ipui-navy:#0b1f3a;
  --kbm-ipui-navy-2:#102d50;
  --kbm-ipui-yellow:#f6c400;
  --kbm-ipui-yellow-2:#ffcf21;
  --kbm-ipui-ink:#0d1726;
  --kbm-ipui-copy:#29384d;
  --kbm-ipui-muted:#3f4f64;
  --kbm-ipui-line:#dfe6ef;
  --kbm-ipui-surface:#ffffff;
  --kbm-ipui-soft:#f4f7fb;
  --kbm-ipui-shadow:0 18px 52px rgba(11,31,58,.10);
  --kbm-ipui-shadow-hover:0 24px 68px rgba(11,31,58,.16);
  --kbm-ipui-radius:24px;
  --kbm-ipui-font:"IRANSansX","IRANSans","Vazirmatn",Tahoma,Arial,sans-serif;
}

html.kbm-ipui25-motion {
  scroll-behavior:smooth;
}

body.kbm-ipui25,
body.login.kbm-ipui25 {
  color:var(--kbm-ipui-ink);
  background:
    radial-gradient(circle at 90% 6%,rgba(246,196,0,.08),transparent 23rem),
    radial-gradient(circle at 8% 32%,rgba(16,45,80,.06),transparent 28rem),
    #f5f8fc;
  font-family:var(--kbm-ipui-font)!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

body.kbm-ipui25 :where(h1,h2,h3,h4,h5,h6,strong,b) {
  color:var(--kbm-ipui-ink);
  font-family:var(--kbm-ipui-font)!important;
  font-weight:800;
  letter-spacing:-.015em;
}
body.kbm-ipui25 :where(p,li,dd,dt,label,small,span,summary,figcaption) {
  font-family:var(--kbm-ipui-font)!important;
}
body.kbm-ipui25 :where(p,li,dd,dt,label,summary) {
  color:var(--kbm-ipui-copy);
  font-weight:600;
}
body.kbm-ipui25 :where(small,[class*="meta"],[class*="subtitle"],[class*="eyebrow"]) {
  color:var(--kbm-ipui-muted);
}
body.kbm-ipui25 h1 { font-size:clamp(1.75rem,4vw,3.2rem); line-height:1.35; }
body.kbm-ipui25 h2 { font-size:clamp(1.45rem,3vw,2.35rem); line-height:1.45; }
body.kbm-ipui25 h3 { font-size:clamp(1.08rem,2vw,1.45rem); line-height:1.55; }
body.kbm-ipui25 p { font-size:clamp(.98rem,1.55vw,1.08rem); line-height:1.95; }

body.kbm-ipui25 :where(a,button,input,select,textarea,.button,.wp-element-button) {
  font-family:var(--kbm-ipui-font)!important;
}
body.kbm-ipui25 :where(button,.button,.wp-element-button,input[type="submit"],input[type="button"],[class*="btn"],[class*="cta"]) {
  min-height:44px;
  font-weight:750;
  transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,border-color .22s ease,color .22s ease;
}
body.kbm-ipui25 :where(button,.button,.wp-element-button,input[type="submit"],input[type="button"],[class*="btn"],[class*="cta"]):active {
  transform:translateY(1px) scale(.985);
}
body.kbm-ipui25 :where(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid rgba(246,196,0,.78)!important;
  outline-offset:3px;
}

/* Header and logo repair */




/* Industrial section background system */
body.kbm-ipui25 :where(
  .kbm-sch21-hero,
  .kbm-ahc-home__hero,
  .kbm-sch21-campaign,
  .kbm-live-service-hero,
  .kbm-gmtp-hero,
  .kbm-demand-hero,
  .kbm-dashboard-hero,
  .kbm-live-dash-head,
  .kbm-contact-hero,
  .kbm-v08-hero,
  .kbm-login-hero,
  .kbm-pep43-auth-entry,
  .kbm-auth-card,
  .kbm-ahc-auth__card
) {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-image:
    linear-gradient(135deg,rgba(255,255,255,.90),rgba(242,247,253,.82)),
    var(--kbm-ipui-visual-light,none)!important;
  background-size:cover!important;
  background-position:center!important;
  border:1px solid rgba(11,31,58,.10)!important;
  box-shadow:var(--kbm-ipui-shadow)!important;
}
body.kbm-ipui25 :where(
  .kbm-sch21-hero,
  .kbm-live-service-hero,
  .kbm-gmtp-hero,
  .kbm-dashboard-hero,
  .kbm-contact-hero,
  .kbm-v08-hero,
  .kbm-pep43-auth-entry,
  .kbm-auth-card
)::after {
  content:"";
  position:absolute;
  width:240px;
  aspect-ratio:1;
  inset:auto -70px -100px auto;
  border-radius:50%;
  background:radial-gradient(circle,rgba(246,196,0,.27),rgba(246,196,0,0) 68%);
  z-index:-1;
  pointer-events:none;
}

/* Home route/category cards: remove emoji tractor presentation */
body.kbm-ipui25 .kbm-sch21-routes {
  gap:16px!important;
}
body.kbm-ipui25 .kbm-sch21-routes > a {
  position:relative;
  min-height:126px;
  padding:22px!important;
  border-radius:22px!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.94),rgba(246,249,253,.94)),
    var(--kbm-ipui-visual-light,none) center/cover!important;
  border:1px solid rgba(11,31,58,.10)!important;
  box-shadow:0 12px 32px rgba(11,31,58,.08)!important;
  overflow:hidden;
}
body.kbm-ipui25 .kbm-sch21-routes > a::before {
  content:"";
  position:absolute;
  inset:auto 0 0 auto;
  width:46%;
  height:4px;
  background:linear-gradient(90deg,transparent,var(--kbm-ipui-yellow));
  border-radius:999px 0 0 0;
}
body.kbm-ipui25 .kbm-sch21-routes > a > i {
  display:none!important;
}
body.kbm-ipui25 .kbm-sch21-routes > a strong {
  font-size:clamp(1rem,2vw,1.2rem)!important;
  font-weight:850!important;
  color:var(--kbm-ipui-ink)!important;
}
body.kbm-ipui25 .kbm-sch21-routes > a span {
  font-size:.88rem!important;
  color:var(--kbm-ipui-copy)!important;
  font-weight:550!important;
}

/* Universal premium surfaces */
body.kbm-ipui25 :where(
  .kbm-sch21-card,
  .kbm-ads-recode-card,
  .kbm-adsv2-card,
  .kbm-ad-card,
  .kbm-driver-card,
  .kbm-p13-driver-card,
  .kbm-dashboard-card,
  .kbm-dashboard-recode-card,
  .kbm-dash-card,
  .kbm-live-dash-card,
  .kbm-gmtp-card,
  .kbm-tender-card,
  .kbm-article-card,
  .kbm-prm-card,
  .kbm-provider-card,
  .kbm-live-service-card,
  .kbm-form-card,
  .kbm-submit-step,
  .kbm-payment-card,
  .kbm-plan-card,
  .kbm-sch21-category-grid > a
) {
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(11,31,58,.11)!important;
  border-radius:var(--kbm-ipui-radius)!important;
  box-shadow:var(--kbm-ipui-shadow)!important;
  transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease,border-color .28s ease!important;
}
@media (hover:hover) and (pointer:fine) {
  body.kbm-ipui25 :where(
    .kbm-sch21-card,
    .kbm-ads-recode-card,
    .kbm-adsv2-card,
    .kbm-ad-card,
    .kbm-driver-card,
    .kbm-p13-driver-card,
    .kbm-dashboard-card,
    .kbm-dashboard-recode-card,
    .kbm-live-dash-card,
    .kbm-gmtp-card,
    .kbm-tender-card,
    .kbm-article-card,
    .kbm-prm-card,
    .kbm-provider-card,
    .kbm-live-service-card,
    .kbm-plan-card,
    .kbm-sch21-category-grid > a
  ):hover {
    transform:translateY(-6px);
    border-color:rgba(246,196,0,.65)!important;
    box-shadow:var(--kbm-ipui-shadow-hover)!important;
  }
}

/* Images */
body.kbm-ipui25 :where(
  .kbm-sch21-card__media,
  .kbm-ads-recode-card-media,
  .kbm-adsv2-card__media,
  .kbm-ad-card__media,
  .kbm-driver-card__media,
  .kbm-p13-driver-card__media,
  .kbm-dashboard-recode-card-media,
  .kbm-article-card__media
) {
  overflow:hidden!important;
  background:linear-gradient(145deg,#f2f6fb,#e7eef7)!important;
}
body.kbm-ipui25 :where(
  .kbm-sch21-card__media img,
  .kbm-ads-recode-card-media img,
  .kbm-adsv2-card__media img,
  .kbm-ad-card__media img,
  .kbm-driver-card__media img,
  .kbm-p13-driver-card__media img,
  .kbm-dashboard-recode-card-media img,
  .kbm-article-card__media img
) {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1.001);
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .4s ease,opacity .35s ease!important;
}
@media (hover:hover) and (pointer:fine) {
  body.kbm-ipui25 :where(
    .kbm-sch21-card,
    .kbm-ads-recode-card,
    .kbm-adsv2-card,
    .kbm-ad-card,
    .kbm-driver-card,
    .kbm-p13-driver-card,
    .kbm-article-card
  ):hover img {
    transform:scale(1.055)!important;
  }
}

/* Card typography and feature chips */
body.kbm-ipui25 :where(
  .kbm-sch21-card h3,
  .kbm-ads-recode-card h2,
  .kbm-ads-recode-card h3,
  .kbm-adsv2-card h2,
  .kbm-ad-card h3,
  .kbm-driver-card h3,
  .kbm-p13-driver-card h3,
  .kbm-dashboard-recode-card h3,
  .kbm-tender-card h3,
  .kbm-article-card h3
) {
  color:var(--kbm-ipui-ink)!important;
  font-size:clamp(1.06rem,2.4vw,1.32rem)!important;
  font-weight:850!important;
  line-height:1.6!important;
}
body.kbm-ipui25 :where(
  .kbm-sch21-card__specs li,
  .kbm-ads-recode-chip,
  .kbm-adsv2-chip,
  .kbm-ad-card__chip,
  .kbm-driver-chip,
  .kbm-p13-chip,
  .kbm-meta-chip,
  [class*="badge"]
) {
  color:#243247!important;
  background:#f5f7fa!important;
  border:1px solid #dfe5ed!important;
  border-radius:10px!important;
  font-size:clamp(.82rem,1.9vw,.94rem)!important;
  font-weight:750!important;
  line-height:1.5!important;
  padding:.4rem .62rem!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card__eyebrow span,.kbm-ads-recode-card-category,[class*="category"] [class*="badge"]) {
  background:#fff4bf!important;
  color:#5c4600!important;
  border-color:#f2d761!important;
  font-weight:800!important;
}

/* Price is the primary conversion signal */
body.kbm-ipui25 :where(
  .kbm-sch21-price,
  .kbm-ads-recode-card-price,
  .kbm-adsv2-card__price,
  .kbm-adsv2-price,
  .kbm-ad-card-price,
  .kbm-ad-card__price,
  .kbm-ad-price,
  .kbm-card-price,
  .kbm-card__price,
  .kbm-dashboard-recode-card-price,
  .kbm-dashboard-recode-commercial__price,
  .kbm-ad-single-recode-price-big,
  .kbm-ad-single-recode-price-inline,
  .kbm-ad-single-recode-bottombar-price,
  .kbm-single-price,
  .kbm-price-box,
  .kbm-price-block,
  .kbm-owner-price,
  .kbm-uds-related__price,
  .kbm-sale-price,
  .kbm-machine-sale-recode-price
) {
  color:#fff!important;
  background:linear-gradient(135deg,var(--kbm-ipui-navy),var(--kbm-ipui-navy-2))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-inline-end:5px solid var(--kbm-ipui-yellow)!important;
  border-radius:17px!important;
  box-shadow:0 12px 30px rgba(11,31,58,.18)!important;
  padding:.85rem 1rem!important;
  font-size:clamp(1.32rem,3.3vw,1.95rem)!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-shadow:0 1px 0 rgba(0,0,0,.12);
}
body.kbm-ipui25 :where(
  .kbm-sch21-price *,
  .kbm-ads-recode-card-price *,
  .kbm-adsv2-card__price *,
  .kbm-ad-card-price *,
  .kbm-card-price *,
  .kbm-dashboard-recode-card-price *,
  .kbm-ad-single-recode-price-big *,
  .kbm-price-box *
) {
  color:#fff!important;
}
body.kbm-ipui25 :where(.kbm-price-label,.kbm-price-mode,.kbm-sch21-price small,.kbm-ads-recode-card-price small) {
  color:#dbe7f5!important;
  font-size:.78rem!important;
  font-weight:650!important;
}

/* Forms, dashboard, login */
body.kbm-ipui25 :where(form,.kbm-form,.kbm-submit-form,.kbm-live-service-form,.kbm-dashboard-panel,.kbm-live-dash-panel) label {
  color:var(--kbm-ipui-ink)!important;
  font-size:.94rem!important;
  font-weight:750!important;
}
body.kbm-ipui25 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  min-height:48px;
  color:var(--kbm-ipui-ink)!important;
  background:#fff!important;
  border:1px solid #cfd8e5!important;
  border-radius:14px!important;
  font-size:1rem!important;
  font-weight:550!important;
  box-shadow:0 2px 0 rgba(11,31,58,.02);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
body.kbm-ipui25 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus {
  border-color:#e0b000!important;
  box-shadow:0 0 0 4px rgba(246,196,0,.16)!important;
}
body.kbm-ipui25 :where(.kbm-form-section,.kbm-submit-step,.kbm-live-service-form section,.kbm-dashboard-panel,.kbm-live-dash-panel) {
  border-radius:22px!important;
  border:1px solid rgba(11,31,58,.10)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 14px 38px rgba(11,31,58,.07)!important;
}
body.login.kbm-ipui25 {
  background-image:
    linear-gradient(135deg,rgba(6,22,42,.91),rgba(12,44,78,.86)),
    var(--kbm-ipui-visual-login-hero,var(--kbm-ipui-visual-dark,none))!important;
  background-size:cover!important;
  background-position:center!important;
}
body.login.kbm-ipui25 #login {
  width:min(92vw,420px)!important;
}
body.login.kbm-ipui25 #loginform,
body.login.kbm-ipui25 .message,
body.login.kbm-ipui25 #login_error {
  border-radius:22px!important;
  border:1px solid rgba(255,255,255,.2)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.28)!important;
}


/* Scroll progress */
.kbm-ipui25-scroll-progress {
  position:fixed;
  inset:0 0 auto 0;
  height:3px;
  z-index:2147482000;
  pointer-events:none;
  background:transparent;
}
.kbm-ipui25-scroll-progress > span {
  display:block;
  width:100%;
  height:100%;
  transform:scaleX(var(--kbm-scroll-progress,0));
  transform-origin:right center;
  background:linear-gradient(90deg,var(--kbm-ipui-yellow),#ffd84a,var(--kbm-ipui-navy));
  box-shadow:0 0 14px rgba(246,196,0,.55);
}

/* Progressive reveal. JS enables only after boot, so content never stays hidden. */
html.kbm-ipui25-motion [data-kbm-ipui-motion] {
  opacity:0;
  transform:translate3d(0,22px,0) scale(.985);
  transition:
    opacity .62s cubic-bezier(.2,.7,.2,1),
    transform .62s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--kbm-ipui-delay,0ms);
}
html.kbm-ipui25-motion [data-kbm-ipui-motion].is-kbm-visible {
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
html.kbm-ipui25-motion [data-kbm-ipui-motion="slide-inline"] {
  transform:translate3d(24px,0,0);
}
html.kbm-ipui25-motion [data-kbm-ipui-motion="slide-inline"].is-kbm-visible {
  transform:translate3d(0,0,0);
}

/* Ripple */
.kbm-ipui25-ripple-host {
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
}
.kbm-ipui25-ripple {
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.38);
  transform:translate(-50%,-50%) scale(0);
  animation:kbmIpuiRipple .62s ease-out forwards;
  pointer-events:none;
  z-index:0;
}
@keyframes kbmIpuiRipple {
  to { transform:translate(-50%,-50%) scale(1); opacity:0; }
}

/* Related/similar content rails */
body.kbm-ipui25 :where(
  .kbm-ads-related__list,
  .kbm-similar-ads__list,
  .kbm-ad-single-related,
  .kbm-uds-related__grid,
  .kbm-related-rail,
  .kbm-sch21-grid.is-marquee
) {
  display:flex!important;
  gap:16px!important;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
  padding-block:8px 18px;
}
body.kbm-ipui25 :where(
  .kbm-ads-related__list,
  .kbm-similar-ads__list,
  .kbm-ad-single-related,
  .kbm-uds-related__grid,
  .kbm-related-rail
)::-webkit-scrollbar { display:none; }
body.kbm-ipui25 :where(
  .kbm-ads-related__list,
  .kbm-similar-ads__list,
  .kbm-ad-single-related,
  .kbm-uds-related__grid,
  .kbm-related-rail
) > * {
  flex:0 0 min(82vw,320px)!important;
  scroll-snap-align:start;
}

/* Mobile fixes for the large empty side shown in the supplied handset video. */
@media (max-width:767px) {
  body.kbm-ipui25 {
    font-size:16px;
  }
  
  body.kbm-ipui25 .kbm-sch21-routes {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.kbm-ipui25 .kbm-sch21-routes > a {
    min-height:106px!important;
    padding:16px!important;
  }
  body.kbm-ipui25 .kbm-sch21-routes > a span {
    display:none!important;
  }
  body.kbm-ipui25 .kbm-sch21-card {
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    width:100%!important;
    min-height:0!important;
  }
  body.kbm-ipui25 .kbm-sch21-card__media {
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    border-radius:0!important;
  }
  body.kbm-ipui25 .kbm-sch21-card__body {
    width:100%!important;
    padding:16px!important;
    gap:11px!important;
  }
  body.kbm-ipui25 .kbm-sch21-card h3 {
    min-height:0!important;
    font-size:1.18rem!important;
  }
  body.kbm-ipui25 .kbm-sch21-card__specs {
    min-height:0!important;
    max-height:none!important;
    gap:7px!important;
  }
  body.kbm-ipui25 .kbm-sch21-card__specs li {
    font-size:.8rem!important;
    padding:.4rem .6rem!important;
  }
  body.kbm-ipui25 .kbm-sch21-grid,
  body.kbm-ipui25 .kbm-sch21-section--featured .kbm-sch21-grid {
    grid-template-columns:1fr!important;
  }
  body.kbm-ipui25 :where(.kbm-ads-recode-card,.kbm-adsv2-card,.kbm-ad-card) {
    min-height:0!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-section,.kbm-sch21-section--featured) {
    padding-inline:12px!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-price,.kbm-ads-recode-card-price,.kbm-ad-card-price,.kbm-card-price) {
    width:100%!important;
    font-size:1.28rem!important;
  }
  body.kbm-ipui25 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    font-size:16px!important; /* prevents iOS-style zoom and improves Android readability */
  }
}

@media (max-width:390px) {
  body.kbm-ipui25 .kbm-sch21-routes > a strong {
    font-size:.94rem!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card__body,.kbm-ads-recode-card-body) {
    padding:14px!important;
  }
}

/* Motion safety and performance */
@media (prefers-reduced-motion:reduce) {
  html.kbm-ipui25-motion { scroll-behavior:auto!important; }
  html.kbm-ipui25-motion [data-kbm-ipui-motion],
  body.kbm-ipui25 *,
  body.kbm-ipui25 *::before,
  body.kbm-ipui25 *::after {
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
  html.kbm-ipui25-motion [data-kbm-ipui-motion] {
    opacity:1!important;
    transform:none!important;
  }
}

@media (forced-colors:active) {
  body.kbm-ipui25 :where(.kbm-sch21-card,.kbm-ads-recode-card,.kbm-driver-card,.kbm-dashboard-card) {
    border:1px solid CanvasText!important;
  }
}

/* Remove the old emoji art from campaign/category visuals; real supplied imagery remains. */
body.kbm-ipui25 .kbm-sch21-campaign__visual::before,
body.kbm-ipui25 .kbm-sch21-campaign__visual::after {
  content:none!important;
  display:none!important;
}
body.kbm-ipui25 :where(.kbm-ads-recode-badge--featured,.kbm-sch21-card__featured,.is-featured [class*="featured"]) {
  background:var(--kbm-ipui-yellow)!important;
  color:var(--kbm-ipui-navy)!important;
  border-color:#dcae00!important;
  box-shadow:0 8px 20px rgba(246,196,0,.28)!important;
}


/* =========================================================
 * RC25 Visual hierarchy, image-led route cards and motion UX
 * ======================================================= */
body.kbm-ipui25{
  background-image:
    linear-gradient(rgba(247,250,254,.94),rgba(247,250,254,.96)),
    var(--kbm-ipui-visual-light,none)!important;
  background-size:auto,1200px auto!important;
  background-attachment:scroll!important;
}
body.kbm-ipui25 :where(.kbm-shell,.kbm-sch21-home,.kbm-ads-recode-shell,.kbm-dashboard-recode,.kbm-drivers-recode,.kbm-submit-recode,.kbm-auth-recode){
  isolation:isolate;
}
body.kbm-ipui25 :where(h1,h2,h3,h4,strong,b){
  text-wrap:balance;
}
body.kbm-ipui25 :where(.kbm-sch21-section__head>div>span,.kbm-section-kicker,[class*="eyebrow"],[class*="kicker"]){
  color:#102d50!important;
  font-size:clamp(.84rem,1.8vw,.96rem)!important;
  font-weight:850!important;
}
body.kbm-ipui25 :where(.kbm-sch21-section__head h2,.kbm-ads-recode-title,.kbm-drivers-recode h1,.kbm-dashboard-recode h1){
  color:#07182d!important;
  font-weight:900!important;
}

/* Header and brand continuity */



/* Image-led home navigation: emoji glyphs are not used */
body.kbm-ipui25 .kbm-sch21-routes{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
body.kbm-ipui25 .kbm-sch21-routes>a{
  display:grid!important;
  grid-template-rows:minmax(100px,1fr) auto!important;
  align-items:stretch!important;
  gap:12px!important;
  min-height:190px!important;
  padding:10px 10px 16px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
body.kbm-ipui25 .kbm-sch21-route__visual{
  display:block!important;
  min-width:0;
  min-height:100px;
  border-radius:17px;
  overflow:hidden;
  background:linear-gradient(145deg,#f4f8fd,#fff8d7);
}
body.kbm-ipui25 .kbm-sch21-route__visual picture,
body.kbm-ipui25 .kbm-sch21-route__image{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
body.kbm-ipui25 .kbm-sch21-route__image{
  object-fit:cover!important;
  transform:scale(1.01);
  transition:transform .5s cubic-bezier(.2,.7,.2,1)!important;
}
body.kbm-ipui25 .kbm-sch21-routes>a strong{
  text-align:center;
  font-size:1.02rem!important;
  font-weight:900!important;
}
@media (hover:hover) and (pointer:fine){
  body.kbm-ipui25 .kbm-sch21-routes>a:hover .kbm-sch21-route__image{
    transform:scale(1.055) translateY(-2px)!important;
  }
}

/* Visual category cards */
body.kbm-ipui25 .kbm-sch21-category-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
body.kbm-ipui25 .kbm-sch21-category-grid>a{
  display:grid!important;
  grid-template-rows:150px auto!important;
  padding:0!important;
  overflow:hidden!important;
  min-height:250px!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__media{
  display:block;
  overflow:hidden;
  background:#edf3fa;
}
body.kbm-ipui25 .kbm-sch21-category-card__media picture,
body.kbm-ipui25 .kbm-sch21-category-card__image{
  width:100%!important;
  height:100%!important;
  display:block!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__image{
  object-fit:cover!important;
  transition:transform .55s cubic-bezier(.2,.7,.2,1)!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__content{
  display:grid!important;
  gap:6px!important;
  padding:15px 16px 17px!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__content strong{
  font-size:1.02rem!important;
  font-weight:900!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__content small{
  color:#3f4f64!important;
  font-size:.88rem!important;
  font-weight:700!important;
}
body.kbm-ipui25 .kbm-sch21-category-card__content b{
  color:#0b1f3a!important;
  font-size:.86rem!important;
  font-weight:850!important;
}
@media (hover:hover) and (pointer:fine){
  body.kbm-ipui25 .kbm-sch21-category-grid>a:hover .kbm-sch21-category-card__image{
    transform:scale(1.06)!important;
  }
}

/* Strong and legible marketplace cards */
body.kbm-ipui25 :where(.kbm-sch21-card,.kbm-ads-recode-card,.kbm-adsv2-card,.kbm-ad-card){
  overflow:hidden!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card__body,.kbm-ads-recode-card-body,.kbm-adsv2-card__body,.kbm-ad-card__body){
  background:#fff!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card h3,.kbm-ads-recode-card h2,.kbm-ads-recode-card h3,.kbm-adsv2-card h2,.kbm-ad-card h3){
  font-size:clamp(1.15rem,2.55vw,1.42rem)!important;
  line-height:1.55!important;
  font-weight:900!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card__eyebrow small,.kbm-ads-recode-card-location,[class*="location"]){
  color:#334258!important;
  font-size:.88rem!important;
  font-weight:700!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card__specs li,.kbm-ads-recode-chip,.kbm-adsv2-chip,.kbm-ad-card__chip){
  min-height:32px;
  display:inline-flex!important;
  align-items:center;
}
body.kbm-ipui25 :where(.kbm-sch21-card__cta,.kbm-ads-recode-card-cta,.kbm-adsv2-card__cta,.kbm-ad-card__cta){
  min-height:48px!important;
  color:#0b1f3a!important;
  background:#f3f6fa!important;
  font-size:.94rem!important;
  font-weight:900!important;
  border-radius:14px!important;
}
body.kbm-ipui25 :where(.kbm-sch21-card__cta,.kbm-ads-recode-card-cta,.kbm-adsv2-card__cta,.kbm-ad-card__cta):hover{
  background:#f6c400!important;
}

/* Page-specific visual atmospheres. Images come from KBM Visual Assets. */
body.kbm-ipui25-route-auth,
body.login.kbm-ipui25{
  background-image:
    linear-gradient(135deg,rgba(5,20,39,.91),rgba(10,43,76,.86)),
    var(--kbm-ipui-visual-login-hero,var(--kbm-ipui-visual-dark,none))!important;
  background-size:cover!important;
  background-position:center!important;
}
body.kbm-ipui25-route-dashboard :where(.kbm-dashboard-hero,.kbm-live-dash-head,.kbm-dashboard-recode-hero){
  background-image:
    linear-gradient(135deg,rgba(7,26,50,.93),rgba(15,54,91,.86)),
    var(--kbm-ipui-visual-dashboard,none)!important;
  background-size:cover!important;
  color:#fff!important;
}
body.kbm-ipui25-route-submit :where(.kbm-form-section,.kbm-submit-step,.kbm-submit-recode-panel,.kbm-live-service-form section),
body.kbm-ipui25-route-payment :where(.kbm-payment-card,.kbm-plan-card){
  background-image:
    linear-gradient(rgba(255,255,255,.96),rgba(255,255,255,.96)),
    var(--kbm-ipui-visual-form,none)!important;
  background-size:cover!important;
}
body.kbm-ipui25 :where(.kbm-sch21-final,.kbm-b01-cta,.kbm-live-service-hero,.kbm-gmtp-hero){
  background-image:
    linear-gradient(135deg,rgba(8,29,54,.9),rgba(11,49,83,.76)),
    var(--kbm-ipui-visual-cta,var(--kbm-ipui-visual-dark,none))!important;
  background-size:cover!important;
  background-position:center!important;
}
body.kbm-ipui25 :where(.kbm-sch21-final,.kbm-b01-cta,.kbm-live-service-hero,.kbm-gmtp-hero) :where(h1,h2,h3,p,span,strong){
  color:#fff!important;
}

/* PowerPoint-like slide sections without layout shift */
html.kbm-ipui25-motion [data-kbm-ipui-motion="slide-left"]{transform:translate3d(-34px,0,0);}
html.kbm-ipui25-motion [data-kbm-ipui-motion="slide-right"]{transform:translate3d(34px,0,0);}
html.kbm-ipui25-motion [data-kbm-ipui-motion="zoom-soft"]{transform:scale(.965);}
html.kbm-ipui25-motion [data-kbm-ipui-motion].is-kbm-visible{transform:none;}
body.kbm-ipui25 [data-kbm-ipui-float]{
  animation:kbmIpui25Float 5.8s ease-in-out infinite;
}
@keyframes kbmIpui25Float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-7px,0)}}

/* Mobile: cards are intentionally vertical, full width and readable. */
@media (max-width:767px){
  body.kbm-ipui25 .kbm-sch21-routes,
  body.kbm-ipui25 .kbm-sch21-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.kbm-ipui25 .kbm-sch21-routes>a{
    min-height:150px!important;
    grid-template-rows:96px auto!important;
    padding:8px 8px 13px!important;
  }
  body.kbm-ipui25 .kbm-sch21-routes>a strong{
    font-size:.94rem!important;
  }
  body.kbm-ipui25 .kbm-sch21-category-grid>a{
    grid-template-rows:110px auto!important;
    min-height:210px!important;
  }
  body.kbm-ipui25 .kbm-sch21-category-card__content{
    padding:12px!important;
  }
  body.kbm-ipui25 .kbm-sch21-category-card__content strong{
    font-size:.95rem!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card,.kbm-ads-recode-card,.kbm-adsv2-card,.kbm-ad-card){
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card__media,.kbm-ads-recode-card-media,.kbm-adsv2-card__media,.kbm-ad-card__media){
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    border-radius:0!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card__body,.kbm-ads-recode-card-body,.kbm-adsv2-card__body,.kbm-ad-card__body){
    width:100%!important;
    min-width:0!important;
    padding:17px!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card h3,.kbm-ads-recode-card h2,.kbm-ads-recode-card h3,.kbm-adsv2-card h2,.kbm-ad-card h3){
    font-size:1.24rem!important;
    min-height:0!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-card__specs li,.kbm-ads-recode-chip,.kbm-adsv2-chip,.kbm-ad-card__chip){
    font-size:.88rem!important;
    font-weight:800!important;
  }
  body.kbm-ipui25 :where(.kbm-sch21-price,.kbm-ads-recode-card-price,.kbm-ad-card-price,.kbm-card-price){
    font-size:1.48rem!important;
    padding:1rem!important;
  }
}

@media (max-width:390px){
  body.kbm-ipui25 .kbm-sch21-routes>a strong{font-size:.88rem!important;}
  body.kbm-ipui25 :where(.kbm-sch21-card__body,.kbm-ads-recode-card-body){padding:15px!important;}
}

@media (prefers-reduced-motion:reduce){
  body.kbm-ipui25 [data-kbm-ipui-float]{animation:none!important;}
}

/* Icon-font protection: global Persian typography must not replace glyph fonts. */
body.kbm-ipui25 .dashicons,
body.kbm-ipui25 .dashicons::before{font-family:dashicons!important;}
body.kbm-ipui25 :where(.fa,.fas,.far,[class^="fa-"],[class*=" fa-"]){font-family:"Font Awesome 6 Free","Font Awesome 5 Free",FontAwesome!important;}
body.kbm-ipui25 :where(.fab,[class^="fab-"],[class*=" fab-"]){font-family:"Font Awesome 6 Brands","Font Awesome 5 Brands"!important;}
body.kbm-ipui25 :where(.mdi,.mdi::before,.mdi-set){font-family:"Material Design Icons"!important;}
body.kbm-ipui25 :where(.material-icons,.material-symbols-outlined,.material-symbols-rounded){font-family:"Material Icons","Material Symbols Outlined"!important;}
body.kbm-ipui25 :where(code,pre,kbd,samp){font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;}
