
    /* ... otros estilos ... */

.swiper-container {
        width: 100%;
        height: auto; /* Ajusta esta altura según tus necesidades */
        position: relative; /* Asegura que los controles se posicionen correctamente */
        overflow: hidden; /* Evita el desbordamiento */
    }
    .swiper-wrapper {
        display: flex;
        align-items: center; /* Centra verticalmente las imágenes */
    }
    .swiper-slide {
        display: flex;
        justify-content: center; /* Centra horizontalmente las imágenes */
        align-items: center;
        width: 100%; /* Asegura que las slides ocupen el 100% del ancho del contenedor */
    }
    .swiper-slide img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
  
    .swiper-pagination-bullet {
        background: #000; /* Color de los bullets de paginación */
    }
    
    /* Flechas SOLO en PC */
@media (min-width: 900px){
  .swiper-button-next,
  .swiper-button-prev{
    display: flex !important;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    color: #000; /* o tu color */
  }
  .swiper-button-next{ right: 10px; }
  .swiper-button-prev{ left: 10px; }
}
    
    .btn-promote {
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        margin: 10px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        text-decoration: none;
    }

    .btn-promote:hover {
        background-color: #45a049;
    }
    
    .verified {
            color: green;
            font-weight: bold;
        }
        
         .blue {color:blue;}
         
         .views-count, .whatsapp-clicks-count {
    font-size: 16px;
    margin: 10px 0;
}

.whatsapp-clicks-count {
    color: black; /* Color verde similar al de WhatsApp */
    font-weight: bold;
}

.whatsapp-clicks-count span {
    display: inline-block;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

        
       

@media screen and (orientation: landscape) {
    .swiper-container {
        /*height: 100vh;  Ajustar para que ocupe toda la pantalla */
    }
}

/* Asegurarse de que el lightbox permita el deslizamiento suave */
.lightbox {
    touch-action: pan-y;
}

.facebook-share-button {
    position: absolute;
    display: flex;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s;
    background-color: #3b5998;
    right: 5px;
    top: 40px;
    z-index: 1000;
}

.facebook-share-button:hover {
    background-color: #334d84;
}

.price-container {
    text-align: center; /* Centra el contenido del contenedor */
    margin: 20px 0;
}

.centrar {text-align: center; /* Centra el contenido del contenedor */
    margin: 20px 0;}

.price-tag {
    display: inline-block;
    background-color: #fff;  /* bco */
    color: #dc3545;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 20px;
    transition: background-color 0.3s;
}

.price-tag:hover {
    background-color: #ff000029;  /* Rojo un poco más oscuro al pasar el cursor */
}
.btn-purchase {
    display: inline-block;
    background-color: #3f72a9; /*# 007bff*/
    color: white;
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-purchase:hover {
    background-color: #0069d9;
}

.coupon-button {
    display: inline-block;
    width: 70px;              /* Ajusta según lo grande que quieras el círculo */
    height: 70px;             /* El mismo valor que width */
    background-color: #ff000029;
    color: red;
    text-decoration: none;
    font-weight: bold;
    
    border-radius: 50%;       /* El truco para hacerlo circular */
    
    /* Centrar el contenido (texto) dentro del círculo */
    text-align: center;
    line-height: 70px;        /* Igual a la altura para centrar verticalmente */
    vertical-align: middle;
    
    /* Opcional: para que el cursor cambie a "mano" al pasar */
    cursor: pointer;
}

.coupon-button:hover {
    background-color: #00796b;
}

#logo {
  max-width: 250px; /* Ajusta el ancho máximo que desees */
  height: auto;     /* Mantiene la proporción original */
}

.modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center;
}
.modal-content {
  background: #fff; padding: 20px; border-radius: 8px; width: 90%; max-width: 400px;
}
.cerrar {
  float: right; cursor: pointer; font-size: 20px;
}

.btn-recomendar{
  display:inline-block;
  margin-top:8px;
  padding:10px 14px;
  background:#673ab7;
  color:#fff;
  text-decoration:none;
  border-radius:4px;
}
.btn-recomendar:hover{background:#5c32a4;}

/* Añádelo a tu CSS global */
#video-preview {
    display: none;
  width: 100%;
  aspect-ratio: 16/9;     /* Relación por defecto para vídeos normales */
  position: relative;
  margin: 0 auto;
}


#video-preview.short {
  aspect-ratio: 9/16;      /* Relación para YouTube Shorts */
}
#video-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



.post-author .author-wrapper {
  display: inline-flex;
  align-items: center; /* centra verticalmente el texto con la imagen */
  gap: 5px; /* espacio entre imagen y texto */
}

.post-author-fixed {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 0.5em 1em;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;

  display: flex;         /* <-- flex aquí */
  align-items: center;   /* centra verticalmente */
  gap: 0.5em;            /* separa img y texto */
}

.post-author-icon {
  display: inline-block; /* ya solo se muestra en el fixed */
  width: 4.0em;
  height: 4.0em;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;             /* el gap controla el espacio */
}

.post-author-fixed a {
  display: inline-flex;  /* si dentro del <a> quisieras agregar íconos */
  align-items: center;   /* centra íconos/texto dentro del enlace */
  text-decoration: none;
  color: inherit;
}

.post-author-fixed .blue {
  color: #007BFF;
}

.post-author-fixed .verified {
  margin-left: 0.25em;
  color: green;
}



#whatsapp-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  padding: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  z-index: 1000;
  flex-wrap: nowrap;
}


.whatsapp-button,
.like-button {
  flex-shrink: 2;            /* no se achiquen si falta espacio */
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;       /* evita que el texto haga wrap */
}

/* WhatsApp */
.whatsapp-button {
  background-color: #25D366;
  color: #fff;
}
.whatsapp-button:hover {
  background-color: #1ebe5c;
}

/* Like (azul) */
.like-button {
  background-color: #007BFF;
  color: #fff;
}
.like-button:hover {
  background-color: #0056b3;
}

.btn-login-redirect {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.btn-login-redirect:hover {
  background: #0056b3;
}

.spinner-overlay {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
}
.spinner {
  width: 48px; height: 48px;
  border: 5px solid #ccc;
  border-top-color: #007bff;     /* color primario */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/*estilos de la portada*/
.post-header {
  position: relative;
  min-height: 80px;              /* ajusta a tu gusto */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0px;            /* opcional si usas cards */
  overflow: hidden;               /* para el overlay dentro del borde */
}

/* Overlay para mejorar la legibilidad del contenido encima */
.post-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.15)
  );
}

.post-header .header-content,
.post-header nav {
  position: relative; /* por encima del overlay */
  z-index: 1;
}

/* Si necesitas asegurar contraste de links/iconos dentro del header */
.post-header a,
.post-header a:visited {
  color: #fff;
}
.post-header img {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

/* Enlaces a posts */
a.mp-internal {
  color: #0645AD;
  text-decoration: underline;
}
a.mp-internal:hover {
  color: #0B0080;
}

/* Enlaces a perfiles */
a.mp-profile {
  color: #0645AD;
  text-decoration: none; /* sin subrayado */
  font-weight: 500;
}
a.mp-profile:hover {
  color: #0B0080;
  text-decoration: none;
}

/* Se ve como foto, pero si iOS bloquea autoplay mostramos cursor de mano */
.mp-yt-bg.mp-yt-tap { cursor: pointer; }


