.rpc-infobox {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
}

.rpc-infobox__btn {
  width: 3.125rem;
  height: 3.125rem;
  background-color: #c52032;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
}

.rpc-infobox__btn .icn-two-arrows {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='31' height='23' viewBox='0 0 31 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 22.844l-1.15-1.16 5.028-5.028H.875v-1.625h12.003L7.85 10.003 9 8.843l7 7-7 7zm13-8.719l-7-7 7-7 1.15 1.16-5.028 5.028h12.003v1.625H18.122l5.028 5.028-1.15 1.16z' fill='%23fff'/%3E%3C/svg%3E")
    no-repeat;
  transition-duration: 0.25s;
}

.rpc-infobox__btn.loading .icn-two-arrows {
  animation: rpc-spin 1s linear infinite;
}

@keyframes rpc-spin {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}

.rpc-infobox__btn:hover .icn-two-arrows {
  transform: rotate(180deg);
}

.rpc-infobox__btn-count {
  font-size: 1rem;
  color: #000;
  background-color: #fff;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.rpc-infobox__message {
  position: absolute;
  right: 3.75rem;
  bottom: 0;
  background-color: #000;
  border-radius: 0.625rem;
  color: #fff;
  font-size: 16px;
  padding: 0.3125rem 0.625rem;
  margin-bottom: 0;
  display: none;
  opacity: 0;
  transition-duration: 0.25s;
  white-space: nowrap;
  box-shadow: 0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.4);
}

#rpcModal {
  --bs-modal-width: 75rem;
}

#rpcModal .modal-header {
  position: relative;
  justify-content: center;
}

#rpcModal .modal-header .btn-close {
  position: absolute;
  right: 1.25rem;
  top: 2.1875rem;
  transform: translateY(-50%);
  width: 0.625rem;
  height: 0.625rem;
  background-size: 100% auto;
  padding: 0.125rem;
}

#rpcModal .modal-body {
  padding: 1.25rem;
}

.rpc-modal__title {
  margin-bottom: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.rpc-modal__row {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.rpc-modal__col {
  width: calc(25% - 0.1875rem);
  min-width: 15.625rem;
  padding: 1rem;
  border: 1px solid #575757;
  border-radius: 0.625rem;
  transition-duration: 0.25s;
}

.rpc-modal__col.nb {
  border: none;
}

.rpc-modal__product-image--holder {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  height: 11.875rem;
}

.rpc-modal__product-image {
  max-width: 100%;
  max-height: 11.875rem;
  width: auto;
  height: auto;
}

.rpc-modal__product-title {
  font-weight: 500;
  font-size: 1rem;
  color: #212121;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.rpc-modal__product-card {
  display: flex;
  flex-flow: column;
  height: 100%;
  position: relative;
}

.rpc-modal__product-sku {
  font-weight: 400;
  margin: auto 0 1.25rem;
  font-size: 0.75rem;
  color: #575757;
  text-align: center;
}

.rpc-modal__product-sku span {
  font-weight: 600;
}

.rpc-modal__product-price {
  text-align: center;
  font-size: 2.5rem;
  color: #c52032;
  margin-bottom: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.rpc-modal__product-price del {
  font-size: 1.25rem;
  color: #575757;
  font-weight: 500;
  display: block;
  text-align: center;
}

.rpc-modal__product-price ins {
  text-decoration: none;
}

.rpc-modal__product-btn {
  margin: 0 auto;
  max-width: 100%;
  width: 10rem;
}

.rpc-modal__product-btn .button {
  width: 100%;
}

.rpc-modal__attribute-el {
  margin-bottom: 0;
  text-align: right;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #212121;
  line-height: 1.1;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.rpc-modal__row--hidden {
  display: none;
}

.showhidden .rpc-modal__row--hidden {
  display: flex;
}

.highlight .rpc-modal__attribute-el--max {
  background-color: #71c82f80;
  border-color: #71c82f;
}

.rpc-modal__showmore {
  padding: 1rem;
  border-top: 1px solid #ced4da;
  text-align: center;
  color: #c52032;
  text-decoration: underline;
  margin-bottom: 0;
  margin: 0;
  cursor: pointer;
}

.rpc-modal__checkbox-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 1.25rem;
}

.rpc-modal__checkbox {
  display: none;
}

.rpc-modal__checkbox-label {
  position: relative;
  line-height: 1;
  margin: 0;
  padding: 0 0 0 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #4f4f4f;
  cursor: pointer;
}

.rpc-modal__checkbox-label:before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0;
  height: 0.75rem;
  width: 2rem;
  background-color: #757575;
  border-radius: 0.4375rem;
  transition-duration: 0.25s;
}

.rpc-modal__checkbox-label:after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 100%;
  background-color: #a1a1a1;
  transition-duration: 0.25s;
}

.rpc-modal__checkbox:checked + .rpc-modal__checkbox-label:before {
  background-color: #336c08;
}

.rpc-modal__checkbox:checked + .rpc-modal__checkbox-label:after {
  left: 0.9375rem;
  background-color: #71c82f;
}

@media (max-width: 991.98px) {
  .rpc-modal__product-image--holder {
    height: 6.25rem;
    margin-bottom: 0.625rem;
  }

  .rpc-modal__product-image {
    max-height: 6.25rem;
  }
  .rpc-modal__product-price {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
  }

  .rpc-modal__product-title {
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
  }

  .rpc-modal__product-sku {
    margin: auto 0 0.625rem;
  }

  .rpc-infobox__message {
    width: calc(100vw - 7.5rem);
    white-space: normal;
  }
}

.rpc-modal__product-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c52032'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  width: 12px;
  height: 12px;
  cursor: pointer;
  transition-duration: 0.25s;
}

.rpc-modal__product-remove:hover {
  opacity: 0.75;
}

.rpc-modal__holder {
  position: relative;
}

.rpc-modal__holder.loading:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  width: 100%;
  height: 100%;
}
