.products {
  margin-bottom: 8rem;
}

/* display banner */
.product-display-background {
  position: relative;
  height: 310px;
  background-color: rgba(0, 0, 0, 0.5);
}

.product-display-background::before {
  background-image: url("../images/about/product-banner.jpg");
  background-size: cover;
  background-position: center;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.display-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.display-banner-text {
  font-size: 10rem;
  color: white;
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 5px #e46c6c, 5px 5px 5px #2e2e2e;
  font-weight: 700;
}
/* end of display banner */

/* category selection */
.category-select-title-container {
  display: flex;
  margin-left: 4rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.category-select-title {
  font-size: 3rem;
  padding: 1rem;
}

.category-select-options {
  display: flex;
  flex-direction: row;
}

.category-select {
  font-size: 3rem;
  border-radius: 100vmax;
  min-width: 120px;
  text-align: center;
  background-color: #f6f2f1;
  border: 2px solid #f6f2f1;
  padding: 1rem;
  margin-left: 4rem;
  cursor: pointer;
  outline: none;
  /* stop the user selecting the text within the category-select buttons */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.category-select:hover {
  background-color: #e9d1d2;
}

.selected {
  background-color: #e9d1d2;
  border: 2px solid #e46c6c;
}
/* end of category selection */

/* sorting options */
.sorting-options-container {
  margin-bottom: 2rem;
  width: 100%;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;

}

.sorting-options-container {
  margin-left: auto;
  margin-right: 6rem;
  font-size: 1.8rem;
  font-family: inherit;
  background-color: #e9d1d2;
  outline: none;
  border: 2px solid #e46c6c;
  border-radius: 100vmax;
  cursor: pointer;
  min-width: 190px;
  width: 190px;
  display: flex;
  align-items: center;
}

.sorting-options-container::after {
  display: block;
  position: relative;
  content: "";
  width: 1.5rem;
  height: 1rem;
  margin-right: 10px;
  margin-left: auto;
  right: 10px;
  background-color: #6f242a;
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  pointer-events: none;
}

.sorting-options {
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  padding: 1rem;
  outline: none;
  border: none;
  width: 100%;
}

.sorting-options * {
  font-family: Saphira, Arial, Helvetica, sans-serif;
  background-color: #e9d1d2;
  color: #6f242a;
}
/* end of sorting options */

/* single product */
.single-product {
  margin-bottom: 2rem;
}

.single-product-details {
  display: flex;
}

.back-to-products {
  font-size: 3rem;
  margin-left: 5rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

.back-to-products:hover {
  cursor: pointer;
  color: #e46c6c;
}

.single-product-image-container {
  max-width: 55%;
  padding: 0 5rem;
  margin-top: 2.5rem;
  margin-bottom: 5rem;
}

.single-product-more-information {
  width: 45%;
  padding-right: 5rem;
  margin-top: 2.5rem;
}

.single-product-title {
  font-size: 3.8rem;
  text-align: center;
}

.single-product-title-small, .single-product-price-small {
  display: none;
}

.single-product-price {
  font-size: 2rem;
  text-align: center;
  color: #e46c6c;
  margin-top: 1.5rem;
}

.single-product-description {
  font-size: 1.8rem;
  font-family: 'Raleway', sans-serif;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.size-options-title {
  font-size: 2.5rem;
}

.size-select-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.size-select {
  font-size: 1.8rem;
  padding: 0.8rem;
  margin: 1rem 0;
  width: 50%;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;
  border: 1px solid #e46c6c;
  border-radius: 3px;
}

.quantity-basket-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
}

.add-quantity-container {
  width: 60%;
  font-size: 1.8rem;
  font-family: 'Raleway', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  padding: 1rem;
  border: 1px solid #e46c6c;
  margin: 1rem 0;
}

/* styles the - and + icons */
.qty-right > i {
  cursor: pointer;
  font-size: 2.5rem;
}

.qty-right > i:active {
  transform: scale(1.1);
  color: #e46c6c;
}

.add-quantity-container span {
  margin-left: 1rem;
}

.qty-right {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.product-qty {
  font-size: 2rem;
  width: 50px;
  max-width: 50px;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  padding: 0.3rem 0;
  margin: 0 0.5rem;
  border-radius: 3px;
}

.add-to-basket {
  font-size: 3rem;
  padding: 1.5rem;
  width: 80%;
  font-family: Saphira;
  background-color: #e9d1d2;
  outline: none;
  border: 2px solid #e46c6c;
  color: inherit;
  border-radius: 4px;
  margin: 3rem 0;
  -moz-transition: ease 0.5s;
	-ms-transition: ease 0.5s;
	-o-transition: ease 0.5s;
	transition: ease 0.5s;
  cursor: pointer;
}

.add-to-basket:hover, .add-to-basket:active {
  letter-spacing: 1px;
  -moz-transition: ease 0.5s;
	-ms-transition: ease 0.5s;
	-o-transition: ease 0.5s;
	transition: ease 0.5s;
}

.added-to-basket {
  background-color: #e46c6c;
  -moz-transition: ease 0.3s;
	-ms-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
}

.portion-size-guide-title {
  margin-top: 1.5rem;
  font-size: 1.9rem;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

.portion-size-guide h6, .portion-size-guide-small h6 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.3rem;
}

.discount-container {
  margin-top: 2.5rem;
  font-size: 1.9rem;
}

.discount-container a, .discount-container-small a {
  text-decoration: underline;
}

/* hide mobile discount and portion size guide */
.discount-container-small, .portion-size-guide-small {
  display: none;
}
/* end of single product */

/* media queries */
@media only screen and (max-width: 1142px) {
  .category-select-title-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
  }
}

@media only screen and (max-width: 995px) {
  .single-product-image-container {
    padding: 0 3rem;
  }

  .single-product-more-information {
    width: 45%;
    padding-right: 3rem;
  }

  .single-product-title {
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 910px) {
  .discount-container, .portion-size-guide {
    display: none;
  }

  .discount-container-small, .portion-size-guide-small {
    display: block;
    margin-top: 2.5rem;
  }

  .single-product-title {
    font-size: 3rem;
  }

  .add-quantity-container {
    width: 80%;
  }
}

@media only screen and (max-width: 810px) {
  .display-banner-text {
    font-size: 9rem;
  }

  .category-select-title, .category-select {
    font-size: 2.8rem;
  }

  .single-product-description {
    font-size: 1.7rem;
  }
}

@media only screen and (max-width: 755px) {
  .portion-size-guide {
    margin-top: -18rem;
  }

  .discount-container {
    position: absolute;
    left: 3rem;
    margin-top: -6rem;
  }

  .discount-container h4, .discount-container-small h4 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 700px) {
  .display-banner-text {
    font-size: 8rem;
  }

  .category-select-title-container > * {
    font-size: 2.5rem;
  }

  .add-to-basket, .add-quantity-container {
    width: 90%;
  }

  .size-select-container {
    display: flex;
    flex-direction: column;
  }

  .size-select {
    width: 90%;
  }
}

@media only screen and (max-width: 670px) {
  .product-display-background::before {
    background-image: url("../images/about/product-banner-mobile.jpg");
    background-position: top;
  }

  .display-banner-text {
    text-align: center;
  }

  .category-select-title-container {
    display: block;
    text-align: center;
    margin-top: 2rem;
  }

  .category-select-options {
    justify-content: center;
  }

  .category-select {
    min-width: 100px;
    margin: 0 2rem;
  }

  .category-select-title-container > * {
    font-size: 2.2rem;
  }

  .back-to-products {
    margin-left: 3rem;
  }

  .single-product-title {
    font-size: 2.5rem;
  }

  .single-product-description {
    font-size: 1.6rem;
  }

  .product-qty {
    width: 40px;
  }
}

@media only screen and (max-width: 630px) {
  .display-banner-text {
    font-size: 9rem;
    margin: 0 3rem;
  }

  .category-select-title, .category-select {
    font-size: 2.3rem;
  }

  .category-select {
    margin-left: 3.5rem;
  }

  .add-to-basket {
    font-size: 2.6rem;
  }

  .single-product-title, .single-product-price {
    display: none;
  }

  .single-product-image-container {
    padding: 0 1.5rem;
  }

  .single-product-more-information {
    padding-right: 2rem;
  }

  .single-product-title-small {
    display: block;
    font-size: 3rem;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }

  .single-product-price-small {
    display: block;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    color: #e46c6c;
  }

  .single-product-description {
    margin-top: 0;
  }

  .add-quantity-container, .size-select, .add-to-basket {
    width: 100%;
  }

  .back-to-products {
    margin-top: 1.5rem;
    margin-left: 0.5rem;
    font-size: 2.3rem;
  }
}

@media only screen and (max-width: 570px) {

}

@media only screen and (max-width: 555px) {
  .quantity-basket-container {
    margin-top: 0;
  }

  .add-to-basket {
    margin-top: 0.5rem;
  }

  .add-quantity-container > span {
    margin: 0;
  }
}

@media only screen and (max-width: 515px) {
  .portion-size-guide-small h6 {
    font-size: 1.4rem;
  }

  .single-product-description {
    text-align: justify;
  }

  .size-select-container {
    margin-top: 3.5rem;
  }
}

@media only screen and (max-width: 500px) {
  .display-banner-text {
    font-size: 7.5rem;
  }

  .category-select {
    margin: 0 1.2rem;
    min-width: 70px;
  }

  .category-select-title-container {
    margin-bottom: 2rem;
  }

  .sorting-options-container {
    margin: 2rem auto;
  }

  .single-product {
    margin-bottom: 8rem;
  }

  .single-product-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .single-product-image-container {
    max-width: 90%;
    width: 90%;
    margin-bottom: 0;
  }

  .discount-container {
    display: block;
    width: 90%;
    margin-left: 5%;
    left: 0;
    text-align: center;
  }

  .discount-container-small {
    display: none;
  }

  .portion-size-guide {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    margin-bottom: 2rem;
  }

  .portion-size-guide-small {
    display: none;
  }

  .single-product-more-information {
    max-width: 90%;
    width: 90%;
    padding: 0 1.5rem;
  }

  .single-product-description {
    font-size: 1.8rem;
  }

  .size-select, .add-quantity-container {
    width: 70%;
  }

  .add-to-basket {
    width: 80%;
    font-size: 3rem;
    margin-top: 2rem;
  }

  .discount-container {
    margin-top: 0;
  }

  .discount-container h4 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 400px) {
  .category-select {
    font-size: 1.8rem;
  }
}

@media only screen and (max-width: 370px) {
  .size-select, .add-quantity-container, .add-to-basket {
    width: 90%;
  }
}

@media only screen and (max-width: 350px) {
  .display-banner-text {
    font-size: 6.1rem;
  }

  .product-display-background {
    height: 240px;
  }

  .category-select {
    margin: 0 0.4rem;
  }
}
