/* Delivery notice — all single product pages */
.spd-product-delivery-notice {
	clear: both;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto 1.25rem;
	padding: 0.875rem 1.25rem;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #2c3338;
	background: #f4f9f4;
	border: 1px solid #c5dfc5;
	border-radius: 4px;
	box-sizing: border-box;
}

.spd-product-delivery-notice p {
	margin: 0;
}

.spd-product-delivery-notice strong {
	font-weight: 700;
	color: #1a472a;
}

/* WhatsApp-only products: hide price, "+ Free Shipping", and suffix text */
.spd-whatsapp-product .entry-summary > .price,
.spd-whatsapp-product .entry-summary p.price,
.spd-whatsapp-product .entry-summary div.price,
.spd-whatsapp-product .summary > .price,
.spd-whatsapp-product .summary p.price,
.spd-whatsapp-product .product-summary .price,
.spd-whatsapp-product .product-summary p.price,
.spd-whatsapp-product .elementor-widget-woocommerce-product-price,
.spd-whatsapp-product .elementor-widget-woocommerce-product-price .price,
.spd-whatsapp-product .elementor-widget-wc-price,
.spd-whatsapp-product .woocommerce-variation-price,
.spd-whatsapp-product .single_variation_wrap .price,
.spd-whatsapp-product .single_variation_wrap .woocommerce-Price-amount,
.spd-whatsapp-product form.variations_form > .price,
.spd-whatsapp-product .woocommerce-price-suffix,
.spd-whatsapp-product .price-suffix,
.spd-whatsapp-product .free-shipping,
.spd-whatsapp-product .shipping-free,
.spd-whatsapp-product [class*="free-shipping"],
.spd-whatsapp-product [class*="free_shipping"],
.spd-whatsapp-product .spd-hidden-free-shipping,
.spd-whatsapp-product .woocommerce-shipping-info,
.spd-whatsapp-product .product-free-shipping,
.spd-whatsapp-product .wd-free-shipping,
.spd-whatsapp-product .wd-shipping-progress-bar,
.spd-whatsapp-product .free-delivery,
.spd-whatsapp-product .shipping-label,
.spd-whatsapp-product .ast-shipping-text,
.spd-whatsapp-product span.ast-shipping-text,
.spd-whatsapp-product .summary .ast-shipping-text {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

/* WhatsApp variable product layout */
.spd-whatsapp-product .single_variation_wrap {
	display: block !important;
	width: 100% !important;
}

.spd-whatsapp-product .woocommerce-variation.single-variation {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 14px !important;
	width: 100% !important;
}

.spd-whatsapp-product .woocommerce-variation-availability {
	width: 100% !important;
	margin: 0 !important;
}

.spd-whatsapp-product .spd-whatsapp-cart-wrap,
.spd-whatsapp-product .spd-whatsapp-cart-wrap--after-price {
	width: 100% !important;
	margin: 0 !important;
	clear: both !important;
	display: block !important;
}

/* Empty add-to-cart row (Add to Cart removed) */
.spd-whatsapp-product .woocommerce-variation-add-to-cart.variations_button {
	display: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Hide Add to Cart & quantity on variable WhatsApp products */
.spd-whatsapp-product .woocommerce-variation-add-to-cart .quantity,
.spd-whatsapp-product .woocommerce-variation-add-to-cart > .button:not(.spd-whatsapp-button),
.spd-whatsapp-product form.cart .single_add_to_cart_button:not(.spd-whatsapp-button) {
	display: none !important;
}

.spd-whatsapp-cart-wrap {
	margin: 0 0 1.25em;
	clear: both;
	width: 100%;
}

.spd-whatsapp-button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background-color: #25d366 !important;
	color: #fff !important;
	border-color: #25d366 !important;
	text-align: center;
	line-height: 1.4;
}

.spd-whatsapp-button--single {
	margin-top: 0;
	padding: 14px 20px;
	font-size: 1.05em;
	font-weight: 600;
}

.spd-whatsapp-button:hover,
.spd-whatsapp-button:focus {
	background-color: #1da851 !important;
	color: #fff !important;
	border-color: #1da851 !important;
}

.spd-whatsapp-button--loop {
	width: 100%;
	margin-top: 0.5em;
}

.spd-whatsapp-missing {
	color: #b32d2e;
	font-size: 0.95em;
}

.spd-local-delivery-notice {
	margin-bottom: 1.5em;
}

.spd-pin-invalid input {
	border-color: #b32d2e !important;
	box-shadow: 0 0 0 1px #b32d2e;
}

.spd-inline-alert {
	display: none;
	margin: 0.5em 0 1em;
	padding: 0.75em 1em;
	background: #fcf0f0;
	border-left: 4px solid #b32d2e;
	color: #3c434a;
}

.spd-inline-alert.is-visible {
	display: block;
}
