/* Prosomo — Liquidation (Plomberie Outaouais). Couleurs et polices du site : Oswald, Lato, or #bf943a, noir #0b0b0b. */
.po-liq,
.po-liq-conditions,
.po-liq-visit,
.po-liq-banner {
	--po-gold: #bf943a;
	--po-gold-text: #8c6a24; /* or assombri : contraste 5:1 sur blanc pour le texte */
	--po-ink: #0b0b0b;
	--po-text: #4d4d4d;
	--po-muted: #6b6b6b;
	--po-line: #e7e2d8;
	--po-soft: #f7f5f0;
}

.po-liq-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Barre des conditions ---- */
.po-liq-conditions ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 30px;
	margin: 0 0 36px !important;
	padding: 18px 24px !important;
	list-style: none !important;
	background: var(--po-ink);
}
.po-liq-conditions li {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff;
	font-family: Oswald, sans-serif;
	font-size: 17px;
	line-height: 1.3;
	text-transform: uppercase;
	background: none !important;
}
.po-liq-conditions li::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background: var(--po-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Filtres ---- */
.po-liq-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 14px;
}
.po-liq:not(.po-liq--js) .po-liq-filters,
.po-liq:not(.po-liq--js) .po-liq-status {
	display: none;
}
.po-liq-filter {
	margin: 0;
	padding: 11px 16px;
	border: 1px solid var(--po-ink);
	border-radius: 0;
	background: #fff;
	color: var(--po-ink);
	font-family: Lato, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.po-liq-filter:hover {
	border-color: var(--po-gold);
	color: var(--po-ink);
}
.po-liq-filter[aria-pressed="true"] {
	background: var(--po-ink);
	border-color: var(--po-ink);
	color: #fff;
}
.po-liq-filter:focus-visible {
	outline: 2px solid var(--po-gold);
	outline-offset: 3px;
}
.po-liq-filter__count {
	opacity: .75;
}
.po-liq-status {
	margin: 0 0 26px !important;
	color: var(--po-muted);
	font-family: Lato, sans-serif;
	font-size: 14px;
	text-align: center;
}

/* ---- Grille de cartes ---- */
.po-liq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
/* Carte : bordure or, coins dorés en courbe (haut à droite, bas à gauche) comme les fiches de la boutique,
   espace en haut et en bas pour que les coins ne cachent rien. */
.po-liq-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 80px 0 64px !important;
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--po-gold);
	text-align: center;
	transition: box-shadow .2s;
}
.po-liq-card::before {
	display: none !important;
}
.po-liq-card:hover {
	box-shadow: 0 10px 28px rgba(11, 11, 11, .10);
}
.po-liq-card[hidden] {
	display: none !important;
}
.po-liq-corner {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}
.po-liq-corner--top {
	top: 0;
	right: 0;
	width: 64%;
	aspect-ratio: 1 / 1.1; /* proportions de la fiche : la courbe descend loin le long du bord droit */
	/* or à l'extérieur d'une ellipse centrée en bas à gauche du coin : courbe concave, comme la fiche */
	background: radial-gradient(ellipse 100% 100% at 0% 100%, transparent calc(100% - 1px), var(--po-gold) 100%);
}
.po-liq-corner--bottom {
	bottom: 0;
	left: 0;
	width: 48%;
	aspect-ratio: 1 / 0.95;
	background: radial-gradient(ellipse 100% 100% at 100% 0%, transparent calc(100% - 1px), var(--po-gold) 100%);
}
.po-liq-card__media {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin: 0 22px;
	background: #fff;
	border-bottom: 1px solid var(--po-ink);
}
.po-liq-card__media img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 14px;
	object-fit: contain;
}
.po-liq-badges {
	position: absolute;
	z-index: 3;
	top: 12px;
	left: 12px;
	max-width: 62%; /* % de la carte : une pastille longue passe sur deux lignes au lieu d'entrer dans le coin doré */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.po-liq-badge {
	padding: 6px 9px;
	background: var(--po-ink);
	color: #fff;
	font-family: Oswald, sans-serif;
	font-size: 13px;
	line-height: 1.15;
	text-align: left;
	text-transform: uppercase;
}
.po-liq-badge--pct {
	padding: 8px 11px;
	background: var(--po-gold);
	color: var(--po-ink);
	font-size: 21px;
	font-weight: 700;
}
.po-liq-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 22px 0;
	text-align: center;
}
.po-liq .po-liq-card__title {
	margin: 0;
	color: var(--po-ink);
	font-family: Oswald, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}
.po-liq-card__meta,
.po-liq-card__details {
	margin: 0 !important;
	color: var(--po-text);
	font-family: Lato, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.po-liq-card__tags {
	margin: 0 !important;
	color: var(--po-muted);
	font-family: Lato, sans-serif;
	font-size: 13px;
	line-height: 1.4;
}
.po-liq-card__mention {
	margin: 0 !important;
	color: var(--po-ink);
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 700;
}
/* Même hauteur pour tous les blocs prix (celle du bloc complet : prix, taxes, régulier, économie),
   poussés en bas de cartes de même hauteur : le séparateur et le gros prix s'alignent d'une carte à l'autre,
   même quand il manque le prix régulier ou l'économie. Lignes sans retour pour garder la hauteur fixe. */
.po-liq-price {
	align-self: stretch;
	min-height: 151px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--po-ink);
}
.po-liq-price p {
	margin: 0 !important;
	white-space: nowrap;
}
/* Espacements : sélecteurs à deux classes, sinon « .po-liq-price p » ci-dessus (classe + balise) les annule. */
.po-liq-price .po-liq-price__tax {
	margin-top: 4px !important;
}
.po-liq-price .po-liq-price__was {
	margin-top: 18px !important;
}
.po-liq-price .po-liq-price__save {
	margin-top: 2px !important;
}
/* Ordre centré : prix en gros, taxes, prix régulier, économie. */
.po-liq-price__now {
	color: var(--po-ink);
	font-family: Oswald, sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.05;
}
.po-liq-price__tax {
	color: var(--po-ink); /* noir, comme le prix */
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}
.po-liq-price__was {
	color: var(--po-muted);
	font-family: Lato, sans-serif;
	font-size: 14px;
	line-height: 1.4;
}
.po-liq-price__was s {
	color: var(--po-text);
	text-decoration-thickness: 1px;
}
.po-liq-price__save {
	color: var(--po-gold-text);
	font-family: Lato, sans-serif;
	font-size: 14px;
	font-weight: 700;
}
/* ---- Vendu : la carte reste, grisée, avec la pastille ---- */
.po-liq-card.is-sold .po-liq-card__media img {
	filter: grayscale(1);
	opacity: .4;
}
.po-liq-card.is-sold .po-liq-badges {
	display: none;
}
.po-liq-sold {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.po-liq-sold span {
	padding: 8px 24px;
	background: var(--po-ink);
	color: #fff;
	font-family: Oswald, sans-serif;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	transform: rotate(-6deg);
}
.po-liq-card.is-sold .po-liq-price__now,
.po-liq-card.is-sold .po-liq-price__tax {
	color: var(--po-muted);
}

.po-liq-empty {
	padding: 40px 20px;
	text-align: center;
	font-size: 18px;
}

/* ---- Bas de page : salle de montre ----
   Encadré beige sur la colonne WPBakery (el_class po-liq-visit) ; les icônes sont le composant du thème
   darna_icon_box style4, comme sur la page Nous joindre. */
.po-liq-visit {
	margin-top: 56px;
}
.po-liq-visit > .vc_column-inner > .wpb_wrapper {
	padding: 40px 24px 12px;
	background: var(--po-soft);
}
.po-liq-visit .po-liq-visit__intro {
	margin-bottom: 34px !important;
	text-align: center;
}
.po-liq-visit__intro h2 {
	margin: 0 0 10px !important;
	color: var(--po-ink);
	font-family: Oswald, sans-serif;
	font-size: 28px;
	line-height: 1.25;
	text-transform: uppercase;
}
.po-liq-visit__intro p {
	max-width: 640px;
	margin: 0 auto !important;
	color: var(--po-text);
	font-size: 16px;
	line-height: 1.6;
}
.po-liq-visit .darna-icon-box {
	margin-bottom: 28px;
}

@media (max-width: 767px) {
	.po-liq-conditions ul {
		justify-content: flex-start;
		gap: 10px 22px;
		padding: 16px 18px !important;
	}
	.po-liq-conditions li {
		font-size: 15px;
	}
	/* une seule rangée de filtres qui défile au doigt, au lieu de 4 lignes */
	.po-liq-filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin: 0 -15px 12px;
		padding: 0 15px 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 15px; /* sinon l'aimantation colle le 1er filtre au bord et le rogne */
		scrollbar-width: thin;
	}
	.po-liq-filter {
		flex: 0 0 auto;
		padding: 10px 12px;
		font-size: 13px;
		white-space: nowrap;
		scroll-snap-align: start;
	}
	.po-liq-status {
		text-align: left;
	}
}
@media (max-width: 600px) {
	.po-liq-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.po-liq-card,
	.po-liq-filter {
		transition: none;
	}
}

/* ---- Bandeau [po_liquidation_banner] sur la page Promotions : même langage que les cartes ---- */
.po-liq-banner {
	position: relative;
	max-width: 900px;
	margin: 0 auto 50px !important; /* le thème annule la marge du dernier élément d'un bloc texte */
	padding: 46px 28px;
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--po-gold);
	text-align: center;
}
.po-liq-banner .po-liq-corner--top {
	width: 30%;
	height: 78%;
	aspect-ratio: auto;
}
.po-liq-banner .po-liq-corner--bottom {
	width: 22%;
	height: 66%;
	aspect-ratio: auto;
}
.po-liq-banner__inner {
	position: relative;
	z-index: 3;
}
.po-liq-banner .po-liq-banner__title {
	margin: 0 0 6px !important;
	color: var(--po-ink);
	font-family: Oswald, sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}
.po-liq-banner .po-liq-banner__text {
	margin: 0 0 20px !important;
	color: var(--po-text);
	font-family: Lato, sans-serif;
	font-size: 17px;
	line-height: 1.5;
}
.po-liq-banner a.po-liq-banner__btn {
	display: inline-block;
	padding: 13px 28px;
	background: var(--po-ink);
	color: #fff !important;
	font-family: Lato, sans-serif;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color .2s, color .2s;
}
.po-liq-banner a.po-liq-banner__btn:hover,
.po-liq-banner a.po-liq-banner__btn:focus-visible {
	background: var(--po-gold);
	color: var(--po-ink) !important;
	outline: none;
}
@media (max-width: 767px) {
	.po-liq-banner {
		padding: 64px 20px 56px;
	}
	.po-liq-banner .po-liq-corner--top {
		width: 42%;
		height: 52%;
	}
	.po-liq-banner .po-liq-corner--bottom {
		width: 34%;
		height: 44%;
	}
	.po-liq-banner .po-liq-banner__title {
		font-size: 34px;
	}
	.po-liq-banner .po-liq-banner__text {
		font-size: 16px;
	}
}
