/* GFC 29/10/2026 PROD = copie de 99-gfc-votes-resultat-20261027h.css (préprod) */
/* GFC 27/10/2026 PREPROD (Raph) — vote des clients sur les tuiles « Sélectionner et voter » (version g : résultat sous le compte à rebours, barre du nom retirée, barre élargie, pouces aux bords, urne au-dessus de la barre, h : bloc de vote à la même hauteur sur toutes les tuiles) */

/* ---------- barre sous le nom du produit retirée sur toutes les tuiles de vote (Raph, version d) ---------- */
li.ajax_block_product.gfcv-tuile h3, li.ajax_block_product.gfcv-tuile h5, li.ajax_block_product.gfcv-tuile .product_desc { border-bottom: 0 !important; }

/* ---------- version h : bloc de vote collé sous le nom sur toutes les tuiles, ligne d'achat en bas de la carte ---------- */
#product_list li.ajax_block_product.gfcv-tuile .content_list_product.gfcv-vide { display: none !important; }
#product_list li.ajax_block_product.gfcv-tuile .content_list_product { justify-content: flex-start !important; }
#product_list li.ajax_block_product.gfcv-tuile .gfc-vote-haut ~ .container-add-to-cart-list { margin-top: auto !important; }

/* ---------- titre ---------- */
.vote-info-title[data-gfcv] { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.vote-info-title .gfcv-titre { display: block; }
.vote-info-title .gfcv-sous { display: block; color: #6b6b6b; font: 400 12px/1.3 Lato, Arial, sans-serif; text-transform: none; letter-spacing: 0; }

/* ---------- résultat : sous le compte à rebours, au-dessus de la quantité (Raph, version d) ---------- */
/* NE PAS toucher à .kit (display:flex du thème : icônes Kit Media / YouTube en ligne) ; .bottom-product est déjà en flex */
li.ajax_block_product .gfc-vote-res {
    display: grid; justify-content: center; justify-items: center; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto auto;
    width: 230px; max-width: 92%; box-sizing: border-box;
    column-gap: 8px; row-gap: 4px; align-items: center; margin: 10px auto 4px; padding: 0; font: 700 13px/1 Lato, Arial, sans-serif;
}
/* version e (Raph) : barre des résultats plus large (230 px, toute la largeur du bloc) */
li.ajax_block_product .gfc-vote-res .gfc-vote-res__barre { justify-self: stretch; height: 6px; border-radius: 3px; }
/* version f (Raph) : pouce vert au bord gauche de la barre, pouce rouge au bord droit */
li.ajax_block_product .gfc-vote-res .gfc-vote-res__oui { justify-self: start; }
li.ajax_block_product .gfc-vote-res .gfc-vote-res__non { justify-self: end; }
.gfc-vote-res__oui, .gfc-vote-res__non { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 12px; white-space: nowrap; }
.gfc-vote-res__oui { background: #e8f5ea; color: #2e8b3d; }
.gfc-vote-res__non { background: #fbeaea; color: #c0392b; }
.gfc-vote-res__non svg { transform: rotate(180deg); }
.gfc-vote-res__oui b, .gfc-vote-res__non b { font-weight: 700; color: inherit; }
.gfc-vote-res__barre { grid-column: 1 / -1; display: block; height: 4px; border-radius: 2px; background: #e9b8b3; overflow: hidden; }
.gfc-vote-res__barre i { display: block; height: 100%; background: #2e8b3d; border-radius: 2px; }
.gfc-vote-res__total { grid-column: 1 / -1; color: #6b6b6b; font-weight: 400; font-size: 11px; text-align: center; }
.gfc-vote-res--vide .gfc-vote-res__oui, .gfc-vote-res--vide .gfc-vote-res__non { opacity: .55; }
.gfc-vote-res--vide .gfc-vote-res__barre { background: #e3e3e3; }
/* urne du modèle choisi, au centre entre les deux pouces (vide en « Actuel ») */
.gfc-vote-res__ico { grid-column: 2; grid-row: 1; display: block; width: 44px; height: 44px; }
.gfc-vote-res__ico:empty { width: 0; height: 0; }
.gfc-vote-res__ico svg { display: block; width: 100%; height: 100%; }
.gfc-vote-res__oui { grid-column: 1; grid-row: 1; } .gfc-vote-res__non { grid-column: 3; grid-row: 1; }
@media (max-width: 480px) {
    li.ajax_block_product .gfc-vote-res { margin: 8px auto 4px; column-gap: 4px; font-size: 12px; }
    .gfc-vote-res__oui, .gfc-vote-res__non { padding: 3px 6px; }
}
