/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/


/*************** PRODUCT LABEL  ***************/

.product-image .labels .onsale, .summary-before .labels .onsale {
    background: #ff0000 !important;
    color: var(--porto-sale-color-inverse, #fff);
    padding: 3px !important;
    margin-top: 3px !important;
}

.product-image .labels { top: 1.6em !important; }


/*************** PRODUCT SINGLE PAGE FORM BUTTON  ***************/

button.single_add_to_cart_button.button.alt:hover {
    background-color: #006dd2 !important;
}

/*************** REEL VIDEO IN SINGLE PAGE  ***************/

.floating-product-video {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 180px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    z-index: 9999;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.floating-product-video video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.floating-product-video.fullscreen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
}

.floating-product-video.fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-product-video.minimized {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
}

.video-controls {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 6px;
    display: flex;
    justify-content: space-between;
    z-index: 10000;
}

.video-close-btn,
.video-sound-btn {
    background: rgba(0,0,0,0.8);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.floating-product-video.minimized .video-close-btn,
.floating-product-video.minimized .video-sound-btn {
    display: none !important;
}



