/* Products catalogue only — shared header and footer styling remains in style.css. */
.products-page {
  background: #f7fafc;
  color: var(--ink);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.products-page *,
.products-page *::before,
.products-page *::after {
  box-sizing: border-box;
}

.products-page h1,
.products-page h2,
.products-page h3,
.products-page p {
  margin-top: 0;
}

.products-page-hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(8, 167, 239, .12), transparent 27%),
    linear-gradient(140deg, #fff 0%, #f1f8fc 100%);
  border-bottom: 1px solid #e6edf2;
  padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(2.6rem, 5vw, 4.2rem);
}

.products-page-kicker {
  color: var(--pink);
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.products-page-hero-row {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.products-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
  margin-bottom: .8rem;
}

.products-page-hero p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 610px;
}

.products-page-assurances {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
  max-width: 420px;
}

.products-page-assurances span {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #dfe7ed;
  border-radius: 9px;
  color: #4a5968;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.2;
  padding: .55rem .75rem;
}

.products-catalog-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.products-catalog-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.45rem;
}

.products-catalog-heading h2,
.products-page-quote h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  margin-bottom: .45rem;
}

.products-catalog-heading p {
  color: #657483;
  font-size: .8rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.products-catalog-heading > a {
  color: var(--pink);
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.products-catalog-heading > a:hover { color: #ca006a; }

.products-catalog-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-catalog-card {
  background: #fff;
  border: 1px solid #e2e9ee;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(7, 17, 31, .06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.products-catalog-card:hover {
  box-shadow: 0 14px 30px rgba(7, 17, 31, .11);
  transform: translateY(-3px);
}

.products-card-image {
  align-items: center;
  aspect-ratio: 1 / .9;
  background:
    radial-gradient(circle at 75% 20%, rgba(8, 167, 239, .08), transparent 25%),
    #f5f7f8;
  display: flex;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: .65rem;
  position: relative;
}

.products-card-image > span {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e0e7ec;
  border-radius: 9px;
  color: #354352;
  font-size: .65rem;
  font-weight: 750;
  left: .9rem;
  line-height: 1.15;
  padding: .45rem .64rem;
  position: absolute;
  top: .9rem;
  z-index: 1;
}

.products-card-image img {
  display: block;
  height: 100%;
  /* max-height: 270px; */
  max-height: none;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
  width: 100%;
}

.products-catalog-card:hover .products-card-image img { transform: scale(1.045); }

.products-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.1rem;
}

.products-card-content h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .45rem;
}

.products-card-content p {
  color: #677685;
  font-size: .74rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.products-card-content a {
  align-items: center;
  align-self: stretch;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: #fff;
  display: flex;
  font-size: .72rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  margin-top: auto;
  min-height: 42px;
  padding: .65rem .8rem;
}

.products-card-content a:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.products-mobile-navigation { display: none; }

.products-page-quote { padding-top: clamp(.5rem, 2vw, 1rem); }

.products-page-quote-card {
  align-items: center;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 7, 138, .1), transparent 31%),
    #fff;
  border: 1px solid #e2e9ee;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(7, 17, 31, .06);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.products-page-quote p {
  color: #667584;
  font-size: .78rem;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 640px;
}

.products-page-quote a {
  align-items: center;
  background: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 9px;
  box-shadow: 0 7px 16px rgba(255, 7, 138, .18);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .73rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: .7rem 1rem;
}

.products-page-quote a:hover { background: #d90073; border-color: #d90073; color: #fff; }

@media (max-width: 991.98px) {
  .products-page-hero-row { align-items: flex-start; flex-direction: column; }
  .products-page-assurances { justify-content: flex-start; max-width: none; }
  .products-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .products-page-hero { padding: 2.7rem 0 2.35rem; }
  .products-page-hero h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .products-page-hero p { font-size: .8rem; }
  .products-page-assurances { gap: .42rem; }
  .products-page-assurances span { font-size: .62rem; padding: .47rem .62rem; }

  .products-catalog-section { overflow: hidden; padding: 2.75rem 0; }

  .products-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.1rem;
  }

  .products-catalog-heading p { font-size: .75rem; }

  .products-catalog-grid {
    -ms-overflow-style: none;
    display: flex;
    gap: .8rem;
    margin: 0 -1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: .2rem 1rem 1rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .products-catalog-grid::-webkit-scrollbar { display: none; }

  .products-catalog-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .products-card-image { min-height: 260px; }
  .products-card-content { padding: 1rem; }

  .products-mobile-navigation {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: center;
    margin-top: .15rem;
  }

  .products-mobile-navigation button {
    align-items: center;
    background: #fff;
    border: 1px solid #dce5eb;
    border-radius: 50%;
    color: var(--ink);
    display: inline-flex;
    font-size: 1rem;
    height: 34px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 34px;
  }

  .products-mobile-navigation button:hover,
  .products-mobile-navigation button:focus-visible {
    border-color: var(--pink);
    color: var(--pink);
    outline: none;
  }

  .products-mobile-navigation button:disabled { cursor: not-allowed; opacity: .42; }

  .products-mobile-navigation span {
    color: #718090;
    font-size: .7rem;
    font-weight: 800;
    min-width: 38px;
    text-align: center;
  }

  .products-page-quote-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .products-page-assurances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-page-assurances span:last-child { grid-column: 1 / -1; justify-self: start; }
  .products-catalog-card { flex-basis: 84vw; }
  .products-card-image { min-height: 235px; }
  .products-page-quote a { width: 100%; }
}
