@media only screen and (max-width: 1020px) {
  .tablet-hide { display:none; }
  .tablet-show { display:block; }
  #header { height:auto; }
  #header #logo { width:300px; margin:auto; padding:20px 0; position:static; }
  #header #logo img { width:100%; }
  #header #search { top:137px; right:10px; }
  #footer { padding:20px; overflow:hidden; }
  #footer .column { box-sizing:border-box; width:47%; margin:0 3% 0 0; height:200px; }
  #footer .column-last { width:auto; float:none; margin-bottom:30px; height:auto; }
  #footer .column:nth-child(3n) { height:140px; }
  #footer .column:nth-child(4n) { height:140px; }
  #content { padding:0 20px; }
  
  #menu { height:auto; padding:0; }
  #menu .mobile-menu { text-align:left; display:none; }
  #menu .mobile-menu li { display:block; padding:0; }
  #menu > ul > li:hover > a { border-radius:0; }
  #menu ul ul { display:none; }
  #menu ul li a { padding:15px; }
  
}
@media only screen and (max-width: 900px) {
  .product-info > .left { float:none; width:auto; }
  .product-info .image { float:none; max-width:500px; width:100%; padding:0; }
  .product-info .image img { width:100%; }
  .product-info > .left + .right { margin-left:0; float:none; width:auto; }
  .paymentlist { display:none; }
}
@media only screen and (max-width: 700px) {
  .product-grid > div { width:30%; margin:0 3% 5% 0; display:block; float:left; }
  .product-grid > div:nth-child(3n) { margin-right:0; }
  .product-grid .image { width:60%; margin:0 auto 20px auto; }
  .product-grid .name { min-height:50px; }
  #header #search { width:170px; }
  #header #search input { width:130px; }
}
@media only screen and (max-width: 600px) {
  .product-grid > div { width:47%; }
  .product-grid > div:nth-child(2n) { margin-right:3%; }
  .product-grid > div:nth-child(3n) { margin-right:0; }
  
}