/* CDB – Cartes cadeaux : écran comptoir (téléphone ou tablette). */
.cdb-cc-comptoir { --cdb-cc-couleur: #8a6a5c; --cdb-cc-clair: #f4efec; max-width: 560px; margin: 1.5rem auto; font-size: 1rem; line-height: 1.5; }
.cdb-cc-comptoir *, .cdb-cc-comptoir *::before, .cdb-cc-comptoir *::after { box-sizing: border-box; }
.cdb-cc-comptoir [hidden] { display: none !important; }
.cdb-cc-recherche label, .cdb-cc-action label { display: block; font-weight: 600; margin-bottom: .35rem; }
.cdb-cc-recherche__ligne { display: flex; gap: .5rem; align-items: center; }
.cdb-cc-comptoir input[type="text"], .cdb-cc-comptoir input[type="password"] { width: 100%; padding: .8rem .9rem; border: 1px solid rgba(0,0,0,.2); border-radius: 10px; font: inherit; font-size: 1.15rem; }
#cdb-cc-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.cdb-cc-comptoir button { padding: .8rem 1.2rem; border: 0; border-radius: 10px; background: var(--cdb-cc-couleur); color: #fff; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cdb-cc-comptoir button:hover { filter: brightness(.92); }
.cdb-cc-comptoir button[disabled] { opacity: .6; }
.cdb-cc-astuce { font-size: .88rem; opacity: .7; margin: .5rem 0 1rem; }
.cdb-cc-retour { padding: .8rem 1rem; border-radius: 10px; margin: 0 0 1rem; font-weight: 500; }
.cdb-cc-retour--info { background: #f1f1f1; }
.cdb-cc-retour--ok { background: #e5f4e4; color: #1d5b1a; }
.cdb-cc-retour--erreur { background: #fdecea; color: #8a1c13; }
.cdb-cc-bon { border: 1px solid rgba(0,0,0,.12); border-radius: 14px; overflow: hidden; background: #fff; }
.cdb-cc-bon__tete { background: var(--cdb-cc-clair); padding: 1rem 1.2rem; }
.cdb-cc-bon__tete > div:first-child { display: flex; justify-content: space-between; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cdb-cc-bon__code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .06em; }
.cdb-cc-bon__objet { font-size: 1.45rem; font-weight: 700; margin-top: .4rem; line-height: 1.2; }
.cdb-cc-bon__pour { opacity: .8; }
.cdb-cc-statut { font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: #e5f4e4; color: #1d5b1a; }
.cdb-cc-statut--partielle { background: #fff4d6; color: #7a5600; }
.cdb-cc-statut--utilisee, .cdb-cc-statut--expiree { background: #eee; color: #555; }
.cdb-cc-statut--annulee { background: #fdecea; color: #8a1c13; }
.cdb-cc-bon__infos { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; padding: 1rem 1.2rem; }
.cdb-cc-bon__infos dt { opacity: .65; }
.cdb-cc-bon__infos dd { margin: 0; font-weight: 600; }
.cdb-cc-action { padding: 0 1.2rem 1rem; }
.cdb-cc-liste-soins { list-style: none; margin: 0; padding: 0; }
.cdb-cc-liste-soins li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid rgba(0,0,0,.08); font-weight: 600; }
.cdb-cc-liste-soins li.is-fait { opacity: .6; font-weight: 400; }
.cdb-cc-liste-soins li small { color: #1d5b1a; white-space: nowrap; }
.cdb-cc-liste-soins button { padding: .6rem 1rem; }
.cdb-cc-euro { font-weight: 600; }
.cdb-cc-detail { margin-top: .5rem; font-size: 1rem !important; }
.cdb-cc-bon h3 { font-size: 1rem; margin: .5rem 1.2rem .4rem; }
.cdb-cc-historique { list-style: none; margin: 0 0 .5rem; padding: 0 1.2rem; }
.cdb-cc-historique li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid rgba(0,0,0,.08); }
.cdb-cc-historique li.is-annulee { opacity: .5; text-decoration: line-through; }
.cdb-cc-historique small { opacity: .7; }
.cdb-cc-comptoir .cdb-cc-annuler { background: transparent; color: #8a1c13; border: 1px solid #e3b5b0; padding: .35rem .7rem; font-size: .85rem; }
.cdb-cc-lien-admin { padding: 0 1.2rem 1rem; font-size: .9rem; }
.cdb-cc-comptoir #loginform p { margin: 0 0 .8rem; }
.cdb-cc-comptoir #loginform label { display: block; font-weight: 500; }
.cdb-cc-comptoir #loginform input[type="submit"] { padding: .8rem 1.4rem; border: 0; border-radius: 10px; background: var(--cdb-cc-couleur); color: #fff; font: inherit; font-weight: 600; }
.cdb-cc-connexion { margin-top: 1rem; font-size: .92rem; }
.cdb-cc-connexion summary { cursor: pointer; opacity: .75; }
