/**
 * Nexo Page Kit — Technical Specs Section.
 *
 * Seção técnica com bloco textual, CTA e tabela de especificações.
 */

.nexo-technical-specs-section {
  box-sizing: border-box;
  width: 100%;
  margin-top: var(--nexo-technical-specs-section-margin-top, 0);
  margin-bottom: var(--nexo-technical-specs-section-margin-bottom, 0);
  padding: var(--nexo-technical-specs-section-padding, 80px 24px);
  background: var(--nexo-technical-specs-section-bg, #ffffff);
  border: 0;
  outline: 0;
}

.nexo-technical-specs-section *,
.nexo-technical-specs-section *::before,
.nexo-technical-specs-section *::after {
  box-sizing: border-box;
}

.nexo-technical-specs-section__container {
  width: min(var(--nexo-technical-specs-section-container-width, 1180px), 100%);
  margin: var(--nexo-technical-specs-section-container-margin, 0 auto);
}

.nexo-technical-specs-section__card {
  display: grid;
  grid-template-columns:
    minmax(260px, var(--nexo-technical-specs-section-left-width, 38fr))
    minmax(360px, var(--nexo-technical-specs-section-right-width, 62fr));
  gap: var(--nexo-technical-specs-section-card-gap, 48px);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: var(--nexo-technical-specs-section-card-min-height, 0);
  padding: var(--nexo-technical-specs-section-card-padding, 42px 48px);
  color: var(--nexo-technical-specs-section-table-color, #111827);
  background: var(--nexo-technical-specs-section-card-bg, #f4f4f4);
  border-radius: var(--nexo-technical-specs-section-card-radius, 14px);
  box-shadow:
    18px 0 28px rgba(15, 23, 42, 0.1),
    0 16px 34px rgba(15, 23, 42, 0.08);
}

.nexo-technical-specs-section__card--secondary-table {
  display: flex;
  flex-direction: column;
}

.nexo-technical-specs-section__card--secondary-table
  .nexo-technical-specs-section__table-wrap {
  flex: 1 1 auto;
}

.nexo-technical-specs-section__intro--secondary {
  margin-bottom: 24px;
}

.nexo-technical-specs-section .nexo-technical-specs-section__title--secondary {
  font-size: min(var(--nexo-technical-specs-section-title-size, 38px), 28px);
  line-height: 1.12;
}

.nexo-technical-specs-section__carousel-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.nexo-technical-specs-section__carousel-viewport::-webkit-scrollbar {
  display: none;
}

.nexo-technical-specs-section__carousel-track {
  display: flex;
  gap: var(--nexo-technical-specs-section-carousel-gap, 24px);
}

.nexo-technical-specs-section__carousel-slide {
  flex: 0 0 var(--nexo-technical-specs-section-carousel-slide-width, 100%);
  min-width: 0;
  scroll-snap-align: start;
}

.nexo-technical-specs-section__carousel-slide > .nexo-technical-specs-section__card {
  height: 100%;
}

.nexo-technical-specs-section--snap-disabled .nexo-technical-specs-section__carousel-viewport {
  scroll-snap-type: none;
}

.nexo-technical-specs-section--snap-disabled .nexo-technical-specs-section__carousel-slide {
  scroll-snap-align: none;
}

.nexo-technical-specs-section__carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.nexo-technical-specs-section__carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--nexo-technical-specs-section-table-color, #111827) 28%, transparent);
  border: 0;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.nexo-technical-specs-section__carousel-dot.is-active,
.nexo-technical-specs-section__carousel-dot:hover,
.nexo-technical-specs-section__carousel-dot:focus-visible {
  background: var(--nexo-technical-specs-section-button-bg, #f75c00);
  transform: scale(1.18);
}

.nexo-technical-specs-section__secondary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.nexo-technical-specs-section__secondary-actions
  .nexo-technical-specs-section__button {
  align-self: flex-end;
}

.nexo-technical-specs-section__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.nexo-technical-specs-section .nexo-technical-specs-section__title {
  margin: 0;
  color: var(--nexo-technical-specs-section-title-color, #111827);
  font-family: var(
    --nexo-technical-specs-section-title-font-family,
    var(
      --nexo-font-family-headings,
      "Nunito Sans",
      system-ui,
      -apple-system,
      "Segoe UI",
      Roboto,
      Arial,
      sans-serif
    )
  );
  font-size: var(--nexo-technical-specs-section-title-size, 38px);
  font-weight: var(--nexo-technical-specs-section-title-weight, 800);
  font-style: var(--nexo-technical-specs-section-title-style, normal);
  line-height: var(--nexo-technical-specs-section-title-line-height, 1.05);
  letter-spacing: var(
    --nexo-technical-specs-section-title-letter-spacing,
    -0.04em
  );
  text-align: var(--nexo-technical-specs-section-title-align, left);
  text-transform: var(
    --nexo-technical-specs-section-title-transform,
    uppercase
  );
}

.nexo-technical-specs-section__title-line {
  display: block;
}

.nexo-technical-specs-section__title-highlight {
  color: var(--nexo-technical-specs-section-highlight-color, #f75c00);
}

.nexo-technical-specs-section__description {
  max-width: 360px;
  margin: 22px 0 0;
  color: var(--nexo-technical-specs-section-description-color, #111827);
  font-family: var(
    --nexo-technical-specs-section-description-font-family,
    var(
      --nexo-font-family-body,
      "Nunito Sans",
      system-ui,
      -apple-system,
      "Segoe UI",
      Roboto,
      Arial,
      sans-serif
    )
  );
  font-size: var(--nexo-technical-specs-section-description-size, 13px);
  font-weight: var(--nexo-technical-specs-section-description-weight, 400);
  font-style: var(--nexo-technical-specs-section-description-style, normal);
  line-height: var(
    --nexo-technical-specs-section-description-line-height,
    1.35
  );
  text-align: var(--nexo-technical-specs-section-description-align, left);
}

.nexo-technical-specs-section__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 64px;
  margin-top: auto;
  padding: 0 68px 0 32px;
  color: var(--nexo-technical-specs-section-button-color, #ffffff);
  font-family: var(
    --nexo-technical-specs-section-button-font-family,
    var(
      --nexo-font-family-body,
      "Nunito Sans",
      system-ui,
      -apple-system,
      "Segoe UI",
      Roboto,
      Arial,
      sans-serif
    )
  );
  font-size: var(--nexo-technical-specs-section-button-font-size, 13px);
  font-weight: var(--nexo-technical-specs-section-button-font-weight, 800);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--nexo-technical-specs-section-button-bg, #f75c00);
  border-radius: 7px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.nexo-technical-specs-section__button:hover,
.nexo-technical-specs-section__button:focus {
  color: var(--nexo-technical-specs-section-button-color, #ffffff);
  background: var(--nexo-technical-specs-section-button-hover-bg, #d94f00);
  outline: none;
  transform: translateY(-1px);
}

.nexo-technical-specs-section__button-icon {
  position: absolute;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: currentColor;
  line-height: 1;
}

.nexo-technical-specs-section__button-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nexo-technical-specs-section__button--icon-arrow
  .nexo-technical-specs-section__button-icon {
  width: auto;
  height: auto;
  font-size: 28px;
}

.nexo-technical-specs-section__table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.nexo-technical-specs-section__table-wrap--full {
  width: 100%;
}

.nexo-technical-specs-section__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: var(--nexo-technical-specs-section-table-color, #111827);
  font-family: var(
    --nexo-technical-specs-section-table-body-font-family,
    var(
      --nexo-font-family-body,
      "Nunito Sans",
      system-ui,
      -apple-system,
      "Segoe UI",
      Roboto,
      Arial,
      sans-serif
    )
  );
  font-size: var(--nexo-technical-specs-section-table-body-size, 12px);
  font-weight: var(--nexo-technical-specs-section-table-body-weight, 600);
  font-style: var(--nexo-technical-specs-section-table-body-style, normal);
  line-height: var(--nexo-technical-specs-section-table-body-line-height, 1.3);
}

.nexo-technical-specs-section__table--matrix {
  min-width: 720px;
}

.nexo-technical-specs-section__table th,
.nexo-technical-specs-section__table td {
  padding: 9px 8px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid
    var(
      --nexo-technical-specs-section-table-border-color,
      rgba(17, 24, 39, 0.32)
    );
}

.nexo-technical-specs-section__table thead th {
  padding-top: 0;
  padding-bottom: 10px;
  font-family: var(
    --nexo-technical-specs-section-table-header-font-family,
    var(
      --nexo-font-family-body,
      "Nunito Sans",
      system-ui,
      -apple-system,
      "Segoe UI",
      Roboto,
      Arial,
      sans-serif
    )
  );
  font-size: var(--nexo-technical-specs-section-table-header-size, 16px);
  font-weight: var(--nexo-technical-specs-section-table-header-weight, 800);
  font-style: var(--nexo-technical-specs-section-table-header-style, normal);
  line-height: var(
    --nexo-technical-specs-section-table-header-line-height,
    1.2
  );
  border-bottom: 1px solid
    var(
      --nexo-technical-specs-section-table-border-color,
      rgba(17, 24, 39, 0.45)
    );
}

.nexo-technical-specs-section__table tbody td {
  font-weight: var(--nexo-technical-specs-section-table-body-weight, 600);
}

.nexo-technical-specs-section__table tbody td:first-child {
  width: 44%;
  font-weight: var(--nexo-technical-specs-section-table-label-weight, 700);
}

.nexo-technical-specs-section__table tbody td:last-child {
  font-weight: var(--nexo-technical-specs-section-table-value-weight, 600);
}

.nexo-technical-specs-section__table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1024px) {
  .nexo-technical-specs-section__card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 38px 34px;
  }

  .nexo-technical-specs-section__description {
    max-width: 520px;
  }

  .nexo-technical-specs-section__button {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .nexo-tech-spec-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nexo-tech-spec-card__content {
    gap: 28px;
    padding: 32px 18px 28px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  }

  .nexo-tech-spec-card__title {
    font-size: 26px;
    line-height: 1.08;
  }

  .nexo-tech-spec-card__text {
    margin-top: 14px;
    font-size: 13px;
  }

  .nexo-tech-spec-card__table-wrap {
    width: 100%;
    overflow-x: visible;
  }

  .nexo-tech-spec-card__table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
    line-height: 1.25;
  }

  .nexo-tech-spec-card__table th,
  .nexo-tech-spec-card__table td {
    padding: 6px 4px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .nexo-tech-spec-card__table thead th {
    font-size: 13px;
    padding-bottom: 6px;
  }

  .nexo-tech-spec-card__table tbody td:first-child {
    width: 42%;
  }

  .nexo-tech-spec-card__product-image {
    display: none;
  }
}

@media (max-width: 640px) {
  .nexo-technical-specs-section__secondary-actions {
    justify-content: stretch;
  }

  .nexo-technical-specs-section__secondary-actions
    .nexo-technical-specs-section__button {
    width: 100%;
  }
}
