/* Cartes produits (woocommerce/content-product.php, functions/product-cards.php).
   Codes des derniers éléments du site : bordure fine, coin arrondi en haut à droite, ombre corail au
   survol (css/choices.css, css/next-sessions.css) ; casse normale, tailles mesurées. */

/* Grille : 2 colonnes jusqu'à 999 px, 3 (catégories) ou 4 (produits similaires) au-delà. */
.woocommerce ul.products:has(> li.sitz-card) { display : grid !important; gap : 32px 24px; grid-template-columns : repeat(2, minmax(0, 1fr)); margin : 0 0 40px; padding : 0; }
.woocommerce ul.products:has(> li.sitz-card)::before, .woocommerce ul.products:has(> li.sitz-card)::after { display : none; }
@media only screen and (min-width : 1000px) {
    .woocommerce ul.products.columns-3:has(> li.sitz-card) { grid-template-columns : repeat(3, minmax(0, 1fr)); }
    .woocommerce ul.products.columns-4:has(> li.sitz-card) { grid-template-columns : repeat(4, minmax(0, 1fr)); }
}
html body ul.products[class] li.product.sitz-card.sitz-card { clear : none; display : block; float : none; justify-self : stretch; margin : 0 !important; max-width : none; min-width : 0; padding : 0; width : 100% !important; }

/* Carte */
.sitz-card__link { background : #ffffff; border : 1px solid rgba(0, 0, 0, .2); border-radius : 0 10px 0 0; color : #000000; display : flex; flex-direction : column; height : 100%; overflow : hidden; text-decoration : none; transition : border-color .15s, box-shadow .15s; }
.sitz-card__link:hover { border-color : #000000; box-shadow : 4px 4px 0 #fb9275; color : #000000; }
.sitz-card__link:focus-visible { border-color : #000000; outline : 2px solid #000000; outline-offset : 3px; }

/* Photo : carré, seconde image au survol (ordinateur), pastille d'état. */
.sitz-card__media { aspect-ratio : 1; background : #f2f0ed; overflow : hidden; position : relative; }
.sitz-card__media img, .sitz-card__media picture { display : block; height : 100% !important; margin : 0 !important; object-fit : cover; width : 100% !important; }
.sitz-card__media .sitz-card__hover { inset : 0; opacity : 0; position : absolute; transition : opacity .3s ease; }
.sitz-card__link:hover .sitz-card__hover { opacity : 1; }
@media (hover : none) {
    .sitz-card__media .sitz-card__hover { display : none; }
}
.sitz-card-badge { background : #ffffff; border : 1px solid #000000; border-radius : 200px; color : #000000; font-size : 11px; font-weight : 600; left : 12px; letter-spacing : .15em; line-height : 1; padding : 6px 10px 5px; pointer-events : none; position : absolute; text-transform : uppercase; top : 12px; z-index : 2; }

/* Texte */
.sitz-card__body { display : flex; flex : 1; flex-direction : column; gap : 6px; padding : 16px 18px 18px; }
.sitz-card__eyebrow { color : rgba(0, 0, 0, .55); font-size : 11px; font-weight : 600; letter-spacing : .2em; line-height : 1.4; overflow : hidden; text-overflow : ellipsis; min-height : 1.4em; text-transform : uppercase; white-space : nowrap; }
.woocommerce ul.products li.product.sitz-card h2.sitz-card__title { color : #000000; font-family : 'Mulish', sans-serif; font-size : 18px !important; font-weight : 600; letter-spacing : normal; line-height : 1.25; margin : 0; padding : 0; text-transform : none; }
.sitz-card__tagline { -webkit-box-orient : vertical; -webkit-line-clamp : 2; color : rgba(0, 0, 0, .65); display : -webkit-box; font-size : 14px; line-height : 1.45; margin : 0; overflow : hidden; padding : 0 !important; }
.sitz-card__footer { align-items : flex-end; display : flex; flex-wrap : wrap; gap : 8px 12px; justify-content : space-between; margin-top : auto; padding-top : 10px; }
.sitz-card__price { display : flex; flex-direction : column; gap : 2px; }
.woocommerce ul.products li.product.sitz-card .sitz-card__price .price { color : #000000; font-size : 17px; font-weight : 600; line-height : 1.2; margin : 0; }
.sitz-card__note { color : #b4462a; font-size : 12px; font-weight : 600; line-height : 1.3; }
.sitz-card__cta { align-items : center; display : inline-flex; font-size : 13px; font-weight : 600; gap : 6px; line-height : 1.3; margin-left : auto; white-space : nowrap; }
.sitz-card__cta svg { flex : none; transition : transform .2s ease; }
.sitz-card__link:hover .sitz-card__cta svg { transform : translateX(3px); }
.sitz-card.is-sold .sitz-card__cta { color : rgba(0, 0, 0, .65); }
.sitz-card.is-sold .sitz-card__link:hover .sitz-card__cta { color : #000000; }

/* Ateliers insérés dans les grilles (initiation, carte cadeau) : pastille noire pleine, fond chaud,
   surtitre lisible (prochaine séance), tarif duo en note neutre. */
.sitz-card-badge--workshop { background : #000000; color : #ffffff; }
.sitz-card--workshop .sitz-card__link { background : #fdf3ee; border-color : rgba(0, 0, 0, .35); }
.sitz-card--workshop .sitz-card__eyebrow { color : #000000; white-space : normal; }
.sitz-card__unit { color : rgba(0, 0, 0, .6); font-size : 12px; font-weight : 400; }
.sitz-card__note--offer { color : rgba(0, 0, 0, .65); }

/* Mobile : deux colonnes étroites. */
@media only screen and (max-width : 690px) {
    .woocommerce ul.products:has(> li.sitz-card) { gap : 16px 12px; }
    .sitz-card__body { gap : 4px; padding : 12px 12px 14px; }
    .sitz-card__eyebrow { font-size : 10px; letter-spacing : .12em; }
    .woocommerce ul.products li.product.sitz-card h2.sitz-card__title { font-size : 15px !important; }
    .sitz-card__tagline { font-size : 13px; line-height : 1.4; }
    .woocommerce ul.products li.product.sitz-card .sitz-card__price .price { font-size : 15px; }
    .sitz-card__footer { align-items : flex-start; flex-direction : column; gap : 8px; padding-top : 8px; }
    .sitz-card__cta { display : block; font-size : 12px; margin-left : 0; white-space : normal; }
    .sitz-card__cta svg { display : inline-block; margin-left : 6px; vertical-align : -2px; }
    .sitz-card-badge { font-size : 10px; left : 8px; padding : 5px 8px 4px; top : 8px; }
}

@media (prefers-reduced-motion : reduce) {
    .sitz-card__link, .sitz-card__media .sitz-card__hover, .sitz-card__cta svg { transition : none; }
}

/* Partie haute des archives (functions/archive-header.php) : description en pleine largeur dans
   l'en-tête, sous le titre et le fil d'Ariane ; deux colonnes pour une description en texte simple
   sur ordinateur (lignes lisibles, hauteur réduite), intertitre au-dessus des deux ; contenu WPBakery
   (page Boutique) en pleine largeur sans colonnes. La colonne de droite perd son
   en-tête vide : les produits commencent à hauteur des filtres. */
.nectar-shop-header .sitz-archive-intro { color : #000000; column-gap : 56px; margin : 28px 0 36px; }
.sitz-archive-intro--text > div { display : contents; }
.sitz-archive-intro .divider-wrap { display : none; }
.nectar-shop-header .sitz-archive-intro h2 { column-span : all; font-size : 28px; line-height : 1.25; margin : 0 0 16px; padding : 0; }
.nectar-shop-header .sitz-archive-intro p { font-size : 16px; line-height : 1.7; margin : 0 0 1em; padding : 0; }
.nectar-shop-header .sitz-archive-intro p:last-child { margin-bottom : 0; }
.post-area > header.woocommerce-products-header:not(:has(*)) { display : none; }
@media only screen and (min-width : 1000px) {
    .nectar-shop-header .sitz-archive-intro--text { column-count : 2; }
}
@media only screen and (max-width : 690px) {
    .nectar-shop-header .sitz-archive-intro { margin-top : 20px; }
    .nectar-shop-header .sitz-archive-intro h2 { font-size : 22px; }
    .nectar-shop-header .sitz-archive-intro p { font-size : 15px; line-height : 1.65; }
}
