.wpip-read-more,
.wpip-action-button,
.wpip-submit-button {
	box-sizing: border-box;
	border: 2px solid var(--wpip-theme, #0b7a3b) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.wpip-read-more {
	background: var(--wpip-theme, #0b7a3b) !important;
	color: #fff !important;
	padding: 11px 18px !important;
}
.wpip-read-more:hover,
.wpip-action-button:hover,
.wpip-submit-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(17, 24, 39, .14);
}
.wpip-single-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0;
}
.wpip-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 20px !important;
	cursor: pointer;
	font-size: 16px;
}
.wpip-inquiry-button,
.wpip-submit-button {
	background: var(--wpip-theme, #0b7a3b) !important;
	color: #fff !important;
}
.wpip-whatsapp-button {
	background: #fff !important;
	color: var(--wpip-theme, #0b7a3b) !important;
}
.wpip-wa-icon { font-size: 18px; }
html.wpip-modal-open { overflow: hidden; }
.wpip-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.wpip-modal[aria-hidden="false"] { display: flex; }
.wpip-modal-backdrop { position: absolute; inset: 0; background: rgba(9, 18, 14, .72); backdrop-filter: blur(4px); }
.wpip-modal-dialog {
	position: relative;
	width: min(720px, 100%);
	max-height: calc(100vh - 36px);
	overflow-y: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
	animation: wpip-pop .22s ease-out;
}
@keyframes wpip-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wpip-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: #111827;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.wpip-modal-header {
	padding: 24px 62px 22px 24px;
	background: var(--wpip-theme, #0b7a3b);
	background: linear-gradient(135deg, var(--wpip-theme, #0b7a3b), color-mix(in srgb, var(--wpip-theme, #0b7a3b) 72%, #000));
	color: #fff;
}
.wpip-product-preview { display: flex; align-items: center; gap: 16px; }
.wpip-product-preview img { width: 72px; height: 72px; object-fit: cover; background: #fff; border-radius: 12px; border: 3px solid rgba(255,255,255,.35); }
.wpip-product-preview span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; opacity: .82; }
.wpip-product-preview h2 { margin: 3px 0 4px; color: #fff; font-size: clamp(21px, 4vw, 29px); line-height: 1.15; }
.wpip-product-preview p { margin: 0; font-weight: 600; opacity: .94; }
.wpip-form { padding: 24px; }
.wpip-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.wpip-field-full { grid-column: 1 / -1; }
.wpip-field label { display: block; margin-bottom: 7px; color: #1f2937; font-size: 14px; font-weight: 700; }
.wpip-field label span { color: #c81e1e; }
.wpip-field label small { color: #6b7280; font-weight: 400; }
.wpip-field input,
.wpip-field textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	color: #111827;
	font: inherit;
	padding: 12px 13px;
	outline: none;
}
.wpip-field input:focus,
.wpip-field textarea:focus { border-color: var(--wpip-theme, #0b7a3b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpip-theme, #0b7a3b) 18%, transparent); }
.wpip-submit-button { width: 100%; min-height: 50px; margin-top: 18px; cursor: pointer; font-size: 16px; }
.wpip-submit-button:disabled { opacity: .7; cursor: wait; }
.wpip-form-response { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.wpip-form-response.is-success { display: block; color: #166534; background: #dcfce7; border: 1px solid #86efac; }
.wpip-form-response.is-error { display: block; color: #991b1b; background: #fee2e2; border: 1px solid #fca5a5; }
.wpip-privacy-note { margin: 10px 0 0; color: #6b7280; font-size: 12px; text-align: center; }
.wpip-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 640px) {
	.wpip-single-actions { flex-direction: column; }
	.wpip-action-button { width: 100%; }
	.wpip-modal { padding: 10px; align-items: flex-end; }
	.wpip-modal-dialog { max-height: calc(100vh - 20px); border-radius: 16px 16px 8px 8px; }
	.wpip-modal-header { padding: 20px 52px 18px 18px; }
	.wpip-product-preview img { width: 60px; height: 60px; }
	.wpip-form { padding: 18px; }
	.wpip-form-grid { grid-template-columns: 1fr; gap: 14px; }
	.wpip-field-full { grid-column: auto; }
}

/* Compatibility fallbacks for Elementor, block themes and custom WooCommerce templates. */
form.cart.wpip-cart-replaced { display: none !important; }
.products .product > .wpip-read-more,
li.product > .wpip-read-more,
.wc-block-grid__product > .wpip-read-more,
.wc-block-product > .wpip-read-more,
.e-loop-item > .wpip-read-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
}
