:is(.elementor-editor-active, .turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .order-summary-shipping .woocommerce-shipping-methods {
  margin-top: 0 !important;
  margin-bottom: 0;
  text-align: right;
  margin-left: auto;
  padding: 12px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

:is(.turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .order-summary-shipping .woocommerce-shipping-methods li {
  line-height: 1.5em;
  list-style: none outside;
  margin-bottom: 0 !important;
}

:is(.turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .order-summary-shipping .woocommerce-shipping-methods li label {
  display: inline;
  position: relative;
  padding-left: 32px;
}

:is(.turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .order-summary-shipping .woocommerce-shipping-methods label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 2px solid var(--main-border-color);
  border-radius: 14px;
  width: 16px;
  height: 16px;
}

:is(.turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .order-summary-shipping .woocommerce-shipping-methods input[type="radio"]:checked~label::before {
  border-color: var(--brand-color);
  border-width: 5px;
}

.woocommerce-shipping-methods input {
  display: none;
}

:is(.turbo_builder-template,
  .turbo-checkout-page,
  .turbo-account-page) .checkout-order-summary-items .woocommerce-Price-amount.amount {
  padding-bottom: 0;
}

.checkout-order-summary {
  position: relative;
}

.spinner-wrapper {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
}

.checkout-spinner {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%,
      rgba(82, 0, 255, 0) 0deg,
      var(--brand-color) 360deg);
  animation: spin 2s infinite linear;
}

.checkout-spinner::before {
  content: "";
  border-radius: 50%;
  width: 80%;
  height: 80%;
  background-color: #fff;
}

.d-none {
  display: none !important;
}

.d-grid {
  display: grid !important;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}