/* PâtiSwap — Retours d'usage (cartes substituts des fiches ingrédient) */
.psf {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed #F0D9BC;
	font-size: 14px;
	color: #5a3d10;
}
.psf [hidden] { display: none !important; }
.psf__summary {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #5a4a1a;
}
.psf__summary strong { color: #5a3d10; }
.psf__detail { display: block; margin-top: 2px; color: #6b5a3a; }
.psf__ask { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.psf__q { margin: 0; font-size: 14px; font-weight: 600; color: #5a3d10; line-height: 1.4; }
.psf__q--sub { margin: 12px 0 6px; font-weight: 600; }
.psf__opt { font-weight: 400; color: #6b5a3a; }
.psf__btns, .psf__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Boutons : on neutralise explicitement le fond ambre qu'Astra applique à tout <button>. */
.psf .psf__btn,
.psf .psf__chip {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	border: 1.5px solid #E2C396 !important;
	border-radius: 999px;
	background: #fff !important;
	color: #5a3d10 !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.psf .psf__btn { min-width: 64px; padding: 8px 18px; }
.psf .psf__chip { min-height: 36px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.psf .psf__btn:hover,
.psf .psf__chip:hover {
	border-color: #9A690F !important;
	background: #fbf6ec !important;
	color: #5a3d10 !important;
}
.psf .psf__btn:focus,
.psf .psf__chip:focus {
	background: #fff !important;
	color: #5a3d10 !important;
	outline: none;
}
.psf .psf__btn:focus-visible,
.psf .psf__chip:focus-visible {
	outline: 2.5px solid #9A690F;
	outline-offset: 2px;
}
.psf .psf__btn[aria-pressed="true"],
.psf .psf__chip[aria-pressed="true"] {
	border-color: #9A690F !important;
	background: #9A690F !important;
	color: #fff !important;
}
.psf .psf__btn:disabled { cursor: default; opacity: .75; }
.psf .psf__btn[aria-pressed="true"]:disabled { opacity: 1; }
.psf__msg { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #2e6b31; }
.psf__msg:empty { display: none; }
.psf__msg.is-error { color: #b3261e; }

/* Pot de miel : hors écran, jamais visible ni focusable. */
.psf__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 480px) {
	.psf .psf__chip { min-height: 40px; }
}
