/* ShopX – Loja Oficial: cards, preço em chips, abas e opções */
/* Alinhado ao tema red/black (redblack.css) */

.shopx-product-card {
	background: rgba(12, 12, 12, 0.92);
	border: 1px solid rgba(255, 0, 0, 0.22);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	margin-bottom: 20px;
	padding: 0;
}

.shopx-product-card .shopx-card-img-wrap {
	text-align: center;
	padding: 14px 14px 0;
	background: rgba(0, 0, 0, 0.25);
}

.shopx-product-card .shopx-card-img-wrap img {
	max-height: 120px;
	width: auto;
	display: inline-block;
	vertical-align: middle;
}

.shopx-product-card .shopx-card-body {
	padding: 14px 16px 16px;
}

.shopx-product-card .shopx-card-title {
	margin: 0 0 4px 0;
	font-size: 1.1em;
	font-weight: 700;
	color: #f4f4f4;
	line-height: 1.3;
}

.shopx-product-card .shopx-card-subtitle {
	margin: 0 0 10px 0;
	font-size: 0.9em;
	color: rgba(255, 255, 255, 0.65);
}

.shopx-product-card .shopx-card-item-meta {
	margin: 0 0 10px 0;
	font-size: 0.8em;
	color: rgba(255, 255, 255, 0.5);
}

/* Preço em chips */
.shopx-price {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	align-items: center;
}

.shopx-price-chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(209, 0, 0, 0.35), rgba(180, 0, 0, 0.25));
	border: 1px solid rgba(255, 43, 43, 0.4);
	color: #fff;
	font-weight: 700;
	font-size: 0.95em;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Tabs */
.shopx-tabs {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	margin: 0 -16px 12px -16px;
	padding: 0 16px 0 16px;
}

.shopx-tabs .nav-tabs {
	border-bottom: none;
	margin-bottom: 0;
}

.shopx-tabs .nav-tabs > li > a {
	border: none;
	border-radius: 8px 8px 0 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	padding: 8px 14px;
	margin-right: 4px;
	font-size: 0.9em;
}

.shopx-tabs .nav-tabs > li > a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border: none;
}

.shopx-tabs .nav-tabs > li.active > a,
.shopx-tabs .nav-tabs > li.active > a:hover,
.shopx-tabs .nav-tabs > li.active > a:focus {
	background: rgba(209, 0, 0, 0.25);
	color: #fff;
	border: none;
	border-bottom: 2px solid #d10000;
}

.shopx-tabs .tab-content {
	padding: 0;
}

.shopx-tabs .tab-pane {
	display: none;
	padding: 0;
}

.shopx-tabs .tab-pane.active {
	display: block;
}

/* Blocos de opções */
.shopx-options-section {
	margin-bottom: 14px;
}

.shopx-options-section:last-child {
	margin-bottom: 0;
}

.shopx-options-section-title {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shopx-options-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}

.shopx-options-row:last-child {
	margin-bottom: 0;
}

.shopx-options-row .shopx-field {
	flex: 1 1 120px;
	min-width: 0;
}

.shopx-options-row .shopx-field label {
	display: block;
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 4px;
}

.shopx-options-row .shopx-field input[type="number"] {
	width: 100%;
	max-width: 80px;
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(0, 0, 0, 0.35);
	color: #f4f4f4;
	font-size: 0.9em;
}

/* Grid Excellent (6 opções) */
.shopx-options-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 14px;
}

.shopx-options-grid .checkbox {
	margin: 0;
}

.shopx-options-grid .checkbox label {
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shopx-options-grid .checkbox input {
	margin: 0;
	flex-shrink: 0;
}

/* Flags Skill / Sorte */
.shopx-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.shopx-flags .checkbox {
	margin: 0;
}

.shopx-flags .checkbox label {
	font-size: 0.9em;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
}

.shopx-flags .shopx-skill-disabled {
	font-size: 0.85em;
	color: rgba(255, 255, 255, 0.45);
}

/* Botão adicionar e qty */
.shopx-add-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shopx-add-row .shopx-qty {
	width: 70px;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.35);
	color: #f4f4f4;
	font-size: 1em;
}

.shopx-add-row .btn-success {
	padding: 8px 18px;
	border-radius: 8px;
	font-weight: 700;
	background: linear-gradient(180deg, #c10000, #8b0000);
	border: 1px solid rgba(255, 80, 80, 0.5);
	box-shadow: 0 2px 10px rgba(209, 0, 0, 0.35);
}

.shopx-add-row .btn-success:hover {
	background: linear-gradient(180deg, #e00, #a00);
	border-color: rgba(255, 100, 100, 0.6);
	color: #fff;
}

@media (min-width: 480px) {
	.shopx-options-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
