@charset "utf-8";
:root{
    --radius: 10px;
}
/*body, html{
	max-width: 100%;
	overflow-x: hidden;
}*/
.only_desktop{
	display: none;
}
.w_limited, .header_grid{
	max-width: 90%;
}
.flex_mobile{
	/*display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;*/
}
.cols_4.flex_mobile{
    /*flex-direction: column;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.txt_left_mobile{
	text-align: left;
}
/********* GENERIC RULES *********/
h1, h2{
    font-size: 2rem;
}
h2{
    margin-bottom: 10px;
}
h2.s{
    font-size: 1rem;
}
.btn{
	padding: 10px 20px;
}
#logo_footer{
	max-width: 180px;
}
.qty_addcart_wrap{
    flex-direction: column;
}
.btn_cart{
    padding: 13px 0;
}
.wrap_btns{
    display: flex;
    gap: 10px;
}
.space{
    clear: both;
    height: 50px;
}
.space_m{
    clear: both;
    height: 25px;
}
.line_shape{
    margin: 15px 0;
}
/********* END GENERIC RULES *********/


/********* HEADER ********/
header{
	padding: 10px 0;
}
header .header_grid{
	display: flex;
	justify-content: space-between;
	align-content: center;
}
header #ico_menu {
    position: relative;
    cursor: pointer;
    width: 28px;
    height: 16px;
}
header #ico_menu .line, header #ico_menu:before, header #ico_menu:after {
    background-color: var(--blue);
}
header #ico_menu:before {
    top: 0;
    width: 100%;
}
header #ico_menu:before, header #ico_menu:after {
    content: ' ';
    position: absolute;
    left: 0;
    height: 2px;
    transition: 400ms ease;
}
header #ico_menu .line {
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 400ms ease;
}
header #ico_menu:before {
    top: 0;
    width: 100%;
}
header #ico_menu:after {
    bottom: 0;
    width: 50%;
}
.menu_opened header #ico_menu:before {
    transform: rotate(45deg);
    top: 50%;
}
.menu_opened header #ico_menu .line {
    opacity: 0;
}
.menu_opened header #ico_menu:after {
    transform: rotate(-45deg);
    width: 100% !important;
    top: 50%;
}
header .menu{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 5px 5vw 20px 5vw;
    max-height: calc(100svh - 110px);
    overflow-y: scroll;
}
header .menu li{
	text-align: center;
	margin: 20px 0;
}
header .langs{
    background-color: #fcf8f1;
}
header .langs .other{
    width: 100%;
    background-color: #fcf8f1;
}
header .langs .other span{
    margin: 0 10px; 
}
#clear_header{
	height: 129px;
}
/********* END HEADER ********/

/********* HERO **********/
.hero h1{
    font-size: 2.1rem;
}
.hero .info{
    margin: 40px 0;
    gap: 10px;
}
@media screen and (min-width: 700px){
    .hero .info{
        margin: 120px 0;
    }
}
@media screen and (min-width: 890px){
    .hero .info{
        margin: 200px 0;
    }
}
/********* END HERO **********/

/********* TEXT_IMG *********/
.txt_img{
    grid-template-columns: 1fr;
    gap: 50px;
}
.txt_img .txt{
    width: 90%;
    margin: auto;
}
.txt_img .ar169_mobile{
    aspect-ratio: 16 / 9;
}
.txt_img.no_gap .txt{
    padding-bottom: 50px;
}
/********* END TEXT_IMG *********/

/********* PREVIEW PRODUCTS ***********/
.preview_products{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media screen and (min-width: 800px){
    .preview_products{
        grid-template-columns: 1fr 1fr;
    } 
}
/********* END PREVIEW PRODUCTS ***********/

/********* PREVIEW PRODUCT CARD ***********/
.gap_custom_1{
    gap: 10px;
}
.preview_product_card{
    display: grid;
    grid-template-columns: 34% 1fr;
    column-gap: 18px;
    row-gap: 8px;

    position: relative;
    /*padding: 18px 42px 18px 16px;*/
    padding: 10px;

    border-radius: 18px;
    text-decoration: none;
    align-items: center;
}

/* Solo immagine prodotto principale */
.preview_product_card > img.w100{
    grid-column: 1;
    grid-row: 1 / 6;

    width: 100%;
    height: 130px;
    object-fit: contain;
    align-self: center;
    justify-self: center;
}

/* Tutti gli altri elementi vanno nella colonna destra */
.preview_product_card > :not(img.w100){
    grid-column: 2;
}

.preview_product_card .title{
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
    text-align: left;
}

.preview_product_card .line{
    text-align: left;
}

.preview_product_card .line img{
    max-width: 100%;
}

.preview_product_card .format_row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin: 0;

    border: 1px solid rgba(190,150,70,.25);
    border-radius: 7px;
    background: rgba(255,255,255,.55);
    font-size: 15px;
}

.preview_product_card .format_row p{
    margin: 0;
}

.preview_product_card .price{
    font-weight: 700;
}

.preview_product_card .info_iva{
    margin-top: 4px !important;
    text-align: left !important;
    font-size: 13px;
    color: #777;
}

/* Trasformo il bottone grande in una freccia discreta */
.preview_product_card .btn{
    position: absolute;
    right: 5px;
    bottom: 5px;

    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;

    background: transparent;
    color: #0054a6;
    border: 0;
    box-shadow: none;

    font-size: 0;
    line-height: 0;
}

.preview_product_card .btn svg{
    width: 24px;
    height: 24px;
    margin-left: 0 !important;
}
/********* END PREVIEW PRODUCT CARD ***********/

/********* GRID_VANTAGGI ***********/
.grid_vantaggi{
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid_vantaggi .line{
    width: 100%;
    height: 1px;
}
.grid_vantaggi h3{
    font-size: 1.3rem;
}
/********* END GRID_VANTAGGI ***********/

/********* GRID CHI SIAMO *********/
.grid_chi_siamo{
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid_chi_siamo .line{
    width: 100%;
    height: 2px;
}
.grid_chi_siamo img{
    max-width: 200px;
}
/********* END GRID CHI SIAMO *********/
/********* GRID CARDS *********/
.grid_cards, .grid_cards.cols3{
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid_cards .line{
    width: 100%;
    height: 2px;
}
.grid_cards img{
    max-width: 350px;
}
.grid_cards.mobile_resize_imgs img{
    max-width: 250px !important;
}
.grid_cards .mg_btm_mobile{
    margin-bottom: -20px;
}
/********* END GRID CARDS *********/
/********* GRID IMG_TXT_BTNS *********/
.grid_txt_img_btns{
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
/********* END GRID IMG_TXT_BTNS *********/
/********* GRID AGRITURISMO *********/
.grid_agriturismo{
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid_agriturismo .info{
    width: 90%;
    margin: auto;
}
.grid_agriturismo .info h2{
    text-align: center;
}
/********* END GRID AGRITURISMO *********/
/********* GRID CONTATTI *********/
.grid_contatti{
    display: grid;
    grid-template-columns: 1fr;
}
/********* END GRID CONTATTI *********/


/********* CATEGORIES MENU *********/
.wrap_cat_menu{
    padding: 10px 0;
}
.cat_menu{
    display: none;
    padding-bottom: 20px;
}
.cat_menu li:first-of-type{
    margin-top: 20px;
}
.cat_menu li{
    margin-bottom: 20px;
}
.menu_cat_opened .wrap_cat_menu{
    height: calc(100svh - 82px);
    overflow-y: scroll;
}
.menu_cat_opened .cat_menu{
    display: block;
}

/********* END CATEGORIES MENU *********/

/********* PRODUCT CARD **********/
.product_card{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1vw;
}
.breadcrumb{
    margin-bottom: 10px;
}
.breadcrumb, .breadcrumb a{
    font-size: 14px;
}
.product_card > div:first-of-type{
    width: calc(100% + 8vw);
    left: -4vw;
    position: relative;
}
.product_card .format{
    padding: 10px;
    font-size: 18px;
    grid-template-columns: auto auto auto;
    gap: 15px;
}
.qty_addcart_wrap{
    flex-direction: column;
}
.btn_cart{
    padding: 13px 0;
}
.wrap_btns{
    display: flex;
    gap: 10px;
}
.product_card .parent_wrap_magnify{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product_card .wrap_magnify{
    max-width: 500px;
}
.product_card .thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.product_card .thumbs figure {
    width: calc((100% - 120px) / 4);
}
/********* END PRODUCT CARD **********/
.visit_info .pd_lt_20{
	padding-left: 20px;
}
/********* FOOTER **********/
footer .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
/********* END FOOTER **********/
/********* FORM **********/
form label{
	margin-bottom: 15px;
}
/********* END FORM ********/


/********* ICO MENU 2 **********/
#ico_menu_2{
	position: relative;
	cursor: pointer;
    /*height: 20px;*/
    height: 16px;
    width: 28px;
}
#ico_menu_2 .line, #ico_menu_2:before, #ico_menu_2:after{
	background-color: var(--blue);
}
#ico_menu_2 .line{
	width: 100%;
	/*height: 4px;*/
	height: 2px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: 400ms ease;
}
#ico_menu_2:before, #ico_menu_2:after{
	content: ' ';
	position: absolute;
	left: 0;
	/*height: 4px;*/
	height: 2px;
	transition: 400ms ease;
}
#ico_menu_2:before{
	top: 0;
	width: 100%;
}
#ico_menu_2:after{
	bottom: 0;
	width: 50%;
}
.menu_cat_opened #ico_menu_2[data-cat] .line{
	opacity: 0;
} 
.menu_cat_opened #ico_menu_2[data-cat]:before{
	transform: rotate(45deg);
	top: 50%;
}
.menu_cat_opened #ico_menu_2[data-cat]:after{
	transform: rotate(-45deg);
	width: 100% !important;
	top: 50%;
}
/********* END ICO MENU 2 **********/
.mobile_hambuger_info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.wrap_ico_branch{
    width: 50px;
}
.btn.cst_mobile{
    font-size: 18px;
}
.banner_iva{
    padding: 10px 20px;
}
.grid.ico_txt_ico{
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid.ico_txt_ico p{
    width: 90%;
    margin: auto;
}
.grid.ico_txt_ico img.mobile_resized{
    width: 150px !important;
    max-width: 100%;
}
.grid.ico_txt_ico .mobile_left{
    margin: unset;
    float: left;
}
.grid.ico_txt_ico .mobile_right, .grid.ico_txt_ico .mobile_right img{
    margin: unset;
    float: right;
}
p.custom{
    font-size: 1.5rem;
}
img.left_mobile{
    object-position: left;
}
#map{
    width: 100%;
    aspect-ratio: 16 / 9;
}
.swal2-title{
    font-size: 1.5rem !important;
}
#popup .wrap_info{
    padding: 30px;
}
@media screen and (max-width: 380px){
    #popup .wrap_info .info .logo{
        width: 180px;
    }
}
