.price-table-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.price-table-overlay .spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.price-table__header {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 20px;
	align-items: center;
	justify-content: space-between;
}

.price-table__search input {
	padding: 8px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	min-width: 250px;
}

.price-table__filter select {
	padding: 8px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	min-width: 200px;
}

.price-table__table-container {
	position: relative;
	overflow-x: auto;
}

.price-table-wrapper {
	margin-bottom: 30px;
}

.price-table__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
}

.price-table__table th,
.price-table__table td {
	padding: 10px 12px !important;
	border: 1px solid #eee;
	text-align: center;
	vertical-align: middle;
}

.price-table__table th {
	background-color: #f9f9f9;
	font-weight: bold;
}

.price-table__image img {
	max-width: 60px;
	height: auto;
}

.price-table__table th.price-table__name,
.price-table__table td.price-table__name {
	text-align: left;
	font-weight: bold;
	min-width: 250px;
}

.price-table__table td.price-table__name {
	color: var(--primary-color);
}

.price-table__product-link {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.price-table__product-link:hover {
	color: inherit;
}

.price-table__variation-name {
	font-size: 0.9em;
	color: #666;
	font-weight: normal;
}

.price-table__price {
	font-weight: bold;
	color: #e74c3c;
}

.price-table__qty input {
	width: 60px;
	text-align: center;
	padding: 5px;
	margin: 0 auto;
}

.price-table__cart .button.price-table__cart-btn {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 5px;
	color: var(--primary-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.price-table__cart-btn svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.price-table__cart-btn:hover {
	background: transparent;
	color: #334863;
	opacity: 0.8;
}

.status-instock {
	color: #2ecc71;
	font-weight: bold;
}

.status-outofstock {
	color: #e74c3c;
	font-weight: bold;
}

.price-table__pagination {
	margin-top: 20px;
	text-align: center;
}

@media (max-width: 767px) {
	.price-table__header {
		flex-direction: column;
		align-items: stretch;
	}

	.price-table__search input,
	.price-table__filter select {
		width: 100%;
	}
}
