@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}
:root {
  --bg: #fff;
  --text: #0d0c22;
  --muted: #6e6d7a;
  --border: #e7e7e9;
  --pink: #ea4c89;
  --berry: #7F67FA;
  --radius: 13px 13px;
}
a{
  text-decoration: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */

.header {
  background: rgba(255, 255, 255, 1);
  /*border-bottom: 1px solid var(--border);*/
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo svg {
  width: 100px;
}

.search {
  display: flex;
  align-items: center;
  background: #f3f3f4;
  padding: 6px 8px 6px 20px;
  border-radius: 999px;
  width: 420px;
}

.search input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.search-btn {
  background: var(--berry);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.search-btn svg{
    width: 20px;
    margin: 4px auto;
    display: inherit;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-item {
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 9px;
  font-weight: 700;
  color: #0d0c22; 
}
.nav-item:hover{
  color: #7b7194;
}
.nav-item svg{
  width: 9px;
  margin-left: 4px;
}
/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 35px;
  left: 0;
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  width: 320px;
  display: none;
  flex-direction: column;
  gap: 18px;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}
.dropdown-menu a{
  color: #0d0c22;
}
.dropdown-item{
  padding: 5px 11px;
  border-radius: 11px;
}
.dropdown-item:hover{
  cursor: pointer;
  background: #f5f5f5;
}
.dropdown-item strong {
  display: block;
  font-size: 15px;
}

.dropdown-item span {
  font-size: 13px;
  color: var(--muted);
}

/* RIGHT */

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.share-btn {
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color:#0d0c22 ;
}
.share-btn i svg{
  width: 15px;
  margin-bottom: -3px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.avatar svg{
  fill: #fff;
  width: 20px;
}
/* MAIN */

.container {
  max-width: 1400px;
  margin: auto;
  padding: 15px 12px;
}

.page-title {
  font-size: clamp(24px, 3vw, 15px);
  margin-bottom: 0px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 12px;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  overflow: hidden;
}

.card:hover{
  cursor: pointer;
}

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
}
.card-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Esto crea un rectángulo estándar para productos */
    overflow: hidden;
    background: #f8f8f8;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el espacio sin deformarse */
    transition: transform 0.3s ease;
}
.card-body {
  padding: 9px 0px 9px 0px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

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

.author {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ddd;
  display: grid;
  place-items: center;
  font-size: 12px;
  display: none;
}
.autorn{
  display: none;
}
.etiq{
  font-size: 9px;
  padding: 4px 6px 4px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 800;
}
.e2da {
    background: #ecebf0;
    color: #524b63;
}
.esemin {
    background: #ecebf0;
    color: #524b63;
}
.enew{
    background: #3a3546;
    color: #fff;
}
.price {
  font-size: 14px;
  font-weight: 600;
}
/* ============================= */
/* MOBILE HEADER */
/* ============================= */
.search-toggle svg{
    color: #333;
    height: 24px;
    display: inherit;
}
.menu-toggle svg{
      width: 25px;
    display: inherit;
    margin-right: 6px;
    stroke: #555;
}
.menu-toggle,
.search-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* SEARCH PANEL (mobile) */
.mobile-search-panel {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255,1);
  padding: 0px 10px 7px;
  border-bottom: 1px solid var(--border);
  z-index: 99;

  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;

  transition: 
    transform 0.3s ease,
    visibility 0s linear 0.3s; /* 👈 esto evita el corte brusco */
}

.mobile-search-panel.active {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;

  transition: transform 0.3s ease;
}



.mobile-search-panel .search {
  width: 100%;
}

/* ============================================================
   MOBILE MENU PANEL (Actualizado para Sub-ítems)
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  padding: 24px 16px; /* Ajustamos un poco el padding horizontal */
  transition: 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

/* Ítems principales (Dispositivos, Aplicaciones) */
.mobile-item-main {
  display: block;
  width: 100%;
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color, #0d0c22);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* Título del Grupo (Experiencias) */
.mobile-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #aaa9b3;
  letter-spacing: 0.05em;
  padding: 18px 8px 8px 8px;
}

/* Sub-ítems (Blog, Contacto) - Indentados a la derecha */
.mobile-item-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px 10px 24px; /* Empuja el bloque a la derecha */
  text-decoration: none;
  color: #3d3d4e;
  border-bottom: 1px solid #f3f3f4; /* Línea más sutil para los hijos */
}

/* Estilo para los textos descriptivos chicos (Tips técnicos, etc.) */
.mobile-item-sub small {
  font-size: 12px;
  font-weight: 400;
  color: #9e9ea7;
}

/* Línea divisora antes de Términos */
.mobile-group-line {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Enlace de términos (Estilo secundario) */
.mobile-terms {
  font-size: 14px;
  color: #9e9ea7;
  font-weight: 500;
  border-bottom: none; /* Le quitamos la línea final */
}

/* ============================================================
   OVERLAY MENU
   ============================================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 150;
}

.mobile-menu-overlay.active {
  display: block;
}

/* ============================= */
/* RESPONSIVE BREAKPOINT */
/* ============================= */

@media (max-width: 768px) {
  .card h3 {
    margin-bottom: 7px;
  }
  .mobile-search-panel.active {
    display: block;
  }
  .nav-container {
    padding: 12px;
  }

  .nav-links,
  .share-btn {
    display: none;
  }

  .nav-container .search {
    display: none; /* solo en móvil */
  }

  .share-btn {
    display: none;
  }

  .menu-toggle,
  .search-toggle {
    display: block;
  }

  .logo svg {
    width: 85px;
  }

  .nav-left {
    gap: 12px;
  }

  .nav-right {
    gap: 12px;
  }
}
/*Buscador dinamica*/
/* Ocultar el buscador de contenido en desktop */
.main-mobile-search-container {
    display: none;
    margin-bottom: 24px;
}

/* FOOTER ESTILO  */
.footer-moderno {
    background-color: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #f1f1f1;
}
.footer-logo-section a{
  text-decoration: none;
}
.footer-logo-section .logo{
  margin-bottom: 16px;
} 
/*==============ANIMACION MASCOTA IZANINE==============*/
.footer-logo-section svg:nth-of-type(1) {
    width: 34px; /* Mantengo tu medida */
    margin-right: 6px;
    display: inline-block;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}
.footer-logo-section:hover svg:nth-of-type(1){
    /* Aplicamos las animaciones */
    animation: 
        flotar 3s ease-in-out infinite, 
        espectro 5s linear infinite;
}
/* Animación 1: Movimiento de levitación y balanceo */
@keyframes flotar {
    0%, 100% {transform: translateY(0) rotate(0deg);  }
    25% {transform: translateY(-10px) rotate(-3deg); /* Sube y se inclina */}
    50% {transform: translateY(-8px) rotate(0deg); /* Punto más alto */}
    75% {transform: translateY(-10px) rotate(3deg); /* Baja y se inclina al otro lado */}
}

/* Animación 2: Efecto de transparencia y brillo (Vida de fantasma) */
@keyframes espectro {
    0%, 100% {
        opacity: 0.4;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
    }
    50% {
        opacity: 0.9;
        /* Un brillo que parece un aura */
        filter: drop-shadow(0 0 10px rgba(150, 200, 255, 0.6));
    }
}

/* Interacción: Cuando pasas el mouse, el fantasma se "asusta" o se desvanece */
.footer-logo-section svg:nth-of-type(1):hover {
    transition: all 0.3s ease;
    opacity: 0.3;
    transform: scale(1.2) translateY(-15px);
    filter: blur(1px);
}
/*==============TERMINA ANIMACION MASCOTA IZANINE==============*/

.footer-logo-section svg:nth-of-type(2) {
    width: 100px;
}
.copyr{
  font-size: 12px;
}


/* Contenedor del enlace */
.makefor-rst {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
}

/* Selección del SVG dentro del enlace */
.makefor-rst svg {
    display: inline-block;
    width: 12px;
    margin-left: 5px;
    vertical-align: middle;
    fill: #ff4d4d; /* Color rojo inicial */
}
.makefor-rst:hover svg {
    fill: #ff0000;
    animation: latido 0.8s infinite ease-in-out; /* Se activa al pasar el mouse */
}
.makefor-rst:hover svg path {
  fill: var(--berry);
}
.makefor-rst:hover svg path {
  fill: var(--berry);
}
/* Definición de la animación del latido */
@keyframes latido {
    0% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.25); /* El primer golpe del latido */
    }
    30% {
        transform: scale(1); /* Pequeña pausa */
    }
    45% {
        transform: scale(1.15); /* El segundo golpe más suave */
    }
    100% {
        transform: scale(1);
    }
}

/* Efecto opcional: Que se detenga o acelere al pasar el mouse */
.makefor-rst:hover svg {
    animation-duration: 0.6s; /* Se emociona al pasar el puntero */
    fill: #ff0000;
}
/* BARRA INFERIOR */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #f1f1f1;
    color: #b2bec3;
    font-size: 0.8rem;
}

.footer-links-inline a {
    margin-left: 20px;
    color: #6e6d7a;
    text-decoration: none;
}

.footer-links-inline a:hover { color: #636e72; }

@media (max-width: 990px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

  .search {
      display: flex;
      align-items: center;
      background: #f3f3f4;
      padding: 6px 8px 6px 20px;
      border-radius: 999px;
      width: 100%;
  }
}
@media (max-width: 768px) {
    .header, .mobile-search-panel{
      background: rgba(255, 255, 255, 0.35);
      backdrop-filter: blur(12px);
    }
    .main-mobile-search-container {
        display: block; /* Solo se ve en móvil */
    }

    /* La lupa del header empieza oculta en móvil */
    .search-toggle {
        display: none !important; 
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Clase para mostrar la lupa cuando scrolleamos */
    .search-toggle.visible {
        display: block !important;
        opacity: 1;
    }
    
    /* Ajuste de margen para que el H1 no pegue al header si quieres */
    .page-title {
        margin-top: 10px;
    }
}
/*end buscadordinamica*/
@media (max-width: 480px) {
  .container {
      max-width: 1400px;
      margin: auto;
      padding: 4px 5px;
  }
}