.stores-list {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.city-title {
  font-size: 18px;
  font-weight: bold;
  padding: 15px 0;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  background: #fff;
  display: inline-block;
  width: 100%;
  margin: 0;
}

.city-title:before {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  left: 0;
  right: 0;
  height: 3px;
  background: #444;
  z-index: 1;
}

.city-title span {
  background: #fff;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 24px;
  font-weight: 400;
  font-family: 'Roboto', Arial, sans-serif;
}

.stores-container {
  padding: 0 20px;
}

.store-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
}

.store-left {
  flex: 1;
  text-align: center;
  padding-right: 20px;
}

.store-left h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #454545;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 16px;
}

.store-left .store-image {
  margin-top: 20px;
}

.store-left img {
  max-height: 110px;
  width: auto;
  max-width: 100%;
  border-radius: 4px;
}

.store-right {
  flex: 1;
  padding-top: 5px;
}

.list-custom__content {
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

.list-custom__content p {
  margin: 3px 0;
  color: #333;
}

.list-custom__content strong {
  font-weight: bold;
  color: #000;
}

.list-custom__content a {
  color: #d3a3da;
  text-decoration: none;
}

.list-custom__content a:hover {
  text-decoration: underline;
}

.store-separator {
  text-align: center;
  margin: 30px 0;
  font-size: 24px;
  color: #666;
  line-height: 1;
}

.store-separator:before {

  content: '';
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.store-separator:after {
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
}



@media (max-width: 768px) {
  .store-item {
    flex-direction: column;
  }

  .store-left {
    flex: 0 0 100%;
    width: 100%;
  }

  .store-right {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* Cities Filter & Sidebar Layouts */
.komilfo-stores-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
  max-width: 1320px;
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.komilfo-stores-main {
  min-width: 0; /* Prevents flex items from overflowing */
}

/* Sidebar structure */
.stores-filter-sidebar {
  position: sticky;
  top: 100px;
}

.stores-filter-sidebar__inner {
  background: #ffffff;
  border: 1px solid #f1e9f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(185, 105, 221, 0.02);
}

.stores-filter-sidebar__header {
  display: none;
}

.stores-filter-sidebar__overlay {
  display: none;
}

.stores-filter__toggle {
  display: none;
}

/* Filters List */
.stores-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 8px 0 0;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin !important;
  scrollbar-color: #000000 #F5F5F5 !important;
}

.stores-filter::-webkit-scrollbar {
  width: 6px !important;
  background-color: #F5F5F5 !important;
}

.stores-filter::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
  background-color: #F5F5F5 !important;
  border-radius: 30px !important;
}

.stores-filter::-webkit-scrollbar-thumb {
  background-color: #000000 !important;
  border-radius: 30px !important;
}

.stores-filter__btn {
  background: #faf7fc;
  color: #444;
  border: 1px solid #ebdcf5;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(185, 105, 221, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  width: 100%;
}

.stores-filter__btn::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.stores-filter__btn:hover {
  background: #f7effc;
  border-color: #d3a3da;
  color: #b969dd;
}

.stores-filter__btn:hover::after {
  transform: translateX(3px);
  opacity: 0.8;
}

.stores-filter__btn.is-active {
  background: #b969dd;
  border-color: #b969dd;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(185, 105, 221, 0.24);
}

.stores-filter__btn.is-active::after {
  transform: translateX(3px);
  opacity: 1;
  color: #fff;
}

/* Animations and Hiding */
.city-section.is-hidden {
  display: none !important;
}

.city-section {
  animation: fadeInCity 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInCity {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Mobile Layouts */
@media (max-width: 991px) {
  .komilfo-stores-layout {
    display: block;
    margin: 20px auto;
    padding: 0 16px;
  }

  /* Off-canvas sidebar */
  .stores-filter-sidebar {
    position: static !important;
  }

  .stores-filter-sidebar__inner {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    z-index: 10000;
    border: none;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 25px;
    box-sizing: border-box;
  }

  .stores-filter-sidebar.is-open .stores-filter-sidebar__inner {
    left: 0;
  }

  /* Sticky floating filter toggle */
  .stores-filter__toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    left: 0 !important;
    bottom: 140px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 9998 !important;
    padding: 0 !important;
    border: 1px solid rgba(185, 105, 221, 0.2) !important;
    border-left: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s !important;
  }

  .stores-filter__toggle i {
    font-size: 16px !important;
    margin: 0 !important;
  }

  .stores-filter__toggle:hover {
    background: #b969dd !important;
  }

  /* Close button */
  .stores-filter-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1e9f6;
    padding-bottom: 15px;
    width: 100%;
  }

  .stores-filter-sidebar__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1918;
    text-transform: uppercase;
    font-family: 'Roboto', Arial, sans-serif;
  }

  .stores-filter-sidebar__close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s ease;
  }

  .stores-filter-sidebar__close:hover {
    color: #b969dd;
  }

  /* Scrollable filter list on mobile */
  .stores-filter {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 110px);
    padding-right: 5px;
  }

  /* Sidebar backdrop overlay */
  .stores-filter-sidebar__overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .stores-filter-sidebar.is-open .stores-filter-sidebar__overlay {
    opacity: 1;
    visibility: visible;
  }
}
