/* Cella Joias – Black Friday e Lista VIP */

/* Elemento escondido fica escondido de verdade (o popup fechado não pode cobrir a tela). */
.cj-bf-bar[hidden], .cj-vip[hidden], .cj-vip-form[hidden], .cj-vip-done[hidden], .cj-vip-error[hidden], .cj-vip [hidden], .cj-bf-page [hidden] { display: none !important; }
.cj-tab-hide { display: none !important; }

/* ---------- Faixa do topo ---------- */
.cj-bf-bar { background: #000; color: #fff; font-size: 12px; letter-spacing: .6px; }
.cj-bf-bar-in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.cj-bf-tag { background: var(--cj-turq, #3cf7ee); color: #000; font-weight: 700; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; padding: 4px 8px; white-space: nowrap; }
.cj-bf-msg { text-transform: uppercase; letter-spacing: 1.4px; font-size: 11.5px; }
.cj-bf-when { color: rgba(255,255,255,.75); white-space: nowrap; }
.cj-bf-when b { color: var(--cj-turq, #3cf7ee); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.cj-bf-bar.is-pre [data-cj-label-live], .cj-bf-bar.is-live [data-cj-label-pre] { display: none; }
.cj-bf-cta { background: transparent; color: var(--cj-turq, #3cf7ee); border: 1px solid var(--cj-turq, #3cf7ee); padding: 5px 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; white-space: nowrap; font-family: inherit; line-height: 1.4; }
.cj-bf-cta:hover { background: var(--cj-turq, #3cf7ee); color: #000; }
@media (max-width: 760px) {
	.cj-bf-msg { display: none; }
	.cj-bf-bar-in { gap: 10px; padding-left: 12px; padding-right: 12px; }
	.cj-bf-when { font-size: 11.5px; }
	.cj-bf-on .cj-announce { display: none; }
}
/* Celular: a faixa inteira vira o botão (o JS repassa o toque) e o botão some para caber numa linha. */
@media (max-width: 520px) {
	.cj-bf-bar { cursor: pointer; }
	.cj-bf-cta { display: none; }
	.cj-bf-when::after { content: ' ›'; color: var(--cj-turq, #3cf7ee); font-weight: 700; }
}
@media (max-width: 340px) { .cj-bf-tag { display: none; } }

/* ---------- Item do menu ---------- */
.cj-menu > .cj-menu-bf > a { background: #000; color: var(--cj-turq, #3cf7ee) !important; padding-left: 14px; padding-right: 14px; font-weight: 600; }
.cj-menu > .cj-menu-bf > a::after { display: none; }
.cj-menu > .cj-menu-bf > a:hover { background: var(--cj-turq, #3cf7ee); color: #000 !important; }
.cj-drawer-menu .cj-menu-bf > a { background: #000; color: var(--cj-turq, #3cf7ee); padding-left: 14px; font-weight: 600; border-bottom-color: #000; }

/* ---------- Selos e aviso no produto ---------- */
.onsale.cj-onsale-bf, .woocommerce span.onsale.cj-onsale-bf { background: #000; color: var(--cj-turq, #3cf7ee); text-transform: uppercase; letter-spacing: 1.2px; }
.cj-bf-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; background: #000; color: #fff; padding: 10px 14px; margin: 4px 0 18px; font-size: 13px; }
.cj-bf-note strong { color: var(--cj-turq, #3cf7ee); text-transform: uppercase; letter-spacing: 1.6px; font-size: 11.5px; }
.cj-bf-note b { color: var(--cj-turq, #3cf7ee); font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */
.cj-bf-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--cj-turq, #3cf7ee); color: #000; border: 1px solid var(--cj-turq, #3cf7ee); padding: 14px 28px; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; line-height: 1.2; }
.cj-bf-btn:hover { background: #000; color: var(--cj-turq, #3cf7ee); border-color: #000; }
.cj-bf-btn-ghost { background: transparent; color: #000; border-color: #000; }
.cj-bf-btn-ghost:hover { background: #000; color: var(--cj-turq, #3cf7ee); }

/* ---------- Contagem regressiva em caixas ---------- */
.cj-bf-count { display: flex; gap: 8px; }
.cj-bf-count span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 10px 6px; background: #161616; border: 1px solid #2a2a2a; }
.cj-bf-count b { font-family: var(--cj-sans, sans-serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--cj-turq, #3cf7ee); font-variant-numeric: tabular-nums; }
.cj-bf-count small { margin-top: 6px; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.cj-bf-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cj-turq, #3cf7ee); margin-bottom: 10px; }

/* ---------- Seção na página inicial ---------- */
.cj-bf-home { padding: 64px 0 0; }
.cj-bf-home-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #000; color: #fff; padding: 32px 36px; margin-bottom: 32px; }
.cj-bf-home-head h2 { color: #fff; margin: 0; }
.cj-bf-home-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) {
	.cj-bf-home { padding-top: 40px; }
	.cj-bf-home-head { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 18px; }
	.cj-bf-count span { min-width: 0; flex: 1; }
	.cj-bf-home-ctas .cj-bf-btn { width: 100%; }
}

/* ---------- Página /black-friday/ ---------- */
/* O topo preto já tem o título: esconde o título padrão da página e libera a largura. */
.cj-bf-landing .cj-page { padding-top: 24px; }
.cj-bf-landing .cj-page-head { display: none; }
.cj-bf-landing .cj-content { max-width: none; color: var(--cj-ink, #111); }
.cj-content .cj-bf-page a { text-decoration: none; }
.cj-content .cj-bf-page .cj-vip-legal a { text-decoration: underline; color: rgba(255,255,255,.8); }
.cj-content .cj-bf-page h2 { margin-top: 0; }
.cj-content .cj-bf-page ul.products { padding-left: 0; }
.cj-content .cj-bf-page ul.products a { color: inherit; }
.cj-bf-page { margin-bottom: 48px; }
.cj-bf-hero { background: #000; color: #fff; text-align: center; padding: 56px 24px; margin: 0 0 32px; display: flex; flex-direction: column; align-items: center; }
.cj-bf-hero h1 { color: #fff; margin: 0 0 18px; }
.cj-bf-hero p { color: rgba(255,255,255,.8); }
.cj-bf-when-label { margin: 0 0 12px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.cj-bf-hero .cj-bf-count { margin-bottom: 8px; }
.cj-bf-vip-hint { margin: 18px 0 0; font-size: 14px; }
.cj-bf-vip-hint button { background: none; border: 0; padding: 0; color: var(--cj-turq, #3cf7ee); text-decoration: underline; cursor: pointer; font: inherit; }
.cj-bf-inline { width: 100%; max-width: 440px; margin-top: 26px; text-align: left; }
.cj-bf-inline > p { text-align: center; }
.cj-bf-tabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0 14px; margin-bottom: 18px; }
.cj-bf-tabs::-webkit-scrollbar { display: none; }
.cj-bf-tabs button { flex: none; background: #fff; color: #000; border: 1px solid #000; padding: 10px 18px; font-family: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; }
.cj-bf-tabs button.is-active { background: #000; color: var(--cj-turq, #3cf7ee); }
.cj-bf-preview { text-align: center; color: var(--cj-muted, #6f7473); font-size: 13px; margin-bottom: 20px; }
.cj-bf-empty { text-align: center; color: var(--cj-muted, #6f7473); }
@media (max-width: 760px) {
	.cj-bf-hero { padding: 36px 16px; margin-left: -24px; margin-right: -24px; }
}

/* ---------- Popup Lista VIP ---------- */
html.cj-vip-lock { overflow: hidden; }
.cj-vip { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .25s ease; }
.cj-vip:not(.is-open) { pointer-events: none; }
.cj-vip.is-open { opacity: 1; }
.cj-vip-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto; background: #000; color: #fff; padding: 36px 32px 22px; border-top: 3px solid var(--cj-turq, #3cf7ee); transform: translateY(16px); transition: transform .3s ease; outline: 0; }
.cj-vip.is-open .cj-vip-box { transform: none; }
.cj-vip-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.cj-vip-eyebrow { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cj-turq, #3cf7ee); margin-bottom: 10px; }
.cj-vip h2 { color: #fff; font-size: clamp(1.6rem, 6vw, 2rem); margin: 0 0 10px; }
.cj-vip-text { color: rgba(255,255,255,.78); font-size: 14px; margin: 0 0 20px; }
.cj-vip-form { display: grid; gap: 12px; }
.cj-vip-field { display: grid; gap: 4px; }
.cj-vip-field span { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cj-vip-field input { width: 100%; background: #fff; color: #111; border: 1px solid #fff; border-radius: 0; padding: 13px 14px; font-size: 16px; outline: 0; }
.cj-vip-field input:focus { border-color: var(--cj-turq, #3cf7ee); box-shadow: 0 0 0 2px var(--cj-turq, #3cf7ee); }
.cj-vip-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cj-vip-error { margin: 0; color: #ff8fb1; font-size: 13px; }
.cj-vip-submit { background: var(--cj-turq, #3cf7ee); color: #000; border: 0; padding: 16px; font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; }
.cj-vip-submit:hover { background: #fff; }
.cj-vip-submit[disabled] { opacity: .6; cursor: wait; }
.cj-vip-legal { margin: 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.55); }
.cj-vip-legal a { color: rgba(255,255,255,.8); text-decoration: underline; }
.cj-vip-later { display: block; margin: 14px auto 0; background: none; border: 0; color: rgba(255,255,255,.6); font-family: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 6px 10px; }
.cj-vip-done { text-align: center; }
.cj-vip-done-title { font-family: var(--cj-serif, serif); font-size: 1.5rem; line-height: 1.2; color: var(--cj-turq, #3cf7ee); margin-bottom: 10px; }
.cj-vip-done p { color: rgba(255,255,255,.85); }
.cj-vip-code { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; background: transparent; color: #fff; border: 1.5px dashed var(--cj-turq, #3cf7ee); padding: 14px; margin: 6px 0 12px; cursor: pointer; font-family: inherit; }
.cj-vip-code span { font-size: 26px; font-weight: 700; letter-spacing: 4px; color: var(--cj-turq, #3cf7ee); }
.cj-vip-code small { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: 1px; }
.cj-vip-small { font-size: 12.5px; }
.cj-vip-group { display: block; background: #25d366; color: #fff; padding: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 6px; }
.cj-vip-group:hover { color: #fff; background: #1ebe5a; }

/* Formulário dentro da página (fundo preto do topo). */
.cj-bf-inline .cj-vip-field span { color: rgba(255,255,255,.7); }

/* Celular: popup sobe de baixo, ocupando a largura. */
@media (max-width: 600px) {
	.cj-vip { align-items: flex-end; padding: 0; }
	.cj-vip-box { max-width: none; max-height: 92vh; padding: 22px 18px 10px; transform: translateY(100%); }
	.cj-vip.is-open .cj-vip-box { transform: none; }
	.cj-vip h2 { font-size: 1.55rem; margin-bottom: 6px; padding-right: 30px; }
	.cj-vip-eyebrow { margin-bottom: 6px; }
	.cj-vip-text { font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }
	.cj-vip-form { gap: 10px; }
	.cj-vip-box .cj-vip-field span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
	.cj-vip-field input { padding: 12px 14px; }
	.cj-vip-submit { padding: 15px; }
	.cj-vip-legal { font-size: 10.5px; }
	.cj-vip-later { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.cj-vip, .cj-vip-box { transition: none; }
}
