.lvpk-catalog {
    --lvpk-accent: #e30613;
    --lvpk-border: #cfcfcf;
    --lvpk-border-dark: #9f9f9f;
    --lvpk-soft: #f3f3f3;
    --lvpk-soft-2: #fafafa;
    --lvpk-text: #202020;
    --lvpk-muted: #666;
    --lvpk-sticky-top: 0px;
    color: var(--lvpk-text);
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1180px;
    margin: 0 auto 2rem;
    font-size: 14px;
    line-height: 1.35;
}

body.admin-bar .lvpk-catalog {
    --lvpk-sticky-top: 46px;
}

@media (min-width: 783px) {
    body.admin-bar .lvpk-catalog {
        --lvpk-sticky-top: 32px;
    }
}

.lvpk-catalog * {
    box-sizing: border-box;
}

.lvpk-header h2 {
    margin: 0 0 18px;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.lvpk-intro {
    margin: 0 0 18px;
}

.lvpk-catalog-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.lvpk-filter-column,
.lvpk-results-column {
    min-width: 0;
}

.lvpk-filter-column {
    position: sticky;
    top: calc(var(--lvpk-sticky-top) + 10px);
    max-height: calc(100vh - var(--lvpk-sticky-top) - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    align-self: start;
    scrollbar-width: thin;
}

.lvpk-sidebar-inner {
    display: block;
    border: 1px solid var(--lvpk-border);
    background: #fff;
    padding: 10px;
}

.lvpk-catalog-switch {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 16px;
}

.lvpk-catalog-switch-tile {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lvpk-accent);
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    font: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.05;
    padding: 8px;
}

.lvpk-catalog-switch-tile.is-active {
    background: var(--lvpk-accent);
    color: #fff;
}

.lvpk-catalog-switch-tile:hover,
.lvpk-catalog-switch-tile:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.22);
}

.lvpk-switch-icon {
    display: block;
    width: 70px;
    height: 36px;
    margin: 0 auto 5px;
}

.lvpk-switch-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lvpk-switch-icon--kugel {
    width: 58px;
    height: 40px;
    margin-bottom: 4px;
}

.lvpk-filters {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
}

.lvpk-filter-row {
    display: block;
    min-height: 0;
    margin: 0 0 13px;
    padding: 0;
    border: 0;
    background: transparent;
}

.lvpk-filter-row > label {
    display: block;
    margin: 0 0 4px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.lvpk-filter-row select,
.lvpk-inquiry-form input,
.lvpk-inquiry-form textarea,
.lvpk-selected-row input {
    width: 100%;
    min-height: 26px;
    border: 1px solid #aaa;
    border-radius: 0;
    background: #fff;
    color: var(--lvpk-text);
    padding: 2px 4px;
    font: inherit;
}

.lvpk-range-selects {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 4px 7px;
}

.lvpk-range-selects span {
    color: #333;
    font-size: 13px;
}

.lvpk-filter-actions {
    margin: 4px 0 0;
    padding: 0;
    text-align: left;
}

.lvpk-filter-actions .lvpk-button {
    width: 100%;
}

.lvpk-sidebar-inquiry {
    display: grid;
    gap: 5px;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--lvpk-border);
    background: var(--lvpk-soft-2);
}

.lvpk-sidebar-inquiry strong {
    font-size: 15px;
}

.lvpk-sidebar-inquiry span {
    color: var(--lvpk-muted);
    font-size: 13px;
}

.lvpk-sidebar-inquiry.is-empty {
    opacity: 0.92;
}

.lvpk-results-column {
    position: relative;
    align-self: start;
}

.lvpk-table-wrap {
    max-height: calc(100vh - var(--lvpk-sticky-top) - 112px);
    overflow: auto;
    border: 0;
    background: #fff;
}

.lvpk-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    border: 1px solid var(--lvpk-border-dark);
    font-size: 13px;
}

.lvpk-table--kugeln {
    min-width: 840px;
}

.lvpk-table th,
.lvpk-table td {
    padding: 6px 7px;
    border-right: 1px solid var(--lvpk-border);
    border-bottom: 1px solid var(--lvpk-border);
    vertical-align: middle;
    text-align: left;
}

.lvpk-table th:last-child,
.lvpk-table td:last-child {
    border-right: none;
}

.lvpk-table tbody td {
    white-space: nowrap;
}

.lvpk-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #e9e9e9;
    color: #222;
    font-weight: 700;
    white-space: normal;
    box-shadow: inset 0 -1px 0 var(--lvpk-border-dark);
}

.lvpk-table th small {
    font-size: 12px;
    font-weight: 400;
}

.lvpk-table thead th.is-sorted {
    background: #dedede;
}

.lvpk-sort-button {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.lvpk-sort-text {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
    white-space: normal;
}

.lvpk-sort-label {
    display: block;
    min-width: 0;
    white-space: normal;
}

.lvpk-sort-unit {
    display: block;
    color: #555;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.05;
}

.lvpk-sort-indicator {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 0;
    border: 1px solid #bdbdbd;
    background: #fff;
    color: #555;
    font-size: 11px;
    line-height: 1;
    opacity: 0.65;
}

.lvpk-sort-button:hover .lvpk-sort-indicator,
.lvpk-sort-button:focus .lvpk-sort-indicator,
.lvpk-table thead th.is-sorted .lvpk-sort-indicator {
    border-color: var(--lvpk-accent);
    color: var(--lvpk-accent);
    opacity: 1;
}

.lvpk-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.lvpk-table tbody tr:hover,
.lvpk-table tbody tr.is-in-inquiry {
    background: #fff3f4;
    outline: none;
}

.lvpk-table tbody tr.is-in-inquiry {
    box-shadow: inset 3px 0 0 var(--lvpk-accent);
}

.lvpk-pk {
    font-weight: 700;
    white-space: nowrap;
}

.lvpk-number {
    text-align: right;
    white-space: nowrap;
}

.lvpk-image-cell img {
    display: block;
    width: 66px;
    max-height: 54px;
    object-fit: contain;
}

.lvpk-action-head,
.lvpk-action-cell {
    text-align: center !important;
    width: 68px;
    min-width: 68px;
    max-width: 68px;
}

.lvpk-action-head {
    z-index: 11 !important;
    font-size: 12px;
    line-height: 1.15;
}

.lvpk-action-cell {
    background: inherit;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.lvpk-inquiry-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.lvpk-inquiry-add-button.has-quantity,
.lvpk-inquiry-add-button.is-added {
    background: #fff;
    color: var(--lvpk-accent) !important;
}

.lvpk-action-note {
    display: block;
    min-height: 12px;
    margin-top: 2px;
    color: var(--lvpk-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.lvpk-action-note:empty {
    display: none;
}

.lvpk-empty-row {
    text-align: center;
    padding: 14px !important;
}

.lvpk-results-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid var(--lvpk-border);
    background: var(--lvpk-soft-2);
    color: #333;
    font-size: 13px;
}

.lvpk-results-bar {
    color: #333;
    font-size: 14px;
}

.lvpk-inquiry-hint {
    color: var(--lvpk-muted);
}

.lvpk-add-notice {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 18px !important;
    bottom: 82px !important;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 9px;
    width: auto !important;
    min-width: 0 !important;
    max-width: min(360px, calc(100vw - 36px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid rgba(227, 6, 19, 0.24);
    border-left: 4px solid var(--lvpk-accent);
    border-radius: 4px;
    background: #fff;
    color: #222;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.lvpk-add-notice.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lvpk-add-notice-icon {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--lvpk-accent);
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.lvpk-add-notice-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lvpk-add-notice-link {
    flex: 0 0 auto;
    color: var(--lvpk-accent);
    text-decoration: underline;
    font-weight: 700;
    white-space: nowrap;
}

.lvpk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid var(--lvpk-accent);
    border-radius: 0;
    background: var(--lvpk-accent);
    color: #fff !important;
    cursor: pointer;
    padding: 5px 10px;
    font: inherit;
    text-decoration: none !important;
}

.lvpk-button:hover,
.lvpk-button:focus {
    filter: brightness(0.95);
    outline: none;
}

.lvpk-button-secondary {
    background: #fff;
    color: var(--lvpk-accent) !important;
}

.lvpk-button-small {
    min-height: 27px;
    padding: 4px 7px;
    font-size: 12px;
    white-space: nowrap;
}

.lvpk-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 12px 0 0;
}

.lvpk-pagination button {
    border: 1px solid var(--lvpk-border);
    background: #fff;
    padding: 4px 8px;
    cursor: pointer;
    font: inherit;
}

.lvpk-pagination button.is-active {
    border-color: var(--lvpk-accent);
    background: var(--lvpk-accent);
    color: #fff;
}

.lvpk-floating-inquiry {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99997;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--lvpk-accent);
    background: var(--lvpk-accent);
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    text-decoration: none !important;
    font-weight: 700;
}

.lvpk-floating-inquiry strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--lvpk-accent);
    font-size: 12px;
}

.lvpk-floating-inquiry.is-empty {
    background: #fff;
    color: var(--lvpk-accent) !important;
}

.lvpk-inquiry {
    margin-top: 24px;
    padding: 16px;
    border: 2px solid var(--lvpk-accent);
    background: #fff;
    scroll-margin-top: calc(var(--lvpk-sticky-top) + 18px);
}

.lvpk-inquiry-header h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.lvpk-inquiry-header p {
    margin: 0 0 12px;
    color: var(--lvpk-muted);
}

.lvpk-selected-products {
    margin-bottom: 14px;
}

.lvpk-empty-selection {
    margin: 0;
    padding: 10px;
    background: var(--lvpk-soft);
}

.lvpk-selected-row {
    display: grid;
    grid-template-columns: 1fr minmax(110px, 140px) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--lvpk-border);
}

.lvpk-selected-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lvpk-selected-info span {
    color: var(--lvpk-muted);
    font-size: 12px;
}

.lvpk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px;
}

.lvpk-inquiry-form label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-weight: 700;
}

.lvpk-message-label {
    margin-top: 10px;
}

.lvpk-privacy {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 7px !important;
    margin-top: 10px;
    font-weight: 400 !important;
}

.lvpk-privacy input {
    width: auto;
    min-height: auto;
    margin-top: 3px;
}

.lvpk-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lvpk-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.lvpk-form-status {
    font-weight: 700;
}

@media (min-width: 1100px) {
    .lvpk-action-head,
    .lvpk-action-cell {
        position: sticky;
        right: 0;
    }

    .lvpk-action-head {
        background: #e9e9e9;
    }

    .lvpk-action-cell {
        background: #fff;
        z-index: 3;
        box-shadow: -1px 0 0 var(--lvpk-border);
    }

    .lvpk-table tbody tr:nth-child(even) .lvpk-action-cell {
        background: #fafafa;
    }

    .lvpk-table tbody tr:hover .lvpk-action-cell,
    .lvpk-table tbody tr.is-in-inquiry .lvpk-action-cell {
        background: #fff3f4;
    }
}

@media (max-width: 900px) {
    .lvpk-catalog {
        max-width: 100%;
    }

    .lvpk-catalog-body {
        grid-template-columns: 1fr;
    }

    .lvpk-filter-column {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .lvpk-table-wrap {
        max-height: none;
        overflow-x: auto;
    }

    .lvpk-sidebar-inner {
        max-width: 380px;
    }
}

@media (max-width: 760px) {
    .lvpk-catalog-switch {
        flex-wrap: wrap;
    }

    .lvpk-form-grid,
    .lvpk-selected-row {
        grid-template-columns: 1fr;
    }

    .lvpk-floating-inquiry {
        right: 10px;
        left: 10px;
        bottom: 10px;
        justify-content: center;
    }

    .lvpk-add-notice {
        right: 10px !important;
        left: auto !important;
        bottom: 68px !important;
        max-width: min(340px, calc(100vw - 20px)) !important;
    }

    .lvpk-add-notice-text {
        max-width: 150px;
    }
}

/* 1.0.9: exakte Puffer-Grafik, Puffer-Skizzen und Anfragebilder */
.lvpk-catalog-switch-tile--image {
    min-height: auto;
    padding: 0;
    border-color: var(--lvpk-accent);
    background: #e30613;
    overflow: hidden;
}

.lvpk-switch-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 78px;
    object-fit: cover;
}

.lvpk-catalog-switch-tile--image.is-active,
.lvpk-catalog-switch-tile--image:hover,
.lvpk-catalog-switch-tile--image:focus {
    background: #e30613;
}

.lvpk-catalog-switch-tile--image.is-active .lvpk-switch-image {
    filter: none;
}

.lvpk-puffer-sketches {
    display: grid;
    gap: 8px;
    margin: 14px 0;
    padding: 10px;
    border: 1px solid var(--lvpk-border);
    background: #fff;
}

.lvpk-puffer-sketches[hidden] {
    display: none !important;
}

.lvpk-sketch-card {
    display: grid;
    gap: 5px;
    align-items: center;
    justify-items: center;
    padding: 8px;
    border: 1px solid #e2e2e2;
    background: #fafafa;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.lvpk-sketch-card img {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
    max-height: 130px;
    object-fit: contain;
}

.lvpk-selected-row {
    grid-template-columns: 76px minmax(0, 1fr) minmax(120px, 150px) auto;
}

.lvpk-selected-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    min-height: 52px;
    border: 1px solid var(--lvpk-border);
    background: #fff;
}

.lvpk-selected-image:empty::before {
    content: '—';
    color: var(--lvpk-muted);
}

.lvpk-selected-image img {
    display: block;
    width: 64px;
    max-height: 50px;
    object-fit: contain;
}

.lvpk-quantity-control {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px !important;
    margin: 0;
    white-space: nowrap;
}

.lvpk-quantity-control span {
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.lvpk-quantity-control input {
    width: 72px;
    text-align: right;
}

@media (min-width: 901px) {
    .lvpk-catalog--puffer .lvpk-filter-column {
        width: 280px;
    }
}

@media (max-width: 760px) {
    .lvpk-selected-row {
        grid-template-columns: 72px 1fr;
    }

    .lvpk-selected-row .lvpk-quantity-control,
    .lvpk-selected-row button {
        grid-column: 2;
        justify-self: start;
    }
}

/* 1.1.0: stabile SVG-Umschaltung, Skizzen oberhalb der Filter und Lightbox */
.lvpk-catalog-switch-tile--puffer {
    background: #fff;
    overflow: visible;
}

.lvpk-catalog-switch-tile--puffer.is-active {
    background: var(--lvpk-accent);
    color: #fff;
}

.lvpk-switch-icon--puffer {
    width: 76px;
    height: 42px;
    margin-bottom: 5px;
}

.lvpk-puffer-sketches {
    margin: 0 0 16px;
    padding: 9px;
}

.lvpk-sketch-card {
    appearance: none;
    width: 100%;
    cursor: zoom-in;
    font: inherit;
}

.lvpk-sketch-card:hover,
.lvpk-sketch-card:focus {
    outline: none;
    border-color: var(--lvpk-accent);
    box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.16);
}

.lvpk-lightbox[hidden] {
    display: none !important;
}

.lvpk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
}

.lvpk-lightbox-content {
    max-width: min(920px, 94vw);
    max-height: 88vh;
    margin: 0;
    padding: 18px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
}

.lvpk-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.lvpk-lightbox-content figcaption {
    margin-top: 10px;
    color: #222;
    font-weight: 700;
}

.lvpk-lightbox-close {
    position: fixed;
    top: 14px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
}

@media (max-width: 900px) {
    .lvpk-lightbox {
        padding: 14px;
    }

    .lvpk-lightbox-content {
        padding: 12px;
    }
}

html.lvpk-lightbox-open {
    overflow: hidden;
}

/* 1.1.1: Exaktes Puffer-Symbol als SVG-Nachbau und Hover-Zoom-Hinweis */
.lvpk-catalog-switch-tile--puffer {
    padding: 0;
    border-color: var(--lvpk-accent);
    background: #e30613;
    color: #fff;
    overflow: hidden;
}

.lvpk-catalog-switch-tile--puffer.is-active,
.lvpk-catalog-switch-tile--puffer:hover,
.lvpk-catalog-switch-tile--puffer:focus {
    background: #e30613;
    color: #fff;
}

.lvpk-switch-icon--puffer-exact {
    display: block;
    width: 100%;
    max-width: 118px;
    height: auto;
    margin: 0 auto;
    line-height: 0;
}

.lvpk-switch-icon--puffer-exact svg {
    display: block;
    width: 100%;
    height: auto;
    fill: none;
    stroke: none;
}

.lvpk-sketch-card {
    position: relative;
    overflow: hidden;
}

.lvpk-sketch-card::after {
    content: '+';
    position: absolute;
    left: 50%;
    top: 44%;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%) scale(0.9);
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.9);
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.lvpk-sketch-card:hover::after,
.lvpk-sketch-card:focus::after,
.lvpk-sketch-card:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 3.9.1: vom Nutzer gelieferte SVG als Puffer-Symbol */
.lvpk-switch-icon--puffer-exact {
    width: 74px;
    max-width: 74px;
    height: 36px;
    margin: 0 auto 5px;
    line-height: 0;
}

.lvpk-switch-icon--puffer-exact img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.lvpk-catalog-switch-tile--puffer .lvpk-switch-label {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.05;
}


/* 3.9.2: Puffer-Umschaltung - roter Hintergrund nur im aktiven Zustand */
.lvpk-catalog-switch-tile--puffer {
    padding: 8px;
    border-color: var(--lvpk-accent);
    background: #fff;
    color: #111;
    overflow: visible;
}
.lvpk-catalog-switch-tile--puffer.is-active {
    background: var(--lvpk-accent);
    color: #fff;
    overflow: hidden;
}
.lvpk-catalog-switch-tile--puffer:hover,
.lvpk-catalog-switch-tile--puffer:focus {
    background: #fff;
    color: #111;
}
.lvpk-catalog-switch-tile--puffer.is-active:hover,
.lvpk-catalog-switch-tile--puffer.is-active:focus {
    background: var(--lvpk-accent);
    color: #fff;
}
.lvpk-catalog-switch-tile--puffer .lvpk-switch-label {
    color: currentColor;
}
.lvpk-switch-icon--puffer-exact img {
    filter: none;
}
.lvpk-catalog-switch-tile--puffer.is-active .lvpk-switch-icon--puffer-exact img {
    filter: brightness(0) invert(1);
}

/* 3.9.4: Performance-Optimierung für lange Katalogtabellen */
.lvpk-table-wrap {
    contain: paint;
    scrollbar-gutter: stable;
}

.lvpk-table tbody tr {
    content-visibility: auto;
    contain-intrinsic-size: 44px;
}

.lvpk-pagination-dots {
    display: inline-flex;
    align-items: center;
    padding: 4px 2px;
    color: var(--lvpk-muted);
}


/* 3.9.5: kompakte Anfragekorb-Bestätigung */
.lvpk-add-notice[style] {
    height: auto !important;
    min-height: 0 !important;
}


/* 3.9.6: Toast sichtbar, responsive Tabellenführung und immer erreichbarer Anfrage-Button */
.lvpk-table-scroll-hint {
    display: none;
    margin: 0 0 6px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    background: #fff7f7;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.lvpk-table-scroll-hint span {
    color: var(--lvpk-accent);
    font-size: 16px;
    line-height: 1;
}
.lvpk-table-scroll-hint[hidden] {
    display: none !important;
}
.lvpk-table-wrap.has-horizontal-scroll + .lvpk-add-notice,
.lvpk-table-wrap.has-horizontal-scroll {
    position: relative;
}
.lvpk-table-wrap.has-horizontal-scroll::before,
.lvpk-table-wrap.has-horizontal-scroll::after {
    content: "";
    position: sticky;
    top: 0;
    bottom: 0;
    z-index: 20;
    display: block;
    width: 18px;
    height: 0;
    pointer-events: none;
}
.lvpk-table-wrap.has-horizontal-scroll::before {
    left: 0;
    float: left;
    min-height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
    opacity: 0;
}
.lvpk-table-wrap.has-horizontal-scroll::after {
    right: 0;
    float: right;
    min-height: 100%;
    margin-left: -18px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
    opacity: 1;
}
.lvpk-table-wrap.has-horizontal-scroll.is-scrolled-x::before {
    opacity: 1;
}
.lvpk-table-wrap.has-horizontal-scroll.is-scroll-end::after {
    opacity: 0;
}
.lvpk-action-head,
.lvpk-action-cell {
    position: sticky;
    right: 0;
}
.lvpk-action-head {
    z-index: 30 !important;
    background: #e9e9e9;
    box-shadow: -1px 0 0 var(--lvpk-border);
}
.lvpk-action-cell {
    z-index: 12;
    background: #fff;
    box-shadow: -1px 0 0 var(--lvpk-border);
}
.lvpk-table tbody tr:nth-child(even) .lvpk-action-cell {
    background: #fafafa;
}
.lvpk-table tbody tr:hover .lvpk-action-cell,
.lvpk-table tbody tr.is-in-inquiry .lvpk-action-cell {
    background: #fff3f4;
}
.lvpk-add-notice {
    display: flex !important;
    position: fixed !important;
    top: auto !important;
    right: 18px !important;
    bottom: 82px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}
.lvpk-add-notice.is-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
@media (max-width: 900px) {
    .lvpk-table-scroll-hint:not([hidden]) {
        display: block;
    }
    .lvpk-table-wrap {
        border: 1px solid var(--lvpk-border-dark);
        -webkit-overflow-scrolling: touch;
    }
    .lvpk-table {
        border-left: 0;
        border-right: 0;
    }
    .lvpk-action-head,
    .lvpk-action-cell {
        width: 56px;
        min-width: 56px;
        max-width: 56px;
    }
    .lvpk-inquiry-add-button {
        width: 34px;
        min-width: 34px;
        height: 34px;
        min-height: 34px;
    }
}
@media (max-width: 760px) {
    .lvpk-add-notice {
        right: 10px !important;
        bottom: 68px !important;
        max-width: min(360px, calc(100vw - 20px)) !important;
    }
}
