/* WooCommerce Custom Clients Styles */

:root {
	--wcc-primary: #8D6E63;
	/* Brown 400 */
	--wcc-secondary: #D7CCC8;
	/* Brown 100 */
	--wcc-accent: #FF7043;
	/* Deep Orange 400 */
	--wcc-text: #3E2723;
	/* Brown 900 */
	--wcc-bg: #EFEBE9;
	/* Brown 50 */
	--wcc-white: #ffffff;
}

.wcc-mini-store-container {
	overflow-x: auto;
	margin: 20px 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	background: var(--wcc-white);
}

.wcc-mini-store-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
	/* Ensure table doesn't squish too much on mobile */
}

.wcc-mini-store-table th,
.wcc-mini-store-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.wcc-mini-store-table th {
	background-color: var(--wcc-bg);
	color: var(--wcc-text);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9em;
}

.wcc-mini-store-table tbody tr:hover {
	background-color: #fafafa;
}

/* Column Widths */
.wcc-col-image {
	width: 80px;
}

.wcc-col-name {
	width: 20%;
}

.wcc-col-desc {
	width: 35%;
}

.wcc-col-price {
	width: 15%;
	font-weight: bold;
	color: var(--wcc-primary);
}

.wcc-col-action {
	width: 15%;
	text-align: right;
}

/* Image Styling */
.wcc-mini-store-table img {
	width: 60px;
	height: auto;
	border-radius: 4px;
	display: block;
}

/* Text Styling */
.wcc-mini-store-table a {
	color: var(--wcc-text);
	text-decoration: none;
	font-weight: 500;
}

.wcc-mini-store-table a:hover {
	color: var(--wcc-primary);
}

.wcc-col-desc {
	font-size: 0.9em;
	color: #666;
}

/* Button Styling */
.wcc-mini-store-table .button {
	background-color: var(--wcc-primary);
	color: var(--wcc-white);
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9em;
	display: inline-block;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.wcc-mini-store-table .button:hover {
	background-color: var(--wcc-text);
}

/* Responsive */
@media (max-width: 768px) {
	.wcc-col-desc {
		display: none;
		/* Hide description on smaller screens to save space */
	}
}