/* KIRSANOV mobile launch QA - 15 October 2026.
   Scoped responsive overrides only: no changes to desktop or product data. */
@media (max-width: 900px) {
  html, body {max-width:100%;overflow-x:clip}
  *, *::before, *::after {box-sizing:border-box}
  img, video, svg {max-width:100%}
  .site-header {
    position:relative!important;
    height:auto!important;
    min-height:0!important;
    padding:14px 20px 12px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    gap:12px 10px!important;
    align-items:center!important;
  }
  .site-header .brand {
    grid-column:1!important;grid-row:1!important;
    font-size:clamp(24px,4.3vw,31px)!important;
    letter-spacing:.12em!important;
    min-width:0!important;white-space:nowrap!important;
    line-height:1.15!important;
  }
  .site-header .header-end {
    grid-column:2!important;grid-row:1!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-wrap:nowrap!important;gap:9px!important;
    width:auto!important;min-width:0!important;
    position:static!important;transform:none!important;
  }
  .site-header .header-end .search {display:block!important;position:relative!important;flex:none!important}
  .site-header .header-end .divider {display:none!important}
  .site-header .header-end .enquire {display:inline-block!important;white-space:nowrap!important;font-size:12px!important;letter-spacing:.06em!important}
  .site-header .header-end .k-lang-select {
    display:block!important;position:static!important;transform:none!important;
    width:55px!important;min-width:0!important;max-width:55px!important;
    padding:5px 2px!important;font-size:12px!important;flex:none!important;
  }
  .site-header .nav, .site-header nav.nav {
    grid-column:1/-1!important;grid-row:2!important;
    display:flex!important;justify-content:space-between!important;
    align-items:center!important;flex-wrap:nowrap!important;
    width:100%!important;min-width:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    padding:7px 0 2px!important;margin:0!important;
    gap:clamp(12px,3vw,26px)!important;
    transform:none!important;order:initial!important;
    -webkit-overflow-scrolling:touch;
  }
  .site-header .nav a {
    flex:0 0 auto!important;white-space:nowrap!important;
    font-size:clamp(12px,1.65vw,15px)!important;line-height:1.3!important;
    letter-spacing:.07em!important;
  }
  .cat-wrap, main.cat-wrap {padding:32px 5vw 70px!important;max-width:100%!important}
  .cat-wrap h1, .k-site-h1, h1.k-type-display {font-size:clamp(32px,5vw,45px)!important;line-height:1.12!important}
  .subnav {display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:22px!important;padding:0 0 12px!important;margin:0 0 24px!important;-webkit-overflow-scrolling:touch}
  .subnav a {white-space:nowrap!important;flex:none!important;font-size:12px!important}
  .product-grid, .k-cabinet-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 18px!important}
  .product-grid .product, .k-cabinet-grid .product {min-width:0!important;max-width:100%!important}
  .product-grid img {width:100%!important;max-width:100%!important;object-fit:contain!important}
  .pd-layout {grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  .pd-info, .pd-hero, .pd-gallery, .rug-info, .rug-visual {min-width:0!important;max-width:100%!important}
  .pd-info h1 {overflow-wrap:break-word}
  .pd-accord {max-width:100%!important}
  .rug-detail-grid {grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  .rug-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
  .c-bespoke {grid-template-columns:minmax(0,1fr)!important;padding:28px 5vw!important}
  .c-process {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .k-footer {padding:38px 5vw 28px!important;max-width:100%!important}
  .k-footer .ka-row {display:flex!important;flex-direction:column!important;align-items:center!important;gap:18px!important;width:100%!important}
  .k-footer .ka-left, .k-footer .ka-right {display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:12px 18px!important;width:100%!important;min-width:0!important}
  .k-footer .ka-left a, .k-footer .ka-right a {white-space:normal!important;line-height:1.4!important}
  .k-footer .ka-copy {white-space:normal!important;text-align:center!important}
  input,select,textarea {max-width:100%}
}
@media (max-width: 600px) {
  .site-header {padding:12px 15px 10px!important;gap:10px 7px!important}
  .site-header .brand {font-size:clamp(21px,6vw,27px)!important;letter-spacing:.075em!important}
  .site-header .header-end {gap:6px!important}
  .site-header .header-end .enquire {font-size:11px!important}
  .site-header .header-end .k-lang-select {width:47px!important;max-width:47px!important;font-size:11px!important}
  .site-header .nav {justify-content:space-between!important;gap:12px!important}
  .site-header .nav a {font-size:12px!important;letter-spacing:.03em!important}
  .cat-wrap,main.cat-wrap {padding:25px 5vw 55px!important}
  .product-grid, .k-cabinet-grid {grid-template-columns:minmax(0,1fr)!important;gap:27px!important}
  .product-grid .product img {max-height:380px!important;height:auto!important;object-fit:contain!important}
  .product-grid .product h2 {margin-top:10px!important}
  .rug-grid {grid-template-columns:minmax(0,1fr)!important}
  .rug-grid .rug-card img {height:auto!important;max-height:420px!important;object-fit:contain!important}
  .c-bespoke .c-process {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
  .hero {height:min(650px,78svh)!important;min-height:400px!important}
  .hero-copy {max-width:calc(100vw - 40px)!important}
  .hero-copy h1 {font-size:clamp(31px,9vw,44px)!important}
  .hero-copy p {font-size:15px!important;line-height:1.4!important}
  .pd-page,.pd-wrap {padding-left:5vw!important;padding-right:5vw!important}
  .k-bureau-options .timber-buttons {flex-wrap:wrap!important}
  .k-footer .ka-left {gap:11px 15px!important}
}
