/* ============================================
   PRODUCT HOVER ANIMATION STYLES
   Extracted from: resources/views/partials/_product-hover-styles.blade.php
   ============================================ */

/* 1. Product Card Hover Effect */
.featured__item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.featured__item:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(164, 183, 245, 0.5);
    -webkit-box-shadow: 0 15px 30px rgba(164, 183, 245, 0.5);
    -moz-box-shadow: 0 15px 30px rgba(164, 183, 245, 0.5);
    border-color: #a4b7f5;
}

/* 2. Product Image Container - Make it clickable */
.featured__item__pic {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

/* 3. Icon Container - Sliding from Bottom */
.featured__item__pic__hover {
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.featured__item:hover .featured__item__pic__hover {
    bottom: 20px;
}

/* 4. Icon List Items */
.featured__item__pic__hover li {
    display: inline-block;
    margin: 0 5px;
}

.featured__item__pic__hover li a {
    font-size: 16px;
    color: #1c1c1c;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ebebeb;
    background: #ffffff;
    display: block;
    border-radius: 50%;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
}

/* 5. Icon Hover Effect - Rotation & Color Change */
.featured__item__pic__hover li:hover a {
    background: #a4b7f5;
    border-color: #a4b7f5;
    color: #ffffff;
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
}

/* 6. Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .featured__item:hover {
        transform: translateY(-3px);
        -webkit-transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(164, 183, 245, 0.4);
        -webkit-box-shadow: 0 10px 20px rgba(164, 183, 245, 0.4);
    }

    .featured__item__pic__hover {
        bottom: -40px;
    }

    .featured__item:hover .featured__item__pic__hover {
        bottom: 15px;
    }

    .featured__item__pic__hover li a {
        height: 35px;
        width: 35px;
        line-height: 35px;
        font-size: 14px;
    }
}

/* 7. Smooth Performance Optimization */
.featured__item,
.featured__item__pic__hover,
.featured__item__pic__hover li a {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

/* Product item hover for related products */
.product__item {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid transparent;
}

.product__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(164, 183, 245, 0.5);
    border-color: #a4b7f5;
    background-color: #fff;
}

.related-cart-btn:hover {
    background-color: #007bff !important;
    transform: scale(1.1);
}
