/* A native block header and native editable table share one horizontal viewport. */
.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-heading {
    margin-bottom: 32px;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-scroll {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid #e1e1ec;
    border-radius: 16px;
    box-sizing: border-box;
    background: #fff;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-scroll:focus {
    outline: none;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-scroll:focus-visible {
    outline: 2px solid #4632e0;
    outline-offset: 4px;
}

.landu-pla-tail.landu-pla-comparison-table a:focus-visible,
.landu-pla-tail.landu-pla-comparison-table button:focus-visible {
    outline: 2px solid #4632e0;
    outline-offset: 4px;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-table {
    width: 100%;
    min-width: max(800px, var(--landu-repeatable-width, 800px));
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-products {
    display: grid;
    grid-template-columns: 260px repeat(var(--landu-repeatable-tracks, 4), minmax(0, 1fr));
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner .landu-pla-compare-label) {
    box-sizing: border-box;
    padding: 30px 20px 0 24px;
    font: 600 16px/1.5 "IBM Plex Sans", sans-serif;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 228px;
    padding: 22px 16px 24px;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner .landu-pla-compare-product .landu-pla-compare-image) {
    width: 124px;
    height: 124px;
    flex: none;
    border-radius: 10px;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-product h3 {
    font: 600 18px/1.2 Archivo, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-product .wp-block-buttons {
    line-height: 1;
}

/* Beat global .wp-block-button__link:hover (dark + lime outline). Text link + L→R underline only. */
.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link,
.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:hover,
.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:focus,
.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:focus-visible {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-sizing: border-box;
    min-height: 0;
    height: auto;
    padding: 0 0 2px;
    border: 0;
    border-radius: 0;
    background: none;
    background-color: transparent;
    color: var(--landu-pla-accent-color, #4632e0);
    box-shadow: none;
    font: 600 14px/1.2 "IBM Plex Sans", sans-serif;
    text-decoration: none;
    transition: color .2s ease;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:hover::after,
.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:focus-visible::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion:reduce) {
    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link::after {
        transition: none;
    }
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data {
    overflow: visible;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

/* Keep native column headers in table flow: fixed layout reads widths from its first row. */
.landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-data thead {
    position: static;
    width: auto;
    height: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-data thead th {
    height: 0;
    padding: 0;
    border: 0;
    font-size: 0;
    line-height: 0;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-data thead th:first-child {
    width: 260px;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data td {
    height: 57px;
    box-sizing: border-box;
    padding: 16px 14px;
    border: 0;
    border-top: 1px solid #e3e3ea;
    color: #3a3b54;
    font: 400 14px/1.45 "IBM Plex Sans", sans-serif;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .landu-pla-compare-data td:first-child {
    width: 260px;
    padding: 18px 20px 18px 24px;
    color: #14152b;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data td strong {
    display: inline-block;
    color: var(--landu-pla-accent-color, #4632e0);
    font-size: 20px;
    line-height: 1;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data td em {
    color: #b7b7ca;
    font-style: normal;
}

.landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-hint {
    display: none;
}

@media(max-width:748px) {
    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-scroll {
        border-radius: 12px;
        scrollbar-width: none;
    }

    .landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-scroll::-webkit-scrollbar {
        display: none;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-table {
        width: max(var(--landu-pla-table-mobile-width, 800px), var(--landu-repeatable-width, 800px));
        min-width: 0;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-products {
        grid-template-columns: 144px repeat(var(--landu-repeatable-tracks, 4), minmax(0, 1fr));
    }

    .landu-pla-tail.landu-pla-comparison-table .landu-pla-compare-data thead th:first-child {
        width: 144px;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner .landu-pla-compare-label) {
        padding: 16px 12px;
        font-size: 14px;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-product {
        gap: 8px;
        min-height: 178px;
        padding: 16px 12px;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner .landu-pla-compare-product .landu-pla-compare-image) {
        width: 88px;
        height: 88px;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-product h3 {
        font: 600 14px/1.5 "IBM Plex Sans", sans-serif;
    }

    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link,
    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:hover,
    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .wp-block-button.landu-pla-tail-button .wp-block-button__link:focus-visible {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner) .landu-pla-compare-data td {
        height: 68px;
        padding: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .landu-pla-compare-data td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 144px;
        padding: 12px;
        background: #fff;
    }

    .landu-pla-tail.landu-pla-comparison-table :where(.landu-pla-inner .landu-pla-compare-label) {
        position: sticky;
        left: 0;
        z-index: 1;
        background: #fff;
    }

    .landu-pla-tail.landu-pla-comparison-table[data-landu-pla-tail*='"stickyColumn":false'] .landu-pla-inner .landu-pla-compare-data td:first-child,
    .landu-pla-tail.landu-pla-comparison-table[data-landu-pla-tail*='"stickyColumn":false'] .landu-pla-inner .landu-pla-compare-products>.landu-pla-compare-label {
        position: static;
    }

    .landu-pla-tail.landu-pla-comparison-table .landu-pla-inner .landu-pla-compare-hint {
        display: block;
        margin-block-start: 24px;
        color: var(--landu-pla-accent-color, #4632e0);
        font: 400 13px/1.5 "IBM Plex Sans", sans-serif;
    }
}