.amb-intro img {
  mix-blend-mode: multiply;
  clip-path: inset(0 0 2%);
}

.amb-products h4 {
  margin: 1rem 0 .25rem;
  font-size: .95rem;
}

.amb-gallery {
  margin: 2.5rem 0;
}

.amb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.amb-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce1e6;
  border-radius: 12px;
  background: #f3f5f7;
}

.amb-gallery-grid figure:first-child {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.amb-gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}

.amb-gallery-portrait {
  position: relative;
  min-height: 0;
}

.amb-gallery-portrait img {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 42%;
}

.amb-gallery-grid figcaption {
  padding: .75rem 1rem;
  color: #172231;
  font-weight: 600;
}

@media (max-width: 680px) {
  .amb-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .amb-gallery-grid figure:first-child { grid-row: auto; }
  .amb-gallery-portrait { aspect-ratio: 4 / 5; }
}

.amb-products article > .amb-product-photo {
  position: relative;
  height: 275px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.amb-products .amb-product-photo img {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  background: transparent;
}

.amb-product-photo img[src$="amb-liver.webp"] {
  height: 340px;
  top: -42px;
  left: 50%;
  transform: translateX(-48%);
  clip-path: polygon(13.2% 25.3%, 14% 24%, 16.6% 22.9%, 79% 23.1%, 81% 23.7%, 82.5% 25.2%, 82.35% 29%, 79.1% 79.6%, 78.4% 80.6%, 76.5% 81%, 68% 82%, 51% 82.4%, 33% 82.2%, 19% 81.1%, 16.8% 80.4%, 16.3% 79.5%);
}

.amb-product-photo img.amb-liver-tablets[src$="amb-liver.webp"] {
  clip-path: polygon(56.7% 82.7%, 58% 81.9%, 61.2% 82%, 63% 81.45%, 67% 80.45%, 70.2% 80.2%, 72.7% 80.5%, 75% 80%, 77.1% 79.85%, 79.25% 80.5%, 80.1% 81.6%, 82.2% 81.1%, 85.5% 80.7%, 89% 81.15%, 91.5% 81.5%, 92.85% 82.1%, 93% 82.5%, 94.8% 83.2%, 95% 84.4%, 93.8% 85%, 90.3% 85.1%, 88.6% 86.1%, 88.35% 86.9%, 85.5% 87.65%, 83.3% 87.6%, 81.65% 88%, 78.3% 88%, 76% 87.3%, 72.5% 87.5%, 70.5% 87.2%, 68.3% 87.65%, 65.8% 87.45%, 64.65% 86.6%, 65% 85.85%, 63.55% 85.8%, 62.55% 85.17%, 60% 85.1%, 57.7% 84.65%, 56.7% 84%);
}

.amb-product-photo img[src$="amb-sleep.webp"] {
  height: 330px;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.amb-product-photo img[src$="amb-non.webp"] {
  height: 345px;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
}
.amb-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 125px), 1fr));
  gap: 14px;
}

.amb-social a {
  --icon-color: #171717;
  --label-color: #333;
  display: grid;
  justify-items: center;
  grid-template-rows: 1fr auto;
  min-height: 132px;
  padding: 5px;
  border: 1px solid #e2e2e2;
  border-radius: 9px;
  background: #f4f4f4;
  box-shadow: 0 1px 4px #0001;
  text-decoration: none;
}

.amb-social a:hover {
  border-color: var(--label-color);
}

.amb-social a:nth-child(1) { --label-color: #ad335f; }
.amb-social a:nth-child(3) { --icon-color: #1877f2; --label-color: #1456af; }
.amb-social a:nth-child(4) { --label-color: #ce0649; }
.amb-social a:nth-child(5) { --icon-color: #f00000; --label-color: #c41d22; }
.amb-social a:nth-child(6) { --icon-color: #06c755; --label-color: #087c35; }

.amb-social-icon {
  align-self: center;
  box-sizing: content-box;
  width: min(49%, 72px);
  height: auto;
  padding-block: 14px;
  color: var(--icon-color);
}

.amb-social-label {
  width: 100%;
  padding: .35rem .2rem;
  background: var(--label-color);
  color: #fff;
  text-align: center;
}