* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

html, body {
    width: 100%;
	font-family: 'Tenor Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','游ゴシック','Yu Gothic',sans-serif;	
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}
.history-btn {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 15px;
    bottom: 26%;
    border-radius: 5px;
    z-index: 5;
    opacity: 0.7;
    text-align: center;
    background: #fff;
	-webkit-box-shadow: 0 0 5px 0 hsl(0deg 6% 58% / 60%);
}
.his-notice-class {
	width: 85%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 10;
	opacity: 0; /* 初始透明 */
	background:#f6f6f6;	
	padding: 20px 10px 10px;
	border-radius: 5px;
}
.his-product {
	max-height: 80vh;
    overflow-y: scroll;
}

.his-notice-class .close-his-notice {
	position: absolute;
    top: 11%;
    right: 9%;
	padding: 10px;
}
.his-notice-class.animate {
  animation: scaleAndShake 1.2s ease-in-out forwards; /* 动画应用 */
}

@keyframes scaleAndShake {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.1); /* 稍微放大超出目标 */
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -50%) scale(0.95); /* 抖动：略微缩小 */
  }
  90% {
    transform: translate(-50%, -50%) scale(1.05); /* 抖动：再次放大 */
  }
  100% {
    transform: translate(-50%, -50%) scale(1); /* 最终正常大小 */
    opacity: 1;
  }
}

.his-product .prod-details{
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 1px 1px 5px #e1e1e1;
	margin-bottom: 10px;
    border-radius: 10px;
}
.his-product .prod-img{
	 width: 80px;
  height: 80px; /* 和 width 相等 = 1:1 */
  overflow: hidden;
	padding: 5px;
}
.his-product .prod-img img{
	  width: 100%;
  height: 100%;
  object-fit: cover;
	border-radius: 10px;
}
.his-product .prod-name{
	    width: 100%;
    font-size: 12px;
    margin: 0.325rem 0px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
}
.prod-name-title-price{
	display: flex;
    flex-direction: column;
    align-items: flex-start;
	margin: 5px 12px;	
	width: 70%;
}
.h-date{
	text-align: right;
    width: 100%;
}
.h-date div{
	font-size: 12px;
}
