@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Jost", sans-serif;
}

header {
  border-radius: 0;
}

.theme-horizontal .product-price {
  font-family: "Montserrat", sans-serif;
}

.codici > div {
  background-color: #fff;
}

.products-container .product-description {
  line-height: 1.3rem;
}

.product-info {
  align-items: flex-end !important;
}

.product.theme-horizontal .product-name {
  text-align: right !important;
}

.codici .product-info .text-end {
  display: none;
}

.codici .product-info .product-name {
  width: 100% !important;
}

.codici .product-info {
  position: absolute !important;
}

.codici figure {
  margin-top: 1.5rem !important;
}

.codici .product-title {
  overflow-wrap: normal !important;
}

.default_background {
  background-color: transparent;
  /*background-size: cover;*/
  background-size: 100% 100%;
}

#anchor_aspettando_pasqua {
  background-image: url(/images/nativa_bennet/f__aspettando_pasqua_.webp) !important;
  background-size: 100%;
  background-position: center center;
}

#anchor_gusto_toscana .product {
  background-image: url(/images/nativa_bennet/f__toscana.webp) !important;
  background-size: 100%;
  background-position: center center;
}

#anchor_prodotti_impanati .product {
  background-image: url(/images/nativa_bennet/f__toscana.webp) !important;
  background-size: 100%;
  background-position: center center;
}

#anchor_piante .product,
#anchor_animali .product {
  background-color: #cce5d8;
}

#anchor_piante .product::before,
#anchor_animali .product::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgb(255, 255, 255, 0.8),
    transparent
  );
}

#anchor_aspettando_pasqua .product {
  border-bottom: 0.1rem solid #fff;
}

.product:not(.theme-horizontal) .product-price {
  font-size: 1.6rem !important;
}

.product:not(.modalProduct).theme-horizontal.big_white {
  background-color: #c20e1a !important;
  color: #fff;
  /*background-size: cover !important;*/
}

.product:not(.modalProduct):not(.theme-horizontal).big_white {
  background-color: #c20e1a;
  color: #fff;
}

.product.theme-horizontal.simple_white {
  background-image: url("/images/nativa_bennet/f__simple_white.webp") !important;
  color: #fff;
  background-size: cover !important;
}

/*
**************************
classe white_yellow
**************************
*/

.product:not(.modalProduct).theme-horizontal.white_yellow {
  background-image: url("/images/nativa_bennet/fondo_fumo_orizzontale.webp") !important;
  color: #fff;
}

.product:not(.modalProduct):not(.theme-horizontal).white_yellow {
  background-image: url("/images/nativa_bennet/fondo_fumo_verticale.webp") !important;
  color: #fff;
}

.product:not(.modalProduct):not(.theme-horizontal).white_yellow .text-end {
  color: #f9de3f;
}

/*
---------------
* fine
---------------
*/

.product .product-title {
  font-weight: 600;
}

.product.theme-horizontal .meccanica {
  max-width: 100%;
}

main .theme-horizontal .product-description {
  font-size: 0.8rem !important;
  line-height: 1.1rem;
}

.products-container .theme-horizontal .product-price {
  font-size: 3.2rem;
}

.card-start {
  padding: 0.125rem 0.125rem 0.125rem 0.25rem;
}

.card-end {
  padding: 0.125rem 0.25rem 0.125rem 0.125rem;
}

.big_white::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgb(255, 255, 255, 0.8),
    transparent
  );
}

.theme-horizontal .product-price,
.big_white .product-price {
  line-height: 1;
  display: flex;
  align-items: flex-start;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

.product-price .euro {
  margin-top: auto;
  padding-bottom: 0.2rem;
}

.product:not(.theme-horizontal):not(.big_white) .product-price .euro {
  font-weight: 500;
}

.product:not(.theme-horizontal):not(.big_white) .product-price {
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  justify-content: end;
  padding: 0.2rem 0;
}

.product:not(.theme-horizontal) .product-price {
  font-size: 2rem !important;
}

.product:not(.theme-horizontal) .product-info {
  padding: 0.2rem 0.2rem 1rem 0.2rem !important;
}

.product.theme-horizontal .product-info {
  padding-right: 0.5rem !important;
}

.card-end .product-info {
  padding-left: 0.4rem !important;
}

.product:not(.theme-horizontal):not(.modalProduct).big_white .product-info {
  align-items: baseline;
}

.product-info p {
  font-size: 0.85rem;
  padding-bottom: 0.3rem;
}

.product-info .meccanica img {
  max-height: 1.8rem;
  width: auto;
}

.theme-horizontal .product-info .meccanica img {
  max-width: 6rem;
}

.modalProduct .product-info .meccanica img {
  max-height: 2.5rem;
  max-width: 10rem;
}

.theme-horizontal.big_white .product-price {
  color: #ffffff;
  text-shadow:
    -0.1rem -0.1rem 0 #d10000,
    0.1rem -0.1rem 0 #d10000,
    -0.1rem 0.1rem 0 #d10000,
    0.1rem 0.1rem 0 #d10000,
    0px 0.1rem 0 #d10000,
    0.1rem 0px 0 #d10000,
    0px -0.1rem 0 #d10000,
    -0.1rem 0px 0 #d10000;
  font-weight: 800;
}

.big_white:not(.modalProduct) .product-price {
  color: #fff;
  font-weight: 800;
}

.product-price .decimali {
  font-size: 80%;
  padding-top: 0.05rem;
}

.product:not(.theme-horizontal) .product-info > div {
  width: 50%;
  line-height: 1;
}
.theme-horizontal .row_base {
  font-size: 0.7rem;
  position: relative;
  right: 0;
  bottom: 0;
}

.font_white {
  color: #fff !important;
}

.product-button {
  display: none;
}

.codici_extra {
  padding: 0 0.7rem;
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  right: 0;
}

.modalProduct .codici_extra {
  background-color: #ffdd00;
}

.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ec1c22;
  --bs-btn-border-color: #ec1c22;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ec1c22;
  --bs-btn-hover-border-color: #ec1c22;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ec1c22;
  --bs-btn-active-border-color: #ec1c22;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ec1c22;
  --bs-btn-disabled-border-color: #ec1c22;
}

.ico-brands {
  z-index: 1;

  display: flex;
  align-items: center;
}

.ico-brands img {
  margin-right: 5px;
  max-width: 40px;
}

.theme-horizontal .ico-brands {
  margin-left: auto;
  justify-content: end;
}

.theme-horizontal .ico-bollini {
  max-width: 55px;
}

.modalProduct .product-info {
  color: #000000 !important;
}

.offcanvas {
  font-family: inherit !important;
}

.modalProduct .product-price .euro {
  font-size: 1.2rem;
}

.vino {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9;
  background-color: transparent !important;
}

.modalProduct .product-title {
  font-size: 1rem;
}

.offcanvas-body .modalProduct .product-price {
  font-size: 3rem !important;
}

.product:not(.modalProduct) .product-title {
  display: -webkit-box;
  /* crea un contenitore ﬂex “a scatola” */
  -webkit-box-orient: vertical;
  /* orientamento verticale delle linee */
  -webkit-line-clamp: 4;
  line-clamp: 4;
  /* numero massimo di righe visibili */
  overflow: hidden;
  /* nasconde il contenuto in eccesso */
  text-overflow: ellipsis;
  /* aggiunge i “…” alla fine */
}

.background_selezionati {
  background: url(https://resources.volantinopiu.it/img/canale/6f83147427559b3de6f1b10384c9dd93/selezionati_card.webp) !important;
  background-size: cover;
  background-repeat: no-repeat;
}

.codici .product-name {
  max-width: 100% !important;
}

.modalProduct.codici .product-title {
  font-size: 1.5rem;
  font-weight: 500 !important;
}

.modalProduct.codici .product-info {
  top: -1rem;
}

@media (orientation: portrait) {
  main:not(.theme-horizontal) .product-name {
    font-size: 0.72rem;
  }
}

@media (orientation: landscape) {
  .product-info .meccanica img {
    max-height: 2.5rem;
    max-width: 9rem;
    border-radius: 0.2rem;
  }

  .product:not(.theme-horizontal) .product-price {
    font-size: 3rem !important;
  }

  .product.theme-horizontal .product-price {
    font-size: 3.5rem !important;
  }

  .theme-horizontal .ico-bollini {
    z-index: 1;
    max-width: 80px;
  }

  .theme-horizontal .product-info .meccanica img {
    max-width: 10rem;
  }

  .products-container .product-name {
    font-size: 0.9rem;
  }
}

.product.card-end:not(.theme-horizontal)::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 0;
  left: 0;
  width: 0.11rem;
  height: 80%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(222, 222, 222, 0.8),
    transparent
  );
}

.product.big_white.card-end:not(.theme-horizontal)::after {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  ) !important;
}

.ico-interattiva {
  right: inherit;
}

.spacca_prezzi:not(.modalProduct) {
  background-image: none !important;
  background-color: #ebc145 !important;
}

.spacca_prezzi:not(.modalProduct) .product-price {
  color: #fff; /* testo bianco */
  text-shadow:
    -0.12rem -0.12rem 0 #000,
    0.12rem -0.12rem 0 #000,
    -0.12rem 0.12rem 0 #000,
    0.12rem 0.12rem 0 #000;
  font-weight: 800;
}

.spacca_prezzi .product-info p {
  background-color: #d8222a;
  color: #fff;
  align-items: baseline;
  font-size: 0.8rem;
  display: none !important;
}

.spacca_prezzi .product-info p span {
  font-size: 1.2rem;
}

.spacca_prezzi .product-info .benpos {
  /*background-color: #d8222a;*/
  width: fit-content;
  margin-left: auto;
  /*padding: 0 0.2rem 0.8rem;*/
  border-radius: 0.2rem;
}

.spacca_prezzi:not(.modalProduct) > div::after {
  /*border-bottom: 0.2rem solid #e30613;*/
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #e30613, transparent);
}

.spacca_prezzi::after {
  background: linear-gradient(
    to bottom,
    transparent,
    #e30613,
    transparent
  ) !important;
}

.modalProduct.spacca_prezzi {
  height: 100%;
}

.spacca_prezzi .meccanica:not(.meccanica_si) {
  display: none !important;
}

.product figure {
  display: flex !important;
}

.spacca_prezzi.theme-horizontal .product-info .meccanica img {
  max-width: 10rem;
  max-height: 3rem;
}

#offcanvasFeedback {
  max-height: 30vh;
}

#offcanvasFeedback .offcanvas-header {
  background-color: #c20e1a;
  color: #fff;
  border-radius: 1rem 1rem 0 0;
}

#feedback-submit {
  background-color: #c20e1a;
  color: #fff;
}

#feedbackModal .modal-header {
  background-color: #c20e1a;
  color: #fff;
}

#feedback-submit {
  background-color: #c20e1a;
  color: #fff;
}

/*
**********
* classe NATALE
**********
*/

.product:not(.modalProduct).natale {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-image: url("/images/nativa_bennet/natale.webp") !important;
}

#anchor_prodotti_sponsor .product {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-image: url("/images/nativa_bennet/fondo_sponsor.webp") !important;
}

/*
CLASSI PER PRODOTTI
*/
.my_bg_gray:not(.modalProduct) {
  background: #e0e1e2 !important;
}

.product .ico-brands {
    padding-left: 0 !important;
}

.bg-bennet-temp-1:not(.modalProduct) {
    background: url("https://resources.volantinopiu.it/promo/6/6/5/6/extra/rosa_verde.gif") !important;
}

