.calio-mc-pricing-table {
  --calio-mc-price-inline-gap: 10px;
  --calio-mc-price-stack-gap: 0px;
  --calio-mc-switcher-label-gap: 14px;
  display: grid;
  gap: 24px;
}

.calio-mc-pricing-billing-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calio-mc-pricing-mobile-focus {
  display: none;
}

.calio-mc-pricing-mobile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.calio-mc-pricing-mobile-chip:hover,
.calio-mc-pricing-mobile-chip:focus-visible {
  border-color: rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
  outline: none;
}

.calio-mc-pricing-mobile-chip.is-active {
  background: #0f172a;
  color: #fff;
}

.calio-mc-pricing-mobile-chip-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.calio-mc-pricing-mobile-chip.is-active .calio-mc-pricing-mobile-chip-badge {
  background: rgba(255, 255, 255, 0.2);
}

.calio-mc-pricing-billing-switcher {
  --calio-mc-knob-x: 8px;
  --calio-mc-knob-width: 72px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--calio-mc-switcher-label-gap);
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  isolation: isolate;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.calio-mc-pricing-billing-switcher:hover,
.calio-mc-pricing-billing-switcher:focus-visible {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  outline: none;
}

.calio-mc-pricing-cycle-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  z-index: 1;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.calio-mc-pricing-cycle-label.is-active {
  color: #0f172a;
}

.calio-mc-pricing-cycle-text {
  line-height: 1;
}

.calio-mc-pricing-cycle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: currentcolor;
}

.calio-mc-pricing-cycle-icon i {
  font-size: 13px;
}

.calio-mc-pricing-cycle-icon svg {
  width: 13px;
  height: 13px;
  fill: currentcolor;
}

.calio-mc-pricing-billing-knob {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: var(--calio-mc-knob-width);
  min-width: 72px;
  border-radius: 999px;
  background: #eff6ff;
  transform: translateX(var(--calio-mc-knob-x));
  transition: transform .24s ease, background-color .2s ease;
  will-change: transform;
}

.calio-mc-pricing-billing-switcher.is-switching .calio-mc-pricing-billing-knob {
  transition: transform .34s cubic-bezier(.16, 1.25, .3, 1), background-color .2s ease;
  animation: calioPricingKnobGlow .32s ease-out;
}

.calio-mc-pricing-cycle-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@keyframes calioPricingKnobGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.22);
  }
  55% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.calio-mc-pricing-grid {
  display: grid;
  gap: 0;
}

.calio-mc-pricing-grid.has-label-column {
  grid-template-columns: minmax(180px, 1.1fr) repeat(var(--calio-pricing-cols, 3), minmax(0, 1fr));
}

.calio-mc-pricing-table.cols-2 .calio-mc-pricing-grid { --calio-pricing-cols: 2; }
.calio-mc-pricing-table.cols-3 .calio-mc-pricing-grid { --calio-pricing-cols: 3; }
.calio-mc-pricing-table.cols-4 .calio-mc-pricing-grid { --calio-pricing-cols: 4; }

.calio-mc-pricing-corner {
  min-height: 100%;
}

.calio-mc-pricing-plan {
  min-width: 0;
}

.calio-mc-pricing-plan-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(-180deg, #fff, #f8fafc);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.calio-mc-pricing-plan-card:hover,
.calio-mc-pricing-plan-card:focus-within {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.calio-mc-pricing-plan-header {
  display: grid;
  gap: 12px;
  align-content: start;
  margin-bottom: 22px;
}

.calio-mc-pricing-plan-footer {
  margin-top: auto;
}

.calio-mc-pricing-plan.is-featured .calio-mc-pricing-plan-card {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
  transform: translateY(-8px);
}

.calio-mc-pricing-badge {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.calio-mc-pricing-badge.is-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.calio-mc-pricing-featured-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.calio-mc-pricing-plan-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.2;
}

.calio-mc-pricing-plan-subtitle,
.calio-mc-pricing-period {
  color: #64748b;
  font-size: 14px;
  transition: color .2s ease;
}

.calio-mc-pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: var(--calio-mc-price-inline-gap);
  flex-wrap: wrap;
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}

.calio-mc-pricing-price-wrap[hidden] {
  display: flex;
}

.calio-mc-pricing-price-wrap.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.calio-mc-pricing-price-stack {
  display: grid;
  gap: var(--calio-mc-price-stack-gap);
}

.calio-mc-pricing-old-price {
  color: #94a3b8;
  font-size: 1rem;
  text-decoration: line-through;
  transition: color .2s ease;
}

.calio-mc-pricing-price {
  color: #0f172a;
  font-size: clamp(2rem, 1.6rem + 1vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.calio-mc-pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.calio-mc-pricing-button:hover,
.calio-mc-pricing-button:focus-visible {
  background: #2563eb;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.calio-mc-pricing-button:active {
  transform: translateY(0);
}

.calio-mc-pricing-plan.is-featured .calio-mc-pricing-button {
  background: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.calio-mc-pricing-plan.is-featured .calio-mc-pricing-button:hover,
.calio-mc-pricing-plan.is-featured .calio-mc-pricing-button:focus-visible {
  background: #1d4ed8;
}

.calio-mc-pricing-row {
  display: contents;
}

.calio-mc-pricing-group-row {
  display: contents;
}

.calio-mc-pricing-group-label,
.calio-mc-pricing-group-note {
  padding: 18px 20px;
  background: #eef2ff;
}

.calio-mc-pricing-group-label {
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calio-mc-pricing-group-note {
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.calio-mc-pricing-row-label,
.calio-mc-pricing-row-value {
  padding: 18px 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #fff;
  transition: background-color .2s ease, color .2s ease;
}

.calio-mc-pricing-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 600;
}

.calio-mc-pricing-row-label-text {
  min-width: 0;
}

.calio-mc-pricing-row-note {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.calio-mc-pricing-row-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.calio-mc-pricing-row-note-icon:hover,
.calio-mc-pricing-row-note-icon:focus-visible {
  background: #dbeafe;
  color: #1d4ed8;
  transform: scale(1.04);
  outline: none;
}

.calio-mc-pricing-row-note-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 50%;
  z-index: 2;
  width: min(240px, 40vw);
  padding: 12px 14px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.calio-mc-pricing-row-note:hover .calio-mc-pricing-row-note-tooltip,
.calio-mc-pricing-row-note:focus-within .calio-mc-pricing-row-note-tooltip {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.calio-mc-pricing-row-value {
  color: #475569;
  text-align: center;
}

.calio-mc-pricing-row:hover .calio-mc-pricing-row-label,
.calio-mc-pricing-row:hover .calio-mc-pricing-row-value {
  background: #f8fafc;
}

.calio-mc-pricing-row-value.is-featured {
  background: rgba(37, 99, 235, 0.04);
  box-shadow: inset -1px 0 0 rgba(37, 99, 235, 0.08), inset 1px 0 0 rgba(37, 99, 235, 0.08);
}

.calio-mc-pricing-row:hover .calio-mc-pricing-row-value.is-featured {
  background: rgba(37, 99, 235, 0.08);
}

.calio-mc-pricing-row.emphasis-soft .calio-mc-pricing-row-label,
.calio-mc-pricing-row.emphasis-soft .calio-mc-pricing-row-value {
  background: #f8fafc;
}

.calio-mc-pricing-row.emphasis-spotlight .calio-mc-pricing-row-label,
.calio-mc-pricing-row.emphasis-spotlight .calio-mc-pricing-row-value {
  background: linear-gradient(-180deg, #eff6ff, #f8fbff);
}

.calio-mc-pricing-row.emphasis-spotlight .calio-mc-pricing-row-label {
  color: #1d4ed8;
}

.calio-mc-pricing-row.emphasis-contrast .calio-mc-pricing-row-label,
.calio-mc-pricing-row.emphasis-contrast .calio-mc-pricing-row-value {
  background: #0f172a;
  color: #e2e8f0;
}

.calio-mc-pricing-row.emphasis-contrast .calio-mc-pricing-row-note-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.calio-mc-pricing-row.emphasis-contrast .calio-mc-pricing-row-value.is-featured {
  background: #111f38;
}

.calio-mc-pricing-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.calio-mc-pricing-indicator.is-check {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.calio-mc-pricing-indicator.is-cross {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.calio-mc-pricing-indicator.is-star {
  background: rgba(250, 204, 21, 0.16);
  color: #ca8a04;
}

.calio-mc-pricing-indicator.is-bolt {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.calio-mc-pricing-indicator.is-shield {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.calio-mc-pricing-table.featured-skin-outline .calio-mc-pricing-plan.is-featured .calio-mc-pricing-plan-card {
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.calio-mc-pricing-table.featured-skin-ribbon .calio-mc-pricing-plan.is-featured .calio-mc-pricing-plan-card {
  padding-top: 56px;
}

.calio-mc-pricing-table.featured-skin-ribbon .calio-mc-pricing-plan:not(.is-featured) .calio-mc-pricing-badge {
  margin-top: 8px;
}

.calio-mc-pricing-mobile-plan,
.calio-mc-pricing-mobile-label {
  display: none;
}

.calio-mc-pricing-row.is-highlight .calio-mc-pricing-row-label,
.calio-mc-pricing-row.is-highlight .calio-mc-pricing-row-value {
  background: #f8fafc;
}

.calio-mc-pricing-table.skin-minimal .calio-mc-pricing-plan-card,
.calio-mc-pricing-table.skin-minimal .calio-mc-pricing-row-label,
.calio-mc-pricing-table.skin-minimal .calio-mc-pricing-row-value {
  background: transparent;
}

.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-plan-card {
  background: #0f172a;
}

.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-plan-title,
.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-price,
.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-button {
  color: #fff;
}

.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-plan-subtitle,
.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-period,
.calio-mc-pricing-table.skin-contrast .calio-mc-pricing-old-price {
  color: rgba(255, 255, 255, 0.72);
}

.calio-mc-pricing-footer {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.calio-mc-pricing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.calio-mc-pricing-toggle:hover,
.calio-mc-pricing-toggle:focus-visible {
  border-color: rgba(37, 99, 235, 0.24);
  background: #eff6ff;
  transform: translateY(-1px);
}

.calio-mc-pricing-empty {
  padding: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 18px;
  color: #64748b;
  text-align: center;
}

@media (max-width: 1024px) {
  .calio-mc-pricing-grid.has-label-column {
    grid-template-columns: minmax(140px, .9fr) repeat(var(--calio-pricing-cols, 3), minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .calio-mc-pricing-mobile-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-plan[data-mobile-active="false"],
  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-row-value[data-mobile-active="false"] {
    display: none;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-grid.has-label-column {
    display: grid;
    gap: 10px;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-corner {
    display: none;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-row.emphasis-contrast {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
  }

  .calio-mc-pricing-table.mobile-mode-plan-focus .calio-mc-pricing-row-label {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .calio-mc-pricing-grid,
  .calio-mc-pricing-grid.has-label-column {
    display: block;
  }

  .calio-mc-pricing-corner {
    display: none;
  }

  .calio-mc-pricing-plan {
    margin-bottom: 16px;
  }

  .calio-mc-pricing-plan-header {
    margin-bottom: 18px;
  }

  .calio-mc-pricing-row {
    display: grid;
    margin-bottom: 10px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    overflow: hidden;
  }

  .calio-mc-pricing-group-row {
    display: block;
    margin-bottom: 10px;
    border-radius: 18px;
    overflow: hidden;
  }

  .calio-mc-pricing-row-label,
  .calio-mc-pricing-row-value {
    border-top: 0;
    text-align: right;
  }

  .calio-mc-pricing-row-label {
    justify-content: space-between;
  }

  .calio-mc-pricing-row-note-tooltip {
    right: auto;
    left: 0;
    width: min(220px, 72vw);
    transform: translateY(6px);
  }

  .calio-mc-pricing-row-note:hover .calio-mc-pricing-row-note-tooltip,
  .calio-mc-pricing-row-note:focus-within .calio-mc-pricing-row-note-tooltip {
    transform: translateY(0);
  }

  .calio-mc-pricing-row-value {
    display: grid;
    gap: 6px;
  }

  .calio-mc-pricing-mobile-plan,
  .calio-mc-pricing-mobile-label {
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .calio-mc-pricing-row-value::before {
    content: attr(data-plan);
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .calio-mc-pricing-row-value::after {
    content: attr(data-label);
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
  }
}

