/* Promoção Real — cabeçalho. Todas as classes começam com pr-hd- (sem colisão). */

.pr-hd,
.pr-hd-bottom,
.pr-hd-skip {
  --pr-hd-blue: #109DF2;        /* acento (preenchimentos, sublinhado) */
  --pr-hd-blue-ink: #0A6CB0;    /* azul para texto: 5,5:1 no branco */
  --pr-hd-focus: #0B73BD;
  --pr-hd-green: #AAD445;
  --pr-hd-yellow: #FFD400;
  --pr-hd-purple: #8C48FF;
  --pr-hd-pink: #F2598A;
  --pr-hd-ink: #0F1B2D;
  --pr-hd-muted: #5B6676;       /* 5,8:1 */
  --pr-hd-line: #E6EAF0;
  --pr-hd-soft: #F3F6FA;
  --pr-hd-bg: #FFFFFF;
  --pr-hd-bar-h: 64px;
  --pr-hd-tabs-h: 46px;
  --pr-hd-font: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pr-hd-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: var(--pr-hd-font);
  -webkit-font-smoothing: antialiased;
}

.pr-hd *,
.pr-hd *::before,
.pr-hd *::after,
.pr-hd-bottom *,
.pr-hd-bottom *::before,
.pr-hd-bottom *::after { box-sizing: border-box; }

.pr-hd-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Pular para o conteúdo */
.pr-hd-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--pr-hd-ink); color: #fff; font-weight: 700; text-decoration: none;
}
.pr-hd-skip:focus { top: 12px; }

/* ---------- Casca ---------- */
.pr-hd {
  position: sticky; top: 0; z-index: 100;
  background: var(--pr-hd-bg);
  color: var(--pr-hd-ink);
  border-bottom: 1px solid var(--pr-hd-line);
  transition: box-shadow .2s ease;
}
.pr-hd--stuck {
  box-shadow: 0 10px 24px -18px rgba(15, 27, 45, .45), 0 1px 0 rgba(15, 27, 45, .04);
}

.pr-hd-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--pr-hd-blue) 0%, var(--pr-hd-purple) 32%, var(--pr-hd-pink) 58%, var(--pr-hd-yellow) 80%, var(--pr-hd-green) 100%);
}

.pr-hd-bar {
  display: flex; align-items: center; gap: 20px;
  max-width: 1320px; margin: 0 auto;
  height: var(--pr-hd-bar-h);
  padding: 0 24px;
  transition: height .22s var(--pr-hd-ease);
}

.pr-hd :focus-visible,
.pr-hd-bottom :focus-visible {
  outline: 3px solid var(--pr-hd-focus);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- Logo ---------- */
.pr-hd-logo {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
  color: var(--pr-hd-ink); text-decoration: none;
  min-height: 44px; border-radius: 10px;
}
.pr-hd-logo-icon {
  width: 34px; height: 34px; flex: 0 0 auto;
  transition: width .22s var(--pr-hd-ease), height .22s var(--pr-hd-ease);
}
.pr-hd-wordmark {
  font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1;
  white-space: nowrap;
  transition: font-size .22s var(--pr-hd-ease);
}
.pr-hd-wordmark-real {
  color: var(--pr-hd-blue-ink);
  margin-left: .22em;
}

/* ---------- Busca ---------- */
.pr-hd-search {
  flex: 1 1 auto; min-width: 0;
  max-width: 640px;
  margin: 0 auto;
}
.pr-hd-search-field {
  position: relative;
  display: flex; align-items: center;
}
.pr-hd-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--pr-hd-muted); pointer-events: none;
}
.pr-hd-search-input {
  width: 100%; height: 46px;
  padding: 0 84px 0 46px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--pr-hd-soft);
  color: var(--pr-hd-ink);
  font: 500 15px/1 var(--pr-hd-font);
  appearance: none; -webkit-appearance: none;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, height .22s var(--pr-hd-ease);
}
.pr-hd-search-input::placeholder { color: var(--pr-hd-muted); opacity: 1; }
.pr-hd-search-input::-webkit-search-cancel-button,
.pr-hd-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.pr-hd-search-input:hover { border-color: #D3DAE4; }
.pr-hd-search-input:focus { outline: none; }
.pr-hd-search-input:focus-visible,
.pr-hd-search-input:focus {
  background: #fff;
  border-color: var(--pr-hd-blue);
  box-shadow: 0 0 0 4px rgba(16, 157, 242, .18);
}
.pr-hd-kbd {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  min-width: 24px; height: 24px; padding: 0 7px;
  display: inline-grid; place-items: center;
  border: 1px solid #D3DAE4; border-bottom-width: 2px; border-radius: 6px;
  background: #fff; color: var(--pr-hd-muted);
  font: 700 12px/1 var(--pr-hd-font);
  pointer-events: none;
}
.pr-hd-search-input:focus ~ .pr-hd-kbd,
.pr-hd--has-query .pr-hd-kbd { display: none; }
.pr-hd-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 999px;
  display: grid; place-items: center;
  background: transparent; color: var(--pr-hd-muted); cursor: pointer;
}
.pr-hd-search-clear:hover { background: #E6EBF2; color: var(--pr-hd-ink); }
.pr-hd-search-clear[hidden] { display: none; }

.pr-hd-search-back,
.pr-hd-suggest { display: none; }

/* ---------- Ações ---------- */
.pr-hd-actions {
  display: flex; align-items: center; gap: 6px;
  flex: 0 0 auto;
}
.pr-hd-icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--pr-hd-ink);
  font: 600 14.5px/1 var(--pr-hd-font);
  cursor: pointer;
  transition: background .15s ease;
}
.pr-hd-icon-btn:hover { background: var(--pr-hd-soft); }
.pr-hd-search-toggle { display: none; }

.pr-hd-bell { position: relative; display: inline-grid; place-items: center; }
.pr-hd-dot {
  position: absolute; top: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pr-hd-pink);
  box-shadow: 0 0 0 2px #fff;
}
.pr-hd-dot[hidden] { display: none; }

.pr-hd-bf {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px 0 12px;
  border-radius: 999px;
  background: #111827; color: var(--pr-hd-yellow);
  font: 800 13.5px/1 var(--pr-hd-font); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px rgba(255, 212, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease;
  margin: 4px 0; /* área de toque: 44 px com a margem */
}
.pr-hd-bf:hover { box-shadow: inset 0 0 0 1.5px var(--pr-hd-yellow); transform: translateY(-1px); }
.pr-hd-bf-spark {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pr-hd-yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .25);
  animation: pr-hd-pulse 1.8s ease-in-out infinite;
}
@keyframes pr-hd-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 212, 0, .25); }
  50% { box-shadow: 0 0 0 6px rgba(255, 212, 0, 0); }
}

.pr-hd-login {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 14px;
  border: 1.5px solid #D3DAE4; border-radius: 999px;
  background: #fff; color: var(--pr-hd-ink);
  font: 700 14.5px/1 var(--pr-hd-font); white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pr-hd-login:hover { border-color: var(--pr-hd-blue); background: #F5FAFF; }
.pr-hd-login-user { display: none; }

/* ---------- Abas ---------- */
.pr-hd-tabs {
  position: relative;
  display: flex; align-items: stretch; gap: 4px;
  max-width: 1320px; margin: 0 auto;
  height: var(--pr-hd-tabs-h);
  padding: 0 24px;
}
.pr-hd-tablist {
  display: flex; align-items: stretch; gap: 4px;
  flex: 0 1 auto; min-width: 0;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.pr-hd-tablist::-webkit-scrollbar { display: none; }
/* esmaecimento nas bordas quando há mais abas para rolar (classes postas pelo JS) */
.pr-hd-tablist.pr-hd-fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.pr-hd-tablist.pr-hd-fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px); mask-image: linear-gradient(90deg, transparent, #000 32px); }
.pr-hd-tablist.pr-hd-fade-l.pr-hd-fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.pr-hd-tablist > li { display: flex; flex: 0 0 auto; scroll-snap-align: start; }

.pr-hd-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 12px;
  min-height: 44px;
  color: var(--pr-hd-muted); text-decoration: none;
  font: 600 14.5px/1 var(--pr-hd-font); white-space: nowrap;
  border-radius: 10px;
  transition: color .15s ease;
}
.pr-hd-tab::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--pr-hd-blue);
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s var(--pr-hd-ease);
}
.pr-hd-tab:hover { color: var(--pr-hd-ink); }
.pr-hd-tab[aria-current="page"] { color: var(--pr-hd-ink); font-weight: 750; }
.pr-hd-tab[aria-current="page"]::after { transform: scaleX(1); }
.pr-hd-tab:focus-visible { outline-offset: -3px; }

.pr-hd-pill {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 7px; border-radius: 999px;
  background: var(--pr-hd-green); color: var(--pr-hd-ink);
  font: 800 11px/1 var(--pr-hd-font); letter-spacing: .01em;
}
.pr-hd-tab-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pr-hd-yellow);
  box-shadow: 0 0 0 2px #111827;
}

/* Categorias (fora da rolagem, para o menu não ser cortado) */
.pr-hd-cat { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.pr-hd-cat::before {
  content: ""; width: 1px; height: 22px; margin: 0 8px 0 4px;
  background: var(--pr-hd-line);
}
.pr-hd-cat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px;
  background: transparent; color: var(--pr-hd-ink);
  font: 700 14.5px/1 var(--pr-hd-font); white-space: nowrap;
  cursor: pointer;
}
.pr-hd-cat-btn:hover,
.pr-hd-cat-btn[aria-expanded="true"] { background: var(--pr-hd-soft); }
.pr-hd-cat-btn--active .pr-hd-cat-label { color: var(--pr-hd-blue-ink); }
.pr-hd-cat-label { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.pr-hd-chev { transition: transform .2s var(--pr-hd-ease); }
.pr-hd-cat-btn[aria-expanded="true"] .pr-hd-chev { transform: rotate(180deg); }

.pr-hd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 110;
  width: min(520px, calc(100vw - 32px));
  max-height: min(70vh, 520px); overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--pr-hd-line); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(15, 27, 45, .35), 0 4px 12px -6px rgba(15, 27, 45, .12);
  animation: pr-hd-drop .18s var(--pr-hd-ease);
}
.pr-hd-menu[hidden] { display: none; }
@keyframes pr-hd-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.pr-hd-menu-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin: 0; padding: 0; list-style: none;
}
.pr-hd-menu-list > li:first-child { grid-column: 1 / -1; }
.pr-hd-menu-item {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 12px;
  border-radius: 10px;
  color: var(--pr-hd-ink); text-decoration: none;
  font: 600 14.5px/1.25 var(--pr-hd-font);
}
.pr-hd-menu-item > span { width: 22px; text-align: center; font-size: 17px; }
.pr-hd-menu-item:hover { background: var(--pr-hd-soft); }
.pr-hd-menu-item[aria-current="true"] { background: #EAF5FE; color: var(--pr-hd-blue-ink); font-weight: 750; }
.pr-hd-menu-item--all { border-bottom: 1px solid var(--pr-hd-line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }

.pr-hd-backdrop[hidden] { display: none; }

/* ---------- Encolhido (depois de 80 px) ---------- */
.pr-hd--compact { --pr-hd-bar-h: 54px; }
.pr-hd--compact .pr-hd-logo-icon { width: 28px; height: 28px; }
.pr-hd--compact .pr-hd-wordmark { font-size: 18.5px; }
.pr-hd--compact .pr-hd-search-input { height: 40px; }

/* ---------- Navegação inferior ---------- */
.pr-hd-bottom { display: none; }

/* ---------- Telas médias ---------- */
@media (max-width: 1180px) {
  .pr-hd-bar { gap: 14px; padding: 0 16px; }
  .pr-hd-tabs { padding: 0 16px; }
  .pr-hd-alerts .pr-hd-btn-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .pr-hd-alerts { padding: 0; justify-content: center; }
}
@media (max-width: 960px) {
  .pr-hd-login-text { display: none; }
  .pr-hd-login { width: 44px; padding: 0; justify-content: center; }
  .pr-hd-login-g { width: 20px; height: 20px; }
}

/* ---------- Celular (até 768 px) ---------- */
@media (max-width: 768px) {
  .pr-hd { --pr-hd-bar-h: 56px; --pr-hd-tabs-h: 44px; }
  .pr-hd--compact { --pr-hd-bar-h: 50px; }
  .pr-hd-bar { gap: 8px; padding: 0 12px 0 16px; }
  .pr-hd-tabs { padding: 0 8px 0 4px; gap: 0; }
  .pr-hd-logo-icon { width: 30px; height: 30px; }
  .pr-hd-wordmark { font-size: 18.5px; }
  .pr-hd--compact .pr-hd-wordmark { font-size: 17px; }

  .pr-hd-actions { margin-left: auto; gap: 2px; }
  .pr-hd-bf { display: none; }
  .pr-hd-search-toggle { display: inline-flex; justify-content: center; padding: 0; }
  .pr-hd-login { border: 0; background: transparent; }
  .pr-hd-login:hover { background: var(--pr-hd-soft); }
  .pr-hd-login-g { display: none; }
  .pr-hd-login-user { display: block; }

  /* busca vira sobreposição */
  .pr-hd-search { display: none; }
  .pr-hd--search-open .pr-hd-search {
    display: block;
    position: fixed; inset: 0 0 auto 0; z-index: 130;
    max-width: none; margin: 0;
    padding: 10px 12px 16px 6px;
    background: #fff;
    border-bottom: 1px solid var(--pr-hd-line);
    box-shadow: 0 18px 40px -24px rgba(15, 27, 45, .5);
    animation: pr-hd-drop .18s var(--pr-hd-ease);
  }
  .pr-hd--search-open .pr-hd-search::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--pr-hd-blue), var(--pr-hd-purple), var(--pr-hd-pink), var(--pr-hd-yellow), var(--pr-hd-green));
  }
  .pr-hd--search-open .pr-hd-search-back {
    display: inline-grid; place-items: center;
    position: absolute; left: 4px; top: 12px;
    width: 44px; height: 44px; border: 0; border-radius: 999px;
    background: transparent; color: var(--pr-hd-ink); cursor: pointer;
  }
  .pr-hd--search-open .pr-hd-search-field { margin-left: 46px; margin-top: 2px; }
  .pr-hd-search-input { height: 46px; font-size: 16px; padding-right: 48px; } /* 16 px evita zoom no iOS */
  .pr-hd--compact .pr-hd-search-input { height: 46px; }
  .pr-hd-kbd { display: none; }
  .pr-hd--search-open .pr-hd-suggest { display: block; margin: 14px 0 0 50px; }
  .pr-hd-suggest-title { margin: 0 0 8px; color: var(--pr-hd-muted); font: 700 12.5px/1 var(--pr-hd-font); text-transform: uppercase; letter-spacing: .06em; }
  .pr-hd-suggest-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .pr-hd-chip {
    min-height: 40px; padding: 0 14px;
    border: 1.5px solid var(--pr-hd-line); border-radius: 999px;
    background: #fff; color: var(--pr-hd-ink);
    font: 600 14px/1 var(--pr-hd-font); cursor: pointer;
  }
  .pr-hd-chip:hover { border-color: var(--pr-hd-blue); }
  .pr-hd--search-open .pr-hd-backdrop {
    display: block; position: fixed; inset: 0; z-index: 120;
    background: rgba(15, 27, 45, .45);
  }

  .pr-hd-tablist { flex: 1 1 auto; }
  .pr-hd-tab { padding: 0 11px; font-size: 14px; }
  .pr-hd-tab::after { left: 11px; right: 11px; }
  .pr-hd-cat::before { margin: 0 2px 0 0; }
  .pr-hd-cat-btn { padding: 0 8px; gap: 4px; }
  .pr-hd-cat-btn > svg:first-child { display: none; }
  .pr-hd-cat-label { max-width: 96px; }
  .pr-hd-cat { position: static; }
  .pr-hd-menu { left: 12px !important; right: 12px; width: auto; max-height: min(65vh, 480px); }

  /* navegação inferior */
  .pr-hd-bottom {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--pr-hd-line);
    box-shadow: 0 -8px 24px -18px rgba(15, 27, 45, .35);
  }
  .pr-hd-bottom-item {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 54px; padding: 4px 2px;
    border: 0; border-radius: 12px;
    background: transparent; color: var(--pr-hd-muted); text-decoration: none;
    font: 600 11.5px/1 var(--pr-hd-font); cursor: pointer;
  }
  .pr-hd-bottom-item[aria-current="page"] { color: var(--pr-hd-blue-ink); }
  .pr-hd-bottom-item[aria-current="page"] svg { color: var(--pr-hd-blue); }
  .pr-hd-bottom-item:active { background: var(--pr-hd-soft); }
  body.pr-hd-has-bottom { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  .pr-hd-menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .pr-hd-wordmark { font-size: 16.5px; }
  .pr-hd-bar { padding: 0 8px 0 12px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .pr-hd *, .pr-hd-bottom *, .pr-hd, .pr-hd-bar {
    transition: none !important;
    animation: none !important;
  }
  .pr-hd-tablist { scroll-behavior: auto; }
}
