.browsing-history {
  position: fixed;
  right: 23px;
  bottom: 80px;
}
@media (max-width: 1024px) {
  .browsing-history {
    right: 35px;
  }
}
@media (max-width: 500px) {
  .browsing-history {
    right: 20px;
  }
}
@media (min-width: 0) and (max-width: 739px) {
  .browsing-history {
    /* padding: 20px;
    top: 50%;
    transform: translateY(-50%); */
    z-index: 50;
  }
  .browsing-history > div {
    overflow: hidden;
  }
}
@media (min-width: 740px) {
  .browsing-history {
    max-height: 320px;
    max-height: 458px;
    /* overflow: hidden; */
    pointer-events: none;
    /* top: 50%;
    transform: translateY(-50%); */
    z-index: 99;
  }
}
.browsing-history a {
  margin-top: 5px;
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  pointer-events: auto;
}
@media (min-width: 0) and (max-width: 739px) {
  .browsing-history a {
    /* width: 100%; */
    /* margin: 0 0 10px 0; */
  }
}
@media (min-width: 740px) {
  .browsing-history a {
    /* transition: margin 0.35s ease; */
    /* margin-left: 120px; */
  }
}
.browsing-history a > div {
  position: relative;
  transition: all 0.35s ease;
  transition-property: transform;
  /* flex-wrap: nowrap;
  display: flex;
  float: right; */
}
/* @media (min-width: 0) and (max-width: 739px) {
  .browsing-history a > div {
    width: 100%;
  }
} */
@media (min-width: 740px) {
  .browsing-history a > div {
    /* border: 1px solid var(--color-border); */
    /* width: 60px; */
  }
}
@media (min-width: 740px) {
  .browsing-history a {
    width: 60px;
    height: 60px;
  }
  .browsing-history a:hover {
    /* margin-left: 0; */
  }
  .browsing-history a:hover > div {
    width: 244px;
    height: 64px;
  }
}
/* .browsing-history a.btn-fn {
  margin-top: 10px;
} */
/* .browsing-history a.btn-fn > div {
  border: none;
} */
/* .browsing-history a.btn-fn + .btn-fn {
  margin-top: 0;
} */
@media (min-width: 740px) {
  .browsing-history a:hover .text_container {
    opacity: 1;
  }
  .browsing-history a.btn-fn:hover .img_holder .num {
    background-color: #000;
    color: #fff;
  }
  .browsing-history a.btn-fn:hover .circle {
    background-color: var(--color-main);
  }
  .record .img_holder:hover .circle {
    background-color: var(--footer-color-hover);
  }
  .record .img_holder:hover .circle svg {
    transform: scale(1.1);
  }
  .browsing-history a.btn-fn:hover .circle svg {
    transform: scale(1.1);
  }
  /* .browsing-history a.btn-fn:hover > div {
    width: 64px;
    height: 64px;
  } */
}
.browsing-history .img_holder {
  background-size: cover;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
/* @media (min-width: 740px) {
  .browsing-history .img_holder {
    width: 60px;
    height: 60px;
  }
} */
.browsing-history .img_holder .num {
  position: absolute;
  font-family: var(--font-family-en);
  font-size: 11px;
  color: #fff;
  background-color: var(--color-main);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0;
  top: 0;
  transform-origin: center;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.browsing-history .circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #000;
  transition: background-color 0.3s ease;
}
.browsing-history .circle path {
  fill: #fff;
}
.browsing-history .circle svg {
  display: block;
  width: 50%;
  height: auto;
  transition: transform 0.3s ease;
}
.browsing-history .text_container {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: center;
  padding: 0 0 0 20px;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translate(0,-50%);
  pointer-events: none;
  opacity: 0;
  transition: .5s;
}
@media (min-width: 0) and (max-width: 739px) {
  .browsing-history .text_container {
    /* border-bottom: 1px solid var(--color-border);
    width: calc(100% - 72px); */
    display: none;
  }
  /* .browsing-history .img_holder {
    width: 64px;
    height: 64px;
  } */
}
@media (min-width: 740px) {
  .browsing-history .text_container {
    /* width: 180px; */
    /* white-space: nowrap; */
    padding: 5px 10px;
    background-color: #fff;
    max-width: 120px;
    width: 100%;
    box-sizing: content-box;
  }
}
.browsing-history .fz-C {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  height: auto;
  line-height: 1.25em;
  -webkit-box-orient: vertical;
  font-size: 15px;
  color: #000;
}
/* @media (min-width: 740px) {
  .browsing-history .fz-C {
    font-size: 14px;
  }
} */
.browsing-history .price {
  font-family: var(--font-family-en);
  display: block;
  padding-top: 5px;
  font-size: 14px;
}
.browsing-history .price .sp {
  font-weight: bold;
  color: var(--color-main);
}
.browsing-history .price .orig {
  text-decoration: line-through;
  font-size: 11px;
  color: #666;
}
@media (min-width: 0) and (max-width: 739px) {
  .browsing-history .price {
    font-size: 13px;
  }
}
@media (min-width: 0) and (max-width: 350px) {
  .browsing-history .price {
    font-size: 11px;
    letter-spacing: -0.1px;
  }
}
.record {
  position: relative;
  width: 60px;
  margin-left: auto;
  pointer-events: auto;
}
.record .img_holder{
  cursor: pointer;
  /* pointer-events: auto; */
}
.record .img_holder .num{
  opacity: 0;
  /* cursor: pointer; */
  /* pointer-events: auto; */
}
.record .cont {
  position: absolute;
  right: 100%;
  bottom: 0;
  margin-right: 0px;
  pointer-events: none;
  opacity: 0;
  transition: .5s;
}
.record .cont a {
  margin-left: 0;
  pointer-events: none;
}
.record .text_container {
  width: 100px;
  background-color: rgba(255, 255, 255, .5);
}
.record.show .cont {
  margin-right: 10px;
  pointer-events: auto;
  opacity: 1;
  transition: .5s;
}
.record.show .img_holder .num{
  opacity: 1;
}
.record.show .cont a {
  pointer-events: auto;
}
