/* ALTAY P43 - MOBIL STABIL GERI DONUS
   P39-P42 mobil override zincirini kullanmadan sadece mobil görünümü sabitler. */
@media (max-width: 820px){
  html,body{overflow-x:hidden!important;width:100%!important;max-width:100%!important;}
  body.altay-production-store .site-shell{width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#f4f7fb!important;}

  /* HEADER: logo kırpılmasın, ikonlar taşmasın */
  body.altay-production-store .altay-clean-header{position:relative!important;top:auto!important;width:100%!important;max-width:100%!important;overflow:visible!important;background:#fff!important;}
  body.altay-production-store .altay-clean-main{background:#fff!important;overflow:hidden!important;}
  body.altay-production-store .altay-clean-main__inner{
    width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:12px 10px 10px!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'logo actions' 'search search'!important;
    gap:10px 8px!important;align-items:center!important;box-sizing:border-box!important;overflow:hidden!important;
  }
  body.altay-production-store .altay-header-logo{grid-area:logo!important;width:220px!important;max-width:calc(100vw - 158px)!important;height:48px!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;}
  body.altay-production-store .altay-header-logo img{width:220px!important;max-width:100%!important;height:46px!important;max-height:46px!important;object-fit:contain!important;object-position:left center!important;display:block!important;}
  body.altay-production-store .altay-clean-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-width:0!important;max-width:148px!important;overflow:visible!important;}
  body.altay-production-store .altay-store-panel-button{display:none!important;}
  body.altay-production-store .altay-clean-icon,
  body.altay-production-store .altay-clean-menu-button{width:38px!important;height:38px!important;min-width:38px!important;border-radius:14px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;}
  body.altay-production-store .altay-clean-icon svg,
  body.altay-production-store .altay-clean-menu-button svg{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;}
  body.altay-production-store .altay-clean-badge{right:-4px!important;top:-6px!important;min-width:18px!important;height:18px!important;line-height:14px!important;font-size:10px!important;}
  body.altay-production-store .altay-clean-search{grid-area:search!important;width:100%!important;max-width:100%!important;position:relative!important;margin:0!important;overflow:visible!important;}
  body.altay-production-store .altay-clean-search input{width:100%!important;height:50px!important;max-width:100%!important;border-radius:15px!important;padding:0 58px 0 16px!important;box-sizing:border-box!important;font-size:14px!important;}
  body.altay-production-store .altay-clean-search button{width:42px!important;height:42px!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:0!important;}
  body.altay-production-store .altay-clean-search button svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;display:block!important;}
  body.altay-production-store .altay-clean-nav{display:none!important;}

  /* HERO: tek ekranda dev siyah alan yapmasın */
  body.altay-production-store .hero-slider-section,
  body.altay-production-store .hero-slider-section-full{width:100%!important;max-width:100%!important;overflow:hidden!important;background:#050505!important;}
  body.altay-production-store .hero-slider,
  body.altay-production-store .hero-slider-clean{height:430px!important;min-height:430px!important;max-height:430px!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  body.altay-production-store .hero-slide{height:430px!important;min-height:430px!important;background-size:cover!important;background-position:center top!important;}
  body.altay-production-store .hero-slider-dots{bottom:12px!important;}

  /* ÜST KATEGORİ: kırpılan/kaybolan başlıkları toparla */
  body.altay-production-store .home-collections-strip{width:calc(100% - 18px)!important;max-width:calc(100% - 18px)!important;margin:10px auto 16px!important;padding:0!important;overflow:visible!important;}
  body.altay-production-store .home-collections-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;overflow:visible!important;}
  body.altay-production-store .home-collection-mini{height:76px!important;min-height:76px!important;max-height:76px!important;border-radius:16px!important;padding:8px!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;overflow:hidden!important;background:#fff!important;box-sizing:border-box!important;}
  body.altay-production-store .home-collection-mini-media{width:58px!important;height:52px!important;min-width:58px!important;border-radius:12px!important;overflow:hidden!important;background:#f1f3f6!important;}
  body.altay-production-store .home-collection-mini-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;}
  body.altay-production-store .home-collection-mini-copy{min-width:0!important;overflow:hidden!important;display:block!important;}
  body.altay-production-store .home-collection-mini-copy small{display:block!important;font-size:9px!important;line-height:1.05!important;font-weight:800!important;letter-spacing:0!important;margin:0 0 3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#7b8799!important;}
  body.altay-production-store .home-collection-mini-copy strong{display:block!important;font-size:16px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.03em!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#071020!important;}

  /* ÜRÜN KARTLARI: görsel daha önde olsun */
  body.altay-production-store .home-row-section.altay-unified-product-section{width:calc(100% - 18px)!important;max-width:calc(100% - 18px)!important;margin:14px auto 22px!important;padding:18px 12px 22px!important;border-radius:22px!important;overflow:hidden!important;}
  body.altay-production-store .home-row-section .section-head{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;text-align:center!important;margin-bottom:16px!important;}
  body.altay-production-store .home-row-section .section-head h2{font-size:34px!important;line-height:1!important;margin:0!important;}
  body.altay-production-store .home-row-section .section-head a{height:44px!important;padding:0 20px!important;border-radius:999px!important;}
  body.altay-production-store ul.products.altay-home-products-grid,
  body.altay-production-store ul.products.altay-unified-products-grid,
  body.altay-production-store .home-row-section ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
  body.altay-production-store ul.products > li.product{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;float:none!important;}
  body.altay-production-store li.product .altay-loop-media{height:178px!important;min-height:178px!important;max-height:178px!important;aspect-ratio:auto!important;border-radius:16px 16px 0 0!important;overflow:hidden!important;background:#05080f!important;}
  body.altay-production-store li.product .altay-loop-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;display:block!important;}
  body.altay-production-store li.product .altay-loop-body{min-height:150px!important;padding:12px 10px 14px!important;}
  body.altay-production-store li.product .altay-loop-title{font-size:12px!important;line-height:1.18!important;min-height:44px!important;}
  body.altay-production-store li.product .altay-loop-price{font-size:18px!important;}

  /* FOOTER logo altındaki çizgiler */
  body.altay-production-store .altay-footer-crest-divider,
  body.altay-production-store .altay-footer-crest-divider *{border:0!important;box-shadow:none!important;}
  body.altay-production-store .altay-footer-crest-divider:before,
  body.altay-production-store .altay-footer-crest-divider:after,
  body.altay-production-store .altay-footer-wrap:before{display:none!important;content:none!important;}
}
@media (max-width: 380px){
  body.altay-production-store .altay-header-logo{width:202px!important;max-width:calc(100vw - 150px)!important;}
  body.altay-production-store .altay-header-logo img{width:202px!important;}
  body.altay-production-store .altay-clean-actions{gap:5px!important;max-width:142px!important;}
  body.altay-production-store .altay-clean-icon,
  body.altay-production-store .altay-clean-menu-button{width:36px!important;height:36px!important;min-width:36px!important;}
  body.altay-production-store li.product .altay-loop-media{height:166px!important;min-height:166px!important;max-height:166px!important;}
}
