.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

body {
  color: #212a2f;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 22px;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: bold;
  line-height: 44px;
}

p {
  margin-bottom: 10px;
}

.l-hero {
  padding-top: 30px;
  padding-left: 50px;
  padding-right: 50px;
}

.l-body {
  padding: 20px 50px;
}

.l-footer {
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.c-logo {
  width: 160px;
  height: 60px;
  object-fit: contain;
}

.c-summary {
  background-color: #fafafa;
}

.c-summary__header {
  color: #212a2f;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  justify-content: flex-start;
  align-items: center;
  padding: 17.5px 50px;
  text-decoration: none;
  display: flex;
}

.c-summary__top-bar-icon {
  width: 20px;
}

.c-summary__top-bar-icon.is--small {
  width: 11px;
}

.c-summary__top-bar-left {
  flex: 1;
  justify-content: flex-start;
  align-items: stretch;
  display: flex;
}

.c-summary__top-bar-title {
  margin-left: 5px;
  font-size: 14px;
  font-weight: 500;
}

.c-summary__top-bar-currency {
  margin-right: 5px;
  font-size: 18px;
  font-weight: 500;
}

.c-summary__top-bar-amount {
  font-size: 18px;
  font-weight: 500;
}

.c-summary__top-bar-right {
  flex: 0 auto;
  justify-content: flex-end;
  align-items: stretch;
  text-decoration: none;
  display: flex;
}

.c-summary__top-bar-link {
  padding-left: 5px;
  padding-right: 5px;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.c-footer {
  width: 100%;
  border-top: 1px solid #e6e6e6;
  padding-top: 1em;
  padding-bottom: 1em;
}

.c-footer__link {
  color: #212a2f;
  margin-bottom: 10px;
  margin-right: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
}

.c-purchase-form {
  margin-top: 0;
}

.c-purchase-form.is--centered {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 50px;
  display: flex;
}

.c-button {
  background-color: #212a2f;
  margin-top: 10px;
  padding: 13px 18px;
  font-weight: 700;
}

.c-purchase-form__form {
  align-items: stretch;
  display: block;
}

.c-input {
  height: 50px;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  padding: 9px 13px;
}

.c-input:hover {
  border: 2px solid #000;
  padding: 8px 12px;
}

.c-heading {
  text-align: center;
  border-radius: 0;
  font-size: 24px;
  font-weight: 600;
  display: inline-block;
}

.c-heading.is--centered {
  text-align: center;
}

.c-heading.is--subheading {
  font-size: 15px;
}

.c-heading.is--link {
  color: #212a2f;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  text-decoration: underline;
}

.c-summary__content {
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 17.5px 50px;
  display: flex;
}

.c-summary__content-list {
  width: 100%;
  padding-top: 21px;
  padding-bottom: 21px;
}

.c-summary__content-list.has--borders {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.container,
.container-2,
.container-3 {
  display: flex;
}

.container-4 {
  justify-content: flex-start;
  margin-bottom: 10px;
  display: flex;
}

.c-summary__content-list-left {
  flex: 1;
}

.c-summary__content-list-left.is--big {
  color: #323232;
  font-size: 16px;
}

.c-summary__content-list-right {
  flex: 0 auto;
  justify-content: flex-end;
  align-items: stretch;
  display: flex;
}

.c-summary__content-list-currency {
  margin-right: 5px;
  font-weight: 500;
}

.c-summary__content-list-currency.is--big {
  font-size: 24px;
}

.c-summary__content-list-amount {
  font-weight: 500;
}

.c-summary__content-list-amount.is--big {
  font-size: 24px;
}

.c-summary__content-list-currency-iso {
  color: #717171;
  margin-right: 10px;
  font-size: 12px;
}

.c-summary__item {
  display: flex;
  margin-bottom: 15px;
}

.c-summary__item-image {
  width: 65px;
  height: 65px;
  object-fit: fill;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.c-summary__item-title {
  color: #323232;
  margin-left: 14px;
  font-weight: 500;
}

.c-summary__item-sub-title {
  color: #717171;
}

.c-summary__item-left {
  flex: 1;
  align-items: center;
  display: flex;
}

.c-summary__item-right {
  align-items: center;
  display: flex;
}

.c-purchase-form__success-message {
  background-color: #53d38d;
}

.c-purchase-form__success-message-checkmark {
  width: 100px;
}

.c-summary__item-image-detail {
  width: 65px;
  height: 65px;
  flex: none;
  position: relative;
}

.c-summary__item-image-counter {
  width: 25px;
  height: 25px;
  color: #fff;
  background-color: rgba(114, 114, 114, 0.9);
  border-radius: 25px;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  display: flex;
  position: absolute;
  top: -10px;
  bottom: auto;
  left: auto;
  right: -10px;
}

.c-text {
  text-align: center;
  margin-bottom: 20px;
  margin-left: 10%;
  margin-right: 10%;
}

.c-purchase-form__order {
  flex: 0 auto;
  justify-content: flex-end;
  align-items: stretch;
  display: flex;
}

.c-purchase-form__order-text {
  margin-right: 5px;
  font-weight: 500;
}

.c-purchase-form__order-text.is--big {
  font-size: 24px;
}

.c-purchase-form__order-text.is--medium {
  font-size: 16px;
}

.c-purchase-form__order-number {
  font-weight: 500;
}

.c-purchase-form__order-number.is--big {
  font-size: 24px;
}

.c-purchase-form__order-number.is--medium {
  font-size: 16px;
}

.c-footer__logo {
  width: 30px;
  margin-right: 10px;
}

@media screen and (max-width: 767px) {
  .l-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .l-body {
    padding-left: 0;
    padding-right: 0;
  }

  .l-footer,
  .c-summary__header,
  .c-purchase-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-button {
    width: 100%;
  }

  .c-summary__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-summary__item-left {
    padding-right: 10px;
  }

  .c-rich-text,
  .c-text {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* CSS for loading overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent white background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it's above other content */
}

#loading-indicator {
  text-align: center;
  display: flex;
  /* Use flex layout for centering */
  flex-direction: column;
  /* Stack the content vertically */
  align-items: center;
  /* Center content horizontally */
  justify-content: center;
  /* Center content vertically */
  width: 100px;
}

#loading-indicator img {
  align-self: center;
}
