/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.1
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */
 
h1, h2, h3, h4, h5, h6, body, button, input, textarea {
	font-family: 'Roboto Condensed', sans-serif;
}
table {
    width: 100%;
}

.woocommerce-tabs table td {
    padding: 1em 0.41575em;
}

h5.aboamaCopyright,
h6.aboamaCopyright  {
	text-align: center;
	display: block;
}

.site-footer,
.site-info {
	padding-bottom: 1rem;
}

ul.products li.product .button {
	display:none;
}

#containerHomepageUndead {
    background-image: url('https://andead.unipertini.it/wp-content/uploads/sites/10/2022/06/GoWE-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#containerHomepageVidia {
    background-image: url('https://vidiaclub.unipertini.it/wp-content/uploads/sites/15/2022/06/VIDIA-CLUB.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#containerHomepageMB {
    background-image: url('https://mbclothing.unipertini.it/wp-content/uploads/sites/22/2022/06/vladimir-kudinov-rRmehRk9zx0-unsplash-copia-1024x682-1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#containerHomepageVanni {
    background-image: url('https://vanni.unipertini.it/wp-content/uploads/sites/23/2022/06/Oddera_4.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.home.storefront-align-wide.page-template-template-fullwidth .hentry .entry-content>.wp-block-image.alignfull {
    margin-bottom: 0!important;
}

.hentry .entry-content ul.products li.product>a {
    background-color: #fff;
}


body.home .hentry .wp-post-image,
body.home .wp-block-latest-posts__featured-image.aligncenter {
    margin-bottom: 0;
}

body.home .wp-block-latest-posts__post-title {
    display: block;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
}

body.home ul.wp-block-latest-posts__list li:hover a {
    text-decoration: underline;
}

body.single .storefront-breadcrumb {
    display: none;
}

body.single h1.entry-title {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
}

.storefront-primary-navigation {
    /*display: none;*/
}

.mega-menu-toggle {
	background: transparent!important;
}

.mega-menu-toggle.mega-menu-open {
	background: white!important;
}

#chaty-widget-0 .chaty-widget {
    bottom: 90px!important;
}

.site-header .custom-logo-link img,
.woocommerce-active .site-branding {
    display: block;
    margin: 0 auto;
    float: none!important;
}

body.site-id-40 .home.blog .site-header, 
body.site-id-40 .home.page:not(.page-template-template-homepage) .site-header, 
body.site-id-40 .home.post-type-archive-product .site-header,
body.site-id-39 .home.blog .site-header, 
body.site-id-39 .home.page:not(.page-template-template-homepage) .site-header, 
body.site-id-39 .home.post-type-archive-product .site-header  {
    margin-bottom: 0;
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after{
    background-color: #000;
}

/* media screen min 768 */
@media (min-width: 768px) {
	
	.page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-4 li.product, .page-template-template-homepage-php .site-main ul.products.columns-4 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-4 li.product, .storefront-full-width-content .site-main ul.products.columns-4 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-4 li.product {
		width: 23.73913%;
		float: left;
		margin-right: 1.347826%;
	}

    .content-area,
    .site-main{
        margin-bottom: 0;
    }

    .storefront-primary-navigation {
		display: block;
	}

    #chaty-widget-0 .chaty-widget {
        bottom: 25px!important;
    }

    .site-header .custom-logo-link img,
    .woocommerce-active .site-branding {
        display: block;
        margin: 0;
        float: left!important;
    }

    .woocommerce-tabs table td {
        padding: 1em 1.41575em;
    }
    

}


/* CODICE PER LAURAPausini */
body.site-id-40 .primary-navigation,
body.site-id-39 .primary-navigation {
    text-align: right;
}

body.site-id-40 #site-navigation button.menu-toggle,
body.site-id-39 #site-navigation button.menu-toggle,
body.site-id-40 #mega-menu-wrap-handheld {
    display: none;
}

body.site-id-40 .site-header,
body.site-id-39 .site-header {
    padding: 1.5rem 0!important;
}

body.site-id-40 .woocommerce-product-details__short-description,
body.site-id-39 .woocommerce-product-details__short-description {
    font-family: 'Lato', sans-serif;
}

body.site-id-40 a.mega-menu-link,
body.site-id-39 a.mega-menu-link {
    font-family: 'Lato', sans-serif!important;
}

/* Seconda immagine al passaggio del mouse (plugin Secondary Product Image / wpzoom).
   Il plugin misura la foto del prodotto una sola volta via JS e scrive misure inline sul contenitore:
   se il layout cambia dopo (immagini caricate dopo, griglia dei correlati) l'immagine esce dalla scheda.
   Questa regola forza il contenitore a coincidere con la foto del prodotto (aggiunta 27/10/2026). */
ul.products li.product .wpzoom-secondary-image-container {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}
