/* CamerBuy Fonctions — s'appuie sur les couleurs du thème CamerBuy. */
.cbc-box { margin-top: 18px; background: #fff; border: 1px solid #E7E3DA; border-radius: 12px; padding: 18px; }
.cbc-box__title { font-weight: 600; font-size: 15px; margin-bottom: 6px; cursor: default; }
details.cbc-box > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
details.cbc-box > summary::-webkit-details-marker { display: none; }
details.cbc-box > summary::after { content: "+"; font-size: 22px; font-weight: 500; }
details.cbc-box[open] > summary::after { content: "−"; }
details.cbc-box[open] > summary { margin-bottom: 10px; }
.cbc-muted { color: #4C5450; font-size: 13px; line-height: 1.55; margin: 0 0 12px; }
.cbc-lead { font-size: 17px; line-height: 1.6; color: #4C5450; max-width: 720px; }
.cbc-ok { background: #E6F1EC; color: #0A4F3A; border-radius: 8px; padding: 12px 14px; font-weight: 500; margin: 0; }
.cbc-err { background: #FBEDEB; color: #8A231B; border-radius: 8px; padding: 10px 14px; font-weight: 500; margin: 0 0 12px; }
.cbc-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #0E6B4E; }
.cbc-pill { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #C8372D; color: #fff; white-space: nowrap; }
.cbc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.cbc-form { display: flex; gap: 8px; flex-wrap: wrap; }
.cbc-form input[type="text"], .cbc-form input[type="tel"], .cbc-form select {
	flex: 1 1 200px; min-width: 0; height: 48px; border-radius: 8px; border: 1px solid #E7E3DA; background: #F7F5F0; padding: 0 14px; font: inherit;
}
.cbc-form--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cbc-form--grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.cbc-form--grid label input, .cbc-form--grid label select { width: 100%; flex: none; }
.cbc-form--grid .cbc-plans, .cbc-form--grid button { grid-column: 1 / -1; }
.cbc-plans { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.cbc-plans legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cbc-plan { display: flex !important; flex-direction: row !important; gap: 10px; align-items: center; background: #FFF3D6; border: 2px solid transparent; border-radius: 8px; padding: 12px 14px; font-weight: 500 !important; cursor: pointer; }
.cbc-plan:has(input:checked) { border-color: #111614; }

.cbc-group { border-color: #0E6B4E; background: linear-gradient(#fff, #fff) padding-box; }
.cbc-group__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.cbc-group__price { font-weight: 600; font-size: 24px; color: #0E6B4E; }
.cbc-group__price small { font-size: 13px; color: #6B726E; font-weight: 500; text-decoration: line-through; }
.cbc-group__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.cbc-group__list li { display: flex; align-items: center; gap: 12px; background: #F7F5F0; border-radius: 8px; padding: 10px 12px; }
.cbc-group__list li.is-highlight { background: #FFF3D6; box-shadow: 0 0 0 2px #E3B23C; }
.cbc-group__list form { margin-left: auto; }
.cbc-group__list .cb-btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.cbc-group__meta { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.cbc-group__meta small { color: #5B635F; }
.cbc-seats { display: flex; gap: 4px; flex-shrink: 0; }
.cbc-seats i { width: 12px; height: 12px; border-radius: 50%; border: 2px dashed #0E6B4E; }
.cbc-seats i.is-full { background: #0E6B4E; border-style: solid; }
.cb-btn--ghost-dark { background: #fff !important; color: #111614 !important; border: 2px solid #111614 !important; }
.cbc-share { text-align: left; }

.cbc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 40px; }
.cbc-gcard { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E7E3DA; border-radius: 12px; padding: 10px 10px 16px; color: #111614; }
.cbc-gcard:hover { color: #111614; box-shadow: 0 18px 40px rgba(15, 20, 18, .09); }
.cbc-gcard__img { display: block; aspect-ratio: 1 / 1; border-radius: 10px; background: #F2EFE8; overflow: hidden; margin-bottom: 6px; }
.cbc-gcard__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cbc-gcard strong, .cbc-gcard small, .cbc-gcard__price, .cbc-bar { margin-inline: 6px; }
.cbc-gcard__price { font-weight: 600; color: #0E6B4E; }
.cbc-gcard__price del { color: #6B726E; font-weight: 500; font-size: 13px; margin-left: 4px; }
.cbc-gcard small { color: #5B635F; font-size: 12px; }
.cbc-bar { display: block; height: 8px; border-radius: 4px; background: #E6F1EC; }
.cbc-bar i { display: block; height: 8px; border-radius: 4px; background: #0E6B4E; }

.cbc-raffle__hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; background: #0F1412; color: #fff; border-radius: 14px; padding: 32px; margin-bottom: 32px; }
.cbc-raffle__hero > div { flex: 1 1 320px; min-width: 0; }
.cbc-raffle__hero p { color: #C9D0CB; }
.cbc-raffle__hero .cbc-eyebrow { color: #E3B23C; }
.cbc-raffle__img { flex: 0 1 320px; border-radius: 12px; background: #fff; }
.cbc-raffle__prize { font-family: Inter, system-ui, sans-serif; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 8px 0 12px; letter-spacing: -.02em; }
.cbc-countdown { display: flex; gap: 8px; margin: 14px 0; max-width: 340px; }
.cbc-countdown > span { flex: 1; background: #171E1B; border: 1px solid #2A3430; border-radius: 8px; padding: 10px 0; text-align: center; display: flex; flex-direction: column; }
.cbc-countdown b { font-family: Inter, system-ui, sans-serif; font-size: 26px; }
.cbc-countdown small { font-size: 11px; color: #B8C0BB; }
.cbc-tickets { font-size: 18px; }
.cbc-tickets strong { color: #E3B23C; font-size: 26px; }
.cbc-winners { list-style: none; padding: 0; display: grid; gap: 8px; }
.cbc-winners li { background: #fff; border: 1px solid #E7E3DA; border-radius: 8px; padding: 12px 14px; }

@media (max-width: 600px) {
	.cbc-form--grid { grid-template-columns: minmax(0, 1fr); }
	.cbc-group__list li { flex-wrap: wrap; }
	.cbc-group__list form { margin-left: 0; width: 100%; }
	.cbc-group__list .cb-btn { width: 100%; }
	.cbc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cbc-raffle__hero { padding: 22px; border-radius: 12px; }
}
