/* A short entrance animation; the header stays still after opening. */
@keyframes header-pop {
  0% { opacity:0; transform:translateY(-8px) scale(.97); }
  70% { opacity:1; transform:translateY(1px) scale(1.01); }
  100% { opacity:1; transform:none; }
}
header .brand { animation:header-pop .55s ease-out both; }
header .header-search { animation:header-pop .55s .08s ease-out both; }
header > .button { animation:header-pop .55s .16s ease-out both; }
@media(max-width:700px) {
  header { display:flex; flex-wrap:nowrap; gap:8px; padding:10px 12px; }
  header .brand { flex:0 0 auto; gap:7px; }
  header .brand img { width:36px; height:36px; }
  header .brand span { font-size:10px; white-space:nowrap; }
  header .brand small { font-size:10px; letter-spacing:.6px; }
  header .header-search { order:initial; flex:1 1 0; min-width:0; margin:0; }
  header .header-search input { height:44px; padding:10px 8px; font-size:16px; }
  header > .button { flex:0 0 44px; width:44px; height:44px; padding:0; min-height:44px; border-radius:10px; }
  header .header-wa-text { display:none; }
  header .header-wa-icon { display:block; width:23px; height:23px; }
  .announcement { display:flex; flex-direction:row; flex-wrap:nowrap; padding:8px 12px; }
  .announcement > span { display:block; white-space:nowrap; overflow-x:auto; scrollbar-width:none; min-width:0; line-height:1.5; }
  .announcement > span::-webkit-scrollbar { display:none; }
}
@media(min-width:701px) { .header-wa-icon { display:none; } }
@media(max-width:360px) { header .brand > span { display:none; } }
@media(prefers-reduced-motion:reduce) {
  header .brand, header .header-search, header > .button { animation:none; }
}

/* Soft, slow blinking keeps the product line readable. */
@keyframes announcement-blink { 0%,100% { opacity:1; } 50% { opacity:.25; } }
.announcement-blink { animation:announcement-blink 2s ease-in-out infinite; }
@media(prefers-reduced-motion:reduce) { .announcement-blink { animation:none; } }
