/* ===== TCC 4813 - Tabbed Category Cards ===== */

.tcc-4813-container * {
	box-sizing: border-box;
}

.tcc-4813-container {
	font-family: inherit;
	width: 100%;
}

/* --- TABS --- */
.tcc-4813-tabs {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 28px;
	border-bottom: 2px solid #ebebeb;
	list-style: none;
	padding: 0;
}

.tcc-4813-tab {
	display: inline-block;
	padding: 12px 26px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #888;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.25s ease, border-color 0.25s ease;
	user-select: none;
}

.tcc-4813-tab:hover {
	color: #444;
}

.tcc-4813-tab.active {
	color: #0073aa;
	border-bottom: 2px solid #0073aa;
}

/* --- PANELS --- */
.tcc-4813-content-panel {
	display: none;
}

.tcc-4813-content-panel.active {
	display: block;
	animation: tcc4813FadeIn 0.35s ease;
}

@keyframes tcc4813FadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* --- GRID --- */
.tcc-4813-cards-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 1024px) {
	.tcc-4813-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.tcc-4813-cards-grid {
		grid-template-columns: 1fr;
	}
}

/* --- CARD --- */
.tcc-4813-card {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border: 1px solid #e4e4e4;
	border-radius: 12px;
	background-color: #ffffff;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.tcc-4813-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
	border-color: #c8dff0;
}

/* --- CARD LEFT --- */
.tcc-4813-card-left {
	display: flex !important;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

/* --- IMAGE --- */
.tcc-4813-card-image {
	width: 53px !important;
	height: 53px !important;
	min-width: 53px;
	border-radius: 50% !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: #f0f4f8;
	border: 1px solid #e0e0e0;
	flex-shrink: 0;
}

/* --- CARD INFO --- */
.tcc-4813-card-info {
	display: flex !important;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.tcc-4813-card-subtitle {
	display: block;
	font-size: 11px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	line-height: 1;
	margin: 0;
}

.tcc-4813-card-title {
	display: block;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* --- PRICE + BUTTON ROW --- */
.tcc-4813-card-price-btn {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.tcc-4813-card-price {
	font-size: 14px;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
}

.tcc-4813-card-price .woocommerce-Price-amount {
	color: #222;
	font-weight: 700;
}

.tcc-4813-card-btn {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #ffffff !important;
	background-color: #0073aa;
	padding: 5px 13px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	transition: background-color 0.25s ease, transform 0.2s ease;
	text-decoration: none !important;
}

.tcc-4813-card:hover .tcc-4813-card-btn {
	background-color: #005a87;
	transform: scale(1.04);
}

/* --- ARROW --- */
.tcc-4813-card-right {
	display: flex !important;
	align-items: center;
	color: #bbb;
	flex-shrink: 0;
	margin-left: 12px;
	transition: color 0.25s ease, transform 0.25s ease;
}

.tcc-4813-card:hover .tcc-4813-card-right {
	color: #0073aa;
	transform: translateX(4px);
}
