.wgt-pricing-products {
  --pricing-products-progress: linear-gradient(
    90deg,
    var(--primary-color-05) 12%,
    var(--primary-color-08) 100%
  );

  padding-top: var(--padding-2xl-48);
  padding-bottom: var(--padding-3xl-60);
  margin-bottom: var(--gap-section-120);
  overflow-x: clip;
  background: linear-gradient(
    0deg,
    var(--background-gray) 0%,
    var(--background-gray) 52%,
    var(--background-white) 100%
  );
}

.wgt-pricing-products .home-inner {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2xl-42);
  align-items: center;
}

.wgt-pricing-products .home-section-text {
  align-items: center;
  text-align: center;
}

.pricing-products-carousel {
  position: relative;
  width: 100%;
}

.wgt-pricing-products .splide__track {
  overflow: hidden;
}

.wgt-pricing-products .splide__list {
  align-items: stretch;
}

.wgt-pricing-products .splide__slide {
  height: auto;
}

.pricing-product-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl-32);
  align-items: flex-start;
  height: 100%;
  padding: var(--padding-lg-24);
  overflow: hidden;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: var(--background-white);
}

.pricing-product-card-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pricing-product-card-text {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm-8);
  flex: 1;
  width: 100%;
}

/* Card title: 18px → 24px (375→1920) */
.pricing-product-card-title {
  margin: 0;
  color: var(--text-title);
  font-size: clamp(1.125rem, 1.034rem + 0.3883vw, 1.5rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-heading);
}

/* Card description: 14px → 16px (375→1920) */
.pricing-product-card-description,
.pricing-product-card-description p {
  margin: 0;
  color: var(--text-body);
  font-size: clamp(0.875rem, 0.8447rem + 0.1294vw, 1rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.pricing-product-card-foot {
  width: 100%;
  margin-top: auto;
  padding-top: var(--gap-xl-32);
  border-top: 1px solid var(--border-default-grey);
}

.pricing-product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: var(--padding-xs-6) var(--padding-sm-10);
  border: 1px solid color-mix(in srgb, var(--primary-color-05) 30%, transparent);
  border-radius: var(--radius-button);
  background: var(--primary-color-13);
}

.pricing-product-tag span {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.42;
  background-image: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-products-bar {
  display: contents;
}

.pricing-products-progress {
  display: none;
}

.wgt-pricing-products .splide__arrows {
  position: static;
}

.wgt-pricing-products .splide__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  background: var(--background-white);
  border: 1px solid var(--primary-color-05);
  border-radius: var(--radius-button);
  opacity: 1;
  box-shadow: var(--shadow-elevated);
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wgt-pricing-products .splide__arrow--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.wgt-pricing-products .splide__arrow--next {
  right: 0;
  background: var(--primary-color-02);
  border-color: var(--primary-color-02);
  transform: translate(50%, -50%);
}

.wgt-pricing-products .splide__arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color-02);
  flex-shrink: 0;
  transition: fill 0.2s ease;
}

.wgt-pricing-products .splide__arrow--prev svg {
  transform: scaleX(-1);
}

.wgt-pricing-products .splide__arrow--next svg {
  fill: var(--text-white);
}

.wgt-pricing-products .splide__arrow:hover,
.wgt-pricing-products .splide__arrow:focus-visible {
  background: var(--primary-color-02);
  border-color: var(--primary-color-02);
  outline: none;
}

.wgt-pricing-products .splide__arrow:hover svg,
.wgt-pricing-products .splide__arrow:focus-visible svg {
  fill: var(--text-white);
}

.wgt-pricing-products .splide__arrow--next:hover,
.wgt-pricing-products .splide__arrow--next:focus-visible {
  background: var(--primary-color-05);
  border-color: var(--primary-color-05);
}

.wgt-pricing-products .splide__arrow:disabled,
.wgt-pricing-products .splide__arrow:disabled:hover,
.wgt-pricing-products .splide__arrow:disabled:focus-visible {
  background: var(--background-white);
  border-color: var(--primary-color-05);
  box-shadow: none;
  cursor: default;
}

.wgt-pricing-products .splide__arrow:disabled svg,
.wgt-pricing-products .splide__arrow:disabled:hover svg,
.wgt-pricing-products .splide__arrow:disabled:focus-visible svg {
  fill: var(--primary-color-05);
}

.wgt-pricing-products .splide.is-static .pricing-products-bar {
  display: none;
}

@media (max-width: 768px) {
  .wgt-pricing-products {
    padding-top: 0;
    padding-bottom: var(--padding-xl-32);
    margin-bottom: var(--padding-4xl-80);
  }

  .wgt-pricing-products .home-inner {
    gap: var(--gap-xl-32);
  }

  .pricing-product-card {
    padding: var(--padding-18);
  }

  .pricing-product-card-description,
  .pricing-product-card-description p {
    line-height: var(--line-height-caption);
  }

  .wgt-pricing-products .splide.is-initialized .pricing-products-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap-sm-8);
    margin-top: var(--gap-xl-32);
  }

  .wgt-pricing-products .splide.is-initialized .pricing-products-progress {
    display: flex;
    align-items: flex-end;
    gap: var(--gap-sm-8);
    flex: 1;
    min-width: 0;
  }

  .pricing-products-index {
    flex-shrink: 0;
    font-size: 1.75rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    letter-spacing: -0.56px;
    background-image: var(--pricing-products-progress);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: -7px;
  }

  .pricing-products-dashes {
    display: flex;
    align-items: center;
    gap: var(--gap-sm-8);
    flex: 1;
    min-width: 0;
  }

  .pricing-products-dash {
    position: relative;
    flex: 1 1 16px;
    width: 16px;
    min-width: 0;
    max-width: 16px;
    height: 4px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--chart-border-cards-default);
  }

  .pricing-products-dash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pricing-products-progress);
    opacity: 0;
    transition: opacity 400ms ease;
  }

  .pricing-products-dash.is-active {
    flex-shrink: 0;
  }

  .pricing-products-dash.is-active::after {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .pricing-products-dash::after {
      transition: none;
    }
  }

  .wgt-pricing-products .splide__arrows {
    display: flex;
    flex-shrink: 0;
    gap: var(--gap-sm-8);
  }

  .wgt-pricing-products .splide__arrow,
  .wgt-pricing-products .splide__arrow--prev,
  .wgt-pricing-products .splide__arrow--next {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 46px;
    height: 46px;
    transform: none;
  }
}
