/*
 * LCF Modele de categorie.
 * Valeurs reprises du modele valide (page de test « TEST A categorie couteaux de table »).
 * Le modele ne met en forme aucun element de l'extension de gravure (.bq-*, .lcfb-*).
 */

/* ---------- entete pleine largeur ---------- */
.lcf-cata{position:relative;color:#243873}
.lcf-cata .lcf-cata-hero{display:flex;background:#243873}
.lcf-cata .lcf-cata-hero-in{flex:1;min-width:0;padding:32px 40px 100px calc(5% + 15px)}
.lcf-cata.lcf-cata-sans-choix .lcf-cata-hero-in{padding-bottom:36px}
.lcf-cata .lcf-cata-hero-in h1{margin:0 0 12px;font-size:clamp(30px,3.4vw,50px);line-height:1.05;font-weight:900;letter-spacing:-.5px;color:#fff;text-transform:none}
.lcf-cata .lcf-cata-script{font-family:"Dancing Script",cursive;font-weight:700;color:#fff;letter-spacing:0;margin:0 .05em;padding-bottom:.04em;background:linear-gradient(#D1181E,#D1181E) no-repeat 0 100%/100% .1em}
.lcf-cata .lcf-cata-h1sub{display:block;margin-top:14px;font-size:clamp(16px,1.4vw,20px);line-height:1.25;font-weight:700;letter-spacing:0;color:#fff}
.lcf-cata .lcf-cata-h1sub::first-letter{text-transform:uppercase}
.lcf-cata .lcf-cata-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lcf-cata .lcf-cata-lead{margin:0;font-size:17px;line-height:1.6;max-width:760px;color:#fff}
.lcf-cata .lcf-cata-lead p{margin:0;font-size:inherit;line-height:inherit;color:inherit}
.lcf-cata .lcf-cata-lead p + p{margin-top:.7em}
.lcf-cata .lcf-cata-lead a{color:#fff;font-weight:700;text-decoration:underline}
.lcf-cata .lcf-cata-lead a:hover{color:#fff;text-decoration-thickness:3px}

/* ---------- choix guide ---------- */
.lcf-cata .lcf-cata-zone{position:relative;margin-top:-72px;padding:0 calc(5% + 15px)}
.lcf-cata .lcf-cata-card{position:relative;max-width:1400px;margin:0;background:#fff;border-radius:14px;box-shadow:0 14px 36px rgba(36,56,115,.25);padding:26px 28px;display:flex;gap:28px;flex-wrap:wrap}
.lcf-cata .lcf-cata-r{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.lcf-cata .lcf-cata-qs{flex:1 1 380px;display:flex;flex-direction:column;gap:16px}
.lcf-cata .lcf-cata-title{margin:0;font-family:"Dancing Script",cursive;font-weight:700;font-size:28px;line-height:1.1;color:#D1181E}
.lcf-cata .lcf-cata-qt{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#243873}
.lcf-cata .lcf-cata-pills{display:flex;gap:10px;flex-wrap:wrap}
.lcf-cata .lcf-cata-pills label{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 20px;border-radius:999px;border:2px solid #243873;background:#fff;color:#243873;font-size:15px;font-weight:700;line-height:1.2;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.lcf-cata .lcf-cata-pills label:hover{transform:translateY(-2px)}
.lcf-cata #lcf-cata-n4:checked~.lcf-cata-qs label[for="lcf-cata-n4"],.lcf-cata #lcf-cata-n6:checked~.lcf-cata-qs label[for="lcf-cata-n6"],.lcf-cata #lcf-cata-mb:checked~.lcf-cata-qs label[for="lcf-cata-mb"],.lcf-cata #lcf-cata-ma:checked~.lcf-cata-qs label[for="lcf-cata-ma"]{background:#243873;color:#fff}
.lcf-cata #lcf-cata-n4:focus-visible~.lcf-cata-qs label[for="lcf-cata-n4"],.lcf-cata #lcf-cata-n6:focus-visible~.lcf-cata-qs label[for="lcf-cata-n6"],.lcf-cata #lcf-cata-mb:focus-visible~.lcf-cata-qs label[for="lcf-cata-mb"],.lcf-cata #lcf-cata-ma:focus-visible~.lcf-cata-qs label[for="lcf-cata-ma"]{outline:3px solid #D1181E;outline-offset:2px}
.lcf-cata .lcf-cata-q2c{display:none}
.lcf-cata #lcf-cata-n4:checked~.lcf-cata-qs .lcf-cata-q2{display:none}
.lcf-cata #lcf-cata-n4:checked~.lcf-cata-qs .lcf-cata-q2c{display:block}
.lcf-cata .lcf-cata-note{margin:0;font-size:15px;line-height:1.5;color:#243873}
.lcf-cata .lcf-cata-grav{margin:2px 0 0;padding-top:14px;border-top:1px solid #c9cfe2;font-size:15px;line-height:1.5;color:#243873}
.lcf-cata .lcf-cata-grav a{color:#243873;font-weight:700;text-decoration:underline}
.lcf-cata .lcf-cata-grav a:hover{color:#D1181E}
.lcf-cata .lcf-cata-res{flex:1 1 400px;background:#f1f1f1;border-radius:12px;padding:20px;display:flex}
.lcf-cata .lcf-cata-p{display:none;gap:18px;align-items:center;width:100%}
.lcf-cata #lcf-cata-n4:checked~.lcf-cata-res .lcf-cata-p4,.lcf-cata #lcf-cata-n6:checked~#lcf-cata-mb:checked~.lcf-cata-res .lcf-cata-p6b,.lcf-cata #lcf-cata-n6:checked~#lcf-cata-ma:checked~.lcf-cata-res .lcf-cata-p6a{display:flex;animation:lcf-cata-in .35s ease}
@keyframes lcf-cata-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.lcf-cata .lcf-cata-p img{flex:0 0 150px;width:150px;height:150px;object-fit:contain;border-radius:10px;background:#fff}
.lcf-cata .lcf-cata-k{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#D1181E}
.lcf-cata .lcf-cata-pn{margin:0 0 6px;font-size:20px;font-weight:900;line-height:1.2;color:#243873}
.lcf-cata .lcf-cata-pd{margin:0 0 12px;font-size:15px;line-height:1.5;color:#243873}
.lcf-cata .lcf-cata-links{display:flex;gap:8px;flex-wrap:wrap}
.lcf-cata .lcf-cata-links a{display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border-radius:999px;background:#D1181E;color:#fff;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none;transition:background .2s}
.lcf-cata .lcf-cata-links a:hover{background:#243873;color:#fff}

/* ---------- bande defilante du haut ---------- */
.lcf-cata .lcf-cata-band{margin-top:30px;position:relative;background:#243873;color:#fff;overflow:hidden;padding:10px 0}
.lcf-cata.lcf-cata-sans-choix .lcf-cata-band{margin-top:0;border-top:1px solid rgba(255,255,255,.28)}
.lcf-cata .lcf-cata-track{display:flex;gap:36px;width:max-content;white-space:nowrap;font-size:14px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase;animation:lcf-cata-defile 36s linear infinite}
@keyframes lcf-cata-defile{from{transform:translateX(0)}to{transform:translateX(-25%)}}

/* ---------- lisere tricolore, du haut de la page au bas du pied de page ---------- */
body.lcf-cata-lisere .shop-page-title::before,body.lcf-cata-lisere .lcf-cata::before,body.lcf-cata-lisere #main::before,body.lcf-cata-lisere #footer::before{content:"";position:absolute;left:0;top:0;bottom:0;width:12px;z-index:6;pointer-events:none;background:linear-gradient(to right,#3b5bd1 0 33.34%,#fff 33.34% 66.67%,#D1181E 66.67% 100%)}

/* ---------- grille : titre, plateau gris, cartes blanches ---------- */
body.lcf-cata-page .shop-container .lcf-cata-st{margin:0 0 16px;font-family:"Dancing Script",cursive;font-weight:700;font-size:30px;line-height:1.1;color:#D1181E}
body.lcf-cata-page .shop-container > .products{background:#EEF0F4;border-radius:22px;padding:18px 8px 2px;margin:0 0 26px}
body.lcf-cata-page .shop-container > .products .product-small>.col-inner{height:100%;background:#fff;border-radius:18px;box-shadow:0 6px 18px rgba(36,56,115,.12);padding:14px 12px 16px;transition:transform .25s ease,box-shadow .25s ease}
body.lcf-cata-page .shop-container > .products .product-small:hover>.col-inner{transform:translateY(-4px);box-shadow:0 14px 30px rgba(36,56,115,.2)}
body.lcf-cata-page .shop-container > .products .product-small .box-image{border-radius:10px;overflow:hidden}

/* ---------- menu des categories : toujours ouvert, categorie en cours signalee ---------- */
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories ul.children{display:block!important;margin:2px 0 10px 4px;padding-left:14px;border-left:2px solid #c9cfe2}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories .toggle{display:none!important}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories ul.product-categories>li>a{font-weight:700}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories ul.children li a{font-weight:400;font-size:15px;padding:4px 0}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories li.current-cat>a{background:#243873;color:#fff!important;border-radius:8px;padding-left:12px;padding-right:12px;font-weight:700}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories ul.children li.current-cat>a{padding:4px 12px;font-weight:700}
body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories li.current-cat>a::before,body.lcf-cata-menu-ouvert #shop-sidebar .widget_product_categories li.current-cat-parent>a::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#D1181E;vertical-align:middle}

/* ---------- colonne : FAQ et « Vus recemment » apres le menu ---------- */
.lcf-cata-colonne .lcf-cata-ct,.lcf-cata-place-bas .lcf-cata-ct{margin:28px 0 12px;font-family:"Dancing Script",cursive;font-weight:700;font-size:28px;line-height:1.1;color:#D1181E;text-transform:none}
.lcf-cata-colonne .accordion-item{border:2px solid #c9cfe2;border-radius:14px;margin-bottom:10px;padding:0 14px}
.lcf-cata-colonne .accordion-item:has(.accordion-title.active){border-color:#243873}
.lcf-cata-colonne .accordion-title{border-top:0;padding:12px 30px 12px 0;font-size:15px;font-weight:900;line-height:1.3;color:#243873}
.lcf-cata-colonne .accordion-title.active{background:transparent;color:#243873;font-weight:900}
.lcf-cata-colonne .accordion .toggle{left:auto;right:-8px;top:calc(50% - .75em);margin:0;color:#D1181E;opacity:1}
.lcf-cata-colonne .accordion-inner{padding:0 0 14px}
.lcf-cata-colonne .accordion-inner p{font-size:14.5px;line-height:1.6;margin-bottom:0;color:#243873}
.lcf-cata-vus a{display:flex;gap:12px;align-items:center;padding:9px 0;border-top:1px solid #c9cfe2;text-decoration:none;color:#243873;font-size:14px;font-weight:700;line-height:1.3}
.lcf-cata-vus a:hover{color:#D1181E}
.lcf-cata-vus img{flex:0 0 56px;width:56px;height:56px;object-fit:contain;border-radius:8px;background:#f1f1f1}
.lcf-cata-place:empty{display:none}

/* ---------- bas : bande, textes, FAQ, bandeau de fin ---------- */
.lcf-cata-bas{color:#243873}
.lcf-cata-bas .lcf-cata-band2{background:#D1181E;color:#fff;overflow:hidden;padding:10px 0;border-radius:12px}
.lcf-cata-bas .lcf-cata-track2{display:flex;gap:36px;width:max-content;white-space:nowrap;font-size:14px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase;animation:lcf-cata-defile2 36s linear infinite}
@keyframes lcf-cata-defile2{from{transform:translateX(-25%)}to{transform:translateX(0)}}
.lcf-cata-bas .lcf-cata-txt{padding:26px 0 30px}
.lcf-cata-bas .lcf-cata-txt-in{column-count:2;column-gap:44px}
.lcf-cata-bas .lcf-cata-txt h2{font-size:22px;font-weight:900;line-height:1.2;color:#243873;margin:22px 0 10px;text-transform:none;break-after:avoid}
.lcf-cata-bas .lcf-cata-txt h2:first-child{margin-top:0}
.lcf-cata-bas p{font-size:16px;line-height:1.65;color:#243873}
.lcf-cata-bas p a{color:#243873;text-decoration:underline}
.lcf-cata-bas p a:hover{color:#D1181E}
.lcf-cata-bas .lcf-cata-faq{padding:0 0 30px}
.lcf-cata-bas .lcf-cata-faq .lcf-cata-ct{font-family:"Dancing Script",cursive;font-weight:700;font-size:30px;line-height:1.1;color:#D1181E;margin:0 0 14px;text-transform:none}
.lcf-cata-bas .accordion-item{border:2px solid #c9cfe2;border-radius:14px;margin-bottom:12px;padding:0 18px;transition:border-color .2s}
.lcf-cata-bas .accordion-item:has(.accordion-title.active){border-color:#243873}
.lcf-cata-bas .accordion-title{border-top:0;padding:15px 44px 15px 0;font-size:17px;font-weight:900;line-height:1.3;color:#243873}
.lcf-cata-bas .accordion-title.active{background:transparent;color:#243873;font-weight:900}
.lcf-cata-bas .accordion .toggle{left:auto;right:0;top:calc(50% - .75em);margin:0;color:#D1181E;opacity:1}
.lcf-cata-bas .accordion-inner{padding:0 0 16px}
.lcf-cata-bas .accordion-inner p{font-size:16px;margin-bottom:0}
.lcf-cata-question{border:2px solid #c9cfe2;border-radius:14px;margin-bottom:12px;padding:0 18px}
.lcf-cata-question summary{padding:15px 0;font-size:17px;font-weight:900;line-height:1.3;color:#243873;cursor:pointer}
.lcf-cata-bas .lcf-cata-cta{background:#243873;color:#fff;margin-top:26px;padding:26px 28px;border-radius:14px}
.lcf-cata-bas .lcf-cata-cta-in{max-width:1050px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.lcf-cata-bas .lcf-cata-cta-t{margin:0;font-family:"Dancing Script",cursive;font-weight:700;font-size:32px;line-height:1.1;color:#fff}
.lcf-cata-bas .lcf-cata-cta-d{margin:8px 0 0;font-size:16px;line-height:1.5;color:#fff}
.lcf-cata-bas a.lcf-cata-cta-b{display:inline-flex;align-items:center;min-height:46px;padding:0 26px;border-radius:999px;background:#fff;color:#243873;font-size:15px;font-weight:900;line-height:1.2;text-decoration:none;transition:background .2s,color .2s}
.lcf-cata-bas a.lcf-cata-cta-b:hover{background:#D1181E;color:#fff}
.lcf-cata-place-bas{padding:0 0 26px}

/* ---------- fil d'Ariane dans l'entete (remplace la barre du theme) ---------- */
.lcf-cata .lcf-cata-haut{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 16px}
.lcf-cata .lcf-cata-ariane{flex:1 1 auto;min-width:0;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.lcf-cata .lcf-cata-ariane a{color:#fff;text-decoration:none;border-bottom:1px solid transparent}
.lcf-cata .lcf-cata-ariane a:hover,.lcf-cata .lcf-cata-ariane a:focus-visible{border-bottom-color:#fff}
.lcf-cata .lcf-cata-ariane .lcf-cata-sep{margin:0 .55em;color:#fff}
.lcf-cata .lcf-cata-ariane [aria-current]{font-weight:700}
.lcf-cata .lcf-cata-haut .category-filtering{margin:0;padding:0;text-align:left}
.lcf-cata .lcf-cata-haut a.filter-button{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border:1px solid #fff;border-radius:999px;color:#fff;font-size:12px;line-height:1.3;letter-spacing:.06em;white-space:nowrap}
.lcf-cata .lcf-cata-haut a.filter-button:hover,.lcf-cata .lcf-cata-haut a.filter-button:focus-visible{background:#fff;color:#243873}
.lcf-cata .lcf-cata-haut a.filter-button strong{font-weight:700}

/* ---------- carrousel de l'entete (ecrans larges seulement) ---------- */
.lcf-cata .lcf-cata-car{display:none}
@media (min-width:1100px){
  .lcf-cata.lcf-cata-avec-car .lcf-cata-hero-in{flex:0 0 min(52%,920px)}
  .lcf-cata .lcf-cata-car{flex:1;min-width:0;padding:24px 16px 24px 0}
  .lcf-cata .lcf-cata-car.lcf-cata-car-js{display:flex;align-items:center}
  .lcf-cata:not(.lcf-cata-sans-choix) .lcf-cata-car{padding-bottom:92px}
  .lcf-cata .lcf-cata-car-vue{flex:1;min-width:0;overflow:hidden;padding:4px 0}
  .lcf-cata .lcf-cata-car-piste{display:flex;gap:14px;width:max-content;will-change:transform}
  .lcf-cata .lcf-cata-car.lcf-cata-car-fixe .lcf-cata-car-piste{will-change:auto}
  .lcf-cata a.lcf-cata-car-el{flex:0 0 auto;display:block;width:160px;color:#fff;text-decoration:none}
  .lcf-cata .lcf-cata-car-ph{display:block;width:160px;height:160px;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 0 0 0 #D1181E;transition:box-shadow .15s}
  .lcf-cata .lcf-cata-car-ph img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border:0}
  .lcf-cata .lcf-cata-car-gammes .lcf-cata-car-ph img{object-fit:cover}
  .lcf-cata a.lcf-cata-car-el:hover .lcf-cata-car-ph,.lcf-cata a.lcf-cata-car-el:focus-visible .lcf-cata-car-ph{box-shadow:0 0 0 3px #D1181E}
  .lcf-cata a.lcf-cata-car-el:focus-visible{outline:2px solid #fff;outline-offset:3px}
  .lcf-cata .lcf-cata-car-nom{display:block;margin-top:8px;font-size:14px;line-height:1.25;font-weight:700;color:#fff;text-align:center}
  .lcf-cata button.lcf-cata-car-fl{position:relative;z-index:2;flex:0 0 36px;width:36px;height:36px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:#fff;color:#243873;font-size:24px;line-height:1;font-weight:700;text-transform:none;letter-spacing:0;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer}
  .lcf-cata button.lcf-cata-car-fl span{display:block;margin-top:-3px}
  .lcf-cata button.lcf-cata-car-fl:hover,.lcf-cata button.lcf-cata-car-fl:focus-visible{background:#D1181E;color:#fff}
  .lcf-cata button.lcf-cata-car-fl[hidden]{display:none}
  .lcf-cata button.lcf-cata-car-prec{margin-right:-18px}
  .lcf-cata button.lcf-cata-car-suiv{margin:0 0 0 -18px}
  .lcf-cata .lcf-cata-car-gammes button.lcf-cata-car-fl{margin-top:-28px}
}

@media (max-width:1099px){
  .lcf-cata-bas .lcf-cata-txt-in{column-count:1}
}
@media (max-width:849px){
  .lcf-cata .lcf-cata-hero-in{padding:24px 18px 88px}
  .lcf-cata.lcf-cata-sans-choix .lcf-cata-hero-in{padding-bottom:28px}
  .lcf-cata .lcf-cata-lead{font-size:16px}
  .lcf-cata .lcf-cata-zone{margin-top:-64px;padding:0 12px}
  .lcf-cata .lcf-cata-card{padding:18px 16px;gap:18px}
  .lcf-cata .lcf-cata-title{font-size:24px}
  .lcf-cata .lcf-cata-res{padding:16px}
  .lcf-cata .lcf-cata-p{flex-direction:column;align-items:flex-start}
  .lcf-cata .lcf-cata-p img{flex-basis:120px;width:120px;height:120px}
  .lcf-cata .lcf-cata-band{margin-top:22px}
  .lcf-cata .lcf-cata-track{font-size:13px;gap:28px}
  body.lcf-cata-lisere .shop-page-title::before,body.lcf-cata-lisere .lcf-cata::before,body.lcf-cata-lisere #main::before,body.lcf-cata-lisere #footer::before{width:8px}
  .lcf-cata-bas .lcf-cata-track2{font-size:13px;gap:28px}
  .lcf-cata-bas .lcf-cata-cta{padding:24px 18px}
  .lcf-cata-bas .lcf-cata-cta-t{font-size:27px}
}
@media (prefers-reduced-motion:reduce){
  .lcf-cata .lcf-cata-track,.lcf-cata-bas .lcf-cata-track2{animation:none}
  .lcf-cata .lcf-cata-p{animation:none!important}
}
