/* Pricing tables: the image plan picker (bottom of the file), the video cards and the shared controls. */

.pt-root {
    margin-top: 24px;
}

.pt-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px auto;
    width: fit-content;
    max-width: 100%;
}


.pt-switch { justify-self: center; }

/* Custom toggle switch to match provided design */
.pt-switch {
    position: relative;
    display: inline-block;
    width: 46px; /* track width */
    height: 24px; /* track height */
    cursor: pointer;
}
.pt-switch input {
    position: relative;
    opacity: 0;
    width: 46px;
    height: 24px;
    cursor: pointer;
}
.pt-switch::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #c9c9c9; /* off track */
    border-radius: 999px;
    transition: background-color .2s ease;
}
.pt-switch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 20px; /* knob size */
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
    transition: left .2s ease;
}
/* Use :has() for modern browsers to style based on input state; fallback supported by JS classes on root */
.pt-switch:has(input:checked)::before { background: #0bba68; }
.pt-switch:has(input:checked)::after { left: 24px; }

/* Fallback based on root state toggled by JS */
.pt-root.is-yearly .pt-switch::before { background: #0bba68; }
.pt-root.is-yearly .pt-switch::after { left: 24px; }

.pt-yearly-label { white-space: nowrap; }
.pt-yearly-label .pt-save { color: #0bba68; }

.pt-card {
    position: relative;
    border-radius: 8px;
    padding: 16px;
    margin: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 20% 10%;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2), 0px 1px 1px rgba(0,0,0,0.14), 0px 2px 1px -1px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.12);
    transition: background-position 0.4s ease-in-out;
}

.pt-card:hover { background-position: top right; }

.pt-card h3, .pt-free h3{ margin-top: 2px; font-weight:700;}

.pt-card__price { display:flex; align-items: baseline; justify-content: center; gap :0.25em; text-align: center; }
.pt-card__price h4 { font-size: 53px; margin-top: 5px; font-weight:700; }

.pt-currency {
    font-size: 0.5em;
    vertical-align: super;
    margin-right: 2px;
}
.pt-price-suffix { font-size: 0.45em; color: #777; margin-left: 2px; }

.pt-recurrence { text-align: center; color: #777; margin: 8px auto 0; width: 100%; }
.pt-recurrence--yearly { display: none; }
.pt-price--yearly { display: none; }
.pt-root.is-yearly .pt-price--monthly { display: none; }
.pt-root.is-yearly .pt-price--yearly { display: inline; }
.pt-root.is-yearly .pt-recurrence--monthly { display: none; }
.pt-root.is-yearly .pt-recurrence--yearly { display: block; }

/* Custom dropdown */
.pt-dropdown { position: relative; user-select: none; }
.pt-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    cursor: pointer;
}
.pt-dropdown__toggle:hover { border-color: #0bba68; box-shadow: 0 0 0 2px rgba(11,186,104,0.15) inset; }
.pt-dropdown__arrow {
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #000; /* caret */
    opacity: .6;
    transition: transform .15s ease;
}
.pt-dropdown.is-open .pt-dropdown__arrow { transform: rotate(180deg); }

.pt-dropdown__menu {
    position: absolute;
    z-index: 10;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    max-height: 240px;
    overflow: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
}
.pt-dropdown.is-open .pt-dropdown__menu { display: block; }

.pt-dropdown__option {
    padding: 10px 12px;
    cursor: pointer;
}
.pt-dropdown__option:hover { background: #f2fbf7; }
.pt-dropdown__option.is-selected { background: #e7f7ef; }

.pt-list { margin: 24px 0; padding: 0; list-style: none; color: #000; }
.pt-list li { margin: 4px 0; }
.pt-feature-item { display: grid; grid-template-columns: 18px 1fr; align-items: center; column-gap: 8px;padding:3px 0; }
.pt-feature-icon { color: rgb(96, 221, 143); line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.pt-feature-icon--risk { color: #e53935; }
.pt-feature-text { display: block; }

.pt-badge-new {
    display: inline-block;
    background: #0bba68;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
    vertical-align: middle;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    margin-left: 5px;
}

.pt-free {
    background-image: url(../img/img-vision-abstract-background.svg);
    transition: background-position 0.4s ease-in-out;
    margin: 72px 12px 12px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 10%;
    padding: 16px;
    border-radius: 8px;
}




.pt-free-img-example { float: right; margin:0; }
.pt-free-features { float: left; }

.pt-small { color: #777; font-size: 14px; text-align: center; margin-top: 12px; }

/* =====================================================
   VIDEO PRICING TABLE STYLES
   ===================================================== */

.pt-video-root {
    max-width: 1200px;
    margin: 0 auto;
}

.pt-video-row-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 12px 16px;
    color: #333;
}

.pt-video-grid {
    display: grid;
    gap: 16px;
    padding: 0 12px;
}

.pt-video-grid--row1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pt-video-grid--row2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pt-video-card {
    position: relative;
    border-radius: 8px;
    padding: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% 10%;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2), 0px 1px 1px rgba(0,0,0,0.14), 0px 2px 1px -1px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.12);
    transition: background-position 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.pt-video-card:hover {
    background-position: top right;
}

.pt-video-card h3 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.4rem;
}

.pt-video-details {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 0.9rem;
    color: #333;
}

.pt-video-details li {
    margin: 8px 0;
    line-height: 1.4;
}

.pt-video-details strong {
    color: #000;
}

.pt-video-all-features {
    font-weight: 600;
    color: #0bba68;
    margin: 12px 0 20px;
    font-size: 0.95rem;
}

.pt-video-ebay-link {
    font-size: 0.85rem;
    margin: 0 0 16px;
}

.pt-video-ebay-link a {
    color: #0066cc;
    text-decoration: underline;
}

.pt-video-ebay-link a:hover {
    color: #004499;
}

.pt-video-card .wp-block-button {
    margin-top: auto;
}

/* Shared features section */
.pt-video-features-section {
    margin: 48px 12px 24px;
    padding: 24px;
    background: #f4fce4;
    border-radius: 12px;
    border: 1px solid rgba(11, 186, 104, 0.2);
}

.pt-video-features-section > h3 {
    text-align: center;
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.pt-video-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.pt-video-features-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
    border-bottom: 2px solid #0bba68;
    padding-bottom: 8px;
}

.pt-video-features-column .pt-list {
    margin: 0;
}

.pt-video-features-column .pt-feature-item {
    font-size: 0.9rem;
}

.pt-video-features-section .pt-badge-new {
    font-weight: 400;
    letter-spacing: normal;
    padding: 5px;
    white-space: nowrap;
}

/* Footer section */
.pt-video-footer {
    margin: 24px 12px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
}

.pt-video-footer p {
    margin: 4px 0;
}

.pt-video-footer sup {
    color: #999;
}

/* Mobile responsiveness: stack columns on small screens */
@media (max-width: 768px) {
    .pt-free {
        grid-template-columns: 1fr;
    }

    .pt-video-grid--row1,
    .pt-video-grid--row2 {
        grid-template-columns: 1fr;
    }

    .pt-video-features-grid {
        grid-template-columns: 1fr;
    }

    .pt-video-row-title {
        font-size: 1.25rem;
        margin: 24px 12px 12px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .pt-video-grid--row1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pt-video-grid--row2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pt-video-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =====================================================
   COUNTRY SELECTOR
   Replaces the old currency <select>. Countries sharing a
   currency can differ in tax treatment and in price, so the
   country is what the visitor actually picks.
   ===================================================== */

.pt-controls--country {
    width: 280px;
    max-width: 100%;
}

.pt-dropdown--country {
    width: 100%;
}

.pt-dropdown--country .pt-dropdown__toggle {
    cursor: text;
}

.pt-country-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    outline: none;
}

.pt-country-input:disabled {
    color: #999;
    cursor: not-allowed;
}

.pt-dropdown__empty {
    padding: 10px 12px;
    color: #777;
}

/* Keyboard highlight, distinct from the committed selection. */
.pt-dropdown__option.is-active {
    background: #e7f7ef;
    outline: 2px solid #14a05f;
    outline-offset: -2px;
}

/* =====================================================
   PRICE RESOLUTION STATE
   ===================================================== */

/*
 * Only opacity changes while prices are being fetched - never a layout
 * property, so a country switch cannot shift the page. The server already
 * rendered real numbers at final size, so there is nothing to reserve.
 */
.pt-root.is-resolving .pt-price-container {
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.pt-card__price {
    font-variant-numeric: tabular-nums;
    min-width: 6ch;
}

/*
 * Locales that place the symbol after the amount ("1 299,00 EUR"). Applied
 * from Intl.formatToParts rather than assumed per currency.
 */
.pt-card--currency-trailing .pt-card__price h4 {
    display: inline-flex;
    align-items: baseline;
}

.pt-card--currency-trailing .pt-currency {
    order: 2;
    margin-right: 0;
    margin-left: 2px;
}

.pt-card--currency-trailing .pt-price-suffix {
    order: 3;
}

/* Reserve the two-line worst case so the note cannot push the page down. */
.pt-tax-note {
    min-height: 2.6em;
}

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

/* =====================================================
   IMAGE PLAN PICKER
   The app's pricing table (Billing, Image hosting):
   sliderPricing/styles.ts in Img.vision-Java-React.
   Step 1 picks the tier, step 2 the plan size, one price
   card shows the selection, and "Compare plans" follows.
   Colours: teal #023C40, green #60dd8f, green text #1f8f4e,
   tint #f1f9e1, section green #dff3ce.
   ===================================================== */

.pt-root[data-kind="image"] {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    color: #023c40;
}

.pt-root[data-kind="image"] button {
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.pt-root[data-kind="image"] [hidden] {
    display: none !important;
}

.pt-picker-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.pt-picker-controls .pt-controls--country {
    margin: 0;
}

.pt-interval {
    display: inline-flex;
    padding: 4px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pt-interval__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #023c40;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    line-height: 1.75;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pt-interval__button:hover {
    background: rgba(2, 60, 64, 0.04);
}

.pt-interval__button[aria-pressed="true"],
.pt-interval__button[aria-pressed="true"]:hover {
    background: #60dd8f;
    color: #fff;
}

.pt-interval__badge {
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffc400;
    color: #023c40;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.pt-panel {
    padding: 32px;
    border-radius: 16px;
    background-color: #fff;
    background-size: cover;
    background-position: 70% 10%;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(2, 60, 64, 0.08);
}

.pt-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}

.pt-picker {
    display: flex;
    flex-direction: column;
}

.pt-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.pt-step ~ .pt-step {
    margin-top: 24px;
}

.pt-step__number {
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: 999px;
    background: #023c40;
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pt-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pt-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 16px;
    border: 2px solid rgba(2, 60, 64, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    color: #023c40;
    text-align: center;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pt-tier:hover {
    border-color: #60dd8f;
    background-color: rgba(255, 255, 255, 0.75);
    color: #023c40;
}

/* The brand background on the card itself, its darkest corner top right. */
.pt-tier.is-active {
    border-color: #60dd8f;
    background-color: #f1f9e1;
    background-image: url(../img/img-vision-abstract-background.svg);
    background-size: cover;
    background-position: right top;
    box-shadow: 0 6px 16px rgba(2, 60, 64, 0.12);
}

.pt-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ffc400;
    color: #023c40;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.6;
    text-transform: uppercase;
}

.pt-tier__name {
    font-size: 1.15rem;
    font-weight: 700;
}

.pt-tier__range {
    font-size: 0.8rem;
    opacity: 0.8;
}

.pt-tier__persona {
    margin-top: 6px;
    font-size: 0.75rem;
    line-height: 1.35;
    opacity: 0.75;
}

.pt-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
}

.pt-size {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 12px 8px;
    border: 1px solid rgba(2, 60, 64, 0.15);
    border-radius: 10px;
    background: #fff;
    color: #023c40;
    line-height: 1.5;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.pt-size:hover {
    border-color: #60dd8f;
    background: #fff;
    color: #023c40;
}

.pt-size.is-active {
    border-color: #60dd8f;
    box-shadow: 0 0 0 2px #60dd8f;
}

.pt-size__count {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.pt-size__rate {
    margin-top: 4px;
    font-size: 0.68rem;
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
}

.pt-size__unit {
    font-size: 0.68rem;
    opacity: 0.6;
}

.pt-comparison {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0;
    color: #1f8f4e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pt-comparison b {
    font-weight: 700;
}

.pt-comparison__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.pt-calc-slot {
    margin-top: auto;
    padding-top: 28px;
}

/* Pulled into the panel's padding, so the larger gap is the one above it. */
.pt-calc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 -16px -8px;
    padding: 6px 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1f8f4e;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.75;
    cursor: pointer;
}

.pt-calc-toggle:hover {
    background: rgba(96, 221, 143, 0.08);
    color: #1f8f4e;
}

.pt-calc-toggle svg {
    font-size: 1.25rem;
}

.pt-calc {
    padding: 16px;
    border: 1px solid #dff3ce;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
}

.pt-calc__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pt-calc__title svg {
    font-size: 1.25rem;
}

.pt-calc__close {
    display: inline-flex;
    margin: -4px -4px -4px auto;
    padding: 5px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
}

.pt-calc__close:hover {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.54);
}

.pt-calc__row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.pt-calc__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 150px;
    font-size: 0.75rem;
    opacity: 0.85;
}

.pt-calc__field input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    background: #fff;
    color: #023c40;
    font: inherit;
    font-size: 0.9rem;
}

.pt-calc__field input:focus {
    outline: none;
    border-color: #60dd8f;
    box-shadow: 0 0 0 1px #60dd8f;
}

.pt-calc__operator {
    padding-bottom: 4px;
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0.5;
}

.pt-calc__total {
    padding-bottom: 6px;
    font-size: 1.2rem;
    font-weight: 700;
}

.pt-calc__result {
    margin: 8px 0 0;
    font-size: 0.8rem;
    opacity: 0.75;
}

.pt-price-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    padding: 24px;
    border-top: 6px solid #60dd8f;
    border-radius: 12px;
    background: #fff;
    color: #023c40;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s;
}

/* Brand green for Starter and Pro, brand teal for Pro Max. */
.pt-root[data-tier="promax"] .pt-price-card {
    border-top-color: #023c40;
}

.pt-price-card p {
    margin: 0;
}

.pt-price-card__overline {
    color: #1f8f4e;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pt-price-card__tier {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.pt-price-card__line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
}

.pt-price-card__amount {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pt-price-card__period {
    font-size: 1rem;
    opacity: 0.6;
}

.pt-price-card__struck {
    color: #ec4e39;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: 0.8;
}

.pt-price-card__meta {
    margin-top: 4px !important;
    font-size: 0.8rem;
    opacity: 0.65;
}

.pt-savings {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    margin: 16px 0 0;
    padding: 10px 12px;
    border: 1.5px solid #60dd8f;
    border-radius: 8px;
    color: #023c40;
    text-align: left;
    line-height: 1.5;
}

.pt-savings--on {
    background: #dff3ce;
}

button.pt-savings--off {
    border-style: dashed;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

button.pt-savings--off:hover {
    background: #f1f9e1;
    color: #023c40;
}

.pt-savings__icon {
    flex-shrink: 0;
    color: #36b66a;
    font-size: 1.5rem;
}

.pt-savings__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.pt-savings__title {
    color: #1f8f4e;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.pt-savings__sub {
    font-size: 0.75rem;
    opacity: 0.75;
}

.pt-savings__switch {
    padding: 4px 10px;
    border-radius: 999px;
    background: #60dd8f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pt-savings__back {
    flex-shrink: 0;
    padding: 4px 10px;
    border: 1.5px solid #60dd8f;
    border-radius: 999px;
    background: #fff;
    color: #1f8f4e;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
    cursor: pointer;
}

.pt-savings__back:hover {
    background: #f1f9e1;
    color: #1f8f4e;
}

.pt-price-card__cta {
    width: 100%;
    margin-top: 20px;
}

.pt-price-card__cta .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.pt-price-card__cta-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.pt-root[data-kind="image"] .pt-tax-note {
    min-height: 0;
    margin: 12px 0 24px;
    color: inherit;
    font-size: 0.8rem;
    opacity: 0.65;
}

/* -- Compare plans ------------------------------------------------------- */

.pt-matrix-heading {
    margin: 0 0 12px;
    padding-left: 32px;
    color: #023c40;
    font-size: 1.4rem;
    font-weight: 700;
}

.pt-matrix {
    padding-bottom: 16px;
    border: 1px solid rgba(2, 60, 64, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(2, 60, 64, 0.04), 0 12px 32px -16px rgba(2, 60, 64, 0.12);
    font-size: 0.85rem;
    line-height: 1.5;
}

.pt-matrix__row {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr));
}

.pt-matrix__head {
    position: sticky;
    top: 0;
    z-index: 3;
    border-radius: 16px 16px 0 0;
    background: #fff;
    box-shadow: 0 6px 10px -8px rgba(2, 60, 64, 0.25);
}

.pt-matrix__cell {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pt-matrix__name {
    padding: 16px 12px;
    border-top: 5px solid #60dd8f;
    font-size: 1.15rem;
    font-weight: 700;
}

.pt-matrix__name[data-col="free"] {
    border-top-color: #d7e6cf;
}

.pt-matrix__name[data-col="promax"] {
    border-top-color: #023c40;
}

.pt-matrix__section {
    background: #dff3ce;
}

.pt-matrix__section-title {
    padding: 14px 20px;
    border-left: 4px solid #60dd8f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Every other row a faint shade, so the eye can follow it across. */
.pt-matrix__feature--striped {
    background: #f8fbf4;
}

.pt-matrix__label {
    padding-left: 20px;
}

.pt-matrix__value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* The selected tier's column. */
.pt-root[data-tier="starter"] .pt-matrix__cell[data-col="starter"],
.pt-root[data-tier="pro"] .pt-matrix__cell[data-col="pro"],
.pt-root[data-tier="promax"] .pt-matrix__cell[data-col="promax"] {
    background: #f1f9e1;
    box-shadow: inset 2px 0 0 #60dd8f, inset -2px 0 0 #60dd8f;
}

.pt-root[data-tier="starter"] .pt-matrix__name[data-col="starter"],
.pt-root[data-tier="pro"] .pt-matrix__name[data-col="pro"],
.pt-root[data-tier="promax"] .pt-matrix__name[data-col="promax"] {
    border-radius: 12px 12px 0 0;
}

.pt-root[data-tier="starter"] .pt-matrix__section [data-col="starter"],
.pt-root[data-tier="pro"] .pt-matrix__section [data-col="pro"],
.pt-root[data-tier="promax"] .pt-matrix__section [data-col="promax"] {
    background: #d2ecbd;
}

.pt-matrix__group--more {
    display: none;
}

.pt-matrix.is-expanded .pt-matrix__group--more {
    display: block;
}

.pt-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #60dd8f;
    color: #fff;
    font-size: 16px;
}

.pt-no {
    display: inline-flex;
    color: #c2cfc4;
    font-size: 18px;
}

.pt-matrix__text {
    font-size: 0.8rem;
    font-weight: 700;
}

.pt-matrix__details {
    display: block;
    margin-top: 2px;
}

/* Hanging indent: a wrapped line starts under the text, not under the dash. */
.pt-matrix__detail {
    display: block;
    padding-left: 0.75em;
    text-indent: -0.75em;
    font-size: 0.78rem;
    opacity: 0.7;
}

.pt-matrix__detail::before {
    content: "– ";
}

.pt-matrix__more {
    display: inline-block;
    margin-top: 2px;
    color: inherit;
    font-size: 0.78rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    opacity: 0.7;
}

.pt-matrix__more:hover {
    color: #1f8f4e;
}

.pt-matrix__more-icon {
    margin-left: 2px;
    font-size: 0.8rem;
    vertical-align: -2px;
}

.pt-badge {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #ffc400;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: 1px;
}

.pt-example {
    position: relative;
}

.pt-inline-link {
    padding: 0;
    border: 0;
    background: none;
    color: #36b66a;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.pt-inline-link:hover {
    background: none;
    color: #36b66a;
    text-decoration: underline;
}

.pt-example__popover {
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    z-index: 20;
    display: block;
    width: 360px;
    max-width: 80vw;
    padding: 12px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 6px -3px rgba(0, 0, 0, 0.2), 0 10px 14px 1px rgba(0, 0, 0, 0.14), 0 4px 18px 3px rgba(0, 0, 0, 0.12);
    font-size: 0.875rem;
    transform: translateY(-50%);
}

.pt-example__popover img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 6px;
}

.pt-matrix__expand {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.pt-outline-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    border: 2px solid #60dd8f;
    border-radius: 4px;
    background: transparent;
    color: #60dd8f;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.75;
    cursor: pointer;
}

.pt-outline-button:hover {
    border-color: #60dd8f;
    background: rgba(96, 221, 143, 0.04);
    color: #60dd8f;
}

.pt-outline-button__icon {
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.pt-matrix.is-expanded .pt-outline-button__icon {
    transform: rotate(180deg);
}

.pt-matrix__footnote {
    margin: 0;
    padding: 12px 20px 0;
    font-size: 0.72rem;
    opacity: 0.6;
}

.pt-matrix__footnote a {
    color: inherit;
}

/* Wide screens show every column; the tabs are for phones. */
.pt-matrix__tabs {
    display: none;
}

.pt-root.is-resolving .pt-price-card__line,
.pt-root.is-resolving .pt-size__rate,
.pt-root.is-resolving .pt-savings,
.pt-root.is-resolving .pt-comparison {
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

@media (max-width: 899px) {
    .pt-panel {
        padding: 16px;
    }

    .pt-panel__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pt-calc-toggle {
        margin-bottom: -8px;
    }

    .pt-matrix-heading {
        padding-left: 16px;
    }

    /* One tier at a time, picked with tabs, instead of scrolling sideways. */
    .pt-matrix__tabs {
        position: sticky;
        top: 0;
        z-index: 3;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        margin: 0;
        padding: 16px;
        border-radius: 16px 16px 0 0;
        background: #fff;
        box-shadow: 0 6px 10px -8px rgba(2, 60, 64, 0.25);
    }

    .pt-matrix__tabs::before {
        content: "";
        position: absolute;
        inset: 16px;
        z-index: -1;
        border-radius: 999px;
        background: #f1f9e1;
    }

    .pt-matrix__tab {
        margin: 4px 0;
        padding: 8px 4px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #023c40;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        white-space: nowrap;
        cursor: pointer;
    }

    .pt-matrix__tab:first-child {
        margin-left: 4px;
    }

    .pt-matrix__tab:last-child {
        margin-right: 4px;
    }

    .pt-matrix__tab:hover {
        background: transparent;
        color: #023c40;
    }

    .pt-matrix__tab[aria-selected="true"],
    .pt-matrix__tab[aria-selected="true"]:hover {
        background: #60dd8f;
        color: #fff;
    }

    .pt-matrix__head {
        display: none;
    }

    .pt-matrix__section {
        display: block;
    }

    .pt-matrix__section [data-col] {
        display: none;
    }

    .pt-matrix__feature {
        grid-template-columns: minmax(0, 1fr) minmax(56px, 38%);
        align-items: center;
        gap: 12px;
        padding-right: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .pt-matrix__feature .pt-matrix__cell {
        border-bottom: 0;
    }

    .pt-matrix__feature .pt-matrix__value {
        display: none;
    }

    .pt-root[data-compact-col="free"] .pt-matrix__value[data-col="free"],
    .pt-root[data-compact-col="starter"] .pt-matrix__value[data-col="starter"],
    .pt-root[data-compact-col="pro"] .pt-matrix__value[data-col="pro"],
    .pt-root[data-compact-col="promax"] .pt-matrix__value[data-col="promax"] {
        display: flex;
        background: none;
        box-shadow: none;
    }

    .pt-example__popover {
        top: calc(100% + 8px);
        left: 0;
        transform: none;
    }
}

@media (max-width: 599px) {
    .pt-tiers {
        grid-template-columns: 1fr;
    }
}
