/* Variables globales */
:root {
  /* Colores */
  --brand: #ff9393; 
  --dark: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --border: #e5e7eb;
  --success: #16a34a;

  /* Sombras y bordes */
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  --radius: 16px;

  /* Tamaños */
  --container: 1200px;
}
/* Estilos generales */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
/* Aplica a todas las secciones que tengan un atributo id */
/* Esto añade un margen superior invisible cuando se hace scroll hacia ese elemento */
/* Así se evita que el contenido quede tapado por un header fijo o sticky */
section[id] {
  scroll-margin-top: 120px; /* Ajusta este valor a la altura de tu header */
}
/* Contenedor */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
/* barra_de_anuncios Anuncios */
.barra_de_anuncios {
  background: var(--dark);
  color: #fff;
  font-size: 0.9rem;
}
.barra_de_anuncios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
.barra_de_anuncios b {
  font-weight: 600;
}
/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  
}
.header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  justify-self: start; /* Alinea el logo a la izquierda */
  font-weight: 800;
  letter-spacing: 0.5px;
}
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo_de_la_empresa{
  max-width: 50px;
  max-height: 50px;
  
  background-size: cover; /* Ajusta el tamaño del logo */
  background-position: center; /* Centra el logo */
}
.actions {
    display: flex;
    justify-self: end; /* Alinea las acciones a la derecha */

    gap: 10px; /* Espacio entre botones */
    align-items: center; /* Alinea todos los botones verticalmente */
}
/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.btn img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.btn span {
  display: inline-block;
  vertical-align: middle;
}
.btn_carrito {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.icono_carrito{
    filter: brightness(1.1);
    mix-blend-mode: multiply;
}
/* contenedor_menu */
.contenedor_menu {
    border-bottom: 1px solid var(--border, #ddd);
    background: #fff;
    position: relative;
} 
.contenedor_menu .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}  
/* Botón hamburguesa (oculto en desktop) */
.menu_hamburguesa {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none; /* solo visible en móvil */
}
/* Menú principal */
.menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}  
.menu a {
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #333;
}
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 188px; /* Ajusta este valor a la altura de tu header */
  }
  .header{
    display: block;
  }
  /* Fila superior con hamburguesa + logo */
  .top_header {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
  }
  /* Botón hamburguesa a la izquierda */
  .menu_hamburguesa {
    font-size: 45px;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
  }
  /* Logo a la derecha */
  .logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  /* Acciones debajo, centradas */
  .actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .actions .btn {
    font-size: 0.9rem;
  }
  .hide-mobile {
    display: none;
  }
  /* contenedor_menu */
  .contenedor_menu .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 100%;
    display: none;
    padding: 10px 0;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .menu.show {
    display: flex;
  }
  .menu li {
    padding: 8px 16px;
  }
}