/* =================================================================
   /donate — Loja Premium  (acrescenta a base .bzc-pf)
   ================================================================= */

.bzc-shop-pf { --shop-line: rgba(240, 177, 51, .14); }

.bzc-shop-pf [hidden] { display: none !important; }

/* ---------------- HERO ---------------- */
.bzc-hero--shop {
	padding-bottom: 30px;
	background:
		linear-gradient(155deg, rgba(240, 177, 51, .14), rgba(240, 177, 51, 0) 50%),
		linear-gradient(180deg, #2a2219 0%, #16130f 100%);
}

.bzc-hero--shop .bzc-hero__name { font-size: 42px; }

/* ---------------- TOOLBAR ---------------- */
.bzc-shopbar {
	position: sticky;
	top: 0;
	z-index: 6;
	margin: -4px 0 18px;
	padding: 14px 0 14px;
	background: linear-gradient(180deg, var(--pf-panel-2) 72%, rgba(34, 29, 23, 0));
	backdrop-filter: blur(8px);
}

.bzc-search--shop { margin-bottom: 14px; }

.bzc-search--shop .bzc-search__row {
	position: relative;
	align-items: center;
}

.bzc-search--shop .bzc-search__input {
	padding-right: 18px;
	border-color: rgba(240, 177, 51, .22);
	background: rgba(0, 0, 0, .45);
}

.bzc-search--shop .bzc-search__input::-webkit-search-cancel-button { display: none; }

#bzc-shopclear { flex: 0 0 auto; }

/* ---------------- CHIPS DE CATEGORIA ---------------- */
.bzc-shopcats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bzc-chip--cat {
	position: relative;
	padding: 7px 13px;
	overflow: hidden;
	border-color: rgba(240, 177, 51, .45);
	border-color: color-mix(in srgb, var(--c) 45%, transparent);
	background: rgba(255, 255, 255, .05);
	color: #efe7da;
	text-decoration: none;
	transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.bzc-chip--cat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--c);
	opacity: .8;
}

.bzc-chip--cat:hover {
	transform: translateY(-2px);
	color: #fff;
	border-color: color-mix(in srgb, var(--c) 85%, transparent);
	background: color-mix(in srgb, var(--c) 16%, transparent);
	box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--c) 90%, #000);
}

.bzc-chip--cat b {
	color: var(--c);
	font-size: 11.5px;
	opacity: .95;
}

.bzc-chip--cat.is-active,
.art-postcontent .bzc-shop-pf a.bzc-chip--cat.is-active {
	color: #17120a !important;
	border-color: var(--pf-gold) !important;
	background: linear-gradient(180deg, #fff8e6, #ffdc94) !important;
	box-shadow: 0 10px 24px -14px rgba(240, 177, 51, .95);
}

.bzc-chip--cat.is-active .bzc-chip__label,
.art-postcontent .bzc-shop-pf a.bzc-chip--cat.is-active .bzc-chip__label {
	color: #17120a !important;
	font-weight: 800;
}

.bzc-chip--cat.is-active b { color: #7a5104 !important; }
.bzc-chip--cat.is-active::before { opacity: 1; background: #8a5c05; }

.bzc-chip--cat.is-active:hover,
.art-postcontent .bzc-shop-pf a.bzc-chip--cat.is-active:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

/* ---------------- GRID DE ITENS ---------------- */
.bzc-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	gap: 14px;
	align-items: start;
}

.bzc-item.is-off,
.bzc-item.is-more { display: none !important; }

.bzc-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 16px;
	overflow: hidden;
	border: 1px solid var(--pf-line-2);
	border-radius: var(--pf-r-sm);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 40%),
		linear-gradient(180deg, var(--pf-panel) 0%, #17140f 100%);
	box-shadow: 0 16px 30px -26px rgba(0, 0, 0, .95);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bzc-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--c), transparent 72%);
	opacity: .75;
}

.bzc-item:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--c) 42%, transparent);
	box-shadow: 0 26px 42px -28px rgba(0, 0, 0, 1);
}

.bzc-item.is-promo {
	border-color: rgba(196, 132, 252, .34);
	background:
		linear-gradient(180deg, rgba(196, 132, 252, .10), rgba(196, 132, 252, 0) 45%),
		linear-gradient(180deg, var(--pf-panel) 0%, #17140f 100%);
}

.bzc-item.is-oculto { border-color: rgba(255, 107, 107, .4); }

.bzc-item.is-hit { animation: bzcRise .4s cubic-bezier(.2, .8, .3, 1) both; }

/* topo */
.bzc-item__top { display: flex; align-items: flex-start; gap: 13px; }

.bzc-item__img {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
	border-radius: 14px;
	background:
		radial-gradient(70% 70% at 50% 30%, color-mix(in srgb, var(--c) 24%, transparent), transparent 72%),
		rgba(0, 0, 0, .45);
	overflow: hidden;
}

.bzc-item__img::after {
	content: attr(data-l);
	position: absolute;
	z-index: 0;
	color: color-mix(in srgb, var(--c) 85%, #fff);
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 700;
	opacity: .9;
}

.bzc-item__img img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	image-rendering: auto;
}

.bzc-item__ph {
	position: relative;
	z-index: 1;
	width: 46%;
	height: 46%;
	border-radius: 6px;
	background: color-mix(in srgb, var(--c) 45%, transparent);
}

.bzc-item__head { flex: 1 1 auto; min-width: 0; }

.bzc-item__cat {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	color: var(--c);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	opacity: .95;
}

.bzc-item__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 15px;
	height: 16px;
	padding: 0 7px;
	border-radius: 5px;
	background: #c484fc;
	color: #1b0f26;
	font-size: 9px;
	font-weight: 900;
	font-style: normal;
	letter-spacing: .9px;
	text-transform: uppercase;
}

.bzc-item__name {
	color: #fff !important;
	font-size: 16.5px !important;
	line-height: 1.25 !important;
	overflow-wrap: anywhere;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.bzc-item__name mark {
	padding: 0 2px;
	border-radius: 3px;
	background: rgba(240, 177, 51, .9);
	color: #16130f;
}

.bzc-item__price {
	display: flex;
	align-items: baseline;
	gap: 5px;
	margin-top: 5px !important;
	color: var(--pf-mut);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.bzc-item__price b {
	color: var(--pf-gold-2);
	font-family: Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0;
	text-shadow: 0 0 18px rgba(240, 177, 51, .45);
}

/* badge oculto */
.bzc-item__oculto {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 10px;
	border-bottom-left-radius: 9px;
	background: rgba(255, 107, 107, .9);
	color: #2a0505;
	font-size: 9.5px;
	font-weight: 900;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

/* descrição */
.bzc-item__desc {
	position: relative;
	margin: 0;
	color: #cfc4b4;
	font-size: 13px;
	line-height: 1.55;
}

.bzc-item__descin {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: calc(3 * 1.55em);
	overflow-wrap: anywhere;
}

.bzc-item__desc a { color: var(--pf-blue); border-bottom: 1px dotted rgba(122, 184, 255, .5); }
.bzc-item__desc b, .bzc-item__desc strong { color: var(--pf-gold-2); }

.bzc-item.is-open .bzc-item__descin {
	display: block;
	-webkit-line-clamp: unset;
	max-height: none;
}

.bzc-item__more {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pf-gold-2);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .8px;
	text-transform: uppercase;
	cursor: pointer;
	opacity: .85;
}

.bzc-item__more:hover { opacity: 1; text-decoration: underline; }

/* comando de compra */
.bzc-item__cmd {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: auto;
	padding: 11px 13px;
	border: 1px dashed rgba(240, 177, 51, .38);
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(240, 177, 51, .12), rgba(240, 177, 51, .035));
	transition: border-color .18s ease, background .18s ease;
}

.bzc-item__cmd:hover {
	border-color: rgba(240, 177, 51, .7);
	background: linear-gradient(180deg, rgba(240, 177, 51, .17), rgba(240, 177, 51, .05));
}

.bzc-item__cmdlabel {
	color: var(--pf-mut);
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.bzc-item__cmdcode {
	display: block;
	color: var(--pf-gold-2);
	font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .2px;
	line-height: 1.4;
	overflow-wrap: anywhere;
	cursor: text;
	-webkit-user-select: all;
	user-select: all;
}

.bzc-item__cmdcode b { color: #fff; font-weight: 800; text-shadow: 0 0 14px rgba(240, 177, 51, .6); }

/* rodapé (apenas admin) */
.bzc-item__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 11px;
	border-top: 1px solid var(--pf-line-2);
}

.bzc-item__admin {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	border-top: 0;
	padding-top: 0;
}

.bzc-item__admin > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--pf-line-2);
	border-radius: 7px;
	background: rgba(255, 255, 255, .05);
	color: var(--pf-gold-2);
	font-size: 11px;
	text-decoration: none;
}

.bzc-item__admin > a:hover { background: rgba(240, 177, 51, .2); color: #fff; }

.bzc-item__frm { display: flex; gap: 6px; margin-left: auto; }

.bzc-mini {
	padding: 4px 9px;
	border: 1px solid var(--pf-line-2);
	border-radius: 7px;
	background: rgba(255, 255, 255, .05);
	color: var(--pf-mut);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bzc-mini:hover { background: rgba(240, 177, 51, .18); color: var(--pf-gold-2); border-color: rgba(240, 177, 51, .45); }
.bzc-mini--danger:hover { background: rgba(255, 107, 107, .2); color: #ff9b9b; border-color: rgba(255, 107, 107, .5); }

/* ---------------- EDITOR ADMIN ---------------- */
.bzc-editwrap {
	overflow-x: auto;
	padding: 14px;
	border: 1px solid rgba(255, 107, 107, .25);
	border-radius: var(--pf-r-sm);
	background: rgba(0, 0, 0, .35);
}

.bzc-editwrap table { width: 100%; border-collapse: collapse; }
.bzc-editwrap td, .bzc-editwrap th { padding: 7px 9px; border-bottom: 1px solid var(--pf-line-2); font-size: 13px; }
.bzc-editwrap input, .bzc-editwrap select, .bzc-editwrap textarea {
	width: 100%;
	padding: 7px 10px;
	border: 1px solid var(--pf-line-2);
	border-radius: 8px;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	font: inherit;
}
.bzc-editwrap textarea { min-height: 90px; resize: vertical; }
.bzc-editwrap input[type=checkbox], .bzc-editwrap input[type=radio], .bzc-editwrap input[type=submit] { width: auto; }
.bzc-editwrap input[type=submit] {
	padding: 9px 18px;
	border: 1px solid rgba(240, 177, 51, .45);
	border-radius: 9px;
	background: rgba(240, 177, 51, .16);
	color: var(--pf-gold-2);
	font-weight: 800;
	cursor: pointer;
}
.bzc-editwrap input[type=submit]:hover { background: var(--pf-gold); color: #16130f; }
.bzc-editwrap form { display: block; }

/* ---------------- ESTADO VAZIO / MAIS ---------------- */
.bzc-shopempty { padding: 40px 16px 26px; }

.bzc-more { margin-top: 20px; }

/* ---------------- COMO COMPRAR ---------------- */
.bzc-how {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.bzc-how li {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 16px;
	border: 1px solid var(--pf-line-2);
	border-radius: var(--pf-r-sm);
	background: rgba(255, 255, 255, .035);
	transition: transform .2s ease, border-color .2s ease;
}

.bzc-how li:hover { transform: translateY(-3px); border-color: rgba(240, 177, 51, .35); }

.bzc-how__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(240, 177, 51, .45);
	border-radius: 9px;
	background: rgba(240, 177, 51, .14);
	color: var(--pf-gold-2);
	font-family: Georgia, serif;
	font-size: 15px;
	font-weight: 700;
}

.bzc-how p { color: var(--pf-mut); font-size: 13.5px; line-height: 1.55; }
.bzc-how p b { color: var(--pf-gold-2); font-weight: 700; }

.bzc-how__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- RESPONSIVO ---------------- */
@media (max-width: 900px) {
	.bzc-hero--shop .bzc-hero__name { font-size: 34px; }
	.bzc-items { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
}

@media (max-width: 760px) {
	.bzc-shopbar { position: static; margin-bottom: 14px; padding-top: 4px; }
	.bzc-item { padding: 14px; }
	.bzc-item__foot { flex-direction: column; align-items: stretch; }
	.bzc-item__frm { margin-left: 0; }
	.bzc-hero--shop .bzc-hero__name { font-size: 29px; }
	.bzc-items { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
	.bzc-shopcats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.bzc-chip--cat { flex: 0 0 auto; }
}

/* ---------------- VOLTAR AO TOPO ---------------- */
.bzc-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 45;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(240, 177, 51, .55);
	border-radius: 50%;
	background: linear-gradient(180deg, #fff8e6, #ffdc94);
	color: #241a06;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bzc-totop.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.bzc-totop:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -14px rgba(240, 177, 51, .55);
}

.bzc-totop span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	margin: -6.5px 0 0 -5px;
	border-top: 2.5px solid currentColor;
	border-left: 2.5px solid currentColor;
	transform: rotate(45deg);
}

@media (max-width: 760px) {
	.bzc-totop { right: 14px; bottom: 14px; }
}
