/* WCAG FIX: Unsichtbare Anker-Ziele für Skip-Links */
.preislist-anchor {
	display: block;
	position: relative;
	top: -100px; /* Offset für Header */
	visibility: hidden;
	height: 0;
}

/* WCAG FIX: Visuell verstecktes Label für Screenreader */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.preislist-table-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.preislist-sorting {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	
}
.preislist-sorting li:not(:last-of-type) {
	margin-right: 10px;
}
.preislist-sorting li a {
	padding: 9px 15px;
    display: inline-block;
    border-radius: 3px 3px 0px 0px;
    background: #cccccc;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a; /* WCAG FIX: Dunklere Textfarbe für besseren Kontrast */
    transition: all linear 0.15s;
}
.preislist-sorting li a:hover {
	background: #efefef;
    color: #1a1a1a; /* WCAG FIX */
}
.preislist-sorting li a.active {
    background: #efefef;
    color: #1a1a1a; /* WCAG FIX */
}

.product-image img {
	width: 50px;
}
.product-cart svg {
	width: 26px;
}
.preislist-table tbody tr {
	display: none;
}
.preislist-table tbody tr.active {
	display: table-row;
}
.preislist-stock {

}
.preislist-stock button {
	position: relative;
	
    display: inline-block;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 30px;
    color: #1a1a1a; /* WCAG FIX: Dunkel auf Gold für 4.5:1+ Kontrast */
	background-color: #be9e56;
    border-radius: 2px;
    margin: 0;
    text-align: center;
	transition: all linear 0.15s;
  
}
.preislist-stock button:hover {
	background-color: #d4a640;

}
.preislist-stock button.loading::after {
	font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    font-weight: 400;
    position: absolute;
    top: 0.618em;
    right: 10px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
.preislist-search-bar {
	margin-top: 10px;
	text-align: right;
}
.product-ankauf > div {
	display: flex;
	align-items: center;
}
.product-ankauf > div svg {
	width: 24px;
	margin-left: 5px;
}
.product-ankauf, .product-tax, .product-weight {
	padding: 0 5px;
}
.btn-pdf {
	position: relative;
	
    display: block;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 30px;
    color: #1a1a1a; /* WCAG FIX: Dunkel auf Gold für 4.5:1+ Kontrast */
	background-color: #be9e56;
    border-radius: 2px;
    margin: 0;
    text-align: center;
	transition: all linear 0.15s;
	margin-bottom: 20px;
}
.btn-pdf.loading::after {
	font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    font-weight: 400;
    position: absolute;
    top: 0.618em;
    right: 10px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
.btn-pdf:hover {
	background-color: #d4a640;
}
.table-header-image, .table-header-stock, .table-header-cart {
	color: transparent !important;
	opacity: 0;
}
.table-header-weight, .table-header-tax, .table-header-ankauf {
	padding: 0 5px;
}
@media (max-width: 776px) {
	.preislist-table-bar {
		flex-direction: column;
		align-items: flex-start;
	}
	.preislist-sorting {
		margin-bottom: 20px;
	}
	/* .preislist-table-wrapper {
		overflow-x: auto;
	} */
	/* .preislist-table {
		white-space: nowrap;
	} */
	.table-header-image {
		padding: 0 12px;
	}
	.product-image {
		padding-right: 5px;
	}

}
@media (max-width:440px) {
	.table-header-weight {
		display: none;

	}
	.product-weight {
		display: none;
	}
}
@media (max-width: 380px) {
	.preislist-table-bar {
		flex-direction: column;
		align-items: flex-start;
	}
	.preislist-sorting {
		margin-bottom: 20px;
	}
	.preislist-stock button {
		padding: 10px 20px;
	}
	.preislist-sorting li a {
		padding: 9px 10px;
		font-size: 14px;
	}
	.product-sku p {
		word-break: break-word;
	}
}