/* =========================================
   SHORTCODE: VERGLEICHSTABELLE
   ========================================= */
.mw-compare-container {
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.mw-compare-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}
.mw-compare-table {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    table-layout: fixed;
    width: max-content;
    min-width: 100%;
}
.mw-compare-label-column {
    width: 100px;
}
.mw-compare-product-column {
    width: 170px;
}
.mw-compare-table .mw-compare-th,
.mw-compare-table .mw-compare-td {
    padding: 10px 8px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}
.mw-compare-th.mw-label-col,
.mw-compare-td.mw-label-col {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding: 8px 6px;
    background: #f7f7f7;
    color: #667;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    border-right: 1px solid #e0e0e0;
}
.mw-compare-table thead .mw-label-col {
    background: #fff;
}
.mw-compare-table .mw-compare-header .mw-compare-th:not(.mw-label-col) {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    background: #fff;
    text-align: center;
}
.mw-compare-table .mw-compare-product-image-link {
    display: block;
    text-align: center;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
    background: #fff;
}
.mw-compare-table .mw-compare-product-image-link img {
    max-width: 100px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}
.mw-compare-table .mw-compare-product-name {
    display: block;
    margin-top: 6px;
    color: #336699;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
.mw-compare-table .mw-compare-td:not(.mw-label-col) {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    font-size: 13px;
}
.mw-compare-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.mw-compare-tags .mw-tag-chip {
    font-size: 10px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 3px 6px;
    border-radius: 4px;
    text-decoration: none;
}
.mw-compare-price-box {
    text-align: center;
    margin-bottom: 8px;
}
.mw-price-prefix {
    color: #888;
    font-size: 11px;
    margin-right: 2px;
}
.mw-compare-main-price {
    color: #159304;
    font-size: 18px;
    font-weight: 700;
}
.mw-price-na {
    color: #666;
    font-size: 13px;
}
.mw-compare-shop-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}
.mw-shop-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-height: 36px;
    padding: 4px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
    overflow: hidden;
}
.mw-shop-list-img {
    max-height: 20px;
    max-width: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mw-shop-price {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.mw-compare-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: #ff790b;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    box-sizing: border-box;
}
.mw-compare-btn:hover {
    background: #e56d0a;
}
.mw-compare-disclaimer {
    margin-top: 8px;
    font-size: 11px;
    color: #888;
}
.mw-compare-table .mw-compare-price-row td.mw-compare-td {
    height: 1px;
}
.mw-compare-price-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mw-compare-price-inner .mw-compare-btn {
    margin-top: auto;
}
.mw-compare-table tbody tr:not(.mw-compare-price-row) td.mw-compare-td {
    vertical-align: middle;
    text-align: center;
}
.mw-compare-table tbody th.mw-label-col {
    vertical-align: middle;
}