/*
:root {
    --dark: #111;
    --grigio: #ddd;
    --white: #fff;
    --primary-color: #f47268;
    --font-gray: #777777;
    --num-prod-slider: 4
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    color: var(--font-gray);
}
*/
.wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    /* border: 1px dotted red; */
}

.major_wrapper {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

/* ANCHOR Padding */
.pad15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.pad20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pad30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pad40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.pad50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.pad60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.pad70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.nopadtop {
    padding-top: 0;
}

.nopadbottom {
    padding-bottom: 0;
}

.padright20 {
    padding-right: 20px;
}

.descr_mobile {
    display: none;
}

/* ANCHOR Margin */
.mart30 {
    margin-top: 30px;
}

/* SECTION Elementi Grid layout */

.grid {
    display: grid;
}

.auto_grid {
    grid-auto-flow: column;
}

.align_center {
    align-items: center;
}

/* ANCHOR Grid template columns */
.grid_2_cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid_3_cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid_4_cols {
    grid-template-columns: repeat(4, 1fr);
}

.grid_5_cols {
    grid-template-columns: repeat(5, 1fr);
}

.grid_1_2_cols {
    grid-template-columns: 1fr 2fr;
}

.grid_1_3_cols {
    grid-template-columns: 1fr 3fr;
}

.grid_1_4_cols {
    grid-template-columns: 1fr 4fr;
}

.grid_2_1_cols {
    grid-template-columns: 2fr 1fr;
}

.grid_3_2_cols {
    grid-template-columns: 3fr 2fr;
}

.grid_2_1_1_cols {
    grid-template-columns: 2fr 1fr 1fr;
}

/* ANCHOR Valori GAP  */
.gap10 {
    gap: 10px;
}

.gap20 {
    gap: 20px;
}

.gap30 {
    gap: 30px;
}

.gap40 {
    gap: 40px;
}

.gap50 {
    gap: 50px;
}

.has-equal-box-heights .box-image img, .has-format img, .image-cover img, .video-fit iframe, .video-fit video, img.back-image {
    position: static!important  ;
}

.has-equal-box-heights .box-image {
    padding-top: 0!important;
}

/* SECTION Tag da rimuovere  */
/*
a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
}

ul {
    list-style: none;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

body {

    min-height: 200vh;
}

ion-icon {
    pointer-events: none;
}

p strong {
    font-weight: 500;
}
*/

/* !SECTION */

.prodTV_grid {
    /* margin-top: 65px;*/
    grid-template-columns: 350px auto;
    align-items: center;
}

.prodTV_grid.show_full {
    grid-template-columns: 1fr;
}

.custom_row {
    margin: 25px auto;
    width: 100%;
    max-width: 1080px;
}

.prod_on_tv {
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.prod_on_tv .imageBox {
    width: 100%;
    /* height: 65%; */
    position: relative;
    overflow: hidden;
}

.prod_on_tv .imageBox a:not(.quick-view) {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod_on_tv__details {
    padding: 15px 30px;
    /*display: flex;
    flex-direction: column;
    gap: 15px;*/
    /* min-height: 35%; */
    align-items: center;
}

.prod_on_tv__details p {
    margin: 10px 0;
    text-align: center;
}

.prod_on_tv__short, .prod_on_tv__short p {
    line-height: 1.6;
    font-size: 100%;
    text-align: center;
}
.prod_on_tv__short a p,
.prod_on_tv__short p a {
	color: #777;
	transition: .2s;
}
.prod_on_tv__short a:hover p,
.prod_on_tv__short p a:hover {
	color: var(--primary-color);
}

.prod_on_tv__price {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}


.prod_on_tv__details .prod_on_tv__cod {
    margin-bottom: 0;
}

.flickity-page-dots {
    width: auto;
}

.prod_on_tv__price .striked {
    text-decoration: line-through;
}

.prod_on_tv__price strong {
    font-weight: bolder;
    color: var(--dark);
}

.prod_on_tv__cod a {
    color: var(--primary-color);
}

.prod_on_tv .quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: .4em 0 .5em;
    color: #fff;
    font-size: .85em;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.6;
    text-align: center;
    transition: .3s;
    transform: translateY(100%)
}

.prod_on_tv .imageBox:hover .quick-view {
    transform: translateY(0);
}

.prod_on_tv .imageBox a img {
    transform: scale(1.3);
}

.prod_on_tv .pot_arrow_wrapper {
    position: absolute;
    right: -20px;
    top: 33.3333%;
    width: 40px;
    height: 40px;
    -webkit-filter: drop-shadow(2px 0px 2px rgba(0, 0, 0, 0.45));
    filter: drop-shadow(2px 0px 2px rgba(0, 0, 0, 0.45));
    transform: rotate(45deg);
    /* z-index: 2; */
}

.prod_on_tv .pot_arrow {
    /* content: ''; */
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    /* -webkit-clip-path: polygon(100% 0, 0 0, 100% 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%); */
}

/* .prod_on_tv .imageBox a img {
    width: 100%;
} */

/* Wrap responsive */
.stream_wrapper {
    position: relative;
    /* padding-bottom: 65.25%; */
    padding-bottom: 56.25%;
    /* padding-top: 30px; */
    height: 0;
    overflow: hidden;

}

/* .show_full .stream_wrapper {
    padding-bottom: 60%;
}
 */
/* iframe posizionato in maniera assoluta */
.stream_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

#relatedProducts,
#lastSeenProds {
    margin: 50px 0;
}

#relatedProducts .carousel-cell,
#lastSeenProds .carousel-cell {
    /* min-height: 600px; */

    /* margin-right: 25px; */
    padding: 10px 9.8px 19.6px;
}

#relatedProducts .prod_on_tv,
#lastSeenProds .prod_on_tv {
    height: auto;
    box-shadow: none;
}
#relatedProducts .main-carousel {
	display: grid;
	grid-template-columns: repeat(4,1fr);
}

/* BEE */

#lastSeenProds .splide .splide__slide {
    margin-left: 0!important;
}
#lastSeenProds .splide .splide__arrow {
	margin: 0!important;
	min-height: 0!important;
	font-size: 1em!important;
	font-weight: normal!important;
}
@media (max-width: 767px){
    #lastSeenProds .flickity-viewport,
	#relatedProducts .flickity-viewport{
        overflow: initial !important;
        height: 400px !important;
    }
#relatedProducts .main-carousel {
	display: flex;
	flex-direction: column;
}
}
    
#relatedProducts, #lastSeenProds {
    display: block;
}

#lastSeenProds .prod_on_tv .imageBox a:first-child{
    max-height: 400px;
    display: block; 
}

/* BEE */


#relatedProducts .prod_on_tv .imageBox a img,
#lastSeenProds .prod_on_tv .imageBox a img {
    transform: scale(1);
    max-width: 100%;
}

/* SECTION Forse da rimuovere */
.right-sidebar .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}

.col-full {
    max-width: 100%;
}

/* !SECTION  */
.flickity-prev-next-button {
    opacity: 1 !important;
}

.flickity-prev-next-button .flickity-button-icon {
    width: 90%;
    height: 90%;
}

.flickity-button:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.badge-nopromo {
    background: #0a8d97;
    padding: 3px 6px;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 6px;
    z-index: 1;
    font-size: 13px;
    font-weight: normal;
}

#live-search .designs-card .badge-nopromo {
    font-size: 10px;
    top: 0px;
}

@media (max-width: 800px) {

    .product-footer .woocommerce-tabs {
        display: none;
    }

    .descr_mobile {
        display: block;
    }

    .descr_desktop {
        display: none;
    }

    .prod_on_tv .imageBox a img {
        transform: scale(1);
    }

    .prod_on_tv .quick-view {
        display: none !important;
    }

    #relatedProducts .carousel-cell,
    #lastSeenProds .carousel-cell {
        /* min-height: 600px; */
        width: 100% !important;
        /* margin-right: 25px; */
        /* padding: 10px 9.8px 19.6px; */
    }

    .prodTV_grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 45px;
        padding: 0 20px;
    }

    .prod_on_tv .pot_arrow_wrapper {
        right: unset;
        left: 50%;
        top: -19px;
        transform: translateX(-50%) rotate(45deg);
    }

    .stream_wrapper {
        padding-bottom: 56.25%;
        width: 100%;
    }

    .sticky-add-to-cart-select-options-button.ml-half {
        margin-left: 20px !important;
        font-size: 11px;
    }

    .single_add_to_cart_button {
        width: 100%;
    }

}