.elementor-6634 .elementor-element.elementor-element-dc8be77{--display:flex;}.elementor-6634 .elementor-element.elementor-element-266ebb7{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-6634 .elementor-element.elementor-element-62762a0 .elementor-button-content-wrapper{flex-direction:row;}.elementor-6634 .elementor-element.elementor-element-4a66624{--additional-information-display:block;}.elementor-6634 .elementor-element.elementor-element-4bb8deb{--display:flex;}.elementor-6634 .elementor-element.elementor-element-09591a1{--spacer-size:161px;}/* Start custom CSS *//* 1. Flex Container setup */
#billing_is_delivery_field,
#billing_is_takeaway_field,
#billing_is_restaurant_table_field {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px; /* Adds space between the buttons so border-radius looks good */
    margin-bottom: 20px;
    cursor: pointer;
}

/* 2. Target specific Field Wrappers by ID */
#billing_is_delivery_field,
#billing_is_takeaway_field,
#billing_is_restaurant_table_field {
    flex: 1; /* Forces them to share width equally */
    min-width: 120px; /* Prevents them from getting too squished on mobile */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

/* 3. UNSELECTED STATE (Default) */
#billing_is_delivery_field label,
#billing_is_takeaway_field label,
#billing_is_restaurant_table_field label {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%; /* Ensures they are all the same height */
    padding: 12px 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    
    /* YOUR SPECS: */
    background-color: white; 
    color: #333;
    border: 1px solid #682942;
    border-radius: 5px; /* Adds the requested radius */
}

/* 4. SELECTED STATE (When Checked) */
/* Using :has() to detect if the input inside the label is checked */
#billing_is_delivery_field label:has(input:checked),
#billing_is_takeaway_field label:has(input:checked),
#billing_is_restaurant_table_field label:has(input:checked) {
    /* YOUR SPECS: */
    background-color: #682942;
    color: #fff !important;
    border-color: #682942; /* Matches background */
}

/* 5. Hide the actual HTML Checkboxes */
#billing_is_delivery,
#billing_is_takeaway,
#billing_is_restaurant_table {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 6. Hide the required asterisk (*) for a cleaner look */
#billing_is_delivery_field abbr,
#billing_is_takeaway_field abbr,
#billing_is_restaurant_table_field abbr {
    display: none;
}

/* Optional: Hover effect for unselected items */
#billing_is_delivery_field label:not(:has(input:checked)):hover,
#billing_is_takeaway_field label:not(:has(input:checked)):hover,
#billing_is_restaurant_table_field label:not(:has(input:checked)):hover {
    background-color: #fcfcfc;
    box-shadow: inset 0 0 0 1px #682942; /* Makes border look slightly thicker on hover */
}/* End custom CSS */