#ajax-cart-modal {
  display: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: normal;
  overflow-y: scroll;
  z-index: 10;
  font-size: 19px; }

.ajax-cart__vingette {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1; }

body.ajax-cart--active {
  overflow: hidden; }
  body.ajax-cart--active #ajax-cart-modal {
    display: block; }

.ajax-cart-modal {
  max-width: 375px;
  width: 100%;
  margin: 55px auto;
  background-color: #fff; }
  @media only screen and (min-width: 1024px) {
    .ajax-cart-modal {
      max-width: unset;
      width: 550px; } }
  @media only screen and (max-width: 374px) {
    .ajax-cart-modal {
      width: 100%; } }

.ajax-cart-modal__actions {
  text-align: center; }

.ajax-cart-modal__dismiss-btn {
  background-color: #55bc57;
  margin: 10px auto;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  display: block;
  width: 50%;
  font-size: 13px;
  cursor: pointer; }
  .ajax-cart-modal__dismiss-btn:hover {
    color: #fff;
    opacity: 0.8; }

/*=================================================
* HEADER
*/
.ajax-cart-modal__header {
  text-align: center;
  text-transform: uppercase;
  padding: 5px;
  color: #fff;
  background-color: #889EB1; }

.ajax-cart-modal__title {
  font-weight: bold;
  text-transform: uppercase;
  text-align: center; }

.ajax-cart-modal__title--divider:before {
  content: '';
  height: 1px;
  width: 90%;
  display: block;
  margin: 5px auto 10px auto;
  background-color: #D9D4DD; }

.ajax-cart-modal__dismiss {
  float: right;
  cursor: pointer; }

/*=================================================
* ADDED ITEM
*/
.ajax-cart-modal__added-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; }

.added-item__column {
  padding: 5px; }

.added-item__column--one-third {
  width: 33.333%; }

.added-item__column--two-third {
  width: 66.666%; }

.added-item__image {
  width: 100%;
  margin: 0; }
  .added-item__image img {
    max-width: 100%; }

.added-item__title {
  color: #30404e;
  font-size: 12px;
  display: block;
  text-align: center;
  font-weight: bold; }
  @media only screen and (min-width: 1024px) {
    .added-item__title {
      font-size: 16px; } }

.added-item__properties {
  font-size: 13px;
  display: block;
  text-align: center;
  margin: 5px 0; }

.added-item__price {
  font-size: 19px;
  font-weight: bold;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin: 5px 0; }
  .added-item__price:after {
    content: ' /ea';
    font-size: 13px;
    text-decoration: none; }

.added-item__quantity {
  font-size: 0.85em;
  font-weight: bold;
  width: 48%;
  text-align: center;
  display: inline-block;
  margin: 5px 0; }

.added-item__total {
  font-size: 0.85em;
  font-weight: bold;
  width: 48%;
  margin: 5px 0;
  text-align: center;
  display: inline-block;
  color: #f00; }

.added-item__total-items {
  font-size: 0.85em;
  display: block;
  margin: 5px 0;
  text-align: center;
  color: #f00;
  font-weight: bold; }

.added-item__goto-cart {
  display: block;
  width: 50%;
  text-transform: uppercase;
  color: #fff;
  margin: auto;
  font-size: 13px;
  padding: 5px 0;
  background-color: #55bc57;
  text-align: center;
  font-weight: bold; }
  .added-item__goto-cart:hover {
    color: #fff;
    opacity: 0.8; }

/*=================================================
* RECOMMENDED PRODUCTS
*/
.ajax-cart-modal__recommended-products {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center; }

.recommended-products__recommended-product {
  width: 33.33333%;
  display: inline-block;
  padding: 10px;
  text-align: center; }
  @supports (display: grid) {
    .recommended-products__recommended-product {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column; } }

.recommended-product__image {
  max-width: 100%;
  width: 69%;
  display: block;
  margin: auto; }

.recommended-product__title {
  font-size: 12px;
  display: block;
  text-align: center;
  color: #30404e; }

.recommended-product__info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-flex-basis: 100%;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%; }

.recommended-product__price-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center; }

.recommended-product__compare-price {
  text-decoration: line-through;
  font-size: 0.85em;
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
  margin-left: 5px; }
  .recommended-product__compare-price + .recommended-product__price {
    color: #f00; }

.recommended-product__price {
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
  font-size: 0.85em; }

.recommended-product__add-to-cart {
  color: #fff;
  background-color: #57728a;
  line-height: normal;
  text-transform: uppercase;
  display: block;
  width: 100%;
  font-size: 12px;
  padding: 7px;
  border: none;
  margin-top: 5px; }
  .recommended-product__add-to-cart:hover {
    opacity: 0.8; }
  @media only screen and (max-width: 374px) {
    .recommended-product__add-to-cart {
      font-size: 11px; } }

.ajax-cart-modal__recommended-products--loading {
  margin: 10px auto; }
  .ajax-cart-modal__recommended-products--loading:before {
    content: '';
    display: block;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    margin: auto;
    width: 32px;
    height: 32px;
    border: 6px solid #eee;
    border-top-color: #9cbcd0;
    -webkit-animation: spin 1s infinite;
    animation: spin 1s infinite; }

/*=================================================
* MISC STYLES
*/
#ajax-cart-modal form {
  margin-bottom: 0; }

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
