/**
 * Cart / checkout — method list bullets + Place Order button clarity.
 *
 * Parent theme sets `ul { list-style: disc }` globally (pls-theme.css).
 * WooCommerce shipping (#shipping_method) and payment (ul.payment_methods)
 * lists inherit that and show discs beside radio options.
 *
 * Parent also pins Place Order / Proceed to Checkout as a fixed full-bleed
 * black strip on mobile. Put the button back in normal document flow and
 * style it as a clear in-form CTA (theme navy/black — not gold, not sticky).
 *
 * When PayPal (ppcp-gateway) is selected, Woo still renders #place_order
 * ("Proceed to PayPal") above the real PayPal smart button — hide the duplicate.
 */

.woocommerce ul#shipping_method,
.woocommerce-page ul#shipping_method,
.woocommerce ul.woocommerce-shipping-methods,
.woocommerce-page ul.woocommerce-shipping-methods,
.woocommerce #payment ul.payment_methods,
.woocommerce-page #payment ul.payment_methods,
.woocommerce ul.wc_payment_methods,
.woocommerce-page ul.wc_payment_methods,
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-cart ul#shipping_method {
	list-style: none !important;
	list-style-type: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	padding-inline-start: 0 !important;
}

.woocommerce ul#shipping_method > li,
.woocommerce-page ul#shipping_method > li,
.woocommerce ul.woocommerce-shipping-methods > li,
.woocommerce-page ul.woocommerce-shipping-methods > li,
.woocommerce #payment ul.payment_methods > li,
.woocommerce-page #payment ul.payment_methods > li,
.woocommerce ul.wc_payment_methods > li,
.woocommerce-page ul.wc_payment_methods > li,
.woocommerce-checkout #payment ul.payment_methods > li,
.woocommerce-cart ul#shipping_method > li {
	list-style: none !important;
	list-style-type: none !important;
}

.woocommerce ul#shipping_method > li::marker,
.woocommerce-page ul#shipping_method > li::marker,
.woocommerce ul.woocommerce-shipping-methods > li::marker,
.woocommerce-page ul.woocommerce-shipping-methods > li::marker,
.woocommerce #payment ul.payment_methods > li::marker,
.woocommerce-page #payment ul.payment_methods > li::marker,
.woocommerce ul.wc_payment_methods > li::marker,
.woocommerce-page ul.wc_payment_methods > li::marker {
	content: '' !important;
	font-size: 0 !important;
}

@media (max-width: 1024px) {
	/* Undo parent sticky full-bleed strip on cart Proceed wrapper. */
	.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout {
		position: static !important;
		bottom: auto !important;
		left: auto !important;
		width: 100% !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		padding: 0 !important;
		margin: 16px 0 0 !important;
		z-index: auto !important;
	}

	/*
	 * Place Order / Proceed: normal flow, clear button shape.
	 * Uses theme checkout button colours (dark navy/black + white).
	 */
	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button#place_order,
	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button[type="submit"],
	.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout a.checkout-button {
		position: static !important;
		bottom: auto !important;
		left: auto !important;
		right: auto !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 52px !important;
		margin: 24px 0 0 !important;
		padding: 14px 20px !important;
		border: none !important;
		border-radius: 6px !important;
		background-color: var(--pls-checkout-button-bg-color, #181818) !important;
		background-image: none !important;
		color: var(--pls-checkout-button-color, #ffffff) !important;
		box-shadow: none !important;
		font-family: var(--pls-primary-font, Poppins, sans-serif) !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em !important;
		line-height: 1.25 !important;
		text-align: center !important;
		text-decoration: none !important;
		text-transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		z-index: auto !important;
	}

	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button#place_order:hover,
	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button#place_order:focus,
	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button[type="submit"]:hover,
	.woocommerce-checkout.pls-mobile-bottom-navbar-single-page .place-order button[type="submit"]:focus,
	.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout a.checkout-button:hover,
	.woocommerce-cart.pls-mobile-bottom-navbar-single-page .wc-proceed-to-checkout a.checkout-button:focus {
		background-color: var(--pls-checkout-button-bg-hover-color, #060f2e) !important;
		color: var(--pls-checkout-button-hover-color, #ffffff) !important;
	}
}

/* Space above Place Order and the PayPal smart-button stack. */
.woocommerce-checkout #place_order,
.woocommerce-checkout .ppc-button-wrapper {
	margin-top: 24px !important;
}

/*
 * PayPal selected: hide Woo's "Proceed to PayPal" / Place order duplicate;
 * keep only the real PayPal smart button (.ppc-button-wrapper).
 */
.woocommerce-checkout:has(#payment_method_ppcp-gateway:checked) #place_order {
	display: none !important;
}
