/**
 * Vitrine — página de demonstração no design pb- real (header/footer do tema).
 *
 * Reproduz a tela "Vitrine" do template Claude Design (SEG 6): hero
 * "Mais do que contas", faixa dos três nós, "Por que PlaceBeads", prévia do
 * ritual (fundo escuro), kit em destaque, "Desejos da comunidade" e CTA final.
 *
 * Namespace pb-vit-; TODAS as cores via var(--...) (funciona nos 5 temas);
 * tipografia via var(--font-heading)/var(--font-body) (aba Fontes do painel).
 * Enfileirado APENAS na página slug "vitrine" (inc/enqueue.php).
 *
 * @package PlaceBeads
 */

.pb-vit__wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

.pb-vit__eyebrow {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.26em;
	font-size: 12px;
	font-weight: 600;
	color: var(--accent-2);
}

/* Botões (pílula) --------------------------------------------------------- */
.pb-vit-btn {
	display: inline-block;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.02em;
	padding: 16px 32px;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.pb-vit-btn--accent {
	background: var(--accent);
	color: var(--on-accent);
}

.pb-vit-btn--accent:hover {
	background: var(--accent-hover);
}

.pb-vit-btn--outline {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--accent-2);
	padding: 16px 30px;
}

.pb-vit-btn--outline:hover {
	background: var(--surface-2);
}

.pb-vit-btn--ink {
	background: var(--ink);
	color: var(--bg);
	padding: 17px 38px;
}

.pb-vit-btn--ink:hover {
	background: var(--accent);
	color: var(--on-accent);
}

.pb-vit-btn--ghost-dark {
	background: transparent;
	color: var(--on-dark);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 15px 32px;
}

.pb-vit-btn--ghost-dark:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* Placeholder de imagem (motivo das contas) ------------------------------- */
.pb-vit-ph {
	background: var(--img);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	overflow: hidden;
}

.pb-vit-ph__label {
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

/* Imagem real (configurada no metabox) preenche o placeholder. */
.pb-vit-ph.has-image {
	gap: 0;
}

.pb-vit-ph__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Cabeçalho de seção centralizado ---------------------------------------- */
.pb-vit-head {
	max-width: 660px;
	margin: 0 auto 64px;
	text-align: center;
}

.pb-vit-head .pb-vit__eyebrow {
	display: block;
	margin-bottom: 20px;
}

.pb-vit-head__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
	color: var(--ink);
	margin: 0;
}

/* HERO -------------------------------------------------------------------- */
.pb-vit-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 64px;
	align-items: center;
	padding: 78px 32px 72px;
}

.pb-vit-hero__eyebrow {
	display: block;
	margin-bottom: 24px;
}

.pb-vit-hero__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(48px, 6.4vw, 82px);
	line-height: 1.02;
	color: var(--ink);
	margin: 0 0 26px;
	letter-spacing: -0.01em;
}

.pb-vit-hero__lead {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink-soft);
	max-width: 460px;
	margin: 0 0 38px;
}

.pb-vit-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.pb-vit-hero__media {
	position: relative;
}

.pb-vit-hero__ph {
	aspect-ratio: 4 / 5;
	gap: 18px;
}

.pb-vit-hero__badge {
	position: absolute;
	bottom: -22px;
	left: -22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 18px 22px;
	box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.35);
}

.pb-vit-hero__badge-big {
	font-family: var(--font-heading);
	font-size: 30px;
	color: var(--ink);
	line-height: 1;
}

.pb-vit-hero__badge-small {
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--ink-faint);
	letter-spacing: 0.04em;
	margin-top: 4px;
}

/* FAIXA DOS TRÊS NÓS ------------------------------------------------------ */
.pb-vit-knots {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--surface-2);
}

.pb-vit-knots__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding-top: 0;
	padding-bottom: 0;
}

.pb-vit-knots__cell {
	padding: 32px 24px;
	text-align: center;
	border-right: 1px solid var(--line);
}

.pb-vit-knots__cell:last-child {
	border-right: none;
}

.pb-vit-knots__name {
	font-family: var(--font-heading);
	font-size: 22px;
	color: var(--accent-2);
	margin-bottom: 4px;
}

.pb-vit-knots__word {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink-soft);
	letter-spacing: 0.02em;
}

/* POR QUE PLACEBEADS ------------------------------------------------------ */
.pb-vit-why {
	padding: 96px 32px;
}

.pb-vit-why__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.pb-vit-why__item {
	text-align: center;
}

.pb-vit-why__num {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1.5px solid var(--accent-2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 22px;
	font-family: var(--font-heading);
	font-size: 24px;
	color: var(--accent-2);
}

.pb-vit-why__t {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 26px;
	color: var(--ink);
	margin: 0 0 12px;
}

.pb-vit-why__d {
	font-family: var(--font-body);
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin: 0;
}

/* PRÉVIA DO RITUAL (fundo escuro) ---------------------------------------- */
.pb-vit-ritual {
	background: var(--dark);
	color: var(--on-dark);
}

.pb-vit-ritual__inner {
	padding-top: 96px;
	padding-bottom: 96px;
}

.pb-vit-ritual__head {
	text-align: center;
	margin-bottom: 64px;
}

.pb-vit-ritual__eyebrow {
	display: block;
	color: var(--accent);
	margin-bottom: 20px;
}

.pb-vit-ritual__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 48px);
	color: var(--on-dark);
	margin: 0;
}

.pb-vit-ritual__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-vit-ritual__cell {
	background: var(--dark);
	padding: 38px 28px;
}

.pb-vit-ritual__n {
	font-family: var(--font-heading);
	font-size: 40px;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 20px;
}

.pb-vit-ritual__t {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 17px;
	color: var(--on-dark);
	margin: 0 0 10px;
}

.pb-vit-ritual__d {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.65;
	color: var(--on-dark-soft);
	margin: 0;
}

.pb-vit-ritual__cta {
	text-align: center;
	margin-top: 48px;
}

/* KIT EM DESTAQUE -------------------------------------------------------- */
.pb-vit-kit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	padding: 96px 32px;
}

.pb-vit-kit__ph {
	aspect-ratio: 1 / 1;
}

.pb-vit-kit__eyebrow {
	display: block;
	margin-bottom: 18px;
}

.pb-vit-kit__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(32px, 3.6vw, 44px);
	color: var(--ink);
	margin: 0 0 18px;
	line-height: 1.1;
}

.pb-vit-kit__text {
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--ink-soft);
	margin: 0 0 28px;
}

.pb-vit-kit__price-row {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.pb-vit-kit__price {
	font-family: var(--font-heading);
	font-size: 38px;
	color: var(--ink);
}

.pb-vit-kit__ship {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink-faint);
}

/* DESEJOS DA COMUNIDADE -------------------------------------------------- */
.pb-vit-wishes {
	background: var(--surface-2);
	border-top: 1px solid var(--line);
}

.pb-vit-wishes__inner {
	padding-top: 90px;
	padding-bottom: 90px;
}

.pb-vit-wishes__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.pb-vit-wishes__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 30px 26px;
	min-height: 150px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.pb-vit-wishes__no {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-2);
	font-weight: 600;
}

.pb-vit-wishes__quote {
	font-family: var(--font-heading);
	font-size: 24px;
	line-height: 1.25;
	color: var(--ink);
	margin: 18px 0 0;
}

/* CTA FINAL -------------------------------------------------------------- */
.pb-vit-cta {
	padding: 100px 32px;
	text-align: center;
}

.pb-vit-cta__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(34px, 4.4vw, 56px);
	color: var(--ink);
	margin: 0 0 16px;
	line-height: 1.08;
}

.pb-vit-cta__sub {
	font-family: var(--font-body);
	font-size: 17px;
	color: var(--ink-soft);
	margin: 0 0 34px;
}

/* =======================================================================
   PRODUTO VITRINE (Pulseira Serenidade) — ficha estilo clássico.
   ======================================================================= */
.pb-vit-prod {
	padding-top: 40px;
	padding-bottom: 40px;
}

.pb-vit-crumb {
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--ink-faint);
	margin-bottom: 32px;
}

.pb-vit-crumb a {
	color: var(--ink-faint);
	text-decoration: none;
}

.pb-vit-crumb a:hover {
	color: var(--accent-2);
}

.pb-vit-crumb__sep {
	margin: 0 8px;
}

.pb-vit-crumb__here {
	color: var(--ink);
}

.pb-vit-prod__top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.pb-vit-prod__media {
	position: relative;
	background: var(--img);
	border-radius: 6px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pb-vit-prod__media .pb-vit-ph__img {
	position: absolute;
	inset: 0;
}

.pb-vit-prod__badge {
	position: absolute;
	top: 0;
	left: 0;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 8px 16px;
	z-index: 2;
}

/* Galeria masonry (destaque + miniaturas), quantidade dinâmica ---------- */
.pb-vit-gallery {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 12px;
	align-items: start;
}

.pb-vit-gallery--single {
	grid-template-columns: 1fr;
}

.pb-vit-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.pb-vit-frame {
	position: relative;
	margin: 0;
	background: var(--img);
	border-radius: 6px;
	overflow: hidden;
}

.pb-vit-gallery__main {
	aspect-ratio: 3 / 4;
}

.pb-vit-gallery--single .pb-vit-gallery__main {
	aspect-ratio: 1 / 1;
}

.pb-vit-gallery__thumb {
	aspect-ratio: 1 / 1;
}

.pb-vit-frame__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pb-vit-frame:hover .pb-vit-frame__img {
	transform: scale(1.1);
}

.pb-vit-prod__title {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(34px, 3.8vw, 46px);
	line-height: 1.05;
	color: var(--ink);
	margin: 0 0 16px;
}

.pb-vit-prod__prices {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 22px;
}

.pb-vit-prod__old {
	font-family: var(--font-body);
	font-size: 18px;
	color: var(--ink-faint);
	text-decoration: line-through;
}

.pb-vit-prod__new {
	font-family: var(--font-body);
	font-size: 24px;
	font-weight: 700;
	color: var(--accent-2);
}

.pb-vit-prod__desc {
	font-family: var(--font-body);
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--ink-soft);
	margin: 0 0 28px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 28px;
}

.pb-vit-prod__buy {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.pb-vit-qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
}

.pb-vit-qty__btn {
	background: var(--surface);
	border: none;
	cursor: pointer;
	width: 42px;
	height: 46px;
	font-size: 18px;
	color: var(--ink-soft);
}

.pb-vit-qty__btn:hover {
	background: var(--surface-2);
}

.pb-vit-qty__val {
	width: 46px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.pb-vit-prod__add {
	background: var(--accent);
	color: var(--on-accent);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 15px 34px;
	transition: background-color 0.18s ease;
}

.pb-vit-prod__add:hover {
	background: var(--accent-hover);
}

/* Buybox real do WooCommerce: os botões vêm dentro de <form class="cart">. */
.pb-vit-prod__form {
	margin: 0;
}

.pb-vit-prod__add--ghost {
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
}

.pb-vit-prod__add--ghost:hover {
	background: var(--surface-2);
}

.pb-vit-prod__meta {
	border-top: 1px solid var(--line);
	padding-top: 24px;
	display: grid;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink-soft);
}

.pb-vit-prod__meta-k {
	color: var(--ink-faint);
}

.pb-vit-prod__meta-v {
	color: var(--accent-2);
}

/* Abas ------------------------------------------------------------------- */
.pb-vit-tabs {
	margin-top: 72px;
}

.pb-vit-tabs__nav {
	display: flex;
	border-bottom: 1px solid var(--line);
}

.pb-vit-tabs__btn {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-faint);
	padding: 16px 24px;
	margin-bottom: -1px;
}

.pb-vit-tabs__btn.is-active {
	color: var(--accent-2);
	border-bottom-color: var(--accent);
}

.pb-vit-tabs__panel {
	border: 1px solid var(--line);
	border-top: none;
	padding: 38px 40px;
	background: var(--surface);
}

.pb-vit-tabs__panel p {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink-soft);
	margin: 0 0 16px;
}

.pb-vit-tabs__panel p:last-child {
	margin-bottom: 0;
}

/* Relacionados ----------------------------------------------------------- */
.pb-vit-rel {
	margin-top: 80px;
}

.pb-vit-rel__title {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 34px;
	color: var(--ink);
	margin: 0 0 32px;
}

.pb-vit-rel__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

.pb-vit-rel__card {
	text-align: center;
}

.pb-vit-rel__thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--img);
	border: none;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 14px;
	transition: transform 0.3s ease;
}

a.pb-vit-rel__thumb:hover {
	transform: translateY(-4px);
}

.pb-vit-rel__thumb--2 { background: var(--img-2); }
.pb-vit-rel__thumb--3 { background: var(--img-3); }

.pb-vit-rel__thumb .pb-vit-ph__img {
	position: absolute;
	inset: 0;
}

.pb-vit-rel__badge {
	position: absolute;
	top: 0;
	left: 0;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 12px;
	z-index: 2;
}

.pb-vit-rel__name {
	font-family: var(--font-heading);
	font-size: 20px;
	color: var(--ink);
	line-height: 1.15;
	margin-bottom: 6px;
	display: block;
	text-decoration: none;
}

.pb-vit-rel__stars {
	color: var(--accent);
	font-size: 13px;
	letter-spacing: 2px;
	margin-bottom: 6px;
}

.pb-vit-rel__price {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink-soft);
	font-weight: 600;
	margin-bottom: 14px;
}

.pb-vit-rel__btn {
	background: var(--accent);
	color: var(--on-accent);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 20px;
}

.pb-vit-rel__btn:hover {
	background: var(--accent-hover);
}

@media (max-width: 900px) {
	.pb-vit-prod__top {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.pb-vit-rel__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.pb-vit-rel__grid {
		grid-template-columns: 1fr;
	}
}

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 900px) {
	.pb-vit-hero {
		grid-template-columns: 1fr;
		gap: 48px;
		padding-top: 56px;
	}

	.pb-vit-kit {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.pb-vit-why__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.pb-vit-ritual__grid,
	.pb-vit-wishes__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.pb-vit-knots__grid,
	.pb-vit-ritual__grid,
	.pb-vit-wishes__grid {
		grid-template-columns: 1fr;
	}

	.pb-vit-knots__cell {
		border-right: none;
		border-bottom: 1px solid var(--line);
	}

	.pb-vit-knots__cell:last-child {
		border-bottom: none;
	}

	.pb-vit-hero__badge {
		left: 0;
	}
}
