#category-container {
  padding-top: 48px; }

#category-container h1 {
  display: inline-block;
  line-height: 38px;
  margin-right: 8px;
  margin-bottom: 24px; }

#category-container .product-count {
  display: inline-block;
  line-height: 28px;
  font-size: 140%; }

.prod-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
  justify-content: flex-start;
  justify-items: flex-start;
  margin-top: 40px;
  padding: 24px; }

.prod-item {
  display: flex;
  width: calc((100%/4) - 18px);
  background: #fff;
  padding: 24px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 2px;
  flex-wrap: wrap; }

.prod-item:hover {
  border-color: #141414;
  border-radius: 4px; }

.prod-item-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-grow: 1; }

.prod-item a, .prod-item-container a {
  text-decoration: none;
  color: #141414;
  display: flex;
  flex-direction: column;
  align-content: stretch;
  width: 100%; }

.prod-item-container h2 {
  font-size: 150%;
  line-height: 1;
  word-break: break-word; }

.prod-item-container .image-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%; }

.prod-item-container .image-container img {
  max-height: 100%;
  margin: 0 auto; }

.prod-pricing {
  margin-left: auto;
  margin-right: auto; }

.reduced-price-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  font-size: 150%; }

.reduction {
  width: auto; }

.percentage-arrow {
  display: inline-flex;
  align-items: center;
  background-color: red;
  color: white;
  padding: 0.5em 0 0.5em 0.5em;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  border-radius: 0.5em 0 0 0.5em;
  white-space: nowrap; }

.percentage-arrow::after {
  content: "";
  position: absolute;
  right: -1em;
  /* controls how far out the arrow sticks */
  top: 0;
  width: 0;
  border-top: 1.25em solid transparent;
  border-bottom: 1.25em solid transparent;
  border-left: 1em solid red; }

/* Responsive tweak */
@media (max-width: 600px) {
  .percentage-arrow {
    font-size: 0.875rem;
    padding: 0.4em 0.8em; }

  .percentage-arrow::after {
    right: -0.75em;
    border-top: 1.175em solid transparent;
    border-bottom: 1.175em solid transparent;
    border-left: 0.8em solid red; } }
.reduced-price {
  width: auto;
  margin-left: 20px; }

.reduced-price-container .vat {
  width: auto;
  font-size: 50%;
  line-height: normal; }

.regular-price {
  width: auto;
  text-decoration: line-through;
  font-size: 70%;
  color: darkgrey; }

.parts-list-container a {
  text-decoration: underline;
  margin-top: 12px; }

@media (max-width: 960px) {
  .prod-container {
    padding: 24px;
    gap: 24px; }

  .prod-item {
    width: calc(50% - 13px); } }
@media (max-width: 600px) {
  .prod-container {
    padding: 24px;
    gap: 24px; }

  .prod-item {
    width: 100%; } }
