.offline-stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.offline-stores-header {
  background: #fff;
  border-radius: 8px;
  padding: 20px 20px 12px;
}

.offline-stores-header p {
  margin-bottom: 0 !important;
}

.offline-stores-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.offline-stores-header p a {
  color: #0074eb;
  text-decoration: underline !important;
}

.offline-stores-wrapper {
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 360px 1fr;
}

.offline-stores-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
  padding: 20px 20px 0;
}

.offline-stores-filters input,
.offline-stores-filters select {
  border-radius: 6px;
  border: 1px solid #d3d3d3;
  padding: 12px;
  width: 100%;
  line-height: 100%;
}

.offline-stores-filters input::placeholder {
  color: #d3d3d3;
}

.offline-stores-filters .input-block {
  position: relative;
}

.offline-stores-filters .input-block::after {
  content: "";
  background-image: url("/assets/uiicons/search.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.offline-stores-list {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow-y: auto;
  padding: 0 20px 20px;
  margin-top: 20px;
}

.offline-stores-list::-webkit-scrollbar {
  width: 4px;
}

.offline-stores-list::-webkit-scrollbar-thumb {
  background: #9e9e9e;
  border-radius: 3px;
}

.offline-stores-list::-webkit-scrollbar-track {
  background: transparent;
}

.offline-stores-block {
  cursor: pointer;
}

.offline-stores-block-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #f2f2f2;
}

.offline-stores-block-row {
  display: flex;
  gap: 8px;
  color: #9e9e9e;
  margin-bottom: 5px;
  line-height: 20px;
}

.offline-stores-block-row .icon {
  height: 18px;
  display: flex;
  align-items: center;
}

.offline-stores-block-row svg {
  flex-shrink: 0;
}

.offline-stores-block-row:first-child {
  font-weight: 500;
  color: #000;
}

.offline-stores-block-row:last-child {
  margin-bottom: 0;
}

.offline-stores-block-content {
  display: none;
}

.offline-stores-block-content .get-direction {
  padding: 14px 0;
  display: flex;
  color: #000;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  background: #f7cd46;
  border-radius: 5px;
  margin-top: 16px;
  font-weight: 500;
}

.offline-stores-block.open .offline-stores-block-content {
  display: block;
}

.offline-stores-block .arrow {
  transition: 0.3s;
}

.offline-stores-block.open .arrow {
  transform: rotate(180deg);
}

.shop-slider-for {
  position: relative;
  height: 200px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.shop-slider-for .slick-slide {
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
}

.shop-slider-for .slick-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.shop-slider-nav .slick-slide {
  height: 50px;
  cursor: pointer;
  padding: 0 2px;
  border-radius: 6px;
  overflow: hidden;
}

.shop-slider-nav .slick-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* .shop-slider-nav .slick-active {
  background: red;
}

.shop-slider-nav .slick-current {
  background: blue;
} */

.shop-slider-for img,
.shop-slider-for iframe {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shop-slide-nav .slick-slide {
  height: 200px;
}

.shop-slider-nav img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.slick-arrow.small {
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.video-slide iframe {
  width: 100%;
  height: 200px;
  max-height: 200px;
}

.offline-stores-map {
  height: 100%;
  width: 100%;
  z-index: 10;
  min-height: 500px;
  border-radius: 8px;
}

.map-point-block {
  font-family: "Montserrat", sans-serif;
}

.offline-stores-map .leaflet-popup-content {
  margin: 20px;
}

.map-point-block h4 {
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 6px;
}

.map-point-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.map-point-link {
  border-radius: 5px;
  background: #f7cd46;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-stores-map a.leaflet-popup-close-button {
  color: #9e9e9e !important;
  right: 6px !important;
  top: 6px !important;
}

.offline-stores-nav {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #d3d3d3;
}

.offline-stores-nav button {
  border-radius: 5px;
  border: 1px solid #d3d3d3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 500;
  padding: 14px 0;
}
.offline-stores-nav button.active {
  border: 1px solid #f7cd46;
}

.offline-stores-empty {
  font-weight: 500;
  color: #d3d3d3;
  text-align: center;
}

.offline-stores-map .leaflet-popup-content-wrapper {
  border-radius: 6px;
}

.offline-stores-map .leaflet-popup-content-wrapper,
.offline-stores-map .leaflet-popup-tip {
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.1) !important;
}

.shop-gallery {
  border-radius: 6px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .offline-stores-wrapper {
    grid-template-columns: 100%;
    margin-bottom: 28px;
  }
  .offline-stores-nav {
    display: grid;
  }

  .offline-stores-list {
    margin-top: 0;
  }

  .offline-stores-map {
    border-radius: 0;
  }

  .offline-stores-list,
  .offline-stores-map {
    display: none;
  }

  .offline-stores-list.visible {
    display: flex;
  }

  .offline-stores-map.visible {
    display: block;
  }
}

@media (max-width: 767px) {
  .offline-stores {
    margin-bottom: 0;
  }

  .offline-stores-container {
    padding: 0 !important;
  }

  .offline-stores-container .breadcrumb {
    padding: 17px 20px;
  }

  .offline-stores-header {
    padding: 16px;
  }

  .offline-stores-filters {
    padding: 0 16px;
  }

  .offline-stores .slick-arrow {
    display: inline !important;
  }

  .offline-stores-list {
    padding-bottom: 24px;
  }

  .offline-stores-map {
    margin-top: 24px;
  }

  .offline-stores-map .leaflet-popup-content {
    margin: 12px;
  }

  .offline-stores-header h1 {
    font-size: 16px;
  }
}
