/* Capabilities — Năng lực & Chuỗi giá trị */

body.nafoods-capabilities {
  background: var(--nf-cream, #fffaf3);
}

.nf-cap *,
.nf-cap *::before,
.nf-cap *::after {
  box-sizing: border-box;
}

.nf-cap {
  color: var(--nf-brand, #760f26);
  -webkit-tap-highlight-color: transparent;
}

.nf-cap button:hover,
.nf-cap button:focus,
.nf-cap button:focus-visible,
.nf-cap button:active {
  outline: none;
  box-shadow: none;
}

/* Hero — same as Story / Leadership */
.nf-cap-hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 576px;
  min-height: 576px;
  overflow: clip;
}

.nf-cap-hero__media,
.nf-cap-hero__overlay,
.nf-cap-hero__placeholder {
  position: absolute;
  inset: 0;
}

.nf-cap-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-cap-hero__placeholder {
  background: #2b1311;
}

.nf-cap-hero__overlay {
  background: rgb(0 0 0 / 50%);
}

.nf-cap-hero.has-no-title .nf-cap-hero__overlay {
  display: none;
}

.nf-cap-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 1.25rem;
  text-align: center;
}

.nf-cap-hero__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 40px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #fff5e4;
}

@media (max-width: 1023px) {
  .nf-cap-hero {
    margin-top: 56px;
  }
}

@media (min-width: 1024px) {
  .nf-cap-hero__content {
    width: min(100%, 1220px);
  }

  .nf-cap-hero__title {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -0.72px;
  }
}

/* Vùng nguyên liệu */
.nf-cap-region {
  --nf-cap-stats-show: 1;
  --nf-cap-stats-gap: 24px;
  padding: 48px 0 0;
}

.nf-cap-region__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

.nf-cap-region__sliders {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.nf-cap-region__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: var(--nf-brand, #760f26);
}

@media (min-width: 700px) {
  .nf-cap-region {
    --nf-cap-stats-show: 2;
    --nf-cap-stats-gap: 32px;
  }

  .nf-cap-region__title {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }
}

@media (min-width: 1024px) {
  .nf-cap-region {
    --nf-cap-stats-show: 4;
    --nf-cap-stats-gap: 40px;
    padding: 48px 0;
  }

  .nf-cap-region__inner {
    width: min(1220px, calc(100% - 40px));
  }
}

.nf-cap-region__stats {
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 100%;
  gap: 32px;
  padding: 32px 24px;
  background: var(--nf-cream-deep, #fff5e4);
  border-radius: 32px;
}

.nf-cap-region__sliders:has(.nf-cap-region__photos) .nf-cap-region__stats {
  border-radius: 32px 32px 0 0;
}

@media (min-width: 1024px) {
  .nf-cap-region__stats {
    align-self: center;
    width: calc(100% - 58px);
    gap: 32px;
    padding: 32px 40px;
  }

  .nf-cap-region__photos-viewport {
    aspect-ratio: 5 / 2;
  }
}

.nf-cap-region__stats:not(.is-scrollable) .nf-cap-region__arrow {
  display: none;
}

.nf-cap .nf-icon-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #f1ebde;
  color: #25080b;
  line-height: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nf-cap .nf-icon-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}

.nf-cap .nf-icon-btn:hover:not(:disabled):not([aria-disabled="true"]) {
  background: var(--nf-brand, #760f26);
  color: var(--nf-cream-deep, #fff5e4);
}

.nf-cap .nf-icon-btn:disabled,
.nf-cap .nf-icon-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
  background: #f1ebde;
  color: #25080b;
}

.nf-cap-region__stats-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.nf-cap-region__stats-track {
  display: flex;
  align-items: stretch;
  gap: var(--nf-cap-stats-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.4s ease;
}

.nf-cap-region__stat {
  position: relative;
  flex: 0 0 calc((100% - (var(--nf-cap-stats-show) - 1) * var(--nf-cap-stats-gap)) / var(--nf-cap-stats-show));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  text-align: center;
  color: var(--nf-brand, #760f26);
}

.nf-cap-region__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--nf-cap-stats-gap) / -2);
  width: 1px;
  height: 48px;
  background: #eee1e3;
  transform: translate(50%, -50%);
  pointer-events: none;
}

.nf-cap-region__stat-num,
.nf-cap-region__stat-text {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-weight: 500;
}

.nf-cap-region__stat-num {
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.32px;
}

.nf-cap-region__stat-text {
  font-size: 14px;
  line-height: 20px;
}

.nf-cap-region__photos {
  position: relative;
}

.nf-cap-region__photos-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 2;
  border-radius: 20px;
  background: #2b1311;
}

.nf-cap-region__photos-track {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-cap-region__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.nf-cap-region__photo.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.nf-cap-region__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.nf-cap-region__dots {
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

.nf-cap-region__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 50%);
  cursor: pointer;
  transition: height 0.25s ease, background 0.25s ease;
}

.nf-cap-region__dot:hover:not(.is-active),
.nf-cap-plant__dot:hover:not(.is-active) {
  background: #fff !important;
}

.nf-cap-region__dot.is-active {
  height: 32px;
  background: #fff;
}

@media (max-width: 699px) {
  .nf-cap-region__stat:not(:last-child)::after {
    display: none;
  }
}

/* Năng lực sản xuất */
.nf-cap-prod {
  padding: 48px 0;
}

.nf-cap-prod__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-cap-prod__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nf-cap-prod__title {
  margin: 0 0 8px;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: var(--nf-brand, #760f26);
}

.nf-cap-prod__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #341d1d;
}

.nf-cap-prod__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--nf-brand, #760f26);
}

.nf-cap-prod__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.nf-cap-prod__stat + .nf-cap-prod__stat {
  padding-top: 16px;
  border-top: 1px solid #8f3a4d;
}

.nf-cap-prod__stat:first-child {
  padding-bottom: 24px;
}

.nf-cap-prod__stat-label,
.nf-cap-prod__stat-value {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.nf-cap-prod__stat-label {
  flex: none;
  width: 100%;
  color: #fff5e4;
}

.nf-cap-prod__stat-value {
  flex: 1 1 auto;
  color: #f6c82f;
}

.nf-cap-prod__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-cap-map {
  position: relative;
  width: 100%;
  max-width: 579px;
  margin: 0 auto;
  aspect-ratio: 579 / 705;
}

.nf-cap-map__img {
  position: absolute;
  left: calc(52 / 579 * 100%);
  top: 0;
  width: calc(495 / 579 * 100%);
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.nf-cap-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nf-cap-map__lines line,
.nf-cap-map__lines polyline,
.nf-cap-map__lines path {
  fill: none;
  stroke: #eb3345;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}

.nf-cap-map__isle {
  position: absolute;
  z-index: 1;
  margin: 0;
  font-size: 8px;
  line-height: 12px;
  letter-spacing: 1.4px;
  color: var(--nf-brand, #760f26);
  opacity: 0.7;
  pointer-events: none;
}

.nf-cap-map__isle--hs {
  left: calc(472 / 579 * 100%);
  top: calc(379 / 705 * 100%);
}

.nf-cap-map__isle--ts {
  left: calc(401 / 579 * 100%);
  top: calc(681 / 705 * 100%);
}

.nf-cap-map__star {
  position: absolute;
  z-index: 2;
  width: calc(32 / 579 * 100%);
  height: calc(32 / 705 * 100%);
  pointer-events: none;
}

.nf-cap-map__star img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nf-cap-map__star--hq {
  left: calc(240 / 579 * 100%);
  top: calc(173 / 705 * 100%);
}

.nf-cap-map__star--hcm {
  left: calc(289 / 579 * 100%);
  top: calc(583 / 705 * 100%);
}

.nf-cap-map__label {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  color: #eb3345;
  pointer-events: none;
}

.nf-cap-map__pin {
  position: absolute;
  z-index: 3;
  width: calc(32 / 579 * 100%);
  height: calc(32 / 705 * 100%);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a3a5ae;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.nf-cap-map__pin:hover,
.nf-cap-map__pin:focus,
.nf-cap-map__pin:focus-visible,
.nf-cap-map__pin:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #760f26;
}

.nf-cap-map__pin-icon,
.nf-cap-map__pin-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nf-cap-map__pin-icon path {
  fill: currentColor;
}

.nf-cap-map__pin.is-active,
.nf-cap-map__pin.is-active:hover,
.nf-cap-map__pin.is-active:focus,
.nf-cap-map__pin.is-active:focus-visible {
  background: transparent !important;
  color: #eb3345;
}

.nf-cap-plants {
  position: relative;
  min-width: 0;
}

.nf-cap-plant {
  opacity: 0;
  pointer-events: none;
}

.nf-cap-plant.is-active {
  position: relative;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.nf-cap-plant.is-leaving {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.nf-cap-plants.is-ready .nf-cap-plant.is-active,
.nf-cap-plants.is-ready .nf-cap-plant.is-leaving {
  transition: opacity 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .nf-cap-plants.is-ready .nf-cap-plant.is-active,
  .nf-cap-plants.is-ready .nf-cap-plant.is-leaving,
  .nf-cap-plant__photo {
    transition: none;
  }
}

.nf-cap-plant__site {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nf-cap-plant__site:not(.is-active) {
  display: none;
}

.nf-cap-plant__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 617 / 358;
  border-radius: 20px;
  background: #2b1311;
}

.nf-cap-plant__photos {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-cap-plant__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.nf-cap-plant__photo.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.nf-cap-plant__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-cap-plant__dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.nf-cap-plant__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 50%);
  color: transparent;
  cursor: pointer;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.nf-cap-plant__dot.is-active,
.nf-cap-plant__dot.is-active:hover,
.nf-cap-plant__dot.is-active:focus {
  width: 32px;
  height: 8px;
  background: #fff;
}

.nf-cap-plant__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 0;
}

.nf-cap-plant__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-cap-plant__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.12px;
  color: var(--nf-brand, #760f26);
}

.nf-cap-plant__place {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #eb3345;
}

.nf-cap-plant__place img {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nf-cap-plant__specs,
.nf-cap-plant__certs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-cap-plant__spec,
.nf-cap-plant__certs {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee1e3;
}

.nf-cap-plant__certs {
  border-bottom: 0;
  padding-bottom: 0;
  padding-top: 24px;
  flex-direction: row;
  gap: 32px;
  --nf-cap-certs-show: 1.4;
  --nf-cap-certs-gap: 12px;
  --nf-cap-certs-gaps: 1;
}

.nf-cap-plant__spec-label {
  flex: 0 1 190px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--nf-brand, #760f26);
}

.nf-cap-plant__spec-value {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #4a0918;
}

.nf-cap-plant__certs-slider {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nf-cap-plant__certs-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.nf-cap-plant__certs-track {
  display: flex;
  align-items: stretch;
  gap: var(--nf-cap-certs-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
}

.nf-cap-plant__cert {
  flex: 0 0 calc((100% - var(--nf-cap-certs-gaps) * var(--nf-cap-certs-gap)) / var(--nf-cap-certs-show));
  aspect-ratio: 102 / 147;
  background: #fff;
}

.nf-cap-plant__cert img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-cap-plant__cert-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.nf-cap-plant__cert-btn:hover,
.nf-cap-plant__cert-btn:focus,
.nf-cap-plant__cert-btn:focus-visible,
.nf-cap-plant__cert-btn:active {
  outline: none;
  box-shadow: none;
}

.nf-cap-cert-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.nf-cap-cert-popup[hidden] {
  display: none;
}

.nf-cap-cert-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nf-cap-cert-popup.is-open .nf-cap-cert-popup__backdrop {
  opacity: 1;
}

.nf-cap-cert-popup__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: min(100%, 420px);
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nf-cap-cert-popup.is-open .nf-cap-cert-popup__dialog {
  opacity: 1;
  transform: none;
}

.nf-cap-cert-popup__dialog,
.nf-cap-cert-popup__dialog:focus,
.nf-cap-cert-popup__dialog:focus-visible,
.nf-cap-cert-popup__dialog:active {
  outline: none;
  box-shadow: none;
}

.nf-cap-cert-popup__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(90vh - 56px);
  object-fit: contain;
  background: #fff;
}

.nf-cap-cert-popup__close,
.nf-cap-cert-popup__close:hover,
.nf-cap-cert-popup__close:focus,
.nf-cap-cert-popup__close:focus-visible,
.nf-cap-cert-popup__close:active {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 1000px;
  background: #760f26;
  color: #fff5e4;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .nf-cap-cert-popup__backdrop,
  .nf-cap-cert-popup__dialog {
    transition: none;
  }
}

.nf-cap-plant__certs-fade {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 72px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, #fffaf3 0%, rgb(255 250 243 / 0%) 100%);
}

.nf-cap .nf-cap-plant__certs-prev,
.nf-cap .nf-cap-plant__certs-next {
  display: none;
}

.nf-cap .nf-cap-plant__certs.is-scrollable .nf-cap-plant__certs-prev,
.nf-cap .nf-cap-plant__certs.is-scrollable .nf-cap-plant__certs-next {
  display: grid;
}

.nf-cap .nf-cap-plant__certs.is-scrollable .nf-cap-plant__certs-prev[aria-disabled="true"],
.nf-cap .nf-cap-plant__certs.is-scrollable .nf-cap-plant__certs-next[aria-disabled="true"] {
  opacity: 0;
  pointer-events: none;
}

.nf-cap-plant__certs:not(.is-scrollable) .nf-cap-plant__certs-fade,
.nf-cap-plant__certs.is-at-end .nf-cap-plant__certs-fade {
  display: none;
}

.nf-cap-plant__certs-prev {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.nf-cap-plant__nav {
  display: flex;
  gap: 12px;
  padding-top: 24px;
}

.nf-cap-plant__slider.is-multi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "media media"
    "heading nav"
    "specs specs"
    "certs certs";
  column-gap: 16px;
  row-gap: 24px;
  align-items: start;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__track,
.nf-cap-plant__slider.is-multi .nf-cap-plant__site.is-active,
.nf-cap-plant__slider.is-multi .nf-cap-plant__site.is-active .nf-cap-plant__body {
  display: contents;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__media {
  grid-area: media;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__heading {
  grid-area: heading;
  min-width: 0;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__specs {
  grid-area: specs;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__certs {
  grid-area: certs;
  padding-top: 0;
}

.nf-cap-plant__slider.is-multi .nf-cap-plant__nav {
  grid-area: nav;
  align-self: center;
  padding-top: 0;
}

.nf-cap-plant__empty .nf-cap-plant__title {
  padding: 24px 0;
}

@media (min-width: 1024px) {
  .nf-cap-prod {
    padding: 46px 0 64px;
  }

  .nf-cap-prod__head {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .nf-cap-prod__intro,
  .nf-cap-prod__stats {
    flex: 1 1 0;
    min-width: 0;
  }

  .nf-cap-prod__title {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }

  .nf-cap-prod__lead {
    font-size: 18px;
    line-height: 28px;
  }

  .nf-cap-prod__stats {
    gap: 12px;
  }

  .nf-cap-prod__stat {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .nf-cap-prod__stat:first-child {
    padding-bottom: 0;
  }

  .nf-cap-prod__stat + .nf-cap-prod__stat {
    padding-top: 8px;
  }

  .nf-cap-prod__stat-label {
    flex: 0 0 42%;
    width: auto;
    min-width: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .nf-cap-prod__stat-value {
    font-size: 16px;
    line-height: 24px;
  }

  .nf-cap-prod__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .nf-cap-map {
    flex: 0 0 579px;
    margin: 0;
  }

  .nf-cap-map__isle {
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 1.8px;
  }

  .nf-cap-map__label {
    font-size: 14px;
    line-height: 20px;
  }

  .nf-cap-plants {
    flex: 1 1 auto;
  }

  .nf-cap-plant__dots {
    top: 50%;
    bottom: auto;
    flex-direction: column;
    transform: translateY(-50%);
  }

  .nf-cap-plant__dot.is-active,
  .nf-cap-plant__dot.is-active:hover,
  .nf-cap-plant__dot.is-active:focus {
    width: 8px;
    height: 32px;
  }

  .nf-cap-plant__title {
    font-size: 24px;
    line-height: 32px;
  }

  .nf-cap-plant__place {
    font-size: 18px;
  }

  .nf-cap-plant__spec {
    gap: 32px;
  }

  .nf-cap-plant__spec-label {
    flex: 0 0 190px;
    font-size: 16px;
    line-height: 24px;
  }

  .nf-cap-plant__spec-value {
    font-size: 16px;
    line-height: 24px;
  }

  .nf-cap-plant__certs {
    --nf-cap-certs-show: 3.2;
    --nf-cap-certs-gaps: 3;
    gap: 32px;
  }

  .nf-cap-plant__certs-fade {
    width: 121px;
  }

}

/* —— Chất lượng quốc tế —— */
.nf-cap-quality {
  padding: 96px 0 0;
}

.nf-cap-quality__inner,
.nf-cap-dist__inner,
.nf-cap-filings__inner,
.nf-cap-fruits__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.nf-cap-quality__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.nf-cap-quality__title,
.nf-cap-dist__title,
.nf-cap-filings__title,
.nf-cap-fruits__title {
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: var(--nf-brand, #760f26);
}

.nf-cap-quality__lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #341d1d;
}

/* —— Logo ticker (certs + partners) —— */
.nf-cap-ticker {
  --nf-cap-ticker-show: 2;
  --nf-cap-ticker-gap: 24px;
  overflow: hidden;
  width: 100%;
  padding: 20px 0 48px;
}

.nf-cap-quality.has-no-ticker,
.nf-cap-dist.has-no-ticker {
  padding-bottom: 48px;
}

.nf-cap-ticker--certs {
  --nf-cap-ticker-show: 2;
}

.nf-cap-ticker--partners {
  --nf-cap-ticker-show: 2;
  padding: 0;
}

.nf-cap-ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.nf-cap-ticker__track {
  display: flex;
  width: max-content;
  animation: nf-cap-ticker 36s linear infinite;
  will-change: transform;
}

.nf-cap-ticker--partners .nf-cap-ticker__track {
  animation-direction: reverse;
}

.nf-cap-ticker__viewport:hover .nf-cap-ticker__track {
  animation-play-state: paused;
}

.nf-cap-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nf-cap-ticker__item {
  display: flex;
  flex: 0 0 calc(100vw / var(--nf-cap-ticker-show));
  align-items: center;
  justify-content: center;
  width: calc(100vw / var(--nf-cap-ticker-show));
  padding: 0 calc(var(--nf-cap-ticker-gap) / 2);
  box-sizing: border-box;
}

.nf-cap-ticker--certs .nf-cap-ticker__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nf-cap-ticker--partners .nf-cap-ticker__item img {
  display: block;
  width: 80%;
  height: auto;
  object-fit: contain;
}

@keyframes nf-cap-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-cap-ticker__track {
    animation: none;
    transform: none;
  }
}

/* —— Phân phối toàn cầu —— */
.nf-cap-dist {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* —— Hồ sơ công bố —— */
.nf-cap-filings {
  padding: 64px 0;
}

.nf-cap-filings__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-cap-filings__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.nf-cap-filings__title {
  width: 100%;
  text-align: left;
}

.nf-cap-filings__filter {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 100%;
  padding: 0;
  background: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #000;
}

.nf-cap-filings__filter-label {
  flex-shrink: 0;
  white-space: nowrap;
}

.nf-cap-filings__dropdown {
  position: relative;
  min-width: 0;
}

.nf-cap-filings__select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nf-cap-filings__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--nf-brand, #760f26);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-align: left;
  cursor: pointer;
}

.nf-cap-filings__dropdown-btn:hover,
.nf-cap-filings__dropdown-btn:focus,
.nf-cap-filings__dropdown-btn:focus-visible,
.nf-cap-filings__dropdown-btn:active {
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--nf-brand, #760f26);
}

.nf-cap-filings__dropdown.is-open .nf-cap-filings__dropdown-btn {
  background: transparent;
}

.nf-cap-filings__dropdown-value {
  white-space: nowrap;
}

.nf-cap-filings__dropdown-chev {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--nf-brand, #760f26);
  transition: transform 0.2s ease;
}

.nf-cap-filings__dropdown-chev svg {
  display: block;
  width: 20px;
  height: 20px;
}

.nf-cap-filings__dropdown.is-open .nf-cap-filings__dropdown-chev {
  transform: rotate(180deg);
}

.nf-cap-filings__dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 8;
  min-width: 100%;
  width: max-content;
  max-width: min(360px, 90vw);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #eee1e3;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(37 8 11 / 10%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nf-cap-filings__dropdown.is-open .nf-cap-filings__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nf-cap-filings__dropdown-menu {
    transition: none;
    transform: none;
  }
}

.nf-cap-filings__dropdown-menu [role="option"] {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--nf-brand, #760f26);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.nf-cap-filings__dropdown-menu [role="option"]:hover,
.nf-cap-filings__dropdown-menu [role="option"].is-selected {
  background: #fff5e4;
}

.nf-cap-filings__table {
  overflow: hidden;
  border-radius: 20px;
}

.nf-cap-filings__thead {
  display: none;
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.nf-cap-filings__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  cursor: pointer;
}

.nf-cap-filings__row[hidden] {
  display: none !important;
}

.nf-cap-filings__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #eee1e3;
}

.nf-cap-filings__namecol {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-cap-filings__toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  color: var(--nf-brand, #760f26);
}

.nf-cap-filings__toggle:hover,
.nf-cap-filings__toggle:focus,
.nf-cap-filings__toggle:focus-visible,
.nf-cap-filings__toggle:active {
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--nf-brand, #760f26);
}

.nf-cap-filings__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 1000px;
  background: #eb3345;
}

.nf-cap-filings__chev svg {
  display: block;
  transition: transform 0.2s ease;
}

.nf-cap-filings__row.is-open .nf-cap-filings__chev svg {
  transform: rotate(180deg);
}

.nf-cap-filings__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nf-cap-filings__details {
  display: none;
  margin: 0;
  padding: 0 0 0 36px;
  list-style: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #0b0103;
}

.nf-cap-filings__row.is-open .nf-cap-filings__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-cap-filings__details a {
  color: inherit;
  text-decoration: none;
}

.nf-cap-filings__details a:hover,
.nf-cap-filings__details a:focus,
.nf-cap-filings__details a:focus-visible,
.nf-cap-filings__details a:active {
  color: inherit;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.nf-cap-filings__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.nf-cap-filings__kv {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.nf-cap-filings__k {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--nf-brand, #760f26);
}

.nf-cap-filings__cell {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--nf-brand, #760f26);
  text-align: right;
}

.nf-cap-filings__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.nf-cap-filings__pager[hidden] {
  display: none !important;
}

.nf-cap-filings__page,
.nf-cap-filings__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #090a0b;
  cursor: pointer;
}

.nf-cap-filings__page.is-active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
  font-weight: 500;
  letter-spacing: 0.16px;
  cursor: default;
}

.nf-cap-filings__page:hover:not(:disabled):not(.is-active) {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-cap-filings__page:focus,
.nf-cap-filings__page:focus-visible,
.nf-cap-filings__page:active {
  background: transparent;
  color: #090a0b;
  outline: none;
  box-shadow: none;
}

.nf-cap-filings__page:hover:not(:disabled):not(.is-active):active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-cap-filings__page.is-active:hover,
.nf-cap-filings__page.is-active:focus,
.nf-cap-filings__page.is-active:focus-visible,
.nf-cap-filings__page.is-active:active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
}

.nf-cap-filings__page--dir {
  color: #090a0b;
}

.nf-cap-filings__page:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.nf-cap-filings__ellipsis {
  cursor: default;
  padding-top: 8px;
  letter-spacing: 2px;
}

/* —— Câu chuyện các loại quả —— */
.nf-cap-fruits {
  padding: 32px 0 64px;
}

.nf-cap-fruits__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nf-cap-fruits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-cap-fruit {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-cap-fruit__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.nf-cap-fruit__link:hover,
.nf-cap-fruit__link:focus,
.nf-cap-fruit__link:focus-visible,
.nf-cap-fruit__link:active {
  outline: none;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

.nf-cap-fruit__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff5e4;
}

.nf-cap-fruit__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nf-cap-fruit__link:hover .nf-card-hover {
  opacity: 1 !important;
  visibility: visible;
}

.nf-cap-fruit__name {
  display: block;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
  color: var(--nf-brand, #760f26);
}

@media (min-width: 700px) {
  .nf-cap-ticker--certs,
  .nf-cap-ticker--partners {
    --nf-cap-ticker-show: 3;
  }

  .nf-cap-quality__title,
  .nf-cap-dist__title,
  .nf-cap-filings__title,
  .nf-cap-fruits__title {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.4px;
  }
}

@media (min-width: 1024px) {
  .nf-cap-quality {
    padding-top: 64px;
  }

  .nf-cap-ticker--certs {
    --nf-cap-ticker-show: 7;
    --nf-cap-ticker-gap: 40px;
  }

  .nf-cap-ticker--partners {
    --nf-cap-ticker-show: 6;
    --nf-cap-ticker-gap: 40px;
  }

  .nf-cap-filings__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
  }

  .nf-cap-filings__row:hover,
  .nf-cap-filings__row.is-open {
    background: #fff5e4;
  }

  .nf-cap-filings__title {
    flex: 1 1 auto;
  }

  .nf-cap-filings__thead,
  .nf-cap-filings__row {
    display: grid;
    grid-template-columns: minmax(280px, 500px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    gap: 0 16px;
    padding: 16px 20px;
  }

  .nf-cap-filings__thead span:not(:first-child) {
    text-align: center;
  }

  .nf-cap-filings__namecol {
    gap: 16px;
  }

  .nf-cap-filings__meta,
  .nf-cap-filings__kv {
    display: contents;
  }

  .nf-cap-filings__k {
    display: none;
  }

  .nf-cap-filings__cell {
    font-size: 18px;
    line-height: 28px;
    text-align: center;
  }

  .nf-cap-filings__details {
    padding-left: 34px;
    font-size: 16px;
    line-height: 24px;
    gap: 12px;
  }

  .nf-cap-fruits__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 32px;
  }
}

@media (min-width: 1920px) {
  .nf-cap-ticker--certs .nf-cap-ticker__item img {
    width: 80%;
  }

  .nf-cap-ticker--partners .nf-cap-ticker__item img {
    width: 60%;
  }
}

@media (max-width: 1023px) {
  .nf-cap-region__sliders:has(.nf-cap-region__photos) .nf-cap-region__stats {
    border-radius: 0;
  }

  .nf-cap-region__photos-viewport {
    border-radius: 0 0 20px 20px;
  }

  .nf-cap-plant__spec,
  .nf-cap-plant__certs {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .nf-cap-plant__spec-label,
  .nf-cap-plant__spec-value,
  .nf-cap-plant__certs-slider {
    flex: none;
    min-width: 0;
  }

  .nf-cap-filings__pager {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }

  .nf-cap-filings__page--dir {
    display: none;
  }

  .nf-cap-filings__page,
  .nf-cap-filings__ellipsis {
    flex: 0 1 44px;
    width: 44px;
    min-width: 0;
    height: 44px;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .nf-cap-filings__ellipsis {
    padding-top: 8px;
    letter-spacing: 2px;
  }

  .nf-cap-filings__head {
    align-items: flex-start;
  }

  .nf-cap-filings__dropdown-menu {
    left: 0;
    right: auto;
  }

  .nf-cap-filings__row.is-open {
    background: #fff5e4;
  }

  .nf-cap-filings__kv {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px 12px;
    align-items: start;
  }

  .nf-cap-filings__k {
    white-space: normal;
  }

  .nf-cap-filings__cell {
    text-align: left;
  }
}

