#tribe-tickets__tickets-form {
    max-width: 100%;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 2.5rem;
}

.tribe-tickets__tickets-item-content,
.tribe-tickets__tickets-item-content--inactive,
.tribe-common div {
    font-size: var(--wp--preset--font-size--sm);
    margin: 1rem 0;
}

.add_to_cart_inline {
    margin: 0;
    padding: 0;
}

#cursussen-table {
    font-size: var(--wp--preset--font-size--sm);
}

#cursussen-table-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.6fr 1fr 1fr;
    font-weight: 700;
}

#cursussen-table-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.6fr 1fr 1fr;
    align-items: center;
}

#cursussen-table-title {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e4e4e4;
    font-size: var(--wp--preset--font-size--sm);
    padding-bottom: 1rem;
}

.event-tickets .tribe-tickets__tickets-item {
    grid-template-columns: none;
}

#cursussen-table-header.syn-mob-cursussen-header {
    display: none;
}

@media (max-width: 767px) {
    #cursussen-table-header.syn-full-cursussen-header {
        display: none;
    }

    #cursussen-table-product {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #cursussen-table-content {
        grid-template-columns: repeat(1, 1fr);
    }

    #cursussen-table-header.syn-mob-cursussen-header {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        font-weight: 700;
        align-items: center;
    }

    .syn-mob-cursussen-header span {
        height: 40px;
    }

    #cursussen-table-content div {
        height: 60px;
        margin: 0;
    }

    /* Mobile styles for cart steps shortcode */
    .syn-checkout-container {
        display: flex;
        flex-direction: row; /* Side-by-side */
        align-items: center;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        overflow: visible; /* Prevent chopping off text on the right */
    }

    .syn-checkout-container img {
        width: 90px !important;
        height: auto !important;
        margin: 0 5px 0 0;
        flex-shrink: 0;
    }

    .syn-checkout-container .steps-container {
        flex: 1;
        /* Use zoom for webkit (iOS/Android), and transform for others */
        zoom: 0.75; /* Increased from 0.65 for better readability */
        -moz-transform: scale(0.75);
        -moz-transform-origin: left center;
        overflow: visible;
    }

    .syn-checkout-container .steps {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        width: 100%;
    }

    .syn-checkout-container .icon {
        flex-shrink: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        min-width: 40px; /* Allow enough space for the text to wrap or not chop */
    }

    .syn-checkout-container .icon span {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .syn-checkout-container .connector {
        flex-shrink: 1;
        width: 100%;
        min-width: 10px; /* Let it shrink more if needed */
        margin-top: 15px; /* Align with circle centers */
    }

    .syn-checkout-container .steps p {
        font-size: 13px !important; /* Increased font size for better readability */
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        margin-top: 8px;
        display: block !important;
    }
}

