/* Product Animations */
.product-showcase {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: #f8f9fa;
}

.product-image-container {
    width: 45%;
    position: relative;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.product-details {
    width: 55%;
    float: right;
    padding: 40px;
    position: relative;
}

.product-image {
    position: absolute;
    width: 80%;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
}

.product-image.active {
    opacity: 1;
    transform: translateX(0);
}

.product-image.exit {
    opacity: 0;
    transform: translateX(-150%);
    transition: all 0.8s ease-in-out;
}

.product-info {
    position: relative;
}

.product-detail-line {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Base active and exit states for text */
.product-detail-line.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.product-detail-line.exit {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

/* Text Animations */
.product-detail-line.slide-in-left { transform: translateX(-50px); }
.product-detail-line.slide-in-right { transform: translateX(50px); }
.product-detail-line.slide-in-top { transform: translateY(-30px); }
.product-detail-line.slide-in-bottom { transform: translateY(30px); }

.product-detail-line.exit.slide-out-left { transform: translateX(-100%); }
.product-detail-line.exit.slide-out-right { transform: translateX(100%); }
.product-detail-line.exit.slide-out-top { transform: translateY(-50px); }
.product-detail-line.exit.slide-out-bottom { transform: translateY(50px); }

.product-detail-line strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
