.co-catalog { color:#1e1e1e; font:400 16px/1.5 Figtree,sans-serif; }
.co-catalog * { box-sizing:border-box; }
.co-catalog-header { padding:24px 0; background:#f0f1f0; }
.co-catalog-breadcrumb { margin-bottom:14px; font-size:12px; }
.co-catalog-breadcrumb p { margin:0; }
.co-catalog-title { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.co-catalog .co-catalog-title h1 { margin:0; padding:0; font:700 22px/1.3 Manrope,sans-serif; }
.co-catalog-title .gr-badge { margin:0; }
.co-catalog-intro { margin-top:14px; font-size:16px; line-height:24px; letter-spacing:-.32px; }
.co-catalog-intro p { margin:0 0 8px; }
.co-catalog-badges { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 0; padding:0; list-style:none; }
.co-catalog-badges li { padding:8px 14px; border-radius:30px; background:white; box-shadow:0 0 2px #0002; font-size:14px; }
.co-catalog-categories { display:flex; overflow-x:auto; gap:14px; margin-top:14px; scrollbar-width:thin; padding-bottom:4px; }
.co-catalog-categories a { flex:none; display:flex; align-items:center; gap:6px; padding:4px 14px 4px 4px; border-radius:8px; background:white; color:inherit; text-decoration:none; font-size:14px; }
.co-catalog-categories img,.co-catalog-categories picture { display:block; width:40px; height:40px; object-fit:cover; border-radius:4px; }
.co-catalog-categories a[aria-current=page] { box-shadow:inset 0 0 0 1px #1f3a5f; }
.co-catalog-results { padding-block:34px 60px; }
.co-catalog-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.co-catalog-toolbar .woocommerce-result-count,.co-catalog-toolbar .woocommerce-ordering { float:none; margin:0; }
.co-catalog .co-catalog-toolbar .woocommerce-ordering { width:auto; flex:0 1 207px; min-width:0; }
.co-catalog ul.products { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0; padding:0; list-style:none; }
.co-catalog ul.products::before,.co-catalog ul.products::after { display:none; }
.co-catalog ul.products li.co-catalog-item { width:100%!important; margin:0!important; padding:0; float:none; min-width:0; }
.co-catalog .co-card-details h3 { margin:0; padding:0; font:500 18px/24px Manrope,sans-serif; }
.co-catalog .co-card-details h3 a { color:inherit; }
.co-catalog .co-card-media a { margin:0; }
.co-catalog .woocommerce-pagination { margin-top:34px; }
@media(max-width:767px) {
    .co-catalog-title { flex-direction:column; align-items:flex-start; gap:10px; }
    /* 05/12/2026 : pastilles sur une seule ligne en mobile (elles défilent si l'écran est trop étroit). */
    .co-catalog-badges { flex-wrap:nowrap; gap:6px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
    .co-catalog-badges::-webkit-scrollbar { display:none; }
    .co-catalog-badges li { flex:none; padding:6px 11px; font-size:13px; line-height:1.3; white-space:nowrap; }
    .co-catalog-header { padding-block:20px; }
    .co-catalog-toolbar { gap:12px; flex-wrap:nowrap; }
    .co-catalog .co-catalog-toolbar .woocommerce-ordering { max-width:207px; flex:1 1 0; }
    .co-catalog ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
    .co-catalog .co-card-details { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:minmax(48px,auto) 10px auto; gap:6px 4px; align-items:start; }
    .co-catalog .co-card-details h3 { grid-column:1 / -1; grid-row:1; width:100%; font-size:18px; line-height:24px; }
    .co-catalog .co-card-colors { grid-column:1 / -1; grid-row:2; width:100%; }
    .co-catalog .co-card-price { grid-row:3; }
    .co-catalog .co-card-rating { grid-row:3; margin-left:auto; }
    .co-catalog .co-card-media { border-radius:12px; }
}
.co-catalog ul.products { width:100%!important; max-width:100%; }
.co-catalog .co-card-rating img,.co-catalog .co-card-rating picture { display:block; width:16px; height:16px; max-width:16px; margin:0; flex:none; }
.co-catalog .co-card-details h3 a { white-space:normal; overflow-wrap:anywhere; }

/* The custom cards supply their own hover behavior. */
body .co-catalog ul.products li.product.co-catalog-item::before {
    content: none;
    display: none;
}
.co-catalog ul.products li.co-catalog-item img,
.co-catalog ul.products li.co-catalog-item:hover img {
    transform: none;
}


/* Filtre du catalogue : refonte du 04/12/2026 (pointure en grille, compteurs, pastilles, mobile). */
.co-catalog-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:28px; padding-block:48px 60px; }
.co-catalog-layout .co-catalog-results { min-width:0; padding:0; }
.co-catalog-filters { min-width:0; padding-right:24px; border-right:1px solid #1e1e1e1f; }
.co-filter-drawer-header { display:none; }
.co-filter-group { padding:0 0 16px; margin:0 0 16px; border-bottom:1px solid #1e1e1e1f; }
.co-filter-group summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; list-style:none; cursor:pointer; color:#1e1e1e; font:600 17px/1.3 Figtree,sans-serif; }
.co-filter-group summary::-webkit-details-marker { display:none; }
.co-filter-group summary>img { flex:none; transform:rotate(-90deg); }
.co-filter-group[open] summary>img { transform:rotate(90deg); }
.co-filter-group summary:focus-visible { outline:2px solid #1f3a5f; outline-offset:2px; border-radius:6px; }
.co-filter-badge { display:inline-grid; place-items:center; min-width:22px; height:22px; margin-left:6px; padding:0 6px; border-radius:11px; background:#1f3a5f; color:#fff; font:700 12px/1 Figtree,sans-serif; vertical-align:2px; }
.co-catalog fieldset.co-filter-options { display:grid; gap:2px; min-width:0; margin:0; padding:6px 0 0; border:0; }
.co-filter-options select { width:100%; min-height:44px; }
.co-filter-choice { display:flex; align-items:center; gap:12px; min-height:44px; margin:0 -8px; padding:6px 8px; border-radius:8px; color:#1e1e1e; font-size:16px; line-height:1.3; cursor:pointer; }
.co-filter-choice:hover { background:#f0f1f0; }
.co-filter-choice input { flex:none; width:20px; height:20px; margin:0; accent-color:#1f3a5f; cursor:pointer; }
.co-filter-choice:has(input:focus-visible) { outline:2px solid #1f3a5f; outline-offset:1px; }
.co-filter-choice:has(input:checked) .co-choice-text { color:#1f3a5f; font-weight:600; }
.co-choice-text { flex:1 1 auto; min-width:0; }
.co-choice-count { flex:none; color:#5b6672; font-size:14px; font-variant-numeric:tabular-nums; }
.co-swatch { flex:none; width:22px; height:22px; border-radius:50%; box-shadow:inset 0 0 0 1px #0000002e; }
.co-catalog .co-filter-sizes fieldset.co-filter-options { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding-top:8px; }
.co-size { position:relative; display:block; margin:0; cursor:pointer; }
.co-size input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.co-size span { display:grid; place-items:center; min-height:44px; border:1px solid #1e1e1e33; border-radius:10px; background:#fff; color:#1e1e1e; font:600 16px/1 Figtree,sans-serif; font-variant-numeric:tabular-nums; }
.co-size:hover span { border-color:#1f3a5f; }
.co-size input:checked+span { border-color:#1f3a5f; background:#1f3a5f; color:#fff; }
.co-size input:focus-visible+span { outline:2px solid #1f3a5f; outline-offset:2px; }
.co-filter-actions { display:grid; gap:12px; }
.co-filter-apply { min-height:52px; padding:12px 16px; border:0; border-radius:10px; background:#1f3a5f; color:#fff; font:700 15px/1.2 Figtree,sans-serif; letter-spacing:.3px; cursor:pointer; }
.co-filter-reset { justify-self:start; color:#1f3a5f; font-size:15px; text-decoration:underline; text-underline-offset:3px; }
.co-filters-open,.co-filters-close { display:none; }
.co-catalog-loading #co-catalog-results { opacity:.5; pointer-events:none; }
.co-catalog-status { margin:0; }
.co-active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:-8px 0 22px; }
.co-active-filters ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.co-active-filters li { margin:0; }
.co-active-filters li a { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:6px 12px 6px 14px; border-radius:999px; background:#e6f2f0; color:#1f3a5f; font:600 14px/1.2 Figtree,sans-serif; text-decoration:none; }
.co-active-filters li a:hover { background:#d4e9e6; }
.co-active-filters li a:focus-visible,.co-active-clear:focus-visible { outline:2px solid #1f3a5f; outline-offset:2px; }
.co-active-x { font-size:18px; line-height:1; }
.co-active-clear { color:#1f3a5f; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
@media(min-width:768px) {
    .co-catalog-enhanced .co-filter-apply { display:none; }
}
@media(max-width:767px) {
    .co-catalog-layout { display:block; padding-block:20px 40px; }
    .co-catalog-filters { padding:0 0 24px; border:0; }
    .co-catalog-enhanced .co-catalog-filters { position:fixed; inset:0 auto 0 0; width:min(92vw,380px); height:100dvh; padding:0 20px; background:#fafbfb; z-index:100002; overflow-y:auto; overscroll-behavior:contain; visibility:hidden; transform:translateX(-100%); }
    .co-catalog-enhanced.co-filter-drawer-open .co-catalog-filters { visibility:visible; transform:translateX(0); }
    .co-catalog-enhanced .co-filter-drawer-header { position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; margin:0 -20px 8px; padding:16px 20px 12px; background:#fafbfb; border-bottom:1px solid #1e1e1e1f; }
    .co-filter-drawer-header h2 { margin:0; color:#1f3a5f; font:700 26px/1.2 Manrope,sans-serif; }
    .co-catalog-enhanced .co-filters-close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:#1f3a5f; font:400 30px/1 Figtree,sans-serif; }
    .co-catalog .co-filter-sizes fieldset.co-filter-options { grid-template-columns:repeat(5,minmax(0,1fr)); }
    .co-catalog-enhanced .co-filter-actions { position:sticky; bottom:0; z-index:2; margin:0 -20px; padding:14px 20px calc(14px + env(safe-area-inset-bottom)); background:#fafbfb; border-top:1px solid #1e1e1e1f; }
    .co-filter-reset { justify-self:center; }
    .co-catalog-enhanced .co-filters-open { position:sticky; top:calc(var(--cor-entete,0px) + 10px); z-index:20; display:inline-flex; align-items:center; gap:10px; min-height:48px; margin-bottom:16px; padding:10px 22px; border:1px solid #1f3a5f; border-radius:999px; background:#fff; color:#1f3a5f; font:600 16px/1 Figtree,sans-serif; box-shadow:0 4px 14px #1f3a5f1f; cursor:pointer; }
    .co-filters-count { display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 7px; border-radius:12px; background:#1f3a5f; color:#fff; font:700 13px/1 Figtree,sans-serif; }
    .co-filters-count[hidden] { display:none; }
    .co-filter-backdrop:not([hidden]) { position:fixed; inset:0; background:#10243d88; z-index:100001; }
    body.co-filter-scroll-lock { overflow:hidden; }
    .co-active-filters { margin:0 0 18px; }
}
.co-filter-apply:is(:hover,:focus-visible):not(:disabled) { background:#315276; }
.co-catalog-enhanced .co-filters-open:is(:hover,:focus-visible) { background:#e6f2f0; }
.co-catalog-enhanced .co-filters-close:is(:hover,:focus-visible) { color:#397f79; background:#e6f2f0; }
@media(prefers-reduced-motion:no-preference) {
    .co-filter-apply,.co-filters-open,.co-filters-close,.co-intro-toggle,.co-size span,.co-filter-choice,.co-active-filters li a { transition:background-color .18s ease,color .18s ease,border-color .18s ease; }
    .co-filter-group summary>img { transition:transform .18s ease; }
}


.co-catalog-bottom { padding-bottom:77px; }
.co-catalog-bottom .co-product-section { margin-top:77px; }
.co-catalog-bottom .co-reviews h2,
.co-catalog-bottom .co-instagram h2 { margin:0 0 24px; color:#1e1e1e; font:700 34px/1.35 Manrope,sans-serif; }
.co-catalog-bottom .co-instagram h2 { margin-bottom:0; }
@media(max-width:767px) {
    .co-catalog-bottom { padding-bottom:34px; }
    .co-catalog-bottom .co-product-section { margin-top:34px; }
    .co-catalog-bottom .co-reviews h2,
    .co-catalog-bottom .co-instagram h2 { font:700 34px/1.14 Manrope,sans-serif; }
}
.co-catalog-bottom .co-product-section:first-child { margin-top:17px; }
@media(max-width:767px) {
    .co-catalog-bottom .co-product-section:first-child { margin-top:0; }
}

.co-catalog-intro-more { position:relative; }
.co-catalog-intro-more summary { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; list-style:none; cursor:pointer; }
.co-catalog-intro-more summary::-webkit-details-marker { display:none; }
.co-intro-toggle { flex:none; display:inline-flex; align-items:center; justify-content:space-between; gap:10px; min-width:114px; margin-inline-start:auto; border-bottom:1px solid currentColor; padding-bottom:3px; white-space:nowrap; }
.co-intro-toggle img { display:block; flex:none; transform:rotate(90deg); }
.co-catalog-intro-more[open] .co-intro-toggle img { transform:rotate(-90deg); }
.co-intro-collapse { display:none; }
.co-catalog-intro-more[open] .co-intro-preview,.co-catalog-intro-more[open] .co-intro-expand { display:none; }
.co-catalog-intro-more[open] .co-intro-collapse { display:inline; }
.co-catalog-intro-more[open]>summary { position:absolute; top:0; right:0; }
.co-catalog-intro-more[open]>div { margin-top:0; padding-inline-end:138px; }
@media(max-width:767px) {
    .co-catalog-intro-more summary { flex-direction:column; gap:8px; }
    .co-catalog-intro-more[open]>summary { top:auto; bottom:0; }
    .co-catalog-intro-more[open]>div { padding-inline-end:0; padding-bottom:40px; }
}

.co-catalog-toolbar .woocommerce-result-count {
    display:flex;
    align-items:baseline;
    gap:4px;
    color:#1e1e1e;
    font:500 16px/27px Figtree,sans-serif;
    white-space:nowrap;
}
.co-catalog-toolbar .woocommerce-result-count strong { font-size:18px; font-weight:600; }
.co-catalog-toolbar .woocommerce-result-count span { color:#0006; }
.co-catalog .co-catalog-toolbar .woocommerce-ordering select {
    width:207px;
    max-width:100%;
    height:39px;
    margin:0;
    padding:8px 43px 8px 14px;
    border:.5px solid #1e1e1e33;
    border-radius:5px;
    box-shadow:none;
    background:transparent url(catalog-sort.svg) no-repeat right 14px center / 18px 18px;
    color:#a4a4a4;
    font:400 14px/19px Figtree,sans-serif;
    appearance:none;
    cursor:pointer;
}
.co-catalog-toolbar .woocommerce-ordering option { color:#1e1e1e; background:#fff; }

@media(max-width:767px){.co-catalog .co-catalog-title h1{font-family:Manrope,sans-serif;font-size:24px;line-height:1.25;font-weight:700}} /* 05/12/2026 : 34px -> 24px, la grille remonte */


.co-intro-toggle:is(:hover,:focus-visible),.co-catalog-intro-more summary:is(:hover,:focus-visible) .co-intro-toggle{color:#397f79}
/* Résultats ramenés en haut (pagination, « Voir les N modèles ») : sous l'en-tête collant, pas dessous. */
#co-catalog-results { scroll-margin-top:calc(var(--cor-entete,0px) + 12px); }
