:root {
  --lf-navy: #003764;
  --lf-gold: #ffc629;
  --lf-green: #8cbc66;
  --lf-cream: #f7f4ef;
  --lf-text: #2b2b2b;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--lf-text);
  background-color: #fff;
}

.text-brand {
  color: var(--lf-navy);
}

.bg-brand {
  background-color: var(--lf-navy);
}

.lf-header {
  box-shadow: 0 1px 0 rgba(0, 55, 100, 0.06);
}

.lf-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .lf-header-inner {
    flex-wrap: nowrap;
  }
}

@media (max-width: 991.98px) {
  .lf-header-collapse {
    flex-basis: 100%;
    order: 20;
  }
}

.lf-header-logo {
  flex: 0 1 155px;
  max-width: 155px;
  padding-left: 0.25rem;
}

.lf-header-logo img {
  display: block;
  height: auto;
  max-height: 44px;
  width: 100%;
  max-width: 140px;
}

@media (max-width: 991.98px) {
  .lf-header-logo {
    flex: 0 0 auto;
    max-width: 120px;
  }

  .lf-header-logo img {
    max-width: 100px;
    max-height: 40px;
  }
}

.lf-burger {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  padding: 0;
  margin-right: 0.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lf-burger span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  background: var(--lf-navy);
  transition:
    top 0.2s 0.25s,
    opacity 0.2s 0.25s,
    transform 0.2s 0s;
}

.lf-burger span:nth-child(1) {
  top: 0;
}

.lf-burger span:nth-child(2) {
  top: 8px;
}

.lf-burger span:nth-child(3) {
  top: 16px;
}

.lf-burger.is-active span {
  transition:
    top 0.2s,
    opacity 0.2s,
    transform 0.2s 0.25s;
}

.lf-burger.is-active span:nth-child(1),
.lf-burger.is-active span:nth-child(3) {
  top: 8px;
}

.lf-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.lf-burger.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.lf-burger.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.lf-header-search-mobile {
  margin-left: auto;
}

@media (min-width: 992px) {
  .lf-header-collapse {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
  }

  .lf-navbar-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-left: 1.75rem;
  }

  .lf-header-utils {
    flex: 0 0 auto;
    border-left: 1px solid #c6dae7;
  }

  .lf-utils-no-top-border-lg {
    border-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .lf-header-collapse {
    width: 100%;
    border-top: 1px solid #eef2f5;
    padding-bottom: 0.75rem;
  }

  .lf-header-utils {
    width: 100%;
  }
}

/* Bootstrap 5.3+ nav hovers use CSS vars on `.navbar` / `.navbar-nav` (`.navbar-light` is gone from BS CSS). */
.lf-header .navbar {
  --bs-navbar-hover-color: #d43f2b;
  --bs-navbar-active-color: #d43f2b;
}

.lf-nav-link {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #223c52;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 992px) {
  .lf-nav-link {
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }

  .lf-navbar-nav .nav-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* Explicit coral on hovers (vars above handle `.nav-link:hover`; this covers padded `li` hit area + focus). */
.lf-header .navbar .navbar-nav.lf-navbar-nav .nav-link.lf-nav-link:hover,
.lf-header .navbar .navbar-nav.lf-navbar-nav .nav-link.lf-nav-link:focus,
.lf-header .navbar .navbar-nav.lf-navbar-nav .nav-link.lf-nav-link.show {
  color: #d43f2b;
}

@media (min-width: 992px) {
  .lf-header .navbar .navbar-nav.lf-navbar-nav > .nav-item:hover > .nav-link.lf-nav-link {
    color: #d43f2b;
  }
}

.lf-header-utils .btn-link:hover,
.lf-header-utils .btn-link:focus {
  color: #d43f2b;
}

.lf-header-utils a.text-dark:hover,
.lf-header-utils a.text-dark:focus {
  color: #d43f2b !important;
}

.lf-header-search-mobile:hover,
.lf-header-search-mobile:focus {
  color: #d43f2b;
}

.lf-header .navbar-brand:hover,
.lf-header .navbar-brand:focus {
  opacity: 0.92;
}

.lf-header .dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.2em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lf-header .dropdown-toggle.show::after {
  transform: rotate(-180deg);
}

.lf-cart-badge {
  font-size: 0.7rem;
  min-width: 1.1rem;
  background-color: #d43f2b;
}

@media (min-width: 992px) {
  /* Lundberg-style full-width Shop panel: anchor to sticky header, not the nav item */
  .lf-header .lf-megamenu-parent.dropdown {
    position: static !important;
  }

  .lf-header .dropdown > .lf-dropdown-menu {
    display: block !important;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.65rem);
    transition:
      opacity 0.32s ease-out,
      transform 0.32s ease-out,
      visibility 0s linear 0.32s;
  }

  /* Bootstrap 5 adds .show to the toggle and .dropdown-menu, not the parent li */
  .lf-header .dropdown > .lf-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.32s ease-out,
      transform 0.32s ease-out,
      visibility 0s;
    box-shadow:
      rgba(0, 0, 0, 0.04) 0 5px 5px,
      rgba(0, 0, 0, 0.04) 0 10px 10px !important;
  }

  .lf-header .lf-megamenu-parent > .lf-dropdown-menu.lf-megamenu {
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }

  .lf-header .lf-megamenu-parent > .lf-dropdown-menu.lf-megamenu > li:first-child {
    width: 100%;
    padding-left: clamp(1rem, 3vw, 2.25rem);
    padding-right: clamp(1rem, 3vw, 2.25rem);
  }

  /* "Dig deeper" matches theme .nav .dropdown { width: 315px; left: 0; } */
  .lf-header .lf-dropdown-narrow-parent > .lf-dropdown-menu.lf-dropdown-narrow {
    width: 19.6875rem;
    min-width: 19.6875rem;
    max-width: 19.6875rem;
  }
}

@media (max-width: 991.98px) {
  .lf-header .lf-megamenu-parent.dropdown {
    position: relative !important;
  }

  .lf-header .dropdown > .lf-dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .lf-header .dropdown > .lf-dropdown-menu:not(.show) {
    display: none !important;
  }

  .lf-header .dropdown > .lf-dropdown-menu.show {
    display: block !important;
  }

  .lf-header .lf-dropdown-narrow-parent > .lf-dropdown-menu.lf-dropdown-narrow {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Lundberg-style Shop megamenu: left column + product panels (hover / active) */
.lf-megamenu-inner {
  --lf-megamenu-aside-w: 12.5rem;
  position: relative;
  width: 100%;
  max-width: 85rem;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
  overflow: visible;
}

@media (min-width: 992px) {
  .lf-megamenu-inner {
    min-height: 17rem;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }
}

.lf-megamenu-aside {
  position: relative;
  z-index: 3;
  width: var(--lf-megamenu-aside-w);
  max-width: var(--lf-megamenu-aside-w);
  flex-shrink: 0;
}

.lf-megamenu-aside-title {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.35rem;
  padding-left: 0.35rem;
}

.lf-megamenu-cat {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lf-megamenu-cat > li {
  margin: 0;
  padding: 0.35rem 0 0.35rem 0.5rem;
  border-left: 4px solid transparent;
}

.lf-megamenu-cat > li.is-active {
  border-left-color: #d43f2b;
}

/* Category row link only (not product cards) */
.lf-megamenu-cat > li > a {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #223c52;
  line-height: 1.15;
  transition: color 0.2s ease;
}

.lf-megamenu-cat > li.is-active > a,
.lf-megamenu-cat > li > a:hover,
.lf-megamenu-cat > li > a:focus {
  color: #d43f2b;
}

.lf-megamenu-panel {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .lf-megamenu-cat > li > .lf-megamenu-panel {
    position: absolute;
    top: 0;
    left: calc(var(--lf-megamenu-aside-w) + 1.25rem);
    right: 0;
    width: auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, minmax(6.25rem, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.65rem;
    align-items: start;
    justify-items: center;
    padding-top: 0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.5rem;
    min-height: 14rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.28s ease-out,
      visibility 0.28s ease-out;
  }

  .lf-megamenu-cat > li.is-active > .lf-megamenu-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
  }
}

@media (max-width: 991.98px) {
  .lf-megamenu-inner {
    min-height: 0;
  }

  .lf-megamenu-cat > li > .lf-megamenu-panel {
    position: static;
    display: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
    padding: 0.5rem 0 0.75rem;
    border-bottom: 1px solid #eef2f5;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .lf-megamenu-cat > li.is-active > .lf-megamenu-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lf-megamenu-panel > li {
  width: 100%;
  min-width: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .lf-megamenu-panel > li {
    max-width: 100%;
  }
}

.lf-megamenu-pcard {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: #d43f2b;
  box-sizing: border-box;
}

.lf-megamenu-pcard figure {
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.75rem;
  height: 7.75rem;
  width: 100%;
  max-width: 8.5rem;
  margin-left: auto;
  margin-right: auto;
}

.lf-megamenu-pcard img {
  display: block;
  height: auto;
  max-height: 7.75rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.lf-megamenu-pcard span {
  display: block;
  width: 100%;
  max-width: 8.5rem;
  margin: 0 auto;
  padding: 0 0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.75rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lf-megamenu-panel-empty {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  font-size: 0.8125rem;
  color: #6c757d;
  padding: 1rem 0.5rem;
}

.lf-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 4rem;
  background-color: #1a1a1a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../images/img_hero-sweet-cakes-1dedc.jpg");
}

@media (max-width: 1024px) {
  .lf-hero {
    background-image: url("../images/img_hero-sweet-cakes-tablet-1_f601ecf1-317a-4067-b5bf-c3b58efeead495a3.jpg");
  }
}

@media (max-width: 550px) {
  .lf-hero {
    background-image: url("../images/img_hero-sweet-cakes-mobile-1368c.jpg");
  }
}

.lf-hero.lf-bg-fallback {
  background-image: url("../images/placeholders/ph-hero-wide.svg") !important;
}

.lf-regen.lf-bg-fallback {
  background-image: url("../images/placeholders/ph-regen-wide.svg") !important;
}

.lf-footer-brand.lf-bg-fallback {
  background-image: url("../images/placeholders/ph-footer-wide.svg") !important;
}

.lf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.lf-hero-inner {
  position: relative;
  z-index: 1;
}

.lf-hero h1 {
  color: #fff;
  font-weight: 700;
  max-width: 28rem;
}

.lf-btn-primary {
  background-color: var(--lf-gold);
  border-color: var(--lf-gold);
  color: #1a1a1a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 1.5rem;
}

.lf-btn-primary:hover {
  background-color: #e6b020;
  border-color: #e6b020;
  color: #000;
}

.lf-btn-outline {
  border: 2px solid var(--lf-navy);
  color: var(--lf-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lf-btn-outline:hover {
  background-color: var(--lf-navy);
  color: #fff;
}

.lf-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--lf-navy);
}

.lf-section-lead {
  max-width: 40rem;
}

.lf-collections {
  background-color: var(--lf-cream);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.lf-collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 55, 100, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lf-collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 55, 100, 0.12);
  color: inherit;
}

.lf-collection-card img {
  width: 100%;
  height: auto;
  display: block;
}

.lf-collection-card .lf-pad {
  padding: 1.25rem 1.5rem 1.5rem;
}

.lf-pill-label {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--lf-navy);
}

.lf-rice-nerds {
  background: linear-gradient(135deg, #0d3d6b 0%, #003764 45%, #0a2847 100%);
  color: #fff;
  padding: 3rem 0;
}

.lf-rice-nerds .lf-rn-logo {
  max-width: 220px;
  height: auto;
}

.lf-rice-nerds .lf-pricing {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.lf-benefit-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.lf-testimonials {
  padding: 3rem 0;
  background-color: #fff;
}

.lf-testimonial-card {
  border: 1px solid #e8e4de;
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
  background: #fffdf9;
}

.lf-testimonial-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
}

.lf-stars {
  color: var(--lf-gold);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: 0.15rem;
}

.lf-marquee-wrap {
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #e8e4de;
  border-bottom: 1px solid #e8e4de;
  padding: 1rem 0;
}

.lf-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: lf-marquee 45s linear infinite;
}

.lf-marquee-track img {
  height: 56px;
  width: auto;
  margin: 0 2.5rem;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.9;
}

@keyframes lf-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.lf-regen {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: #2a6b3c;
  background-image: url("../images/img_regen-15f85.jpg");
  background-size: cover;
  background-position: center;
}

.lf-regen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 20, 0.45);
}

.lf-regen .container {
  position: relative;
  z-index: 1;
}

.lf-regen h2,
.lf-regen p {
  color: #fff;
}

.lf-btn-light-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lf-btn-light-outline:hover {
  background: #fff;
  color: var(--lf-navy);
}

.lf-certifications {
  padding: 3rem 0;
  background: var(--lf-cream);
}

.lf-certifications img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.lf-articles {
  padding: 3rem 0;
}

.lf-article-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e4de;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.lf-article-card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 55, 100, 0.1);
  color: inherit;
}

.lf-article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.lf-article-card .lf-pad {
  padding: 1.25rem 1.5rem 1.5rem;
}

.lf-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c757d;
}

.lf-newsletter {
  background: linear-gradient(180deg, #e8f2e0 0%, #dce8d4 100%);
  padding: 3rem 0;
  text-align: center;
}

.lf-footer {
  background-color: var(--lf-navy);
  color: #e8eef5;
  padding-top: 3rem;
}

.lf-footer a {
  color: #e8eef5;
  text-decoration: none;
}

.lf-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.lf-footer-social a {
  font-size: 1.35rem;
  margin-right: 0.75rem;
}

.lf-footer-brand {
  background-color: var(--lf-green);
  min-height: 220px;
  background-image: url("../images/brand-looking-good-85_1600x0759.png");
  background-size: cover;
  background-position: center;
}

.lf-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.lf-footer-legal .nav-link {
  color: #e8eef5;
  padding: 0.25rem 0.75rem;
}

.lf-footer-legal .nav-link:hover {
  color: #fff;
}

.lf-footer-tagline {
  font-family: Georgia, "Times New Roman", serif;
}

.lf-placeholder-box {
  min-height: 120px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* —— All products (Lundberg collection layout) —— */
/* Hero collection (mirrors live shop structure) */
.hero-collection .hero__inner {
  display: flex;
  flex-wrap: wrap;
}

.hero-collection .hero__aside {
  flex: 0 0 64%;
  max-width: 64%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding-left: calc(50vw - 596px);
  padding-right: 1.5rem;
}

@media (max-width: 1199.98px) {
  .hero-collection .hero__aside {
    padding-left: 1.5rem;
  }
}

@media (max-width: 1023.98px) {
  .hero-collection .hero__aside {
    min-height: 460px;
  }
}

@media (max-width: 767.98px) {
  .hero-collection .hero__aside {
    min-height: 0;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 100px 20px;
  }
}

.hero-collection .hero__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #1a3550;
  background-image: url("../images/collection-all-products-header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.hero-collection .hero__title {
  max-width: 100%;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 #013865;
  color: #fff;
  margin: 0 0 0 20px;
  animation: lf-hero-title-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 767.98px) {
  .hero-collection .hero__title {
    margin-left: 0;
  }
}

@keyframes lf-hero-title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-collection .hero__content {
  flex: 1 1;
  background-color: #223c52;
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  background-image:
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(145deg, #223c52 0%, #1a3048 100%);
}

@media (max-width: 767.98px) {
  .hero-collection .hero__content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 30px 20px;
  }
}

/* Rice Nerds teaser strip */
.section-rice-nerds-teaser {
  width: 100%;
  padding: 20px;
}

.section-rice-nerds-teaser .section-rn-container {
  background-color: #f6d731;
  background-image: radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 56, 101, 0.06) 0%, transparent 40%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 28px 0;
  margin: 0 auto;
  border-radius: 20px;
}

.section-rice-nerds-teaser .section-rn-row-wrapper {
  max-width: 1173px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}

.section-rice-nerds-teaser .section-rn-logo {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}

.section-rn-teaser-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-rn-teaser-info .section-rn-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #003865;
}

.section-rn-teaser-info .section-rn-atc-link {
  margin-bottom: 0.75rem;
}

.section-rn-text {
  font-size: 0.95rem;
  color: #003865;
}

.section-rn-text a {
  color: #003865;
  font-weight: 600;
}

@media (max-width: 1023.98px) {
  .section-rice-nerds-teaser .section-rn-row-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .section-rn-teaser-info {
    align-items: center;
    max-width: 500px;
  }
}

@media (max-width: 767.98px) {
  .section-rice-nerds-teaser .section-rn-logo {
    width: 128px;
  }
}

.lf-sn-btn {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.lf-sn-btn--navy {
  background-color: #003865;
  color: #fff;
  border-color: #003865;
}

.lf-sn-btn--navy:hover {
  background-color: #d43f2b;
  border-color: #d43f2b;
  color: #fff;
}

button.lf-sn-btn {
  cursor: pointer;
}

/* Product grid (Boost-style) */
.lf-pfs-page {
  background: #fff;
}

.lf-pfs-toolbar-btn {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 12px;
}

.lf-pfs-skel {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eee 0%, #f5f5f5 50%, #eee 100%);
  background-size: 200% 100%;
  animation: lf-skel-shimmer 1.2s ease-in-out infinite;
}

@keyframes lf-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.lf-pfs-head {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 0.75rem;
}

.lf-pfs-count {
  font-size: 0.9rem;
  color: #3d4246;
}

.lf-pfs-count span {
  font-weight: 700;
}

.lf-pfs-sidebar {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fafafa;
}

@media (min-width: 992px) {
  .lf-pfs-sidebar.lf-filter-panel {
    position: sticky;
    top: 5.5rem;
  }
}

.lf-pfs-sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin-bottom: 1rem;
}

.lf-pfs-filter-legend {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #003865;
}

.lf-pfs-sidebar .form-check {
  margin-bottom: 0.35rem;
}

.lf-pfs-select {
  border-radius: 8px;
  border-color: #ddd;
}

.lf-pfs-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.lf-pfs-card:hover {
  box-shadow: 0 12px 28px rgba(0, 56, 101, 0.12);
  transform: translateY(-3px);
}

.lf-pfs-card--reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s ease;
}

.lf-pfs-card--reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.lf-pfs-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
}

.lf-pfs-media-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
}

.lf-pfs-media-inner {
  position: absolute;
  inset: 0;
}

.lf-pfs-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.45s ease;
}

.lf-pfs-img--alt {
  opacity: 0;
}

.lf-pfs-card:hover .lf-pfs-img--primary {
  opacity: 0;
}

.lf-pfs-card:hover .lf-pfs-img--alt {
  opacity: 1;
}

.lf-pfs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 56, 101, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.lf-pfs-card:hover .lf-pfs-overlay {
  opacity: 1;
}

.lf-pfs-body {
  padding: 1rem 0.25rem 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.25rem;
}

.lf-pfs-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.lf-pfs-title a {
  color: #3d4246;
  text-decoration: none;
}

.lf-pfs-title a:hover {
  color: #003865;
  text-decoration: underline;
}

.lf-pfs-vendor {
  margin: 0;
  font-size: 0.8rem;
  color: #969595;
}

.lf-pfs-price {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #003865;
}

.lf-pfs-add {
  margin-top: auto;
  width: 100%;
  border: none;
  border-radius: 100px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #003865;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lf-pfs-add:hover {
  background: #d43f2b;
}

.lf-pdp-carousel .carousel-item .img-fluid,
.lf-pdp-carousel .carousel-item .lf-pdp-main-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
}

.lf-pdp-carousel-inner {
  background: #fff;
}

.lf-pdp-slide {
  min-height: 360px;
}

@media (min-width: 992px) {
  .lf-pdp-slide {
    min-height: 420px;
  }
}

/* PDP hero — patterned band + navy gradient (mirrors live .product-container) */
.lf-product-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #e4dfd6;
  background-image:
    repeating-linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 14px
    ),
    repeating-linear-gradient(
      -12deg,
      rgba(0, 0, 0, 0.025) 0 1px,
      transparent 1px 18px
    );
}

.lf-product-container::before {
  z-index: 0;
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to left, #013865 50%, rgba(1, 56, 101, 0));
  pointer-events: none;
}

.lf-product-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 3.5rem;
}

@media (min-width: 992px) {
  .lf-product-shell {
    padding-bottom: 4.25rem;
  }
}

.lf-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  font-size: 0.875rem;
  padding-top: 2.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .lf-breadcrumbs {
    padding-top: 3.25rem;
  }
}

.lf-breadcrumbs--white,
.lf-breadcrumbs--white a {
  color: #fff;
}

.lf-breadcrumbs--white a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.lf-breadcrumbs--white a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.lf-breadcrumbs--white .lf-bc-current {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.lf-bc-div {
  padding: 0 0.35rem;
  opacity: 0.85;
  font-size: 0.65rem;
}

.lf-product-row {
  padding-top: 0.5rem;
}

@media (min-width: 992px) {
  .lf-product-row {
    padding-top: 1.25rem;
  }
}

.lf-product-gallery {
  padding-top: 0.5rem;
}

@media (min-width: 992px) {
  .lf-product-gallery {
    padding-top: 2.5rem;
  }
}

.lf-product-thumb-btn {
  border: 1px solid #1a4c74;
  color: #1a4c74;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  min-width: 2.25rem;
}

.lf-product-thumb-btn:hover {
  background: #fff;
  color: #013865;
}

.lf-product-buy {
  color: #fff;
  padding-top: 0.75rem;
}

@media (min-width: 992px) {
  .lf-product-buy {
    padding-top: 0.5rem;
    padding-right: 1.25rem;
  }
}

.lf-product-title {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: #fff;
}

.lf-product-reviews {
  color: rgba(255, 255, 255, 0.75);
}

.lf-product-lead {
  font-size: 1rem;
  line-height: 1.55;
}

.lf-product-lead a {
  color: #fff;
}

.lf-product-bullets {
  padding-left: 1.2rem;
  margin: 0;
}

.lf-product-bullets li {
  margin-bottom: 0.35rem;
}

.lf-product-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.lf-product-opt-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f6c751;
  margin-bottom: 0.35rem;
}

.lf-product-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
}

.lf-product-form .form-check-label {
  color: #fff;
}

.lf-product-form .form-check-input {
  border-color: #1a4c74;
  background-color: rgba(255, 255, 255, 0.95);
}

.lf-product-form .form-check-input:checked {
  background-color: #d43f2b;
  border-color: #d43f2b;
}

.lf-qty {
  border: 1px solid #1a4c74;
  border-radius: 2px;
  overflow: hidden;
  background: #1a4c74;
}

.lf-qty-btn {
  width: 42px;
  border: 0;
  background: #1a4c74;
  color: #f6c751;
  font-size: 1.75rem;
  line-height: 1;
  font-family: "Bebas Neue", sans-serif;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lf-qty-btn:hover {
  background: #245a8a;
  color: #fff;
}

.lf-qty-input {
  width: 48px;
  border: 0;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
  color: #143863;
  background: #fff;
  -moz-appearance: textfield;
}

.lf-qty-input::-webkit-outer-spin-button,
.lf-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lf-btn-product {
  background-color: #003865;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.25rem;
  transition: background-color 0.2s, color 0.2s;
}

.lf-btn-product:hover {
  background-color: #00294a;
  color: #fff;
}

.lf-product-notify {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lf-product-notify:hover {
  color: #f6c751;
}

.lf-subscription-section {
  background-color: #ecf5fa;
  padding: 10px 18px;
  border-radius: 8px;
}

.lf-subscription-text {
  color: #002653;
  font-size: 0.875rem;
  line-height: 1.45;
}

.lf-subscription-text a {
  color: #d43f2b;
  font-weight: 600;
  text-decoration: none;
}

.lf-subscription-text a:hover {
  text-decoration: underline;
}

.lf-subscription-logo {
  display: block;
}

.lf-product-disclaimer {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 767.98px) {
  .lf-product-container::before {
    display: none;
  }

  .lf-product-buy {
    background: linear-gradient(to top, #013865 0%, #013865 70%, rgba(1, 56, 101, 0.97) 100%);
    margin: 0 -18px -1rem;
    padding: 1.75rem 18px 2.5rem;
  }

  .lf-breadcrumbs {
    padding-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-collection .hero__title,
  .lf-pfs-card--reveal,
  .lf-pfs-card,
  .lf-pfs-img,
  .lf-pfs-overlay,
  .lf-pfs-skel {
    animation: none !important;
    transition: none !important;
  }

  .lf-pfs-card--reveal {
    opacity: 1;
    transform: none;
  }

  .lf-pfs-card:hover .lf-pfs-img--primary {
    opacity: 1;
  }

  .lf-pfs-card:hover .lf-pfs-img--alt {
    opacity: 0;
  }

  .lf-pfs-card:hover .lf-pfs-overlay {
    opacity: 0;
  }
}
