    /* BANNER PRINCIPAL */
    .cookies {
      width: 100%;
      margin: 0 auto;
      padding: 15px 5%;
      font-size: 1.4em;
      color: #333;
      bottom: 0;
      position: fixed;
      left: 0;
      background-color: #fff;
      opacity: 0.98;
      box-shadow: 4px -5px 10px rgba(50, 50, 50, 0.56);
      z-index: 999999999;
      display: none;
    }

    .cookies__contenido {
      max-width: 100%;
      text-align: left;
    }

    .cookies__contenido h4 {
      margin: 10px 0 15px 0;
      line-height: 1.5;
      font-size: 1em;
    }

    .cookies__botones {
      display: flex;
      justify-content: flex-start;
      gap: 10px;
      flex-wrap: wrap;
    }

    .cookies__boton,
    .cookies__boton-2 {
      border: 2px solid #4396ff;
      padding: 8px 20px;
      font-size: 0.9em;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .cookies__boton {
      background-color: #4396ff;
      color: #fff;
    }

    .cookies__boton:hover {
      background: transparent;
      color: #4396ff;
    }

    .cookies__boton-2 {
      background: transparent;
      color: #4396ff;
    }

    .cookies__boton-2:hover {
      background: #4396ff;
      color: #fff;
    }

    /* OVERLAY */
    #cookie-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 999998;
      transition: opacity 0.3s ease;
      opacity: 0;
    }

    #cookie-overlay.active {
      display: block;
      opacity: 1;
    }

    /* PANEL DE PREFERENCIAS */
    .cookie-pref {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      color: #222;
      padding: 2rem;
      border-radius: 12px;
      max-width: 550px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      z-index: 1000000;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
      font-size: 1.1em;
      opacity: 0;
      transition: all 0.3s ease;
    }

    .cookie-pref.active {
      opacity: 1;
    }

    .cookie-pref h3 {
      margin-top: 0;
      margin-bottom: 1rem;
      text-align: center;
      font-size: 1.4em;
    }

    .cookie-pref > p {
      margin-bottom: 1.5rem;
      color: #666;
      font-size: 0.95em;
      line-height: 1.5;
    }

    .cookie-category {
      margin-bottom: 20px;
      padding: 15px;
      background: #f8f9fa;
      border-radius: 8px;
      border-left: 4px solid #4396ff;
    }

    .cookie-category label {
      display: flex;
      align-items: flex-start;
      font-weight: bold;
      cursor: pointer;
      font-size: 1em;
    }

    .cookie-category input[type="checkbox"] {
      margin-right: 10px;
      margin-top: 3px;
      cursor: pointer;
      width: 18px;
      height: 18px;
    }

    .cookie-category input[type="checkbox"]:disabled {
      cursor: not-allowed;
    }

    .cookie-description {
      margin: 8px 0 0 28px;
      font-size: 0.85em;
      color: #666;
      font-weight: normal;
      line-height: 1.4;
    }

    .cookie-pref-buttons {
      margin-top: 20px;
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .cookie-pref button {
      padding: 10px 20px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.95em;
      transition: all 0.2s ease;
    }

    .cookie-pref #cookie-save {
      background: #4396ff;
      color: white;
    }

    .cookie-pref #cookie-save:hover {
      background: #2d7de0;
    }

    .cookie-pref #cookie-cancel {
      background: #e0e0e0;
      color: #333;
    }

    .cookie-pref #cookie-cancel:hover {
      background: #d0d0d0;
    }

    /* BOTÓN FLOTANTE */
    .reopen-cookies {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #4396ff;
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 12px 20px;
      font-size: 0.95em;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      z-index: 1000000000;
      transition: all 0.3s ease;
    }

    .reopen-cookies:hover {
      background: #2d7de0;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .cookies {
        font-size: 1.2em;
        padding: 12px 4%;
      }

      .cookies__botones {
        flex-direction: column;
      }

      .cookies__boton,
      .cookies__boton-2 {
        width: 100%;
        text-align: center;
      }

      .cookie-pref {
        padding: 1.5rem;
        font-size: 1em;
      }

      .reopen-cookies {
        bottom: 15px;
        right: 15px;
        font-size: 0.85em;
        padding: 10px 16px;
      }
    }