/* Fiche du chèque cadeau (maquette de la boutique) : montant (raccourcis en puces et champ libre), format en deux cases
   avec leur phrase, « Pour » et « De la part de » côte à côte quand la place le permet. Couleurs du thème. */
.gl-cheque { flex: 1 0 100%; display: grid; gap: 1.5rem; margin: 0.5rem 0 1.5rem; }
.gl-cheque-champ { display: grid; gap: 0.5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.gl-cheque-champ > label, .gl-cheque legend, .gl-cheque-noms label { font-weight: 600; font-size: 0.9375rem; margin: 0; padding: 0; }
.gl-cheque legend { margin-bottom: 0.5rem; }
.gl-cheque input:not([type="radio"]) {
	font: inherit; line-height: 1.3; width: 100%; min-height: 48px; margin: 0; box-sizing: border-box; padding: 0.6rem 0.9rem; border-radius: 2px;
	border: 1px solid rgb(35 28 24 / 0.22); background: var(--wp--preset--color--chaux, #faf7f4); color: var(--wp--preset--color--encre, #231c18);
}
.gl-cheque input:focus-visible, .gl-cheque button:focus-visible { outline: 2px solid var(--wp--preset--color--encre, #231c18); outline-offset: 2px; }
.gl-cheque-aide { font-size: 0.875rem; color: var(--wp--preset--color--encre-douce, #5e534c); }

/* Montant : 50, 100, 150 € en puces, « ou », champ libre suivi de « € ». */
.gl-cheque-montant, .gl-cheque-raccourcis, .gl-cheque-libre { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.gl-cheque-raccourcis[hidden] { display: none; }
.gl-cheque-raccourcis button {
	font: 500 0.9375rem/1 var(--wp--preset--font-family--texte, sans-serif); min-height: 46px; padding: 0.6em 1.1em; border-radius: 2px; cursor: pointer;
	border: 1px solid rgb(35 28 24 / 0.22); background: var(--wp--preset--color--chaux, #faf7f4); color: var(--wp--preset--color--encre, #231c18);
}
.gl-cheque-raccourcis button:hover { border-color: var(--wp--preset--color--encre, #231c18); }
.gl-cheque-raccourcis button[aria-pressed="true"] { background: var(--wp--preset--color--encre, #231c18); border-color: var(--wp--preset--color--encre, #231c18); color: var(--wp--preset--color--chaux, #faf7f4); }
.gl-cheque-raccourcis > span { color: var(--wp--preset--color--encre-douce, #5e534c); font-size: 0.875rem; }
.gl-cheque-libre input:not([type="radio"]) { width: 8.5em; text-align: right; }

/* Format : deux cases (titre et phrase), la case choisie cernée de cognac. */
.gl-cheque-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 10px; }
.gl-cheque-format {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-content: start; padding: 14px 16px; cursor: pointer;
	border: 1px solid rgb(35 28 24 / 0.22); border-radius: 2px; background: var(--wp--preset--color--chaux, #faf7f4); line-height: 1.45;
}
.gl-cheque-format input { grid-row: span 2; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wp--preset--color--cognac, #9e6236); }
.gl-cheque-format b { font-weight: 600; }
.gl-cheque-format span { font-size: 0.875rem; color: var(--wp--preset--color--encre-douce, #5e534c); }
.gl-cheque-format:has(input:checked) { border-color: var(--wp--preset--color--cognac, #9e6236); box-shadow: inset 0 0 0 1px var(--wp--preset--color--cognac, #9e6236); }
.gl-cheque-format:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--encre, #231c18); outline-offset: 2px; }
.gl-cheque-format input:focus-visible { outline: none; }

/* Noms : côte à côte dès que chacun a 11rem. */
.gl-cheque-noms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1.5rem 14px; }
.gl-cheque-noms p { margin: 0; display: grid; gap: 0.5rem; min-width: 0; }
