/* Telosin V70 — Compare Devices. Scoped to the /compare/ WordPress page. */

html:has(body.v70-compare-page) {
    --v70-compare-scroll-offset: 110px;
    scroll-padding-top: var(--v70-compare-scroll-offset);
    scroll-behavior: smooth;
}

html.wp-toolbar:has(body.v70-compare-page) {
    --v70-compare-scroll-offset: 142px;
}

.v70-compare-page .v70-page,
.v70-compare-page .v70-page > .entry-content {
    overflow: visible;
}

/* WPBakery offsets rows by the 15px column gutter. These rows are already
   edge-to-edge children of the Compare page, so that compensation would make
   them 30px wider than the viewport. */
.v70-compare-page main.v70-page > .vc_row.wpb_row.vc_row-fluid {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.v70-compare-page .v70-compare-breadcrumb-row > .wpb_column > .vc_column-inner,
.v70-compare-page .v70-compare-hero > .wpb_column > .vc_column-inner,
.v70-compare-page .v70-compare-component-row > .wpb_column > .vc_column-inner {
    padding: 0;
}

.v70-compare-page .v70-compare-breadcrumb-row .wpb_content_element,
.v70-compare-page .v70-compare-hero .wpb_content_element,
.v70-compare-page .v70-compare-component-row .wpb_content_element {
    margin-bottom: 0;
}

.v70-compare-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 4.5%;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.v70-compare-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.v70-compare-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v70-compare-hero .wpb_wrapper {
    padding: 45px 4.5% 55px;
}

.v70-compare-eyebrow {
    display: block;
    margin-bottom: 23px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.v70-compare-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.v70-compare-hero p {
    max-width: 570px;
    margin: 25px 0 0;
    color: #656565;
    line-height: 1.65;
}

.v70-compare-component-row .wpb_wrapper {
    min-width: 0;
}

.v70-compare {
    min-width: 0;
    padding: 0 4.5% 100px;
    color: #070707;
}

.v70-compare__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.v70-compare__navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 21px;
    border: 1px solid #c6c3be;
    color: inherit;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
}

.v70-compare__navigation a:hover {
    border-color: #171717;
}

.v70-compare__navigation a:focus-visible,
.v70-compare__table-wrap:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
}

.v70-compare__section {
    position: relative;
    margin-top: 48px;
    scroll-margin-top: var(--v70-compare-scroll-offset, 110px);
}

.v70-compare__anchor {
    position: absolute;
    top: 0;
}

.v70-compare__section h2 {
    max-width: 25ch;
    margin: 0 0 28px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.v70-compare__introduction {
    max-width: 80ch;
    margin: 20px 0 30px;
    color: #555;
    font-size: 17px;
    line-height: 1.75;
}

.v70-compare__scroll-hint {
    margin: 12px 0;
    color: #625e58;
    font-size: 14px;
}

.v70-compare__table-wrap {
    max-width: 100%;
    padding-bottom: 15px;
    overflow-x: auto;
    isolation: isolate;
    -webkit-overflow-scrolling: touch;
}

.v70-compare__table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.v70-compare__table th,
.v70-compare__table td {
    padding: 25px 22px;
    border-bottom: 1px solid #ddd;
    overflow-wrap: break-word;
    text-align: left;
    vertical-align: top;
    word-break: normal;
}

.v70-compare__table th {
    font-size: 20px;
    font-weight: 400;
}

.v70-compare__table thead th {
    background: #f7f5f2;
}

.v70-compare__table thead th:not(:first-child) {
    text-align: center;
}

.v70-compare__table thead span {
    display: block;
}

.v70-compare__table img {
    display: block;
    width: 130px;
    height: 170px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.v70-compare__table tbody tr:nth-child(odd) {
    background: #fbfaf8;
}

.v70-compare__table tbody th {
    font-size: 16px;
    line-height: 1.5;
}

.v70-compare__table tbody td {
    color: #403c37;
    font-size: 15px;
    line-height: 1.7;
}

.v70-compare__table th:first-child {
    width: 22%;
}

.v70-compare__table th:not(:first-child) {
    width: 39%;
}

.v70-compare__table-wrap--face .v70-compare__table {
    min-width: 1060px;
}

.v70-compare__table-wrap--face .v70-compare__table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 152px;
    background: #f7f6f3;
}

.v70-compare__table-wrap--face .v70-compare__table th:not(:first-child) {
    width: calc((100% - 152px) / 4);
}

.v70-compare__table-wrap--face .v70-compare__table td {
    min-width: 220px;
}

.v70-compare__price {
    color: #070707 !important;
    font-size: 17px !important;
    white-space: nowrap;
}

.v70-compare__actions {
    min-width: 0;
}

.v70-compare__text-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 9px 0;
    border-bottom: 1px solid currentColor;
    color: #070707;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.v70-compare__details {
    display: block;
    width: fit-content;
    margin: 0 0 20px;
}

.v70-compare__add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #070707;
    border-radius: 0;
    background: #070707;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.v70-compare__add-to-cart:hover {
    background: #292929;
}

.v70-compare__button-price .amount {
    color: inherit;
}

.v70-compare__assurance {
    margin-top: 48px;
    padding: 28px 0;
    border-top: 1px solid #ddd;
    line-height: 1.7;
}

.v70-compare__assurance p,
.v70-compare__note {
    margin: 0;
}

.v70-compare__note {
    color: #737373;
    font-size: 12px;
    line-height: 1.5;
}

.v70-compare__guidance {
    margin-top: 18px;
}

.v70-compare__notice {
    padding: 20px 4.5%;
    background: #fff5d6;
}

@media (max-width: 760px) {
    html:has(body.v70-compare-page),
    html.wp-toolbar:has(body.v70-compare-page) {
        --v70-compare-scroll-offset: 120px;
    }

    .v70-compare-breadcrumb {
        padding: 24px 22px;
        font-size: 12px;
    }

    .v70-compare-hero .wpb_wrapper {
        padding: 12px 22px 30px;
    }

    .v70-compare-hero h1 {
        font-size: 42px;
    }

    .v70-compare-hero p {
        margin-top: 18px;
    }

    .v70-compare {
        padding: 0 22px 65px;
    }

    .v70-compare__navigation {
        gap: 10px;
    }

    .v70-compare__navigation a {
        padding: 12px 14px;
        font-size: 14px;
    }

    .v70-compare__section {
        margin-top: 32px;
    }

    .v70-compare__section h2 {
        margin-bottom: 22px;
        font-size: 30px;
    }

    .v70-compare__table th,
    .v70-compare__table td {
        padding: 18px 9px;
    }

    .v70-compare__table thead th {
        font-size: 17px;
        line-height: 1.25;
    }

    .v70-compare__table thead th:first-child,
    .v70-compare__table tbody th {
        padding-left: 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .v70-compare__table img {
        width: 100%;
        max-width: 125px;
        height: 145px;
        margin-bottom: 16px;
    }

    .v70-compare__table tbody td {
        font-size: 13px;
        line-height: 1.65;
    }

    .v70-compare__table-wrap--face .v70-compare__table {
        min-width: 990px;
    }

    .v70-compare__table-wrap--face .v70-compare__table th:first-child {
        width: 110px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }

    .v70-compare__table-wrap--face .v70-compare__table th:not(:first-child) {
        width: 220px;
    }

    .v70-compare__table-wrap:not(.v70-compare__table-wrap--face) .v70-compare__table {
        min-width: 620px;
    }

    .v70-compare__table-wrap:not(.v70-compare__table-wrap--face) tbody td {
        font-size: 14px;
    }

    .v70-compare__add-to-cart {
        min-height: 68px;
        padding: 12px 8px;
        font-size: 12px;
    }

    .v70-compare__text-link {
        font-size: 12px;
    }

    .v70-compare__assurance {
        margin-top: 34px;
    }
}

@media (max-width: 380px) {
    .v70-compare__table th,
    .v70-compare__table td {
        padding-right: 6px;
        padding-left: 6px;
    }

    .v70-compare__table tbody td {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.v70-compare-page) {
        scroll-behavior: auto;
    }
}
