/* Color/size swatches on product cards (see arshiya_render_product_swatches()) */
.product-card__swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 4px 0 8px;
}

.swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.swatch--color {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--color-border);
}
.swatch--color:hover,
.swatch--color:focus-visible {
	transform: scale(1.15);
	box-shadow: 0 0 0 1.5px var(--color-primary);
}

.swatch--text {
	min-width: 26px;
	height: 22px;
	padding: 0 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--color-text);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 3px;
}
.swatch--text:hover,
.swatch--text:focus-visible {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.swatch--more {
	font-size: 11px;
	color: var(--color-text-light);
	cursor: default;
}

/* ---- Dedicated Wishlist / Compare pages ---- */
.arshiya-list-page {
	padding: var(--gap-lg) 0 60px;
}
.arshiya-list-page__empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--color-text-light);
}
.arshiya-list-page__empty a { color: var(--color-primary); font-weight: 600; }

.arshiya-list-table {
	width: 100%;
	border-collapse: collapse;
}
.arshiya-list-table th,
.arshiya-list-table td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	vertical-align: middle;
}
.arshiya-list-table__thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--radius);
}
.arshiya-list-table__title a { font-weight: 600; }
.arshiya-list-table__remove {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text-light);
	font-size: 1.2rem;
	line-height: 1;
}
.arshiya-list-table__remove:hover { color: var(--color-sale); }

/* Compare page: attribute rows stack in a comparison grid on desktop */
.compare-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 1fr);
	overflow-x: auto;
	gap: 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}
.compare-grid__col {
	border-left: 1px solid var(--color-border);
	padding: 16px;
}
.compare-grid__col:first-child { border-left: none; }
.compare-grid__row {
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.9rem;
}
.compare-grid__row:last-child { border-bottom: none; }
.compare-grid__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-text-light);
	margin-bottom: 2px;
}
.compare-grid__remove {
	display: block;
	margin-top: 10px;
	font-size: 0.8rem;
	color: var(--color-text-light);
	background: none;
	border: none;
	cursor: pointer;
}
.compare-grid__remove:hover { color: var(--color-sale); }

@media (max-width: 700px) {
	.arshiya-list-table thead { display: none; }
	.arshiya-list-table, .arshiya-list-table tbody, .arshiya-list-table tr, .arshiya-list-table td {
		display: block; width: 100%;
	}
	.arshiya-list-table tr { margin-bottom: 16px; border: 1px solid var(--color-border); border-radius: var(--radius); }
}
