/*
 * Pre-launch page — everything visitors see while the curtain is down
 * (prelaunch.php, template-parts/prelaunch/, inc/prelaunch.php in the site
 * plugin).
 *
 * The curtain's own stylesheet, and the only component stylesheet loaded on
 * it: the plugin unloads the site's. Its first part is written for the
 * curtain (header, sign-up box and form, pieces, footer). The parts below,
 * each under a banner, are copies of the site's component styles taken on
 * 2026-11-13, with their classes renamed pl-*: changing them changes the
 * curtain only. What stays common is the design system's base: tokens.css
 * and main.css (colours, type, buttons, cards, coloured sections).
 */

/*
 * Léa's logo alone, centred and about twice the size the site's header
 * gives it: with the title under it, the page reads as an announcement
 * before it reads as the site.
 */
.prelaunch-header .wrap {
	display: flex;
	justify-content: center;
	padding-block: clamp(1.25rem, 3vw, 2.5rem) 0.5rem;
}

.prelaunch-logo {
	display: block;
	width: clamp(190px, 8rem + 12vw, 320px);
	line-height: 0;
}

.prelaunch-logo img {
	width: 100%;
	height: auto;
}

.prelaunch-logo:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 4px;
	border-radius: 8px;
}

/*
 * The sign-up box: on paper, as a card, right under the announcement,
 * framed in Léa's navy ink.
 */
.prelaunch-signup {
	margin-top: 2rem;
	padding: var(--pad-card);
	border: 2px solid var(--navy);
	border-radius: var(--radius-card);
	background: var(--paper);
}

.prelaunch-signup p {
	margin: 0;
}

.prelaunch-signup__promise {
	max-width: 44ch;
	padding-bottom: 1rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-lede);
	color: var(--navy);
}

/* The form: a field and a button on one line. */
.pl-form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-tight);
}

.pl-form input[type="email"] {
	flex: 1 1 16rem;
	padding: 1.05rem 1.3rem;
	border: 2px solid var(--navy);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
}

.pl-form input[type="email"]::placeholder {
	color: var(--muted);
}

.pl-form input[type="email"]:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

/* The outcome of a sign-up, in the ink; what is left to do opens it. */
.pl-form__feedback {
	width: 100%;
	margin: 0;
	font-weight: 700;
}

.pl-form__feedback-lead {
	color: var(--vermilion-text);
}

/* The field bots fill and people never see. */
.pl-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/*
 * The form again at the end of the page: the same box, centred, no wider
 * than a comfortable line.
 */
.prelaunch-end .prelaunch-signup {
	max-width: 44rem;
	margin: 0 auto;
}

/*
 * On a phone, the form in a bar fixed to the bottom of the screen: the
 * field and the button on one line. prelaunch.js shows it (it is `hidden`
 * without script) and slides it away while a form of the page is in view.
 * The page keeps room under its footer so the bar never covers the end.
 */
.prelaunch-sticky {
	display: none;
}

@media (max-width: 600px) {
	.prelaunch-sticky:not([hidden]) {
		display: block;
		position: fixed;
		inset: auto 0 0 0;
		z-index: 20;
		padding: 0.6rem var(--gutter-mobile) calc(0.6rem + env(safe-area-inset-bottom));
		border-top: 2px solid var(--navy);
		background: var(--paper);
		transition: transform 0.2s ease;
	}

	.prelaunch-sticky.is-away {
		transform: translateY(110%);
	}

	.prelaunch-sticky .pl-form {
		flex-wrap: nowrap;
	}

	.prelaunch-sticky .pl-form input[type="email"] {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0.7rem 1rem;
	}

	.prelaunch-sticky .pl-form .btn {
		flex: none;
		padding: 0.7rem 1rem;
	}

	.is-prelaunch .prelaunch-footer {
		padding-bottom: 6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prelaunch-sticky {
		transition: none;
	}
}

/* A few pieces to look at, in the shared card row. */
.prelaunch-shop__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Where to find Léa meanwhile, the legal pages, the legal line. */
.prelaunch-footer {
	padding-block: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--navy) 18%, transparent);
	font-size: 0.92rem;
}

.prelaunch-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.prelaunch-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
}

.prelaunch-footer .legal {
	margin: 0;
	color: var(--muted);
}

/* ==========================================================================
 * The hero — the curtain's own copy of hero.css, taken on 2026-11-13.
 * ========================================================================== */

/*
 * Close under the header: the main area drops its top half-section when a
 * hero opens the page, and the hero takes a short gap instead of its own.
 * Elsewhere the shared section rhythm of main.css stands.
 */
.site-main:has(> .pl-hero:first-child) {
	padding-top: 0;
}

.site-main > .pl-hero:first-child {
	padding-top: clamp(1.25rem, 2.5vw, 2.5rem);
}

.pl-hero > .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr; /* was 1.15fr 0.85fr: the text column took too much room */
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}

.pl-hero--landscape > .wrap {
	grid-template-columns: 1fr 1fr;
}

.pl-hero--no-image > .wrap {
	grid-template-columns: minmax(0, 52rem);
}

.pl-hero__text {
	align-self: start;
}

@media (min-width: 901px) {
	.pl-hero__text {
		padding-top: clamp(0.5rem, 2.5vw, 2.5rem);
	}
}

.pl-hero__subtitle {
	margin: 1.4rem 0 0;
}

.pl-hero__lede {
	margin-top: 1.6rem;
}

.pl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2.4rem;
}

.pl-hero__actions .btn {
	flex: 1 1 14rem;
}

/* A lone button, or no photo beside: buttons keep their own width. */
.pl-hero__actions .btn:only-child,
.pl-hero--no-image .pl-hero__actions .btn {
	flex: 0 1 auto;
}

/*
 * Slightly landscape on desktop (5:4), on a column as wide as the text: a
 * larger photo that follows the text instead of towering over it (it was
 * 4:5 on a narrower column, nearly twice the text's height). The crop
 * keeps the subject through object-position, set by the hero's « Partie à
 * garder visible » field on the home page.
 */
.pl-hero__media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: var(--radius-card);
}

.pl-hero--landscape .pl-hero__media {
	aspect-ratio: 4 / 3;
}

.pl-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.pl-hero > .wrap {
		grid-template-columns: 1fr;
	}

	.pl-hero__media,
	.pl-hero--landscape .pl-hero__media {
		aspect-ratio: 16 / 10;
	}

	.pl-hero__actions .btn {
		flex: 1 1 45%;
		padding-inline: 1rem;
		white-space: normal;
	}
}

/*
 * Small phones: the buttons stack, full width, one line each. Side by side
 * they had about 165px each at 390px and broke into two lines. Adrien chose
 * this on 2026-11-11 over « côte à côte, même sur mobile »: their equal
 * width keeps them equal. See the design system's Button.
 */
@media (max-width: 600px) {
	.pl-hero__actions .btn {
		flex: 1 1 100%;
		white-space: nowrap;
	}
}

/* ==========================================================================
 * Rows of cards, carousels and the mobile fold — the curtain's own copy of card-row.css, taken on 2026-11-13.
 * ========================================================================== */

.pl-row__item {
	min-width: 0;
}

.pl-unfold {
	display: none;
}

.pl-carousel {
	position: relative;
}

.pl-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * var(--gap-grid)) / 4);
	gap: var(--gap-grid);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.pl-carousel__track::-webkit-scrollbar {
	display: none;
}

.pl-carousel__track > * {
	scroll-snap-align: start;
}

.pl-carousel__track:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 6px;
}

/* Half outside the track, in the section's side padding. */
.pl-carousel__button {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(29, 29, 29, 0.18);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.2s, transform 0.2s;
}

.pl-carousel__button--prev {
	left: -1.5rem;
}

.pl-carousel__button--next {
	right: -1.5rem;
}

.pl-carousel__button[hidden] {
	display: none;
}

.pl-carousel__button:hover:not(:disabled) {
	transform: translateY(-50%) scale(1.06);
}

.pl-carousel__button:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

/* At an end, the button steps aside rather than sitting there greyed. */
.pl-carousel__button:disabled {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 900px) {
	.pl-carousel__track {
		grid-auto-columns: calc((100% - var(--gap-grid)) / 2);
	}
}

@media (max-width: 600px) {
	.pl-carousel__track {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		overflow: visible;
		scroll-snap-type: none;
	}

	.pl-carousel__button {
		display: none;
	}

	[data-fold] > .is-folded {
		display: none;
	}

	.pl-unfold {
		display: flex;
		justify-content: center;
		margin-top: 1.2rem;
	}

	.pl-unfold .btn[hidden] {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pl-carousel__track {
		scroll-behavior: auto;
	}

	.pl-carousel__button {
		transition: none;
	}
}

/* ==========================================================================
 * The dates block and its cards — the curtain's own copy of next-sessions.css, taken on 2026-11-13.
 * ========================================================================== */

.pl-dates__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * « Voir tout l'agenda », in the newsletter's green: white on green is
 * 6.4:1. The block lays out as a wrapping row: the title and the button
 * share the first line, everything else takes a full line below. On
 * desktop the button sits a few pixels low, so it lines up with the
 * title's letters rather than its line box; on mobile it moves under the
 * dates, centred.
 */
.pl-dates > .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 2rem;
}

.pl-dates > .wrap > * {
	flex: 1 1 100%;
}

.pl-dates > .wrap > .section-head {
	flex: 1 1 auto;
}

.pl-dates > .wrap > .pl-dates__agenda {
	flex: none;
	margin-bottom: var(--head-gap);
	background: var(--green);
	color: var(--on-accent);
	transform: translateY(4px);
}

.pl-dates__agenda:hover {
	transform: translateY(3px);
}

@media (max-width: 900px) {
	.pl-dates > .wrap > .pl-dates__agenda {
		order: 99;
		max-width: 100%;
		margin: 1.6rem auto 0;
		padding: 0.75rem 1rem;
		font-size: 0.85rem; /* a long label still fits one line on a phone */
		white-space: normal;
		text-align: center;
		transform: none;
	}

	.pl-dates__agenda:hover {
		transform: translateY(-1px);
	}
}

.pl-dates__empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.pl-date {
	position: relative;
	gap: 0.5rem;
	height: 100%;
	padding: var(--pad-card) var(--pad-card) 1.2rem;
}

.pl-date p,
.pl-date h3 {
	margin: 0;
}

.pl-date__day {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.2rem;
	letter-spacing: -0.04em;
	line-height: 1;
}

.pl-date__weekday {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.95rem;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vermilion-text);
}

.pl-date__date {
	display: block;
}

.pl-date__time {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--olive-text);
}

.pl-date__theme {
	margin-top: 0.4rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--vermilion);
}

.pl-date__atelier {
	font-size: 0.95rem;
	color: var(--muted);
}

.pl-date__place {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.95rem;
}

/* The orange dot repeats the map's "lieu d'atelier" marker. */
.pl-date__place::before {
	content: "";
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--orange);
	transform: translateY(-1px);
}

.pl-date__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px solid var(--line);
}

.pl-date__price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
}

.pl-date__price small {
	display: block;
	font-size: 0.78rem;
	color: var(--muted);
}

.pl-date__state {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.pl-date--cancelled {
	opacity: 0.7;
}

/*
 * Mobile: the home's dates stack into a list of compact, horizontal cards,
 * the day on the left and the rest beside it. The folding into three and
 * "Voir plus" is the card row's (carousel.css). Scoped to the home: the
 * agenda keeps its grid.
 */
@media (max-width: 600px) {
	.pl-dates .pl-date {
		display: grid;
		grid-template-columns: 5.6rem 1fr;
		grid-auto-flow: row dense;
		column-gap: 1rem;
		row-gap: 0.25rem;
		align-content: start;
		padding: 1rem 1rem 0.9rem;
	}

	.pl-dates .pl-date > * {
		grid-column: 2;
	}

	.pl-dates .pl-date .pl-date__day {
		grid-column: 1;
		grid-row: 1 / span 2;
		font-size: 1.5rem;
		white-space: nowrap;
	}

	.pl-dates .pl-date .pl-date__weekday {
		font-size: 0.75rem;
	}

	.pl-dates .pl-date .pl-date__time {
		grid-column: 1;
		grid-row: 3;
		font-size: 0.85rem;
	}

	.pl-dates .pl-date .pl-date__theme {
		margin-top: 0;
		font-size: 1.05rem;
	}

	/* Room for the "Complet" or "Annulée" badge. */
	.pl-dates .pl-date--full .pl-date__theme,
	.pl-dates .pl-date--cancelled .pl-date__theme {
		padding-right: 5rem;
	}

	.pl-dates .pl-date .pl-date__footer {
		grid-column: 1 / -1;
		margin-top: 0.5rem;
		padding-top: 0.7rem;
	}

	.pl-dates .pl-date .pl-date__price {
		font-size: 1.1rem;
	}
}

/*
 * The richer date card (session-card--media: home, agenda, a place's
 * page), after Wecandoo's card with the data the site has: the workshop's
 * photo on top, tagged with its discipline; the day and time; the theme; the place with Léa's drawn pin;
 * the duration and, from three verified reviews, the rating; the price and
 * « Réserver ». No « best seller », no favourites, no seat count: there is
 * no data for the first, no accounts for the second, and the spec forbids
 * the third.
 */
.pl-date--media {
	gap: 0;
	padding: 0;
	overflow: hidden;
}

.pl-date__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ph-a);
}

.pl-date__media img,
.pl-date__media .pl-date__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-date__media .pl-date__ph {
	display: grid;
	border-width: 0 0 2px;
	border-radius: 0;
}

/*
 * The whole photo links to the workshop, above the photo (whose hover zoom
 * would otherwise lift it over the link) and under the tag.
 */
.pl-date__media-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pl-date__media img {
	transition: transform 0.3s ease;
}

@media (hover: hover) {
	.pl-date__media:has(.pl-date__media-link:hover) img {
		transform: scale(1.03);
	}
}

.pl-date__tag {
	position: absolute;
	z-index: 2;
	top: 0.8rem;
	left: 0.8rem;
	padding: 0.35rem 0.75rem;
	border-radius: var(--radius-pill);
	background: var(--paper);
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	box-shadow: 0 2px 8px rgba(29, 29, 29, 0.12);
}

/* The state badge sits on the photo, on the other corner from the tag. */
.pl-date--media .pl-date__state {
	z-index: 3;
	top: 0.8rem;
	right: 0.8rem;
}

.pl-date__body {
	min-width: 0;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.9rem var(--pad-card) 1rem;
}

/*
 * Shorter than the plain card: the day and the date share one line, and
 * the date drops to 20px so the theme leads, as on Wecandoo's cards.
 */
.pl-date--media .pl-date__day {
	font-size: 1.25rem;
}

.pl-date--media .pl-date__weekday {
	font-family: var(--font-wordmark); /* Fredoka, as the titles */
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
}

.pl-date--media .pl-date__price {
	font-size: 1.2rem;
}

/*
 * The bottom line holds the price, the eye and « Réserver », kept tight.
 * The price note never breaks; on a narrow card the buttons drop under the
 * price, on the right, instead.
 */
.pl-date--media .pl-date__footer {
	flex-wrap: wrap;
	row-gap: 0.6rem;
}

.pl-date--media .pl-date__price small {
	font-size: 0.72rem;
	white-space: nowrap;
}

.pl-date--media .pl-date__actions {
	margin-left: auto;
}

.pl-date--media .pl-date__book {
	padding-inline: 0.9rem;
}

.pl-date--media .pl-date__weekday {
	display: inline;
	margin: 0 0.4rem 0 0;
}

.pl-date--media .pl-date__date {
	display: inline;
}

.pl-date--media .pl-date__theme {
	margin-top: 0.15rem;
}

.pl-date--media .pl-date__footer {
	padding-top: 0.7rem;
}

/* The buttons of the bottom line: the eye, then « Réserver ». */
.pl-date__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 0.4rem;
}

/*
 * The eye: to the workshop's page, left of « Réserver », a navy outlined
 * disc as tall as the button.
 * PLACEHOLDER: images/eye.svg until Léa draws an eye.
 */
.pl-date__view {
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	color: var(--navy);
	transition: transform 0.15s;
}

.pl-date__eye {
	width: 1.35rem;
	height: 0.9rem;
	background: currentColor;
	-webkit-mask: url("../../images/eye.svg") center / contain no-repeat;
	mask: url("../../images/eye.svg") center / contain no-repeat;
}

@media (hover: hover) {
	.pl-date__view:hover {
		color: var(--vermilion-text);
		transform: translateY(-1px);
	}
}

.pl-date__view:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

/* Léa's pin instead of the orange dot. */
.pl-date--media .pl-date__place::before {
	width: 0.9rem;
	height: 1.1rem;
	border-radius: 0;
	background: var(--navy);
	-webkit-mask: url("../../images/menu/lieux.png") center / contain no-repeat;
	mask: url("../../images/menu/lieux.png") center / contain no-repeat;
	transform: translateY(2px);
}

/* The place links to its own page: plain until hovered, as a quiet link. */
.pl-date__place a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
}

.pl-date__place a:hover {
	color: var(--navy);
	text-decoration-color: currentColor;
}

.pl-date__place a:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 2px;
}

.pl-date__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.pl-date__rating span[aria-hidden] {
	color: var(--olive-text);
}

/*
 * Mobile: a square thumbnail on the left instead of the photo on top, the
 * rest beside it in plain flow; the price line runs under both.
 */
@media (max-width: 600px) {
	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media {
		display: grid;
		grid-template-columns: 5.5rem minmax(0, 1fr); /* the text column never outgrows the card */
		padding: 0;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media > .pl-date__media {
		grid-column: 1;
		grid-row: 1;
		aspect-ratio: 1;
		margin: 0.9rem 0 0 0.9rem;
		border-radius: calc(var(--radius-card) - 6px);
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__tag {
		display: none;
	}

	/* A missing photo keeps its hatching; its words do not fit a thumbnail. */
	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__ph {
		font-size: 0;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media > .pl-date__body {
		display: grid;
		grid-column: 2;
		grid-row: 1;
		/* minmax(0, …): a long title on one line shrinks to fit (prelaunch.js) instead of widening the card. The site's copy has 1fr. */
		grid-template-columns: minmax(0, 1fr);
		gap: 0.25rem;
		padding: 0.9rem 0.9rem 0.9rem 0.9rem;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__body > * {
		grid-column: 1;
		grid-row: auto;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__day {
		font-size: 1.15rem;
		white-space: normal;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__weekday {
		display: inline;
		margin-right: 0.3rem;
		font-size: 0.75rem;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__date {
		display: inline;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__time {
		font-size: 0.85rem;
	}

	:is(.pl-dates, .agenda-month, .lieu-dates) .pl-date--media .pl-date__footer {
		margin-left: -6.4rem;
	}
}

/* ==========================================================================
 * The piece cards — the curtain's own copy of product-card.css, taken on 2026-11-13.
 * ========================================================================== */

.pl-piece {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.pl-piece:hover {
	border-color: var(--ink);
}

/* The name's link stretches over the whole card; the button sits above it. */
.pl-piece__link {
	color: inherit;
	text-decoration: none;
}

.pl-piece__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.pl-piece__link:focus-visible {
	outline: none;
}

.pl-piece:has(.pl-piece__link:focus-visible) {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.pl-piece__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
}

.pl-piece__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-piece__media--empty {
	background: var(--ph-a);
}

.pl-piece__media.ph {
	display: grid;
	border-width: 0 0 2px;
	border-radius: 0;
}

.pl-piece__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem var(--pad-card) 1.2rem;
}

.pl-piece__univers {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--olive-text);
}

.pl-piece__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--vermilion);
}

.pl-piece__stock {
	margin: 0;
	font-size: 0.85rem;
	color: var(--muted);
}

.pl-piece__stock--sold {
	margin-top: auto;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
}

/* The bottom line: the price on the left, Léa's basket on the right. */
.pl-piece__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: auto;
	padding-top: 0.6rem;
}

.pl-piece__price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
}

/*
 * Add to cart: her basket as a stencil in navy, above the card's link.
 * WooCommerce's script marks it .loading while it works and .added when
 * done; the header's basket shows the new count, so the « Voir le panier »
 * link it would insert is left out here.
 */
.pl-piece__action {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	margin-left: auto;
	margin-right: -0.35rem;
	border-radius: 50%;
	color: var(--navy);
}

.pl-piece__basket {
	width: 2.2rem;
	height: 2.1rem;
	background: currentColor;
	-webkit-mask: url("../../images/cart.png") center / contain no-repeat;
	mask: url("../../images/cart.png") center / contain no-repeat;
}

@media (hover: hover) {
	.pl-piece__action:hover {
		color: var(--vermilion-text);
	}
}

.pl-piece__action:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

.pl-piece__action.loading {
	opacity: 0.5;
	pointer-events: none;
}

/* Added: a small ink check on the basket's corner. */
.pl-piece__action.added::after {
	content: "✓";
	position: absolute;
	top: 0.05rem;
	right: 0.05rem;
	display: grid;
	place-items: center;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--paper);
	border-radius: 50%;
	background: var(--navy);
	color: var(--paper);
	font-size: 0.65rem;
	font-weight: 700;
}

/* More specific than WooCommerce's own « .woocommerce a.added_to_cart ». */
.pl-piece .pl-piece__foot a.added_to_cart {
	display: none;
}

.pl-piece--sold .pl-piece__media {
	opacity: 0.6;
}

.pl-piece--sold .pl-piece__stock--sold {
	color: var(--muted);
}

/* ==========================================================================
 * The Instagram block — the curtain's own copy of now.css, taken on 2026-11-13.
 * ========================================================================== */

.pl-insta__profile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: calc(-1 * var(--head-gap) / 2) 0 1.4rem;
}

.pl-insta__account {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) {
	.pl-insta__account:hover .pl-insta__handle {
		text-decoration: underline;
	}
}

.pl-insta__account:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 4px;
	border-radius: var(--radius-pill);
}

.pl-insta__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0.35rem;
	border: 2px solid var(--navy);
	border-radius: 50%;
	background: var(--paper);
	overflow: hidden;
}

.pl-insta__avatar img {
	width: 100%;
	height: auto;
}

.pl-insta__who {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.pl-insta__handle {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
}

.pl-insta__where {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.pl-insta__follow {
	margin-left: auto;
}

.pl-insta__feed {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-insta__article {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.2rem;
	align-items: center;
	margin-top: var(--head-gap);
	padding: 1rem;
}

.pl-insta__article:first-child {
	margin-top: 0;
}

.pl-insta__article:hover {
	border-color: var(--ink);
}

.pl-insta__article-media {
	display: block;
	width: 160px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-inner);
}

.pl-insta__article-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-insta__article-text {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.pl-insta__article-text .eyebrow {
	margin: 0;
}

.pl-insta__article-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-h3);
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--vermilion);
}

.pl-insta__article-excerpt {
	font-size: 0.95rem;
	color: var(--muted);
}

.pl-insta__article-media.ph {
	padding: 0.5rem;
	font-size: 0.7rem;
	border-radius: var(--radius-inner);
}

@media (max-width: 900px) {
	.pl-insta__article {
		grid-template-columns: 1fr;
	}

	.pl-insta__article-media {
		width: 100%;
	}
}

/* Mobile: « Suivre » goes under the account's name, full width. */
@media (max-width: 600px) {
	.pl-insta__profile {
		flex-wrap: wrap;
	}

	.pl-insta__follow {
		flex: 1 1 100%;
		margin-left: 0;
	}
}

/* ==========================================================================
 * The Instagram cards — the curtain's own copy of instagram-card.css, taken on 2026-11-13.
 * ========================================================================== */

.pl-ig {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--paper);
}

.pl-ig__head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 0.85rem;
	font-size: 0.88rem;
}

.pl-ig__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0.2rem;
	border: 1.5px solid var(--navy);
	border-radius: 50%;
	overflow: hidden;
}

.pl-ig__avatar img {
	width: 100%;
	height: auto;
}

.pl-ig__handle {
	min-width: 0;
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pl-ig__date {
	margin-left: auto;
	flex: none;
	color: var(--muted);
}

.pl-ig__media {
	position: relative;
}

/* The images, side by side, one per frame. */
.pl-ig__track {
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	list-style: none;
}

.pl-ig__track::-webkit-scrollbar {
	display: none;
}

.pl-ig__track:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: -3px;
}

.pl-ig__slide {
	flex: 0 0 100%;
	aspect-ratio: 4 / 5;
	scroll-snap-align: start;
	background: var(--ivory);
}

.pl-ig__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* « 2/5 », top right, as Instagram shows it. */
.pl-ig__count {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-pill);
	background: rgba(29, 29, 29, 0.6);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
}

.pl-ig__nav {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	box-shadow: 0 2px 8px rgba(29, 29, 29, 0.18);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.2s;
}

.pl-ig__nav--prev {
	left: 0.5rem;
}

.pl-ig__nav--next {
	right: 0.5rem;
}

.pl-ig__nav[hidden] {
	display: none;
}

.pl-ig__nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.pl-ig__nav:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

/* On a pointer, the arrows show when the card is hovered. */
@media (hover: hover) {
	.pl-ig__nav:not(:disabled) {
		opacity: 0;
	}

	.pl-ig:hover .pl-ig__nav:not(:disabled),
	.pl-ig__nav:not(:disabled):focus-visible {
		opacity: 1;
	}
}

.pl-ig__dots {
	display: flex;
	justify-content: center;
	gap: 0.3rem;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
}

.pl-ig__dots li {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--line);
	transition: background 0.2s;
}

.pl-ig__dots li.is-on {
	background: var(--navy);
}

.pl-ig__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.7rem 0.85rem 0.9rem;
	font-size: 0.9rem;
}

.pl-ig__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.pl-ig__link {
	margin-top: auto;
	color: var(--navy);
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.pl-ig__track {
		scroll-behavior: auto;
	}
}
