:root {
  font-family: 'Raleway', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f6fb;
  color: #111827;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
}

.nf-header {
  position: relative;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.navbar {
  width: 100%;
  padding: 0 20px;
}

.container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-collapse {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  margin-left: 16px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 16px 0;
}

.nav-item .nav-link {
  color: #000;
  font-weight: 600;
  padding: 0 0 5px 0;
  text-decoration: none;
  font-size: 18px;
}

.custome-nav-line {
  position: relative;
}

.custome-nav-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #2778e1;
  transition: width 0.3s ease;
}

.custome-nav-line:hover::after {
  width: 100%;
}

.product-logo-desktop {
  width: 128px;
  height: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-logo-desktop img {
  width: 128px;
  height: 128px;
  padding: 12px;
}

.nav-logo-center {
  list-style: none;
}

.mobile-logo {
  display: none !important;
}

.display-none-logo img {
  cursor: pointer;
}

@media (max-width: 768px) {
  .container-fluid {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .mobile-logo {
    order: 1;
  }
  .nav-toggle {
    order: 2;
  }
  .navbar-collapse {
    display: none;
    width: 100%;
    order: 3;
    padding: 10px 0 0;
  }
  .navbar-collapse.open {
    display: flex;
    flex-direction: column;
  }
  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
  }
  .navbar-nav li {
    width: 100%;
  }
  .navbar-nav li a {
    display: block;
    width: 100%;
  }
  .product-logo-desktop {
    width: 60px;
    height: 60px;
  }
  .product-logo-desktop img {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
  .mobile-logo {
    display: flex !important;
    align-items: center;
  }
  .display-none-logo {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1020px) {
  .container-fluid {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .mobile-logo {
    order: 1;
  }
  .nav-toggle {
    order: 2;
  }
  .navbar-collapse {
    display: none;
    width: 100%;
    order: 3;
    padding: 10px 0 0;
  }
  .navbar-collapse.open {
    display: flex;
    flex-direction: column;
  }
  .navbar-nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
  }
  .navbar-nav li {
    width: 100%;
  }
  .navbar-nav li a {
    display: block;
    width: 100%;
  }
  .product-logo-desktop {
    width: 60px;
    height: 60px;
  }
  .product-logo-desktop img {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
  .mobile-logo {
    display: flex !important;
  }
  .display-none-logo {
    display: none;
  }
  .nav-toggle {
    display: flex !important;
  }
}

.nf-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nf-container {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 32px 20px;
}

.usda-content {
  /* padding-top: 140px; */
  background: #fff;
}

.usda-content .section-title {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2778e1;
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: 24px;
  display: inline-block;
}

.chunk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.chunk-grid li {
  margin: 0;
}

.chunk-button {
  border: 1px solid #1f2937;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: rgba(15, 23, 42, 0.15) 0 4px 16px;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chunk-button:hover {
  background: #2778e1;
  color: #ffffff;
  border-color: #2778e1;
}

.food-list {
  /* padding-top: 140px; */
  background: #fff;
}

.food-list .list-title {
  font-size: 30px;
  font-weight: 700;
  color: #2778e1;
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: 24px;
  display: inline-block;
}

.food-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.food-grid li {
  display: flex;
}

.food-card {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: #ffffff;
  /* min-width: 220px; */
  box-shadow: rgba(15, 23, 42, 0.12) 0 4px 16px;
  transition: all .2s ease;
  font-weight: 600;
}

.food-card:hover {
  background: #2778e1;
  color: #ffffff;
  border-color: #2778e1;
}

.nf-back-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #2778e1;
  color: #2778e1;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

.nf-back-btn:hover {
  background: #2778e1;
  color: #ffffff;
}

.freefoolabels-btn-primary,
.freefoolabels-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #2778e1;
  color: #2778e1;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  font-size: 15px;
  font-family: inherit;
}

.freefoolabels-btn-primary:hover,
.freefoolabels-btn-secondary:hover {
  background: #2778e1;
  color: #ffffff;
}

.freefoolabels-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.freefoolabels-btn-primary:disabled:hover {
  background: transparent;
  color: #2778e1;
}

.nf-footer {
  margin-top: auto;
  background: #2778e1;
  color: #ffffff;
  padding: 56px 20px 32px;
}

.nf-footer__content {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.nf-footer__about {
  flex: 2;
  min-width: 260px;
}

.nf-footer__logo {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.nf-footer__logo img {
  width: 72px;
  height: 72px;
}

.nf-footer__logo h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.nf-footer__links {
  flex: 1;
  min-width: 200px;
}

.nf-footer__links h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.nf-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-footer__links a {
  color: #ffffff;
  opacity: 0.85;
}

.nf-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.nf-footer__social {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nf-footer__social img {
  width: 32px;
  height: 32px;
}

.nf-footer__bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .nf-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nf-links {
    flex-direction: column;
    width: 100%;
  }

  .usda-content,
  .food-list {
    padding-top: 80px;
  }

  .chunk-button,
  .food-card {
    width: 100%;
  }
}

/* Detail page layout */
.detail-shell {
  background: #fff;
  padding: 0 3%;
}

.font-use {
  font-family: 'Arial Black', Arial, sans-serif;
}

.font-1xl {
  font-size: 26px;
  font-weight: 800;
}

.font-lg {
  font-size: 1.25rem;
}

.font-xl {
  font-size: 1.1rem;
}

.title-1 {
  color: #2778e1;
}

.font-bold {
  font-weight: 700;
}

.font-bold-custom {
  font-weight: 600;
}

.font-sm {
  font-size: 12px;
}

.font-md {
  font-size: 14px;
}

.font-xs {
  font-size: 10px;
}

.main-div {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.border-bottom {
  border-bottom: 1px solid #000;
}

.main-section-part1 {
  flex: 1;
}

.col-md-12,
.col-md-10,
.col-md-6,
.col-md-2,
.col-sm-12,
.col-sm-6 {
  box-sizing: border-box;
  padding: 0 10px;
}

.col-md-12,
.col-sm-12 {
  width: 100%;
}

.col-md-10 {
  width: 83.333%;
}

.col-md-6,
.col-sm-6 {
  width: 50%;
}

.col-md-2 {
  width: 16.666%;
}

.d-flex,
.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.justify-between {
  justify-content: space-between;
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 0.5rem;
}

.text-right {
  text-align: right;
}

.text-end {
  text-align: right;
}

.fact {
  padding: 140px 20px 40px;
}

.fact-div > h3 {
  font-size: 30px;
  padding-left: 5%;
  margin-bottom: 16px;
}

.dec-graph-left {
  padding-left: 5%;
  gap: 40px;
}

.content-part span {
  font-weight: 600;
  line-height: 1.7;
  font-size: 18px;
}

.graph-main {
  padding: 10px 30px;
}

.graph-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
  border-radius: 16px;
  width: 100%;
}

.graph-part hr {
  width: 100%;
  margin: 10px 0;
}

.macro-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.nutrition-bar {
  display: flex;
  width: 270px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  background: #efeff0;
}

.nutrition-bar > div {
  height: 100%;
}

.nutrition-bar .fat {
  background: #f44336;
}

.nutrition-bar .carbs {
  background: #ff9800;
}

.nutrition-bar .protein {
  background: #4caf50;
}

.nutrition-detail {
  margin-top: 12px;
}

.nutrition-detail .detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 6px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}

.marketing-vimg-1 img,
.marketing-vimg-2 img {
  width: 100%;
  border-radius: 12px;
}

.marketing-section {
  width: 100%;
  padding: 30px 0;
  background: #fff;
}

.marketing-vimg-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.marketing-vimg-2 {
  text-align: center;
}

.marketing-vimg-2 img {
  display: block;
  width: 100%;
  margin: 0 auto 20px;
}

.sticker-div {
  display: flex;
  gap: 24px;
  padding: 30px 5%;
  background: #fff;
}

.sticker-contant {
  justify-content: center;
}

.nutrition-panel {
  border: 1px solid #000;
  border-radius: 0;
  padding: 16px;
  max-width: 360px;
  width: 100%;
  /* font-family: 'Arial Black', Arial, sans-serif; */
}

.nutrition-panel .divider {
  border: 0;
}

.divider.thick {
  border: 10px solid #000;
  margin: 10px 0;
}

.divider.medium {
  border: 4px solid #000;
  margin: 8px 0;
}

.divider.thin {
  border: 2px solid #000;
  margin: 8px 0;
}

.sticker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.sticker-row.sub-row {
  padding-left: 10px;
  font-size: 12px;
}

.footnote {
  font-size: 12px;
  color: #555;
  margin-top: 12px;
}

.sub-nutrients {
  padding-left: 10px;
}

.serving-size {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.input-control {
  width: 150px;
  padding: 8px;
  border: 1px solid #cfd5e6;
  border-radius: 6px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.info-header {
  align-items: center;
  gap: 12px;
}

.info-header .border-bottom {
  flex-grow: 1;
  border-bottom: 1px solid #2778e1;
}

.ingredient-info {
  margin: 20px 0;
  line-height: 1.7;
}

.ingredient-info .info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.detailed-nutritional {
  padding: 20px 5%;
}

.info span {
  font-weight: 600;
  font-size: 28px;
  color: #2778e1;
}

.detail-nutrition {
  padding: 20px 0 40px;
}

.detail-nutrition h3 {
  padding-left: 5%;
  font-size: 30px;
  margin-bottom: 16px;
}

.table-list {
  column-count: 2;
  column-gap: 20px;
  padding: 0 5%;
}

.table-list-wrapper {
  display: flex;
  gap: 20px;
  padding: 0 5%;
}

.table-list-left,
.table-list-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.table1 {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.card-custom {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0 2px 8px;
}

.card-header-custom {
  background: #2778e1;
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
}

.card-custom .list-group-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.list-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.neighbors {
  padding: 20px 5% 40px;
  gap: 24px;
}

.card-design {
  background: #2778e1;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
}

.card-design ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.card-design ul li a {
  color: #fff;
  text-decoration: underline;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
  height: calc(100vh - 120px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sticky-content {
  position: relative;
  width: 100%;
  min-height: 75vh;
}

.marketing-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 20px;
  position: absolute;
  top: 0;
  left: 0;
}

.marketing-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.marketing-img.active {
  opacity: 1;
}

@media (max-width: 1024px) {
  .sticky-sidebar {
    display: none !important;
  }
}

/* Footer */
.ffl-footer {
  background: #2778e1;
  color: #fff;
  padding: 50px 20px 30px;
}

.ffl-footer__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ffl-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ffl-footer__brand {
  display: flex;
  gap: 15px;
  align-items: center;
  max-width: 420px;
}

.ffl-footer__brand img {
  width: 72px;
  height: 72px;
}

.ffl-footer__brand h3 {
  margin: 0;
  font-size: 24px;
}

.ffl-footer__brand p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.85;
}

.ffl-footer__menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ffl-footer__menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.ffl-footer__menu a:hover {
  text-decoration: underline;
}

.ffl-footer__description p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.ffl-footer__description a.text-light {
  text-decoration: underline;
}

.ffl-footer__social {
  display: flex;
  gap: 16px;
}

.ffl-footer__social img {
  width: 28px;
  height: 28px;
}

.ffl-footer__bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

.text-light {
  color: #fff;
}

@media (max-width: 768px) {
  .ffl-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .ffl-footer__menu {
    flex-direction: column;
    gap: 10px;
  }
  .ffl-footer__brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .ffl-footer__brand img {
    width: 60px;
    height: 60px;
  }
  .ffl-footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .main-div {
    flex-direction: column;
  }
  .col-md-10,
  .col-md-2,
  .col-md-6 {
    width: 100%;
    padding: 0;
  }
  .sticker-div {
    flex-direction: column;
  }
  .table-list {
    column-count: 1;
    padding: 0;
  }
  .table-list-wrapper {
    flex-direction: column;
    padding: 0;
  }
  .neighbors {
    flex-direction: column;
    padding: 20px 0 40px;
  }
  .sticky-sidebar {
    position: static;
    height: auto;
  }
}

