/* ==========================================================================
   Price Match Button
   ========================================================================== */
.ppm-button-wrapper {
	margin: 10px 0 16px 0;
	width: 100%;
	clear: both;
}

.ppm-trigger-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 10px 16px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #1e293b;
	line-height: 1.3;
	font-family: inherit;
	width: 100%;
}

.ppm-trigger-btn:hover {
	border-color: #94a3b8;
	background-color: #f8fafc;
}

.ppm-trigger-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #b89358;
}

/* ==========================================================================
   Popup Modal Dialog
   ========================================================================== */
.ppm-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 99999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ppm-modal-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto !important;
	display: flex !important;
}

.ppm-modal-container {
	max-width: 530px;
	width: 100%;
	margin: auto;
	box-sizing: border-box;
	pointer-events: auto !important;
	position: relative;
	z-index: 10;
}

.ppm-modal-dialog {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	position: relative;
	padding: 38px 34px 34px 34px;
	box-sizing: border-box;
	transform: scale(0.94) translateY(10px);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	max-height: 90vh;
	overflow-y: auto;
	pointer-events: auto !important;
	z-index: 20;
}

.ppm-modal-backdrop.is-open .ppm-modal-dialog {
	transform: scale(1) translateY(0);
}

.ppm-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: transparent;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	padding: 0;
	z-index: 10;
}

.ppm-modal-close:hover {
	background-color: #f1f5f9;
	color: #1e293b;
}

.ppm-modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ppm-modal-header-icon {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ppm-modal-heading-wrap {
	margin-bottom: 14px;
}

.ppm-modal-title {
	margin: 0;
	padding: 0;
	font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.25;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.ppm-title-prefix {
	font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #1e293b;
	letter-spacing: -0.3px;
}

.ppm-title-highlight {
	font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #b89358;
	letter-spacing: -0.3px;
}

.ppm-modal-description {
	margin-bottom: 22px;
	padding: 0 4px;
}

.ppm-modal-description p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #475569;
	font-family: inherit;
}

/* Form Styles */
.ppm-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 18px;
	text-align: left;
}

.ppm-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ppm-form-label {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
}

.ppm-required {
	color: #dc2626;
}

.ppm-form-control {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	color: #1e293b;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.ppm-form-control:focus {
	outline: none;
	border-color: #b89358;
	box-shadow: 0 0 0 3px rgba(184, 147, 88, 0.1);
}

.ppm-form-control-file {
	font-size: 13px;
	color: #475569;
}

.ppm-modal-actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
}

.ppm-btn-continue {
	width: 100%;
	background-color: #1e2b37;
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	font-family: inherit;
	box-sizing: border-box;
	display: inline-block;
	text-align: center;
	line-height: 1.2;
}

.ppm-btn-continue:hover {
	background-color: #0f172a;
}

.ppm-btn-continue:active {
	transform: scale(0.99);
}

/* Divider & Alternative Contact */
.ppm-divider {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 20px 0;
	gap: 12px;
}

.ppm-divider-line {
	flex: 1;
	height: 1px;
	background-color: #e2e8f0;
}

.ppm-divider-text {
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ppm-modal-contact-alternative p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #1e293b;
}

@media (max-width: 600px) {
	.ppm-modal-dialog {
		padding: 28px 20px 24px 20px;
		border-radius: 12px;
	}

	.ppm-title-prefix {
		font-size: 20px;
	}

	.ppm-title-highlight {
		font-size: 22px;
	}

	.ppm-modal-description p {
		font-size: 12px;
	}

	.ppm-btn-continue {
		padding: 13px 16px;
		font-size: 14px;
	}
}
