/* Choix en cartes : formule de la carte cadeau, variations des produits (séances…).
   Fiches produit (functions/atelier.php) et bloc « Produit à la une » (functions/featured-product.php). */

/* Libellés de groupe */
.sitz-label { color : #000000; display : block; font-size : 13px; font-weight : 600; letter-spacing : .2em; line-height : 1.4; margin : 0 0 12px; padding : 0; text-transform : uppercase; }

/* Cartes */
.sitz-choices { border : 0; display : grid; gap : 10px; grid-template-columns : repeat(2, minmax(0, 1fr)); margin : 0 0 24px; min-width : 0; padding : 0; }
.sitz-choice { background : #ffffff; border : 1px solid rgba(0, 0, 0, .2); border-radius : 0 10px 0 0; cursor : pointer; display : flex; flex-direction : column; font-family : 'Mulish', sans-serif; gap : 2px; letter-spacing : normal; margin : 0 !important; padding : 14px 16px; position : relative; text-align : left; text-transform : none; transition : border-color .15s, box-shadow .15s; }
.sitz-choice input { cursor : pointer; height : 100%; left : 0; margin : 0; opacity : 0; position : absolute; top : 0; width : 100%; }
.sitz-choice:hover { border-color : #000000; }
.sitz-choice:has(input:checked) { border-color : #000000; box-shadow : inset 0 0 0 1px #000000, 4px 4px 0 #fb9275; }
.sitz-choice:has(input:focus-visible) { outline : 2px solid #000000; outline-offset : 3px; }
.sitz-choice:has(input:disabled) { border-style : dashed; cursor : not-allowed; opacity : .5; }
.sitz-choice:has(input:disabled) input { cursor : not-allowed; }
.sitz-choice__title { color : #000000; font-size : 15px; font-weight : 600; line-height : 1.3; }
.sitz-choice__meta { color : rgba(0, 0, 0, .65); font-size : 13px; font-weight : 400; line-height : 1.4; }
.sitz-choice.is-last .sitz-choice__meta { color : #b4462a; font-weight : 600; }
.sitz-choice__price { color : #000000; font-size : 20px; line-height : 1.2; margin-top : 10px; }
.sitz-choice__price small { color : rgba(0, 0, 0, .6); display : block; font-size : 12px; margin-top : 2px; }

/* Variations : le tableau WooCommerce est mis à plat ; la liste déroulante reste dans la page
   (pilotée par les cartes, js/choices.js) mais masquée, comme son intitulé et le lien « Effacer ». */
table.variations:has(.sitz-choices), table.variations:has(.sitz-choices) tbody, table.variations:has(.sitz-choices) tr, table.variations:has(.sitz-choices) td { background : transparent !important; border : 0 !important; display : block; margin : 0; max-width : none; padding : 0 !important; width : 100%; }
table.variations:has(.sitz-choices) { margin-bottom : 0 !important; }
table.variations tr:has(.sitz-choices) th.label, .sitz-choice-select, .sitz-choice-select + .select2, table.variations tr:has(.sitz-choices) .reset_variations { display : none !important; }
/* Séances : les places restantes sont déjà sur les cartes. */
form:has(.sitz-choices--sessions) .woocommerce-variation-availability { display : none !important; }

@media (prefers-reduced-motion : reduce) {
    .sitz-choice { transition : none; }
}
@media only screen and (max-width : 379px) {
    .sitz-choice { padding : 12px; }
}
@media only screen and (max-width : 339px) {
    .sitz-choices { grid-template-columns : 1fr; }
}
