/* From https://codeburst.io/how-to-create-a-simple-css-loading-spinner-make-it-accessible-e5c83c2e464c
   Credit Stuart Nelson - https://codeburst.io/@stuartjnelson
*/

/* Converted Tailwind Config to scss */

.product_categories__list {
  max-width: 1136px;
  margin: -20px auto;
}

.product_categories--card .preview {
  box-shadow: 0.375rem 0.5625rem 1.25rem 0 rgba(81, 81, 82, 0.16);
  padding: 0 23px 33px;
}

.product_categories--card .preview picture {
  width: calc(100% + 46px);
  margin: 0 -23px;
}

.product_categories .preview {
  width: 100%;
}

@media (min-width: 768px) {
  .product_categories .preview {
    margin: 20px;
    width: calc(50% - 20px);
  }

  .product_categories .preview:nth-child(2n - 1) {
    margin-left: 0;
  }

  .product_categories .preview:nth-child(2n) {
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .product_categories .preview {
    width: calc(33% - 27px);
  }

  .product_categories .preview:nth-child(2n - 1) {
    margin-left: 20px;
  }

  .product_categories .preview:nth-child(2n) {
    margin-right: 20px;
  }

  .product_categories .preview:nth-child(3n - 2) {
    margin-left: 0;
  }

  .product_categories .preview:nth-child(3n) {
    margin-right: 0;
  }
}

.product_categories .preview h5 {
  margin-bottom: 6px;
}

.product_categories .preview__content {
  margin-bottom: 29px;
}

.product_categories .preview__content * {
  color: #808184;
}

.product_categories .preview__content *:first-child {
  margin-top: 0;
}

.product_categories .preview__content *:last-child {
  margin-bottom: 0;
}

.product_categories .preview a {
  display: flex;
  align-items: center;
  font-family: Open Sans, sans-serif;
  font-size: 1rem;
  line-height: 22px;
  color: #f27062;
  text-transform: uppercase;
  outline: none;
}

.product_categories .preview a:hover svg, .product_categories .preview a:focus svg, .product_categories .preview a:active svg {
  margin-left: 16px;
}

.product_categories .preview a svg {
  transition: all .2s ease-in-out;
  margin-left: 6px;
}
