/* =========================================================
   X SANDÍA - STYLE.CSS
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
background: #080f28;
color: #eaeaea;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  padding: 16px 32px;

background: #080f28;
border-bottom: 1px solid #26262e;
}

.logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

/* =========================================================
   MENÚS DROPDOWN
   ========================================================= */

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  display: inline-block;
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;

  position: absolute;

  top: 100%;
  left: 50%;

  transform: translateX(-50%);

  min-width: 220px;
  max-width: 320px;
  max-height: 400px;

  overflow-y: auto;

  background: #17171d;

  border: 1px solid #26262e;
  border-radius: 8px;

  padding: 8px 0;

  z-index: 9999;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35);
}

/*
  El menú permanece visible mientras el cursor
  esté sobre el botón o sobre el propio menú.
*/
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu ul {
  list-style: none;

  margin: 0;
  padding: 0;
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a,
.nav-dropdown-menu span {
  display: block;

  width: 100%;

  padding: 9px 14px;

  color: #b3b3b3;

  text-decoration: none;

  font-size: 13px;

  white-space: nowrap;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: #23232b;
  color: #fff;
}

/* =========================================================
   BUSCADOR
   ========================================================= */

.buscador {
  display: flex;
  align-items: center;

  background: #23232b;
  border-radius: 8px;

  padding: 6px 10px;
  margin: 0 20px;

  flex: 1;
  max-width: 320px;
}

.buscador input {
  background: transparent;
  border: none;
  outline: none;

  color: #eaeaea;
  font-size: 13px;

  width: 100%;
}

.buscador input::placeholder {
  color: #777;
}

.buscador button {
  background: none;
  border: none;
  color: #999;

  cursor: pointer;
  font-size: 14px;
}

/* =========================================================
   CONTENIDO GENERAL
   ========================================================= */

.main {
  padding: 32px;
}

.titulo-seccion {
  font-size: 22px;
  margin-bottom: 20px;
}

/* =========================================================
   GRID DE VIDEOS
   ========================================================= */

.video-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(240px, 1fr));

  gap: 20px;
}

/* =========================================================
   TARJETAS DE VIDEO — MISMO DISEÑO DEL REPRODUCTOR
   ========================================================= */

.video-card {
  position: relative;

  display: block;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 5px;

  box-sizing: border-box;

  background: #0b0718;

  border:
    1px solid rgba(237,33,94,.58);

  border-radius: 8px;

  box-shadow:
    0 4px 14px rgba(0,0,0,.22);

  overflow: hidden;

  color: inherit;
  text-decoration: none;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.video-card:hover {
  border-color:
    rgba(237,33,94,.82);

  box-shadow:
    0 7px 18px rgba(0,0,0,.32),
    0 0 0 1px rgba(237,33,94,.08);

  transform:
    translateY(-1px);
}


/* =========================================================
   MINIATURA
   ========================================================= */

.video-card .thumbnail-wrapper {
  position: relative;

  width: 100%;

  aspect-ratio:
    16 / 9.6;

  overflow: hidden;

  border-radius: 5px;

  background: #000;
}

.video-card .thumbnail-wrapper img {
  position: relative;

  z-index: 2;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 5px;

  transition:
    transform .25s ease;
}

.video-card:hover
.thumbnail-wrapper img {
  transform:
    scale(1.03);
}


/* =========================================================
   DURACIÓN
   ========================================================= */

.video-card .duracion {
  position: absolute;

  right: 5px;
  bottom: 5px;

  z-index: 8;

  display: block;

  margin: 0;
  padding: 3px 6px;

  border-radius: 4px;

  background:
    rgba(0,0,0,.82);

  color: #fff;

  font-size: 11px;

  font-weight: 700;

  line-height: 1.2;

  white-space: nowrap;

  pointer-events: none;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.video-card .video-info {
  width: 100%;
  min-width: 0;

  padding-top: 5px;

  box-sizing: border-box;
}


/* =========================================================
   VISTAS + LIKES
   ========================================================= */

.video-card .video-meta {
  width: 100%;

  min-height: 16px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;

  margin: 0 0 4px;
}

.video-card .video-vistas,
.video-card .video-likes {
  display: inline-flex;

  align-items: center;

  min-width: 0;

  color: #bdbdbd;

  font-size: 11px;

  line-height: 1.2;

  white-space: nowrap;
}

.video-card .video-likes {
  justify-content: flex-end;
}


/* =========================================================
   ICONO DE VISTAS
   ========================================================= */

.video-card .video-meta-icono {
  width: 13px;
  min-width: 13px;
  height: 13px;

  margin-right: 4px;

  display: inline-flex;

  align-items: center;
  justify-content: center;
}

.video-card .video-meta-icono svg {
  display: block;

  width: 13px;
  height: 13px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   CORAZÓN
   ========================================================= */

.video-card .video-meta-corazon {
  margin-right: 4px;

  color: #bdbdbd;

  font-size: 11px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.video-card .video-info h3 {
  width: 100%;

  height: 48px;

  min-height: 48px;
  max-height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0;

  padding:
    4px 8px;

  box-sizing: border-box;

  overflow: hidden;

  border-radius: 5px;

  background:
    rgba(15,15,28,.86);

  text-align: center;
}

.video-card .video-info h3 span {
  width: 100%;
  max-width: 100%;

  display: -webkit-box;

  overflow: hidden;

  color: #fff;

  font-size: 13px;

  line-height: 1.25;

  font-weight: 700;

  text-align: center;

  white-space: normal;

  text-overflow: ellipsis;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  line-clamp: 2;
}


.mensaje {
  color: #888;
  font-size: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  text-align: center;

  padding: 20px;

  color: #666;

  font-size: 12px;

  border-top: 1px solid #26262e;

  margin-top: 40px;
}

/* =========================================================
   CATEGORÍAS
   ========================================================= */

.categorias-lista {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 30px;
}

.categoria-btn {
  background: #1a1a20;
  color: #eaeaea;

  padding: 10px 18px;

  border-radius: 8px;

  text-decoration: none;

  font-size: 14px;

  transition: background 0.2s;
}

.categoria-btn:hover {
  background: #2a2a33;
}

/* Tarjetas de categoría */
.categoria-card {
  position: relative;

  border-radius: 10px;

  overflow: hidden;

  text-decoration: none;

  width: 200px;
  height: 110px;

  display: flex;

  align-items: flex-end;
}

.categoria-card-img {
  position: absolute;

  inset: 0;

  background-size: cover;
  background-position: center;

  background-color: #1a1a20;
}

.categoria-card-img::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      transparent 60%
    );
}

.categoria-card span {
  position: relative;

  z-index: 1;

  color: #fff;

  font-weight: 600;
  font-size: 14px;

  padding: 10px;
}

.thumbnail-estado {
  font-size: 12px;
  color: #888;
}

/* =========================================================
   LOGIN
   ========================================================= */

.main-login {
  display: flex;

  justify-content: center;
  align-items: center;

  min-height: 80vh;
}

.login-box {
  background: #1a1a20;

  padding: 30px;

  border-radius: 10px;

  width: 100%;
  max-width: 320px;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.login-box h1 {
  font-size: 18px;
  margin-bottom: 8px;
}

.login-box input,
.admin-form input,
.admin-form textarea {
  background: #23232b;

  border: 1px solid #333;

  border-radius: 6px;

  padding: 10px;

  color: #eaeaea;

  font-size: 14px;
}

.login-box button,
.admin-form button {
  background: #4c6ef5;

  color: #fff;

  border: none;

  padding: 10px;

  border-radius: 6px;

  cursor: pointer;

  font-weight: 600;
}

.login-error {
  color: #e55;
  font-size: 13px;
}

/* =========================================================
   ADMIN
   ========================================================= */

.btn-logout {
  background: none;

  border: 1px solid #444;

  color: #ccc;

  padding: 6px 12px;

  border-radius: 6px;

  cursor: pointer;

  margin-left: 24px;
}

.admin-form {
  display: flex;

  flex-direction: column;

  gap: 6px;

  max-width: 500px;
}

.admin-form label {
  font-size: 13px;

  color: #aaa;

  margin-top: 8px;
}

.admin-mensaje {
  font-size: 13px;

  margin-top: 8px;
}

.admin-lista {
  display: flex;

  flex-direction: column;

  gap: 8px;

  max-width: 500px;
}

.admin-item {
  display: flex;

  justify-content: space-between;

  align-items: center;

  background: #1a1a20;

  padding: 10px 14px;

  border-radius: 8px;
}

.admin-item em {
  color: #888;

  font-style: normal;

  font-size: 12px;
}

.admin-item-botones {
  display: flex;

  gap: 8px;
}

.admin-form-botones {
  display: flex;

  gap: 10px;

  margin-top: 10px;
}

.admin-form select {
  background: #23232b;

  border: 1px solid #333;

  border-radius: 6px;

  padding: 10px;

  color: #eaeaea;

  font-size: 14px;
}

.admin-form-inline {
  flex-direction: row;
  max-width: 500px;
}

.admin-form-inline input {
  flex: 1;
}

.admin-form-inline button {
  white-space: nowrap;
}

/* =========================================================
   BOTONES ADMIN
   ========================================================= */

.btn-cancelar {
  background: none;

  border: 1px solid #444;

  color: #ccc;
}

.btn-borrar,
.btn-borrar-cat {
  background: #4a1a1a;

  color: #f5a5a5;

  border: none;

  padding: 5px 10px;

  border-radius: 6px;

  cursor: pointer;

  font-size: 12px;
}

.btn-editar,
.btn-editar-cat {
  background: #23324a;

  color: #8fb3ff;

  border: none;

  padding: 5px 10px;

  border-radius: 6px;

  cursor: pointer;

  font-size: 12px;
}

.btn-editar-estrella {
  background: #23324a;

  color: #8fb3ff;

  border: none;

  padding: 5px 10px;

  border-radius: 6px;

  cursor: pointer;

  font-size: 12px;
}

.btn-borrar-estrella {
  background: #4a1a1a;

  color: #f5a5a5;

  border: none;

  padding: 5px 10px;

  border-radius: 6px;

  cursor: pointer;

  font-size: 12px;
}

/* =========================================================
   CHECKBOXES
   ========================================================= */

.checkbox-lista {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  background: #1a1a20;

  padding: 12px;

  border-radius: 8px;
}

.checkbox-categoria {
  display: flex;

  align-items: center;

  gap: 6px;

  font-size: 13px;

  background: #23232b;

  padding: 6px 10px;

  border-radius: 6px;

  cursor: pointer;
}

/* =========================================================
   FALLBACK
   ========================================================= */

.fallback-link {
  font-size: 12px;

  color: #888;

  margin-top: 8px;

  text-align: center;
}

.fallback-link a {
  color: #8fb3ff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .header {
    padding: 14px 20px;
  }

  .main {
    padding: 24px 20px;
  }

}

@media (max-width: 680px) {
  .header {
    padding: 12px 14px;
  }

  .logo {
    font-size: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 13px;
  }

  .buscador {
    order: 3;

    width: 100%;
    max-width: none;

    margin: 0;
  }

  .main {
    padding: 20px 14px;
  }

  .video-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .video-info {
    padding: 8px 9px;
  }

  .video-info h3 {
    font-size: 13px;
  }

}

@media (max-width: 480px) {

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .video-card {
    padding: 4px;
  }

  .video-card .video-info {
    padding-top: 4px;
  }

  .video-card .video-info h3 {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 4px 6px;
  }

  .video-card .video-info h3 span {
    font-size: 11px;
    line-height: 1.22;
  }

  .video-card .video-vistas,
  .video-card .video-likes {
    font-size: 10px;
  }

  .video-card .duracion {
    right: 4px;
    bottom: 4px;
    padding: 3px 5px;
    font-size: 10px;
  }

  .nav {
    width: 100%;
    justify-content: flex-end;
  }

  .nav-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 200px;
    max-width: calc(100vw - 20px);
  }
}

/* ======================================================
   TARJETA DE PUBLICIDAD
   ====================================================== */

.anuncio-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;

  border-radius: 8px;

  background: #17121f;
  border: 1px solid rgba(255,255,255,0.08);

  box-sizing: border-box;
}

.anuncio-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #17121f;

  color: #777;

  font-size: 12px;
  font-weight: 600;
}


/* ======================================================
   PAGINACIÓN
   ====================================================== */

.paginacion {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 6px;

  margin: 30px 0 20px;
}

.paginacion button {
  min-width: 36px;
  height: 36px;

  padding: 0 10px;

  border: 1px solid #333;

  border-radius: 6px;

  background: #17171d;
  color: #bbb;

  cursor: pointer;

  font-size: 13px;
}

.paginacion button:hover {
  background: #25252d;
  color: #fff;
}

.paginacion button.activo {
  background: #ff2d7a;
  border-color: #ff2d7a;
  color: #fff;
}


/* =====================================================
   MENÚ - BOTONES "VER TODAS"
   ===================================================== */

.nav-dropdown-menu
li.menu-ver-todas {
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.nav-dropdown-menu
li.menu-ver-todas a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 6px;
  text-align: center;
  color: #ff5b9e;
  font-weight: 700;
  text-decoration: none;
}

.nav-dropdown-menu
li.menu-ver-todas a:hover {
  color: #ffffff;
  background: rgba(255,91,158,0.12);
}


/* =====================================================
   ANUNCIO HORIZONTAL INFERIOR
   ===================================================== */

.anuncio-horizontal-inferior {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px auto 28px;
  padding: 0;
}


.anuncio-horizontal-slot {
  width: 100%;
  max-width: 970px;
  min-height: 110px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}


.anuncio-horizontal-placeholder {
  display: block;
  width: 100%;
  text-align: center;

  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* =====================================================
   LISTA COMPLETA DE ESTRELLAS
   ===================================================== */

.estrellas-lista-full {
  width: 100%;
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
}


.estrella-link-full {
  display: block;
  box-sizing: border-box;

  padding: 13px 15px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;

  color: #ffffff;
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}


.estrella-link-full:hover {
  background: rgba(255,91,158,0.10);
  border-color: rgba(255,91,158,0.45);
  color: #ff5b9e;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media only screen and (max-width: 900px) {

  .estrellas-lista-full {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media only screen and (max-width: 560px) {

  .estrellas-lista-full {
    grid-template-columns: 1fr;
  }


  .anuncio-horizontal-inferior {
    margin-top: 24px;
    margin-bottom: 20px;
  }


  .anuncio-horizontal-slot {
    min-height: 90px;
    border-radius: 6px;
  }

}


/* =====================================================
   X SANDÍA - PERFIL / MI LISTA
   ===================================================== */

.btn-mi-lista {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  height: 38px;

  margin-left: 8px;
  padding: 0 10px;

  border: 0;
  border-radius: 6px;

  background: transparent;

  color: #fff;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background .18s ease,
    color .18s ease;
}


.btn-mi-lista:hover {
  background: rgba(255,255,255,.06);
  color: #ff5b9e;
}


.mi-lista-icono {
  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.mi-lista-icono svg {
  width: 22px;
  height: 22px;

  fill: currentColor;
}


.mi-lista-contador {
  min-width: 17px;
  height: 17px;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 0 4px;

  box-sizing: border-box;

  border-radius: 999px;

  background: #ff5b9e;
  color: #fff;

  font-size: 9px;
  font-weight: 800;

  line-height: 17px;
}


/* =====================================================
   MODAL MI LISTA
   ===================================================== */

.mi-lista-modal {
  position: fixed;

  inset: 0;

  z-index: 999999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 20px;

  box-sizing: border-box;

  visibility: hidden;
  opacity: 0;

  pointer-events: none;

  transition:
    opacity .20s ease,
    visibility .20s ease;
}


.mi-lista-modal.abierto {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


.mi-lista-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0,0,0,.72);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


.mi-lista-panel {
  position: relative;

  width: 100%;
  max-width: 850px;

  max-height: 88vh;

  overflow: hidden;

  box-sizing: border-box;

  border-radius: 10px;

  background: #120b20;

  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 25px 80px rgba(0,0,0,.55);

  transform: translateY(12px) scale(.98);

  transition:
    transform .20s ease;
}


.mi-lista-modal.abierto
.mi-lista-panel {
  transform:
    translateY(0)
    scale(1);
}


.mi-lista-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 16px 18px;

  border-bottom:
    1px solid rgba(255,255,255,.08);
}


.mi-lista-header h2 {
  margin: 0;

  color: #fff;

  font-size: 18px;
  font-weight: 700;
}


.mi-lista-cerrar {
  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.06);

  color: #fff;

  font-size: 25px;
  line-height: 1;

  cursor: pointer;
}


.mi-lista-cerrar:hover {
  background: rgba(255,91,158,.18);
  color: #ff5b9e;
}


.mi-lista-contenido {
  max-height: calc(88vh - 70px);

  overflow-y: auto;

  padding: 18px;

  box-sizing: border-box;
}


/* =====================================================
   LISTA VACÍA
   ===================================================== */

.mi-lista-vacia {
  min-height: 240px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  color: #fff;
}


.mi-lista-vacia-icono {
  margin-bottom: 10px;

  font-size: 45px;

  color: #ff5b9e;
}


.mi-lista-vacia p {
  margin: 0 0 5px;

  font-size: 16px;
  font-weight: 700;
}


.mi-lista-vacia span {
  color: #999;

  font-size: 13px;
}


/* =====================================================
   ITEMS DE MI LISTA
   ===================================================== */

.mi-lista-item {
  position: relative;

  display: flex;

  width: 100%;

  margin-bottom: 12px;

  overflow: hidden;

  border-radius: 8px;

  background: rgba(255,255,255,.04);

  border:
    1px solid rgba(255,255,255,.07);
}


.mi-lista-item:last-child {
  margin-bottom: 0;
}


.mi-lista-video-link {
  min-width: 0;

  flex: 1;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 8px;

  box-sizing: border-box;

  color: inherit;

  text-decoration: none;
}


.mi-lista-video-link:hover {
  background: rgba(255,91,158,.06);
}


.mi-lista-thumbnail {
  position: relative;

  flex: 0 0 145px;

  width: 145px;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 6px;

  background: #08060d;
}


.mi-lista-thumbnail img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.mi-lista-thumbnail > span:not(.mi-lista-duracion) {
  display: flex;

  width: 100%;
  height: 100%;

  align-items: center;
  justify-content: center;

  color: #888;

  font-size: 11px;
}


.mi-lista-duracion {
  position: absolute;

  right: 6px;
  bottom: 6px;

  padding: 4px 6px;

  border-radius: 4px;

  background: rgba(0,0,0,.82);

  color: #fff;

  font-size: 10px;
  font-weight: 700;
}


.mi-lista-info {
  min-width: 0;
}


.mi-lista-info h3 {
  margin: 0;

  color: #fff;

  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}


.mi-lista-eliminar {
  flex: 0 0 auto;

  width: 38px;

  border: 0;

  background: transparent;

  color: #888;

  font-size: 24px;

  cursor: pointer;
}


.mi-lista-eliminar:hover {
  color: #ff5b9e;
}


/* =========================================================
   FOOTER XSANDÍA
   ========================================================= */

.footer {
  width: 100%;

  margin-top: 40px;
  padding: 0;

  box-sizing: border-box;

  background: #000;

  border-top: 1px solid rgba(255,255,255,0.08);

  color: #ddd;
}

.footer-contenido {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  padding:
    34px 20px 26px;

  box-sizing: border-box;
}

.footer-aviso {
  max-width: 1000px;

  margin: 0 auto;

  text-align: center;
}

.footer-aviso h3 {
  margin: 0 0 14px;

  color: #ff5b9e;

  font-size: 17px;
  font-weight: 800;

  letter-spacing: 1px;
}

.footer-aviso p {
  margin: 0;

  color: #b8b8b8;

  font-size: 14px;
  line-height: 1.7;
}

.footer-copyright {
  margin-top: 26px;

  padding-top: 18px;

  border-top:
    1px solid rgba(255,255,255,0.10);

  text-align: center;

  color: #8f8f8f;

  font-size: 13px;
  line-height: 1.5;
}


/* Footer en móvil */

@media (max-width: 700px) {

  .footer-contenido {
    padding:
      30px 14px 22px;
  }

  .footer-aviso h3 {
    font-size: 16px;
  }

  .footer-aviso p {
    font-size: 13px;
    line-height: 1.65;
  }

  .footer-copyright {
    font-size: 12px;
  }
}


/* =====================================================
   X SANDÍA - PANEL DE LOGO
   ===================================================== */

.panel-logo-admin {
  width: 100%;
  box-sizing: border-box;

  margin: 0 0 30px;

  padding: 20px;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 10px;

  background:
    rgba(255,255,255,.025);
}


.panel-logo-titulo h2 {
  margin: 0 0 7px;

  color: #fff;

  font-size: 18px;
}


.panel-logo-titulo p {
  margin: 0;

  color: #888;

  font-size: 12px;

  line-height: 1.5;
}


.logo-admin-preview-wrap {
  width: 100%;

  margin-top: 18px;
}


.logo-admin-preview {
  width: 100%;
  min-height: 120px;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  padding: 20px;

  border-radius: 8px;

  background:
    repeating-conic-gradient(
      rgba(255,255,255,.025) 0% 25%,
      transparent 0% 50%
    )
    50% / 20px 20px;

  border:
    1px solid rgba(255,255,255,.08);
}


.logo-admin-preview img {
  display: block;

  max-width: 100%;

  max-height: 130px;

  width: auto;
  height: auto;

  object-fit: contain;
}


.logo-admin-preview span {
  color: #777;

  font-size: 12px;
}


.logo-admin-form {
  margin-top: 15px;
}


.logo-admin-form label {
  display: block;

  margin-bottom: 7px;

  color: #ddd;

  font-size: 12px;

  font-weight: 600;
}


.logo-admin-form input[type="file"] {
  width: 100%;

  box-sizing: border-box;

  margin-bottom: 12px;

  padding: 10px;

  border-radius: 6px;

  border:
    1px solid rgba(255,255,255,.10);

  background: rgba(0,0,0,.20);

  color: #aaa;

  font-size: 12px;
}


.btn-subir-logo {
  width: 100%;

  min-height: 40px;

  border: 0;

  border-radius: 6px;

  background: #ff5b9e;

  color: #fff;

  font-weight: 700;

  cursor: pointer;
}


.btn-subir-logo:hover {
  background: #ff3f8d;
}


.btn-subir-logo:disabled {
  opacity: .55;

  cursor: wait;
}


.logo-admin-mensaje {
  margin: 10px 0 0;

  font-size: 12px;
}


.logo-admin-mensaje.exito {
  color: #64d98b;
}


.logo-admin-mensaje.error {
  color: #ff6b6b;
}

/* =====================================================
   X SANDÍA - LOGO DEL HEADER
   ===================================================== */

.logo-imagen {
  display: block;

  width: auto;
  height: auto;

  max-width: 190px;
  max-height: 55px;

  object-fit: contain;
}


@media only screen and (max-width: 700px) {

  .logo-imagen {
    max-width: 155px;
    max-height: 45px;
  }

}

/* ============================================================
   FILTRO INTERNO DE ESTRELLA
   ============================================================ */

.filtro-estrella {
  width: 100%;
  margin: -8px 0 28px 0;
  position: relative;
  z-index: 20;
}

.filtro-estrella-dropdown {
  position: relative;
  display: inline-block;
}


/* ============================================================
   BOTÓN FILTROS
   ============================================================ */

.filtro-estrella-boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 14px;

  border: 1px solid #333;
  border-radius: 6px;

  background: #171717;
  color: #ddd;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.filtro-estrella-boton:hover {
  background: #222;
  color: #fff;
  border-color: #555;
}

.filtro-estrella-flecha {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.filtro-estrella.abierto
.filtro-estrella-flecha {
  transform: rotate(180deg);
}


/* ============================================================
   DROPDOWN
   ============================================================ */

.filtro-estrella-menu {
  position: absolute;

  top: calc(100% + 6px);
  left: 0;

  min-width: 185px;

  padding: 6px;

  background: #151515;

  border: 1px solid #333;
  border-radius: 7px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.35);

  display: none;
}

.filtro-estrella.abierto
.filtro-estrella-menu {
  display: flex;
  flex-direction: column;
}


/* ============================================================
   OPCIONES
   ============================================================ */

.filtro-opcion {
  display: block;

  padding: 10px 12px;

  border-radius: 5px;

  color: #ccc;

  text-decoration: none;

  font-size: 13px;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.filtro-opcion:hover {
  background: #252525;
  color: #fff;
}

.filtro-opcion.activo {
  background: #2d2d2d;
  color: #fff;
  font-weight: 600;
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media only screen and (max-width: 700px) {

  .filtro-estrella {
    margin-top: -4px;
    margin-bottom: 22px;
  }

  .filtro-estrella-boton {
    font-size: 12px;
    padding: 8px 12px;
  }

  .filtro-estrella-menu {
    min-width: 175px;
  }

  .filtro-opcion {
    font-size: 12px;
    padding: 9px 11px;
  }

}
