/* GENITAL ESTETIK V13: Scoped changes only to the home flow and new Barbie card.
   No typography, surgery-card or detail-picture rules outside this scope. */
body.genital-theme .v1-home-hero{
  --v13-photo:min(46vw,452px,calc(100svh - 255px));
  --v13-stage:clamp(315px,calc(100svh - 205px),500px);
  height:auto!important;min-height:0!important;max-height:none!important;
  grid-template-rows:var(--v13-stage) auto!important;
  overflow:visible!important;
  padding-bottom:8px!important;
}
body.genital-theme .v1-home-hero .hero-frame.active{
  height:var(--v13-stage)!important;
  min-height:0!important;max-height:var(--v13-stage)!important;
  box-sizing:border-box!important;
  align-content:center!important;
  overflow:visible!important;
}
body.genital-theme .v1-home-hero .hero-frame.active img.hero-backdrop,
body.genital-theme .v1-home-hero .v1-doctor-hero.active img.doctor-portrait-fill{
  width:var(--v13-photo)!important;height:var(--v13-photo)!important;
  max-width:var(--v13-photo)!important;max-height:var(--v13-photo)!important;
  min-width:0!important;min-height:0!important;
  transform:none!important;scale:1!important;
  aspect-ratio:1/1!important;object-fit:contain!important;
  object-position:center!important;filter:none!important;
  padding:0!important;margin:0 auto!important;
  border:0!important;border-radius:0!important;clip-path:none!important;
  box-shadow:none!important;background:transparent!important;
}
/* Prevent the old image-only Labioplasti scaling rule from creating a larger photo. */
body.genital-theme .v1-home-hero .v1-procedure-slide[data-hero-index="2"] img.hero-backdrop{
  transform:none!important;scale:1!important;
}
body.genital-theme .v1-home-hero .hero-bottom-controls{
  position:relative!important;grid-row:2!important;
  margin:2px auto 2px!important;
}

body.genital-theme .v1-home-hero .hero-heading em{
  font-style:italic!important;
  color:#c3a077!important;
  font-weight:500!important;
}
body.genital-theme .v1-home-hero .hero-heading .accent-pink{color:#a64e78!important;}
body.genital-theme .v1-home-hero .hero-heading .accent-gold{color:#c3a077!important;}
body.genital-theme .v1-cards .v13-barbie-wide{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:310px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:clamp(18px,4vw,65px)!important;
  border:1px solid #e7c9ca!important;
  border-radius:22px!important;
  padding:18px clamp(18px,3vw,42px)!important;
  background:linear-gradient(120deg,#fffaf8,#ffffff)!important;
  overflow:visible!important;
  min-width:0!important;
  text-decoration:none!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .copy{
  grid-column:2!important;grid-row:1!important;
  padding:0!important;min-width:0!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .copy h3{
  font-family:'Playfair Display',Georgia,serif!important;
  color:#783e5c!important;font-size:clamp(29px,3vw,43px)!important;
  margin:0 0 12px!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .copy p{
  font-size:clamp(14px,1.16vw,16px)!important;
  color:#4c4549!important;line-height:1.75!important;
  min-height:0!important;margin:0!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .copy span{
  display:inline-block!important;color:#9b6859!important;
  margin-top:16px!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .media{
  grid-column:1!important;grid-row:1!important;
  width:310px!important;height:310px!important;
  max-width:310px!important;max-height:310px!important;
  min-width:310px!important;min-height:310px!important;
  aspect-ratio:1/1!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;overflow:visible!important;
  padding:0!important;margin:0 auto!important;
}
body.genital-theme .v1-cards .v13-barbie-wide .media img{
  display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;
  aspect-ratio:1/1!important;object-fit:contain!important;
  clip-path:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:transparent!important;
  filter:none!important;transform:none!important;
}
@media(max-width:760px){
  body.genital-theme .v1-home-hero{
    --v13-photo:min(90vw,352px,calc(100svh - 482px));
    --v13-stage:clamp(475px,calc(100svh - 250px),610px);
  }
  body.genital-theme .v1-home-hero .hero-frame.active{
    display:grid!important;grid-template-rows:var(--v13-photo) minmax(0,1fr)!important;
    align-content:start!important;
    row-gap:5px!important;
    padding:0!important;
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-canvas,
  body.genital-theme .v1-home-hero .hero-frame.active .doctor-hero-copy{
    justify-content:flex-start!important;
    padding:0 6px!important;
    min-height:0!important;
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-description,
  body.genital-theme .v1-home-hero .hero-frame.active .doctor-hero-description{
    font-size:clamp(12.5px,3.35vw,14px)!important;
    line-height:1.37!important;
    margin-bottom:5px!important;
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-heading,
  body.genital-theme .v1-home-hero .hero-frame.active .doctor-hero-title{
    font-size:clamp(32px,9.3vw,43px)!important;
    margin-bottom:5px!important;line-height:1.06!important;
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-cta{
    min-height:33px!important;padding:6px 13px!important;
    margin-top:2px!important;
  }
  body.genital-theme .v1-cards .v13-barbie-wide{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;padding:20px 18px!important;
  }
  body.genital-theme .v1-cards .v13-barbie-wide .media{
    grid-row:1!important;grid-column:1!important;
    width:min(82vw,280px)!important;height:min(82vw,280px)!important;
    max-width:280px!important;max-height:280px!important;
    min-width:0!important;min-height:0!important;
    margin:0 auto!important;
  }
  body.genital-theme .v1-cards .v13-barbie-wide .copy{
    grid-row:2!important;grid-column:1!important;
  }
}
@media(max-width:370px){
  body.genital-theme .v1-home-hero{
    --v13-photo:min(80vw,250px,calc(100svh - 465px));
    --v13-stage:clamp(420px,calc(100svh - 245px),530px);
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-description,
  body.genital-theme .v1-home-hero .hero-frame.active .doctor-hero-description{
    font-size:12px!important;line-height:1.3!important;
  }
  body.genital-theme .v1-home-hero .hero-frame.active .hero-heading,
  body.genital-theme .v1-home-hero .hero-frame.active .doctor-hero-title{
    font-size:clamp(29px,8.7vw,35px)!important;
  }
}
@media(min-width:761px) and (max-height:700px){
  body.genital-theme .v1-home-hero{
    --v13-photo:min(41vw,360px,calc(100svh - 270px));
    --v13-stage:min(339px,calc(100svh - 215px));
  }
  body.genital-theme .v1-home-hero .hero-frame.active{
    align-items:center!important;
  }
}
/* Equal-size safeguard: V10 contained higher-specificity width overrides.
   Both doctor's portrait and all 7 procedure images use one common square size. */
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .v1-procedure-slide.active img.hero-backdrop,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .v1-doctor-hero.active img.doctor-portrait-fill{
  width:var(--v13-photo)!important;height:var(--v13-photo)!important;
  min-width:0!important;min-height:0!important;
  max-width:var(--v13-photo)!important;max-height:var(--v13-photo)!important;
  aspect-ratio:1/1!important;object-fit:contain!important;
  transform:none!important;scale:1!important;filter:none!important;
}


/* V16 precise two-point correction; all page headings and wording are original V13. */
/* Slightly enlarge only the 8 original home-flow circles, with an invariant stage,
   without touching text area, button alignment or site-section dimensions. */
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .v1-procedure-slide.active img.hero-backdrop,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .v1-doctor-hero.active img.doctor-portrait-fill {
  width:calc(var(--v13-photo) + var(--v16-grow,18px))!important;
  height:calc(var(--v13-photo) + var(--v16-grow,18px))!important;
  min-width:0!important;min-height:0!important;
  max-width:calc(var(--v13-photo) + var(--v16-grow,18px))!important;
  max-height:calc(var(--v13-photo) + var(--v16-grow,18px))!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  transform:none!important;
  scale:1!important;
}
/* No text markup or heading labels are changed: apply the desired cherry accent
   to each whole headline, preserving the existing font and font size. */
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .hero-heading,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .doctor-hero-title,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .hero-heading em,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .doctor-hero-title em,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .hero-heading .accent-pink,
html[lang] body.genital-theme .hero-stage-premium.v1-home-hero .hero-frame.active .hero-heading .accent-gold {
  color:#a04c74!important;
}
@media(max-width:350px){body.genital-theme .v1-home-hero{--v16-grow:12px!important;}}
@media(min-width:351px) and (max-width:370px){body.genital-theme .v1-home-hero{--v16-grow:20px!important;}}
@media(min-width:371px) and (max-width:760px){body.genital-theme .v1-home-hero{--v16-grow:18px!important;}}
@media(min-width:761px) and (max-height:710px){body.genital-theme .v1-home-hero{--v16-grow:10px!important;}}
/* German translation has more characters in the Barbie slide. Keep all eight
   circles equal, within the exact same stage, with readable controls. */
@media(max-width:350px){html[lang="de"] body.genital-theme .v1-home-hero{--v16-grow:4px!important;}}
@media(min-width:351px) and (max-width:370px){html[lang="de"] body.genital-theme .v1-home-hero{--v16-grow:14px!important;}}
@media(min-width:371px) and (max-width:760px){html[lang="de"] body.genital-theme .v1-home-hero{--v16-grow:11px!important;}}
@media(max-width:350px){html[lang="de"] body.genital-theme .v1-home-hero .v13-barbie-slide.active .hero-description{line-height:1.2!important;}}
