/* Finale Core: palco do estojo na pagina do produto. So elementos do estojo: nada do carrossel da joia aparece aqui. */
.fnj-ge-aberto .wd-gallery-images > .wd-carousel-inner { position: absolute !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
.fnj-ge-aberto .product-additional-galleries, .fnj-ge-aberto .wd-gallery-images .wd-nav-arrows { display: none !important; }
.fnj-ge-aberto + .fnj-ge-faixa { display: none !important; }
/* na pagina do produto o tema muda a posicao dos botoes do zoom */
.fnj-zoom .fnj-zoom__fechar, .fnj-zoom .fnj-zoom__nav { position: absolute !important; }

.fnj-ge-palco { font-family: 'Inter', sans-serif; color: #121110; }
.fnj-ge-palco[hidden] { display: none; }
.fnj-ge-palco.entra { animation: fnj-ge-entra .3s ease-out; }
@keyframes fnj-ge-entra { from { opacity: 0; transform: translateY(6px); } }
.fnj-ge-palco button { font-family: inherit; text-transform: none !important; letter-spacing: 0 !important; }

.fnj-ge-palco__cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fnj-ge-palco__selo { padding: 6px 13px; border-radius: 999px; background: linear-gradient(135deg, #e2cf96, #C2AC6E 55%, #a88f4f); color: #121110; font-size: 14px; font-weight: 600; line-height: 1.2; }
.fnj-ge-palco__selo.premium { background: #121110; color: #E2CF96; }
.fnj-ge-palco__voltar { display: inline-flex !important; align-items: center; gap: 2px; min-height: 34px !important; padding: 0 10px 0 4px !important; border: 0 !important; border-radius: 8px !important; background: none !important; color: #4A4540 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important; white-space: nowrap; cursor: pointer; }
.fnj-ge-palco__voltar:hover { background: #F4F1EA !important; color: #121110 !important; }
.fnj-ge-palco__voltar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.fnj-ge-palco__foto { position: relative; border-radius: 12px; overflow: hidden; background: #FAF7F0; }
.fnj-ge-palco__img { position: relative !important; display: block !important; width: 100%; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; cursor: zoom-in; }
.fnj-ge-palco__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.fnj-ge-palco__img img.troca { animation: fnj-ge-foto .3s ease-out; }
@keyframes fnj-ge-foto { from { opacity: .25; } }
.fnj-ge-palco__img i { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(18,17,16,.18); }
.fnj-ge-palco__img i svg { width: 20px; height: 20px; fill: none; stroke: #121110; stroke-width: 1.8; stroke-linecap: round; }
.fnj-ge-palco__seta { position: absolute !important; top: 50%; z-index: 2; display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0 !important; margin-top: -22px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #121110 !important; box-shadow: 0 4px 14px rgba(18,17,16,.3); cursor: pointer; }
.fnj-ge-palco__seta:hover { background: #2a2826 !important; }
.fnj-ge-palco__seta:disabled { opacity: .25; cursor: default; }
.fnj-ge-palco__seta.ant { left: 10px; } .fnj-ge-palco__seta.prox { right: 10px; }
.fnj-ge-palco__seta svg { width: 22px; height: 22px; fill: none; stroke: #E2CF96; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fnj-ge-palco__lados { position: absolute; left: 50%; bottom: 10px; z-index: 2; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(18,17,16,.16); transform: translateX(-50%); }
.fnj-ge-palco__lados button { min-height: 32px !important; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: none !important; color: #4A4540 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important; cursor: pointer; }
.fnj-ge-palco__lados button.on { background: #121110 !important; color: #fff !important; }

.fnj-ge-palco__acao { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.fnj-ge-palco__nome { min-width: 0; flex: 1 1 170px; }
.fnj-ge-palco__nome strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.fnj-ge-palco__nome span { display: block; color: #7A6636; font-size: 14px; font-weight: 500; line-height: 1.3; }
.fnj-ge-palco__bts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fnj-ge-b { display: inline-flex !important; align-items: center; justify-content: center; min-height: 42px !important; padding: 0 16px !important; border-radius: 999px !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.1 !important; white-space: nowrap; cursor: pointer; }
.fnj-ge-b--ouro { border: 0 !important; background: linear-gradient(135deg, #e2cf96, #C2AC6E 55%, #a88f4f) !important; color: #121110 !important; }
.fnj-ge-b--escuro { border: 0 !important; background: #121110 !important; color: #fff !important; }
.fnj-ge-b--linha { border: 1px solid #121110 !important; background: #fff !important; color: #121110 !important; }
.fnj-ge-b--linha:hover { background: #F4F1EA !important; }
.fnj-ge-ok { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; background: #EEF4EF; color: #2F5A3F; font-size: 14px; font-weight: 600; white-space: nowrap; }

.fnj-ge-palco__lista { margin-top: 12px; padding-top: 10px; border-top: 1px solid #ECE7DD; }
.fnj-ge-palco__lista > p:first-child { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.fnj-ge-palco__lista > p:first-child span { color: #6B655E; font-weight: 400; }
.fnj-ge-palco__trilho { position: relative; display: flex; gap: 8px; padding: 2px 2px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #C2AC6E transparent; -webkit-overflow-scrolling: touch; }
.fnj-ge-palco__trilho:focus-visible { outline: 2px solid #C2AC6E; outline-offset: 2px; }
.fnj-ge-c { position: relative !important; flex: 0 0 96px; width: 96px; min-width: 0; scroll-snap-align: start; display: flex !important; flex-direction: column; align-items: stretch; min-height: 0 !important; padding: 5px !important; border: 1px solid #E6E1D7 !important; border-radius: 10px !important; background: #fff !important; color: #121110 !important; line-height: 1.25 !important; text-align: left; white-space: normal !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fnj-ge-c:hover { border-color: #C2AC6E !important; }
.fnj-ge-c img { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; object-fit: cover; }
.fnj-ge-c b { margin-top: 4px; overflow: hidden; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.fnj-ge-c small { color: #7A6636; font-size: 14px; font-weight: 500; white-space: nowrap; }
.fnj-ge-c.gratis small { color: #2F5A3F; font-weight: 700; }
.fnj-ge-c.vendo { border-color: #121110 !important; box-shadow: inset 0 0 0 1px #121110; }
.fnj-ge-c.on::after { content: '\2713'; position: absolute; top: 9px; left: 9px; width: 24px; height: 24px; border-radius: 50%; background: #3F6B4E; color: #fff; font-size: 14px; font-weight: 700; line-height: 24px; text-align: center; }
.fnj-ge-palco__nota { margin: 6px 0 0; color: #5D584F; font-size: 14px; line-height: 1.35; }

/* miniatura do estojo */
.wd-gallery-thumb .fnj-ge-th { position: relative; opacity: 1 !important; cursor: pointer; }
.fnj-ge-th.on { outline: 2px solid #121110; outline-offset: -2px; }
.fnj-ge-aberto .wd-gallery-thumb .wd-carousel-item:not(.fnj-ge-th) { opacity: 1 !important; }
.fnj-ge-th__tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 2px 3px; background: rgba(194,172,110,.96); color: #121110; font-size: 14px; font-weight: 600; line-height: 1.12; text-align: center; pointer-events: none; }
.fnj-ge-th__tag.premium { background: rgba(18,17,16,.92); color: #E2CF96; }

/* faixa abaixo da galeria, nas fotos da joia */
.fnj-ge-faixa { display: flex !important; align-items: center; gap: 12px; width: 100%; min-height: 0 !important; margin: 12px 0 0; padding: 10px 12px !important; border: 1px solid #D9CBA0 !important; border-radius: 12px !important; background: #FBF7EA !important; color: #121110 !important; font-family: 'Inter', sans-serif; line-height: 1.3 !important; text-align: left; text-transform: none !important; letter-spacing: 0 !important; white-space: normal !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fnj-ge-faixa:hover { border-color: #C2AC6E !important; box-shadow: 0 6px 18px rgba(122,102,54,.16); }
.fnj-ge-faixa:focus-visible { outline: 2px solid #7A6636; outline-offset: 2px; }
.fnj-ge-faixa img { flex: none; width: 56px; height: 56px; border-radius: 9px; object-fit: cover; }
.fnj-ge-faixa__t { flex: 1; min-width: 0; text-align: left; }
.fnj-ge-faixa__t strong { display: block; color: #121110; font-size: 15px; font-weight: 600; }
.fnj-ge-faixa__t em { color: #7A6636; font-style: normal; font-weight: 700; }
.fnj-ge-faixa__t small { display: block; margin-top: 2px; color: #4A4540; font-size: 14px; }
.fnj-ge-faixa__a { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #121110; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.fnj-ge-faixa__a svg { width: 16px; height: 16px; fill: none; stroke: #E2CF96; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: fnj-ge-seta 1.8s ease-in-out infinite; }
@keyframes fnj-ge-seta { 50% { transform: translateX(3px); } }
.fnj-ge-faixa.premium { border-color: #121110 !important; background: #fff !important; }

[data-fnj-ge-aviso] .fnj-link { padding: 0 !important; border: 0 !important; background: none !important; color: #7A6636 !important; font: inherit !important; text-decoration: underline; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; min-height: 0 !important; }

@media (max-width: 480px) {
  .fnj-ge-faixa { gap: 10px; padding: 9px 10px !important; } .fnj-ge-faixa img { width: 48px; height: 48px; } .fnj-ge-faixa__a { padding: 7px 6px 7px 11px; }
  .fnj-ge-c { flex-basis: 88px; width: 88px; }
  .fnj-ge-palco__bts { width: 100%; } .fnj-ge-palco__bts .fnj-ge-b, .fnj-ge-palco__bts .fnj-ge-ok { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fnj-ge-palco.entra, .fnj-ge-palco__img img.troca, .fnj-ge-faixa__a svg { animation: none; } }
