/*
Theme Name: Cella Joias
Theme URI: https://www.instagram.com/cellajoias
Author: Cella Joias
Description: Tema da loja Cella Joias – joias em prata 925. Turquesa e preto, inspirado nas grandes joalherias.
Version: 1.0.2
Requires PHP: 7.4
Text Domain: cella
WC requires at least: 8.0
*/

:root {
	--cj-turq: #3cf7ee;
	--cj-turq-600: #19d6cd;
	--cj-turq-700: #0b8f8a;
	--cj-mint: #eafdfc;
	--cj-mint-2: #d5faf7;
	--cj-ink: #111111;
	--cj-ink-2: #3a3a3a;
	--cj-muted: #6f7473;
	--cj-line: #e6eceb;
	--cj-bg: #ffffff;
	--cj-sale: #c2185b;
	--cj-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--cj-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--cj-radius: 2px;
	--cj-wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.cj-lock { overflow: hidden; }
body { margin: 0; background: var(--cj-bg); color: var(--cj-ink); font-family: var(--cj-sans); font-size: 15px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cj-turq-700); }
h1, h2, h3, h4 { font-family: var(--cj-serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--cj-wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 1000; }
:focus-visible { outline: 2px solid var(--cj-turq-700); outline-offset: 2px; }

/* ---------- Botões ---------- */
.cj-btn, .button, button.button, a.button, input.button, .woocommerce #respond input#submit, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--cj-ink); color: #fff; border: 1px solid var(--cj-ink);
	padding: 14px 28px; border-radius: var(--cj-radius); cursor: pointer;
	font-family: var(--cj-sans); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s;
}
.cj-btn:hover, .button:hover, button.button:hover, a.button:hover { background: var(--cj-turq); border-color: var(--cj-turq); color: var(--cj-ink); }
.cj-btn-ghost { background: transparent; color: var(--cj-ink); }
.cj-btn-ghost:hover { background: var(--cj-ink); color: #fff; border-color: var(--cj-ink); }
.button.alt, button.alt, .checkout-button, #place_order, .single_add_to_cart_button { background: var(--cj-ink) !important; color: #fff !important; width: auto; }
.button.alt:hover, .checkout-button:hover, #place_order:hover, .single_add_to_cart_button:hover { background: var(--cj-turq) !important; color: var(--cj-ink) !important; border-color: var(--cj-turq) !important; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }
.cj-link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.cj-link-arrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cj-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--cj-turq-700); margin-bottom: 12px; }
.cj-eyebrow .cj-ico { width: 16px; height: 16px; }

/* ---------- Monograma C|J ---------- */
.cj-mono { display: inline-flex; align-items: center; font-family: var(--cj-serif); font-weight: 500; color: var(--cj-ink); line-height: 1; }
.cj-mono span { font-size: 1em; }
.cj-mono i { display: inline-block; width: 1.5px; height: 1.15em; background: currentColor; margin: 0 .06em; transform: translateY(-.02em); }
.cj-mono-xl { font-size: clamp(5rem, 11vw, 9rem); }
.cj-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--cj-ink); }
.cj-logo .cj-mono { font-size: 34px; }
.cj-logo .cj-word { font-family: var(--cj-sans); font-size: 9.5px; font-weight: 500; letter-spacing: 5px; padding-left: 5px; }
.custom-logo { max-height: 64px; width: auto; }

/* ---------- Faixa de aviso ---------- */
.cj-announce { background: var(--cj-ink); color: #fff; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; height: 34px; overflow: hidden; }
.cj-announce-track { display: flex; justify-content: center; gap: 48px; height: 34px; align-items: center; transition: transform .5s ease; }
.cj-announce-track span { white-space: nowrap; }
.cj-announce-track span::before { content: '✦'; color: var(--cj-turq); margin-right: 10px; }
@media (max-width: 900px) {
	.cj-announce-track { flex-direction: column; gap: 0; align-items: center; justify-content: flex-start; }
	.cj-announce-track span { height: 34px; line-height: 34px; flex: 0 0 34px; }
}

/* ---------- Cabeçalho ---------- */
.cj-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--cj-line); transition: box-shadow .2s; }
.admin-bar .cj-header { top: 32px; }
.cj-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.cj-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; gap: 16px; transition: min-height .2s; }
.cj-header.is-scrolled .cj-header-row { min-height: 64px; }
.cj-header-left { display: flex; align-items: center; gap: 12px; }
.cj-header-right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.cj-icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cj-ink); font-size: 12px; letter-spacing: .4px; }
.cj-icon-btn:hover { color: var(--cj-turq-700); }
.cj-icon-label { display: none; }
@media (min-width: 1100px) { .cj-icon-label { display: inline; } }
.cj-cart-count, .cj-wish-count { position: absolute; top: 2px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cj-turq); color: var(--cj-ink); font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; }
.cj-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--cj-line); padding: 6px 2px; min-width: 260px; }
.cj-search .cj-ico { color: var(--cj-muted); flex: none; width: 18px; }
.cj-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13px; padding: 4px 0; }
.cj-search:focus-within { border-color: var(--cj-ink); }
.cj-menu-toggle, .cj-search-toggle { display: none; }
.cj-nav { border-top: 1px solid var(--cj-line); }
.cj-menu { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; padding-top: 0; padding-bottom: 0; margin: 0 auto; }
.cj-menu > li { position: relative; }
.cj-menu a { display: block; padding: 14px 0; font-size: 12px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; position: relative; }
.cj-menu > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--cj-turq-600); transform: scaleX(0); transition: transform .25s; }
.cj-menu > li > a:hover::after, .cj-menu > .current-menu-item > a::after { transform: scaleX(1); }
.cj-menu .sub-menu { position: absolute; top: 100%; left: -20px; background: #fff; list-style: none; margin: 0; padding: 12px 20px; min-width: 220px; border: 1px solid var(--cj-line); box-shadow: 0 16px 40px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.cj-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cj-menu .sub-menu a { padding: 8px 0; text-transform: none; letter-spacing: .3px; font-size: 13px; }
.cj-menu .menu-item:last-child a { color: var(--cj-sale); }

@media (max-width: 900px) {
	.cj-header-row { grid-template-columns: auto 1fr auto; min-height: 64px; }
	.cj-header-center { justify-self: center; }
	.cj-menu-toggle, .cj-search-toggle { display: inline-flex; }
	.cj-header-left .cj-search { display: none; }
	.cj-search-open .cj-header-left .cj-search { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 20px; border-bottom: 1px solid var(--cj-line); min-width: 0; }
	.cj-nav { display: none; }
	.cj-logo .cj-mono { font-size: 28px; }
	.cj-logo .cj-word { font-size: 8px; letter-spacing: 4px; }
	.cj-header-right a[aria-label="Minha conta"] { display: none; }
}
@media (max-width: 782px) { .admin-bar .cj-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cj-header { top: 0; } }

/* ---------- Gaveta e modal ---------- */
.cj-drawer, .cj-modal { position: fixed; inset: 0; z-index: 200; background: rgba(17,17,17,.45); opacity: 0; transition: opacity .25s; }
.cj-drawer.is-open, .cj-modal.is-open { opacity: 1; }
.cj-drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; }
.cj-drawer.is-open .cj-drawer-panel { transform: none; }
.cj-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cj-drawer-head .cj-logo { align-items: flex-start; }
.cj-search-drawer { min-width: 0; margin-bottom: 12px; }
.cj-drawer-menu { list-style: none; margin: 0; padding: 0; }
.cj-drawer-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--cj-line); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.cj-drawer-menu .sub-menu { list-style: none; padding-left: 14px; }
.cj-drawer-secondary { margin-top: 24px; }
.cj-drawer-secondary a { text-transform: none; letter-spacing: .2px; font-size: 14px; color: var(--cj-ink-2); border: 0; padding: 8px 0; }
.cj-modal { display: flex; align-items: center; justify-content: center; padding: 20px; }
.cj-modal-box { position: relative; background: #fff; max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 36px; }
.cj-modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; cursor: pointer; line-height: 1; }

/* ---------- Hero ---------- */
.cj-hero { background: linear-gradient(115deg, var(--cj-mint) 0%, #fff 55%, var(--cj-mint-2) 100%); overflow: hidden; }
.cj-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(78vh, 640px); padding-top: 40px; padding-bottom: 40px; }
.cj-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 400; margin-bottom: 18px; }
.cj-hero p { font-size: 16px; color: var(--cj-ink-2); max-width: 460px; margin-bottom: 30px; }
.cj-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cj-hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.cj-hero-art img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.cj-hero-circle { width: min(78%, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--cj-turq); display: flex; align-items: center; justify-content: center; box-shadow: 0 40px 80px rgba(25, 214, 205, .35); animation: cj-float 7s ease-in-out infinite; }
.cj-hero-ring { position: absolute; border: 1px solid rgba(17,17,17,.12); border-radius: 50%; }
.cj-hero-ring.r1 { width: min(92%, 520px); aspect-ratio: 1; }
.cj-hero-ring.r2 { width: min(106%, 600px); aspect-ratio: 1; border-color: rgba(60,247,238,.45); }
@keyframes cj-float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .cj-hero-circle { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) {
	.cj-hero-in { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 32px; }
	.cj-hero p { margin-left: auto; margin-right: auto; }
	.cj-hero-ctas { justify-content: center; }
	.cj-hero-art { min-height: 300px; order: -1; }
	.cj-hero-circle { width: 240px; }
	.cj-hero-circle .cj-mono-xl { font-size: 5.5rem; }
	.cj-hero-ring.r1 { width: 290px; } .cj-hero-ring.r2 { width: 330px; }
}

/* ---------- Benefícios ---------- */
.cj-benefits { border-bottom: 1px solid var(--cj-line); background: #fff; }
.cj-benefits-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.cj-benefits-in > div { display: flex; align-items: center; gap: 12px; padding: 22px 12px; justify-content: center; }
.cj-benefits-in > div + div { border-left: 1px solid var(--cj-line); }
.cj-benefits .cj-ico { width: 28px; height: 28px; color: var(--cj-turq-700); flex: none; }
.cj-benefits p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cj-benefits strong { font-size: 12.5px; font-weight: 600; letter-spacing: .4px; }
.cj-benefits span { font-size: 12px; color: var(--cj-muted); }
@media (max-width: 1000px) {
	.cj-benefits-in { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0; }
	.cj-benefits-in > div { flex: 0 0 auto; min-width: 210px; scroll-snap-align: start; justify-content: flex-start; padding: 16px 18px; }
}

/* ---------- Seções ---------- */
.cj-section { padding: 72px 0 0; }
.cj-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.cj-section-head h2 { margin: 0; }
.cj-section-head a { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cj-center { justify-content: center; text-align: center; }

.cj-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.cj-cat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cj-cat-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--cj-mint); display: flex; align-items: center; justify-content: center; border: 1px solid var(--cj-mint-2); transition: transform .3s, box-shadow .3s; }
.cj-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cj-cat-initial { font-family: var(--cj-serif); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--cj-ink); }
.cj-cat:hover .cj-cat-img { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,143,138,.18); background: var(--cj-turq); }
.cj-cat-name { font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; }
@media (max-width: 900px) {
	.cj-cats { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.cj-cat { flex: 0 0 92px; scroll-snap-align: start; }
}

.cj-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 72px; }
.cj-promo { position: relative; min-height: 300px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background: var(--cj-turq) center/cover no-repeat; overflow: hidden; color: var(--cj-ink); }
.cj-promo::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(17,17,17,.15); }
.cj-promo h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; position: relative; z-index: 1; }
.cj-promo .cj-eyebrow { color: inherit; position: relative; z-index: 1; }
.cj-promo-dark { background-color: var(--cj-ink); color: #fff; }
.cj-promo-dark::after { border-color: rgba(60,247,238,.4); }
.cj-promo-dark:hover { color: var(--cj-turq); }
.cj-promo[style*="background-image"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55)); }
.cj-promo[style*="background-image"] { color: #fff; }
@media (max-width: 760px) { .cj-promos { grid-template-columns: 1fr; } .cj-promo { min-height: 220px; padding: 28px; } }

.cj-story { margin-top: 80px; background: var(--cj-mint); }
.cj-story-in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-top: 0; padding-bottom: 0; }
.cj-story-art { min-height: 460px; background: var(--cj-turq) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.cj-story-text { padding: 60px 0; max-width: 480px; }
.cj-story-text p { color: var(--cj-ink-2); margin-bottom: 28px; }
@media (max-width: 860px) { .cj-story-in { grid-template-columns: 1fr; gap: 0; padding: 0; } .cj-story-art { min-height: 280px; } .cj-story-text { padding: 40px 24px; } }

.cj-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cj-why-grid > div { text-align: center; padding: 36px 28px; border: 1px solid var(--cj-line); }
.cj-why-grid .cj-ico { width: 36px; height: 36px; color: var(--cj-turq-700); margin-bottom: 14px; }
.cj-why-grid p { color: var(--cj-muted); margin: 0; font-size: 14px; }
@media (max-width: 760px) { .cj-why-grid { grid-template-columns: 1fr; } }

.cj-insta { margin-top: 72px; background: var(--cj-ink); color: #fff; }
.cj-insta-in { display: flex; align-items: center; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
.cj-insta .cj-ico { width: 54px; height: 54px; color: var(--cj-turq); flex: none; }
.cj-insta h2 { margin-bottom: 4px; }
.cj-insta p { margin: 0; color: #c9d1d0; }
.cj-insta .cj-btn { margin-left: auto; background: var(--cj-turq); color: var(--cj-ink); border-color: var(--cj-turq); }
.cj-insta .cj-btn:hover { background: #fff; border-color: #fff; }
@media (max-width: 760px) { .cj-insta-in { flex-direction: column; text-align: center; } .cj-insta .cj-btn { margin: 0; } }

/* ---------- Newsletter e rodapé ---------- */
.cj-newsletter { background: var(--cj-turq); padding: 48px 0; }
.cj-newsletter-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.cj-newsletter h2 { margin-bottom: 6px; }
.cj-newsletter p { margin: 0; color: var(--cj-ink-2); }
.cj-newsletter form { display: flex; background: #fff; }
.cj-newsletter input[type=email] { flex: 1; border: 0; padding: 16px 18px; outline: 0; min-width: 0; }
.cj-newsletter button { background: var(--cj-ink); color: #fff; border: 0; padding: 0 22px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer; }
.cj-newsletter button:hover { background: #333; }
.cj-news-msg { grid-column: 1 / -1; font-weight: 500; }
@media (max-width: 760px) { .cj-newsletter-in { grid-template-columns: 1fr; text-align: center; } .cj-newsletter form { flex-direction: column; } .cj-newsletter button { padding: 14px; } }

.cj-footer { background: #0e0f0f; color: #c9d1d0; font-size: 14px; }
.cj-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.cj-footer h3 { font-family: var(--cj-sans); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.cj-footer .cj-logo { color: #fff; align-items: flex-start; margin-bottom: 16px; }
.cj-footer .cj-logo .cj-mono { color: #fff; }
.cj-footer-brand p { max-width: 300px; }
.cj-social { display: inline-flex; align-items: center; gap: 8px; color: var(--cj-turq); }
.cj-footer-menu { list-style: none; margin: 0; padding: 0; }
.cj-footer-menu li { margin-bottom: 10px; }
.cj-footer a:hover { color: var(--cj-turq); }
.cj-footer-pay { display: flex; flex-wrap: wrap; gap: 24px 60px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #222; }
.cj-pay-title { display: block; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: #8a9291; margin-bottom: 10px; }
.cj-pay { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cj-pay li { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #2b2e2e; padding: 5px 10px; font-size: 12px; color: #e3e8e7; border-radius: 3px; }
.cj-pay .cj-ico { width: 15px; height: 15px; color: var(--cj-turq); }
.cj-footer-bottom { border-top: 1px solid #222; padding: 18px 0; font-size: 12px; color: #8a9291; }
@media (max-width: 860px) { .cj-footer-grid { grid-template-columns: 1fr 1fr; } .cj-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cj-footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.cj-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s; }
.cj-wa-float:hover { transform: scale(1.07); }

/* ---------- Páginas ---------- */
.cj-page { padding-top: 48px; padding-bottom: 80px; }
.cj-page-head { text-align: center; margin-bottom: 36px; }
.cj-page-head h1 { font-weight: 400; }
.cj-content { max-width: 780px; margin: 0 auto; color: var(--cj-ink-2); }
.cj-page-wc .cj-content { max-width: none; }
.cj-content h2, .cj-content h3 { color: var(--cj-ink); margin-top: 1.6em; }
.cj-content a { color: var(--cj-turq-700); text-decoration: underline; text-underline-offset: 3px; }
.cj-content ul { padding-left: 20px; }
.cj-content li { margin-bottom: 8px; }
.cj-lead { font-family: var(--cj-serif); font-size: 1.45rem; line-height: 1.45; color: var(--cj-ink); }
.cj-guide table, .cj-content table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 14px; }
.cj-guide th, .cj-guide td, .cj-content th, .cj-content td { border-bottom: 1px solid var(--cj-line); padding: 10px 12px; text-align: left; }
.cj-guide th, .cj-content th { background: var(--cj-mint); font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.cj-guide h3 { margin-top: 1.2em; }
.cj-404 { text-align: center; }
.cj-404 .cj-mono-xl { color: var(--cj-turq-600); margin-bottom: 24px; }
.cj-empty { text-align: center; padding: 40px 0; }

/* ---------- WooCommerce: grade de produtos ---------- */
.woocommerce ul.products, ul.products { list-style: none; margin: 0 0 24px; padding: 0; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
ul.products::before, ul.products::after { display: none !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products li.product { position: relative; width: auto !important; margin: 0 !important; float: none !important; padding: 0; text-align: left; display: flex; flex-direction: column; }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cj-mint); margin: 0 0 14px; transition: transform .5s ease; }
ul.products li.product a img { overflow: hidden; }
ul.products li.product:hover img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--cj-sans); font-size: 13.5px; font-weight: 400; letter-spacing: .2px; line-height: 1.4; margin: 0 0 6px; padding: 0; color: var(--cj-ink); min-height: 2.8em; }
ul.products li.product .price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; color: var(--cj-ink); font-size: 15px; font-weight: 600; }
ul.products li.product .price del { color: var(--cj-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button { margin-top: auto; width: 100%; padding: 12px 10px; background: #fff; color: var(--cj-ink); font-size: 11px; }
ul.products li.product .button:hover { background: var(--cj-ink); color: #fff; border-color: var(--cj-ink); }
ul.products li.product .added_to_cart { font-size: 12px; text-align: center; margin-top: 6px; text-decoration: underline; }
ul.products li.product .star-rating { font-size: 11px; margin-bottom: 6px; }
.cj-price { display: block; }
.cj-pix { display: block; font-size: 12.5px; font-weight: 400; color: var(--cj-turq-700); }
.cj-pix strong { font-weight: 600; }
.cj-inst { display: block; font-size: 12px; font-weight: 400; color: var(--cj-muted); }
.onsale, .woocommerce span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--cj-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 1px; padding: 5px 10px; border-radius: 0; min-height: 0; min-width: 0; line-height: 1.4; margin: 0; }
.cj-badge { position: absolute; left: 12px; z-index: 2; font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 10px; }
.cj-badge-new { top: 12px; background: var(--cj-turq); color: var(--cj-ink); }
.cj-badge-last { top: 44px; background: #fff; color: var(--cj-sale); border: 1px solid var(--cj-sale); }
.cj-wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 19px; line-height: 1; cursor: pointer; color: var(--cj-ink); transition: transform .2s, color .2s; }
.cj-wish-btn:hover { transform: scale(1.08); }
.cj-wish-btn.is-on { color: var(--cj-sale); }
@media (max-width: 1000px) { .woocommerce ul.products, ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .woocommerce ul.products, ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } ul.products li.product .button { font-size: 10px; letter-spacing: 1px; padding: 11px 6px; } }

/* ---------- Loja / categoria ---------- */
.cj-shop { padding-top: 28px; padding-bottom: 80px; }
.woocommerce-breadcrumb { font-size: 12px; color: var(--cj-muted); margin-bottom: 18px; letter-spacing: .3px; }
.woocommerce-breadcrumb a { color: var(--cj-muted); }
.woocommerce-products-header { text-align: center; margin-bottom: 18px; }
.woocommerce-products-header__title { font-weight: 400; }
.term-description { color: var(--cj-muted); max-width: 640px; margin: 0 auto; }
.cj-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 8px; scrollbar-width: none; justify-content: center; flex-wrap: wrap; }
.cj-chips a { flex: none; border: 1px solid var(--cj-line); padding: 8px 18px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; border-radius: 30px; transition: .2s; }
.cj-chips a:hover { border-color: var(--cj-ink); color: var(--cj-ink); }
.cj-chips a.is-active { background: var(--cj-ink); color: #fff; border-color: var(--cj-ink); }
@media (max-width: 720px) { .cj-chips { flex-wrap: nowrap; justify-content: flex-start; } }
.woocommerce-result-count { float: left; font-size: 13px; color: var(--cj-muted); margin: 8px 0 24px; }
.woocommerce-ordering { float: right; margin: 0 0 24px; }
.woocommerce-ordering select { border: 1px solid var(--cj-line); padding: 9px 12px; background: #fff; font-size: 13px; }
ul.products { clear: both; }
.woocommerce-pagination { text-align: center; margin-top: 30px; }
.woocommerce-pagination ul { display: inline-flex; list-style: none; gap: 6px; padding: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-block; min-width: 40px; padding: 9px 12px; border: 1px solid var(--cj-line) !important; }
.woocommerce-pagination .current { background: var(--cj-ink); color: #fff; }

/* ---------- Página do produto ---------- */
.cj-single { padding-top: 32px; }
.single-product div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; position: relative; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0; position: relative; }
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0; position: static; align-self: start; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
.woocommerce-product-gallery__image img { background: var(--cj-mint); width: 100%; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; list-style: none; padding: 0; margin: 10px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { cursor: pointer; opacity: .6; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; background: #fff; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: '⤢'; font-size: 18px; }
.product_title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; margin-bottom: 10px; }
.single-product .summary .price { font-size: 26px; font-weight: 600; color: var(--cj-ink); margin: 14px 0 20px; display: block; }
.single-product .summary .price del { font-size: 17px; color: var(--cj-muted); font-weight: 400; margin-right: 8px; }
.single-product .summary .price ins { text-decoration: none; }
.single-product .summary .cj-pix { font-size: 15px; margin-top: 6px; }
.single-product .summary .cj-inst { font-size: 14px; }
.woocommerce-product-details__short-description { color: var(--cj-ink-2); margin-bottom: 20px; }
.single-product form.cart { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; padding: 18px 28px; font-size: 13px; }
.single-product form.cart .quantity:has(input[type=hidden]) { display: none; }
.quantity .qty { width: 72px; height: 100%; min-height: 52px; border: 1px solid var(--cj-line); text-align: center; font-size: 15px; }
.single-product .stock { font-size: 13px; color: var(--cj-turq-700); font-weight: 500; }
.single-product .stock.out-of-stock { color: var(--cj-sale); }
.cj-product-extras { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 22px; align-items: flex-start; }
.cj-btn-wa { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; padding: 15px; border: 1px solid #25d366; color: #128c4a; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.cj-btn-wa:hover { background: #25d366; color: #fff; }
.cj-wish-inline { position: static; width: auto; height: auto; border-radius: 0; background: none; font-size: 13px; padding: 0; }
.cj-trust { list-style: none; padding: 18px 0 0; margin: 6px 0 0; border-top: 1px solid var(--cj-line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; width: 100%; font-size: 12.5px; color: var(--cj-ink-2); }
.cj-trust li { padding-left: 22px; position: relative; }
.cj-trust li::before { content: '✓'; position: absolute; left: 0; color: var(--cj-turq-700); font-weight: 700; }
.product_meta { font-size: 12px; color: var(--cj-muted); display: flex; flex-direction: column; gap: 4px; }
.woocommerce-tabs { margin-top: 56px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; justify-content: center; gap: 32px; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--cj-line); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 0; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cj-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--cj-ink); border-color: var(--cj-turq-600); }
.woocommerce-tabs .panel { max-width: 820px; margin: 0 auto; color: var(--cj-ink-2); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { padding: 12px; border-bottom: 1px solid var(--cj-line); text-align: left; font-size: 14px; }
.shop_attributes th { width: 30%; font-weight: 600; color: var(--cj-ink); }
.shop_attributes td p { margin: 0; }
.related > h2, .upsells > h2 { text-align: center; margin: 64px 0 28px; }
@media (max-width: 900px) {
	.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
	.single-product div.product .summary { position: static; }
	.cj-trust { grid-template-columns: 1fr; }
	.woocommerce-tabs ul.tabs { gap: 18px; overflow-x: auto; justify-content: flex-start; }
}

/* ---------- Avaliações ---------- */
.star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; font-size: 13px; width: 5.4em; font-family: Arial, sans-serif; color: #e0a800; }
.star-rating::before { content: '☆☆☆☆☆'; position: absolute; top: 0; left: 0; letter-spacing: .1em; }
.star-rating span { overflow: hidden; position: absolute; top: 0; left: 0; padding-top: 1.5em; }
.star-rating span::before { content: '★★★★★'; position: absolute; top: 0; left: 0; letter-spacing: .1em; }
#reviews ol.commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cj-line); }
#reviews .avatar { border-radius: 50%; width: 48px; height: 48px; }
p.stars a { color: #e0a800; margin-right: 4px; }

/* ---------- Formulários, avisos, carrinho, checkout ---------- */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], textarea, select, .select2-container .select2-selection--single {
	border: 1px solid #d7dedd; border-radius: var(--cj-radius); padding: 12px 14px; background: #fff; font-size: 14px; max-width: 100%;
}
.select2-container .select2-selection--single { height: auto; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 8px; }
input:focus, textarea:focus, select:focus { border-color: var(--cj-ink); outline: 0; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-size: 12.5px; font-weight: 500; margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; background: var(--cj-mint); border-left: 3px solid var(--cj-turq-600); padding: 16px 20px; margin: 0 0 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }
.woocommerce-error { border-left-color: var(--cj-sale); background: #fdf1f5; }
.woocommerce-message .button, .woocommerce-info .button { padding: 10px 18px; order: 2; }
.cj-ship-bar { background: var(--cj-mint); padding: 16px 20px; margin-bottom: 24px; text-align: center; }
.cj-ship-bar p { margin: 0 0 10px; font-size: 14px; }
.cj-ship-track { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; }
.cj-ship-track span { display: block; height: 100%; background: var(--cj-turq-600); transition: width .4s; }
.cj-pix-notice { background: var(--cj-mint); padding: 12px 16px; font-size: 13.5px; }
table.shop_table { width: 100%; border-collapse: collapse; border: 0; margin-bottom: 28px; font-size: 14px; }
table.shop_table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; padding: 12px; border-bottom: 1px solid var(--cj-ink); }
table.shop_table td { padding: 16px 12px; border-bottom: 1px solid var(--cj-line); vertical-align: middle; }
table.shop_table img { width: 80px; background: var(--cj-mint); }
table.shop_table .product-remove a { font-size: 22px; color: var(--cj-muted); }
table.shop_table .actions { text-align: right; }
.coupon { display: inline-flex; gap: 8px; float: left; }
.coupon label { display: none; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 440px; background: #fafbfb; padding: 28px; }
.cart_totals h2 { font-size: 1.6rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; padding: 18px; font-size: 13px; }
/* Checkout em duas colunas: dados à esquerda, resumo do pedido fixo à direita. */
#customer_details::before, #customer_details::after, .woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { content: none; display: none; }
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); grid-template-areas: "notices notices" "details heading" "details review"; grid-template-rows: auto auto 1fr; column-gap: 56px; align-items: start; }
form.woocommerce-checkout > .woocommerce-NoticeGroup { grid-area: notices; }
form.woocommerce-checkout #customer_details { grid-area: details; }
form.woocommerce-checkout #order_review_heading { grid-area: heading; margin: 0; padding: 28px 28px 0; background: #fafbfb; font-size: 1.6rem; }
form.woocommerce-checkout #order_review { grid-area: review; position: sticky; top: 24px; }
#customer_details .col-1, #customer_details .col-2 { width: 100% !important; float: none !important; }
#customer_details .col-2 { margin-top: 12px; }
#order_review { background: #fafbfb; padding: 20px 28px 28px; }
#order_review table.shop_table td, #order_review table.shop_table th { padding: 12px 0; }
#order_review table.shop_table tfoot th { text-transform: uppercase; font-size: 11.5px; letter-spacing: 1.2px; }
table.cart td.actions .coupon .input-text { width: 180px !important; }
.wc-proceed-to-checkout a.checkout-button, .woocommerce-message a.button, .woocommerce-info a.button { text-decoration: none; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 18px; }
#payment ul.payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--cj-line); }
#payment .payment_box { background: #fff; padding: 14px; margin-top: 10px; font-size: 13px; }
#place_order { width: 100%; padding: 18px; font-size: 13px; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--cj-line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 13px 18px; border-bottom: 1px solid var(--cj-line); font-size: 13px; text-decoration: none; color: var(--cj-ink); }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; color: var(--cj-muted); }
.woocommerce-MyAccount-navigation li a:hover { background: var(--cj-mint); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--cj-mint); font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { width: auto !important; float: none !important; }
@media (max-width: 860px) {
	#customer_details, .woocommerce-account .woocommerce, .woocommerce-account #customer_login { grid-template-columns: 1fr; }
	form.woocommerce-checkout { display: block; }
	form.woocommerce-checkout #order_review_heading { margin-top: 32px; }
	form.woocommerce-checkout #order_review { position: static; }
	table.cart td.actions .coupon .input-text { width: 100% !important; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; text-align: right; padding: 10px 0; }
	table.shop_table_responsive tr td::before { content: attr(data-title) ': '; font-weight: 600; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { content: ''; }
	.coupon { float: none; width: 100%; margin-bottom: 10px; }
}
/* Blocos de carrinho/checkout do WooCommerce */
.wc-block-components-button:not(.is-link) { background: var(--cj-ink); color: #fff; }
.wc-block-components-button:not(.is-link):hover { background: var(--cj-turq); color: var(--cj-ink); }
.wc-block-components-product-name { font-family: var(--cj-sans); color: var(--cj-ink); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { max-width: var(--cj-wrap); margin: 0 auto; }

/* Fechado = some de verdade e não segura toque (guia de tamanhos travava a página do produto no celular) */
.cj-drawer[hidden], .cj-modal[hidden] { display: none; }
.cj-drawer:not(.is-open), .cj-modal:not(.is-open) { pointer-events: none; }
