/* Latifa Engineering V8 · Public frontend only, admin/database untouched */
/* Matching topbar height/alignment on home and detail templates. */
body.lmv3-page .page-wrapper > .topbar-one{
  box-sizing:border-box;padding:12px clamp(16px,2.7vw,45px) 10px!important;min-height:78px;
}
body.lmv3-page .topbar-one__inner,
body.lmv3-page .topbar-one__info__item{min-height:54px;align-items:center;}
body.lmv3-page .topbar-one__info__item__content{display:flex;flex-direction:column;justify-content:center;min-width:0;}
body.lmv3-page .topbar-one__info__item__subtitle{
  margin:0 0 5px!important;padding:0!important;line-height:1.15!important;
}
body.lmv3-page .topbar-one__info__item :is(a,p,.topbar-one__info__item__location){
  margin:0!important;padding:0!important;line-height:1.25!important;
}
body.lmv3-page .topbar-one__info__item+.topbar-one__info__item{margin-left:clamp(18px,2.5vw,52px);}
body.lmv3-page .topbar-one__right{margin-top:0!important;}
@media(max-width:1199px){body.lmv3-page .page-wrapper>.topbar-one{padding-block:10px!important;min-height:0;}}
@media(max-width:767px){body.lmv3-page .page-wrapper>.topbar-one{padding-block:0!important;}}

/* Server-rendered first frame: no waiting for JS before the section image appears. */
body.lmv3-home .page-wrapper>section.lmv7-has-cinema>.lmv7-cinema{
  display:block!important;position:absolute!important;inset:0!important;
  z-index:2!important;width:100%!important;height:100%!important;
  background-color:#0b1510;background-size:cover;background-position:center center;
  pointer-events:none;overflow:hidden;
}
body.lmv3-home .page-wrapper>section.lmv7-has-cinema>.lmv7-cinema>video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .18s ease!important;pointer-events:none;
}
body.lmv3-home .page-wrapper>section.lmv7-has-cinema>.lmv7-cinema.lmv7-cinema-playing>video{opacity:1;}
body.lmv3-home .page-wrapper>section.lmv7-has-cinema :is(.wow,.wow.fadeInUp){
  visibility:visible!important;opacity:1!important;
  animation:none!important;transform:none!important;transition:none!important;
}
body.lmv3-home .page-wrapper>section.lmv7-has-cinema>.main-slider-one__bg{display:none!important;}

/* Product imagery: preserve images supplied in mod_urunler.grafik and medya.link. */
body.lm-page-urunler .lmv8-product-media{
  display:flex;align-items:center;justify-content:center;min-height:150px;width:100%;
}
body.lm-page-urunler .lmv8-product-media img{
  display:block;width:100%;max-width:490px;max-height:min(55svh,570px);
  height:auto;object-fit:contain;transform:none!important;animation:none!important;transition:none!important;
}
body.lm-page-urunler .lmv8-gallery-section{background:linear-gradient(140deg,#19231d,#0a100d)!important;}
body.lm-page-urunler .lmv8-gallery-section .lmv8-gallery-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
  max-height:min(65svh,660px);overflow-y:auto;
}
body.lm-page-urunler .lmv8-gallery-tile{
  display:flex;align-items:center;justify-content:center;margin:0;
  background:linear-gradient(145deg,#1c2821,#101814);padding:14px;border-radius:4px;
}
body.lm-page-urunler .lmv8-gallery-tile img{display:block;width:100%;height:185px;object-fit:contain;}
@media(max-width:767px){
  body.lm-page-urunler .lmv8-gallery-section .lmv8-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:62svh;}
  body.lm-page-urunler .lmv8-gallery-tile img{height:140px;}
  body.lm-page-urunler .lmv8-product-media img{max-height:34svh;}
}
