/* =========================================================
   COLORS
   ========================================================= */

:root {
	--fk-green: #c0d45e;
	--fk-green-hover: #aabd4e;

	--fk-text: #333333;
	--fk-gray: #777777;
	--fk-gray-dark: #555555;
	--fk-gray-light: #b5b5b5;

	--fk-border: #bfbfbf;
	--fk-white: #ffffff;
}


/* =========================================================
   REMOVE FUNNELKIT ORANGE FROM NORMAL LINKS
   ========================================================= */

/* Tutti i link del form: grigi di default */
#wfacp-e-form a {
	color: var(--fk-gray) !important;
}

/* Hover link normali */
#wfacp-e-form a:hover {
	color: var(--fk-gray-dark) !important;
}


/* Mini cart: link grigi di default */
.wfacp_mini_cart_start_h a {
	color: var(--fk-gray) !important;
}

.wfacp_mini_cart_start_h a:hover {
	color: var(--fk-gray-dark) !important;
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

/* Tutti gli step */
#wfacp-e-form .wfacp_steps_sec .wfacp_breadcrumb_link,
#wfacp-e-form .wfacp_steps_wrap .wfacp_breadcrumb_link {
	color: var(--fk-gray-light) !important;
}

/* Step attivo */
#wfacp-e-form .wfacp_steps_sec .wfacp_bred_active .wfacp_breadcrumb_link,
#wfacp-e-form .wfacp_steps_wrap .wfacp_bred_active .wfacp_breadcrumb_link {
	color: var(--fk-gray-dark) !important;
	font-weight: 600 !important;
}

/* Step già visitato: resta grigio */
#wfacp-e-form .wfacp_steps_sec .wfacp_bred_visited:not(.wfacp_bred_active) .wfacp_breadcrumb_link {
	color: var(--fk-gray-light) !important;
}


/* =========================================================
   STEP PREVIEW - "CAMBIA"
   ========================================================= */

#wfacp-e-form .wfacp_preview_step_change {
	color: var(--fk-gray) !important;
}

#wfacp-e-form .wfacp_preview_step_change:hover {
	color: var(--fk-gray-dark) !important;
}


/* =========================================================
   COLLAPSIBLE ADDRESS - + APPARTAMENTO...
   ========================================================= */

#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible,
#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible span,
#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible svg {
	color: var(--fk-gray) !important;
}

#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible:hover,
#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible:hover span,
#wfacp-e-form .wfacp_collapsible_field_wrap .wfacp_collapsible:hover svg {
	color: var(--fk-gray-dark) !important;
}


/* =========================================================
   PRIMARY BUTTONS
   ========================================================= */

#wfacp-e-form .wfacp_next_page_button,
#wfacp-e-form #place_order,
#wfacp-e-form button[type="submit"],
#wfacp-e-form .wfacp-next-btn-wrap button,
#wfacp-e-form .wfacp-order-place-btn-wrap button {
	background-color: var(--fk-green) !important;
	border-color: var(--fk-green) !important;
	color: var(--fk-white) !important;
}

#wfacp-e-form .wfacp_next_page_button:hover,
#wfacp-e-form #place_order:hover,
#wfacp-e-form button[type="submit"]:hover,
#wfacp-e-form .wfacp-next-btn-wrap button:hover,
#wfacp-e-form .wfacp-order-place-btn-wrap button:hover {
	background-color: var(--fk-green-hover) !important;
	border-color: var(--fk-green-hover) !important;
	color: var(--fk-white) !important;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

#wfacp-e-form .wfacp-form-control:focus,
#wfacp-e-form input[type="text"]:focus,
#wfacp-e-form input[type="email"]:focus,
#wfacp-e-form input[type="tel"]:focus,
#wfacp-e-form input[type="number"]:focus,
#wfacp-e-form textarea:focus,
#wfacp-e-form .select2-selection--single:focus,
#wfacp-e-form .wfacp-coupon-page .wfacp-form-control:focus {
	border-color: var(--fk-green) !important;
	box-shadow: 0 0 0 1px var(--fk-green) !important;
	outline: none !important;
}


/* =========================================================
   CHECKBOX + RADIO
   ========================================================= */

#wfacp-e-form input[type="checkbox"]:checked,
#wfacp-e-form input[type="radio"]:checked,
#wfacp-e-form .wfacp-form-control[type="checkbox"]:checked,
#wfacp-e-form .wfacp-form-control[type="radio"]:checked {
	border-color: var(--fk-green) !important;
	background-color: var(--fk-white) !important;
	accent-color: var(--fk-green) !important;
}

#wfacp-e-form #payment input[type="radio"]:checked {
	border-color: var(--fk-green) !important;
	accent-color: var(--fk-green) !important;
}


/* =========================================================
   COUPON
   ========================================================= */

/* Rimuove ombra box coupon */
.woocommerce-form-coupon,
.checkout_coupon.woocommerce-form-coupon {
	box-shadow: none !important;
}


/* Link coupon */
#wfacp-e-form .wfacp-coupon-page .woocommerce-info > a,
#wfacp-e-form .wfacp_showcoupon,
#wfacp-e-form .wfacp_main_showcoupon,
.wfacp_mini_cart_start_h .wfacp_main_showcoupon {
	color: var(--fk-green) !important;
}

#wfacp-e-form .wfacp-coupon-page .woocommerce-info > a:hover,
#wfacp-e-form .wfacp_showcoupon:hover,
#wfacp-e-form .wfacp_main_showcoupon:hover,
.wfacp_mini_cart_start_h .wfacp_main_showcoupon:hover {
	color: var(--fk-green-hover) !important;
}


/* Pulsante coupon */
#wfacp-e-form .wfacp-coupon-btn,
#wfacp-e-form .wfacp-coupon-field-btn,
.wfacp_mini_cart_start_h .wfacp-coupon-btn {
	background-color: var(--fk-green) !important;
	border-color: var(--fk-green) !important;
	color: var(--fk-white) !important;
	box-shadow: none !important;
}

#wfacp-e-form .wfacp-coupon-btn:hover,
#wfacp-e-form .wfacp-coupon-field-btn:hover,
.wfacp_mini_cart_start_h .wfacp-coupon-btn:hover {
	background-color: var(--fk-green-hover) !important;
	border-color: var(--fk-green-hover) !important;
	color: var(--fk-white) !important;
}


/* Focus coupon nel mini cart */
.wfacp_mini_cart_start_h
.checkout_coupon.woocommerce-form-coupon
.wfacp-form-control:focus {
	border-color: var(--fk-green) !important;
	box-shadow: 0 0 0 1px var(--fk-green) !important;
}


/* =========================================================
   PRODUCT / QUICK VIEW ACTIONS
   ========================================================= */

#wfacp-e-form .wfacp_qv-button {
	color: var(--fk-green) !important;
}

#wfacp-e-form .wfacp_qv-button:hover {
	color: var(--fk-green-hover) !important;
}


/* =========================================================
   SELECT2 - HIDE ORIGINAL SELECT
   ========================================================= */

select.select2-hidden-accessible,
.wfacp_main_form select.select2-hidden-accessible,
#wfacp-e-form select.select2-hidden-accessible {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;
	min-width: 1px !important;
	min-height: 1px !important;

	padding: 0 !important;
	margin: -1px !important;

	overflow: hidden !important;

	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;

	white-space: nowrap !important;

	border: 0 !important;

	opacity: 0 !important;
	pointer-events: none !important;
}


/* =========================================================
   SELECT2 - VISIBLE FIELD
   ========================================================= */

#wfacp-e-form .select2-container {
	width: 100% !important;
}

#wfacp-e-form .select2-container .select2-selection--single {
	background-color: var(--fk-white) !important;
}


/* =========================================================
   SELECT2 - DROPDOWN
   ========================================================= */

.select2-container--open {
	z-index: 999999 !important;
}

.select2-container--open .select2-dropdown {
	background-color: var(--fk-white) !important;

	border: 1px solid var(--fk-border) !important;

	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   SELECT2 - SEARCH AREA
   ========================================================= */

.select2-container--open .select2-search--dropdown {
	display: block !important;

	height: auto !important;
	min-height: 0 !important;

	padding: 8px !important;

	background-color: var(--fk-white) !important;
}


/* =========================================================
   SELECT2 - SEARCH INPUT
   ========================================================= */

.select2-container--open .select2-search__field {
	display: block !important;
	box-sizing: border-box !important;

	width: 100% !important;

	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;

	margin: 0 !important;
	padding: 7px 10px !important;

	background-color: var(--fk-white) !important;
	color: var(--fk-text) !important;

	border: 1px solid var(--fk-border) !important;
	border-radius: 4px !important;

	font-size: 14px !important;
	line-height: 22px !important;

	box-shadow: none !important;

	opacity: 1 !important;
}


/* Search focus */
.select2-container--open .select2-search__field:focus {
	border-color: var(--fk-green) !important;
	box-shadow: 0 0 0 1px var(--fk-green) !important;
	outline: none !important;
}


/* Placeholder */
.select2-container--open .select2-search__field::placeholder {
	color: #999999 !important;
	opacity: 1 !important;
}


/* =========================================================
   SELECT2 - RESULTS
   ========================================================= */

.select2-container--open .select2-results,
.select2-container--open .select2-results__options {
	background-color: var(--fk-white) !important;
}


/* Voce normale */
.select2-container--open .select2-results__option {
	background-color: var(--fk-white) !important;
	color: var(--fk-text) !important;
}


/* Voce selezionata */
.select2-container--open
.select2-results__option[aria-selected="true"] {
	background-color: #f2f2f2 !important;
	color: var(--fk-text) !important;
}


/* Voce evidenziata */
.select2-container--open
.select2-results__option--highlighted[aria-selected] {
	background-color: var(--fk-green) !important;
	color: var(--fk-white) !important;
}


/* Selezionata + evidenziata */
.select2-container--open
.select2-results__option[aria-selected="true"].select2-results__option--highlighted {
	background-color: var(--fk-green) !important;
	color: var(--fk-white) !important;
}






/* =========================================================
   PAYMENT METHODS - COMPACT
   ========================================================= */

#wfacp-e-form #payment ul.payment_methods {
	margin: 0 !important;
	padding: 0 !important;
}


/* SINGOLO METODO */
#wfacp-e-form #payment li.wc_payment_method {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	column-gap: 10px;

	padding: 14px !important;
	margin: 0 !important;

	border-bottom: 1px solid #e5e5e5 !important;
}


/* RADIO */
#wfacp-e-form #payment li.wc_payment_method > input[type="radio"] {
	margin: 0 !important;
}


/* LABEL */
#wfacp-e-form #payment li.wc_payment_method > label {
	display: flex !important;
	align-items: center !important;
	gap: 8px;

	width: 100% !important;
	margin: 0 !important;

	font-weight: 600 !important;
	line-height: 1.3 !important;
}


/* LOGHI PAGAMENTO */
#wfacp-e-form #payment li.wc_payment_method > label img {
	width: auto !important;
	max-width: 90px !important;
	max-height: 24px !important;
	margin-left: auto !important;
}


/* LOGHI CARTE */
#wfacp-e-form #payment .payment-methods--logos {
	margin-left: auto !important;
}

#wfacp-e-form #payment .payment-methods--logos img {
	width: auto !important;
	height: 22px !important;
	max-width: 36px !important;
}


/* DESCRIZIONE / CONTENUTO METODO */
#wfacp-e-form #payment li.wc_payment_method .payment_box {
	grid-column: 1 / -1;

	width: 100% !important;
	margin: 10px 0 0 !important;
	padding: 0 0 0 30px !important;

	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}


/* TESTO DESCRIZIONE */
#wfacp-e-form #payment li.wc_payment_method .payment_box p {
	margin: 0 !important;
	padding: 0 !important;

	color: #777777 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}


/* RIMUOVE EVENTUALE FRECCIA DEL PAYMENT BOX */
#wfacp-e-form #payment div.payment_box::before {
	display: none !important;
}


/* WOOPAYMENTS / CARTA */
#wfacp-e-form #payment .payment_method_woocommerce_payments .wc-payment-form {
	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
}

#wfacp-e-form #payment .payment_method_woocommerce_payments .wcpay-upe-form,
#wfacp-e-form #payment .payment_method_woocommerce_payments .wcpay-upe-element {
	margin: 0 !important;
	padding: 0 !important;
}



.wfacp-checkout-form-block.wfacp-ac36544b #wfacp-e-form .wfacp-section {
    margin: 0 0 15px !important;
}
#wfacp-e-form .wfacp_main_form.woocommerce .wfacp_steps_wrap {
    margin-bottom: 0 !important;
}