/* Loja online — layout premium (sem bibliotecas). Cores vêm de Aparência (--mt-navy / --mt-lime). */
:root { --lj-navy: var(--mt-navy, #1E3A7B); --lj-lime: var(--mt-lime, #A4CE39); --lj-ink: #0f172a; --lj-soft: #f4f6fb; --lj-radius: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lj { margin: 0; background: var(--lj-soft); color: var(--lj-ink); font-family: var(--font, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif); -webkit-font-smoothing: antialiased; }
:where(body.lj) a { color: inherit; }
.lj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* faixa de aviso */
.lj-promo { background: var(--lj-lime); color: var(--lj-navy); text-align: center; font-weight: 800; font-size: .8rem; padding: 7px 12px; letter-spacing: .02em; }
.lj-promo a { text-decoration: underline; }

/* cabeçalho */
.lj-head { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 rgba(15,23,42,.06); transition: box-shadow .25s; }
.lj-head.sc { box-shadow: 0 8px 24px rgba(15,23,42,.10); }
.lj-head-in { max-width: 1720px; margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; gap: 16px; transition: padding .25s; }
.lj-head.sc .lj-head-in { padding-top: 8px; padding-bottom: 8px; }
.lj-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.15rem; color: var(--lj-navy); white-space: nowrap; }
.lj-logo .lg { width: 44px; height: 44px; border-radius: 12px; background: var(--lj-navy); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .3s; }
.lj-logo:hover .lg { transform: rotate(-6deg) scale(1.06); }
.lj-logo .lg.has-img { background: transparent; } .lj-logo .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lj-search { flex: 1; display: flex; max-width: 640px; position: relative; }
.lj-search input { flex: 1; min-width: 0; padding: 13px 18px; border: 2px solid #e2e8f0; border-right: none; border-radius: 999px 0 0 999px; font-size: .95rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lj-search input:focus { outline: none; border-color: var(--lj-navy); box-shadow: 0 0 0 4px rgba(30,58,123,.10); }
.lj-search button { border: 2px solid var(--lj-navy); background: var(--lj-navy); color: #fff; padding: 0 22px; border-radius: 0 999px 999px 0; font-weight: 800; cursor: pointer; transition: filter .2s; }
.lj-search button:hover { filter: brightness(1.15); }
.lj-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lj-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--lj-lime); color: var(--lj-navy); font-weight: 900; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; font-size: .9rem; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(164,206,57,.35); }
.lj-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(164,206,57,.45); }
.lj-btn.alt { background: #fff; border: 2px solid var(--lj-navy); box-shadow: none; }
.lj-btn.wa { background: #25D366; color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,.35); }
.lj-burger { display: none; width: 44px; height: 44px; border: none; background: var(--lj-navy); color: #fff; border-radius: 12px; font-size: 1.3rem; cursor: pointer; }

/* menu + mega menu */
.lj-nav { background: var(--lj-navy); position: relative; }
.lj-nav-in { max-width: 1720px; margin: 0 auto; padding: 0 18px; display: flex; flex-wrap: wrap; }
.lj-nav-item { position: relative; }
.lj-nav-item > a { display: block; color: #fff; text-decoration: none; padding: 13px 15px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; position: relative; }
.lj-nav-item > a::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 7px; height: 2px; background: var(--lj-lime); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.lj-nav-item:hover > a::after, .lj-nav-item > a.on::after { transform: scaleX(1); }
.lj-drop { position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border-radius: 0 0 var(--lj-radius) var(--lj-radius); box-shadow: 0 24px 50px rgba(15,23,42,.22); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; z-index: 80; columns: 1; }
.lj-drop.wide { columns: 2; min-width: 460px; }
.lj-nav-item:hover .lj-drop, .lj-nav-item:focus-within .lj-drop { opacity: 1; visibility: visible; transform: none; }
.lj-drop a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .87rem; text-decoration: none; color: #1f2937; break-inside: avoid; transition: background .15s, padding-left .15s; }
.lj-drop a:hover { background: #eef3ff; padding-left: 16px; color: var(--lj-navy); }
.lj-drop a.all { font-weight: 800; color: var(--lj-navy); }

/* hero / banners */
.lj-wrap { max-width: 1720px; margin: 0 auto; padding: 18px; }
.lj-hero { position: relative; border-radius: 22px; overflow: hidden; background: #dbe3f0; display: grid; box-shadow: 0 20px 50px rgba(15,23,42,.14); margin-bottom: 22px; }
.lj-hero .b { grid-area: 1 / 1; opacity: 0; transition: opacity .9s; display: block; pointer-events: none; }
.lj-hero .b.on { opacity: 1; z-index: 1; pointer-events: auto; }
.lj-hero picture, .lj-hero img { display: block; width: 100%; height: auto; }
.lj-hero .t { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 28px 22px; color: #fff; font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,.4); background: linear-gradient(transparent, rgba(0,0,0,.55)); animation: ljUp .9s both; }
@keyframes ljUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lj-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--lj-navy); font-size: 1.3rem; cursor: pointer; opacity: 0; transition: opacity .25s, transform .2s; }
.lj-hero:hover .lj-arrow { opacity: 1; } .lj-arrow:hover { transform: translateY(-50%) scale(1.1); }
.lj-arrow.p { left: 14px; } .lj-arrow.n { right: 14px; }
.lj-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.lj-dots button { width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.lj-dots button.on { width: 28px; background: #fff; }

/* faixa de benefícios */
.lj-ben { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 26px; }
.lj-ben div { background: #fff; border-radius: var(--lj-radius); padding: 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 2px 10px rgba(15,23,42,.05); transition: transform .25s, box-shadow .25s; }
.lj-ben div:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,23,42,.10); }
.lj-ben .ic { font-size: 1.7rem; } .lj-ben strong { display: block; font-size: .9rem; } .lj-ben small { color: #64748b; }

/* títulos de seção */
.lj-sec { margin: 30px 0 14px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.lj-sec h2 { margin: 0; font-size: 1.45rem; font-weight: 900; position: relative; padding-bottom: 8px; }
.lj-sec h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--lj-lime); transition: width .35s; }
.lj-sec:hover h2::after { width: 90px; }
.lj-sec a.more { font-weight: 800; font-size: .85rem; color: var(--lj-navy); text-decoration: none; }

/* categorias em destaque */
.lj-tiles { gap: 22px; padding: 10px 6px 18px; }
.lj-tile { flex: 1 0 118px; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 118px; text-decoration: none; color: var(--lj-ink); scroll-snap-align: start; }
.lj-tile .ph { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; background: transparent; box-shadow: 0 0 0 3px var(--lj-lime), 0 10px 22px rgba(15,23,42,.14); display: flex; align-items: center; justify-content: center; transition: transform .35s, box-shadow .35s; }
.lj-tile:hover .ph { transform: translateY(-5px) scale(1.04); box-shadow: 0 0 0 3px var(--lj-navy), 0 16px 30px rgba(15,23,42,.22); }
.lj-tile .ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.lj-tile span.n { font-weight: 800; font-size: .92rem; text-align: center; }

/* carrossel horizontal */
.lj-rail { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding: 12px 4px 22px; margin: -8px -4px 0; scrollbar-width: none; }
.lj-rail::-webkit-scrollbar { display: none; }
.lj-rail > .lj-card { flex: 0 0 calc((100% - 3 * 18px) / 4); min-width: 210px; scroll-snap-align: start; }
@media (max-width: 1000px) { .lj-rail > .lj-card { flex-basis: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 700px) { .lj-rail > .lj-card { flex-basis: 62vw; min-width: 0; } }
.lj-rail.lj-tiles { justify-content: flex-start; }
.lj-rail.lj-tiles > :first-child { margin-left: auto; } .lj-rail.lj-tiles > :last-child { margin-right: auto; }
.lj-rail-wrap { position: relative; }
.lj-rail-btn { position: absolute; top: 34%; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; background: var(--lj-navy); color: #fff; font-size: 1.6rem; font-weight: 900; line-height: 1; cursor: pointer; box-shadow: 0 8px 22px rgba(15,23,42,.38); transition: transform .2s, background .2s; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.lj-rail-btn:hover { background: var(--lj-lime); color: var(--lj-navy); }
.lj-rail-btn:hover { transform: scale(1.1); } .lj-rail-btn.p { left: -14px; } .lj-rail-btn.n { right: -14px; }
.lj-rail-btn { top: 38%; }
@media (max-width: 760px) { .lj-rail-btn { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .lj-rail-btn.p { left: 4px; } .lj-rail-btn.n { right: 4px; } }   /* em janela estreita as setas ficam DENTRO da vitrine (para fora criavam ~4 px de rolagem lateral com barra de rolagem clássica) */

/* cards (foto grande, nome centralizado, botões empilhados — base megatoon.org) */
.lj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.lj-card { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(15,23,42,.04); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; position: relative; }
.lj-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15,23,42,.14); border-color: var(--lj-navy); }
.lj-card-main { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.lj-img { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: .8rem; }
.lj-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(226,232,240,.7) 50%, transparent 70%); animation: ljShim 1.4s infinite; }
.lj-img.ok::before { display: none; }
@keyframes ljShim { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lj-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform .6s, opacity .4s; }
.lj-img img.h { opacity: 0; } .lj-card:hover .lj-img img.h { opacity: 1; } .lj-card:hover .lj-img img { transform: scale(1.06); }
.lj-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #ef4444; color: #fff; font-size: .7rem; font-weight: 900; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.lj-badge.new { background: var(--lj-navy); left: auto; right: 12px; }
.lj-info { padding: 2px 16px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; text-align: center; }
.lj-info .cod { font-size: .7rem; color: #64748b; font-weight: 800; letter-spacing: .05em; }
.lj-info .nome { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--lj-ink); min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lj-info .var { font-size: .76rem; color: #64748b; font-weight: 700; }
.lj-cta { display: grid; gap: 8px; padding: 6px 14px 16px; }
.lj-cta a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 10px; border-radius: 10px; font-weight: 800; font-size: .84rem; text-decoration: none; text-align: center; transition: filter .2s, background .2s, color .2s; }
.lj-cta .a { background: var(--lj-navy); color: #fff; } .lj-cta .a:hover { filter: brightness(1.2); }
.lj-cta .b { background: #fff; color: #128c4a; border: 1.5px solid #25D366; } .lj-cta .b:hover { background: #25D366; color: #fff; }
/* listagem com barra lateral */
.lj-lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.lj-side { background: #fff; border-radius: var(--lj-radius); padding: 14px; position: sticky; top: 92px; box-shadow: 0 2px 12px rgba(15,23,42,.06); }
.lj-side h3 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.lj-side details { border-bottom: 1px solid #eef1f6; } .lj-side details:last-child { border: none; }
.lj-side summary { list-style: none; cursor: pointer; padding: 10px 6px; font-weight: 800; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; }
.lj-side summary::-webkit-details-marker { display: none; }
.lj-side summary::after { content: '+'; font-size: 1.2rem; color: var(--lj-navy); transition: transform .25s; }
.lj-side details[open] summary::after { content: '−'; }
.lj-side .subs { padding: 0 0 8px 8px; display: flex; flex-direction: column; }
.lj-side .subs a { padding: 6px 8px; border-radius: 8px; text-decoration: none; font-size: .84rem; color: #334155; transition: background .15s, padding-left .15s; }
.lj-side .subs a:hover, .lj-side .subs a.on { background: #eef3ff; color: var(--lj-navy); padding-left: 12px; font-weight: 800; }
.lj-bc { font-size: .8rem; color: #64748b; margin: 0 0 12px; } .lj-bc a { text-decoration: none; color: var(--lj-navy); font-weight: 700; } .lj-bc a:hover { text-decoration: underline; }
.lj-h1 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 900; }
.lj-seo-txt { color: #475569; line-height: 1.7; font-size: .95rem; max-width: 900px; margin: 0 0 16px; white-space: pre-line; }
.lj-pag { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.lj-pag a, .lj-pag span { min-width: 40px; text-align: center; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid #dbe5f0; text-decoration: none; font-weight: 800; font-size: .86rem; transition: transform .15s; }
.lj-pag a:hover { transform: translateY(-2px); } .lj-pag .on { background: var(--lj-navy); color: #fff; border-color: var(--lj-navy); }

/* produto */
.lj-det { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 34px; align-items: start; background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 8px 30px rgba(15,23,42,.07); }
.lj-gal .main { position: relative; aspect-ratio: 1; max-height: 460px; margin: 0 auto; background: #f4f6fb; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.lj-gal .main img { width: 100%; height: 100%; object-fit: contain; transition: transform .15s ease-out; }
.lj-gal .main.zoom img { transform: scale(2); }
.lj-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.lj-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: transform .2s, border-color .2s; }
.lj-thumbs img:hover { transform: translateY(-3px); } .lj-thumbs img.on { border-color: var(--lj-navy); }
.lj-det h1 { margin: 6px 0 14px; font-size: 1.7rem; line-height: 1.2; font-weight: 900; }
.lj-meta { font-size: .78rem; color: #64748b; font-weight: 800; letter-spacing: .04em; }
.lj-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 16px; }
.lj-chips span { padding: 6px 12px; background: #f1f5f9; border-radius: 10px; font-size: .82rem; font-weight: 700; }
.lj-chips span.no { opacity: .45; text-decoration: line-through; }
.lj-lock { background: linear-gradient(135deg, #f6f9ff, #eef3ff); border: 1.5px dashed #b8c9ee; border-radius: 16px; padding: 18px; margin: 16px 0; }
.lj-lock b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.lj-ean { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; background: #f8fafc; border: 1px solid #e2e8f0; padding: 3px 8px; border-radius: 6px; margin: 2px 4px 2px 0; display: inline-block; }
.lj-desc { color: #475569; line-height: 1.75; }

/* rodapé */
.lj-foot { background: var(--lj-navy); color: rgba(255,255,255,.85); margin-top: 46px; }
.lj-foot-grid { max-width: 1720px; margin: 0 auto; padding: 38px 18px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.lj-foot h4 { margin: 0 0 12px; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.lj-foot a { display: block; color: rgba(255,255,255,.8); text-decoration: none; padding: 4px 0; font-size: .88rem; transition: color .15s, padding-left .15s; }
.lj-foot a:hover { color: var(--lj-lime); padding-left: 5px; }
.lj-foot p { font-size: .86rem; line-height: 1.7; white-space: pre-line; margin: 0 0 10px; }
.lj-foot-bar { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 14px; font-size: .78rem; color: rgba(255,255,255,.6); }
.lj-top-btn { position: fixed; right: 24px; bottom: 92px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--lj-navy); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.lj-top-btn.on { opacity: 1; pointer-events: auto; } .lj-top-btn:hover { transform: translateY(-3px); }
.lj-wa-fix { position: fixed; right: 18px; bottom: 18px; z-index: 75; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 22px rgba(37,211,102,.55); transition: transform .25s; }
.lj-wa-fix:hover { transform: scale(1.1); }
.lj-wa-fix::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .5; animation: ljRing 2.2s infinite; z-index: -1; }
@keyframes ljRing { from { transform: scale(1); opacity: .5; } to { transform: scale(1.75); opacity: 0; } }
/* animação de entrada ao rolar */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .lj-hero .b.on img, .lj-hero .t, .lj-wa-fix::before, .lj-img::before { animation: none; } html { scroll-behavior: auto; } }

/* celular */
@media (max-width: 900px) {
  .lj-lay { grid-template-columns: 1fr; } .lj-side { position: static; order: 2; }   /* no celular os produtos vêm primeiro; categorias/blog ficam depois */
  .lj-det { grid-template-columns: 1fr; padding: 14px; } .lj-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lj-burger { display: inline-block; } .lj-head-in { flex-wrap: wrap; padding: 10px 12px; gap: 10px; } .lj-search { order: 3; flex-basis: 100%; max-width: none; }
  .lj-nav { display: none; } .lj-nav.open { display: block; } .lj-nav-in { flex-direction: column; padding: 4px 0; }
  .lj-nav-item > a::after { display: none; }
  .lj-drop, .lj-drop.wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.07); border-radius: 0; columns: 1; min-width: 0; display: none; padding: 4px 8px; }
  .lj-nav-item.open .lj-drop { display: block; } .lj-drop a { color: #fff; } .lj-drop a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .lj-hero { border-radius: 14px; } .lj-wrap { padding: 12px; } .lj-foot-grid { grid-template-columns: 1fr; }
  .lj-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .lj-actions .lj-btn span.tx { display: none; }
  .lj-img img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .lj-info { padding: 0 8px 6px; } .lj-info .nome { font-size: .86rem; } .lj-cta { padding: 4px 8px 10px; gap: 6px; } .lj-cta a { font-size: .72rem; padding: 9px 4px; }
  .lj-wa-fix { width: 54px; height: 54px; right: 12px; bottom: 12px; } .lj-top-btn { right: 18px; bottom: 78px; width: 40px; height: 40px; }
}

/* páginas HTML e mapa do site */
.lj-page { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 8px 30px rgba(15,23,42,.07); line-height: 1.75; color: #334155; }
.lj-page img { max-width: 100%; height: auto; border-radius: 12px; }
.lj-page h2 { color: var(--lj-ink); margin-top: 1.4em; } .lj-page a { color: var(--lj-navy); text-decoration: underline; }
.lj-page table { border-collapse: collapse; max-width: 100%; } .lj-page td, .lj-page th { border: 1px solid #e2e8f0; padding: 8px 12px; }
.lj-map-prod { columns: 3 260px; font-size: .88rem; }
@media (max-width: 760px) { .lj-page { padding: 16px; } }

/* produto: botões */
.lj-det-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* blog */
.lj-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.lj-post { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.lj-post:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(15,23,42,.13); }
.lj-post-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; background: #eef2f7; overflow: hidden; color: #94a3b8; text-decoration: none; }
.lj-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .lj-post:hover .lj-post-img img { transform: scale(1.06); }
.lj-post-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lj-post-meta { font-size: .78rem; color: #64748b; font-weight: 700; }
.lj-post h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; } .lj-post h3 a { text-decoration: none; color: var(--lj-ink); }
.lj-post p { margin: 0; color: #475569; font-size: .9rem; line-height: 1.55; }
.lj-post .more { margin-top: auto; font-weight: 800; color: var(--lj-navy); text-decoration: none; font-size: .86rem; }
.lj-article { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 8px 30px rgba(15,23,42,.07); min-width: 0; }
.lj-cover { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 16px; margin: 14px 0 20px; display: block; }
.lj-page-body { line-height: 1.8; color: #334155; font-size: 1.02rem; overflow-wrap: anywhere; }
.lj-page-body img { max-width: 100%; height: auto; border-radius: 12px; } .lj-page-body a { color: var(--lj-navy); text-decoration: underline; }
.lj-page-body h2, .lj-page-body h3 { color: var(--lj-ink); line-height: 1.25; margin-top: 1.5em; }
.lj-video { position: relative; aspect-ratio: 16/9; margin: 1.2em 0; } .lj-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.lj-share { margin: 24px 0 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 800; font-size: .88rem; }
.lj-share a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid #cbd5e1; text-decoration: none; font-weight: 800; font-size: .82rem; transition: background .2s, color .2s; } .lj-share a:hover { background: var(--lj-navy); color: #fff; border-color: var(--lj-navy); }
.lj-sidepost { display: block; margin: 0 0 16px; text-decoration: none; color: inherit; text-align: center; }
.lj-sidepost img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; transition: transform .4s; } .lj-sidepost:hover img { transform: scale(1.03); }
.lj-sidepost .t { display: block; font-weight: 700; font-size: .88rem; margin-top: 6px; line-height: 1.3; } .lj-sidepost .d { display: block; font-size: .74rem; color: #64748b; margin-top: 2px; }
.lj-side-blog { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid #eef1f6; }
.lj-side-more { display: block; text-align: center; font-weight: 800; font-size: .84rem; color: var(--lj-navy); text-decoration: none; margin-top: 4px; }
.lj-foot .lj-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lj-foot .lj-social a { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .8rem; }
.lj-foot .lj-social a:hover { padding-left: 14px; background: var(--lj-lime); color: var(--lj-navy); border-color: var(--lj-lime); }
@media (max-width: 760px) { .lj-article { padding: 16px; } .lj-posts { grid-template-columns: 1fr; } }

/* telas largas: o conteúdo ocupa mais a tela (antes parava em 1280px e sobrava espaço dos lados) */
.lj-hero { max-width: 1440px; margin-left: auto; margin-right: auto; }
@media (min-width: 1500px) { .lj-rail > .lj-card { flex-basis: calc((100% - 4 * 18px) / 5); } .lj-wrap, .lj-head-in, .lj-nav-in { padding-left: 28px; padding-right: 28px; } }
@media (min-width: 1900px) { .lj-rail > .lj-card { flex-basis: calc((100% - 5 * 18px) / 6); } }

/* banner da loja: não ocupa a tela toda */
.lj-hero img { max-height: clamp(190px, 27vw, 430px); object-fit: cover; object-position: center; }
@media (max-width: 760px) { .lj-hero img { max-height: 56vw; } }

/* blog em destaque na tela inicial (não se confunde com produto) */
.lj-blogsec { margin: 34px 0 10px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--lj-navy), #2c55b0); box-shadow: 0 18px 40px rgba(30,58,123,.25); }
.lj-blogsec-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; color: #fff; }
.lj-blogsec-h .tag { background: var(--lj-lime); color: var(--lj-navy); font-weight: 900; font-size: .78rem; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; }
.lj-blogsec-h h2 { margin: 0; font-size: 1.35rem; font-weight: 900; flex: 1; min-width: 200px; }
.lj-blogsec-h .more { color: #fff; font-weight: 800; font-size: .85rem; text-decoration: none; border: 2px solid rgba(255,255,255,.55); padding: 8px 14px; border-radius: 999px; } .lj-blogsec-h .more:hover { background: #fff; color: var(--lj-navy); }
@media (max-width: 760px) { .lj-blogsec { padding: 16px; border-radius: 16px; } }

/* item Blog no menu em destaque */
.lj-nav-item.blog > a { background: var(--lj-lime); color: var(--lj-navy); border-radius: 999px; margin: 7px 0 7px 8px; padding: 7px 16px; font-weight: 900; }
.lj-nav-item.blog > a::after { display: none; } .lj-nav-item.blog > a:hover { filter: brightness(1.08); }
/* banner da loja: sem cortar a arte; o tamanho vem da largura (ideal 1600x450 => ~360px de altura) */
.lj-hero { max-width: 1280px; }
.lj-hero img { max-height: none; object-fit: fill; }
@media (max-width: 760px) { .lj-hero img { max-height: none; } }

/* ===== consumidor final: preço, carrinho e compra ===== */
.lj-price { margin-top: 6px; font-size: 1.15rem; font-weight: 900; color: var(--lj-navy); }
#ljCartBtn b { background: var(--lj-lime); color: var(--lj-navy); border-radius: 999px; padding: 1px 8px; font-size: .78rem; margin-left: 4px; }
.lj-buy { margin: 14px 0; } .lj-vtab { border-collapse: collapse; width: 100%; margin-bottom: 12px; }
.lj-vtab td { padding: 9px 8px; border-bottom: 1px solid #e8edf5; vertical-align: middle; } .lj-vtab .p { font-weight: 800; color: var(--lj-navy); white-space: nowrap; } .lj-vtab .no { color: #94a3b8; font-weight: 700; font-size: .85rem; }
.lj-qty { display: inline-flex; align-items: center; border: 1.5px solid #cbd5e1; border-radius: 999px; overflow: hidden; background: #fff; }
.lj-qty button { width: 34px; height: 34px; border: none; background: #f1f5f9; font-size: 1.1rem; font-weight: 900; cursor: pointer; color: var(--lj-navy); } .lj-qty button:hover { background: #e2e8f0; }
.lj-qty input { width: 48px; height: 34px; border: none; text-align: center; font-weight: 800; -moz-appearance: textfield; } .lj-qty input::-webkit-outer-spin-button, .lj-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lj-addmsg { font-weight: 700; color: #166534; margin-left: 8px; font-size: .88rem; }
.lj-drawer-bg { position: fixed; inset: 0; background: rgba(15,23,42,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; } .lj-drawer-bg.on { opacity: 1; visibility: visible; }
.lj-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 91; transform: translateX(105%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(15,23,42,.2); } .lj-drawer.on { transform: none; }
.lj-drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid #e8edf5; } .lj-drawer-h button { border: none; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lj-drawer-b { flex: 1; overflow: auto; padding: 8px 18px; } .lj-empty { color: #64748b; text-align: center; padding: 30px 0; }
.lj-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f6; } .lj-line.off { opacity: .55; }
.lj-line .im { width: 64px; height: 64px; border-radius: 10px; background: #f1f5f9; overflow: hidden; } .lj-line .im img { width: 100%; height: 100%; object-fit: contain; }
.lj-line .tx strong { display: block; font-size: .88rem; line-height: 1.25; } .lj-line .tx small { display: block; color: #64748b; margin: 2px 0; } .lj-line .tx small.bad { color: #b91c1c; font-weight: 700; } .lj-line .lj-qty { margin-top: 6px; } .lj-line .lj-qty button { width: 28px; height: 28px; } .lj-line .lj-qty input { width: 38px; height: 28px; }
.lj-line .rt { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; } .lj-line .x { border: none; background: none; color: #94a3b8; font-size: 1.4rem; cursor: pointer; }
.lj-drawer-f { padding: 14px 18px 18px; border-top: 1px solid #e8edf5; display: grid; gap: 8px; } .lj-drawer-f .tot { display: flex; justify-content: space-between; font-size: 1.05rem; } .lj-drawer-f small { color: #64748b; } .lj-drawer-f .lj-btn { justify-content: center; } .lj-drawer-f .lj-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== Modelos de visual (Loja: Conteúdo → Tela inicial e visual) — cada um muda cabeçalho, menu, grade, cartões e seções ===== */

/* ---------- BOUTIQUE (visual): estrutura elegante — logo ao centro, busca discreta, menu centrado e espaçado, fotos grandes em retrato, cartões sem moldura. CORES: só as do tema (Aparência). ---------- */
.lj-tpl-visual .lj-wrap { max-width: 1480px; }
.lj-tpl-visual .lj-head { box-shadow: none; border-bottom: 1px solid #e8edf5; }
@media (min-width: 901px) {
  .lj-tpl-visual .lj-head-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding: 22px 28px; }
  .lj-tpl-visual .lj-logo { grid-column: 2; grid-row: 1; flex-direction: column; text-align: center; gap: 6px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 1.25rem; }
  .lj-tpl-visual .lj-logo .lg { width: 58px; height: 58px; border-radius: 50%; }
  .lj-tpl-visual .lj-search { grid-column: 1; grid-row: 1; max-width: 320px; }
  .lj-tpl-visual .lj-search input { border: none; border-bottom: 1.5px solid var(--lj-navy); border-radius: 0; background: transparent; padding: 10px 4px; }
  .lj-tpl-visual .lj-search button { border: none; background: transparent; color: var(--lj-navy); padding: 0 8px; font-size: 0; } .lj-tpl-visual .lj-search button::after { content: '🔍'; font-size: 1.1rem; }
  .lj-tpl-visual .lj-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .lj-tpl-visual .lj-head.sc .lj-head-in { padding-top: 10px; padding-bottom: 10px; }
}
.lj-tpl-visual .lj-btn { border-radius: 0; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; box-shadow: none; }
.lj-tpl-visual .lj-nav-in { justify-content: center; }
.lj-tpl-visual .lj-nav-item > a { font-weight: 600; letter-spacing: .16em; font-size: .76rem; padding: 15px 16px; }
.lj-tpl-visual .lj-nav-item.blog > a { border-radius: 0; }
.lj-tpl-visual .lj-drop { border-radius: 0; }
.lj-tpl-visual .lj-hero { border-radius: 0; box-shadow: none; }
.lj-tpl-visual .lj-hero img { max-height: clamp(220px, 40vw, 560px); }
.lj-tpl-visual .lj-sec { justify-content: center; text-align: center; margin: 54px 0 22px; }
.lj-tpl-visual .lj-sec h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.9rem; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 12px; }
.lj-tpl-visual .lj-sec h2::after { left: 50%; margin-left: -30px; width: 60px; height: 2px; }
.lj-tpl-visual .lj-sec:hover h2::after { width: 60px; }
.lj-tpl-visual .lj-sec a.more { display: none; }
.lj-tpl-visual .lj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.lj-tpl-visual .lj-rail > .lj-card { flex-basis: calc((100% - 3 * 26px) / 4); min-width: 240px; } .lj-tpl-visual .lj-rail { gap: 26px; }
.lj-tpl-visual .lj-card { background: transparent; border: none; border-radius: 0; box-shadow: none; overflow: visible; }
.lj-tpl-visual .lj-card:hover { transform: none; box-shadow: none; border: none; }
.lj-tpl-visual .lj-img { aspect-ratio: 4 / 5; background: #fff; }
.lj-tpl-visual .lj-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lj-tpl-visual .lj-info { padding: 14px 0 6px; } .lj-tpl-visual .lj-info .cod, .lj-tpl-visual .lj-info .var { display: none; }
.lj-tpl-visual .lj-info .nome { font-size: .95rem; font-weight: 500; min-height: 2.6em; letter-spacing: .02em; }
.lj-tpl-visual .lj-price { font-size: 1rem; font-weight: 600; }
.lj-tpl-visual .lj-cta { padding: 4px 0 0; } .lj-tpl-visual .lj-cta .b { display: none; }
.lj-tpl-visual .lj-cta .a { border-radius: 0; background: transparent; color: var(--lj-navy); border: 1.5px solid var(--lj-navy); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.lj-tpl-visual .lj-cta .a:hover { background: var(--lj-navy); color: #fff; filter: none; }
.lj-tpl-visual .lj-badge { border-radius: 0; }
.lj-tpl-visual .lj-tiles { justify-content: center; }
.lj-tpl-visual .lj-tile { flex: 0 0 170px; width: 170px; }
.lj-tpl-visual .lj-tile .ph { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; box-shadow: none; }
.lj-tpl-visual .lj-tile:hover .ph { transform: none; box-shadow: none; } .lj-tpl-visual .lj-tile .ph img { mix-blend-mode: normal; object-fit: cover; }
.lj-tpl-visual .lj-tile span.n { font-family: Georgia, serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.lj-tpl-visual .lj-blogsec { border-radius: 0; }
@media (max-width: 1000px) { .lj-tpl-visual .lj-rail > .lj-card { flex-basis: calc((100% - 26px) / 2); } }
@media (max-width: 700px) { .lj-tpl-visual .lj-rail > .lj-card { flex-basis: 70vw; } .lj-tpl-visual .lj-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } .lj-tpl-visual .lj-sec h2 { font-size: 1.3rem; } .lj-tpl-visual .lj-tile { flex-basis: 120px; width: 120px; } }

/* ---------- MARKETPLACE (compacto): busca larga, categorias SEMPRE na lateral (inclusive na home), muitos produtos por linha. CORES: as do tema. ---------- */
.lj-tpl-compacto .lj-wrap { max-width: 1760px; padding: 14px 18px; }
.lj-tpl-compacto .lj-head-in { padding: 10px 18px; gap: 18px; }
.lj-tpl-compacto .lj-search { max-width: none; }
.lj-tpl-compacto .lj-btn { border-radius: 8px; padding: 10px 16px; font-size: .82rem; }
@media (min-width: 901px) { .lj-tpl-compacto .lj-nav { display: none; } }
.lj-tpl-compacto .lj-promo { font-size: .74rem; padding: 5px 10px; }
.lj-tpl-compacto .lj-lay { grid-template-columns: 270px minmax(0, 1fr); gap: 14px; } .lj-tpl-compacto .lj-lay > * { min-width: 0; }
.lj-tpl-compacto .lj-side { top: 70px; border-radius: 8px; box-shadow: none; border: 1px solid #e3e9f2; }
.lj-tpl-compacto .lj-hero { border-radius: 8px; box-shadow: none; margin-bottom: 12px; width: 100%; max-width: none; margin-left: 0; } .lj-tpl-compacto .lj-hero img { max-height: none; object-fit: cover; }
.lj-tpl-compacto .lj-sec { margin: 18px 0 8px; padding: 8px 12px; background: #fff; border-left: 5px solid var(--lj-lime); border-radius: 4px; align-items: center; }
.lj-tpl-compacto .lj-sec h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; padding: 0; } .lj-tpl-compacto .lj-sec h2::after { display: none; }
.lj-tpl-compacto .lj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lj-tpl-compacto .lj-rail { gap: 10px; } .lj-tpl-compacto .lj-rail > .lj-card { flex-basis: calc((100% - 5 * 10px) / 6); min-width: 150px; }
.lj-tpl-compacto .lj-card { border-radius: 6px; box-shadow: none; } .lj-tpl-compacto .lj-card:hover { transform: none; box-shadow: 0 4px 14px rgba(15,23,42,.14); }
.lj-tpl-compacto .lj-img img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.lj-tpl-compacto .lj-info { padding: 0 10px 6px; text-align: left; } .lj-tpl-compacto .lj-info .nome { font-size: .82rem; min-height: 3.3em; font-weight: 600; } .lj-tpl-compacto .lj-info .cod { font-size: .66rem; } .lj-tpl-compacto .lj-info .var { font-size: .68rem; }
.lj-tpl-compacto .lj-price { font-size: 1.1rem; }
.lj-tpl-compacto .lj-cta { padding: 4px 10px 10px; gap: 5px; } .lj-tpl-compacto .lj-cta a { padding: 7px 6px; font-size: .72rem; border-radius: 6px; }
.lj-tpl-compacto .lj-cardbuy .lj-qty button { width: 26px; height: 32px; } .lj-tpl-compacto .lj-cardbuy .lj-qty input { height: 32px; }
.lj-tpl-compacto .lj-badge { font-size: .62rem; padding: 3px 8px; top: 6px; left: 6px; } .lj-tpl-compacto .lj-badge.new { right: 6px; }
.lj-tpl-compacto .lj-blogsec { border-radius: 6px; padding: 14px; }
@media (max-width: 1100px) { .lj-tpl-compacto .lj-rail > .lj-card { flex-basis: calc((100% - 3 * 10px) / 4); } }
@media (max-width: 900px) { .lj-tpl-compacto .lj-lay { grid-template-columns: minmax(0, 1fr); } .lj-tpl-compacto .lj-side { position: static; order: 2; } .lj-tpl-compacto .lj-wrap { padding: 10px; } }
@media (max-width: 700px) { .lj-tpl-compacto .lj-rail > .lj-card { flex-basis: 44vw; min-width: 0; } .lj-tpl-compacto .lj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .lj-tpl-compacto .lj-info .nome { font-size: .78rem; } .lj-tpl-compacto .lj-sec { padding: 6px 10px; } }

/* ---------- AMPLA (tela cheia): sem margens laterais, 6+ colunas, cartões quadrados e leves. CORES: as do tema. ---------- */
.lj-tpl-ampla .lj-wrap, .lj-tpl-ampla .lj-head-in, .lj-tpl-ampla .lj-nav-in, .lj-tpl-ampla .lj-foot-grid { max-width: none; }
.lj-tpl-ampla .lj-wrap { padding: 18px 28px; } .lj-tpl-ampla .lj-head-in, .lj-tpl-ampla .lj-nav-in { padding-left: 28px; padding-right: 28px; }
.lj-tpl-ampla .lj-search { max-width: none; }
.lj-tpl-ampla .lj-hero { max-width: none; } .lj-tpl-ampla .lj-hero img { max-height: none; object-fit: cover; }
.lj-tpl-ampla .lj-sec h2::after { width: 100%; height: 2px; border-radius: 0; background: #e3e9f2; } .lj-tpl-ampla .lj-sec h2 { display: block; width: 100%; } .lj-tpl-ampla .lj-sec { display: block; } .lj-tpl-ampla .lj-sec a.more { display: inline-block; margin-top: 6px; }
.lj-tpl-ampla .lj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lj-tpl-ampla .lj-rail > .lj-card { flex-basis: calc((100% - 6 * 16px) / 7); min-width: 170px; } .lj-tpl-ampla .lj-rail { gap: 16px; }
.lj-tpl-ampla .lj-card { border-radius: 0; border: none; box-shadow: none; background: #fff; } .lj-tpl-ampla .lj-card:hover { transform: none; box-shadow: 0 10px 26px rgba(15,23,42,.14); }
.lj-tpl-ampla .lj-info { text-align: left; padding: 2px 14px 8px; } .lj-tpl-ampla .lj-info .nome { font-size: .9rem; min-height: 3.2em; }
.lj-tpl-ampla .lj-price { font-size: 1.1rem; }
.lj-tpl-ampla .lj-cta { padding: 4px 14px 14px; } .lj-tpl-ampla .lj-cta a { border-radius: 0; }
@media (max-width: 1100px) { .lj-tpl-ampla .lj-rail > .lj-card { flex-basis: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 700px) { .lj-tpl-ampla .lj-wrap { padding: 12px; } .lj-tpl-ampla .lj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .lj-tpl-ampla .lj-rail > .lj-card { flex-basis: 46vw; min-width: 0; } }

/* ================= MAIS 3 MODELOS (só estrutura; cores = Aparência: --lj-navy / --lj-lime) ================= */

/* ---------- LISTA (reposição de atacado): uma linha por produto, foto pequena, preço e quantidade à direita ---------- */

.lj-tpl-lista .lj-wrap { max-width: 1280px; }
.lj-tpl-lista .lj-grid { grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid #e3e9f2; border-radius: 12px; overflow: hidden; }
.lj-tpl-lista .lj-card { flex-direction: row; align-items: center; gap: 14px; border: none; border-bottom: 1px solid #eef1f6; border-radius: 0; box-shadow: none; padding: 8px 14px; background: transparent; }
.lj-tpl-lista .lj-card:hover { transform: none; box-shadow: none; background: #f8faff; border-color: #eef1f6; }
.lj-tpl-lista .lj-card:last-child { border-bottom: none; }
.lj-tpl-lista .lj-card-main { flex-direction: row; align-items: center; gap: 14px; min-width: 0; }
.lj-tpl-lista .lj-img { width: 76px; height: 76px; aspect-ratio: auto; flex: 0 0 76px; border-radius: 8px; border: 1px solid #eef1f6; }
.lj-tpl-lista .lj-img img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); } .lj-tpl-lista .lj-img img.h { display: none; }
.lj-tpl-lista .lj-info { text-align: left; padding: 0; flex: 1; min-width: 0; gap: 2px; }
.lj-tpl-lista .lj-info .nome { font-size: .95rem; min-height: 0; -webkit-line-clamp: 2; }
.lj-tpl-lista .lj-price { margin: 0; font-size: 1.05rem; }
.lj-tpl-lista .lj-cta { display: flex; align-items: center; gap: 8px; padding: 0; flex: 0 0 230px; justify-content: flex-end; }
.lj-tpl-lista .lj-cta a { padding: 9px 12px; font-size: .78rem; } .lj-tpl-lista .lj-cardbuy { width: 100%; }
.lj-tpl-lista .lj-badge { position: static; display: inline-block; align-self: flex-start; margin-bottom: 2px; font-size: .6rem; padding: 2px 8px; }
.lj-tpl-lista .lj-rail > .lj-card { flex: 0 0 min(320px, 80vw); border: 1px solid #e3e9f2; border-radius: 12px; background: #fff; }
.lj-tpl-lista .lj-sec h2::after { display: none; } .lj-tpl-lista .lj-sec h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 700px) {
  .lj-tpl-lista .lj-card { flex-wrap: wrap; align-items: flex-start; } .lj-tpl-lista .lj-card-main { flex: 1 1 100%; }
  .lj-tpl-lista .lj-img { width: 64px; height: 64px; flex-basis: 64px; } .lj-tpl-lista .lj-cta { flex: 1 1 100%; justify-content: stretch; padding-top: 4px; }
}

/* ---------- EDITORIAL (mosaico): foto manda; nome sobre a imagem; o 1º produto de cada faixa em destaque grande ---------- */
.lj-tpl-editorial .lj-head { position: static; background: #fff; backdrop-filter: none; }
@media (min-width: 901px) {
  .lj-tpl-editorial .lj-head-in { flex-wrap: wrap; justify-content: space-between; padding-bottom: 6px; }
  .lj-tpl-editorial .lj-search { order: 3; flex: 1 0 100%; max-width: none; margin-top: 4px; }
  .lj-tpl-editorial .lj-search input { background: var(--lj-soft); border-color: transparent; }
}
.lj-tpl-editorial .lj-nav { background: #fff; border-bottom: 1px solid #e8edf5; }
.lj-tpl-editorial .lj-nav-in { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.lj-tpl-editorial .lj-nav-item > a { color: var(--lj-navy); background: var(--lj-soft); border-radius: 999px; padding: 8px 16px; text-transform: none; letter-spacing: 0; font-size: .86rem; }
.lj-tpl-editorial .lj-nav-item > a::after { display: none; } .lj-tpl-editorial .lj-nav-item:hover > a, .lj-tpl-editorial .lj-nav-item > a.on { background: var(--lj-navy); color: #fff; }
.lj-tpl-editorial .lj-nav-item.blog > a { background: var(--lj-lime); color: var(--lj-navy); margin: 0; padding: 8px 16px; }
.lj-tpl-editorial .lj-drop { top: calc(100% + 6px); border-radius: 14px; }
.lj-tpl-editorial .lj-grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.lj-tpl-editorial .lj-grid > .lj-card:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.lj-tpl-editorial .lj-card { border: none; border-radius: 18px; background: var(--lj-navy); box-shadow: none; display: block; min-height: 340px; }
.lj-tpl-editorial .lj-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15,23,42,.2); }
.lj-tpl-editorial .lj-card-main { position: absolute; inset: 0; }
.lj-tpl-editorial .lj-img { position: absolute; inset: 0; aspect-ratio: auto; background: #fff; }
.lj-tpl-editorial .lj-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lj-tpl-editorial .lj-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 14px 70px; background: linear-gradient(transparent, rgba(0,0,0,.72)); text-align: left; }
.lj-tpl-editorial .lj-info .nome, .lj-tpl-editorial .lj-info .cod, .lj-tpl-editorial .lj-info .var { color: #fff; } .lj-tpl-editorial .lj-info .cod, .lj-tpl-editorial .lj-info .var { opacity: .8; }
.lj-tpl-editorial .lj-info .nome { min-height: 0; font-size: .95rem; }
.lj-tpl-editorial .lj-price { color: var(--lj-lime); font-size: 1.15rem; }
.lj-tpl-editorial .lj-grid > .lj-card:nth-child(7n+1) .lj-info .nome { font-size: 1.3rem; -webkit-line-clamp: 2; }
.lj-tpl-editorial .lj-cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: transparent; z-index: 2; }
.lj-tpl-editorial .lj-cta a, .lj-tpl-editorial .lj-cardbuy .lj-qty { background: rgba(255,255,255,.95); border-radius: 999px; } .lj-tpl-editorial .lj-cta .a { color: var(--lj-navy); } .lj-tpl-editorial .lj-cta .b { display: none; }
.lj-tpl-editorial .lj-badge { z-index: 3; }
.lj-tpl-editorial .lj-rail > .lj-card { flex: 0 0 min(300px, 76vw); min-height: 380px; }
@media (max-width: 1000px) { .lj-tpl-editorial .lj-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .lj-tpl-editorial .lj-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .lj-tpl-editorial .lj-card { min-height: 250px; } .lj-tpl-editorial .lj-grid > .lj-card:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; min-height: 300px; } }

/* ---------- APP (celular em primeiro lugar): coluna estreita, categorias em fichas que rolam, cartões grandes para o toque ---------- */
.lj-tpl-app .lj-wrap { max-width: 1040px; }
.lj-tpl-app .lj-head-in { max-width: 1040px; padding: 10px 14px; gap: 10px; }
.lj-tpl-app .lj-logo .lg { width: 38px; height: 38px; border-radius: 50%; } .lj-tpl-app .lj-logo { font-size: 1rem; }
.lj-tpl-app .lj-search input { border-radius: 14px; background: var(--lj-soft); border-color: transparent; padding: 12px 16px; }
.lj-tpl-app .lj-search button { display: none; }
.lj-tpl-app .lj-btn { border-radius: 14px; padding: 10px 14px; box-shadow: none; }
.lj-tpl-app .lj-btn .tx { display: none; } .lj-tpl-app #ljCartBtn .tx { display: none; }
.lj-tpl-app .lj-nav { background: #fff; border-bottom: 1px solid #e8edf5; }
.lj-tpl-app .lj-nav-in { max-width: 1040px; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 10px 14px; scrollbar-width: none; }
.lj-tpl-app .lj-nav-in::-webkit-scrollbar { display: none; }
.lj-tpl-app .lj-nav-item { flex: 0 0 auto; }
.lj-tpl-app .lj-nav-item > a { background: var(--lj-soft); color: var(--lj-navy); border-radius: 999px; padding: 9px 16px; text-transform: none; letter-spacing: 0; font-size: .86rem; white-space: nowrap; }
.lj-tpl-app .lj-nav-item > a::after, .lj-tpl-app .lj-drop { display: none; }
.lj-tpl-app .lj-nav-item > a.on { background: var(--lj-navy); color: #fff; } .lj-tpl-app .lj-nav-item.blog > a { background: var(--lj-lime); margin: 0; }
.lj-tpl-app .lj-burger { display: none; }
@media (max-width: 900px) { .lj-tpl-app .lj-nav { display: block; } .lj-tpl-app .lj-nav-in { display: flex; } }
.lj-tpl-app .lj-hero { border-radius: 0; }
.lj-tpl-app .lj-sec { margin: 22px 0 10px; } .lj-tpl-app .lj-sec h2 { font-size: 1.15rem; } .lj-tpl-app .lj-sec h2::after { display: none; }
.lj-tpl-app .lj-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lj-tpl-app .lj-card { border-radius: 18px; border: none; box-shadow: 0 2px 10px rgba(15,23,42,.08); }
.lj-tpl-app .lj-card:hover { transform: none; }
.lj-tpl-app .lj-info { padding: 0 12px 6px; } .lj-tpl-app .lj-info .nome { font-size: .9rem; min-height: 3.4em; } .lj-tpl-app .lj-info .cod, .lj-tpl-app .lj-info .var { display: none; }
.lj-tpl-app .lj-price { font-size: 1.15rem; }
.lj-tpl-app .lj-cta { padding: 4px 12px 14px; } .lj-tpl-app .lj-cta a { border-radius: 12px; padding: 12px 8px; } .lj-tpl-app .lj-cta .b { display: none; }
.lj-tpl-app .lj-qty { border-radius: 12px; } .lj-tpl-app .lj-qty button { width: 44px; height: 44px; } .lj-tpl-app .lj-qty input { height: 44px; font-size: 1rem; }
.lj-tpl-app .lj-rail > .lj-card { flex: 0 0 min(210px, 56vw); min-width: 0; }
.lj-tpl-app .lj-tile { flex: 0 0 100px; width: 100px; } .lj-tpl-app .lj-tile .ph { width: 84px; height: 84px; } .lj-tpl-app .lj-tile span.n { font-size: .78rem; }
@media (min-width: 700px) { .lj-tpl-app .lj-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- GRADE SEM BURACO + CARROSSEL SEM "PEDAÇO" do próximo cartão (todos os modelos) ----------
   Colunas fixas (2/3/4/6) e página em múltiplos de 12 (catalog/loja.php); no celular o carrossel mostra exatamente 2 cartões inteiros. */
@media (min-width: 700px) { body.lj .lj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { body.lj .lj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { body.lj.lj-tpl-visual .lj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1400px) { body.lj.lj-tpl-compacto .lj-grid, body.lj.lj-tpl-ampla .lj-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1700px) { body.lj.lj-tpl-compacto .lj-grid, body.lj.lj-tpl-ampla .lj-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
body.lj.lj-tpl-lista .lj-grid { grid-template-columns: 1fr; }
body.lj.lj-tpl-app .lj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { body.lj.lj-tpl-app .lj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  body.lj .lj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.lj.lj-tpl-lista .lj-grid { grid-template-columns: 1fr; }
  body.lj .lj-rail { gap: 10px; }
  body.lj .lj-rail > .lj-card { flex: 0 0 calc((100% - 10px) / 2); min-width: 0; }
  body.lj.lj-tpl-lista .lj-rail > .lj-card { flex: 0 0 100%; }
}
@media (max-width: 699px) { body.lj .lj-rail { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; scroll-snap-type: x mandatory; } }

.lj-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lj-bc a.lj-back { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; padding: 7px 14px; border-radius: 999px; background: var(--lj-navy); color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; }
.lj-bc a.lj-back:hover { background: var(--lj-lime); color: var(--lj-navy); }

/* ---------- WhatsApp por vendedor (painel com a lista) ---------- */
.lj-wa-panel { position: fixed; inset: 0; z-index: 90; background: rgba(15,23,42,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.lj-wa-panel.on { display: flex; }
.lj-wa-sheet { position: relative; background: #fff; border-radius: 20px; width: min(420px, 100%); max-height: 86vh; overflow: auto; padding: 22px 18px 18px; box-shadow: 0 24px 60px rgba(15,23,42,.35); }
.lj-wa-sheet h3 { margin: 0 34px 4px 0; font-size: 1.15rem; color: var(--lj-navy); }
.lj-wa-sheet p { margin: 0 0 14px; color: #64748b; font-size: .88rem; }
.lj-wa-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--lj-soft); color: var(--lj-navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lj-wa-list { display: grid; gap: 8px; }
.lj-wa-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid #e3e9f2; border-radius: 14px; text-decoration: none; color: var(--lj-ink); transition: border-color .15s, background .15s; }
.lj-wa-item:hover { border-color: #25d366; background: #f0fdf4; }
.lj-wa-item .av { flex: 0 0 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; }
.lj-wa-item .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lj-wa-item strong { font-size: .98rem; } .lj-wa-item small { color: #64748b; font-size: .78rem; }
.lj-wa-item .go { color: #94a3b8; font-size: 1.5rem; }
@media (max-width: 600px) { .lj-wa-panel { align-items: flex-end; padding: 0; } .lj-wa-sheet { border-radius: 20px 20px 0 0; width: 100%; } }

/* ---- Aviso de cookies (LGPD) — faixa na primeira visita; cores só dos tokens da marca (Aparência) ---- */
.lj-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; background: #fff; color: #1e293b; border: 1px solid #e3e9f2; border-radius: 16px; padding: 14px 18px; box-shadow: 0 14px 40px rgba(15,23,42,.22); }
.lj-cookies[hidden] { display: none; }
.lj-cookies p { margin: 0; flex: 1 1 340px; font-size: .88rem; line-height: 1.5; }
.lj-cookies p a { color: var(--lj-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.lj-cookies-b { display: flex; gap: 8px; flex: 0 0 auto; }
.lj-cookies-b .lj-btn { padding: 10px 18px; font-size: .86rem; justify-content: center; white-space: nowrap; }
.lj-cookies-b .lj-btn.on { outline: 2px solid var(--lj-navy); outline-offset: 2px; }
.lj-foot-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; } .lj-foot-bar a:hover { color: #fff; }
@media (min-width: 641px) and (max-width: 1160px) { .lj-cookies { right: 92px; margin: 0; max-width: none; } }   /* deixa livre o botão flutuante do WhatsApp */
@media (max-width: 640px) {
  .lj-cookies { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 16px 16px 0 0; border-width: 1px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .lj-cookies-b { width: 100%; } .lj-cookies-b .lj-btn { flex: 1; }
}
@media (prefers-reduced-motion: no-preference) { .lj-cookies:not([hidden]) { animation: ljCkIn .35s ease-out; } @keyframes ljCkIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } } }

/* ---- Rodapé personalizado e barra de newsletter (aba Rodapé). Cores só pelas variáveis do tema. ---- */
.lj-nl { background: var(--lj-navy); color: #fff; text-align: center; padding: 14px 14px 10px; margin-top: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lj-nl + .lj-foot { margin-top: 0; }
.lj-nl-t { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.lj-nl-f { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 720px; margin: 0 auto; position: relative; }
.lj-nl-f input[type=text], .lj-nl-f input[type=email] { flex: 1 1 200px; min-width: 0; padding: 12px 14px; border: 0; border-radius: 8px; font: inherit; }
.lj-nl-f button { flex: 0 0 auto; padding: 12px 26px; border-radius: 8px; border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.lj-nl-f button:hover { background: var(--lj-lime); color: var(--lj-navy); border-color: var(--lj-lime); }
.lj-nl-m { min-height: 1.2em; font-size: .85rem; margin-top: 6px; }
.lj-foot-custom { grid-template-columns: repeat(var(--lj-fcols, 4), minmax(0, 1fr)); }
.lj-fb { min-width: 0; font-size: .88rem; line-height: 1.6; }
.lj-fb h4 { padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.2); }
.lj-fb p { white-space: normal; }
.lj-fb img { max-width: 100%; height: auto; vertical-align: middle; }
.lj-fb a:has(img) { display: inline-block; padding: 2px; }
@media (max-width: 900px) { .lj-foot-custom { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lj-foot-custom { grid-template-columns: 1fr; } }
