/* dl-box-table: Übersichtliche, responsive Tabelle für alternative Anbieter */

.dl-box-table .headline {
    text-align: left;
    border-bottom: none;
}

.dl-box-table .headline h2 {
    margin: 0;
}

.dl-box-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table.dl-box-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: #fff;
    font-size: 1rem;
    border: none;
    margin-top: 20px;
}

table.dl-box-table thead tr:first-child {
    background-color: #fff;
}

table.dl-box-table th,
table.dl-box-table td {
    text-align: left;
    padding: 0.75em 1em;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    border-right: none;
    border-left: none;
    white-space: normal;
}

table.dl-box-table th {
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #d0d0d0;
    white-space: nowrap;
}

.dl-box-table .dl-box-btn {
    width: 150px!important;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    padding: 0.5em 1em;
    font-size: 1em;
}

.dl-box-table tfoot tr {
    border-top: 2px solid #d0d0d0;
}

.dl-box-table .table-product-image {
    float: inline-start;
    max-width:60px;
    max-height:60px;
    margin-right:8px;
    vertical-align:middle;
}

.dl-box-table .dl-box-mobile-label {
        display: none;
    }

 body.single-product .woocommerce-breadcrumb {
    margin-bottom: 0!important;
 }   
  body.single-product .price-note {
    display: none!important;
  }

@media (max-width: 700px) {
    table.dl-box-table {
        min-width: 400px;
        font-size: 0.95rem;
    }
    table.dl-box-table th,
    table.dl-box-table td {
        padding: 0.5em 0.5em;
        font-size: 0.95em;
    }
    .dl-box-table .dl-box-btn {
        width: 100%!important;
        font-size: 0.95em;
        padding: 0.5em 0.5em;
    }
}

@media (max-width: 480px) {
    .dl-box-table-wrapper {
        overflow-x: auto;
    }
    table.dl-box-table {
        min-width: 350px;
        font-size: 0.9rem;
    }
    table.dl-box-table th,
    table.dl-box-table td {
        padding: 0.4em 0.3em;
        font-size: 0.9em;
        word-break: break-word;
    }
    .dl-box-table .dl-box-btn {
        width: 100%!important;
        font-size: 0.9em;
        padding: 0.4em 0.3em;
    }
}

@media (max-width: 900px) {
    table.dl-box-table, 
    table.dl-box-table thead, 
    table.dl-box-table tbody, 
    table.dl-box-table th, 
    table.dl-box-table td, 
    table.dl-box-table tr {
        display: block;
        width: 100%;
        padding: 5px;
    }
    table.dl-box-table thead tr:nth-child(2),
    table.dl-box-top-offers thead tr:nth-child(1) {
        display: none;
    }
    table.dl-box-table thead tr {
        background: #fff;
        padding: 1em 0.5em;
        }
    .dl-box-table .headline {
        text-align: center;
    }    
    table.dl-box-table tbody tr {
        margin-bottom: 1.5em;
        background: #fff;
        box-shadow: 0 6px 8px rgba(0,0,0,0.3);
        border-radius: 8px;
        padding: 1em 0.5em;
    }
    table.dl-box-table td {
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        margin-bottom: 5px;
        min-height: 40px;
        box-sizing: border-box;
    }
    table.dl-box-table td:last-child {
        border-bottom: none;
    }
    table.dl-box-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.5em;
        top: 0;
        width: 48%;
        padding-right: 0.5em;
        white-space: nowrap;
        font-weight: bold;
        color: #333;
        font-size: 0.98em;
        line-height: 1.4;
        display: none; /* Data-Label unter 900px ausblenden */
    }
    table.dl-box-table .dl-box-offer-title {
        display: flex;
        align-items: center;
    }
    .dl-box-table .table-product-image {
        padding-bottom: 15px;
    }
    table.dl-box-table tfoot {
        display: block;
    }
    .dl-box-table .dl-box-mobile-label {
        display: block;
        float: inline-start;
        padding-right: 10px;
    }
}