header.container-header {
  background-color: #ffffff !important;
  background-image: none !important;
}

  .hover-overlay {
    position: relative;
    display: inline-block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
  }

  .hover-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hover-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #AA7DCE;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 30px; 
  }

  .hover-overlay:hover::after {
    opacity: 0.5;
  }


/* === ESTILO POR DEFECTO (ESCRITORIO) === */
.btn-registrarse {
  font-size: 18px;
  padding: 6px 20px;
  background-color: #b28dd0;
  border-radius: 20px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-registrarse:hover {
  background-color: #a179c5; /* Hover opcional */
  color: white;
}

/* === AJUSTES SOLO PARA MÓVILES === */
@media (max-width: 768px) {
  .logo-img {
    height: 50px !important;
  }

  .navbar-toggler {
    border: none;
    padding: 6px;
  }

  /* Mostrar solo texto, ocultar íconos */
  .nav-mobile-hide-icon img {
    display: none !important;
  }

  .nav-mobile-show-text {
    display: inline !important;
    font-size: 16px;
    color: #24387d !important;
  }

  /* Botón Registrarse sin fondo en móvil */
  .btn-registrarse {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    color: #24387d !important;
  }

  /* Menú en columna para móviles */
.nav-menu-items {
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px !important;
  width: 100%;
  margin-top: 12px;
}

.nav-menu-items .nav-link {
  align-self: flex-end !important;
  width: auto;
  text-align: right !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}


  /* Tienda texto en móvil */
  .only-mobile {
    display: inline !important;
    color: #24387d;
    font-size: 16px;
  }

  .only-desktop {
    display: none !important;
  }
}

.footer {
  background-color: #b185d5;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 60px 40px;
  border-radius: 40px 40px 0 0;
  width: 100%;
  box-sizing: border-box;
  background-image: none;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-col h4 {
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-col p {
  margin: 6px 0;
}

.logo-col img {
  margin-bottom: 10px;
  max-width: 150px;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icons img {
  width: 24px;
}

/* ✅ ADAPTACIÓN PARA MÓVILES */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 0 20px;
  }

  .footer-col {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-col.footer-col-compact {
    flex: 1 1 160px !important;
  }
}


.nav-link-sub {
  margin-right: 15px;
  color: #24387d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link-sub:hover {
  color: #aa7dce;
}

.nav-link-sub.active {
  color: #aa7dce;
  font-weight: bold;
}

.contacto-wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
  flex-wrap: wrap;
  padding: 20px;
}

.contacto-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}

.contacto-form label {
  font-weight: bold;
  margin-top: 10px;
  color: #24387d;
}

.contacto-form input,
.contacto-form textarea {
  border: none;
  background-color: #d8d1e7;
  border-radius: 15px;
  padding: 10px;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
}

.contacto-form button {
  margin-top: 10px;
  padding: 10px 30px;
  border: none;
  background-color: #aa7dce;
  color: white;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  align-self: flex-start;
}

.contacto-info {
  flex: 1 1 250px;
  color: #24387d;
  font-size: 1em;
  min-width: 260px;
}

.contacto-info h3 {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.contacto-info ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.contacto-info li {
  margin-bottom: 8px;
}

/* MÓVIL */
@media (max-width: 768px) {
  .contacto-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contacto-form,
  .contacto-info {
    width: 100%;
    max-width: 400px;
  }

  .contacto-form button {
    align-self: center;
  }
}

.mapa-container {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sabias-section {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
}

.sabias-titulo {
  font-size: 64px;
  color: #aa7dce;
  margin-bottom: 40px;
  font-weight: bold;
}

.sabias-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.sabias-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  background-color: #aa7dce;
}

.sabias-card img {
  width: 100%;
  display: block;
}

.sabias-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.sabias-numero {
  width: 107px;
  height: 107px;
  background-color: #24387d;
  color: white;
  font-size: 64px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sabias-texto {
  color: white;
  font-size: 24px;
  font-weight: bold;
  max-width: 400px;
  margin: 0 auto;
}

/* ✅ Adaptación para móviles */
@media (max-width: 768px) {
  .sabias-titulo {
    font-size: 42px;
  }

  .sabias-grid {
    flex-direction: column;
    align-items: center;
  }

  .sabias-numero {
    width: 80px;
    height: 80px;
    font-size: 42px;
  }

  .sabias-texto {
    font-size: 18px;
    padding: 0 10px;
  }
}

.ets-wrapper {
  font-family: Montserrat, sans-serif;
  color: #24387d;
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.ets-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #aa7dce;
}

.ets-date {
  font-size: 1.1em;
  color: #aa7dce;
  margin-bottom: 30px;
}

.ets-subtitle {
  font-size: 2.2em;
  font-weight: bold;
  color: #24387d;
  margin-top: 50px;
}

.ets-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 30px 0 20px;
}

.ets-tabs button {
  padding: 6px 24px;
  font-weight: 600;
  font-size: 1.2em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background-color: #eee;
}

.ets-tabs button:hover {
  background: #aa7dce;
  color: white;
}

.ets-section {
  padding-top: 60px;
  margin-bottom: 30px;
}

.ets-section-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.ets-highlight {
  font-size: 1.3em;
  color: #b9afd2;
  font-weight: bold;
  margin-bottom: 10px;
}

.ets-highlight.purple {
  color: #aa7dce;
}

.ets-list {
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.2em;
}

.ets-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.ets-col {
  flex: 1 1 300px;
}

.ets-col-title {
  font-weight: bold;
  font-size: 1.3em;
  background: #b9afd2;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 30px;
}

.ets-col-title.left {
  border-radius: 50px 0 0 50px;
}

.ets-col-title.right {
  border-radius: 0 50px 50px 0;
}

.ets-content-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  gap: 20px;
}

.ets-left {
  flex: 1 1 480px;
}

.ets-right {
  flex: 1 1 300px;
  text-align: center;
}

.ets-right img {
  max-width: 100%;
  height: auto;
}

/* ✅ Mobile responsive */
@media (max-width: 768px) {
  .ets-title {
    font-size: 1.8em;
  }

  .ets-subtitle {
    font-size: 1.5em;
  }

  .ets-tabs button {
    font-size: 1em;
  }

  .ets-cols,
  .ets-content-cols {
    flex-direction: column;
  }

  .ets-col-title.left,
  .ets-col-title.right {
    border-radius: 30px;
  }
}

.rompe-tabu {
  color: #aa7dce;
  border-top: 2px solid #AA7DCE;
  border-bottom: 2px solid #AA7DCE;
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  font-size: 4em;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.filtros-tabus {
  margin-bottom: 40px;
  font-weight: bold;
  font-size: 1.4em;
  color: #24387d;
}

.filtros-tabus a {
  margin: 0 10px;
  color: #24387d;
  text-decoration: none;
}

/* ✅ Responsive solo para móvil */
@media (max-width: 768px) {
  .rompe-tabu {
    font-size: 1.5em;
    padding: 8px 16px;
    margin-bottom: 40px;
  }

  .filtros-tabus {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 1.2em;
  }

  .filtros-tabus a {
    margin: 0;
  }
}

.categorias-tienda {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 40px 20px;
  color: #24387d;
}

.titulo-categorias {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.titulo-categorias::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #aa7dce;
  margin-top: 10px;
}

.categorias-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.categoria-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  width: 280px;
  height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overlay-texto {
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  width: 100%;
  padding: 20px;
  color: white;
  text-align: center;
}

.overlay-texto h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 12px;
}

.btn-ver-mas {
  display: inline-block;
  background-color: white;
  color: #24387d;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #e2d9f3;
}

/* ✅ Responsive móvil */
@media (max-width: 768px) {
  .categoria-item {
    width: 100%;
    height: 300px;
  }

  .titulo-categorias {
    font-size: 1.6em;
  }

  .overlay-texto h3 {
    font-size: 1.2em;
  }

  .btn-ver-mas {
    font-size: 0.95em;
    padding: 6px 16px;
  }
}

.destacados-tienda {
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  color: #24387d;
}

.titulo-destacados {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitulo-destacados {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #24387d;
  font-weight: 600;
}

.productos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.producto-card {
  width: 260px;
  background-color: #fdfcff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.producto-card img {
  width: 100%;
  object-fit: cover;
  height: 260px;
}

.producto-info {
  padding: 16px;
  text-align: left;
}

.producto-nombre {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #24387d;
}

.estrellas {
  margin-bottom: 10px;
}

.estrellas img {
  width: 18px;
  height: 18px;
}

.producto-info p {
  font-size: 0.95em;
  margin-bottom: 10px;
}

.precio {
  font-weight: bold;
  font-size: 1.1em;
  color: #24387d;
}

/* Separador inferior */
.separador-tienda {
  background-color: #dcddde;
  height: 180px;
  position: relative;
  margin-top: 60px;
}

.separador-tienda img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .producto-card {
    width: 100%;
  }

  .productos-grid {
    flex-direction: column;
    align-items: center;
  }

  .titulo-destacados {
    font-size: 1.6em;
  }

  .subtitulo-destacados {
    font-size: 1.1em;
  }

  .separador-tienda {
    height: 120px;
  }

  .separador-tienda img {
    height: 120px;
  }
}

.detalle-producto-tienda {
  font-family: 'Montserrat', sans-serif;
  padding: 40px 20px;
  color: #24387d;
  max-width: 1200px;
  margin: 0 auto;
}

.detalle-nombre {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.detalle-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.detalle-rating span {
  color: #444;
  font-size: 0.9em;
}

.detalle-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.detalle-imagenes {
  flex: 1;
  min-width: 300px;
}

.imagen-principal {
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}

.imagen-principal img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.detalle-info {
  flex: 1;
  min-width: 300px;
}

.detalle-card {
  background-color: #b489d8;
  padding: 30px;
  border-radius: 20px;
  color: white;
}

.detalle-card h3 {
  margin-top: 0;
  font-size: 1.5em;
  font-weight: bold;
}

.precio-unitario {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.detalle-compra {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cantidad input {
  width: 60px;
  padding: 5px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
}

.total {
  font-weight: bold;
  font-size: 1.2em;
  color: white;
}

.btn-comprar {
  background: ##f7f8fb;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
}

.btn-comprar img {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .detalle-contenedor {
    flex-direction: column;
  }

  .detalle-compra {
    flex-direction: column;
    align-items: flex-start;
  }

  .detalle-card {
    padding: 20px;
  }
}

.reviews-container {
  display: flex;
  justify-content: space-between;
  font-family: Montserrat, sans-serif;
  color: #24387D;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 40px;
}

.comentarios, .resenas {
  flex: 1;
  min-width: 300px;
}

.comentarios h3,
.resenas h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.comentario {
  display: flex;
  background: #24387D;
  color: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  margin-bottom: 12px;
  align-items: flex-start;
  gap: 10px;
}

.icono-usuario {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* cambia azul a blanco */
}

.resenas p {
  font-size: 14px;
  margin-bottom: 12px;
}

.barra {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.barra .progreso {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.barra .relleno {
  height: 100%;
  background: #9461F0;
  border-radius: 4px;
}

/* ✅ Estilos responsive para móviles */
@media screen and (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    padding: 0 10px;
  }

  .comentarios, .resenas {
    width: 100%;
  }

  .comentario {
    flex-direction: row;
  }

  .icono-usuario {
    flex-shrink: 0;
  }
}

.producto-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.login-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px;
  font-family: Montserrat, sans-serif;
  flex-wrap: wrap;
}

.login-form {
  flex: 1;
  max-width: 400px;
  color: #24387D;
}

.login-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-bottom: 5px;
  color: #24387D;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 20px;
  border: none;
  background-color: #e5d8f1;
}

.icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  filter: brightness(0) saturate(100%) sepia(97%) hue-rotate(185deg) brightness(90%) contrast(140%);
}

.btn-ingresar {
  background-color: #c491dc;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-ingresar:hover {
  background-color: #b070d1;
}

.login-logo {
  flex: 1;
  text-align: center;
}

.login-logo img {
  max-width: 100%;
  height: auto;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    align-items: stretch;
  }

  .login-form, .login-logo {
    max-width: 100%;
    text-align: center;
  }

  .login-form h2 {
    justify-content: center;
  }
}

.registro-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px;
  font-family: Montserrat, sans-serif;
  flex-wrap: wrap;
}

.registro-formulario {
  flex: 1;
  max-width: 450px;
  color: #24387D;
}

.registro-formulario h2 {
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.registro-grupo {
  margin-bottom: 20px;
}

.registro-grupo label {
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
}

.registro-grupo input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 20px;
  border: none;
  background-color: #e5d8f1;
}

.icono-registro {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  filter: brightness(0) saturate(100%) sepia(97%) hue-rotate(185deg) brightness(90%) contrast(140%);
}

.btn-registro {
  background-color: #c491dc;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-registro:hover {
  background-color: #b070d1;
}

.registro-logo {
  flex: 1;
  text-align: center;
}

.registro-logo img {
  max-width: 100%;
  height: auto;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .registro-container {
    flex-direction: column;
    align-items: stretch;
  }

  .registro-formulario,
  .registro-logo {
    max-width: 100%;
    text-align: center;
  }

  .registro-formulario h2 {
    justify-content: center;
  }
}

  @media (max-width: 768px) {
    #subheader-nav {
      flex-direction: column !important;
      padding: 15px 20px !important;
      gap: 15px !important;
      width: 90% !important;
    }
    #subheader-nav a {
      font-size: 16px !important;
    }
    #subheader-nav input {
      width: 100px !important;
    }
  }

.container-header .grid-child {
  justify-content: center !important;
}

.container-below-top-a {
  width: 100%;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 991px) {
  .only-desktop {
    display: none !important;
  }
}

  @media screen and (max-width: 991px) {
    #subheader-nav {
      display: none !important;
    }

    .logo-campana {
      width: 90% !important;
      max-width: 350px !important;
    }
  }

.carrito-container {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

.carrito-item {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.carrito-index {
  font-size: 1.7rem;
  font-weight: bold;
  background: #caa3eb;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrito-imagen img {
  width: 215px;
  border-radius: 10px;
}

.carrito-info {
  flex: 1;
  min-width: 200px;
}

.carrito-info h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.carrito-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.carrito-acciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.carrito-acciones img {
  
  cursor: pointer;
}

.carrito-btn-volver,
.carrito-btn-finalizar {
  margin-top: 2rem;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.carrito-btn-volver {
  background-color: #d9c3f1;
  color: #000;
  margin-right: 1rem;
}

.carrito-btn-finalizar {
  background-color: #202C6C;
  color: #fff;
}

/* ============ RESPONSIVE (MÓVIL) ============ */
@media (max-width: 768px) {
  .carrito-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .carrito-index {
    margin-bottom: 0.5rem;
  }

  .carrito-imagen img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
  }

  .carrito-info {
    width: 100%;
  }

  .carrito-info h3 {
    font-size: 1rem;
  }

  .carrito-info p {
    font-size: 0.9rem;
  }

  .carrito-acciones {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }

  .carrito-btn-volver,
  .carrito-btn-finalizar {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem;
    font-size: 1rem;
  }
}

.btn-eliminar {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-eliminar img {
    width: 35px;
  height: 35px;
}

.check-icon {
    width: 35px;
  height: 35px;
}

.pago-container {
  font-family: 'Montserrat', sans-serif;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  color: #24387d;
}

/* Contenedor de dos columnas */
.pago-contenido {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Columna de la izquierda */
.pago-formulario {
  flex: 1 1 500px;
}

/* Columna de la derecha (imagen decorativa) */
.imagen-pago {
  flex: 1 1 300px;
  text-align: center;
  margin-top: 40px;
}

.imagen-pago img {
  max-width: 100%;
  height: auto;
}

/* Títulos */
h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Opciones de métodos de pago */
.metodos-pago label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.icono-pago {
  height: 20px;
}

/* Botones */
button.btn-continuar,
button.btn-pagar {
  background-color: #b489d8;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 20px 0;
  display: block;
  transition: opacity 0.3s ease;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sección de usuario */
.datos-usuario {
  margin-top: 30px;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Campos de entrada */
input {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background-color: #e8dff3;
  font-size: 1em;
  color: #24387d;
}

input::placeholder {
  color: #7b7b7b;
}

.tarjeta-cvv {
  display: flex;
  gap: 10px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .pago-contenido {
    flex-direction: column;
  }

  .imagen-pago {
    margin-top: 20px;
  }

  h2 {
    font-size: 1.3em;
  }

  .tarjeta-cvv {
    flex-direction: column;
  }
}

.compra-realizada {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #24387d;
}

.cr-logo-final {
  max-width: 100%;
  height: auto;
  width: 523px;
  margin-bottom: 30px;
}

.compra-realizada h2 {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 30px;
  justify-content: center;
}

.cr-btn-volver {
  background-color: #b489d8;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cr-btn-volver:hover {
  background-color: #9e6cc4;
}

@media (max-width: 600px) {
  .cr-logo-final {
    width: 220px;
  }

  .compra-realizada h2 {
    font-size: 1.3em;
  }
}

.capitulo-container {
  display: flex;
  align-items: center;
  margin: 0 auto 40px auto;
  max-width: 800px;
  font-family: Montserrat, sans-serif;
  gap: 20px;
}

.video-thumbnail {
  flex: 0 0 422px;
  height: 404px;
  border-radius: 30px;
  background-color: #d9d9d9; /* fallback si no hay imagen */
  background-size: cover; /* muestra la miniatura correctamente */
  background-position: center;
  position: relative;
  cursor: pointer;
}

.video-thumbnail .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #aa7dce;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 56px;
  padding-left: 10px;
}

.capitulo-texto {
  flex: 1;
  padding-left: 20px;
  text-align: left;
}

.capitulo-texto p:first-child {
  color: #a076b2;
  margin: 0;
  font-weight: bold;
}

.capitulo-texto h3 {
  margin: 5px 0;
  color: #a076b2;
  font-weight: bold;
}

.capitulo-texto p:last-child {
  margin: 0;
  color: #444;
}

/* ========== Responsive para móviles ========== */
@media (max-width: 768px) {
  .capitulo-container {
    flex-direction: column;
    text-align: center;
  }

  .video-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
  }

  .capitulo-texto {
    padding-left: 0;
    padding-top: 20px;
    text-align: center;
  }
}
