/* Funnel checkout — layout + UX on top of Webflow checkout.css */

.u-fontcolor-white { color: #fff; }

.u-h3 {
  letter-spacing: -0.02em;
  margin-bottom: 0;
  font-family: "Stolzl Book", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.35;
}

.cart-link { color: #f4175b; text-decoration: underline; text-underline-offset: 2px; }
.red-span { color: #f4175b; }

.frame.frame--checkout {
  max-width: min(100%, 72rem);
  background: var(--black, #13162a);
}

.topbar.topbar--checkout {
  padding-bottom: 0.25rem;
}

.topbar.topbar--checkout .progress {
  display: none;
}

.screen.screen--checkout {
  position: relative;
  inset: auto;
  min-height: auto;
  padding: 0.25rem var(--page-padding, 1.25rem) 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

/* Loading shell */
.checkout-shell[data-checkout-loading="true"] .checkout-shell__content {
  display: none !important;
}

.checkout-shell__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 50vh;
  color: rgba(255, 255, 255, 0.75);
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.95rem;
}

.checkout-shell__loader[hidden] {
  display: none !important;
}

.checkout-shell__spinner {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-left-color: #f4175b;
  animation: elonga-funnel-spin 0.7s linear infinite;
}

.checkout-shell__error {
  color: #f4175b;
  text-align: center;
  max-width: 20rem;
}

@keyframes elonga-funnel-spin {
  to { transform: rotate(360deg); }
}

/* Header */
.checkout-funnel-header {
  margin-bottom: 1.5rem;
}

.checkout-funnel-eyebrow {
  margin: 0 0 0.35rem;
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4175b;
}

.checkout-funnel-title {
  margin: 0 0 0.35rem;
  font-family: Stolzl, Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.checkout-funnel-sub {
  margin: 0;
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.checkout-page { width: 100%; }

.checkout-wrapper {
  gap: 2rem;
}

.checkout-left-side,
.checkout-right-side--funnel {
  border-radius: 1rem;
}

.checkout-right-side--funnel {
  background: rgba(32, 35, 54, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

.checkout-legal {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  font-family: Plusjakartasans, Arial, sans-serif;
}

/* Inputs */
.screen--checkout .checkout-input-field,
.screen--checkout .input,
.screen--checkout .checkout-select-field,
.screen--checkout .checkout-select-state,
.screen--checkout .code-input {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid #40435a;
  border-radius: 8px;
  color: #fff;
  min-height: 48px;
  font-family: Plusjakartasans, Arial, sans-serif;
}

.screen--checkout .checkout-input-field:focus,
.screen--checkout .input:focus,
.screen--checkout .checkout-select-field:focus,
.screen--checkout .checkout-select-state:focus,
.screen--checkout .code-input:focus {
  border-color: rgba(244, 23, 91, 0.55);
  outline: none;
}

.screen--checkout .field-group { margin-bottom: 0.75rem; }

.checkout-address-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 0.75rem;
}

.checkout-subheading-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.account-info-heading-wrapper {
  margin-bottom: 0.75rem;
}

.delivery-wrapper + .delivery-wrapper,
.payment-wrapper {
  margin-top: 1.5rem;
}

.delivery-wrapper--compact {
  margin-top: 1rem;
}

.elonga-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.elonga-shipping-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
}

.elonga-shipping-pill__label {
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.95rem;
  color: #fff;
}

.elonga-shipping-pill__price {
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4175b;
}

/* Payment options */
.payment-wrapper .radio-button-field {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.payment-wrapper .radio-button-field:has(input:checked) {
  border-color: rgba(244, 23, 91, 0.45);
  background: rgba(244, 23, 91, 0.06);
}

.checkout-submit-button.continue-v25 {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(23deg, #f4175b 25%, #f73571 94%);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.checkout-submit-button.continue-v25:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.checkout-submit-button.continue-v25:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* Order summary */
.cart-product-wrapper {
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-product-wrapper:last-of-type {
  border-bottom: none;
}

.cart-prices-summary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total-price-row .total-price-text {
  font-size: 1.15rem;
  font-weight: 600;
}

.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: Plusjakartasans, Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.checkout-trust-row span::before {
  content: "✓ ";
  color: #f4175b;
}

/* intl-tel-input */
.elonga-us-phone-iti {
  --iti-border-color: #40435a;
  width: 100%;
  border: 1px solid #40435a;
  border-radius: 8px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
}

.elonga-us-phone-iti .iti__tel-input,
.elonga-us-phone-iti #phone-number-w-prefix,
.elonga-us-phone-iti #phone-number-w-prefix-business {
  border: none !important;
  box-shadow: none !important;
  outline: none;
  color: #fff;
  width: 100%;
  min-height: 46px;
  background: transparent;
}

.elonga-us-phone-iti:has(.error) {
  border-color: #f4175b;
}

#paypal-bank-element {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

label.error {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: #f4175b;
  font-family: Plusjakartasans, Arial, sans-serif;
}

input.error,
select.error,
.w-input.error {
  border-color: #f4175b !important;
}

.us-free-ship {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #f4175b;
  color: #fff;
  padding: 2px 6px;
  text-transform: uppercase;
  margin-left: 0.35rem;
  border-radius: 4px;
}

.fakturacni-adresa-wrapper {
  cursor: pointer;
  margin-top: 0.75rem;
}

@media (max-width: 991px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }

  .checkout-right_wrapper {
    order: -1;
  }

  .checkout-right-side--funnel {
    position: sticky;
    top: 0;
    z-index: 2;
  }
}

@media (max-width: 767px) {
  .checkout-address-row {
    grid-template-columns: 1fr;
  }

  .checkout-funnel-header {
    margin-bottom: 1rem;
  }

  .checkout-wrapper {
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .checkout-right-side--funnel {
    position: sticky;
    top: 1rem;
  }
}
