/* ==========================================================================
   TattooClub — Shop the Look.
   Layout = Elementor containers/widgets on the Shop the Look page. This file:
   the interactive stage (image, hotspots, preview, navigation), the « Ce
   look » sheet, the community grid, and the Quick View « look » variant
   (mobile bottom sheet). Tokens: ink #111111, ivory #F9F5EF, line #E7E2D8,
   muted #68645E, electric green #B7E41C (text-safe green #4F7A00). Space Grotesk.
   ========================================================================== */
body.tc-look-page, .tc-lsheet { --lk-ink: #111111; --lk-ivory: #F9F5EF; --lk-line: #E7E2D8; --lk-muted: #68645E; --lk-green: #B7E41C; --lk-green-d: #4F7A00; --lk-green-tint: #F1F9D6; --lk-red: #C8372D; }
.tc-look-part, .tc-look-sc, .tc-look-sc .elementor-shortcode { width: 100%; }
.tc-look__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

/* Neutralise theme button/list styles inside our components. */
.tc-look button, .tc-lsheet button, .tc-look-grid button {
	font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; min-height: 0; width: auto;
	border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1.2; text-shadow: none; cursor: pointer;
}
.tc-look button:disabled, .tc-lsheet button:disabled { cursor: not-allowed; }
.tc-look :focus, .tc-lsheet :focus { outline: none; }
.tc-look :focus-visible, .tc-lsheet :focus-visible, .tc-look-grid :focus-visible { outline: 2px solid var(--lk-ink); outline-offset: 2px; }
.tc-lsheet ul, .tc-look-grid { list-style: none; margin: 0; padding: 0; }
.tc-lsheet li, .tc-look-grid li { margin: 0; list-style: none; }

/* ------------------------------------------------ editorial (Elementor) */
.tc-look-badge p { display: inline-block; margin: 0; padding: 5px 10px; background: var(--lk-green); color: var(--lk-ink); border-radius: 4px; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.tc-look-hand p { margin: 0; font-family: "Permanent Marker", "Archivo Black", cursive; font-size: 30px; line-height: 1.05; transform: rotate(-8deg); transform-origin: left center; color: var(--lk-ink); }
.tc-look-hand p span { display: inline-block; box-shadow: inset 0 -.28em 0 var(--lk-green); }
.tc-look-crumbs ol { display: flex !important; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--lk-muted); }
.tc-look-crumbs li { margin: 0; list-style: none; }
.tc-look-crumbs li::marker { content: ''; }
.tc-look-crumbs li + li::before { content: "›"; margin-right: 6px; }
.tc-look-crumbs a { color: var(--lk-muted); text-decoration: none; }
.tc-look-crumbs a:hover { color: var(--lk-ink); text-decoration: underline; }
.tc-look-crumbs [aria-current] { color: var(--lk-ink); font-weight: 600; }

/* ------------------------------------------------ stage */
.tc-look { position: relative; font-family: "Space Grotesk", system-ui, sans-serif; color: var(--lk-ink); }
.tc-look__stage { position: relative; }
.tc-look__frame {
	position: relative; overflow: hidden; border-radius: 20px; background: #E9E3D8;
	aspect-ratio: 5 / 4; width: 100%; isolation: isolate; touch-action: pan-y;
}
.tc-look .tc-look__img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%;
	border-radius: 0; transition: opacity .25s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.tc-look__spots, .tc-look__preview { transition: opacity .2s ease; }
.tc-look__frame.is-switching .tc-look__img { opacity: 0; transform: scale(1.015); }
.tc-look__frame.is-switching .tc-look__spots, .tc-look__frame.is-switching .tc-look__preview { opacity: 0; }

/* Hotspot: 44px hit area, 30px visual. Active = Electric Green. */
.tc-look .tc-look__spot {
	position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px;
	display: grid; place-items: center; border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.tc-look .tc-look__spot[hidden] { display: none; }
.tc-look__spot-dot {
	width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(17, 17, 17, .45); color: #fff; border: 2px solid #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(2px);
	transition: transform .2s ease, background-color .2s ease, color .2s ease, width .2s ease, height .2s ease;
}
.tc-look__spot-dot svg { width: 15px; height: 15px; stroke-width: 2.6; }
.tc-look .tc-look__spot:hover .tc-look__spot-dot { transform: scale(1.1); }
.tc-look .tc-look__spot.is-active .tc-look__spot-dot {
	width: 36px; height: 36px; background: var(--lk-green); color: var(--lk-ink); border-color: var(--lk-ink);
	box-shadow: 0 0 0 6px rgba(183, 228, 28, .38), 0 4px 14px rgba(0, 0, 0, .3);
	animation: tc-look-pulse 2.2s ease-out infinite;
}
.tc-look .tc-look__spot.is-oos .tc-look__spot-dot { background: rgba(255, 255, 255, .88); color: var(--lk-ink); border-color: rgba(17, 17, 17, .4); }
.tc-look .tc-look__spot.is-oos.is-active .tc-look__spot-dot { background: var(--lk-green); }
.tc-look .tc-look__spot:focus-visible { outline: none; }
.tc-look .tc-look__spot:focus-visible .tc-look__spot-dot { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes tc-look-pulse {
	0% { box-shadow: 0 0 0 0 rgba(183, 228, 28, .55), 0 4px 14px rgba(0, 0, 0, .3); }
	70% { box-shadow: 0 0 0 12px rgba(183, 228, 28, 0), 0 4px 14px rgba(0, 0, 0, .3); }
	100% { box-shadow: 0 0 0 0 rgba(183, 228, 28, 0), 0 4px 14px rgba(0, 0, 0, .3); }
}

/* Desktop product preview (near the active hotspot). */
.tc-look__preview { position: absolute; z-index: 3; }
.tc-look__preview[hidden] { display: none; }
.tc-look .tc-look__pv {
	display: flex; flex-direction: column; gap: 3px; min-width: 150px; max-width: 240px; text-align: left;
	background: #fff; border-radius: 10px; padding: 10px 14px 11px; box-shadow: 0 10px 30px rgba(17, 17, 17, .22);
}
.tc-look__pv-name { font-size: 15px; font-weight: 700; line-height: 1.2; }
.tc-look__pv-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tc-look__pv-row svg { width: 16px; height: 16px; margin-left: 2px; transition: transform .2s ease; }
.tc-look .tc-look__pv:hover .tc-look__pv-row svg { transform: translateX(3px); }
.tc-look__pv-oos { font-size: 12px; color: var(--lk-red); font-weight: 700; }

/* Attribution (only when real data is configured). */
.tc-look__credit {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 1px;
	padding: 40px 18px 16px; color: #fff; font-size: 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}
.tc-look__credit[hidden] { display: none; }
.tc-look__credit strong { font-size: 13px; }
.tc-look__credit a { color: #fff; text-decoration: none; }

/* Look navigation 01 / 04 */
.tc-look__nav {
	position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 10px;
	padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.tc-look__nav[hidden] { display: none; }
.tc-look .tc-look__navbtn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--lk-ink); border: 1px solid var(--lk-line); transition: background-color .2s ease; }
.tc-look .tc-look__navbtn:hover { background: var(--lk-green); border-color: var(--lk-green); }
.tc-look__navbtn svg { width: 18px; height: 18px; }
.tc-look__count { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }

/* « Ce look (N produits) » */
.tc-look .tc-look__listbtn {
	position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
	min-height: 46px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
	font-size: 14px; font-weight: 700;
}
.tc-look .tc-look__listbtn:hover { background: var(--lk-green); }
.tc-look__listbtn svg { width: 18px; height: 18px; }
.tc-look__listbtn svg:last-child { width: 16px; height: 16px; }
.tc-look__listbtn [data-look-listcount] { font-weight: 500; }
.tc-look__empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--lk-line); border-radius: 20px; color: var(--lk-muted); }

/* ------------------------------------------------ community grid */
.tc-look-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc-look-card.is-extra { display: none; }
.tc-look-grid.is-expanded .tc-look-card.is-extra { display: block; }
.tc-look-card__media { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #E9E3D8; aspect-ratio: 4 / 5; }
.tc-look-card__img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tc-look-card:hover .tc-look-card__img { transform: scale(1.03); }
.tc-look-grid .tc-look-card__shop {
	position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
	border-radius: 999px; background: #fff; color: var(--lk-ink); font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.tc-look-grid .tc-look-card__shop:hover { background: var(--lk-green); }
.tc-look-card__shop svg { width: 16px; height: 16px; }
.tc-look-card__n { font-weight: 500; }
.tc-look-card__meta { display: flex; justify-content: space-between; gap: 8px; margin: 8px 2px 0; font-size: 13px; font-weight: 600; }
.tc-look-card__meta a { color: inherit; text-decoration: none; }
.tc-look-card__meta span { color: var(--lk-muted); font-weight: 500; }
.tc-look-grid__empty { color: var(--lk-muted); }
.tc-look-iglink, .tc-look-cta { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; }
.tc-look-iglink { font-size: 14px; font-weight: 600; color: var(--lk-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }
.tc-look-iglink svg { width: 16px; height: 16px; }
.tc-look-cta { min-height: 50px; padding: 0 22px; background: #fff; color: var(--lk-ink) !important; border-radius: 8px; font-weight: 700; font-size: 15px; transition: background-color .2s ease; }
.tc-look-cta:hover { background: var(--lk-green); }
.tc-look-cta svg { width: 18px; height: 18px; }
.tc-look-cta[hidden] { display: none; }
.tc-look-share { margin: 0; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.4; }
.tc-look-share a { color: #fff; font-weight: 700; text-decoration: none; }
.tc-look-share a:hover { text-decoration: underline; }

/* ------------------------------------------------ « Ce look » sheet */
html.tc-look-open, html.tc-look-open body { overflow: hidden !important; }
.tc-lsheet {
	position: fixed; inset: 0; z-index: 2147481500; /* below Quick View (2147482000) + toasts, above header / cart drawer */
	display: flex; justify-content: flex-end; font-family: "Space Grotesk", system-ui, sans-serif; color: var(--lk-ink);
}
.tc-lsheet[hidden] { display: none !important; }
.tc-lsheet *, .tc-lsheet *::before, .tc-lsheet *::after { box-sizing: border-box; }
.tc-lsheet__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); opacity: 0; transition: opacity .25s ease; }
.tc-lsheet.is-open .tc-lsheet__backdrop { opacity: 1; }
.tc-lsheet__panel {
	position: relative; width: min(440px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column;
	box-shadow: -20px 0 60px rgba(0, 0, 0, .2); transform: translateX(24px); opacity: 0;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}
.tc-lsheet.is-open .tc-lsheet__panel { transform: none; opacity: 1; }
.tc-lsheet__grab { display: none; }
.tc-lsheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--lk-line); }
.tc-lsheet__title { margin: 0; font-family: "Space Grotesk", system-ui, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.2; color: var(--lk-ink); text-transform: none; }
.tc-lsheet__title span { font-weight: 500; }
.tc-lsheet .tc-lsheet__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tc-lsheet .tc-lsheet__close:hover { background: var(--lk-ivory); }
.tc-lsheet__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 12px; }
.tc-lsheet__list { display: flex; flex-direction: column; }
.tc-lsheet__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lk-line); }
.tc-lsheet__item:last-child { border-bottom: 0; }
.tc-lsheet .tc-lsheet__thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--lk-ivory); display: block; }
.tc-lsheet__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-lsheet__item.is-oos .tc-lsheet__thumb img { opacity: .55; }
.tc-lsheet__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tc-lsheet .tc-lsheet__name { font-size: 15px; font-weight: 700; text-align: left; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tc-lsheet button.tc-lsheet__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-lsheet__price { font-size: 14px; font-weight: 600; }
.tc-lsheet__stock.is-out { font-size: 12px; font-weight: 700; color: var(--lk-red); }
.tc-lsheet__opts { font-size: 12px; color: var(--lk-muted); }
.tc-lsheet .tc-lsheet__link { font-size: 12px; font-weight: 700; color: var(--lk-ink); text-decoration: underline; text-underline-offset: 2px; }
.tc-lsheet .tc-lsheet__wish { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--lk-ink); }
.tc-lsheet .tc-lsheet__wish:hover { background: var(--lk-ivory); }
.tc-lsheet .tc-lsheet__wish.is-active { color: var(--lk-ink); }
.tc-lsheet .tc-lsheet__add { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--lk-ink); display: grid; place-items: center; transition: background-color .2s ease; }
.tc-lsheet .tc-lsheet__add:hover { background: var(--lk-green); border-color: var(--lk-green); }
.tc-lsheet .tc-lsheet__notify { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--lk-line); font-size: 12px; font-weight: 700; }
.tc-lsheet__notify svg { width: 15px; height: 15px; }
.tc-lsheet__note { margin: 10px 0 0; font-size: 13px; color: var(--lk-muted); }
.tc-lsheet__msg { margin: 20px 0; color: var(--lk-muted); }
.tc-lsheet__item.is-loading .tc-lsheet__thumb { border-radius: 10px; }
.tc-lsheet__item.is-loading .tc-lsheet__info { gap: 6px; }
.tc-lsheet__skelcta { width: 100%; height: 52px; border-radius: 10px; }
.tc-lsheet__foot { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--lk-line); background: #fff; }
.tc-lsheet__foot:empty { display: none; }
.tc-lsheet .tc-lsheet__all {
	display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 10px;
	background: var(--lk-green); color: var(--lk-ink); font-size: 15px; font-weight: 700; transition: background-color .2s ease;
}
.tc-lsheet .tc-lsheet__all:hover:not(:disabled) { background: #A5D10F; }
.tc-lsheet .tc-lsheet__all:disabled { background: #E7E2D8; color: var(--lk-muted); }
.tc-lsheet .tc-lsheet__more { align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tc-lsheet__more svg { width: 16px; height: 16px; }
.tc-lsheet .tc-lsheet__btn { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.tc-lsheet .tc-lsheet__btn--dark { background: var(--lk-ink); color: #fff; }
.tc-lsheet .tc-lsheet__btn--ghost { border: 1.5px solid var(--lk-ink); }
.tc-lsheet .tc-lsheet__btn--ghost:hover { background: var(--lk-ivory); }
.tc-lsheet__added { text-align: center; padding: 10px 0 0; }
.tc-lsheet__added-icon { width: 64px; height: 64px; margin: 6px auto 12px; border-radius: 50%; background: var(--lk-green-tint); color: var(--lk-green-d); display: grid; place-items: center; }
.tc-lsheet__added-icon svg { width: 30px; height: 30px; stroke-width: 2.6; }
.tc-lsheet__added-title { margin: 0 0 12px; font-family: "Space Grotesk", system-ui, sans-serif; font-size: 22px; font-weight: 800; color: var(--lk-ink); }
.tc-lsheet__added .tc-lsheet__list { text-align: left; }
.tc-lsheet__net { padding: 12px 0; }

/* ------------------------------------------------ Quick View « look » variant:
   the same global Quick View, presented as the mobile bottom sheet of the
   reference, with short description, benefits and « Voir le produit ». */
.tc-qv--look .tc-qv__pickstep { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--qv-green-strong, #4F7A00); }
@media (max-width: 767px) {
	.tc-qv.tc-qv--look { align-items: flex-end; }
	.tc-qv.tc-qv--look .tc-qv__panel { height: auto; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; transform: translateY(60px); }
	.tc-qv.tc-qv--look.is-open .tc-qv__panel { transform: none; }
	.tc-qv.tc-qv--look .tc-qv__content { overflow-y: auto; }
	.tc-qv.tc-qv--look .tc-qv__track { aspect-ratio: 16 / 11; max-height: 34vh; }
	.tc-qv.tc-qv--look .tc-qv .tc-qv__short, .tc-qv.tc-qv--look .tc-qv__short { display: block; }
	.tc-qv.tc-qv--look .tc-qv__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
	.tc-qv.tc-qv--look .tc-qv__facts li { font-size: 12px; }
	.tc-qv.tc-qv--look .tc-qv__pdp { display: block; text-align: center; padding: 4px 0 2px; order: 60; }
	.tc-qv.tc-qv--look .tc-qv__info > .tc-qv__pdp { order: 48; }
}

/* ------------------------------------------------ responsive */
@media (max-width: 1024px) {
	.tc-look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-look-hand p { font-size: 24px; }
}
@media (max-width: 767px) {
	.tc-look__frame { aspect-ratio: 4 / 5; border-radius: 16px; }
	.tc-look__nav { right: 10px; bottom: 10px; gap: 4px; }
	.tc-look .tc-look__navbtn { width: 34px; height: 34px; }
	.tc-look__count { min-width: 46px; font-size: 12px; }
	.tc-look .tc-look__listbtn {
		position: static; width: 100%; justify-content: space-between; margin-top: 10px; min-height: 52px; padding: 0 16px;
		border-radius: 12px; border: 1px solid var(--lk-line); box-shadow: none;
	}
	.tc-look__listbtn > span { flex: 1 1 auto; text-align: left; }
	.tc-look__credit { padding: 36px 90px 12px 12px; }
	.tc-look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tc-look-grid .tc-look-card__shop { left: 6px; bottom: 6px; min-height: 36px; padding: 0 10px; font-size: 12px; }
	.tc-look-card__n { display: none; }
	.tc-look-cta { width: 100%; justify-content: center; }

	/* Bottom sheet */
	.tc-lsheet { align-items: flex-end; justify-content: stretch; }
	.tc-lsheet__panel { width: 100%; height: auto; max-height: 88vh; max-height: 88dvh; border-radius: 20px 20px 0 0; transform: translateY(40px); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
	.tc-lsheet__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--lk-line); margin: 8px auto 0; }
	.tc-lsheet__head { padding: 10px 16px 12px; }
	.tc-lsheet__body { padding: 4px 16px 10px; }
	.tc-lsheet__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
	.tc-lsheet .tc-lsheet__thumb { flex-basis: 56px; width: 56px; height: 56px; }
}
@media (max-width: 359px) {
	.tc-look-hand p { font-size: 20px; }
	.tc-lsheet .tc-lsheet__wish { flex-basis: 34px; width: 34px; }
	.tc-lsheet__item { gap: 8px; }
	.tc-look .tc-look__listbtn { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-look .tc-look__spot.is-active .tc-look__spot-dot { animation: none; }
	.tc-look .tc-look__img, .tc-lsheet__panel, .tc-look-card__img { transition: none; }
}
