
/* Zoom-Lupe unter dem Thumbnail */
.freeform-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.freeform-zoom-trigger {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #CDCE00;
    color: white;
    text-decoration: none;
    border: 1px solid #CDCE00;
    border-radius: 50px;
    text-align: center;
    font-size: 14px!important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.freeform-zoom-trigger:hover {
    background: white;
    color: #CDCE00;
    text-decoration: none;
    border: 1px solid #CDCE00;
}

/* Lightbox Overlay */
.cart-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cart-lightbox-overlay.active {
    display: flex;
}

/* Lightbox Container */
.cart-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Lightbox Bild */
.cart-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
}

/* Loading Spinner */
.cart-lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 16px;
}

/* PulseID variation Text*/
.variation {
    font-size: 12px!important;
    color: #666!important;
    margin-top: 5px!important;
}
/* personaliserter Artikel Text */
.woocommerce-terms-and-conditions-wrapper{
    padding-top: 40px;
}

.ppc-button-wrapper{
    padding-top: 20px;
}

/* Schließen Button */
.cart-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10000;
}

.cart-lightbox-close:hover {
    background: rgba(0,0,0,0.9);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .cart-lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .cart-lightbox-image {
        max-height: 70vh;
    }
}

/* Thumbnail selbst vergrößern */
.woocommerce-cart .cart_item .product-thumbnail img {
    width: 150px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: cover;
}

/* Container für das Thumbnail erweitern */
.woocommerce-cart .cart_item .product-thumbnail {
    width: 150px !important;
    max-width: none !important;
}

/* Tabellenspalte erweitern */
.woocommerce-cart table.cart td.product-thumbnail {
    width: 150px !important;
    max-width: none !important;
}

/* Gesamte Warenkorb-Tabelle responsive machen */
.woocommerce-cart .shop_table {
    table-layout: auto !important;
}

/* Bei kleineren Bildschirmen anpassen */
@media (max-width: 768px) {
    .woocommerce-cart .cart_item .product-thumbnail img,
    .woocommerce-cart .cart_item .product-thumbnail,
    .woocommerce-cart table.cart td.product-thumbnail {
        width: 100px !important;
    }
}


