@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Source Sans Pro:wght@300;400;600&family=Playfair Display:wght@400;700&display=swap');

/* =========================================================
   🎨 VARIABLES BASE
   ========================================================= */
:root {
  /* Tipografías */
  --font-primary: 'Poppins', sans-serif;           /* Para títulos y énfasis */
  --font-secondary: 'Source Sans Pro', sans-serif; /* Para cuerpo de texto */
  --font-decorative: 'Playfair Display', serif;    /* Para frases elegantes */
  --font-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  /* Pesos tipográficos */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Tamaños escalables */
  --size-h1: clamp(2rem, 4vw, 2.8rem);
  --size-h2: clamp(1.7rem, 3vw, 2.2rem);
  --size-h3: clamp(1.4rem, 2.5vw, 1.8rem);
  --size-h4: clamp(1.2rem, 2vw, 1.5rem);
  --size-h5: clamp(1rem, 1.8vw, 1.2rem);
  --size-body: clamp(0.9rem, 1.5vw, 1rem);
  --size-small: clamp(0.75rem, 1.2vw, 0.9rem);
  --size-large: clamp(1.6rem, 2.5vw, 2rem);

  /* Colores corporativos */
  --primary: #01579b;         /* Azul técnico */
  --primary-dark: #002f6c;
  --secondary: #546e7a;       /* Gris arquitectónico */
  --accent: #f9a825;          /* Amarillo construcción */
  --text-dark: #263238;
  --text-muted: #607d8b;
  --text-light: #ffffff;
  --bg-dark: #37474f;
  --bg-light: #eceff1;
  --bg-gradient: linear-gradient(90deg, #015790 0%, #8fbdde 100%);
  --neutral: #888888;
  --border-gray: #b0bec5;
  --border-light: #eeeeee;

  /* Bordes y efectos */
  --border-radius: 12px;
  --border-radius-large: 20px;
  --shadow: 0 8px 24px rgba(10, 10, 10, 0.1);
  --transition: all 0.3s ease;
}


/* Global reset and typography */
* {
  font-family: var(--font-secondary);
  font-weight: var(--weight-light); /* Más ligero para evitar efecto de negrita */
  transition: var(--transition);
}

body {
  background: var(--bg-dark);
  font-size: var(--size-body);
}

h1 {
  font-family: var(--font-primary);
  font-weight: var(--weight-extrabold);
  font-size: var(--size-h1);
  color: #043c5f;
  padding-bottom: 10px;
}

h2, h3, h4, h5 {
  font-family: var(--font-primary);
}

h2 {
  font-size: var(--size-h2);
  color: var(--secondary);
}

h3 {
  font-size: var(--size-h3);
  color: var(--text-muted);
}

h4 {
  font-size: var(--size-h4);
  color: var(--text-dark);
  padding: 5px;
  height: 70px;
}

h5 {
  font-size: var(--size-h5);
}

p, li, a {
  font-size: var(--size-body);
  
  font-weight: var(--weight-light);
}

/* Component styles */
.form-title {
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  font-size: 1.2rem;
}

#DatosPer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 95%;
}

#DatosPer input,
#DatosPer textarea,
#DatosPer button {
  width: 95%;
  padding: 6px;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 3px;
}

#DatosPer textarea {
  height: 60px;
  resize: none;
}

#DatosPer button {
  background: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
}

#DatosPer button:hover {
  background: var(--primary-dark);
}

#contenedor_suscripcion {
  background: var(--bg-light);
  border: 1px solid #cfd8dc;
  padding: 10px;
  border-radius: var(--border-radius-large);
}

.CajaOvalada {
  border: 1px solid #aeafae;
  padding: 20px;
  background: var(--bg-accent);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.BotonPlan {
  width: 8rem;
  height: 45px;
  text-transform: none;
}

#TextCont ul > li {
  list-style-type: square;
  list-style-position: inside;
  padding: 5px;
}

.align-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img_panel_container {
  height: 20rem;
  overflow: hidden;
  position: relative;
}

.img_panel {
  top: -40%;
  clip-path: inset(20% 0 0 0);
  position: relative;
}

.Duracion {
  background: #000;
  color: var(--text-light);
  width: 50px;
  position: absolute;
  z-index: 1000;
  text-align: right;
  bottom: 0;
  right: 0;
}

.Redondeo {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.Destacados, .Titulares, .DestacadosM {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
}

.Destacados {
  font-size: 1.8rem;
  padding: 2px;
  border: 1px solid var(--text-light);
}

.Categ {
  font-family: var(--font-secondary);
  font-weight: var(--weight-semibold);
  color: var(--accent);
  font-size: var(--size-small);
}

.Fecha {
  font-size: var(--size-small);
  padding-right: 10px;
}

.Slogan {
  font-family: var(--font-secondary);
  font-weight: var(--weight-light);
  font-size: 2.8rem;
  font-weight: bold; /* o 700 */
}

.Slogan2 {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: clamp(2.2rem, 3.5vw, 2.5rem);
}

.PruebaFree {
  font-family: var(--font-secondary);
  font-weight: var(--weight-light);
  border: 1px solid #516b76;
  padding: 5px;
  background: #658490;
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--text-light);
}

.ImgFondo, .ImgFondo2, .ImgTarget {
  background-repeat: no-repeat;
  background-position: center;
}

.ImgFondo {
  background-image: url('../ImgContenidos/slider.jpg');
  background-color: #23282e;
}

.ImgFondo2 {
  background-image: url('https://skyneterp.com/public/skyneterp.com/ImgContenidos/1733344155_NOT_ADJUNTO.webp');
  background-color: #23282e;
}

.ImgTarget {
  background-image: url('https://skyneterp.com/public/skyneterp.com/ImgContenidos/1733344520_NOT_ADJUNTO.webp');
  background-color: #1b445a;
}

.Gradiente {
  background: var(--bg-gradient);
}

.Titular {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: var(--size-large);
}

.Titulares {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: 1.6rem;
  background: #546e7a;
  padding: 4px;
  color: var(--text-light);
  text-align: center;
  border: 1px solid var(--text-light);
}

.DestacadosM {
  font-size: 1.6rem;
  color: var(--text-light);
  background: green;
}

.Cuerpo {
  padding: 5px;
}

#Cabecera {
  position: fixed;
  z-index: 10000;
  width: 100%;
}

.BloqueCat {
  height: 200px;
}

#TituloCat {
  padding: 12px;
}

#BloqueDerecho {
  background: var(--secondary);
}

#div_slider {
  font-family: var(--font-primary);
  position: absolute;
  bottom: -19px;
  background: rgba(0, 0, 0, 0.7);
  height: 70px;
  z-index: 50;
  width: 100%;
  font-size: 1.3em;
  color: #ffff00;
  padding-top: 8px;
  text-align: center;
}

#dropdown1 {
  position: absolute;
  top: -65px;
  width: 180px;
}

.icon-block {
  padding: 0 15px;
}

.icon-block .material-icons {
  font-size: inherit;
}

#Bloqueo {
  background: var(--text-light);
  width: 100%;
  height: 1000%;
  z-index: 10000;
  position: absolute;
  top: 10px;
  color: green;
  opacity: 0.9;
  text-align: center;
  line-height: 250px;
}

#Buscador {
  position: absolute;
  z-index: 1000;
  background: var(--text-light);
  width: 100%;
}

.Btn-Comp {
  padding-right: 20px;
}

.imgRedonda {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 0.1px solid #666;
}

.perfilRedonda {
  width: 200px;
  height: 200px;
  border-radius: 100px;
  border: 7px solid #666;
}

.content-indicator {
  width: 64px;
  height: 64px;
  border-radius: 50px;
}

.w-100 {
  width: 100%;
}

.slider,
.carousel.carousel-slider .carousel-fixed-item,
.carousel-fixed-item.center.middle-indicator.w-100 {
  position: relative;
}

.Planes {
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  font-size: var(--size-large);
  color: #535353;
  padding: 5px;
  background: #001a21;
}

.Frase {
  font-family: var(--font-secondary);
  font-weight: var(--weight-light);
  color: var(--highlight);
}

.Bloque, .Bloque2, .CajaProd {
  padding: 12px;
  border: 1px solid var(--border-gray);
  color: var(--text-dark);
  margin: 18px;
}

.Bloque2 {
  background: #4fc3f7;
}

.CajaProd {
  border-width: 5px;
  border-color: var(--border-light);
  padding: 10px;
}

.num_entero, .num_decimal, .simbolo-moneda, .periodo, .valor {
  color: #1565c0;
}

.num_enteroT, .num_decimalT, .simbolo-monedaT {
  color: var(--neutral);
}

.num_entero {
  font-size: 50px;
  font-weight: var(--weight-bold);
}

.num_enteroT {
  font-size: 1.8rem;
  font-weight: var(--weight-semibold);
}

.num_decimal {
  line-height: 4.5;
  margin-left: 2px;
  vertical-align: top;
}

.num_decimalT {
  line-height: 3.5;
  margin-left: 2px;
  vertical-align: top;
}

.simbolo-moneda {
  font-size: 30px;
  font-weight: var(--weight-semibold);
}

.simbolo-monedaT {
  font-size: 1rem;
  font-weight: var(--weight-semibold);
}

.periodo {
  font-size: 18px;
  margin-left: -20px;
}

.valor {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}

.TituloProd {
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  color: var(--neutral);
  font-size: 1.1rem;
  letter-spacing: -1px;
}

.row {
  margin-bottom: 0;
}

#toast_message {
  visibility: hidden;
  min-width: 250px;
  background: #333;
  color: var(--text-light);
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  font-size: 17px;
}

#toast_message.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 0; opacity: 0; }
}

.menu_tienda_listado, .menu_web_listado {
  --menu-height: 40px;
}

.menu_tienda_listado ul:not(.dropdown-content), .menu_web_listado ul:not(.dropdown-content) {
  display: flex;
}

.menu_tienda_listado li, .menu_web_listado li {
  list-style: none;
  height: var(--menu-height);
}

.menu_tienda_listado li a, .menu_web_listado li a {
  line-height: 2rem;
  white-space: nowrap;
}

/* Media queries */
@media (max-width: 559px) {
  #Cuerpo {
    padding-top: 96px;
  }

  #tipo_idioma_cmb select, #tipo_moneda_cmb select {
    font-size: 12px;
    margin-top: 40%;
  }
}

@media (max-width: 767px) {
  .CorreoInput, .cuerpo_tienda_cliente, .login_tienda_pass {
    width: 100%;
  }

  .CajaSlogan {
    width: 90%;
    margin: 0 auto;
  }

  nav {
    height: 64px;
  }

  .ImgFondo, .ImgFondo2 {
    background: #23282e;
    background-image: url('../ImgContenidos/slider.jpg');
  }

  .ImgTarget {
    background: #1b445a;
  }

  .nav_tienda_cliente {
    display: none;
  }

  .container_img_producto {
    height: 20rem;
  }

  #toast_message {
    left: 0;
  }
}

@media (min-width: 768px) {
  .CorreoInput {
    width: 400px;
    border: 2px solid #3d92e3;
  }

  .CajaSlogan {
    margin: 0 auto;
  }

  .ImgFondo {
    background: #06070c;
    background-image: url('../ImgContenidos/slider.jpg');
  }

  .ImgFondo2 {
    background: #23282e;
    background-image: url('https://skyneterp.com/public/skyneterp.com/ImgContenidos/1733344155_NOT_ADJUNTO.webp');
    background-size: 100% auto;
  }

  .ImgTarget {
    background: #1b445a;
    background-image: url('https://skyneterp.com/public/skyneterp.com/ImgContenidos/1733344520_NOT_ADJUNTO.webp');
    background-position: center;
    height: 700px;
  }

  #modalLogin.modal, #modalLoginTienda.modal {
    width: 40%;
  }

  .nav_tienda_cliente {
    display: block;
  }

  .container_img_producto {
    height: 12rem;
  }

  .login_tienda_pass {
    width: 40%;
  }

  .fila_carrito {
    display: flex;
  }

  #toast_message {
    left: 30%;
  }

  #Cuerpo {
    padding-top: 66px;
  }
}

@media (min-width: 992px) {
  .ImgFondo {
    background-image: url('../ImgContenidos/slider.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
  }

  .ImgFondo2 {
    background: #23282e;
    background-image: url('https://skyneterp.com/public/skyneterp.com/ImgContenidos/1733344155_NOT_ADJUNTO.webp');
    background-size: 100% auto;
    height: 650px;
  }
}

/* Fluid typography */
:root {
  --base-font-size: clamp(14px, 1.5vw, 16px);
}

@media (min-width: 1440px) {
  :root {
    --size-body: clamp(0.875rem, 1.2vw, 1rem);
    --size-small: 0.75rem;
  }
}