/* SR-only */
.rates-pxe-sr-r5c9 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Wrapper ===== */
.rates-pxe-wrapper-r5c9 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 16px);
  max-width: 1920px;
  margin: 8px auto 0;
  box-sizing: border-box;
}

/* ===== Main Card ===== */
.rates-pxe-card-r5c9 {
  background-color: #282834;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.rates-pxe-header-r5c9 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
}

.rates-pxe-titles-r5c9 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
}

.rates-pxe-title-r5c9 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: #ffffff;
  margin: 0;
}

.rates-pxe-subtitle-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  margin: 0;
}

/* ===== Tabs ===== */
.rates-pxe-tabs-r5c9 {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0px 24px 2px 24px;
}

.rates-pxe-tabs-r5c9::-webkit-scrollbar {
  display: none;
}

.rates-pxe-tab-r5c9 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    background-color 0.15s ease-out,
    color 0.15s ease-out,
    border-color 0.15s ease-out;
  background-color: transparent;
  border: 1px solid rgba(208, 212, 230, 0.6);
  color: rgba(255, 255, 255, 0.8);
}

.rates-pxe-tab-r5c9[data-active='true'] {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #282834;
}

.rates-pxe-tab-r5c9[data-active='false']:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* ===== Products (mobile: 2-col grid) ===== */
.rates-pxe-products-r5c9 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rates-pxe-product-r5c9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.rates-pxe-product-r5c9:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 12px;
}

.rates-pxe-product-r5c9:last-child {
  padding-left: 12px;
}

.rates-pxe-product-head-r5c9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rates-pxe-product-img-r5c9 {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
}

.rates-pxe-product-name-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  text-align: center;
}

.rates-pxe-product-name-r5c9 sup {
  font-size: 0.5em;
  vertical-align: super;
}

.rates-pxe-rates-r5c9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.rates-pxe-rate-r5c9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rates-pxe-rate-label-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.rates-pxe-rate-value-r5c9 {
  display: flex;
  align-items: baseline;
}

.rates-pxe-rate-num-r5c9 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: #ffffff;
  display: inline-flex;
  align-items: flex-end;
}

.rates-pxe-slot-digit-r5c9 {
  display: inline-block;
  width: 20px;
  height: 40px;
  overflow: hidden;
  vertical-align: bottom;
}

.rates-pxe-slot-comma-r5c9 {
  display: inline-flex;
  align-items: flex-end;
  height: 40px;
  padding-bottom: 1px;
}

.rates-pxe-slot-track-r5c9 {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rates-pxe-slot-char-r5c9 {
  width: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rates-pxe-rate-pct-r5c9 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: #ffffff;
}

.rates-pxe-rate-iva-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== CTA ===== */
.rates-pxe-cta-wrap-r5c9 {
  padding: 0 24px 24px;
}

.rates-pxe-cta-r5c9 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.18s ease-out;
  box-sizing: border-box;
}

.rates-pxe-cta-r5c9:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* ===== Modal ===== */
.rates-pxe-modal-r5c9 {
  position: fixed;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border: none;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  animation:
    rates-pxe-slide-in-r5c9 0.2s ease-out,
    rates-pxe-fade-in-r5c9 0.2s ease-out;
}

.rates-pxe-modal-r5c9:not([open]) {
  display: none;
}

.rates-pxe-modal-r5c9::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  animation: rates-pxe-fade-in-r5c9 0.2s ease-out;
}

@keyframes rates-pxe-slide-in-r5c9 {
  0% {
    transform: translateY(280px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes rates-pxe-fade-in-r5c9 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.rates-pxe-modal-r5c9.rates-pxe-modal-closing-r5c9 {
  animation:
    rates-pxe-slide-out-r5c9 0.2s ease-out forwards,
    rates-pxe-fade-out-r5c9 0.2s ease-out forwards;
}

.rates-pxe-modal-r5c9.rates-pxe-modal-closing-r5c9::backdrop {
  animation: rates-pxe-fade-out-r5c9 0.2s ease-out forwards;
}

@keyframes rates-pxe-slide-out-r5c9 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(280px);
  }
}

@keyframes rates-pxe-fade-out-r5c9 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.rates-pxe-modal-inner-r5c9 {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  box-sizing: border-box;
}

.rates-pxe-modal-header-r5c9 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rates-pxe-modal-heading-r5c9 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rates-pxe-modal-title-r5c9 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1.12px;
  color: #282834;
  margin: 0;
}

.rates-pxe-modal-desc-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #646587;
  margin: 0;
  max-width: 560px;
}

.rates-pxe-modal-desc-r5c9 strong {
  font-family: 'Inter', sans-serif; 

}

.rates-pxe-modal-close-r5c9 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: #e9f1ff;
  border: none;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  color: #282834;
  transition: opacity 0.15s ease-out;
}

.rates-pxe-modal-close-r5c9:hover {
  opacity: 0.7;
}

.rates-pxe-modal-list-r5c9 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rates-pxe-modal-row-r5c9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
}

.rates-pxe-modal-row-alt-r5c9 {
  background-color: #f4f5f9;
}

.rates-pxe-modal-row-label-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #282834;
}

.rates-pxe-modal-row-val-r5c9 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282834;
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .rates-pxe-header-r5c9 {
    padding: 40px;
    gap: 40px;
  }

  .rates-pxe-titles-r5c9 {
    gap: 24px;
    padding: 0;
  }

  .rates-pxe-title-r5c9 {
    font-size: 72px;
    letter-spacing: -2.88px;
    max-width: 1000px;
  }

  .rates-pxe-subtitle-r5c9 {
    font-size: 24px;
    line-height: 28px;
  }

  .rates-pxe-tabs-r5c9 {
    gap: 8px;
    overflow-x: visible;
    padding: 0;
  }

  .rates-pxe-tab-r5c9 {
    height: 48px;
    font-size: 14px;
  }

  .rates-pxe-products-r5c9 {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
  }

  .rates-pxe-product-r5c9 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .rates-pxe-product-r5c9:first-child {
    border-right: none;
    padding-right: 40px;
  }

  .rates-pxe-product-r5c9:last-child {
    padding-left: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .rates-pxe-product-head-r5c9 {
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: 300px;
    flex-shrink: 0;
  }

  .rates-pxe-product-img-r5c9 {
    width: 112px;
    height: 136px;
  }

  .rates-pxe-product-name-r5c9 {
    font-size: 24px;
    line-height: 28px;
    text-align: left;
  }

  .rates-pxe-rates-r5c9 {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
  }

  .rates-pxe-rate-r5c9 {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: auto;
  }

  .rates-pxe-rate-label-r5c9 {
    font-size: 24px;
    line-height: 28px;
    flex-shrink: 0;
  }

  .rates-pxe-rate-num-r5c9 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .rates-pxe-slot-digit-r5c9 {
    width: 30px;
    height: 56px;
  }

  .rates-pxe-slot-comma-r5c9 {
    height: 56px;
  }

  .rates-pxe-slot-char-r5c9 {
    width: 30px;
    height: 56px;
  }

  .rates-pxe-rate-pct-r5c9 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .rates-pxe-rate-iva-r5c9 {
    font-size: 16px;
    line-height: 20px;
  }

  .rates-pxe-cta-wrap-r5c9 {
    padding: 20px 40px 40px;
  }

  .rates-pxe-cta-r5c9 {
    width: auto;
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
    border-radius: 12px;
  }

  .rates-pxe-modal-r5c9 {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    border-radius: 0;
  }

  .rates-pxe-modal-r5c9::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
  }

  .rates-pxe-modal-inner-r5c9 {
    width: calc(100% - 16px);
    max-width: 800px;
    height: auto;
    max-height: 90vh;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 40px;
    gap: 40px;
  }

  .rates-pxe-modal-title-r5c9 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .rates-pxe-title-r5c9 {
    font-size: 52px;
    letter-spacing: -2px;
  }
}
