/* Original desktop artwork and geometry remain above this breakpoint. */
@media screen and (max-width: 959px) {
  #wrap { width:auto; max-width:940px; margin:0 8px; }
  #header, #header > .wrap, #nav, #nav > .wrap, #inner,
  #content-sidebar-wrap, .content-sidebar #content-sidebar-wrap,
  .sidebar-content #content-sidebar-wrap, .full-width-content #content-sidebar-wrap,
  #content, .content-sidebar #content, .sidebar-content #content,
  .full-width-content #content, #sidebar, #cfooter, #footer { width:100%; box-sizing:border-box; }
  #header { display:flex; align-items:center; gap:12px; height:auto; min-height:112px; margin-top:12px; }
  #header > .wrap { display:flex; align-items:center; gap:12px; }
  #header a.logo { flex:0 0 80px; width:80px; height:auto; }
  #header a.logo2 { flex:1 1 auto; width:calc(100% - 92px); height:auto; margin:0; }
  #header a.logo img, #header a.logo2 img { display:block; width:100%; height:auto; }
  #nav { height:auto; float:none; overflow:visible; background:#363636; }
  #nav ul.menu { display:flex; flex-wrap:wrap; float:none; width:100%; margin:0; padding:0; }
  #nav ul.menu > li { float:none; width:25%; height:auto; box-sizing:border-box; }
  #nav li a { padding:12px 8px; min-height:44px; box-sizing:border-box; }
  #nav li ul.sub-menu { position:static; left:auto; width:100%; height:auto; margin:0; background:#292929; }
  #nav ul.sub-menu li { float:none; height:auto; width:100%; }
  #nav ul.sub-menu li a { display:block; margin:0; padding:10px; min-height:44px; }
  .search-box { float:none; clear:both; margin:10px 0 10px auto; }
  #content-sidebar-wrap { float:none; padding:8px; }
  #content, .content-sidebar #content, .sidebar-content #content { float:none; padding:14px; margin:0 0 16px; }
  #sidebar { float:none; padding:12px; margin:0; }
  #sidebar .wakefield-categories li > a { display:block; min-height:44px; padding:12px 44px 12px 0; box-sizing:border-box; }
  #sidebar .wakefield-categories .category-toggle { width:44px; height:44px; font-size:24px; }
  #sidebar .wakefield-advanced-search select, #sidebar .wakefield-advanced-search input[type="search"] { min-height:44px; font-size:16px; }
  #sidebar .wakefield-native-cart .woocommerce-mini-cart li { padding-right:44px; }
  #sidebar .wakefield-native-cart .woocommerce-mini-cart .remove { width:44px; height:44px; line-height:44px; top:0; }
  #content button, #sidebar button, #content .button { min-height:44px; }
  #content input.input-text, #content textarea, #content select { font-size:16px; }
  #content img, #sidebar img { max-width:100%; height:auto; }
  .home .entry-content, .home .post, .home #content, .home .home-wrapper,
  .home .slide-wrap, .home .cproducts { width:100%; height:auto; box-sizing:border-box; }
  .home #content { padding:0; }
  .home .slide-wrap { float:none; padding:8px; background:#fff; border:1px solid #c3c3c3; box-shadow:0 0 5px #ccc; }
  .home #rotator { position:static; }
  .home #rotator .wakefield-hero { width:100%; height:auto; }
  .home .rightblock { float:none; margin:16px auto; }
  .home .rightblock p { padding-top:112px; margin-top:0; }
  .home .clearline { width:100%; }
  .home .cproducts { float:none; }
  .home .cproducts ul { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0; padding:0; }
  .home .cproducts ul li { float:none; width:100%; height:auto; aspect-ratio:170/195; margin:0; background-size:100% 100%; box-sizing:border-box; }
  .social-wrapper { display:flex; flex-wrap:wrap; gap:14px; float:none; width:100%; margin:16px 0; }
  .social-wrapper a.block-link { float:none; margin:0; }
  .social-wrapper #mailchimp { float:none; width:100%; max-width:501px; height:auto; min-height:56px; margin:0; background-size:100% 56px; }
  .social-wrapper #mailchimp fieldset { position:static; display:flex; justify-content:flex-end; gap:8px; width:auto; height:auto; padding:15px 8px; }
  .social-wrapper #mce-EMAIL { width:130px; max-width:100%; margin:0; box-sizing:border-box; }
  .social-wrapper .social-links { float:none; margin:0; }
  #cfooter { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; height:auto; padding:16px; background:#303030; }
  #cfooter .box1, #cfooter .box2, #cfooter .box3, #cfooter h4 { float:none; width:100%; margin:0; }
  #cfooter a { overflow-wrap:anywhere; }
  #footer { float:none; padding:14px 0; }
  #footer .creds, #footer .gototop { float:none; width:auto; }
  .blog .post { float:none; width:100%; height:auto; margin:0 0 24px; }
  .wakefield-catalog .cat-header-wrap, .wakefield-catalog .cat-product-list { width:100%; box-sizing:border-box; }
  .single-product #content .wakefield-single .desc-wrapper { margin-left:0; clear:both; }
  .single-product #content .wakefield-single h2.desc-title { float:none; width:auto; }
  .woocommerce .woocommerce-breadcrumb { overflow-wrap:anywhere; }
}
@media screen and (max-width: 600px) {
  #nav ul.menu > li { width:50%; }
  .home .cproducts ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wakefield-catalog .products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #cfooter { grid-template-columns:1fr; }
  .social-wrapper #mailchimp { padding-top:56px; }
  .social-wrapper #mailchimp fieldset { justify-content:flex-start; padding:8px 0; }
  body.woocommerce-checkout #content .form-row-first, body.woocommerce-checkout #content .form-row-last { float:none; width:100%; }
}
