/* EMIX Produkt- & Spezifikations-Komponenten (Drive-Inhalte) */
.emix-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.emix-product-card {
    border: 1px solid rgba(21, 149, 72, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.emix-product-card img,
.emix-product-card .emix-product-image-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.emix-product-card .emix-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(21, 149, 72, 0.12);
}

.emix-product-card .emix-product-image-placeholder span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.35;
}
.emix-product-card-body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.emix-product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d3d1f;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.emix-product-card p {
    font-size: 0.9rem;
    color: #334155;
    margin: 0 0 0.75rem;
    line-height: 1.5;
    flex: 1;
}
.emix-product-card .emix-spec-list {
    font-size: 0.82rem;
    color: #475569;
    margin: 0 0 0.75rem;
    padding-left: 1.1rem;
}
.emix-product-card .emix-spec-list li {
    margin-bottom: 0.2rem;
}
.emix-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin: 1.25rem 0;
}
.emix-gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: #f1f5f9;
}
.emix-gallery-figure {
    margin: 0;
}
.emix-gallery-figure img {
    height: 160px;
    object-fit: contain;
}
.emix-gallery-caption {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
}
.emix-spec-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: 12px;
    border: 1px solid rgba(21, 149, 72, 0.22);
    background: #fff;
}
.emix-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.emix-spec-table caption {
    text-align: left;
    font-weight: 700;
    padding: 0.75rem 1rem 0.5rem;
    color: #0d3d1f;
}
.emix-spec-table th,
.emix-spec-table td {
    padding: 0.45rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.emix-spec-table th {
    background: rgba(21, 149, 72, 0.1);
    color: #0d3d1f;
    white-space: nowrap;
}
.emix-spec-table tbody tr:hover {
    background: rgba(21, 149, 72, 0.04);
}
.emix-spec-table tbody th[scope="row"] {
    background: rgba(21, 149, 72, 0.06);
    color: #0d3d1f;
    font-weight: 600;
    white-space: nowrap;
}
.emix-pdf-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}
.emix-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(21, 149, 72, 0.35);
    color: #159548;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(21, 149, 72, 0.06);
}
.emix-pdf-link:hover {
    background: rgba(21, 149, 72, 0.12);
}
.emix-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #159548;
    margin-bottom: 0.35rem;
}

/* Produktkatalog-Seite */
.emix-katalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 2rem;
    padding: 1rem;
    background: rgba(21, 149, 72, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(21, 149, 72, 0.15);
}

.emix-katalog-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(21, 149, 72, 0.25);
    color: #0d3d1f;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.emix-katalog-nav a:hover {
    background: rgba(21, 149, 72, 0.1);
    color: #159548;
}

.emix-katalog-kategorie {
    scroll-margin-top: 6rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(21, 149, 72, 0.15);
}

.emix-katalog-kategorie:last-of-type {
    border-bottom: none;
}

.emix-katalog-mehr {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #159548;
    text-decoration: none;
}

.emix-katalog-mehr:hover {
    text-decoration: underline;
}

/* Bild-Lightbox (Klick zum Vergrößern) */
.emix-lightbox-trigger {
    cursor: zoom-in;
}
.emix-lightbox-trigger:focus-visible {
    outline: 2px solid #159548;
    outline-offset: 2px;
}
.emix-lightbox[hidden] {
    display: none !important;
}
body.emix-lightbox-open {
    overflow: hidden;
}
.emix-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.emix-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    cursor: zoom-out;
}
.emix-lightbox-dialog {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1200px);
    max-height: 92vh;
    width: 100%;
}
.emix-lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 2;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}
.emix-lightbox-close:hover {
    color: #86efac;
}
.emix-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}
.emix-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 3rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.emix-lightbox-caption {
    margin: 0;
    color: #f8fafc;
    font-size: 0.9rem;
    text-align: center;
    max-width: 48rem;
    line-height: 1.4;
}
.emix-lightbox-caption[hidden] {
    display: none;
}

