/* Mobile-first refinements shared by every page */

html{overflow-x:hidden}
body{max-width:100%}
img,svg,video,table{max-width:100%}

@media (max-width:768px){
  .container{width:calc(100% - 24px)}
  .pad{padding:64px 0}
  .topbar{font-size:12px}
  .topbar .container{padding:8px 0;gap:8px}
  .topbar ul{gap:6px 14px}
  .nav{height:68px;gap:12px}
  .logo-img{height:50px}
  .nav-cta .btn{display:none}
  .menu-btn{width:42px;height:42px}
  nav.main{top:68px}

  .page-banner{padding:54px 0 62px}
  .page-banner h1{font-size:clamp(30px,8vw,46px);overflow-wrap:anywhere}
  .crumbs{flex-wrap:wrap;font-size:13px;gap:6px}
  .sec-head{margin-bottom:34px}
  .sec-head h2{font-size:clamp(26px,7vw,36px)}
  .sec-head p{font-size:15px}

  .hero{padding:0}
  .slide{padding:56px 0 110px;gap:28px}
  .slide h1{font-size:clamp(34px,9vw,52px)}
  .slide p{font-size:16px}
  .hero-art{max-width:300px}

  .grid-4,.pgrid,.wwd-grid,.mv-grid{grid-template-columns:1fr}
  .shop-layout{grid-template-columns:1fr}
  .sidebar{grid-template-columns:1fr;position:static}
  .sidebar .widget:nth-child(2){grid-row:auto}
  .cat-list{flex-wrap:wrap}
  .bar{flex-direction:column;align-items:flex-start;gap:10px}
  .sortl{width:100%;justify-content:space-between}

  .about,.contact,.services-wrap,.fgrid4{grid-template-columns:1fr}
  .about-art{max-width:100%}
  .service{min-height:0;padding:30px 24px}
  .service .num{font-size:70px}
  .about-more{margin-top:60px}
  .mv-grid{margin-bottom:60px}

  .detail-grid{grid-template-columns:1fr}
  .gallery{position:static}
  .g-main img{width:100%;height:auto}
  .feats{gap:12px}
  .feat{padding:18px;gap:12px}
  .feat h4{font-size:16px}
  .feat p{font-size:14px}
  .spec-title{font-size:22px}
  .spec-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .spec-table{min-width:600px}
  .spec-table th,.spec-table td{padding:11px 12px;font-size:13.5px}
  .ind-grid{grid-template-columns:1fr}
  .ind-section{margin-top:30px;padding-top:22px}
  .checks{grid-template-columns:1fr}
  .checks li{font-size:14px}

  .card{padding:26px 22px}
  .card h3{font-size:18px}
  .p-body{padding:20px}
  .p-actions{flex-direction:column;align-items:stretch;gap:10px}
  .p-actions .btn,.p-actions .link-d{width:100%;justify-content:center}

  .cta{flex-direction:column;align-items:flex-start;padding:30px 22px}
  .cta h2{font-size:24px}
  .cta-actions,.detail-cta{flex-direction:column;width:100%}
  .cta-actions .btn,.detail-cta .btn{width:100%;justify-content:center}
  .pdf-box{flex-direction:column;align-items:flex-start;gap:18px}
  .pdf-box .btn{width:100%;justify-content:center}
  .pdf-box>div{width:100%}

  form.cform,.contact-info{padding:28px 22px}
  .fgrid{grid-template-columns:1fr}
  input,select,textarea{font-size:16px}

  footer{padding-top:56px}
  .fgrid4{gap:26px;padding-bottom:40px}
  .copy{flex-direction:column;text-align:center;gap:8px}
  .totop{width:44px;height:44px;right:14px;bottom:14px}
}

@media (max-width:480px){
  .container{width:calc(100% - 20px)}
  .pad{padding:54px 0}
  .topbar ul{font-size:11px;gap:4px 10px}
  .topbar .hide-sm{display:none}
  .social a{width:28px;height:28px}
  .btn{padding:12px 18px;font-size:14px;width:100%;justify-content:center}
  .hero-actions{flex-direction:column;width:100%}
  .hero-actions .btn{width:100%}
  .slide{padding-right:0}
  .hero-nav{top:auto;bottom:18px;right:16px;width:40px;height:40px}
  .hero-nav.prev{bottom:70px}
  .chip{padding:9px 12px;font-size:12px}
  .chip i{width:26px;height:26px}
  .p-img img{padding:12px}
  .page-banner h1{font-size:30px}
  .crumbs{font-size:12px}
  .spec-table{min-width:520px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
