/******************************************************************************
 * Projekt : GENBOX Produktseiten
 * Datei   : genbox.css
 * Version : 3.6
 * Datum   : 21.07.2026
 *
 * Enthält Produktgruppen, Filter, Tabellen, Bildbetrachter,
 * PrestaShop-Preise und Warenkorb.
 * Navigation, Unterseiten und Footer stehen in gemeinsam.css.
 ******************************************************************************/

.hero {
    background: #28a7a0;
    color: #ffffff;
    text-align: center;
    padding: 42px 20px 58px;
}

.hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.logo {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 26px;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    font-weight: 400;
}

.hero p {
    margin: 0;
    font-size: 20px;
}

.content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 54px 24px 80px;
}

.db-message {
    background: #fff8d7;
    border: 1px solid #e6c45c;
    border-left: 7px solid #d99b00;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 26px;
    color: #5d4300;
    font-size: 16px;
    line-height: 1.45;
}

.filter-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 26px;
    margin-top: 36px;
    margin-bottom: 36px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.filter-item label {
    display: block;
    margin-bottom: 8px;
    color: #0b7475;
    font-weight: 700;
    font-size: 15px;
}

.filter-item select {
    width: 100%;
    height: 42px;
    border: 1px solid #c9d8d6;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 16px;
    background: #ffffff;
}



/* Produktgruppen-Umschaltung oberhalb der vier Infoboxen */
.product-type-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0 0 30px;
}

.product-type-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #0b7475;
    border-radius: 7px;
    background: #1094df;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a.product-type-button:hover,
a.product-type-button:focus {
    background: #0b7475;
    border-color: #0b7475;
    color: #ffffff;
    transform: translateY(-1px);
}

.product-type-button.is-active {
    border-color: #9aa7a8;
    background: #c9d0d1;
    color: #4d595b;
    box-shadow: none;
    cursor: default;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.info-box {
    min-height: 260px;
    background: #ffffff;
    border-radius: 8px;
    padding: 28px 24px 26px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    border-top: 7px solid #28a7a0;
    overflow-wrap: anywhere;
}


.info-box h3 {
    margin: 0 0 16px;
    color: #0b7475;
    font-size: 25px;
    line-height: 1.2;
}

.box-content {
    color: #506063;
    font-size: 16px;
    line-height: 1.48;
}

.box-content p,
.box-content ul {
    margin-top: 0;
}

.box-content ul {
    padding-left: 20px;
}

.box-content li {
    margin-bottom: 4px;
}

.box-content b,
.box-content strong {
    color: #143c40;
}


.info-box-connection {
    display: flex;
    flex-direction: column;
}

.info-box-image {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
}

.info-box-image img {
    display: inline-block;
    max-width: 170px;
    max-height: 135px;
    width: auto;
    height: auto;
}

.info-pdf-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    color: #0b7475;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.info-pdf-link:hover,
.info-pdf-link:focus {
    color: #1094df;
    text-decoration: underline;
}


.filter-status {
    min-height: 22px;
    margin-top: -18px;
    margin-bottom: 18px;
    color: #506063;
    font-size: 15px;
}

.product-area.is-loading {
    opacity: 0.62;
    pointer-events: none;
}

.product-area.is-loading::after {
    content: "Produkte werden geladen ...";
    display: block;
    margin-top: 16px;
    color: #0b7475;
    font-weight: 700;
}

.product-area {
    margin-top: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.product-headline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.product-area h2 {
    margin: 0 0 8px;
    color: #0b7475;
    font-size: 30px;
}

.product-area p {
    margin: 0;
    font-size: 18px;
    color: #506063;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1220px;
    font-size: 15px;
}

.product-table th {
    background: #0b7475;
    color: #ffffff;
    text-align: left;
    padding: 14px 12px;
    white-space: nowrap;
}

.product-table td {
    border-bottom: 1px solid #dce8e6;
    padding: 14px 12px;
    vertical-align: middle;
}

.product-table tbody tr:nth-child(even) {
    background: #f4fbf9;
}

.product-table tbody tr:hover {
    background: #e8f7f4;
}

.image-cell {
    width: 230px;
    text-align: center;
}

.image-zoom {
    position: relative;
    display: inline-block;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
}

.image-zoom img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.zoom-icon {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(4, 8, 8, 0.78);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    line-height: 1;
}

.image-zoom:hover .zoom-icon,
.image-zoom:focus .zoom-icon {
    background: #1094df;
}

.no-image {
    display: inline-block;
    color: #849395;
    font-size: 14px;
    font-style: italic;
}

.price-cell {
    white-space: nowrap;
    color: #506063;
}

.qty-input {
    width: 72px;
    height: 38px;
    border: 1px solid #c9d8d6;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 16px;
    text-align: center;
}

.empty-cell {
    text-align: center;
    color: #506063;
    font-size: 17px;
    padding: 28px 12px !important;
}


.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    pointer-events: none;
}

.image-viewer.is-open {
    display: flex;
}

.image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(233, 245, 242, 0.24);
    pointer-events: auto;
}

.image-viewer-dialog {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #d7e4e2;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
    text-align: center;
    pointer-events: auto;
    max-width: calc(100vw - 68px);
    max-height: calc(100vh - 68px);
}

.image-viewer-dialog img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 110px);
    max-height: calc(100vh - 150px);
    margin: 0 auto;
}

.image-viewer-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #1094df;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.image-viewer-close:hover,
.image-viewer-close:focus {
    background: #0b7475;
}

.image-viewer-title {
    margin-top: 10px;
    color: #0b7475;
    font-size: 17px;
    font-weight: 700;
}

body.image-viewer-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .filter-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
.content {
        padding: 42px 18px 56px;
    }

    .product-type-switcher {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-type-button {
        width: 100%;
    }

    .filter-box,
    .info-grid,
    .footer-cols {
        grid-template-columns: 1fr;
    }

    .info-box {
        min-height: 180px;
    }

    .logo {
        max-width: 180px;
    }

    .product-area {
        padding: 22px 16px;
    }
}


/* ===== GENBOX V3.0: PrestaShop und Zubehör ===== */
.customer-welcome {
    margin: 0 auto 22px;
    color: #0b7475;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.request-cell {
    color: #9a5a00;
    font-weight: 700;
    white-space: nowrap;
}

.shop-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #1094df;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.shop-link-button:hover,
.shop-link-button:focus {
    background: #0b7475;
    color: #ffffff;
}

.accessory-table {
    min-width: 850px;
}

.accessory-image-cell {
    width: 230px;
}
.cart-message {
    margin: 0 0 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}

.cart-message.is-error {
    border: 1px solid #c95b5b;
    border-left: 7px solid #b83333;
    background: #fff0f0;
    color: #7a2020;
}

.cart-message.is-success {
    border: 1px solid #66a97a;
    border-left: 7px solid #398b52;
    background: #eefaf1;
    color: #245f35;
}

.cart-form {
    margin: 0;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.cart-submit-button {
    min-height: 48px;
    border: 0;
    border-radius: 7px;
    padding: 13px 24px;
    background: #1094df;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.cart-submit-button:hover,
.cart-submit-button:focus {
    background: #0b7475;
}

@media (max-width: 760px) {
    .cart-actions {
        justify-content: stretch;
    }

    .cart-submit-button {
        width: 100%;
    }
}
