/* ==========================================================================
   GRIND — maquette Drop 001
   DA : nuit toulousaine, rouge du titre du clip, serif très condensé.
   ========================================================================== */

:root {
	--bg: #0b0a0a;
	--bg-2: #141212;
	--bg-3: #1d1a1a;
	--ink: #efebe6;
	--muted: #8f8883;
	--line: rgba(239, 235, 230, .12);
	--red: #c0141c;
	--red-hot: #e01a23;
	--display: "Noto Serif Display", "Didot", "Bodoni MT", serif;
	--ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 56px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-hot); }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--red); color: #fff; padding: 8px 14px; }
.muted { color: var(--muted); }

/* ---------- Typo ---------- */
.eyebrow, .label, .footer-title {
	font-family: var(--ui);
	font-stretch: 75%;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 14px;
}
.display {
	font-family: var(--display);
	font-stretch: 62.5%;
	font-weight: 500;
	line-height: .92;
	letter-spacing: -.01em;
	margin: 0;
	text-transform: uppercase;
}
.display--lg { font-size: clamp(44px, 6vw, 92px); }
.display--md { font-size: clamp(38px, 5vw, 72px); }

/* ---------- Boutons ---------- */
.btn, .button, button.button, a.button, input[type="submit"],
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--ui);
	font-stretch: 75%;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--red, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .single_add_to_cart_button,
.woocommerce a.checkout-button {
	background: var(--red); border-color: var(--red); color: #fff;
}
.btn--red:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover, .woocommerce a.checkout-button:hover {
	background: var(--red-hot); border-color: var(--red-hot); color: #fff;
}
.btn--ghost { border-color: rgba(239, 235, 230, .5); backdrop-filter: blur(6px); }
.btn--block { width: 100%; }

/* ---------- Bandeau d'annonce & tickers ---------- */
.announce {
	background: var(--ink); color: var(--bg);
	overflow: hidden; white-space: nowrap;
	font-stretch: 75%; font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
	height: 32px; display: flex; align-items: center;
}
.announce__track, .ticker__track { display: inline-flex; gap: 28px; padding-right: 28px; animation: marquee 38s linear infinite; }
.ticker { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 18px 0; }
.ticker--red { background: var(--red); color: #fff; border: 0; }
.ticker__track { animation-duration: 28s; gap: 36px; padding-right: 36px; }
.ticker span { font-family: var(--display); font-stretch: 62.5%; font-weight: 600; font-size: clamp(28px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.ticker i { font-style: normal; align-self: center; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	background: rgba(11, 10, 10, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header--overlay { position: fixed; top: 32px; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header--overlay.is-scrolled { top: 0; background: rgba(11, 10, 10, .92); border-color: var(--line); backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header--overlay { top: 64px; }
.admin-bar .site-header--overlay.is-scrolled { top: 32px; }

.site-header__inner {
	height: 100%;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: 0 var(--gutter);
}
.nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-list a, .tool {
	font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
}
.logo {
	font-family: var(--display);
	font-stretch: 62.5%;
	font-weight: 500;
	font-size: 44px;
	line-height: 1;
	color: var(--red);
	letter-spacing: .02em;
	transform: scaleY(1.15);
}
.logo:hover { color: var(--red-hot); }
.site-tools { display: flex; justify-content: flex-end; gap: 24px; }
.cart-count {
	display: inline-grid; place-items: center;
	min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px;
	background: var(--red); color: #fff; font-size: 11px; letter-spacing: 0; border-radius: 10px;
}
.cart-count[data-count="0"] { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 100svh; min-height: 620px; max-height: 1000px;
	overflow: hidden;
	display: grid; place-items: center;
	isolation: isolate;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: saturate(.85) contrast(1.05); }
.hero__shade {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(ellipse at center, rgba(11,10,10,.15) 0%, rgba(11,10,10,.65) 75%),
		linear-gradient(to bottom, rgba(11,10,10,.55) 0%, rgba(11,10,10,0) 30%, rgba(11,10,10,0) 60%, var(--bg) 100%);
}
.grain {
	position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .09;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1s steps(6) infinite;
}
@keyframes grain {
	0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
.hero__content { text-align: center; padding: 0 var(--gutter); }
.hero__title {
	font-family: var(--display);
	font-stretch: 62.5%;
	font-weight: 500;
	font-size: clamp(120px, 24vw, 360px);
	line-height: .8;
	color: var(--red);
	margin: 8px 0 34px;
	transform: scaleY(1.35);
	transform-origin: center;
	text-shadow: 0 10px 60px rgba(0, 0, 0, .45);
	animation: titleIn 1.4s var(--ease) both .2s;
	pointer-events: none; /* le titre étiré déborde sur le bouton en dessous */
}
@keyframes titleIn { from { opacity: 0; filter: blur(12px); transform: scaleY(1.35) translateY(24px); } to { opacity: 1; filter: blur(0); transform: scaleY(1.35); } }
.hero .eyebrow { color: var(--ink); }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 70px; }
.hero__corner {
	position: absolute; bottom: 28px;
	font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(239,235,230,.75);
	display: flex; align-items: center; gap: 8px;
}
.hero__corner--l { left: var(--gutter); }
.hero__corner--r { right: var(--gutter); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Fiche du drop (fin de la séquence 3D) ---------- */
.drop__price { font-stretch: 80%; font-size: 22px; font-weight: 600; margin: 18px 0 8px; }
.drop__price del { color: var(--muted); font-weight: 400; margin-right: 8px; }
.drop__price ins { text-decoration: none; }
.drop__desc { color: #cfc9c3; max-width: 46ch; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.size-chip, .size-btn {
	min-width: 56px; height: 48px; padding: 0 14px;
	display: inline-grid; place-items: center;
	border: 1px solid var(--line); background: transparent; color: var(--ink);
	font-family: var(--ui); font-stretch: 75%; font-weight: 700; font-size: 13px; letter-spacing: .12em;
	cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.size-chip:hover, .size-btn:hover { border-color: var(--ink); color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size-btn:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; border-top: 1px solid var(--line); }
.specs div { padding: 16px 0; }
.specs dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-stretch: 75%; }
.specs dd { margin: 4px 0 0; font-weight: 600; }

/* ---------- Manifeste ---------- */
.manifesto { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-2); padding-block: clamp(80px, 12vw, 180px); border-block: 1px solid var(--line); text-align: center; }
/* Paroles : les mots tombent un à un, au rythme du flow (délais posés en JS). */
.lyrics { display: grid; align-items: center; justify-items: center; text-align: center; font-family: var(--display); font-stretch: 62.5%; font-weight: 400; font-size: clamp(34px, 5.2vw, 88px); line-height: 1; text-transform: uppercase; }
.lyrics__lines, .lyrics__title { grid-area: 1 / 1; }
.lyrics__line { margin: 0; }
.lyrics__line + .lyrics__line { margin-top: .12em; }
.lyrics em { font-style: italic; color: var(--red); }
.lyrics__word { display: inline-block; }
.lyrics--anim .lyrics__word { opacity: 0; transform: translateY(.45em); filter: blur(10px); }
.lyrics--anim.is-on .lyrics__word { animation: lyric-in .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d); }
.lyrics--anim.is-on em .lyrics__word { animation-name: lyric-punch; }

/* En alternance : GRIND en grand, l'artiste en petit dessous. */
.lyrics__title { margin: 0; display: none; }
.lyrics--anim .lyrics__title { display: block; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
/* Même rendu que le titre du hero (rouge, étiré en hauteur). */
.lyrics__grind {
	display: block; font-weight: 500; font-size: clamp(120px, 24vw, 360px); line-height: .8; color: var(--red);
	transform: scaleY(1.35); text-shadow: 0 10px 60px rgba(0, 0, 0, .45);
}
/* Marge = débord vertical du scaleY + espace ; padding-left compense le letter-spacing final. */
.lyrics__artist { display: block; margin-top: clamp(34px, calc(3.4vw + 16px), 66px); padding-left: .4em; font-family: var(--ui); font-stretch: 75%; font-weight: 600; font-size: clamp(13px, 1.1vw, 17px); letter-spacing: .4em; color: var(--muted); }
.lyrics__lines { transition: opacity .4s var(--ease); }
.lyrics--anim.is-title .lyrics__lines { opacity: 0; }
.lyrics--anim.is-title .lyrics__title { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lyrics--anim.is-title .lyrics__grind { animation: titleIn 1.1s var(--ease) .3s both; }
.lyrics--anim.is-title .lyrics__artist { animation: lyric-in .6s var(--ease) .75s both; }
.lyrics--anim .lyrics__artist { opacity: 0; transform: translateY(.45em); }
@keyframes lyric-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes lyric-punch {
	0% { opacity: 0; transform: scale(1.8); filter: blur(6px); }
	60% { opacity: 1; transform: scale(.94); filter: none; }
	100% { opacity: 1; transform: none; filter: none; }
}

/* ---------- Spotify ---------- */
.listen { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 11vw, 160px); }
.listen__bgtext {
	position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%;
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500; line-height: .8;
	font-size: clamp(220px, 40vw, 640px); color: transparent; -webkit-text-stroke: 1px rgba(192, 20, 28, .3);
	white-space: nowrap; pointer-events: none; user-select: none;
}
.listen__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }

/* Pochette en 3D : inclinaison au pointeur, vinyle qui sort et tourne, reflet, sticker en relief. */
.listen__deck { display: block; width: min(62%, 460px); margin-left: 8%; perspective: 1100px; color: inherit; outline-offset: 12px; }
.listen__deck:hover { color: inherit; }
.listen__card {
	position: relative; display: block; aspect-ratio: 1; transform-style: preserve-3d;
	transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -16deg));
	transition: transform .9s var(--ease);
}
.listen__deck:hover .listen__card { transition-duration: .2s; }
.listen__vinyl {
	position: absolute; inset: 3%; border-radius: 50%;
	transform: translateZ(-30px); translate: 12% 0;
	background:
		conic-gradient(from 30deg, transparent 0 8%, rgba(255,255,255,.07) 12%, transparent 18% 50%, rgba(255,255,255,.07) 62%, transparent 68%),
		repeating-radial-gradient(circle, #181515 0 1px, #0b0a0a 1px 3px);
	box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 2px #050404;
	transition: translate 1s var(--ease);
	animation: listen-spin 2.4s linear infinite paused;
}
.listen__label {
	position: absolute; inset: 33%; border-radius: 50%;
	display: grid; place-items: start center; padding-top: 18%;
	background: radial-gradient(circle, var(--bg) 0 6%, transparent 6.5%), var(--red);
	font-family: var(--display); font-stretch: 62.5%; font-weight: 600; letter-spacing: .12em;
	font-size: clamp(13px, 1.6vw, 20px); color: #fff;
}
.listen__sleeve {
	position: absolute; inset: 0; overflow: hidden; background: var(--bg-2);
	box-shadow: 0 50px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(239,235,230,.08);
	transition: translate 1s var(--ease);
}
.listen__sleeve img { width: 100%; height: 100%; object-fit: cover; }
.listen__glare {
	position: absolute; inset: 0; opacity: 0; mix-blend-mode: overlay; transition: opacity .5s;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 55%);
}
.listen__sticker {
	position: absolute; right: -5%; bottom: 7%; transform: translateZ(70px) rotate(-5deg);
	background: #fff; color: #000; padding: 7px 10px 6px; text-align: center; text-transform: uppercase;
	font-weight: 900; font-stretch: 75%; font-size: clamp(15px, 1.9vw, 24px); line-height: .9;
	box-shadow: 0 20px 30px rgba(0,0,0,.55);
}
.listen__sticker b { display: block; font-size: .48em; letter-spacing: .42em; margin-bottom: 2px; }
.listen__sticker i { display: block; font-style: normal; background: #000; color: #fff; font-size: .4em; letter-spacing: .2em; padding: 3px 4px; margin-top: 4px; }

.listen__deck:hover .listen__vinyl, .listen__deck:focus-visible .listen__vinyl { translate: 48% 0; animation-play-state: running; }
.listen__deck:hover .listen__sleeve, .listen__deck:focus-visible .listen__sleeve { translate: -6% 0; }
.listen__deck:hover .listen__glare { opacity: 1; }
@keyframes listen-spin { to { rotate: 360deg; } }

.listen__title { font-family: var(--display); font-stretch: 62.5%; font-weight: 500; text-transform: uppercase; font-size: clamp(64px, 8vw, 132px); line-height: .84; margin: 0 0 18px; }
.listen__title em { display: block; font-style: italic; color: var(--red); font-size: .46em; line-height: 1; margin-top: .12em; }
.listen__text { color: var(--muted); max-width: 40ch; margin: 0 0 28px; }
.listen__links { display: flex; flex-wrap: wrap; gap: 10px; }
.listen__embed { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; margin-bottom: 24px; background: var(--bg-2); }

/* Tactile : pas de survol, le vinyle est déjà sorti. */
@media (hover: none) {
	.listen__vinyl { translate: 40% 0; animation-play-state: running; animation-duration: 4s; }
}
@media (max-width: 760px) {
	.listen__grid { grid-template-columns: 1fr; }
	.listen__deck { width: 62%; margin-left: 0; }
	.listen__links .btn { flex: 1 1 auto; padding-inline: 8px; letter-spacing: .1em; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.listen__vinyl { animation: none; }
	.listen__card, .listen__vinyl, .listen__sleeve { transition: none; }
}

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; height: 72vh; min-height: 460px; max-height: 760px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11,10,10,.55), rgba(11,10,10,.85)); }
.cta-band__content { text-align: center; }
.cta-band__title {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
	font-size: clamp(90px, 16vw, 240px); line-height: .8; color: var(--red);
	transform: scaleY(1.3); margin: 0 0 56px;
	pointer-events: none; /* le titre étiré déborde sur le bouton en dessous */
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 110px); background: var(--bg); }
.footer-news { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer-news .eyebrow { grid-column: 1 / -1; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #cfc9c3; }
.footer-grid a:hover { color: var(--red-hot); }
.logo--footer { display: inline-block; font-size: 64px; margin-bottom: 14px; transform-origin: left; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pa-badge { display: inline-grid; background: #fff; color: #000; padding: 3px 4px; text-align: center; line-height: 1; text-transform: uppercase; border: 2px solid #000; outline: 1px solid #fff; }
.pa-badge b { font-size: 7px; letter-spacing: .35em; font-weight: 700; padding: 2px 0; }
.pa-badge strong { background: #000; color: #fff; font-family: var(--ui); font-stretch: 62%; font-size: 17px; font-weight: 800; letter-spacing: .02em; padding: 1px 6px; }

/* ---------- Formulaires ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"],
textarea, select, .woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	background: var(--bg-2);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 0;
	min-height: 52px;
	padding: 12px 16px;
	font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 2px; }

/* ---------- Pages ---------- */
.page-main, .shop-main { padding-block: clamp(48px, 7vw, 96px); min-height: 60vh; }
.page-title, .woocommerce-products-header__title {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
	font-size: clamp(48px, 7vw, 110px); line-height: .9; text-transform: uppercase;
	margin: 0 0 40px;
}

/* ---------- WooCommerce : boutique ---------- */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 16px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; display: block; }
.woocommerce ul.products li.product a img { margin: 0 0 16px; aspect-ratio: 1; object-fit: cover; background: var(--bg-2); transition: opacity .5s var(--ease); }
.woocommerce ul.products li.product .card-hover-img { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; }
.woocommerce ul.products li.product:hover .card-hover-img { opacity: 1; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ui); font-stretch: 75%; font-weight: 700; font-size: 15px !important; letter-spacing: .1em; text-transform: uppercase; padding: 0 !important;
}
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: 15px !important; margin: 6px 0 14px; }
.woocommerce ul.products li.product .button { width: 100%; margin: 0; min-height: 46px; }
.woocommerce span.onsale { background: var(--red); border-radius: 0; min-height: 0; min-width: 0; padding: 6px 10px; line-height: 1; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; top: 14px; left: 14px; }

/* ---------- WooCommerce : fiche produit ---------- */
.woocommerce div.product { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.summary { position: sticky; top: calc(var(--header-h) + 24px); grid-column: 2; grid-row: 1 / span 2; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1; }
.woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product div.images img { background: var(--bg-2); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { opacity: .45; transition: opacity .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product .woocommerce-product-gallery__trigger { background: var(--ink); }
.woocommerce div.product .product_title {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
	font-size: clamp(44px, 5vw, 80px); line-height: .92; text-transform: uppercase; margin: 0 0 16px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-stretch: 80%; font-size: 24px; font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #cfc9c3; margin: 18px 0 26px; }
.woocommerce div.product form.cart { margin: 0 0 18px; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.2; }
.woocommerce div.product form.cart .variations label { font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.woocommerce div.product form.cart .variations td.value { padding-top: 12px; }
.variations select.has-size-btns { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 8px; }
.woocommerce .quantity .qty { width: 72px; min-height: 52px; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; float: none; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product .stock { color: var(--muted); }
.reassure { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; color: #cfc9c3; }
.reassure li::before { content: "✦"; color: var(--red); margin-right: 10px; }
.woocommerce div.product .product_meta { margin-top: 22px; font-size: 13px; color: var(--muted); }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .woocommerce-tabs { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted); font-stretch: 75%; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px var(--red); }
.woocommerce div.product .woocommerce-tabs .panel h2 { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 70ch; color: #cfc9c3; }
.woocommerce table.shop_attributes { border-color: var(--line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--line); background: transparent !important; color: var(--ink); font-style: normal; padding: 12px; }

/* ---------- WooCommerce : notices, panier, commande ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .wc-block-components-notice-banner {
	background: var(--bg-2) !important; color: var(--ink) !important; border-top-color: var(--red) !important; border-radius: 0;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--red) !important; }
.woocommerce-message .button { min-height: 40px; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--red) !important; color: #fff !important; border-radius: 0 !important; min-height: 56px;
	font-stretch: 75%; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select {
	background: var(--bg-2) !important; color: var(--ink) !important; border-color: var(--line) !important; border-radius: 0 !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: var(--muted) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wp-block-woocommerce-cart-order-summary-block { border-color: var(--line) !important; }
.wc-block-cart-items, .wc-block-cart-items th, .wc-block-cart-items td { border-color: var(--line) !important; }
.wc-block-components-product-name { color: var(--ink) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; }
.wc-block-components-quantity-selector { border-color: var(--line) !important; border-radius: 0 !important; }
.wc-block-components-quantity-selector input { color: var(--ink) !important; background: transparent !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--ink) !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--display); font-stretch: 62.5%; text-transform: uppercase; font-size: 48px; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.summary { position: static; grid-column: auto; grid-row: auto; }
	.footer-news { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	:root { --header-h: 60px; }
	.site-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
	.logo { font-size: 36px; justify-self: center; }
	.burger { display: grid; gap: 6px; width: 32px; height: 32px; padding: 8px 4px; background: none; border: 0; cursor: pointer; }
	.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
	.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
	.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg);
		border-bottom: 1px solid var(--line); padding: 24px var(--gutter) 32px;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
	}
	.site-header--overlay .site-nav { top: calc(var(--header-h) + 32px); }
	.site-header--overlay.is-scrolled .site-nav { top: var(--header-h); }
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 18px; }
	.nav-list a { font-family: var(--display); font-stretch: 62.5%; font-size: 40px; letter-spacing: 0; font-weight: 500; }
	.tool--account { display: none; }
	.hero__corner { font-size: 10px; }
	.specs { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hero__video { display: none; }
	.hero { background: url("../img/hero-poster.jpg") center / cover; }
}

/* ---------- Ajustements WooCommerce ---------- */
.woocommerce .button:not(.alt):hover, .woocommerce a.button:not(.alt):hover { background: var(--ink); color: var(--bg); }
.woocommerce ul.products li.product .button { display: flex; margin-top: 0; }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover {
	background: var(--red); border-color: var(--red); color: #fff; opacity: .45;
}
.woocommerce .woocommerce-ordering select { min-height: 44px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none; border: 0; }

/* ---------- T-shirt 3D (scroll) ---------- */
.tee3d { position: relative; height: 560vh; background: var(--bg); }
.tee3d__sticky {
	position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
	background: radial-gradient(ellipse 70% 60% at 50% 55%, #1f0b0c 0%, var(--bg) 70%);
}
.tee3d__canvas, .tee3d__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.tee3d__canvas { z-index: 1; }
.tee3d__fallback { object-fit: contain; padding: 12vh 8vw; transition: opacity .8s var(--ease); }
.tee3d.is-ready .tee3d__fallback { opacity: 0; }
.tee3d .grain { z-index: 2; }
.tee3d__bgtext {
	position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; white-space: nowrap; pointer-events: none;
}
.tee3d__bgtext span {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500; text-transform: uppercase;
	font-size: clamp(160px, 26vw, 420px); line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(239, 235, 230, .09);
	padding-left: 8vw; will-change: transform;
}
.tee3d__step {
	position: absolute; z-index: 3; top: 50%; width: min(380px, 34vw);
	margin-top: -110px; opacity: 0; will-change: opacity, transform;
}
.tee3d__step--left { left: var(--gutter); }
.tee3d__step--right { right: var(--gutter); text-align: right; }
.tee3d__step h3 {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500; text-transform: uppercase;
	font-size: clamp(42px, 4.6vw, 76px); line-height: .92; margin: 0 0 18px;
}
.tee3d__step p:not(.eyebrow) { color: #cfc9c3; margin: 0; }
.tee3d__step .eyebrow { color: var(--red-hot); }
.tee3d__progress { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 1px; background: var(--line); }
.tee3d__progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tee3d__hint {
	position: absolute; z-index: 3; left: 50%; top: calc(var(--header-h) + 28px); transform: translateX(-50%); margin: 0;
	font-stretch: 75%; font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 760px) {
	.tee3d { height: 520vh; }
	.tee3d__step, .tee3d__step--left, .tee3d__step--right {
		top: auto; bottom: 64px; left: var(--gutter); right: var(--gutter); width: auto; margin: 0; text-align: left;
	}
	.tee3d__step h3 { font-size: 40px; margin-bottom: 10px; }
	.tee3d__step p:not(.eyebrow) { font-size: 14px; }
}
@media (max-width: 760px) {
	.tee3d__sticky::after {
		content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 2; pointer-events: none;
		background: linear-gradient(to bottom, rgba(11,10,10,0), rgba(11,10,10,.92) 55%);
	}
}

/* ---------- Drop : compte à rebours ---------- */
.countdown { display: flex; gap: clamp(8px, 1.5vw, 18px); margin: 0 0 22px; }
.countdown__unit { display: grid; justify-items: center; min-width: 64px; }
.countdown__unit span {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500; line-height: .9;
	font-size: clamp(44px, 5vw, 76px); font-variant-numeric: tabular-nums;
}
.countdown__unit small { font-stretch: 75%; font-weight: 600; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.countdown--hero { justify-content: center; margin: 70px 0 26px; }
.countdown--hero .countdown__unit span { font-size: clamp(56px, 7vw, 104px); }
.countdown--inline .countdown__unit { justify-items: start; min-width: 0; }
.countdown.is-live span { color: var(--red-hot); }

/* ---------- Liste d'attente ---------- */
.waitlist { display: flex; flex-wrap: wrap; max-width: 520px; }
.waitlist input[type="email"] { flex: 1; min-width: 0; }
.waitlist .waitlist__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist__msg { width: 100%; margin: 10px 0 0; font-size: 14px; color: #cfc9c3; min-height: 1.4em; }
.waitlist.is-error input[type="email"] { border-color: var(--red-hot); }
.waitlist.is-error .waitlist__msg { color: var(--red-hot); }
.waitlist.is-loading button { opacity: .6; pointer-events: none; }
.waitlist.is-sent input, .waitlist.is-sent button { display: none; }
.waitlist.is-sent .waitlist__msg { margin: 0; font-size: 16px; color: var(--ink); }
.waitlist.is-sent .waitlist__msg::before { content: "✦ "; color: var(--red); }
.hero .waitlist { margin: 0 auto; }
.drop-box { border: 1px solid var(--line); padding: 24px; margin: 8px 0 22px; background: var(--bg-2); }
.drop-box .eyebrow { color: var(--red-hot); }

/* ---------- Aperçu admin du drop ouvert ---------- */
.preview-bar {
	position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1000;
	display: flex; gap: 14px; align-items: center; padding: 10px 16px; max-width: calc(100% - 32px);
	background: var(--red); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.preview-bar a { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ---------- Stock par taille ---------- */
.size-chip, .size-btn { position: relative; }
.size-chip em, .size-btn em {
	position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px);
	font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
	color: var(--red-hot); text-decoration: none;
}
.size-row:has(em) { margin-bottom: 30px; }
.size-chip.is-low::after, .size-btn.is-low::after {
	content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hot);
}
.size-chip.is-out, .size-btn.is-out { color: var(--muted); border-style: dashed; cursor: not-allowed; }
.size-chip.is-out em, .size-btn.is-out em { color: var(--muted); }
.size-btn.is-out:disabled { opacity: 1; text-decoration: none; }
.size-status { color: var(--red-hot); font-size: 14px; font-weight: 600; margin: -8px 0 14px; }
.size-status:empty { display: none; }

/* ---------- Fiche produit : 3D / Photos ---------- */
.product-media { position: relative; min-width: 0; }
.media-tabs { display: inline-flex; border: 1px solid var(--line); margin-bottom: 10px; }
.media-tabs button {
	background: none; border: 0; color: var(--muted); padding: 10px 18px; cursor: pointer;
	font-family: var(--ui); font-stretch: 75%; font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.media-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.product-media.no-3d .media-tabs, .product-media.no-3d .tee-viewer { display: none; }
.product-media[data-view="3d"] .woocommerce-product-gallery { display: none !important; }
.product-media[data-view="photos"] .tee-viewer { display: none; }
.woocommerce div.product .product-media div.images { width: 100% !important; float: none; }
.tee-viewer {
	position: relative; aspect-ratio: 1; overflow: hidden; touch-action: none; cursor: grab;
	background: radial-gradient(ellipse 70% 65% at 50% 50%, #251012 0%, var(--bg-2) 72%);
}
.tee-viewer:active { cursor: grabbing; }
.tee-viewer canvas, .tee-viewer__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.tee-viewer__fallback { object-fit: cover; transition: opacity .6s var(--ease); }
.tee-viewer.is-ready .tee-viewer__fallback { opacity: 0; }
.tee-viewer__hint {
	position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); margin: 0; pointer-events: none;
	font-stretch: 75%; font-weight: 600; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
	transition: opacity .5s;
}
.tee-viewer__hint::before { content: "\27F2  "; color: var(--red-hot); }
.tee-viewer__hint.is-gone { opacity: 0; }
.tee-viewer__size {
	position: absolute; top: 16px; left: 16px; margin: 0; padding: 6px 10px; background: var(--red); color: #fff;
	font-stretch: 75%; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.tee-viewer__size:empty { display: none; }
.tee-viewer__views { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; gap: 6px; }
.tee-viewer__views button {
	background: rgba(11,10,10,.7); backdrop-filter: blur(6px); color: var(--ink); border: 1px solid var(--line); padding: 9px 14px; cursor: pointer;
	font-family: var(--ui); font-stretch: 75%; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.tee-viewer__views button:hover, .tee-viewer__views button.is-active { border-color: var(--red); color: #fff; background: var(--red); }

@media (max-width: 760px) {
	.countdown--hero { margin-top: 56px; }
	.countdown__unit { min-width: 52px; }
	.hero .waitlist { padding: 0 8px; }
	.tee-viewer__hint { bottom: 70px; }
}

.woocommerce div.product .woocommerce-variation-availability { display: none; }

/* Fiche du drop intégrée à la scène 3D : le tee finit à gauche, la fiche s'installe à droite. */
.tee3d__anchor { position: absolute; left: 0; bottom: 0; height: 100vh; width: 1px; pointer-events: none; }
.tee3d .tee3d__panel {
	top: 50%; right: var(--gutter); width: min(520px, 40vw); margin: 0;
	translate: 0 -46%; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; scrollbar-width: none;
}
.tee3d__panel .eyebrow { color: var(--muted); }
.tee3d__panel-title {
	font-family: var(--display); font-stretch: 62.5%; font-weight: 500; text-transform: uppercase;
	font-size: clamp(40px, min(4.4vw, 7.5vh), 76px); line-height: .92; margin: 0;
}
.tee3d__panel .drop__price { margin: 14px 0 6px; }
.tee3d__panel .drop__desc p { margin: 0 0 4px; }
.tee3d__panel .label { margin: 22px 0 10px; }
.tee3d__panel .size-row { margin-bottom: 26px; }
.tee3d__panel .countdown { margin-bottom: 18px; }
.tee3d__panel .countdown__unit span { font-size: clamp(40px, min(4.6vw, 8vh), 72px); }
.tee3d__panel .specs { margin-top: 24px; }
.tee3d__panel .specs div { padding: 12px 0 0; }

@media (max-width: 760px) {
	.tee3d .tee3d__panel {
		top: auto; bottom: 44px; left: var(--gutter); right: var(--gutter); width: auto; translate: none;
		max-height: 60vh; padding-top: 4px;
	}
	.tee3d__panel-title { font-size: 34px; }
	.tee3d__panel .drop__desc, .tee3d__panel .specs { display: none; }
	.tee3d__panel .label { margin: 12px 0 8px; }
	.tee3d__panel .size-row { margin-bottom: 24px; }
	.tee3d__panel .countdown__unit span { font-size: 40px; }
}
