/* ==========================================================================
   TattooClub — Global Quick View / Quick Add (styles)
   Tokens = existing TattooClub design system: ink #111111, ivory #F9F5EF,
   line #E7E2D8, muted #68645E, electric green #B7E41C. Space Grotesk.
   Desktop/tablet = centered modal · Mobile = full-screen product sheet.
   ========================================================================== */

html.tc-qv-open, html.tc-qv-open body { overflow: hidden !important; }
html.tc-qv-open body { padding-right: var(--tc-qv-sbw, 0px); }

.tc-qv {
	--qv-ink: #111111;
	--qv-ivory: #F9F5EF;
	--qv-card: #FFFFFF;
	--qv-line: #E7E2D8;
	--qv-muted: #68645E;
	--qv-green: #B7E41C;
	--qv-green-strong: #A5D10F;
	--qv-green-tint: #F1F9D6;
	--qv-red: #C8372D;
	--qv-amber: #9A5500;
	position: fixed;
	inset: 0;
	/* Above header, promo popup (9990), search overlay (999999) and cart drawer
	   (99999 — the drawer only opens after Quick View closes); below toasts. */
	z-index: 2147482000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--qv-ink);
	-webkit-font-smoothing: antialiased;
}
.tc-qv[hidden] { display: none !important; }
.tc-qv *, .tc-qv *::before, .tc-qv *::after { box-sizing: border-box; }

/* Neutralise theme element styles inside the dialog (components restyle below). */
.tc-qv button, .tc-qv input, .tc-qv summary {
	font: inherit; color: inherit; letter-spacing: normal; text-transform: none;
	margin: 0; box-shadow: none; min-height: 0; line-height: 1.2; text-shadow: none;
}
.tc-qv button { background: none; border: 0; padding: 0; border-radius: 0; cursor: pointer; width: auto; }
.tc-qv button:disabled { cursor: not-allowed; }
.tc-qv img { max-width: 100%; height: auto; border: 0; box-shadow: none; }
.tc-qv a { color: inherit; text-decoration: none; box-shadow: none; }
.tc-qv :focus { outline: none; }
.tc-qv :focus-visible { outline: 2px solid var(--qv-ink); outline-offset: 2px; }
.tc-qv .tc-qv__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

/* ------------------------------------------------------------ Frame */
.tc-qv__backdrop {
	position: absolute; inset: 0;
	background: rgba(17, 17, 17, .55);
	opacity: 0;
	transition: opacity .25s ease;
}
.tc-qv.is-open .tc-qv__backdrop { opacity: 1; }

.tc-qv .tc-qv__panel {
	position: relative;
	width: min(1000px, 100%);
	max-height: min(760px, calc(100vh - 64px));
	max-height: min(760px, calc(100dvh - 64px));
	background: var(--qv-card);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(17, 17, 17, .35);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(12px) scale(.985);
	transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.tc-qv.is-open .tc-qv__panel { opacity: 1; transform: none; }
.tc-qv__panel:focus { outline: none; }

.tc-qv .tc-qv__close {
	position: absolute; top: 14px; right: 14px; z-index: 5;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--qv-ink);
}
.tc-qv .tc-qv__close:hover { background: var(--qv-ivory); }
.tc-qv__content { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }

/* ------------------------------------------------------------ Layout */
.tc-qv__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: 32px;
	padding: 28px;
}
.tc-qv__media { display: flex; gap: 14px; min-width: 0; align-self: start; position: sticky; top: 0; }
.tc-qv__thumbs { display: flex; flex-direction: column; gap: 10px; flex: 0 0 76px; max-height: 520px; overflow-y: auto; }
.tc-qv .tc-qv__thumb {
	width: 76px; height: 76px; flex: 0 0 auto;
	border-radius: 10px; overflow: hidden;
	border: 2px solid transparent;
	background: var(--qv-ivory);
}
.tc-qv .tc-qv__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-qv .tc-qv__thumb.is-active { border-color: var(--qv-ink); }

.tc-qv__stage { position: relative; flex: 1 1 auto; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--qv-ivory); }
.tc-qv__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	aspect-ratio: 1 / 1.08;
	-webkit-overflow-scrolling: touch;
}
.tc-qv__track::-webkit-scrollbar { display: none; }
.tc-qv__slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.tc-qv .tc-qv__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tc-qv .tc-qv__nav, .tc-qv .tc-qv__zoom-btn {
	position: absolute;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--qv-ink);
	box-shadow: 0 4px 14px rgba(17, 17, 17, .12);
}
.tc-qv .tc-qv__nav { top: 50%; transform: translateY(-50%); }
.tc-qv .tc-qv__nav--prev { left: 12px; }
.tc-qv .tc-qv__nav--next { right: 12px; }
.tc-qv .tc-qv__zoom-btn { right: 12px; bottom: 12px; }
.tc-qv .tc-qv__zoom-btn svg { width: 18px; height: 18px; }
.tc-qv__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: none; justify-content: center; gap: 6px; }
.tc-qv__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(17, 17, 17, .12); }
.tc-qv__dots span.is-active { background: #fff; width: 16px; border-radius: 3px; }

/* ------------------------------------------------------------ Info */
.tc-qv__info { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-right: 20px; }
.tc-qv__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tc-qv__badge { display: inline-block; padding: 4px 8px; border-radius: 4px; background: var(--qv-green); color: var(--qv-ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.tc-qv .tc-qv__title { margin: 0; font-family: inherit; font-size: 28px; line-height: 1.15; font-weight: 700; color: var(--qv-ink); letter-spacing: -.01em; text-transform: none; }
.tc-qv .tc-qv__price { margin: -4px 0 0; font-size: 22px; font-weight: 700; color: var(--qv-ink); }
.tc-qv .tc-qv__price del { color: var(--qv-muted); font-weight: 500; font-size: 16px; margin-right: 6px; }
.tc-qv .tc-qv__price ins { text-decoration: none; }
.tc-qv .tc-qv__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--qv-ink); margin: 0; }
.tc-qv .tc-qv__rating span { color: var(--qv-muted); }
.tc-qv a.tc-qv__rating:hover strong { text-decoration: underline; }
.tc-qv .tc-qv__rating--none { color: var(--qv-muted); font-size: 13px; }
.tc-qv__stars { display: inline-flex; gap: 1px; line-height: 0; }
.tc-qv__stars svg { width: 16px; height: 16px; display: block; }
.tc-qv .tc-qv__short { color: var(--qv-muted); font-size: 14px; line-height: 1.55; }
.tc-qv .tc-qv__short p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--qv-muted); }
.tc-qv .tc-qv__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.tc-qv .tc-qv__facts li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--qv-ink); margin: 0; }
.tc-qv .tc-qv__facts i { width: 18px; text-align: center; color: var(--qv-ink); font-size: 15px; }

.tc-qv .tc-qv__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--qv-ink); }
.tc-qv .tc-qv__label-val { font-weight: 500; color: var(--qv-muted); }
.tc-qv__options { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-qv .tc-qv__opt {
	position: relative;
	min-width: 84px; min-height: 58px;
	padding: 8px 14px;
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	border: 1.5px solid var(--qv-line);
	border-radius: 10px;
	background: #fff;
	color: var(--qv-ink);
	transition: border-color .15s ease, background .15s ease;
}
.tc-qv .tc-qv__opt strong { font-size: 15px; font-weight: 700; }
.tc-qv .tc-qv__opt small { font-size: 11.5px; color: var(--qv-muted); }
.tc-qv .tc-qv__opt:hover:not(:disabled) { border-color: var(--qv-ink); }
.tc-qv .tc-qv__opt.is-selected { border-color: var(--qv-green-strong); background: var(--qv-green-tint); box-shadow: inset 0 0 0 1px var(--qv-green-strong); }
.tc-qv .tc-qv__opt-flag { display: none; position: absolute; top: -8px; right: -6px; padding: 1px 6px; border-radius: 999px; background: var(--qv-ink); color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; letter-spacing: .03em; }
.tc-qv .tc-qv__opt.is-oos { background: #F6F4EF; }
.tc-qv .tc-qv__opt.is-oos strong, .tc-qv .tc-qv__opt.is-oos small { text-decoration: line-through; color: #9A958D; }
.tc-qv .tc-qv__opt.is-oos .tc-qv__opt-flag { display: block; }
.tc-qv .tc-qv__opt:disabled { opacity: .35; }

.tc-qv .tc-qv__stock { margin: -4px 0 0; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tc-qv .tc-qv__stock:empty { display: none; }
.tc-qv .tc-qv__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tc-qv .tc-qv__stock.is-in { color: #3E6B06; }
.tc-qv .tc-qv__stock.is-low { color: var(--qv-amber); }
.tc-qv .tc-qv__stock.is-out { color: var(--qv-red); }

.tc-qv__qty { display: inline-flex; align-items: center; border: 1.5px solid var(--qv-line); border-radius: 10px; overflow: hidden; }
.tc-qv .tc-qv__qty button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--qv-ink); }
.tc-qv .tc-qv__qty button:disabled { opacity: .3; }
.tc-qv .tc-qv__qty svg { width: 18px; height: 18px; }
.tc-qv .tc-qv__qty input {
	width: 48px; height: 44px; padding: 0; border: 0; border-radius: 0;
	text-align: center; font-size: 16px; font-weight: 600; background: transparent; color: var(--qv-ink);
	-moz-appearance: textfield; appearance: textfield;
}
.tc-qv .tc-qv__qty input::-webkit-outer-spin-button, .tc-qv .tc-qv__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-qv [hidden] { display: none !important; }

.tc-qv__actions { display: flex; gap: 12px; align-items: stretch; }
.tc-qv .tc-qv__add {
	flex: 1 1 auto;
	height: 56px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border-radius: 10px;
	background: var(--qv-green);
	color: var(--qv-ink);
	font-size: 16px; font-weight: 700;
	transition: background .15s ease, transform .1s ease;
}
.tc-qv .tc-qv__add:hover:not(:disabled) { background: var(--qv-green-strong); }
.tc-qv .tc-qv__add:active:not(:disabled) { transform: scale(.99); }
.tc-qv .tc-qv__add:disabled { background: #E9E6DF; color: #8C877F; }
.tc-qv .tc-qv__add.tc-btn-loading { color: transparent; position: relative; }
.tc-qv .tc-qv__add[aria-busy="true"]::after {
	content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid rgba(17, 17, 17, .25); border-top-color: var(--qv-ink);
	animation: tc-qv-spin .7s linear infinite;
}
.tc-qv .tc-qv__add { position: relative; }
@keyframes tc-qv-spin { to { transform: rotate(360deg); } }

.tc-qv .tc-qv__wish.tc-wl-product-btn {
	flex: 0 0 56px; width: 56px; height: 56px; margin: 0; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--qv-line); border-radius: 10px;
	background: #fff; color: var(--qv-ink); font-size: 20px;
}
.tc-qv .tc-qv__wish.tc-wl-product-btn:hover { border-color: var(--qv-ink); }
.tc-qv .tc-qv__wish.tc-wl-product-btn.is-active { color: #E0303F; border-color: #F2C9CC; background: #FFF6F6; }
.tc-qv .tc-qv__wish.tc-wl-product-btn span { display: none; }

.tc-qv__notify { border: 1.5px dashed var(--qv-line); border-radius: 12px; padding: 14px; }
.tc-qv .tc-qv__notify-title { margin: 0 0 10px; font-size: 13.5px; color: var(--qv-ink); font-weight: 600; }
.tc-qv__notify-row { display: flex; gap: 8px; }
.tc-qv .tc-qv__notify input {
	flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px;
	border: 1.5px solid var(--qv-line); border-radius: 10px; background: #fff; font-size: 15px;
}
.tc-qv .tc-qv__notify input[aria-invalid="true"] { border-color: var(--qv-red); }
.tc-qv .tc-qv__notify-msg { margin: 8px 0 0; font-size: 13px; }
.tc-qv .tc-qv__notify-msg:empty { display: none; }
.tc-qv .tc-qv__notify-msg.is-error { color: var(--qv-red); }
.tc-qv .tc-qv__notify-msg.is-success { color: #3E6B06; }

.tc-qv .tc-qv__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 18px; border-radius: 10px;
	font-size: 14px; font-weight: 700; white-space: nowrap;
}
.tc-qv .tc-qv__btn--dark { background: var(--qv-ink); color: #fff; }
.tc-qv .tc-qv__btn--dark:hover { background: #2a2a2a; }
.tc-qv .tc-qv__btn--ghost { background: #fff; color: var(--qv-ink); border: 1.5px solid var(--qv-line); }
.tc-qv .tc-qv__btn--ghost:hover { border-color: var(--qv-ink); }

.tc-qv .tc-qv__ship {
	display: flex; align-items: center; gap: 10px;
	padding: 14px 0 0; border-top: 1px solid var(--qv-line);
	font-size: 13.5px; color: var(--qv-ink);
}
.tc-qv .tc-qv__ship span { flex: 1 1 auto; }
.tc-qv .tc-qv__ship svg:last-child { width: 16px; height: 16px; color: var(--qv-muted); }
.tc-qv .tc-qv__pdp { font-size: 13px; font-weight: 700; color: var(--qv-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Accordions — mobile only (desktop shows short description + facts). */
.tc-qv__acc { display: none; }
.tc-qv .tc-qv__acc details { border-bottom: 1px solid var(--qv-line); }
.tc-qv .tc-qv__acc summary {
	list-style: none; display: flex; align-items: center; justify-content: space-between;
	padding: 15px 2px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tc-qv .tc-qv__acc summary::-webkit-details-marker { display: none; }
.tc-qv .tc-qv__acc summary svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s ease; }
.tc-qv .tc-qv__acc details[open] summary svg { transform: rotate(-90deg); }
.tc-qv .tc-qv__acc-body { padding: 0 2px 16px; font-size: 13.5px; line-height: 1.55; color: var(--qv-muted); }
.tc-qv .tc-qv__acc-body p, .tc-qv .tc-qv__acc-body li { font-size: 13.5px; line-height: 1.55; color: var(--qv-muted); margin: 0 0 6px; }
.tc-qv .tc-qv__acc-body ul { margin: 0; padding-left: 18px; }
.tc-qv .tc-qv__link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--qv-ink); text-decoration: underline; }

/* Zoom / fullscreen image */
.tc-qv__zoom { position: absolute; inset: 0; z-index: 6; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tc-qv .tc-qv__zoom img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; }

/* Skeleton / error */
.tc-qv__layout.is-loading .tc-qv__info { gap: 16px; padding-top: 12px; }
.tc-qv .tc-qv__skel-img { width: 100%; aspect-ratio: 1 / 1.08; height: auto; border-radius: 14px; }
.tc-qv .tc-qv__skel-l { height: 28px; }
.tc-qv .tc-qv__skel-m { height: 22px; }
.tc-qv__skel-row { display: flex; gap: 10px; }
.tc-qv__skel-row .tc-skel { width: 84px; height: 58px; border-radius: 10px; }
.tc-qv .tc-qv__skel-cta { height: 56px; border-radius: 10px; width: 100%; }
.tc-qv__error { padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tc-qv .tc-qv__text { margin: 0; color: var(--qv-muted); font-size: 15px; }
.tc-qv__error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Added-to-cart confirmation (mobile) */
.tc-qv__added { padding: 64px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.tc-qv__added-icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--qv-green); color: var(--qv-ink); display: flex; align-items: center; justify-content: center; }
.tc-qv__added-icon svg { width: 28px; height: 28px; stroke-width: 2.4; }
.tc-qv .tc-qv__added-title { text-align: center; font-size: 20px; }
.tc-qv__added-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--qv-line); border-bottom: 1px solid var(--qv-line); }
.tc-qv .tc-qv__added-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--qv-ivory); }
.tc-qv__added-meta { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--qv-muted); min-width: 0; }
.tc-qv__added-meta strong { color: var(--qv-ink); font-size: 14.5px; }
.tc-qv__added-price { font-size: 14.5px; white-space: nowrap; }
.tc-qv__added-actions { display: flex; flex-direction: column; gap: 10px; }
.tc-qv__added-actions .tc-qv__btn { width: 100%; height: 50px; }
.tc-qv .tc-qv__related h3 { margin: 6px 0 12px; font-size: 15px; font-weight: 700; color: var(--qv-ink); }
.tc-qv__related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-qv__related-grid .tc-skel { aspect-ratio: 1; height: auto; border-radius: 10px; }
.tc-qv__rel { display: flex; flex-direction: column; gap: 2px; font-size: 12px; min-width: 0; }
.tc-qv__rel strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-qv__rel span { color: var(--qv-muted); }
.tc-qv__rel-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--qv-ivory); margin-bottom: 4px; }
.tc-qv .tc-qv__rel-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-qv .tc-qv__rel-add { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--qv-ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.tc-qv .tc-qv__rel-add svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
	.tc-qv { padding: 24px; }
	.tc-qv__layout { gap: 22px; padding: 22px; }
	.tc-qv__thumbs { display: none; }
	.tc-qv__dots { display: flex; }
	.tc-qv .tc-qv__title { font-size: 24px; }
	.tc-qv .tc-qv__facts { grid-template-columns: 1fr; }
	.tc-qv__info { padding-right: 12px; }
}

/* ------------------------------------------------------------ Mobile */
@media (max-width: 767px) {
	.tc-qv { padding: 0; align-items: stretch; }
	.tc-qv .tc-qv__panel {
		width: 100%; max-width: none;
		height: 100%; max-height: none;
		border-radius: 0;
		transform: translateY(40px);
	}
	.tc-qv .tc-qv__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
	.tc-qv__layout { display: block; padding: 0; }
	.tc-qv__media { position: static; display: flex; flex-direction: column-reverse; gap: 10px; }
	.tc-qv__stage { border-radius: 0; }
	.tc-qv__track { aspect-ratio: 1 / 1; max-height: 58vh; }
	.tc-qv .tc-qv__nav { display: none; }
	.tc-qv__dots { display: flex; }
	.tc-qv__thumbs { flex-direction: row; flex: none; max-height: none; overflow-x: auto; padding: 0 16px; }
	.tc-qv .tc-qv__thumb { width: 52px; height: 52px; border-radius: 8px; }
	.tc-qv .tc-qv__zoom-btn { bottom: 12px; right: 12px; width: 36px; height: 36px; }

	.tc-qv__info { padding: 16px 16px 0; gap: 12px; }
	.tc-qv .tc-qv__title { font-size: 22px; }
	.tc-qv .tc-qv__price { font-size: 19px; }
	.tc-qv .tc-qv__short, .tc-qv .tc-qv__facts, .tc-qv .tc-qv__ship, .tc-qv .tc-qv__pdp { display: none; }
	.tc-qv__acc { display: block; margin: 4px 0 8px; }
	.tc-qv__options { gap: 8px; flex-wrap: nowrap; }
	.tc-qv .tc-qv__opt { flex: 1 1 0; min-width: 0; min-height: 54px; padding: 6px 4px; }

	/* Add to Cart always within reach. */
	.tc-qv__actions {
		position: sticky; bottom: 0; z-index: 3;
		margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--qv-line);
		order: 50;
	}
	.tc-qv .tc-qv__add { height: 52px; font-size: 15px; }
	.tc-qv .tc-qv__wish.tc-wl-product-btn { flex-basis: 52px; width: 52px; height: 52px; }
	.tc-qv__info > .tc-qv__acc { order: 40; }
	.tc-qv__info > .tc-qv__notify { order: 45; }

	.tc-qv__error { padding: 80px 20px 32px; }
	.tc-qv__skel-img { border-radius: 0; }
	.tc-qv__layout.is-loading .tc-qv__info { padding: 16px; }
}
@media (max-width: 359px) {
	.tc-qv .tc-qv__opt small { font-size: 10.5px; }
	.tc-qv .tc-qv__title { font-size: 20px; }
}
@media (max-width: 767px) and (orientation: landscape) {
	.tc-qv__track { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
	.tc-qv__backdrop, .tc-qv .tc-qv__panel { transition: none; }
	.tc-qv .tc-qv__panel { transform: none; }
	.tc-qv__track { scroll-behavior: auto; }
}

/* ======================================================================
   Card triggers ("Aperçu rapide") injected into existing product cards.
   ====================================================================== */
button.tc-qv-trigger.tc-qv-trigger {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-weight: 700; letter-spacing: normal; text-transform: none; line-height: 1;
	cursor: pointer; box-shadow: none; margin: 0; min-height: 0;
	transition: background .15s ease, color .15s ease, opacity .15s ease;
}
button.tc-qv-trigger.tc-qv-trigger svg { width: 18px; height: 18px; flex: 0 0 auto; }
button.tc-qv-trigger.tc-qv-trigger:focus-visible { outline: 2px solid #111111; outline-offset: 2px; }

/* Full-width black bar (Boutique, Search, Wishlist, Woo loops) */
button.tc-qv-trigger--bar.tc-qv-trigger {
	width: 100%; height: 42px; margin-top: 8px; padding: 0 14px;
	border: 0; border-radius: 8px;
	background: #111111; color: #FFFFFF; font-size: 13.5px;
}
button.tc-qv-trigger--bar.tc-qv-trigger:hover { background: #B7E41C; color: #111111; }
li.product > button.tc-qv-trigger--bar.tc-qv-trigger { margin-top: 10px; }
.elementor-element[data-tc-wl-clone] button.tc-qv-trigger--bar { margin-top: 4px; }

/* Image overlay pill (cart recommendations, PDP related, quiz) */
button.tc-qv-trigger--overlay.tc-qv-trigger {
	position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3;
	height: 34px; padding: 0 12px; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .95); color: #111111; font-size: 12.5px;
	box-shadow: 0 4px 14px rgba(17, 17, 17, .15);
	white-space: nowrap;
}
button.tc-qv-trigger--overlay.tc-qv-trigger:hover { background: #B7E41C; }
button.tc-qv-trigger--overlay.tc-qv-trigger svg { width: 16px; height: 16px; }
.tc-pdp-related-card__img, .qz-pcard-media { position: relative; }
@media (hover: hover) and (pointer: fine) {
	button.tc-qv-trigger--overlay.tc-qv-trigger { opacity: 0; }
	*:hover > button.tc-qv-trigger--overlay.tc-qv-trigger,
	.tc-pdp-related-card:hover button.tc-qv-trigger--overlay.tc-qv-trigger,
	.qz-pcard:hover button.tc-qv-trigger--overlay.tc-qv-trigger,
	[data-tc-clone-of="tc-rec-template"]:hover button.tc-qv-trigger--overlay.tc-qv-trigger,
	button.tc-qv-trigger--overlay.tc-qv-trigger:focus-visible { opacity: 1; }
}

/* Search suggestions: compact "Aperçu" pill next to each product */
.srch-sugg-item { display: flex; align-items: center; gap: 10px; }
.srch-sugg-item > .srch-sugg-product { flex: 1 1 auto; min-width: 0; }
button.tc-qv-trigger--pill.tc-qv-trigger {
	flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 8px;
	font-size: 13px; background: transparent; color: #111111; border: 1.5px solid #DAD4C8;
}
button.tc-qv-trigger--pill.tc-qv-trigger:hover { border-color: #111111; }
#srch-overlay button.tc-qv-trigger--pill.tc-qv-trigger { color: #F9F5EF; border-color: rgba(249, 245, 239, .3); }
#srch-overlay button.tc-qv-trigger--pill.tc-qv-trigger:hover { border-color: #B7E41C; color: #B7E41C; }
