/* Go Direct Comparison Section
   Base defaults match Figma exactly. Elementor Style tab overrides via inline selectors. */

.tobor-go-direct {
    overflow: hidden;
    background-color: #f8fafc;
    padding: 64px 96px;
}

.tobor-go-direct__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.tobor-go-direct__title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: 0;
    color: #171717;
    margin: 0;
}

.tobor-go-direct__subtitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    color: #171717;
    max-width: 695px;
    margin: 0;
}

/* Comparison Grid */
.tobor-go-direct__grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.tobor-go-direct__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 3;
    min-width: 0;
}

.tobor-go-direct__spacer {
    height: 60px;
    opacity: 0;
}

.tobor-go-direct__feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.tobor-go-direct__feature-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    color: #171717;
    margin: 0 0 4px 0;
}

.tobor-go-direct__feature-desc {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #525252;
    margin: 0;
}

/* Comparison Columns */
.tobor-go-direct__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
    overflow: visible;
    min-width: 0;
}

.tobor-go-direct__column--toborlife {
    background-color: #f0fdf4;
}

.tobor-go-direct__column--stores {
    background-color: #ffffff;
}

.tobor-go-direct__column-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.tobor-go-direct__column--toborlife .tobor-go-direct__column-header {
    background-color: #99c300;
}

.tobor-go-direct__column--stores .tobor-go-direct__column-header {
    background-color: #ffffff;
}

.tobor-go-direct__column-header-icon {
    width: 21.712px;
    height: 22.4px;
    flex-shrink: 0;
}

.tobor-go-direct__column-header-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    color: #171717;
    text-align: center;
}

.tobor-go-direct__column-cell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tobor-go-direct__column-cell img {
    width: 48px;
    height: 48px;
}

/* Mobile Carousel */
.tobor-go-direct__carousel {
    display: none;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tobor-go-direct__carousel-track {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
    cursor: grab;
}

.tobor-go-direct__carousel-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.tobor-go-direct__carousel-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    width: 358px;
    min-height: 244px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tobor-go-direct__carousel-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tobor-go-direct__carousel-badges {
    display: flex;
    gap: 8px;
}

.tobor-go-direct__badge {
    flex: 1;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.tobor-go-direct__badge--toborlife {
    background-color: #F0FDF4;
}

.tobor-go-direct__badge--stores {
    background-color: #ffffff;
}

.tobor-go-direct__badge-label {
    display: flex;
    gap: 4px;
    align-items: flex-start;
    flex-shrink: 0;
}

.tobor-go-direct__badge-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tobor-go-direct__badge-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #171717;
    text-align: center;
    white-space: nowrap;
}

.tobor-go-direct__badge-status {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Carousel Dots */
.tobor-go-direct__carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tobor-go-direct__carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d4d4d4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, width 0.2s ease;
}

.tobor-go-direct__carousel-dot.is-active {
    width: 24px;
    border-radius: 4px;
    background-color: #171717;
}

/* Tablet */
@media (max-width: 1024px) {
    .tobor-go-direct {
        padding: 64px 32px;
    }

    .tobor-go-direct__title {
        font-size: 40px;
        line-height: 48px;
    }

    .tobor-go-direct__features {
        flex: 2;
    }
}

/* Mobile — show carousel, hide grid */
@media (max-width: 767px) {
    .tobor-go-direct {
        padding: 32px 16px;
    }

    .tobor-go-direct__title {
        font-size: 32px;
        line-height: 40px;
    }

    .tobor-go-direct__subtitle {
        max-width: 100%;
    }

    .tobor-go-direct__grid {
        display: none;
    }

    .tobor-go-direct__carousel {
        display: block;
    }

    .tobor-go-direct__carousel-dots {
        display: flex;
    }
}

/* Wide screens: content capped at design width. */
.tobor-go-direct__header,
.tobor-go-direct__grid,
.tobor-go-direct__carousel {
    max-width: 1248px;
    margin-left: auto;
    margin-right: auto;
}
