/* custom-checkout.css */

/** fix the button styles of PayPal express button */
.woocommerce-pay-button__payone-paypal-express-button.payone-paypal-express-button {
	clear: both;
	float: right;
	margin-bottom: 10px;
}

.woocommerce-pay-button__payone-paypal-express-button.payone-paypal-express-button > button {
	width: auto !important;
	border: none;
	background: none;
}

/** end fix button styles of PayPal express button */

/** hide destination, css only, modern browsers only */

/* Hide the shipping destination by default */
.woocommerce-shipping-destination {
    display: none;
}

/* Show the shipping destination when the flat rate option is selected */
.woocommerce-shipping-methods:has(#shipping_method_0_flat_rate1:checked) ~ .woocommerce-shipping-destination {
    display: block;
}

/* Hide the shipping destination when the email delivery option is selected */
.woocommerce-shipping-methods:has(#shipping_method_0_email_delivery3:checked) ~ .woocommerce-shipping-destination {
    display: none;
}

/** end hide destination */

.wc_payment_method_input_and_label_wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
}

#shipping_method {
	margin-bottom: 20px !important;
}

ul#shipping_method.woocommerce-shipping-methods > li {
	margin-bottom: 10px;
}

.payment_methods li label {
	margin: 0;
}

.payment_methods li .wc_payment_method_input_and_label_wrapper label {
	display: inline-flex !important;
	gap: 20px;
	align-items: center;
	flex-grow: 1;
	justify-content: space-between;
}

.wc_payment_method_icon_container {
	width: 120px;
	height: 55px;
	border: 1px solid #d7d7d7;
	padding: 10px 20px;
	box-sizing: content-box;
	display: grid;
	place-items: center;
}

.payment_methods li img {
	max-width: 120px;
	max-height: 55px;
	width: auto;
	height: auto;
	float: none !important;
}

@media screen and (max-width: 768px) {
	.payment_methods li .wc_payment_method_input_and_label_wrapper label {
		gap: 7px;
		flex-direction: column;
	}
}

.wc_payment_method.payment_method_bs_payone_paypal .payment_method_bs_payone_paypal {
	display: none !important;
}

/** apply for specifically p.form-row.form-row-wide {
    display: flex;
    flex-wrap: nowrap;
    align-content: stretch;
    gap: 20px;
} */

.woocommerce-checkout-payment {
	max-width: 500px;
}

.shipping-coupon {}

#greeting_message {
	padding: 8px 15px;
}

.payoneSelect {
	width: 100%;
}

.inputIframe {
	width: 100%;
	display: flex;
	gap: 20px;
}

/** fix broken tab borders */

#wrapper .woocommerce-tabs .panel .post-content {
	overflow: hidden;
}

/** add padding-top to all woocommerce-pages incl. product page */

body.woocommerce-page #main {
	padding-top: 30px;
}

/** increase product title size on product page only */

.single-product .product_title {
	font-size: 23px !important;
}

/** a little bit smaller for mobile */
@media screen and (max-width: 768px) {
	.single-product .product_title {
		font-size: 20px !important;
	}
}

/** remove empty block of payment method payone giropay/paydirekt */
.payment_box.payment_method_bs_payone_paydirekt {
	display: none !important;
}

body.single-product .wc_payment_method_icon_container {
	width: 100px;
	height: 45px;
	padding: 2px 5px;
}

@media screen and (min-width: 768px) {
	body.single-product .wc_payment_method_icon_container {
		width: 120px;
		height: 55px;
		padding: 5px 10px;
	}
}

.payment-logos img {
	display: inline-block;
	max-height: 40px;
	margin-right: 10px;
	vertical-align: middle;
}

body.single-product .summary-container > p.price {
	display: none !important;
}
