:root {
  --verde-sm: #4c6f64;
  --verde-sm2: #4c6f64;
  --verde-sm-new: #4c6f64;
}
#showPopupCart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-color: #0009;*/
    background-color: #CCC4;
    z-index: 99999;
    display: none;
    opacity: 0;
    backdrop-filter: blur(4px);
  }
  #showPopupCart .close_btn_c{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    cursor:pointer;
    cursor:hand;
  }
  #showPopupCart .close_btn_c .close_btn{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor:pointer;
    cursor:hand;
  }
  #showPopupCart .close_btn_c .close_btn::before{
    content: "";
    width: 25px;
    height: 1px;
    background-color: #393939;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-45deg) translate(-2px,29px);
  }
  #showPopupCart .close_btn_c .close_btn::after{
    content: "";
    width: 25px;
    height: 1px;
    background-color: #393939;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(45deg) translate(-50%,50%);
  }
  #showPopupCart.showFade {
    display: block;
    animation-name: fateInPopupCart;
    animation-duration: 1s;
    opacity: 1;
  }
  #showPopupCart.hideFade {
    display: block;
    animation-name: fateInPopupCart2;
    animation-duration: 1s;
  }
  @keyframes fateInPopupCart {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  @keyframes fateInPopupCart2 {
    from {opacity: 1; }
    to {opacity: 0;}
  }
  #showPopupCart .popup {
    position: relative;
    top: 50%;
    left: 50%;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 16 / 8;
    background-color: white;
    transform: translate(-50%, -50%);
    border: 1px solid var(--verde-sm);
  }
  .btn_cart{
    border: 1px solid var(--verde-sm);
    padding: 10px 20px;
    background-color: transparent;
    color: #666;
    margin: 20px;
    text-align: center;
    
    /* transition: all 0.5s; */
    transition: background-color 0.5s, border-color 0.5s, color 0.5s;
    
    
    cursor: pointer;
    cursor: hand;
    border-radius: 5px;
  }
  
  #showPopupCart .vertical {
    flex-direction: row;
  }
  #showPopupCart .btn_cart {
    margin: 0 20px;
  }
  #showPopupCart .suggest {
    height: 444px;
    background: #f9f6f7;
  }
  #showPopupCart .loading-2 {
    position: relative;
    left:-13px
  }
  #showPopupCart .loading {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #showPopupCart .dots {
    position:absolute;
    top: 0;
    left: var(--pos);
    width: 6px;
    height: 6px;
    background-color: var(--verde-sm);
    animation: dotCarousel var(--time) infinite linear;
    border-radius: 100%;
  }
  @keyframes dotCarousel {
    0% {
      top: 0;
    }
    50% {
      top: 10px;
    }
    100% {
      top: 0;
    }
  }


  .btn_cart.fill{
    background-color: var(--verde-sm);
    color: white;
  }
  .btn_cart:not(.fill){
    margin-top: 0px;
    background-color: #FFF;
  }
  .btn_cart.fill:hover{
    background-color: #d3eee7;
    border: 1px solid #d3eee7;
    color: #666;
  }
  .btn_cart:hover:not(.fill){
    background-color: #d3eee7;/*var(--verde-sm2);*/
    border: 1px solid #d3eee7;
    color: #666;
  }

  #showPopupCart .popup .center-vertical,
  #showPopupCart .popup .txt{
    display: flex;
    justify-content: center;
  }
  #showPopupCart .popup .txt{
    padding: 50px 0 25px 0;
    font-size: 20px;
    font-weight: 600;
  }
  .center-vertical .vertical{
    display: flex;
    flex-direction: column;
  }

  #showPopupCart .popup .btn_cart,
  .btnListaActionHook {
    cursor: pointer;
    cursor: hand;
  }
  @media only screen and (max-width: 667px){
    #showPopupCart.showFade {
      display: flex !important;
    }
    #showPopupCart .popup .txt{
      padding: 50px 20px 25px 20px;
      font-size: 20px;
      font-weight: 600;
      word-wrap: normal;
      text-align: center;
    }

    /* #showPopupCart .popup {
      top: 100%;
      transform: translate(-50%, -100%);
    } */

    
    #showPopupCart .suggest .row .box_prodotto_new-container:not(:first-child) {
      display: none;
    }
    
    #showPopupCart .vertical {
      flex-direction: column !important;
    }
    #showPopupCart .btn_cart:not(.fill) {
      margin: 0 20px 20px 20px;
    }
    #showPopupCart .btn_cart.fill {
      margin: 0 20px 0 20px;
    }
    #showPopupCart {
      background-color: #fff;
    }
    #showPopupCart .popup {
      top: 0;
      transform: translate(-50%, 0);
      height: 100vh;
    }
  }
  
  .box-add-wishlist {
    font-size: 18px;
    cursor: hand;
    cursor: pointer;
    padding: 5px 0;
    width: 36px;
    height: 36px;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .barra_sopra{
    padding: 10px 15px;
    display: flex;
  }
  
.box-add-wishlist svg {
  transition: all 0.5s;
}
.box-add-wishlist svg:hover {
  color: red;
}
.box-add-wishlist svg[data-prefix="far"] {
  color: #333333;
}
.box-add-wishlist svg[data-prefix="fas"] {
  color: var(--verdechiaro);
}

.btn_cart.fill[disabled]{
    background-color: #E1E1E1 !important;
    color: #333;
    border-color: #E1E1E1 !important;
    /* cursor: not-allowed;
    cursor: hand; */
  }
  .img-bg-box {
    width: 200px;
    height: 200px;
    cursor: hand;
    cursor: pointer;
  }
  .img-bg {
    width: 200px;
    height: 200px;
    background-image: url('https://static.spaghettiemandolino.business/img/public/tpl/bg_default_prdotto.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }
  .img-bg-verficale{
    background-size: auto 200px !important;
  }


  .popup_lang {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 999999;
    background-color: rgba(10,10,10,.45);
    overflow-y: auto;
    transition: opacity 0.5s;
    opacity: 0;
  }
  .popup_lang.open {
    width: 100vw;
    height: 100vh;
    opacity: 1;
  }
  
  .popup_lang .form_popup {
    border-radius: 5px;
    background-color: #FFF;
    width: 35vw;
    aspect-ratio: 16/9;
    max-width: 700px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2em;
    gap: 2em;
  }

  .popup_lang .form_popup .popup_element {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    background-color: #EEE;
    position: relative;
    
    border-radius: 5px;
    border: 1px solid #707070;
  }
  .popup_lang .form_popup .popup_element:hover {
    background-color: #CCC;
  }
  .popup_lang .form_popup .popup_element:nth-child(2) {
    margin-top: 2em;
  }
  .popup_lang .form_popup .popup_element select {
    padding: 1em;
    margin-top: 2.5em;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    height: 55px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.5s;
    z-index: 2;
  }
  .popup_lang .form_popup .popup_element label {
    position: absolute;
    top: 1em;
    left: 15px;
    color: #777;
    font-size: 11px;
    z-index: 1;
  }
  
  .popup_lang .form_popup .popup_element { position: relative; }
  .popup_lang .form_popup .popup_element::after {
    content: "";
    position: absolute;
    right: 0.3em;
    font-size: 2.5em;
    top: 50%;
    transform: translateY(-50%);

    background-image: url(/img/public/tpl/arrow.svg);
    color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    width: 25px;
    height: 25px;
    display: block !important;
    background-size: contain;
  }
  
@media only screen and (max-width: 667px) {
  .popup_lang .form_popup {
    top: 0;
    left: 0;
    width: 100vw;
    transform: none;
    border-radius: 0 0 5px 5px;
  }
}
.popup .mark {
  position: absolute;
  left: 50%;
  top: calc(50% + 4px);
  transform: translate(-50%, -50%) scale(1);
  color: var(--verde-sm-new);
  background-color: transparent;
  font-size: 14px;
  animation-name: popup_mark;
  animation-duration: 2s;
  animation-iteration-count: 2
}

@keyframes popup_mark {
  0%   { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -50%) scale(0); }
  100%  { transform: translate(-50%, -50%) scale(1); }
}