/* ══════════════════════════════════════════════════════════════════════════
   TG MARKETPLACE — templates de vitrine em grade (Shopee / ML / Amazon / Gree)
   Um único motor visual; cada skin muda apenas as variáveis de cor/forma.
   Tudo prefixado com #tg-app para vencer o reset agressivo (Georgia serif,
   font-weight normal em h1–h4) aplicado em especificidade de id.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Variáveis padrão (sobrescritas por cada skin) ── */
#tg-app .tg-mk {
  --mk-page: #f5f5f5;
  --mk-card: #ffffff;
  --mk-header-bg: #ee4d2d;
  --mk-header-fg: #ffffff;
  --mk-accent: #ee4d2d;
  --mk-accent-fg: #ffffff;
  --mk-price: #ee4d2d;
  --mk-cta: #ee4d2d;
  --mk-cta-fg: #ffffff;
  --mk-radius: 6px;
  --mk-radius-lg: 10px;
  --mk-border: #e6e6e6;
  --mk-text: #222222;
  --mk-muted: #777777;
  --mk-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Base / reset local ── */
#tg-app .tg-mk,
#tg-app .tg-mk * {
  font-family: var(--mk-font) !important;
  box-sizing: border-box !important;
}
#tg-app .tg-mk {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100dvh;
  background: var(--mk-page) !important;
  color: var(--mk-text) !important;
  line-height: 1.4 !important;
}
#tg-app.tg-chat-fullscreen #tg-main { min-height: 100%; }

/* ── Modo marketplace: rola a JANELA (não um container fixo) ──────────────
   Sobrescreve o position:fixed do .tg-chat-fullscreen. Assim o wheel/scroll
   é 100% natural. Usa full-bleed (100vw centralizado) para ocupar a largura
   toda mesmo dentro do container do tema. Vence por vir depois + 1 classe a
   mais que a regra do chat. */
body.tg-mk-page #tg-app.tg-mk-mode.tg-chat-fullscreen {
  position: relative !important;
  top: auto !important; left: auto !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
  z-index: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  background: #f5f5f5 !important;
}
body.tg-mk-page { overflow-y: visible !important; height: auto !important; }
body.tg-mk-page, body.tg-mk-page html { overflow-x: hidden !important; }
#tg-app .tg-mk a { color: inherit !important; }
#tg-app .tg-mk img { display: block; max-width: 100%; }
#tg-app .tg-mk .tg-hidden { display: none !important; }
#tg-app .tg-mk button { cursor: pointer; font-family: var(--mk-font) !important; }

/* ── TOPBAR (barra promo acima do header) ──
   Fica no topo absoluto do marketplace, antes do header. Não é sticky: rola
   junto e o header gruda no topo ao rolar. Cor por skin (via --mk-accent). */
#tg-app .tg-mk-topbar {
  background: var(--mk-accent) !important;
  color: #fff !important;
  text-align: center; font-size: 13px; font-weight: 500 !important;
  padding: 9px 16px; letter-spacing: .3px; line-height: 1.3;
}
#tg-app .tg-mk-topbar b { font-weight: 700 !important; color: #fff !important; }
#tg-app .tg-mk-topbar-sep { opacity: .6; margin: 0 4px; }

/* ── HEADER ── */
#tg-app .tg-mk-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--mk-header-bg) !important;
  color: var(--mk-header-fg) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
#tg-app .tg-mk-header-in {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
}
#tg-app .tg-mk-logo { flex: 0 0 auto; display: flex; align-items: center; max-width: 190px; }
#tg-app .tg-mk-logo-img { max-height: 40px; width: auto; object-fit: contain; }
#tg-app .tg-mk-logo-txt { font-weight: 800 !important; font-size: 20px; color: var(--mk-header-fg) !important; letter-spacing: .3px; }
#tg-app .tg-mk-search { flex: 1 1 auto; min-width: 0; display: flex; background: #fff; border-radius: var(--mk-radius); overflow: hidden; }
/* Bloco de benefícios da loja (topo direito, no lugar do banner) */
#tg-app .tg-mk-hd-promo { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
#tg-app .tg-mk-hd-promo-item { display: inline-flex; align-items: center; gap: 8px; color: var(--mk-header-fg) !important; }
#tg-app .tg-mk-hd-promo-item svg { width: 26px; height: 26px; flex: 0 0 auto; }
#tg-app .tg-mk-hd-promo-item > span { display: flex; flex-direction: column; line-height: 1.15; }
#tg-app .tg-mk-hd-promo-item b { font-size: 13px; font-weight: 700 !important; }
#tg-app .tg-mk-hd-promo-item small { font-size: 11px; opacity: .9; }
@media (max-width: 1000px) { #tg-app .tg-mk-hd-promo { display: none; } }
#tg-app .tg-mk-search-in {
  flex: 1 1 auto; border: 0 !important; background: transparent !important;
  padding: 10px 14px; font-size: 15px; color: #222 !important; min-width: 0;
}
#tg-app .tg-mk-search-btn {
  flex: 0 0 auto; border: 0 !important; background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important;
  width: 52px; display: flex; align-items: center; justify-content: center;
}
#tg-app .tg-mk-cart {
  flex: 0 0 auto; position: relative; background: transparent !important; border: 0 !important;
  color: var(--mk-header-fg) !important; padding: 4px; display: flex; align-items: center;
}
#tg-app .tg-mk-cart-count {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  background: #fff; color: var(--mk-accent) !important; border-radius: 10px;
  font-size: 11px; font-weight: 800 !important; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--mk-header-bg);
}

/* ── BARRA DE NAVEGAÇÃO (localização + categorias + links) ── */
#tg-app .tg-mk-nav { background: var(--mk-header-bg) !important; }
#tg-app .tg-mk-nav-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 0 16px 9px; flex-wrap: wrap; }
#tg-app .tg-mk-loc { display: inline-flex; align-items: center; gap: 6px; max-width: 340px; background: transparent !important; border: 0 !important; color: var(--mk-header-fg) !important; font-size: 13px; opacity: .92; cursor: pointer; padding: 0; }
#tg-app .tg-mk-loc svg { flex: 0 0 auto; }
#tg-app .tg-mk-loc > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tg-app .tg-mk-loc b { font-weight: 600 !important; }
#tg-app .tg-mk-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
#tg-app .tg-mk-nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
#tg-app .tg-mk-nav-links > a, #tg-app .tg-mk-nav-right > a, #tg-app .tg-mk-nav-catsbtn { color: var(--mk-header-fg) !important; font-size: 13px; background: transparent !important; border: 0 !important; cursor: pointer; opacity: .95; display: inline-flex; align-items: center; gap: 4px; }
#tg-app .tg-mk-nav-links > a:hover, #tg-app .tg-mk-nav-right > a:hover, #tg-app .tg-mk-nav-catsbtn:hover { opacity: 1; text-decoration: underline; }
#tg-app .tg-mk-nav-cats { position: relative; }
#tg-app .tg-mk-cats-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; min-width: 230px; box-shadow: 0 8px 26px rgba(0,0,0,.2); border-radius: 8px; padding: 6px 0; z-index: 50; max-height: 72vh; overflow-y: auto; }
#tg-app .tg-mk-cats-menu.open { display: block; }
#tg-app .tg-mk-cats-menu a { display: block; padding: 9px 18px; color: #333 !important; font-size: 13px; }
#tg-app .tg-mk-cats-menu a:hover { background: #f5f5f5; color: var(--mk-accent) !important; }
#tg-app .tg-mk-cats-menu-load { padding: 14px 18px; color: #999; font-size: 13px; }
#tg-app .tg-mk-nav-links > a svg, #tg-app .tg-mk-nav-catsbtn svg { flex: 0 0 auto; }
@media (max-width: 700px) { #tg-app .tg-mk-nav-links, #tg-app .tg-mk-nav-right { display: none; } #tg-app .tg-mk-nav-in { gap: 0; padding-bottom: 8px; } }

/* ── Hambúrguer (mobile) ── */
#tg-app .tg-mk-burger { display: none; background: transparent !important; border: 0 !important; color: var(--mk-header-fg) !important; padding: 4px; margin-right: 2px; flex: 0 0 auto; align-items: center; }
@media (max-width: 700px) { #tg-app .tg-mk-burger { display: inline-flex; } }

/* ── Drawer lateral (mobile) ── */
#tg-app .tg-mk-drawer-ov { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; opacity: 0; visibility: hidden; transition: opacity .2s; }
#tg-app .tg-mk-drawer-ov.open { opacity: 1; visibility: visible; }
#tg-app .tg-mk-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 320px; background: #fff; z-index: 201; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; box-shadow: 2px 0 18px rgba(0,0,0,.25); }
#tg-app .tg-mk-drawer.open { transform: translateX(0) !important; }
#tg-app .tg-mk-drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; background: var(--mk-header-bg); color: var(--mk-header-fg) !important; font-weight: 700 !important; font-size: 15px; }
#tg-app .tg-mk-drawer-hd button { background: transparent !important; border: 0 !important; color: var(--mk-header-fg) !important; font-size: 20px; cursor: pointer; }
#tg-app .tg-mk-drawer-nav { padding: 6px 0 30px; }
#tg-app .tg-mk-drawer-nav > a { display: block; padding: 12px 18px; color: #333 !important; font-size: 14px; border-bottom: 1px solid #f1f1f1; }
#tg-app .tg-mk-drawer-nav > a:active, #tg-app .tg-mk-drawer-nav > a:hover { background: #f7f7f7; color: var(--mk-accent) !important; }
#tg-app .tg-mk-drawer-catstitle { padding: 16px 18px 6px; font-size: 12px; font-weight: 700 !important; text-transform: uppercase; color: #999 !important; letter-spacing: .4px; }
#tg-app .tg-mk-drawer-cats a { display: block; padding: 10px 18px; color: #333 !important; font-size: 14px; }
#tg-app .tg-mk-drawer-cats a:active, #tg-app .tg-mk-drawer-cats a:hover { background: #f7f7f7; color: var(--mk-accent) !important; }

/* ── BODY ── */
#tg-app .tg-mk-body { flex: 1 1 auto; width: 100%; max-width: 1200px; margin: 0 auto; padding: 14px 16px 40px; }
#tg-app .tg-mk-loading { text-align: center; color: var(--mk-muted) !important; padding: 60px 0; font-size: 15px; }
#tg-app .tg-mk-empty { text-align: center; color: var(--mk-muted) !important; padding: 48px 16px; font-size: 15px; }
#tg-app .tg-mk-empty a { color: var(--mk-accent) !important; font-weight: 700 !important; }

/* ── DIFERENCIAIS DO PRODUTO (chips) — vale p/ os 4 skins, cor pela var ── */
#tg-app .tg-mk-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
#tg-app .tg-mk-chip { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--mk-border); border-radius: 10px; background: color-mix(in srgb, var(--mk-accent) 5%, #fff); }
#tg-app .tg-mk-chip-ic { font-size: 18px; line-height: 1; flex: 0 0 auto; }
#tg-app .tg-mk-chip-tx { display: flex; flex-direction: column; min-width: 0; }
#tg-app .tg-mk-chip-tx b { font-size: 12.5px; font-weight: 700 !important; color: var(--mk-text) !important; line-height: 1.2; }
#tg-app .tg-mk-chip-tx small { font-size: 11px; color: var(--mk-muted) !important; line-height: 1.25; }
@media (max-width: 640px) { #tg-app .tg-mk-chips { grid-template-columns: 1fr; } }

/* ── Preços de atacado (tabela de faixas) — cor pela var do skin ── */
#tg-app .tg-mk-atk { border: 1px solid var(--mk-border); border-radius: 10px; padding: 12px 14px; margin: 14px 0; background: color-mix(in srgb, var(--mk-accent) 4%, #fff); }
#tg-app .tg-mk-atk-ttl { font-size: 13px; font-weight: 700 !important; color: var(--mk-text) !important; margin-bottom: 8px; }
#tg-app .tg-mk-atk-tiers { display: flex; flex-direction: column; gap: 6px; }
#tg-app .tg-mk-atk-tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--mk-muted) !important; background: #fff; border: 1px solid var(--mk-border); }
#tg-app .tg-mk-atk-tier b { color: var(--mk-text) !important; font-weight: 700 !important; font-size: 14px; }
#tg-app .tg-mk-atk-tier em { font-style: normal; font-size: 11px; font-weight: 700 !important; color: #1a9d5a !important; }
#tg-app .tg-mk-atk-hi.on { border-color: var(--mk-accent); background: color-mix(in srgb, var(--mk-accent) 10%, #fff); box-shadow: 0 0 0 1px var(--mk-accent) inset; }
#tg-app .tg-mk-atk-hi.on b { color: var(--mk-accent) !important; }
#tg-app .tg-mk-atk-hint { font-size: 12px; color: var(--mk-muted) !important; margin-top: 9px; line-height: 1.4; }
#tg-app .tg-mk-atk-hint b { color: var(--mk-text) !important; }

/* ── PÁGINAS INSTITUCIONAIS dentro da loja (Central de ajuda, Sobre nós…) ──
   Renderizadas no corpo do SPA, herdam o header/footer do skin. Cor pela var. */
#tg-app .tg-mk-page { background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 30px 36px; max-width: 860px; margin: 0 auto; }
#tg-app .tg-mk-page-title { font-size: 28px; font-weight: 800 !important; color: var(--mk-text) !important; margin: 0 0 6px !important; padding-bottom: 8px; border-bottom: 3px solid var(--mk-accent); display: inline-block; }
#tg-app .tg-mk-page-body { margin-top: 14px; }
#tg-app .tg-mk-page-body h2 { font-size: 20px; font-weight: 700 !important; color: var(--mk-accent) !important; margin: 24px 0 8px !important; }
#tg-app .tg-mk-page-body h3 { font-size: 16px; font-weight: 700 !important; color: var(--mk-text) !important; margin: 16px 0 4px !important; }
#tg-app .tg-mk-page-body p { font-size: 15.5px; line-height: 1.7; color: var(--mk-muted) !important; margin: 0 0 12px !important; }
#tg-app .tg-mk-page-body ul, #tg-app .tg-mk-page-body ol { margin: 0 0 14px !important; padding-left: 22px !important; }
#tg-app .tg-mk-page-body li { font-size: 15.5px; line-height: 1.7; color: var(--mk-muted) !important; margin: 4px 0 !important; }
#tg-app .tg-mk-page-body a { color: var(--mk-accent) !important; }
#tg-app .tg-mk-page-body strong { color: var(--mk-text) !important; }
@media (max-width: 640px) { #tg-app .tg-mk-page { padding: 20px 16px; } #tg-app .tg-mk-page-title { font-size: 23px; } }

/* ── MINHA CONTA (WooCommerce) dentro do shell do skin ── */
#tg-app .tg-mk-account { max-width: 1040px; margin: 0 auto; color: var(--mk-muted); }
#tg-app .tg-mk-account a { color: var(--mk-accent); }
#tg-app .tg-mk-account .woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
#tg-app .tg-mk-account .woocommerce-MyAccount-navigation { flex: 0 0 230px; max-width: 230px; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: 14px; padding: 8px; }
#tg-app .tg-mk-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
#tg-app .tg-mk-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 9px; color: var(--mk-text) !important; text-decoration: none; font-weight: 600 !important; font-size: 14px; }
#tg-app .tg-mk-account .woocommerce-MyAccount-navigation li a:hover { background: color-mix(in srgb, var(--mk-accent) 8%, #fff); color: var(--mk-accent) !important; }
#tg-app .tg-mk-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important; }
#tg-app .tg-mk-account .woocommerce-MyAccount-content { flex: 1 1 340px; min-width: 0; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: 14px; padding: 26px 28px; }
#tg-app .tg-mk-account .woocommerce-MyAccount-content p { color: var(--mk-muted) !important; line-height: 1.7; }
#tg-app .tg-mk-account form .form-row label, #tg-app .tg-mk-account .woocommerce-form-row label { font-weight: 600 !important; color: var(--mk-text) !important; font-size: 14px; margin-bottom: 5px; display: block; }
#tg-app .tg-mk-account .input-text, #tg-app .tg-mk-account input[type="text"], #tg-app .tg-mk-account input[type="email"], #tg-app .tg-mk-account input[type="tel"], #tg-app .tg-mk-account input[type="password"], #tg-app .tg-mk-account select, #tg-app .tg-mk-account textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--mk-border) !important; border-radius: 10px; font-size: 15px; color: var(--mk-text) !important; background: #fff !important; }
#tg-app .tg-mk-account input:focus, #tg-app .tg-mk-account select:focus, #tg-app .tg-mk-account textarea:focus { border-color: var(--mk-accent) !important; outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mk-accent) 18%, transparent); }
#tg-app .tg-mk-account .button, #tg-app .tg-mk-account button.button, #tg-app .tg-mk-account input.button, #tg-app .tg-mk-account .woocommerce-Button { background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important; border: 0 !important; border-radius: 10px !important; padding: 12px 22px !important; font-weight: 700 !important; font-size: 14px !important; cursor: pointer; text-decoration: none; display: inline-block; }
#tg-app .tg-mk-account .button:hover, #tg-app .tg-mk-account button.button:hover, #tg-app .tg-mk-account input.button:hover { filter: brightness(1.08); }
/* "Entrar" (h2 solto antes do form de login) é redundante com o título da
   página → oculta só ele, sem afetar outros títulos do painel. */
#tg-app .tg-mk-account .woocommerce > h2:has(+ form.woocommerce-form-login) { display: none; }
#tg-app .tg-mk-account .woocommerce-form-login { border: 1px solid var(--mk-border); border-radius: 14px; padding: 26px 28px; max-width: 460px; background: var(--mk-card) !important; }
#tg-app .tg-mk-account .woocommerce-form-login__rememberme { font-weight: 400 !important; display: inline-flex; align-items: center; gap: 6px; }
#tg-app .tg-mk-account table.shop_table { border: 1px solid var(--mk-border); border-radius: 12px; border-collapse: separate; overflow: hidden; width: 100%; }
#tg-app .tg-mk-account table.shop_table th { background: color-mix(in srgb, var(--mk-accent) 5%, #fff); color: var(--mk-text) !important; padding: 12px; font-size: 13px; }
#tg-app .tg-mk-account table.shop_table td { padding: 12px; font-size: 14px; word-break: break-word; }
#tg-app .tg-mk-account .woocommerce-message, #tg-app .tg-mk-account .woocommerce-info, #tg-app .tg-mk-account .woocommerce-error { border-top-color: var(--mk-accent); border-radius: 8px; list-style: none; }
@media (max-width: 640px) {
  #tg-app .tg-mk-account .woocommerce-account .woocommerce { flex-direction: column; }
  #tg-app .tg-mk-account .woocommerce-MyAccount-navigation { flex: 1 1 100%; max-width: none; }
  #tg-app .tg-mk-account .woocommerce-MyAccount-content, #tg-app .tg-mk-account .woocommerce-form-login { padding: 20px 16px; }
}

/* ── CHECKOUT TRADICIONAL CUSTOM (form em etapas dentro do SPA) ── */
#tg-app .tg-cko { max-width: 760px; margin: 0 auto; color: var(--mk-muted); }
#tg-app .tg-cko-title { font-size: 24px; font-weight: 800 !important; color: var(--mk-text) !important; margin: 0 0 18px !important; }
#tg-app .tg-cko .woocommerce a { color: var(--mk-accent) !important; }
#tg-app .tg-cko form.checkout { display: block; }
#tg-app .tg-cko #customer_details { display: none !important; }
#tg-app .tg-cko .tg-co-group-title { display: none; }
#tg-app .tg-cko>.woocommerce-form-coupon-toggle { display: none; }
/* Stepper */
#tg-app .tg-ck-steps { max-width: 720px; margin: 0 auto; }
#tg-app .tg-ck-stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; }
#tg-app .tg-ck-st { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600 !important; color: #9aa3b2 !important; text-align: center; position: relative; }
#tg-app .tg-ck-st .tg-ck-num { width: 30px; height: 30px; border-radius: 50%; background: #e6eaf1; color: #8a93a5; display: flex; align-items: center; justify-content: center; font-weight: 800 !important; font-size: 14px; transition: all .2s; position: relative; z-index: 1; }
#tg-app .tg-ck-st.on { color: var(--mk-accent) !important; }
#tg-app .tg-ck-st.on .tg-ck-num { background: var(--mk-accent) !important; color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--mk-accent) 35%, transparent); }
#tg-app .tg-ck-st.done { color: #1a9d5a !important; cursor: pointer; }
#tg-app .tg-ck-st.done .tg-ck-num { background: #1a9d5a; color: transparent; font-size: 0; }
#tg-app .tg-ck-st.done .tg-ck-num::after { content: "✓"; color: #fff; font-size: 15px; }
#tg-app .tg-ck-st::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #e6eaf1; }
#tg-app .tg-ck-st:first-child::before { display: none; }
#tg-app .tg-ck-st.on::before, #tg-app .tg-ck-st.done::before { background: var(--mk-accent); }
#tg-app .tg-ck-panel { display: none; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: 16px; padding: 24px 26px; box-shadow: 0 4px 20px rgba(16,42,80,.05); }
#tg-app .tg-ck-panel.on { display: block; animation: tgCkFade .25s ease; }
@keyframes tgCkFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#tg-app .tg-ck-ptitle { font-size: 19px; font-weight: 800 !important; color: var(--mk-text) !important; margin: 0 0 18px; }
#tg-app .tg-ck-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
#tg-app .tg-ck-next { background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important; border: 0; border-radius: 10px; padding: 13px 24px; font-weight: 800 !important; font-size: 15px; cursor: pointer; box-shadow: 0 6px 16px color-mix(in srgb, var(--mk-accent) 30%, transparent); }
#tg-app .tg-ck-next:hover { filter: brightness(1.08); }
#tg-app .tg-ck-back { background: transparent; border: 0; color: #6b7688; font-weight: 600 !important; font-size: 14px; cursor: pointer; padding: 8px 4px; }
#tg-app .tg-ck-back:hover { color: var(--mk-accent) !important; }
/* Campos */
#tg-app .tg-cko .form-row { margin: 0 0 14px; padding: 0; }
#tg-app .tg-cko .form-row label { font-weight: 600 !important; color: var(--mk-text) !important; font-size: 13px; margin-bottom: 5px; display: block; }
#tg-app .tg-cko .input-text, #tg-app .tg-cko input[type=text], #tg-app .tg-cko input[type=email], #tg-app .tg-cko input[type=tel], #tg-app .tg-cko input[type=password], #tg-app .tg-cko input[type=number], #tg-app .tg-cko select, #tg-app .tg-cko textarea, #tg-app .tg-cko .select2-selection { width: 100% !important; box-sizing: border-box; padding: 12px 14px !important; border: 1px solid var(--mk-border) !important; border-radius: 10px !important; font-size: 15px; color: var(--mk-text) !important; background: #fff !important; min-height: 48px; line-height: 1.3; }
#tg-app .tg-cko .select2-selection__rendered { line-height: 22px !important; padding-left: 0 !important; color: var(--mk-text) !important; }
#tg-app .tg-cko .select2-selection__arrow { top: 12px !important; }
#tg-app .tg-cko input:focus, #tg-app .tg-cko select:focus, #tg-app .tg-cko textarea:focus { border-color: var(--mk-accent) !important; outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mk-accent) 18%, transparent); }
#tg-app .tg-cko select.select2-hidden-accessible { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
/* Resumo do pedido + pagamento (etapa 3) */
#tg-app .tg-cko #order_review_heading { font-size: 15px; font-weight: 800 !important; color: var(--mk-text) !important; margin: 0 0 12px; }
#tg-app .tg-cko #order_review { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 16px; }
#tg-app .tg-cko table.shop_table { width: 100%; border: 0; border-collapse: collapse; background: transparent; }
#tg-app .tg-cko table.shop_table th, #tg-app .tg-cko table.shop_table td { padding: 9px 0; font-size: 14px; border-bottom: 1px solid #f0f3f8; text-align: left; background: transparent; color: var(--mk-muted) !important; }
#tg-app .tg-cko table.shop_table td.product-total, #tg-app .tg-cko table.shop_table th.product-total, #tg-app .tg-cko table.shop_table tfoot td { text-align: right; }
#tg-app .tg-cko table.shop_table tfoot th, #tg-app .tg-cko table.shop_table tfoot td { font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-cko table.shop_table tfoot .order-total th, #tg-app .tg-cko table.shop_table tfoot .order-total td { font-size: 18px; color: var(--mk-accent) !important; border-bottom: 0; padding-top: 12px; }
#tg-app .tg-cko #payment { background: #f7f9fc !important; border: 1px solid var(--mk-border); border-radius: 12px; margin-top: 4px; }
#tg-app .tg-cko #payment ul.payment_methods { padding: 6px 16px; list-style: none; margin: 0; border-bottom: 1px solid var(--mk-border); }
#tg-app .tg-cko #payment ul.payment_methods>li { padding: 12px 0; border-bottom: 1px solid #eef2f7; list-style: none; }
#tg-app .tg-cko #payment ul.payment_methods>li:last-child { border-bottom: 0; }
#tg-app .tg-cko #payment ul.payment_methods label { font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-cko #payment .payment_box { background: #fff !important; border-radius: 10px; margin: 10px 0 4px !important; padding: 14px 16px !important; font-size: 13.5px; color: var(--mk-muted) !important; }
#tg-app .tg-cko #payment .payment_box::before { display: none !important; }
#tg-app .tg-cko #payment div.form-row.place-order { padding: 16px; margin: 0; }
#tg-app .tg-cko #place_order, #tg-app .tg-cko .button, #tg-app .tg-cko button.button, #tg-app .tg-cko input.button { background: var(--mk-accent) !important; background-image: none !important; color: var(--mk-accent-fg) !important; border: 0 !important; border-radius: 12px !important; padding: 15px 22px !important; font-weight: 800 !important; font-size: 16px !important; cursor: pointer; width: 100%; text-shadow: none !important; box-shadow: 0 6px 18px color-mix(in srgb, var(--mk-accent) 30%, transparent); }
#tg-app .tg-cko #place_order:hover { filter: brightness(1.08); }
#tg-app .tg-cko .woocommerce-info, #tg-app .tg-cko .woocommerce-message, #tg-app .tg-cko .woocommerce-error { border-top-color: var(--mk-accent); border-radius: 8px; list-style: none; }
@media (max-width: 640px) { #tg-app .tg-ck-panel { padding: 18px 16px; } #tg-app .tg-ck-st .tg-ck-lb { font-size: 11px; } #tg-app .tg-ck-ptitle { font-size: 17px; } #tg-app .tg-ck-next { padding: 12px 16px; font-size: 14px; } }

/* ── BANNERS ── */
#tg-app .tg-mk-banners { position: relative; border-radius: var(--mk-radius-lg); overflow: hidden; margin-bottom: 18px; }
#tg-app .tg-mk-banner-track { display: flex; transition: transform .45s ease; }
#tg-app .tg-mk-banner-slide { flex: 0 0 100%; }
#tg-app .tg-mk-banner-slide picture { display: block; width: 100%; }
/* Proporção fixa batendo com as medidas sugeridas no admin (desktop 1200×400 =
   3:1; mobile 480×320 = 3:2). Assim a imagem desenhada nessas medidas aparece
   INTEIRA (sem corte) e o banner não fica gigante. object-fit:cover só entra em
   ação se a imagem enviada fugir da proporção. */
#tg-app .tg-mk-banner-slide img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; display: block; }
#tg-app .tg-mk-banner-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
#tg-app .tg-mk-bdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s; }
#tg-app .tg-mk-bdot.on { background: #fff; width: 18px; border-radius: 4px; }

/* ── SEÇÕES ── */
#tg-app .tg-mk-sec, #tg-app .tg-mk-cats-sec { background: var(--mk-card) !important; border-radius: var(--mk-radius-lg); padding: 14px 14px 18px; margin-bottom: 16px; border: 1px solid var(--mk-border); }
#tg-app .tg-mk-sec-title { font-size: 17px; font-weight: 800 !important; margin: 0 0 12px !important; color: var(--mk-text) !important; }

/* ── CATEGORIAS (círculos) ── */
#tg-app .tg-mk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
#tg-app .tg-mk-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
#tg-app .tg-mk-cat-ic {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--mk-page);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--mk-border);
}
#tg-app .tg-mk-cat-ic img { width: 100%; height: 100%; object-fit: cover; }
#tg-app .tg-mk-cat-emoji { font-size: 28px; }
#tg-app .tg-mk-cat-nm { font-size: 12px; color: var(--mk-text) !important; line-height: 1.25; max-width: 90px; }

/* ── GRADE DE PRODUTOS ── */
#tg-app .tg-mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
#tg-app .tg-mk-card {
  background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s;
}
#tg-app .tg-mk-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
#tg-app .tg-mk-card-img-wrap { position: relative; aspect-ratio: 1/1; background: #fafafa; }
#tg-app .tg-mk-card-img { width: 100%; height: 100%; object-fit: cover; }
#tg-app .tg-mk-disc {
  position: absolute; top: 0; right: 0; background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important;
  font-size: 12px; font-weight: 800 !important; padding: 3px 6px; border-bottom-left-radius: var(--mk-radius);
}
#tg-app .tg-mk-card-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
#tg-app .tg-mk-card-name {
  font-size: 13px; color: var(--mk-text) !important; line-height: 1.35; height: 2.7em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
#tg-app .tg-mk-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: auto; }
#tg-app .tg-mk-old { font-size: 12px; color: var(--mk-muted) !important; text-decoration: line-through; }
#tg-app .tg-mk-price { font-size: 16px; font-weight: 800 !important; color: var(--mk-price) !important; }
#tg-app .tg-mk-price-lg { font-size: 26px; }
#tg-app .tg-mk-card-cta {
  margin-top: 4px; text-align: center; background: var(--mk-cta) !important; color: var(--mk-cta-fg) !important;
  font-size: 13px; font-weight: 700 !important; padding: 7px 0; border-radius: var(--mk-radius);
}
#tg-app .tg-mk-card-out { margin-top: 4px; text-align: center; color: var(--mk-muted) !important; font-size: 12px; font-weight: 700 !important; }

/* ── CABEÇALHO DE LISTA / PAGINAÇÃO ── */
#tg-app .tg-mk-list-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
#tg-app .tg-mk-back { color: var(--mk-accent) !important; font-weight: 700 !important; font-size: 14px; }
#tg-app .tg-mk-list-title { font-size: 20px; font-weight: 800 !important; margin: 0 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-list-count { color: var(--mk-muted) !important; font-size: 13px; margin-left: auto; }
#tg-app .tg-mk-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
#tg-app .tg-mk-page { background: var(--mk-card) !important; border: 1px solid var(--mk-border) !important; color: var(--mk-text) !important; padding: 9px 16px; border-radius: var(--mk-radius); font-weight: 700 !important; font-size: 14px; }
#tg-app .tg-mk-page-info { color: var(--mk-muted) !important; font-size: 13px; }

/* ── PÁGINA DE PRODUTO ── */
#tg-app .tg-mk-crumb { font-size: 13px; color: var(--mk-muted) !important; margin-bottom: 14px; }
#tg-app .tg-mk-crumb a { color: var(--mk-accent) !important; }
#tg-app .tg-mk-pp { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,430px); gap: 30px; align-items: start; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 22px; }
#tg-app .tg-mk-gallery { position: sticky; top: 84px; align-self: start; }
#tg-app .tg-mk-gal-main { position: relative; border: 1px solid var(--mk-border); border-radius: var(--mk-radius); overflow: hidden; background: #fafafa; aspect-ratio: 1/1; }
#tg-app .tg-mk-gal-main img { width: 100%; height: 100%; object-fit: contain; }
#tg-app .tg-mk-gal-video { width: 100%; height: 100%; max-width: 100%; object-fit: contain; background: #000; }
#tg-app .tg-mk-gal-th-video { position: relative; }
#tg-app .tg-mk-playbadge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); color: #fff; }
#tg-app .tg-mk-playbadge svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
#tg-app .tg-mk-gal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
#tg-app .tg-mk-gal-th { width: 60px; height: 60px; border: 2px solid var(--mk-border) !important; border-radius: var(--mk-radius); overflow: hidden; background: #fff; padding: 0; }
#tg-app .tg-mk-gal-th.on { border-color: var(--mk-accent) !important; }
#tg-app .tg-mk-gal-th img { width: 100%; height: 100%; object-fit: cover; }

#tg-app .tg-mk-pp-name { font-size: 22px; font-weight: 800 !important; color: var(--mk-text) !important; line-height: 1.3; margin: 0 0 8px !important; }
#tg-app .tg-mk-pp-meta { display: flex; gap: 14px; align-items: center; color: var(--mk-muted) !important; font-size: 13px; margin-bottom: 12px; }
#tg-app .tg-mk-pp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
#tg-app .tg-mk-pp-disc { font-size: 14px; font-weight: 800 !important; color: var(--mk-accent-fg) !important; background: var(--mk-accent) !important; padding: 2px 8px; border-radius: var(--mk-radius); }
#tg-app .tg-mk-pp-inst { color: var(--mk-muted) !important; font-size: 14px; margin-bottom: 16px; }

#tg-app .tg-mk-var-grp { margin-bottom: 16px; }
#tg-app .tg-mk-var-lbl { font-size: 13px; font-weight: 700 !important; color: var(--mk-text) !important; margin-bottom: 8px; }
#tg-app .tg-mk-var-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#tg-app .tg-mk-var-pill {
  min-height: 40px; padding: 5px 12px; border: 1px solid var(--mk-border) !important;
  background: var(--mk-card) !important; color: var(--mk-text) !important; border-radius: var(--mk-radius);
  font-size: 13px; display: inline-flex; align-items: center; gap: 7px; position: relative;
}
#tg-app .tg-mk-var-pill.has-thumb { padding-left: 5px; }
#tg-app .tg-mk-var-pill.sel { border-color: var(--mk-accent) !important; color: var(--mk-accent) !important; background: color-mix(in srgb, var(--mk-accent) 7%, #fff) !important; }
#tg-app .tg-mk-var-pill.sel::after { content: ''; position: absolute; right: 0; bottom: 0; border: 9px solid transparent; border-right-color: var(--mk-accent); border-bottom-color: var(--mk-accent); border-bottom-right-radius: var(--mk-radius); }
#tg-app .tg-mk-var-thumb { width: 28px; height: 28px; object-fit: cover; border-radius: 3px; }
#tg-app .tg-mk-var-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
#tg-app .tg-mk-var-nm { line-height: 1.1; }

#tg-app .tg-mk-qtyrow { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
#tg-app .tg-mk-qty-lbl { font-size: 13px; font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-qty { display: inline-flex; align-items: center; border: 1px solid var(--mk-border) !important; border-radius: var(--mk-radius); overflow: hidden; }
#tg-app .tg-mk-qty button { width: 38px; height: 38px; border: 0 !important; background: var(--mk-page) !important; color: var(--mk-text) !important; font-size: 18px; line-height: 1; }
#tg-app .tg-mk-qty-val { min-width: 44px; text-align: center; font-weight: 700 !important; font-size: 15px; }
#tg-app .tg-mk-qty-sm button { width: 30px; height: 30px; font-size: 16px; }
#tg-app .tg-mk-qty-sm .tg-mk-qty-val { min-width: 34px; font-size: 14px; }

#tg-app .tg-mk-pp-hint { color: #c0392b !important; font-size: 13px; margin-bottom: 10px; }
#tg-app .tg-mk-pp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#tg-app .tg-mk-btn { border: 0 !important; border-radius: var(--mk-radius); font-size: 15px; font-weight: 700 !important; padding: 13px 22px; flex: 1 1 auto; text-align: center; }
#tg-app .tg-mk-btn:disabled { opacity: .5; cursor: not-allowed; }
#tg-app .tg-mk-btn-cart { background: color-mix(in srgb, var(--mk-accent) 14%, #fff) !important; color: var(--mk-accent) !important; border: 1.5px solid var(--mk-accent) !important; }
#tg-app .tg-mk-btn-buy { background: var(--mk-cta) !important; color: var(--mk-cta-fg) !important; }
#tg-app .tg-mk-pp-out { margin-top: 12px; color: #c0392b !important; font-weight: 700 !important; }

/* ── DESCRIÇÃO ── */
#tg-app .tg-mk-desc { background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 20px; margin-top: 16px; overflow: hidden; }
#tg-app .tg-mk-desc-body { color: var(--mk-text) !important; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; word-break: break-word; }
#tg-app .tg-mk-desc-body p { margin: 0 0 12px !important; }
#tg-app .tg-mk-desc-body img { border-radius: var(--mk-radius); margin: 10px 0; max-width: 100%; height: auto; }
/* A descrição costuma trazer uma tabela de atributos do WooCommerce sem largura
   definida → estourava o container no mobile. Força 100% + quebra de linha. */
#tg-app .tg-mk-desc-body table { width: 100% !important; max-width: 100% !important; table-layout: fixed !important; border-collapse: collapse; }
#tg-app .tg-mk-desc-body th, #tg-app .tg-mk-desc-body td { word-break: break-word; overflow-wrap: anywhere; vertical-align: top; padding: 6px 8px; }
#tg-app .tg-mk-desc-body pre, #tg-app .tg-mk-desc-body iframe, #tg-app .tg-mk-desc-body video { max-width: 100% !important; }

/* Trava o arrasto horizontal da página (site "solto" no mobile). overflow-x:clip
   NÃO cria contexto de rolagem, então preserva o header sticky. */
body.tg-mk-page { overflow-x: clip; }
#tg-app.tg-mk-mode { overflow-x: clip; max-width: 100%; }

/* ── CARRINHO ── */
/* Container da PÁGINA do carrinho (classe própria p/ não colidir com o botão
   de carrinho do header .tg-mk-cart, que é display:flex). */
#tg-app .tg-mk-cartpage { display: block; max-width: 1080px; margin: 0 auto; }
#tg-app .tg-mk-cart-title { font-size: 22px; font-weight: 800 !important; margin: 0 0 16px !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-cart-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
#tg-app .tg-mk-cart-items { display: flex; flex-direction: column; gap: 10px; }
#tg-app .tg-mk-ci { display: flex; gap: 12px; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius); padding: 12px; align-items: center; }
#tg-app .tg-mk-ci-img { width: 74px; height: 74px; object-fit: cover; border-radius: var(--mk-radius); flex: 0 0 auto; }
#tg-app .tg-mk-ci-info { flex: 1 1 auto; min-width: 0; }
#tg-app .tg-mk-ci-name { font-size: 14px; color: var(--mk-text) !important; line-height: 1.35; margin-bottom: 4px; }
#tg-app .tg-mk-ci-atk { font-size: 12px; color: #2e7d32 !important; font-weight: 700 !important; margin-bottom: 4px; }
#tg-app .tg-mk-ci-sub { font-size: 16px; font-weight: 800 !important; color: var(--mk-price) !important; }
#tg-app .tg-mk-ci-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; }
#tg-app .tg-mk-ci-rm { background: transparent !important; border: 0 !important; color: var(--mk-muted) !important; font-size: 12px; text-decoration: underline; padding: 0; }
#tg-app .tg-mk-cart-side { background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 16px; position: sticky; top: 84px; }
#tg-app .tg-mk-cart-frete-box { border-bottom: 1px solid var(--mk-border); padding-bottom: 14px; margin-bottom: 14px; }
#tg-app .tg-mk-cart-frete-title { font-size: 13px; font-weight: 700 !important; margin-bottom: 8px; color: var(--mk-text) !important; }
#tg-app .tg-mk-cep { display: flex; gap: 8px; }
#tg-app .tg-mk-cep-in { flex: 1 1 auto; border: 1px solid var(--mk-border) !important; border-radius: var(--mk-radius); padding: 9px 12px; font-size: 14px; color: var(--mk-text) !important; background: #fff !important; min-width: 0; }
#tg-app .tg-mk-cep-btn { flex: 0 0 auto; background: var(--mk-accent) !important; color: var(--mk-accent-fg) !important; border: 0 !important; border-radius: var(--mk-radius); padding: 0 16px; font-weight: 700 !important; }
#tg-app .tg-mk-cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin: 14px 0; color: var(--mk-text) !important; }
#tg-app .tg-mk-cart-total span:last-child { font-size: 22px; font-weight: 800 !important; color: var(--mk-price) !important; }
#tg-app .tg-mk-cart-finish { width: 100%; }
#tg-app .tg-mk-cart-keep { display: block; text-align: center; margin-top: 12px; color: var(--mk-accent) !important; font-size: 14px; font-weight: 600 !important; }
#tg-app .tg-mk-cart-empty { text-align: center; padding: 60px 16px; }
#tg-app .tg-mk-cart-empty-ic { font-size: 54px; margin-bottom: 12px; }
#tg-app .tg-mk-cart-empty p { color: var(--mk-muted) !important; font-size: 16px; margin-bottom: 18px !important; }
#tg-app .tg-mk-cart-empty a { display: inline-block; max-width: 260px; }

/* frete: taxas e progresso (reutiliza .tg-rates/.tg-rate-item do chat) */
#tg-app .tg-mk-rates-loading { font-size: 13px; color: var(--mk-muted) !important; padding: 8px 0; }

/* ── RODAPÉ ── */
/* A regra de tela cheia esconde todo <footer>; nosso footer precisa aparecer. */
body.tg-mk-page #tg-app .tg-mk-footer { display: block !important; }
#tg-app .tg-mk-footer { background: var(--mk-card) !important; border-top: 3px solid var(--mk-accent); margin-top: auto; }
#tg-app .tg-mk-ft-cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .9fr .9fr; gap: 24px; padding: 34px 16px 26px; }
#tg-app .tg-mk-ft-col h4 { font-size: 13px; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .4px; color: var(--mk-text) !important; margin-bottom: 14px !important; }
#tg-app .tg-mk-ft-col a { display: block; font-size: 13px; color: var(--mk-muted) !important; margin-bottom: 11px; line-height: 1.3; }
#tg-app .tg-mk-ft-col a:hover { color: var(--mk-accent) !important; }
#tg-app .tg-mk-ft-pays { display: flex; flex-wrap: wrap; gap: 8px; }
#tg-app .tg-mk-ft-pay { display: inline-flex; }
#tg-app .tg-mk-ft-pay svg { width: 44px !important; height: 28px !important; }
#tg-app .tg-mk-ft-soc { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-ft-soc:hover { color: var(--mk-accent) !important; }
#tg-app .tg-mk-ft-soc svg { width: 18px; height: 18px; flex: 0 0 auto; }
#tg-app .tg-mk-ft-soc span { font-size: 13px; }
#tg-app .tg-mk-ft-bottom { border-top: 1px solid var(--mk-border); }
#tg-app .tg-mk-ft-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 16px 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-ft-info { text-align: right; }
@media (max-width: 860px) {
  #tg-app .tg-mk-ft-cols { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 26px 16px 20px; }
  #tg-app .tg-mk-ft-bottom { flex-direction: column; }
  #tg-app .tg-mk-ft-info { text-align: left; }
}

/* ── Card: selo de desconto estilo Shopee ── */
#tg-app .tg-mk-disc {
  top: 0; right: 0; background: color-mix(in srgb, var(--mk-accent) 22%, #fff) !important; color: var(--mk-accent) !important;
  font-size: 11px; font-weight: 400 !important; padding: 4px 5px 3px; line-height: 1; text-align: center;
  border-bottom-left-radius: var(--mk-radius);
}
#tg-app .tg-mk-disc b { display: block; font-weight: 800 !important; font-size: 13px; }
/* Card: nota + barra de vendidos */
#tg-app .tg-mk-card-rate { display: flex; align-items: center; gap: 4px; }
#tg-app .tg-mk-card-rate-n { font-size: 11px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-card-sold { position: relative; height: 15px; border-radius: 8px; overflow: hidden; background: #ffe8d6; margin-top: 2px; }
#tg-app .tg-mk-card-sold-fill { position: absolute; inset: 0; width: 60%; background: linear-gradient(90deg, #ffb700, var(--mk-accent)); }
#tg-app .tg-mk-card-sold-txt { position: relative; display: block; text-align: center; font-size: 10px; font-weight: 700 !important; color: #fff; line-height: 15px; text-shadow: 0 1px 1px rgba(0,0,0,.15); }
/* Estrelas */
#tg-app .tg-mk-stars { display: inline-flex; }
#tg-app .tg-mk-star { color: #d9d9d9; font-size: 13px; line-height: 1; }
#tg-app .tg-mk-star.on { color: #ffce3d; }

/* ── OFERTAS RELÂMPAGO (faixa horizontal) ── */
#tg-app .tg-mk-flash { background: var(--mk-card) !important; border-radius: var(--mk-radius-lg); padding: 12px 14px 16px; margin-bottom: 16px; border: 1px solid var(--mk-border); }
#tg-app .tg-mk-flash-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
#tg-app .tg-mk-flash-title { font-size: 18px; font-weight: 800 !important; color: var(--mk-accent) !important; letter-spacing: .3px; }
#tg-app .tg-mk-flash-timer { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700 !important; color: var(--mk-accent) !important; }
#tg-app .tg-mk-cd { display: inline-flex; gap: 3px; }
#tg-app .tg-mk-cd span { background: #333; color: #fff !important; font-size: 13px; font-weight: 700 !important; padding: 2px 5px; border-radius: 3px; min-width: 24px; text-align: center; }
#tg-app .tg-mk-flash-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
#tg-app .tg-mk-flash-strip::-webkit-scrollbar { height: 6px; }
#tg-app .tg-mk-flash-strip::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
#tg-app .tg-mk-flash-strip .tg-mk-card { flex: 0 0 158px; scroll-snap-align: start; }

/* ── PÁGINA DE PRODUTO: nota, bloco de preço, estoque ── */
#tg-app .tg-mk-pp-rate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--mk-border); }
#tg-app .tg-mk-pp-rate-val { font-size: 16px; font-weight: 700 !important; color: var(--mk-accent) !important; border-bottom: 1px solid var(--mk-accent); }
#tg-app .tg-mk-pp-rate .tg-mk-star { font-size: 16px; }
#tg-app .tg-mk-pp-rate-sep { width: 1px; height: 16px; background: var(--mk-border); display: inline-block; }
#tg-app .tg-mk-pp-rate-c { font-size: 14px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-pp-rate-c b { color: var(--mk-text) !important; border-bottom: 1px solid var(--mk-text); }
#tg-app .tg-mk-pp-pricebox { background: color-mix(in srgb, var(--mk-accent) 6%, #fafafa) !important; border-radius: var(--mk-radius); padding: 14px 16px; margin-bottom: 14px; overflow: hidden; }
#tg-app .tg-mk-pp-pricebox.has-flash { padding: 0; }
#tg-app .tg-mk-flash-bar { background: var(--mk-accent) !important; color: #fff !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 14px; }
#tg-app .tg-mk-flash-bar-l { font-size: 14px; font-weight: 800 !important; letter-spacing: .3px; }
#tg-app .tg-mk-flash-bar-r { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700 !important; }
#tg-app .tg-mk-flash-bar-r .tg-mk-cd span { background: rgba(0,0,0,.28); }
#tg-app .tg-mk-pp-price-in { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#tg-app .tg-mk-pp-pricebox.has-flash .tg-mk-pp-price-in { padding: 12px 16px 14px; }
/* Linhas Cartão de crédito / PIX / Frete */
#tg-app .tg-mk-pp-row { display: flex; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--mk-border); }
#tg-app .tg-mk-pp-row:last-of-type { border-bottom: 0; margin-bottom: 6px; }
#tg-app .tg-mk-pp-row-l { flex: 0 0 128px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-pp-row-v { color: var(--mk-text) !important; }
#tg-app .tg-mk-pp-row-v b { font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-free { color: #2e8b57 !important; font-weight: 700 !important; }
#tg-app .tg-mk-stock { font-size: 13px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-btn-cart svg { vertical-align: -3px; margin-right: 4px; }
/* Garantias na caixa de compra (preenche o espaço + fidelidade) */
#tg-app .tg-mk-pp-assur { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--mk-border); display: flex; flex-direction: column; gap: 14px; }
#tg-app .tg-mk-assur { display: flex; align-items: center; gap: 12px; color: var(--mk-accent) !important; }
#tg-app .tg-mk-assur svg { flex: 0 0 auto; }
#tg-app .tg-mk-assur div { display: flex; flex-direction: column; line-height: 1.3; }
#tg-app .tg-mk-assur b { font-size: 14px; font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-assur span { font-size: 12px; color: var(--mk-muted) !important; }

/* ── CARD DO VENDEDOR ── */
#tg-app .tg-mk-seller { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 16px 20px; margin-top: 16px; }
#tg-app .tg-mk-seller-id { display: flex; align-items: center; gap: 12px; }
#tg-app .tg-mk-seller-logo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--mk-page); display: flex; align-items: center; justify-content: center; border: 1px solid var(--mk-border); flex: 0 0 auto; }
#tg-app .tg-mk-seller-logo img { width: 100%; height: 100%; object-fit: cover; }
#tg-app .tg-mk-seller-ini { font-size: 24px; font-weight: 800 !important; color: var(--mk-accent) !important; }
#tg-app .tg-mk-seller-name { font-size: 16px; font-weight: 700 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-seller-on { font-size: 12px; color: #2e8b57 !important; }
#tg-app .tg-mk-seller-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#tg-app .tg-mk-seller-btn { border: 1px solid var(--mk-accent) !important; color: var(--mk-accent) !important; background: color-mix(in srgb, var(--mk-accent) 6%, #fff) !important; border-radius: var(--mk-radius); padding: 9px 16px; font-size: 14px; font-weight: 600 !important; }
#tg-app .tg-mk-seller-btn.ghost { border-color: var(--mk-border) !important; color: var(--mk-text) !important; background: var(--mk-card) !important; }

/* ── DETALHES DO PRODUTO (tabela) ── */
#tg-app .tg-mk-specs { background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 20px; margin-top: 16px; overflow: hidden; }
#tg-app .tg-mk-specs-tbl { width: 100%; table-layout: fixed; }
#tg-app .tg-mk-specs-tbl th, #tg-app .tg-mk-specs-tbl td { text-align: left; vertical-align: top; padding: 8px 0; font-size: 14px; word-break: break-word; overflow-wrap: anywhere; }
#tg-app .tg-mk-specs-tbl th { width: 180px; color: var(--mk-muted) !important; font-weight: 400 !important; padding-right: 16px; }
#tg-app .tg-mk-specs-tbl td { color: var(--mk-text) !important; }
@media (max-width: 640px) { #tg-app .tg-mk-specs-tbl th { width: 42%; padding-right: 10px; } }

/* ── AVALIAÇÕES DO PRODUTO ── */
#tg-app .tg-mk-reviews { background: var(--mk-card) !important; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-lg); padding: 20px; margin-top: 16px; }
#tg-app .tg-mk-rev-empty { color: var(--mk-muted) !important; font-size: 14px; padding: 8px 0; }
#tg-app .tg-mk-rev-summary { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; background: color-mix(in srgb, var(--mk-accent) 5%, #fff) !important; border-radius: var(--mk-radius); padding: 18px 20px; margin-bottom: 18px; }
#tg-app .tg-mk-rev-big { display: flex; flex-direction: column; align-items: center; gap: 2px; }
#tg-app .tg-mk-rev-big-n { font-size: 34px; font-weight: 800 !important; color: var(--mk-accent) !important; }
#tg-app .tg-mk-rev-big-o { font-size: 12px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-rev-big .tg-mk-star { font-size: 15px; }
#tg-app .tg-mk-rev-bars { flex: 1 1 260px; display: flex; flex-direction: column; gap: 5px; min-width: 240px; }
#tg-app .tg-mk-rev-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--mk-muted) !important; }
#tg-app .tg-mk-rev-bar-l { width: 34px; flex: 0 0 auto; }
#tg-app .tg-mk-rev-bar-t { flex: 1 1 auto; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
#tg-app .tg-mk-rev-bar-t > span { display: block; height: 100%; background: #ffce3d; }
#tg-app .tg-mk-rev-bar-n { width: 34px; text-align: right; flex: 0 0 auto; }
#tg-app .tg-mk-rev-list { display: flex; flex-direction: column; }
#tg-app .tg-mk-rev { padding: 14px 0; border-top: 1px solid var(--mk-border); }
#tg-app .tg-mk-rev-top { display: flex; align-items: center; gap: 10px; }
#tg-app .tg-mk-rev-au { font-size: 14px; font-weight: 600 !important; color: var(--mk-text) !important; }
#tg-app .tg-mk-rev-date { font-size: 12px; color: var(--mk-muted) !important; margin: 2px 0 6px; }
#tg-app .tg-mk-rev-body { font-size: 14px; color: var(--mk-text) !important; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════════════════
   SKINS
   ══════════════════════════════════════════════════════════════════════════ */

/* Shopee — laranja vibrante */
#tg-app .tg-mk--shopee {
  --mk-header-bg: #ee4d2d; --mk-header-fg: #fff;
  --mk-accent: #ee4d2d; --mk-accent-fg: #fff;
  --mk-price: #ee4d2d; --mk-cta: #ee4d2d; --mk-cta-fg: #fff;
  --mk-page: #f5f5f5; --mk-radius: 4px; --mk-radius-lg: 8px;
}

/* Mercado Livre — amarelo com azul de destaque */
#tg-app .tg-mk--mercadolivre {
  --mk-header-bg: #ffe600; --mk-header-fg: #2d3277;
  --mk-accent: #3483fa; --mk-accent-fg: #fff;
  --mk-price: #222; --mk-cta: #3483fa; --mk-cta-fg: #fff;
  --mk-page: #ededed; --mk-radius: 6px; --mk-radius-lg: 8px; --mk-border: #e6e6e6;
}
#tg-app .tg-mk--mercadolivre .tg-mk-logo-txt { color: #2d3277 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-cart-count { color: #3483fa !important; border-color: #ffe600; }
#tg-app .tg-mk--mercadolivre .tg-mk-price { color: #222 !important; font-weight: 500 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-price-lg { font-weight: 400 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-card { border-color: transparent; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Amazon — cabeçalho escuro, CTA amarelo, preço vermelho */
#tg-app .tg-mk--amazon {
  --mk-header-bg: #131921; --mk-header-fg: #fff;
  --mk-accent: #febd69; --mk-accent-fg: #131921;
  --mk-price: #b12704; --mk-cta: #ffd814; --mk-cta-fg: #0f1111;
  --mk-page: #eaeded; --mk-radius: 8px; --mk-radius-lg: 8px; --mk-border: #d5d9d9;
}
#tg-app .tg-mk--amazon .tg-mk-search-btn { background: #febd69 !important; color: #131921 !important; }
#tg-app .tg-mk--amazon .tg-mk-disc { background: #cc0c39 !important; color: #fff !important; }
#tg-app .tg-mk--amazon .tg-mk-cart-count { color: #131921 !important; background: #f08804; border-color: #131921; }
#tg-app .tg-mk--amazon .tg-mk-btn-cart { background: #fff !important; color: #0f1111 !important; border-color: #d5d9d9 !important; }

/* Gree — loja premium clara, azul, poucos selos */
#tg-app .tg-mk--gree {
  --mk-header-bg: #ffffff; --mk-header-fg: #0a4595;
  --mk-accent: #0a4595; --mk-accent-fg: #fff;
  --mk-price: #0a4595; --mk-cta: #0a4595; --mk-cta-fg: #fff;
  --mk-page: #ffffff; --mk-card: #ffffff; --mk-radius: 12px; --mk-radius-lg: 16px; --mk-border: #e3e8ef;
}
#tg-app .tg-mk--gree .tg-mk-header { box-shadow: 0 1px 0 #e3e8ef; }
#tg-app .tg-mk--gree .tg-mk-logo-txt { color: #0a4595 !important; }
#tg-app .tg-mk--gree .tg-mk-search { border: 1px solid #e3e8ef; }
#tg-app .tg-mk--gree .tg-mk-cart { color: #0a4595 !important; }
#tg-app .tg-mk--gree .tg-mk-cart-count { color: #fff !important; background: #0a4595; border-color: #fff; }
#tg-app .tg-mk--gree .tg-mk-sec, #tg-app .tg-mk--gree .tg-mk-cats-sec { box-shadow: 0 2px 10px rgba(10,69,149,.05); }
#tg-app .tg-mk--gree .tg-mk-card { box-shadow: 0 2px 10px rgba(10,69,149,.06); border-color: #eef2f7; }
#tg-app .tg-mk--gree .tg-mk-disc { background: #0a4595 !important; color: #fff !important; }
#tg-app .tg-mk--gree .tg-mk-disc b { color: #fff !important; }
#tg-app .tg-mk--amazon .tg-mk-disc b { color: #fff !important; }

/* ══════════════════════════════════════════════════════════════════════════
   AFINAÇÃO POR SKIN — deixa os componentes ricos nativos de cada marketplace
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Mercado Livre: preço preto grande, parcelas/frete em verde, azul de ação ── */
#tg-app .tg-mk--mercadolivre .tg-mk-pp-price { color: #000 !important; font-weight: 600 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-pp-price-lg { font-weight: 500 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-pp-row-v b { color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-free { color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-pp-disc,
#tg-app .tg-mk--mercadolivre .tg-mk-disc { background: #00a650 !important; color: #fff !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-disc { background: color-mix(in srgb, #00a650 18%, #fff) !important; color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-disc b { color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-mk-ci-sub,
#tg-app .tg-mk--mercadolivre .tg-mk-cart-total span:last-child { color: #000 !important; }
/* ML não usa "relâmpago" agressivo — barra azul discreta */
#tg-app .tg-mk--mercadolivre .tg-mk-flash-bar { background: #3483fa !important; }

/* ── Amazon: preço vermelho, botões amarelo/laranja, oferta vermelha, links teal ── */
#tg-app .tg-mk--amazon .tg-mk-btn-cart { background: #ffd814 !important; color: #0f1111 !important; border-color: #fcd200 !important; }
#tg-app .tg-mk--amazon .tg-mk-btn-buy { background: #ffa41c !important; color: #0f1111 !important; }
#tg-app .tg-mk--amazon .tg-mk-flash-bar { background: #cc0c39 !important; }
#tg-app .tg-mk--amazon .tg-mk-pp-disc { background: #cc0c39 !important; color: #fff !important; }
#tg-app .tg-mk--amazon .tg-mk-flash-bar-r .tg-mk-cd span { background: rgba(0,0,0,.32); }
#tg-app .tg-mk--amazon .tg-mk-pp-rate-val,
#tg-app .tg-mk--amazon .tg-mk-crumb a,
#tg-app .tg-mk--amazon .tg-mk-back,
#tg-app .tg-mk--amazon .tg-mk-seller-btn { color: #007185 !important; }
#tg-app .tg-mk--amazon .tg-mk-pp-rate-val { border-bottom-color: #007185; }
#tg-app .tg-mk--amazon .tg-mk-star.on { color: #de7921 !important; }
#tg-app .tg-mk--amazon .tg-mk-seller-btn { border-color: #007185 !important; background: #fff !important; }
#tg-app .tg-mk--amazon .tg-mk-pp-pricebox { background: #fff !important; border: 1px solid var(--mk-border); }

/* ── Gree: premium, azul, limpo — tom de preço azul e caixa clara ── */
#tg-app .tg-mk--gree .tg-mk-pp-pricebox { background: #f4f8ff !important; }
#tg-app .tg-mk--gree .tg-mk-flash-bar { background: #0a4595 !important; }
#tg-app .tg-mk--gree .tg-mk-btn-cart { background: #eef4fc !important; }
#tg-app .tg-mk--gree .tg-mk-star.on { color: #ffb300 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   MERCADO LIVRE — layout próprio de single product e carrinho (ref. do dono)
   ══════════════════════════════════════════════════════════════════════════ */
#tg-app .tg-mk--mercadolivre .tg-ml-full { background: #00a650 !important; color: #fff !important; font-size: 11px; font-weight: 800 !important; padding: 2px 7px; border-radius: 3px; letter-spacing: .5px; display: inline-block; }
#tg-app .tg-mk--mercadolivre .tg-ml-green { color: #00a650 !important; font-weight: 600 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-green2 { color: #00a650 !important; font-weight: 700 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-muted { color: #999 !important; font-size: 13px; }

/* Produto */
#tg-app .tg-mk--mercadolivre .tg-ml-pp { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; background: #fff !important; border: 1px solid #e6e6e6; border-radius: 8px; padding: 22px; }
#tg-app .tg-mk--mercadolivre .tg-ml-gallery { display: flex; gap: 14px; position: sticky; top: 80px; min-width: 0; max-width: 100%; }
#tg-app .tg-mk--mercadolivre .tg-ml-thumbs { display: flex; flex-direction: column; gap: 8px; flex: 0 0 54px; }
#tg-app .tg-mk--mercadolivre .tg-ml-thumb { width: 54px; height: 54px; border: 1px solid #ddd !important; border-radius: 6px; overflow: hidden; background: #fff !important; padding: 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-thumb.on { border: 2px solid #3483fa !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-thumb img { width: 100%; height: 100%; object-fit: cover; }
#tg-app .tg-mk--mercadolivre .tg-ml-main { flex: 1 1 auto; min-width: 0; max-width: 100%; border: 1px solid #eee; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; overflow: hidden; }
#tg-app .tg-mk--mercadolivre .tg-ml-main img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
#tg-app .tg-mk--mercadolivre .tg-ml-video { width: 100%; height: 100%; max-width: 100%; object-fit: contain; background: #000; }
#tg-app .tg-mk--mercadolivre .tg-ml-thumb-video { position: relative; }
#tg-app .tg-mk--mercadolivre .tg-ml-playbadge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); color: #fff; }
#tg-app .tg-mk--mercadolivre .tg-ml-playbadge svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
/* Carrossel: wrap da área principal + contador + dots (dots/contador só no mobile) */
#tg-app .tg-mk--mercadolivre .tg-ml-main-wrap { flex: 1 1 auto; min-width: 0; position: relative; }
#tg-app .tg-mk--mercadolivre .tg-ml-main { width: 100%; touch-action: pan-y; }
#tg-app .tg-mk--mercadolivre .tg-ml-counter { display: none; }
#tg-app .tg-mk--mercadolivre .tg-ml-dots { display: none; }

/* ── Card de produto ML (home / listas) ── */
#tg-app .tg-mk--mercadolivre .tg-ml-card { display: flex; flex-direction: column; background: #fff !important; border: 1px solid #ececec; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .15s, transform .15s; }
#tg-app .tg-mk--mercadolivre .tg-ml-card:hover { box-shadow: 0 5px 16px rgba(0,0,0,.13); transform: translateY(-2px); }
#tg-app .tg-mk--mercadolivre .tg-ml-card-img { aspect-ratio: 1/1; background: #fff; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-img img { width: 100%; height: 100%; object-fit: contain; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-name { font-size: 13px; color: #333 !important; line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 4px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-old { font-size: 12px; color: #999 !important; text-decoration: line-through; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-priceline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-price { font-size: 20px; font-weight: 500 !important; color: #1a1a1a !important; letter-spacing: -0.3px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-off { background: #00a650 !important; color: #fff !important; font-size: 11px; font-weight: 600 !important; padding: 1px 6px; border-radius: 4px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-inst { font-size: 12px; color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-inst span { color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-ship { font-size: 12px; color: #333 !important; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-ship .tg-ml-full { font-size: 9px; padding: 1px 5px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-soldbar { position: relative; height: 15px; border-radius: 8px; overflow: hidden; background: #ffe8d6; margin: 2px 0 6px; }
#tg-app .tg-mk--mercadolivre .tg-ml-card-soldbar-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #ffb700, #ff6a00); }
#tg-app .tg-mk--mercadolivre .tg-ml-card-soldbar-txt { position: relative; display: block; text-align: center; font-size: 10px; font-weight: 700 !important; color: #fff !important; line-height: 15px; text-shadow: 0 1px 1px rgba(0,0,0,.18); }

#tg-app .tg-mk--mercadolivre .tg-ml-buybox { border: 1px solid #e6e6e6; border-radius: 8px; padding: 18px; box-shadow: 0 1px 6px rgba(0,0,0,.05); align-self: start; display: flex; flex-direction: column; min-width: 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-status { font-size: 13px; color: rgba(0,0,0,.55) !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-title { font-size: 20px; font-weight: 600 !important; color: #333 !important; line-height: 1.2; margin: 4px 0 10px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-rate { display: flex; align-items: center; gap: 6px; cursor: pointer; margin-bottom: 12px; }
#tg-app .tg-mk--mercadolivre .tg-ml-rate-n { font-size: 14px; color: #3483fa !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-rate .tg-mk-star { color: #c9d5e8; font-size: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-rate .tg-mk-star.on { color: #3483fa; }
#tg-app .tg-mk--mercadolivre .tg-ml-rate-c { font-size: 13px; color: #3483fa !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-oldrow { margin-top: 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-old { color: #999 !important; text-decoration: line-through; font-size: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-pricerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-price { display: inline-flex; align-items: flex-start; color: #1a1a1a !important; line-height: 1; }
#tg-app .tg-mk--mercadolivre .tg-ml-cur { font-size: 18px; font-weight: 400 !important; align-self: center; margin-right: 5px; }
#tg-app .tg-mk--mercadolivre .tg-ml-int { font-size: 40px; font-weight: 500 !important; letter-spacing: -1px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cents { font-size: 19px; font-weight: 500 !important; margin-top: 4px; margin-left: 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-off { background: #00a650 !important; color: #fff !important; font-size: 13px; font-weight: 600 !important; padding: 2px 7px; border-radius: 4px; align-self: center; }
#tg-app .tg-mk--mercadolivre .tg-ml-inst { font-size: 15px; color: #00a650 !important; margin-top: 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-inst b { font-weight: 700 !important; color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-inst-mp { color: #333 !important; font-weight: 400 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-fretebadge { display: inline-block; background: #00a650 !important; color: #fff !important; font-size: 12px; font-weight: 700 !important; padding: 3px 9px; border-radius: 3px; margin: 10px 0 6px; letter-spacing: .3px; }
#tg-app .tg-mk--mercadolivre .tg-ml-link { color: #3483fa !important; font-size: 13px; text-decoration: none; margin: 3px 0 12px; display: inline-block; }
#tg-app .tg-mk--mercadolivre .tg-ml-delivery { margin-bottom: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-deliv1 { font-size: 15px; color: #333 !important; margin-bottom: 3px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-deliv1 b { font-weight: 600 !important; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-arrive { font-size: 13px; color: #666 !important; margin-bottom: 2px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-arrive b { font-weight: 600 !important; color: #333 !important; }
/* Prazo de entrega revelado só após consultar o CEP */
#tg-app .tg-mk--mercadolivre .tg-ml-deliv-result { margin-bottom: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep-label { font-size: 13px; color: #666 !important; margin-bottom: 8px; }
/* Calculador de frete por CEP na página de produto */
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc { margin-top: 2px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc-row { display: flex; gap: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc-in { flex: 1 1 auto; min-width: 0; border: 1px solid #ddd !important; border-radius: 6px; padding: 9px 12px; font-size: 13px; color: #333 !important; background: #fff !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc-in:focus { border-color: #3483fa !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc-btn { flex: 0 0 auto; border: 1px solid #3483fa !important; background: #fff !important; color: #3483fa !important; border-radius: 6px; padding: 0 16px; font-weight: 600 !important; font-size: 13px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cepcalc-btn:hover { background: #3483fa !important; color: #fff !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rates { margin-top: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rates-load { font-size: 13px; color: #999 !important; padding: 6px 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rate { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e6e6e6; border-radius: 6px; margin-top: 6px; font-size: 13px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rate svg { color: #00a650; flex: 0 0 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rate-l { flex: 1 1 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-prod-rate-c { font-weight: 700 !important; color: #00a650 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-return { margin-bottom: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-stock { font-weight: 700 !important; color: #333 !important; margin-bottom: 10px; font-size: 15px; }
#tg-app .tg-mk--mercadolivre .tg-ml-stock.low { color: #f23d4f !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-benefits { margin-top: 16px; border-top: 1px solid #eee; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-benefit { font-size: 13px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
#tg-app .tg-mk--mercadolivre .tg-ml-bic { width: 20px; height: 20px; flex: 0 0 auto; color: #3483fa; margin-top: 1px; }
#tg-app .tg-mk--mercadolivre .tg-ml-benefit b { color: #3483fa !important; font-weight: 600 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-fullrow { font-size: 13px; color: #666 !important; display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-vars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-varg-lbl { font-size: 14px; color: #333 !important; margin-bottom: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-varg-lbl b { font-weight: 600 !important; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-varg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-vpill { border: 1px solid #ddd !important; border-radius: 6px; background: #fff !important; color: #333 !important; font-size: 13px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 7px; }
#tg-app .tg-mk--mercadolivre .tg-ml-vpill.sel { border: 2px solid #3483fa !important; color: #3483fa !important; padding: 7px 13px; }
#tg-app .tg-mk--mercadolivre .tg-ml-vpill img { width: 22px; height: 22px; object-fit: cover; border-radius: 3px; }
#tg-app .tg-mk--mercadolivre .tg-ml-vdot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
#tg-app .tg-mk--mercadolivre .tg-ml-select { border: 1px solid #ddd !important; border-radius: 6px; padding: 10px 12px; font-size: 14px; background: #fff !important; color: #333 !important; -webkit-appearance: auto !important; appearance: auto !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-qtyrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-qtysel { flex: 0 0 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-btn { border: 0 !important; border-radius: 8px; padding: 14px; font-size: 16px; font-weight: 600 !important; margin-bottom: 10px; width: 100%; }
#tg-app .tg-mk--mercadolivre .tg-ml-btn:disabled { opacity: .5; cursor: not-allowed; }
#tg-app .tg-mk--mercadolivre .tg-ml-btn-buy { background: #3483fa !important; color: #fff !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-btn-cart { background: #e7f1ff !important; color: #3483fa !important; }

/* Relacionados */
#tg-app .tg-mk--mercadolivre .tg-ml-related { background: #fff !important; border: 1px solid #e6e6e6; border-radius: 8px; padding: 18px; margin-top: 16px; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-item { flex: 0 0 180px; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-item img { width: 100%; height: 160px; object-fit: contain; background: #fafafa; border-radius: 6px; margin-bottom: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-price { font-size: 18px; font-weight: 700 !important; color: #000 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-inst { font-size: 12px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-ship { font-size: 12px; color: #00a650 !important; font-weight: 600 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-related-name { font-size: 13px; color: #333 !important; line-height: 1.3; margin-top: 4px; }

/* Carrinho */
#tg-app .tg-mk--mercadolivre .tg-ml-cart { max-width: 1100px; margin: 0 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-cart-h { font-size: 24px; font-weight: 700 !important; color: #333 !important; margin: 6px 0 16px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-full-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700 !important; color: #333 !important; margin-bottom: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cart-grid { display: flex; gap: 20px; align-items: flex-start; }
#tg-app .tg-mk--mercadolivre .tg-ml-cart-items { flex: 1 1 65%; min-width: 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci { display: grid; grid-template-columns: 90px 1fr; gap: 14px; background: #fff !important; border: 1px solid #ddd; border-radius: 6px; padding: 14px; margin-bottom: 12px; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-name { font-size: 15px; color: #333 !important; margin: 0 0 6px !important; line-height: 1.3; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-atk { font-size: 12px; color: #00a650 !important; font-weight: 700 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-price { font-size: 16px; font-weight: 700 !important; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-remove { color: #3483fa !important; font-size: 13px; display: inline-block; margin: 6px 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-ship { grid-column: 1 / -1; border-top: 1px solid #eee; padding-top: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-ci-shiptxt { font-size: 14px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-shipbar { height: 6px; background: #e6e6e6; border-radius: 3px; overflow: hidden; margin: 6px 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-shipbar span { display: block; height: 100%; width: 100%; background: #00a650; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep { background: #fff !important; border: 1px solid #ddd; border-radius: 6px; padding: 14px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep label { font-size: 13px; font-weight: 600 !important; color: #333 !important; display: block; margin-bottom: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep-row { display: flex; gap: 8px; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep-row input { flex: 1 1 auto; border: 1px solid #ddd !important; border-radius: 4px; padding: 9px 12px; font-size: 14px; color: #333 !important; background: #fff !important; min-width: 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-cep-row button { border: 1px solid #3483fa !important; background: #fff !important; color: #3483fa !important; border-radius: 4px; padding: 0 16px; font-weight: 600 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-summary { flex: 0 0 300px; background: #f9f9f9 !important; border-radius: 8px; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,.08); position: sticky; top: 80px; }
#tg-app .tg-mk--mercadolivre .tg-ml-summary h4 { font-size: 16px; font-weight: 700 !important; margin-bottom: 12px !important; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-sum-total { display: flex; justify-content: space-between; padding: 10px 0; font-size: 18px; font-weight: 700 !important; border-top: 1px solid #ddd; margin-top: 6px; color: #333 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-checkout { display: block; width: 100%; background: #3483fa !important; color: #fff !important; border: 0 !important; border-radius: 6px; padding: 14px; font-size: 16px; font-weight: 600 !important; margin-top: 12px; text-align: center; }
#tg-app .tg-mk--mercadolivre .tg-ml-keep { display: block; text-align: center; margin-top: 10px; color: #3483fa !important; font-size: 14px; }

/* Modal "Meios de pagamento" */
#tg-app .tg-mk--mercadolivre .tg-ml-modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-modal { background: #fff !important; border-radius: 8px; max-width: 640px; width: 100%; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
#tg-app .tg-mk--mercadolivre .tg-ml-modal-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px 12px; }
#tg-app .tg-mk--mercadolivre .tg-ml-modal-hd h3 { font-size: 21px; font-weight: 600 !important; color: #333 !important; line-height: 1.2; }
#tg-app .tg-mk--mercadolivre .tg-ml-modal-x { background: transparent !important; border: 0 !important; color: #3483fa !important; font-size: 20px; cursor: pointer; flex: 0 0 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-modal-bd { padding: 4px 24px 24px; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-hero { display: flex; gap: 14px; align-items: center; padding: 14px 0 18px; border-bottom: 1px solid #eee; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-hero-ic { flex: 0 0 auto; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-hero p { font-size: 14px; color: #333 !important; line-height: 1.45; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-sec { padding: 16px 0; border-bottom: 1px solid #eee; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-sec:last-child { border-bottom: 0; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-sub { font-size: 18px; font-weight: 600 !important; color: #333 !important; margin-bottom: 12px; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-sec h4 { font-size: 16px; font-weight: 600 !important; color: #333 !important; margin-bottom: 2px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-hl { color: #00a650 !important; font-size: 15px; margin: 8px 0 4px !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-hl b { color: #00a650 !important; font-weight: 700 !important; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-tiles { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 10px; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-logo { display: inline-flex; align-items: center; }
#tg-app .tg-mk--mercadolivre .tg-ml-pm-tile-l { font-size: 12px; color: #00a650 !important; }

@media (max-width: 860px) {
  #tg-app .tg-mk--mercadolivre .tg-ml-pp { grid-template-columns: minmax(0, 1fr) !important; padding: 14px; }
  #tg-app .tg-mk--mercadolivre .tg-ml-gallery { position: static; flex-direction: column; width: 100%; }
  #tg-app .tg-mk--mercadolivre .tg-ml-main { width: 100%; }
  /* ML mobile: sem coluna de thumbs — usa swipe + dots como o app */
  #tg-app .tg-mk--mercadolivre .tg-ml-thumbs { display: none; }
  #tg-app .tg-mk--mercadolivre .tg-ml-counter { display: inline-block; position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 10px; z-index: 2; }
  #tg-app .tg-mk--mercadolivre .tg-ml-dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 0; }
  #tg-app .tg-mk--mercadolivre .tg-ml-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; }
  #tg-app .tg-mk--mercadolivre .tg-ml-dot.on { background: #3483fa; width: 20px; border-radius: 4px; }
  #tg-app .tg-mk--mercadolivre .tg-ml-buybox { border: 0; padding: 4px 0 0; box-shadow: none; }
  #tg-app .tg-mk--mercadolivre .tg-ml-cart-grid { flex-direction: column; }
  #tg-app .tg-mk--mercadolivre .tg-ml-summary { flex-basis: auto; width: 100%; position: static; }
}

/* ══════════════════════════════════════════════════════════════════════════
   GREE (Loja Premium) — homepage premium (conteúdo da própria loja)
   ══════════════════════════════════════════════════════════════════════════ */
#tg-app .tg-mk--gree .tg-gr-benefits { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; padding: 20px 0 22px; border-bottom: 1px solid #eef2f7; }
#tg-app .tg-mk--gree .tg-gr-benefit, #tg-app .tg-mk--gree .tg-gr-exp { display: flex; align-items: center; gap: 12px; }
#tg-app .tg-mk--gree .tg-gr-benefit svg { width: 30px; height: 30px; color: #0a4595; flex: 0 0 auto; }
#tg-app .tg-mk--gree .tg-gr-exp svg { width: 28px; height: 28px; color: #0a4595; flex: 0 0 auto; }
#tg-app .tg-mk--gree .tg-gr-benefit b, #tg-app .tg-mk--gree .tg-gr-exp b { display: block; font-size: 14px; color: #1a2b45 !important; font-weight: 700 !important; }
#tg-app .tg-mk--gree .tg-gr-benefit span, #tg-app .tg-mk--gree .tg-gr-exp span { font-size: 12px; color: #8a93a5 !important; }
#tg-app .tg-mk--gree .tg-gr-headline { text-align: center; font-size: 22px; font-weight: 700 !important; color: #0a4595 !important; margin: 28px 0 18px !important; }
#tg-app .tg-mk--gree .tg-gr-sec { margin-bottom: 10px; }
#tg-app .tg-mk--gree .tg-gr-sec-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
#tg-app .tg-mk--gree .tg-gr-sec-hd h3 { font-size: 18px; font-weight: 700 !important; color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-sec-hd a { font-size: 13px; color: #0a4595 !important; font-weight: 600 !important; }
#tg-app .tg-mk--gree .tg-gr-coll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#tg-app .tg-mk--gree .tg-gr-coll { position: relative; aspect-ratio: 16/7; border-radius: 16px; overflow: hidden; display: block; background: linear-gradient(135deg, #0a4595, #1b6fd6); }
#tg-app .tg-mk--gree .tg-gr-coll-noimg .tg-gr-coll-ov { background: linear-gradient(90deg, rgba(10,69,149,.55), rgba(10,69,149,.15)); }
#tg-app .tg-mk--gree .tg-gr-coll img { width: 100%; height: 100%; object-fit: cover; }
#tg-app .tg-mk--gree .tg-gr-coll-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,69,149,.88), rgba(10,69,149,.2)); display: flex; flex-direction: column; justify-content: center; padding: 0 30px; }
#tg-app .tg-mk--gree .tg-gr-coll-name { font-size: 22px; font-weight: 700 !important; color: #fff !important; }
#tg-app .tg-mk--gree .tg-gr-coll-cta { font-size: 13px; margin-top: 6px; color: #fff !important; opacity: .9; }
#tg-app .tg-mk--gree .tg-gr-exp-row { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
#tg-app .tg-mk--gree .tg-gr-faq { max-width: 860px; margin: 0 auto; }
#tg-app .tg-mk--gree .tg-gr-faq-item { background: #fff !important; border: 1px solid #eef2f7; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
#tg-app .tg-mk--gree .tg-gr-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: transparent !important; border: 0 !important; font-size: 15px; font-weight: 700 !important; color: #1a2b45 !important; cursor: pointer; text-align: left; }
#tg-app .tg-mk--gree .tg-gr-faq-ic { font-size: 22px; color: #0a4595 !important; flex: 0 0 auto; transition: transform .2s; line-height: 1; }
#tg-app .tg-mk--gree .tg-gr-faq-item.open .tg-gr-faq-ic { transform: rotate(45deg); }
#tg-app .tg-mk--gree .tg-gr-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 20px; font-size: 14px; color: #5a6478 !important; line-height: 1.6; }
#tg-app .tg-mk--gree .tg-gr-faq-item.open .tg-gr-faq-a { max-height: 320px; padding: 0 20px 18px; }
/* Card no skin premium: sem a barra laranja de vendidos e cantos mais suaves */
#tg-app .tg-mk--gree .tg-mk-card-sold, #tg-app .tg-mk--gree .tg-mk-card-rate { display: none; }
#tg-app .tg-mk--gree .tg-mk-card { border-radius: 14px; }
#tg-app .tg-mk--gree .tg-gr-card-attrs { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
#tg-app .tg-mk--gree .tg-gr-card-attr { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #5a6478 !important; }
#tg-app .tg-mk--gree .tg-gr-card-attr svg { width: 15px; height: 15px; color: #8a93a5; flex: 0 0 auto; }
/* Alinhamento dos cards: imagem quadrada (mesma altura) + nome com altura fixa
   de 2 linhas → o bloco de preço começa na MESMA posição em todos os cards da
   linha, sem abrir vão entre título e preço. O espaço que sobra fica no rodapé
   do card (não no meio). NÃO usar margin-top:auto aqui: com blocos de preço de
   alturas diferentes (com/sem preço riscado) ele empurrava o preço pra baixo e
   criava lacunas desiguais. */
#tg-app .tg-mk--gree .tg-gr-card .tg-mk-card-img-wrap { aspect-ratio: 1 / 1; }
#tg-app .tg-mk--gree .tg-gr-card .tg-mk-card-name { height: 2.7em; margin-bottom: 4px; }
#tg-app .tg-mk--gree .tg-gr-card-prices { display: flex; flex-direction: column; gap: 1px; }
#tg-app .tg-mk--gree .tg-gr-card-old { font-size: 12px; color: #999 !important; text-decoration: line-through; }
#tg-app .tg-mk--gree .tg-gr-card-price { font-size: 18px; font-weight: 700 !important; color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-card-pix { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #5a6478 !important; margin-top: 3px; flex-wrap: wrap; }
#tg-app .tg-mk--gree .tg-gr-card-pixbadge { background: #0a4595 !important; color: #fff !important; font-size: 10px; font-weight: 700 !important; padding: 1px 6px; border-radius: 3px; }
#tg-app .tg-mk--gree .tg-gr-card-inst { font-size: 11px; color: #8a93a5 !important; margin-top: 3px; }
/* CTA "Ver produto" — botão visível no rodapé do card (o card inteiro é o link;
   este span é só o alvo/afordância). Alinhado entre cards com margem uniforme. */
#tg-app .tg-mk--gree .tg-gr-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; padding: 9px 12px; border-radius: 8px;
  background: var(--mk-accent) !important; color: #fff !important;
  font-size: 13px; font-weight: 700 !important; letter-spacing: .2px;
  transition: filter .15s;
}
#tg-app .tg-mk--gree .tg-gr-card-cta svg { width: 15px; height: 15px; }
#tg-app .tg-mk--gree .tg-gr-card:hover .tg-gr-card-cta { filter: brightness(1.12); }
#tg-app .tg-mk--gree .tg-gr-card-cta-out { background: #8a93a5 !important; }
#tg-app .tg-mk--gree .tg-gr-card-out { font-size: 15px; font-weight: 700 !important; color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-card-out-sub { font-size: 12px; color: #f2621b !important; margin-top: 2px; }
@media (max-width: 700px) {
  #tg-app .tg-mk--gree .tg-gr-benefits, #tg-app .tg-mk--gree .tg-gr-exp-row { gap: 16px 22px; }
  #tg-app .tg-mk--gree .tg-gr-coll-grid { grid-template-columns: 1fr; }
  #tg-app .tg-mk--gree .tg-gr-coll { aspect-ratio: 16/8; }
  #tg-app .tg-mk--gree .tg-gr-headline { font-size: 19px; }
}

/* ── GREE — página de produto (single product premium) ── */
#tg-app .tg-mk--gree .tg-gr-pp { max-width: 1200px; margin: 0 auto; padding: 0 12px 24px; }
#tg-app .tg-mk--gree .tg-gr-pp-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 16px; padding: 26px; box-shadow: 0 4px 24px rgba(16,42,80,.05); }
#tg-app .tg-mk--gree .tg-gr-pp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #eef2f7; }
#tg-app .tg-mk--gree .tg-gr-pp-title { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important; font-size: 22px; font-weight: 700 !important; color: #1a2b45 !important; line-height: 1.25; margin: 0; }
#tg-app .tg-mk--gree .tg-gr-pp-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 7px; font-size: 12px; color: #8a93a5 !important; }
#tg-app .tg-mk--gree .tg-gr-pp-meta b { color: #5a6478 !important; font-weight: 600 !important; }
#tg-app .tg-mk--gree .tg-gr-pp-head-ic { display: flex; gap: 8px; flex: 0 0 auto; }
#tg-app .tg-mk--gree .tg-gr-icbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e3e8ef; background: #fff; color: #5a6478; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; }
#tg-app .tg-mk--gree .tg-gr-icbtn:hover { border-color: #0a4595; color: #0a4595; }
#tg-app .tg-mk--gree .tg-gr-icbtn.on { color: #e0294a; border-color: #f4b8c4; }
#tg-app .tg-mk--gree .tg-gr-icbtn.on svg { fill: #e0294a; }
#tg-app .tg-mk--gree .tg-gr-icbtn svg { width: 18px; height: 18px; }
#tg-app .tg-mk--gree .tg-gr-pp-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.9fr); gap: 30px; padding-top: 22px; }

/* Galeria */
#tg-app .tg-mk--gree .tg-gr-gal { display: flex; gap: 14px; min-width: 0; }
#tg-app .tg-mk--gree .tg-gr-gthumbs { display: flex; flex-direction: column; gap: 9px; flex: 0 0 66px; }
#tg-app .tg-mk--gree .tg-gr-gthumb { position: relative; width: 66px; height: 66px; border: 1.5px solid #e3e8ef; border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; overflow: hidden; }
#tg-app .tg-mk--gree .tg-gr-gthumb.on { border-color: #0a4595; }
#tg-app .tg-mk--gree .tg-gr-gthumb img { width: 100%; height: 100%; object-fit: contain; }
#tg-app .tg-mk--gree .tg-gr-gplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
#tg-app .tg-mk--gree .tg-gr-gplay svg { width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
#tg-app .tg-mk--gree .tg-gr-gnext { text-align: center; font-size: 11px; color: #8a93a5 !important; margin-top: 2px; }
#tg-app .tg-mk--gree .tg-gr-gstage { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; }
#tg-app .tg-mk--gree .tg-gr-gmain { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; user-select: none; }
#tg-app .tg-mk--gree .tg-gr-gmain img { max-width: 100%; max-height: 100%; object-fit: contain; }
#tg-app .tg-mk--gree .tg-gr-gvideo { max-width: 100%; max-height: 100%; }
#tg-app .tg-mk--gree .tg-gr-garrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e3e8ef; background: rgba(255,255,255,.9); color: #5a6478; display: flex; align-items: center; justify-content: center; cursor: pointer; }
#tg-app .tg-mk--gree .tg-gr-garrow:hover { color: #0a4595; border-color: #0a4595; }
#tg-app .tg-mk--gree .tg-gr-garrow svg { width: 20px; height: 20px; }
#tg-app .tg-mk--gree .tg-gr-garrow-l { left: 0; }
#tg-app .tg-mk--gree .tg-gr-garrow-r { right: 0; }
#tg-app .tg-mk--gree .tg-gr-gdots { display: flex; gap: 6px; margin-top: 12px; }
#tg-app .tg-mk--gree .tg-gr-gdot { width: 22px; height: 4px; border-radius: 3px; background: #d7dee8; cursor: pointer; }
#tg-app .tg-mk--gree .tg-gr-gdot.on { background: #0a4595; }

/* Coluna de compra */
#tg-app .tg-mk--gree .tg-gr-buy { min-width: 0; }
#tg-app .tg-mk--gree .tg-gr-pricebox { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
#tg-app .tg-mk--gree .tg-gr-pp-off { align-self: flex-start; background: #0a4595 !important; color: #fff !important; font-size: 12px; font-weight: 700 !important; padding: 3px 10px; border-radius: 6px; margin-bottom: 6px; }
#tg-app .tg-mk--gree .tg-gr-pp-old { font-size: 13px; color: #9aa3b2 !important; text-decoration: line-through; }
#tg-app .tg-mk--gree .tg-gr-pp-now { color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-pp-now b { font-family: system-ui, -apple-system, sans-serif !important; font-size: 30px; font-weight: 800 !important; color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-pp-now span { font-size: 13px; color: #5a6478 !important; margin-left: 4px; }
#tg-app .tg-mk--gree .tg-gr-pp-inst { font-size: 13px; color: #5a6478 !important; margin-top: 4px; }
#tg-app .tg-mk--gree .tg-gr-pp-inst a { color: #0a4595 !important; text-decoration: underline; }
#tg-app .tg-mk--gree .tg-gr-pp-attrs { display: flex; flex-wrap: wrap; gap: 14px 8px; padding: 16px 0; margin: 4px 0 4px; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
#tg-app .tg-mk--gree .tg-gr-pp-attr { flex: 1 1 70px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; font-size: 11px; color: #5a6478 !important; line-height: 1.25; }
#tg-app .tg-mk--gree .tg-gr-pp-attr svg { width: 24px; height: 24px; color: #0a4595; }
#tg-app .tg-mk--gree .tg-gr-pp-vars { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
#tg-app .tg-mk--gree .tg-gr-sel { appearance: auto !important; -webkit-appearance: auto !important; flex: 1 1 130px; min-width: 120px; padding: 11px 12px; border: 1px solid #cfd8e3 !important; border-radius: 10px; background: #fff !important; color: #1a2b45 !important; font-size: 14px; font-family: system-ui, sans-serif !important; cursor: pointer; }
#tg-app .tg-mk--gree .tg-gr-sel:focus { border-color: #0a4595 !important; outline: none; }
#tg-app .tg-mk--gree .tg-gr-qtyrow { display: flex; align-items: center; gap: 14px; margin: 18px 0 10px; }
#tg-app .tg-mk--gree .tg-gr-qtyrow .tg-mk-qty { display: inline-flex; align-items: center; border: 1px solid #cfd8e3; border-radius: 10px; overflow: hidden; }
#tg-app .tg-mk--gree .tg-gr-qtyrow .tg-mk-qty button { width: 40px; height: 42px; border: 0; background: #f5f8fc; color: #0a4595; font-size: 20px; cursor: pointer; }
#tg-app .tg-mk--gree .tg-gr-qtyrow .tg-mk-qty-val { width: 46px; text-align: center; font-weight: 700 !important; color: #1a2b45 !important; }
#tg-app .tg-mk--gree .tg-gr-stock { font-size: 13px; color: #1a9d5a !important; font-weight: 600 !important; }
#tg-app .tg-mk--gree .tg-gr-warn { font-size: 12px; color: #8a93a5 !important; margin-bottom: 14px; }
#tg-app .tg-mk--gree .tg-gr-warn a { color: #0a4595 !important; text-decoration: underline; }
#tg-app .tg-mk--gree .tg-gr-pp-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
#tg-app .tg-mk--gree .tg-gr-pp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 700 !important; cursor: pointer; border: 1.6px solid #0a4595; transition: filter .15s; }
#tg-app .tg-mk--gree .tg-gr-pp-btn svg { width: 18px; height: 18px; }
#tg-app .tg-mk--gree .tg-gr-pp-btn-cart { background: #eaf1fb !important; color: #0a4595 !important; }
#tg-app .tg-mk--gree .tg-gr-pp-btn-buy { background: #0a4595 !important; color: #fff !important; }
#tg-app .tg-mk--gree .tg-gr-pp-btn:hover { filter: brightness(1.06); }
#tg-app .tg-mk--gree .tg-gr-pp-btn:disabled { opacity: .5; cursor: not-allowed; }
#tg-app .tg-mk--gree .tg-gr-cepbox { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #eaf1fb; border: 1px solid #cfe0f6; cursor: pointer; transition: background .15s; }
#tg-app .tg-mk--gree .tg-gr-cepbox:hover { background: #e0ebfa; }
#tg-app .tg-mk--gree .tg-gr-cepbox svg { width: 24px; height: 24px; color: #0a4595; flex: 0 0 auto; }
#tg-app .tg-mk--gree .tg-gr-cepbox b { display: block; font-size: 14px; font-weight: 700 !important; color: #0a4595 !important; }
#tg-app .tg-mk--gree .tg-gr-cepbox span { font-size: 12px; color: #5a6478 !important; }
#tg-app .tg-mk--gree .tg-gr-cep-result { margin-top: 12px; }
#tg-app .tg-mk--gree .tg-gr-cep-result-in { border: 1px solid #e3e8ef; border-radius: 10px; padding: 6px 12px; }
#tg-app .tg-mk--gree .tg-gr-cep-rate { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; color: #5a6478 !important; border-bottom: 1px solid #f0f3f8; }
#tg-app .tg-mk--gree .tg-gr-cep-rate:last-child { border-bottom: 0; }
#tg-app .tg-mk--gree .tg-gr-cep-rate b { color: #1a2b45 !important; font-weight: 700 !important; }
#tg-app .tg-mk--gree .tg-gr-btu-cta { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef2f7; }
#tg-app .tg-mk--gree .tg-gr-btu-cta > span { display: block; font-size: 13px; color: #5a6478 !important; margin-bottom: 8px; }
#tg-app .tg-mk--gree .tg-gr-btu-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 12px; border: 1.6px solid #0a4595; background: #fff; color: #0a4595 !important; font-size: 14px; font-weight: 700 !important; cursor: pointer; }
#tg-app .tg-mk--gree .tg-gr-btu-btn:hover { background: #f0f6ff; }
#tg-app .tg-mk--gree .tg-gr-btu-btn svg { width: 17px; height: 17px; }

/* Modais do skin Gree (CEP / BTUs) */
#tg-app .tg-gr-modal-ov, .tg-gr-modal-ov { position: fixed; inset: 0; z-index: 100000; background: rgba(16,32,60,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tg-gr-modal { position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.3); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.tg-gr-modal-btu { max-width: 520px; }
.tg-gr-modal-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; background: #f2f5f9; border-radius: 50%; color: #5a6478; font-size: 15px; cursor: pointer; }
.tg-gr-modal-t { font-size: 19px; font-weight: 700; color: #1a2b45; margin: 0 30px 6px 0; }
.tg-gr-modal-sub { font-size: 13px; color: #5a6478; line-height: 1.45; margin: 0 0 16px; }
.tg-gr-cep-auto { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 10px; border: 1.6px solid #0a4595; background: #fff; color: #0a4595; font-size: 14px; font-weight: 700; cursor: pointer; }
.tg-gr-cep-auto:hover { background: #f0f6ff; }
.tg-gr-cep-auto svg { width: 18px; height: 18px; }
.tg-gr-cep-orlbl { font-size: 13px; font-weight: 600; color: #1a2b45; margin: 18px 0 8px; }
.tg-gr-cep-in, .tg-gr-num { width: 100%; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px; font-size: 15px; color: #1a2b45; box-sizing: border-box; }
.tg-gr-cep-in:focus, .tg-gr-num:focus { border-color: #0a4595; outline: none; }
.tg-gr-cep-go { width: 100%; margin-top: 14px; padding: 13px; border: 0; border-radius: 10px; background: #0a4595; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.tg-gr-cep-go:hover { filter: brightness(1.08); }
.tg-gr-cep-login { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: #5a6478; }
.tg-gr-cep-login:hover { color: #0a4595; }
.tg-gr-cep-mrates { margin-top: 10px; }
.tg-gr-cep-load { font-size: 13px; color: #8a93a5; padding: 8px 0; }
.tg-gr-modal .tg-gr-cep-rate { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; color: #5a6478; border-bottom: 1px solid #f0f3f8; }
.tg-gr-modal .tg-gr-cep-rate b { color: #1a2b45; }
.tg-gr-btu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.tg-gr-btu-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #1a2b45; }
.tg-gr-btu-grid .tg-gr-sel { appearance: auto; -webkit-appearance: auto; padding: 11px 12px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; color: #1a2b45; font-size: 14px; font-weight: 400; cursor: pointer; }
.tg-gr-btu-err { color: #d23; font-size: 13px; margin: 4px 0; }
.tg-gr-btu-res { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #eaf1fb; border: 1px solid #cfe0f6; }
.tg-gr-btu-area { font-size: 13px; color: #5a6478; }
.tg-gr-btu-rec { font-size: 17px; font-weight: 700; color: #0a4595; margin-top: 4px; }
.tg-gr-btu-ok { margin-top: 8px; font-size: 13px; color: #1a7d46; }
.tg-gr-btu-no { margin-top: 8px; font-size: 13px; color: #c0491f; }

@media (max-width: 860px) {
  #tg-app .tg-mk--gree .tg-gr-pp-grid { grid-template-columns: 1fr; gap: 22px; }
  #tg-app .tg-mk--gree .tg-gr-pp-card { padding: 18px; }
  #tg-app .tg-mk--gree .tg-gr-gal { flex-direction: column-reverse; }
  #tg-app .tg-mk--gree .tg-gr-gthumbs { flex-direction: row; flex: 0 0 auto; overflow-x: auto; }
  #tg-app .tg-mk--gree .tg-gr-gnext { display: none; }
  #tg-app .tg-mk--gree .tg-gr-pp-title { font-size: 19px; }
  .tg-gr-btu-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  #tg-app .tg-mk-pp { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  #tg-app .tg-mk-gallery { position: static; }
  #tg-app .tg-mk-cart-grid { grid-template-columns: 1fr; }
  #tg-app .tg-mk-cart-side { position: static; }
}
@media (max-width: 640px) {
  #tg-app .tg-mk-header-in { flex-wrap: wrap; padding: 10px 12px; gap: 10px; }
  #tg-app .tg-mk-logo { order: 1; }
  #tg-app .tg-mk-cart { order: 2; margin-left: auto; }
  #tg-app .tg-mk-search { order: 3; flex: 1 1 100%; margin: 0; max-width: none; }
  #tg-app .tg-mk-body { padding: 12px 10px 32px; }
  #tg-app .tg-mk-banner-slide img { aspect-ratio: 3 / 2; }
  #tg-app .tg-mk-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  #tg-app .tg-mk-card-name { font-size: 12px; }
  #tg-app .tg-mk-price { font-size: 15px; }
  #tg-app .tg-mk-price-lg { font-size: 23px; }
  #tg-app .tg-mk-cats { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  #tg-app .tg-mk-cat-ic { width: 54px; height: 54px; }
  #tg-app .tg-mk-pp-actions { position: sticky; bottom: 0; background: var(--mk-card); padding: 10px 0; margin: 0 -16px -16px; padding: 12px 16px; border-top: 1px solid var(--mk-border); }
}

/* O carrinho flutuante do funil não faz sentido no marketplace (há carrinho no header) */
body.tg-chat-fullscreen-page #tg-app .tg-mk ~ #tg-cart-fab { display: none !important; }

/* Botão flutuante do WhatsApp — mostra também nos skins de marketplace (vinha
   oculto). Direita, desktop e mobile, com pulso pra chamar atenção. Como o
   cart-fab fica oculto aqui, ele desce pro rodapé (bottom:20px). Fica escondido
   no checkout (sem tg-mk-page, a regra base o oculta). */
body.tg-mk-page #tg-app .tg-wa-fab {
  display: flex !important;
  bottom: 20px !important;
  right: 18px !important;
  animation: tgWaPulse 2s ease-in-out infinite !important;
}
@keyframes tgWaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
  50%      { box-shadow: 0 4px 14px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 640px) { body.tg-mk-page #tg-app .tg-wa-fab { bottom: 16px !important; right: 14px !important; } }
