/* 详情页底部常驻联系条 */
.detail-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.14);
  padding: 14px 0;
  transition: transform 0.3s ease;
}

.detail-contact-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F05A22 0%, #FF8A5C 45%, #25D366 100%);
}

.detail-contact-bar .dcb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-contact-bar.dcb-hidden {
  transform: translateY(100%);
}

/* 左侧 */
.dcb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dcb-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.dcb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dcb-avatar svg {
  width: 28px;
  height: 28px;
  color: #9AA1A9;
}

.dcb-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #fff;
}

.dcb-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dcb-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dcb-name {
  font-size: 15px;
  font-weight: 700;
  color: #17191D;
  line-height: 1.2;
}

.dcb-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #128C3E;
  background: #E8FBF0;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dcb-verified svg {
  width: 13px;
  height: 13px;
}

.dcb-reply {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #6E747B;
}

.dcb-reply svg {
  width: 13px;
  height: 13px;
  color: #25D366;
  flex-shrink: 0;
}

/* 右侧 */
.dcb-right {
  display: flex;
  gap: 12px;
}

.dcb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
}

.dcb-btn:hover {
  transform: translateY(-1px);
}

.dcb-btn svg {
  width: 18px;
  height: 18px;
}

.dcb-inquiry {
  background: #F05A22;
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 90, 34, 0.25);
}

.dcb-inquiry:hover {
  box-shadow: 0 10px 24px rgba(240, 90, 34, 0.32);
}

.dcb-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}

.dcb-wa:hover {
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.40);
}

/* 移动端 */
@media (max-width: 767px) {
  .detail-contact-bar {
    padding: 10px 12px;
    gap: 10px;
  }

  .dcb-avatar {
    width: 36px;
    height: 36px;
  }

  .dcb-info {
    display: none;
  }

  .dcb-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .dcb-inquiry {
    flex: 0 0 40%;
    justify-content: center;
  }

  .dcb-wa {
    flex: 1;
    justify-content: center;
  }
}
