/*
Theme Name: Cavani
Theme URI: http://mygoalthemes.com/cavani
Author: GoalTheme
Author URI: #
Description: Cavani is clean theme, it's used Goalthemes Framework.
Version: 1.3.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: cavani
Tested up to: 5.4
Requires PHP: 7.0
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.
*/


/* Pulsante SCOPRI sulle card prodotto - stato normale */
.product-block .image-effect a,
.product-block a:has(.scopri-label),
a:has(> .scopri-label) {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.product-block .image-effect a .scopri-label,
.scopri-label {
    color: #ffffff !important;
    background-color: transparent !important;
}

/* Pulsante SCOPRI - hover */
.product-block .image-effect a:hover,
.product-block a:has(.scopri-label):hover,
a:has(> .scopri-label):hover {
    background-color: #B0C433 !important;
    color: #ffffff !important;
    border-color: #B0C433 !important;
}

.product-block .image-effect a:hover .scopri-label,
a:has(> .scopri-label):hover .scopri-label {
    color: #ffffff !important;
}
/* sidebar verde */
.sidebar .widget .widget-title,
.sidebar .widget .widgettitle,
.sidebar .widget .widget-heading,
.goal-sidebar .widget .widget-title,
.goal-sidebar .widget .widgettitle,
.goal-sidebar .widget .widget-heading {
    background-color: #000000 !important;
    color: #B0C433 !important;
    padding: 10px 20px !important;
}

a:hover,
a:focus,
a:active {
    color: #000000 !important;
    outline: 0 !important;
}




.woocommerce div.product form.cart .button {
    width: 100%;
    background: #B0C433;  !important;
    color: #fff;
    border-color: #B0C433; !important;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}



/* Override hover/focus pulsanti WooCommerce: rosa → verde lime */
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus,
.woocommerce .checkout-button:hover,
.woocommerce .checkout-button:focus,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:focus,
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .button:focus,
.woocommerce .widget_price_filter .price_slider_amount .button:hover,
.woocommerce .widget_price_filter .price_slider_amount .button:focus,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-message .button:focus,
.woocommerce .checkout_coupon .button:hover,
.woocommerce .checkout_coupon .button:focus,
.woocommerce table.shop_table input.button:hover,
.woocommerce table.shop_table input.button:focus,
.woocommerce .return-to-shop .button:hover,
.woocommerce .return-to-shop .button:focus,
.woocommerce .track_order .button:hover,
.woocommerce .track_order .button:focus,
.woocommerce .details-product .information .stock.out-of-stock:hover,
.woocommerce .details-product .information .stock.out-of-stock:focus,
.woocommerce .wishlist_table .product-add-to-cart a:hover,
.woocommerce .wishlist_table .product-add-to-cart a:focus,
.viewmore-products-btn:hover,
.viewmore-products-btn:focus,
.wfg-button:hover,
.wfg-button:focus {
    color: #B0C433 !important;
    text-decoration: none !important;
}

/* Titolo grande del breadcrumb in bianco */
.goal-breadscrumb .bread-title {
    color: #ffffff !important;
}

/* Tutto il resto in verde lime */
.goal-breadscrumb .breadcrumb,
.goal-breadscrumb .breadcrumb .active,
.goal-breadscrumb .breadcrumb a,
.post-layout .top-info i,
.post-layout .top-info .list-categories:before,
.nav.tabs-product > li.active > a,
.nav.tabs-product > li.active > a:hover,
.nav.tabs-product > li.active > a:focus,
#recentcomments > li:before {
    color: #B0C433 !important;
}

.goal-breadscrumb,
.goal-breadscrumb .wrapper-breads,
.goal-breadscrumb .wrapper-breads-inner,
#goal-breadcrumb {
    background-color: #000000 !important;
    background-image: none !important;
}


/* Allinea disponibilità dopo davvero dopo il prezzo,*/
.single-product .summary p.stock {
	display: block;
	margin: 8px 0 0 0 !important;
	text-align: left !important;
	float: none !important;
	width: auto !important;
}


img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-categories-list.aligncenter{
    text-align: center;
}
.yith-wcwl-add-button > a > i, .wishlist_table .add_to_cart.button > i {
    display: none;
}
rs-module-wrap{
    z-index: 0;
}

@media (min-width: 1024px) {
    .products-grid .product.first {
        clear: both;
    }
}