/* ELENYS – mobilní připnutý proužek pro slevový kód */
#elenys-fixed-discount {
  display: none;
}

@media screen and (max-width: 767px) {
  body.in-kosik #elenys-fixed-discount {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 16px 20px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
    background: #F9E8E6 !important;
    color: #171717 !important;
    border: none !important;
    border-top: 1px solid #E8DED8 !important;
    border-radius: 0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .04);
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #elenys-fixed-discount .elenys-percent {
    color: #AE3562 !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
  }

  #elenys-fixed-discount .elenys-label {
    color: #171717 !important;
    font-size: 14px;
    font-weight: 600;
  }

  #elenys-fixed-discount .elenys-arrow {
    display: block !important;
    margin-left: auto !important;
    color: #171717 !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }

  #elenys-fixed-discount:active {
    background: #FBEDEF !important;
  }

  body.in-kosik.elenys-discount-active {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.in-kosik .extras-col-basket {
    scroll-margin-top: 90px;
    scroll-margin-bottom: 100px;
  }
}
