/* Einheitliche Bildgrößen für alle Produktsektionen */
.product-section .main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.product-section .thumbnail img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    object-position: center; 
    border-radius: 3px;
    margin: 0 auto;
    display: block;
}

.product-section .thumbnail a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hover-Effekt für Thumbnails */
.product-section .thumbnail a:hover img {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .product-section .main-image img {
        height: 250px;
    }
    
    .product-section .thumbnail img {
        width: 85px;
        height: 65px;
    }
}

@media (max-width: 576px) {
    .product-section .main-image img {
        height: 200px;
    }
    
    .product-section .thumbnail img {
        width: 70px;
        height: 55px;
    }
}

/* Einheitliche Bildgrößen für alle Thumbnail-Galerien */
.thumbnail-gallery img,
.thumbnail-gallery .img-fluid {
    height: 100px !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
}

/* Hover-Effekt für alle Thumbnail-Galerien */
.thumbnail-gallery a:hover img {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.pricing-table-section .table thead th {
    background-color: #757575 !important;
    font-size:11px;
    color: #FFFFFF !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-weight: normal !important;
}
.pricing-table-section .table tbody tr {
    background-color: #C0C0C0 !important;
    cursor: pointer;
}
.pricing-table-section .table tbody tr:hover td {
    background: #8d8c8c!important;
} 
.pricing-table-section .table tbody td {
    color: #000000 !important;
    background: #C0C0C0;
    font-size:12px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.pricing-table-section .table tbody td strong {
    color: #000000 !important;
}

/* Mobile: TH width automatisch anpassen */
@media (max-width: 991px) {
    /* TH width automatisch an Inhalt anpassen - nur Mobile */
    .pricing-table-section .table th {
        width: auto;
        white-space: nowrap;
        min-width: fit-content;
        max-width: none;
    }
    
    /* Spezifische Breiten für bestimmte Spalten - nur Mobile */
    .pricing-table-section .table th:nth-child(1) {
        min-width: 100px; /* Artikel-Nr. */
    }
    
    .pricing-table-section .table th:nth-child(2) {
        min-width: 120px; /* Abmessungen */
    }
    
    /* Preis-Spalten - nur Mobile */
    .pricing-table-section .table th:contains("Preis") {
        min-width: 140px;
    }
    
    /* Anfrage-Spalte - normale Breite in Mobile */
    .pricing-table-section .table th:last-child {
        min-width: 180px;
        width: auto; /* Nicht fixiert */
    }
    
    .pricing-mobile {
        position: relative;
    }
    
    .pricing-mobile .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-mobile table {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    /* Scroll-Indikator */
    
}

/* Mobile Scroll-Buttons */
@media (max-width: 991px) {
    .pricing-mobile {
        position: relative;
    }
    
    .mobile-scroll-buttons {
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 0 10px; /* Etwas Abstand vom Rand */
    }
    
    .mobile-scroll-btn {
        background: #68AB03;
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 18px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }
    
    .mobile-scroll-btn:hover {
        background: #68AB03;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .mobile-scroll-btn:active {
        transform: scale(0.95);
    }
    
    .mobile-scroll-btn:disabled {
        background: #cbd5e0;
        cursor: not-allowed;
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}