.woocommerce .variation dt.variation-Registration {
    display: none !important;
}

.woocommerce .variation:has(.gbrf-cart-registration) {
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-checkout-review-order-table .product-name:has(.gbrf-cart-registration) .product-quantity {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.variation dd.variation-Registration {
    float: none;
    clear: both;
    margin: 8px 0 0;
    width: 100%;
}

.gbrf-cart-registration {
    max-width: 100%;
    font-size: 14px;
    container-type: inline-size;
    text-align: left;
}

.gbrf-cart-registration summary {
    cursor: pointer;
    padding: 8px 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.gbrf-cart-registration summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.woocommerce .shop_table table.gbrf-cart-attendees {
    width: 100%;
    table-layout: fixed;
    margin: 8px 0;
    border-collapse: collapse;
    font-size: 13px;
}

.woocommerce .shop_table table.gbrf-cart-attendees th,
.woocommerce .shop_table table.gbrf-cart-attendees td {
    padding: 8px 6px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #d9dedb;
    overflow-wrap: anywhere;
    background: transparent !important;
}

.woocommerce .shop_table table.gbrf-cart-attendees thead th {
    font-weight: 600;
    color: #46524b;
}

.woocommerce .shop_table table.gbrf-cart-attendees small {
    display: block;
    margin-top: 4px;
    font-weight: 400;
}

.woocommerce .shop_table table.gbrf-cart-attendees .gbrf-registration-price {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.gbrf-cart-price-warning {
    color: #922e20;
}

.woocommerce .shop_table table.gbrf-cart-attendees tbody th {
    display: table-cell !important;
}

.woocommerce .shop_table table.gbrf-cart-attendees td::before {
    display: none !important;
}

.woocommerce .shop_table table.gbrf-cart-attendees tr {
    background: transparent !important;
}

.woocommerce .shop_table table.gbrf-cart-attendees .gbrf-cart-building-heading th {
    padding: 10px !important;
    background: #e4ece7 !important;
    color: #263b30;
    font-size: 14px;
    font-weight: 700;
    text-align: left !important;
    border-bottom: 2px solid #a8b9ae !important;
}

@container (max-width: 460px) {
    .woocommerce .shop_table table.gbrf-cart-attendees thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody {
        display: block;
        width: 100%;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody tr {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 12px;
        padding: 12px 10px !important;
        border: 0 !important;
        border-bottom: 1px solid #c4cdc7 !important;
        text-align: left !important;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody tr:nth-child(odd) {
        background: #f3f6f4 !important;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody th,
    .woocommerce .shop_table table.gbrf-cart-attendees td {
        display: block !important;
        width: auto;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        line-height: 1.4;
        text-align: left !important;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody th {
        grid-column: 1;
        grid-row: 1;
        font-size: 14px;
        font-weight: 700;
        color: #263b30;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees td:not(.gbrf-registration-price) {
        grid-column: 1 / -1;
        grid-row: 2;
        color: #46524b;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees .gbrf-registration-price {
        grid-column: 2;
        grid-row: 1;
        max-width: 110px;
        font-weight: 600;
        text-align: right !important;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees .gbrf-registration-price .amount {
        white-space: nowrap;
    }

    .woocommerce .shop_table table.gbrf-cart-attendees tbody tr.gbrf-cart-building-heading {
        display: block !important;
        padding: 0 !important;
    }
}

@container (max-width: 260px) {
    .woocommerce .shop_table table.gbrf-cart-attendees tbody tr {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce .shop_table table.gbrf-cart-attendees .gbrf-registration-price {
        grid-column: 1;
        grid-row: 3;
        max-width: none;
        text-align: left !important;
    }
}