/* =====================================================
   PRODUCTS PAGE
===================================================== */

.products-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 86% 25%,
      rgba(111, 199, 232, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 80%,
      rgba(59, 182, 166, 0.1),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f7fcfb,
      #eef8f6
    );
}

.products-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
}

.products-hero-copy {
  max-width: 780px;
}

.products-hero-copy h1 em {
  color: #36a99a;
  font-style: normal;
}

.products-hero-copy p {
  max-width: 680px;
}

.products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.products-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 390px;
  overflow: hidden;
  border: 1px solid rgba(31, 141, 128, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(18, 66, 62, 0.08);
}

.products-hero-stats div {
  padding: 20px;
  border-right: 1px solid rgba(31, 141, 128, 0.08);
}

.products-hero-stats div:last-child {
  border-right: 0;
}

.products-hero-stats strong {
  display: block;
  color: #173e3b;
  font-size: 1.4rem;
}

.products-hero-stats span {
  color: #6a807d;
  font-size: 0.7rem;
}

.products-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.products-toolbar h2 {
  margin: 7px 0 0;
}

.filter-groups {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
  padding: 24px;
  border: 1px solid rgba(28, 103, 97, 0.08);
  border-radius: 24px;
  background: #f9fcfb;
}

.filter-group {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.filter-label {
  color: #758885;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.products-list-section .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
}

.products-list-section .filter-bar button,
.filter-reset {
  padding: 10px 15px;
  border: 1px solid rgba(31, 141, 128, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #607774;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.products-list-section .filter-bar button:hover,
.products-list-section .filter-bar button.active {
  border-color: #3bb6a6;
  background: #e8f7f3;
  color: #197f74;
}

.filter-reset {
  color: #197f74;
}

.product-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card-v2 {
  overflow: hidden;
  border: 1px solid rgba(27, 94, 89, 0.09);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 16px 42px rgba(18, 64, 61, 0.08);
  transition:
    transform 0.5s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.5s ease;
}

.product-card-v2:hover {
  transform: translateY(-9px);
  box-shadow:
    0 30px 65px rgba(18, 64, 61, 0.14);
}

.product-card-v2[hidden] {
  display: none !important;
}

.product-img-v2 {
  position: relative;
  display: grid;
  height: auto;
  min-height: 330px;
  overflow: hidden;
  padding: 30px 24px 15px;
  place-items: center;
  background:
    radial-gradient(
      circle at center,
      var(--soft),
      #fff 72%
    );
}

.product-image-bg {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--soft);
  filter: blur(10px);
  transition: transform 0.5s ease;
}

.product-img-v2 img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 310px;
  max-height: 280px;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 28px rgba(19, 64, 61, 0.16));
  transition:
    transform 0.55s cubic-bezier(.2, .8, .2, 1);
}

.product-card-v2:hover .product-img-v2 img {
  transform: translateY(-8px) scale(1.045);
}

.product-card-v2:hover .product-image-bg {
  transform: scale(1.12);
}

.product-format-badge {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-copy-v2 {
  padding: 25px 26px 28px;
}

.product-copy-v2 > .product-card-meta {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: normal;
}

.product-card-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 750;
}

.product-copy-v2 h2 {
  margin: 0 0 10px;
  color: #173e3b;
  font-size: 1.55rem;
  line-height: 1.08;
}

.product-copy-v2 p {
  min-height: 54px;
  margin: 0;
  color: #69807d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-copy-v2 > .product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  font-weight: 700;
}

.product-view-link,
.product-shop-link,
.product-disabled-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.product-view-link {
  color: var(--accent);
}

.product-shop-link {
  padding: 9px 13px;
  border: 1px solid rgba(31, 141, 128, 0.15);
  border-radius: 999px;
  color: #173e3b;
}

.product-disabled-link {
  color: #708582;
}

.product-coming-soon-visual {
  position: relative;
  z-index: 2;
  text-align: center;
}

.coming-soon-small {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.coming-soon-symbol {
  display: grid;
  width: 90px;
  height: 90px;
  margin: 20px auto;
  place-items: center;
  border-radius: 28px;
  background: #fff;
  color: var(--accent);
  font-size: 2rem;
  box-shadow:
    0 24px 42px rgba(31, 141, 128, 0.15);
}

.product-coming-soon-visual strong {
  display: block;
  color: #173e3b;
  font-size: 1.8rem;
}

.product-coming-soon-visual p {
  min-height: 0;
  margin: 7px 0 0;
  color: #69807d;
}

.product-image-missing {
  position: relative;
  z-index: 2;
  display: grid;
  width: 200px;
  height: 200px;
  place-items: center;
  border: 1px dashed rgba(31, 141, 128, 0.3);
  border-radius: 28px;
  color: #69807d;
  text-align: center;
}

.empty-products {
  margin-top: 30px;
  padding: 70px 25px;
  border: 1px dashed rgba(31, 141, 128, 0.2);
  border-radius: 28px;
  background: #f7fcfa;
  text-align: center;
}

.empty-products[hidden] {
  display: none !important;
}

.empty-products-icon {
  color: #3bb6a6;
  font-size: 2rem;
}

.empty-products h3 {
  margin: 12px 0 8px;
}

.empty-products p {
  color: #69807d;
}

.empty-products-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.catalog-error {
  padding: 50px 25px;
  border: 1px dashed rgba(202, 58, 131, 0.25);
  border-radius: 24px;
  background: #fff7fb;
  text-align: center;
}

.catalog-error h3 {
  margin: 0 0 8px;
}

.catalog-error p {
  margin: 0;
  color: #69807d;
}

.products-quiz-cta {
  padding: 0 0 clamp(70px, 8vw, 110px);
}

.products-quiz-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px 42px;
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      #eaf8f4,
      #f8fcfb
    );
}

.products-quiz-card h2 {
  margin: 7px 0 8px;
}

.products-quiz-card p {
  margin: 0;
  color: #69807d;
}

@media (max-width: 1050px) {
  .products-hero-inner {
    grid-template-columns: 1fr;
  }

  .products-hero-stats {
    min-width: 0;
    max-width: 520px;
  }

  .product-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .products-hero-stats {
    grid-template-columns: 1fr;
  }

  .products-hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(31, 141, 128, 0.08);
  }

  .products-hero-stats div:last-child {
    border-bottom: 0;
  }

  .filter-group {
    grid-template-columns: 1fr;
  }

  .product-grid-v2 {
    grid-template-columns: 1fr;
  }

  .products-toolbar,
  .products-quiz-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .empty-products-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .products-quiz-card .button,
  .empty-products-actions .button {
    width: 100%;
    text-align: center;
  }
}


/* =====================================================
   PNBIOTICS — UPDATED FOOTER
===================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 74px 0 0;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(59, 182, 166, 0.13),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #0e292d,
      #153b3a
    );
  color: #ffffff;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -290px;
  right: -190px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}


/* =====================================================
   FOOTER MAIN
===================================================== */

.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(250px, 1.1fr)
    minmax(130px, 0.55fr)
    minmax(150px, 0.65fr)
    minmax(290px, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  padding-bottom: 62px;
}


/* =====================================================
   BRAND
===================================================== */

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  display: block;
  width: 185px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  max-width: 330px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.footer-format-tags span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.65rem;
  font-weight: 700;
}


/* =====================================================
   NAVIGATION
===================================================== */

.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-group strong {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav-group a {
  position: relative;
  display: inline-flex;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.footer-nav-group a::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #54cfbd;
  opacity: 0;
  transform:
    translateY(-50%)
    scale(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.footer-nav-group a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-nav-group a:hover::before {
  opacity: 1;
  transform:
    translateY(-50%)
    scale(1);
}


/* =====================================================
   QUIZ CARD
===================================================== */

.footer-quiz-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.10),
      rgba(255, 255, 255, 0.045)
    );
  box-shadow:
    0 22px 45px
    rgba(3, 17, 19, 0.18);
  backdrop-filter: blur(14px);
}

.footer-quiz-card::after {
  content: "";
  position: absolute;
  top: -75px;
  right: -75px;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(84, 207, 189, 0.24),
      transparent 70%
    );
  pointer-events: none;
}

.footer-quiz-label {
  position: relative;
  z-index: 2;
  display: block;
  color: #75dfcf;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.footer-quiz-card h3 {
  position: relative;
  z-index: 2;
  margin: 13px 0 11px;
  color: #ffffff;
  font-family: Manrope, sans-serif;
  font-size: 1.55rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.footer-quiz-card > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.8rem;
  line-height: 1.65;
}


/* Quiz button */

.footer-quiz-button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  margin-top: 22px;
  padding: 0 17px;
  border-radius: 999px;
  background: #ffffff;
  color: #153237;
  font-size: 0.77rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.footer-quiz-button:hover {
  background: #54cfbd;
  color: #0e292d;
  transform: translateY(-2px);
  box-shadow:
    0 13px 30px
    rgba(4, 22, 24, 0.24);
}

.footer-quiz-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #3bb6a6;
  color: #ffffff;
  font-size: 0.66rem;
}

.footer-quiz-button:hover .footer-quiz-icon {
  background: #153237;
}


/* PayPal note */

.footer-payment-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.67rem;
}

.footer-payment-note strong {
  display: inline-flex;
  min-height: 27px;
  padding: 0 9px;
  align-items: center;
  border-radius: 7px;
  background: #ffffff;
  color: #173b7a;
  font-size: 0.68rem;
  font-weight: 850;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns:
      minmax(250px, 1fr)
      repeat(2, minmax(130px, 0.55fr));
  }

  .footer-quiz-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-top: 58px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 26px;
  }

  .footer-brand,
  .footer-quiz-card {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }

  .footer-bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-quiz-card {
    grid-column: auto;
  }

  .footer-quiz-card {
    padding: 23px;
  }

  .footer-bottom-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}