@charset "UTF-8";
/*=============================================================================
  Formulaire « Ajouter une bière » de la recherche « Le Catalogue » (lot/brasserie-liens) : gabarit/ajout-biere-2026.php
  Carte repliable (details), champs groupés en trois étapes, suggestions (datalist), compteur de caractères, question anti-robot.
  Feuille chargée sur la page de recherche seulement (gabarit 2026 ; pas de formulaire d'ajout en AMP).
  =============================================================================*/

.site-v2 .cat .cat-ajout, .site-v2 .cat .cat-aide .cat-ajout {margin: 22px 0 0; padding: 0; background: none; border: 0; border-radius: 0;}

.ab {border: 1px solid #e3cfa8; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(36, 23, 15, .08); overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f1a17;}
.ab[open] {box-shadow: 0 16px 36px rgba(36, 23, 15, .12);}

/*----- Bandeau d'ouverture -----*/
.ab-sommaire {display: flex; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none;
	background: radial-gradient(120% 160% at 100% 0%, rgba(224, 168, 90, .22), rgba(224, 168, 90, 0) 60%), #fbf7f0;}
.ab-sommaire::-webkit-details-marker {display: none;}
.ab-sommaire::marker {content: "";}
.ab-sommaire:focus-visible {outline: 3px solid #e8a93a; outline-offset: -3px;}
.ab-sommaire__picto {display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(150deg, #3a2618, #5a3417); color: #f2bd66; box-shadow: 0 6px 14px rgba(36, 23, 15, .25);}
.ab-sommaire__texte {display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0;}
.ab-sommaire__texte strong {font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-size: 19px; line-height: 1.25; color: #24170f;}
.ab-sommaire__texte span {font-size: 14px; color: #5c5048;}
.ab-sommaire__bouton {display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: linear-gradient(180deg, #f2bd66 0%, #d58a2c 100%); font-size: 15px; font-weight: 700; color: #24170f; box-shadow: 0 6px 16px rgba(213, 138, 44, .32); transition: transform .15s ease, box-shadow .15s ease;}
.ab-sommaire:hover .ab-sommaire__bouton {transform: translateY(-1px); box-shadow: 0 10px 22px rgba(213, 138, 44, .42);}
.ab-sommaire__bouton svg {transition: transform .2s ease;}
.ab[open] .ab-sommaire__bouton {background: #3a2618; color: #fbf7f0; box-shadow: none;}
.ab[open] .ab-sommaire__bouton svg {transform: rotate(180deg);}
.ab-fermer, .ab[open] .ab-ouvrir {display: none;}
.ab[open] .ab-fermer {display: inline;}

/*----- Corps -----*/
.ab-corps {padding: 4px 18px 20px; border-top: 1px solid #efe3cc;}
.site-v2 .ab .ab-intro {margin: 14px 0 18px; font-size: 15px; line-height: 1.55; color: #3a2618; text-align: left;}
.ab-form {margin: 0;}
.ab-champ {display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0 0 14px;}
.site-v2 .ab label {display: block; margin: 0; font-size: 14px; font-weight: 600; color: #3a2618; text-align: left;}
.ab-requis {margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fbe7c6; font-size: 11.5px; font-weight: 700; color: #8a4b08; vertical-align: 1px;}
.ab-precision {font-weight: 400; color: #6b5d52;}
.site-v2 .ab input[type="text"], .site-v2 .ab select, .site-v2 .ab textarea {box-sizing: border-box; width: 100%; max-width: none; min-height: 46px; margin: 0; padding: 10px 12px; border: 1.5px solid #dccaa9; border-radius: 12px; background: #fffdf9; font: inherit; font-size: 16px; color: #1f1a17; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;}
.site-v2 .ab textarea {min-height: 104px; resize: vertical; line-height: 1.5;}
.site-v2 .ab select {padding-right: 36px; -webkit-appearance: none; appearance: none; cursor: pointer;
	background: #fffdf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a5a0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;}
.site-v2 .ab input[type="text"]:hover, .site-v2 .ab select:hover, .site-v2 .ab textarea:hover {border-color: #c9a46a;}
.site-v2 .ab input[type="text"]:focus, .site-v2 .ab select:focus, .site-v2 .ab textarea:focus {border-color: #d58a2c; background-color: #fff; box-shadow: 0 0 0 4px rgba(232, 169, 58, .22); outline: none;}
.site-v2 .ab .ab-champ--nom input[type="text"] {min-height: 52px; font-size: 18px; font-weight: 600;}
.ab-unite {position: relative; display: block;}
.ab-unite span {position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font-weight: 700; color: #9a5a0c; pointer-events: none;}

.ab-groupes {display: grid; gap: 14px; margin: 4px 0 16px;}
.site-v2 .ab .ab-groupe {min-width: 0; margin: 0; padding: 14px 14px 2px; border: 1px solid #efe3cc; border-radius: 16px; background: #fbf7f0;}
.site-v2 .ab legend {display: flex; align-items: center; gap: 8px; margin: 0 0 0 -2px; padding: 0 6px; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-size: 17px; font-weight: 700; color: #24170f;}
.ab-num {display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #3a2618; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 12px; font-weight: 700; color: #fbf7f0;}
.site-v2 .ab .ab-compteur {margin: 0; font-size: 12.5px; color: #6b5d52; text-align: right;}

/*----- Question anti-robot et envoi -----*/
.ab-envoi {display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 18px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid #efe3cc;}
.ab .ab-question {display: flex; flex: 1 1 280px; flex-direction: column; gap: 6px; min-width: 0; margin: 0;}
.ab .ab-question small {font-weight: 400; color: #6b5d52;}
.site-v2 .ab .ab-question input[type="text"] {max-width: 160px;}
.site-v2 .ab .ab-bouton {display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 50px; margin: 0; padding: 0 26px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #f2bd66 0%, #d58a2c 100%); font: inherit; font-size: 16px; font-weight: 700; color: #24170f; cursor: pointer; box-shadow: 0 8px 18px rgba(213, 138, 44, .35); transition: transform .15s ease, box-shadow .15s ease;}
.site-v2 .ab .ab-bouton:hover {transform: translateY(-1px); box-shadow: 0 12px 24px rgba(213, 138, 44, .45);}
.site-v2 .ab .ab-bouton:focus-visible {outline: 3px solid #3a2618; outline-offset: 2px;}

@media (min-width: 760px) {
	.ab-sommaire {padding: 18px 22px;}
	.ab-corps {padding: 4px 22px 22px;}
	.ab-groupes {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 520px) {
	.ab-sommaire {flex-wrap: wrap;}
	.ab-sommaire__bouton {width: 100%; justify-content: center;}
	.site-v2 .ab .ab-bouton {width: 100%; justify-content: center;}
}
@media (prefers-reduced-motion: reduce) {
	.ab *, .ab-sommaire__bouton {transition: none;}
}
