/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

#site-header.scrolled {    background-color: #000000cf !important; transition: background-color 1s ease-in-out !important;}

#footer .menu li {border:none;}

.woo-menu-icon {}

.menu-item .nav-content {display: none !important;}

/* all */
header.page-header {
    display: none !important;
}
#site-header, #top-bar-wrap {
	background-color: #fff0 !important;
    border: none !important;
}

@media screen and (min-width: 768px){
	#site-header, #top-bar-wrap {
    	position: fixed;
    	transition: background-color .15s ease-in;
    	top: 20px;
	}
}

.woocommerce-cart #site-header {background-color: #000000 !important;}
.woocommerce-checkout #site-header {background-color: #000000 !important;}
.single-product #site-header, .tax-product_cat #site-header, .archive #site-header {background-color: #000000 !important;}

.single-product #main, .woocommerce #main, .tax-product_cat #main, .tax-pa_benefit #main {padding-top: 60px;}

.woocommerce-cart #main {min-height: 70vh; padding-top: 100px;}
.wc-block-cart__submit-button {    color: #ffffff;
    background: #817653;
    text-transform: uppercase;}

/* Disabilita lo zoom sull'immagine del prodotto */
/* Disabilita lo zoom al passaggio del mouse sull'immagine del prodotto */
.woocommerce-product-gallery__image img.zoomImg {
    display: none !important; /* Nasconde l'immagine di zoom */
}

.woocommerce-product-gallery__image img {
    transform: none !important; /* Annulla qualsiasi trasformazione sull'immagine */
}

.woocommerce-product-gallery__wrapper {
    cursor: default !important; /* Cambia il cursore al passaggio del mouse */
}

.widget-title {font-size: 24px;}


@media (max-width: 768px) { /* Applicato solo per dispositivi mobili */
    #content-wrap {
        display: flex;
        flex-direction: column;
    }

    #right-sidebar {
        order: -1; /* Sposta la sidebar sopra il contenuto principale */
    }

    #primary {
        order: 1; /* Lascia il contenuto sotto */
    }
}

