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

.offline-stores-info {
  margin: 10px 0 40px;
}

.offline-stores-header {
  background: #fff;
  border-radius: 8px;
  padding: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

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

.offline-stores-filters #shop_search_block input {
  padding-right: 36px;
}

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

.offline-stores-container input,
.offline-stores-container select {
  border-radius: 6px;
  background: #f8f9fa;
  border: 0;
  padding: 12px;
  width: 100%;
  line-height: 100%;
  font-size: 16px;
}

.offline-stores-container input:focus,
.offline-stores-container input:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
}

.offline-stores-header input {
  color: #8672D2;
}

.offline-stores-header .custom-select-dropdown .popular-queries {
  display: none;
}

.offline-stores-container input::placeholder {
  color: #d3d3d3;
  font-size: 14px;
}

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

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

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

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

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

.offline-stores-block {
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #f8f9fa;
  margin-bottom: 4px;
  transition: border 0.3s;
  padding: 12px;
}

.offline-stores-block:hover {
  border: 1px solid #d5d5d5;
}

.offline-stores-block.open {
  border: 1px solid #75a7f6;
}

.offline-stores-block-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.offline-stores-block-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  margin-bottom: 12px;
  line-height: 20px;
  text-decoration: none !important;
  font-weight: 500;
}

.offline-stores-map .offline-stores-block-row {
  margin-bottom: 8px;
  font-size: 14px;
}

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

.offline-stores-block-row:hover {
  color: #000 !important;
}

.offline-stores-block-row:hover .info {
  color: #848890;
}

.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 {
  color: #000;
}

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

.offline-stores-block-row .info {
  color: #848890;
  font-weight: 400;
}

.offline-stores-block-row .info.block {
  display: block;
  font-size: 13px;
}

.offline-stores-block-content {
  display: none;
  margin-top: 12px;
}

.offline-stores-block-content .get-direction {
  padding: 22px 0;
  width: 100%;
  margin: 10px 0 20px;
}

.offline-stores-block-content .close-button {
  padding: 10px 0;
  display: block;
  margin-top: 20px;
  font-weight: 500;
  border-radius: 8px;
  background: #f8f9fa;
  width: 100%;
  font-size: 14px;
}

.offline-stores-block-content .close-button:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}

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

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

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

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

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

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

.slick-arrow.small {
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.shop-slider-dots .slick-dots {
  margin: 6px 0 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.shop-slider-dots .slick-dots li {
  width: 6px;
  height: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-slider-dots .slick-dots li button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d9d9d9;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.shop-slider-dots .slick-dots li.slick-active {
  width: 8px;
  height: 8px;
}

.shop-slider-dots .slick-dots li.slick-active button {
  background: #8672d2;
}

.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: 12px;
}

.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: 8px;
  background: #73aaf8;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-stores-map a.leaflet-popup-close-button {
  color: #9e9e9e !important;
  right: 12px !important;
  top: 12px !important;
  border-radius: 8px;
  background: #f8f9fa !important;
  width: 32px !important;
  height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-stores-nav {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offline-stores-nav button {
  border-radius: 6px;
  border: 1px solid #e6e7ea;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 500;
  padding: 14px 0;
  color: #000;
}

.offline-stores-nav button.active {
  background: #f8f9fa;
  border: 1px solid #75a7f6;
}

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

.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%;
    gap: 0;
  }
  .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-container {
    padding: 0 !important;
  }

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

  .offline-stores-header {
    padding: 0 12px 0;
  }

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

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

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

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

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

/* TODI ПЕРЕНЕСТИ В ЗАГАЛКУ */

.slick-arrow.slick-hidden {
  display: none;
}

.slick-arrow.swiper-button-disabled {
  display: none !important;
}

.slick-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px !important;
  cursor: pointer;
  z-index: 1;
  top: 50%;
  transform: translate(0, -50%);
  position: absolute;
  text-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  transition: 0.3s;
  font-size: 20px !important;
}

.slick-arrow:hover {
  background: #d3d3d3;
}

.slick-arrow.arrow-left {
  left: 10px;
}

.slick-arrow.arrow-right {
  right: 10px;
}

.slick-arrow.arrow-left img {
  left: 10px;
  transform: rotate(180deg);
}

.slick-arrow img {
  width: 6px;
}
