#header .header__rightitem .shopping-cart a {
  position: relative;
  /* color: #363a41; */
}
#header .header__rightitem .shopping-cart a:hover {
  /* color: #6c868e; */
}
@media (max-width: 575px) {
  #header .header__rightitem .shopping-cart {
    padding-right: 10px;
  }
}
#header .header__rightitem .shopping-cart .blockcart__count {
  position: absolute;
  top: -16px;
  right: -10px;
  width: 22px;
  height: 22px;
  text-align: center;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 50%;
  line-height: 22px;
  font-size: 11px;
}
@media (max-width: 1199px) {
  #header .header__rightitem .shopping-cart .blockcart__count {
    top: -15px;
    right: -8px;
    width: 18px;
    height: 18px;
    line-height: 20px;
    font-size: 10px;
  }
}
#header .header__rightitem .blockcart__icon {
  font-size: 36px;
}
#modal-cart-preview {
  cursor: pointer;
}
#modal-cart-preview .modal-dialog {
  width: 480px;
  max-width: 100%;
  cursor: initial;
}
#modal-cart-preview .modal-header {
  background-color: var(--bs-primary);
  color: #fff;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#modal-cart-preview .modal-header:after {
  content: none;
}
#modal-cart-preview .modal-header #modal-cart-preview-label {
  margin: 0 0 0 15px;
}
#modal-cart-preview .modal-header .left-header {
  display: flex;
  align-items: center;
}
#modal-cart-preview .modal-header .close {
  float: none;
  opacity: 1;
  margin: 0;
}
#modal-cart-preview .modal-header .close span {
  font-size: 26px;
  line-height: 25px;
  color: #fff;
}
#modal-cart-preview .modal-content {
  display: flex;
  flex-flow: column wrap;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
#modal-cart-preview .modal-footer {
  background-color: #f6f6f6;
  text-align: left;
}
#modal-cart-preview .modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 0 15px;
  font-size: 14px;
}
#modal-cart-preview .modal-body.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  flex-wrap: wrap;
  width: 100%;
}
#modal-cart-preview .modal-body .no-items {
  width: 100%;
  text-align: center;
  padding: 1rem;
}
#modal-cart-preview .modal-body .nosto_element {
  width: 100%;
}
#modal-cart-preview #cart-product-list {
  margin: 0;
}
#modal-cart-preview #cart-product-list .cart-product-line {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#modal-cart-preview #cart-product-list .cart-product-line[class*="col-xs"] {
  padding-left: 5px;
  padding-right: 5px;
}
#modal-cart-preview #cart-product-list .cart-product-line .product-image {
  position: relative;
  max-width: 145px;
  flex-basis: 145px;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-image
  .product-thumbnail {
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 100%;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-image
  .product-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  font-weight: 600;
  color: #fff;
  background: var(--bs-primary);
  font-size: 10px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5490196078);
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-image
  .product-qty
  .material-icons {
  font-size: 8px;
}
#modal-cart-preview #cart-product-list .cart-product-line .product-description {
  max-width: 100%;
  flex: 1;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .container-price {
  margin: 0 0 0.75rem;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .product-qty
  .material-icons {
  font-size: 12px;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  > div:not(:first-child) {
  margin-top: 4px;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .product-name {
  font-size: 16px;
  font-weight: 700;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .product-name
  a {
  color: var(--bs-primary);
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .product-name
  a:hover {
  color: var(--bs-secondary);
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .remove-from-cart {
  font-size: 1rem;
  text-decoration: underline;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .remove-from-cart
  span {
  font-size: 16px;
  pointer-events: none;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description
  .remove-from-cart:hover {
  color: #e76d7a;
}
/* #modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description.has-qty-input
  .remove-from-cart {
  display: none;
} */
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-description-short {
  font-size: 12px;
  line-height: 16px;
  color: #7a7a7a;
}
#modal-cart-preview #cart-product-list .cart-product-line .product-discount {
  margin-bottom: 0;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-discount
  .regular-price {
  margin-right: 0;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .product-discount
  .badge {
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 0;
}
#modal-cart-preview #cart-product-list .cart-product-line .price {
  font-size: 16px;
  flex: 1;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-line
  .cart-product-add-to-cart {
  display: flex;
  align-items: center;
}
#modal-cart-preview #cart-product-list .cart-product-customizations > div {
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  margin: 15px 0;
  padding: 0 0 0 10px;
}
#modal-cart-preview
  #cart-product-list
  .cart-product-customizations
  .product-customization-value {
  font-weight: 600;
  font-size: 14px;
}
#modal-cart-preview .modal-footer {
  padding: 0;
  border-top: none;
}
#modal-cart-preview .modal-footer .container-cart-total {
  width: 100%;
  padding: 1rem;
  margin: 0;
}
#modal-cart-preview .modal-footer .container-cart-total .cart-summary__totals {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}
#modal-cart-preview .modal-footer .cart-detailed-subtotals {
  padding-bottom: 0;
}
#modal-cart-preview .modal-footer .checkout {
  position: initial;
  background: none;
  padding: 0;
}
#modal-cart-preview .modal-footer .cart-detailed-actions {
  margin-top: 10px;
}
#modal-cart-preview .modal-footer .cart-remove-voucher {
  color: #f39d72;
}
#modal-cart-preview .modal-footer .cart-remove-voucher:hover {
  color: #f88f5a;
}
#modal-cart-preview .modal-footer .cart-remove-voucher .material-icons {
  font-size: 16px;
}
#modal-cart-preview .modal-footer .card-block.cart-summary-totals {
  padding-bottom: 0;
}
#modal-cart-preview .cart-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 9;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
}
#modal-cart-preview .cart-spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  margin: 6px;
  border: 6px solid;
  border-radius: 50%;
  animation: xyspin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}
#modal-cart-preview .cart-spinner div:nth-child(1) {
  animation-delay: -0.45s;
}
#modal-cart-preview .cart-spinner div:nth-child(2) {
  animation-delay: -0.3s;
}
#modal-cart-preview .cart-spinner div:nth-child(3) {
  animation-delay: -0.15s;
}
#modal-cart-preview.button-animation.pulse .cart-detailed-actions a.btn {
  animation-name: pulse;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-iteration-count: 3;
  -webkit-animation-iteration-count: 3;
}
@keyframes xyspin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    transform: scaleZ(1);
  }
  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    transform: scaleZ(1);
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal.fade .modal-dialog__offcanvas {
  width: 350px;
  height: 100%;
  margin: 0;
  max-width: 90%;
  position: absolute;
  top: 0;
  transform: translate(-100%);
  transition: transform 0.3s ease-out;
}
.modal.fade.in .modal-dialog__offcanvas,
.modal.show .modal-dialog__offcanvas {
  transform: translate(0);
}
.modal.fade .modal-dialog__offcanvas.modal-dialog__offcanvas--right {
  right: 0;
  transform: translate(100%);
}
.modal.fade.in .modal-dialog__offcanvas.modal-dialog__offcanvas--right,
.modal.show .modal-dialog__offcanvas.modal-dialog__offcanvas--right {
  transform: translate(0);
}
.modal-dialog__offcanvas .modal-content {
  height: inherit;
  border-width: 0;
  border-radius: 0;
}
.modal-dialog__offcanvas .modal-header {
  border-radius: inherit;
}
.modal-dialog__offcanvas .modal-body {
  overflow-y: auto;
  height: inherit;
}
.text-bottom-list {
  padding: 15px;
}
.block-promo {
  margin: 0;
}
.block-promo .promo-input + button {
  margin-top: -2px;
}
.block-promo #promo-code .promo-code {
  padding: 0;
}
.block-promo .promo-discounts {
  padding: 5px 0 0;
}
.block-promo .promo-discounts .label {
  text-align: center;
  color: #f39d72;
}
.text-top-footer,
.text-bottom-footer {
  text-align: center;
}
@media only screen and (max-width: 480px) {
  #modal-cart-preview .modal-body {
    padding: 0 5px;
  }
  #modal-cart-preview .container-sub-totals {
    max-height: 120px;
    overflow: auto;
  }
  #modal-cart-preview .modal-footer .container-cart-total {
    padding: 15px;
  }
}
@media only screen and (min-width: 480px) {
  #modal-cart-preview .container-qty-price {
    padding-top: 5px;
  }
  #modal-cart-preview .container-price {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
