/* ============================
✅ Estilos de Tiendalo

Aca se encuentran todos los estilos basandose en boostrap 5 , buscando la responsividad en todo las resoluciones.
El codigo se encuentra separados por areas y comentando las funciones

-Realiazo por MTO - Since 2025-
============================ */


/* =============================
🔤 FUENTES PERSONALIZADAS - MONTSERRAT
Se definen las fuentes Montserrat-Regular y Montserrat-Bold desde archivos .ttf
============================= */

@font-face {
  font-family: 'Montserrat';
  src: url('/statics/css/fonts/Montserrat-Regular_tiendalo.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/statics/css/fonts/Montserrat-Bold_tiendalo.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Clases utilitarias para usar en cualquier texto */
.monserrat-regular-tiendalo {
  font-family: 'Montserrat';
  font-weight: 400;
}

.monserrat-bolder-tiendalo {
  font-family: 'Montserrat';
  font-weight: 700;
}

#div_id_username label {
  font-family: 'Montserrat';
  font-weight: 600;
}

#div_id_password label {
  font-family: 'Montserrat';
  font-weight: 600;
}



/* ========================
   📌 NAVBAR TIENDALO
======================== */
.navbar {
  background-color: #5af139;
  padding: 10px 15px;
}

.logoTiendalo {
  max-height: 40px;
}

/* Ajustes para mantener en línea los ítems en mobile */
@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    flex-direction: row !important;
    gap: 10px;
  }

  .navbar .nav-link {
    padding: 4px 8px;
    font-size: 12px;
  }

  .navbar .btn-dark {
    padding: 4px 10px;
    font-size: 12px;
  }

  .navbar-collapse {
    flex-grow: 0;
  }
}

.navbar-nav .nav-link {
  color: black;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #333;
}

.navbar-nav .btn {
  font-size: 14px;
  margin-left: 15px;
  border-radius: 5px;
  padding: 6px 16px;
}

.navbar .btn-dark {
  background-color: black;
  color: white;
}

.dropdown-item svg{
  margin-left: 10px;
}

@media (max-width: 991.98px) {
  .navbar .btn-dark {
    width: 100%;
    margin-top: 10px;
  }


  .navbar-nav .nav-link {
    text-align: center;
    width: 100%;
  }

  .navbar-nav {
    align-items: center;
  }

  .logoTiendalo {
    max-height: 30px;
  }
}

/* Fuente base para enlaces del navbar y dropdown */
.navbar .nav-link,
.navbar .dropdown-item {
  font-size: 15px;
  margin-top: 11px;
  font-family: 'Montserrat';
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}

/* Efecto hover */
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #aaaaaa;
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 15px;
}

/* Alineación derecha del menú desplegable */
.dropdown-menu {
  text-align: left;
}

/* Botón hamburguesa */
.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  margin-right: 10px; /* Separación desde el borde derecho */
  padding: 4px 8px; /* Un poco de espacio interno */
  outline: none;
}

/* ============================
🎨 BOTÓN "CREAR CUENTA"
============================ */

.navbar .btn-dark {
  background-color: #000 !important;
  color: #ffffff !important;
  font-size: 11px;
  border-radius: 4px;
  margin-right: 0 !important;
  transition: background-color 0.3s ease;
}

.navbar-nav .btn-dark {
  font-size: 15px;              /* igual que nav-link */
  padding: 6px 16px;            /* ya definido correctamente */
  margin-top: 11px;             /* igual que .nav-link */
  margin-left: 15px;            /* mantiene separación */
  border-radius: 5px;
  align-self: center;           /* alinea en flex container */
}

.nav-divider-vertical {
  width: 2px;
  height: 24px;
  background-color: #333; /* o #aaa para más suave */
  margin: 0 12px;
}

.navbar .btn-dark:hover {
  background-color: #333 !important; /* Más claro en hover */
  color: #aaaaaa !important;
}

/* ===============================
📱 MENÚ DESPLEGABLE SOLO PARA MÓVILES
=============================== */
@media (max-width: 991.98px) {
  /* Estilos para el ul que contiene los li del dropdown */
  .navbar .dropdown-menu.show {
    display: flex !important;
    flex-direction: column;
    width: 100vw !important;
    max-width: 100vw;
    background-color: white;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* sombra fuerte hacia abajo */
  }

  .navbar .dropdown-menu.show .dropdown-item {
    width: 100%;
    font-size: 12px;
    color: #212529;
    text-align: inherit;
    padding: .25rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat';
    font-weight: 400;
  }

  .navbar .dropdown-menu.show .dropdown-item:last-child {
    border-bottom: none;
  }

  .navbar .dropdown-divider {
    margin: 0;
    border-top: 1px solid #ccc;
  }

}

@media (max-width: 991.98px) {
  ul.dropdown-menu.show.position-static {
    position: fixed !important;
    top: 55px; /* o altura de la navbar */
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1050;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    /* ✅ Efecto slide */
    transform: translateY(-20px);
    opacity: 0;
    animation: dropdownFadeIn 0.3s ease forwards;
  }

  @keyframes dropdownFadeIn {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}


/* ==========================================
🔥 SECCIÓN BANER + FONDO INFINITO
========================================== */
.sec_banner {
  background: linear-gradient(to bottom, #5af139 0%, #f3f3f3f2 100%);
  color: black;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 250px;
  width: 100%;
}

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

/* Degrade extendido solo en escritorio */
@media (min-width: 992px) {
  .sec_banner::before,
  .sec_banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50vw;
    z-index: -1;
    background: linear-gradient(to bottom, #5af139 0%, #f3f3f3 100%);
  }
  .sec_banner::before {
    left: -50vw;
  }
  .sec_banner::after {
    right: -50vw;
  }

  .sec_banner img {
    /* height: 600px; o el valor que desees */
    object-fit: cover; /* Para que no se deforme */
  }
}

/* Ajustes móviles/tablets */
@media (max-width: 991px) {
  .sec_banner {
    min-height: 300px;
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .sec_banner {
    min-height: 220px;
    font-size: 27px;
    padding: 20px 15px;
    flex-direction: column;
  }

  .sec_banner h2{
    font-size: 30px;
  }

  .sec_banner img {
    max-width: 90%;
    margin-top: 10px;
  }
}

/* ==========================================
🌍 SECCIÓN BENEFICIOS
========================================== */
.sec_beneficios {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  background-color: #f3f3f3;
  z-index: 1;
}

.sec_beneficios-content {
  max-width: 1100px;
  margin: 0 auto;
}

.sec_beneficios-box-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sec_beneficios-box-content img {
  width: 35px;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
}

.logo-seguridad-img {
  width: 27px !important;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
}

.sec_beneficios p {
  font-size: 15px;
}

.sec_beneficios-h2 {
  font-size: 2rem;
  color: black;
}

.sec_beneficios-box-content .card {
  padding: 25px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sec_beneficios-box-content h5 {
  font-size: 19px;
  color: #333;
  margin-top: 10px;
}

.sec_beneficios-box-content p {
  font-size: 13px;
  color: #333;
  margin: 10px 0;
}

/* Fondo extendido escritorio */
@media (min-width: 992px) {
  .sec_beneficios::before,
  .sec_beneficios::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50vw;
    background-color: #f3f3f3;
    z-index: -1;
  }
  .sec_beneficios::before {
    left: -50vw;
  }
  .sec_beneficios::after {
    right: -50vw;
  }
}

/* Igualar alturas entre columnas */
@media (min-width: 768px) {
  .sec_beneficios .row {
    display: flex;
    align-items: stretch;
  }
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .sec_beneficios {
    padding: 40px 15px;
  }
  .sec_beneficios-h2 {
    font-size: 1.5rem;
  }
  .sec_beneficios-box-content .card {
    margin-bottom: 20px;
  }
  .sec_beneficios-box-content img {
    width: 30px;
  }
}

/* ==========================================
✅ GUÍA PARA CREAR CUENTA
========================================== */
.sec_guia_cuenta {
  position: relative;
  padding: 60px 0;
}

.sec_guia_cuenta-container {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sec_guia_cuenta-h2 {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 10px;
}

.sec_guia_cuenta-p {
  font-size: 14px;
  color: black;
  margin-bottom: 20px;
}

.sec_guia_cuenta-number {
  background-color: #e6e6e6;
  color: #5af139;
  font-weight: 700;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.sec_guia_cuenta-text {
  text-align: left;
  font-size: 11px;
}

.sec_guia_cuenta-text strong {
  font-size: 16px;
}

.sec_guia_cuenta-image {
  max-width: 85%;
  height: auto;
}

/* Botón */
.btn-simulado {
  background-color: black;
  color: #5af139;
  font-weight: bold;
  padding: 6px 20px;
  font-size: 14px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  margin-top: 20px;
  width: fit-content;
}

/* 📱 Ajustes móviles y tablets */
@media (max-width: 991px) {

  .sec_guia_cuenta {
    padding: 40px 15px;
  }

  .sec_guia_cuenta-h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .sec_guia_cuenta-p,
  .sec_guia_cuenta-text strong {
    text-align: center;
  }

  .sec_guia_cuenta-container {
    align-items: center;
    text-align: center;
  }

  .sec_guia_cuenta-text {
    font-size: 11px;
  }

  .sec_guia_cuenta-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .sec_guia_cuenta-image {
    margin: 20px auto 0 auto;
    display: block;
  }

  .btn-simulado {
    margin: 20px auto 0 auto;
  }
}

/* Centrado del contenedor y texto en móviles */
@media (max-width: 767.98px) {
  .sec_guia_cuenta-container {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .sec_guia_cuenta-text {
    text-align: center !important;
  }

  .list-unstyled li {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* ==========================================
🌍 SECCIÓN FINAL
========================================== */
.sec_final {
  background-color: #5af139 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  width: 100%;
  padding: 40px 20px;
  flex-direction: column;
}

.sec_final h2 {
  color: black !important;
  font-size: 3.5rem;
  font-weight: 900;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.3;
}

.sec_final .btn-dark {
  color: white !important;
  background-color: black;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 4px;
  margin-top: 20px;
  width: 200px;
}

/* Relleno infinito en escritorio */
@media (min-width: 992px) {
  .sec_final::before,
  .sec_final::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50vw;
    background-color: #5af139 !important;
    z-index: -1;
  }

  .sec_final::before {
    left: -42vw;
  }

  .sec_final::after {
    right: -42vw;
  }

}

/* 📱 Responsivo */
@media (max-width: 992px) {
  .sec_final {
    min-height: 250px;
    padding: 30px 15px;
  }
  .sec_final h2 {
    font-size: 2rem;
  }
  .sec_final .btn-dark {
    font-size: 0.9rem;
    width: 180px;
    padding: 8px 16px;
  }
}
@media (max-width: 576px) {
  .sec_final {
    min-height: 200px;
    padding: 25px 10px;
  }
  .sec_final h2 {
    font-size: 1.6rem;
    max-width: 90%;
  }
  .sec_final .btn-dark {
    font-size: 0.85rem;
    width: 100%;
    padding: 8px 0;
  }
}

/* ==========================================
   🔚 FOOTER - AJUSTES FINALES
========================================== */
.footer {
  width: 100%;
  color: white;
  text-align: center;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  width: 120px;
  height: auto;
  margin-top: 10px;
}

.footer-black {
  background-color: black;
  position: relative;
  padding: 20px 15px;
}

.footer-text {
  color: black;
  font-size: 12px;
}

.footer-bottom {
  background-color: #5af139;
  position: relative;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
}

/* Ajuste de iconos sociales */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-links {
  display: flex !important;
  gap: 10px !important;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-social span {
  font-weight: 600;
  font-size: 14px;
  color: black;
  margin-right: 5px;
}

.footer-social img {
  width: 18px;
  height: auto;
  transition: transform 0.2s ease-in-out;
}

.footer-social img:hover {
  transform: scale(1.1);
}

/* 📱 Ajuste responsivo */
@media (max-width: 768px) {
  .footer-logo img {
     width: 100px;
  }

  .footer-social span {
     font-size: 13px;
  }

  .footer-social img {
     width: 16px;
  }


  .footer-bottom {
     padding: 8px;
     font-size: 13px;
  }

  .footer-text {
     font-size: 11px;
  }
  .footer-links {
      flex-direction: column;
      align-items: flex-end;
      text-align: right;
    }

    .footer-links a {
      font-size: 10px;
    }

}

/* ==========================================
📌 MÁRGENES / PADDING EN MÓVILES
========================================== */
@media (max-width: 991.98px) {

  .container,
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body {
    overflow-x: hidden;
  }
}
/*

    AREA REGISTRO / LOGUIN / RECUPERAR  PASS / RECUPERAR CUENTA

*/

  /* ============================================
✅ ACCEDER (LOGIN) - DISEÑO FINAL
============================================ */

#acceder {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Panel izquierdo (formulario) */
#user_acceder {
  width: 30vw;
  height: 100%;
  padding: 60px 30px 40px 30px;
  background-color: #fff;
  overflow-y: auto;
  position: relative;
  display: block;
}

.logoTiendalo_acc {
  max-width: 160px;
  height: auto;
}

/* Contenido centrado */
.login-content {
  width: 100%;
  max-width: 400px;
  margin-top: 50px;
  text-align: left;
}

#acceder h2,
#acceder p,
#acceder label {
  font-size: 14px;
  color: #000;
}

#acceder input[type="text"],
#acceder input[type="password"] {
  border: 1px solid #606060;
  font-size: 14px;
  width: 100%;
}

#acceder button[type="submit"],
.btn-simulado {
  background-color: #5af139;
  color: #000;
  width: 100%;
  margin-bottom: 20px;
  border: none;
}

.btn-tiendalo{
  background-color: #5af139;
  color: #000;
  width: 100%;
  margin-bottom: 20px;
  border: none;
  font-family: 'Montserrat';
  font-weight: 700;
}

.btn-tiendalo:hover {
  background-color: #5af139 !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Enlaces secundarios */
#acceder .btn-link {
  padding: 0;
  font-size: 13px;
  text-decoration: none;
  color: black;
}

#acceder small {
  display: block;
  margin-top: 10px;
  text-align: center;
}

/* Responsivo */
@media (max-width: 991.98px) {
  #acceder {
    flex-direction: column;
  }

  #user_acceder {
      width: 100vw;
    padding: 30px 0 0 0; /* quitamos padding horizontal */
  }

  .logo-wrapper {
    padding-left: 15px; /* sólo el logo se separa un poco */
    margin-bottom: 20px;
  }

  .login-content {
    padding: 0 15px; /* todo el contenido se separa del borde */
    font-family: 'Montserrat';
     font-weight: 400;
  }

  .text-muted {
    font-family: 'Montserrat';
    font-weight: 400;
    text-decoration: none;
    cursor:pointer
  }

  .fondoAcceder {
    display: none !important;
  }

  .login-content {
    margin-top: 20px;
  }
}

/* ============================================
✅ VALIDAR EMAIL - DISEÑO FINAL
============================================ */

.validar-email-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Panel izquierdo */
#user-user_Emailvalidar {
  width: 30vw;
  height: 100%;
  padding: 60px 30px 40px 30px;
  background-color: #fff;
  overflow-y: auto;
  position: relative;
  display: block;
  font-family: 'Montserrat';
  font-weight: 400;
}

.logoTiendalo {
  max-width: 160px;
  height: auto;
}

/* Contenido */
.login-content {
  width: 100%;
  max-width: 400px;
  margin-top: 50px;
  text-align: left;
  font-family: 'Montserrat';
  font-weight: 400;
}

.login-content input[type="text"],
.login-content input[type="password"] {
  font-size: 14px;
  width: 100%;
  font-family: 'Montserrat';
  font-weight: 400;
}

.login-content h2,
.login-content p  ,
.login-content label {
  font-size: 14px;
  color: #000;
  font-family: 'Montserrat';
  font-weight: 400;
}

.login-content .invalid-feedback {
  color: #dc3545;
  font-family: 'Montserrat';
  font-weight: 400;
}

.login-content .form-control .is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem) !important;
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  font-family: 'Montserrat';
  font-weight: 400;
}





.btn-enviar {
  background-color: #5af139;
  color: #000;
  width: 100%;
  margin-top: 10px;
  border: none;
  padding: 8px 0;
}

/* Frase */
.slogan-desktop {
  color: #58f23a;
  font-size: 28px;
  display: block;
  margin-top: 30px;
  text-align: center;
}

/* Loader */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 13px;
}
.lds-ellipsis div {
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5af139;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes lds-ellipsis2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(24px); }
}
@keyframes lds-ellipsis3 {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}

/* Responsivo */
@media (max-width: 991.98px) {
  .validar-email-container {
    flex-direction: column;
  }

  #user-user_Emailvalidar {
    width: 100vw;
    padding: 30px 15px;
  }

  .logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    padding-left: 0; /* ⛔ quitamos el padding que estaba alejando el logo */
  }

   .logo-wrapper a {
    margin-left: 15px; /* ✅ ahora el logo se separa un poquito del borde */
  }

  .login-content {
    padding: 0 15px; /* el resto del contenido sí tiene margen */
  }

  .fondoRestablecerContrasenia {
    display: none !important;
  }

  .login-content {
    margin-top: 20px;
  }

  .slogan-desktop {
    font-size: 22px;
  }
}

/* ============================================
✅ AISLAMIENTO: SOLO LOGIN Y VALIDAR EMAIL
============================================ */

/* Solo cuando .acceder o .validar-email-container está presente */
body.login-isolated,
body.validar-isolated {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

body.login-isolated *,
body.validar-isolated * {
  box-sizing: border-box;
}

/* Comunes para ambas vistas */
.acceder,
.validar-email-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.acceder .fondoAcceder,
.validar-email-container .fondoRestablecerContrasenia {
  flex: 1;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

/* Responsivo: esconder imagen derecha */
@media (max-width: 991.98px) {
  .acceder .fondoAcceder,
  .validar-email-container .fondoRestablecerContrasenia {
    display: none !important;
  }

  .acceder #user_acceder,
  .validar-email-container #user-user_Emailvalidar {
    width: 100vw;
  }

  .acceder,
  .validar-email-container {
    flex-direction: column;
  }
}
/* ============================================
✅ FRASE MOTIVACIONAL FINAL - REUTILIZABLE
============================================ */
.frase-motivacional-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
}

.frase-motivacional-text {
  font-size: 22px;
  color: #5af139;
}

@media (max-width: 768px) {
  .frase-motivacional-text {
    font-size: 18px;
  }
}

/* ============================================
✅ ESTILOS PARA resetpass-isolated
============================================ */
.resetpass-isolated {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #f8f9fa; /* Fondo claro */
}

/* ============================================
✅ ALERTAS DE SISTEMA - MENSAJES
============================================ */

.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-family: 'Montserrat';
  font-weight: 400;
}


.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  font-family: 'Montserrat';
  font-weight: 400;
}

.alert-info { 
  color: white;
  background-color: black;
  border-color:black;

}

.alert .btn-close {
  color: white !important;
}

/* "X" para cerrar */
.alert button.close,
.alert .btn-close {
  position: absolute;
  top: 10px;
  right: 15px;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 1;
  font-family: 'Montserrat';
  font-weight: 400;
}
/* 🌟 Animación fade + slide para alertas */
.alert-animate {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease-in-out;
}

.alert-animate.show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
✅ Ajuste final layout resetpass-isolated
============================================ */

.reset-pass-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#user_resetPass {
  flex: 1;
  max-width: 30%;
  background-color: #ffffff;
  padding: 60px 30px 40px 30px;
  overflow-y: auto;
  position: relative;
}


/* RESPONSIVO: apilar en móvil */
@media (max-width: 991.98px) {
  .reset-pass-container {
    flex-direction: column;
  }

  #user_resetPass {
    width: 100vw;
    max-width: 100%;
    padding: 30px 15px;
  }

  .fondoRestablecerContrasenia {
    display: none !important;
  }
}

/*
Area Crear cuenta
*/
.frase-motivacional-container {
  text-align: center;
  margin-top: 30px;
}

.frase-motivacional-text {
  color: #58f23a;
  font-size: 24px;
}

/*
Fondos 50%
*/

.fondo_registro {
  width: 70vw;
  height: 100%;
  background-image: url(../images/registro.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Imagen derecha */
.fondo_validate {
  width: 70vw;
  height: 100%;
  background-image: url(../images/validate.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Imagen derecha */
.fondo_login {
  width: 70vw;
  height: 100%;
  background-image: url(../images/login.jpg); /* Asegurate que la imagen esté ahí */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/*
  Terminos y condiciones
*/

#terminosModal {
  font-family: 'Montserrat';
  font-weight: 400;
}

/* parches */
@media (max-width: 991.98px) {
  /* Forzamos posicionamiento correcto del dropdown */
  .dropdown-menu.dropdown_carrito.show {
    position: fixed !important;
    top: 135px !important;  /* ajustá este valor según altura de "Mi carrito" */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90vw !important;
    max-width: 90vw !important;
    z-index: 1055 !important;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    padding: 1rem;
    overflow-y: auto;
    max-height: 75vh;
  }

  /* Flechita visual opcional */
  .dropdown-menu.dropdown_carrito.show::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
  }
}

/* ====== ajusto en escritorio para que no se haga un scroll lateral ====== */
@media (min-width: 992px) {
  html, body,
  .tienda_body {
    overflow-x: hidden; /* elimina el scroll lateral en desktop */
  }

  /* Asegura que las secciones con pseudo-elementos no “desborden” */
  .sec_banner,
  .sec_beneficios {
    position: relative;
    overflow-x: hidden;
  }
}

/* ==== FIX definitivo: alinear "¡Hola PAX3!" y "Mi perfil" en la misma línea (desktop) ==== */
@media (min-width: 992px) {

  /* La fila ya es flex por Bootstrap; evitamos que “wrapee” */
  .opcionMenu.menuResponsive {
    flex-wrap: nowrap;
    align-items: center; /* alinea verticalmente ambos h3 */
  }

  /* Forzamos el ancho de las columnas por si la mezcla BS4/BS5 no aplica bien col-lg-* */
  .opcionMenu.menuResponsive .beta_ajuste_saludo { width: 25%; }
  .opcionMenu.menuResponsive .beta_ajuste_opcion_menu { width: 75%; }

  /* Reseteo de márgenes que habían generado el desnivel */
  .beta_ajuste_saludo h3,
  .beta_ajuste_opcion_menu h3 {
    margin: 0 !important;
    line-height: 1.1;
  }

  /* Evita que el segundo título “empuje” el alto si trae estilos heredados */
  .beta_ajuste_opcion_menu {
    display: flex;
    align-items: center;
    min-height: 1px;
  }
}
/* ==== Ajuste fino: alinear "¡Hola PAX3!" con el menú lateral ==== */
@media (min-width: 992px) {
  .beta_ajuste_saludo h3 {
    margin-left: 15px!important; /* mueve el texto un poco a la derecha */
  }
}

/* --- Parche: separación del banner en mobile --- */
@media (max-width: 767.98px) {
  .menuTtoStyle {
    margin-top: 12px !important; /* agrega separación respecto al nav */
  }
}
/**/
/* ===== Banner: se ve completo (sin recortes) ===== */
.portada-perfil{
  aspect-ratio: 2.8/1 !important;       /* “a lo largo” */
  width: 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;   /* no recorta */
  background-color: #000 !important;     /* relleno */
  position: relative !important;
}

/* Botón editar portada en la esquina */
#change-banner{
  position: absolute !important;
  right: 12px !important;
  top: 12px !important;
  z-index: 2 !important;
  font-size: 12px !important;
  padding: 6px 10px !important;
}

/* ===== Franja negra (contenedor de avatar + campos) ===== */
.perfil-info-strip{
  background: #000 !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  border-radius: 0 0 6px 6px !important;
}

/* ===== Avatar (más grande y SIN doble borde) ===== */
.avatar-perfil{
  width: 170px !important;               /* ↑ antes 110 */
  height: 170px !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  position: relative !important;
  border: 3px solid #fff !important;     /* borde único */
  box-shadow: 0 2px 8px rgba(0,0,0,.25) !important; /* solo sombra */
}
.avatar-perfil img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Overlay “Cambiar foto” */
.cambiar-foto{
  position: absolute !important;
  left: 50% !important;
  bottom: 6px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 8px !important;
  background: rgba(0,0,0,.85) !important;
  color: #fff !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  font-size: 11px !important;
  z-index: 3 !important;                 /* por encima de la foto */
}

/* Inputs a la derecha del avatar */
.datos-perfil{
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* Compacto los inputs del header */
#div_id_titulo_portada .form-control,
#div_id_biografia_portada .form-control{
  height: 38px !important;
  padding: 6px 10px !important;
  font-size: 14px !important;
}

/* ------- Responsivo ------- */
@media (max-width: 768px){
  .perfil-info-strip{
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    gap: 14px !important;
    padding: 16px 12px !important;
  }

  /* Imagen de perfil más grande y centrada */
  .avatar-perfil{ 
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto 8px auto !important;
  }

  /* Inputs a la izquierda y largos */
  .datos-perfil{
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;   /* izquierda */
    gap: 10px !important;
    padding: 0 8px !important;            /* margen lateral */
  }

  .datos-perfil .form-control{
    width: 100% !important;     /* ocupan todo el ancho */
    height: 40px !important;
    font-size: 14px !important;
    padding: 6px 10px !important;
  }
}
@media (max-width: 768px){
  /* Que los wrappers de Crispy ocupen todo el ancho */
  .datos-perfil{
    align-items: stretch !important;   /* en vez de flex-start, para que los hijos se estiren */
    gap: 6px !important;               /* más juntitos */
    padding: 0 8px !important;
  }

  .datos-perfil > .mb-3,
  #div_id_titulo_portada,
  #div_id_biografia_portada{
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 6px !important;     /* reduce el espacio Bootstrap */
  }

  /* ahora sí, el input de biografía puede usar todo el ancho */
  #div_id_biografia_portada .form-control{
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
  }

    /* Inputs más compactos en móvil */
  .datos-perfil .form-control{
    height: 34px !important;       /* más bajos */
    font-size: 13px !important;    /* texto más chico */
    padding: 4px 8px !important;   /* menos espacio interno */
  }

  #div_id_biografia_portada .form-control{
    height: 34px !important;       /* igual altura que el de título */
    font-size: 13px !important;
    padding: 4px 8px !important;
  }
}















