.classic #logo nav, .catalog #logo nav { float:left; width:380px; height:110px; padding-top:105px }
#logo #m1 { margin-left:230px }
#logo #m2 { margin-left:170px }
#logo #m3 { margin-left:110px; width:120px }
#logo #m4 { margin-left:50px; width:160px; background-image:url("../img/cart.png") }
#logo:has(#m1:hover, #m1:focus-visible) nav { background:url("../img/light.png") no-repeat 230px 65px }
#logo:has(#m2:hover, #m2:focus-visible) nav { background:url("../img/light.png") no-repeat 170px 90px }
#logo:has(#m3:hover, #m3:focus-visible) nav { background:url("../img/light.png") no-repeat 110px 115px }
.legacy-footer small { float:right; line-height:49px; color:white; font-weight:bold; margin-inline:8px }
#brush-header { min-height:90px; background:#004800 }
#brush-header>a { display:block; height:70px }
#brush-header img { padding-inline:15px }
#brush-header #menu { min-height:20px; display:flow-root }
.classic #content .legacy-home { height:740px; width:100%; position:relative }
.classic .article, .brush .article, .catalog .article { overflow-x:auto; max-width:100% }
.classic .article img, .brush .article img { max-width:100%; height:auto }
.classic .price-tables { display:flex; align-items:flex-start; gap:3px }
.classic .price { width:50% }
.price th:first-child,.price td:first-child { width:10%; text-align:center }
.catalog #secondary { float:none; margin:0 20px 12px auto }
.catalog #secondary .search { margin:0 }
.search label { display:block }
#secondary .search label { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden }
.search form>div { display:flex; gap:4px; align-items:center }
.search input { flex:1; min-width:0 }
.search ul:empty, .search p:empty { display:none }
.catalog #main { min-height:210px }
.catalog .entry-content { display:flow-root }
.catalog ul.products li.product h3 { color:inherit }
.catalog ul.products li.product img { aspect-ratio:1/1; object-fit:contain }
.catalog li.product .price { color:#77a464 }
.catalog ul.products { margin-left:0 }
.catalog .product-summary { display:flow-root }
.catalog .product-summary .images>a { display:block; margin:0 0 8px }
.catalog .product-summary img { max-width:100%; height:auto }
.catalog .product-summary dd { margin-left:0 }
.catalog .product-summary dl div { display:flex; flex-wrap:wrap; gap:3px 12px }
.catalog .product-summary dd { margin-bottom:0 }
.catalog ul.chips { display:flex; flex-wrap:wrap; gap:4px 12px; list-style:none; margin-left:0 }
.catalog .woocommerce-pagination { margin-block:10px }
.catalog .woocommerce-pagination ul { margin-left:0 }
.catalog #content .woocommerce-pagination li { margin:0 }
.catalog .woocommerce-tabs { clear:both; margin-top:16px }
.catalog .woocommerce-tabs ul.tabs li { padding:4px 12px }
.catalog .woocommerce-tabs .panel { margin:0 0 1.5rem }
@media (max-width:970px) {
  .classic #shadow,.brush #shadow,.classic #shadow_b,.brush #shadow_b,.catalog #wrapper,.catalog #shadow_b {
    width:auto; padding-inline:0;
  }
  .classic #page,.brush #page,.catalog #main,.catalog #footer,.classic #foot,.brush #foot {
    width:auto;
  }
  .classic #content,.brush #content { width:auto; padding-inline:clamp(12px,4vw,38px) }
  .classic #logo,.catalog #logo { width:auto; height:auto; min-height:130px; display:flow-root; background-size:auto 100% }
  #logo img { width:28%; height:auto }
  .classic #logo nav,.catalog #logo nav { width:auto; height:auto; padding:10px; float:none; display:flow-root; clear:both }
  #logo:has(#m1:hover, #m2:hover, #m3:hover) nav { background:none }
  #logo #m1,#logo #m2,#logo #m3,#logo #m4 { margin-left:0; float:none; display:inline-block; vertical-align:middle }
  .classic #content .legacy-home { height:auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); gap:12px; margin-top:16px }
  .classic .legacy-home a.x,.classic .legacy-home a.x:hover {
    position:static; box-sizing:border-box; float:none; width:100%; height:auto; aspect-ratio:1; margin:0; padding:0;
    display:grid; place-content:center; background-size:cover!important; font-size:20px
  }
  .classic .price-tables { flex-wrap:wrap }
  .classic .price { width:100% }
  #content .prod_list>li { width:auto; height:auto; display:flow-root; margin-left:20px }
  #content .prod_list ul,#content .prod_list ul li { width:auto }
  .legacy-footer small { display:none }
}
