/**
 * TLB Blinds — "See it in your room" product-page visualizer.
 * Scoped under .tlb-vis* so it can't leak into the Divi/WooCommerce theme.
 */

.tlb-vis-mount { margin: 6px 0; }

/* ---- inline desktop panel ---- */
.tlb-vis-inline { border: 1px solid #e2e6e2; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tlb-vis-head { font-weight: 600; font-size: 15px; padding: 11px 14px; color: #17321f; background: #f2f7f3; border-bottom: 1px solid #e2e6e2; }
.tlb-vis-framewrap { position: relative; width: 100%; background: #eef1ee; }
.tlb-vis-frame { display: block; width: 100%; height: 100%; border: 0; }
.tlb-vis-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6a746c; font-size: 14px; }

/* ---- launch card (mobile, and desktop when the inline panel is off) ---- */
.tlb-vis-btnwrap { text-align: left; }
.tlb-vis-card {
	display: flex; align-items: center; gap: 13px; text-align: left; width: 100%;
	padding: 14px 16px; border: 1px solid #cfe6d6; border-radius: 12px; cursor: pointer;
	background: #f1f9f4; color: #17321f; font-family: inherit;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tlb-vis-card:hover, .tlb-vis-card:focus-visible { background: #e7f4ec; border-color: #0a7d34; box-shadow: 0 3px 10px rgba(10,125,52,.13); }
.tlb-vis-card:focus-visible { outline: 3px solid rgba(10,125,52,.35); outline-offset: 2px; }
.tlb-vis-card-ico { flex: 0 0 auto; color: #0a7d34; }
.tlb-vis-card-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tlb-vis-card-title { font-size: 16px; font-weight: 700; line-height: 1.25; color: #0a7d34; }
.tlb-vis-card-sub { font-size: 13px; font-weight: 400; line-height: 1.4; color: #46524a; }
.tlb-vis-card-arrow { flex: 0 0 auto; margin-left: auto; align-self: center; font-size: 30px; line-height: 1; color: #0a7d34; opacity: .65; }

/* ---- full-screen sheet overlay ---- */
body.tlb-vis-lock { overflow: hidden; }
.tlb-vis-overlay {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(18,24,20,.62);
	display: flex; align-items: center; justify-content: center;
	padding: 0;
	animation: tlb-vis-fade .16s ease both;
}
@keyframes tlb-vis-fade { from { opacity: 0; } to { opacity: 1; } }
.tlb-vis-sheet {
	position: relative; display: flex; flex-direction: column;
	width: 100%; height: 100%; max-width: 1100px; max-height: 100%;
	background: #fff; overflow: hidden;
}
.tlb-vis-sheet-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 12px 10px 16px; border-bottom: 1px solid #e2e6e2; background: #f2f7f3;
}
.tlb-vis-sheet-title { font-weight: 600; font-size: 15px; color: #17321f; }
.tlb-vis-close {
	appearance: none; border: 0; background: transparent; cursor: pointer;
	font-size: 28px; line-height: 1; color: #3a463d; padding: 2px 8px; border-radius: 8px;
}
.tlb-vis-close:hover { background: rgba(0,0,0,.06); }
.tlb-vis-close:focus-visible { outline: 3px solid rgba(10,125,52,.4); outline-offset: 1px; }
.tlb-vis-framewrap-full { flex: 1 1 auto; height: auto; }

/* Desktop: give the sheet rounded corners and breathing room */
@media (min-width: 720px) {
	.tlb-vis-overlay { padding: 24px; }
	.tlb-vis-sheet { height: min(88vh, 900px); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
}

@media (prefers-reduced-motion: reduce) {
	.tlb-vis-overlay { animation: none; }
}
