/**
 * iPhone 17 GEO mock — table-only variant (Option 3)
 * Single semantic pricing table on all viewports; horizontal scroll on small screens.
 * Matches live simstd-en.html pattern (.plantablescroll).
 */

body.geo-page--table-only .geo-mobile-cards {
    display: none !important;
}

body.geo-page--table-only .geo-table-wrap {
    display: block !important;
    width: 100%;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

body.geo-page--table-only .geo-table-scroller {
    position: relative;
}

body.geo-page--table-only .geo-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.geo-page--table-only .geo-table-scroll::-webkit-scrollbar {
    display: none;
}

body.geo-page--table-only .geo-pricing-table {
    margin: 0;
}

body.geo-page--table-only .geo-pricing-intro {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--geo-muted);
}

body.geo-page--table-only .geo-table-scroll-arrow {
    display: none;
}

/* Hidden on desktop — WORLD PLAN `.wp-table-bar` only shows ≤768px */
body.geo-page--table-only .geo-table-bar {
    display: none;
}

@media (max-width: 768px) {
    body.geo-page--table-only .geo-table-wrap {
        overflow: visible;
    }
    body.geo-page--table-only .geo-table-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x pan-y;
    }
    body.geo-page--table-only .geo-pricing-table {
        width: max-content;
        min-width: 100%;
        max-width: none;
        table-layout: auto;
    }
    body.geo-page--table-only .geo-pricing-table th,
    body.geo-page--table-only .geo-pricing-table td {
        min-width: 96px;
        padding: 10px 8px;
        white-space: normal;
        height: auto;
        min-height: 0;
        font-size: 13px;
    }
    body.geo-page--table-only .geo-pricing-table th {
        font-size: 12px;
        line-height: 120%;
        padding: 10px 8px;
    }
    body.geo-page--table-only .geo-pricing-table th:first-child,
    body.geo-page--table-only .geo-pricing-table__model {
        min-width: 120px;
        text-align: center;
        padding-left: 8px;
    }
    body.geo-page--table-only .geo-pricing-table th:nth-child(5),
    body.geo-page--table-only .geo-pricing-table__applecare {
        min-width: 160px;
    }
    body.geo-page--table-only .geo-pricing-table th:last-child,
    body.geo-page--table-only .geo-pricing-table td:last-child {
        min-width: 130px;
        width: auto;
    }
    body.geo-page--table-only .geo-pricing-table td.geo-pricing-table__monthly {
        font-size: 13px;
        font-weight: bold;
        color: #774fda;
    }
    body.geo-page--table-only .geo-pricing-table__total,
    body.geo-page--table-only .geo-pricing-table__bundle,
    body.geo-page--table-only .geo-applecare-cell,
    body.geo-page--table-only .geo-applecare-cell__title,
    body.geo-page--table-only .geo-applecare-cell__body,
    body.geo-page--table-only .geo-applecare-cell__monthly,
    body.geo-page--table-only .geo-applecare-cell__details {
        font-size: 13px;
    }

    body.geo-page--table-only .geo-table-scroll-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 1px solid #774fda;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        color: #774fda;
        font-size: 28px;
        line-height: 1;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        transform: translateY(-50%);
        appearance: none;
        -webkit-appearance: none;
    }
    body.geo-page--table-only .geo-table-scroll-arrow span {
        display: block;
        margin-top: -3px;
    }
    body.geo-page--table-only .geo-table-scroll-arrow--prev {
        left: 4px;
    }
    body.geo-page--table-only .geo-table-scroll-arrow--next {
        right: 4px;
    }
    body.geo-page--table-only .geo-table-scroll-arrow:hover,
    body.geo-page--table-only .geo-table-scroll-arrow:focus-visible {
        color: #774fda;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
        outline: none;
    }
    body.geo-page--table-only .geo-table-scroll-arrow.is-hidden,
    body.geo-page--table-only .geo-table-scroll-arrow:disabled {
        opacity: 0.35;
        pointer-events: none;
        cursor: default;
    }

    body.geo-page--table-only .geo-table-bar {
        display: block;
        position: relative;
        height: 44px;
        margin: 2px 0 0;
        background: transparent;
        cursor: grab;
        touch-action: pan-x pan-y;
        -webkit-tap-highlight-color: transparent;
    }
    body.geo-page--table-only .geo-table-bar::before {
        content: "";
        position: absolute;
        left: 4px;
        right: 4px;
        top: 50%;
        height: 8px;
        margin-top: -4px;
        background: #e8e8e8;
        border-radius: 8px;
    }
    body.geo-page--table-only .geo-table-bar__thumb {
        position: absolute;
        top: 50%;
        left: 4px;
        height: 8px;
        margin-top: -4px;
        min-width: 48px;
        background: #774fda;
        border-radius: 8px;
        z-index: 1;
        pointer-events: none;
    }
}
