/* Telesheds marketing: quote button + form, checkout opt-out, basket upsells. */

/* ── Email me this quote ── */
.tsc-quote-btn {
	display: block; width: 100%; margin-top: 10px; padding: 13px 16px; box-sizing: border-box;
	background: #fff; color: #1E7A74; border: 2px solid #24918A; border-radius: 8px;
	font: inherit; font-size: 15px; font-weight: 500; text-transform: none; cursor: pointer;
}
.tsc-quote-btn:hover, .tsc-quote-btn:focus-visible { background: #F2F8F7; }
.tsc-quote-note { margin: 8px 0 0; font-size: 14px; color: #9a3412; }

html.tsc-quote-open { overflow: hidden; }
.tsc-quote {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(38, 28, 1, .45); box-sizing: border-box;
}
.tsc-quote[hidden] { display: none; }
.tsc-quote__panel {
	position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box;
	background: #fff; border-radius: 14px; padding: 24px; color: #261C01; font-family: Poppins, sans-serif;
	box-shadow: 0 20px 50px rgba(38, 28, 1, .25);
}
.tsc-quote__panel h2 { margin: 0 32px 6px 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.tsc-quote__muted { margin: 0 0 16px; font-size: 14px; color: #5E5848; }
.tsc-quote__x {
	position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 999px;
	background: #F0F2E9; color: #261C01; font-size: 24px; line-height: 1; cursor: pointer;
}
.tsc-quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tsc-quote__grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.tsc-quote__grid input {
	height: 46px; padding: 0 12px; border: 1px solid #C9CBC2; border-radius: 8px; box-sizing: border-box;
	font: inherit; font-weight: 400; font-size: 16px; color: #261C01; background: #fff; width: 100%;
}
.tsc-quote__grid input:focus { outline: none; border: 2px solid #24918A; }
.tsc-quote__notes { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.tsc-quote__notes textarea { min-height: 80px; padding: 10px 12px; border: 1px solid #C9CBC2; border-radius: 8px; box-sizing: border-box; font: inherit; font-weight: 400; font-size: 16px; color: #261C01; background: #fff; width: 100%; resize: vertical; }
.tsc-quote__notes textarea:focus { outline: none; border: 2px solid #24918A; }
.tsc-quote__check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 13px; line-height: 1.45; color: #5E5848; cursor: pointer; }
.tsc-quote__check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #24918A; }
.tsc-quote__check a { color: inherit; text-decoration: underline; }
.tsc-quote__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tsc-quote__msg { margin: 14px 0 0; font-size: 14px; min-height: 1em; }
.tsc-quote__msg:empty { margin: 0; }
.tsc-quote__msg.is-error { color: #9a3412; }
.tsc-quote__msg.is-ok { color: #1E7A74; font-weight: 500; }
.tsc-quote__send {
	margin-top: 16px; width: 100%; height: 50px; border: 0; border-radius: 8px; background: #24918A; color: #fff;
	font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.tsc-quote__send:disabled { opacity: .7; cursor: default; }
@media (max-width: 560px) {
	.tsc-quote { align-items: flex-end; padding: 8px; }
	.tsc-quote__panel { padding: 20px 16px; border-radius: 14px 14px 10px 10px; }
	.tsc-quote__grid { grid-template-columns: 1fr; }
}

/* ── Checkout opt-out ── */
.tsc-optout-row label.checkbox, .tsc-optout-row label { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 400; }
.tsc-optout-row input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0 !important; flex: 0 0 auto; accent-color: #24918A; }
#billing_email_field .description { display: block; margin-top: 6px; font-size: 13px; color: #5E5848; }
#billing_email_field .description a { color: inherit; text-decoration: underline; }

/* ── Basket upsells ── */
.tsc-ups { margin: 24px 0; font-family: Poppins, sans-serif; color: #261C01; }
.tsc-ups__title { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.tsc-ups__intro { margin: 0 0 12px; font-size: 14px; color: #5E5848; }
.tsc-ups__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.tsc-ups__card { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid #E6E8DE; border-radius: 12px; box-sizing: border-box; }
.tsc-ups__img { flex: 0 0 64px; }
.tsc-ups__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.tsc-ups__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.tsc-ups__body h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tsc-ups__body p { margin: 0; font-size: 13px; line-height: 1.45; color: #5E5848; }
.tsc-ups__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.tsc-ups__price { font-weight: 600; font-size: 15px; }
.tsc-ups__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 8px;
	background: #24918A; color: #fff !important; text-decoration: none !important; font-size: 14px; font-weight: 500;
}
.tsc-ups__btn:hover { background: #1E7A74; }
.tsc-ups__btn--ghost { background: #fff; color: #1E7A74 !important; border: 2px solid #24918A; }
.tsc-ups__btn--ghost:hover { background: #F2F8F7; }
.tsc-ups__card--install { background: #F2F8F7; border-color: #CFE6E3; }
@media (max-width: 480px) { .tsc-ups__grid { grid-template-columns: 1fr; } }
