* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  vertical-align: top;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: Arial;
}

.catsList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin: 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.catsList a {
  display: block;
  color: red;
  text-decoration: none;
}

.sel_1 {
  color: red !important;
}

.prodInfo {
  padding: 40px;
  line-height: 2;
}
.prodInfo > div span {
  font-size: 80%;
  opacity: 0.5;
  display: inline-block;
  margin-top: 4px;
  margin-right: 20px;
  width: 100px;
}
.prodInfo .name {
  font-size: 150%;
}
.prodInfo .oldPrice {
  text-decoration: line-through;
  color: gray;
}

.acprice {
  color: red;
  font-size: 140%;
}

.items_list a {
  display: block;
  color: white;
}

.pageProd {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 400px;
  grid-template-columns: 1fr 400px;
}
.pageProd .images {
  overflow: auto;
  background: #ccc;
  padding: 20px;
  height: 100vh;
}
.pageProd .images img {
  display: block;
  width: 100%;
  height: auto;
}

.page {
  min-height: 100vh;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 250px 30px 1fr 30px 200px;
  grid-template-columns: 250px 1fr 200px;
  gap: 30px;
}
.page.inside {
  -ms-grid-columns: 1fr 200px !important;
  grid-template-columns: 1fr 200px !important;
}
.page .user {
  background: #444;
  color: white;
  padding: 14px;
}
.page .user label {
  display: block;
  margin-bottom: 20px;
}
.page .user label span {
  font-size: 80%;
  font-weight: bold;
  display: block;
}
.page .user label input {
  padding: 10px;
  width: 100%;
  border: none;
}
.page .cats {
  background: #eaeaea;
  overflow: auto;
  height: 100vh;
}
.page .prods {
  -ms-flex-item-align: baseline;
      align-self: baseline;
  overflow: auto;
  max-height: 100vh;
}
.page .prods,
.page .cats {
  padding: 20px;
}
.page .prods a,
.page .cats a {
  display: block;
  text-decoration: none;
  color: darkblue;
  font-weight: bold;
}
.page .cats a {
  display: block;
  margin-bottom: 5px;
}
.page .cats a.sub {
  color: black;
  margin-left: 20px;
  font-size: 90%;
}
.page .cats a.sub_1 {
  color: black;
  margin-left: 40px;
  font-weight: normal;
  font-size: 80%;
}
.page .cats a.sub_2 {
  color: black;
  margin-left: 60px;
  font-weight: normal;
  font-size: 70%;
}
.page .prods {
  gap: 10px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(5, 1fr);
}
.page .prods a {
  padding: 20px;
  position: relative;
  border: 1px solid #ccc;
}
.page .prods a:hover .image > img {
  display: none;
}
.page .prods a:hover .image .hidden {
  display: block;
}
.page .prods a .name {
  margin: 10px 0 50px 0;
  text-align: center;
}
.page .prods a .image .hidden {
  display: none;
}
.page .prods a .image img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.page .prods a .price {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: red;
  font-size: 80%;
}
.page .prods a .price .np {
  color: gray;
  display: block;
  text-decoration: line-through;
}