/* Shipping method icons */
.shipping-method-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

.page-checkout .shipping__list_label {
	display: flex;
	align-items: center;
}

/* NPS SURVEY */

#gform_fields_26 {
	padding: 0px 30px;
}

#gform_26 .gform-footer {
	display: flex;
	justify-content: center;
}

#gform_wrapper_26 .gform_validation_errors {
	display: none;
}

#gform_wrapper_26 .validation_message {
	padding: 10px;
    border-radius: 5px;
    font-size: 12px;
}

#gform_26 .gform-footer input[type="submit"] {
	border-radius: 5px;
}

#gform_fields_26 legend {
	margin: 0;
	text-transform: none;
	font-weight: normal;
	text-align: center;
	padding-top: 30px;
	margin-bottom: 20px;
	border: 0;
}

#gform_fields_26 input,
#gform_fields_26 textarea {
	border-radius: 5px;
}

#gform_fields_26 .nps-selection .ginput_container_radio .gfield_radio,
#gform_fields_26 #input_26_9 {
	display: flex;
	justify-content: center;
	gap: 5px;
}

#gform_fields_26 .nps-selection .ginput_container_radio .gfield_radio input,
#gform_fields_26 #input_26_9 input{
	display: none;
}

#gform_fields_26 .nps-selection .ginput_container_radio .gfield_radio label,
#gform_fields_26 #input_26_9 label{
	display: inline-flex;
  	align-items: center;
  	justify-content: center;
	min-width: 35px;
	height: 35px;
	border-radius: 5px;
	cursor: pointer;
/* 	color: #8e1391; */
	color: #FFF;
	font-weight: bold;
}

#gform_fields_26 #input_26_9 label {
	border: 1px solid #582C83;
	color: #582C83;
}

#gform_fields_26 #input_26_9 .gchoice_26_9_0 {
	flex: 1;
}

#gform_fields_26 .nps-selection .ginput_container_radio input[value="0"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="1"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="2"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="3"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="4"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="5"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="6"] + label {
  background-color: #ed6c61;
}

#gform_fields_26 .nps-selection .ginput_container_radio input[value="7"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="8"] + label {
  background-color: #fca728;
}

#gform_fields_26 .nps-selection .ginput_container_radio input[value="9"] + label,
#gform_fields_26 .nps-selection .ginput_container_radio input[value="10"] + label {
  background-color: #27ae60;
}

#gform_fields_26 #input_26_9 label {
	min-width: 100%;
	height: 35px;
	padding: 20px;
}

#gform_fields_26 .nps-selection .ginput_container_radio .gfield_radio label:hover,
#gform_fields_26 #input_26_9 label:hover {
  	transform: translateY(-2px);
}

#gform_fields_26 .nps-selection .ginput_container_radio .gfield_radio input[type="radio"]:checked + label,
#gform_fields_26 #input_26_9 input[type="radio"]:checked + label {
	outline: 2px solid #582c83;
}

#gform_fields_26 .nps-selection-helper {
	margin-top: -10px;
}

/* END NPS SURVEY */

/* CARTFLOWS */
.woocommerce-checkout .entry-header .entry-title {
	display: none;
}

.wcf-embed-checkout-form .woocommerce form .form-row .required {
	color: #9ca3af !important;
}

.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row input.input-text, 
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce form .form-row select {
	padding: 20px 12px 5px 12px !important;
}

.cartflows_step-template-default .entry-header,
.wcf-customer-info,
.wcf-embed-checkout-form .shipping-pickup-point,
.wcf-embed-checkout-form .woocommerce form ul li input:checked::before,
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce [type="checkbox"]:checked::before {
	display: none !important;
}

.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout table.shop_table {
/* 	border: 2px solid #d6d7db !important;
	padding-top: 20px !important; */
}

.wcf-shipping-methods-wrapper {
	margin-bottom: 10px !important;
}
.wcf-shipping-methods-wrapper ul {
	border: 0 !important;
}
.wcf-shipping-methods-wrapper ul li {
	border: 1px solid #d6d7db !important;
	border-radius: 4px !important;
	margin-bottom: 10px !important;
}
.wcf-embed-checkout-form #pakettikauppa_pickup_point_field {
	padding: 0;
}
.wcf-embed-checkout-form .wcf-custom-coupon-field .wcf-coupon-col-1 {
	width: 60%;
}
.wcf-embed-checkout-form .wcf-custom-coupon-field .wcf-coupon-col-1 input {
	height: 100% !important;
}
.wcf-embed-checkout-form .wcf-custom-coupon-field .wcf-coupon-col-2 {
	width: 40%;
}
.wcf-embed-checkout-form table.shop_table tbody tr.cart_item td.product-name {
	align-items: flex-start;
	justify-content: space-between;
}
.wcf-embed-checkout-form table.shop_table tbody tr.cart_item .variation dt {
	padding: 0;
}
.wcf-embed-checkout-form table.shop_table .cart_item .product-total,
.wcf-embed-checkout-form table.shop_table .order-total{
	vertical-align: top;
}
.wcf-embed-checkout-form table.shop_table .includes_tax{
	font-size: 12px;
}
.wcf-embed-checkout-form input[type="radio"] {
	display: none !important;
}
.wcf-embed-checkout-form li {
	padding: 0 !important;
	overflow: hidden !important;
}
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment div.payment_box {
	margin-top: 0 !important;
}
.wcf-embed-checkout-form li label {
  	list-style: none;
  	cursor: pointer;
  	padding: 12px !important;
	margin: 0 !important;
	width: 100% !important;
}

.wcf-embed-checkout-form input[type="radio"]:checked + span,
.wcf-embed-checkout-form input[type="radio"]:checked ~ label {
  	border: 2px solid #582c83 !important;
	font-weight: bold !important;
}

.wcf-thankyou-wrap .custom-fields {
	display: none;
}
.wcf-thankyou-wrap .woocommerce-table__product-name {
	font-weight: bold !important;
}
.wcf-embed-checkout-form .woocommerce form .wcf-shipping-method-options ul#shipping_method li label {
	justify-content: flex-start;
}
.custom-item-details.hidden {
  display: none;
  margin-top: 5px;
}
.toggle-details-btn {
  background: none;
  border: none;
  color: #0073aa;
  cursor: pointer;
  padding: 0;
  font-size: 0.9em;
}
.toggle-details-btn:hover {
  text-decoration: underline;
}
.cart-item-custom .cart-item-custom-name {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cart-item-custom .cart-item-custom-name .cart-item-name {
	font-weight: bold;
}

.cart-item-custom .cart-item-custom-actions {
	display: flex;
	gap: 2px;
	align-items: center;
	margin-left: -5px;
}

.cart-item-custom .cart-item-custom-actions .cart-item-edit {
	border: 2px solid #333;
    padding: 1px 3px;
    margin-top: 5px;
}

.cart-item-custom .cart-item-custom-actions .cart-item-edit a {
	font-weight: normal;
}

.cart-item-thumb img {
  width: 50px;
  height: auto;
}

.cart-item-custom .cart-item-show-design,
.cart-item-custom .cart-item-show-options {
	margin-top: 5px;
	cursor: pointer;
}

.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .wcf-custom-coupon-field {
	display:flex !important
}
	
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout table.shop_table .cart_item:not( :first-child ) .product-name,
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout table.shop_table .cart_item:not( :first-child ) .product-total{
	padding-top: 10px !important;
}
.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout table.shop_table tbody tr:nth-child(even) {
	background-color: #f6f6f6;
}
.wcf-order-wrap .woocommerce-checkout-review-order .variation {
	display: none;
}
.wcf-order-wrap .woocommerce-checkout-review-order .cart-item-custom-options .variation {
	display: block !important;
	font-size: 1em !important;
}
.wcf-order-wrap .woocommerce-checkout-review-order .cart-item-custom-toggle p {
	font-weight: bold !important;
}
.wcf-order-wrap .woocommerce-checkout-review-order .cart-item-custom-toggle img {
	width: 150px !important;
}
.woocommerce-checkout-review-order .blockUI.blockOverlay:before {
	border-radius: 0 !important;
}

.woocommerce-checkout-payment #visma-pay-bank-payments p {
	margin-top: 15px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
}

.woocommerce-checkout-payment #visma-pay-bank-payments div:has(#visma-pay-button-oplasku) > p::after {
	content: "OP Lasku on maksutapa kaikkien pankkien kuluttaja-asiakkaille. Yritysasiakkaille suosittelemme Niini laskua tai korttimaksua.";
	display: block;
	font-weight: 600 !important;
	text-transform: none !important;
}

.woocommerce-checkout #main {
	background: #f6f6f6;
}

.woocommerce-checkout #billing_fields_heading,
.woocommerce-checkout .wcf-shipping-methods-title,
.woocommerce-checkout #payment_options_heading,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #carrier-agent-heading {
	text-align: center !important;
	font-weight: 600 !important;
}
.wcf-embed-checkout-form .wcf-bump-order-wrap .wcf-order-bump-quantity-updater {
    height: 20px;
}
	
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-methods,
.woocommerce-checkout #woo-carrier-agents-container,
.woocommerce-checkout .woo-carrier-agents-postcode-input-wrapper,
/* .woocommerce-checkout .wc_payment_methods, */
.woocommerce-checkout .woocommerce-checkout-payment,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .ux-free-shipping,
.woocommerce-checkout .wcf-custom-coupon-field,
.woocommerce-checkout .woocommerce-additional-fields {
	background: #FFF !important;
	padding: 20px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 5px !important;
}

.woocommerce-checkout .ux-free-shipping,
.woocommerce-checkout .wcf-custom-coupon-field {
	margin-top: 20px !important;
}

.woocommerce-checkout .wcf-customer-shipping > span {
	display: block;
}

.wcf-embed-checkout-form #billing_additional_customer_type_field {
	display: flex;
	justify-content: center;
	padding: 3px 7px;
	margin-bottom: 20px;
}

.wcf-embed-checkout-form #billing_additional_customer_type_field label {
	border-radius: 5px;
}

#billing_additional_customer_type_field {
	padding: 12px 0px;
}

#billing_additional_customer_type_field input[type="radio"] {
	display: none;
}

#billing_additional_customer_type_field label:first-child {
	display: none !important;
}

#billing_additional_customer_type_field label {
	cursor: pointer;
	font-size: 1rem;
	padding: 10px 20px;
	border: 1px solid #582c83 !important;
	border-radius: 5px !important;
	color: #582c83;
	font-weight: normal !important;
}

#billing_additional_customer_type_field input[type="radio"]:checked+label {
	background: #582c83;
	color: #fff;
	font-weight: 600 !important;
}

.wcf-bump-order-grid-wrap.wcf-after-order + .wcf-bump-order-grid-wrap.wcf-after-order {
    display: none !important;
}

@media screen and (max-width: 462px) {
	#billing_additional_customer_type_field label {
		display: block !important;
	}
}

@media only screen and (max-width: 520px) {
	.wcf-bump-order-style-4 .wcf-bump-order-content .wcf-bump-order-field-wrap {
		display: flex !important;
	}
}

@media screen and (max-width: 782px) {
	.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout #order_review table.shop_table {
		display: block !important;
		
		background: #FFF !important;
		padding: 20px !important;
		margin: 0 !important;
		border: none !important;
		border-radius: 5px !important;
	}
	
	.wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .wcf-order-review-toggle {
		display: none !important;
	}
}

/* END CARTFLOWS */

#visma-pay-bank-payments p {
    border-bottom: 1px solid #EEE;
    padding-bottom: 1px;
    margin-top: 9px;
    font-size: 0.8em;
}
#visma-pay-bank-payments .bank-button{ width:62px !important;}
#visma-pay-bank-payments .bank-button img{ width:100% !important; height: auto !important;}

.nbo-fields-wrapper > .nbd-tb-options > tbody > .nbd-option-field > td{padding:15px 0 !important;}

.nbo-fields-wrapper > .nbd-tb-options > tbody > .nbd-option-field > td > .nbd-label-wrap {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.nbo-fields-wrapper input[type="checkbox"]+label, 
.nbo-fields-wrapper input[type="radio"]+label {
	display: block;
}

/* Change coupon code button style in checkout */
.showcoupon {
  color: var(--fs-color-primary);
  border: 2px solid;
  line-height: 2.19em;
  transition: transform .3s,box-shadow .3s,background-color .3s,color .3s,opacity .3s;
  display: inline-block;
  cursor: pointer;
  font-size: .97em;
  font-weight: bolder;
  letter-spacing: .03em;
  padding: 0 0.3em;
}
.showcoupon:hover {
  background-color: var(--fs-color-primary);
  border-color: var(--fs-color-primary);
  color: #fff;
  border: 2px solid;
  line-height: 2.19em;
  text-transform: none;
}

/*Make VismaPay icons larger*/
#payment #visma-pay-bank-payments .bank-button {
	background-color: #fff;
	width: 108px !important;
	height: 100px;
	font-size: 179px;
}
#payment #visma-pay-bank-payments .bank-button img {
    max-width: 105px;
    margin: 0 !important;
    max-height: 70px !important;
    float: none !important;
    vertical-align: middle !important;
    display: inline;
    position: static;
}