/* ==== partial: 05-footer-cards.css ====
   Footer, product cards and status chips.
   ======================================================================== */

/* 11. Footer --------------------------------------------------------------- */

/* The remaining literal #fff in this section is deliberate: heading and
   hover ink on the dark plum footer must stay pure white, unlike the
   surface token which a site can re-tint. */
.demande-footer {
	background-color: var(--demande-footer);
	color: var(--demande-footer-fg);
}

.demande-footer a {
	align-items: center;
	color: var(--demande-footer-fg);
	display: inline-flex;
	min-height: 32px;
	text-decoration: none;
	transition: color var(--demande-transition);
}

.demande-footer a:hover,
.demande-footer a:focus-visible {
	color: var(--demande-surface);
	text-decoration: underline;
}

.demande-footer__grid {
	display: grid;
	gap: 1.5rem 1.5rem;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	margin-inline: auto;
	max-width: var(--demande-container);
	padding: 2rem var(--demande-gutter);
}

.demande-footer__brand img {
	display: block;
	height: auto;
	max-width: 200px;
	margin-block-end: 1rem;
}

.demande-footer__tagline {
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 500;
	margin-block-end: 0.25rem;
}

.demande-footer__sub {
	color: var(--demande-footer-muted);
	font-size: 1rem;
}

.demande-footer__col h2,
.demande-footer__col h3,
.demande-footer__heading,
.demande-footer h2.demande-footer__heading {
	color: #fff;
	font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.6;
	margin-block: 0 1rem;
	text-transform: none;
}

.demande-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.demande-footer__col li + li {
	margin-block-start: 0.5rem;
}

.demande-footer__col a {
	font-size: 0.9375rem;
}

.demande-footer__social {
	margin-block-start: 1.5rem;
}

.demande-footer__social .wp-block-social-link-anchor {
	color: var(--demande-footer-fg);
}

.demande-footer__social .wp-social-link {
	background-color: rgba(255, 255, 255, 0.08);
	transition:
		background-color var(--demande-transition),
		transform var(--demande-transition);
}

.demande-footer__social .wp-social-link:hover {
	background-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.demande-footer__bottom {
	border-block-start: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875rem;
	gap: 1rem 1.5rem;
	justify-content: space-between;
	margin-inline: auto;
	max-width: var(--demande-container);
	padding: 1.5rem clamp(1.5rem, 3vw, 2rem);
}

.demande-footer__bottom p {
	margin: 0;
}

.demande-footer--compact .demande-footer__grid {
	grid-template-columns: 1fr;
	padding-block: 1.5rem;
}

/* 12. Product cards and status -------------------------------------------- */

/* Canonical card: the design-system geometry won on the front end, so this
   single definition folds in its 12px/16px metrics plus the old flex base. */
.demande-product-card {
	background: var(--demande-surface, #fff);
	border: 1px solid var(--demande-border, #e7e0ef);
	border-radius: var(--demande-radius);
	box-shadow: 0 2px 8px rgba(40, 29, 61, 0.04);
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	min-width: 0;
	padding: 16px;
}

.demande-product-card > * {
	margin-block: 0;
}

.demande-product-card__media {
	display: block;
	overflow: hidden;
	border-radius: var(--demande-radius);
	background-color: var(--demande-lavender);
	margin: 0 0 4px;
	position: relative;
	width: 100%;
}

.demande-product-card__media img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
	transition: transform 400ms ease;
}

.demande-product-card:hover .demande-product-card__media img {
	transform: scale(1.03);
}

.demande-product-card__category {
	color: var(--demande-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	text-transform: none;
}

.demande-product-card__category a {
	color: var(--demande-muted);
	text-decoration: none;
}

.demande-product-card__title {
	font-family: var(--demande-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
	overflow-wrap: anywhere;
}

.demande-product-card__title a {
	color: var(--demande-heading);
	text-decoration: none;
	transition: color var(--demande-transition);
}

.demande-product-card__title a:hover,
.demande-product-card__title a:focus-visible {
	color: var(--demande-primary);
	text-decoration: underline;
}

.demande-price {
	color: var(--demande-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 0;
}

/* Card prices carry the design-system metric (18px/1.5). */
.demande-product-card__price {
	color: var(--demande-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.demande-price del {
	color: var(--demande-muted);
	font-weight: 400;
	margin-inline-end: 0.375rem;
}

.demande-price ins {
	background: transparent;
	color: var(--demande-primary);
	font-weight: 600;
	text-decoration: none;
}

.demande-product-card__actions {
	align-items: center;
	border-block-start: var(--demande-border-thin);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
	margin-block-start: auto;
	padding-block-start: 16px;
}

.demande-product-card__actions > * {
	min-width: 0;
	width: 100%;
}

.demande-product-card__actions .wp-block-button .wp-block-button__link,
.demande-product-card__actions .demande-add-to-list {
	box-sizing: border-box;
	justify-content: center;
	margin: 0;
	min-height: 48px;
	width: 100%;
}

.demande-product-card__actions .demande-add-to-list {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	gap: 6px;
	min-height: 48px;
}

.demande-product-card__actions .wp-block-button__link,
.demande-product-card__actions .wc-block-components-product-button__button {
	transition:
		background-color var(--demande-transition),
		border-color var(--demande-transition),
		color var(--demande-transition),
		box-shadow var(--demande-transition),
		transform var(--demande-transition-fast);
}

/* Kept verbatim from design-system.css; the shared button geometry in
 * section 18 out-ranks it, exactly as it did before the merge. */
:is(.wp-site-blocks, .editor-styles-wrapper) .demande-product-card__actions .wp-block-button__link {
	padding-inline: 16px;
}

.demande-product-card__actions .wp-block-button__link:hover,
.demande-product-card__actions .wc-block-components-product-button__button:hover {
	box-shadow: var(--demande-shadow-button-hover);
	transform: translateY(-1px);
}

.demande-product-card__actions .wp-block-button__link:focus-visible,
.demande-product-card__actions .wc-block-components-product-button__button:focus-visible {
	box-shadow: var(--demande-shadow-button-focus);
}

