/* QR-DOG · Rede de parceiros */
.nw { position: relative }
.nw-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px }
.nw-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); color: var(--mute) }
.nw-search svg { width: 17px; height: 17px; flex: none }
.nw-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font: 15px var(--sans); min-width: 0 }
.nw-filters select { height: 46px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); padding: 0 12px; font: 14px var(--sans) }
.nw-toggle { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); font-size: 13.5px; cursor: pointer }
.nw-view { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--chip); border: 1px solid var(--line2) }
.nw-view button { border: 0; background: transparent; color: var(--mute); padding: 8px 14px; border-radius: 10px; font: 600 13px var(--sans); cursor: pointer }
.nw-view button.on { background: var(--card2); color: var(--ink); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .3) }
.nw-types { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none }
.nw-types button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 500 13px var(--sans); cursor: pointer }
.nw-types button svg { width: 15px; height: 15px }
.nw-types button.on { background: var(--solid); color: var(--solidInk); border-color: transparent }
html[data-qd-theme=dark] .nw-types button.on { background: var(--lime); color: var(--limeInk) }
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px }
.nw-list[hidden] { display: none }
.nw-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 22px; border: 1px solid var(--line2); background: var(--card2); cursor: pointer; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s }
.nw-card:hover, .nw-card:focus-visible { transform: translateY(-3px); border-color: var(--lime2); box-shadow: 0 20px 40px -26px rgba(20, 26, 46, .5); outline: none }
.nw-card.plan-premium { border-color: #9fbb1f99; background: linear-gradient(160deg, #b8d3351f, transparent 40%), var(--card2) }
.nw-top { display: flex; align-items: center; gap: 12px }
.nw-logo { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--chip); color: var(--ink) }
.nw-logo img { width: 100%; height: 100%; object-fit: cover }
.nw-logo svg { width: 24px; height: 24px }
.nw-logo.t-clinica { background: #2f6fd61f; color: #2f6fd6 } .nw-logo.t-petshop { background: #b8d33533; color: #6f8a10 } .nw-logo.t-farmacia { background: #d74d631c; color: #c23d55 }
.nw-logo.t-banho { background: #1aa7a01f; color: #11847e } .nw-logo.t-hotel, .nw-logo.t-adestrador, .nw-logo.t-passeador { background: #e0a31a24; color: #a76f00 } .nw-logo.t-plano, .nw-logo.t-ong { background: #7a5cd61f; color: #6a4cc6 }
html[data-qd-theme=dark] .nw-logo.t-clinica { color: #8fb8ff } html[data-qd-theme=dark] .nw-logo.t-petshop { color: #cfe86a } html[data-qd-theme=dark] .nw-logo.t-farmacia { color: #ff9aab } html[data-qd-theme=dark] .nw-logo.t-banho { color: #6fe0d8 } html[data-qd-theme=dark] .nw-logo.t-hotel { color: #ffcf6e }
.nw-id { flex: 1; min-width: 0 }
.nw-id b { display: block; font-size: 16px; line-height: 1.2 }
.nw-id small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 2px }
.nw-plan { position: absolute; top: -9px; right: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; padding: 4px 9px; border-radius: 999px; background: var(--chip); color: var(--ink); border: 1px solid var(--line2) }
.plan-premium .nw-plan { background: linear-gradient(120deg, #d8ee6a, #b8d335); color: #1b2745; border: 0 }
.nw-card p { margin: 0; color: var(--mute); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.nw-tags { display: flex; flex-wrap: wrap; gap: 5px }
.nw-tags span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--ink) }
.nw-tags span.hot { background: #d74d631f; color: #c23d55; font-weight: 700 }
.nw-offer-strip { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #b8d3352e; font-size: 12.5px; color: var(--ink) }
.nw-offer-strip svg { width: 14px; height: 14px; color: var(--limeTxt,var(--lime2)); flex: none }
.nw-offer-strip em { font-style: normal; font-weight: 700; margin-left: auto }
.nw-acts { display: flex; gap: 6px; margin-top: auto }
.nw-acts a { flex: 1; text-align: center; padding: 9px; border-radius: 12px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--ink) }
.nw-acts a.wa { background: #25d366; color: #fff; border-color: transparent }
.nw-map { height: 520px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2) }
.nw-map[hidden] { display: none }
.nw-pin { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--card2); border: 2px solid #1b2745; box-shadow: 0 6px 14px rgba(0, 0, 0, .3) }
.nw-pin svg { width: 18px; height: 18px; transform: rotate(45deg); color: #1b2745 }
.nw-pin.plan-premium { background: #b8d335; border-color: #5d7a00 }
.nw-empty { grid-column: 1/-1; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 50px 20px; color: var(--mute); border: 1.5px dashed var(--line2); border-radius: 22px }
.nw-empty svg { width: 34px; height: 34px }
.nw-empty b { color: var(--ink); font: 600 19px var(--head) }
.nw-empty a { color: var(--ink); text-decoration: underline }
.nw-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(500px, 100vw); z-index: 110; background: var(--card); color: var(--ink); overflow-y: auto; padding: 22px 22px 40px; box-shadow: -30px 0 60px rgba(0, 0, 0, .25); transform: translateX(105%); transition: transform .32s var(--ease); visibility: hidden }
.nw-drawer.open { transform: none; visibility: visible }
.nw-drawer-bg { position: fixed; inset: 0; z-index: 109; background: rgba(8, 12, 26, .45) }
.nw-drawer-bg[hidden] { display: none }
.nw-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink); font-size: 24px; cursor: pointer; z-index: 1 }
.nw-hero { display: flex; gap: 14px; align-items: center; padding: 8px 40px 16px 0 }
.nw-logo.big { width: 72px; height: 72px; border-radius: 20px }
.nw-logo.big svg { width: 34px; height: 34px }
.nw-hero small { color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: 1px }
.nw-hero h3 { font: 600 24px var(--head); margin: 3px 0 4px; line-height: 1.1 }
.nw-hero p { margin: 0; color: var(--mute); font-size: 13.5px }
.nw-contact { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px }
.nw-contact .btn { flex: 1 1 auto; justify-content: center }
.nw-desc { color: var(--mute); line-height: 1.6 }
.nw-dl { display: grid; gap: 10px; margin: 14px 0 }
.nw-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--mute2); font-weight: 700 }
.nw-dl dd { margin: 2px 0 0; font-size: 14px }
.nw-drawer h4 { font: 600 17px var(--head); margin: 20px 0 10px }
.nw-offer { border: 1px solid #b8d33580; border-radius: 18px; padding: 14px; margin-bottom: 10px; background: linear-gradient(140deg, #b8d33522, transparent 60%), var(--card2) }
.nw-offer-h { display: flex; gap: 12px; align-items: flex-start }
.nw-disc { flex: none; min-width: 64px; text-align: center; padding: 8px 10px; border-radius: 12px; background: var(--lime); color: var(--limeInk); font: 800 14px var(--sans); line-height: 1.1 }
.nw-offer-h b { display: block; font-size: 15px }
.nw-offer-h small { display: block; color: var(--mute); font-size: 13px; margin-top: 3px }
.nw-reason { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--ink); font-weight: 600 }
.nw-reason svg { width: 14px; height: 14px; color: var(--limeTxt,var(--lime2)) }
.nw-offer-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px }
.nw-offer-f small { color: var(--mute); font-size: 12px }
.nw-code { margin-top: 12px; display: grid; justify-items: center; gap: 6px; padding: 14px; border-radius: 14px; border: 2px dashed var(--lime2); text-align: center }
.nw-code[hidden] { display: none }
.nw-code span { font-size: 12.5px; color: var(--mute) }
.nw-code strong { font: 900 28px Doto, monospace; letter-spacing: 3px; color: var(--ink) }
.nw-note { font-size: 12px; color: var(--mute); margin-top: 18px }
/* cartões nas telas de cuidados */
.nw-ctx { display: grid; gap: 10px }
.nw-ctx .nw-offer { margin: 0 }
.nw-ctx .nw-by { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--mute) }
.nw-ctx .nw-by .nw-logo { width: 26px; height: 26px; border-radius: 8px }
.nw-ctx .nw-by .nw-logo svg { width: 14px; height: 14px }
.nw-ref { display: flex; align-items: center; gap: 12px }
.nw-ref .nw-logo { width: 46px; height: 46px }
.nw-ref b { display: block }
.nw-ref small { display: block; color: var(--mute); font-size: 12.5px }
.nw-coupons { display: grid; gap: 10px }
.nw-cp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px dashed var(--line2); background: var(--card2) }
.nw-cp.used { opacity: .6 }
.nw-cp strong { font: 900 17px Doto, monospace; letter-spacing: 2px }
.nw-cp div { flex: 1; min-width: 0 }
.nw-cp small { display: block; color: var(--mute); font-size: 12px }
/* indique e ganhe */
.ref-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; padding: 26px; border-radius: 26px; background: radial-gradient(120% 140% at 100% 0%, #b8d33555, transparent 55%), var(--solid); color: #fff }
html[data-qd-theme=dark] .ref-hero { background: radial-gradient(120% 140% at 100% 0%, #b8d33540, transparent 55%), #24325a }
.ref-hero h2 { font: 600 30px var(--head); margin: 6px 0 8px; line-height: 1.05 }
.ref-hero p { color: #c6cde0; margin: 0 }
.ref-code { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .35) }
.ref-code small { color: #c6cde0 }
.ref-code strong { font: 900 34px Doto, monospace; letter-spacing: 4px; color: var(--lime) }
.ref-code .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }
.ref-code .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35) }
.ref-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px }
.ref-steps div { padding: 16px; border-radius: 18px; background: var(--card2); border: 1px solid var(--line2) }
.ref-steps b { display: block; font: 600 30px var(--head); color: var(--limeTxt,var(--lime2)) }
.ref-steps span { font-size: 13.5px; color: var(--mute) }
@media (max-width: 860px) { .ref-hero, .ref-steps { grid-template-columns: 1fr } .nw-map { height: 420px } }
@media (max-width: 560px) { .nw-filters select, .nw-toggle { flex: 1 } .nw-list { grid-template-columns: 1fr } .nw-drawer { padding: 18px 16px 30px } }
.nw-map-dark .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9) }

/* ---------- Navegação do diretório (14/11/2026): filtros em duas linhas, tipos com contagem, destaques ---------- */
.nw-filters { display: grid; gap: 8px; grid-template-columns: 1fr }
.nw-search { flex: none; height: 50px; border-radius: 16px }
.nw-frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
.nw-city { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 4px 0 12px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card2); color: var(--mute) }
.nw-city svg { width: 16px; height: 16px; flex: none }
.nw-city select { border: 0 !important; background: transparent !important; height: 42px !important; padding: 0 8px 0 0 !important; color: var(--ink); max-width: 220px }
.nw-toggle { user-select: none }
.nw-toggle input { accent-color: var(--lime2) }
.nw-toggle:has(input:checked) { border-color: var(--lime2); background: #b8d33526; font-weight: 600 }
.nw-view { margin-left: auto }
.nw-view button { display: inline-flex; align-items: center; gap: 6px }
.nw-view button svg { width: 14px; height: 14px }
.nw-types-wrap { position: relative; margin: 4px 0 2px }
.nw-types { scroll-behavior: smooth; padding: 6px 2px 10px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) }
.nw-types::-webkit-scrollbar { display: none }
.nw-types button em { font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; padding: 1px 6px; border-radius: 99px; background: var(--chip); color: inherit; opacity: .85 }
.nw-types button.on em { background: rgba(255, 255, 255, .22) }
.nw-scroll { position: absolute; top: 6px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4) }
.nw-scroll.l { left: -6px } .nw-scroll.r { right: -6px }
.nw-scroll[hidden] { display: none }
.nw-feat { margin: 4px 0 14px; padding: 14px; border-radius: 20px; background: linear-gradient(120deg, #b8d33524, transparent 70%), var(--chip); border: 1px solid #9fbb1f55 }
.nw-feat[hidden] { display: none }
.nw-feat-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px }
.nw-feat-h b { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--head) }
.nw-feat-h svg { width: 16px; height: 16px; color: var(--limeTxt,var(--lime2)) }
.nw-feat-h small { color: var(--mute); font-size: 12px }
.nw-feat-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin }
.nw-fo { flex: 0 0 min(280px, 78%); scroll-snap-align: start; display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); cursor: pointer; font: inherit }
.nw-fo:hover, .nw-fo:focus-visible { border-color: var(--lime2); outline: none }
.nw-fo-t { min-width: 0 }
.nw-fo-t small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--limeTxt,var(--lime2)) }
.nw-fo-t b { display: block; font-size: 13.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.nw-fo-t i { display: block; font-style: normal; font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.nw-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 2px 2px 12px; font-size: 13px; color: var(--mute) }
.nw-meta b { color: var(--ink) }
.nw-clear { border: 0; background: none; color: var(--ink); font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.nw-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px }
.nw-kind { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 99px; background: #1b27451a; color: var(--ink); margin-right: 4px; vertical-align: 1px }
html[data-qd-theme=dark] .nw-kind { background: #ffffff1c }
.nw-offer-strip .nw-ot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
@media (max-width: 640px) {
	.nw-frow { gap: 6px }
	.nw-city { flex: 1 1 100% }
	.nw-city select { max-width: none; flex: 1 }
	.nw-toggle { flex: 1; justify-content: center; height: 42px }
	.nw-view { margin-left: 0; flex: 1 1 100% }
	.nw-view button { flex: 1; justify-content: center }
	.nw-scroll { display: none !important }
	.nw-list { grid-template-columns: 1fr }
}

/* ---------- Ficha do parceiro: cartão central (celular: sobe de baixo), site desfocado, página parada ---------- */
html.nw-lock, html.nw-lock body { overflow: hidden }
.nw-drawer { top: 50%; left: 50%; right: auto; bottom: auto; width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 780px); border-radius: 28px; padding: 26px 24px 30px; transform: translate(-50%, -46%) scale(.96); opacity: 0; visibility: hidden; transition: transform .35s var(--ease, cubic-bezier(.2, .8, .2, 1)), opacity .25s, visibility 0s .35s; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); z-index: 1110 }
.nw-drawer.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; transition: transform .35s var(--ease, cubic-bezier(.2, .8, .2, 1)), opacity .25s }
.nw-drawer-bg { z-index: 1109; background: rgba(8, 12, 26, .45); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1) }
@media (max-width: 640px) {
	.nw-drawer { top: auto; left: 0; bottom: 0; width: 100%; max-height: 90vh; border-radius: 26px 26px 0 0; transform: translateY(105%); opacity: 1 }
	.nw-drawer.open { transform: none }
	.nw-drawer::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--line2); margin: -12px auto 14px }
}
.nw-open { font-size: 12px; font-weight: 700; color: #b36b00 } .nw-open.on { color: #2f8a4e } html[data-qd-theme=dark] .nw-open { color: #f5c95a } html[data-qd-theme=dark] .nw-open.on { color: #22e07a }
/* Filtros extras: empresa e ordem */
.nw-sel select { max-width: 190px; text-overflow: ellipsis }
