.find-workshop {
  background-color: var(--tertiary-white);
  color: var(--secondary-black);
  padding-top: 0;
  padding-bottom: 2.75rem;
  position: relative;

  @media (width>=1024px) {
    padding-top: 5rem;
    padding-bottom: 0;
  }

  .find-workshop__header {
    @media (min-width: 768px) {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .find-workshop__header-title {
      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        color: var(--secondary-black);
        font-size: var(--heading-font-size-m);
        font-style: normal;
        font-family: var(--body-font-arena);
        line-height: var(--heading-lh-19-mob-text-small);
        font-weight: var(--fw-700);
        width: 71%;
        margin: 0;

        @media (min-width: 768px) {
          font-size: var(--heading-font-6-mob);
          line-height: var(--heading-lh-16-des-display);
          width: auto;
        }
      }
    }

    .find-workshop__cta {
      padding: var(--space-12px) var(--space-24px);
      font-weight: var(--fw-400);
      font-size: var(--body-font-size-xxs);
      line-height: var(--heading-lh-4--mob-text-medium);
      color: var(--primary-blue-700);
      border: 1px solid var(--primary-blue-700);
      text-align: center;
      position: absolute;
      bottom: 0;
      width: calc(100% - 2.5rem);

      @media (min-width: 768px) {
        position: static;
        width: auto;
      }
    }
  }

  .find-workshop__content {
    margin-top: 0.75rem;

    @media (min-width: 768px) {
      margin-top: 2.5rem;
      gap: var(--grid-gutter-width);
    }

    .find-workshop__form-container {
      .find-workshop__form {
        margin-bottom: var(--space-24px);

        @media (min-width: 768px) {
          margin-bottom: var(--space-32px);
        }

        input[type='number'] {
          background: none;
          width: 100%;
          color: var(--tertiary-black);
          border: none;
          border-bottom: 0.5px solid var(--inactive-content);
          padding: var(--space-8px) 0;
          line-height: var(--heading-font-12-mob);
          font-weight: var(--fw-600);
          font-size: var(--body-font-size-xxs);
          font-style: normal;

          &:focus {
            outline: none;
          }

          @media (min-width: 768px) {
            padding: var(--space-8px) 0;
            font-size: var(--body-font-size-xs);
            border-bottom: 0.5px solid var(--light-grey-shade-6);
          }
        }

        .find-workshop__form-field {
          position: relative;

          custom-select {
            border: none;
            position: relative;
            outline: none;
            width: 100%;
            margin: 0;
            padding: 0;
            appearance: none;
            color: var(--primary-main, #18171a);

            font-family: var(--font-primary-nexa);
            font-size: var(--body-font-size-xs);
            font-weight: var(--fw-500);
            line-height: var(--heading-lh-19-mob-text-small);

            @media (width >=768px) {
              font-size: var(--body-font-size-s);
              line-height: var(--heading-lh-21-des-text-small);
            }

            .select-items {
              .active {
                .select__option {
                  color: var(--primary-blue-700);
                  font-weight: 600;
                }
              }
              .custom-option {
                display: flex;
                align-items: start;
                gap: 0.5rem;
                cursor: pointer;
                padding: var(--space-12px) var(--space-8px);
              }

              .select__option {
                font-family: var(--body-font-arena);
                font-weight: var(--fw-400);
                text-overflow: ellipsis;
                display: block;
                overflow: hidden;
                flex: 1;
                font-style: normal;
                margin-top: 0.1rem;
                font-size: var(--body-font-size-xxxs);
                color: var(--tertiary-black);
                line-height: normal;

                @media (width >=768px) {
                  font-size: var(--body-font-size-xxs);
                  line-height: var(--heading-lh-6-des);
                  margin-top: 0;
                }
              }

              .custom-option:hover,
              .custom-option.active {
                .select__icon {
                  background-image: url('/icons/arena-checkbox-filled.svg');
                }
              }

              .select__icon {
                content: ' ';
                width: 1rem;
                height: 1rem;
                display: inline-block;
                background: url('/icons/arena-checkbox-unfilled.svg') no-repeat center / contain;
                flex-shrink: 0;

                @media (width >=768px) {
                  width: 1rem;
                  height: 1rem;
                  margin-top: 0.1rem;
                }
              }
            }

            .select-hide {
              display: none;
            }

            .select-show {
              display: flex;
              flex-direction: column;
              position: absolute;
              max-height: 274px;
              overflow-y: auto;
              background: var(--tertiary-white);
              box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);

              z-index: 10;
              margin-top: 0;

              @media (width >=768px) {
                top: 1.9rem;
              }
            }

            .select-selected {
              background: url('/icons/chevron_right.svg') no-repeat right 0 center;
              background-size: 1.5rem 1.5rem;
              cursor: pointer;
              position: relative;
              width: 100%;
              font-family: var(--body-font-arena);
              font-size: var(--body-font-size-xxs);
              color: var(--tertiary-black);
              font-weight: var(--fw-600);
              line-height: var(--heading-lh-19-mob-display);
              border: none;
              text-align: left;
              padding: var(--space-8px) var(--space-24px) var(--space-8px) 0;
              border-bottom: 0.5px solid var(--inactive-content);
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;

              @media (width >=768px) {
                font-size: var(--body-font-size-xs);
                line-height: var(--heading-lh-6-des);
                padding-top: var(--space-2px);
                padding-bottom: var(--space-6px);
              }
            }
          }

          .form__icon {
            content: '';
            height: 1.5rem;
            width: 1.5rem;
            position: absolute;
            display: block;
            right: 0;
            bottom: 0.25rem;
            cursor: pointer;
          }

          .form__icon-pincode {
            width: 1.5rem;
            height: 1.5rem;
            border: none;
            background: center / cover no-repeat url(/icons/location_searching_black.svg);
          }

          &.pincode-field {
            margin-top: var(--space-8px);

            @media (min-width: 1024px) {
              margin-top: 0;
            }
          }

          input[type='number'] {
            appearance: textfield;
          }

          input[type='number']::-webkit-inner-spin-button,
          input[type='number']::-webkit-outer-spin-button {
            appearance: none;
            margin: 0;
          }
        }
      }

      .find-workshop__error {
        display: block;
        font-size: var(--body-font-size-xxxs);
        color: var(--tertiary-black);

        @media (min-width: 768px) {
          font-size: var(--body-font-size-xxs);
        }

        &:empty {
          margin: 0;
          display: none;
        }
      }

      .find-workshop__card-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin: 0;
        margin-bottom: var(--space-24px);

        .workshop-card {
          padding: var(--space-8px) 0 var(--space-8px) var(--space-8px);
          border-bottom: 0.5px solid var(--primary-black);

          @media (width >=768px) {
          }

          address {
            font-style: normal;
          }

          .workshop-card__header {
            margin-bottom: var(--space-12px);
            display: flex;
            justify-content: space-between;
            align-items: center;

            @media (width >=768px) {
              margin-bottom: var(--space-16px);
            }

            .workshop-card__title {
              color: var(--secondary-black);
              font-weight: var(--fw-500);
              font-family: var(--body-font-arena);
              line-height: var(--heading-lh-19-mob-display);
              font-size: var(--body-font-size-xs);
              flex: 1;
              display: grid;
              grid-template-rows: repeat(2, 1fr);
              max-height: calc(var(--heading-lh-19-mob-display) * 2);
              overflow: hidden;
              word-break: break-word;

              @media (width >=768px) {
                display: block;
                grid-template-rows: none;
                max-height: none;
                line-height: var(--heading-lh-5--mob);
                font-size: var(--heading-font-12-des);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
              }
            }

            .workshop-card__distance {
              color: var(--tertiary-black);
              font-size: var(--body-font-size-xs);
              font-weight: var(--fw-500);
              font-style: normal;
              line-height: 1rem;
              flex: 1.1;
              text-align: end;

              @media (width >=768px) {
                flex: 0.5;
                font-size: var(--body-font-size-s);
                line-height: var(--heading-lh-11-des-text-small);
              }
            }
          }

          .workshop-card__address {
            color: var(--secondary-gray-800);
            font-weight: var(--fw-400);
            font-size: var(--body-font-size-xxxs);
            line-height: 1.0625rem;
            max-width: 9.1875rem;
            margin-bottom: 1.25rem;

            @media (width >=768px) {
              font-size: var(--body-font-size-xxs);
              margin-bottom: 1.0625rem;
              max-width: 10.6875rem;
            }
          }

          .workshop-card__actions {
            display: flex;

            justify-content: space-between;

            @media (width >=768px) {
              align-items: flex-end;
              flex-direction: row;
              margin-bottom: var(--space-11px);
            }

            .workshop-card__phone {
              color: var(--primary-blue-700);
              font-size: var(--body-font-size-xxs);
              font-style: normal;
              line-height: var(--heading-lh-19-mob-text-small);
              font-weight: var(--fw-400);

              @media (width >=768px) {
                line-height: 1.05rem;
              }
            }

            .workshop-card__map-link {
              font-size: var(--body-font-size-xxs);
              font-style: normal;
              font-weight: var(--fw-500);
              line-height: 0.875rem;
              color: var(--primary-blue-700);
              text-decoration: underline;
              cursor: pointer;
              background: none;
              border: none;
              padding: 0;

              @media (width >=768px) {
                font-size: var(--body-font-size-xxs);
                line-height: 0.875rem;
              }

              .workshop-card__cta-icon {
                display: inline-block;
                background: url('/icons/arrow_forward.svg') no-repeat center center;
                height: var(--space-16px);
                width: var(--space-16px);
                vertical-align: text-bottom;
                transform: rotate(-45deg);
                @media (width>=1024px) {
                  width: 1.125rem;
                  height: 1.125rem;
                }
              }
            }
          }
        }
      }
    }

    .find-workshop__map-container {
      display: flex;
      align-items: center;
      margin-bottom: var(--space-16px);
      @media (width>=768px) {
        margin-bottom: 0;
      }
    }

    .find-workshop__map {
      width: 100%;
      aspect-ratio: 4/3;

      @media (min-width: 768px) {
        max-height: 372px;
      }

      .mapboxgl-canvas {
        filter: grayscale(90%);
      }

      #mmi_alert0,
      #mLogo0,
      #mmi_menu0,
      .maplibregl-control-container {
        display: none;
      }
    }
  }

  .splide__track {
    padding: 0 !important;
  }

  .splide__slide {
    margin: 0 !important;
  }

  .custom-marker {
    height: 24px;
    width: 24px;
    .location-marker {
      display: inline-block;
      background: url(/icons/map-marker.png) no-repeat center/contain;
      height: 24px;
      width: 24px;
      transition: all 0.2s ease;
      &.bookmarked {
        transform: scale(1.3);
      }
    }

    &.hovered,
    &:hover {
      transform: scale(1.6);
      .location-marker {
        background: url(/icons/map-hover-marker.png) no-repeat center/contain;
      }
    }
}
