/*
Theme Name: Mesons
Theme URI: http://www.lucalarice.com
Author: ADS Glen - Luca Larice
Author URI: http://www.lucalarice.com/
Description: Tema personalizzato per Mesons
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mesons
Tags:

Pragma theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
@import url("assets/css/normalize.css");

/*--------------------------------------------------------------
# WP GENERAL
--------------------------------------------------------------*/
@import url("assets/css/general-rules.css");

/*--------------------------------------------------------------
# FONT
--------------------------------------------------------------*/
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/*--------------------------------------------------------------
# Spacer
--------------------------------------------------------------*/
.spaceT5 {
  padding-top: 5px;
}
.spaceT10 {
  padding-top: 10px;
}
.spaceT20 {
  padding-top: 20px;
}
.spaceT30 {
  padding-top: 30px;
}
.spaceT40 {
  padding-top: 40px;
}
.spaceT50 {
  padding-top: 50px;
}
.spaceT100 {
  padding-top: 100px;
}
.spaceB5 {
  padding-bottom: 5px;
}
.spaceB10 {
  padding-bottom: 10px;
}
.spaceB20 {
  padding-bottom: 20px;
}
.spaceB30 {
  padding-bottom: 30px;
}
.spaceB40 {
  padding-bottom: 40px;
}
.spaceB50 {
  padding-bottom: 50px;
}
.spaceB100 {
  padding-bottom: 100px;
}
.spaceTB5 {
  padding-top: 5px;
  padding-bottom: 5px;
}
.spaceTB10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.spaceTB20 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.spaceTB30 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.spaceTB40 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.spaceTB50 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.spaceTB100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.space10 {
  padding: 10px;
}
.space15 {
  padding: 15px;
}
.space20 {
  padding: 20px;
}
.space30 {
  padding: 30px;
}
.space40 {
  padding: 40px;
}
.space50 {
  padding: 50px;
}
.spaceL5 {
  padding-left: 5px;
}
.spaceL10 {
  padding-left: 10px;
}
.spaceL20 {
  padding-left: 20px;
}
.spaceR5 {
  padding-right: 5px;
}
.spaceR10 {
  padding-right: 10px;
}
.spaceR20 {
  padding-right: 20px;
}

/*--------------------------------------------------------------
# Utils
--------------------------------------------------------------*/
.bold {
  font-weight: 700;
}
b,
strong {
  font-weight: 700;
}
.full-height {
  height: 100%;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.links-uppercase a {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
.bg-white {
  background: #fff;
}
.bg-black {
  background: #000;
}

.bg-grey {
  background: #f2f0f1;
}

.white,
.white a {
  color: #fff !important;
}
.green {
  color: #007d32;
}
.black {
  color: #000;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  font-size: 60.5%; /* $rembase = 10px */
}
body {
  background: #fff; /* Fallback for when there is no custom background color defined. */
}
ul,
ol {
  margin: 0 0 1.5rem 1rem;
  padding: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #000000;
  font-family: "Inter";
  /* font-size: 1.4rem;  13 ÷ $rembase */
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Cormorant Garamond";
  clear: both;
}

/* FIBONACCI font base
H1=32
H2=24
H3=19
H4=16
H5=14
H6=13
*/

h1,
.h1 {
  font-size: 40px;
  line-height: auto;
  font-weight: 400;
}
h2,
.h2 {
  font-size: 40px;
  line-height: auto;
  font-weight: 400;
  padding-bottom: 10px;
}
h3,
.h3 {
  font-size: 35px;
  line-height: auto;
  font-weight: 400;
}
h4,
.h4 {
  font-size: 25px;
  line-height: auto;
  font-weight: 400;
}
h5,
.h5 {
  font-size: 20px;
  line-height: auto;
  font-weight: 500;
  font-family: "Inter";
  text-transform: uppercase;
  margin-bottom: 1rem;
}
h6,
.h6 {
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
  color: #000;
  text-decoration: underline;
}
a:visited {
  color: #000;
}
a:hover,
a:focus,
a:active {
  color: #000;
  text-decoration: none;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#masthead {
  position: fixed;
  width: 100%;
  z-index: 99;
  padding: 20px 0;
  background: #fff;
  transition: 0.4s; /* Adds a transition effect when the padding is decreased */
}
#mobile-header {
  padding: 20px 0;
}
#header-logo {
  transition: 0.4s;
}
.site-title {
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative;
}
.site-branding {
  padding-bottom: 7px;
}
.site-title {
  max-width: 140px;
}

#lang-top {
  margin-bottom: 0;
  background-color: transparent;
  border-color: transparent;
  padding: 0;
  padding-right: 1.1rem;
  font-weight: lighter;
  font-size: 1.3rem;
  background-image: url("assets/images/arrow-down.png");
}

/* LANGUAGE WPML SELECT */
.wpml-ls ul li {
  border-right: 1px solid #000;
}
.wpml-ls ul li:last-child {
  border-right: 0 none;
}
.wpml-ls-legacy-list-horizontal {
  padding: 0 !important;
  border: 0 none !important;
  display: inline-block;
}
.wpml-ls-legacy-list-horizontal a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.wpml-ls-current-language a {
  text-decoration: underline;
}
.wpml-ls-legacy-list-horizontal a:hover {
  text-decoration: underline;
}
.wpml-ls-legacy-list-horizontal a span {
  vertical-align: unset !important;
}

.breadcrumb-page {
  color: #9f9f9f;
  font-size: 1rem;
}
.breadcrumb-page a {
  color: #9f9f9f;
}

/*--------------------------------------------------------------
# SLIDER
--------------------------------------------------------------*/
.carousel-cell {
  width: 35%;
  min-height: 300px;
  margin-right: 0;
  counter-increment: carousel-cell;
}
.gallery-nav,
.gallery-nav-home {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.gallery-nav li,
.gallery-nav-home li {
  display: inline-block;
  cursor: pointer;
  padding: 5px;
}
.gallery-nav li.is-selected,
.gallery-nav li:hover,
.gallery-nav-home li.is-selected,
.gallery-nav-home li:hover {
  border-bottom: 3px solid #000;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: block;
  width: 100%;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation li {
  display: inline-block;
  position: relative;
  margin-left: 28px;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  /*font-size: 1.4rem;*/
  font-size: 13px;
  line-height: 1.4rem;
  font-weight: 400;
  color: #000;
}

.main-navigation a::before {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  overflow: hidden;
  width: 0;
  height: 1px;
  background-color: #000;
  color: inherit;
  content: "";
  transition:
    left 0.2s ease,
    width 0.2s ease;
  will-change: left, width;
}

.main-navigation li:hover > a::before,
.main-navigation li.focus > a::before,
.main-navigation .current_page_item > a::before,
.main-navigation .current-menu-item > a::before,
.main-navigation .current_page_parent a::before,
.main-navigation .current_page_ancestor > a::before,
.main-navigation .current-menu-ancestor > a::before {
  left: 0;
  width: 100%;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 25px;
  z-index: 10;
  width: 200px;
}
.main-navigation .sub-menu li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1.2rem;
}
.main-navigation .sub-menu li {
  background-color: #000;
  margin: 0;
  width: 100%;
  text-align: left;
}
.main-navigation .sub-menu li:hover a,
.main-navigation .sub-menu li.current-menu-item a {
  text-decoration: underline;
}
.main-navigation .sub-menu li:hover a::before,
.main-navigation .sub-menu li.current-menu-item a::before {
  content: none;
}
.main-navigation li.menu-item-has-children:hover .sub-menu {
  display: block;
}

/* mobile nav */
.mobile-menu-slideout-toggle {
  font-size: 2rem;
}
.menu-link {
  color: #000;
  width: 20px;
  display: inline-block;
  text-align: right;
}
.close-menu svg {
  width: 20px;
  display: inline-block;
  text-align: right;
}
.mobile-navigation div > ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.mobile-navigation li {
  display: block;
  position: relative;
}
.mobile-navigation a {
  display: block;
  letter-spacing: 0.12rem;
  text-decoration: none;
  color: #000;
  font-size: 1.6rem;
  padding: 0.8rem 0;
}
.mobile-navigation li:hover > a,
.mobile-navigation li.focus > a,
.mobile-navigation .current_page_item > a,
.mobile-navigation .current-menu-item > a,
.mobile-navigation .current_page_ancestor > a,
.mobile-navigation .current-menu-ancestor > a {
  text-decoration: underline;
}

.mobile-menu-overlay {
  background-color: #fff;
  height: 0;
  left: 0;
  overflow-x: hidden;
  position: fixed;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 10000;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.moove-gdpr-branding-cnt {
  display: none;
}

.site-footer {
  font-size: 1.4rem;
}
.footer-logo {
  display: inline-block;
  width: 150px;
  transition: 0.3s;
}
.footer-logo:hover {
  opacity: 0.8;
}

.footer-menu-cont a {
  font-size: 1.2rem;
}

.footer-menu-cont ul {
  margin: 0;
  list-style-type: none;
}
.footer-menu-cont li {
  display: inline-block;
  padding-right: 10px;
}
.social a {
  font-size: 2rem;
  padding-right: 10px;
}

.social {
  display: inline-flex;
  align-items: center;
}
.social img {
  width: 1.8rem;
  /*filter: invert(100%);*/
}
.social a {
  width: 30px;
  height: 30px;
  text-align: center;
}
.social a:hover {
  text-decoration: none;
}

.fancybox-close-small:focus {
  background-color: transparent !important;
  outline: none;
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
#content {
  min-height: 600px;
  padding-top: 80px;
}

.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-top: 3px;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# CONTENUTO UNIVERSALE
--------------------------------------------------------------*/
.object-fit-cover {
  object-fit: cover;
}

.acf-image-full {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.acf-image-full img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.acf-image-full.ratio-mobile-21x9 {
  aspect-ratio: 21 / 9;
}
.acf-image-full.ratio-mobile-16x9 {
  aspect-ratio: 16 / 9;
}
.acf-image-full.ratio-mobile-4x3 {
  aspect-ratio: 4 / 3;
}
.acf-image-full.ratio-mobile-1x1 {
  aspect-ratio: 1 / 1;
}

@media (min-width: 992px) {
  .acf-image-full.ratio-desktop-auto {
    aspect-ratio: auto;
  }
  .acf-image-full.ratio-desktop-21x9 {
    aspect-ratio: 21 / 9;
  }
  .acf-image-full.ratio-desktop-16x9 {
    aspect-ratio: 16 / 9;
  }
  .acf-image-full.ratio-desktop-4x3 {
    aspect-ratio: 4 / 3;
  }
  .acf-image-full.ratio-desktop-1x1 {
    aspect-ratio: 1 / 1;
  }
}

.acf-mosaic-media {
  overflow: hidden;
}

.acf-mosaic-media img {
  display: block;
  width: 100%;
}

.acf-mosaic-media.ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acf-mosaic-block--large {
  width: 100%;
}

.acf-mosaic-block--small {
  width: 66.666%;
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/
.fosus-text {
  padding: 20px 20px;
}
.fosus-text h3 {
  padding-bottom: 20px;
}

.button-link a,
a.button-link {
  border: 0.5px solid #000;
  border-radius: 38px;
  padding: 5px 30px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  display: inline-block;
  font-size: 14px;
}
.button-link a:hover,
a.button-link:hover {
  text-decoration: none;
  background: #000;
  color: #fff;
}
.focus-img {
  overflow: hidden;
}
.focus-img img {
  transition: transform 0.4s; /* Animation */
}
.focus-img:hover img {
  -ms-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -o-transform: scale(1.01);
  transform: scale(1.02);
}

.btn-black a {
  padding: 10px 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  background: #000;
  color: #fff;
}
.btn-black a:hover {
  text-decoration: none;
  background: #f2f0f1;
  color: #000;
}

/* INPUT */
.form-newsletter input[type="email"] {
  width: 65%;
  padding: 16px 24px;
  border: 1px solid #000;
  border-right: none;
  border-radius: 50px 0 0 50px;
  outline: none;
  font-size: 14px;
  height: 53px;
  line-height: 1;
  box-sizing: border-box;
  background: transparent;
}
.form-newsletter input[type="submit"] {
  padding: 16px 40px;
  border: 1px solid #000;
  border-radius: 0 50px 50px 0;
  height: 53px;
  box-sizing: border-box;
  background: transparent;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: -1px; /* unisce i bordi */
  text-transform: uppercase;
  vertical-align: top;
}
.form-newsletter input[type="submit"]:hover {
  background: #000;
  color: #fff;
}
.form-newsletter input::placeholder {
  color: #999;
}
.form-newsletter .wpcf7-spinner {
  display: block;
}

.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}
.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Accessori
--------------------------------------------------------------*/
.accessories-list-img {
  overflow: hidden;
}
.accessories-list-img img {
  transition: transform 0.4s; /* Animation */
}
.accessories-list-img img:hover {
  -ms-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -o-transform: scale(1.01);
  transform: scale(1.02);
}
.materials-list-title h4,
.materials-list-title-h4 {
  font-size: 1.3rem;
}

/*--------------------------------------------------------------
# Materiali new
--------------------------------------------------------------*/
.materials-accordion .accordion-item {
  border: 0;
  border-top: 0.5px solid #000;
  border-radius: 0;
  background: transparent;
}
.materials-accordion .accordion-item:last-child {
  border-bottom: 0.5px solid #000;
}
.materials-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
}
.materials-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: #000;
  box-shadow: none;
}
.materials-accordion .accordion-body {
  padding: 10px 0 40px;
}
.material-description {
  max-width: 1200px;
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.5;
}
.materials-grid {
  row-gap: 35px;
}
.material-card {
  margin-bottom: 20px;
}
.material-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.material-title {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
}
.material-image a {
  display: block;
  overflow: hidden;
}
.material-image img {
  transition: transform 0.3s ease;
}
.material-image a:hover img {
  transform: scale(1.03);
}

/*--------------------------------------------------------------
# Lista Prodotti
--------------------------------------------------------------*/
.product-list {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}
.product-list-img {
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.4s; /* Animation */
  cursor: pointer;
  height: 100%;
  width: 100%;
  position: absolute;
}
.product-list:hover .product-list-img {
  -ms-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -o-transform: scale(1.01);
  transform: scale(1.02);
}
.product-list-cont {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10rem 3rem;
}
.product-list-cont a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Prodotti
--------------------------------------------------------------*/
.text-prd h1 {
  font-size: 4.5rem;
  padding-bottom: 3rem;
}
.download-area a {
  background: #000;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0;
}
.download-area a:hover {
  text-decoration: underline;
}

.share-button {
  border: 1px solid #fff;
  background-color: #fff;
  padding: 10px 15px 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  display: inline-block;
}
.share-button a {
  display: inline-block;
  width: 20px;
  vertical-align: middle;
  margin-left: 5px;
}

.related-collections-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.related-collections-wrap::-webkit-scrollbar {
  display: none;
}
.related-collections-track {
  display: flex;
  gap: 24px;
}
.related-collection-item {
  flex: 0 0 calc(25% - 18px);
  min-width: calc(25% - 18px);
}
.related-collection-card {
  display: flex;
  flex-direction: column;
}
.related-collection-card .button-link {
  margin-top: auto;
  align-self: flex-start;
  width: auto;
}

@media (max-width: 991.98px) {
  .related-collection-item {
    flex: 0 0 50%;
    min-width: 50%;
  }
}
@media (max-width: 767.98px) {
  .related-collection-item {
    flex: 0 0 80%;
    min-width: 80%;
  }
}

/* MAPPA IMMAGINE CON INFORMAZIONI */
.image-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  align-items: stretch;
  width: 100%;
  background: #eee5d9;
}
.image-map-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.image-map-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-map-items {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
}
.image-map-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 180px;
  padding: 35px;
  overflow: hidden;
  text-align: center;
  background: #eee5d9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  outline: none;
  cursor: default;
  transition: background-color 0.3s ease;
}
.image-map-item:last-child {
  border-bottom: 0;
}
.image-map-item__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(25px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 0.95;
  color: #000000;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.image-map-item__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 50px;
  overflow: hidden;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.35;
  color: #fff;
  background: #986246;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  margin: 20px;
}
.image-map-item__text > *:last-child {
  margin-bottom: 0;
}
.image-map-item:hover .image-map-item__title,
.image-map-item:focus .image-map-item__title,
.image-map-item:focus-within .image-map-item__title {
  opacity: 0;
  transform: translateY(-8px);
}
.image-map-item:hover .image-map-item__text,
.image-map-item:focus .image-map-item__text,
.image-map-item:focus-within .image-map-item__text {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
@media (max-width: 991.98px) {
  .image-map-layout {
    display: block;
  }
  .image-map-media {
    width: 100%;
  }
  .image-map-main {
    width: 100%;
    height: auto;
    object-fit: initial;
  }
  .image-map-items {
    display: block;
  }
  .image-map-item {
    display: block;
    min-height: 0;
    padding: 30px 30px;
    border-bottom: 8px solid #fff;
    cursor: default;
  }
  .image-map-item:last-child {
    border-bottom: 0;
  }
  .image-map-item__title {
    margin-bottom: 20px;
    font-size: clamp(30px, 7vw, 52px);
    line-height: 1;
  }
  .image-map-item__text {
    position: static;
    display: block;
    padding: 0;
    overflow: visible;
    font-size: 16px;
    line-height: 1.35;
    color: #111;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .image-map-item:hover .image-map-item__title,
  .image-map-item:focus .image-map-item__title,
  .image-map-item:focus-within .image-map-item__title {
    opacity: 1;
    transform: none;
  }
}

/*--------------------------------------------------------------
# Store locator
--------------------------------------------------------------*/
#wpsl-stores li {
  background: #fff;
  border-bottom: 0 none !important;
  display: inline-block;
  padding: 30px 20px !important;
  width: 49%;
  margin: 10px;
}
.wpsl-search {
  margin-bottom: 50px !important;
  padding: 20px !important;
  background: #f2f0f1 !important;
  text-align: center;
}
.wpsl-input {
  margin-bottom: 0 !important;
}
#wpsl-search-input {
  background: #2d2b2e !important;
  color: #fff !important;
  border: 0 none !important;
  -webkit-border-radius: 0 !important;
  -webkit-appearance: none !important;
  width: 250px !important;
  font-size: 1.6rem;
  height: 42px !important;
  top: 0;
}

#wpsl-search-btn,
#wpsl-search-wrap div,
#wpsl-search-wrap {
  float: none !important;
  display: inline-block !important;
  margin: 0 !important;
}
#wpsl-search-input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}
#wpsl-search-btn {
  background: #2d2b2e !important;
  color: #fff !important;
  border: 0 none !important;
  -webkit-border-radius: 0 !important;
  -webkit-appearance: none !important;
  font-size: 2rem;
  height: 42px !important;
  position: relative;
  top: 0;
  line-height: 0 !important;
  vertical-align: top;
}

#wpsl-wrap .wpsl-no-filters #wpsl-search-wrap .wpsl-input {
  width: 220px !important;
}

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.post-list-date {
  font-size: 13px;
}
.post-list-link {
  font-size: 1.2rem;
  font-weight: bold;
}
.post-list-cont h5 {
  min-height: 100px;
}
.post-list-thumb {
  overflow: hidden;
}
.post-list-thumb img {
  transition: transform 0.4s; /* Animation */
}
.post-list-thumb img:hover {
  -ms-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -webkit-transform: scale(1.01);
  -o-transform: scale(1.01);
  transform: scale(1.02);
}
.title-news {
  min-height: 55px;
}
.news-home img {
  filter: grayscale(100%);
}

/*--------------------------------------------------------------
# LIGHTBOX
--------------------------------------------------------------*/
.fancybox-image {
  border: 1px solid #fff !important;
}

/*--------------------------------------------------------------
# Contatti
--------------------------------------------------------------*/
.map {
  line-height: 0;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

/*--------------------------------------------------------------
# MOOD
--------------------------------------------------------------*/
.mood-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.mood-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mood-tab:hover,
.mood-tab:focus,
.mood-tab.is-active {
  background-color: transparent;
  border: 0;
  color: inherit;
  opacity: 1;
  outline: none;
}

.mood-tab img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
}

.mood-tab span {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-size: 1.6rem;
  line-height: 1.2;
}

.mood-tab.is-active span {
  border-bottom-color: currentColor;
}

.mood-panel {
  display: none;
}

.mood-panel.is-active {
  display: block;
}

/*
 * Desktop:
 */
.mood-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-template-areas: "configurations thumbs";
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.mood-configurations {
  grid-area: configurations;
  min-width: 0;
}

.mood-config {
  display: none;
}

.mood-config.is-active {
  display: block;
}

.mood-image-wrapper {
  width: 100%;
}

.mood-main-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.mood-description {
  padding-top: 3rem;
}

.mood-description h4 {
  margin-top: 0;
}

.mood-thumbs {
  grid-area: thumbs;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.mood-thumb {
  display: block;
  width: 100%;
  padding: 0;
  background: #f7f7f7;
  border: 1px solid transparent;
  border-radius: 0;
  opacity: 1;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.mood-thumb:hover,
.mood-thumb:focus {
  border-color: #777;
  border-radius: 0;
  outline: none;
}

.mood-thumb.is-active {
  border-color: #111;
  border-radius: 0;
}

.mood-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# MOOD - TABLET E MOBILE
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .mood-tabs {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mood-tabs::-webkit-scrollbar {
    display: none;
  }

  .mood-tab img {
    width: 100px;
  }

  .mood-tab span {
    font-size: 1.25rem;
  }

  /*
	 * Mobile:
	 */
  .mood-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
  }

  /*
	 * display: contents fa sì che immagine e descrizione diventino
	 * elementi ordinabili direttamente dentro .mood-layout.
	 */
  .mood-configurations {
    display: contents;
  }

  .mood-config {
    display: none;
  }

  .mood-config.is-active {
    display: contents;
  }

  .mood-image-wrapper {
    order: 1;
    width: 100%;
  }

  .mood-main-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .mood-thumbs {
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 25px 0 0;
    padding: 0 0 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mood-thumbs::-webkit-scrollbar {
    display: none;
  }

  .mood-thumb {
    flex: 0 0 80px;
    width: 80px;
    min-width: 80px;
  }

  .mood-description {
    order: 3;
    width: 100%;
    padding-top: 30px;
  }
}

/*--------------------------------------------------------------
# MOOD - MOBILE PICCOLO
--------------------------------------------------------------*/
@media (max-width: 575px) {
  .mood-tabs {
    grid-template-columns: repeat(5, 90px);
    gap: 12px;
  }

  .mood-tab img {
    width: 80px;
  }

  .mood-tab span {
    font-size: 1.1rem;
  }

  .mood-thumb {
    flex-basis: 70px;
    width: 70px;
    min-width: 70px;
  }

  .mood-description {
    padding-top: 25px;
  }
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery img:hover {
  opacity: 0.8;
  transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -webkit-transition: opacity 0.25s ease-in-out;
}

.gallery {
  overflow: hidden;
}

.gallery-track {
  overflow-x: auto;
  overflow-y: hidden;
  gap: 30px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  align-items: flex-start;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
}

.gallery-item {
  flex: 0 0 auto;
}

.gallery-item a {
  display: block;
}

.gallery-item img {
  display: block;
  height: 420px;
  width: auto;
  max-width: none;
  -webkit-user-drag: none;
  user-drag: none;
}

@media (max-width: 991.98px) {
  .gallery-item img {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .gallery-track {
    gap: 12px;
  }

  .gallery-item img {
    height: 240px;
  }
}

/*--------------------------------------------------------------
# Forms + vedi form.css
--------------------------------------------------------------*/
.grecaptcha-badge {
  display: none !important;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  color: #000;
  border: 0 none;
  border-bottom: 1px solid #000;
  background-color: #fff;
  padding: 1rem;
  font-weight: 400;
  width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #000;
}
textarea {
  -webkit-appearance: none;
  width: 100%;
  height: 106px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  background-size: 1em;
  color: #000;
  border: 1px solid #000;
  border-radius: 38px;
  background: #fff;
  font-weight: 400;
  padding: 0;
  text-align: center;
  padding: 11px 50px 10px;
  font-size: 1.3rem;
  text-transform: none;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  background-color: #fff;
  cursor: pointer;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("assets/images/arrow-down.jpg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 98% 50%;
  border: 0 none;
  color: #000 !important;
  border-radius: 0;
  font-weight: 400;
  padding: 0.9rem;
  padding-right: 1.5em;
  width: 100%;
  border-bottom: 1px solid #000;
}

select:focus,
select:hover {
  border-color: #000;
  outline: none;
}
select:active {
  border-color: #000;
}
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

/* IE 10/11+ - This hides native dropdown button arrow so it will have the custom appearance, IE 9 and earlier get a native select - targeting media query hack via http://browserhacks.com/#hack-28f493d247a12ab654f6c3637f6978d5 - looking for better ways to achieve this targeting */
/* The second rule removes the odd blue bg color behind the text in the select button in IE 10/11 and sets the text color to match the focus style's - fix via http://stackoverflow.com/questions/17553300/change-ie-background-color-on-unopened-focused-select-box */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  select::-ms-expand {
    display: none;
  }

  select:focus::-ms-value {
    background: transparent;
    color: grey;
  }
}

span.wpcf7-list-item {
  margin: 0 !important;
}

.privacy {
  font-size: 1.1rem;
}

/* CF7 */
.wpcf7-not-valid {
  border-bottom: 1px solid #b71234 !important;
}
.wpcf7-not-valid-tip {
  display: none !important;
}
div.wpcf7 .ajax-loader {
  display: none !important;
}

/*--------------------------------------------------------------
# PLACEHOLDER
--------------------------------------------------------------*/
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #000;
}

/*--------------------------------------------------------------
# iPhone input focus FIX
--------------------------------------------------------------*/
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select:focus,
textarea {
  font-size: 16px;
}

/*--------------------------------------------------------------
# MOBILE - MENU - SLIDEOUT
--------------------------------------------------------------*/
.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 250px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}
.slideout-menu-left {
  left: 0;
}
.slideout-menu-right {
  right: 0;
}
.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #fff; /* A background-color is required */
  min-height: 100vh;
}
.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}
.slideout-open .slideout-menu {
  display: block;
}
/* PANEL STYLE */
.mobile-menu {
  display: none;
  background: #eeeeee;
  color: #154075;
  padding: 1rem;
}

/* MOBILE NEW */
@media (max-width: 992px) {
  .container-fluid {
    --bs-gutter-x: 3.5rem;
  }
  h2,
  .h2,
  .h1,
  h1 {
    font-size: 30px;
  }
  h3,
  .h3 {
    font-size: 28px;
  }
  .spaceB50 {
    padding-bottom: 30px;
  }
  .spaceT50 {
    padding-top: 30px;
  }
  .spaceTB50 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  h5,
  .h5 {
    font-size: 14px;
  }
  .img-hover {
    display: none;
  }
  .text-prd h1 {
    font-size: 30px;
  }
}

/*==========  Non-Mobile First Method  ==========*/

/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  html {
    font-size: 57.5%; /* $rembase = 10px */
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  html {
    font-size: 57.5%; /* $rembase = 10px */
  }

  /*--------------------------------------------------------------
	# iPhone input focus FIX
	--------------------------------------------------------------*/
  input[type="color"],
  input[type="date"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="email"],
  input[type="month"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="time"],
  input[type="url"],
  input[type="week"],
  select:focus,
  textarea {
    font-size: inherit;
  }

  .spaceT100 {
    padding-top: 100px;
  }

  .mobile-spaceT {
    padding-top: auto;
  }
}

.expand-content {
  display: none;
}

.expand-collapse-block.is-open .expand-content {
  display: block;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  html {
    font-size: 63.5%; /* $rembase = 10px */
  }

  .container-fluid {
    padding-left: 5rem;
    padding-right: 5rem;
    max-width: 1440px;
  }

  .container-fluid-full {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .sticky-menu-visible {
    display: block;
    transition: opacity 0.3s linear;
  }

  /*--------------------------------------------------------------
	# Global
	--------------------------------------------------------------*/
  #content {
    padding-top: 80px;
  }

  /*--------------------------------------------------------------
	# Header
	--------------------------------------------------------------*/
  #masthead {
    padding: 20px 0;
  }
  .page-template-homepage #masthead {
    padding: 20px 0 50px;
  }

  .site-title {
    max-width: 140px;
  }

  /*--------------------------------------------------------------
	# Homepage
	--------------------------------------------------------------*/
  .gallery-nav-home-container {
    position: relative;
  }
  .gallery-nav-home {
    position: absolute;
    top: -80px;
    width: 100%;
    z-index: 10;
  }
  .form-newsletter input[type="email"] {
    width: 70%;
  }

  /*--------------------------------------------------------------
	# Lista prodotti
	--------------------------------------------------------------*/
  .product-list-cont {
    padding: 20rem 3rem;
  }

  .image-hover-wrapper {
    position: relative;
    overflow: hidden;
  }

  .image-hover-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .image-hover-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }

  .image-hover-wrapper.has-hover-image:hover .img-default {
    opacity: 0;
  }

  .image-hover-wrapper.has-hover-image:hover .img-hover {
    opacity: 1;
  }

  .image-hover-wrapper.has-hover-image:hover img {
    transform: scale(1.03);
  }

  /*--------------------------------------------------------------
	# Prodotti
	--------------------------------------------------------------*/
  .download-area a {
    padding: 10px 20px;
    margin: 0 20px;
  }

  /*--------------------------------------------------------------
	# News
	--------------------------------------------------------------*/
  .post-content-columns {
    column-count: 2;
    column-gap: 60px;
  }

  /*--------------------------------------------------------------
	# Store locator
	--------------------------------------------------------------*/
  #wpsl-stores li {
    width: 33%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  html {
    font-size: 68.5%; /* $rembase = 10px */
  }
}
