/* ══ HEADER ════════════════════════════════════════════════════════ */

.fdp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--fdp-preto);
}

/* ── Faixa superior ─────────────────────────────────────────────── */
.fdp-header-top {
  background: var(--fdp-carvao);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 34px;
  display: flex;
  align-items: center;
}

.fdp-header-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fdp-top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fdp-top-links a {
  font-family: var(--fdp-corpo);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}
.fdp-top-links a:hover { color: rgba(255,255,255,0.85); }

.fdp-top-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fdp-top-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--fdp-corpo);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.fdp-top-item:hover { color: rgba(255,255,255,0.85); }
.fdp-top-item svg { flex-shrink: 0; opacity: 0.6; }

.fdp-top-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.fdp-top-social a {
  color: rgba(255,255,255,0.4);
  display: flex;
  transition: color 0.15s;
}
.fdp-top-social a:hover { color: var(--fdp-ouro); }

/* ── Barra principal ────────────────────────────────────────────── */
.fdp-header-main {
  height: 92px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fdp-header-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.fdp-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.fdp-logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 200px !important;
  display: block;
  object-fit: contain;
}

/* Busca */
.fdp-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  height: 44px;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.fdp-search-form:focus-within {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}

.fdp-search-icon {
  flex-shrink: 0;
  margin: 0 12px;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

.fdp-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--fdp-corpo);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  min-width: 0;
}
.fdp-search-input::placeholder { color: rgba(255,255,255,0.3); }

.fdp-search-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--fdp-preto);
  transition: background 0.15s;
}
.fdp-search-btn:hover { background: var(--fdp-ouro); color: #fff; }

/* Ações */
.fdp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.fdp-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px;
  transition: color 0.15s;
}
.fdp-cart-btn:hover { color: var(--fdp-ouro); }
.fdp-cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #fff;
  color: var(--fdp-preto);
  font-size: 0.62rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.fdp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.fdp-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.fdp-hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.fdp-hamburger.is-active span:nth-child(2) { opacity: 0; }
.fdp-hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Barra de categorias ────────────────────────────────────────── */
.fdp-header-nav {
  height: 44px;
  background: var(--fdp-carvao);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
}

.fdp-header-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.fdp-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fdp-nav-list > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--fdp-corpo);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.fdp-nav-list > li > a:hover,
.fdp-nav-list > li.current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.fdp-nav-ver-tudo {
  margin-left: auto;
}
.fdp-nav-ver-tudo a {
  color: #fff !important;
}
.fdp-nav-ver-tudo a:hover {
  background: rgba(192,40,30,0.12) !important;
}

/* Spacer — total: 34 + 92 + 44 = 170px */
.fdp-header-spacer { height: 170px; }

/* ══ FOOTER ════════════════════════════════════════════════════════ */

.fdp-footer {
  background: var(--fdp-carvao);
  color: rgba(255,255,255,0.7);
  font-family: var(--fdp-corpo);
}

.fdp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.fdp-footer-brand img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.8);
}
.fdp-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  margin: 0 0 20px;
}

.fdp-footer-social { display: flex; gap: 14px; }
.fdp-footer-social a {
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.fdp-footer-social a:hover { color: var(--fdp-ouro); }

.fdp-footer-col h4 {
  font-family: var(--fdp-fonte);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px;
}
.fdp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fdp-footer-col ul li { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.fdp-footer-col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.fdp-footer-col ul a:hover { color: rgba(255,255,255,0.9); }

.fdp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.fdp-footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ══ VOLTAR AO TOPO ════════════════════════════════════════════════ */
.fdp-back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fdp-preto);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.fdp-back-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fdp-back-top:hover { background: var(--fdp-ouro-claro); }

/* ══ MOBILE ════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .fdp-header-top { display: none; }

  .fdp-header-main { height: 72px; }
  .fdp-logo img { height: 44px !important; }

  .fdp-hamburger { display: flex; }

  .fdp-header-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    background: var(--fdp-preto);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }
  .fdp-header-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .fdp-header-nav-inner { padding: 8px 16px 16px; }
  .fdp-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .fdp-nav-list > li > a {
    padding: 12px 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .fdp-nav-ver-tudo { margin-left: 0; }

  .fdp-header-spacer { height: 72px; }

  .fdp-search-form { display: none; }

  .fdp-footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 32px;
  }
  .fdp-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
