
/* Pila Product Quote & WhatsApp */
body {
	--ppqw-green: #3f7d46;
	--ppqw-green-dark: #285b32;
	--ppqw-green-deep: #183f24;
	--ppqw-whatsapp: #25d366;
	--ppqw-gold: #f2b134;
	--ppqw-sage: #e8f0ed;
	--ppqw-cream: #f7f7f1;
	--ppqw-ink: #19261d;
	--ppqw-copy: #526057;
	--ppqw-border: #d4dfd7;
	--ppqw-shadow: 0 14px 38px rgba(24,63,36,.12);
}

.ppqw-product-actions,
.ppqw-quote-section,
.ppqw-loop-actions {
	box-sizing: border-box !important;
}

.ppqw-product-actions *,
.ppqw-quote-section *,
.ppqw-loop-actions * {
	box-sizing: border-box !important;
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	text-shadow: none !important;
}

.ppqw-product-actions {
	display: block !important;
	width: 100% !important;
	margin: 24px 0 !important;
	padding: 24px !important;
	border: 1px solid var(--ppqw-border) !important;
	border-left: 5px solid var(--ppqw-gold) !important;
	border-radius: 14px !important;
	background: var(--ppqw-cream) !important;
	color: var(--ppqw-copy) !important;
	box-shadow: none !important;
}

.ppqw-product-actions__copy > span,
.ppqw-quote-copy > span {
	display: block !important;
	margin: 0 0 7px !important;
	color: var(--ppqw-green) !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	line-height: 1.4 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
}

.ppqw-product-actions h2 {
	margin: 0 0 10px !important;
	color: var(--ppqw-ink) !important;
	font-size: clamp(23px, 2.7vw, 31px) !important;
	line-height: 1.2 !important;
}

.ppqw-product-actions p {
	margin: 0 !important;
	color: var(--ppqw-copy) !important;
	line-height: 1.65 !important;
}

.ppqw-product-actions__buttons {
	display: flex !important;
	margin-top: 18px !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
}

.ppqw-button,
a.ppqw-button,
button.ppqw-button {
	display: inline-flex !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 13px 20px !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	border: 2px solid transparent !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.ppqw-button--quote,
.ppqw-button--submit {
	background: var(--ppqw-green) !important;
	border-color: var(--ppqw-green) !important;
	color: #fff !important;
}

.ppqw-button--quote:hover,
.ppqw-button--submit:hover,
.ppqw-button--quote:focus-visible,
.ppqw-button--submit:focus-visible {
	background: var(--ppqw-green-dark) !important;
	border-color: var(--ppqw-green-dark) !important;
	color: #fff !important;
}

.ppqw-button--whatsapp {
	background: var(--ppqw-whatsapp) !important;
	border-color: var(--ppqw-whatsapp) !important;
	color: #0b341b !important;
}

.ppqw-button--whatsapp:hover,
.ppqw-button--whatsapp:focus-visible {
	background: #1fbd59 !important;
	border-color: #1fbd59 !important;
	color: #082b16 !important;
}

.ppqw-product-actions__contact {
	margin-top: 15px !important;
	font-size: 13px !important;
}

.ppqw-product-actions__contact a {
	color: var(--ppqw-green-dark) !important;
	font-weight: 750 !important;
}

.ppqw-product-actions__contact span {
	margin: 0 7px !important;
	color: #88938b !important;
}

.ppqw-quote-section {
	display: block !important;
	width: 100% !important;
	margin: 40px 0 0 !important;
	padding: clamp(54px, 7vw, 88px) 0 !important;
	clear: both !important;
	background: var(--ppqw-green-deep) !important;
	color: #fff !important;
}

.ppqw-container {
	width: min(100% - 36px, 1260px) !important;
	margin-inline: auto !important;
}

.ppqw-quote-layout {
	display: grid !important;
	grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr) !important;
	gap: clamp(32px, 6vw, 74px) !important;
	align-items: start !important;
}

.ppqw-quote-copy h2 {
	margin: 0 0 16px !important;
	color: #fff !important;
	font-size: clamp(31px, 4vw, 48px) !important;
	line-height: 1.12 !important;
}

.ppqw-quote-copy p,
.ppqw-quote-copy li {
	color: #dbe8de !important;
	line-height: 1.72 !important;
}

.ppqw-quote-copy ul {
	margin: 22px 0 !important;
	padding-left: 21px !important;
}

.ppqw-quote-copy li {
	margin: 8px 0 !important;
}

.ppqw-whatsapp-card {
	display: flex !important;
	margin-top: 24px !important;
	padding: 17px !important;
	flex-direction: column !important;
	gap: 5px !important;
	border: 1px solid rgba(255,255,255,.17) !important;
	border-radius: 12px !important;
	background: rgba(37,211,102,.12) !important;
	color: #fff !important;
	text-decoration: none !important;
}

.ppqw-whatsapp-card strong {
	color: #7af0a7 !important;
	font-size: 17px !important;
}

.ppqw-whatsapp-card span {
	color: #dbe8de !important;
	line-height: 1.55 !important;
}

.ppqw-form-card {
	padding: clamp(24px, 4vw, 38px) !important;
	border-radius: 17px !important;
	background: #fff !important;
	box-shadow: 0 20px 56px rgba(0,0,0,.25) !important;
}

.ppqw-quote-form {
	display: grid !important;
	gap: 17px !important;
}

.ppqw-form-grid {
	display: grid !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	gap: 16px !important;
}

.ppqw-quote-form label {
	display: grid !important;
	gap: 7px !important;
	margin: 0 !important;
	color: var(--ppqw-ink) !important;
	font-weight: 750 !important;
}

.ppqw-quote-form label > span {
	color: var(--ppqw-ink) !important;
	font-size: 14px !important;
}

.ppqw-quote-form :is(input[type="text"],input[type="email"],input[type="tel"],textarea) {
	display: block !important;
	width: 100% !important;
	min-height: 49px !important;
	margin: 0 !important;
	padding: 12px 13px !important;
	border: 1px solid #b9c9bd !important;
	border-radius: 7px !important;
	background: #fff !important;
	color: var(--ppqw-ink) !important;
	box-shadow: none !important;
	font: inherit !important;
}

.ppqw-quote-form textarea {
	min-height: 145px !important;
	resize: vertical !important;
}

.ppqw-quote-form input[readonly] {
	background: #f3f6f3 !important;
	color: #526057 !important;
}

.ppqw-quote-form :is(input,textarea):focus {
	border-color: var(--ppqw-green) !important;
	outline: 3px solid rgba(63,125,70,.16) !important;
	outline-offset: 0 !important;
}

.ppqw-consent {
	display: flex !important;
	grid-template-columns: auto minmax(0,1fr) !important;
	align-items: flex-start !important;
	gap: 9px !important;
	font-weight: 500 !important;
}

.ppqw-consent input {
	width: auto !important;
	min-height: 0 !important;
	margin: 4px 0 0 !important;
}

.ppqw-consent span {
	font-weight: 500 !important;
	color: #536158 !important;
}

.ppqw-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ppqw-form-status {
	color: var(--ppqw-ink) !important;
	font-weight: 750 !important;
}

.ppqw-form-status.is-success {
	color: #166534 !important;
}

.ppqw-form-status.is-error {
	color: #a72d21 !important;
}

.ppqw-notice {
	margin-bottom: 17px !important;
	padding: 14px 15px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

.ppqw-notice--success {
	background: #e7f7ed !important;
	color: #166534 !important;
}

.ppqw-notice--error {
	background: #fff0ef !important;
	color: #a72d21 !important;
}

/* Product card buttons */
.ppqw-loop-actions {
	display: grid !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	width: 100% !important;
	margin-top: 12px !important;
	gap: 8px !important;
}

.ppqw-loop-button {
	display: inline-flex !important;
	min-height: 43px !important;
	padding: 10px 11px !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid transparent !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
}

.ppqw-loop-button--quote {
	background: var(--ppqw-green) !important;
	border-color: var(--ppqw-green) !important;
	color: #fff !important;
}

.ppqw-loop-button--whatsapp {
	background: var(--ppqw-whatsapp) !important;
	border-color: var(--ppqw-whatsapp) !important;
	color: #0b341b !important;
}

/*
 * Hide known legacy quotation/review/comparison fragments on single products
 * only after the universal product form is active.
 */
body.ppqw-product-quote-enabled :is(
	.ppcsr-inquiry-section:not(.ppqw-quote-section),
	.product-enquiry:not(.ppqw-quote-section),
	.product-inquiry:not(.ppqw-quote-section),
	.enquiry-form:not(.ppqw-quote-section),
	.yith-wcwl-add-to-wishlist,
	.compare,
	.compare-button,
	.wooscp-btn,
	.woosq-btn,
	.quick-view,
	.quick-view-button,
	.wd-compare-btn,
	.wd-wishlist-btn,
	.wd-quick-view-icon,
	.wd-compare-table,
	.compare-info,
	.woodmart-compare-info
) {
	display: none !important;
}

body.ppqw-product-quote-enabled .woocommerce-Reviews,
body.ppqw-product-quote-enabled #reviews {
	display: none !important;
}

@media (max-width: 880px) {
	.ppqw-quote-layout {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 620px) {
	.ppqw-container {
		width: min(100% - 26px,1260px) !important;
	}
	.ppqw-form-grid,
	.ppqw-loop-actions {
		grid-template-columns: 1fr !important;
	}
	.ppqw-product-actions {
		padding: 20px !important;
	}
	.ppqw-product-actions__buttons {
		flex-direction: column !important;
	}
	.ppqw-product-actions__buttons .ppqw-button {
		width: 100% !important;
	}
	.ppqw-form-card {
		padding: 21px 16px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto !important;
	}
}
