.browsing-history {
  position: fixed;
  right: 23px;
  bottom: 30px;
}
@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 {
  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: 180px; */
  }
}
.browsing-history a > div {
  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.btn-fn:hover {
    margin-left: 180px;
  }
  .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);
  }
  .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;
}
/* @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;
}
@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;
    padding: 5px 10px;
    background-color: #fff;
  }
}
.browsing-history .fz-C {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  height: 2.5em;
  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;
  }
}
