.float_mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000aa;
  z-index: 10;
}

.float_mask.expanded {
  display: block;
}

.float_buy,.float_buy2 {
  position: fixed;
  height: 56px;
  width: 120px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  border-radius: 15px 0 0 15px;
  box-sizing: border-box;
  padding: 8px;
  background-color: #00000044;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 20;
}

.float_buy.expanded,.float_buy2.expanded {
  height: 70%;
  width: 700px;
  background-color: #fff;
  padding: 10px;
  overflow: auto;
  background-size: auto;
  background-position: center;
}

.float_buy_btn {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 4px;
  font-size: 14px;
  font-family: 'Azo Sans Regular';
  cursor: pointer;
}

.float_buy_btn.hidden {
  opacity: 0;
  display: none;
}

.float_buy_btn img {
  margin-right: 10px;
}

.float_links {
  display: none;
  opacity: 0;
  flex-direction: column;
  padding-top: 10px;
  padding: 20px 30px;
  font-family: 'Azo Sans Regular';
  font-size: 18px;
  color: #000;
}

.float_links.visible {
  display: flex;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.float_links h1 {
  font-size: 20px;
}

.float_links h2 {
  font-size: 17px;
}

.float_links .buy-group {
  margin: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.float_links .buy-group a {
  text-decoration: none;
  text-align: center;
  min-width: 120px;
  padding: 8px 20px;
  background-color: #000;
  border-radius: 8px;
  color: #fff;
  margin-right: 12px;
  margin-bottom: 12px;
}

/* 经销商容器样式 */
.dealers-container {
  margin-top: 20px;
}

.dealer-item {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* 销售网站按钮样式 */
.dealer-website {
  margin-bottom: 15px;
}

.website-btn {
  text-decoration: none;
  text-align: center;
  padding: 8px 20px;
  background-color: #000;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Azo Sans Regular';
  display: inline-block;
  transition: background-color 0.3s ease;
}

.website-btn:hover {
  background-color: #333;
}

/* 销售国家容器样式 */
.dealer-countries {
  margin-top: 10px;
}

.countries-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* 国家标签样式 */
.country-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  color: #333;
  font-family: 'Azo Sans Regular';
  white-space: nowrap;
  transition: all 0.3s ease;
}

.country-tag:hover {
  background-color: #e8e8e8;
  border-color: #bbb;
}

/* 隐藏的国家标签 */
.country-tag.country-hidden {
  display: none;
}

/* 展开/收起按钮样式 */
.expand-btn {
  background: none;
  border: 1px solid #007bff;
  color: #007bff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Azo Sans Regular';
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background-color: #007bff;
  color: #fff;
}

.expand-btn:focus {
  outline: none;
}

@media (max-width: 768px) {
  .float_buy.expanded {
    width: 90%;
  }
  .float_links h1 {
    font-size: 16px;
  }

  .float_links h2 {
    font-size: 15px;
  }
  
  .dealer-item {
    padding: 12px;
  }
  
  .website-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  .country-tag {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .expand-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
}