/* Header + Footer chrome (site-wide until Elementor Pro Theme Builder) */

:root {
  --nf-max: 1220px;
  /* Figma tokens â€” keep in sync with home.css */
  --nf-brand: #760f26;
  --nf-brand-bright: #f42f4c;
  --nf-brand-secondary: #eb3345;
  --nf-cream: #fffaf3;
  --nf-cream-deep: #fff5e4;
  --nf-gold: #f6c82f;
  --nf-ink: #2b1311;
  --nf-muted: #645048;
  /* Overridden by Website Settings â†’ Fonts (@font-face inline) when files are set */
  --nf-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nf-serif: "NAF Passion Sans", "Georgia", "Times New Roman", serif;
}

.nf-header,
.nf-site-footer,
.nf-mobile-menu {
  font-family: var(--nf-sans);
}

/* Figma text/md/NAF â€” standard Medium (not Wide*) / 16 / 24 */
.nf-header__menu a,
.nf-header__lang,
.nf-header__lang-label,
.nf-mobile-menu__list a {
  font-family: var(--nf-nav, var(--nf-serif));
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.nf-header .nf-serif,
.nf-site-footer .nf-serif {
  font-family: var(--nf-serif);
}

/* Burgundy loading overlay (Website Settings — site or homepage) */
.nf-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #760f26;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 1.1s cubic-bezier(0.77, 0, 0.175, 1),
    transform 1.1s cubic-bezier(0.77, 0, 0.175, 1),
    clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}

.nf-loading.is-done {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(1.04);
  clip-path: inset(0 0 100% 0);
}

.nf-loading__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transition:
    opacity 0.9s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.nf-loading.is-done .nf-loading__brand {
  opacity: 0;
  transform: translateY(-4rem);
}

html.nf-loading-revisit .nf-loading {
  transition: opacity 0.4s ease;
}

html.nf-loading-revisit .nf-loading__brand {
  visibility: hidden;
  opacity: 0;
}

html.nf-loading-revisit .nf-loading.is-done {
  opacity: 0;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.nf-loading__logo,
.woocommerce .nf-loading__logo,
.woocommerce-page .nf-loading__logo {
  display: block;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0 !important;
  max-width: 160px !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
}

@media (min-width: 768px) {
  .nf-loading__logo,
  .woocommerce .nf-loading__logo,
  .woocommerce-page .nf-loading__logo {
    max-width: 220px !important;
    height: 56px !important;
    max-height: 56px !important;
  }
}

.nf-loading__bar {
  position: relative;
  height: 2px;
  width: 10rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .nf-loading__bar {
    width: 12rem;
  }
}

.nf-loading__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  border-radius: 9999px;
  background: #fffaf3;
  animation: nf-loading-slide 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes nf-loading-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(400%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-loading,
  .nf-loading__brand {
    transition: none;
  }

  .nf-loading__bar-fill {
    animation: none;
  }
}

html.nf-loading-active,
html.nf-loading-active body {
  overflow: hidden;
}

/* While popup open: do NOT force overflow:hidden on html/body
   (that jumps scroll to top + can leave page stuck). Lenis is stopped in JS. */
html.nf-lenis-paused {
  scroll-behavior: auto !important;
}

.nf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  background: transparent;
  transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.nf-header.is-hidden {
  transform: translateY(-100%);
}

.nf-header.is-solid {
  background: var(--nf-cream);
  border-bottom: 1px solid #eee1e3;
  box-shadow: none;
}

.nf-header.is-menu-open {
  background: var(--nf-cream);
  border-bottom: 1px solid #eee1e3;
}

@media (min-width: 1024px) {
  .nf-header:hover,
  .nf-header:focus-within {
    background: var(--nf-cream);
    border-bottom: 1px solid #eee1e3;
  }

  .nf-header:hover .nf-header__logo-img--white,
  .nf-header:focus-within .nf-header__logo-img--white {
    display: none;
  }

  .nf-header:hover .nf-header__logo-img--color,
  .nf-header:focus-within .nf-header__logo-img--color {
    display: block;
  }

  .nf-header:hover .nf-header__logo-text,
  .nf-header:focus-within .nf-header__logo-text,
  .nf-header:hover .nf-header__menu > li > a,
  .nf-header:focus-within .nf-header__menu > li > a,
  .nf-header:hover .nf-header__lang,
  .nf-header:focus-within .nf-header__lang {
    color: #760f26;
  }
}

.nf-header__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0 0 20px;
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 1024px) {
  .nf-header__bar {
    width: min(100% - 80px, var(--nf-max));
    padding: 0;
    gap: 13px;
  }

  .nf-header__logo {
    padding: 20px 0;
  }
}

.nf-header__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.nf-header__logo-img {
  display: block;
  width: 137px;
  min-width: 137px;
  height: auto;
  max-height: 35px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .nf-header__logo-img {
    width: 171px;
    min-width: 171px;
    max-height: 44px;
  }
}

.nf-header__logo-img--color {
  display: none;
}

.nf-header.is-solid .nf-header__logo-img--white,
.nf-header.is-menu-open .nf-header__logo-img--white {
  display: none;
}

.nf-header.is-solid .nf-header__logo-img--color,
.nf-header.is-menu-open .nf-header__logo-img--color,
.nf-header__logo-img--color.is-force {
  display: block;
}

.nf-header:not(.is-solid):not(.is-menu-open):not(:hover):not(:focus-within) .nf-header__logo-img--white {
  display: block;
}

@media (max-width: 1023px) {
  .nf-header {
    background: var(--nf-cream);
  }

  .nf-header__logo-img--white {
    display: none !important;
  }

  .nf-header__logo-img--color {
    display: block !important;
  }
}

.nf-header__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.nf-header.is-solid .nf-header__logo-text,
.nf-header.is-menu-open .nf-header__logo-text {
  color: var(--nf-brand);
}

@media (max-width: 1023px) {
  .nf-header__logo-text {
    color: var(--nf-brand);
  }
}

.nf-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .nf-header__nav {
    display: flex;
    flex: 1 1 0;
    align-self: stretch;
    align-items: stretch;
    min-width: 0;
  }
}

.nf-header__menu {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  width: 100%;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

.nf-header__menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nf-header__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgb(255 245 228 / 90%);
  transition: color 0.2s;
}

.nf-header.is-solid .nf-header__menu > li > a {
  color: #760f26;
}

.nf-header__menu > li > a:hover {
  color: #fff;
}

.nf-header.is-solid .nf-header__menu > li > a:hover {
  color: var(--nf-brand);
}

.nf-header__menu-chevron,
.nf-header__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 1;
  object-fit: contain;
  display: block;
}

svg.nf-header__menu-chevron,
svg.nf-header__chevron {
  object-fit: unset;
}

.nf-header__menu .nf-menu-go {
  display: none;
}

.nf-header__menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 157px;
  width: max-content;
  max-width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #eee1e3;
  border: 1px solid #eee1e3;
  border-radius: 0;
  box-shadow: 1px 20px 20px rgb(16 24 40 / 8%);
  z-index: 20;
  overflow: hidden;
}

.nf-header__menu > li:hover > .sub-menu,
.nf-header__menu > li:focus-within > .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nf-header__menu .sub-menu a {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-radius: 0;
  background: #fffaf3;
  color: #760f26;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: normal;
  text-decoration: none;
}

.nf-header img.nf-header__lang-icon,
.nf-header__lang-menu img.nf-header__lang-icon {
  display: block;
  flex-shrink: 0;
  width: 18.75px !important;
  min-width: 18.75px;
  max-width: 18.75px !important;
  height: 18.75px !important;
  min-height: 18.75px;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center;
}

.nf-header__lang {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  color: #760f26;
  font-size: 16px;
  line-height: 24px;
  user-select: none;
  overflow: visible;
}

.nf-header__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nf-header__lang-btn:hover,
.nf-header__lang-btn:focus,
.nf-header__lang-btn:focus-visible,
.nf-header__lang-btn:active {
  background: transparent;
  color: inherit;
  box-shadow: none;
  outline: none;
  filter: none;
}

.nf-header__lang .nf-header__chevron {
  transition: transform 0.2s ease;
}

.nf-header__lang.is-open .nf-header__chevron {
  transform: rotate(180deg);
}

.nf-header__lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  flex-direction: column;
  gap: 1px;
  min-width: 157px;
  width: max-content;
  max-width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #eee1e3;
  border: 1px solid #eee1e3;
  box-shadow: 1px 20px 20px rgb(16 24 40 / 8%);
  overflow: hidden;
}

.nf-header__lang.is-open .nf-header__lang-menu {
  display: flex;
}

.nf-header__lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: #fffaf3;
  color: #760f26;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
}

.nf-header__lang-menu a[aria-current="true"] {
  font-weight: 700;
}

.nf-header:not(.is-solid):not(.is-menu-open):not(:hover):not(:focus-within) .nf-header__lang {
  color: rgb(255 245 228 / 90%);
}

@media (max-width: 1023px) {
  .nf-header__lang {
    color: #760f26;
    margin-left: auto;
  }

  .nf-header__lang-btn {
    gap: 6px;
  }

  .nf-header__lang-label {
    display: none;
  }

  .nf-header__lang.is-open .nf-header__lang-menu {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nf-header.is-solid .nf-header__lang {
    color: #760f26;
  }

  .nf-header__lang:hover .nf-header__lang-menu {
    display: flex;
  }
}

.nf-header__burger {
  display: grid;
  flex-shrink: 0;
  gap: 4px;
  width: 48px;
  height: 48px;
  place-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #760f26;
  background-color: #760f26;
  color: #fff5e4;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: none;
}

.nf-header__burger:hover,
.nf-header__burger:focus,
.nf-header__burger:focus-visible,
.nf-header__burger:active {
  background: #760f26;
  background-color: #760f26;
  color: #fff5e4;
  filter: none;
  opacity: 1;
  box-shadow: none;
}

.nf-header__burger span {
  display: block;
  width: 18px;
  height: 1px;
  border-radius: 99px;
  background: #fff5e4;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.33, 0.05, 0.2, 1), opacity 0.3s ease;
}

.nf-header.is-menu-open .nf-header__burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nf-header.is-menu-open .nf-header__burger span:nth-child(2) {
  opacity: 0;
}

.nf-header.is-menu-open .nf-header__burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nf-header__burger,
  .nf-mobile-menu {
    display: none !important;
  }
}

html.nf-menu-open {
  overflow: hidden;
}

.nf-mobile-menu__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: transparent;
  cursor: default;
}

.nf-header.is-menu-open .nf-mobile-menu__scrim,
.nf-mobile-menu__scrim:not([hidden]) {
  display: block;
}

.nf-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--nf-cream);
  color: #760f26;
  max-height: min(700px, calc(100dvh - 56px));
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.65s cubic-bezier(0.33, 0.05, 0.2, 1),
    visibility 0s linear 0.65s;
}

.nf-header.is-menu-open .nf-mobile-menu,
.nf-mobile-menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    clip-path 0.65s cubic-bezier(0.33, 0.05, 0.2, 1),
    visibility 0s linear 0s;
}

.nf-mobile-menu[hidden] {
  display: block !important;
}

.nf-mobile-menu.is-closing {
  pointer-events: none;
}

.nf-mobile-menu__viewport {
  overflow: hidden;
  width: 100%;
}

.nf-mobile-menu__track {
  display: flex;
  width: 200%;
  transition: transform 0.55s cubic-bezier(0.33, 0.05, 0.2, 1);
}

.nf-header.is-sub-open .nf-mobile-menu__track {
  transform: translateX(-50%);
}

.nf-mobile-menu__pane {
  width: 50%;
  flex-shrink: 0;
  padding: 24px 20px;
  box-sizing: border-box;
  max-height: min(700px, calc(100dvh - 56px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nf-mobile-menu__back-row {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
}

.nf-menu-back {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f1ebde;
  color: #760f26;
  cursor: pointer;
}

.nf-mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-mobile-menu__list > li {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  border-bottom: 1px solid #eee1e3;
}

.nf-mobile-menu__list > li > a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  padding: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
  color: #760f26;
  border: 0;
}

.nf-mobile-menu__list .nf-header__menu-chevron,
.nf-mobile-menu__list .sub-menu {
  display: none;
}

.nf-menu-go {
  display: grid;
  flex-shrink: 0;
  place-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #760f26;
  cursor: pointer;
}

.nf-menu-go svg,
.nf-menu-back svg {
  display: block;
}

@media (max-width: 1023px) {
  .nf-header .nf-header__burger,
  .nf-header .nf-header__burger:hover,
  .nf-header .nf-header__burger:focus,
  .nf-header .nf-header__burger:focus-visible,
  .nf-header .nf-header__burger:active,
  .nf-mobile-menu .nf-menu-back,
  .nf-mobile-menu .nf-menu-back:hover,
  .nf-mobile-menu .nf-menu-back:focus,
  .nf-mobile-menu .nf-menu-back:focus-visible,
  .nf-mobile-menu .nf-menu-back:active,
  .nf-mobile-menu .nf-menu-go,
  .nf-mobile-menu .nf-menu-go:hover,
  .nf-mobile-menu .nf-menu-go:focus,
  .nf-mobile-menu .nf-menu-go:focus-visible,
  .nf-mobile-menu .nf-menu-go:active {
    box-shadow: none !important;
    outline: none;
    filter: none;
    opacity: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .nf-header .nf-header__burger,
  .nf-header .nf-header__burger:hover,
  .nf-header .nf-header__burger:focus,
  .nf-header .nf-header__burger:focus-visible,
  .nf-header .nf-header__burger:active {
    background: #760f26 !important;
    background-color: #760f26 !important;
    color: #fff5e4 !important;
  }

  .nf-mobile-menu .nf-menu-back,
  .nf-mobile-menu .nf-menu-back:hover,
  .nf-mobile-menu .nf-menu-back:focus,
  .nf-mobile-menu .nf-menu-back:focus-visible,
  .nf-mobile-menu .nf-menu-back:active {
    background: #f1ebde !important;
    background-color: #f1ebde !important;
    color: #760f26 !important;
  }

  .nf-mobile-menu .nf-menu-go,
  .nf-mobile-menu .nf-menu-go:hover,
  .nf-mobile-menu .nf-menu-go:focus,
  .nf-mobile-menu .nf-menu-go:focus-visible,
  .nf-mobile-menu .nf-menu-go:active {
    background: transparent !important;
    background-color: transparent !important;
    color: #760f26 !important;
  }
}

.nf-mobile-menu__pane--sub .nf-mobile-menu__list > li {
  display: flex;
}

@media (prefers-reduced-motion: reduce) {
  .nf-mobile-menu,
  .nf-mobile-menu__track,
  .nf-header__burger span {
    transition: none;
  }
}


/* Footer CTA — all pages */
.nf-footer-cta {
  background: var(--nf-brand);
  padding: 4rem 0 1rem;
  text-align: center;
  color: #fff5e4;
}

@media (min-width: 1024px) {
  .nf-footer-cta {
    padding: 4rem 0 0.75rem;
  }
}

.nf-footer-cta__inner {
  width: min(100% - 2.5rem, var(--nf-max));
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .nf-footer-cta__inner {
    width: min(100% - 5rem, var(--nf-max));
  }
}

.nf-footer-cta__title {
  margin: 0;
  font-family: "SVN Lumios Marker", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 56px;
  line-height: 38px;
  letter-spacing: -0.56px;
  text-align: center;
  color: #fff5e4;
}

.nf-footer-cta__subtitle {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-family: var(--nf-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgb(255 245 228 / 85%);
}

@media (min-width: 1024px) {
  .nf-footer-cta__title {
    font-size: 64px;
    line-height: 52px;
    letter-spacing: -0.64px;
  }

  .nf-footer-cta__subtitle {
    margin: 1.25rem auto 0;
    font-size: 20px;
    line-height: 30px;
  }
}

/* Footer */
.nf-site-footer {
  background: var(--nf-brand);
  color: #fff5e4;
  padding: 2rem 0 1.5rem;
}

@media (min-width: 768px) {
  .nf-site-footer {
    padding: 2.5rem 0 1.5rem;
  }
}

.nf-site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  width: min(100% - 2.5rem, var(--nf-max));
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .nf-site-footer__grid {
    grid-template-columns: auto 1fr;
    gap: 5rem;
    width: min(100% - 5rem, var(--nf-max));
  }
}

.nf-site-footer__logo {
  display: block;
  height: 3.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .nf-site-footer__logo {
    height: 4rem;
  }
}

.nf-site-footer__logo-text {
  margin: 0;
  font-family: var(--nf-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: #fff5e4;
}

/* Lovable footer company = font-serif Regular (400), khÃ´ng dÃ¹ng Medium/nav */
.nf-site-footer__company {
  margin: 1.5rem 0 0;
  font-family: var(--nf-serif);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #fff5e4;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  .nf-site-footer__company {
    white-space: nowrap;
  }
}

.nf-site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--nf-sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(255 245 228 / 85%);
}

.nf-site-footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.nf-site-footer__contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: #fff5e4;
}

.nf-site-footer__contact a {
  color: inherit;
  text-decoration: none;
}

.nf-site-footer__contact a:hover {
  color: #fff;
}

.nf-site-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Desktop only â€” tablet/mobile: 1 cá»™t */
@media (min-width: 1024px) {
  .nf-site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.nf-site-footer__label {
  margin: 0;
  font-family: var(--nf-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgb(255 245 228 / 60%);
}

.nf-site-footer__label--social {
  margin-top: 2.5rem;
}

.nf-site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.nf-site-footer__links a {
  display: block;
  margin: 0;
  font-family: var(--nf-sans);
  font-size: 0.875rem;
  color: rgb(255 245 228 / 85%);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nf-site-footer__links a:hover {
  color: #fff;
}

.nf-site-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.625rem 1rem;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: #fff5e4;
  font-family: var(--nf-sans);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nf-site-footer__pill:hover,
.nf-site-footer__icon:hover,
.nf-site-footer__social a:hover {
  background: rgb(255 255 255 / 10%);
  color: #fff;
}

.nf-site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.nf-site-footer__actions .nf-site-footer__pill {
  margin-top: 0;
}

.nf-site-footer__icon,
.nf-site-footer__social a {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: #fff5e4;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.nf-site-footer__icon:focus,
.nf-site-footer__icon:focus-visible,
.nf-site-footer__icon:active,
.nf-site-footer__icon--form:focus,
.nf-site-footer__icon--form:focus-visible,
.nf-site-footer__icon--form:active {
  background: rgb(255 255 255 / 5%);
  border-color: rgb(255 255 255 / 20%);
  color: #fff5e4;
  outline: none;
  box-shadow: none;
  filter: none;
  transform: none;
}

.nf-site-footer__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff5e4;
  color: #760f26;
  font-family: var(--nf-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nf-site-footer__icon:hover .nf-site-footer__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nf-site-footer__action-img {
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
  display: block;
}

.nf-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.nf-site-footer__social a {
  border: 0;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%);
}

.nf-site-footer__social a:hover {
  background: rgb(255 255 255 / 18%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 25%);
}

.nf-site-footer__social-img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

/* Footer CF7 / contact modal */
.nf-footer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  overscroll-behavior: contain;
}

.nf-footer-modal[hidden] {
  display: none;
}

.nf-footer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 45%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.nf-footer-modal.is-open .nf-footer-modal__backdrop {
  opacity: 1;
}

.nf-footer-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 700px);
  max-width: 700px;
  max-height: 90vh;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 32px;
  background: #fff5e4;
  color: #3a121c;
  box-shadow: 0 24px 64px rgb(0 0 0 / 35%);
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.nf-footer-modal.is-open .nf-footer-modal__dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .nf-footer-modal__backdrop,
  .nf-footer-modal__dialog {
    transition: none;
  }
}

.nf-footer-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  margin: 0;
  padding: 24px 48px 0;
}

.nf-footer-modal__title {
  margin: 0;
  width: 100%;
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  color: #760f26;
}

.nf-footer-modal__close,
.nf-footer-modal__close:hover,
.nf-footer-modal__close:focus,
.nf-footer-modal__close:focus-visible,
.nf-footer-modal__close:active {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #760f26;
  color: #fff5e4;
  text-decoration: none;
  box-shadow: none;
  outline: none;
  filter: none;
  transform: none;
  cursor: pointer;
}

.nf-footer-modal__close svg {
  display: block;
  width: 15px;
  height: 15px;
}

.nf-footer-modal__body {
  flex: 1 1 0%;
  min-height: 0;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 1.5rem 1.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgb(118 15 38 / 35%) transparent;
  font-family: var(--nf-sans);
  font-size: 0.9375rem;
}

/* Match Elementor popup on /san-pham: 700px × 90vh, padding 48px 32px / tablet 20px, fadeInRight 1s */
#nf-pd-quote-modal.nf-footer-modal {
  padding: 0;
}

#nf-pd-quote-modal .nf-footer-modal__backdrop {
  transition: opacity 1s ease;
}

#nf-pd-quote-modal .nf-footer-modal__dialog {
  width: 700px;
  max-width: 100%;
  height: 90vh;
  max-height: 90vh;
  padding: 0;
  margin: 0;
  border-radius: 32px;
  transition: transform 1s ease, opacity 1s ease;
}

@media (min-width: 1025px) {
  #nf-pd-quote-modal .nf-footer-modal__dialog {
    margin-right: 50px;
  }
}

#nf-pd-quote-modal .nf-footer-modal__body {
  padding: 48px 32px;
  max-height: none;
  height: 100%;
}

@media (max-width: 1024px) {
  #nf-pd-quote-modal .nf-footer-modal__body {
    padding: 20px;
  }
}

.nf-footer-modal__body::-webkit-scrollbar,
.nf-footer-modal__dialog::-webkit-scrollbar {
  width: 6px;
}

.nf-footer-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.nf-footer-modal__body::-webkit-scrollbar-thumb {
  background: rgb(118 15 38 / 35%);
  border-radius: 999px;
}

html.nf-footer-modal-open,
html.nf-footer-modal-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.nf-site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--nf-max));
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-family: var(--nf-sans);
  font-size: 0.75rem;
  color: rgb(255 245 228 / 60%);
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .nf-site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    width: min(100% - 5rem, var(--nf-max));
    text-align: left;
  }
}

.nf-site-footer__bottom p {
  margin: 0;
}

.nf-site-footer__bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nf-site-footer__bottom a:hover {
  color: #fff5e4;
}

.nf-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.nf-backtop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--nf-brand);
  color: #fff5e4;
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
  cursor: pointer;
  line-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.25s, transform 0.25s;
}

.nf-backtop svg {
  display: block;
}

.nf-backtop:hover,
.nf-backtop:focus,
.nf-backtop:focus-visible,
.nf-backtop:active {
  background: var(--nf-brand, #760f26);
  color: #fff5e4;
  outline: none;
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
}

.nf-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.admin-bar .nf-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .nf-header {
    top: 46px;
  }
}

/* —— Contact Form 7 — Figma Popup “Liên hệ với Nafoods” —— */
.nf-cf7-popup {
  --nf-cf7-brand: #760f26;
  --nf-cf7-brand-bright: #eb3345;
  --nf-cf7-ink: #341d1d;
  --nf-cf7-cream: #fff5e4;
  --nf-cf7-input-bg: #fff;
  --nf-cf7-input-border: #f1f2f3;
  --nf-cf7-placeholder: #a3a5ae;
  --nf-cf7-muted: #626576;
  --nf-cf7-arrow: url("https://nafoods.serdaovn.com/wp-content/uploads/2026/08/arrow-down.svg");
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--nf-sans, Inter, system-ui, sans-serif);
  box-sizing: border-box;
}

/* PDP quote modal heading only — do not target h1/h2 or Elementor titles */
.nf-pd-quote-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nf-pd-quote-head__title {
  margin: 0;
  width: 100%;
  font-family: var(--nf-display, var(--nf-serif), "NAF Passion Sans", Georgia, serif);
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  text-align: center;
  color: #760f26;
}

.nf-pd-quote-head__desc {
  margin: 0;
  max-width: 36rem;
  padding: 0;
  text-align: center;
  font-family: var(--nf-sans, Inter, system-ui, sans-serif);
  font-size: 14px;
  line-height: 22px;
  color: #645048;
}

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

/* CF7 autop inserts <p>/<br> between label and input — hide in popups */
.nf-cf7-popup .wpcf7 p,
.nf-cf7-popup.wpcf7 p,
.elementor-popup-modal .wpcf7 p {
  display: contents;
}

.nf-cf7-popup br,
.nf-cf7-popup .wpcf7 br,
.nf-cf7-popup.wpcf7 br,
.elementor-popup-modal .wpcf7 br,
.elementor-popup-modal .wpcf7-form br {
  display: none !important;
}

.elementor-popup-modal .wpcf7-form label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.elementor-popup-modal .wpcf7-form .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.nf-cf7-popup .wpcf7,
.nf-cf7-popup .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.nf-cf7-popup .nf-cf7-field,
.nf-cf7-popup .nf-ir-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.nf-cf7-popup .nf-cf7-label,
.nf-cf7-popup .nf-cf7-field > label,
.nf-cf7-popup .nf-ir-field__label,
.nf-cf7-popup .nf-ir-field > label {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-family: var(--nf-display, var(--nf-serif), "NAF Passion Sans", Georgia, serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--nf-cf7-brand);
}

.nf-cf7-popup .nf-cf7-req,
.nf-cf7-popup .nf-ir-field__req {
  color: var(--nf-cf7-brand-bright);
}

.nf-cf7-popup .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.nf-cf7-popup input[type="text"],
.nf-cf7-popup input[type="email"],
.nf-cf7-popup input[type="tel"],
.nf-cf7-popup input[type="url"],
.nf-cf7-popup input[type="number"],
.nf-cf7-popup select,
.nf-cf7-popup textarea {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--nf-cf7-input-border);
  border-radius: 6px;
  background: var(--nf-cf7-input-bg);
  color: #090a0b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

/* phonetext: don't force horizontal padding — intl-tel-input sets padding-left */
.nf-cf7-popup .intl-tel-input input,
.nf-cf7-popup input.wpcf7-phonetext {
  padding-left: 0;
  padding-right: 16px;
}

.nf-cf7-popup textarea {
  height: 80px;
  min-height: 80px;
  padding: 14px 22px;
  resize: vertical;
}

.nf-cf7-popup input::placeholder,
.nf-cf7-popup textarea::placeholder {
  color: var(--nf-cf7-placeholder);
  opacity: 1;
}

.nf-cf7-popup input:focus,
.nf-cf7-popup select:focus,
.nf-cf7-popup textarea:focus {
  border-color: var(--nf-cf7-brand);
  outline: none;
  box-shadow: none;
}

.nf-cf7-popup select {
  padding-right: 40px;
  background-color: var(--nf-cf7-input-bg);
  background-image: var(--nf-cf7-arrow);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 12px;
  color: #090a0b;
  cursor: pointer;
}

.nf-cf7-popup select:invalid,
.nf-cf7-popup select option[value=""] {
  color: var(--nf-cf7-placeholder);
}

.nf-cf7-popup select option {
  color: #090a0b;
}

/* Phone: CF7 [phonetext] — Figma: +84 | input (no flag, no nested box) */
.nf-cf7-popup .nf-cf7-phone {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.nf-cf7-popup .nf-cf7-phone p {
  display: block;
  margin: 0;
}

.nf-cf7-popup .nf-cf7-phone .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

.nf-cf7-popup .intl-tel-input,
.nf-cf7-popup .nf-cf7-phone .intl-tel-input {
  position: relative;
  display: block;
  width: 100%;
}

.nf-cf7-popup .intl-tel-input input,
.nf-cf7-popup .intl-tel-input input[type="tel"],
.nf-cf7-popup .intl-tel-input input[type="text"],
.nf-cf7-popup .wpcf7-phonetext {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-right: 22px !important;
  /* Default for +84; JS refines after measure */
  padding-left: 78px !important;
  border: 1px solid var(--nf-cf7-input-border) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #090a0b;
  font-size: 14px;
  line-height: 20px;
}

.nf-cf7-popup .intl-tel-input.iti-sdc-2 input { padding-left: 70px !important; }
.nf-cf7-popup .intl-tel-input.iti-sdc-3 input { padding-left: 78px !important; }
.nf-cf7-popup .intl-tel-input.iti-sdc-4 input { padding-left: 88px !important; }
.nf-cf7-popup .intl-tel-input.iti-sdc-5 input { padding-left: 98px !important; }

.nf-cf7-popup .intl-tel-input input:focus,
.nf-cf7-popup .wpcf7-phonetext:focus {
  border-color: var(--nf-cf7-brand) !important;
  outline: none;
  box-shadow: none !important;
}

.nf-cf7-popup .intl-tel-input .flag-container {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  z-index: 2;
}

/* Kill plugin gray “nested box” (rgba background + display:table + fixed width) */
.nf-cf7-popup .intl-tel-input .selected-flag,
.nf-cf7-popup .intl-tel-input.separate-dial-code .selected-flag,
.nf-cf7-popup .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 14px 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  z-index: 1;
  box-sizing: border-box !important;
  position: relative !important;
}

/* Single divider line — not a boxed cell */
.nf-cf7-popup .intl-tel-input .selected-flag::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  width: 1px;
  background: #e1e2e5;
  pointer-events: none;
}

.nf-cf7-popup .intl-tel-input .selected-flag:hover,
.nf-cf7-popup .intl-tel-input .selected-flag:focus {
  background: transparent !important;
  background-color: transparent !important;
}

.nf-cf7-popup .intl-tel-input .selected-flag .iti-flag,
.nf-cf7-popup .intl-tel-input .selected-flag .flag-box {
  display: none !important;
}

.nf-cf7-popup .intl-tel-input .selected-flag .iti-arrow {
  display: none !important;
}

.nf-cf7-popup .intl-tel-input .selected-dial-code {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 12px 0 0 !important;
  color: #090a0b !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}

.nf-cf7-popup .intl-tel-input .country-list {
  z-index: 10060;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #e1e2e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
  white-space: nowrap;
  text-align: left;
}

.nf-cf7-popup .intl-tel-input .country-list .country {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #090a0b;
}

.nf-cf7-popup .intl-tel-input .country-list .country.highlight {
  background: #f3f3f4;
}

.nf-cf7-popup .intl-tel-input .country-list .flag-box,
.nf-cf7-popup .intl-tel-input .country-list .iti-flag {
  display: inline-block;
}

/* Radio — Business type */
.nf-cf7-popup .nf-cf7-options--radio .wpcf7-radio,
.nf-cf7-popup .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  border: 0;
}

.nf-cf7-popup .nf-cf7-options--radio .wpcf7-list-item,
.nf-cf7-popup .wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}

.nf-cf7-popup .nf-cf7-options--radio .wpcf7-list-item label,
.nf-cf7-popup .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--nf-cf7-brand);
  text-align: left;
  cursor: pointer;
}

.nf-cf7-popup .nf-cf7-options--radio input[type="radio"],
.nf-cf7-popup .wpcf7-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1.6px solid var(--nf-cf7-muted);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
}

.nf-cf7-popup .nf-cf7-options--radio input[type="radio"]:checked,
.nf-cf7-popup .wpcf7-radio input[type="radio"]:checked {
  border-color: var(--nf-cf7-brand);
  border-width: 1.6px;
  background:
    radial-gradient(circle at center, var(--nf-cf7-brand) 0 5px, transparent 5.5px),
    #fff;
}

/* Checkbox — Products */
.nf-cf7-popup .nf-cf7-options--check .wpcf7-checkbox,
.nf-cf7-popup .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.nf-cf7-popup .nf-cf7-options--check .wpcf7-list-item,
.nf-cf7-popup .wpcf7-checkbox .wpcf7-list-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  min-width: calc(33.333% - 8px);
}

@media (max-width: 640px) {
  .nf-cf7-popup .nf-cf7-options--check .wpcf7-list-item,
  .nf-cf7-popup .wpcf7-checkbox .wpcf7-list-item {
    min-width: calc(50% - 6px);
  }
}

.nf-cf7-popup .nf-cf7-options--check .wpcf7-list-item label,
.nf-cf7-popup .wpcf7-checkbox .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--nf-cf7-brand);
  text-align: left;
  cursor: pointer;
}

.nf-cf7-popup .nf-cf7-options--check input[type="checkbox"],
.nf-cf7-popup .wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1.4px solid #c4c6cd;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
  position: relative;
}

.nf-cf7-popup .nf-cf7-options--check input[type="checkbox"]:checked,
.nf-cf7-popup .wpcf7-checkbox input[type="checkbox"]:checked {
  border-color: var(--nf-cf7-brand);
  background: var(--nf-cf7-brand);
}

.nf-cf7-popup .nf-cf7-options--check input[type="checkbox"]:checked::after,
.nf-cf7-popup .wpcf7-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff5e4;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submit */
.nf-cf7-popup .nf-cf7-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 0;
}

.nf-cf7-popup input.wpcf7-submit,
.nf-cf7-popup .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  min-width: 117px;
  max-width: none;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--nf-cf7-brand);
  color: var(--nf-cf7-cream);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nf-cf7-popup input.wpcf7-submit:hover,
.nf-cf7-popup .wpcf7-submit:hover {
  background: color-mix(in srgb, var(--nf-cf7-brand) 88%, #000);
}

.nf-cf7-popup input.wpcf7-submit:active {
  transform: scale(0.98);
}

/* CF7 validation / response */
.nf-cf7-popup .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--nf-cf7-brand-bright);
}

.nf-cf7-popup .wpcf7-not-valid {
  border-color: var(--nf-cf7-brand-bright) !important;
}

.nf-cf7-popup .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
}

/* Elementor listing popup: do not override Layout/Style (width, height, padding, animation).
   Only overlay + close + thin scrollbar. */
.elementor-popup-modal,
.elementor-popup-modal .dialog-widget-overlay {
  background-color: rgb(0 0 0 / 45%) !important;
}

.elementor-popup-modal .dialog-message,
.elementor-popup-modal .dialog-lightbox-message,
.nf-footer-modal__body {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overflow-y: auto !important;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgb(118 15 38 / 35%) transparent;
}

.elementor-popup-modal .dialog-message::-webkit-scrollbar,
.elementor-popup-modal .dialog-lightbox-message::-webkit-scrollbar,
.nf-footer-modal__body::-webkit-scrollbar {
  width: 6px;
}

.elementor-popup-modal .dialog-message::-webkit-scrollbar-track,
.elementor-popup-modal .dialog-lightbox-message::-webkit-scrollbar-track,
.nf-footer-modal__body::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}

.elementor-popup-modal .dialog-message::-webkit-scrollbar-thumb,
.elementor-popup-modal .dialog-lightbox-message::-webkit-scrollbar-thumb,
.nf-footer-modal__body::-webkit-scrollbar-thumb {
  background: rgb(118 15 38 / 35%);
  border-radius: 999px;
}

.elementor-popup-modal .dialog-message::-webkit-scrollbar-thumb:hover,
.elementor-popup-modal .dialog-lightbox-message::-webkit-scrollbar-thumb:hover,
.nf-footer-modal__body::-webkit-scrollbar-thumb:hover {
  background: rgb(118 15 38 / 55%);
}

.elementor-popup-modal:has(.nf-cf7-popup) .dialog-close-button,
.elementor-popup-modal:has(.nf-cf7-popup) .dialog-lightbox-close-button,
.nf-footer-modal .dialog-close-button,
.nf-footer-modal .dialog-lightbox-close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto !important;
  bottom: auto !important;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #760f26 !important;
  color: #fff5e4 !important;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.elementor-popup-modal:has(.nf-cf7-popup) .dialog-close-button svg,
.nf-footer-modal .dialog-close-button svg {
  display: block;
  width: 15px;
  height: 15px;
}

.elementor-popup-modal:has(.nf-cf7-popup) .dialog-close-button i,
.nf-footer-modal .dialog-close-button i {
  font-size: 15px;
  width: 15px;
  height: 15px;
  color: #fff5e4;
  line-height: 1;
}

.nf-pc-video .elementor-custom-embed-play,
.nf-pdp-media__frame .elementor-custom-embed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  line-height: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nf-pc-video .elementor-custom-embed-play i,
.nf-pc-video__play:hover .elementor-custom-embed-play i,
.nf-pc-video__play:focus .elementor-custom-embed-play i,
.nf-pc-video__play:focus-visible .elementor-custom-embed-play i,
.nf-pc-video__play:active .elementor-custom-embed-play i,
.nf-pdp-media__frame .elementor-custom-embed-play i {
  font-family: eicons !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  speak: never;
  display: block;
  font-size: 100px;
  line-height: 1;
  color: #fff;
  opacity: 0.8;
  text-shadow: 1px 0 6px rgb(0 0 0 / 30%);
  -webkit-font-smoothing: antialiased;
  transition: none;
}

.nf-pdp-media__frame .elementor-custom-embed-play i {
  font-size: 72px;
}

/* Shared product card — category + PDP related */
.nf-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.nf-card__media,
.nf-card-hover-media {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--nf-cream-deep, #fff5e4);
}

.nf-card__media img,
.nf-card-hover-media img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  object-fit: contain;
}

.nf-card__title {
  font-family: var(--nf-display, var(--nf-serif));
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  text-align: center;
  color: var(--nf-brand, #760f26);
}

@media (min-width: 1024px) {
  .nf-card__title {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 1023px) {
  .nf-card__title {
    font-size: 18px;
    line-height: 24px;
    overflow-wrap: anywhere;
  }
}

.nf-card-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 8px;
  border-radius: inherit;
  background: rgb(118 15 38 / 50%);
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nf-card-hover-media:hover > .nf-card-hover,
.nf-card:hover > .nf-card-hover-media > .nf-card-hover {
  opacity: 1 !important;
  visibility: visible;
}

.nf-card-hover__text {
  font-family: var(--nf-sans), Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: 0.7px;
  text-transform: uppercase !important;
  color: #fff5e4 !important;
  white-space: nowrap;
}

.nf-card-hover__icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  color: #fff5e4;
}

.nf-card-hover__icon svg,
.nf-card-hover__icon img {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}
