/* carica DM Sans da file locale */
@font-face {
  font-family: "DM Sans";
  src: url("./DM_Sans/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
}

@font-face {
  font-family: "DM Sans";
  src: url("./DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: italic;
}

html {
  font-optical-sizing: auto; /* importante per opsz */
  font-synthesis: none; /* evita falsi bold/italic */
  text-rendering: optimizeLegibility;
}
/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  background-color: #f6f6f6 !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body * {
  font-family: "DM Sans" !important;
}

.font-bold {
  font-weight: 700;
}

.font-regular {
  font-weight: 400;
}

.font-lighter {
  font-weight: 300;
}

.font-italic {
  font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 0 !important;
}

#navigazione-menu {
  padding: 60px 8px 0 8px;
}

#navigazione-menu > div {
  border-radius: 4px;
  padding: 4px 16px;
  background-color: #ffffff;
}

#navigazione-menu > div.active {
  background-color: #6d2414;
}
#navigazione-menu > div.active img {
  filter: brightness(0) invert(1);
}

#navigazione-menu > div > a {
  font-weight: 400;
  color: #482c0a;
  font-size: 18px !important;
  letter-spacing: 0;
  text-decoration: none;
  width: max-content !important;
}

#navigazione-menu > div.active > a {
  color: #ffffff;
  font-weight: 500;
}

.padding-menu {
  background-color: #ffffff !important;
  padding: 16px;
  display: none;
}

@media (max-width: 1600px) {
  .padding-menu {
    padding: 3.125rem 0.75rem 0 0.75rem;
  }
}

@media (min-width: 1200px) {
  .padding-menu {
    display: block;
  }
}

/* scritta a dx delle icone menu mobile */
.d-none-custom-mobile {
  display: block;
}

.font-navbar-mobile {
  font-size: 10px;
}

.font-navbar-mobile-2 {
  font-size: 18px;
}

@media (min-width: 766px) {
  .font-navbar-mobile {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .d-none-custom-mobile {
    display: none !important;
  }
}

/* scritta a dx delle icone menu mobile */
/* menu a scomparsa mobile */
.sottomenu-mobile {
  background-color: #761c0a;
}

/* menu a scomparsa mobile */

.menu-divider {
  color: #c6b2a3;
  margin: 0;
}

.color-seal-brown {
  color: #4d2a00;
}

.color-soft-grey {
  color: #6c6c6c;
}

.background-white {
  background-color: #ffffff;
}

.background-grey {
  background-color: #f5f5f5;
}

.background-hard-grey {
  background-color: #afafaf;
}

.background-red {
  background-color: #8b1602;
}

.etichetta-promo-home {
  height: 50%;
  width: auto;
}

.sezione-testo-home-1,
.sezione-testo-home-1 > p {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 34px !important;
  color: #4d2a00;
  line-height: 34px;
}

@media (max-width: 1400px) {
  .sezione-testo-home-1,
  .sezione-testo-home-1 > p {
    font-size: 30px !important;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  .sezione-testo-home-1,
  .sezione-testo-home-1 > p {
    font-size: 30px !important;
    line-height: 30px;
  }
}

.size-40 {
  /* font-size: 40px !important;
    line-height: 40px; */
  font-size: 34px !important;
  line-height: 34px;
}

.size-30 {
  font-size: 26px !important;
  line-height: 26px;
  /* font-size: 30px !important;
    line-height: 30px; */
}

.size-24 {
  /* font-size: 24px !important;
    line-height: 29px; */
  font-size: 22px !important;
  line-height: 24px;
}

.size-50 {
  /* font-size: 50px !important;
    line-height: 50px; */
  font-size: 44px !important;
  line-height: 44px;
}

.size-20 {
  font-size: 20px !important;
  line-height: 24px;
}

.size-18 {
  font-size: 18px !important;
  line-height: 18px;
}

.size-14 {
  font-size: 14px !important;
  line-height: 100%;
  letter-spacing: 0;
}

.size-custom-1 {
  /* font-size: 50px !important;
    line-height: 50px; */
  font-size: 44px !important;
  line-height: 44px;
}

@media (max-width: 768px) {
  .size-custom-1 {
    font-size: 28px !important;
    line-height: 28px;
  }

  .size-40 {
    font-size: 28px !important;
    line-height: 28px;
  }

  .size-24 {
    font-size: 18px !important;
    line-height: 18px;
  }
}

.first-uppercase:first-letter {
  text-transform: uppercase;
}

.custom-padding-1 {
  padding: 0 0 2.5rem 1.75rem;
}

.custom-padding-2 {
  padding: 0 1.25rem 2.5rem 0;
}

.custom-padding-6 {
  padding: 3.5rem 0 5rem 0;
}

.riquadri-testo-home {
  background-color: #ffffff;
  padding: 20px 40px;
  width: 100%;
  min-height: 200px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.riquadri-testo-home p {
  width: 100%;
  margin: 0;
  word-break: break-word;
}

@media (max-width: 768px) {
  .riquadri-testo-home {
    padding: 1.25rem 2.5rem;
  }
}

#sezione-evidenza {
  padding-left: 1.75rem;
  padding-bottom: 4rem;
}

@media (max-width: 991px) {
  #sezione-evidenza {
    text-align: center !important;
    padding-left: 0.75rem;
    padding-bottom: 4rem;
  }
}

.padding-stelle {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.padding-prezzo {
  padding-top: 1.375rem;
  padding-bottom: 2rem;
  min-height: 100px;
}

.padding-compra {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
}

.home-nome-prodotto {
  font-size: 34px !important;
  line-height: 34px;
}

.home-descrizione-prodotto {
  font-size: 26px !important;
  line-height: 26px;
}

@media (max-width: 1400px) {
  .home-nome-prodotto {
    font-size: 30px !important;
    line-height: 30px;
  }

  .home-descrizione-prodotto {
    font-size: 20px !important;
    line-height: 20px;
  }
}

@media (max-width: 992px) {
  .home-nome-prodotto {
    font-size: 30px !important;
    line-height: 30px;
  }

  .home-descrizione-prodotto {
    font-size: 20px !important;
    line-height: 20px;
  }
}

@media (max-width: 576px) {
  .home-nome-prodotto {
    font-size: 30px !important;
    line-height: 30px;
  }

  .home-descrizione-prodotto {
    font-size: 20px !important;
    line-height: 20px;
  }
}

#galleria-immagini {
  padding-top: 7rem;
  padding-bottom: 5.5rem;
}

.immagini-galleria-hover:after {
  content: url("../immagini/icone/zoom-immagine.svg");
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;

  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.immagini-galleria-hover:hover:after {
  opacity: 1;
}

/* codepen gestione lightbox albero storia: https://codepen.io/MarianKoniuszko/pen/qBowbVb */
#lightbox {
  position: fixed;
  display: none;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  height: 80%;
}

/* codepen gestione lightbox albero storia: https://codepen.io/MarianKoniuszko/pen/qBowbVb */

.btn-giuberti {
  padding: 0.5rem 3rem;
  border: 0;
  background-color: #af9352;
}

.tracker-footer-1 > div > h4,
.tracker-footer-1 > div > a {
  font-weight: 700;
  font-size: 15px !important;
  line-height: 20px;
  color: #4d2a00;
  text-decoration: none;
}

.tracker-footer-1 > div {
  padding-bottom: 0.5rem;
}

.tracker-footer-2 > div > p,
.tracker-footer-2 > div > p > a,
.tracker-footer-2 > div > a {
  font-weight: 700;
  font-size: 16px !important;
  line-height: 21px;
  color: #4d2a00;
  text-decoration: none;
}

.tracker-footer-2 > div {
  padding-bottom: 1.5rem;
}

.tracker-footer-3 > p,
.tracker-footer-3 > p > a {
  text-decoration: none;
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 400;
  color: #674a27;
}

.tracker-footer-3 {
  padding-top: 2rem;
}

#credits {
  padding-top: 3.5rem;
}

#credits > p {
  font-size: 16px !important;
  line-height: 21px;
  font-weight: 400;
  color: #674a27;
}

#credits > p > a {
  text-decoration: none;
  font-weight: 700;
  color: #674a27;
}

#breadcrumb > * {
  font-style: italic;
  font-size: 12px !important;
  line-height: 16px;
  color: #4d2a00;
  text-decoration: none;
  padding-top: 0.5rem;
}

#contattaci-informazioni {
  color: #4d2a00;
  font-size: 24px !important;
  line-height: 32px;
}

#contattaci-informazioni a,
#contattaci-informazioni h2 {
  font-size: 24px !important;
  line-height: 32px;
  text-decoration: none;
  color: #4d2a00;
}

#form-contattaci input,
#form-contattaci textarea {
  margin: 0.75rem 0;
  font-weight: 700;
  color: #4d2a00 !important;
  font-size: 20px !important;
  line-height: 24px;
}

#form-contattaci input:focus,
#form-contattaci textarea:focus {
  border-color: #4d2a00;
  box-shadow: 0 0 0 0;
}

#form-contattaci input::placeholder,
#form-contattaci textarea::placeholder {
  font-weight: 700;
  color: #4d2a00 !important;
  font-size: 20px !important;
  line-height: 24px;
}

#form-contattaci input::-ms-input-placeholder,
#form-contattaci textarea::-ms-input-placeholder {
  font-weight: 700;
  color: #4d2a00 !important;
  font-size: 20px !important;
  line-height: 24px;
}

@media (max-width: 768px) {
  #contattaci-informazioni {
    color: #4d2a00;
    font-size: 18px !important;
    line-height: 32px;
  }

  #contattaci-informazioni a,
  #contattaci-informazioni h2 {
    font-size: 18px !important;
    line-height: 32px;
    text-decoration: none;
    color: #4d2a00;
  }

  #form-contattaci input,
  #form-contattaci textarea {
    margin: 0.75rem 0;
    font-weight: 700;
    color: #4d2a00 !important;
    font-size: 20px !important;
    line-height: 18px;
  }

  #form-contattaci input::placeholder,
  #form-contattaci textarea::placeholder {
    font-weight: 700;
    color: #4d2a00 !important;
    font-size: 20px !important;
    line-height: 18px;
  }

  #form-contattaci input::-ms-input-placeholder,
  #form-contattaci textarea::-ms-input-placeholder {
    font-weight: 700;
    color: #4d2a00 !important;
    font-size: 20px !important;
    line-height: 18px;
  }
}

.btn-invio:hover {
  background-color: #af9352 !important;
  border-color: #af9352 !important;
}

.btn-invio {
  width: 100px;
  height: 50px;
  border-radius: 0px;
  background-color: #4d2a00 !important;
  border-color: #4d2a00 !important;
}

.btn-standard-grigio {
  border-radius: 15px;
  background-color: #afafaf;
  font-size: 30px !important;
  line-height: 30px;
  font-weight: 700;

  padding-left: 1rem !important;
  padding-bottom: 0.5rem !important;
  padding-right: 1rem !important;
  padding-top: 0.5rem !important;
  border: 0 !important;
}

.input-custom-1 {
  border: solid 1px #707070;
  border-radius: 8px;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 20pt;
  color: #4d2a00;
}

.input-custom-1::placeholder {
  color: #4d2a00;
  opacity: 0.6;
}

.input-custom-1:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.conferma-pagamento-dati p {
  font-size: 20px !important;
  line-height: 24px;
  color: #4d2a00;
  font-weight: 700;
  padding-bottom: 0.5rem;
}

.conferma-pagamento-dati b {
  font-size: 20px !important;
  line-height: 24px;
  color: #4d2a00;
  font-weight: 700;
}

.grecaptcha-badge {
  visibility: hidden;
}

#sidebar_desktop {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* div navbar menu */
.padding-menu-mobile {
  background-color: #ffffff !important;
  height: auto;
  padding: 1rem 1.5rem;
  display: none;
}

.menu-mobile {
  display: none;
}
/* div navbar menu */
@media (max-width: 991px) {
  #sidebar_desktop {
    display: none;
  }

  .padding-menu-mobile {
    display: block;
  }

  .menu-mobile {
    display: block;
  }
}

#social-menu {
  padding: 0 8px 8px 8px;
}

.custom-categoria-prodotto {
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  width: max-content;
  border-radius: 40px;
  text-transform: uppercase;
}

.custom-categoria-prodotto.salumificio {
  background-color: #ed1c24;
  color: #ffffff;
}
.custom-categoria-prodotto.macelleria {
  background-color: #af9352;
  color: #ffffff;
}

.custom-categoria-prodotto.allprodotti {
  background-color: #afafaf;
  color: #ffffff;
}

.logo-giuberti {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.logo-entrecote {
  max-width: 220px;
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .logo-giuberti,
  .logo-entrecote {
    height: 50px;
    width: auto;
  }
}

button.custom-filtro-prodotto {
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  width: max-content;
  border-radius: 40px;
  text-transform: uppercase;
  border: 2px solid transparent;
  opacity: 1;
  transition: all 0.5s;
}

button.custom-filtro-prodotto.salumificio {
  background-color: #ed1c24;
  color: #ffffff;
}
button.custom-filtro-prodotto.macelleria {
  background-color: #af9352;
  color: #ffffff;
}

button.custom-filtro-prodotto.allprodotti {
  background-color: #afafaf;
  color: #ffffff;
}

button.custom-filtro-prodotto:hover,
button.custom-filtro-prodotto.active {
  margin: 2px 6px;
  padding: 6px 18px;
  opacity: 0.8;
  border: 2px solid #000;
}

/* gestione header delle pagine senza carosello */
.header-custom-1 {
  position: relative;
  width: 100%;
}
.header-custom-1 img {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center;
}
/* gestione header delle pagine senza carosello */

/* gestione header con carosello */
#carosello-macelleria {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 3;
  overflow: hidden;
}

#carosello-macelleria .carousel-inner {
  height: 100%;
}

#carosello-macelleria .carousel-inner .carousel-item {
  height: 100%;
}

#carosello-macelleria .carousel-inner .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* gestione header con carosello */

.custom-ratio-1 {
  --bs-aspect-ratio: 63.75%;
}
