/* AceWarmPro Product Inquiry - frontend styles (brand: teal #16335C / orange #DF911A / ink #16335C) */

.awpi-button {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 6px 0 !important;
	padding: 15px 28px !important;
	background: #DF911A !important;
	background-color: #DF911A !important;
	color: #fff !important;
	border: none !important;
	border-radius: 5px !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s ease;
}
.awpi-button:hover,
.awpi-button:focus {
	background: #BF7118 !important;
	background-color: #BF7118 !important;
	color: #fff !important;
	border: none !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(223, 145, 26, 0.35) !important;
}

/* Modal overlay */
.awpi-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(22, 51, 92, 0.55);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}
.awpi-modal-overlay.awpi-open {
	display: flex;
}
.awpi-modal {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(22, 51, 92, 0.25);
	padding: 32px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #16335C;
	animation: awpi-pop .25s ease;
}
@keyframes awpi-pop {
	from { opacity: 0; transform: translateY(16px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.awpi-modal-close {
	position: static;
	flex-shrink: 0;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	border: none !important;
	border-radius: 50% !important;
	background: #F2F0EA !important;
	background-color: #F2F0EA !important;
	color: #16335C !important;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: all .2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
}
.awpi-modal-close:hover,
.awpi-modal-close:focus {
	background: #DF911A !important;
	background-color: #DF911A !important;
	color: #fff !important;
	border: none !important;
	transform: rotate(90deg);
}
.awpi-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 18px;
}
.awpi-modal-title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	flex: 1;
}

/* Product strip */
.awpi-product {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #FAF8F3;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 20px;
}
.awpi-product-img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #E2E8F0;
}
.awpi-product-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #718096;
}
.awpi-product-name {
	font-size: 15px;
}

/* Form */
.awpi-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.awpi-field {
	margin-bottom: 14px;
}
.awpi-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #16335C;
}
.awpi-req {
	color: #DF911A;
}
.awpi-field input,
.awpi-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	color: #16335C;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.awpi-field input:focus,
.awpi-field textarea:focus {
	outline: none;
	border-color: #16335C;
	box-shadow: 0 0 0 3px rgba(22, 51, 92, 0.12);
}
.awpi-field textarea {
	resize: vertical;
	min-height: 90px;
}

/* Honeypot: invisible to humans */
.awpi-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.awpi-form-error {
	display: none;
	background: #FDECEC;
	border: 1px solid #F5C2C2;
	color: #B3261E;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 14px;
}
.awpi-form-error.awpi-visible {
	display: block;
}

.awpi-submit {
	display: block;
	width: 100%;
	padding: 14px 28px !important;
	background: #DF911A !important;
	background-color: #DF911A !important;
	color: #fff !important;
	border: none !important;
	border-radius: 5px !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s ease;
}
.awpi-submit:hover:not(:disabled),
.awpi-submit:focus:not(:disabled) {
	background: #BF7118 !important;
	background-color: #BF7118 !important;
	color: #fff !important;
	border: none !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(223, 145, 26, 0.35) !important;
}
.awpi-submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* Success state */
.awpi-success {
	display: none;
	text-align: center;
	padding: 30px 10px 10px;
}
.awpi-success.awpi-visible {
	display: block;
}
.awpi-check {
	width: 64px;
	height: 64px;
	stroke: #16335C;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	margin-bottom: 14px;
}
.awpi-success p {
	font-size: 15px;
	line-height: 1.6;
	color: #4a5568;
	margin: 0;
}

@media (max-width: 600px) {
	.awpi-modal { padding: 24px 20px; }
	.awpi-row { grid-template-columns: 1fr; gap: 0; }
	.awpi-modal-title { font-size: 20px; }
}
