/* ============================================================
   Quick Order Module v1.0
   Бърза поръчка чрез телефон — на product page
   ============================================================ */

.quick-order-module {
	margin: 20px 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ----- Banner image ----- */
.quick-order-banner {
	width: 100%;
	display: block;
	line-height: 0;
	background: #fff;
}

.quick-order-banner-img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
}

/* ----- Form section ----- */
.quick-order-form {
	padding: 18px 20px 20px;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.quick-order-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	margin-bottom: 12px;
}

/* ----- Input fields ----- */
.quick-order-field {
	flex: 1 1 200px;
	min-width: 180px;
	display: flex;
}

.quick-order-input {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	font-size: 16px;
	font-family: inherit;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	color: #222;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.quick-order-input::placeholder {
	color: #999;
	opacity: 1;
}

.quick-order-input:focus {
	border-color: #20a3a3;
	box-shadow: 0 0 0 3px rgba(32, 163, 163, 0.12);
}

.quick-order-phone {
	letter-spacing: 0.5px;
	font-weight: 500;
}

/* ----- Submit button ----- */
.quick-order-submit {
	flex: 0 0 auto;
	min-width: 200px;
	min-height: 50px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
	background: #3A4754;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: 0 2px 8px rgba(58, 71, 84, 0.25);
	font-family: inherit;
}

.quick-order-submit:hover:not(:disabled) {
	background: #4a5867;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(58, 71, 84, 0.4);
}

.quick-order-submit:active:not(:disabled) {
	transform: translateY(0);
}

.quick-order-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ----- Message (success/error) ----- */
.quick-order-message {
	margin: 12px 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	animation: quickOrderMsgFadeIn 0.3s ease;
}

@keyframes quickOrderMsgFadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.quick-order-message-error {
	background: #ffebee;
	border-left: 4px solid #f44336;
	color: #c62828;
}

.quick-order-message-success {
	background: linear-gradient(135deg, #d4f4dd 0%, #c8e9d4 100%);
	border-left: 4px solid #4caf50;
	color: #1b5e20;
	font-weight: 600;
}

.quick-order-message-success::before {
	content: "✓ ";
	font-weight: bold;
}

/* ----- Disclaimer ----- */
.quick-order-disclaimer {
	margin-top: 8px;
	padding: 0;
	font-size: 12px;
	color: #888;
	line-height: 1.4;
	text-align: center;
	font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
	.quick-order-form {
		padding: 14px 14px 16px;
	}

	.quick-order-fields {
		flex-direction: column;
		gap: 8px;
	}

	.quick-order-field {
		flex: 1 1 100%;
		min-width: 0;
	}

	.quick-order-submit {
		width: 100%;
		min-width: 0;
	}

	.quick-order-input {
		font-size: 16px; /* prevent iOS zoom */
	}
}
