/* Products page — sections 1–5 */
.page-products main {
  padding-top: 0;
}

/* Full-viewport section backgrounds */
.products-hero,
.products-catalog,
.products-trust,
.products-highlights {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* —— 1. Hero —— */
.products-hero {
  position: relative;
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f3e8ff 0%, #fce4ec 35%, #fffbf5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.products-hero-gummies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.products-hero-gummies .hero-gummy {
  animation: hero-float-gummy 3.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .products-hero-gummies .hero-gummy {
    animation: none;
  }
}

.products-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--page-container-max);
  width: 100%;
  margin: 0 auto;
}

.products-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.products-hero-title .ph-line1 {
  display: block;
  background: linear-gradient(
    95deg,
    #e91e63 0%,
    #d81b60 18%,
    #8e24aa 45%,
    #ab47bc 65%,
    #e91e63 85%,
    #f06292 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.products-hero-title .ph-line2 {
  display: block;
  background: linear-gradient(90deg, #7b1fa2, #e91e63, #ad1457);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.products-hero-sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
  font-weight: 500;
}

/* —— 2. Catalog (filters + cards) —— */
.products-catalog {
  padding: 2.25rem 1.25rem 3rem;
  background: #fff;
}

.products-catalog__inner {
  max-width: var(--page-container-max);
  width: 100%;
  margin: 0 auto;
}

.products-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 56rem) {
  .products-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
  }
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.products-filter {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.products-filter:hover {
  border-color: rgba(255, 21, 0, 0.4);
}

.products-filter.is-active {
  background: #ff1500;
  border-color: #ff1500;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 21, 0, 0.35);
}

.products-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: min(100%, 16rem);
  max-width: 22rem;
  padding: 0.55rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@media (min-width: 56rem) {
  .products-search-wrap {
    margin-left: auto;
  }
}

.products-search-wrap:focus-within {
  outline: 2px solid rgba(0, 174, 239, 0.35);
  outline-offset: 2px;
}

.products-search-ico {
  font-size: 1rem;
  opacity: 0.55;
  flex-shrink: 0;
}

.products-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.products-count-line {
  margin: 0 0 1.5rem;
}

.products-count-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #e0f7fa;
  color: #00838f;
}

.products-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 40rem) {
  .products-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .products-card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #1a1a1a;
  border-radius: 1.25rem;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

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

.p-card__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.p-card__halal {
  width: 2.25rem;
  height: auto;
  object-fit: contain;
}

.p-card__stock {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f48fb1, #ec407a);
  color: #fff;
  white-space: nowrap;
}

.p-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10.5rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem;
}

.p-card__bottle {
  max-height: 10rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.p-card__name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.p-card__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: #757575;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.p-card__bullets {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  flex: 1;
}

.p-card__bullets li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #333;
}

.p-card__bullets li:last-child {
  margin-bottom: 0;
}

.p-card__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff1500;
  font-weight: 800;
  font-size: 0.75rem;
}

.p-card__flavor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff3e0;
  color: #e65100;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.p-card__btn {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: var(--font-playful);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  background: #ff1500;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 21, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.p-card__btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 21, 0, 0.38);
}

/* —— 3. Why parents trust —— */
.products-trust {
  padding: 2.75rem 1.25rem 3rem;
  background: #f0f4f8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.products-trust__inner {
  max-width: var(--page-container-max);
  width: 100%;
  margin: 0 auto;
}

.products-trust__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.15rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.products-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .products-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .products-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.products-trust-card {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.35rem 1rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.products-trust-card__ico {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  display: block;
}

.products-trust-card__text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.35;
}

/* —— 4. Product highlights —— */
.products-highlights {
  padding: 2.75rem 1.25rem 3rem;
  background: #fffef8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.products-highlights__inner {
  max-width: var(--page-container-max);
  width: 100%;
  margin: 0 auto;
}

.products-highlights__header {
  text-align: center;
  margin-bottom: 2rem;
}

.products-highlights__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ff8c00;
  letter-spacing: -0.02em;
}

.products-highlights__sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

.hl-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .hl-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.hl-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hl-panel {
  flex: 1;
  background: linear-gradient(145deg, #ffe566, #ffd54f);
  border: 4px solid #fff;
  border-radius: 1.35rem;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.25);
}

.hl-panel__head {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.hl-panel__head--red {
  color: #c62828;
}

.hl-panel__head--blue {
  color: #1565c0;
}

.hl-panel__head--green {
  color: #2e7d32;
}

.hl-panel__head--purple {
  color: #6a1b9a;
}

.hl-panel__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.hl-panel__bullets {
  flex: 1;
  margin: 0;
  padding-left: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #333;
}

.hl-panel__img {
  width: 4.5rem;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.hl-banner {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, #ffee58, #ffd740);
  border: 4px solid #fff;
  border-radius: 1.35rem;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 12px 36px rgba(255, 193, 7, 0.3);
  margin-top: 0.25rem;
}

.hl-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 1.25rem;
  color: #5e35b1;
  text-shadow: 0 0 0 2px #fff, 0 1px 0 #fff;
  line-height: 1.25;
}

.hl-wheel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  max-width: 26rem;
  margin: 0 auto 1.25rem;
  position: relative;
}

.hl-wheel__cell {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.65rem 0.5rem;
  border-radius: 0.85rem;
  text-align: center;
  color: #fff;
}

.hl-wheel__cell--teal {
  background: #00897b;
}

.hl-wheel__cell--orange {
  background: #ef6c00;
}

.hl-wheel__cell--purple {
  background: #6a1b9a;
}

.hl-wheel__cell--yellow {
  background: #f9a825;
  color: #333;
}

.hl-wheel__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 3px solid #fff;
}

.hl-banner__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.hl-banner__certs img {
  height: 2rem;
  width: auto;
  max-width: 5rem;
  object-fit: contain;
}

/* —— 5. Meet our Gummy Kids (products page title variant) —— */
.page-products .gkids-title {
  color: #00bfff;
}

.page-products .gkids-title-accent {
  color: #8a2be2;
}

/* 2026 UI refresh: product catalog */
.page-products main {
  padding-bottom: 0;
}

.products-hero {
  min-height: clamp(24rem, 58vh, 36rem);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem;
  text-align: left;
  background:
    linear-gradient(100deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 253, 248, 0.94) 54%, rgba(245, 251, 247, 0.72) 100%),
    url("img/section-kids-love-child-snack.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(37, 50, 58, 0.08);
}

.products-hero-gummies {
  opacity: 0.45;
}

.products-hero-inner {
  max-width: var(--page-container-max);
}

.products-hero-title {
  max-width: 43rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  margin-bottom: 1.1rem;
  letter-spacing: 0;
}

.products-hero-title .ph-line1,
.products-hero-title .ph-line2 {
  color: var(--text);
  background: none;
}

.products-hero-title .ph-line2 {
  color: var(--green-brand);
}

.products-hero-sub {
  max-width: 36rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.products-catalog {
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  background: #fffdf8;
}

.products-toolbar {
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(37, 50, 58, 0.09);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.products-filters {
  gap: 0.45rem;
}

.products-filter {
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border-color: rgba(37, 50, 58, 0.12);
  background: #fff;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.products-filter:hover {
  border-color: rgba(22, 135, 201, 0.36);
  color: var(--text);
}

.products-filter.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 50, 58, 0.18);
}

.products-search-wrap {
  border-radius: 8px;
  border-color: rgba(37, 50, 58, 0.12);
  background: #f7fbf8;
  box-shadow: none;
}

.products-count-line {
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}

.products-count-pill {
  background: #e9f8f1;
  color: #08734c;
}

.products-card-grid {
  gap: 1rem;
}

.p-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 50, 58, 0.09);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.p-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--pink);
}

.p-card[data-categories="brain"]::before {
  background: var(--blue-brand);
}

.p-card[data-categories="eye"]::before {
  background: var(--green-brand);
}

.p-card[data-categories="immune"]::before {
  background: var(--pink);
}

.p-card[data-categories="multi"]::before {
  background: var(--sun);
}

.p-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.p-card__stock {
  background: #e9f8f1;
  color: #08734c;
  box-shadow: none;
}

.p-card__visual {
  min-height: 11.25rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbf8 0%, #fff 100%);
}

.p-card__bottle {
  max-height: 10.75rem;
  filter: drop-shadow(0 16px 18px rgba(31, 43, 51, 0.1));
}

.p-card__name {
  color: var(--text);
  letter-spacing: 0;
}

.p-card__tagline,
.p-card__bullets li {
  color: var(--text-soft);
}

.p-card__bullets li::before {
  color: var(--green-brand);
}

.p-card__flavor {
  background: #fff7df;
  color: #8a5b00;
}

.p-card__btn {
  border-radius: 8px;
  background: var(--text);
  box-shadow: 0 10px 20px rgba(37, 50, 58, 0.18);
}

.p-card__btn:hover {
  box-shadow: 0 14px 28px rgba(37, 50, 58, 0.2);
}

.products-trust {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
  background: #eef8fb;
}

.products-trust__title {
  color: var(--text);
  letter-spacing: 0;
}

.products-trust-card {
  border-radius: 8px;
  border-color: rgba(37, 50, 58, 0.08);
  box-shadow: var(--shadow-soft);
}

.products-trust-card__text {
  color: var(--text);
}

.products-highlights {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
  background: #fffdf8;
}

.products-highlights__title {
  color: var(--pink);
  letter-spacing: 0;
}

.products-highlights__sub {
  color: var(--text-soft);
}

.hl-layout {
  gap: 1rem;
}

.hl-panel,
.hl-banner {
  border: 1px solid rgba(37, 50, 58, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hl-panel__head {
  letter-spacing: 0.03em;
}

.hl-panel__row {
  align-items: center;
}

.hl-panel__bullets {
  color: var(--text-soft);
}

.hl-panel__img {
  filter: drop-shadow(0 10px 14px rgba(31, 43, 51, 0.12));
}

.hl-banner {
  background: linear-gradient(180deg, #fff8df 0%, #fff 100%);
}

.hl-banner__title {
  color: var(--text);
  text-shadow: none;
  letter-spacing: 0;
}

.hl-wheel__cell {
  border-radius: 8px;
}

.hl-wheel__center {
  border-radius: 999px;
  border-color: #fff8df;
}

.page-products .gkids-section {
  background: linear-gradient(180deg, #f5fbf7 0%, #fffdf8 100%);
}

.page-products .gkids-title,
.page-products .gkids-title-accent {
  color: var(--blue-brand);
}

@media (max-width: 58rem) {
  .products-hero {
    flex-direction: column;
    text-align: center;
  }

  .products-hero-sub,
  .products-hero-title {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 40rem) {
  .products-toolbar {
    padding: 0.75rem;
  }

  .products-filter,
  .products-search-wrap {
    width: 100%;
  }

  .products-filter {
    justify-content: center;
  }

  .products-search-wrap {
    max-width: none;
  }
}
