/* --- Contenedor Principal --- */
  .kz-cat-shell { padding: 24px 0 60px; }

  /* --- Botón Volver Flotante --- */
  .kz-btn-back {
    position: fixed; bottom: 24px; left: 20px; z-index: 50;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 999px;
    background: rgba(246, 206, 31, 0.15); color: #f6ce1f;
    text-decoration: none; font: 900 14px/1 Inter, sans-serif;
    text-transform: uppercase; letter-spacing: 0.05em;
    border: 1px solid rgba(246, 206, 31, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 12px rgba(246, 206, 31, 0.2);
    transition: all 0.2s ease;
  }
  .kz-btn-back:hover { background: rgba(246, 206, 31, 0.25); transform: translateY(-2px); }

  /* --- HEADER LIMPIO Y PREMIUM --- */
  .kz-cat-header {
    position: relative; text-align: center; margin-bottom: 24px;
    border-radius: 24px; overflow: hidden;
    min-height: 210px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px 20px 20px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  }

  .kz-header-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    background: #05070a;
  }
  .kz-header-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
    animation: slowHeroZoom 25s ease-out forwards;
    opacity: 0.65;
  }
  @keyframes slowHeroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

  .kz-header-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(3,4,7,0.3) 0%, rgba(3,4,7,0.6) 50%, rgba(3,4,7,0.95) 100%);
  }

  .kz-header-content { position: relative; z-index: 2; }

  .kz-cat-kicker {
    display: block; margin-bottom: 14px;
    color: #f6ce1f; font: 600 11px/1 Inter, sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 0.3em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  }
  .kz-cat-kicker::before {
    content: ""; display: block; width: 30px; height: 2px;
    background: #f6ce1f; margin: 0 auto 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.8);
    border-radius: 2px;
  }
  
  .kz-cat-title {
    margin: 0; 
    font: 900 clamp(32px, 8vw, 60px)/1.1 Inter, system-ui, sans-serif;
    text-transform: uppercase; letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.8);
  }
  
  .kz-cat-subtitle {
    margin: 18px auto 0; max-width: 520px;
    color: rgba(255,255,255,0.85);
    font: 400 14px/1.6 Inter, sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    letter-spacing: 0.01em;
  }

  .kz-choreo-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  }
  @media (min-width: 640px) { .kz-choreo-grid { gap: 24px; } }
  @media (min-width: 900px) { .kz-choreo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1200px){ .kz-choreo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  .kz-choreo-card {
    position: relative; overflow: hidden; border-radius: 22px;
    text-decoration: none; display: flex; flex-direction: column;
    aspect-ratio: 2 / 3;
    background: linear-gradient(180deg, rgba(8,12,20,.92), rgba(3,4,7,.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.56), inset 0 1px 0 rgba(255,255,255,.04);
    transition: transform .35s var(--groups-ease, ease), border-color .35s ease, box-shadow .35s ease, opacity .3s;
  }
  .kz-choreo-card:hover {
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(246,206,31,0.48);
    box-shadow: 0 28px 58px rgba(0,0,0,0.82), 0 0 34px rgba(246,206,31,0.14);
    z-index: 2;
  }

  .kz-choreo-media {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
  }
  .kz-choreo-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
  }
  .kz-choreo-card:hover .kz-choreo-media img {
    transform: scale(1.1);
  }

  .kz-choreo-badge {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    background: rgba(0,0,0,0.7); color: #fff; border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 10px; border-radius: 6px; font: 800 10px/1 Inter, sans-serif;
    backdrop-filter: blur(8px); letter-spacing: 0.05em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  .kz-choreo-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.95) 100%);
  }

  .kz-choreo-content {
    position: relative; z-index: 3;
    margin-top: auto;
    padding: 64px 18px 22px;
    display: flex; align-items: flex-end; justify-content: center;
  }
  
  .kz-choreo-title {
    position: relative;
    margin: 0;
    width: 100%;
    text-align: center;
    font: 400 clamp(34px, 4.2vw, 54px)/0.9 'Bebas Neue', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    text-shadow: 0 12px 30px rgba(0,0,0,0.96), 0 4px 12px rgba(0,0,0,0.88);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .25s ease, transform .25s ease, text-shadow .25s ease;
  }
  .kz-choreo-title::before {
    content: "";
    display: block;
    width: min(92px, 40%);
    height: 3px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(246,206,31,0), rgba(246,206,31,.95), rgba(246,206,31,0));
    box-shadow: 0 0 18px rgba(246,206,31,.28);
  }
  .kz-choreo-card:hover .kz-choreo-title {
    color: #f6ce1f;
  }  

  .kz-bubble-tabs {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-bottom: 30px; transition: opacity 0.3s;
  }
  .kz-bubble-tab {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6); padding: 12px 24px; border-radius: 999px;
    font: 700 13px/1 Inter, sans-serif; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.08em;
  }
  .kz-bubble-tab:hover {
    background: rgba(255,255,255,0.08); color: #fff; transform: translateY(-2px);
  }
  .kz-bubble-tab.active {
    background: rgba(246, 206, 31, 0.15); color: #f6ce1f;
    border-color: rgba(246, 206, 31, 0.4);
    box-shadow: 0 4px 16px rgba(246, 206, 31, 0.2);
  }
  
  .kz-bubble-section { display: none; animation: fadeInTab 0.5s ease; content-visibility: auto; contain-intrinsic-size: 1200px; }
  .kz-bubble-section.active { display: block; }
  @keyframes fadeInTab { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

  .kz-bubble-title {
    width: 100%; margin: 40px 0 20px;
    font: 800 22px/1.2 Inter, system-ui, sans-serif;
    color: #f6ce1f; text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(246, 206, 31, 0.2);
    padding-bottom: 10px;
  }
  .kz-bubble-section { margin-bottom: 40px; }

  .kz-empty-state {
    text-align: center; padding: 60px 20px; border-radius: 24px;
    background: rgba(10,15,25,0.6); border: 1px dashed rgba(255,255,255,0.15);
    color: #bfc6d6; font: 500 16px/1.5 Inter, sans-serif;
  }

  /* --- TOOLBAR (Mobile Base) --- */
  .kz-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0 40px;
  }
  .kz-toolbar-title {
    margin: 0; color: #fff; text-align: center;
    font: 400 clamp(32px, 8vw, 46px)/1 'Bebas Neue', sans-serif;
    text-transform: uppercase; letter-spacing: 0.04em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    width: 100%; display: block;
  }
  .kz-toolbar-title span{ color: #f6ce1f; }

  .kz-search-container {
    position: relative; width: 100%; max-width: 400px; margin: 0;
    transition: transform 0.3s ease;
  }
  .kz-search-container:hover { transform: translateY(-2px); }
  
  .kz-search-input {
    width: 100%; padding: 14px 20px 14px 46px;
    background: rgba(10, 15, 27, 0.7);
    border: 1px solid rgba(255, 159, 28, 0.4);
    border-radius: 999px; color: #fff; font: 500 14px/1 Inter, sans-serif;
    outline: none; transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
  }
  
  .kz-search-input:focus {
    background: #05070a;
    border: 1px solid #ff9f1c;
    box-shadow: 0 12px 32px rgba(255, 159, 28, 0.35), inset 0 2px 10px rgba(0,0,0,0.8);
    transform: scale(1.02);
  }
  
  .kz-search-input::placeholder { color: rgba(255,255,255,0.4); font-weight: 400; }
  
  .kz-search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; pointer-events: none;
    color: rgba(255, 159, 28, 0.6);
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
  }

  .kz-search-icon svg {
    width: 100%; height: 100%; display: block;
  }
  
  .kz-search-container:focus-within .kz-search-icon {
    color: #ff9f1c; 
    filter: drop-shadow(0 0 6px rgba(255, 159, 28, 0.6));
  }

  /* ===============================
     DESKTOP ONLY REFINEMENT
     =============================== */
  @media (min-width: 1024px){
    :root{
      --groups-max: 1820px;
      --groups-ease: cubic-bezier(.22,.61,.36,1);
      --groups-line: rgba(255,255,255,.07);
      --groups-line-soft: rgba(255,255,255,.04);
      --groups-line-gold: rgba(246,206,31,.34);
      --groups-text: rgba(247,249,255,.96);
      --groups-text-soft: rgba(232,238,251,.74);
      --groups-text-muted: rgba(215,223,241,.50);
    }

    body.page-category-groups.kz-public-body{
      background:
        radial-gradient(circle at 12% 14%, rgba(246,206,31,.055), transparent 22%),
        radial-gradient(circle at 87% 12%, rgba(20,46,92,.32), transparent 22%),
        radial-gradient(circle at 74% 42%, rgba(12,28,56,.16), transparent 24%),
        linear-gradient(180deg, #04060a 0%, #050a12 36%, #04070c 100%);
      position: relative;
    }

    body.page-category-groups.kz-public-body::before,
    body.page-category-groups.kz-public-body::after{
      content:"";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    body.page-category-groups.kz-public-body::before{
      background:
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.016) 1px, transparent 1px);
      background-size: 84px 84px;
      opacity: .12;
      mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.24) 60%, transparent);
      -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.24) 60%, transparent);
    }

    body.page-category-groups.kz-public-body::after{
      background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.03), transparent 30%),
        radial-gradient(circle at 92% 34%, rgba(246,206,31,.02), transparent 12%),
        radial-gradient(circle at 8% 34%, rgba(246,206,31,.018), transparent 12%);
      opacity: .92;
    }

    body.page-category-groups .public-header{
      position: sticky;
      top: 0;
      z-index: 80;
      background: linear-gradient(180deg, rgba(4,7,13,.90), rgba(4,7,13,.72));
      backdrop-filter: blur(16px) saturate(124%);
      -webkit-backdrop-filter: blur(16px) saturate(124%);
      border-bottom: 1px solid rgba(255,255,255,.03);
      box-shadow: 0 14px 34px rgba(0,0,0,.14);
      overflow: hidden;
    }

    body.page-category-groups .public-header::before{
      content:"";
      position: absolute;
      inset: 0 0 auto 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(246,206,31,.22), transparent);
      opacity: .55;
      pointer-events: none;
    }

    body.page-category-groups .public-header::after{
      opacity: .34;
      background: linear-gradient(90deg, rgba(246,206,31,.10), rgba(255,255,255,.03), rgba(34,72,122,.14), transparent 82%);
    }

    body.page-category-groups .container{
      max-width: var(--groups-max) !important;
      width: min(100%, var(--groups-max));
      padding-inline: clamp(24px, 3vw, 56px);
      position: relative;
      z-index: 1;
    }

    body.page-category-groups .brand-row{
      min-height: 82px;
      padding-block: 14px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 28px;
    }

    body.page-category-groups .brand-lockup{
      position: relative;
      display: inline-flex;
      align-items: center;
      padding-right: 24px;
      margin-right: 6px;
    }

    body.page-category-groups .brand-lockup::after{
      content:"";
      position: absolute;
      right: 0;
      top: 50%;
      width: 1px;
      height: 28px;
      transform: translateY(-50%);
      background: linear-gradient(180deg, transparent, rgba(255,255,255,.12), transparent);
      opacity: .8;
    }

    body.page-category-groups .brand-logo{
      height: 50px;
      max-width: 170px;
      filter: invert(1) brightness(1.14) contrast(1.05) drop-shadow(0 10px 16px rgba(0,0,0,.16));
    }

    body.page-category-groups .nav-links--public{
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(10,14,24,.82), rgba(7,10,18,.56));
      border: 1px solid rgba(255,255,255,.05);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 24px rgba(0,0,0,.14);
    }

    body.page-category-groups .nav-link{
      min-height: 46px;
      padding: 0 20px;
      border-radius: 14px;
      font: 800 13px/1 Inter, system-ui, sans-serif;
      border: 1px solid transparent;
      background: transparent;
      color: #f5f7fb;
      box-shadow: none;
      transition:
        transform .24s var(--groups-ease),
        border-color .24s var(--groups-ease),
        box-shadow .24s var(--groups-ease),
        background .24s var(--groups-ease),
        color .24s var(--groups-ease);
    }

    body.page-category-groups .nav-link:hover,
    body.page-category-groups .nav-link:focus-visible{
      transform: translateY(-1px);
      color: #f5f7fb;
      border-color: rgba(246,206,31,.18);
      background: linear-gradient(180deg, rgba(16,23,38,.72), rgba(9,13,22,.42));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 18px rgba(0,0,0,.16);
    }

    body.page-category-groups .nav-link.active{
      color: #10141b;
      border-color: rgba(255,221,84,.74);
      background: linear-gradient(180deg, #ffd94a 0%, #f3cb1c 100%);
      box-shadow: 0 10px 24px rgba(246,206,31,.18), inset 0 1px 0 rgba(255,255,255,.34);
    }

    body.page-category-groups .nav-link:hover .nav-count,
    body.page-category-groups .nav-link:focus-visible .nav-count{
      color: var(--kz-gold);
    }

    body.page-category-groups .nav-link--cart{
      padding-right: 16px;
    }

    body.page-category-groups .nav-count{
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
      border-radius: 999px;
      background: rgba(246,206,31,.14);
      color: var(--kz-gold);
      font: 800 10px/18px Inter, system-ui, sans-serif;
      box-shadow: inset 0 0 0 1px rgba(246,206,31,.16);
    }

    body.page-category-groups .nav-link.active .nav-count{
      background: rgba(17,20,27,.14);
      color: #11151d;
      box-shadow: inset 0 0 0 1px rgba(17,20,27,.08);
    }

    body.page-category-groups .hamburger-btn{
      width: 46px;
      height: 46px;
      border-radius: 14px;
      border: 1px solid rgba(246,206,31,.18);
      background: linear-gradient(180deg, rgba(246,206,31,.12), rgba(246,206,31,.04));
      box-shadow: inset 0 0 12px rgba(246,206,31,.06), 0 8px 20px rgba(0,0,0,.14);
      transition: transform .24s var(--groups-ease), border-color .24s var(--groups-ease), box-shadow .24s var(--groups-ease), background .24s var(--groups-ease);
    }

    body.page-category-groups .hamburger-btn:hover,
    body.page-category-groups .hamburger-btn:focus-visible{
      transform: translateY(-1px);
      border-color: rgba(246,206,31,.32);
      box-shadow: inset 0 0 14px rgba(246,206,31,.08), 0 12px 24px rgba(0,0,0,.16);
    }

    .kz-cat-shell{
      padding: 28px 0 72px;
    }

    .kz-btn-back{
      left: clamp(24px, 2.6vw, 42px);
      bottom: 26px;
      background: rgba(8,12,20,.70);
      color: #f6ce1f;
      border-color: rgba(246,206,31,.30);
      box-shadow: 0 16px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
    }

    .kz-cat-header{
      min-height: 228px;
      margin-bottom: 6px; 
      padding: 32px 34px 20px; 
      border-radius: 30px;
      border: 1px solid rgba(255,255,255,.05);
      background: linear-gradient(180deg, rgba(7,11,18,.96), rgba(5,8,14,.92));
      box-shadow: 0 22px 48px rgba(0,0,0,.26);
      overflow: hidden;
      isolation: isolate;
    }

    .kz-cat-header::before{
      content:"";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 76px 76px;
      opacity: .16;
      z-index: 1;
      pointer-events: none;
    }

    .kz-cat-header::after{
      content:"";
      position: absolute;
      inset: auto 28px 0 28px;
      height: 1px;
      background: linear-gradient(90deg, rgba(246,206,31,.0), rgba(246,206,31,.42), rgba(255,255,255,.08), rgba(246,206,31,.0));
      opacity: .85;
      z-index: 2;
      pointer-events: none;
    }

    .kz-header-bg{
      background:
        radial-gradient(circle at 78% 18%, rgba(246,206,31,.10), transparent 22%),
        radial-gradient(circle at 12% 28%, rgba(19,47,94,.28), transparent 26%),
        linear-gradient(180deg, rgba(7,11,18,.16), rgba(4,6,11,.28));
    }

    .kz-header-bg img{
      opacity: .32;
      object-position: center 24%;
      filter: saturate(.92) contrast(1.04);
    }

    .kz-header-overlay{
      background:
        linear-gradient(180deg, rgba(4,7,13,.38) 0%, rgba(4,7,13,.66) 58%, rgba(4,7,13,.94) 100%),
        linear-gradient(90deg, rgba(5,8,14,.90) 0%, rgba(5,8,14,.54) 28%, rgba(5,8,14,.26) 58%, rgba(5,8,14,.74) 100%);
    }

    .kz-header-content{
      width: min(100%, 1040px);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center; /* Centramos el contenido */
    }

    .kz-header-text{
      max-width: 800px;
      text-align: center; /* Aseguramos que el texto esté centrado */
    }

    .kz-cat-kicker{
      margin-bottom: 8px;
      letter-spacing: .26em;
      font-size: 12px;
      color: #f6ce1f;
    }

    .kz-cat-title{
      font-size: clamp(42px, 5.2vw, 72px);
      line-height: .98;
      letter-spacing: -.04em;
      text-shadow: 0 12px 28px rgba(0,0,0,.44);
      margin: 0;
    }

    .kz-cat-subtitle{
      margin: 10px auto 0; /* Auto a los lados para centrar el bloque */
      max-width: 760px;
      font-size: 17px;
      line-height: 1.55;
      color: var(--groups-text-soft);
      text-shadow: 0 6px 16px rgba(0,0,0,.30);
    }

    /* --- TOOLBAR (Escritorio) --- */
    .kz-toolbar {
      display: flex;
      flex-direction: column; /* Apila el título arriba y el buscador abajo */
      align-items: center; /* Centra todo horizontalmente */
      justify-content: center;
      gap: 24px; /* Espacio elegante entre el título y el buscador */
      margin: 0 0 48px;
    }
    
    .kz-toolbar::before {
      display: none; /* Quitamos el balanceador de la grilla anterior */
    }

    .kz-toolbar-title {
      margin: 0; 
      text-align: center;
    }

    .kz-search-container {
      width: min(100%, 420px); /* Un ancho ideal para el buscador en PC */
      margin: 0 auto; /* Garantiza el centrado absoluto */
    }

    .kz-bubble-tabs{
      justify-content: flex-start;
      gap: 12px;
      margin-bottom: 24px;
    }

    .kz-bubble-tab{
      background: linear-gradient(180deg, rgba(12,17,28,.82), rgba(7,10,18,.62));
      color: rgba(255,255,255,.70);
      border-color: rgba(255,255,255,.05);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
    }

    .kz-bubble-tab:hover{
      background: linear-gradient(180deg, rgba(14,20,34,.92), rgba(8,12,20,.72));
      color: #fff;
      transform: translateY(-1px);
      border-color: rgba(246,206,31,.18);
    }

    .kz-bubble-tab.active{
      background: linear-gradient(180deg, rgba(246,206,31,.18), rgba(246,206,31,.08));
      border-color: rgba(246,206,31,.34);
      color: #f6ce1f;
    }

    .kz-choreo-grid{
      gap: 26px;
    }

    .kz-choreo-card{
      border-radius: 22px;
      border-color: rgba(255,255,255,.06);
      background: linear-gradient(180deg, rgba(7,10,18,.98), rgba(4,6,10,.98));
      box-shadow: 0 20px 42px rgba(0,0,0,.26);
      transition: transform .34s var(--groups-ease), border-color .28s var(--groups-ease), box-shadow .28s var(--groups-ease), opacity .28s var(--groups-ease);
    }

    .kz-choreo-card:hover{
      transform: translateY(-6px);
      border-color: rgba(246,206,31,.32);
      box-shadow: 0 28px 52px rgba(0,0,0,.34), 0 0 24px rgba(246,206,31,.08);
    }

    .kz-choreo-media img{
      transition: transform .55s var(--groups-ease), filter .35s var(--groups-ease);
    }

    .kz-choreo-card:hover .kz-choreo-media img{
      transform: scale(1.06);
    }

    .kz-choreo-overlay{
      background: linear-gradient(180deg, rgba(0,0,0,.02) 8%, rgba(0,0,0,.08) 42%, rgba(0,0,0,.90) 100%);
    }

    .kz-choreo-content{
      padding: 42px 18px 24px;
    }

    .kz-choreo-title{
      font-size: 34px;
    }

    .kz-empty-state{
      background: linear-gradient(180deg, rgba(8,12,20,.86), rgba(6,10,18,.76));
      border-color: rgba(255,255,255,.10);
      box-shadow: 0 18px 36px rgba(0,0,0,.24);
    }
  }

  /* =========================================================
   DESKTOP — Coreografías más chicas, equilibradas y prolijas
   Solo PC / tablet grande
   ========================================================= */
  @media (min-width: 900px){

    .kz-bubble-section .kz-choreo-grid{
      grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
      justify-content: center;
      gap: 22px;
    }

    .kz-bubble-section .kz-choreo-card{
      width: 100%;
      max-width: 280px;
      margin: 0 auto;
      aspect-ratio: 2 / 3;
      border-radius: 20px;
    }

    .kz-bubble-section .kz-choreo-content{
      padding: 54px 16px 20px;
    }

    .kz-bubble-section .kz-choreo-title{
      font-size: clamp(34px, 2.2vw, 46px);
      line-height: 0.9;
    }

    .kz-bubble-section .kz-choreo-badge{
      top: 10px;
      right: 10px;
      padding: 5px 9px;
      font-size: 9px;
    }
  }

.kz-header-fallback { width:100%; height:100%; background: radial-gradient(circle at 50% 0%, rgba(246,206,31,0.2) 0%, #030407 80%); }
.kz-choreo-fallback { width:100%; height:100%; background: linear-gradient(135deg,#171105,#04070e); }
.kz-bubble-title--hidden { display: none; }

  .kz-choreo-card:hover .kz-choreo-title {
    color: #ffe27a;
    transform: translateY(-1px);
  }

  @media (max-width: 768px) {
    .kz-choreo-content { padding: 46px 12px 14px; }


/* =========================================================
   AJUSTE CINEMATOGRÁFICO — SOLO "COREO X"
   ========================================================= */
.kz-choreo-content{
  padding: 0 18px 22px;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kz-choreo-title{
  width: auto;
  max-width: 92%;
  margin: 0 auto;
  font: 400 clamp(42px, 5.4vw, 72px)/0.88 'Bebas Neue', sans-serif;
  letter-spacing: 0.07em;
  color: #fff;
  text-shadow:
    0 18px 34px rgba(0,0,0,0.98),
    0 8px 18px rgba(0,0,0,0.92),
    0 2px 6px rgba(0,0,0,0.86);
  transform-origin: center bottom;
}

.kz-choreo-title::before{
  display: none;
}

.kz-choreo-title::after{
  content: "";
  display: block;
  width: min(110px, 58%);
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246,206,31,0), rgba(246,206,31,.96), rgba(246,206,31,0));
  box-shadow: 0 0 16px rgba(246,206,31,.18);
  opacity: .92;
}

.kz-choreo-card:hover .kz-choreo-title{
  color: #fff7d1;
  transform: translateY(-2px) scale(1.015);
  text-shadow:
    0 22px 38px rgba(0,0,0,0.98),
    0 10px 22px rgba(0,0,0,0.94),
    0 0 18px rgba(246,206,31,0.16);
}

.kz-choreo-overlay{
  background: linear-gradient(180deg, rgba(0,0,0,.00) 0%, rgba(0,0,0,.06) 34%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.88) 100%);
}

@media (min-width: 900px){
  .kz-bubble-section .kz-choreo-content{
    padding: 0 18px 24px;
  }

  .kz-bubble-section .kz-choreo-title{
    font-size: clamp(46px, 2.9vw, 68px);
    line-height: 0.86;
    letter-spacing: 0.075em;
  }
}

@media (max-width: 640px){
  .kz-choreo-content{
    padding: 0 12px 16px;
  }

  .kz-choreo-title{
    max-width: 94%;
    font-size: clamp(34px, 9vw, 48px);
    letter-spacing: 0.06em;
  }

  .kz-choreo-title::after{
    width: min(86px, 54%);
    margin-top: 10px;
  }
}

/* =========================================================
   PC FULL WIDTH — grilla de coreografías flexible
   ========================================================= */
@media (min-width: 1024px){
  .kz-bubble-section .kz-choreo-grid{
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-content: initial;
    gap: 24px;
  }

  .kz-bubble-section .kz-choreo-card{
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .kz-search-container{
    width: min(100%, 560px);
    margin: 0 auto;
  }
}

@media (min-width: 1440px){
  .kz-bubble-section .kz-choreo-grid{
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
  }
}
