svg > g > path[data-has-store="true"] {
  cursor: pointer;
}

svg > g > path[data-has-store="true"]:hover {
  fill: var(--agora-red);
}

#stores-tabs {
  padding: var(--content-spacing);
}

#stores-tabs > .eg-container > .eg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#stores-tabs > .eg-container > .eg-wrapper > .box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--agora-white-3);
  border-radius: 100px;
  padding: 1rem;
  color: var(--agora-black);
  font-size: var(--font-16);
  font-weight: 400;
  transition: 0.3s;
}

#stores-tabs > .eg-container > .eg-wrapper > .box:hover {
  color: var(--agora-red);
  background: rgba(227, 6, 19, 0.1);
}

#stores {
  padding-bottom: 4rem;
}

#stores > .eg-container > .eg-wrapper {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

#stores > .eg-container > .eg-wrapper > .all-stores {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 1rem;
}

#stores > .eg-container > .eg-wrapper > .all-stores::-webkit-scrollbar {
  width: 10px;
}

#stores > .eg-container > .eg-wrapper > .all-stores::-webkit-scrollbar-thumb {
  background: var(--agora-grey);
  border-radius: 100px;
}

#stores > .eg-container > .eg-wrapper > .all-stores::-webkit-scrollbar-track-piece {
  background: var(--agora-white-3);
}

#stores .all-stores > .box {
  border: 1px solid #cdcdcd;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

#stores .all-stores > .box > .image {
  min-height: 100px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

#stores .all-stores > .box > .image > img {
  object-fit: contain;
  object-position: center;
}

#stores .all-stores > .box > .description {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.5rem;
}

#stores .all-stores > .box > .description > b {
  color: var(--agora-black);
  font-size: var(--font-18);
  font-weight: 600;
}

#stores .all-stores > .box > .description > a {
  color: var(--agora-black);
  font-size: var(--font-16);
  font-weight: 400;
}

#stores .store-names {
  min-width: 200px;
  position: absolute;
  z-index: 3;
  background: var(--agora-white);
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.15);
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
}

#stores .store-names::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-top: 20px solid var(--agora-white);
  right: 0;
  bottom: -20px;
}

#stores .store-names > figure > img {
  width: 125px;
  height: 115px;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1/1;
}

#stores .store-names > .description {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
}

#stores .store-names > .description > p {
  color: var(--agora-black);
  font-size: var(--font-18);
  font-weight: 600;
}

#stores .store-names > .description > a {
  color: var(--agora-black);
  font-size: var(--font-16);
  font-weight: 400;
}

@media (max-width: 1600px) {
  #stores > .eg-container > .eg-wrapper {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 1400px) {
  #stores > .eg-container > .eg-wrapper {
    grid-template-columns: 1fr 1.5fr;
  }
  #stores > .eg-container > .eg-wrapper > .all-stores {
    max-height: 500px;
  }
  #stores .store-map > svg {
    height: 500px;
  }
}

@media (max-width: 1200px) {
  #stores .all-stores > .box {
    grid-template-columns: 1fr 3fr;
  }
  #stores .all-stores > .box > .image {
    min-width: 100px;
  }
}

@media (max-width: 992px) {
  #stores > .eg-container > .eg-wrapper {
    grid-template-columns: var(--col-12);
  }
}

@media (max-width: 768px) {
  #stores .store-map > svg {
    height: 400px;
  }
}

@media (max-width: 576px) {
  #stores > .eg-container > .eg-wrapper > .all-stores {
    max-height: 400px;
  }
  #stores .store-map > svg {
    height: 300px;
  }
}

@media (max-width: 450px) {
  #stores .store-map > svg {
    height: 250px;
  }
  #stores .all-stores > .box {
    grid-template-columns: var(--col-12);
    gap: 0;
  }
  #stores .all-stores > .box > .image {
    padding: 1rem;
  }
  #stores .all-stores > .box > .description {
    padding: 1rem;
    align-items: center;
    text-align: center;
  }
}
