/* =============================================================================
   wegold Custom Plugin – Styles
   ============================================================================= */


/* -----------------------------------------------------------------------------
   Subcategories Grid  [wc_subcategories]
   ----------------------------------------------------------------------------- */

.wegold-subcategories-h2{
    font-size: 25px !important;
    padding-bottom: 20px;
}

.wegold-subcategories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.wegold-subcategories-grid .wegold-subcategories-card{
	height: 100%;
 }

.wegold-subcategories-grid img {
	width: 100%;
	height: auto;
}

.wegold-subcategories-card {
    display: block;
    background-color: #f6f6f6;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.wegold-subcategories-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.wegold-subcategories-card__img img {
    width: 100%;
    height: auto;
    display: block;
}

.wegold-subcategories-card h3 {
    padding: 15px 30px 30px 30px;
    font-size: 25px !important;
    font-weight: 400;
}

.grid-2 .wegold-subcategories-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

@media (max-width: 980px) {
	.wegold-subcategories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.wegold-subcategories-grid {
		grid-template-columns: 1fr;
	}
}


/* -----------------------------------------------------------------------------
   Subcategories Grid  [wegold-cat-children]
   ----------------------------------------------------------------------------- */
.wegold-cat-children{
    list-style: none !important;
    border: 1px solid #f5f5f5;
    padding: 0 !important;
}

.wegold-cat-children a{
    color: #004084 !important;
}

.wegold-cat-children a:hover{
    color: #3b6dab !important;
}

.wegold-cat-children li{
    border-bottom: 1px solid #f5f5f5;
    padding: 5px 10px;
}

.wegold-cat-children li:last-child{
    border-top: none;
}

.wegold-cat-children li:nth-child(odd){
    background-color: #f5f5f5;
}

.wegold-cat-children li:hover{
    background-color: #eeeeee;
}

.blue-box .wegold-cat-children{
    border: none;
}

.blue-box .wegold-cat-children a{
    color: #fff !important;
}

.blue-box .wegold-cat-children a:hover{
    color: #f2f2f2 !important;
}

.blue-box .wegold-cat-children li{
    border-bottom: 1px solid #3b6dab;
    background-color: transparent;
}

.blue-box .wegold-cat-children li:hover{
    background-color: #024790;
}

.blue-box .wegold-cat-children li:last-child{
    border-bottom: none;
}

/* -----------------------------------------------------------------------------
   Breadcrumb  [wegold_breadcrumb]
   ----------------------------------------------------------------------------- */

.wegold-breadcrumb {
    font-size: 0.9rem;
}

.wegold-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 6px 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.wegold-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #555;
}

.wegold-breadcrumb-item a {
    color: #555;
    text-decoration: none;
}

.wegold-breadcrumb-item a:hover {
    text-decoration: underline;
    color: #222;
}

.wegold-breadcrumb-item--current .wegold-breadcrumb-current {
    color: #071529;
    font-weight: 500;
}

.wegold-breadcrumb-separator {
    color: #aaa;
    user-select: none;
}


/* =============================================================================
   Produktkategorien-Tabelle  [wegold_product_table]
   ============================================================================= */

/* --- Überschrift mit Farb-Marker --- */

.wegold-pt-heading {
    display: flex;
    align-items: center;
}

.wegold-pt-heading__marker {
    display: inline-block !important;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Farb-Varianten des Markers */
.wegold-pt-color--orange .wegold-pt-heading__marker { background-color: #d4601a; }
.wegold-pt-color--gold   .wegold-pt-heading__marker { background-color: #c8a200; }
.wegold-pt-color--blue   .wegold-pt-heading__marker { background-color: #1a3a5c; }

/* --- Tabelle --- */
.entry-content thead th, .entry-content tr th{
    color: #fff !important;
}

.entry-content tr td{
    padding: 12px 24px !important;
}

.wegold-pt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border: 1px solid #dddddd;
}

.wegold-pt-table thead tr {
    background-color: #004084;
    color: #fff;
    border-bottom: 1px solid #dddddd;
}

.wegold-pt-table thead th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    border-right: 1px solid #dddddd;
    font-size: 16px;
}

.wegold-pt-table thead th:last-child {
    border-right: none;
}

.wegold-pt-table tbody tr {
    border-bottom: 1px solid #dde4ec;
    background-color: #fff;
    border-bottom: 1px solid #dddddd;
}

.wegold-pt-table tbody tr:last-child {
    border-bottom: none;
}

.wegold-pt-table tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.wegold-pt-table tbody tr:hover {
    background-color: #f5f8fc;
}

.wegold-pt-table td {
    padding: 14px 16px;
    vertical-align: middle;
    text-align: center;
}

.wegold-pt-table tbody tr td {
    border-right: 1px solid #dddddd;
}

.wegold-pt-table tbody tr td:last-child {
    border-right: none;
}

/* --- Spaltenbreiten --- */

.wegold-pt-col-sku   { width: 130px; }
.wegold-pt-col-name  { width: 280px; text-align: left; font-size: 16px;}
.wegold-pt-col-price { width: 120px; white-space: nowrap; }
.wegold-pt-col-cart  { width: 1%; white-space: nowrap; }

/* --- Produktname-Link --- */

.wegold-pt-product-link {
    color: #1a3a5c;
    font-weight: 600;
    text-decoration: none;
}

.wegold-pt-product-link:hover {
    text-decoration: underline;
}

/* --- Preis --- */

.wegold-pt-price {
    display: block;
    font-size: 15px;
    color: #666;
    line-height: 1;
    padding-bottom: 4px;
}

.wegold-pt-price ins,
.wegold-pt-price .woocommerce-Price-amount {
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    color: #666;
}

.wegold-pt-price-suffix {
    display: block;
    font-size: 13px;
    line-height: 1;
}


.wegold-pt-table .woocommerce-price-suffix{
    display: none;
}

/* --- Warenkorb-Zeile --- */

.wegold-pt-cart-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wegold-pt-qty {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    color: #1a3a5c;
    background: #fff;
}

.wegold-pt-qty::-webkit-inner-spin-button,
.wegold-pt-qty::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    cursor: pointer;
}

.wegold-pt-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #004084 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    line-height: 1.3;
}

.wegold-pt-add-to-cart:hover {
    background-color: #122a44 !important;
}

.wegold-pt-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Warenkorb-Icon (Font-Awesome-ähnlich via Unicode-Zeichen) */
.wegold-pt-cart-icon::before {
    content: "\1F6D2"; /* 🛒 – wird durch ein SVG-Icon ersetzt wenn Dashicons verfügbar */
    font-size: 0.85rem;
}

/* Feedback-Zustände */
.wegold-pt-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.wegold-pt-add-to-cart.added {
    background-color: #2e7d32 !important;
}

/* --- Nicht verfügbar --- */

.wegold-pt-out-of-stock {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

/* --- Fehlermeldung --- */

.wegold-pt-error {
    color: #c0392b;
    font-style: italic;
}

/* --- Responsive: unter 768 px als gestapelte Karten --- */

@media ( max-width: 767px ) {

    .wegold-pt-table,
    .wegold-pt-table thead,
    .wegold-pt-table tbody,
    .wegold-pt-table th,
    .wegold-pt-table td,
    .wegold-pt-table tr {
        display: block;
    }

    .wegold-pt-table thead {
        display: none; /* Spaltenköpfe ausblenden, stattdessen data-label */
    }

    .wegold-pt-table tbody tr {
        border: 1px solid #dde4ec;
        border-radius: 6px;
        margin-bottom: 12px;
        padding: 8px 0;
    }

    .wegold-pt-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .wegold-pt-table td:last-child {
        border-bottom: none;
    }

    .wegold-pt-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1a3a5c;
        min-width: 90px;
        flex-shrink: 0;
    }

    .wegold-pt-col-sku,
    .wegold-pt-col-name,
    .wegold-pt-col-price,
    .wegold-pt-col-cart {
        width: 100%;
    }

    .wegold-pt-cart-wrap {
        justify-content: flex-end;
    }
}


/* -----------------------------------------------------------------------------
   Shortcode listarticle  [listarticle ...]
   ----------------------------------------------------------------------------- */
.wegold-listarticle{
    padding: 0 !important;
    list-style: none !important;
}

.wegold-listarticle li{
    padding: 5px 10px;
    border-top: 1px solid #e7edf4;
    background-color: #fcfdff;
}

.wegold-listarticle li:hover{
    background-color: #eff3f7;
}

.wegold-listarticle li:last-child {
    border-bottom: 1px solid #e7edf4;
}

.wegold-listarticle a{
    color: #004084;
}

.wegold-listarticle a:hover a{
    text-decoration: underline;
}



/* =============================================================
   Dokumente-Liste (Shortcode: [wegold_dokumente])
   ============================================================= */

.wegold-dokumente-liste {
    margin: 1.5em 0;
}

.wegold-dok-gruppe {
    margin-bottom: 2em;
}

.wegold-dok-kategorie {
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: 2px solid currentColor;
    padding-bottom: 6px;
    margin-bottom: 0.75em;
}

.wegold-dok-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wegold-dok-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.wegold-dok-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .15s;
}

.wegold-dok-link:hover {
    opacity: .75;
}

.wegold-dok-icon.dashicons {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.wegold-dok-desc {
    font-size: .875em;
    opacity: .7;
    padding-left: 30px;
}

.wegold-dok-no-file {
    opacity: .5;
    font-style: italic;
}


/* =============================================================================
   Listdocument Shortcodes  {listdocument} / {qmlistdocument}
   ============================================================================= */

/* --- Einfache Liste -------------------------------------------------------- */

.listdocument {
    margin: 1em 0;
}

.listdocumentul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.listdocumentul li {
    border-bottom: 1px solid #e8e8e8;
    padding: 0 !important;
}

.listdocumentul li:last-child {
    border-bottom: none;
}

.listdocumentul li:nth-child(odd) {
    background-color: #f9f9f9;
}

.listdocumentul li:hover {
    background-color: #f0f4f9;
}

.listdocumentul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #004084 !important;
    text-decoration: none;
    font-size: 0.95em;
}

.listdocumentul li a:hover {
    color: #3b6dab !important;
}

.listdocumentul li a .dok-thumb,
.listdocumentul li a .dok-icon {
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
    font-size: 22px;
    line-height: 1.5em;
}

/* --- QM-Tabelle ------------------------------------------------------------ */

.qmlistdocument {
    margin: 1em 0;
    overflow-x: auto;
}

table.qmlistdocument {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93em;
}

table.qmlistdocument th {
    background-color: #004084;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    white-space: nowrap;
}

table.qmlistdocument tr.qmlistdocumentcat td {
    background-color: #dce7f3;
    color: #004084;
    font-weight: 700;
    padding: 6px 10px;
    font-size: 0.95em;
}

table.qmlistdocument tr.qmlistdocumentdoc td {
    padding: 6px 10px;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
}

table.qmlistdocument tr.qmlistdocumentdoc:nth-child(even) {
    background-color: #f9f9f9;
}

table.qmlistdocument tr.qmlistdocumentdoc:hover {
    background-color: #f0f4f9;
}

.qmlistdocumentthumb img,
.qmlistdocumentthumb .dok-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    font-size: 26px;
    line-height: 1;
    display: block;
}

.qmlistdocumentversion,
.qmlistdocumentlastupdate,
.qmlistdocumentfilesize {
    white-space: nowrap;
    color: #555;
}

@media (max-width: 600px) {
    table.qmlistdocument th.qmlistdocumentversion,
    table.qmlistdocument th.qmlistdocumentlastupdate,
    table.qmlistdocument th.qmlistdocumentfilesize,
    table.qmlistdocument td.qmlistdocumentversion,
    table.qmlistdocument td.qmlistdocumentlastupdate,
    table.qmlistdocument td.qmlistdocumentfilesize {
        display: none;
    }
}

/* ==========================================================================
   Preis + Warenkorb Shortcode  [wegold_price_cart]
   ========================================================================== */
.wegold-pc-wrap {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 2px solid #f2f2f2;
}

.wegold-pc-label {
    font-size: 13px;
}

.wegold-pc-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wegold-pc-price {
    min-width: 100px;
}

/* Preis-Schriftgröße passend zum Screenshot */
.wegold-pc-price .woocommerce-Price-amount,
.wegold-pc-price ins .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 600;
}

/* --- Mengenfeld nativer Spinner [wegold_price_cart] --- */
.wegold-pc-qty-input {
    width: 70px;
    padding: 6px 4px 6px 8px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #1a3a5c;
    background: #fff;
    text-align: left;
    /* nativen Spinner explizit aktivieren */
    -moz-appearance: number-input;
    -webkit-appearance: textfield;
    appearance: auto;
}
.wegold-pc-qty-input::-webkit-inner-spin-button,
.wegold-pc-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    cursor: pointer;
}

/* --- [wegold_subcatgrids] H1 Überschrift --- */
.wegold-subcatgrids-h1 {
    margin-bottom: 25px;
    font-size: 40px;
}

.wegold-subcategories-grid{
    margin-bottom: 60px;
}

.wegold-subcategories-grid:last-child{
    margin-bottom: 0;
}

/* --- [wc-kategorie-h1] --- */
.wegold-subcategories-h1 {
    margin-bottom: 25px;
    font-size: 40px;
}




/* --- Warenkorb-Popup --- */
#wegold-cart-popup {
    position: absolute;
    z-index: 99999;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #dce6f0;
    border-radius: 6px;
    padding: 10px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
    pointer-events: none;
}
#wegold-cart-popup::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #dce6f0;
}
#wegold-cart-popup::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* WC Button-Zustandsänderungen hart überschreiben */
.wegold-pt-add-to-cart,
.wegold-pt-add-to-cart.added,
.wegold-pt-add-to-cart.loading,
.wegold-pt-cart-wrap .wegold-pt-add-to-cart.added,
.wegold-pt-cart-wrap .wegold-pt-add-to-cart.loading {
    background-color: #004084 !important;
    color: #fff !important;
    opacity: 1 !important;
}

/* "Warenkorb anzeigen" Link verstecken */
.wegold-pt-cart-wrap .added_to_cart,
.wegold-pt-cart-wrap .wc-forward,
a.added_to_cart.wc-forward {
    display: none !important;
}

/* --- Produkttabelle Bildspalte --- */
.wegold-pt-col-img {
    width: 240px;
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}
.wegold-pt-product-img {
    width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.wegold-pt-img-zoom:hover {
    opacity: 0.85;
    transition: opacity 0.15s;
}
.wegold-pt-sku {
    display: block;
    font-size: 15px;
    color: #666;
    margin-bottom: 4px;
    text-align: left;
}
.wegold-pt-product-link {
    font-weight: 700;
    color: #004084;
    text-decoration: none;
    display: block;
    text-align: left;
}
.wegold-pt-product-link:hover {
    text-decoration: underline;
}


/* =========================================================
   listalldocuments – Pagination
   ========================================================= */
.listalldocuments-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 20px;
}
.listalldocuments-pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #f2f2f2;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    padding: 5px 10px;    
    font-size: 13px;
}
.listalldocuments-pagination a.page-btn:hover {
    background: #3b6dab;
    color: #fff;
    border-color: #3b6dab;
}
.listalldocuments-pagination .page-btn-active {
    color: #3b6dab;
    font-weight: 600;
    cursor: default;
}
.listalldocuments-pagination .page-btn-disabled {
    color: #aab0bb;
    border-color: #e0e4ea;
    background: #f5f6f8;
    cursor: default;
}
.listalldocuments-pagination .page-btn-ellipsis {
    border: none;
    background: transparent;
    color: #666;
    cursor: default;
}



/* ===================================================================
   PREISLISTE SHORTCODE [wegold_preisliste]
   =================================================================== */

.wegold-pl-wrap {
    font-family: inherit;
    color: #333;
    margin: 0 0 2rem;
}

.wegold-pl-intro p {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

.wegold-pl-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wegold-pl-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.wegold-pl-search-wrap label {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.wegold-pl-search {
    flex: 1 1 220px;
    max-width: 360px;
    padding: 8px 12px;
    border: 1px solid #c8d0da;
    border-radius: 4px;
    font-size: 0.92rem;
    background: #f8f9fb;
    color: #333;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.wegold-pl-search:focus {
    border-color: #004084;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,64,132,.1);
}

.wegold-pl-perpage-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #444;
}

.wegold-pl-perpage {
    padding: 7px 28px 7px 10px;
    border: 1px solid #c8d0da;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #f8f9fb;
    color: #333;
    cursor: pointer;
    appearance: auto;
}

.wegold-pl-table-wrap {
    overflow-x: auto;
    border: 1px solid #dde4ec;
    border-radius: 6px;
}

.wegold-pl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wegold-pl-table thead tr {
    background-color: #004084;
    color: #fff;
}

.wegold-pl-table thead th {
    padding: 11px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
}

.wegold-pl-table thead th.sortable {
    cursor: pointer;
}

.wegold-pl-table thead th.sortable:hover {
    background-color: #003070;
}

.wegold-pl-table thead th.active-sort {
    background-color: #00316a;
}

.wegold-pl-sort-icon {
    margin-left: 5px;
    font-size: 0.78em;
    opacity: 0.75;
}

.wegold-pl-table thead th.active-sort .wegold-pl-sort-icon {
    opacity: 1;
}

.wegold-pl-row-even { background-color: #fff; }
.wegold-pl-row-odd  { background-color: #fdf8ec; }

.wegold-pl-table tbody tr:hover {
    background-color: #eef4ff !important;
}

.wegold-pl-table td {
    padding: 9px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #eaecf0;
}

.wegold-pl-table tbody tr:last-child td {
    border-bottom: none;
}

.wegold-pl-col-sku   { width: 160px; font-size: 0.85rem; color: #555; }
.wegold-pl-col-name  { min-width: 200px; }
.wegold-pl-col-cat   { width: 150px; color: #666; font-size: 0.88rem; }
.wegold-pl-col-price { width: 120px; text-align: right !important; font-weight: 600; color: #004084; }

.wegold-pl-table thead th.wegold-pl-col-price { text-align: right; }

.wegold-pl-product-link { color: #004084; text-decoration: none; }
.wegold-pl-product-link:hover { text-decoration: underline; }

.wegold-pl-loading-row td {
    text-align: center;
    padding: 24px;
    color: #888;
    font-size: 0.9rem;
}

.wegold-pl-spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 3px solid #dde4ec;
    border-top-color: #004084;
    border-radius: 50%;
    animation: wegold-pl-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes wegold-pl-spin { to { transform: rotate(360deg); } }

.wegold-pl-empty {
    text-align: center;
    padding: 24px;
    color: #888;
    font-style: italic;
}

.wegold-pl-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: #004084;
    font-weight: 500;
}

.wegold-pl-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.wegold-pl-page-btn {
    min-width: 34px;
    padding: 5px 8px;
    border: 1px solid #c8d0da;
    border-radius: 4px;
    background: #fff;
    color: #004084;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.wegold-pl-page-btn:hover:not(:disabled) {
    background: #004084;
    color: #fff;
    border-color: #004084;
}

.wegold-pl-page-btn.active {
    background: #004084;
    color: #fff;
    border-color: #004084;
    cursor: default;
}

.wegold-pl-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.wegold-pl-page-ellipsis { padding: 5px 4px; color: #888; font-size: 0.85rem; }

.wegold-pl-error { color: #c00; font-style: italic; }

@media (max-width: 640px) {
    .wegold-pl-controls { flex-direction: column; align-items: flex-start; }
    .wegold-pl-search { max-width: 100%; width: 100%; }
    .wegold-pl-col-sku, .wegold-pl-col-cat { display: none; }
}

/* SKU-Spalte (style="sku") */
.wegold-pt-col-sku-head,
.wegold-pt-col-sku-cell {
    width: 160px;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
    font-size: 16px;
}
