/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

@font-face {
	font-family: 'Conv_rtffr2';
	src: url('fonts/rtffr2.eot');
	src: local('☺'), url('fonts/rtffr2.woff') format('woff'), url('fonts/rtffr2.ttf') format('truetype'), url('fonts/rtffr2.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

/** 
 * Replace WooCommerce Delivery Slots labels. 
 * 
 * @param array $labels An array of labels.
 * @param WC_Order $order The WooCommerce order object.
 *                        
 * @return array
 */
function iconic_modify_delivery_slots_label( $labels, $order ) {
	$labels['details']           = 'Collection Information';
	$labels['date']              = 'Collection Date';
	$labels['select_date']       = 'Select a collection date';
	$labels['choose_date']       = 'Please choose a date for your collection';
	$labels['select_date_first'] = 'Please choose a date for your collection';
	$labels['choose_time_slot']  = 'Please choose a time slot for your collection';

	return $labels;
}

add_filter( 'iconic_wds_labels', 'iconic_modify_delivery_slots_label', 10, 2 );