/* Spliff Loyalty — GLS global styles (applied everywhere EXCEPT checkout V2)
 * Migrated from Custom Functions plugin.
 */

/* CACHER GLS MESSAGE SUR CHECKOUT */
#gls_customer_mobile_gls_chezvousplus_field {
	display: none !important;
}
.gls-error-container {
	display: none !important;
}
body.woocommerce-checkout .gls-container .gls_customer-mobile-description {
	display: none !important;
}
.gls_customer-mobile-description {
	display: none !important;
}
.wc-block-components-checkout-step__description.gls-customer-mobile-description,
.wc-block-components-checkout-step__description.gls_customer-mobile-description {
	display: none !important;
}

/* Masquer le champ de téléphone mobile GLS */
#gls_customer_mobile_gls_relais_field {
	display: none !important;
}

/* Masquer le bloc d'information "Relais GLS disponibles..." */
.gls-heading.woocommerce-info {
	display: none !important;
}

/* --- GESTION DU CONTENEUR PARENT --- */
.gls-search-form-container {
	display: flex !important;
	flex-direction: column !important;
}

/* --- STYLE DE LA MAP --- */
.gls-map-container,
#gls-map-container {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	pointer-events: none !important;
}

/* --- MASQUER LES ÉLÉMENTS DU FORMULAIRE DE RECHERCHE --- */
#gls_search_postcode_field {
	display: none !important;
}
#gls_search_city_field {
	display: none !important;
}
button.gls-search-relais-submit {
	display: none !important;
}

/* --- CHECKOUT PAYMENT BOX --- */
body.woocommerce-checkout #payment .payment_box .payment_request_buttons,
body.woocommerce-checkout #payment .payment_box .wc-stripe-payment-request-wrapper,
body.woocommerce-checkout #payment .payment_box #wc-stripe-payment-request-wrapper {
	margin: 0 0 12px 0 !important;
}
body.woocommerce-checkout #payment .payment_box .SubmitButton,
body.woocommerce-checkout #payment .payment_box button[type="submit"]:not(#place_order) {
	display: none !important;
}

/* --- INPUT FONT SIZE FIX (iOS zoom prevention) --- */
input, select, textarea {
	font-size: 16px !important;
}
