/* Bite Club — complementos que só existem no tema WordPress:
   chegada da "mordida", páginas de texto, formulários e telas do WooCommerce. */

[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.admin-bar .hdr { top: 32px; }
.admin-bar .ck-bar { top: calc(var(--hdr-h) + 32px); }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } .admin-bar .ck-bar { top: calc(var(--hdr-h) + 46px); } }

/* a página chega com a boca fechada e abre */
.tx-arrive .tx { visibility: visible; }
.tx-arrive .tx .tx-back { opacity: 1; transition: none; }
.tx-arrive .tx .jaw { transform: none; transition: none; }
.jaw .teeth:empty { background: var(--tooth); -webkit-mask: var(--teeth-tile) 0 0 / 72px 100% repeat-x; mask: var(--teeth-tile) 0 0 / 72px 100% repeat-x; }
.jaw-bot .teeth:empty { transform: scaleY(-1); }

/* em telas largas, o título da faixa quebra antes de passar por baixo do selo */
@media (min-width: 720px) { .band-in.has-burst .display { max-width: calc(100% - 150px); } }

.ftr-cols-3 { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .ftr-cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------ páginas de texto ------------------------------ */
.page-wrap { padding: 30px 0 70px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.5em; font-family: var(--f-display); font-weight: 400; line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; }
.prose h1 { font-size: clamp(30px, 7vw, 46px); }
.prose h2 { font-size: clamp(24px, 5.4vw, 32px); }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 17px; }
.prose a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose a:hover { background: var(--slime); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 2px solid var(--ink); text-align: left; vertical-align: top; }
.prose th { background: var(--t2); }
.prose img { border: var(--bw) solid var(--ink); border-radius: var(--r-sm); }
.prose details { border-bottom: var(--bw) solid var(--ink); }
.prose details:first-of-type { border-top: var(--bw) solid var(--ink); }
.prose summary { padding: 15px 2px; font: 400 18px/1.15 var(--f-display); text-transform: uppercase; cursor: pointer; }
.prose details > :not(summary) { padding-bottom: 14px; }
.link-list { display: grid; gap: 10px; padding: 0 !important; list-style: none !important; }
.link-list a { display: block; padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--surface); box-shadow: 4px 5px 0 var(--ink); font-weight: 700; text-decoration: none; transition: transform .4s var(--spring), background .2s; }
.link-list a:hover { transform: translate(-2px, -3px) rotate(-.6deg); background: var(--slime); }
.note { padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--t2); font-weight: 600; }
.note-bad { background: var(--t1); }

/* ------------------------------ formulários ------------------------------ */
.form, .prose form, .woo form { display: grid; gap: 14px; }
.form label, .prose form label { display: grid; gap: 6px; font: 800 13px/1.2 var(--f-text); letter-spacing: .03em; }
/* caixa de marcar dentro do rótulo: fica ao lado do texto, não em cima */
.form label:has(> input[type=checkbox]), .form label:has(> input[type=radio]),
.prose form label:has(> input[type=checkbox]), .prose form label:has(> input[type=radio]) { display: flex; align-items: flex-start; gap: 9px; font-weight: 600; letter-spacing: 0; }
/* no WooCommerce o campo vem ao lado do rótulo, não dentro dele */
.woo form label { display: block; margin-bottom: 6px; font: 800 13px/1.2 var(--f-text); letter-spacing: .03em; }
.woo form label .required { color: var(--stamp); text-decoration: none; }
.form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .form textarea, .form select,
.prose input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), .prose textarea, .prose select,
.woo input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), .woo textarea, .woo select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: var(--bw) solid var(--ink); border-radius: 14px; background: #fff; font: 500 16px var(--f-text); outline: none;
}
.form textarea, .prose textarea, .woo textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .prose input:focus, .prose textarea:focus, .woo input:focus, .woo textarea:focus, .woo select:focus { box-shadow: 0 0 0 4px rgba(124, 58, 237, .32); }
.form .trap, .fg-contact-trap { position: absolute; left: -9999px; }
.prose button, .prose input[type=submit], .woo button, .woo .button, .woo input[type=submit], .woo a.button, .wc-block-components-button:not(.text) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: var(--bw) solid var(--ink) !important; border-radius: 999px !important;
  background: var(--pink) !important; color: var(--ink) !important; font: 400 15px/1 var(--f-display) !important; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  box-shadow: 4px 5px 0 var(--ink); cursor: pointer; transition: transform .4s var(--spring), box-shadow .2s;
}
.prose button:hover, .woo button:hover, .woo .button:hover, .woo a.button:hover, .wc-block-components-button:not(.text):hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 7px 8px 0 var(--ink); }
.woo .qty { display: inline-flex; }
/* "mostrar senha" é um ícone dentro do campo, não um botão da loja */
.woo .password-input { position: relative; display: block; }
.woo button.show-password-input, .woo button.show-password-input:hover {
  position: absolute; top: 50%; right: 12px; display: block; width: 30px; height: 30px; min-height: 0; padding: 4px; border: 0 !important; border-radius: 50% !important;
  background: transparent !important; box-shadow: none; transform: translateY(-50%);
}
.woo button.show-password-input:hover { background: var(--t2) !important; }

/* ------------------------------ WooCommerce: conta, checkout, avisos ------------------------------ */
.woo { font-size: 16px; }
.woo .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  margin: 0 0 18px !important; padding: 14px 16px !important; border: var(--bw) solid var(--ink) !important; border-radius: var(--r-sm) !important; background: var(--t2) !important; color: var(--ink) !important; list-style: none; font-weight: 600;
}
.woocommerce-error { background: var(--t1) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; list-style: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; padding: 9px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--surface); box-shadow: 3px 3px 0 var(--ink); font: 800 13px/1 var(--f-text); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--bg); }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woo .u-columns { display: grid; gap: 26px; }
.woo .u-column1, .woo .u-column2 { float: none !important; width: auto !important; padding: 20px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.woo h2 { margin-bottom: 14px; font: 400 24px/1.1 var(--f-display); text-transform: uppercase; }
.woo table.shop_table { width: 100%; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
.woo table.shop_table th, .woo table.shop_table td { padding: 12px 14px; border-bottom: 2px dashed rgba(25, 18, 14, .2); text-align: left; }
/* pedido recebido e "ver pedido": resumo em cartão, detalhes e endereço */
.woo .woocommerce-thankyou-order-received { padding: 14px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--slime); font-weight: 700; }
.woo ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px 18px; margin: 18px 0 !important; padding: 16px !important; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--surface); box-shadow: 4px 5px 0 var(--ink); list-style: none; }
.woo ul.order_details::before, .woo ul.order_details::after { display: none !important; }
.woo ul.order_details li { float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; font: 800 11px/1.2 var(--f-text) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.woo ul.order_details li strong { display: block; margin-top: 4px; font: 700 16px/1.25 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--ink); overflow-wrap: anywhere; }
.woo .woocommerce-order-details, .woo .woocommerce-customer-details { margin-top: 26px; }
.woo .woocommerce-customer-details address { padding: 14px 16px !important; border: var(--bw) solid var(--ink) !important; border-radius: var(--r-sm) !important; background: var(--surface); font-style: normal; line-height: 1.6; }
.woo .form-row { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; }
.woo .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; }
@media (min-width: 800px) { .woo .u-columns { grid-template-columns: 1fr 1fr; } }

/* ------------------------------ checkout em blocos do WooCommerce ------------------------------ */
/* Os campos têm rótulo flutuante: a estrutura é a do WooCommerce, o tema só veste a casca. */
.woo-blocks { font-size: 16px; }
.woo-blocks .wc-block-components-title, .woo-blocks .wc-block-components-checkout-step__title { font: 400 22px/1.1 var(--f-display) !important; letter-spacing: 0; text-transform: uppercase; }
.woo-blocks .wc-block-components-text-input input,
.woo-blocks .wc-blocks-components-select__select,
.woo-blocks .wc-block-components-textarea { border: 2px solid var(--ink) !important; border-radius: 12px !important; background-color: #fff !important; color: var(--ink) !important; font-family: var(--f-text) !important; }
.woo-blocks .wc-blocks-components-select__container { border-radius: 12px !important; background: #fff; }
.woo-blocks .wc-block-components-text-input input:focus,
.woo-blocks .wc-blocks-components-select__select:focus,
.woo-blocks .wc-block-components-textarea:focus { outline: none !important; box-shadow: 0 0 0 4px rgba(124, 58, 237, .32) !important; }
.woo-blocks .wc-block-components-checkbox__input[type=checkbox] { border: 2px solid var(--ink); border-radius: 6px; }
.woo-blocks .price, .woo-blocks .wc-block-components-product-price, .woo .wc-block-components-product-price { font: inherit; white-space: normal; }
.woo-blocks .wc-block-components-product-name { font: 800 15px/1.25 var(--f-text); }
.woo-blocks .wc-block-components-totals-footer-item { font-weight: 800; }
.woo-blocks a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.woo-blocks .wc-block-components-checkout-place-order-button { width: 100%; min-height: 56px; }

/* ------------------------------ carrinho em página ------------------------------ */
.bag-page { max-width: 720px; padding-bottom: 70px; }
.bag-page .line { grid-template-columns: 96px 1fr auto; }
.bag-page .line-img { width: 96px; height: 96px; }
.bag-page-foot { margin-top: 18px; padding: 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.bag-page .bag-full { display: none; } /* "ver a sacola inteira" não faz sentido na própria página da sacola */
/* sacola com cupom ou campanha: subtotal e desconto em linhas menores, acima do total */
.bag-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; font: 700 14px/1.2 var(--f-text); color: var(--muted); }
.bag-row + .bag-total { margin-top: 8px; }
.bag-off span:last-child { color: var(--ink); background: var(--slime); padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px; }

/* ------------------------------ produto: aviso de volta ao estoque e avaliações ------------------------------ */
.notify { margin-top: 18px; padding: 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--t1); }
.notify p { margin-bottom: 10px; font-weight: 700; }
.notify .feed-form { width: 100%; margin: 0; }
.acc-body .woocommerce-Reviews-title { display: none; } /* o título já é o do acordeão */
.acc-body .commentlist { padding: 0; list-style: none; }
.acc-body .comment_container { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed rgba(25, 18, 14, .2); }
.acc-body .comment_container img.avatar { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; }
.acc-body .comment-text .meta { margin-top: 4px; font-size: 14px; }
.acc-body .comment-reply-title { display: block; margin: 14px 0 4px; font: 800 16px/1.25 var(--f-text); }
/* estrelas desenhadas em CSS: a nota vem do WooCommerce como largura em % */
.acc-body .star-rating { position: relative; display: inline-block; overflow: hidden; font-size: 0; line-height: 1; white-space: nowrap; vertical-align: middle; }
.acc-body .star-rating::before, .acc-body .star-rating span::before { content: "★★★★★"; font: 400 19px/1 system-ui, sans-serif; letter-spacing: 2px; }
.acc-body .star-rating::before { color: rgba(25, 18, 14, .2); }
.acc-body .star-rating span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.acc-body .star-rating span::before { color: var(--pink); }
/* escolher a nota: cinco estrelas clicáveis no lugar dos links de texto */
.acc-body p.stars { margin-top: 2px; }
.acc-body p.stars span { display: inline-flex; gap: 2px; }
.acc-body p.stars a { position: relative; width: 38px; height: 38px; overflow: hidden; font-size: 0; color: transparent; text-decoration: none; }
.acc-body p.stars a::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font: 400 32px/1 system-ui, sans-serif; color: rgba(25, 18, 14, .22); transition: color .15s, scale .35s var(--spring); }
.acc-body p.stars:hover a::before, .acc-body p.stars.selected a::before { color: var(--pink); }
.acc-body p.stars a:hover ~ a::before, .acc-body p.stars.selected:not(:hover) a.active ~ a::before { color: rgba(25, 18, 14, .22); }
.acc-body p.stars a:hover::before { scale: 1.18; }
.acc-body .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.acc-body .comment-form-cookies-consent label { margin: 0; font-weight: 600; }

/* ------------------------------ clube ------------------------------ */
.club-balance { display: grid; justify-items: start; gap: 6px; padding: 22px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--slime); box-shadow: var(--shadow); }
.club-balance b { font: 400 clamp(44px, 12vw, 76px)/1 var(--f-display); }
.tiers { display: grid; gap: 14px; margin-top: 22px; }
.tier { display: grid; gap: 8px; align-content: start; padding: 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); box-shadow: 4px 5px 0 var(--ink); }
.tier b { font: 400 30px/1 var(--f-display); }
.tier small { color: var(--muted); }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------ notícias ------------------------------ */
.posts { display: grid; gap: 16px; }
.post-card { display: block; padding: 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--surface); box-shadow: 4px 5px 0 var(--ink); transition: transform .4s var(--spring); }
.post-card:hover { transform: translate(-2px, -3px) rotate(-.5deg); }
.post-card h2 { font: 400 22px/1.1 var(--f-display); text-transform: uppercase; }
.post-card time { font: 800 12px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: #6D2BE0; }
.post-card p { margin-top: 8px; color: var(--muted); }

.tile .price { display: block; margin-top: 2px; font-size: 15px; }
.band-photo { margin-top: 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.band-photo img { width: 100%; }

/* ------------------------------ nomes compridos ------------------------------ */
/* Os títulos grandes encolhem pelo JavaScript (fitTitles). Aqui, o que fica em listas e fichas:
   o nome quebra a linha dentro do próprio espaço em vez de passar da borda. */
.chips-wrap .chip { max-width: 100%; }
.chips-wrap .chip-face { white-space: normal; text-align: left; line-height: 1.15; border-radius: 26px; }
.chip-face img { flex: none; }
.chip-face span { min-width: 0; overflow-wrap: anywhere; }
.hit > span:nth-child(2), .line > div:nth-child(2) { min-width: 0; }
.hit b, .line-name, .pdp-label, .pdp-series { overflow-wrap: anywhere; }

/* ------------------------------ roda de mordida: o seletor de personagens ------------------------------ */
/* Turma grande não vira lista: é uma fileira só de carinhas (os quadradinhos do mural), que desliza de lado.
   A do meio cresce, fica reta e é abocanhada pela boca do tema: a boca abre enquanto a fileira anda e morde
   quando ela para. Dá para arrastar, tocar numa carinha, usar as setas ou sortear no dado.
   O comportamento está em bite.js (makeWheel); o HTML, em inc/bite-parts.php (bite_wheel). */
.pick-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 38px; }
.pick-head > p { min-width: 0; margin: 0; }
.pdp-info .pick-head { margin-top: 18px; }
.wheel-tools { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.wheel-count { font: 400 13px/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wheel-dice {
  display: inline-flex; align-items: center; gap: 7px; flex: none; height: 38px; padding: 0 14px 0 9px; border: var(--bw) solid var(--ink); border-radius: 999px;
  background: var(--slime); color: var(--ink); font: 800 12px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 2px 3px 0 var(--ink); transition: transform .4s var(--spring), box-shadow .2s;
}
.wheel-dice svg { flex: none; width: 19px; height: 19px; transition: rotate .5s var(--spring); }
.wheel-dice rect { fill: var(--surface); stroke: var(--ink); stroke-width: 2.6; }
.wheel-dice circle { fill: var(--ink); }
.wheel-dice:hover { transform: translateY(-2px) rotate(-2deg); box-shadow: 3px 5px 0 var(--ink); }
.wheel-dice:hover svg { rotate: 90deg; }
.wheel-dice:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); }
.wheel-dice.is-rolling svg { animation: turn .4s linear infinite; }
/* na página de produto o nome do personagem divide a linha com o dado: no celular fica só o desenho */
@media (max-width: 479px) { .pdp-info .wheel-dice { width: 38px; padding: 0; justify-content: center; } .pdp-info .wheel-dice span { display: none; } }

.wheel { --face: 60px; --gap: 12px; --big: 1.25; position: relative; height: calc(var(--face) * var(--big) + 38px); margin: 4px -16px 0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.wheel-track {
  position: relative; display: flex; align-items: center; gap: var(--gap); height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  /* a correntinha que liga as carinhas anda junto com elas */
  background: repeating-linear-gradient(90deg, var(--ink) 0 7px, #0000 7px 13px) local 0 50% / 100% 3px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 15%, #000 85%, #0000); mask-image: linear-gradient(90deg, #0000, #000 15%, #000 85%, #0000);
}
.wheel-track::-webkit-scrollbar { display: none; }
/* espaço nas pontas para a primeira e a última carinha também chegarem ao meio */
.wheel-track::before, .wheel-track::after { content: ""; flex: none; width: calc(50% - var(--face) / 2 - var(--gap)); }
.wheel.is-free .wheel-track { scroll-snap-type: none; }
.wheel.is-dragging .wheel-track { cursor: grabbing; }
.wheel.is-dragging .wheel-face { pointer-events: none; }
/* --k vai de 0 (longe) a 1 (no meio) e vem do script; sem script, só a escolhida aparece grande */
.wheel-face {
  --k: 0; position: relative; flex: none; width: var(--face); height: var(--face); border: var(--bw) solid var(--ink); border-radius: 30%;
  background: var(--tint, var(--t1)); box-shadow: 3px 4px 0 var(--ink); overflow: hidden; scroll-snap-align: center; cursor: pointer;
  scale: calc(.8 + (var(--big) - .8) * var(--k)); rotate: calc(var(--tilt, -5deg) * (1 - var(--k))); transition: translate .35s var(--spring), box-shadow .2s;
}
.wheel-face:nth-child(even) { --tilt: 4deg; }
.wheel-face:nth-child(3n) { --tilt: -2deg; }
.wheel-face[aria-checked="true"] { --k: 1; }
.wheel-face.is-hot { z-index: 1; box-shadow: 4px 5px 0 var(--ink); }
.wheel-face.is-bit { animation: eat .5s var(--out); }
.wheel-face img { width: 100%; height: 100%; padding: 5%; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.wheel-face[data-out="1"] img { filter: grayscale(.9); opacity: .5; }
.wheel-face[data-out="1"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, #0000 calc(50% - 2px), var(--stamp) calc(50% - 2px) calc(50% + 2px), #0000 calc(50% + 2px)); }
.wheel-face[data-vault] { border-style: dashed; }
.wheel-face[data-vault] img { filter: none; opacity: 1; }
.wheel-face[data-vault]::after { content: none; }
@media (hover: hover) { .wheel-face:not(.is-hot):hover { translate: 0 -5px; box-shadow: 4px 7px 0 var(--ink); } }

/* a boca: gengiva e dentes em cima e embaixo da carinha do meio */
.wheel-mouth { position: absolute; left: 50%; top: 0; bottom: 0; z-index: 2; width: calc(var(--face) * var(--big) + 16px); translate: -50% 0; pointer-events: none; }
.wheel-lip { position: absolute; left: 0; width: 100%; height: auto; overflow: visible; transition: translate .25s var(--out); }
.wheel-lip.is-top { top: 0; }
.wheel-lip.is-bot { bottom: 0; transform: scaleY(-1); }
.lip-gum { fill: var(--gum); stroke: var(--ink); stroke-width: 3; }
.lip-shade { fill: none; stroke: var(--gum-2); stroke-width: 2.6; stroke-linecap: round; }
.wheel.is-moving .wheel-lip.is-top { translate: 0 -7px; }
.wheel.is-moving .wheel-lip.is-bot { translate: 0 7px; }
.wheel.is-chomp .wheel-lip.is-top { animation: lip-top .5s var(--out); }
.wheel.is-chomp .wheel-lip.is-bot { animation: lip-bot .5s var(--out); }
.wheel.is-spinning .wheel-lip.is-top { animation: chatter-top .12s linear infinite alternate; }
.wheel.is-spinning .wheel-lip.is-bot { animation: chatter-bot .12s linear infinite alternate; }
@keyframes lip-top { from { translate: 0 -7px; } 30% { translate: 0 9px; } 58% { translate: 0 -3px; } 80% { translate: 0 1px; } }
@keyframes lip-bot { from { translate: 0 7px; } 30% { translate: 0 -9px; } 58% { translate: 0 3px; } 80% { translate: 0 -1px; } }
@keyframes chatter-top { from { translate: 0 -8px; } to { translate: 0 2px; } }
@keyframes chatter-bot { from { translate: 0 8px; } to { translate: 0 -2px; } }

/* setas: só onde existe mouse; no celular a fileira anda com o dedo */
.wheel-arrow {
  position: absolute; top: 50%; z-index: 3; display: none; place-items: center; width: 36px; height: 36px; margin-top: -18px; border: var(--bw) solid var(--ink); border-radius: 50%;
  background: var(--surface); box-shadow: 2px 3px 0 var(--ink); transition: transform .4s var(--spring), background .2s, opacity .2s;
}
.wheel-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wheel-arrow.is-prev { left: 16px; }
.wheel-arrow.is-next { right: 16px; }
.wheel-arrow:hover { background: var(--slime); transform: scale(1.12) rotate(-6deg); }
.wheel-arrow:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .wheel-arrow { display: grid; } }
@media (min-width: 900px) { .wheel { --face: 66px; margin-inline: 0; } .wheel-arrow.is-prev { left: -4px; } .wheel-arrow.is-next { right: -4px; } }

/* na home a roda fica logo abaixo da foto, antes do nome: ela não sai do lugar quando o nome muda de tamanho
   (no computador a coluna do texto começa no alto pelo mesmo motivo) */
.wheel + .who-name { margin-top: 14px; }
@media (min-width: 900px) { .pick-stage > .who-side { align-self: start; padding-top: 48px; } }

/* ------------------------------ o cofre: modelos que estão na loja sem preço ------------------------------ */
/* Não são "esgotados" comuns: a foto continua viva e o selo é roxo. */
.stamp-vault { color: var(--grape); }
/* nos cartões e no palco o selo do cofre fica no canto, sem cobrir o rosto do boneco */
.card-media .stamp.stamp-vault { left: 10px; top: 10px; translate: none; rotate: -5deg; padding: 5px 8px 4px; border-width: 3px; border-radius: 6px; font-size: 11px; letter-spacing: .06em; background: rgba(255, 255, 255, .94); }
.stage .stamp.stamp-vault { left: auto; right: 14px; top: auto; bottom: 14px; translate: none; rotate: -5deg; padding: 6px 10px 5px; border-width: 3px; font-size: 14px; background: rgba(255, 255, 255, .94); }
.card-wrap.is-vault .card-media img { filter: none; opacity: 1; }
.price.is-none { font: 800 11px/1.25 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: normal; }
.dot-vault::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grape); border: 2px solid var(--ink); }
.chip[data-vault] { border-style: dashed; }
.chip[data-vault] span { text-decoration: none; opacity: .8; }
.chip[data-vault][aria-checked="true"] { border-style: solid; }
.chip[data-vault][aria-checked="true"] span { opacity: 1; }
.tile.is-vault .tile-img img { filter: none; opacity: 1; }
.tile.is-vault .tile-img::after { content: "vault"; border-color: var(--grape); color: var(--grape); }
#stickyPrice:empty { display: none; }
.vault-note { padding: 12px 14px; border: 2px dashed var(--ink); border-radius: var(--r-sm); background: var(--t3); }
.acc-body .vault-note { color: var(--ink); }

/* mural: na loja, no cofre ou todo mundo */
.seg { display: inline-flex; justify-self: start; max-width: 100%; gap: 4px; padding: 4px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--surface); box-shadow: 3px 4px 0 var(--ink); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; padding: 9px 14px; border-radius: 999px; font: 800 13px/1 var(--f-text); white-space: nowrap; transition: background .2s, color .2s; }
.seg button small { margin-left: 3px; font-weight: 700; opacity: .6; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button:not([aria-pressed="true"]):hover { background: var(--t2); }

/* porta do cofre no fim das coleções */
.vault-door { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 16px; margin: 36px 0 12px; padding: 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--t3); box-shadow: var(--shadow); transition: transform .45s var(--spring); }
.vault-door:hover { transform: translate(-2px, -3px) rotate(-.4deg); }
.vault-door b { display: block; font: 400 20px/1.1 var(--f-display); text-transform: uppercase; }
.vault-door small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.4; color: #3D342C; }
.vault-door .more { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .vault-door { grid-template-columns: auto 1fr auto; padding: 22px 26px; } .vault-door .more { grid-column: auto; } }

/* ficha técnica (linhas "Rótulo: valor" do catálogo do fabricante) */
.specs { margin-top: 12px; border-top: 2px dashed rgba(25, 18, 14, .2); }
.specs div { display: grid; grid-template-columns: minmax(108px, 36%) 1fr; gap: 10px; padding: 9px 0; border-bottom: 2px dashed rgba(25, 18, 14, .2); font-size: 15px; }
.specs dt { font-weight: 800; }
.specs dd { margin: 0; color: #3D342C; }

/* home: com mais de sete coleções, a grade vira cinco colunas (duas fileiras cheias) em vez de sete */
@media (min-width: 1040px) { .kinds-grid.kinds-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } .kinds-wide .kind-text { flex-direction: row; align-items: center; } }

/* categorias do topo: centralizadas quando cabem, roláveis desde o começo quando não cabem */
@media (min-width: 1000px) { .cats { justify-content: flex-start; } .cats > :first-child { margin-left: auto; } .cats > :last-child { margin-right: auto; } }

/* ------------------------------ fãs: "Fuggs in the wild" ------------------------------ */
/* Fotos e palavras de quem comprou o mesmo boneco em outras lojas (inc/bite-fans.php). Não tem nota média
   nem se mistura com as avaliações da própria loja; a explicação da origem fica na página de termos. */
.fans { padding: 46px 0 30px; background: var(--t2); border-top: var(--bw) solid var(--ink); }
.fans-head { display: grid; gap: 12px; }
.fans .sec-head { margin: 0; }
.fans .sec-head p { color: var(--ink); }
.fan-nav { display: none; gap: 10px; }
.fan-nav button { display: grid; place-items: center; width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--surface); box-shadow: 2px 3px 0 var(--ink); transition: transform .4s var(--spring), background .2s; }
.fan-nav button:hover { background: var(--slime); transform: scale(1.1) rotate(-6deg); }
.fan-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fan-row { display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; padding: 18px 16px 32px; scroll-snap-type: x proximity; scrollbar-width: none; }
.fan-row::-webkit-scrollbar { display: none; }
.fan-row.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.fan-row.is-dragging .fan { pointer-events: none; }
.fan {
  flex: none; width: min(76vw, 290px); border: var(--bw) solid var(--ink); border-radius: 20px; background: var(--surface); box-shadow: 5px 6px 0 var(--ink); overflow: hidden;
  rotate: var(--tilt, 0deg); scroll-snap-align: center; transition: rotate .45s var(--spring), translate .45s var(--spring);
}
.fan:hover { rotate: 0deg; translate: 0 -4px; }
.fan-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; border-bottom: var(--bw) solid var(--ink); background: var(--t1); overflow: hidden; cursor: zoom-in; }
.fan-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--spring); }
.fan-photo:hover img { transform: scale(1.06) rotate(1.5deg); }
.fan-count { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--slime); font: 800 12px/1 var(--f-text); }
.fan-body { display: grid; gap: 8px; padding: 14px 15px 16px; }
/* a nota de cada fã, em dentes */
.fan-teeth { display: flex; gap: 3px; }
.fan-teeth i { width: 15px; height: 17px; background: rgba(25, 18, 14, .16); -webkit-mask: var(--icon-tooth) center / contain no-repeat; mask: var(--icon-tooth) center / contain no-repeat; }
.fan-teeth i.is-on { background: var(--pink); }
.fan-title { font: 400 17px/1.1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; }
.fan-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; font-size: 15px; line-height: 1.42; overflow-wrap: anywhere; }
.fan.is-open .fan-text { display: block; }
.fan-more { justify-self: start; padding-bottom: 2px; border-bottom: 2px solid var(--ink); font: 800 12px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.fan-by { font-size: 13px; color: var(--muted); }
.fan-by b { color: var(--ink); }
.fan-by a { color: var(--ink); border-bottom: 2px solid var(--pink); }
@media (hover: hover) and (pointer: fine) { .fan-nav { display: flex; } .fan-row { cursor: grab; } }
@media (min-width: 900px) {
  .fans-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .fan { width: 300px; }
  .fan-row { gap: 22px; }
}
@media (min-width: 1232px) { .fan-row { padding-inline: calc((100vw - 1200px) / 2); } }
/* atalho perto do preço, só nos produtos de que algum fã falou */
.fans-link { display: inline-block; margin-top: 14px; padding-bottom: 3px; border-bottom: 3px solid var(--pink); font: 800 12px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.fans-link::after { content: " ↓"; }
/* a foto do fã em tamanho grande */
.fan-box { width: fit-content; min-width: min(90vw, 420px); max-width: min(94vw, 920px); max-height: 92vh; padding: 0; border: var(--bw) solid var(--ink); border-radius: 22px; background: var(--ink); color: var(--bg); overflow: hidden; box-shadow: 8px 10px 0 var(--pink); }
.fan-box::backdrop { background: rgba(25, 18, 14, .8); }
.fan-box img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(92vh - 56px); margin: 0 auto; }
.fan-box-cap { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 14px; font-size: 14px; }
.fan-box-x, .fan-box-nav { position: absolute; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--surface); color: var(--ink); font: 800 22px/1 var(--f-text); box-shadow: 2px 3px 0 var(--ink); }
.fan-box-x { top: 10px; right: 10px; }
.fan-box-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fan-box-nav { top: calc(50% - 46px); }
.fan-box-nav.is-prev { left: 10px; }
.fan-box-nav.is-next { right: 10px; }
.fan-box.is-one .fan-box-nav { display: none; }

/* ------------------------------ sacola: brinde secreto, frete e total ------------------------------ */
/* A barra do brinde: a boca vai enchendo de dentes e um Fugg anda por ela até a caixa-surpresa. */
.gift { position: relative; margin: 10px 0 6px; padding: 13px 14px 10px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--t1); box-shadow: 4px 5px 0 var(--ink); transition: background .4s; }
.gift-text { min-height: 2.7em; font: 600 15px/1.35 var(--f-text); text-wrap: balance; }
.gift-text b { font: 400 16px/1 var(--f-display); white-space: nowrap; }
.gift-text em { font-style: normal; font-weight: 800; padding: 1px 7px; border: 2px solid var(--ink); border-radius: 999px; background: var(--slime); white-space: nowrap; }
.gift-bar { position: relative; height: 46px; margin-top: 4px; }
.gift-track { position: absolute; left: 0; right: 18px; top: 17px; height: 22px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--surface); overflow: hidden; }
.gift-track i { position: relative; display: block; width: calc(var(--p, 0) * 100%); min-width: 14px; height: 100%; background: var(--gum); border-right: var(--bw) solid var(--ink); transition: width .9s var(--spring); }
/* os dentes da parte já cheia */
.gift-track i::before, .gift-track i::after { content: ""; position: absolute; left: 3px; right: 3px; height: 6px; background: var(--tooth); -webkit-mask: var(--teeth-tile) 0 0 / 11px 100% repeat-x; mask: var(--teeth-tile) 0 0 / 11px 100% repeat-x; }
.gift-track i::before { top: 0; }
.gift-track i::after { bottom: 0; transform: scaleY(-1); }
/* o Fugg da barra: o amarelo de olhos de botão (um azul, um rosa), boca de gengiva e dentes, braços abertos.
   Fica na proporção da barra: pouco mais alto que ela. */
.gift-fugg { position: absolute; left: calc(var(--p, 0) * (100% - 58px)); top: 4px; z-index: 1; width: 33px; transition: left .9s var(--spring); }
.gift-fugg svg, .gift-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.gift-fugg svg { transform-origin: 50% 96%; }
.gf-body { fill: #FBD21A; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.gf-btn { stroke: var(--ink); stroke-width: 1.4; }
.gf-btn.is-a { fill: #2D4F8B; }
.gf-btn.is-b { fill: #E8389F; }
.gf-rim { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: .8; }
.gf-thread { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; }
.gf-hole { fill: var(--ink); }
.gf-lip { fill: #F7919B; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.gf-dark { fill: #3B1220; }
.gf-teeth { fill: #fff; stroke: var(--ink); stroke-width: .45; }
.gf-mouth { transform-box: fill-box; transform-origin: 50% 50%; }
/* andando: gingado de pelúcia e mordidas */
.gift.is-eating .gift-fugg svg { animation: gf-walk .34s ease-in-out 4; }
.gift.is-eating .gf-mouth { animation: gf-chomp .34s ease-in-out 4; }
@keyframes gf-walk { 25% { rotate: -10deg; translate: 0 -3px; } 75% { rotate: 9deg; translate: 0 -1px; } }
@keyframes gf-chomp { 50% { transform: scaleY(.55); } }
/* a caixa-surpresa no fim da barra */
.gift-box { position: absolute; right: 0; top: 7px; width: 35px; rotate: 6deg; transform-origin: 50% 100%; }
.gb-base { fill: var(--grape); stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.gb-lid rect { fill: #9B6BFF; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.gb-bow { fill: var(--pink); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.gb-q { font: 400 17px/1 var(--f-display); fill: #fff; }
.gb-lid { transform-box: fill-box; transform-origin: 100% 100%; transition: transform .6s var(--spring); }
.gift.is-near .gift-box { animation: gift-shake 1.6s var(--out) infinite; }
@keyframes gift-shake { 0%, 60%, 100% { rotate: 6deg; } 68% { rotate: -6deg; } 76% { rotate: 12deg; } 84% { rotate: -2deg; } }
/* o valor do brinde fica escrito no fim da barra, na parte que ainda falta encher */
.gift-goal { position: absolute; right: 24px; top: 0; bottom: 0; display: grid; place-items: center; font: 800 11px/1 var(--f-text); letter-spacing: .04em; color: var(--muted); }
/* ganhou: a tampa abre, a caixa pula e o Fugg comemora */
.gift.is-won { background: var(--t2); }
.gift.is-won .gift-track i { border-right: 0; }
.gift.is-won .gb-lid { transform: translate(5px, -9px) rotate(18deg); }
.gift.is-won .gift-box::before { content: ""; position: absolute; inset: -8px -7px -4px; z-index: -1; background: var(--pink); -webkit-mask: var(--burst) center / 100% 100% no-repeat; mask: var(--burst) center / 100% 100% no-repeat; animation: turn 14s linear infinite; }
.gift.is-won .gift-goal { display: none; }
.gift.is-won .gift-fugg svg { animation: gf-walk 1.1s ease-in-out infinite; }
.gift.is-pop .gift-box { animation: chomp .7s var(--out); }
.gift.is-pop { animation: wobble .7s var(--out); }
/* a linha do brinde na lista */
.line-gift .line-img { display: grid; place-items: center; background: var(--ink); }
.line-gift .line-img b { font: 400 44px/1 var(--f-accent); color: var(--slime); animation: morf 2.2s ease-in-out infinite alternate; }
.line-gift .line-price { padding: 5px 9px 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--slime); font-size: 13px; }
/* somas: subtotal, desconto, brinde e total (o frete só aparece no checkout) */
.bag-row b { font-weight: 800; color: var(--ink); }
.bag-empty .gift-tease { max-width: 30ch; padding: 9px 13px; border: 2px dashed rgba(25, 18, 14, .45); border-radius: 14px; font-size: 14px; color: var(--ink); }
/* nomes compridos na sacola: a palavra encolhe (pelo JavaScript) em vez de quebrar no meio */
.line-name { overflow-wrap: normal; }

/* página da sacola: no computador, lista de um lado e resumo do outro */
.bag-page { max-width: 1040px; }
.bag-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 8px; }
.bag-page .bag-page-foot { margin-top: 0; }
@media (min-width: 900px) {
  .bag-cols { grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; }
  .bag-page .bag-page-foot { position: sticky; top: calc(var(--hdr-h) + 18px); }
  /* na página, com a tela larga: a frase de um lado e a barra do outro */
  .bag-page .gift { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: 14px 22px 12px; }
  .bag-page .gift-text { min-height: 0; font-size: 17px; }
  .bag-page .gift-text b { font-size: 19px; }
  .bag-page .gift-bar { margin-top: 0; }
}

/* a logo do rodapé no carrinho e no checkout: lá o CSS do WooCommerce solta a altura das imagens */
.ftr .ftr-logo { height: 58px; width: auto; max-width: none; }
/* checkout: o aviso de que o brinde vai junto */
.gift-note { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 16px; border: var(--bw) solid var(--ink); border-radius: 18px; background: var(--t2); box-shadow: 4px 5px 0 var(--ink); font-size: 15px; }
.gift-note[hidden] { display: none; }
.gift-note-q { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--slime); font: 400 28px/1 var(--f-accent); }
/* página de produto: o brinde, logo abaixo do botão de compra */
.pdp-perk { display: flex; align-items: center; gap: 10px; margin-top: 16px; font: 600 14px/1.3 var(--f-text); }
.pdp-perk i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 9px; background: var(--grape); color: #fff; font: 400 16px/1 var(--f-display); font-style: normal; rotate: -6deg; }
.pdp-perk b { font-weight: 800; }

/* ------------------------------ o bichinho da logo ------------------------------ */
/* Como no site oficial: a logo sobe e o Fugg roxo aparece no lugar dela. No passar do mouse e, sozinho,
   de tempos em tempos (a classe is-peek vem do bite.js; os tempos, de bite_logo_peek em inc/bite-parts.php). */
.hdr-logo-in { position: relative; display: block; overflow: hidden; }
.hdr-logo-in > img { display: block; transition: transform .44s cubic-bezier(.4, 0, .2, 1); }
.hdr-logo .hdr-peek { position: absolute; left: 50%; top: -3px; width: 92%; transform: translate(-50%, 118%); opacity: 0; pointer-events: none; transition: transform .5s var(--spring) .05s, opacity .22s ease .06s; }
.hdr-logo .hdr-peek img { display: block; width: 100%; height: auto; }
.hdr-logo.is-peek .hdr-logo-in > img { transform: translateY(-125%); }
.hdr-logo.is-peek .hdr-peek { transform: translate(-50%, 0); opacity: 1; }
@media (hover: hover) {
  .hdr-logo:is(:hover, :focus-visible) .hdr-logo-in > img { transform: translateY(-125%); }
  .hdr-logo:is(:hover, :focus-visible) .hdr-peek { transform: translate(-50%, 0); opacity: 1; }
}

/* ------------------------------ o bichinho espião ------------------------------ */
/* O Fugg roxo da logo espiando o site (assets/bite/bite.js, "o bichinho espião"; liga e desliga em Aparência →
   Catálogo Fuggler). Ele sempre sobe de trás de uma borda de cima (do cartão, da foto, do botão, do aviso), porque
   as sombras do tema caem para a direita e para baixo: em cima a borda é limpa.
   .spy é a janela, que termina na borda; a imagem sobe por dentro dela, e o que fica abaixo da borda não aparece.
   --w é a largura do bichinho e --up, quanto dele aparece: 41% da largura mostra a testa e os olhos com uma folga
   (os olhos vão de 18% a 39%; a boca, de 36% a 53%). A cabeça ocupa a metade do meio da imagem; os lados são
   vazios até a altura dos ombros. */
.spy {
  --w: 92px; --up: calc(var(--w) * .41); --tilt: 0deg;
  position: absolute; z-index: 4; right: 18px; bottom: calc(100% - 1px); display: block; width: calc(var(--w) + 28px); height: calc(var(--up) + 18px);
  margin: 0; padding: 0; border: 0; background: none; pointer-events: none; -webkit-tap-highlight-color: transparent;
}
.spy-in { position: absolute; inset: 0; display: block; overflow: hidden; }
.spy-in img {
  position: absolute; left: 14px; top: 18px; width: var(--w); height: auto; max-width: none; pointer-events: none;
  translate: 0 calc(var(--up) + 8px); rotate: var(--tilt); transform-origin: 50% 34%; transition: translate .28s cubic-bezier(.6, 0, .9, .5);
}
/* só a cabeça recebe o toque: os lados vazios da imagem não roubam o toque de quem está embaixo */
.spy.is-out .spy-in::after, .spy-rest .spy-in::after {
  content: ""; position: absolute; left: calc(14px + var(--w) * .22); top: calc(18px + var(--w) * .04); width: calc(var(--w) * .56); height: calc(var(--up) - var(--w) * .04);
  pointer-events: auto; cursor: pointer;
}
.spy.is-out .spy-in img { translate: 0 0; transition: translate .7s var(--spring); animation: spy-look 2.8s ease-in-out .75s infinite; }
@keyframes spy-look { 0%, 100% { rotate: var(--tilt); } 28% { rotate: calc(var(--tilt) - 9deg); } 64% { rotate: calc(var(--tilt) + 7deg); } }

/* coleções: de trás do cartão, no canto mordido. Aqui não há janela: ele fica atrás do cartão (a moldura do cartão
   tem filter, então z-index -1 fica dentro dela) e aparece também pelos buracos da mordida, com os dentes à mostra.
   O tamanho acompanha o cartão e cabe no vão entre as fileiras sem encostar no preço do cartão de cima. */
.spy-card { z-index: -1; right: -12px; --w: clamp(64px, 46cqw, 104px); --up: calc(var(--w) * .38); --tilt: 4deg; }
.spy-card .spy-in { overflow: visible; }
.spy-card .spy-in img { translate: 0 calc(var(--up) + 36px); opacity: 0; transition: translate .3s cubic-bezier(.6, 0, .9, .5), opacity .1s linear .22s; }
.spy-card.is-out .spy-in img { translate: 0 0; opacity: 1; transition: translate .6s cubic-bezier(.3, 1.25, .5, 1), opacity .12s linear; }

/* página de produto: por cima da foto, do botão de compra e, no celular, da barra de compra presa embaixo */
@media (max-width: 899px) { .pdp-media { position: relative; } }
.pdp-buy { position: relative; }
.spy-stage { right: 6px; --w: 104px; --tilt: 5deg; }
.spy-buy { right: 14px; --w: 92px; --tilt: -4deg; }
.spy-sticky { right: 30px; --w: 80px; --tilt: -4deg; }
@media (min-width: 900px) { .spy-stage { right: 12px; --w: 132px; } }
/* tocar nele dá um empurrãozinho no botão de compra */
.btn.is-nudge { animation: spy-nudge .7s var(--out); }
@keyframes spy-nudge { 18% { scale: 1.07; rotate: -2.5deg; } 42% { scale: .96; rotate: 2deg; } 68% { scale: 1.03; rotate: -1deg; } }

/* algo entrou na sacola: ele pula por cima do aviso, com dentes de confete */
.spy-cheer { right: 16px; --w: 92px; --tilt: 5deg; }
/* o aviso tinha no máximo meia tela de largura (left: 50%), e no celular um nome comprido virava três linhas */
.toast { width: max-content; }
.spy-cheer.is-out .spy-in img { animation: spy-hop .46s cubic-bezier(.3, 0, .4, 1) .55s 3; }
@keyframes spy-hop { 0%, 100% { translate: 0 0; rotate: var(--tilt); } 45% { translate: 0 -12px; rotate: calc(var(--tilt) * -1.6); } }
.spy-bits { position: absolute; left: calc(14px + var(--w) / 2); top: calc(18px + var(--w) * .12); width: 0; height: 0; pointer-events: none; }
.spy-bits i { position: absolute; left: -5px; top: -6px; width: 10px; height: 12px; background: var(--c); opacity: 0; -webkit-mask: var(--icon-tooth) center / contain no-repeat; mask: var(--icon-tooth) center / contain no-repeat; }
.spy.is-out .spy-bits i { animation: spy-bit .95s cubic-bezier(.15, .7, .3, 1) .55s both; }
@keyframes spy-bit { from { opacity: 1; translate: 0 10px; scale: .3; } 70% { opacity: 1; } to { opacity: 0; translate: var(--x) var(--y); rotate: var(--r); scale: 1; } }

/* telas vazias (sacola, busca, coleção, página não encontrada): ele fica parado atrás do botão e se abaixa de vez em quando */
.spy-seat { position: relative; display: inline-flex; margin-top: 38px; }
.spy-rest { right: 8px; --w: 100px; --tilt: -4deg; }
.spy-rest .spy-in img { translate: 0 0; animation: spy-up .8s var(--spring) .7s backwards, spy-duck 8s ease-in-out 3.4s infinite; }
@keyframes spy-up { from { translate: 0 calc(var(--up) + 8px); } }
@keyframes spy-duck { 0%, 72%, 100% { translate: 0 0; rotate: var(--tilt); } 78%, 85% { translate: 0 calc(var(--up) * .6); rotate: var(--tilt); } 92% { translate: 0 -4px; rotate: calc(var(--tilt) + 8deg); } }
.eaten .spy-seat { margin-top: 52px; }
.grid-empty .spy-seat { margin-bottom: 40px; }
.eaten .spy-rest { --w: 132px; }

/* ------------------------------ botão de checkout carregando ------------------------------ */
/* Do clique em "Checkout" até a página trocar (o checkout pode ser externo e demorar): o texto do botão dá lugar a
   dentes mastigando e a uma frase. bite.js: showWait. O botão não muda de tamanho: a frase fica por cima do texto. */
/* sem pointer-events: none: a animação liga no toque, antes do clique, e o clique ainda precisa chegar ao botão */
.is-wait { position: relative; cursor: progress; }
/* O plugin Checkout Bridge para WooCommerce cobre a página com um véu branco e "Indo para o pagamento…" enquanto
   monta o link (html.cbwc-busy::after). Pedido do lojista: nada de tela por cima, só o botão animando. O véu some
   apenas quando é o botão do tema que está animando (html.bite-wait); em qualquer outro caso ele continua valendo. */
html.bite-wait.cbwc-busy::after { content: none; display: none; }
.is-wait > :not(.wait-label) { visibility: hidden; }
.btn.is-wait::before, .btn.is-wait::after { transform: none; }
.btn.is-wait::after { transform: scaleY(-1); }
.btn.is-wait { animation: wait-pulse 1s ease-in-out infinite; }
@keyframes wait-pulse { 50% { scale: .97; } }
.is-wait > .wait-label { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.wait-label b { font: inherit; }
.wait-label b.is-in { animation: word-in .4s var(--spring); }
.wait-teeth { display: inline-flex; gap: 3px; }
.wait-teeth i { width: 11px; height: 14px; background: currentColor; -webkit-mask: var(--icon-tooth) center / contain no-repeat; mask: var(--icon-tooth) center / contain no-repeat; animation: wait-tooth .8s ease-in-out infinite; }
.wait-teeth i:nth-child(2) { animation-delay: .1s; } .wait-teeth i:nth-child(3) { animation-delay: .2s; }
.wait-teeth i:nth-child(4) { animation-delay: .3s; } .wait-teeth i:nth-child(5) { animation-delay: .4s; }
@keyframes wait-tooth { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -6px; } }
