html {
    font-size: 100% !important;
    /* 保持16px的字体大小，也可以根据需要调整 */
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f9fa;
}

p {
    margin: 10px 0;
}

a {
    color: #000;
    text-decoration: none;
}

.redI {
    color: var(--font-theme-color);
}

/* 内容 */
ul.navbar {
    position: sticky;
    top: 0;
    z-index: 99;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-5) var(--radius-5) 0 0;
    background-color: var(--theme-color);
}

.yanjiuhome_v2 ul.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.navbar li {
    float: left;
    /* 从左到右排列 */
}

.yellow {
    background-color: var(--theme-active-color);
}

ul.navbar li a {
    display: inline-block;
    color: white !important;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 14px;
}

ul.navbar li a:hover {
    background-color: var(--theme-active-color);
}

.topnav {
    color: #adb5bd;
    font-size: 16px;
    margin: 10px 0 16px 0;
}

.topnav a {
    color: #adb5bd;
    font-size: 16px;
    margin: 10px 0 40px 0;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px; */
    background-color: #f9f9f9;
}

.product-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
    margin-bottom: 10px;
}

.product-name h1 {
    font-size: 1.5rem;
}

.product-actions {
    display: flex;
    align-items: center;
}

.view-count {
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.btn-favorite {
    background-color: rgba(206, 79, 67, 0.6);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
}

.btn-favorite:hover {
    background-color: #dc3545;
}

/* 整体容器样式 */
.container {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 50px;
    overflow: hidden;
    border-radius: var(--radius-5);
    background-color: #fff;
}

.container>div {
    display: flex;
}

/* 图片区域样式 */
.image-gallery {
    width: 550px;
    /* width: 350px; */
    /* height: 405px; */
    /* width: 50%;
  padding-right: 20px; */
    /* margin-left: 20px; */
}

/* 大图片样式 */
.main-image {
    width: 100%;
    /* height: 300px; */
    height: 474px;
    /* margin-bottom: 10px; */
    /* border: 1px solid #e9ecef; */
    object-fit: contain;
}

.onetwo {
    width: 1200px;
}

/* 信息区域样式 */
.product-details {
    width: 350px;
    display: flex;
    align-items: center;
    margin: 0 0px 0 0px;
    /* margin: 0 54px 0 128px; */
    /* padding: 0 30px 0 0; */
}

/* 列表项样式 */
.detail-list {
    padding: 0;
    width: 100%;
    list-style: none;
}

.detail-item {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 6px 0;
}

.detail-name,
.detail-content {
    flex: 1;
    /* 使`<span>`元素宽度自适应 */
    color: #343340;
    font-size: 14px;
}

.detail-name {
    flex-basis: 40%;
    text-align: right;
}

.detail-content {
    flex-basis: 60%;
    text-align: left;
    margin-left: 20px;
}

.detail-time {
    color: #6c757d;
    font-size: 14px;
    margin-left: 50%;
}

/* 特殊样式 */
.yanjiuhome .price {
    font-size: 24px;
    color: #dc3545;
    font-weight: 600;
}

.yanjiuhome_v2 .price {
    font-weight: 600;
}

.yanjiuhome .today-price {
    font-size: 18px;
    color: #ffc107;
}

/* styles.css */
.con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #343a40;
    width: 269px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    padding: 20px 18px;
    border-radius: var(--radius-5);
}

.con-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.con-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 160px;
}

.l-d {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.l-d-num {}

.l-d-info {
    font-size: 14px;
    color: #6c757d;
}

.con-txt {
    color: #212529;
    font-size: 14px;
    margin: 30px 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.box1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 80%;
    border-radius: 5px;
}

.button-box1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button1 {
    padding: 6px 15px;
    background-color: var(--button-color);
    color: white !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-wrap: nowrap;
}

.button1:hover,
.button:hover {
    color: white !important;
    background-color: var(--button-hover-color);
}

.zh-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    width: 100%;
}

.i-left {}

.zh-box {
    width: 400px;
    height: 127px;
    padding: 20px 0 0 30px;
    /* margin-left: 20px; */
}

.box1-t {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.zhao {
    width: 40px;
    height: 40px;
    background-color: var(--theme-color);
    font-size: 24px;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhao-i {
    color: #212529;
    font-size: 24px;
    margin-left: 10px;
}

.box1-b {
    font-size: 14px;
    color: #212529;
    display: flex;
    align-items: center;
}

.b-u {
    display: flex;
    align-items: center;
}

.chu {
    background-color: #57b726;
    width: 40px;
    height: 40px;
    font-size: 24px;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-detail {
    display: flex;
    flex-direction: column;
    /* text-align: left; */
    margin-left: 5px;
}

.d-id {
    color: #6c757d;
    font-size: 12px;
    margin: 0 0 4px 0;
}

.d-date {
    color: #6c757d;
    font-size: 12px;
}

.l-pin {
    font-size: 14px;
    color: var(--font-theme-color);
    margin: 0 40px;
}

.l-price {
    display: flex;
    font-size: 22px;
    color: #dc3545;
    font-weight: 600;
}

.nav {
    /* width: 700px; */
}

.navbar {
    /* background-color: #e9ecef; */
}

#main {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #fff;
    border-radius: var(--radius-5);
}

.navbar-nav {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    margin-bottom: 20px;
    border-radius: var(--radius-5);
}

.yanjiuhome_v2 .navbar-nav {
    gap: 6px;
}

.nav-item {
    width: calc(860px / 7);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 16px;
}

.yanjiuhome_v2 .nav-item {
    border-radius: var(--radius-5);
}

.i-active {
    background-color: var(--theme-color);
    color: #fff !important;
}

.bottom {
    display: flex;
}

.m-left {
    display: flex;
    flex-direction: column;
}

.zx-top {
    display: flex;
    justify-content: space-between;
    /* width: 770px; */
    /* padding: 0 20px; */
    margin-bottom: 20px;
}

.jj-text {
    color: #212529;
    font-size: 14px;
    padding: 20px;
    border-radius: var(--radius-5);
}

.img-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 94px;
    row-gap: 10px;
    align-items: flex-start;
    border-radius: var(--radius-5);
    background-color: #fff;
}

.list-box {
    width: 204px;
    height: 204px;
    background-color: #fff;
    padding: 10px;
}

.list-box img {
    object-fit: contain;
}

.cptp {
    margin-top: 40px;
}

.heading-1 {
    color: #212529;
    /* padding: 0 30px 0 10px; */
}

.yanjiuhome_v2 .heading-1 {
    margin-left: 50%;
    transform: translateX(-50%);
}

.text-muted {
    text-decoration: none;
    font-size: 14px;
    color: #6c757d;
}

.h-a {
    z-index: -1;
    width: 100%;
    height: 8px;
    background-image: linear-gradient(270deg,
            rgba(255, 193, 153, 0.04),
            var(--theme-color));
}

.top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-list {
    display: flex;
    align-items: center;
    /* width: 700px; */
    border-bottom: 1px solid #e9ecef;
    padding: 40px 20px;
}

.list-img {
    width: 216px;
    height: 120px;
}

.list-d {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-left: 30px;
}

.ld-t {
    color: #343a40;
    font-size: 22px;
}

.ld-d {
    display: flex;
    align-items: center;
}

.ld-wh {
    padding: 4px 12px;
    background-color: #e9ecef;
    font-size: 12px;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.ld-num {
    color: #6c757d;
    font-size: 12px;
    margin: 10px 350px 10px 10px;
}

.ld-txt {
    font-size: 12px;
    color: #212529;
}

.m-right {
    display: flex;
    flex-direction: column;
    /* width: 60%; */
}

.r-box {
    width: 264px;
    height: 318px;
    overflow: hidden;
    padding: 9px 18px;
    margin: 0 0 20px 40px;
    background-color: #fff;
    border-radius: var(--radius-5);
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.15);
}

.m-top {
    margin-top: 20px;
}

.r-recomm {
    color: #212529;
    font-size: 14px;
}

.b-recomm {
    color: #212529;
    font-size: 16px;
}

.yanjiuhome_v2 .b-recomm {
    text-align: center;
}

.b-detail {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.b-detail img {
    object-fit: contain;
}

.d-txt {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.t-title {
    font-size: 14px;
    color: #343a40;
    margin-bottom: 5px;
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 隐藏超出部分 */
    text-overflow: ellipsis;
    /* 显示省略号 */
}

.t-name {
    color: #64757d;
    font-size: 12px;
}

.wenda-title {
    span {
        color: #999;
    }
}