body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > div:not(.top,.footer_section) {
  flex: 1;
}

body * {
  box-sizing: border-box;
}
.font-md {
  font-size: 12px;
  color: #1d2129;
  cursor: pointer;
  font-family: Helvetica;
font-weight: 400;
}
.font-md-w {
  font-size: 13px;
  font-weight: bold;
  color: #1d2129;
  cursor: pointer;
  font-family: Helvetica;
font-weight: 400;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
a{
  color: #1d2129;
}
a:hover {
  color: #FF6A77;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-baseline {
  align-self: baseline;
}

.self-stretch {
  align-self: stretch;
}

.px-10{
  padding: 10px 0;
}
.py-10{
  padding: 0 10px;
}
.overflow-x {
  overflow-x: auto;
}
/* 5. 边框效果 */
.img-border {
  transition: border 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.img-border:hover {
  border: 2px solid #FFD9E6;
}
.text-title {
  margin-top: 30px;
  margin-bottom: 10px;
}
.text-title h5 {
  font-family: Georgia;
  font-weight: 400;
  color: #000000;
  line-height: 28px;
}
.text-title a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F8F1ED;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_top_box {
  width: 100%;
  height: 160px;
  background: #F5F5F5;
  border-radius: 8px;
}
.product_top_box img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
   mix-blend-mode: multiply;
}
.product_box_flex {
  display: flex;
  flex-wrap: wrap; /* 允许换行 */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* 自动填充列 */
  gap: 10px; /* 设置间距 */
}
.product_box_flex_item {
  flex: 1 1 auto;
  min-width: 160px; /* 设置一个最小宽度，避免子项变得太小 */
  box-sizing: border-box; /* 确保内边距和边框被包含在元素的总宽度和高度中 */
  cursor: pointer;
  margin-bottom: 20px;
}
/* @media (min-width: 375px) and (max-width: 500px) {
  .product_box_flex_item {
    flex: 0 0 calc(50% - 10px); 
    max-width: calc(50% - 10px); 
  }
} */
/* .product_cont_box {
  width: 160px;
} */
.product_box_brand {
  font-family: Helvetica;
font-weight: bold;
font-size: 16px;
color: #000000;
line-height: 28px;
margin-top: 10px;
  white-space: nowrap; /* 防止换行 */
  overflow: hidden; /* 超出部分隐藏 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  width: 100%; /* 必须指定宽度或者max-width */
}
.product_box .font-md-w {
  display: -webkit-box; /* 弹性盒模型 */
  -webkit-box-orient: vertical; /* 子元素垂直排列 */
  -webkit-line-clamp: 2; /* 显示的行数 */
  overflow: hidden; /* 超出部分隐藏 */
  line-height: 16px;
  margin: 4px 0;
  width: 100%;
}
.product_box h5 {
  font-family: Verdana;
font-weight: bold;
font-size: 18px;
color: #CB342D;
line-height: 20px;
}
.lod_price {
  font-family: Verdana;
font-weight: 400;
font-size: 12px;
color: #A9A9AA;
line-height: 20px;
text-decoration-line: line-through;
}
.rate_price {
  font-family: Verdana;
font-weight: 400;
font-size: 12px;
color: #CB342D;
line-height: 20px;
margin-left: 3px;
}
.relative {
  position: relative;
}
.product_top_box_hot {
  position: absolute;
  right: 42px;
  top: 16px;
  z-index: 1;
  color: #FF6A77;
}
.product_top_box_hot img {
  width: 26px;
  height: 28px;
}

.mr-10 {
  margin-right: 10px;
}
.mr-16 {
  margin-right: 16px;
}
.mt-16 {
  margin-top: 16px;
}
.ml-10 {
  margin-left: 10px;
}
p{
  margin: 0;
}
.border-r-8 {
  border-radius: 8px;
}
.pl-0 {
  padding-left: 0;
}
.pr-0 {
  padding-right: 0;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.pr-7 {
  padding-right: 7px;
}
.pl-7 {
  padding-left: 7px;
}
.mt-10 {
  margin-top: 10px;
}
.mb-6 {
  margin-bottom: 6px;
}
a:hover {
  text-decoration: none;
}