@media (max-width: 767.99px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

#bitomaty {
  .swiper {
    overflow: visible;
  }

  #bitomaty-swiper-pagination-flip {
    width: fit-content;
    margin: auto;
    background-color: white;
    padding: 12px;
    border-radius: 24px;
    margin-top: 24px;
  }
  .swiper-pagination-bullet-active {
    background-color: #22e243;
  }

  section {
    margin-top: 128px;
  }
  .section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
  }
  .section-content {
    display: flex;
  }
  .btn {
    border: 3px solid black;
    align-items: center;
    height: 64px;
    gap: 8px;
    font-weight: 800;
  }

  .btn:hover {
    background-image: url("img/pattern-repeat.svg");
    background-size: 18px;
    background-color: white;
    outline: 2px solid black;
    color: black;
  }

  .btn-black-primary {
    background-color: black;
    color: white;
  }

  .btn-green-primary {
    border: none;
    background-color: #22e243;
  }
}

@media (max-width: 767.99px) {
  #bitomaty {
    .section-title {
      font-size: 24px;
    }
  }
}

.zen-breadcrumbs {
  ol {
    flex-wrap: nowrap !important;
    padding: 0;
    li:first-child {
      a {
        span {
          font-family: Nunito;
          font-size: 14px;
          font-style: normal;
          font-weight: 800;
          line-height: normal;
          letter-spacing: 0.7px;
        }
      }
    }
    li {
      min-width: fit-content;
      color: #888888;
      span {
        color: #888888;
        font-family: Nunito;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
      }
    }
    li:last-child {
      span {
        color: #22e243;
        font-family: Nunito;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
      }
    }
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .breadcrumbs_wrap {
    display: flex !important;
  }
}

@media (max-width: 767.99px) {
  .breadcrumbs_wrap {
    margin-bottom: 48px;
  }
}

/* MAP */

#bitomaty {
  .map {
    margin-top: 32px;
    .map-title {
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      margin-bottom: 36px;
    }

    .map-description {
      text-align: center;
      font-size: 24px;
      font-weight: 500;
      max-width: 620px;
      margin: auto;
    }
  }

  .map-pin {
    background-color: #22e243;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    border: 1px solid #90f1a1;
    position: relative;
    background-image: url("img/icon-geolocation.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    z-index: 1;
    transition: all 200ms;
  }

  .map-pin:hover {
    scale: 1.1;
  }
  .pin-selected {
    z-index: 2;
  }

  .pin-selected > .map-pin {
    width: 64px;
    height: 64px;
    background-color: #f0eee7;
    border-color: white;
    border-radius: 32px;
  }

  .map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-inline: 20px;
  }

  #bitomaty__map {
    position: absolute;
    overflow: hidden;
    overflow: hidden;
    top: 5%;
    height: 90%;
    left: 1.6%;
    width: 95.4%;
  }

  .map-frame {
    position: relative;
    z-index: 10;
    width: 100%;
    display: block;
    pointer-events: none;
  }

  #map-points-list {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: scroll;
    height: calc(100% - 160px);
    margin-left: 60px;
    width: 360px;
    bottom: 80px;
    > div {
      cursor: pointer;
      background-color: #f0eee7;
      padding: 16px 24px;
      border-radius: 24px;
      display: flex;
      gap: 12px;
      align-items: center;
      .open {
        font-size: 12px;
      }
      .brand-name {
        font-weight: bold;
      }
      .dot {
        color: #888888;
        margin: 0 3px;
      }
      .map-device-logo {
        background-color: white;
        margin-left: auto;
        width: 64px;
        height: 64px;
        min-width: 64px;
        padding: 8px;
        border-radius: 16px;

        img {
          width: auto;
          width: 100%;
          height: 100%;
        }
      }

      > div {
        display: flex;
        flex-direction: column;
        gap: 4px;

        .address {
          color: black;
          font-weight: bold;
          font-size: 14px;
        }

        .city {
          font-size: 16px;
          font-weight: bold;
          color: #888888;
        }

        mark {
          font-weight: bold;
          color: #22e243;
          background-color: transparent;
        }
      }
    }

    .logos {
      display: none;
      height: 40px;
      gap: 6px;
      img {
        height: 100%;
      }
    }

    .device_type {
      display: none;
    }

    .list-item-expand {
      min-width: 24px;
      cursor: pointer;
      margin-left: auto;
      border: 1px solid #888;
      border-radius: 50%;
      height: 48px;
      width: 48px;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        width: 16px;
      }
    }

    .selected {
      background-color: white;
      .logos {
        display: flex;
      }

      .device_type {
        display: block;
      }

      .list-item-expand img {
        transform: rotate(180deg);
      }
    }
  }

  .bitomaty_map-shadow {
    position: absolute;
    background: linear-gradient(
      90deg,
      #000000ad 0%,
      transparent 420px,
      transparent 100%
    );
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    pointer-events: none;
  }

  .map-search {
    position: initial;
    margin: auto;
    margin-bottom: 48px;
    width: 440px;
    top: 0;
    z-index: 1;
    background-color: white;
    height: 80px;
    border-radius: 40px;
    border: 1px solid #888888;
    top: 24px;
    display: flex;
    padding-left: 24px;
    overflow: hidden;
    align-items: center;
    max-width: 100%;
    input {
      outline: none;
      border: none;
      width: 0;
      flex: 1;
    }

    button {
      width: 48px;
      height: 48px;
      min-width: 48px;
      border: none;
      border-radius: 24px;
      transition: all 200ms;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-grow: 0;
      img {
        width: 16px;
      }
    }

    button:hover {
      filter: invert(1);
    }

    .map-localize-button {
      background-color: #f0eee7;
      margin-left: auto;
    }

    .map-search-button {
      background-color: black;
      margin-left: 8px;
      margin-right: 16px;
    }
  }

  .map-filters {
    position: absolute;
    left: 20px;
    top: 120px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
  }
  .map-filters + #map-points-list {
    height: calc(100% - 184px);
  }
  .map-filters-label {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
  }
  .map-filters-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
  }
  .map-filter-box {}
  .map-filter-checkbox-block {
    display: block;
    background: #FFF;
    cursor: pointer;
    white-space: nowrap;
    padding: 13px 32px 13px 24px;
    border-radius: 24px;
    font-size: 0;
    transition: .2s all ease-in-out;
  }
  .map-filter-checkbox-box {
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
  }
  .map-filter-checkbox-input {
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .map-filter-checkbox {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #888;
    border-radius: 3px;
    transition: .2s all ease-in-out;
  }
  .map-filter-checkbox-input:checked + .map-filter-checkbox {
    border-color: #22E243;
    background-color: #22E243;
  }
  .map-filter-checkbox:before {
    content: '';
    position: absolute;
    background: #000;
    height: 2px;
    width: 7px;
    top: 9px;
    left: 8px;
    opacity: 0;
    transform: rotate(-45deg);
    transition: .2s all ease-in-out;
  }
  .map-filter-checkbox:after {
    content: '';
    position: absolute;
    background: #000;
    height: 2px;
    width: 5px;
    top: 10px;
    left: 6px;
    opacity: 0;
    transform: rotate(45deg);
    transition: .2s all ease-in-out;
  }
  .map-filter-checkbox-input:checked + .map-filter-checkbox:before,
  .map-filter-checkbox-input:checked + .map-filter-checkbox:after {
    opacity: 1;
  }
  .map-filter-checkbox-label {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    letter-spacing: 0.07px;
    padding-left: 8px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .map {
    .map-filter-checkbox-block:hover .map-filter-checkbox {
      border-color: #22E243;
    }
    .map-filter-checkbox-block:hover .map-filter-checkbox-input:checked + .map-filter-checkbox {
      border-color: #000;
      background-color: #000;
    }
    .map-filter-checkbox-block:hover .map-filter-checkbox:before,
    .map-filter-checkbox-block:hover .map-filter-checkbox:after {
      background-color: #FFF;
    }
    .map-zoom__btn:hover {
      transform: translateY(-1px);
    }
  }
}

@media (max-width: 768px) {
  #bitomaty {
    .map {
      padding-bottom: 0;
      .map-title {
        font-size: 28px;
      }

      .map-description {
        font-size: 20px;
      }
    }

    .map-wrapper {
      margin: 0;
    }

    #bitomaty__map {
      top: 2%;
      height: 97%;
      border-radius: 25% / 7%;
    }

    #map-points-list {
      height: 140px;
      /* &:has(.euronet-hours) {
          height: 225px;
        } */
      &:has(.selected .euronet-hours) {
        height: 225px;
      }
      margin: 16px !important;
      bottom: 0;
      max-width: calc(100% - 32px);
      > div {
        display: none;
      }
      > div.selected {
        display: flex;
      }

      .list-item-expand {
        display: none;
      }
    }

    .bitomaty_map-shadow {
      background: linear-gradient(
          180deg,
          #000000ad 0%,
          transparent 160px,
          transparent 100%
        ),
        linear-gradient(0deg, #000000ad 0%, transparent 160px, transparent 100%);
    }

    .map-filters {
      top: 103px;
      width: auto;
      overflow: auto;
      left: 0;
      right: 0;
      padding: 0 20px;
    }
    .map-filters-label {
      display: none;
    }
    .map-filters-list {
      gap: 4px;
    }
    .map-filter-checkbox-block:has(.map-filter-checkbox-input:checked) {
      background-color: #22E243;
    }
    .map-filter-checkbox-block {
      padding: 8px 24px 8px 14px;
    }
    .map-filter-checkbox {
      border: none;
    }
    .map-filter-checkbox-label {
      padding-left: 0;
    }
    .map-zoom {
      right: 13px;
      bottom: 8px;
    }
  }
}

/* HOWTO */
#bitomaty {
  .section-content {
    gap: 32px;
    padding: 0 110px;
    > div {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    > div > img {
      max-width: 100%;
    }
  }
  .section-title {
    margin-bottom: 64px;
  }
  .steps {
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 410px;
    gap: 20px;
    img {
      min-width: 50px;
    }
    > div {
      display: flex;
      gap: 8px;
      > div {
        align-content: center;
      }
    }
    .btn {
      margin-top: 48px;
    }
  }

  .bitomat {
    .section-content {
      > div > img {
      }
    }
  }
}

#bitomaty .deposit {
  .section-title {
    max-width: 800px;
    margin: auto;
    margin-bottom: 64px;
  }

  .section-content > div {
    display: flex;
  }
}
@media (max-width: 767.99px) {
  #bitomaty {
    .section-content {
      flex-direction: column;
      padding: 0;
      > div:nth-child(2) {
        /* order: -1; */
      }
      .btn {
        margin-inline: auto;
      }
    }

    .section-title {
      margin-bottom: 40px;
    }

    .deposit {
      .section-content {
        > div > img {
          margin: auto;
        }
      }

      .steps {
        max-width: unset;
        margin-inline: 16px;
      }
    }
  }
}

/* cities */

#bitomaty .cities {
  .section-title {
    max-width: 920px;
    margin-inline: auto;
  }
  .cities-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #f7f7f7;
    padding: 48px 64px;
    border-radius: 128px;
    gap: 24px;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    > div {
      display: flex;
      gap: 8px;
      align-items: center;
      cursor: pointer;
      position: relative;
      img {
        height: 24px;
        z-index: 1;
        transition: all 180ms;
      }
    }
    span {
      position: relative;
      z-index: 1;
    }

    > div::after {
      content: "";
      height: 30px;
      position: absolute;
      width: 0%;
      transition: all 180ms;
      bottom: -3px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #22e243;
      z-index: 0;
      border-radius: 16px;
    }
    > div:hover::after {
      width: calc(100% + 12px);
    }

    > div:hover img {
      filter: brightness(0);
    }
  }
}

@media (max-width: 767.99px) {
  #bitomaty .cities {
    .cities-card {
      font-size: 16px;

      span::after {
        height: 24px;
      }
    }
  }
}

/* cards-flip */
#bitomaty {
  .cards-flip {
    padding-top: 64px;
    margin-top: 0;
    .row {
      display: flex;
      gap: 16px;

      .card-img {
        flex: 1;
        overflow: hidden;
        border-radius: 12px;
      }
    }

    .cards-flip-row {
      display: flex;
    }

    .btn {
      margin: auto;
      margin-top: 64px;
    }

    .swiper-slide {
      height: auto;
      display: flex;
    }
  }

  .card-flip {
    height: auto;
    width: 100%;
    perspective: 1800px;
    overflow: visible !important;

    .card-img-description {
      top: 0;
      height: auto;
      text-align: left;
    }
    p {
      margin-bottom: 0;
    }
  }

  .card-flip-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.3s;
    transform-style: preserve-3d;
  }

  .card-flip-icon {
    background-color: #22e243;
    width: 30px;
    height: 30px;
    color: black;
    font-size: 32px;
    line-height: 26px;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    bottom: 20px;
    right: 32px;
    cursor: pointer;
  }

  .card-flip.flipped .card-flip-wrapper {
    transform: rotateY(180deg);
  }

  .card-flip-front,
  .card-flip-back {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 12px;
    h2 {
      text-transform: uppercase;
      font-size: 22px;
      font-weight: 800;
    }

    img {
      margin-top: 64px;
      margin-bottom: 32px;
    }
  }

  .card-flip-front {
    position: relative;
    padding: 42px;
    text-align: left;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    h2 {
      color: #000000;
      margin-bottom: auto;
    }
  }

  .card-flip-back {
    position: absolute;
    width: 100%;
    top: 0;
    background-color: #222222;
    color: white;
    transform: rotateY(180deg);
  }

  .card-img {
    position: relative;
    img {
      width: 100%;
      display: block;
      height: auto;
      object-fit: cover;
    }

    .card-img-description {
      position: absolute;
      bottom: 0;
      color: #ffffff;
      padding: 42px;
      gap: 4px;
      display: flex;
      flex-direction: column;
      width: 100%;
      h3 {
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
      }

      p {
        font-size: 16px;
      }
      .button {
        margin-top: auto;
        text-decoration: none;
        color: #000000;
        display: flex;
        align-items: center;
        height: 48px;
        font-size: 14px;
        padding-right: 32px;
        img {
          height: 11px;
          width: 11px;
          margin-left: 16px;
        }
      }
    }
  }
}
@media (max-width: 1100px) {
  #bitomaty {
    .cards-flip {
      .card-img-description {
        h2 {
          font-size: 32px;
          line-height: 32px;
        }
        p {
          font-size: 16px;
        }
      }
    }
  }
}

@media (max-width: 920px) {
  #bitomaty {
    .cards-flip {
      .card-img-description {
        padding: 32px;
        h2 {
          font-size: 20px;
          line-height: 22px;
        }
        p {
          font-size: 16px;
        }
      }
    }
  }
}

@media (max-width: 860px) {
  #bitomaty {
    .cards-flip {
      .card-img-description {
        h2 {
          font-size: 20px;
          line-height: 22px;
        }
        p {
          font-size: 14px;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  #bitomaty {
    .cards-flip {
      .row {
        flex-direction: column;
      }

      .card-img-description {
        h2 {
          font-size: 24px;
          line-height: 26px;
        }
        p {
          font-size: 16px;
        }
      }
    }
  }
}

/* exchange */

#bitomaty .exchange {
  .btn {
    margin: auto;
    margin-top: 64px;
  }
}

/* FAQ */

#bitomaty {
  .faq h2 {
    margin-bottom: 64px;
    text-align: center;
  }
  .faq {
    max-width: 1300px;
    margin: 128px auto 0 auto;
    padding: 0 24px;
    font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial,
      sans-serif;
  }
  .faq-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
  }
  .faq-content {
  }

  .faq-item:nth-child(1) {
    border-top: 1px solid #b5b5b5;
  }
  .faq-item {
    padding: 64px 110px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #b5b5b5;
  }

  .faq-item-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .faq-item-content {
    margin-top: 0;
    height: auto;
    max-height: 0px;
    overflow: hidden;
    transition: all 250ms;
    p {
      margin: 0;
      font-size: 14px;
    }
  }

  .faq-item img {
    transition: all 250ms;
  }

  .faq-item.active .faq-item-content {
    max-height: 80px;
    margin-top: 24px;
  }

  .faq-item.active img {
    transform: rotate(-180deg);
  }
}

.map-zoom {
  position: absolute;
  right: 35px;
  bottom: 44px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 64px;
  background: var(--Shades-Dark-Side-Rich-Black, #000);
}

.map-zoom__btn {
  width: 20px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 0;
}

.map-zoom__btn:hover {
  transform: translateY(-1px);
}
.map-zoom__btn:active {
  transform: translateY(0);
}
.map-zoom__btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media (max-width: 767.99px) {
  #bitomaty {
    .faq-item.active .faq-item-content {
      /* height: 60px; */
    }

    .faq-title {
      font-size: 28px;
    }

    .faq-item {
      padding: 32px 0;
    }
  }
  #bitomaty {
    #map-points-list {
      margin-left: 9px;

      .selected {
        max-width: 338px;
      }
    }
  }
  .map-zoom {
    right: 13px;
    bottom: 8px;
  }
}

/* JOIN ZEN */
#bitomaty {
  .join-zen {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 128px 0;
    font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Arial,
      sans-serif;
    position: relative;
    padding-inline: 16px;
  }

  .pattern-bkg {
    max-width: 1312px;
    width: 100%;
    flex-shrink: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: 15px;
    background-image: url("img/pattern.svg");
    background-repeat: repeat;
  }

  .join-zen__badges {
    display: flex;
    gap: 48px;
    transform: translateY(-45px);
  }

  .badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: white;
    border: 2px solid black;
    border-radius: 36px;
    width: 128px;
    height: 128px;
  }

  .badge--qr img {
    width: 96px;
    height: 96px;
  }

  .join-zen__eyebrow {
    color: #69e245;
    text-align: center;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 16px 0;
  }

  .join-zen__title {
    color: #000000;
    text-align: center;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin: 0 24px 24px 24px;
  }

  .join-zen__text {
    color: #000000;
    text-align: center;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin: 0 24px 48px;
  }

  .join-zen__code {
    color: #69e245;
    font-weight: 900;
  }

  .join-zen__stores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
  }

  .join-zen__stores img {
    height: 41.77px;
    width: auto;
  }

  .section-bkg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -10;
  }
}
@media (max-width: 767.99px) {
  #bitomaty {
    .join-zen {
      padding: 50 24px;
    }

    .join-zen__box {
      width: 100%;
      height: unset;
      border-radius: 20px;
      background: url("assets/images/pattern.svg") lightgray 0% 0% / 25px 25px
        repeat;
      padding-bottom: 40px;
    }

    .join-zen__badges {
      transform: translateY(-35px);
    }

    .badge--qr {
      display: none;
    }

    .join-zen__eyebrow {
      color: #69e245;
      text-align: center;
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
      margin-bottom: 16px;
    }

    .join-zen__title {
      color: #000000;
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      line-height: 32px;
      margin: 0 16px 16px;
    }
    .join-zen__title br {
      display: none;
    }
    .join-zen__text {
      color: #000000;
      text-align: center;
      font-size: 16px;
      font-weight: 400;
      line-height: 140%;
      margin: 0 16px 32px;
    }

    .join-zen__code {
      color: #22e243;
      font-weight: 900;
    }

    .join-zen__stores img {
      height: 52.214px;
    }
  }

  @media (max-width: 420px) {
    .join-zen__stores {
      flex-direction: column;
    }
  }
}

#colophon .img-fluid,
#top {
  filter: invert();
}
