.shopping-cart-page .spinner-border {
  margin: 20px auto;
  width: 5rem;
  height: 5rem;
}

.shopping-cart-page .sale {
  text-decoration: line-through;
  font-weight: 100;
}

.shopping-cart-page .clean-cart {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 140px;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.shopping-cart-page .clean-cart .block-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
}

.shopping-cart-page .clean-cart .items {
  padding: 1rem;
  width: 100%;
}

.shopping-cart-page .clean-cart .content .items .product {
  padding: 0;
}

.shopping-cart-page .clean-cart .items .product .product-info {
  padding: 0 0 0 1rem;
  flex-grow: 2;
}

.shopping-cart-page .clean-cart .items .product .product-info .product-name {
  font-size: 13px;
}

.shopping-cart-page .clean-block.clean-cart .items .product .price {
  font-weight: 700;
  font-size: 13px;
  min-width: fit-content;
  padding-left: 5px;
}

.shopping-cart-page .alert {
  margin: 1rem 1rem 0;
  font-size: 13px;
  width: 100%;
  text-align: center;
}

.shopping-cart-page .empty-cart {
  margin: 1rem auto;
}

.shopping-cart-page .btn.delete-item {
  padding: 0;
  margin-top: -15px;
  color: gray;
}

.shopping-cart-page .clear-cart {
  font-size: 12px;
  margin: 0 1rem 1rem auto;
}

.shopping-cart-page .sticky-cart {
  padding-left: 0;
}

.shopping-cart-page .sticky-cart .no-gutters {
  max-height: calc(100vh - 200px);
  overflow: auto;
}

.no-gutters::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.no-gutters::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.no-gutters::-webkit-scrollbar-thumb {
  background-color: #b6b7b9;
  border-radius: 10px;
}

.shopping-cart-page .menu-items {
  padding: 0;
}

.shopping-cart-page .clean-cart .summary {
  padding: 1rem;
  width: 100%;
  background-color: #f7f7f7;
}

.shopping-cart-page .clean-cart .summary h3 {
  padding: 0;
  font-size: 1rem;
  color: #000;
}

.shopping-cart-page .clean-cart .summary h4 {
  color: #383b3f;
}

.shopping-cart-page .clean-cart .summary h4:first-of-type {
  border-top: 1px solid #bbbbbc;
}

.shopping-cart-page .clean-cart .summary h4:last-of-type {
  color: #000;
  border-bottom: 1px solid #bbbbbc;
  font-weight: 800;
}

.shopping-cart-page .clean-cart .summary .text,
.shopping-cart-page .clean-cart .summary .price {
  font-size: 13px;
}

.shopping-cart-page .clean-cart .summary button {
  background-color: #000 !important;
  border-color: #000 !important;
}

.checkout-modal .close {
  z-index: 1;
}

.checkout-modal .modal-title {
  font-family: Martel, serif;
}

.checkout-modal .modal-footer {
  padding: 0;
}

.checkout-modal .modal-footer button {
  width: 100%;
  margin: 0.25rem 0;
}

.checkout-modal .modal-footer .btn-danger {
  background-color: var(--red);
}

.checkout-modal h6 {
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  margin: 1rem;
}

.checkout-modal p {
  margin: 1rem;
  text-align: center;
}

.checkout-modal .home-btn {
  background-color: var(--red) !important;
  color: #fff !important;
}

/* bigger screen styles */
@media (min-width: 992px) {
  .shopping-cart-page .cart-floating-btn,
  .shopping-cart-page .mobile-switch {
    display: none;
  }
}

/* smaller screen styles */
@media (max-width: 992px) {
  .shopping-cart-page .sticky-cart {
    display: none;
  }
  .shopping-cart-page .cart-floating-btn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    border-radius: 50%;
    box-shadow: 1px 1px 5px #676666;
  }
  .shopping-cart-page .mobile-switch {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    margin: 0;
  }
  .modal-body.clean-cart {
    margin: 0;
    border-radius: 0 0 0.3rem 0.3rem;
  }
}

/* switch button */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0 5px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--red);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--red);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--red);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
