/*
Theme Name:   Mega Dolciaria
Description:  Tema Mega Dolciaria *2025
Author:       Jacopo Pietrinferni
Author URL:   https://settoreq.it
Template:     theluxury
Version:      2.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  megadolciaria
*/

/* Scrivi qui il tuo foglio di stile personalizzato */

/* Imposta colore di fallback */
html,
body {
    background-color: var(--safe-area-color, #4A2C20);
}

html .woocommerce ul.products li.product h2{font-size: 18px!important;}



.filtri .woocommerce-widget-layered-nav-dropdown{
  position: relative;
}

.filtri .woocommerce-widget-layered-nav-dropdown select.woocommerce-widget-layered-nav-dropdown{
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 25px;
  padding: 13px 40px 13px 18px; /* spazio a destra */
  font-size: 18px !important;
  line-height: 1.2;
color: black!important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: border-color .15s ease, box-shadow .15s ease;
}

.filtri .woocommerce-widget-layered-nav-dropdown::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(0,0,0,.6);
  pointer-events: none;
}


html #menu-main-menu-1 > li > a {
  margin: 0px  0px 5px  0px !important;
}
html  .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a, .animatedfsmenu.animation_line .afsmenu > li:hover > a {
  padding-left: 40px;
}


html .animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before{
  width: 32px;
opacity:0;
}

.evilista{
  text-transform: uppercase;
color: #ffa300;
font-weight: bold;
  font-size: 15px;
}


.gdlr-blog-thumbnail ul{margin: 0;}
.gdlr-blog-thumbnail li{list-style: none;}
.gdlr-blog-thumbnail li a:after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('https://megadolciaria.it/freccia.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 10px;
}
.gdlr-blog-thumbnail li a:hover{color: black;}

.single-post .gdlr-blog-thumbnail img{border-radius:25px;}

/* Eventa */
.gdlr-recent-event-widget .recent-post-widget .recent-post-widget{border-bottom: 1px solid #ebebeb;}
.gdlr-recent-event-widget .recent-post-widget .recent-post-widget.is-last,
.gdlr-recent-event-widget .recent-post-widget{border: none;}
.gdlr-recent-event-widget .is-last{border: none;}
.gdlr-recent-event-widget .recent-post-widget-title a{font-size:19px!important;}

.gdlr-recent-event-widget .recent-post-widget .recent-post-widget-title,
.gdlr-recent-event-widget .recent-post-widget-content{margin-top: 0; text-transform:uppercase;}
.gdlr-recent-event-widget .recent-post-widget .recent-post-widget{padding: 10px;}
/* .gdlr-recent-event-widget .recent-post-widget .recent-post-widget:nth-child(odd){background: #f3f3f3;} */

.gdlr-recent-event-widget .recent-post-widget {margin-bottom: 0px;}
.gdlr-recent-event-widget .gdlr-pagination{margin-top: 20px;}

html .gdlr-blog-title.noneve{margin-bottom: 0!important;}

.gdlr-recent-event-widget .recent-post-widget-thumbnail img{border-radius:25px;}


/* Barra superiore che Safari userà come "sfondo" */
html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: env(safe-area-inset-top, 20px);

    background: var(--safe-area-color, #4A2C20);
    z-index: 999999900; /* basso, ma sopra lo sfondo */
    pointer-events: none;
}


input[type="submit"]:hover {
  background-color: #5e3327;
}



.animatedfsmenu.navbar-expand-md {
    background-color: #54372c !important;
}

.page-not-found-block{margin: 0;}

.animatedfsmenu .social-media li{
  margin: 0 9px 0 9px!important; 
}

/*
html .gdlr-blog-info.gdlr-info{display: none;}
html .gdlr-standard-style{display: block!important;}
*/

.norange{color: black;}
.rigato,
#bloccontact p{border-bottom:1px solid #aaa;}

.rigato{display: inline-block; width: 100%;}


html body .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children > ul {
  margin-top: -20px !important;
}
.animatedfsmenu.animation_line .afsmenu > li.has-children__on > a:before,
.animatedfsmenu.animation_line .afsmenu > li:hover > a:before {
  border-radius: 25px;
  height: 26px;
}


.magnifici7-card{
border-radius: 25px;
}


.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="password"], .wpcf7 textarea {
  border: 1px solid #aaa;
background: white;
}


.wpcf7-not-valid-tip {
  position: absolute;
  background: white;
  margin-top: -39px;
  margin-right: 25px;
  right: 0;
}


.wpcf7 br{display: none;}
.wpcf7-not-valid-tip {
  position: absolute;
  z-index: 5555;
}

html .animatedfsmenu{font-family: "Tenor Sans"!important;}

html .animatedfsmenu .sub-menu li {
  margin-bottom: 10px !important;
}

html .animatedfsmenu .sub-menu {
margin-top: -20px !important;
}

.woocommerce-loop-product__title {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body .animatedfs_menu_list li>a:before, body .animatedfsmenu .animatedfsmenu-navbar-toggler .bar {
background: orange !important;
}

body .animatedfsmenu .animatedfs_menu_list .afsmenu li.afs-menu-item-has-children>ul{margin-top:0!important;}

body .animatedfsmenu .animatedfs_menu_list .afsmenu li.has-children__on a:hover {
text-decoration: none; color: orange!important;
}



.page-not-found-block .aws-container .aws-search-field,
.page-not-found-block .aws-wrapper{border: none!important;}

.page-not-found-block .aws-container .aws-search-field{border-radius:25px!important; padding: 0 20px;}

.page-not-found-block{background: orange!important; border-radius:25px;}
.search .gdlr-item-start-content{padding: 0!important;}
.error404 .gdlr-page-title-wrapper{display: none;}


.animatedfsmenu.animation_line .afsmenu>li:hover>a {
/* padding-left: 70px; */
}


.animatedfsmenu.animation_line .afsmenu>li:not(.has-children__on):hover>a:before {
width: 0px;
}
.animatedfsmenu.animation_line .afsmenu>li:not(.has-children__on):hover>a {
padding-left: 0px;
}


body .animatedfsmenu a .afsmenu__close{
background: orange!important;
left: -0px;;
/* right: -20px; */
top: -19px;
border-radius: 25px;
line-height: 0;
width: 25px;
height: 25px;
margin-right: -25px;
font-size: 0; /* rimuove X */
    position: relative;
}

/* Linea 1 */
body .animatedfsmenu a .afsmenu__close::before,
body .animatedfsmenu a .afsmenu__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: white;
    transform-origin: center;
}

/* Linea verticale (ruotata) */
body .animatedfsmenu a .afsmenu__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Linea orizzontale (ruotata) */
body .animatedfsmenu a .afsmenu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}



body .animatedfsmenu .animatedfs_menu_list {
  min-width: 90%!important;
  max-width: 90%!important;
  width: 90%!important;
}

body .animatedfsmenu .social-media li {
  border: none!important;
  background: orange;
  /* margin: 0 3px; */
}
body .animatedfsmenu .social-media li a{
 font-size:16px;
}
body .animatedfsmenu .social-media{
margin-top:40px;
 text-align: center;
}


body .animatedfsmenu .social-media li .fa{
    padding: 0!important;
  margin: 0;
}


#brands_a_z h3:target {
  text-decoration: none!important;
  color: #5e3327;
}


html .gdlr-single-blog-tag{display:none;}


.category-videoricette .gdlr-standard-style .gdlr-info{display: none;}
.category-videoricette .gdlr-standard-style{display: block!important;}


html .gdlr-blog-thumbnail{background: white;}
.single.cat-corsi img, .single.cat-novita img{border-radius: 25px;}


.gdlr-blog-grid .gdlr-blog-thumbnail img{
  width: 100% !important;
  min-width: 280px;
  height: 200px !important;
  object-fit: cover;
  display: block;
}



.excerpt-read-more{font-style:normal!important;}
.excerpt-read-more:after{content: '';
    display: inline-block;        /* oppure block */
    width: 12px;
    height: 12px;
    background-image: url('https://megadolciaria.it/freccia.svg');
    background-size: contain;      /* adatta l'immagine */
    background-repeat: no-repeat;
    background-position: center;
}

.previous-nav .icon-angle-left{display:none;}
.next-nav .icon-angle-right{display:none;}

.previous-nav span{padding-left:10px;}
.next-nav span{padding-right:10px;}

.previous-nav:before {
    content: '';
    display: inline-block;        /* oppure block */
    width: 12px;
    height: 12px;
    background-image: url('https://megadolciaria.it/freccia.svg');
    background-size: contain;      /* adatta l'immagine */
    background-repeat: no-repeat;
    background-position: center;
  transform: scaleX(-1);
}

.next-nav:after {
    content: '';
    display: inline-block;        /* oppure block */
    width: 12px;
    height: 12px;
    background-image: url('https://megadolciaria.it/freccia.svg');
    background-size: contain;      /* adatta l'immagine */
    background-repeat: no-repeat;
    background-position: center;
}





html .select2-container .select2-selection--single .select2-selection__arrow b {
  border: none;
  display: block;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=) no-repeat;
    background-size: auto;
  background-size: 16px;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  margin: -8px 0 0;
}


.cat-ricette .gdlr-blog-info{display: none;}
.cat-ricette .gdlr-blog-thumbnail img{border: 1px solid #aaa; border-radius: 25px;}
.cat-ricette .gdlr-blog-thumbnail{background: white;}
.sottoimg{text-align: left;}
.dkpdf-button{color: orange;}




body.single .gdlr-page-title-wrapper{
background: white!important;
padding: 40px;}



ul.brands_index li a,
ul.brands_index li span,
ul.brands_index li:hover a{text-transform: uppercase; padding: 0 3px!important; margin:0!important; border:0!important; font-size:20px!important;}


.brands_index{height: 25px;}
ul.brands_index{text-align: right!important;}
ul.brands_index li a, ul.brands_index li span,
ul.brands_index li{float:none!important; display:inline-block; margin: 0!important; padding: 0 2px;}

#brands_a_z h3{text-align: right!important;}
ul.brands,
.brands li{list-style: none; margin-left: 0!important; padding: 0; text-align:right;}

.brands a{font-size:45px!important;}


.gdlr-blog-right{text-align: right!important; min-width: 200px;}
.gdlr-blog-grid .gdlr-blog-right .gdlr-blog-info .blog-info{float: right; margin:0;}

.gdlr-blog-title, .gdlr-blog-title a{color: black!important; font-size:25px; letter-spacing:-2px!important;}



/* immagine a sinistra */
.page-id-4156 .gdlr-blog-thumbnail {
  background: none!important;
}  
.page-id-4156 .gdlr-blog-thumbnail img{border-radius: 18px!important;}






/* 
.single-product .woocommerce-product-gallery{
  border: 1px solid #d8d8d8;
  border-radius: 25px;
  margin: 0!important;
  padding: 0!important;
  text-align: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: white;
  background-position: center;
  max-height:400px !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.woocommerce-product-gallery__wrapper{
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #d8d8d8;
	border-radius: 25px;
}

html .woocommerce-page.single-product div.product div.images img{
 border-radius: 25px; max-height:400px; width:auto; border:0;
}

/*
html .woocommerce-page.single-product div.product div.images img{border: none!important;   border-radius: 25px;}
*/

html .woocommerce h2{font-size: 25px!important;}


div#brands_a_z a.top {
  border: none;
  padding: 4px;
letter-spacing: -1px;
  float: none;
  text-align: right;
text-transform: uppercase;
font-size:16px;
  width: 100%;
  display: inline-block;
  text-decoration: none;
color: black;
margin-bottom: 25px;
}

ul.brands, .brands li {
  line-height: 40px;
  margin-bottom: 2px;
}



.archive .product .cornicetta,
.related .product .cornicetta {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.archive .product:hover .cornicetta,
.related .product:hover .cornicetta {
    box-shadow: 2px 2px 6px #c8c8c8;
    transform: translateY(-3px);
}

#gdlr-navigation-gimmick {
    opacity: 0;
}

.titolo-catalogo{text-transform: uppercase; line-height:50px;}

.gdlr-menu-search{/* box-shadow:2px 3px 5px #556; background: linear-gradient(180deg,rgba(247, 247, 247, 1) 0%, rgba(255, 255, 255, 1) 100%)!important;*/ border: 1px solid #aaa;}

.btndw:hover{background: black; color: white;}
.btndw{background: orange; padding: 10px 20px; border-radius: 25px; color: white; text-transform: uppercase;}

.woocommerce.woocommerce-page h4{text-align: center!important; text-transform: uppercase;}


h3{text-transform: uppercase; letter-spacing: -3px !important;}

.page-id-3711 .gdlr-item img {
  transform: scale(1.0);
  transition: all 300ms !important;
  border-radius: 25px;
margin-bottom:3px;
}

.page-id-3711 .gdlr-item a:hover img {
  transform: scale(1.1);
  transition: all 300ms !important;
}


#doppiacolonna h3,
#doppiacolonna h3 a{text-align: right; font-size:27px; line-height:26px; color:black!important;}


#fasciainterna .container{
	background: #e1bd9b;
	padding-top:40px;
	padding-bottom:40px;
}

html .aws-search-result .aws_result_title{color: #ffa300;}
html .aws-search-result .aws_search_more a{color: black;}


html .woocommerce-info{
	background: #ffa300!important;
	border-radius: 25px!important;
	line-height: 18px;
}

html .woocommerce-info:before{color: #fff!important;}


.scroll-card .cta{line-height: 20px; font-size: 15px;}

#wpfront-scroll-top-container i{padding:0;}

html #wpfront-scroll-top-container i{margin: 0!important; font-size:18px; color:white;}

html #wpfront-scroll-top-container {
  left: 50%;
z-index:100!important;
  transform: translateX(-50%);
  background: #ffa300;
  width: 40px;
  height: 40px;
  bottom:12px!important;
  border-radius: 999px;
  background: #5e3327;
}

@font-face {
    font-family: 'Self Modern';
    src: url('https://megadolciaria.it/fonts/SelfModern-Regular.eot');
    src: url('https://megadolciaria.it/fonts/SelfModern-Regular.eot?#iefix') format('embedded-opentype'),
        url('https://megadolciaria.it/fonts/SelfModern-Regular.woff2') format('woff2'),
        url('https://megadolciaria.it/fonts/SelfModern-Regular.woff') format('woff'),
        url('https://megadolciaria.it/fonts/SelfModern-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
.footer-container {font-size:14px; Font-family: 'Self Modern';}

body:not(.home) .content-wrapper{margin-top:90px;}
#footer-widget-3 a:hover, #footer-widget-5 a:hover{text-decoration: underline;}


html .gdlr-page-title-wrapper {
  padding: 500px 0px 0px 0px;
  background-repeat: no-repeat;
  background-size: cover;
}

.gdlr-page-title-wrapper .gdlr-page-title {
margin: 0px 20px -28px 0;
	letter-spacing: -5px!important;
	text-align: right;
color: white!important;
font-size: 80px!important;
line-height: 70px;

}


#gdlr-navigation-gimmick{
background-color: rgba(255,255,255, 0.7);
}
#menu-main-menu-1 > li > a{margin: 0 15px 0 15px !important;}

.gdlr-navigation-gimmick {
  position: absolute;
  bottom: 38px;
  height: 32px;
  z-index: -1;
  border-radius: 15px;
	padding: 0 16px;
	margin-left: -16px;
}

.gdlr-fixed-header .gdlr-navigation-gimmick {
  bottom: 38px;
}


#sottotitolo {
  font-size: 39px;
  text-transform: uppercase;
  line-height: 38px;
  letter-spacing: -3px !important;
  padding-top: 20px!important;
}




.gdlr-menu-search{border-radius: 999px;}

.sub-menu li:first-of-type{border-top-left-radius:15px; border-top-right-radius:15px; }
.sub-menu li:last-of-type{border-bottom-left-radius:15px; border-bottom-right-radius:15px; }


@font-face {
	font-family:"DejaVu Sans Condensed";
	src:url("fonts/DejaVuSansCondensed.eot?") format("eot"),url("fonts/DejaVuSansCondensed.woff") format("woff"), url("fonts/DejaVuSansCondensed.ttf") format("truetype"),url("fonts/DejaVuSansCondensed.svg#fonts/DejaVuSansCondensed") format("svg");font-weight:normal;font-style:normal;}



.afsmenu__lockscroll {
  overflow: hidden;
}

html .animatedfs_background{pointer-events: none!important;}


#libretto .freccia-icon{display: block; width: 20px; position: absolute; top: 30px; left: 200px;}


.gdlr-header-wrapper {
  transition: transform 0.4s ease!important;
}
.gdlr-header-wrapper.header-hidden {
  transform: translateY(-105px)!important;
}



html #gdlr-menu-search{top: 120px!important;}

#libretto {
  background: white;
  width: 300px;
  position: absolute;
  z-index: 6;
  height: 100%;
  padding: 20px 30px;
}

#libretto h3 {
  text-transform: uppercase;
  line-height: 28px;
  font-size: 26px;
  color: black;
}


.footer-wrapper::before {
  display: block;
  height: 50px;
  width: 100%;
  content: '';
  background: white;

  /* Arrotonda solo gli angoli inferiori */
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.scroll-card.catalogo .copertina{
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.scroll-card.chi-siamo .sovraimpressione,
.scroll-card.chi-siamo .piatto{
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}



.scroll-card{
background: white!important;
}


.gdlr-header-wrapper.gdlr-fixed-header .gdlr-navigation-wrapper{
    border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
transition: background-color 300ms;
  -moz-transition: background-color 300ms;
  -o-transition: background-color 300ms;
  -webkit-transition: background-color 300ms;
}

.piatto:first-child{background: white!important;}
.footer-wrapper{background: #5e3327!important;}
.piatto{background: #e1bd9b!important;}



.sf-menu > .gdlr-normal-menu li a{border: none!important;}

.gdlr-main-menu > .gdlr-normal-menu li{background: /* black!important; */ #5e3327!important;}

.gdlr-main-menu > .gdlr-normal-menu li a{color: white!important;}

.sub-menu li a{font-size: 10px;}
.sub-menu li{text-align: left; text-transform: uppercase;}

.gdlr-navigation-wrapper .gdlr-main-menu > li{padding-bottom: 10px!important;}


#gdlr-menu-search{top: 60px!important;}

.lente{width: 25px; right: 45px; position: absolute; top: 45px;}
#gdlr-menu-search-button{opacity: 0;}

html .gdlr-main-menu.sf-menu {
  float: none!important;
  display: inline-block;
}

.gdlr-navigation-wrapper .gdlr-main-menu > li > a{opacity: 100!important;}

html .gdlr-navigation-wrapper{
  margin: 0!important;
  padding: 50px 0 20px 0!important;
  width: 100%;
  position: absolute;
  text-align: center;
}

.gdlr-header-wrapper.gdlr-fixed-header .gdlr-navigation-wrapper{background: white!important;}


html .gdlr-navigation-wrapper .gdlr-main-menu > li > a{font-style: normal;}
.sf-menu i {
float: right;
margin-left: 4px;
margin-top: 4px;
margin-right: -4px!important;
}

.gdlr-main-menu .fa-chevron-down::before {
  content: "+"!important;
  font-family: arial;
  font-size: 15px;
}
html #gdlr-menu-search-button {
  top: 50px;
	right:40px;
  font-size: 20px;
}

.linear{position: absolute; height: 100%; width: 100%;
background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
}

.rolle{cursor: pointer;}

.rolle .sovraimpressione img{width: 150px;
position: absolute; right: 22px; top: 22px;
  filter: brightness(0) invert(1); 
}

.rolle {
  position: relative;
}

.rolle .sovraimpressione {
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.rolle:hover .sovraimpressione {
  opacity: 1;
  pointer-events: auto;
}
.sfumasotto img{display: inline-block!important; width: 20px; filter: brightness(0) invert(1); padding-left:15px;}
.sfumasotto{padding: 25px 60px!important; color: white; font-size:30px!important;}


.scroll-placeholder {
  height: 550px; /* deve essere uguale altezza della .scroll-container */
}

.circle-wrapper {
  width: 200px;
  height: 200px;
  margin: 50px auto;
}

.rotating-text {
  width: 100%;
  height: 100%;
  animation: rotateCircle 20s linear infinite;
  transform-origin: center center;
}

@keyframes rotateCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#fascia-scroll-wrap {
  height: 550px;
  position: relative;
  overflow: hidden;
}

.scroll-container {
  height: 550px;
  width: auto;
  position: sticky;
  top: 0;
  overflow: hidden;
  z-index: 10;
}

.scroll-section {
  display: flex;
  height: auto;
  width: max-content;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.scroll-card {
  /* width: 100vw; */
  height: 550px;
  flex-shrink: 0;
  display: flex;
  align-items: top;
  font-size: 2rem;
  font-weight: bold;
  background-color: #eee;
  /* border-right: 1px solid #ccc; */
}

.catalogo .piatto{background: white;}

.copertina{background-size:cover!important;}
.descrizione{font-size: 14px;}
.cta{font-size: 16px;}
.piatto{width: 320px; background: #d3b391;}
.catalogo .copertina{background: url(https://megadolciaria.it/slider/catalogo.jpg); height: 100%; width: 800px;}
.gelateria .copertina{background: url(https://megadolciaria.it/slider/gelateria.jpg); height: 100%; width: 520px;}
.pasticceria .copertina{background: url(https://megadolciaria.it/slider/pasticceria.jpg); height: 100%; width: 720px;}
.surgelati .copertina{background: url(https://megadolciaria.it/slider/surgelati.jpg); height: 100%; width:  600px;}
.chi-siamo .copertina{background: orange; height: 100%; width:100px;}

.piatto h3{text-transform: uppercase; line-height: 28px; font-size: 26px; color: black;}
.descrizione{color: black; font-weight: normal; font-size: 18px!important; line-height: 25px}
.piatto{padding: 20px 30px; }
.cta{position: absolute;
  bottom: 30px;
  color: black;
  font-weight: normal;
  max-width: 315px;
}

#strillo{padding-top: 45px; padding-bottom: 15px; text-transform: uppercase;}
#intro{padding-bottom: 15px; text-transform: uppercase;}
#text-12 p{text-align: left!important;}


.gdlr-logo {
  position: absolute;
  z-index: 666;
}


#intro p {
  text-transform: none!important;
  text-align: right;
}


#searchform{width: 100%!important;}

#gdlr-menu-search{margin: 0 80px!important;}

html .gdlr-header-container.container {
  width: 100%;
  max-width: 100%;
}


.gdlr-header-container.container {
  max-width: none;
}

#intro{padding-right: 190px;}
.circle-wrapper {
  position: absolute;
  right: 0;
  top: -95px!important;
}


.gdlr-header-container #gdlr-menu-search {
  width: auto !important;
}
#gdlr-menu-search {
  left: 20px;
}
#gdlr-menu-search {
  position: absolute;
  top: 100%;
  right: 20px;
  width: 250px;
  display: none;
}

.home #content-section-1 .section-container{padding-top: 0;}

#gdlr-menu-search:not(.attivo) {
  display: none !important;
}
html #gdlr-menu-search.attivo{display: block!important;}

#gdlr-menu-search{background: white; overflow:hidden;}
#gdlr-menu-search input[type="text"]{color: black; width: 100%;}
html .gdlr-fixed-header #gdlr-menu-search-button {
  visibility: visible;
}

#footer-widget-1 img{max-width: 80px!important; width: 300px!important;}


.ms-slide-layers{left: 0!important; max-width: 100%!important;}

.laslide{
position: fixed; bottom: 0px;
width: 100%;
  font-size: 100px;
margin-bottom: -1%;
}

.sopraslide{
  width: 100%;
  display: block;
  color: white;
  text-align:right;
    line-height: 10vw!important;
}

.sottoslide {
  line-height: 13vw!important;
  background: white;
  color: black;
  width: 100%;
  text-align:right;
  display: block;
}

.sopraslide, .sottoslide {
  font-size: clamp(34px, 15vw, 300px);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
box-sizing: border-box!important;
  line-height: 1;
padding-right:15px;
  display: block;
  height: auto !important;
  overflow: visible !important;
}


#footer-widget-2 .textwidget, #footer-widget-3 .textwidget,
#footer-widget-4 .textwidget, #footer-widget-5 .textwidget{
  line-height: 22px; text-align: right;
  padding-top:16px;
}

.gdlr-pagination a:hover{background: #5e3327!important;}


.gdlr-recent-event-widget .blog-date a,
.gdlr-recent-event-widget .blog-date{color: #5e3327!important;}

html .gdlr-pagination .page-numbers{padding: 3px 12px;}
.page-numbers{font-size: 20px; color: black;}
.page-numbers.current {background: #ffa300!important;}
.page-numbers li:first-of-type{border-top-left-radius: 20px; border-bottom-left-radius: 20px;}
.page-numbers li:last-of-type{border-top-right-radius: 20px; border-bottom-right-radius: 20px;}
html .woocommerce-page nav.woocommerce-pagination ul li:last-child span,
html .woocommerce-page nav.woocommerce-pagination ul li a.next{margin-right: 0!important; padding-right:15px!important;}
html .woocommerce-page nav.woocommerce-pagination ul li:first-child span,
html .woocommerce-page nav.woocommerce-pagination ul li a.prev{padding-left:15px!important;}

.cat-videoricette .gdlr-item-start-content,
.cat-ricette .gdlr-item-start-content{padding-top: 0;}

.cornicetta{width: 100%; border:1px solid #d8d8d8;}
.attachment-woocommerce_thumbnail{width: auto!important; max-height:200px!important; margin-bottom: 0!important; border:none!important;}
.woocommerce ul.products li.product a img{display:inline-block!important;}

.attachment-woocommerce_thumbnail {
  width: auto !important;
  max-height: 200px !important;
}

.mobile-only {
	display: none;
}

html .dkpdf-button-icon{margin: 0; font-size: 100%!important;}
html .dkpdf-button{  
  background: orange;
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  text-transform: uppercase;
}

html .dkpdf-button:hover{background: black; color: white;}

.cornicetta{border-radius: 25px;}
.cornicetta{background-size: contain; background-repeat:no-repeat; background-color:white; background-position: center; height:200px!important;
overflow: hidden;   /* <-- Maschera tutto ciò che esce */
display: flex;
  justify-content: center;  /* centro orizzontale */
  align-items: center;       /* centro verticale */
}

.cornicetta img{border-radius:18px;}
.cornicetta .cornice{padding: 5px;}

.gdlr-4-product-per-row .brandloop{font-style: italic; display: inline-block; margin-top: 6px;}
.gdlr-4-product-per-row h2{padding-top: 0!important;}

/* .cornicetta{box-shadow: 2px 2px 5px #999;} */



html .animatedfsmenu .animatedfsmenu-navbar-toggler .bar {
  background: black !important;
}

html .afsmenu__lockscroll .animatedfsmenu .animatedfsmenu-navbar-toggler .bar {
  background: white!important;
}

.wpcf7-submit{border-radius: 25px; text-transform: uppercase!important;}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="password"], .wpcf7 textarea{
border-radius: 25px;
}

.wpcf7-form p{margin-bottom:5px; margin-left:5px;}


.wpcf7-spinner{position:absolute; display: none;}

.wpcf7-not-valid-tip {
  position: absolute;
}

.wpcf7-form .privacy {
margin-top: 30px;
line-height: 20px!important;
margin-bottom: 15px;
}

.wpcf7-list-item {
float: left; min-height: 64px;
  padding-right: 8px;
  margin-left: 0px!important;
}

/* DESKTOP */
@media screen and (min-width: 768px) {

html #fasciainterna {
	background-color: #e1bd9b;
	padding: 0px;
	background: url("https://megadolciaria.it/wp-content/uploads/2025/11/foto-paragrafo-qualita.jpg") #e1bd9b;
	background-size: 680px auto; /* larghezza fissa, altezza proporzionale */
	background-position: -8% center;
	background-repeat: no-repeat;
}


.solomobile{display:none;}

/* 1. Togliamo tutti i float del tema su questi elementi */
.gdlr-standard-style .gdlr-blog-thumbnail,
.gdlr-standard-style .post-header,
.gdlr-standard-style .gdlr-blog-content {
    float: none !important;
    width: auto !important;
}

/* 2. Trasformiamo il contenitore in due colonne */
.gdlr-standard-style {
    display: flex !important;
    align-items: flex-start;
    gap: 30px;
}

/* 3. Colonna sinistra: immagine */
.gdlr-standard-style .gdlr-blog-thumbnail {
    flex: 0 0 340px; /* puoi cambiare la larghezza */
}

/* 4. Colonna destra: tutto in verticale (TITOLO DATA TESTO) */
.gdlr-standard-style .post-header,
.gdlr-standard-style .gdlr-blog-content {
    flex: 1 1 auto;
    display: block !important;
}

/* 5. Ordine corretto nella colonna destra */
.gdlr-standard-style .post-header { order: 2; }
.gdlr-standard-style .gdlr-blog-content { order: 3; }


.formunariga {
min-height:110px;
margin-bottom:1px;
}

.asxe {
	float: left;
	width: 49%;
}
.adxe {
	float: right;
	width: 48%;
}



.catalogo-header {
    display: flex;
    align-items: stretch; /* stessa altezza */
    gap: 40px;
    margin-bottom: 40px;
}

.catalogo-text {
    flex: 1 1 60%;
}

.copertina {
    flex: 1 1 16%;
    display: flex;
    align-items: center;
}

.copertina img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* TAGLIA E RIEMPIE */
    border-radius: 20px;  /* opzionale */
}



.page:not(.home) .content-wrapper{margin-top: 20px!important;}

.page:not(.home) .gdlr-page-title-wrapper .container,
.page:not(.home) .content-wrapper .container{width:800px;}
}

.page-id-3711 .four.columns img{margin-right: 0;}
.page-id-3711 .four.columns{text-align: right;}


/* MOBILE PICCOLI */
@media only screen and (max-width: 419px) {
  html body .container {
    max-width: 100%;
  }
}


/* MOBILE */
@media screen and (max-width: 768px) {


html .filtri .woocommerce-widget-layered-nav-dropdown select.woocommerce-widget-layered-nav-dropdown{font-size: 15px!important;}


 .sottoalmenu {
    position: fixed;
    z-index: 9999999;
    bottom: 100px;
    width: 100%;
    left: 0px;
	bottom: 10px;
    text-align: center;
    font-size: 28px;
  }

.sottoalmenu a{padding: 0 13px;}


.wpcf7-form p{text-align:center;}


.nomobile{display:none;}

.mobile-pagination{font-size:18px;}

.woocommerce-pagination{
        display: none!important;
    }
    .mobile-pagination {
        display: flex !important;
    }



html .tab_catalogo {
	width: calc(100% - 10px);
	gap: 2px;
}

.catalogo-header .copertina{display: none;}

.gdlr-header-inner, .header-style-transparent .gdlr-fixed-header .gdlr-header-inner{background:none!important;}


.gdlr-page-title-wrapper .gdlr-page-title{ 
	font-size: 40px!important;
	line-height:35px!important;
}


html body:not(.home) .content-wrapper {
  margin-top: 70px;
}

html body.videoricette-section .content-wrapper,
html body.ricette-section .content-wrapper,
html body.blog-section .content-wrapper,
html body.contatti-section .content-wrapper,
html body.chi-siamo-section .content-wrapper {
  margin-top: 65px!important;
}

#sottotitolo {
  font-size: 28px;
line-height:26px!important;
}
#sottotitolo {
  padding-top: 15px !important;
  margin-top: -70px;
}

.animatedfsmenu-navbar-toggler.right_top{top:20px!important; right:20px!important;}
html .afsmenu__lockscroll .header-hidden{transform: translateY(0px)!important;}


html .home #magnifici7 .plotter{height:200px;}

html .home #magnifici7{
  background-size: cover!important;
}



.footer-logo {
  position: relative;
  display: inline-block;
  width: auto;
  text-align: center;
}

/* entrambi i loghi sovrapposti */
.footer-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease-in-out;
  max-width: 150px; /* adatta alla dimensione del footer */
  height: auto;
  display: block;
}

/* logo di default visibile, hover nascosto */
.footer-logo .logo-default {
  opacity: 1;
  z-index: 1;
}

/* logo hover invisibile finché non si passa col mouse */
.footer-logo .logo-hover {
  opacity: 0;
  z-index: 2;
}

/* transizione al passaggio */
.footer-logo:hover .logo-default {
  opacity: 0;
}

.footer-logo:hover .logo-hover {
  opacity: 1;
}


  #footer-widget-1 {
    text-align: center !important;
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    max-width: 120px;
  }






.body-wrapper.header-style-transparent .gdlr-header-inner{background: none!important;}

html .gdlr-header-wrapper {
    background: none;
    position: fixed;
    z-index: 9999999;
  left: 60px;
  right: 60px;
}


html .animatedfsmenu.navbar-expand-md .navbar-collapse {
    margin-top: 100px;
}


.scroll-placeholder,
#fascia-scroll-wrap,
.scroll-container,
.scroll-card {
  height: 410px;
}


.scroll-container[style*="position: fixed"] {
  padding-top: 120px;
}


/* .scrollante{padding-top:120px;} */


	.mobile-only {
		display: block;
		clear: both;
		width: 100%;
	}

body .gdlr-logo{padding: 15px!important;}

#libretto{display:none;}


html .circle-wrapper{position: static!important;}

#intro{padding-right:0;}

#footer-widget-2 .gdlr-widget{margin-bottom: 40px; }
#footer-widget-2 .gdlr-widget, #footer-widget-3 .gdlr-widget{margin-bottom: 1px; }
#footer-widget-4 .gdlr-widget, #footer-widget-5 .gdlr-widget{margin-bottom: 50px; }

#footer-widget-4 .textwidget{text-align:left!important;}

/* 
#footer-widget-2 .gdlr-widget, #footer-widget-4 .gdlr-widget{margin-left:0;}
#footer-widget-3 .gdlr-widget, #footer-widget-5 .gdlr-widget{margin-right:0;}
*/


	#footer-widget-1{
 		text-align: center;
	}

	#footer-widget-2, #footer-widget-3, #footer-widget-4, #footer-widget-5{width: 50%!important;}

}