/* WooCommerce Payment Methods Shortcode Styles */

.wc-payment-methods-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	justify-content: flex-start;
	min-height: 60px;
	width: auto;
}

.wc-payment-methods-list li {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border-radius: 0;
	padding: 0;
}

.wc-payment-methods-list img {
	max-width: 100%;
	height: auto;
	display: block;
	width: 60px;
	height: 40px;
}

/* Greyscale effect */
.wc-payment-methods-list.greyscale img {
	filter: grayscale(100%);
	opacity: 0.8;
}

.wc-payment-methods-list.greyscale li:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* Invert effect */
.wc-payment-methods-list.invert {
	background-color: #333;
	padding: 15px;
	border-radius: 4px;
}

.wc-payment-methods-list.invert li {
	background-color: transparent;
}

.wc-payment-methods-list.invert img {
	filter: invert(1);
}

/* Responsive */
@media screen and (max-width: 768px) {
	.wc-payment-methods-list {
		gap: 6px;
		flex-wrap: nowrap;
		margin: 0 !important;
		padding: 0 10px !important;
		width: 100%;
		justify-content: space-around;
		align-items: center;
		overflow-x: hidden;
	}

	.wc-payment-methods-list li {
		flex-shrink: 0;
		flex: 1;
		min-width: 0;
		justify-content: center;
	}

	.wc-payment-methods-list img {
		width: 40px;
		height: 28px;
	}
}

@media screen and (max-width: 480px) {
	.wc-payment-methods-list {
		gap: 8px;
		flex-wrap: nowrap;
		margin: 0 !important;
		padding: 0 15px !important;
		width: 100%;
		justify-content: center;
		align-items: center;
		overflow-x: auto;
	}

	.wc-payment-methods-list li {
		flex-shrink: 0;
	}

	.wc-payment-methods-list img {
		width: 42px;
		height: 30px;
	}
}