* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #333;}
.container { max-width: 900px; font-size: 12px; line-height: 1.5; text-align: left;  margin: 0 auto; }

/* 导航 */
.navs-main { background: linear-gradient(to bottom, #fff, #f8fafc); padding: 0 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.06); border-top: 1px solid rgba(79, 195, 247, 0.25); border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.navs-main ul { list-style: none; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; padding: 6px 0; }
.navs-main li a { color: #555; text-decoration: none; font-size: 15px; padding: 8px 4px; transition: all 0.25s ease; border-bottom: 2px solid transparent; font-weight: 500; display: inline-block; letter-spacing: 0.01em; }
.navs-main li.act a { color: #1565c0; font-weight: 600; border-bottom-color: #4fc3f7; }
.navs-main li a:hover { color: #1976d2; border-bottom-color: rgba(79, 195, 247, 0.5); }
.lang-select { background: linear-gradient(to bottom, #fff, #f5f7fa) no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-position: right 8px center; background-size: 12px; color: #555; border: 1px solid rgba(0,0,0,0.12); border-radius: 6px; padding: 6px 28px 6px 10px; font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.lang-select:hover { border-color: rgba(25, 118, 210, 0.3); box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.08); }
.lang-select:focus { outline: none; border-color: #4fc3f7; box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15); }

/* 筛选器 */
.filters { background: #fff; padding: 16px 20px 16px 0; border-bottom: 1px solid #eee; }
.filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; justify-content: flex-start; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { min-width: 40px; font-weight: 600; color: #666; font-size: 14px; text-align: right; padding-right: 8px; }
.filter-group { display: flex; gap: 0; }
.filter-btn { background: #f0f0f0; border: 1px solid #ddd; padding: 6px 16px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.filter-btn:first-child { border-radius: 4px 0 0 4px; }
.filter-btn:last-child { border-radius: 0 4px 4px 0; }
.filter-btn:not(:first-child):not(:last-child) { border-left: none; }
.filter-btn.active { background: #1976d2; color: #fff; border-color: #1976d2; }
.filter-btn:hover:not(.active) { background: #e0e0e0; }

.pro{
    position: relative;
    border: 2px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
    margin: 10px 0;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.pro:hover{
    border-color: #93c5fd;
    box-shadow: 0 2px 12px rgba(59,130,246,0.15);
}
.pro.active{
    border-color: #4fc3f7;
	/*background: #f0f9ff;*/
	box-shadow: 0 4px 12px rgba(79,195,247,0.25);
	transform: translateY(-2px);
}
.pro.active .pure-u-2-3{
	background: #f0f9ff;
}
.pro.active .tgo{
    display: block;
}
.pro .name-badge{
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 1;
    line-height: 1.4;
}
.name-badge.net-2g{
    background-color: #16a34a;
}
.name-badge.net-4g{
    background-color: #2563eb;
}
.name-badge.net-4g2g{
    background-color: #d97706;
}
.p_img{
    position: relative;
    display: grid;
	  place-items: center; /* 同时水平和垂直居中 */
	  height: 100%;       /* 容器高度，根据需要设置 */
}
.p_img input{
	position: absolute;
	right: 0.2rem;
	top:0.2rem;
	width: 1.5rem;
	height: 1.5rem;
	z-index: 9;
}
.p_img img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* 不变形完整显示，想要铺满改cover */
}

.spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  /* 列间距 */
  column-gap: 5px;
  row-gap: 3px;
  padding: 5px 0 0;
}
.spec-list > li {
  display: contents;
}
/* 给左右两个单元格统一加边框，实现整行横线 */
.spec-key,
.spec-val {
  border-bottom: 1px dashed #eee;
  padding:3px 0;
}
.spec-key {
  text-align: left;
  color:#016d3b;
}
.spec-val {
  text-align: left;
}
.titles{
  margin:10px 0;
}
.title_item{
  display: inline-block;
  border-radius: 4px;
  padding: 3px 12px;
  margin-right: 8px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.titles .pd.net-2g{
  background-color: #16a34a;
}
.titles .pd.net-4g{
  background-color: #2563eb;
}
.titles .pd.net-4g2g{
  background-color: #d97706;
}
.titles .tp.ins-wire{
  background-color: #0d9488;
}
.titles .tp.ins-wireless{
  background-color: #e11d48;
}
.titles .tp.ins-obd{
  background-color: #64748b;
}
.titles .tp.ins-pet{
  background-color: #9333ea;
}
.titles .tx{
  background-color: #7c3aed;
}
.funcs{
  font-size: 12px;
  margin-bottom: 5px;
}


.funcs .dot{
  display: inline-block;
  width:10px;
  height:10px;
  background:#333;
  border-radius:50%;
}
.funcs span{
  display: inline-block;
  margin-right: 2px;
}
.funcs .func_item{
  margin-right: 10px;
}
.ls{
  color:#22c55e;
}
.hs{
  color:#9ca3af;
}
.ls .dot{
  background-color: #22c55e;
}
.hs .dot{
  background-color: #9ca3af;
}
.tgo{
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.85);
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
}
.tgo img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.submit{
	display: none;
	position: fixed;
	z-index: 99;
	right: 10rem;
	bottom: 2rem;
	text-align: center;
}
.submit img{
	width: 3rem;
	height: auto;	
}
/* 产品详情页样式 */
.product-detail { padding: 20px; }
.detail-header { margin-bottom: 24px; }
.detail-header h1 { font-size: 20px; font-weight: 600; color: #333; margin-bottom: 12px; line-height: 1.4; }
.detail-tags { display: flex; gap: 8px; }
.detail-tags .tag { background: #e8f4fd; color: #1976d2; font-size: 13px; padding: 4px 12px; border-radius: 4px; }

.detail-body { margin-top: 20px; }
.detail-img { text-align: center; padding: 20px; }
.detail-img img { max-width: 100%; max-height: 300px; object-fit: contain; }

.detail-info { padding-left: 20px; }
.info-section { margin-bottom: 24px; }
.info-section h3 { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #4fc3f7; }
.info-section p { font-size: 14px; color: #666; line-height: 1.6; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid #eee; }
.spec-table tr:last-child { border-bottom: none; }
.spec-label { color: #999; padding: 10px 12px 10px 0; width: 100px; white-space: nowrap; }
.spec-value { color: #333; padding: 10px 0; }

/* RTL 产品详情页 */
html[dir="rtl"] .detail-info { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .spec-label { padding: 10px 0 10px 12px; }

/* RTL 排版（阿拉伯语） */
html[dir="rtl"] .container { text-align: right; }
html[dir="rtl"] .navs-main ul { justify-content: flex-start; }
html[dir="rtl"] .lang-select { background-position: left 8px center; padding: 6px 10px 6px 28px; }
html[dir="rtl"] .filters { padding: 16px 0 16px 20px; }
html[dir="rtl"] .filter-row { justify-content: flex-end; }
html[dir="rtl"] .filter-label { text-align: left; padding-right: 0; padding-left: 8px; }
html[dir="rtl"] .pro .imgs { border-right: none; border-left: #cccccc81 solid 1px; }
html[dir="rtl"] .pro .imgs .tgo { right: auto; left: 0.5rem; }
html[dir="rtl"] .pro .imgs input { right: auto; left: 0.2rem; }
html[dir="rtl"] .pro .pure-u-2-3 ul li p { text-indent: 0; padding-right: 2em; }
html[dir="rtl"] .pro .pure-u-2-3 ul li span { margin: 0 0.1rem; }
html[dir="rtl"] .ttop { right: auto; left: 1rem; }
html[dir="rtl"] .pro .name-badge { left: calc(200% / 3 + 8px); }

/* ===== 响应式 ===== */
@media (max-width: 900px){.submit{right: 1rem;}}
@media (max-width: 600px) {
  .navs-main { padding: 0 12px; }
  .navs-main ul { gap: 12px; justify-content: flex-end; padding: 4px 0; }
  .navs-main li a { font-size: 14px; padding: 8px 2px; }
  .lang-select { font-size: 12px; padding: 5px 24px 5px 8px; }
  .pro{
        font-size: 12px;
    }
    .spec-list {
        row-gap: 1px;
    }
    .funcs{
      display: none;
    }
 
}
html[dir="rtl"] .submit { right: auto; left: 1rem; text-align: left; }
