body.fsb-modalOpen {
  overflow: hidden;
}

#fastspring_spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999998;
  background: rgba(0, 0, 0, 0.4);
}

#fastspring_spinner img {
  position: fixed;
  top: 50%;
  margin-top: -50px;
  left: 50%;
  margin-left: -50px;
  z-index: 99999999;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  -webkit-animation-name: fsb-fadeIn;
  animation-name: fsb-fadeIn;
}

/* Common Variables */
.fsb-modal {
  --fsb-bg-color: #fff;
  --fsb-bg-color-alt: #f2f3f5;
  --fsb-heading-color: #000;
  --fsb-paragraph-color: #828282;
  --fsb-theme-color: #7047eb;
  --fsb-border-color: #d3d3d3;
  --fsb-border-radius-small: 3px;
  --fsb-border-radius-medium: 5px;
}

/* The Modal (background) */
.fsb-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-name: fsb-fadeIn;
  animation-name: fsb-fadeIn;
  overflow: auto;
  z-index: 999999;
}

/* Modal Content */
.fsb-MOD .fsb-modal-content {
  position: relative;
  border-radius: 3px;
  margin: 5% auto;
  padding: 1rem 1.25rem;
  width: 80%;
  max-width: 1105px;
  border: 1px solid #e9e9e9;
  background-color: var(--fsb-bg-color);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.08);
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-name: fsb-mod_animatetop;
  animation-name: fsb-mod_animatetop;
}

.fsb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 0;
}

.fsb-modal-header .fsb-cart_title {
  color: var(--fsb-heading-color);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
}

.fsb-close {
  display: block;
  cursor: pointer;
}

.fsb-close svg {
  pointer-events: none;
}

.fsb-modal-body {
  margin-top: 1rem;
}

#fsb_error {
  display: none;
  padding: 0.875rem;
  border: 1px solid #f5c2c7;
  margin-bottom: 0.75rem;
  border-radius: 5px;
  background: #f8d7da;
  color: #842029;
  position: fixed;
  right: 5%;
  bottom: 5%;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}

.fsb-horizontal-card {
  display: flex;
  flex-flow: row wrap;
  gap: 1.5rem;
  padding: 0.75rem;
  border: 1px solid var(--fsb-border-color);
  border-radius: 5px;
}

@media (max-width: 767px) {
  .fsb-horizontal-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.fsb-horizontal-card-price {
  flex: 1;
}

.fsb-horizontal-card-thumb {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  max-width: 403px;
  min-width: 403px;
}

@media (max-width: 767px) {
  .fsb-horizontal-card-thumb {
    flex-direction: column;
    align-items: center;
    min-width: unset;
  }
}

.fsb-horizontal-card-thumb img {
  border-radius: 5px;
}

.fsb-horizontal-card-summery p {
  color: var(--fsb-heading-color);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}

.fsb-horizontal-card-desc {
  margin-top: 0.2rem;
}

.fsb-horizontal-card-desc p {
  color: var(--fsb-paragraph-color);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: normal;
}

@media (min-width: 992px) {
  .fsb-horizontal-card-details {
    margin-left: 100px;
  }
}

.fsb-horizontal-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fsb-horizontal-card-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.fsb-horizontal-card-price p {
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.fsb-horizontal-card-price a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing:has(> p + p) p:last-child {
  font-weight: 900;
}

.quantity-partial-infos + div,
.upsell-items-card .pricing + div,
.xsell-items-card .pricing + div {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
}

.pricing p,
.quantity-partial-infos p {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .quantity-partial-infos p {
    justify-content: center;
  }
}

.quantity-partial-infos p span {
  color: var(--fsb-paragraph-color);
  font-weight: 700;
}

.quantity-partial-infos p {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* child items */
.fsb-cart-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.upsell-itmes,
.xsell-items {
  background: var(--fsb-bg-color-alt);
  margin-top: 0.875rem;
  padding: 0.875rem;
  border-radius: 3px;
}

@media (min-width: 768px) {
  .upsell-itmes,
  .xsell-items {
    width: calc(100% - 88px);
    margin-left: auto;
  }
}

.upsell-itmes h5,
.xsell-items h5 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1;
}

.upsell-items-cards,
.xsell-items-cards {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .upsell-items-cards,
  .xsell-items-cards {
    flex-direction: column;
  }
}

.upsell-items-card,
.xsell-items-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--fsb-bg-color);
  padding: 0.875rem;
  border-radius: 5px;
}

@media (min-width: 768px) {
  .upsell-items-card,
  .xsell-items-card {
    max-width: 32.333%;
    flex: 1;
  }
}

.upsell-items-card > div:last-child,
.xsell-items-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upsell-items-card-thumb,
.xsell-items-card-thumb {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.upsell-items-card-thumb img,
.xsell-items-card-thumb img {
  border-radius: 5px;
}

.upsell-items-card-thumb div p:first-child,
.xsell-items-card-thumb div p:first-child {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fsb-heading-color);
}

.upsell-items-card-thumb div p:last-child,
.xsell-items-card-thumb div p:last-child {
  font-size: 0.75rem;
  color: var(--fsb-paragraph-color);
  line-height: 1.3;
  margin-top: 5px;
}

.upsell-items-card .pricing p,
.xsell-items-card .pricing p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fsb-heading-color);
}

.upsell-items-card button,
.xsell-items-card button {
  font-size: 0.75rem;
  padding: 7px 15px;
  border-radius: 5px;
  border: 1px solid var(--fsb-theme-color);
  line-height: 1;
  color: var(--fsb-theme-color);
  background: var(--fsb-bg-color);
  cursor: pointer;
  transition: all 0.25s;
}

.upsell-items-card button:hover,
.xsell-items-card button:hover {
  color: #fff;
  background: var(--fsb-theme-color);
}

.upsell-items-card > div:last-child,
.xsell-items-card > div:last-child {
  margin-top: auto;
}

.fsb-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--fsb-border-color);
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .fsb-footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .fsb-footer > div:first-child {
    width: 100%;
  }
}

.fsb-footer label {
  font-size: 1.125rem;
  color: var(--fsb-heading-color);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .fsb-footer label {
    width: 100%;
    text-align: center;
  }
}

.fsb-footer input[type="text"] {
  border-radius: 10px;
  padding: 0.875rem 1rem;
  background: #f9fafb;
  color: var(--fsb-heading-color);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .fsb-footer input[type="text"] {
    min-width: 278px;
  }
}

.fsb-footer input[type="text"]:focus,
.fsb-footer input[type="text"]:hover {
  border-color: var(--fsb-theme-color);
}

.fsb-promo-code-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .fsb-promo-code-input {
    flex-direction: column;
    gap: 1rem;
  }
}

.fsb-promo-code-input button {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.688rem 2.125rem;
  border-radius: 5px;
  border: 1px solid var(--fsb-theme-color);
  line-height: 1.5;
  color: var(--fsb-theme-color);
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s;
}

.fsb-promo-code-input button:hover {
  color: #fff;
  background: var(--fsb-theme-color);
}

.fsb-footer-total-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fsb-footer-total-price div:first-child p,
.fsb-footer-total-price div:last-child p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.fsb-footer-total-price div:first-child p {
  color: var(--fsb-paragraph-color);
}

.fsb-footer-total-price div:last-child p {
  color: var(--fsb-heading-color);
}

.fsb-footer button[id="checkout"] {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.688rem 2.125rem;
  border-radius: 5px;
  border: 1px solid var(--fsb-theme-color);
  line-height: 1.5;
  color: #fff;
  background: var(--fsb-theme-color);
  white-space: nowrap;
  margin-top: 1rem;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.25s;
}

.fsb-footer button[id="checkout"]:hover {
  color: var(--fsb-theme-color);
  background: var(--fsb-bg-color);
}

.fsb-footer-total-price {
  align-items: flex-start;
}

.fsb-footer-total-price > div:last-child {
  text-align: right;
}

.fsb-footer-total-price > div:last-child > p[data-fsc-order-total] + p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fsb-theme-color);
}

/* Add Animation Bottom Sheet */
@-webkit-keyframes fsb-bs_slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes fsb-bs_slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fsb-bs_revslideIn {
  from {
    bottom: 0;
    opacity: 1;
  }
  to {
    bottom: -300px;
    opacity: 0;
  }
}

@keyframes fsb-bs_revslideIn {
  from {
    bottom: 0;
    opacity: 1;
  }
  to {
    bottom: -300px;
    opacity: 0;
  }
}

/* Add Animation modal */
@-webkit-keyframes fsb-mod_animatetop {
  from {
    opacity: 0;
    top: -300px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

@keyframes fsb-mod_animatetop {
  from {
    opacity: 0;
    top: -300px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

@-webkit-keyframes fsb-mod_revanimatetop {
  from {
    opacity: 1;
    top: 0;
  }
  to {
    opacity: 0;
    top: -300;
  }
}

@keyframes fsb-mod_revanimatetop {
  from {
    opacity: 1;
    top: 0;
  }
  to {
    opacity: 0;
    top: -330px;
  }
}

/* Add Animation right sheet */
@-webkit-keyframes fsb-rs_slideIn {
  from {
    opacity: 1;
    right: -50%;
  }
  to {
    opacity: 1;
    right: 0;
  }
}

@keyframes fsb-rs_slideIn {
  from {
    opacity: 1;
    right: -50%;
  }
  to {
    opacity: 1;
    right: 0;
  }
}

@-webkit-keyframes fsb-rs_revslideIn {
  from {
    opacity: 1;
    right: 0;
  }
  to {
    opacity: 1;
    right: -50%;
  }
}

@keyframes fsb-rs_revslideIn {
  from {
    opacity: 1;
    right: 0;
  }
  to {
    opacity: 1;
    right: -50%;
  }
}

/* Add Animation left sheet */
@-webkit-keyframes fsb-ls_slideIn {
  from {
    left: -50%;
    opacity: 1;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@keyframes fsb-ls_slideIn {
  from {
    left: -50%;
    opacity: 1;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fsb-ls_revslideIn {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: -50%;
    opacity: 1;
  }
}

@keyframes fsb-ls_revslideIn {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: -50%;
    opacity: 1;
  }
}

@-webkit-keyframes fsb-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fsb-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fsb-revfadeIn {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fsb-revfadeIn {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 1199.98px) {
  .fsb-MOD .fsb-modal-content {
    width: 90%;
  }
}

@media (max-width: 991.98px) {
  .fsb-MOD .fsb-modal-content {
    width: 90%;
  }
}

@media (max-width: 767.98px) {
  .fsb-MOD .fsb-modal-content {
    margin: 5% auto;
    width: 90%;
  }
}
