/* Product single page */
.single-product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.single-product__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}

/* Product thumbnail */

.single-product__item--left {
  align-items: center;
}

.equipment_thumbnail {
  max-width: 90%;
}

/* ?????? */
/* Hide arrows from number field */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
/* ????? */ 

/* Product short description */

.product_title {
  font-size: 24px;
  color: #353535;
  font-family: var(--base-font-family);
  font-weight: 700;
  position: relative;
}

/* Product list attributes */

.product-attributes {
  display: flex;
  flex-direction: column;
  gap: 0.35vh;
  list-style: unset;
  padding-left: 24px;
}

.product-attributes__item {
 /* display: flex;
  flex-direction: column;*/
  gap: 0.35vw;
  font-size: 18px;
}

.product-attributes__item:nth-child(1),
.product-attributes__item:nth-child(2) {
  flex-direction: row;
}

/* Quantity block of the product */

.flex-price-box {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cart {
  display: flex;
  gap: 1vw;
  align-items: center;
  width: 100%;
  justify-items: flex-start;
}

#wc-stripe-payment-request-wrapper,
#wc-stripe-payment-request-button-separator {
  display: none !important;
}
.single-product__item .outofstock {
  display: inline-block;
  margin: 15px 0;
  min-height: 44px;
  width: 250px;
  border-radius: 25px;
  border: 3px solid #ff0000;
  color: #ff0000;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 44px;
  text-transform: uppercase;
  font-weight: bold;
}

.quantity {
  display: flex;
  gap: 0.35vw;
  justify-content: center;
  align-items: center;
}

.quantity label {
  display: none;
}

.qty_button {
  border: none;
  cursor: pointer;
  font-size: 24px;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty_button:hover,
.qty_button:focus-visible {
  color: #cd2122;
}

@media screen and (max-width: 1080px) {
  .qty_button {
     width: auto;
  }
}

.woocommerce .quantity .qty {
  border-radius: 3px;
  width: 2.5rem;
  text-align: center;
  padding: 0.25rem;
  border: none;
  outline: none;
}

.woocommerce .cart .button,
.woocommerce .cart input.button {
  align-self: center;
  font-size: 14px;
}

.stock {
  font-size: max(1vw, 16px);
}

/* Product description */

.product_description {
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 1.75vh;
  font-size: 18px;
}
 
.product_description a{
	color: #cd2122;
    text-decoration: underline;
}
.product_replacement_part a {
	color: #cd2122;	
	font-weight: 700;
	display: block;
	padding: 5px;
}
.product_replacement_part a:hover {
	color: #5e0001;	 
    text-decoration: underline;
}

.replacement_parts-products h2{
	font-weight: 700;
    font-size: max(1.3vw, 17px);
	margin-bottom: 10px;
}
	

.product_description h2 {
  font-size: max(1.25vw, 18px);
  font-weight: 600;
}

.product_description ul {
  list-style: initial;
  padding-left: min(1.75vw, 1.5rem);
}

.uppsells_products .related-products--wrapper {
  margin-top: 0;
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

/* Modal window */
.modal-img-wrapper {
  display: flex;
  flex-direction: column;
  position: fixed;
  /* top: calc((100% + 12.5vh) / 2); */
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;
  background-color: rgb(0 0 0 / 75%);
  z-index: 999;
  transform: translate(-50%, -50%);
}

.modal-img-content {
  max-width: 100%;
  width: max(40%, 30rem);
  margin: auto;
}

.modal-img-wrapper img {
  width: 100%;
}

.hidden {
  display: none;
}

.price_cart_box {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 800px) {
  /* .products_content {
    margin: max(2.5vh, 2.5rem) auto;
  } */
  .single-product {
    flex-direction: column;
  }
  .single-product__item {
    width: 100%;
    /* align-items: center; */
  }
  .flex-price-box {
    align-items: center;
  }
  .product_title {
    font-size: max(5vw, 23px);
    text-align: center;
  }
  .product-attributes__item,
  .stock {
    font-size: max(2.5vw, 16px);
  }
  .cart {
    gap: min(3.5vw, 2.5rem);
    justify-content: center;
  }
  .price_cart_box {
    align-self: center;
    align-items: center;
  }
  .equipment_thumbnail {
    max-width: 65%;
  }
}

@media screen and (max-width: 650px) {
  .modal-img-wrapper {
    top: calc((100% + 10vh) / 2);
    height: 93.5vh;
  }
  .equipment_thumbnail {
    max-width: 90%;
  }
}
@media screen and (max-width: 550px) {
  .modal-img-content {
    width: 20rem;
  }
  .equipment_thumbnail {
    max-width: 100%;
  }
}
/* 
@media screen and (max-width: 450px) {
  .single-product__item {
    width: 100%;
  }
} */

@media screen and (min-width: 600px) and (max-width: 900px) and (orientation: landscape) {
  .product_content_row .single-product {
    flex-direction: row;
  }
  .single-product__item {
    width: calc((100% - 2.5vw) / 2);
  }
  .product_title {
    font-size: max(2vw, 23px);
  }
  .product-attributes__item,
  .stock {
    font-size: max(1vw, 16px);
  }
  .product_content_row {
    width: 100%;
  }
  .equipment_thumbnail {
    max-width: 80%;
  }

  /* .price_cart_box {
    align-self: flex-start;
    display: flex;
  } */
  .cart {
    justify-content: flex-start;
  }
  .product_title {
    text-align: left;
  }
  /* .single-product__item {
    width: 85%;
    align-items: center;
  } */
}
@media screen and (min-width: 400px) and (max-width: 800px) and (orientation: landscape) {
  .image_part img,
  .image_item img {
    max-width: 45%;
  }

  .product-post,
  .equipments-list__item {
    padding-top: 1rem;
  }
}
