@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/trm.woff2) format("woff2");
}

body.pagina {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}

.encabezado {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  border-bottom: 1px solid #d4d4d8;
  background: #f4f4f5;
}
.encabezado-contenido {
  position: relative;
  margin: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-left: 1px solid #d4d4d8;
  border-right: 1px solid #d4d4d8;
  padding: 0.5rem 0.5rem;
}
.esquina-derecha,
.esquina-izquierda {
  position: absolute;
  z-index: 10;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 1px;
  border: 1px solid #d4d4d8;
  background: #fff;
  transform: rotate(45deg);
  bottom: -6px;
}
.esquina-derecha {
  right: -4.5px;
}
.esquina-izquierda {
  left: -4.5px;
}
.logo {
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration: none;
  color: inherit;
}
.logo:hover {
  text-decoration: underline;
}


.logo-titulo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.titulo-sitio h1 {
    margin: 0;
    font-size: 1.5rem;
}

.titulo-sitio p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}


.redes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.icono-red {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  padding: 0.5rem;
  font-size: 0.95rem;
  transition: border 0.15s, background 0.15s;
  color: #71717a;
  background: none;
}
.icono-red:hover {
  border: 1px solid #d4d4d8;
  background: #e4e4e7;
  color: #18181b;
}

.contenedor-principal {
  margin: 2rem;
  flex-grow: 1;
  border-right: 1px solid #d4d4d8;
  border-left: 1px solid #d4d4d8;
  margin-top: 0;
  margin-bottom: 0;
}
.menu-tabs {
  position: relative;
  display: inline-flex;
  width: 100%;
  padding-left: 0.5rem;
  padding-right: -0.5rem;
  gap: 10px;
  padding-top: 0.5rem;
}
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem 0.375rem 0 0;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-top: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #71717a;
  background: #fff;
  transition: color 0.15s, border 0.15s, background 0.15s;
  position: relative;
  text-decoration: none;
}
.tab:hover, .tab.activo {
  text-decoration: underline;
}
.tab.activo,
.tab:hover {
  border-color: #d4d4d8 #d4d4d8 transparent #d4d4d8;
  background: #f4f4f5;
  color: #18181b;
  z-index: 1;
}
.linea-tabs {
  position: absolute;
  left: 0rem;
  right: 0.45rem;
  bottom: 0;
  height: 1px;
  background: #d4d4d8;
  z-index: 0;
}
.fondo-tabs {
  position: absolute;
  left: 0rem;
  right: 0.45rem;
  bottom: 0;
  top: 0;
  background: #e4e4e7;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
}
.panel-tab-inactivo,
.panel-tab-activo {
  border-bottom: 1px solid #d4d4d8;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.panel-tab-activo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.galeria-productos {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  scrollbar-width: none;
}
.galeria-productos::-webkit-scrollbar {
  display: none;
}
.item-galeria {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: #f1f1f3;
  padding: 12px;
  transition: border 0.15s, background 0.15s;
  font-size: 0.95rem;
  color: #71717a;
  box-sizing: border-box;
  text-decoration: none !important;
}
@media (max-width: 600px) {
  .item-galeria {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.item-galeria:hover {
  text-decoration: none !important;
}
.item-galeria.activo,
.item-galeria:hover {
  border: 1px solid #d4d4d8;
  background: #e4e4e7;
  color: #18181b;
}
.nombre-producto {
  font-size: 0.95rem;
}
.esquina-galeria-izq,
.esquina-galeria-der {
  position: absolute;
  z-index: 10;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 1px;
  border: 1px solid #d4d4d8;
  background: #fff;
  transform: rotate(45deg);
  bottom: -4.5px;
}
.esquina-galeria-izq {
  left: -4.5px;
}

.esquina-galeria-der {
  right: -4.5px;
}



.contenido-principal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.75rem;
}
.solo-lectura {
  position: absolute;
  left: -9999px;
}
.bloque-contenido {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bloque-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 0.125rem;
  gap: 0.125rem;
}
.titulo-bloque {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
}
.enlace-bloque {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  color: #71717a;
  text-decoration: none;
  transition: color 0.15s;
}
.enlace-bloque:hover {
  color: #18181b;
}
.icono-flecha {
  width: 1.1em;
  height: 1.1em;
  opacity: 0;
  transition: opacity 0.2s;
}
.enlace-bloque:hover .icono-flecha {
  opacity: 1;
}

.pie {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  border-top: 1px solid #d4d4d8;
  background: #f4f4f5;
}
.pie-contenido {
  position: relative;
  margin: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-left: 1px solid #d4d4d8;
  border-right: 1px solid #d4d4d8;
  padding: 1.5rem 0rem;
}
.texto-pie {
  font-size: 1rem;
  color: #a1a1aa;
  margin: 0;
  padding: 10px;
}
.esquina-pie-der,
.esquina-pie-izq {
  position: absolute;
  z-index: 10;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 1px;
  border: 1px solid #d4d4d8;
  background: #fff;
  transform: rotate(45deg);
  top: -6px;
}
.esquina-pie-der {
  right: -4.5px;
}
.esquina-pie-izq {
  left: -4.5px;
}


/* Oculta en todos los dispositivos */
.oculto {
  display: none !important;
}

.logo, .enlace-bloque, .icono-red {
  text-decoration: none;
}
.logo:hover, .enlace-bloque:hover, .icono-red:hover {
  text-decoration: underline;
}

.icono-idea {
  width: 40px;
  height: 40px;
  font-size: 40px;
  display: block;
  margin: 0 auto;
  color: #71717a;
}
@media (max-width: 600px) {
  .icono-idea {
    width: 25px;
    height: 25px;
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  .encabezado {
    z-index: 40;
  }
  .encabezado-contenido {
      margin: 0.8rem;
      margin-top: 0;
      margin-bottom: 0;
  }
  .contenedor-principal {
      margin: 0.8rem;
      margin-top: 0;
      margin-bottom: 0;
  }    
  .pie-contenido {
    margin: 0.8rem;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 20;
  }
  .oculto-movil {
    display: none !important;
  }  
}

/* --- INICIO Pie de página moderno y minimalista --- */
.footer-minimalista {
  width: 100%;
  background: #f4f4f5;
  border-top: 1px solid #d4d4d8;
  padding: 32px 0 0 0;
  margin-top: 24px;
}
.footer-contenedor {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 32px 32px 32px;
}
.footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 32px;
}
.footer-logo img {
  display: block;
  height: 200px;
  width: auto;
}
.footer-enlaces {
  display: flex;
  gap: 48px;
  flex: 1 1 0;
  justify-content: flex-start;
}
.footer-columna {
  min-width: 120px;
}
.footer-columna h4 {
  font-size: 1rem;
  color: #71717a;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-columna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-columna li {
  margin-bottom: 8px;
}
.footer-columna a {
  color: #18181b;
  text-decoration: none;
  font-size: 0.97rem;
  transition: color 0.2s;
}
.footer-columna a:hover {
  color: #71717a;
  text-decoration: underline;
}
@media (max-width: 800px) {
  .footer-contenedor {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px 16px 16px;
  }
  .footer-enlaces {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .footer-logo {
    padding-right: 0;
    margin-bottom: 16px;
  }
  .footer-logo img {
    height: 150px;
  }

}
/* --- FIN Pie de página moderno y minimalista --- */

/* Ajuste para que la pestaña activa cubra la línea en móvil igual que en PC */
.tab.activo {
  position: relative;
  z-index: 2;
  background: #f4f4f5;
}
.linea-tabs {
  z-index: 0;
}

/*Start boton de subir con porcentaje de subida 56178*/
.progress-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s ease;
  z-index: 1000;
}

.progress-wrap.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-circle {
  transform: rotate(-90deg);
}

.progress-circle-path {
  fill: none;
  stroke: #E91E63; /* Color del borde de progreso */
  stroke-width: 4;
  box-sizing: border-box;
  transition: stroke-dashoffset 0.2s linear;
}

.progress-arrow {
  fill: none;
  stroke: #2c3e50; /* Color de la flecha */
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transform: rotate(90deg);
}

.progress-wrap:hover .progress-arrow {
    stroke: #E91E63; /* Color de la flecha al pasar el mouse */
}

/* Vista móvil */
@media (max-width: 767px) {
  .progress-wrap {
    height: 35px;
    width: 35px;
  }
}
/*END boton de subir con porcentaje de subida 56178*/

/*Start modal de menu 46545*/
@keyframes slideInWithBounce {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    60% {
        transform: translateX(5%);
        opacity: 1;
    }
    80% {
        transform: translateX(-2%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 25%;
    background-color: #f4f4f5;
    border-right: 1px solid #d4d4d8;
    z-index: 2000;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.75s, opacity 0.75s;
    padding: 2rem;
    box-sizing: border-box;
}

.menu-modal.activo {
    animation: slideInWithBounce 0.75s forwards;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.modal-overlay.activo {
    opacity: 1;
    visibility: visible;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 25px;
    height: 25px;
    cursor: pointer;
    color: red;
    font-size: 25px;
    line-height: 25px;
    text-align: center;
}

.modal-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

@media (max-width: 767px) {
    .menu-modal {
        width: 90%;
    }
}
/*END modal de menu 46545*/


