/* Shared conversion and reading improvements for Nafei B2B pages. */
:root {
  --nafei-ink: #0f172a;
  --nafei-muted: #475569;
  --nafei-line: #dbe5ee;
  --nafei-blue: #0369a1;
  --nafei-blue-dark: #075985;
  --nafei-green: #16a34a;
  --nafei-green-dark: #15803d;
  --nafei-soft: #f8fafc;
  --nafei-pale-blue: #eff6ff;
  --nafei-pale-green: #f0fdf4;
}

.nafei-b2b-route-nav,
.nafei-b2b-contact-bar,
.nafei-detail-contact-strip {
  box-sizing: border-box;
}

.nafei-b2b-route-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 12px;
  padding: 8px 10px;
  border: 1px solid var(--nafei-line);
  border-radius: 8px;
  background: var(--nafei-soft);
}

.nafei-b2b-route-nav__label {
  margin: 0 6px 0 2px;
  color: var(--nafei-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nafei-b2b-route-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--nafei-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.nafei-b2b-route-nav a:hover,
.nafei-b2b-route-nav a:focus-visible,
.nafei-b2b-route-nav a.is-active {
  border-color: #bae6fd;
  background: #e0f2fe;
  color: var(--nafei-blue-dark);
}

.nafei-b2b-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #bbf7d0;
  border-left: 4px solid var(--nafei-green);
  border-radius: 8px;
  background: var(--nafei-pale-green);
}

.nafei-b2b-contact-bar__copy {
  min-width: 0;
}

.nafei-b2b-contact-bar__copy span,
.nafei-detail-contact-strip__copy span {
  display: block;
  margin-bottom: 4px;
  color: var(--nafei-green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nafei-b2b-contact-bar__copy strong {
  display: block;
  color: var(--nafei-ink);
  font-size: 16px;
  line-height: 1.35;
}

.nafei-b2b-contact-bar__copy a {
  color: var(--nafei-ink);
  text-decoration: none;
}

.nafei-b2b-contact-bar__copy a:hover,
.nafei-b2b-contact-bar__copy a:focus-visible {
  color: var(--nafei-blue);
  text-decoration: underline;
}

.nafei-b2b-contact-bar__actions,
.nafei-detail-contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.nafei-b2b-contact-bar__actions a,
.nafei-detail-contact-strip__actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nafei-b2b-contact-bar__actions a:hover,
.nafei-b2b-contact-bar__actions a:focus-visible,
.nafei-detail-contact-strip__actions a:hover,
.nafei-detail-contact-strip__actions a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
}

.nafei-b2b-contact-bar__actions .nafei-b2b-action--whatsapp,
.nafei-detail-contact-strip__actions .nafei-b2b-action--whatsapp {
  background: var(--nafei-green);
}

.nafei-b2b-contact-bar__actions .nafei-b2b-action--whatsapp:hover,
.nafei-b2b-contact-bar__actions .nafei-b2b-action--whatsapp:focus-visible,
.nafei-detail-contact-strip__actions .nafei-b2b-action--whatsapp:hover,
.nafei-detail-contact-strip__actions .nafei-b2b-action--whatsapp:focus-visible {
  background: var(--nafei-green-dark);
}

.nafei-b2b-contact-bar__actions .nafei-b2b-action--quote,
.nafei-detail-contact-strip__actions .nafei-b2b-action--quote {
  background: var(--nafei-blue);
}

.nafei-b2b-contact-bar__actions .nafei-b2b-action--quote:hover,
.nafei-b2b-contact-bar__actions .nafei-b2b-action--quote:focus-visible,
.nafei-detail-contact-strip__actions .nafei-b2b-action--quote:hover,
.nafei-detail-contact-strip__actions .nafei-b2b-action--quote:focus-visible {
  background: var(--nafei-blue-dark);
}

.nafei-b2b-contact-bar svg,
.nafei-detail-contact-strip svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nafei-landing .nafei-land-wrap {
  max-width: 1160px;
  padding-right: 24px;
  padding-left: 24px;
}

.nafei-landing .nafei-land-hero {
  padding-top: 42px;
  padding-bottom: 34px;
}

.nafei-landing .nafei-land-hero h1 {
  max-width: 920px;
  font-size: 42px;
}

.nafei-landing .nafei-land-hero p.lead {
  max-width: 820px;
  font-size: 17px;
}

.nafei-landing .nafei-land-cta-row a,
.nafei-landing .nafei-land-band a {
  min-height: 48px;
  border-radius: 6px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nafei-landing .nafei-land-cta-row a:hover,
.nafei-landing .nafei-land-cta-row a:focus-visible,
.nafei-landing .nafei-land-band a:hover,
.nafei-landing .nafei-land-band a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
}

.nafei-landing .nafei-land-cta-primary {
  box-shadow: 0 4px 10px rgba(3, 105, 161, .16);
}

.nafei-landing .nafei-land-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.nafei-landing .nafei-land-card,
.nafei-landing .nafei-land-step,
.nafei-landing .nafei-land-faq details {
  border-radius: 7px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.nafei-landing .nafei-land-card h3 {
  font-size: 18px;
}

.nafei-landing .nafei-land-card p,
.nafei-landing .nafei-land-step span,
.nafei-landing .nafei-land-faq details div {
  font-size: 15px;
}

.nafei-landing .nafei-land-table {
  border: 1px solid var(--nafei-line);
}

.nafei-landing .nafei-land-table th {
  background: #eef6fb;
}

.nafei-landing .nafei-land-links a {
  border: 1px solid #9ccfe3;
  background: #fff;
  color: var(--nafei-blue);
}

.nafei-landing .nafei-land-links a:hover,
.nafei-landing .nafei-land-links a:focus-visible {
  border-color: var(--nafei-blue);
  background: #eef8fb;
  color: var(--nafei-blue-dark);
}

body.nafei-product-detail .m-crm {
  border-bottom: 1px solid var(--nafei-line);
  background: var(--nafei-soft);
}

body.nafei-product-detail .nafei-detail-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--nafei-line);
  border-left: 4px solid var(--nafei-blue);
  border-radius: 8px;
  background: var(--nafei-soft);
}

.nafei-detail-contact-strip__copy {
  min-width: 0;
}

.nafei-detail-contact-strip__copy span {
  color: var(--nafei-blue);
}

.nafei-detail-contact-strip__copy p {
  margin: 0;
  color: var(--nafei-muted);
  font-size: 14px;
  line-height: 1.55;
}

.nafei-detail-contact-strip__copy a {
  color: var(--nafei-ink);
  font-weight: 800;
  text-decoration: none;
}

.nafei-detail-contact-strip__copy a:hover,
.nafei-detail-contact-strip__copy a:focus-visible {
  color: var(--nafei-blue);
  text-decoration: underline;
}

body.nafei-product-detail .m-prob1 .prob-link {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

body.nafei-product-detail .m-prob1 .prob-link a {
  display: inline-flex !important;
  float: none !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 16px;
  border: 1px solid var(--nafei-line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

body.nafei-product-detail .m-prob1 .prob-link .nafei-contact-supplier {
  background: #fff !important;
  color: var(--nafei-blue) !important;
  border-color: #9ccfe3;
}

body.nafei-product-detail .m-prob1 .prob-link .nafei-request-quote {
  background: var(--nafei-blue) !important;
  color: #fff !important;
  border-color: var(--nafei-blue);
  box-shadow: 0 4px 10px rgba(3, 105, 161, .16);
}

body.nafei-product-detail .m-prob1 .prob-link .nafei-next-product {
  background: var(--nafei-soft) !important;
  color: var(--nafei-muted) !important;
}

body.nafei-product-detail .m-prob2 .box-tabhd {
  border-bottom: 1px solid var(--nafei-line);
}

body.nafei-product-detail .m-prob2 .tabhd-item {
  min-height: 44px;
  padding-right: 16px;
  padding-left: 16px;
  color: var(--nafei-muted);
  font-weight: 800;
}

body.nafei-product-detail .m-prob2 .tabhd-item.active {
  color: var(--nafei-blue);
  border-bottom-color: var(--nafei-blue);
}

body.nafei-product-detail .m-protext1 {
  color: var(--nafei-ink);
}

body.nafei-product-detail .nfe-geo-guide {
  max-width: 920px !important;
  color: #243244 !important;
}

body.nafei-product-detail .nfe-geo-guide h2 {
  color: var(--nafei-ink) !important;
  line-height: 1.3 !important;
}

body.nafei-product-detail .nfe-geo-guide table {
  font-size: 15px !important;
}

body.nafei-product-detail .nafei-detail-rfq-cta {
  border-radius: 8px;
}

body.nafei-product-detail .nafei-detail-rfq-cta__btn {
  min-height: 48px;
  border-radius: 6px;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.nafei-product-detail .nafei-detail-rfq-cta__btn:hover,
body.nafei-product-detail .nafei-detail-rfq-cta__btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
}

body.nafei-product-detail .nafei-detail-rfq-cta__btn--secondary {
  background: var(--nafei-green);
}

body.nafei-product-detail .nafei-detail-rfq-cta__btn--secondary:hover,
body.nafei-product-detail .nafei-detail-rfq-cta__btn--secondary:focus-visible {
  background: var(--nafei-green-dark);
}

body.nafei-cooling-site .m-kf {
  right: 12px;
}

body.nafei-cooling-site .m-kf .kf-item {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 3px;
  border-radius: 8px 0 0 8px;
  background: rgba(15, 23, 42, .18);
  box-shadow: 0 5px 14px rgba(15, 23, 42, .13);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.nafei-cooling-site .m-kf .kf-item:hover,
body.nafei-cooling-site .m-kf .kf-item:focus-visible {
  transform: translateX(-2px);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .18);
}

body.nafei-cooling-site .m-kf .kf-item:first-child {
  background: var(--nafei-green);
}

body.nafei-cooling-site .m-kf .kf-item:first-child:hover,
body.nafei-cooling-site .m-kf .kf-item:first-child:focus-visible {
  background: var(--nafei-green-dark);
}

body.nafei-cooling-site .m-kf .kf-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nafei-b2b-contact-bar a:focus-visible,
.nafei-b2b-route-nav a:focus-visible,
.nafei-detail-contact-strip a:focus-visible,
body.nafei-product-detail .prob-link a:focus-visible {
  outline: 3px solid rgba(3, 105, 161, .28);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .nafei-b2b-route-nav {
    margin-top: 14px;
    padding: 8px;
  }

  .nafei-b2b-route-nav__label {
    width: 100%;
    margin: 0 2px 2px;
  }

  .nafei-b2b-route-nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .nafei-b2b-contact-bar,
  body.nafei-product-detail .nafei-detail-contact-strip {
    display: block;
    padding: 14px;
  }

  .nafei-b2b-contact-bar__actions,
  .nafei-detail-contact-strip__actions {
    margin-top: 12px;
  }

  .nafei-b2b-contact-bar__actions a,
  .nafei-detail-contact-strip__actions a {
    flex: 1 1 180px;
    min-height: 50px;
  }

  .nafei-landing .nafei-land-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nafei-landing .nafei-land-hero {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .nafei-landing .nafei-land-hero h1 {
    font-size: 30px;
  }

  .nafei-landing .nafei-land-hero p.lead {
    font-size: 16px;
  }

  .nafei-landing .nafei-land-cta-row {
    display: grid;
    gap: 10px;
  }

  .nafei-landing .nafei-land-cta-row a {
    width: 100%;
    justify-content: center;
  }

  .nafei-landing .nafei-land-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .nafei-landing .nafei-land-table,
  body.nafei-product-detail .nfe-geo-guide table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nafei-landing .nafei-land-table {
    min-width: 620px;
  }

  body.nafei-product-detail .nfe-geo-guide table {
    min-width: 600px;
  }

  body.nafei-cooling-site .m-kf {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nafei-b2b-route-nav a,
  .nafei-b2b-contact-bar__actions a,
  .nafei-detail-contact-strip__actions a,
  .nafei-landing .nafei-land-cta-row a,
  .nafei-landing .nafei-land-band a,
  body.nafei-product-detail .nafei-detail-rfq-cta__btn {
    transition: none;
  }

  body.nafei-cooling-site .m-kf .kf-item {
    transition: none;
  }
}
