.vf-dc-modern {
  --vf-dc-bg: #f7f9f7;
  --vf-dc-surface: #ffffff;
  --vf-dc-text: #24322b;
  --vf-dc-text-soft: #5f6d66;
  --vf-dc-text-heading: #1e2823;
  --vf-dc-border: #dfe7e0;
  --vf-dc-border-strong: #cfdacf;
  --vf-dc-green: #748260;
  --vf-dc-green-dark: #5f6c4f;
  --vf-dc-green-soft: #afc295;
  --vf-dc-orange: #f37633;
  --vf-dc-shadow: 0 8px 26px rgba(36, 50, 43, 0.06);
  --vf-dc-radius-xl: 22px;
  --vf-dc-radius-lg: 18px;
  --vf-dc-radius-md: 14px;
  --vf-dc-sticky-width: 270px;
  --vf-dc-card-width: 215px;
  --vf-dc-row-padding-y: 13px;
  --vf-dc-row-padding-x: 14px;
  --vf-dc-row-min-height: 56px;
  --vf-dc-font: inherit;
  margin: 22px 0 34px;
  font-family: var(--vf-dc-font);
  color: var(--vf-dc-text);
}

.vf-dc-modern *,
.vf-dc-modern *::before,
.vf-dc-modern *::after {
  box-sizing: border-box;
}

.vf-dc-modern img {
  max-width: 100%;
  height: auto;
  display: block;
}

.vf-dc-modern a {
  text-decoration: none !important;
}

.vf-dc-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 10px;
}

.vf-dc-header__text h3 {
  margin: 0 0 4px 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--vf-dc-text-heading) !important;
}

.vf-dc-header__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--vf-dc-text-soft) !important;
}

.vf-dc-compare-toolbar {
  display: grid;
  grid-template-columns: var(--vf-dc-sticky-width) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.vf-dc-compare-toolbar__spacer {
  min-height: 1px;
}

.vf-dc-compare-toolbar__content {
  position: relative;
  min-height: 40px;
  display: flex;
  justify-content: flex-end;
}

.vf-dc-scroll-nav {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.vf-dc-scroll-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d5dfd1;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f0 100%);
  color: #5f6c4f !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(36, 50, 43, 0.05);
  transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  outline: none;
}

.vf-dc-scroll-btn:hover,
.vf-dc-scroll-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(36, 50, 43, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #e8efe5 100%);
  border-color: #d5dfd1;
}

.vf-dc-scroll-btn:active {
  transform: translateY(0);
}

.vf-dc-comparison-shell {
  display: grid;
  grid-template-columns: var(--vf-dc-sticky-width) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.vf-dc-sticky-column {
  position: sticky;
  top: 96px;
  z-index: 80;
}

.vf-dc-feature-list {
  position: relative;
  z-index: 90;
}

.vf-dc-feature-list,
.vf-dc-product-card {
  background: var(--vf-dc-surface);
  border: 1px solid var(--vf-dc-border);
  border-radius: var(--vf-dc-radius-xl);
  box-shadow: var(--vf-dc-shadow);
  overflow: visible;
}

.vf-dc-feature-row,
.vf-dc-data-cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--vf-dc-row-min-height);
  padding: var(--vf-dc-row-padding-y) var(--vf-dc-row-padding-x);
  border-bottom: 1px solid var(--vf-dc-border);
  font-size: 15px;
  line-height: 1.35;
  color: var(--vf-dc-text-heading);
  background: #fff;
}

.vf-dc-feature-row:first-child,
.vf-dc-data-cell:first-child {
  border-top-left-radius: var(--vf-dc-radius-xl);
  border-top-right-radius: var(--vf-dc-radius-xl);
}

.vf-dc-feature-row:last-child,
.vf-dc-data-cell:last-child {
  border-bottom-left-radius: var(--vf-dc-radius-xl);
  border-bottom-right-radius: var(--vf-dc-radius-xl);
  border-bottom: none;
}

.vf-dc-feature-row--header,
.vf-dc-data-cell--header {
  min-height: 72px;
  font-weight: 700;
  background: #FAFBFD;
}

.vf-dc-feature-row--rating {
  background: #FAFBFD !important;
  font-weight: 800;
  border-left: none;
  padding-left: var(--vf-dc-row-padding-x);
}

.vf-dc-feature-row--strong {
  font-weight: 800;
}

.vf-dc-feature-row[data-row-id="product"] {
  font-weight: 700;
}

.vf-dc-products-area {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.vf-dc-products-track {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 8px 0 0;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

.vf-dc-products-track::-webkit-scrollbar {
  display: none;
}

.vf-dc-products-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.vf-dc-product-card {
  position: relative;
  flex: 0 0 var(--vf-dc-card-width);
  min-width: var(--vf-dc-card-width);
  scroll-snap-align: start;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
  z-index: 20;
}

.vf-dc-product-card:hover {
  z-index: 50;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 50, 43, 0.08);
}

.vf-dc-product-card.is-best {
  border-color: rgba(116, 130, 96, 0.35);
  box-shadow: 0 12px 30px rgba(116, 130, 96, 0.12);
}

.vf-dc-provider-logo {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vf-dc-provider-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.vf-dc-data-cell {
  justify-content: center;
  text-align: center;
  color: var(--vf-dc-text-heading);
  font-size: 15px;
}

.vf-dc-data-cell strong {
  color: var(--vf-dc-text-heading);
  font-weight: 800;
}

.vf-dc-data-cell--productname strong {
  font-weight: 700;
}

.vf-dc-data-cell--rating,
.vf-dc-data-cell--products {
  flex-direction: column;
  gap: 8px;
}

.vf-dc-data-cell--strong {
  font-weight: 800;
}

.vf-dc-data-cell--icon img {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.vf-dc-data-cell--rating {
  background: #FAFBFD;
}

.vf-dc-rating-value {
  font-weight: 400;
}

.vf-dc-cell-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vf-dc-cell-badge[hidden] {
  display: none !important;
}

.vf-dc-cell-badge--rating {
  background: #f3f7f1;
  border: 1px solid #cfdcc8;
  color: #5f6c4f;
}

.vf-dc-bank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f7f3;
  border: 1px solid #d9e2d7;
  color: #5f6c4f;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.vf-dc-bank-pill.is-traditional {
  background: #fafbfd;
  color: #506057;
}

.vf-dc-tx-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vf-dc-tx-item {
  display: grid;
  grid-template-columns: 32px 1fr 14px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fafbfd;
  border: 1px solid var(--vf-dc-border);
}

.vf-dc-tx-country {
  justify-self: start;
  font-size: 12px;
  font-weight: 700;
  color: var(--vf-dc-text-heading);
}

.vf-dc-tx-value {
  justify-self: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--vf-dc-text-heading);
}

.vf-dc-data-cell--transaction {
  padding-top: 10px;
  padding-bottom: 10px;
}

.vf-dc-products-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f7f3;
  border: 1px solid #d9e2d7;
  color: #5f6c4f;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.vf-dc-products-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.vf-dc-products-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fafbfd;
  border: 1px solid var(--vf-dc-border);
  color: var(--vf-dc-text-heading);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.vf-dc-products-chip img {
  width: 10px;
  height: 10px;
}

.vf-dc-products-chip.is-off {
  color: #738079;
  background: #fcfcfd;
}

.vf-dc-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.vf-dc-cta-button.is-apply {
  background: linear-gradient(180deg, #83916c 0%, #748260 100%);
  color: #fff !important;
  border: 1px solid rgba(116, 130, 96, 0.22);
  box-shadow: 0 10px 22px rgba(116, 130, 96, 0.16);
}

.vf-dc-cta-button.is-apply:hover {
  background: linear-gradient(180deg, #b9caa2 0%, #afc295 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(175, 194, 149, 0.22);
}

.vf-dc-cta-button.is-provider-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f3 100%);
  color: #6f7a69 !important;
  border: 1px solid #d9e2d7;
  box-shadow: none;
  transition: none;
}

.vf-dc-cta-button.is-provider-secondary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f3 100%);
  color: #6f7a69 !important;
  border-color: #d9e2d7;
  transform: none;
  box-shadow: none;
}

.vf-dc-cta-button.is-disabled {
  pointer-events: none;
  cursor: default;
}

.vf-dc-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  cursor: help;
  z-index: 500;
}

.vf-dc-sticky-column .vf-dc-info-icon {
  z-index: 1200;
}

.vf-dc-info-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.72;
}

.vf-dc-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #2c3a33;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 16px 32px rgba(36, 50, 43, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
  z-index: 9999;
}

.vf-dc-tooltip a {
  color: #d7efbf !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.vf-dc-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #2c3a33 transparent transparent transparent;
}

.vf-dc-info-icon:hover .vf-dc-tooltip,
.vf-dc-info-icon:focus-within .vf-dc-tooltip,
.vf-dc-info-icon.is-open .vf-dc-tooltip,
.vf-dc-tooltip:hover {
  opacity: 1;
  visibility: visible;
}

.vf-dc-info-icon.vf-tooltip-left .vf-dc-tooltip {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.vf-dc-info-icon.vf-tooltip-left .vf-dc-tooltip::after {
  left: auto;
  right: 8px;
  transform: none;
}

.vf-dc-info-icon.vf-tooltip-right .vf-dc-tooltip {
  left: 0;
  transform: translateX(0);
}

.vf-dc-info-icon.vf-tooltip-right .vf-dc-tooltip::after {
  left: 8px;
  transform: none;
}

.vf-dc-empty-state,
.vf-dc-no-results {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
  border: 1px dashed var(--vf-dc-border-strong);
  border-radius: var(--vf-dc-radius-xl);
  background: #fff;
  color: var(--vf-dc-text-soft);
  font-size: 14px;
  text-align: center;
}

.vf-dc-no-results[hidden] {
  display: none !important;
}

.vf-dc-product-card[style*="display: none"] {
  display: none !important;
}

.vf-dc-mobile-tooltip {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: #2c3a33;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 18px 40px rgba(36, 50, 43, 0.28);
  z-index: 2147483647;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.vf-dc-mobile-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

@media (max-width: 1180px) {
  .vf-dc-modern {
    --vf-dc-sticky-width: 240px;
    --vf-dc-card-width: 190px;
  }
}

@media (max-width: 980px) {
  .vf-dc-modern {
    --vf-dc-sticky-width: 185px;
    --vf-dc-card-width: 165px;
    --vf-dc-row-min-height: 54px;
  }

  .vf-dc-comparison-shell {
    grid-template-columns: var(--vf-dc-sticky-width) minmax(0, 1fr);
    gap: 10px;
  }

  .vf-dc-provider-logo img {
    max-height: 44px;
  }

  .vf-dc-data-cell,
  .vf-dc-feature-row {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .vf-dc-modern {
    --vf-dc-sticky-width: 152px;
    --vf-dc-card-width: 170px;
    --vf-dc-row-min-height: 52px;
  }

  .vf-dc-comparison-shell {
    grid-template-columns: var(--vf-dc-sticky-width) minmax(0, 1fr);
    gap: 8px;
  }

  .vf-dc-sticky-column {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 8;
  }

  .vf-dc-feature-row,
  .vf-dc-data-cell {
    padding: 10px 10px;
    font-size: 13px;
  }

  .vf-dc-provider-logo img {
    max-height: 38px;
  }

  .vf-dc-tooltip,
  .vf-dc-info-icon.vf-tooltip-left .vf-dc-tooltip,
  .vf-dc-info-icon.vf-tooltip-right .vf-dc-tooltip {
    display: none !important;
  }

  .vf-dc-tooltip::after,
  .vf-dc-info-icon.vf-tooltip-left .vf-dc-tooltip::after,
  .vf-dc-info-icon.vf-tooltip-right .vf-dc-tooltip::after {
    display: none;
  }

  .vf-dc-products-chip {
    padding: 5px 8px;
    font-size: 10px;
  }

  .vf-dc-tx-item {
    grid-template-columns: 26px 1fr 14px;
    padding: 7px 8px;
  }
}

@media (min-width: 768px) {
  .vf-dc-mobile-tooltip {
    display: none !important;
  }
}