
/* MERBA ELEKTRİK - GLOBAL MOBILE/PREMIUM OVERRIDES */
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:hidden;-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
img,video,svg{max-width:100%;height:auto}
button,input,select,textarea{max-width:100%;font:inherit}
table{max-width:100%}
@media (max-width: 900px){
  .wrap,.container,.page-wrap,.content-wrap{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important}
  .header-grid,.topbar .wrap,.head-actions,.topbar-market{gap:10px!important}
  .header-grid{grid-template-columns:1fr!important;height:auto!important;min-height:0!important;padding:12px 0!important}
  .logo.site-logo-img,.logo{max-width:100%!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;margin:0 auto!important}
  .logo.site-logo-img img,.logo img{width:min(240px,80vw)!important;max-width:100%!important;height:auto!important;max-height:100px!important}
  .topbar{height:auto!important;min-height:0!important;padding:8px 0!important}
  .topbar .wrap{flex-wrap:wrap!important;justify-content:center!important;text-align:center}
  .topbar-market{justify-content:center!important;flex-wrap:wrap!important}
  .topbar-market a{min-height:36px!important}
  .head-actions{width:100%!important;justify-content:center!important;flex-wrap:wrap!important}
  .ha{min-width:0!important;flex:1 1 140px!important}
  nav,.nav,.category-nav,.menu{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .hero,.hero-grid,.main-grid,.product-grid,.products-grid,.listing-grid{grid-template-columns:1fr!important}
  .sidebar-categories,.category-sidebar{display:none!important}
  .content-area,.main-content{width:100%!important}
  .products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .card,.product-card{min-width:0!important}
  .card img,.product-card img{max-height:220px;object-fit:contain}
  .product-detail,.product-detail-grid,.product-layout{grid-template-columns:1fr!important}
  .product-detail-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .product-detail-actions a,.product-detail-actions button{width:100%!important;min-height:48px!important}
  .form-grid,.grid2,.form-row-2,.two-col,.two-column{grid-template-columns:1fr!important}
  .field.full{grid-column:auto!important}
  .modal{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important}
  .drawer{width:min(430px,94vw)!important}
  .cart-item{grid-template-columns:48px 1fr!important}
  .cart-item>div:last-child{grid-column:2}
  table{display:block!important;overflow-x:auto!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch}
  th,td{min-width:110px}
  .pagination{flex-wrap:wrap!important;gap:6px!important}
  footer,.foot,.legal-footer-top,.legal-footer-bottom{display:block!important;text-align:center!important}
  .foot>*{margin:10px 0!important}
  .legal-footer-links{justify-content:center!important;flex-wrap:wrap!important;gap:8px!important}
  .login-shell{grid-template-columns:1fr!important}
  .login-info{display:none!important}
  .account-hero{flex-direction:column!important;align-items:flex-start!important}
  .account-grid,.help-box{grid-template-columns:1fr!important}
  .submit-row{flex-direction:column!important;align-items:stretch!important}
  .submit-row>*{width:100%!important;text-align:center!important}
  .search-box,.search{width:100%!important}
  .search-box input,.search input{min-width:0!important;width:100%!important}
  .eft-marquee{max-width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important}
}
@media (max-width: 560px){
  .products{grid-template-columns:1fr 1fr!important}
  .product-card .title,.card .title{font-size:13px!important;line-height:1.25!important}
  .product-detail-title{font-size:24px!important}
  .product-detail-price{font-size:26px!important}
  .product-detail-trust{grid-template-columns:1fr 1fr!important}
  .bank-transfer-box{grid-template-columns:1fr!important;gap:8px!important}
  .topbar-market a{flex:1 1 42%!important;justify-content:center!important}
  .legal-card,.legal-content,.card{padding:16px!important}
  h1{font-size:25px!important}h2{font-size:21px!important}
}
@media (max-width: 380px){
  .products{grid-template-columns:1fr!important}
  .topbar-market a{flex-basis:100%!important}
}
