/* QA19: product collage in the original purple branding hero.
 * Existing project-owned transparent WebP samples; no white cards/sheets.
 * Scoped to /brendirovanie/ and does not affect product cards or other heroes.
 */
.s27--branding .s27-hero .s27-hero__content {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  column-gap: clamp(14px, 2vw, 30px);
}
.s27--branding .s27-hero .s27-hero-gallery {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: clamp(270px, 23vw, 345px);
  margin: 0 auto;
  isolation: isolate;
}
.s27--branding .s27-hero .s27-hero-gallery::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 9% -5% 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%,
      rgba(242, 222, 255, .40) 0%,
      rgba(209, 172, 255, .18) 42%,
      rgba(97, 11, 217, 0) 74%);
  pointer-events: none;
}
.s27--branding .s27-hero .s27-hero-gallery > img {
  display: block;
  position: absolute;
  box-sizing: border-box;
  object-fit: contain;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  max-height: none !important;
  filter: drop-shadow(0 15px 13px rgba(32, 0, 68, .27));
  pointer-events: none;
}
.s27--branding .s27-hero .s27-hero-gallery > img:nth-child(1) {
  width: 61%;
  left: 20%;
  right: auto;
  top: auto;
  bottom: 6%;
  transform: rotate(-2deg);
  z-index: 3;
}
.s27--branding .s27-hero .s27-hero-gallery > img:nth-child(2) {
  width: 45%;
  left: -5%;
  right: auto;
  top: auto;
  bottom: 12%;
  transform: rotate(-6deg);
  z-index: 2;
}
.s27--branding .s27-hero .s27-hero-gallery > img:nth-child(3) {
  width: 45%;
  right: -5%;
  left: auto;
  top: auto;
  bottom: 12%;
  transform: rotate(5deg);
  z-index: 4;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .s27--branding .s27-hero .s27-hero-gallery { min-height: 235px; }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(1) { width: 68%; left: 16%; }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(2) { width: 52%; left: -7%; }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(3) { width: 52%; right: -7%; }
}
@media (max-width: 760px) and (min-width: 521px) {
  .s27--branding .s27-hero .s27-hero-gallery {
    width: min(100%, 440px);
    min-height: 220px;
  }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(1) { width: 59%; left: 20%; }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(2) { width: 45%; left: 0%; }
  .s27--branding .s27-hero .s27-hero-gallery > img:nth-child(3) { width: 45%; right: 0%; }
}
/* Retain the previously approved compact mobile hero (<521px). */
@media (max-width: 520px) {
  .s27--branding .s27-hero .s27-hero-gallery { display: none !important; }
  .s27--branding .s27-hero .s27-hero__content { display: block; }
}
