/**
 * 小兽WordPress B2B 主题 — 核心样式
 *
 * 原则：优先使用 Bootstrap 内置类，仅保留 Bootstrap 无法实现的自定义样式
 */

/* ===== AlibabaSans 字体 ===== */
@font-face {
    font-family: 'AlibabaSans';
    src: url('fonts/AlibabaSans.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AlibabaSans';
    src: url('fonts/AlibabaSansMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AlibabaSans';
    src: url('fonts/AlibabaSansBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== Bootstrap 变量覆盖 ===== */
:root {
    --bs-primary: #0d47a1;
    --bs-primary-rgb: 13, 71, 161;
    --bs-secondary: #546e7a;
    --bs-secondary-rgb: 84, 110, 122;
    --bs-accent: #ff6f00;
    --bs-accent-rgb: 255, 111, 0;
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: #0a3d8a;
    --bs-body-font-family: 'AlibabaSans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bs-heading-font-weight: 700;
    --bs-border-radius: 0.375rem;
}

/* ===== 页头 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-logo a img {
    height: 48px;
    width: auto;
}

/* ===== hero版块 ===== */
.herorz img{
    height: 30px;
    opacity: 0.7;
	}

/* ===== 返回顶部按钮 ===== */
#xsb2b-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.3);
}

#xsb2b-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#xsb2b-back-to-top:hover {
    background: #0a3d8a;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.45);
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    #xsb2b-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== 页脚 ===== */

.site-footer img{
	height:50px;
	width: auto;
}
.site-footer .widget_block{
	width:40%;
}
.site-footer ul.menu li a {
    text-decoration: none;
	margin-bottom:10px;
	display: block;
}


/* ===== 产品卡片 ===== */
.product-archive .card:hover,
.post-type-archive-product .card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* ===== 文章卡片动效 ===== */
article.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
article.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.product-archive .card-img-top,
.post-type-archive-product .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 1.5rem;
    background: #fafafa;
}

/* ===== 视频卡片播放图标 ===== */
.card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.card:hover .play-icon {
    background: var(--bs-primary);
}

/* ===== 规格参数表 ===== */
.table-bordered th {
    width: 180px;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== 询盘表单反垃圾 ===== */
.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}


/* ===== FAQ手风琴 ===== */
.accordion-button {
    font-size: 1.05rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.accordion-body {
    line-height: 1.8;
    color: var(--bs-secondary);
}

/* ===== 用户资料卡 ===== */
.user-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 确保 WebP 插件 <picture> 包裹时头像仍为圆形 */
.user-profile-card picture,
.user-profile-card picture img,
.user-profile-card > div > img,
.user-profile-card img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* WebP <picture> 包裹时修复尺寸和圆形 */
picture { display: inline-block; vertical-align: top; }
picture img { display: block; object-fit: cover !important; }
.bg-body-tertiary picture,
.post-header picture,
.user-profile-card picture {
    width: auto;
    height: auto;
}
picture img[style*="border-radius:50%"],
img[style*="border-radius:50%"] {
    border-radius: 50% !important;
}

.user-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 71, 161, 0.08);
    color: var(--bs-primary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.user-social-icon:hover {
    background: var(--bs-primary);
    color: #fff;
}

/* ═══ 卡片鼠标经过动效 ═══ */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* ═══ 文章正文内容样式 ═══ */
.entry-content { line-height: 1.8; color: #444; }

/* 段落 */
.entry-content p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

/* 标题 */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
}
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.15rem; }
.entry-content h5 { font-size: 1rem; }
.entry-content h6 { font-size: 0.9rem; }

/* 链接 */
.entry-content a {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: #0a58ca; }

/* 列表 */
.entry-content ul{
	padding-left: 1rem;
    margin-bottom: 1rem;
}
.entry-content ul li:before {
    content: '\f058';
    font-family: 'FontAwesome';
    color: #0d47a1;
    margin-right: 10px;
	font-size: 1.2rem;
}

/* 引用块 */
.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #0d6efd;
  background: #f8f9fa;
  color: #555;
  font-style: italic;
  border-radius: 0 .25rem .25rem 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* 表格 */
.entry-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  padding: .6rem .85rem;
  border: 1px solid #dee2e6;
  text-align: left;
}
.entry-content th {
  background: #f1f3f5;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.entry-content tbody tr:nth-child(even) { background: #f8f9fa; }

/* 图片 */
.entry-content img {
  margin-bottom: 1rem;
}
.entry-content figcaption {
  font-size: .85rem;
  color: #888;
  text-align: center;
  margin-top: .5rem;
}

/* 行内代码 / 代码块 */
.entry-content code {
  padding: .15rem .4rem;
  background: #f1f3f5;
  border-radius: .25rem;
  font-size: .875em;
  color: #d63384;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.entry-content pre {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: #1e1e1e;
  color: #d4d4d4;
  border-radius: .5rem;
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.6;
}
.entry-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

/* 水平线 */
.entry-content hr {
  margin: 2rem 0;
}

/* 粗体 / 斜体 */
.entry-content strong { font-weight: 700; color: #222; }
.entry-content em { font-style: italic; }

/* 响应式表格 */
.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===== 文章目录 ===== */
.xsb2b-toc-horizontal ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}
.xsb2b-toc-horizontal ul li {
    display: inline-flex;
    align-items: center;
}
.xsb2b-toc-horizontal ul li a {
    display: inline-block;
    padding: 10px 15px !important;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    color: #333 !important;
}
.xsb2b-toc-horizontal ul li a:hover,
.xsb2b-toc-horizontal ul li a:focus {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}
.xsb2b-toc-horizontal ul li:not(:last-child)::after {
    content: '';
}

.xsb2b-toc ul li a {
    display: block;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
	font-size: 1.25rem;
}

.xsb2b-toc ul li a:hover,
.xsb2b-toc ul li a:focus {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

.xsb2b-toc ul li a.active {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

/* 锚点偏移补偿固定顶栏 */
html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

.entry-content h2,
.entry-content h3 {
    scroll-margin-top: 90px;
}

/* ===== 分页导航 ===== */
.pagination .page-link {
    border: 0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--bs-secondary);
    margin: 0 2px;
    transition: background 0.15s, color 0.15s;
}
.pagination .page-item.active .page-link {
    background: var(--bs-primary);
    color: #fff;
}
.pagination .page-link:hover {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

/* ===== 侧边栏 ===== */
aside[class*="col-xl"] {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 1;
}

/* ===== 侧边栏小工具 ===== */
aside .widget {
    margin-bottom: 1.5rem;
}
aside .widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bs-primary);
}
aside .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
aside .widget ul li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
aside .widget ul li:last-child {
    border-bottom: 0;
}
aside .widget ul li a {
    display: block;
    padding: 0.6rem 0;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}
aside .widget ul li a:hover {
    color: var(--bs-primary);
    padding-left: 6px;
}
aside .widget ul li.current-menu-item a {
    color: var(--bs-primary);
    font-weight: 600;
}

/* ===== 产品详情页 ===== */
.pro-small{padding:0 40px;}
.pro-small .swiper-slide-thumb-active, .pro-small .swiper-slide:hover {
    -webkit-filter: brightness(50%) !important;
    filter: brightness(50%) !important;
	background-color: #fff;
    border-radius: 20px;
}
.pro-small img {
    border-radius: 10px;
	    cursor: pointer;
}
.pro-small-nav{
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.pro-small-nav i{
    font-size: 50px;
    cursor: pointer;
}
.swiper-button-disabled{
	opacity: .35;
    cursor: auto;
    pointer-events: none
}

/* ===== 对比表格 ===== */
.xsb2b-compare-table {
    overflow-x: auto;
}
.xsb2b-compare-table h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-primary);
    border-left: 3px solid var(--bs-primary);
    padding-left: .75rem;
    margin: 2rem 0 1rem;
}
.xsb2b-compare-table h3:first-child {
    margin-top: 0;
}
.xsb2b-compare-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: .875rem;
}
.xsb2b-compare-table thead th {
    background: var(--bs-primary);
    color: #fff;
    font-weight: 600;
    padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.2);
    white-space: nowrap;
}
.xsb2b-compare-table tbody td {
    padding: .6rem 1rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}
.xsb2b-compare-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.xsb2b-compare-table tbody tr:hover {
    background: #e8f0fe;
}
.xsb2b-compare-table tbody td:first-child {
    font-weight: 600;
    background: #f1f3f5;
    white-space: nowrap;
}
.xsb2b-compare-table table:last-child {
    margin-bottom: 0;
}

/* ===== 品质制造版块 ===== */

.quality-desc h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}
.quality-desc p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}
.quality-desc ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
    list-style: none;
}
.quality-desc ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}
.quality-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--bs-primary);
    border-radius: 2px;
    transform: rotate(45deg);
}
.quality-desc ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.quality-desc ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #444;
}

/* ===== 时间线 Swiper 区块 ===== */
.xsb2b-timeline-block {
    position: relative;
    padding: 40px 0 80px 0;
}
/* 水平连接线: JS 动态计算 = 40 + slideH/2 */
.xsb2b-timeline-block::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: var(--line-y, 220px);
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.timeline-swiper { overflow: hidden; }

.timeline-slide {
    height: 360px;
    position: relative;
}

/* 卡片：绝对定位 */
.timeline-card {
    position: absolute;
    left: 10px;
    right: 10px;
    transition: box-shadow .25s ease;
    z-index: 1;
}
.timeline-top .timeline-card    { top: 10px; }
.timeline-bottom .timeline-card { bottom: 10px; }
.timeline-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08) !important; }

/* 竖线：卡片 → 圆点 */
.timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: var(--line-h, 60px);
    background: #dee2e6;
    transform: translateX(-50%);
}
.timeline-top .timeline-card::after    { top: 100%; }
.timeline-bottom .timeline-card::after { bottom: 100%; }

/* 圆点：slide 正中央 */
.timeline-dot {
    width: 14px;
    height: 14px;
    background: #dc3545;
    border: 3px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 2px #dc3545;
}

/* 进度条 */
.timeline-progress {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 72px;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    z-index: 1;
}
.timeline-progress-bar {
    height: 100%;
    background: #495057;
    border-radius: 2px;
    width: 0;
    transition: width .3s ease;
}

/* 导航 */
.timeline-nav {
    position: absolute;
    bottom: 24px;
    right: 0;
    display: flex;
    gap: .5rem;
    z-index: 2;
}
.timeline-button-prev,
.timeline-button-next {
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #495057;
    transition: all .2s ease;
}
.timeline-button-prev:hover,
.timeline-button-next:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.timeline-button-prev.swiper-button-disabled,
.timeline-button-next.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== 页面 Hero ===== */
.page-hero {
    background-color: #f8f9fa;
    min-height: 500px;
    display: flex;
    align-items: center;
}


/* 无背景图时标题用深色 */


/* ===== 响应式 ===== */
@media (max-width: 767.98px) {
    .site-header .navbar-brand img {
        max-height: 36px;
    }
}

/* ===== 图片轮播区块 ===== */
.xsb2b-image-carousel-block {
    margin: 2rem 0;
}

.image-carousel-swiper {
    overflow: hidden;
    border-radius: 8px;
}

.image-carousel-slide {
    height: auto;
}

.image-carousel-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    height: 100%;
}

.image-carousel-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.image-carousel-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.image-carousel-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8f9fa;
}

.image-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.image-carousel-card:hover .image-carousel-img {
    transform: scale(1.05);
}

.image-carousel-content {
    padding: 1rem 1.25rem 1.25rem;
}

.image-carousel-title {
    margin: 0 0 .375rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.image-carousel-desc {
    margin: 0;
    font-size: .875rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 导航箭头 --- */
.image-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background .2s, color .2s, box-shadow .2s;
}

.image-carousel-btn:hover {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 71, 161, .3);
}

.image-carousel-btn-prev {
    left: 12px;
}

.image-carousel-btn-next {
    right: 12px;
}

.image-carousel-btn.swiper-button-disabled {
    opacity: .3;
    pointer-events: none;
}

/* --- 分页圆点（swiper 外部）--- */
.image-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 1.25rem 0 .5rem;
}

/* 自定义圆点（>1 分支使用） */
.image-carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .2s;
}
.image-carousel-dot:hover {
    background: #999;
    transform: scale(1.2);
}
.image-carousel-dot.is-active {
    background: var(--bs-primary);
    transform: scale(1.3);
}

/* Swiper 内置分页圆点（=1 分支使用） */
.image-carousel-dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: background .3s, transform .2s;
}
.image-carousel-dots .swiper-pagination-bullet:hover {
    background: #999;
    transform: scale(1.2);
}
.image-carousel-dots .swiper-pagination-bullet-active {
    background: var(--bs-primary);
    transform: scale(1.3);
}

/* --- 响应式 --- */
@media (max-width: 575.98px) {
    .image-carousel-content {
        padding: .75rem 1rem 1rem;
    }

    .image-carousel-title {
        font-size: 1rem;
    }

    .image-carousel-desc {
        font-size: .8125rem;
    }

    .image-carousel-btn {
        width: 32px;
        height: 32px;
    }

    .image-carousel-btn-prev {
        left: 6px;
    }

    .image-carousel-btn-next {
        right: 6px;
    }
}
/* ===== 侧边栏图册轮播 ===== */
.sidebar-cta-gallery {
    position: relative;
}

.sidebar-cta-swiper {
    width: 100%;
}

.sidebar-cta-swiper .swiper-pagination {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    z-index: 2;
}

.sidebar-cta-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.6;
    margin: 0 4px;
}

.sidebar-cta-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--bs-primary, #0d47a1);
}

/* 外层容器 */
.sidebar-cta-stats {
  position: relative;
}

/* 竖线：左右两列中间 */
.sidebar-cta-stats::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #e0e0e0;
  transform: translateX(-50%);
}

/* 横线：上下两行中间 */
.sidebar-cta-stats::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e0e0e0;
  transform: translateY(-50%);
}