.product-detail {
  padding: 2rem;
}

.product-detail h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-detail h2 {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
}

.product-content img {
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.product-info {
  flex: 1;
}

.product-info .price {
  font-size: 1.5rem;
  color: #3D4390;
  margin: 1rem 0;
}

.product-info .description,
.product-info .details {
  margin-bottom: 1rem;
}

.stock-status {
  font-weight: 500;
  margin-bottom: 1rem;
}

.stock-status.text-success {
  color: #198754;
}

.stock-status.text-danger {
  color: #dc3545;
}
/* -- Lightbox -- */
.modal-content .modal-body .modal-image {
    max-width: 95vw;
    max-height: 95vh;
    width: 35vw;
    height: auto;
    object-fit: contain;
    border: none;
    border-radius: 0;
}

/* -- PDF icon used in links list -- */
.pdf-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* -- Datenblatt download button -- */
.btn-datenblatt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 9px 16px;
    background-color: #c0392b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-datenblatt:hover,
.btn-datenblatt:focus {
    background-color: #a93226;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    text-decoration: none;
}

.btn-datenblatt svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.desc-heading {
}

.list-heading {
    display: block;
    font-weight: 600;
}

.desc-bullet,
.desc-heading {
    display: block;
    padding-left: 4px;
}

.desc-heading:first-child {
    margin-top: 0;
}

.product-detail p {
    margin-bottom: 0;
}

.hover_top_5_text {
    font-size: 0.75rem;
    text-wrap: auto;
    padding: 5px;
}

/* -- Responsive grid for Passende Artikel -- */
.related-products-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .related-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.related-product-link {
    width: 100%;
}
