/**
 * Stovery Quick Order & Callback Modal Styles
 */

.stovery-quick-buy-btn {
	display: inline-flex;
	align-items: center;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	border: 0;
	border-radius: 4px;
	background-color: var(--wp--preset--color--line);
	color: var(--wp--preset--color--muted);
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	cursor: pointer;
}

.stovery-quick-buy-btn:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

/* Modal Overlay & Container */
.stovery-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.stovery-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.stovery-modal-content {
	position: relative;
	background: #ffffff;
	border-radius: 8px;
	width: 100%;
	max-width: 440px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	z-index: 10;
	overflow: hidden;
	animation: stoveryFadeIn 0.25s ease-out;
}

@keyframes stoveryFadeIn {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.stovery-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: transparent;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #888888;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.2s;
}

.stovery-modal-close:hover {
	color: #ff4c2b;
}

.stovery-modal-header {
	padding: 1.5rem 1.5rem 1rem 1.5rem;
	border-bottom: 1px solid #f0f0f0;
}

.stovery-modal-heading {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #350c01;
}

.stovery-modal-sub {
	margin: 0.35rem 0 0 0;
	font-size: 0.88rem;
	color: #328408;
	font-weight: 600;
}

.stovery-modal-body {
	padding: 1.5rem;
}

.stovery-form-group {
	margin-bottom: 1rem;
}

.stovery-form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #350c01;
}

.stovery-form-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid #cccccc;
	border-radius: 4px;
	font-size: 0.95rem;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.stovery-form-input:focus {
	border-color: #328408;
	box-shadow: 0 0 0 3px rgba(50, 132, 8, 0.15);
	outline: none;
}

.stovery-btn-submit {
	width: 100%;
	background-color: #328408;
	color: #ffffff;
	border: none;
	padding: 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-top: 0.5rem;
}

.stovery-btn-submit:hover {
	background-color: #4ea721;
}

.stovery-form-notice {
	padding: 0.75rem;
	border-radius: 4px;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	line-height: 1.4;
}

.stovery-form-notice.success {
	background-color: #edf7ed;
	color: #1e4620;
	border: 1px solid #c8e6c9;
}

.stovery-form-notice.error {
	background-color: #fdecea;
	color: #611a15;
	border: 1px solid #f5c6cb;
}
