* {
  box-sizing: border-box;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #4c0504 #000000;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #000000;
}

*::-webkit-scrollbar-thumb {
  background-color: #4c0504;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

html,
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000;
  color: #fff;
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  justify-items: center;
}

#app {
  height: 100%;
  width: 1536px;
  min-width: 1536px;
  max-width: 1536px;
  display: grid;
  grid-template-rows: 160px minmax(0, 1fr) 98px;
}

#header {
  width: 100%;
  height: 160px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-control {
  width: 15px;
  height: 21px;
  background: transparent;
  border: 2px solid #555;
  border-radius: 3px;
  color: #beb9b9;
  cursor: pointer;
  font-size: 15px;
  line-height: 9px;
  padding: 0;
}
.value-control:first-of-type {
  margin-right: 2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.value-control:last-of-type {
  margin-left: 2px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.value-input {
  margin: 1px 0 0 0;
  height: 21px;
  width: 30px;
  border: 2px solid #555;
  padding: 2px 8px;
  text-align: center;
  font-size: 15px;
  background: transparent;
  color: #beb9b9;
  padding: 0;
}
.value-input::-webkit-outer-spin-button, .value-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#products {
  width: 100%;
  flex: 1;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}
#products > .container {
  display: flex;
  flex-direction: row;
  column-gap: 30px;
}
#products > .container > .side {
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  width: 50%;
}
#products > .container > .side > .header {
  display: flex;
  border: 2px solid #4c0504;
  background: #2b0402;
  border-radius: 5px;
  padding: 2px 8px;
  box-sizing: content-box;
}
#products > .container > .side > .header > div {
  flex: 1;
}
#products > .container > .side > .header > div.category {
  text-align: center;
  width: 124px;
  max-width: 124px;
  min-width: 124px;
}
#products > .container > .side > .header > div.part {
  display: flex;
  width: 100%;
  white-space: nowrap;
}
#products > .container > .side > .header > div.price {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 125px;
  min-width: 125px;
  max-width: 125px;
}
#products > .container > .side > .header > div.qty {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 114px;
  min-width: 114px;
  max-width: 114px;
}
#products > .container > .side > .header > div.total {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}
#products > .container > .side > .category {
  display: flex;
  flex-direction: row;
  border: 2px solid #4c0504;
  background-color: #0d0d0d;
  border-radius: 5px;
  padding: 0 8px;
  box-sizing: content-box;
}
#products > .container > .side > .category:hover {
  background-color: #212121;
}
#products > .container > .side > .category > .cat_image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 124px;
  max-width: 124px;
  min-width: 124px;
  border-right: 1px solid #4c0504;
}
#products > .container > .side > .category > .product_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}
#products > .container > .side > .category > .product_container > .product {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #4c0504;
  padding-bottom: 3px;
  padding-left: 10px;
  height: 100%;
}
#products > .container > .side > .category > .product_container > .product:hover {
  background-color: #353535;
}
#products > .container > .side > .category > .product_container > .product > div {
  flex: 1;
}
#products > .container > .side > .category > .product_container > .product > div.part {
  display: flex;
  align-items: center;
  width: 100%;
}
#products > .container > .side > .category > .product_container > .product > div.price {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 125px;
  min-width: 125px;
  max-width: 125px;
}
#products > .container > .side > .category > .product_container > .product > div.qty {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 114px;
  min-width: 114px;
  max-width: 114px;
}
#products > .container > .side > .category > .product_container > .product > div.total {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}

#footer {
  width: 100%;
  height: 98px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#footer > .final_price {
  position: absolute;
  top: 15px;
  right: 332px;
}
#footer > .final_price > h2 {
  color: #bdb2a8;
  font-size: 18px;
  margin: 0;
  padding: 0;
}
#footer > .final_price > .final_price {
  color: #e1261b;
  font-size: 35px;
  display: flex;
  justify-content: center;
}
#footer > .submit_order {
  position: absolute;
  top: 18px;
  right: 29px;
}
#footer > .submit_order > .submit_order {
  height: 60px;
  width: 265px;
  font-size: 24px;
  color: #fff;
  border: 2px solid #c20c09;
  background-color: #8e0200;
  border-radius: 10px;
}
#footer > .submit_order > .submit_order:hover {
  background-color: #c00402;
  cursor: pointer;
}
