/* STADOOR — Cenová ponuka (Request a Quote) */

/* tlačidlo */
.stadoor-quote-btn {
	display: inline-block;
	margin: 10px 0 0;
	background: transparent;
	color: #585656;
	border: 2px solid #585656;
	font-weight: 600;
	transition: background .15s, color .15s;
}
.stadoor-quote-btn:hover {
	background: #585656;
	color: #fff;
}
.stadoor-quote-btn--product {
	display: block;
	width: 100%;
	text-align: center;
}
.stadoor-quote-btn--cart {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 12px;
}

/* Cenová ponuka — jemná zvýraznená poznámka na produkte */
.stadoor-quote-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 4px;
	padding: 12px 14px;
	background: #f5f8fa;
	border: 1px solid #e6ebee;
	border-left: 3px solid #68ba45;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.55;
	color: #46555d;
}
.stadoor-quote-note .sq-note-icon {
	flex: 0 0 auto;
	margin-top: 2px;
	color: #585656;
	display: inline-flex;
}
.stadoor-quote-note .sq-note-text { flex: 1; }
/* inline odkaz (prebije základný .stadoor-quote-btn vzhľad tlačidla) */
.stadoor-quote-note .stadoor-quote-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #585656;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.stadoor-quote-note .stadoor-quote-link:hover { color: #5aa838; }
.stadoor-quote-note .stadoor-quote-link span {
	text-decoration: none;
	display: inline-block;
	transition: transform .15s ease;
}
.stadoor-quote-note .stadoor-quote-link:hover span { transform: translateX(3px); }

/* overlay + modal */
.stadoor-quote-overlay {
	position: fixed;
	inset: 0;
	background: rgba(40, 40, 40, .55);
	display: none;
	z-index: 100000;
	padding: 20px;
	overflow-y: auto;
}
.stadoor-quote-overlay.is-open {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
body.sq-modal-open {
	overflow: hidden;
}
.stadoor-quote-modal {
	background: #fff;
	border-radius: 8px;
	max-width: 540px;
	width: 100%;
	margin: 40px auto;
	padding: 28px 28px 24px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.stadoor-quote-modal h3 {
	margin: 0 0 16px;
	font-size: 22px;
	color: #585656;
}
.stadoor-quote-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #999;
}
.stadoor-quote-close:hover { color: #585656; }

/* zoznam položiek */
.stadoor-quote-items {
	background: #f6f8f9;
	border: 1px solid #e3e9ec;
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 18px;
	font-size: 14px;
}
.stadoor-quote-items .sq-items-list {
	margin: 8px 0 0;
	padding-left: 18px;
	list-style: disc;
	max-height: 160px;
	overflow-y: auto;
}
.stadoor-quote-items .sq-items-list li { margin: 2px 0; }

/* „Vybrať ďalšie produkty" – zatvorí modal a vráti k nákupu */
.sq-continue-shopping {
	margin-top: 10px;
	width: 100%;
	background: none;
	border: 1px dashed #b7c2c9;
	color: #585656;
	font-weight: 600;
	font-size: 13px;
	padding: 9px 12px;
	border-radius: 5px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.sq-continue-shopping:hover { border-color: #585656; background: #eef3f6; }

/* formulár */
.stadoor-quote-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}
.stadoor-quote-form label span { color: #c0392b; }
.stadoor-quote-form input,
.stadoor-quote-form textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #ccd2d6;
	border-radius: 5px;
	font-size: 14px;
	margin-bottom: 12px;
}
.stadoor-quote-form input:focus,
.stadoor-quote-form textarea:focus {
	border-color: #585656;
	outline: none;
}
.stadoor-quote-form .sq-row {
	display: flex;
	gap: 12px;
}
.stadoor-quote-form .sq-row p { flex: 1; margin: 0; }
.stadoor-quote-form .sq-actions { margin: 6px 0 0; }
.stadoor-quote-submit {
	width: 100%;
	background: #5aa838 !important;
	color: #fff !important;
	font-weight: 600;
	padding: 12px !important;
}
.stadoor-quote-submit:disabled { opacity: .6; cursor: default; }

/* honeypot skrytý */
.stadoor-quote-form .sq-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

/* výsledok */
.stadoor-quote-result {
	margin-top: 12px;
	padding: 0;
	font-size: 14px;
	border-radius: 5px;
}
.stadoor-quote-result.is-ok {
	background: #e8f5e9;
	color: #1b5e20;
	padding: 12px 14px;
	border: 1px solid #a5d6a7;
}
.stadoor-quote-result.is-error {
	background: #fdecea;
	color: #9b2c20;
	padding: 12px 14px;
	border: 1px solid #f5b7b1;
}

@media (max-width: 480px) {
	.stadoor-quote-form .sq-row { flex-direction: column; gap: 0; }
	.stadoor-quote-modal { padding: 22px 18px; }
}

/* ============================================================
 * Prominentná karta „Cenová ponuka" na produkte
 * ============================================================ */
.stadoor-quote-card {
	margin: 18px 0 6px;
	background: linear-gradient(135deg, #f1f8ec 0%, #eaf6e2 100%);
	border: 1px solid #cfe8bf;
	border-radius: 10px;
	padding: 18px 18px 16px;
}
.stadoor-quote-card .sq-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.stadoor-quote-card .sq-card-icon {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
	background: #68ba45; color: #fff; display: flex; align-items: center; justify-content: center;
}
.stadoor-quote-card .sq-card-title { display: block; font-size: 16px; font-weight: 700; color: #2b2b2b; line-height: 1.3; }
.stadoor-quote-card .sq-card-sub { display: block; font-size: 13.5px; color: #55675a; margin-top: 3px; line-height: 1.5; }
.stadoor-quote-card .sq-card-btn {
	display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px;
	background: #68ba45; color: #fff !important; border: 0; border-radius: 8px;
	font-size: 15px; font-weight: 700; padding: 13px 18px; cursor: pointer;
	transition: background .15s, transform .05s; text-decoration: none;
}
.stadoor-quote-card .sq-card-btn:hover { background: #5aa838; }
.stadoor-quote-card .sq-card-btn:active { transform: translateY(1px); }
.stadoor-quote-card .sq-card-btn svg { stroke: #fff; }

/* ============================================================
 * Banner „Cenová ponuka" v obchode (archív / kategória)
 * ============================================================ */
.sq-shop-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin: 8px 0 28px; padding: 20px 24px;
	background: linear-gradient(135deg, #585656 0%, #3f3e3e 100%);
	border-radius: 12px; color: #fff;
}
.sq-shop-cta-text { display: flex; align-items: center; gap: 14px; min-width: 260px; flex: 1; }
.sq-shop-cta-icon {
	flex: 0 0 auto; width: 50px; height: 50px; border-radius: 11px;
	background: rgba(104,186,69,.22); color: #9fe27e; display: flex; align-items: center; justify-content: center;
}
.sq-shop-cta-text strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.sq-shop-cta-text span { display: block; font-size: 14px; color: #d9d9d9; margin-top: 3px; }
.sq-shop-cta-btn {
	flex: 0 0 auto; background: #68ba45; color: #fff !important; border: 0; border-radius: 8px;
	font-size: 15px; font-weight: 700; padding: 14px 24px; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.sq-shop-cta-btn:hover { background: #5aa838; }
@media (max-width: 640px) { .sq-shop-cta { padding: 18px; } .sq-shop-cta-btn { width: 100%; } }
