
.coverImg {
  width: 100%;
}

.tagline {
  width: 100%;
  position: absolute;
  top: 10%;
  color: #fff;
  padding: 0 4rem;
}

.verticalBox {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-hover {
  transition: all 0.3s ease;
  border: 1px solid transparent !important;
}
.card-hover:hover {
  cursor: pointer;
  background-color: #fff !important; /* Change to your desired hover background color */
  color: #eb9b10; /* Change to your desired hover text color */
  border: 1px solid #eb9b10 !important;
}

.subBoxFlex {
  display: flex; 
  align-items: center;
  padding: 0 3rem;
}

.subBoxFR {
  flex: 1; 
  background-color: #f5f5f5; 
  border-color: #f5f5f5;
  margin-left: 1rem;
}

.countryBox {
  margin-top: 3rem;
}

.countryItem {
  margin-bottom: 0.3rem;
  cursor: pointer;
}

.countryItem:hover {
  color: #eb9b10; /* Change to your desired hover text color */
}

.detBtn {
  cursor: pointer;
}

.carImg {
  height: 23.125rem;
}

.fa-star {
  font-size: 2rem;
  color: #f6ba07;
}

.fa-star-o {
  font-size: 2rem;
  color: #ddd;
}

 /* 添加自定义滚动条的CSS代码 */
 .scrollable-box::-webkit-scrollbar {
  width: 3px;
}
.scrollable-box::-webkit-scrollbar-track {
  background: #fff;
}
.scrollable-box::-webkit-scrollbar-thumb {
  background: #888;
}
.scrollable-box::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.scrollable-box {
  max-height: 7.5rem; /* Set the maximum height of the box */
  overflow-y: auto; /* Enable vertical scrolling */
}

/* 手机适配样式 */
.pSubBox {
  text-align: center;
  background-color: #f5f5f5;
  padding-bottom: 3rem;
  margin-top: 1rem;
}

.priceImg {
  min-height: 10rem;
}

.overflowText {
  height: 7.5em; /* 假设每行文本的高度是1.5em，那么3行就是4.5em */
  line-height: 1.5em; /* 行高设置为1.5em */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; /* 限制显示为3行 */
  overflow: hidden;
  text-overflow: ellipsis;
}
