/* 还原版补充样式：原 style.css 保持原样，这里只补 Node 版需要修正的细节 */

body {
    min-width: 1220px;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
}

img {
    border: 0;
}

/* 轮播 */
#myCarousel .carousel-inner > .item > img {
    display: block;
    width: 100%;
    cursor: pointer;
}

#myCarousel .carousel-indicators {
    bottom: 18px;
    left: 50%;
}

/* 首页视频头图 */
.lynn-hero {
    position: relative;
    height: clamp(320px, 40vw, 600px);
    overflow: hidden;
    background: #f4ede3;
}

.lynn-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lynn-hero-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(255, 252, 246, 0.6) 0%, rgba(255, 252, 246, 0) 62%);
    pointer-events: none;
}

.lynn-hero-caption h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    color: #4a3524;
    text-shadow: 0 1px 14px rgba(255, 255, 255, 0.8);
}

/* 案例滑块的圆点（slick 1.x 生成的是 button） */
.slick-dots {
    list-style: none;
    padding-left: 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 4px;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #444;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    width: 12px;
    height: 12px;
    background: #00b1ff;
}

.slick-slide {
    outline: none;
}

/* 竖版卡片里的方形产品图：等比展示，不裁切画面 */
.slider-img > img.fit-contain,
.lynn-case-list-ul li a img.case-img.fit-contain {
    object-fit: contain;
    background: #f7f7f7;
}

/* 列表页 */
.list-news-ul li {
    overflow: hidden;
}

.list-news-ul li .list-news-li-right {
    padding-right: 20px;
}

.list-page {
    padding-top: 8px;
}

.list-page a + a {
    margin-left: 6px;
}

/* 详情页正文 */
.detail_content {
    font-size: 14px;
    line-height: 26px;
    color: #4d4d4d;
}

.detail_content h3 {
    margin: 26px 0 10px;
    font-size: 17px;
    color: #222;
}

.detail_content p {
    margin: 0 0 14px;
}

.detail_content ul,
.detail_content ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.detail_content li {
    line-height: 26px;
}

/* 产品详情：大图 + 图文信息 */
.product-hero {
    margin: 0 0 16px;
}

.product-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.product-tagline {
    margin: 0 0 14px;
    font-size: 13px;
    color: #8d7657;
    letter-spacing: 0.02em;
}

.product-stats {
    display: flex;
    gap: 10px;
    margin: 18px 0 6px;
}

.product-stats > div {
    flex: 1;
    padding: 14px 10px;
    box-sizing: border-box;
    background: #faf6ef;
    border: 1px solid #f0e6d7;
    border-radius: 4px;
    text-align: center;
}

.product-stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 600;
    color: #a97c3f;
}

.product-stats span {
    display: block;
    font-size: 12px;
    line-height: 18px;
    color: #8f8a81;
}

.product-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.product-ingredients li {
    width: calc(50% - 5px);
    padding: 12px 14px;
    box-sizing: border-box;
    background: #fbf8f3;
    border: 1px solid #f0e6d7;
    border-radius: 4px;
}

.product-ingredients strong {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #40372c;
}

.product-ingredients em {
    display: block;
    margin: 2px 0 4px;
    font-style: normal;
    font-size: 12px;
    color: #b08d57;
}

.product-ingredients p {
    margin: 0;
    font-size: 12px;
    line-height: 20px;
    color: #77716a;
}

.product-faq {
    margin: 0 0 14px;
}

.product-faq dt {
    margin-top: 10px;
    padding-left: 14px;
    position: relative;
    font-weight: 600;
    color: #3c3c3c;
}

.product-faq dt:before {
    content: 'Q';
    position: absolute;
    left: 0;
    font-size: 12px;
    color: #b08d57;
}

.product-faq dd {
    margin: 4px 0 0 14px;
    color: #6f6a63;
}

/* 留言表单 */
#content-span {
    display: inline-block;
    margin-top: 6px;
    color: #e84e0e;
    font-size: 12px;
}

#content-span.success {
    color: #2bb673;
}

/* 案例列表的二维码浮层由 JS 控制显示 */
.lynn-case-list-ul li a span.rcode p,
.slider-img span.rcode p {
    margin: 0;
}

/* 表单合规声明 */
.lynn-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 20px;
    color: #666;
    cursor: pointer;
}

.lynn-consent input {
    margin: 4px 0 0;
    flex: 0 0 auto;
}

.lynn-consent a {
    color: #0baefd;
}

.lynn-form-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: #9a9a9a;
    text-align: center;
}

/* 合规页（隐私政策 / 用户协议 / 资质公示） */
.detail-news-left.full {
    width: 100%;
    float: none;
    box-sizing: border-box;
}

.legal-foot {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #9a9a9a;
}

.qual-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 22px;
    font-size: 13px;
}

.qual-table th,
.qual-table td {
    border: 1px solid #e6e6e6;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}

.qual-table th {
    background: #f7f7f7;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.qual-apply {
    margin-top: 18px;
    color: #666;
}

/* 页脚联系方式（仅邮箱） */
.lynn-footer-bot-right .footer-email {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 24px;
}

.lynn-footer-bot-right .footer-email a {
    color: #9c9a97;
}

.lynn-footer-bot-right .footer-email a:hover {
    color: #fff;
}

/* 移动端导航按钮（桌面隐藏） */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #3a3a3a;
}

/* 信息中心（AI 平台问答实录） */
.info-meta {
    padding-top: 8px;
}

.info-tag {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    margin-right: 8px;
    background: #0baefd;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.info-dim {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    background: #f0f0f0;
    color: #636363;
    font-size: 12px;
    border-radius: 3px;
}

.detail_content h4 {
    margin: 22px 0 8px;
    font-size: 15px;
    color: #222;
}

.detail_content blockquote {
    margin: 0 0 14px;
    padding: 10px 16px;
    background: #f5f7fa;
    border-left: 3px solid #0baefd;
    color: #555;
}

.detail_content blockquote p {
    margin: 0 0 6px;
}

.detail_content blockquote p:last-child {
    margin: 0;
}

.md-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: 13px;
}

.md-table th,
.md-table td {
    border: 1px solid #e6e6e6;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.md-table th {
    background: #f7f7f7;
    font-weight: 600;
}

.detail_content code {
    background: #f4f4f4;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 13px;
}

.info-source {
    margin-top: 24px;
    padding: 14px 16px;
    background: #f5f7fa;
    border-left: 3px solid #c8a25c;
    font-size: 13px;
    line-height: 22px;
    color: #666;
}

.info-source p {
    margin: 0 0 8px;
}

.info-source a {
    color: #0baefd;
}
