.cpb_product_boxes_carousel {
    width: 600px;
    max-width: 100%;
    clear: both;
}
.cpb_product_boxes_carousel .slick-next {
    right: 5px;
    z-index: 999;
}
.cpb_product_quick_view > div.product {
    max-width: 1000px;
}
.cpb_product_boxes_carousel .slick-prev {
    left: 5px;
    z-index: 999;
}
.cpb_product_boxes_carousel .slick-prev:before, .cpb_product_boxes_carousel .slick-next:before {
    font-size: 25px;
    opacity: 1;
    color: #000;
}
.cpb_product_quick_view figure.woocommerce-product-gallery__wrapper {
    position: relative;
    overflow: hidden;
    clear: both;
    max-width: 100%;
}
.cpb_product_quick_view {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 99999;
    max-width: 800px;
	width: 96%;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 auto;
    border: 1px solid #414141;
    overflow:auto;
    background: #fff;
    padding: 15px;
    border: solid 5px;
}
.cpb_product_boxes_content {
    padding: 15px;
}
.cpb_product_boxes_layer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(01, 01, 01, 0.6);
    display: none;
}
.cpb_product_quick_view_head > span {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 45px;
    color: #333;
    cursor: pointer;
}
.cpb_product_quick_view_head {
    position: absolute;
    right: 0px;
    top:0;
    z-index: 999999;
    background-color: #fff;
}
span.cpb_totals_text {
    margin-right: 5px;
}
.cpb-short-description {
    margin-bottom: 15px;
}
.cpb_product_quick_view_footer {
    min-height: 300px;
    vertical-align: middle;
    padding: 100px;
}
.cpb-extras .cpb-col-1 {
    text-align: left;
}
.cpb_boxes_item_data .summary {
    padding: 15px;
}
.cpb-row {
    display: flex;
    flex-wrap: wrap;
    /* margin-right: -7px;
    margin-left: -7px; */
}
.cpb-col-1, .cpb-col-2, .cpb-col-3, .cpb-col-4, .cpb-col-5, .cpb-col-6, .cpb-col-7, .cpb-col-8, .cpb-col-9, .cpb-col-10, .cpb-col-11, .cpb-col-12{
    position: relative;
    width: 100%;
    padding-right: 7px;
    padding-left: 7px; 
    display: block;
    margin-bottom: 15px;
    text-align: center;
    float: left;
}
.cpb-col-right, .cpb-col-left {
    position: relative;
    width: 100%;
    padding-right: 7px;
    padding-left: 7px; 
    display: block;
    margin-bottom: 15px;
    text-align: center;
    float: left;
}
.cpb-col-right {
    padding-left: 15px;
}
.cpb-col-left {
    padding-right: 15px;
}
.cpb-col-left, .cpb-col-right{
    flex: 0 0 50%;
    max-width: 50%;
}
.cpb-col-1 {
    flex: 0 0 100%;
    max-width: 100%;
}
.cpb-col-2 {
    flex: 0 0 50%;
    max-width: 50%;
}
.cpb-col-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.cpb-col-4 {
    flex: 0 0 25%;
    max-width: 25%;
}
.cpb-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
}
.cpb-col-6 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}
.cpb-col-7 {
    flex: 0 0 14.28572%;
    max-width: 14.28572%;
}
.cpb-col-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}
.cpb-col-9 {
    flex: 0 0 11.111111%;
    max-width: 11.111111%;
}
.cpb-col-10 {
    flex: 0 0 10%;
    max-width: 10%;
}
.cpb-col-11 {
    flex: 0 0 0.11%;
    max-width: 0.11%;
}
.cpb-col-12 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}
.cpb-row.cpb-boxes .cpb-inner img {
    /* width: 100%; */
    max-height: 100%;
    width: auto;
    margin: auto;
}
.cpb_products_footer {
    text-align: center;
}
div#cpb-error-message,
div#cpb-success-message {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 5px;
    border-radius: 0px;
    z-index: 9999;
    color: #fff;
    overflow: hidden;
    padding: 10px;
}
div#cpb-success-message {
    /*position: fixed;
    top: 10%;
    right: 5%;*/
    background: #017b22;
   /*  height: 0; */
   /*  padding: 0; */
    /* overflow: hidden; */
}
div#cpb-error-message {
    /*position: fixed;
    top: 10%;
    right: 5%;*/
    background: #d00;
}
 .cpb_product_boxes_custom .cpb-boxes .cpb-inner:empty:before,
 .cpb_product_boxes_custom .cpb-boxes .cpb-inner:empty:hover:before{
    content: '';
    display: block;
    position: relative;
    left: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    z-index: 9;
    width: 100%;
    height: 70px;
    opacity: 1;
    -webkit-transition-property: opacity;
    -webkit-transition-duration: 1s;
    -webkit-transition-delay: 0s;
    transition-property: opacity;
    transition-duration: 1s;
    transition-delay: 0s;
    display: block;
}
.cpb_product_boxes_custom .cpb-boxes .cpb-inner:empty:after{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: 10;
    background-image: url('https://www.fammiunabirra.it/site/wp-content/uploads/2021/02/fammi-una-birra-box-placeholder.png');
    background-size: 70px;
    background-repeat: no-repeat;
    background-position: center;
    opacity:0.15;
}
.cpb_product_boxes_custom .cpb-boxes .cpb-inner:empty{
    height: 70px;
}
.cpb_product_boxes_custom .cpb-boxes .cpb-inner:hover:before {
    content: "\f14f"; /* icona remove */
    font-family: dashicons;
    width: 20px;
    height: 20px;
    z-index: 100;
    font-size: 15px;
    line-height: 20px;
    text-align: right;
    display: block;
    position: absolute;
    left:0;
    top: 0;
    bottom: 0;
    background: rgba(245,245,245,0.7);
    z-index: 9;
    width: 100%;
    height: 70px;
    opacity: 0;
    -webkit-transition-property: opacity;
    -webkit-transition-duration: 1s;
    -webkit-transition-delay: 0s;
    transition-property: opacity;
    transition-duration: 1s;
    transition-delay: 0s;
    display: block;
}
.cpb_product_boxes_custom .cpb-boxes .cpb-inner:hover:before {
    opacity: 1;
    cursor: pointer;
    z-index: 100;
    /* background-image: url(../images/remove-icon-light.png);
    background-position: center 45%;
    background-repeat: no-repeat;
    background-size: 30px; */
}
@media (max-width: 766px)  {
    .cpb_product_boxes_custom .cpb-boxes .cpb-inner:before,
    .cpb_product_boxes_custom .cpb-boxes .cpb-inner:hover:before {
        content: "\f14f"; /* icona remove */
        font-family: dashicons;
        display: block;
        position: absolute;
        background-image: none;
        opacity: 1;
        background-position: center;
        background-size: 15px 15px;
        background-color: #fff;
        background-repeat: no-repeat;
        right:0;
        top: 0;
        left: auto;
        width: 20px;
        height: 20px;
        z-index: 100;
        font-size: 15px;
        line-height: 20px;
    }
}
.cpb_product_boxes_custom .cpb-boxes .cpb-inner{
    background: #ffffff;
    position: relative;
    height: 70px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid #f5f5f5;
    display: flex;
    align-items: center;

}
.cpb-caption p {
    margin: 0.3em 0 0.3em;
}
.cpb_product_boxes_custom .cpb-items .cpb-inner .cpb-item-image:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(245,245,245,0.7);
    z-index: 9;
    width: 100%;
    opacity: 0;
    -webkit-transition-property: opacity;
    -webkit-transition-duration: 1s;
    -webkit-transition-delay: 0s;
    transition-property: opacity;
    transition-duration: 1s;
    transition-delay: 0s;
    background-position: center 30%;
    background-repeat: no-repeat;
}
.cpb_product_boxes_custom .cpb-items .cpb-inner .cpb-item-image:hover:before {
    opacity: 1;
    cursor: pointer;
    /*background-image: url(../images/add-icon-white.png);*/
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-size: 30px 30px;
    content: "\f348";/* icona info */
        font-family: dashicons;
        font-size: 20px;
line-height: 20px;
text-align: right;
}
@media (max-width: 766px)  {
    .cpb_product_boxes_custom .cpb-items .cpb-inner .cpb-item-image:before,
    .cpb_product_boxes_custom .cpb-items .cpb-inner .cpb-item-image:hover:before {
        content: "\f348";/* icona info */
        font-family: dashicons;
        /*background-image: url(../images/add-icon-white.png);*/
        opacity: 1;
        background-image: none;
        background-position: right top;
        background-size: 20px 20px;
        background-color: #fff;
        right:0;
        top: 0;
        left: auto;
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 20px;
    }
}
.cpb-item-image {
    overflow: hidden;
    position: relative;
}
.cpb-extras .quantity{
    float: left;
    margin-right: 10px;
}
.cpb-extras .cpb-col-12{
    text-align: left;
}
.cpb-extras p.price{
    margin: 0.5em 0;
}
span.cpb_category_filters_item {
    margin: 15px;
}
p.cpb-filter-text {
    margin: 0;
}
span.cpb-outofstock-text {
    position: absolute;
    color: #fff;
    left: 0;
    right: 0;
    top: 40%;
    bottom: 0;
    margin: 0 auto;
    display: block;
    z-index: 2;
}
.cpb_product_boxes_custom .cpb-items .cpb-inner.cpb-outofstock .cpb-item-image:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    width: 100%;
    opacity : 1;
    background-image: unset;
}
@media (min-width: 470px) and (max-width: 767px){
    .cpb-col-2, .cpb-col-3, .cpb-col-4, .cpb-col-5, .cpb-col-6, .cpb-col-7, .cpb-col-8, .cpb-col-9, .cpb-col-10, .cpb-col-11, .cpb-col-12 {
    	flex: 0 0 50%;
    	max-width: 50%;
    }
    .cpb-col-right{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .cpb-col-left{
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 470px)  {
	.cpb-col-2, .cpb-col-3, .cpb-col-4, .cpb-col-5, .cpb-col-6, .cpb-col-7, .cpb-col-8, .cpb-col-9, .cpb-col-10, .cpb-col-11, .cpb-col-12, .cpb-col-right, .cpb-col-left {
    	flex: 0 0 100%;
    	max-width: 100%;
    }
}
/* .cpb_loader {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: none;
} */
.cpb_loader{
    position: absolute;
top: 50%;
left: 50%;
margin: -15px 0 0 -15px;
}
.cpb_loader span {
    width: auto;
    height: auto;
    font-size:32px;
    animation: spin 2s infinite linear;
    
}
@-ms-keyframes spin {
from { -ms-transform: rotate(0deg); }
to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from {
    transform:rotate(0deg);
}
to {
    transform:rotate(360deg);
}
}
/* .cpb_loader div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 55px;
    height: 55px;
    margin: 6px;
    border: 6px solid #607D8B;
    border-radius: 50%;
    animation: cpb-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #607D8B transparent transparent transparent;
}
.cpb_loader div:nth-child(1) {
  animation-delay: -0.45s;
}
.cpb_loader div:nth-child(2) {
  animation-delay: -0.3s;
}
.cpb_loader div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes cpb-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */

/*## FUB
/****************************************/
.cpb-col-left{
    flex: 0 0 70% !important;
	max-width: 70% !important;
	padding: 0 0px 0 0 !important;
}
.cpb-col-right{
    flex: 0 0 30% !important;
	max-width: 30% !important;
}
.cpb-col-1, .cpb-col-2, .cpb-col-3, .cpb-col-4, .cpb-col-5, .cpb-col-6, .cpb-col-7, .cpb-col-8, .cpb-col-9, .cpb-col-10, .cpb-col-11, .cpb-col-12{
	padding-right: 1px !important;;
	padding-left: 1px !important;;
	margin-bottom: 2px !important;;
}
.cpb-items .woocommerce-loop-product__title{
	text-align: left !important;
	margin: 0;
	color: var(--main-blu) !important;
	font-weight: var(--testo-normal);
	line-height: 1em;
    text-transform: uppercase;
    font-family: var(--font-secondario);
}
.cpb-item-btn .button{
	float: none !important;
}
.cpb_totals_text{
	font-size: 22px !important;
	display: block;
	margin: 20px 0 0px 0;
	font-weight: 300;
}
.cpb_box_add_to_cart_button{
	margin-top:10px;
}
.cpb-custom-product-boxes-items .cpb-inner.item-loop{
    margin:0 15px 15px 0;
}

.cpb_product_quick_view_content .cpb_boxes_item_data .product .summary{
    margin: 0 !important;
}
.cpb_product_quick_view_content .cpb_boxes_item_data h2{
    margin: 0 !important;
    color: var(--highlights-2);
}

.cpb_product_quick_view_content .cpb_boxes_item_data .summary.entry-summary{
    line-height: 1.5em;
}
/* .cpb-item-btn-add{
    cursor: pointer;
    padding: 7px;
    font-weight: normal;
    line-height: 1.1em;
    width: 100%;
}
.cpb-item-btn-add{
    background:var(--highlights-2); color:#fff;
    cursor: pointer;
    padding: 7px;
    font-weight: normal;
    line-height: 1.1em;
} */
.cpb-item-btn.cpb-outofstock{
    background: var(--grigio-chiaro-2);
    padding: 7px;
    font-weight: normal;
    line-height: 1.1em;
    color: #fff;
}
.cpb_box_add_to_cart_button{
    height: auto !important;
}

@media (max-width: 766px) {
	.cpb-col-left{
		flex: 0 0 60% !important;
		max-width: 60% !important;
	}
	.cpb-col-right{
		flex: 0 0 40% !important;
		max-width: 40% !important;
    }
    div#cpb-error-message,
    div#cpb-success-message {
        position: fixed;
        right: 0px;
        left: 0px;
        top: 80px;
        height: auto;
        overflow: auto;
    }
    .cpb_product_boxes_slide img{
        max-width: 250px;
        margin:auto;
    }
}
@media (max-width: 470px)  {
	.cpb-col-2, .cpb-col-3, .cpb-col-4, .cpb-col-5, .cpb-col-6, .cpb-col-7, .cpb-col-8, .cpb-col-9, .cpb-col-10, .cpb-col-11, .cpb-col-12 {
    	flex: 0 0 50% !important;
    	max-width: 50% !important;
    }
	.cpb_bundle_price{
    	font-size: 30px !important;
    }
/*     .cpb-items .woocommerce-loop-product__title{
        font-size: 11px !important;
    } */
    .cpb-col-left{
        padding: 0 0px 0 0 !important;
    }
    .cpb-col-right {
        padding: 10px !important;
    }
    .cpb-item-btn-add{
        font-size: 11px;
    }
    .cpb_product_quick_view_content .cpb_boxes_item_data .summary.entry-summary{
        font-size: 12px;
        line-height: 1.2em;
        padding: 0;
    }
}
