  /* Reset scoppé — ne déborde pas hors du composant */
  .glc-cats-v3c, .glc-cats-v3c *, .glc-cats-v3c *::before, .glc-cats-v3c *::after { box-sizing: border-box; }
  .glc-cats-v3c {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    -webkit-font-smoothing: antialiased;
  }
  .glc-cats-v3c a { color: inherit; text-decoration: none; }

  /* .container retiré (v1.3.2) — fuyait sur le reste du site.
     Le layout est repris ci-dessous via .glc-cats-v3c .container scoppé. */
  .glc-cats-v3c .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 64px;
  }

  .glc-cats-v3c h2.section-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 24px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 10px;
  }
  .glc-cats-v3c h2.section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 56px; height: 3px;
    background: linear-gradient(90deg, #7e1e57, #a8388f);
    border-radius: 2px;
  }

  /* Hide radios visually but keep them keyboard-focusable */
  .glc-cats-v3c .cat-radio {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
  }

  /* Tile grid (the "tabs") */
  .glc-cats-v3c .tabs-wrap {
    /* Tile grid */
  }
  .glc-cats-v3c .tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }
  /* 12 tuiles = 2 lignes de 6 tuiles, grille propre */
  .glc-cats-v3c .tiles {
    grid-template-columns: repeat(6, 1fr);
  }

  .glc-cats-v3c .tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    contain: layout style paint;
    user-select: none;
    min-height: 130px;
  }
  .glc-cats-v3c .tile:hover {
    border-color: #7e1e57;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 30, 87, 0.10);
  }
  .glc-cats-v3c .tile-img-wrap {
    width: 64px; height: 64px;
    border-radius: 999px;
    background: #f1f1f4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s ease;
  }
  .glc-cats-v3c .tile-img-wrap img {
    width: 50px; height: 50px;
    object-fit: contain;
    display: block;
  }
  .glc-cats-v3c h3.tile-title, .glc-cats-v3c .tile-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: #2a2a2a;
    margin: 0;
  }
  .glc-cats-v3c .tile-chev {
    font-size: 12px;
    color: #999;
    line-height: 1;
  }

  /* Active tile state — driven by :checked further down */
  /* Triangle pointer (hidden by default) */
  .glc-cats-v3c .tile::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid transparent;
    pointer-events: none;
    z-index: 2;
  }

  /* Keyboard focus on the (hidden) radio shows ring on its label */
  .glc-cats-v3c .cat-radio:focus-visible + .tile {
    outline: 3px solid #a8388f;
    outline-offset: 2px;
  }

  /* Panels container: stacked, each hidden by default */
  .glc-cats-v3c .panels {
    position: relative;
    margin-top: 16px;
  }
  .glc-cats-v3c .panel {
    display: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    contain: layout style paint;
  }
  .glc-cats-v3c .panel-accent {
    height: 4px;
    background: linear-gradient(90deg, #7e1e57, #57143f);
  }
  .glc-cats-v3c .panel-body {
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto;
    gap: 24px;
    align-items: start;
  }
  .glc-cats-v3c .panel-body > .panel-hero { grid-column: 1; grid-row: 1; }
  .glc-cats-v3c .panel-body > .panel-chips { grid-column: 2; grid-row: 1; }
  .glc-cats-v3c .panel-hero {
    text-align: center;
  }
  .glc-cats-v3c .panel-hero-img {
    width: 120px; height: 120px;
    background: #f7f1f5;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  .glc-cats-v3c .panel-hero-img img {
    width: 100px; height: 100px;
    object-fit: contain;
    display: block;
  }
  /* v1.3.12 — Le titre du panel est un <h2> (SEO). On garde le rendu
     visuel compact (pas un H2 énorme) via .panel-hero-title. */
  .glc-cats-v3c .panel-hero h2,
  .glc-cats-v3c .panel-hero-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #7e1e57;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
  .glc-cats-v3c .panel-hero p.tagline {
    margin: 0 0 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.35;
  }
  .glc-cats-v3c .cta-btn {
    display: inline-block;
    background: #7e1e57;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background .18s ease, transform .18s ease;
  }
  .glc-cats-v3c .cta-btn:hover { background: #57143f; transform: translateY(-1px); }

  .glc-cats-v3c .panel-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px 24px;
    align-content: start;
  }
  .glc-cats-v3c .panel-chips > .chip-group {
    min-width: 0; /* permet le wrap propre des chips */
  }
  .glc-cats-v3c .chip-group { }
  .glc-cats-v3c .chip-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 8px;
    display: block;
  }
  .glc-cats-v3c .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .glc-cats-v3c .chip {
    display: inline-block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    text-decoration: none;
    line-height: 1.3;
  }
  .glc-cats-v3c .chip:hover {
    background: #7e1e57;
    color: #fff;
    border-color: #7e1e57;
    transform: translateY(-1px);
  }

  /* Use-case chips — visuellement plus saillants que les marques */
  .glc-cats-v3c .chip-usecase {
    background: linear-gradient(135deg, #fff5f9 0%, #fdebf3 100%);
    border-color: #e6c5d6;
    color: #57143f;
    font-weight: 700;
  }
  .glc-cats-v3c .chip-usecase:hover {
    background: #7e1e57;
    color: #fff;
    border-color: #7e1e57;
  }
  .glc-cats-v3c .chip-group-usecase .chip-label {
    color: #7e1e57;
  }

  /* THE CSS-ONLY SWITCH: :checked sibling selectors
     Each radio toggles its corresponding tile + its corresponding panel. */
  /* Active tile styling */
  .glc-cats-v3c #cat-1:checked  ~ .tabs-wrap .tile-1, .glc-cats-v3c #cat-2:checked  ~ .tabs-wrap .tile-2, .glc-cats-v3c #cat-3:checked  ~ .tabs-wrap .tile-3, .glc-cats-v3c #cat-4:checked  ~ .tabs-wrap .tile-4, .glc-cats-v3c #cat-5:checked  ~ .tabs-wrap .tile-5, .glc-cats-v3c #cat-6:checked  ~ .tabs-wrap .tile-6, .glc-cats-v3c #cat-7:checked  ~ .tabs-wrap .tile-7, .glc-cats-v3c #cat-8:checked  ~ .tabs-wrap .tile-8, .glc-cats-v3c #cat-9:checked  ~ .tabs-wrap .tile-9, .glc-cats-v3c #cat-10:checked ~ .tabs-wrap .tile-10, .glc-cats-v3c #cat-11:checked ~ .tabs-wrap .tile-11, .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12 {
    background: #7e1e57;
    border-color: #7e1e57;
    box-shadow: 0 8px 20px rgba(126, 30, 87, 0.28);
    color: #fff;
  }
  .glc-cats-v3c #cat-1:checked  ~ .tabs-wrap .tile-1 .tile-title, .glc-cats-v3c #cat-2:checked  ~ .tabs-wrap .tile-2 .tile-title, .glc-cats-v3c #cat-3:checked  ~ .tabs-wrap .tile-3 .tile-title, .glc-cats-v3c #cat-4:checked  ~ .tabs-wrap .tile-4 .tile-title, .glc-cats-v3c #cat-5:checked  ~ .tabs-wrap .tile-5 .tile-title, .glc-cats-v3c #cat-6:checked  ~ .tabs-wrap .tile-6 .tile-title, .glc-cats-v3c #cat-7:checked  ~ .tabs-wrap .tile-7 .tile-title, .glc-cats-v3c #cat-8:checked  ~ .tabs-wrap .tile-8 .tile-title, .glc-cats-v3c #cat-9:checked  ~ .tabs-wrap .tile-9 .tile-title, .glc-cats-v3c #cat-10:checked ~ .tabs-wrap .tile-10 .tile-title, .glc-cats-v3c #cat-11:checked ~ .tabs-wrap .tile-11 .tile-title, .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12 .tile-title {
    color: #fff;
  }
  .glc-cats-v3c #cat-1:checked  ~ .tabs-wrap .tile-1 .tile-img-wrap, .glc-cats-v3c #cat-2:checked  ~ .tabs-wrap .tile-2 .tile-img-wrap, .glc-cats-v3c #cat-3:checked  ~ .tabs-wrap .tile-3 .tile-img-wrap, .glc-cats-v3c #cat-4:checked  ~ .tabs-wrap .tile-4 .tile-img-wrap, .glc-cats-v3c #cat-5:checked  ~ .tabs-wrap .tile-5 .tile-img-wrap, .glc-cats-v3c #cat-6:checked  ~ .tabs-wrap .tile-6 .tile-img-wrap, .glc-cats-v3c #cat-7:checked  ~ .tabs-wrap .tile-7 .tile-img-wrap, .glc-cats-v3c #cat-8:checked  ~ .tabs-wrap .tile-8 .tile-img-wrap, .glc-cats-v3c #cat-9:checked  ~ .tabs-wrap .tile-9 .tile-img-wrap, .glc-cats-v3c #cat-10:checked ~ .tabs-wrap .tile-10 .tile-img-wrap, .glc-cats-v3c #cat-11:checked ~ .tabs-wrap .tile-11 .tile-img-wrap, .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12 .tile-img-wrap {
    background: #fff;
  }
  .glc-cats-v3c #cat-1:checked  ~ .tabs-wrap .tile-1 .tile-chev, .glc-cats-v3c #cat-2:checked  ~ .tabs-wrap .tile-2 .tile-chev, .glc-cats-v3c #cat-3:checked  ~ .tabs-wrap .tile-3 .tile-chev, .glc-cats-v3c #cat-4:checked  ~ .tabs-wrap .tile-4 .tile-chev, .glc-cats-v3c #cat-5:checked  ~ .tabs-wrap .tile-5 .tile-chev, .glc-cats-v3c #cat-6:checked  ~ .tabs-wrap .tile-6 .tile-chev, .glc-cats-v3c #cat-7:checked  ~ .tabs-wrap .tile-7 .tile-chev, .glc-cats-v3c #cat-8:checked  ~ .tabs-wrap .tile-8 .tile-chev, .glc-cats-v3c #cat-9:checked  ~ .tabs-wrap .tile-9 .tile-chev, .glc-cats-v3c #cat-10:checked ~ .tabs-wrap .tile-10 .tile-chev, .glc-cats-v3c #cat-11:checked ~ .tabs-wrap .tile-11 .tile-chev, .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12 .tile-chev {
    color: rgba(255,255,255,0.85);
  }
  /* Triangle pointer becomes visible on the active tile */
  .glc-cats-v3c #cat-1:checked  ~ .tabs-wrap .tile-1::after, .glc-cats-v3c #cat-2:checked  ~ .tabs-wrap .tile-2::after, .glc-cats-v3c #cat-3:checked  ~ .tabs-wrap .tile-3::after, .glc-cats-v3c #cat-4:checked  ~ .tabs-wrap .tile-4::after, .glc-cats-v3c #cat-5:checked  ~ .tabs-wrap .tile-5::after, .glc-cats-v3c #cat-6:checked  ~ .tabs-wrap .tile-6::after, .glc-cats-v3c #cat-7:checked  ~ .tabs-wrap .tile-7::after, .glc-cats-v3c #cat-8:checked  ~ .tabs-wrap .tile-8::after, .glc-cats-v3c #cat-9:checked  ~ .tabs-wrap .tile-9::after, .glc-cats-v3c #cat-10:checked ~ .tabs-wrap .tile-10::after, .glc-cats-v3c #cat-11:checked ~ .tabs-wrap .tile-11::after, .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12::after {
    border-top-color: #7e1e57;
  }

  /* Show the matching panel */
  .glc-cats-v3c #cat-1:checked  ~ .panels .panel-1, .glc-cats-v3c #cat-2:checked  ~ .panels .panel-2, .glc-cats-v3c #cat-3:checked  ~ .panels .panel-3, .glc-cats-v3c #cat-4:checked  ~ .panels .panel-4, .glc-cats-v3c #cat-5:checked  ~ .panels .panel-5, .glc-cats-v3c #cat-6:checked  ~ .panels .panel-6, .glc-cats-v3c #cat-7:checked  ~ .panels .panel-7, .glc-cats-v3c #cat-8:checked  ~ .panels .panel-8, .glc-cats-v3c #cat-9:checked  ~ .panels .panel-9, .glc-cats-v3c #cat-10:checked ~ .panels .panel-10, .glc-cats-v3c #cat-11:checked ~ .panels .panel-11, .glc-cats-v3c #cat-12:checked ~ .panels .panel-12 {
    display: block;
  }

  /* Hero saisonnier (panel-12) avec emoji XL */
  .glc-cats-v3c .panel-hero-img[data-season-hero] {
    font-size: 64px;
    line-height: 1;
    background: linear-gradient(135deg, #fff8e0 0%, #ffeec2 100%);
  }

  /* Tuile saisonnière — accent visuel distinctif */
  .glc-cats-v3c .tile-12 {
    background: linear-gradient(135deg, #fff5f9 0%, #fdebf3 100%);
    border-color: #d4a017;
    border-width: 2px;
    border-style: dashed;
  }
  .glc-cats-v3c .tile-12 .tile-img-wrap {
    background: linear-gradient(135deg, #fff8e0 0%, #ffeec2 100%);
    font-size: 32px;
  }
  .glc-cats-v3c .tile-12 .tile-title { color: #57143f; }
  .glc-cats-v3c #cat-12:checked ~ .tabs-wrap .tile-12 {
    background: linear-gradient(135deg, #7e1e57 0%, #d4a017 100%);
    border-style: solid;
    border-color: #d4a017;
  }

  /* Tablet */
  @media (max-width: 991px) {
    .glc-cats-v3c .tiles { grid-template-columns: repeat(12, 1fr); }
    .glc-cats-v3c .tile { grid-column: span 3; } /* 4 cols */
    .glc-cats-v3c .tile:nth-child(7) { grid-column: span 3; }
    .glc-cats-v3c .tile:nth-child(9) { grid-column: 4 / span 3; } /* center bottom row of 3 tiles 9-11 */
    .glc-cats-v3c .tile:nth-child(10) { grid-column: span 3; }
    .glc-cats-v3c .tile:nth-child(11) { grid-column: span 3; }
    .glc-cats-v3c .panel-body {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .glc-cats-v3c .panel-hero { text-align: center; }
    .glc-cats-v3c .panel-chips { text-align: left; }
  }

  /* Mobile: horizontal scroll-snap row, scrollbar masquée + indicateur visible */
  .glc-cats-v3c .swipe-hint {
    display: none;
  }
  .glc-cats-v3c .scroll-arrow {
    display: none;
  }

  @media (max-width: 767px) {
    .glc-cats-v3c .container { padding: 20px 0 48px; }
    .glc-cats-v3c h2.section-title { padding-left: 16px; padding-right: 16px; margin-bottom: 8px; }
    .glc-cats-v3c .preview-banner { font-size: 12px; }

    /* Hint texte "Glissez ←→" au-dessus des tuiles */
    .glc-cats-v3c .swipe-hint {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 0 16px 12px;
      padding: 6px 12px;
      background: rgba(126, 30, 87, 0.08);
      color: #7e1e57;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border-radius: 999px;
      width: fit-content;
      animation: swipe-hint-pulse 2s ease-in-out infinite;
    }
    .glc-cats-v3c .swipe-hint .arrows {
      letter-spacing: -2px;
      font-size: 14px;
    }
    @keyframes swipe-hint-pulse {
      0%, 100% { opacity: 0.85; transform: translateX(0); }
      50% { opacity: 1; transform: translateX(3px); }
    }

    .glc-cats-v3c .tabs-wrap {
      position: relative;
    }

    /* Fade gradient subtil sur les bords */
    .glc-cats-v3c .tabs-wrap::before, .glc-cats-v3c .tabs-wrap::after {
      content: "";
      position: absolute;
      top: 0; bottom: 0;
      width: 30px;
      pointer-events: none;
      z-index: 2;
    }
    .glc-cats-v3c .tabs-wrap::before {
      left: 0;
      background: linear-gradient(to right, #f7f7f9 0%, rgba(247,247,249,0) 100%);
    }
    .glc-cats-v3c .tabs-wrap::after {
      right: 0;
      background: linear-gradient(to left, #f7f7f9 0%, rgba(247,247,249,0) 100%);
    }

    /* Flèche violette à droite — indicateur "y'en a d'autres" */
    .glc-cats-v3c .scroll-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #7e1e57;
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
      z-index: 3;
      pointer-events: none;
      box-shadow: 0 2px 8px rgba(126, 30, 87, 0.35);
      animation: scroll-arrow-bounce 1.6s ease-in-out infinite;
    }
    .glc-cats-v3c .scroll-arrow.right { right: 8px; }
    .glc-cats-v3c .scroll-arrow.left {
      left: 8px;
      display: none; /* affiché uniquement après scroll via JS si on en met, sinon cachée */
    }
    @keyframes scroll-arrow-bounce {
      0%, 100% { transform: translateY(-50%) translateX(0); }
      50% { transform: translateY(-50%) translateX(-4px); }
    }

    .glc-cats-v3c .tiles {
      display: flex;
      grid-template-columns: none;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scroll-padding-left: 16px;
      gap: 10px;
      padding: 4px 48px 12px 16px; /* padding-right plus large pour la flèche */
      -webkit-overflow-scrolling: touch;
      /* Active explicitement le swipe horizontal au doigt */
      touch-action: pan-x;
      /* Scrollbar masquée */
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .glc-cats-v3c .tiles::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    .glc-cats-v3c .tile, .glc-cats-v3c .tile:nth-child(7), .glc-cats-v3c .tile:nth-child(9), .glc-cats-v3c .tile:nth-child(10), .glc-cats-v3c .tile:nth-child(11) {
      flex: 0 0 35%;
      min-width: 125px;
      max-width: 145px;
      grid-column: auto;
      scroll-snap-align: start;
      margin-left: 0;
      /* Permet le tap sans bloquer le pan */
      touch-action: manipulation;
    }
    .glc-cats-v3c .tile:first-child { margin-left: 0; }
    .glc-cats-v3c .panel { border-radius: 12px; margin: 0 16px; }
    .glc-cats-v3c .panel-body { padding: 18px; gap: 14px; }
    .glc-cats-v3c .panel-hero-img { width: 96px; height: 96px; }
    .glc-cats-v3c .panel-hero-img img { width: 80px; height: 80px; }
  }

  /* ============================================================
     TOP VENTES — bandeau sous chaque panel
     5 emplacements alimentés par requête SQL côté serveur
     ============================================================ */
  .glc-cats-v3c .panel-topsales {
    border-top: 1px solid #f0f0f0;
    padding: 18px 32px 22px;
    background: #fafafa;
  }
  .glc-cats-v3c .topsales-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .glc-cats-v3c .topsales-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7e1e57;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .glc-cats-v3c .topsales-label::before {
    content: "★";
    color: #d4a017;
    font-size: 13px;
  }
  .glc-cats-v3c .topsales-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7e1e57;
    border-bottom: 1px dotted #7e1e57;
  }
  .glc-cats-v3c .topsales-link:hover { color: #57143f; border-bottom-color: #57143f; }

  .glc-cats-v3c .topsales-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
  .glc-cats-v3c .topsales-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 10px 8px 12px;
    text-align: center;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    contain: layout style paint;
  }
  .glc-cats-v3c .topsales-card:hover {
    border-color: #7e1e57;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 30, 87, 0.10);
  }

  .glc-cats-v3c .topsales-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f7f1f5 0%, #f1f1f4 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .glc-cats-v3c .topsales-img img {
    width: 85%;
    height: 85%;
    object-fit: contain;
  }
  .glc-cats-v3c .topsales-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #2a2a2a;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  @media (max-width: 991px) {
    .glc-cats-v3c .panel-topsales { padding: 16px 20px 20px; }
    .glc-cats-v3c .topsales-grid { grid-template-columns: repeat(3, 1fr); }
    .glc-cats-v3c .topsales-card:nth-child(n+4) { display: none; }
  }
  @media (max-width: 767px) {
    .glc-cats-v3c .panel-topsales { padding: 14px 16px 18px; }
    .glc-cats-v3c .topsales-grid {
      display: flex;
      grid-template-columns: none;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 10px;
      padding: 2px 4px 6px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
    }
    .glc-cats-v3c .topsales-grid::-webkit-scrollbar { display: none; }
    .glc-cats-v3c .topsales-card, .glc-cats-v3c .topsales-card:nth-child(n+4) {
      display: flex;
      flex: 0 0 42%;
      min-width: 130px;
      scroll-snap-align: start;
    }
  }

  /* Dot-indicator mobile (créé via JS, visible uniquement <768px) */
  .glc-cats-v3c .tile-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 4px;
  }
  @media (max-width: 767px) {
    .glc-cats-v3c .tile-dots { display: flex; }
  }
  .glc-cats-v3c .tile-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d6c2cf;
    transition: background .2s ease, width .2s ease;
  }
  .glc-cats-v3c .tile-dot.active {
    background: #7e1e57;
    width: 18px;
    border-radius: 3px;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .glc-cats-v3c *, .glc-cats-v3c *::before, .glc-cats-v3c *::after {
      transition: none !important;
      animation: none !important;
    }
    .glc-cats-v3c .tile:hover { transform: none; }
    .glc-cats-v3c .cta-btn:hover { transform: none; }
    .glc-cats-v3c .chip:hover { transform: none; }
  }

  /* =================================================================
   * v1.3.0 — Patches a11y / pattern tabs ARIA / contrastes WCAG AA
   * Surchargent les anciens sélecteurs :checked (radios désormais
   * cachés, l'état tabs est géré via aria-selected + [hidden]).
   * ================================================================= */

  /* Cacher proprement les radios fallback CSS-only */
  .glc-cats-v3c .glc-fallback-radios { display: none !important; }

  /* button.tile : reset des styles button par défaut, identique visuellement à l'ancienne <label.tile> */
  .glc-cats-v3c button.tile {
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #e5e5e5;
  }
  .glc-cats-v3c button.tile:hover {
    border-color: #7e1e57;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 30, 87, 0.10);
  }

  /* État actif d'une tuile via aria-selected (au lieu de :checked) */
  .glc-cats-v3c .tile[aria-selected="true"] {
    background: #7e1e57;
    border-color: #7e1e57;
    box-shadow: 0 6px 18px rgba(126, 30, 87, 0.25);
    color: #fff;
  }
  .glc-cats-v3c .tile[aria-selected="true"] .tile-title {
    color: #fff;
  }
  .glc-cats-v3c .tile[aria-selected="true"] .tile-img-wrap {
    background: rgba(255, 255, 255, 0.18);
  }
  .glc-cats-v3c .tile[aria-selected="true"] .tile-chev {
    color: #fff;
    transform: rotate(180deg);
  }
  .glc-cats-v3c .tile[aria-selected="true"]::after {
    border-top-color: #7e1e57;
  }

  /* Focus visible sur les boutons tab (clavier) */
  .glc-cats-v3c .tile:focus-visible {
    outline: 3px solid #a8388f;
    outline-offset: 2px;
    z-index: 3;
  }
  /* Suppression du focus par défaut au click souris */
  .glc-cats-v3c .tile:focus:not(:focus-visible) {
    outline: none;
  }

  /* v1.3.12 — Affichage des panels piloté UNIQUEMENT par .is-active
     (plus de [hidden] dans le HTML). Permet à Googlebot d'indexer le
     contenu des 12 panels au lieu de seulement le panel actif. */
  .glc-cats-v3c .panel { display: none; }
  .glc-cats-v3c .panel.is-active { display: block; }

  /* WCAG AA — contrastes texte */
  .glc-cats-v3c .chip-label { color: #595959; }   /* anc. #888 (4.48:1) → 7.0:1 ✓ */
  .glc-cats-v3c .tile-chev { color: #595959; }   /* anc. #999 → AA */

  /* JS désactive les radios fallback : les sélecteurs :checked ne s'appliquent plus
     mais on neutralise quand même au cas où le JS ne se charge pas. */
  .glc-cats-v3c .glc-fallback-radios .cat-radio { position: static; clip: auto; }

  /* =================================================================
   * v1.3.6 — Force les couleurs sur fonds colorés (bypass spécificité
   * thème). Beaucoup de thèmes PrestaShop ont des règles type
   * `.not-index #columns #center_column a { color: #777 }` qui écrasent
   * silencieusement nos couleurs sur les CTA → texte gris invisible
   * sur fond violet. !important nécessaire ici.
   * ================================================================= */
  .glc-cats-v3c .cta-btn,
  .glc-cats-v3c .cta-btn:link,
  .glc-cats-v3c .cta-btn:hover,
  .glc-cats-v3c .cta-btn:focus,
  .glc-cats-v3c .cta-btn:active,
  .glc-cats-v3c .cta-btn:visited { color: #fff !important; }

  .glc-cats-v3c .topsales-link,
  .glc-cats-v3c .topsales-link:link,
  .glc-cats-v3c .topsales-link:visited,
  .glc-cats-v3c .topsales-link:focus { color: #7e1e57 !important; }
  .glc-cats-v3c .topsales-link:hover { color: #57143f !important; }

  /* v1.3.8 — Couvre tous les états (:link, :visited, :focus, :active)
     pour battre les sélecteurs ultra-spécifiques des thèmes (ex: iqit). */
  .glc-cats-v3c .chip,
  .glc-cats-v3c .chip:link,
  .glc-cats-v3c .chip:visited,
  .glc-cats-v3c .chip:focus,
  .glc-cats-v3c .chip:active { color: #333 !important; }
  .glc-cats-v3c .chip:hover { color: #fff !important; }

  .glc-cats-v3c .chip-usecase,
  .glc-cats-v3c .chip-usecase:link,
  .glc-cats-v3c .chip-usecase:visited,
  .glc-cats-v3c .chip-usecase:focus,
  .glc-cats-v3c .chip-usecase:active { color: #57143f !important; }
  .glc-cats-v3c .chip-usecase:hover { color: #fff !important; }

  .glc-cats-v3c .topsales-card,
  .glc-cats-v3c .topsales-card:visited,
  .glc-cats-v3c .topsales-card:hover,
  .glc-cats-v3c .topsales-name { color: #222 !important; }

  .glc-cats-v3c .tile { color: #222 !important; }
  .glc-cats-v3c .tile[aria-selected="true"],
  .glc-cats-v3c .tile[aria-selected="true"] .tile-title { color: #fff !important; }

  /* =================================================================
   * v1.3.6 — Chevron triangle CSS pur (universel) plutôt que le
   * caractère unicode ▾ qui ne se rend pas correctement dans toutes
   * les fontes (apparaît comme « - » sur certaines).
   * ================================================================= */
  .glc-cats-v3c .tile-chev {
    font-size: 0 !important;
    line-height: 0 !important;
    width: 0;
    height: 0;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-bottom: 0 !important;
    border-top: 6px solid #595959 !important;
    display: inline-block;
    margin-top: 4px;
    transition: transform .18s ease;
  }
  .glc-cats-v3c .tile[aria-selected="true"] .tile-chev {
    border-top-color: #fff !important;
    transform: rotate(180deg);
  }
