/* BYSCULPO Faz 03.22 — logo ölçüsü düzeltme
 * Faz 03.21'deki 64/52px sabit görsel yüksekliği, genişlik artırılsa bile
 * resmi optik olarak büyütmüyordu. Bu dosya eski header.css'den SONRA yüklenir.
 * Header, logo oranına göre gerektiğinde boy kazanır; resim kırpılmaz.
 */
.bscsh {
  --bscsh-effective-logo-width: var(--bscsh-logo-desktop-width,170px);
  height: auto;
  min-height: 82px;
}
.bscsh .bscsh-inner {
  height: auto;
  min-height: 82px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.bscsh .bscsh-logo {flex:0 0 auto;max-width:100%;}
/* Resim artık sabit yüksekliğe sığdırılmıyor; istenen GENİŞLİKTE gösteriliyor. */
.bscsh .bscsh-logo-media {
  display: grid;
  position: relative;
  width: var(--bscsh-effective-logo-width);
  height: auto;
  flex: 0 0 auto;
  line-height: 0;
}
.bscsh .bscsh-logo-media .bscsh-logo-img {
  position: static;
  inset: auto;
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
  align-self: center;
}
/* Görsel henüz yüklenmediyse yazılı BYSCULPO logosu da ayara uyar. */
.bscsh .bscsh-logo--text {
  width: var(--bscsh-effective-logo-width);
  max-width: 100%;
}
.bscsh .bscsh-logo--text > span {
  font-size: calc(var(--bscsh-effective-logo-width) * .17);
  line-height: 1;
  letter-spacing: -.045em;
}
.bscsh .bscsh-logo--text > small {
  font-size: clamp(7px,calc(var(--bscsh-effective-logo-width) * .045),17px);
  letter-spacing: .18em;
}
/* Mobil panel, sabit 70px yerine büyümüş header'ın hemen altından açılır. */
.bscsh .bscsh-mobile {top:100%;max-height:calc(100dvh - 82px);}
@media (max-width:600px) {
  .bscsh {
    /* Dil seçici + hamburger için ayrılan alan; sığmayan ölçüde kırpılma yok. */
    --bscsh-effective-logo-width: min(var(--bscsh-logo-mobile-width,132px),calc(100vw - 150px));
    min-height:70px;
  }
  .bscsh .bscsh-inner {min-height:70px;padding-top:7px;padding-bottom:7px;}
  .bscsh .bscsh-logo-media {
    width:var(--bscsh-effective-logo-width);
    height:auto;
  }
  .bscsh .bscsh-mobile {top:100%;max-height:calc(100dvh - 70px);}
}
