/* Loja, Tibia Coins e Char Bazaar (combina com o tema "moderno") */
.loja-hero {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap;
	padding: 20px; margin-bottom: 20px; border-radius: 12px;
	background: linear-gradient(120deg, rgba(240, 192, 96, .12), rgba(139, 92, 246, .1));
	border: 1px solid rgba(240, 192, 96, .25);
}
.loja-hero h2 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.loja-hero p { margin: 0; color: var(--muted, #9aa3b5); max-width: 560px; }
.loja-saldo {
	display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
	padding: 12px 16px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08);
}
.loja-saldo span, .loja-saldo small { font-size: 12px; color: var(--muted, #9aa3b5); }
.loja-saldo b { font-size: 22px; color: var(--gold, #f0c060); }
.loja-saldo a { font-size: 13px; }

.loja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.loja-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	padding: 18px 14px; border-radius: 12px;
	background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
	transition: transform .15s, border-color .15s;
}
.loja-card:hover { transform: translateY(-3px); border-color: rgba(240, 192, 96, .45); }
.loja-card select { width: 100%; margin-top: 6px; }
.loja-card .btn-block { margin-top: 8px; }
.loja-card button[disabled] { opacity: .5; cursor: not-allowed; }
.loja-coin {
	width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
	font: 800 16px "Cinzel", Georgia, serif; color: #3a2605;
	background: radial-gradient(circle at 35% 30%, #fff1c2, #f0c060 45%, #a8741f);
	box-shadow: 0 6px 18px rgba(240, 192, 96, .35), inset 0 -3px 6px rgba(0, 0, 0, .25);
}
.loja-item-img { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.loja-item-img img { width: 32px; height: 32px; image-rendering: pixelated; transform: scale(1.6); }
.loja-card-title { font-weight: 700; color: #fff; }
.loja-desc { font-size: 12px; color: var(--muted, #9aa3b5); min-height: 32px; }
.loja-price { font-size: 22px; font-weight: 800; color: var(--gold, #f0c060); }
.loja-gold { font-size: 12px; color: var(--muted, #9aa3b5); }
.loja-tag { font-size: 11px; font-weight: 700; color: #34d399; background: rgba(52, 211, 153, .12); padding: 2px 8px; border-radius: 999px; }

.loja-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid; }
.loja-alert-ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .35); }
.loja-alert-erro { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .35); }
.loja-alert-info { background: rgba(240, 192, 96, .08); border-color: rgba(240, 192, 96, .3); }

.loja-sub { margin: 22px 0 10px; font-size: 16px; color: var(--gold, #f0c060); }
.loja-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.loja-table th { text-align: left; color: #ffe1a1; background: #3a2c12; padding: 8px 10px; }
.loja-table td { padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.loja-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.loja-status-ok { color: #34d399; background: rgba(52, 211, 153, .12); }
.loja-status-wait { color: var(--gold, #f0c060); background: rgba(240, 192, 96, .12); }
.loja-status-off { color: #9aa3b5; background: rgba(255, 255, 255, .06); }

.loja-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.loja-tabs a { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted, #9aa3b5); background: rgba(255, 255, 255, .04); }
.loja-tabs a.on, .loja-tabs a:hover { color: #1a1205; background: var(--gold, #f0c060); }

.bazar-lista { display: flex; flex-direction: column; gap: 10px; }
.bazar-item {
	display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 16px;
	padding: 10px 16px; border-radius: 12px; color: var(--text, #e7e9ee) !important;
	background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
}
.bazar-item:hover { border-color: rgba(240, 192, 96, .45); background: rgba(240, 192, 96, .05); }
.bazar-item-info, .bazar-item-lance { display: flex; flex-direction: column; }
.bazar-item-info b { font-size: 16px; }
.bazar-item-lance { text-align: right; }
.bazar-item-lance b { color: var(--gold, #f0c060); font-size: 18px; }
.bazar-item .muted, .bazar-detalhe .muted { font-size: 13px; }
.bazar-outfit { width: 64px; height: 64px; object-fit: contain; }
.bazar-outfit-lg { width: 128px; height: 128px; object-fit: contain; }
.bazar-vazio { text-align: center; padding: 30px 0; }

.bazar-detalhe { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.bazar-perfil { text-align: center; padding: 20px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.bazar-perfil h3 { margin: 8px 0 4px; color: #fff; }
.bazar-perfil .info-list { text-align: left; margin-top: 14px; }
.bazar-lance-box { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 12px; margin-bottom: 14px; background: rgba(240, 192, 96, .07); border: 1px solid rgba(240, 192, 96, .25); }
.bazar-tempo { font-size: 20px; font-weight: 700; }
.bazar-form { display: flex; gap: 10px; margin-bottom: 10px; }
.bazar-form input { width: 160px; }
.bazar-skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.bazar-skills div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.bazar-skills span { color: var(--muted, #9aa3b5); }

.bazar-anunciar { padding: 22px; display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.bazar-anunciar h3 { margin: 0; color: #fff; }
.bazar-anunciar label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.bazar-anunciar button { align-self: flex-start; }

@media (max-width: 720px) {
	.bazar-detalhe { grid-template-columns: 1fr; }
	.bazar-item { grid-template-columns: 56px 1fr; }
	.bazar-item-lance, .bazar-item-tempo { grid-column: 2; text-align: left; }
}
