/* =========================================================
   product-detail.css – Komplett neu strukturiert
   ========================================================= */

/* Allgemeiner Container */
.product-detail-page {  
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

/* Überschreibe main-padding für Produkt-Detail-Seite */
main:has(.product-detail-page) {
    padding-top: 0;
}

/* Breadcrumb */
.product-detail-breadcrumb {
    font-size: 14px;
    padding: 5px 0 10px 0;
    margin: 0;
    color: #777;
}
.product-detail-breadcrumb a {
    color: #005580;
    text-decoration: none;
}
.product-detail-breadcrumb a:hover {
    text-decoration: underline;
}

/* Titel & Brand */
.product-detail-product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 5px 0 15px;
}
.product-detail-product-brand {
    font-size: 14px; 
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Wrapper für Hauptinhalt und Sidebar */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 2.5fr 0.5fr; /* Linke Spalte 2 Teile, rechte 1 Teil */
    gap: 30px;
    margin-bottom: 40px;
}
@media (max-width: 999px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-detail-sidebar {
        display: none;
    }
}

/* Rechte Spalte – Sidebar (weitere Produkte) */
.product-detail-sidebar {
    padding: 0 10px;
    border-left: 1px solid #ddd;
    border-radius: 4px;
}
.product-detail-sidebar h2 {
    font-size: 14px;
    margin-bottom: 15px;
}
.related-products {
    display: flex;
    flex-direction: column;
}
.related-product {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    background-color: #fff;
}
.related-product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.related-product h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.related-product p {
    font-size: 14px;
    color: #005580;
}

/* Bereich: Produkt-Top (Bilder & Infos) */
.product-detail-product-detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* linke Spalte: Bilder, rechte Spalte: Infos */
    gap: 30px;
}
@media (max-width: 768px) {
    .product-detail-product-detail-top {
        grid-template-columns: 1fr;
    }
}

/* Produktgalerie (Bilder) */
.product-detail-product-gallery {
    width: 100%;
    box-sizing: border-box;
}
.product-detail-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;  /* immer quadratisch */
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Thumbnails (Desktop) */
.product-detail-thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.product-detail-thumbnail-row .thumb {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}
.product-detail-thumbnail-row .thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.product-detail-thumbnail-row .thumb:hover {
    transform: scale(1.05);
}

/* Mobile – Duplikate für Hauptbild & Thumbnails */
.product-detail-main-image-mobile,
.product-detail-thumbnail-row-mobile {
    display: none;
}
@media (max-width: 768px) {
    .product-detail-product-gallery {
        display: none;
    }
    .product-detail-main-image-mobile,
    .product-detail-thumbnail-row-mobile {
        display: block;
    }
    .product-detail-main-image-mobile img {
        width: 100%;
        max-width: 300px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .product-detail-thumbnail-row-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }
    .product-detail-thumbnail-row-mobile .thumb {
        width: 50px;
        height: 50px;
        overflow: hidden;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
    }
    .product-detail-thumbnail-row-mobile .thumb img {
        width: 100%;
        object-fit: cover;
    }
}

/* Produktinfos (rechts im oberen Detailbereich) */
.product-detail-product-info {
    display: flex;
    flex-direction: column;
}
.product-detail-info-header {
    margin: 0;
}
.product-detail-product-shortdesc {
    font-size: 15px;
    color: #555;
    padding-bottom:20px;
    margin-bottom: 12px;
}
.product-detail-product-shortdesc.shortdesc-quote {
    background: none;
    border-radius: 0;
    padding: 0;
    position: relative;
}
.product-detail-product-shortdesc.shortdesc-quote .shortdesc-quote-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-detail-product-shortdesc.shortdesc-quote .shortdesc-quote-list li {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    position: relative;
    padding-left: 26px;
    line-height: 1.4;
}
.product-detail-product-shortdesc.shortdesc-quote .shortdesc-quote-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #005580;
    line-height: 1.2;
}
.shortdesc-read-more-link {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #005580;
    text-decoration: none;
    white-space: nowrap;
}
.shortdesc-read-more-link:hover {
    text-decoration: underline;
    color: #003955;
}
.product-detail-product-price {
    font-size: 26px;
    font-weight: bold;
    color: #005580;
}
.product-detail-product-price .product-deatil-price-unit {
    font-size: 16px;
    color: #333;
    margin-left: 5px;
}
.product-detail-product-variants,
.product-detail-quantity-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}
.product-detail-product-variants label,
.product-detail-quantity-box label {
    font-weight: 500;
    color: #333;
    margin-right: 10px;
}
#product-detail-variant-select,
#product-detail-qty {
    padding: 6px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.product-detail-btn.btn-primary.add-to-cart {
    background-color: #003055;
    border: none;
    color: #fff;
    padding: 12px 18px;
    margin: 15px 0 0 0;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: 100%;
}
.product-detail-btn.btn-primary.add-to-cart:hover {
    background-color: #005580;
}

/* Wishlist Button auf Produktdetailseite */
.product-detail-btn.btn-wishlist {
    background-color: #fff;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 10px 18px;
    margin: 10px 0 0 0;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.product-detail-btn.btn-wishlist:hover {
    background-color: #dc3545;
    color: #fff;
}
.product-detail-btn.btn-wishlist:hover i {
    transform: scale(1.2);
}
.product-detail-btn.btn-wishlist i {
    font-size: 18px;
    transition: transform 0.2s ease;
}
.product-detail-btn.btn-wishlist.is-on-wishlist {
    background-color: #dc3545;
    color: #fff;
}
.product-detail-btn.btn-wishlist.is-on-wishlist:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.product-detail-availability-info i {
    color: #003055;
    margin-right: 5px;
}
.product-detail-availability-info p {
    font-size: 14px;
    color: #444;
}

.product-detail-product-data-table {
    margin-bottom: 30px;
}

.product-detail-product-data-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

/* Standard: 1 Spalte (unter 1000px) */
.product-detail-product-data-table tbody {
    display: block;
}

.product-detail-product-data-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Zwei Spalten ab 1000px */
@media (min-width: 1000px) {
    .product-detail-product-data-table tr {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.product-detail-product-data-table th,
.product-detail-product-data-table td {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.product-detail-product-data-table th {
    background-color: #f8f8f8;
    text-align: left;
}

/* Empfehlungen */
.product-detail-product-recommendations {
    margin-bottom: 40px;
}
.product-detail-product-recommendations h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #005580;
}
.product-detail-product-recommendations ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-detail-product-recommendations li {
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 160px;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    transition: transform 0.3s;
}
.product-detail-product-recommendations li:hover {
    transform: translateY(-3px);
}
.product-detail-product-recommendations .product-detail-rec-name {
    font-size: 14px;
    margin: 5px 0;
    color: #005580;
}
.product-detail-product-recommendations .product-detail-rec-price {
    font-size: 14px;
    color: #333;
}
.product-detail-product-recommendations img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Beschreibung & Sicherheit */
.product-detail-product-description {
    scroll-margin-top: 140px;
}

.product-detail-product-description,
.product-detail-product-safety {
    margin-bottom: 40px;
}
.product-detail-product-description h3,
.product-detail-product-safety h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #005580;
    width: 100%;
    margin-top: 20px;
    border-bottom: 1px solid #666; /* Dünner blauer Strich */
    padding-bottom: 5px; /* Abstand zwischen Text und Strich */
}

.product-detail-product-description p,
.product-detail-product-safety p,
.product-detail-product-description .description-content,
.product-detail-product-safety .description-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Zubehör-Slider */
.product-detail-product-accessories {
    margin-bottom: 40px;
}
.product-detail-product-accessories h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #005580;
    border-bottom: 1px solid #666; /* Dünner blauer Strich */
    padding-bottom: 5px; /* Abstand zwischen Text und Strich */
}
.product-detail-accessories-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}
.product-detail-accessory-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s;
}
.product-detail-accessory-item:hover {
    transform: translateY(-3px);
}
.product-detail-accessory-item img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}
.product-detail-accessory-item h3 {
    font-size: 14px;
    color: #003055;
    margin-bottom: 5px;
    border-bottom: 1px solid #666; /* Dünner blauer Strich */
    padding-bottom: 5px; /* Abstand zwischen Text und Strich */
}
.product-detail-accessory-item .product-detail-old-price {
    font-size: 13px;
    color: #777;
    text-decoration: line-through;
    margin-right: 5px;
}
.product-detail-accessory-item .product-detail-current-price {
    font-size: 15px;
    color: #005580;
    font-weight: bold;
}
.product-detail-discount-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #d9534f;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    transform: rotate(-10deg);
}

/* Kundenbewertungen */
.product-detail-customer-reviews,
.product-detail-qa {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #e3e8ef;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.product-detail-reviews-header,
.product-detail-qa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.product-detail-reviews-header h3,
.product-detail-qa-header h3 {
    font-size: 1.35rem;
    color: #003055;
    margin: 0;
    font-weight: 600;
}

.product-detail-review-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #003055;
    background: #e8f1f8;
}

.product-detail-review-subline {
    margin: 0 0 20px;
    color: #4a5568;
    font-size: 0.95rem;
}

.product-detail-review-form,
.product-detail-question-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.product-detail-review-form select,
.product-detail-review-form textarea,
.product-detail-question-form textarea,
.product-answer-form textarea {
    border: 1px solid #d2dbe8;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.product-detail-review-form select:focus,
.product-detail-review-form textarea:focus,
.product-detail-question-form textarea:focus,
.product-answer-form textarea:focus {
    outline: none;
    border-color: #003055;
    box-shadow: 0 0 0 2px rgba(0, 48, 85, 0.12);
}

.product-detail-review-list,
.product-question-list,
.product-answer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-review-item,
.product-question-item,
.product-answer-item {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 14px 16px;
    background: #fafbfc;
    box-shadow: none;
}

.product-detail-review-header,
.product-question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-detail-review-header strong,
.product-question-meta strong {
    color: #0f172a;
    font-weight: 600;
}

.product-detail-review-rating {
    margin-bottom: 8px;
}

.product-detail-review-rating i {
    color: #f2b807;
    margin-right: 3px;
    font-size: 0.95rem;
}

.product-detail-review-comment,
.product-question-text,
.product-answer-item p {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.product-answer-item {
    background: #fff;
    border-color: #e2e8f0;
}

.product-detail-review-hint {
    border: 1px dashed #c9d7ed;
    border-radius: 4px;
    padding: 12px 16px;
    background: #f8fbff;
    color: #334e68;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.form-feedback {
    font-size: 0.9rem;
    min-height: 18px;
}
.form-feedback.success {
    color: #0f8b2c;
}
.form-feedback.error {
    color: #c53030;
}

.product-detail-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 10px 18px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-page .btn:focus-visible {
    outline: 2px solid rgba(0, 86, 179, 0.35);
    outline-offset: 2px;
}

.product-detail-page .btn-primary {
    background-color: #003055;
    color: #fff;
}

.product-detail-page .btn-primary:hover {
    background-color: #005580;
}

.product-detail-page .btn-secondary {
    background-color: #f4f7fb;
    color: #003055;
    border-color: #ced7e4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-detail-page .btn-secondary:hover {
    background-color: #e6eef9;
    border-color: #b6c4d8;
    color: #00223a;
}

.product-detail-page .btn-link {
    padding: 0;
    background: transparent;
    border: none;
    color: #005580;
    font-weight: 600;
}

.product-detail-page .btn-link:hover {
    color: #003955;
}

.product-answer-form .btn-link {
    align-self: flex-start;
}

.question-answer-toggle {
    margin-top: 10px;
    margin-bottom: 8px;
    border: none;
    background: transparent;
    color: #003366 !important;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.question-answer-toggle:hover {
    color: #001a33 !important;
}

.question-answer-toggle::after {
    content: '\25BC';
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.question-answer-toggle.is-open::after {
    transform: rotate(180deg);
}

.product-answer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e3e8f0;
    border-radius: 4px;
    background: #f9fbff;
}

.product-answer-empty,
.product-question-empty,
.product-detail-review-empty {
    margin: 8px 0;
    color: #94a3b8;
    font-style: italic;
}

/* Responsive Anpassungen für Empfehlungen */
@media (max-width: 768px) {
    .product-detail-product-recommendations ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-detail-product-recommendations li {
        width: 100%;
    }
}

/* Formularelemente: Varianten & Menge */
.product-detail-product-variants select,
.product-detail-quantity-box input[type="number"] {
    height: 32px;
    padding: 0 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Modal & Image Slider */
.modal {
    display: none;
    position: fixed;
    z-index: 9000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.modal .close:hover,
.modal .close:focus {
    color: #bbb;
}
.modal-content {
    position: relative;
    margin: auto;
    max-width: 800px;
}
.mySlides {
    display: none;
}
.mySlides img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #003055;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    transition: 0.3s;
    z-index: 9100;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.5);
}
.prev:hover, .next:hover {
    color: #005580;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}

/* Neuer Preisbereich in einer Box */
.product-detail-price-box {
    background-color: #f0f0f0;  /* Hellgrauer Hintergrund */
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
}

.product-detail-old-price .prefix {
    /* Für "statt" keine Durchstreichung */
    text-decoration: none;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .product-detail-old-price .price {
    /* Nur der Preis wird durchgestrichen */
    text-decoration: line-through;
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
  }
 
/* Aktueller Preis & Einheit */
.product-detail-current-price {
    font-size: 26px;
    font-weight: bold;
    color: #005580;
    margin-bottom: 5px;
}
.product-detail-price-unit {
    font-size: 22px;
    color: #005580;
    margin-left: 5px;
}

/* MwSt. & Versandhinweis */
.product-detail-tax-shipping {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

/* Einsparungen */
.product-detail-savings {
    font-size: 16px;
    color: #25a14b;
}

/* Verfügbarkeitsinfo (innerhalb der Box) */
.product-detail-price-box .product-detail-availability-info {
    font-size: 14px;
    color: #444;
}

.variant-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.variant-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.variant-button {
    padding: 8px 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.variant-button.active {
    background-color: #005580;
    color: #fff;
}

.variant-button:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.variant-dropdown {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.variant-dropdown:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.option-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.option-select:focus {
    outline: none;
    border-color: #0a5ed7;
    box-shadow: 0 0 0 3px rgba(10, 94, 215, 0.15);
}

.option-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Neue Styles für separate Option-Auswahl */
.variant-options-separate {
    margin-top: 15px;
}

.variant-options-separate .option-group {
    margin-bottom: 15px;
}

/* Kompakte Inline-Ansicht für einzelne Variante */
.variant-options-separate.single-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.variant-options-separate.single-variant .option-group {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variant-options-separate.single-variant .option-group label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.variant-options-separate.single-variant .option-buttons {
    display: inline-flex;
    gap: 8px;
}

/* Standard-Ansicht für mehrere Varianten */
.variant-options-separate:not(.single-variant) .option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.variant-options-separate .option-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-options-separate .option-group-static label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.variant-options-separate.single-variant .option-group-static label {
    margin-bottom: 0;
    display: inline-block;
}

.variant-options-separate .option-static-value {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-height: 36px;
}

.variant-options-separate.single-variant .option-static-value {
    margin-left: 4px;
}

.option-group-dropdown label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.option-button {
    padding: 10px 16px;
    border: 2px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    min-width: 80px;
    text-align: center;
}

.option-button:hover {
    border-color: #005580;
    background-color: #f0f8ff;
}

.option-button.active {
    background-color: #005580;
    color: #fff;
    border-color: #005580;
    font-weight: 600;
}

.option-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
    opacity: 0.6;
}

.option-button.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
    opacity: 0.6;
}

.product-detail-artikelnummer-box {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}
.product-detail-artikelnummer-box label {
    font-weight: 500;
    color: #555;
    margin-right: 5px;
}

/* Lagerstandsanzeige - Stil für den Text */
.stock-status-detail {
    display: flex;
    align-items: center;
    gap: 8px; /* Abstand zwischen Text und Punkt */
    font-size: 14px; /* Schriftgröße */
    margin-top: 10px; /* Abstand nach oben */
    font-weight: bold;
}

/* Lagerstandsanzeige - Allgemeiner Stil für die Punkte */
.stock-status-detail .status-dot {
    width: 12px; /* Größe des Punkts */
    height: 12px; /* Größe des Punkts */
    border-radius: 50%; /* Macht den Punkt rund */
    display: inline-block;
}

/* Farben der Punkte auf der Produktdetailseite */
.status-dot.green { background-color: #28a745; }
.status-dot.orange { background-color: #ffc107; }
.status-dot.red { background-color: #dc3545; }

/* Container für Verfügbarkeitsanzeige und Frage-Button */
.stock-status-detail-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Lagerstand und Button */
    margin-top: 10px;
}

/* Styling für den Button */
/* Container für Verfügbarkeitsanzeige und Button */
.stock-status-detail-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Verfügbarkeitsanzeige links, Button rechts */
    width: 100%;
    margin-top: 10px;
}

/* Styling für den Button */
.question-button {
    background-color: #005580;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
    white-space: nowrap; /* Verhindert Umbrüche */
    margin-left: auto; /* Schiebt den Button nach rechts */
}

.question-button:hover {
    background-color: #003955;
}

/* Wrapper für den gesamten Sidebar-Slider inkl. Pfeile */
.related-products-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Der Scroll-Container - OHNE Pfeile drin */
.related-products-slider-container {
    position: relative;
    height: 520px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* Scrollbar verstecken */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.related-products-slider-container::-webkit-scrollbar {
    display: none;
}

/* Der eigentliche Slider */
.related-products-slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-sidebar .product-item-small {
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.product-detail-sidebar .product-item-small .image-container {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-sidebar .product-item-small .product-image-small {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.product-detail-sidebar .product-item-small .thumbnails-container {
    display: none;
}

/* Pfeile für die vertikale Navigation - ALS FLEX-ITEMS */
.vertical-slider-arrow {
    flex-shrink: 0;
    background-color: rgba(0, 48, 85, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.vertical-slider-arrow:hover:not(.disabled) {
    background-color: rgba(0, 85, 128, 0.95);
}

.vertical-slider-arrow.disabled {
    background-color: rgba(180, 180, 180, 0.6);
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    box-shadow: none;
}

.video-container {
    max-width: 700px; /* Maximale Breite setzen */
    width: 100%; /* Volle Breite darunter */
    aspect-ratio: 16 / 9; /* Sicherstellen, dass das Seitenverhältnis erhalten bleibt */
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Empfehlungen-Slider – gesamter Bereich */
.product-recommendations-slider {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    padding: 0 55px; /* Platz für Pfeile links/rechts */
    box-sizing: border-box;
    overflow: hidden; /* Verhindert Überlauf nach rechts */
}

.product-recommendations-slider h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #005580;
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
    margin-left: -55px; /* Titel über volle Breite */
    margin-right: -55px;
    padding-left: 0;
    padding-right: 0;
}

/* Container, der den Slider umschließt - mit nativem Scroll */
.slider-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth scroll für iOS */
    /* Scrollbar verstecken */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Slider-Track: Hier stehen alle Produkt-Items in einer Reihe */
.slider-track {
    display: flex;
    align-items: stretch;
    gap: 15px;
    padding: 5px 0;
}

/* Einzelne Slider-Items */
.slider-item {
    flex: 0 0 auto;
    width: 170px;
    display: flex;
}

.product-recommendations-slider .product-item-small {
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

/* Einheitliche Titelgröße für Empfehlungen (unten) und Sidebar-Kacheln */
.product-recommendations-slider .product-name-small,
.product-recommendations-slider .product-name-small a,
.product-detail-sidebar .product-name-small,
.product-detail-sidebar .product-name-small a {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #003055;
    text-align: center;
    display: block;
    margin: 6px 0 4px;
}

.product-recommendations-slider .product-item-small .image-container {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-recommendations-slider .product-item-small .product-image-small {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.product-recommendations-slider .product-item-small .thumbnails-container {
    display: none;
}

/* Navigationspfeile - auf Section-Ebene positioniert */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 48, 85, 0.85);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover:not(.disabled) {
    background-color: rgba(0, 85, 128, 0.95);
}

.slider-arrow:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow.disabled {
    background-color: rgba(180, 180, 180, 0.6);
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    box-shadow: none;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

/* Touch-Geräte: Kleinere Pfeile */
@media (hover: none) and (pointer: coarse) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .product-recommendations-slider {
        padding: 0 45px;
    }
    
    .product-recommendations-slider h3 {
        margin-left: -45px;
        margin-right: -45px;
    }
}

/* Für mobile Geräte – angepasste Slider-Items und Pfeile */
@media (max-width: 768px) {
    .product-recommendations-slider {
        padding: 0 40px;
    }
    
    .product-recommendations-slider h3 {
        margin-left: -40px;
        margin-right: -40px;
    }
    
    .slider-item {
        width: 160px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-recommendations-slider {
        padding: 0 32px;
    }
    
    .product-recommendations-slider h3 {
        margin-left: -32px;
        margin-right: -32px;
        font-size: 1.2em;
    }
    
    .slider-item {
        width: 140px;
    }
    
    .slider-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ============================= WEITERE EMPFEHLUNGEN ============================== */
.recommendations-section {
    padding: 30px 0 60px;
    margin-top: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fc 100%);
}

.recommendations-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.recommendations-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #005580;
    font-weight: 600;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Responsive für Empfehlungen */
@media (max-width: 1100px) {
    .recommendations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .recommendations-section {
        padding: 25px 0 45px;
        margin-top: 30px;
    }
    
    .recommendations-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}