@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {margin:0; padding:0; box-sizing:border-box;font-family: 'Poppins', sans-serif;}
body, html {font-family: 'Poppins', sans-serif; margin:0; padding:0; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-weight:400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;}
h1, h2, h3, h4, h5, h6 {margin:0; padding:0; border:0; outline:0; font-style:normal; font-size:100%; font-family:inherit; vertical-align:baseline; display:inline; font-weight: inherit;}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,textarea:-webkit-autofill:hover,textarea:-webkit-autofill:focus,select:-webkit-autofill,select:-webkit-autofill:hover,select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

main {display:flex; flex-direction:row; justify-content:space-between; margin:20px 0 20px; padding:0 5%;}
.top {display:inline-block; width: 100%; text-align:left; margin:0px 0 20px; padding:100px 5% 0 5%; font-family:'Poppins', sans-serif; font-size:14px; font-weight:300; border:0px solid red;}
.top a {text-decoration:none; color:#333;}
.top a:hover {text-decoration:none; text-decoration-color: #888;}
.top b {text-decoration:none; color:#333; font-weight:600;}
.top-contact {display:inline-block; width: 100%; text-align:left; margin:0px 0px 20px; padding:0 0 0 0; font-family:'Poppins', sans-serif; font-size:14px; font-weight:300; border:0px solid red;}
.top-contact a {text-decoration:none; color:#333;}
.top-contact a:hover {text-decoration:none; text-decoration-color: #888;}
.top-contact b {text-decoration:none; color:#333; font-weight:600;}

a {
    -webkit-tap-highlight-color: transparent;
}

:root {
    
    /* colors */
    --white: #fff;
    --black: #000;
    --gray-1: #f7f7f7;
    --gray-2: #666;
    --gray-3: #333;
    --gray-4: #ccc;
    --gray-5: #e7e7e7;
    --gray-6: #999;
    --btn-reservado: #e09903;
    --btn-vendido: #eb585a;
    --blue-asnadi: #eb585a;
    --light-bg-blue-asnadi: #eb585a;
    --blue-asnadi-hover: #eb585a;
    --dark-green-asnadi: #eb585a;
    --light-green-asnadi: #eb585a;
    --light-bg-light-green-asnadi: #eb585a;
    --red: #c00000;
    --green: #528e4d;
    --primary: #eb585a;
    --secondary: #f9eff0;
    --primary-hover: #d24042;
    --buttons: #eb585a;
    --links: #eb585a;
    --label-usado: #1dada6;
    --label-nuevo: #8300E9;
    --label-alquiler:#eb9a7f;
    --label-reservado:#E09900;
    --label-vendido:#eb585a;
    
    /* paddings */
    --p-1: 1px;
    --p-2: 2px;
    --p-3: 3px;
    --p-4: 4px;
    --p-5: 5px;
    --p-6: 6px;
    --p-7: 7px;
    --p-8: 8px;
    --p-9: 9px;
    --p-10: 10px;
    --p-11: 11px;
    --p-15: 15px;
    --p-20: 20px;
    --p-25: 25px;
    --p-30: 30px;
    --p-35: 35px;
    --p-40: 40px;
    --p-45: 45px;
    --p-50: 50px;    
    --p-55: 55px;
    --p-60: 60px;
    --p-65: 65px;
    --p-70: 70px;
    --p-75: 75px;
    --p-80: 80px;
    --p-85: 85px;
    --p-90: 90px;        
    --p-95: 95px;
    --p-100: 100px;       
    
    /* margins */
    --m-1: 1px;
    --m-2: 2px;
    --m-3: 3px;
    --m-4: 4px;
    --m-5: 5px;
    --m-6: 6px;
    --m-7: 7px;
    --m-8: 8px;
    --m-9: 9px;
    --m-10: 10px;
    --m-12: 12px;
    --m-15: 15px;
    --m-20: 20px;
    --m-25: 25px;
    --m-30: 30px;
    --m-35: 35px;
    --m-40: 40px;
    --m-45: 45px;
    --m-50: 50px;    
    --m-55: 55px;
    --m-60: 60px;
    --m-65: 65px;
    --m-70: 70px;
    --m-75: 75px;
    --m-80: 80px;
    --m-85: 85px;
    --m-90: 90px;        
    --m-95: 95px;
    --m-100: 100px;     
    
    /* font-size */
    --fs-9: 9px;
    --fs-10: 10px;
    --fs-11: 11px;
    --fs-12: 12px;
    --fs-13: 13px;
    --fs-14: 14px;
    --fs-15: 15px;
    --fs-16: 16px;
    --fs-17: 17px;
    --fs-18: 18px;
    --fs-19: 19px;
    --fs-20: 20px;
    --fs-21: 21px;
    --fs-22: 22px;
    --fs-23: 23px;
    --fs-24: 24px;
    --fs-25: 25px;
    --fs-26: 26px;
    --fs-27: 27px;
    --fs-28: 28px;
    --fs-29: 29px;
    --fs-30: 30px;    
    
    /* font-weight */
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;  
    --fw-600: 600;
    --fw-700: 700;
    --fw-800: 800;    
    
    /* width y height */
    --w-5: 5px;
    --w-10: 10px;
    --w-15: 15px;
    --w-20: 20px;
    --w-25: 25px;
    --w-30: 30px;
    --w-50: 50px;
    --w-80: 80px;
    --w-100: 100px;
    --w-200: 200px;
    --w-300: 300px;
    --w-400: 400px;
    --w-5pct: 5%;
    --w-50pct: 50%;
    --w-100pct: 100%;
    --h-50pct: 50%;
    --h-100pct: 100%;    
    --w-100vh: 100vh;
    --w-100vw: 100vw;
    
    /* border-radius */
    --br-1: 1px;
    --br-2: 2px; 
    --br-4: 4px; 
    --br-30: 30px;
    --br-50pct: 50%;
    
    /* min-height */
    --mh-10: 10px;
    --mh-15: 15px;
    --mh-20: 20px;
}

.primaryBtn {
    background-color: var(--primary);
    color: var(--white);
    font-size: 16px;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    margin: 30px 0px 10px 0px;
    text-align: center;
    
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primaryBtn:hover {
    background-color: var(--primary-hover);
}

header {width:100%; color:white; text-align:center; padding:0px 5%; z-index:1000 !important;}
footer {width:100%; color:white; text-align:center; padding:0px; z-index:1000 !important;}
header {
    display:flex;
    align-items:center;
    justify-content:space-between;    
    position:fixed; 
    top:0;
    width: 100%;
    height: 80px;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color:#fff;
    background: linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16)), url('/assets/img/header-background.jpeg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;  
    transition: height 0.3s ease-in-out;
    /*border-bottom:1px solid #f4f4f4;*/
}
header.shrink {
    padding-top: 25px;
    padding-bottom: 25px;
}

.shrink .custom-item button {
    padding: 4px 20px;
}

.header-left {display:flex; align-items:center; gap:50px;}
.logo {display:block;}
    .logo a {color:var(--white); font-weight:600; font-size:20px; text-decoration:none; font-style:normal;}
    .logo span {color:var(--white); font-weight:600; font-style:normal;}
    .logo img {
        width: 150px;
        height: auto;
        transition: width 0.3s ease-in-out; /* Transición suave */
    }
    
    /* Cuando el header tiene la clase .scrolled */
    header.scrolled {
        height: 40px;
    }
    
    header.scrolled .logo img {
        width: 100px;
    }  
    
.header-right {
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: center; /* Centra los elementos verticalmente */
    gap: 20px; /* Espacio entre custom-content y user-info */    
    text-align:right;

}

.custom-content {
    display: flex;
    align-items: center; /* Alinea los elementos de custom-content verticalmente */
    gap: 20px; /* Espacio entre los elementos dentro de custom-content */
}

.custom-item button {
    padding: 8px 20px;
    background-color: var(--primary);
    border: 0px;
    border-radius: 4px;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    margin-right: 40px;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.custom-item button:hover {
    background-color: var(--primary-hover);
    cursor: pointer;
}

.custom-item a {
    display: flex;
    align-items: center; /* Alinea la imagen y el número verticalmente */
    margin-left: 20px;
    text-decoration: none;
}

.custom-icon {
    height: 20px; /* Tamaño de las imágenes */
    margin-right: 5px; /* Espacio entre la imagen y el número */
    
}

.custom-number-header {
    font-size: 11px; /* Tamaño del número */
    font-weight: 400; /* Hacer el número más destacado */
    color: var(--buttons);
}

.user-info {
    display:flex;
    align-items:center;
    /*gap:5px;*/
    position:relative;
    margin-left:auto; /* Empuja el div user-info hacia el borde derecho */
    color:var(--white);
}

.custom-content {
    display: flex; /* Para alinear horizontalmente la imagen y el número */
    align-items: center; /* Centra verticalmente */
    gap: 5px; /* Espacio entre la imagen y el número */
    margin-right: 25px; /* Espacio de 35px a la derecha de custom-content */
    cursor: pointer;
}

.custom-icon {
    height: 24px; /* Ajusta según el tamaño deseado */
}

.custom-number {
    font-size: 12px; /* Tamaño del número */
    font-weight: 600;
    color: var(--red); /* Color del texto, ajusta según sea necesario */
}

.user-name {
    margin-right: 5px; /* Espacio entre el nombre y el círculo */
    font-weight: 400;
}

.user-initials {
    background-color: var(--primary);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 36px; /* Tamaño del círculo */
    height: 36px;
    font-size: 15px;
    font-weight: 400;
    padding: 0px; /* Padding interno */
    margin-left: 3px;
    margin-right: 5px;
}

.user-initials span {
    line-height: 24px;
}

.user-initials img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.arrow {
    cursor: pointer;
    /*transition: transform 0.3s ease;*/
}

.arrow img {
    height: 18px; /* Altura de la imagen SVG */
    width: 18px;
    margin-left: 3px; /* Separación de 8px entre la imagen y el texto */
    margin-top: 8px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.arrow.up img {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 40px; /* Ajusta esto según la altura de tus elementos */
    /*width: 337px;*/
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    display: none; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.3s ease; /* Transición de fade */
}

.ud-container {
    /*padding: 10px 15px 5px 15px; */
    background-color: #fff;
}

.ud-avatar-info {
    display: flex;
    align-items: center; /* Centra verticalmente */
    gap: 10px; /* Espacio entre el avatar y el texto */
}

.ud-avatar {
    width: 70px;
    height: 70px;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary);
    border-radius: 50%; /* Lo hace circular */
    background-color: #ccc; /* Color de fondo temporal, reemplázalo con una imagen */
    overflow: hidden; /* Asegura que la imagen se mantenga dentro del círculo */
}

.ud-avatar span {
    font-weight: 400;
    line-height: 24px;
}

.ud-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}    

.ud-info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra los textos verticalmente */
    color: var(--black);
}

.ud-alias {
    font-weight: 500;
    font-size: 16px;
}

.ud-email {
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    text-decoration: underline;
}

.ud-publish-btn {
    display: inline-flex; /* Se ajusta al contenido */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    gap: 10px; /* Espacio entre la imagen y el texto */
    background-color: var(--primary); /* Color del botón */
    color: white; /* Color del texto */
    border-radius: 25px; /* Bordes redondeados */
    padding: 10px 20px; /* Espaciado interno */
    margin-top: 20px;
    cursor: pointer; /* Cursor de botón */
    transition: background 0.3s ease; /* Efecto suave en hover */
    width: 100%; /* Ajuste automático al contenido */
    text-decoration: none;
}

.ud-publish-btn:hover {
    background-color: var(--primary-hover); /* Cambio de color en hover */
}

.ud-publish-btn img {
    width: 20px;
    height: 20px;
}

.ud-publish-txt {
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}

.ud-sep {
    height: 2px;
    width: 100%;
    background-color: var(--gray-4);
    margin: 25px 0 20px 0; /* Ajusta según necesites */
}

.ud-options {
    display: flex;
    flex-direction: column; /* Apilar elementos verticalmente */
    gap: 1px; /* Espacio entre opciones */
}

.ud-option {
    display: flex;
    align-items: center; /* Centrar verticalmente */
    gap: 15px; /* Espacio entre la imagen y el texto */
    cursor: pointer; /* Cursor de botón */
    padding: 8px 12px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
    transition: background 0.3s ease; /* Efecto suave al pasar el cursor */
    text-decoration: none; /* Quitar subrayado del enlace */
    color: inherit; /* Mantener color de texto */
}

.ud-option:hover {
    background-color: #f1f1f1; /* Color al hacer hover */
}

.ud-option.bg-secondary {
    background-color: var(--secondary); /* Color al hacer hover */
}

.ud-option.bg-secondary:hover {
    background-color: var(--secondary); /* Color al hacer hover */
}

.ud-option img {
    width: 20px; /* Ajusta el tamaño de la imagen */
    height: 20px;
    object-fit: contain; /* Evita espacios en blanco */
}

.ud-publish-txt {
    font-size: 14px;
    color: var(--black); /* Color del texto */
}

.ud-publish-txt.red {
    color: var(--primary) !important;
}

.ud-publish-txt.white {
    color: var(--white) !important;
}

.ud-publish-txt.italic {
    font-style: italic;
}

.ud-mt1 {
    margin-top: var(--m-1);
}

.ud-mt2 {
    margin-top: var(--m-2);
}

.ud-mt3 {
    margin-top: var(--m-3);
}

.login {
  display: flex;
  align-items: center; 
  gap: 20px; 
}

.login a {
    text-decoration:none;
    font-size:14px;
    color:var(--white);
    font-weight:300;
    /*text-decoration-color: var(--gray-5);*/
}

.login a:hover {
    text-decoration:underline;
    text-decoration-color: var(--white);
    color:var(--white);
}

.header-publish {color:var(--white); text-decoration:none;}

.header-m {
    display: none;
}


.mobile-menu {
    position: fixed;
    top: 0;
    color: #000;
    left: -90%; 
    width: 90%;
    height: 100%;
    background: white;
    /*box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);*/
    transition: left 0.3s ease-in-out;
    padding: 20px;
    z-index: 1000;
}

.mobile-menu nav ul {
    list-style: none;
    padding: 0;
}

.mobile-menu nav ul li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.menu-open {
    left: 0 !important;
}

/* Barra de navegación inferior */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    z-index: 100001;
}
.bottom-nav a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 300;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-item-icon {
    display: flex;
    align-items: center; /* Alinea verticalmente */
    gap: 2px; /* Espacio de 2px entre la imagen y el número */
}

.nav-item img {
    width: 20px;
    height: 20px;
}

.custom-number-footer {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: var(--label-vendido) !important;
}



.nav-item span {
    font-size: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.3s ease-in-out;
    z-index: 900;
}

.overlay-active {
    background: rgba(0, 0, 0, 0.3) !important;
    visibility: visible !important;
}

.filter-white {
    filter: invert(100%) brightness(100%) contrast(100%);
}

.filter-red{
    filter: invert(62%) sepia(79%) saturate(1419%) hue-rotate(310deg) brightness(92%) contrast(104%);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0);
    z-index: 999999;
}

.scroll-to-top img {
    width: 24px;
    height: 24px;
}

/* Aparecer cuando el usuario ha hecho scroll */
.scroll-to-top.visible {
    opacity: 1;
    transform: scale(1);
}

.footer-top-container {width:100%; background-color:var(--primary); padding:0px 5% 0px 10%;}

.footer-bottom-container {width:100%; background-color:var(--black); padding:0px 5%;}

.footer-top {
  background-color: var(--primary);
  padding: 40px 20px;
}

.footer-top-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;         /* 💡 Limita el ancho */
  margin: 0 auto;            /* 💡 Centra el contenedor */
  padding: 0 20px;           /* 💡 Espacio lateral en móviles */
  box-sizing: border-box;
  text-align: left;          /* Alineación del contenido */
}

.footer-top-col {
  color: white;
  /* estilos opcionales */
}

.footer-top-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-top-col a {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-top-col a:hover {
  /*text-decoration: underline;*/
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-bottom-row img {
  height: 30px;
  vertical-align: bottom;
}

.footer-bottom-row a {
    text-decoration: none;
}

.footer-contact-button {
    padding: 6px 40px;
    background-color: #ed7b7b;
    border: 1px solid var(--white);
    border-radius: 20px;
    color: var(--black);
    font-size: 14px;
    font-weight: 400;
    margin-left: 10px;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.footer-contact-button:hover {
    background-color: #ed7b7b;
    cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--black);
  color: white;
  font-size: 12px;
  flex-wrap: wrap; /* Para que en pantallas pequeñas se adapten */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom-center {
    width: 100%;    
    text-align: center;
}

.footer-bottom-center a{
    color: white;
    text-decoration: none;
}

.footer-bottom-center a:hover{
    text-decoration: none;
}    

.footer-bottom-center a.red-footer{
    color: var(--primary) !important;
    text-decoration: none;
}  



#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* Cubrir toda la pantalla */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Posicionar el modal en la parte inferior */
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000000;
    pointer-events: auto;
}

#cookie-bottom-modal {
    background: #fff;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    text-align: left;
}

#cookie-bottom-modal h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

#cookie-bottom-modal p {
    font-size: 12px !important;
    margin: 0px 0 20px;
    font-weight: 300;
    color: var(--black);
}

#cookie-bottom-modal p a {
    text-decoration: underline !important;
    color: var(--primary);
}

#cookie-bottom-modal p a:hover {
    text-decoration: underline !important;
    color: var(--primary);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1 1 60%;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex: 1 1 35%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-buttons > * {
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.cookie-buttons button:nth-child(1) {
    background-color: var(--primary);
    color: white;
    border: none;
}

.cookie-buttons button:nth-child(2) {
    background-color: #ccc;
    color: #333;
    border: none;
}

.cookie-buttons a {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
}

.cookie-buttons a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/*
#cookie-bottom-modal {
    background: #fff;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    text-align: center;
}

#cookie-bottom-modal h2 {
    margin: 0;
    font-size: 16px;
    color: var(--primary);
}

#cookie-bottom-modal p {
    font-size: 14px;
    margin: 10px 0 20px;
    color: var(--black);
}

#cookie-bottom-modal p a {
    text-decoration: underline !important;
    color: var(--primary);
}

#cookie-bottom-modal p a:hover {
    text-decoration: underline !important;
    color: var(--primary);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.cookie-buttons > * {
  padding: 10px 15px;
}

.cookie-buttons button,
.cookie-buttons a {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.cookie-buttons button:nth-child(1) {
    background-color: var(--primary);
    color: white;
}

.cookie-buttons button:nth-child(2) {
    background-color: #ccc;
    color: #333;
}

.cookie-buttons a {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.cookie-buttons a:hover {
    background-color: var(--primary);
    color: var(--white);
}
*/




@media screen and (max-width: 1024px) {
    
    .user-name {
        display: none;
    }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }

    .cookie-buttons {
        justify-content: flex-start;
        width: 100%;
    }    
}

@media screen and (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

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

    header, footer {
        display: none;
    }

    .header-m {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        width: 100%;
        height: 50px;
        padding: 0px 20px;
        background: white;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000000;
    }
    .header-m-filters, .header-m-user {
        flex-grow: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    .header-m-filters {
        justify-content: flex-start;
    }
    .header-m-logo {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-m-logo img {
        vertical-align: middle;
    }
    .header-m-user {
        justify-content: flex-end;
    }
    .header-m-filters {
        width: 26px;
    }
    .header-m-filters img {
        height: 26px;
        vertical-align: middle;
    }
    .header-m-logo img {
        height: 30px;
        margin-top: 1px;
    }
    .header-m-user {
        width: 57px;
    }
    .header-m-user img {
        height: 24px;
        vertical-align: middle;
    }   
    .top {
        text-align: center;
    }
    .user-initials {
        background-color: var(--primary);
        color: var(--white);
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--primary);
        border-radius: 50%;
        width: 30px; /* Tamaño del círculo */
        height: 30px;
        font-size: 15px;
        font-weight: 400;
        padding: 0px; /* Padding interno */
        margin-left: 3px;
        margin-right: 5px;
    }
    .user-initials span {
        line-height: 24px;
    }
    
    .user-initials img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .arrow img {
        height: 18px; /* Altura de la imagen SVG */
        width: 18px;
        margin-left: 1px; /* Separación de 8px entre la imagen y el texto */
        margin-top: 3px;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    
    .login a {
        color:var(--black);
    }    
    
    .user-dropdown-m {
        position: fixed;
        top: 50px; 
        width: 100%;
        height: calc(100% - 50px);
        right: 0px;
        border-top:1px solid var(--gray-5);
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 0px;
        display: none; 
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
    }   
    
    .user-container-m {
        display: flex;
        justify-content: center;
        width: 100%;
        padding-bottom: 20px;
    }
    
    .user-avatar-m {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        overflow: hidden; /* Asegura que la imagen no sobresalga */
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--primary);
        background-color: var(--primary); /* Color de fondo si la imagen no carga */
        flex-shrink: 0;
    }
    
    .user-avatar-m img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ajusta la imagen sin deformarla */
    }
    
    .user-info-m {
        flex: 1; /* Ocupa todo el espacio restante */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 15px; /* Espaciado entre el avatar y la info */
    }
    .red {
        color: var(--primary) !important;
    }
    
    .red-footer {
        color: var(--primary) !important;
    }    
    
    .user-info-arrow-m {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 15px; /* Espaciado entre el avatar y la info */        
    }
    
    .user-box-alias-m {
        padding: 10px 15px 0px 5px; /* Espaciado vertical */
        font-weight: 400;
        color: var(--black);
    }
    
    .user-box-name-m {
        padding: 0px 15px 5px 5px; /* Espaciado vertical */
        font-weight: 300;
        font-size: 12px;
        color: var(--black);
    }
    
    .user-role-m {
        padding: 0px 15px 25px 5px; /* Espaciado vertical */
    }
    
    .user-role-m span {
        padding: 6px 10px;
        font-size: 11px;
        border:1px solid var(--primary);
        background-color: var(--primary);
        border-radius: 4px;
        
    }
    
    .user-role-m span a{
        text-decoration: none;
        color: var(--white);
    }
    
    .user-options-m {
        width: 100%;
        padding: 0px;
        cursor: pointer;
    }

    .user-options-container {
        display: flex;
        align-items: center; /* Alinea verticalmente los elementos */
        justify-content: space-between;
        padding: 5px 0px;
        cursor: pointer;
        border-bottom: 0px solid #ddd; /* Opcional: para separar las opciones */
        gap: 10px; /* Espacio entre los elementos */
    }
    
    .user-options-img1 {
        display: flex; /* Asegura que las imágenes se alineen correctamente */
        align-items: center;
        justify-content: center;
        width: 20px; /* Ajusta el ancho de los iconos */
        height: 20px;
    }
    
    .user-options-arrow {
        display: flex; /* Asegura que las imágenes se alineen correctamente */
        align-items: center;
        justify-content: center;
        width: 10px; /* Ajusta el ancho de los iconos */
        height: 10px;
    }
    
    .user-options-img1 img,
    .user-options-arrow img {
        width: 100%; /* Ajusta la imagen al tamaño del contenedor */
        height: auto; /* Mantiene la proporción */
    }
    
    .user-options-text {
        flex-grow: 1; /* Hace que el texto ocupe el espacio disponible */
        text-align: left;
        display: flex;
        align-items: center; /* Centra verticalmente el texto */
        margin-top: 3px;
    }
    
    .user-options-text a span {
        text-decoration: none;
        color: var(--black);
        font-weight: 300;
        font-size: 16px;
    }
    
    .user-options-text a span:hover {
        /*background-color: #f0f0f0;*/
        font-size: 16px;
    }    
    
    .user-options-m span {
        display: flex; /* Flexbox para alinear elementos */
        align-items: center; /* Centra verticalmente el contenido */
        width: 100%;
        padding: 10px 15px;
        font-weight: 300;
        font-size: 14px;
    }
    
    .user-options-m a:hover {
        color: var(--black);
        text-decoration: none;
    }
    
    .user-options-m a{
        text-decoration: none;
        color: var(--black);
        
    }
    
    .user-options-m a span:hover{
        /*background-color: #f0f0f0;*/
    }
    
    .user-options-m .user-notification-badge-m {
        background-color: var(--buttons); /* Fondo dorado */
        color: #fff; /* Texto blanco */
        font-size: 9px; /* Tamaño de fuente */
        font-weight: 400; /* Peso de fuente ligero */
        width: 20px; /* Ancho fijo */
        height: 20px; /* Altura fija */
        text-align: center;
        border-radius: 50%; /* Hace que sea redondo */
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top:0px;
        margin-left: 8px; /* Separación entre el texto y el badge */
        padding: 0px 0px;
        position: relative;
    }
    
    .user-options-m .user-notification-badge-m::after {
        content: attr(data-count); 
        position: relative;
        top: 0px; 
    }
    
    .user-options-m .user-notification-badge-m:hover {
        background-color: var(--buttons); /* Fondo dorado */
    }
    
    .user-divider-m {
        height: 1px;
        background-color: var(--gray-5);
        margin-bottom: 10px;
    }    

    .top {padding:80px 20px 0 20px;}
    
    .scroll-to-top {
        bottom: 80px;
        width: 40px;
        height: 40px;        
    }
    
    .scroll-to-top img {
        width: 20px;
        height: 20px;
    }   
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons > * {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom-row {
      padding: 0;
    }    
    
}