/* PetMania v2 — cabeçalho, mega-menu, gaveta, barra do celular e home (redesenho de conversão, out/2026).
   Usa os tokens do petza-ds.css (cores da marca). Tudo com prefixo pz- para não brigar com o tema. */
.pz-v2 { --pz-roxo: var(--petza-purple, #4d2981); --pz-roxo-esc: var(--petza-purple-deep, #3a1e64); --pz-roxo-cl: var(--petza-purple-050, #f4f1fb);
  --pz-laranja: var(--petza-orange, #f5770c); --pz-laranja-esc: var(--petza-orange-600, #e06905); --pz-laranja-cl: var(--petza-orange-050, #fff2e6);
  --pz-tinta: var(--ink, #1f1c26); --pz-suave: var(--ink-soft, #5c5769); --pz-linha: var(--line, #e7e3ef); --pz-creme: #fbf8f3; }
.pz-v2 .pz-wrap { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.pz-v2 .pz-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pz-v2 .pz-header ul, .pz-v2 .pz-gaveta ul, .pz-v2 .pz-home ul.pz-chips, .pz-v2 .pz-vant ul, .pz-v2 .pz-conf ul { list-style: none; margin: 0; padding: 0; }
.pz-v2 .pz-header a, .pz-v2 .pz-gaveta a, .pz-v2 .pz-barra a { text-decoration: none; }
.pz-v2 .pz-header svg, .pz-v2 .pz-gaveta svg, .pz-v2 .pz-barra svg, .pz-v2 .pz-home svg { flex: none; }
.pz-so-cel { display: none !important; }
@media (max-width: 991px) { .pz-so-cel { display: inline-flex !important; } .pz-so-pc { display: none !important; } }

/* ---- faixa de vantagens ---- */
.pz-faixa { background: var(--pz-laranja); color: #fff; font-size: 13px; }
.pz-faixa-in { display: flex; justify-content: center; gap: 36px; padding-top: 8px; padding-bottom: 8px; }
.pz-faixa-item { display: inline-flex; align-items: center; gap: 7px; margin: 0; white-space: nowrap; }
.pz-faixa-item b { font-weight: 800; }

/* ---- cabeçalho ---- */
.pz-header { position: sticky; top: 0; z-index: 900; background: #fff; transition: box-shadow .2s; }
.pz-header.pz-rolado { box-shadow: 0 6px 24px -10px rgba(31, 28, 38, .25); }
.pz-topo-in { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.pz-logo img { display: block; height: 52px; width: auto; }
.pz-busca-wrp { flex: 1; min-width: 0; }
.pz-busca { display: flex; align-items: center; height: 50px; border: 2px solid var(--pz-roxo); border-radius: 999px; background: #fff; overflow: hidden; margin: 0; }
.pz-busca input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0; padding: 0 22px !important; font-size: 15px; background: transparent !important; box-shadow: none !important; color: var(--pz-tinta); }
.pz-busca button { height: 100%; width: 60px; border: 0; background: var(--pz-roxo); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pz-busca button:hover { background: var(--pz-roxo-esc); }
.pz-busca:focus-within { box-shadow: 0 0 0 4px rgba(77, 41, 129, .15); }
.pz-acao { display: inline-flex; align-items: center; gap: 10px; color: var(--pz-tinta); background: none; border: 0; cursor: pointer; font: inherit; position: relative; padding: 4px; }
.pz-acao span { display: grid; text-align: left; font-weight: 700; font-size: 14px; line-height: 1.2; }
.pz-acao small { font-weight: 400; font-size: 12px; color: var(--pz-suave); }
.pz-acao svg { color: var(--pz-roxo); }
.pz-carrinho { background: var(--pz-roxo-cl); border-radius: 14px; padding: 8px 14px; }
.pz-badge { position: absolute; top: 0; left: 26px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pz-laranja); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; box-sizing: border-box; }
.pz-ico { background: none; border: 0; color: var(--pz-roxo); padding: 6px; cursor: pointer; align-items: center; justify-content: center; }

/* ---- menu (computador) ---- */
.pz-nav { border-top: 1px solid var(--pz-linha); border-bottom: 1px solid var(--pz-linha); background: #fff; }
.pz-nav-lista { display: flex; align-items: stretch; gap: 4px; }
.pz-nav-it { position: static; }
.pz-nav-a { display: inline-flex; align-items: center; gap: 7px; height: 50px; padding: 0 14px; color: var(--pz-tinta); font-weight: 700; font-size: 14.5px; border-bottom: 3px solid transparent; }
.pz-nav-a:hover, .pz-aberto > .pz-nav-a, .pz-nav-a[aria-current="page"] { color: var(--pz-roxo); border-bottom-color: var(--pz-laranja); }
.pz-nav-animal { background: var(--pz-roxo-cl); border-radius: 12px 12px 0 0; margin-top: 6px; height: 44px; color: var(--pz-roxo); }
.pz-nav-animal svg:first-child { color: var(--pz-laranja); }
.pz-nav-destaque { color: var(--pz-laranja-esc); }
.pz-nav-fim { margin-left: auto; }
.pz-nav-fim .pz-nav-a { color: var(--pz-suave); font-weight: 600; }
.pz-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--pz-linha); box-shadow: 0 24px 40px -20px rgba(31, 28, 38, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.pz-aberto > .pz-mega { opacity: 1; visibility: visible; transform: none; }
.pz-mega-in { display: grid; grid-template-columns: 1fr 280px; gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.pz-mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pz-mega-tit { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pz-laranja-esc); }
.pz-mega-col li a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--pz-tinta); font-size: 14.5px; }
.pz-mega-col li a:hover { color: var(--pz-roxo); }
.pz-n { color: var(--pz-suave); font-size: 12px; font-weight: 600; background: var(--pz-creme); border-radius: 999px; padding: 1px 8px; align-self: center; }
.pz-mega-dest { display: grid; grid-template-rows: 1fr auto; gap: 0; border-radius: 18px; overflow: hidden; background: var(--pz-roxo); color: #fff; position: relative; }
.pz-mega-dest img { width: 100%; height: 180px; object-fit: cover; background: #fff; }
.pz-mega-dest span { display: grid; padding: 14px 18px; font-weight: 800; font-size: 16px; }
.pz-mega-dest small { font-weight: 400; font-size: 13px; opacity: .85; }
.pz-mega-dest > svg { position: absolute; right: 16px; bottom: 22px; }
.pz-mini { position: relative; }
.pz-mega--mini { left: 0; right: auto; min-width: 240px; border-radius: 0 0 14px 14px; }
.pz-mega-mini-in { padding: 12px 18px; }
.pz-mega-mini-in a { display: flex; justify-content: space-between; padding: 8px 0; color: var(--pz-tinta); font-size: 14.5px; }

/* ---- gaveta (celular) ---- */
.pz-gaveta { position: fixed; inset: 0; z-index: 2000; }
.pz-gav-fundo { position: absolute; inset: 0; background: rgba(31, 28, 38, .5); opacity: 0; transition: opacity .2s; }
.pz-gav-caixa { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .22s ease; display: flex; flex-direction: column; }
.pz-gaveta.pz-aberta .pz-gav-fundo { opacity: 1; }
.pz-gaveta.pz-aberta .pz-gav-caixa { transform: none; }
.pz-gav-topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.pz-gav-caixa .pz-faixa-in { flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px 16px; }
.pz-gav-lista > li { border-bottom: 1px solid var(--pz-linha); }
.pz-gav-lista summary, .pz-gav-link { display: flex; align-items: center; gap: 10px; padding: 16px; font-weight: 800; font-size: 16px; color: var(--pz-tinta); cursor: pointer; list-style: none; }
.pz-gav-lista summary::-webkit-details-marker { display: none; }
.pz-gav-lista summary > svg:last-child { margin-left: auto; transition: transform .2s; }
.pz-gav-lista details[open] summary > svg:last-child { transform: rotate(180deg); }
.pz-gav-lista summary > svg:first-child { color: var(--pz-laranja); }
.pz-v2 .pz-gav-lista details ul { padding: 0 16px 12px 48px; }
.pz-gav-lista details a { display: block; padding: 10px 0; color: var(--pz-tinta); font-size: 15px; }
.pz-gav-tudo { color: var(--pz-roxo) !important; font-weight: 800; }
.pz-v2 .pz-gav-ajuda { padding: 16px; display: grid; gap: 4px; background: var(--pz-creme); margin-top: auto !important; }
.pz-gav-ajuda a { display: block; padding: 8px 0; color: var(--pz-suave); font-size: 14.5px; }
html.pz-trava, html.pz-trava body { overflow: hidden; }

/* ---- barra de atalhos (celular) ---- */
.pz-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff; border-top: 1px solid var(--pz-linha); box-shadow: 0 -6px 18px -10px rgba(31, 28, 38, .25);
  justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
.pz-barra a, .pz-barra button { position: relative; display: grid; justify-items: center; gap: 2px; background: none; border: 0; color: var(--pz-suave); font: 600 11px/1.2 inherit; padding: 4px 10px; cursor: pointer; min-width: 64px; }
.pz-barra svg { color: var(--pz-roxo); }
.pz-barra .pz-badge { left: auto; right: 14px; top: 0; }
@media (max-width: 991px) {
  body.pz-v2 { padding-bottom: 68px; }
  .pz-v2 .pz-wrap { padding-left: 14px; padding-right: 14px; }
  .pz-faixa-in { justify-content: flex-start; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .pz-faixa-in::-webkit-scrollbar { display: none; }
  .pz-topo-in { flex-wrap: wrap; gap: 8px 10px; padding-top: 10px; padding-bottom: 10px; }
  .pz-logo { margin: 0 auto 0 0; }
  .pz-logo img { height: 40px; }
  .pz-busca-wrp { order: 5; flex-basis: 100%; }
  .pz-busca { height: 46px; }
  .pz-carrinho { padding: 6px 10px; }
  .pz-carrinho .pz-badge { left: 22px; }
  .pz-header.pz-rolado .pz-faixa { display: none; }
}
/* o tema antigo deixava espaço para o cabeçalho fixo dele */
.pz-v2 .main-home, .pz-v2 .pag-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ---- home ---- */
.pz-home .pz-hero { background: linear-gradient(135deg, var(--pz-creme) 0%, #fff 55%, var(--pz-roxo-cl) 100%); }
.pz-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.pz-hero-eyebrow { margin: 0 0 10px; color: var(--pz-laranja-esc); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.pz-hero h1 { margin: 0; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; font-weight: 900; color: var(--pz-roxo-esc); letter-spacing: -.02em; }
.pz-hero h1 span { color: var(--pz-laranja); }
.pz-hero-sub { margin: 16px 0 0; font-size: 17px; line-height: 1.5; color: var(--pz-suave); max-width: 520px; }
.pz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0 !important; }
.pz-chips li { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--pz-linha); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13.5px; color: var(--pz-roxo); }
.pz-chips svg { color: var(--pz-laranja); }
.pz-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 15.5px; text-decoration: none !important; transition: transform .15s, background .15s; }
.pz-btn--laranja { background: var(--pz-laranja); color: #fff !important; box-shadow: 0 10px 22px -10px rgba(245, 119, 12, .7); }
.pz-btn--laranja:hover { background: var(--pz-laranja-esc); transform: translateY(-1px); }
.pz-btn--linha { border: 2px solid var(--pz-roxo); color: var(--pz-roxo) !important; background: #fff; }
.pz-hero-q { margin: 0 0 12px; font-weight: 800; color: var(--pz-tinta); font-size: 16px; }
.pz-pets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pz-pet { position: relative; display: grid; align-content: space-between; min-height: 300px; border-radius: 24px; overflow: hidden; color: #fff !important; text-decoration: none !important; padding: 22px; isolation: isolate; transition: transform .2s; }
.pz-pet:hover { transform: translateY(-3px); }
.pz-pet--laranja { background: var(--pz-laranja); }
.pz-pet--roxo { background: var(--pz-roxo); }
.pz-pet img { position: absolute; right: -8%; bottom: -6%; width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .35); z-index: -1; background: #fff; }
.pz-pet-txt { display: grid; gap: 2px; }
.pz-pet-txt small { font-size: 13px; opacity: .9; font-weight: 600; }
.pz-pet-txt b { font-size: 32px; font-weight: 900; line-height: 1; }
.pz-pet-txt em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 12px; width: max-content; }

.pz-vant { background: var(--pz-roxo); color: #fff; }
.pz-vant-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 18px 0; }
.pz-vant-lista li { display: flex; align-items: center; gap: 12px; }
.pz-vant-lista svg { width: 30px; height: 30px; color: #ffd2a8; }
.pz-vant-lista p { margin: 0; display: grid; font-size: 13px; opacity: .95; }
.pz-vant-lista b { font-size: 15px; }

.pz-sec { padding: 40px 0; }
.pz-sec-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pz-sec-cab h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--pz-roxo-esc); letter-spacing: -.01em; }
.pz-sec-cab a { display: inline-flex; align-items: center; gap: 6px; color: var(--pz-roxo); font-weight: 800; text-decoration: none; }
.pz-atalhos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; }
.pz-atalho { display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none !important; color: var(--pz-tinta) !important; }
.pz-atalho-img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--pz-creme); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pz-roxo-cl); transition: box-shadow .2s, transform .2s; }
.pz-atalho:hover .pz-atalho-img { box-shadow: 0 0 0 3px var(--pz-laranja); transform: translateY(-2px); }
.pz-atalho-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-atalho b { font-size: 14px; font-weight: 800; }

/* vitrines existentes: cabeçalhos no estilo novo, fundo limpo */
.pz-home .petza-home-sec.catalogo, .pz-home .petza-home-sec.catalogo-promo { background: #fff !important; }
.pz-home .petza-sec--tint { background: var(--pz-creme) !important; }
.pz-home .petza-sec-head__title { color: var(--pz-roxo-esc) !important; font-weight: 900 !important; font-size: clamp(22px, 2.4vw, 28px) !important; text-transform: none !important; }
.pz-home .petza-sec-head__accent { background: var(--pz-laranja) !important; }
.pz-home .petza-sec-head__all { color: var(--pz-roxo) !important; font-weight: 800 !important; }

.pz-conf { background: var(--pz-creme); }
.pz-conf-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.pz-conf h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: var(--pz-roxo-esc); }
.pz-conf p { margin: 0; color: var(--pz-suave); line-height: 1.55; }
.pz-conf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pz-conf-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--pz-linha); color: var(--pz-tinta); font-weight: 700; text-decoration: none; }
.pz-conf-links a:hover { border-color: var(--pz-roxo); color: var(--pz-roxo); }

@media (max-width: 991px) {
  .pz-hero-in { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; padding-bottom: 28px; }
  .pz-hero-sub { font-size: 15.5px; }
  .pz-pet { min-height: 200px; padding: 16px; border-radius: 20px; }
  .pz-pet-txt b { font-size: 26px; }
  .pz-vant-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-atalhos { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .pz-atalhos::-webkit-scrollbar { display: none; }
  .pz-atalho { flex: 0 0 92px; scroll-snap-align: start; }
  .pz-conf-in { grid-template-columns: 1fr; }
  .pz-conf-links { grid-template-columns: 1fr 1fr; }
  .pz-sec { padding: 28px 0; }
}
@media (max-width: 480px) {
  .pz-hero-ctas .pz-btn { flex: 1 1 100%; }
  .pz-vant-lista li { align-items: flex-start; }
}

/* ajustes depois da 1ª medição: o tema centraliza texto e esconde a busca no celular */
.pz-v2 .pz-hero-txt, .pz-v2 .pz-vant, .pz-v2 .pz-hero-pets, .pz-v2 .pz-conf, .pz-v2 .pz-sec-cab { text-align: left; }
.pz-v2 .pz-busca-wrp.header-search-wrp { display: block !important; visibility: visible !important; opacity: 1 !important; position: relative; }
.pz-v2 .pz-busca-wrp .petza-ac { z-index: 1000; }

/* ---- cards de produto (todas as páginas com vitrine/listagem) ---- */
.pz-v2 .prod-bl-wrp .prod-bl { background: #fff; border: 1px solid var(--pz-linha); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; height: 100%; display: flex; flex-direction: column; }
.pz-v2 .prod-bl-wrp:hover .prod-bl { box-shadow: 0 18px 36px -18px rgba(77, 41, 129, .35); transform: translateY(-3px); border-color: var(--pz-roxo-cl); }
.pz-v2 .prod-bl-img { background: var(--pz-creme); margin: 0 !important; }
.pz-v2 .prod-bl-img img { object-fit: contain; mix-blend-mode: multiply; }
.pz-v2 .prod-bl-flag { border-radius: 999px !important; font-weight: 800 !important; font-size: 11px !important; padding: 4px 9px !important; }
.pz-v2 .prod-bl-flag:first-child { --bg-color: var(--pz-laranja) !important; background: var(--pz-laranja) !important; color: #fff !important; }
.pz-v2 .prod-bl-infos { text-align: left !important; padding: 12px 14px 14px !important; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pz-v2 .prod-bl-title { font-size: 14px !important; line-height: 1.35 !important; color: var(--pz-tinta) !important; font-weight: 600 !important; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pz-v2 .prod-bl-price { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; justify-content: flex-start !important; margin: 0 !important; }
.pz-v2 .prod-bl-price .old { font-size: 12.5px !important; color: var(--pz-suave) !important; order: 2; }
.pz-v2 .prod-bl-price .new { font-size: 19px !important; font-weight: 900 !important; color: var(--pz-tinta) !important; order: 1; }
.pz-v2 .prod-bl-pix { display: inline-flex !important; width: max-content; align-items: center; gap: 4px; background: var(--ok-bg, #e8f5ec) !important; color: var(--ok, #1c8a4e) !important; font-weight: 800 !important; font-size: 12.5px !important; border-radius: 8px; padding: 4px 8px !important; margin: 0 !important; }
.pz-v2 .prod-bl-btns { margin-top: auto !important; padding: 0 12px 12px !important; }
.pz-v2 .prod-bl-btns .btn-prod-buy { width: 100% !important; height: 42px !important; border-radius: 999px !important; background: var(--pz-laranja) !important; border-color: var(--pz-laranja) !important; color: #fff !important; font-weight: 800 !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
.pz-v2 .prod-bl-btns .btn-prod-buy:hover { background: var(--pz-laranja-esc) !important; }
/* vitrines da home: menos espaço morto entre elas */
.pz-home .petza-home-sec { padding-top: 32px !important; padding-bottom: 32px !important; margin: 0 !important; min-height: 0 !important; }
.pz-home .petza-home-sec .catalogo-promo-content { padding-top: 0 !important; padding-bottom: 0 !important; background: none !important; }
@media (max-width: 991px) { .pz-home .petza-home-sec { padding-top: 22px !important; padding-bottom: 22px !important; } .pz-v2 .prod-bl-price .new { font-size: 17px !important; } }
