/* ===== Tianjunshao custom styles =====
   Supplement to source-site css for new sections. */

.wd1300{width:1300px;max-width:96%;margin:0 auto}
.about-copy{line-height:2;color:#555;font-size:15px;padding:10px 0 20px}
.about-copy p{margin:0 0 16px;text-indent:2em}
.about-image img{max-width:100%;display:block;margin:20px auto}
.section-note{color:#888;font-size:14px;margin-top:14px;text-indent:2em}
.product-meta{color:#888;font-size:14px;margin:6px 0 14px;line-height:1.9}
.product-meta span{margin-right:18px}
.detail-copy{line-height:2;color:#555;font-size:15px;margin:14px 0}
.detail-copy p{text-indent:2em;margin:0 0 10px}
.shop-info-box{background:#f7f7f7;padding:16px 18px;margin:10px 0;line-height:2}
.shop-info-box p{margin:0;color:#333}

/* contact */
.contact-layout{display:flex;gap:30px;flex-wrap:wrap;margin-bottom:26px}
.contact-map{flex:1;min-width:300px}
.map-placeholder{background:linear-gradient(160deg,#eef3f7,#dde7ef);border:1px solid #d8e0e8;border-radius:8px;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7a8a99}
.map-placeholder span{font-size:44px;letter-spacing:8px;color:#b9c8d6}
.map-placeholder b{font-size:18px;color:#41586b;margin-top:10px}
.map-placeholder p{font-size:14px;color:#6b8296;margin-top:8px}
.nylianxi{flex:1;min-width:300px}
.nylianxi .rit-box{background:#fafafa;border:1px solid #eee;padding:26px 24px;border-radius:8px}
.top-tit h3{font-size:20px;color:#222;margin:0 0 12px}
.top-tit p{color:#777;line-height:2;font-size:15px}
.kbm{line-height:2.1;color:#444;font-size:15px;margin-top:12px}
.kbm p{margin:0}

#ny_lx_ly{background:#f5f6f8;padding:36px 0;margin-top:10px}
#ny_lx_ly #a2{max-width:760px;margin:0 auto;padding:0 16px}
#ny_lx_ly h2{font-size:24px;text-align:center;color:#222;margin:0 0 8px}
#ny_lx_ly h3{font-size:14px;color:#999;text-align:center;margin:0 0 24px;font-weight:400}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.form-grid input,.order-panel input,.order-panel textarea,#ny_lx_ly textarea{border:1px solid #ddd;background:#fff;padding:12px 14px;border-radius:4px;font-size:14px;width:100%;box-sizing:border-box}
#ny_lx_ly textarea,.order-panel textarea{min-height:120px;margin-bottom:14px}
.ann{display:inline-block;background:#c62828;color:#fff;border:0;border-radius:4px;padding:12px 44px;font-size:15px;cursor:pointer}
.ann:hover{background:#a31f1f}

/* jobs */
.jobs-table{border:1px solid #e5e5e5;margin:18px 0 8px;border-radius:6px;overflow:hidden}
.job-row{display:grid;grid-template-columns:2fr 1fr 1.4fr 1.4fr;gap:8px;padding:13px 16px;border-bottom:1px solid #eee;font-size:14px;color:#444}
.job-row:last-child{border-bottom:0}
.job-head{background:#fafafa;font-weight:600;color:#222}

/* auth */
.auth-page{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:40px 16px;background:#f7f8fa}
.auth-card{background:#fff;border:1px solid #eee;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.05);padding:36px 32px;width:100%;max-width:380px;text-align:center}
.auth-brand img{max-width:220px;height:auto}
.auth-card h1{font-size:20px;color:#222;margin:14px 0 22px}
.auth-card input{display:block;width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:5px;padding:12px 14px;margin-bottom:12px;font-size:14px}
.auth-card button{width:100%;background:#c62828;color:#fff;border:0;border-radius:5px;padding:12px;font-size:15px;cursor:pointer}
.auth-card p{margin-top:14px;color:#999;font-size:13px}
.auth-card p a{color:#c62828;margin:0 6px}

/* order panel */
.order-panel{max-width:680px;margin:0 auto;background:#fff;border:1px solid #eee;border-radius:8px;padding:28px 26px}
.order-panel h3{font-size:20px;color:#222;margin:0 0 10px}
.order-panel p{color:#777;font-size:14px;line-height:1.9}
.order-panel input{display:block;margin-bottom:12px}
.order-panel .muted{color:#aaa;font-size:13px;text-align:center;margin-top:14px}

/* news */
.news-list ul{list-style:none;margin:0;padding:0}
.news-list li{background:#fff;margin-bottom:16px;border:1px solid #f0f0f0;border-radius:6px;overflow:hidden}
.news-list a{display:flex;gap:20px;padding:16px 18px;color:#333;text-decoration:none}
.news-list img{width:150px;height:110px;object-fit:cover;border-radius:4px;flex-shrink:0}
.news-date{display:block;color:#c62828;font-size:13px;margin-bottom:6px}
.news-list h3{font-size:17px;margin:0 0 8px;color:#222}
.news-list p{font-size:13px;color:#999;line-height:1.8;margin:0}
.news-detail{max-width:820px;margin:0 auto}
.article-date{color:#aaa;font-size:13px;margin-bottom:16px}
.news-detail h1{font-size:26px;color:#222;margin:0 0 18px;line-height:1.5}
.news-detail p{font-size:15px;line-height:2.1;color:#555;text-indent:2em;margin:0 0 14px}

/* inner hero */
.inner-hero{height:340px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}
.inner-hero-copy{text-align:center;color:#fff}
.inner-hero-copy span{font-size:14px;letter-spacing:6px;opacity:.85}
.inner-hero-copy h1{font-size:36px;margin:12px 0 6px;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.inner-hero-copy i{display:block;width:44px;height:3px;background:#c62828;margin:14px auto 0}

/* honor */
.honor-grid{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;padding:10px 0}
.honor-grid img{max-width:420px;width:100%;border:1px solid #eee;border-radius:6px}

/* search */
.search-page{padding-bottom:50px}
.search-form{display:flex;gap:0;max-width:560px;margin:10px auto 30px}
.search-form input{flex:1;border:1px solid #ddd;border-left:0;border-radius:0 4px 4px 0;padding:12px 16px;font-size:15px}
.search-form button{background:#c62828;color:#fff;border:0;border-radius:4px 0 0 4px;padding:12px 26px;font-size:15px;cursor:pointer}
#search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.result-card{background:#fff;border:1px solid #f0f0f0;border-radius:6px;overflow:hidden;text-decoration:none;color:#333;transition:.2s}
.result-card:hover{border-color:#c62828}
.result-card img{width:100%;height:160px;object-fit:cover}
.result-card b{display:block;font-size:14px;padding:10px 12px 2px}
.result-card span{display:block;font-size:12px;color:#999;padding:0 12px 12px}
.empty{color:#999;text-align:center;padding:40px 0;grid-column:1/-1}

/* detail page single_pro left/right */
.single_pro{display:flex;gap:30px;flex-wrap:wrap}
.single_pro .sp_left_product{flex:0 0 46%;max-width:560px}
.single_pro .sp_right_product{flex:1;min-width:300px}
.sl_bl_pro img{width:100%;border:1px solid #eee;border-radius:6px;max-height:520px;object-fit:contain}
.sp_muti_pro{margin-top:12px}
.sp_muti_pro .item{width:90px!important;margin-right:8px;border:1px solid #eee;border-radius:4px;overflow:hidden;cursor:pointer}
.sp_muti_pro .item img{width:100%}
.sp_muti_pro .item.active{border-color:#c62828}
.product_detail h1{font-size:22px;color:#222;margin:0 0 10px;line-height:1.5;font-weight:600}
.product_detail .product_head{font-size:22px}
.product_detail .list-unstyled{list-style:none;margin:0;padding:0}
.product_detail .tags-title{font-size:15px;color:#333}
.product_detail .shop-info-box{margin-top:14px!important;background:#f7f7f7!important;padding:18px 20px!important;width:100%!important;border-radius:4px}
.product_detail .shop-info-box p{font-size:15px;color:#444;margin:0 0 8px}
.product_detail .shop-info-box p:last-child{margin-bottom:0}
.product_detail .shop-info-box a{color:#c62828}
.product_detail .prod_counter{margin-top:18px}
.product_detail .prod_counter .btn,
.product_detail .prod_counter a.btn-primary{
  display:inline-block;padding:11px 40px;font-size:15px;line-height:1.4;
  background:#c62828;border:1px solid #c62828;color:#fff;border-radius:4px;
  text-decoration:none;box-shadow:none;height:auto;width:auto}
.product_detail .prod_counter .btn:hover{background:#a31f1f;border-color:#a31f1f;color:#fff}
/* 返回条：沿用源站 neiye.css 设计（float 布局 + 50x50 红色圆形按钮），此处不再覆盖 */
.fanhui{clear:both;margin-top:20px;font-size:14px;color:#666}
.fanhui ul{width:100%;margin:0 auto;padding:0;list-style:none;overflow:hidden}
.fanhui ul li{list-style:none;float:left;line-height:50px}
.fanhui ul li:nth-child(1){width:40%}
.fanhui ul li:nth-child(2){width:20%}
.fanhui ul li:nth-child(3){float:right;width:40%;text-align:right}
.fanhui .fback{background:#d22e37;width:50px;height:50px;text-align:center;line-height:50px;border-radius:50%;margin:0 auto;border:none;padding:0}
.fanhui .fback a{color:#fff;text-decoration:none;display:block;width:50px;height:50px;line-height:50px;border:none;padding:0;background:none}
.fanhui a{color:#c62828}

/* responsive */
@media (max-width:768px){
  .inner-hero{height:240px}
  .inner-hero-copy h1{font-size:26px}
  .job-row{grid-template-columns:1fr 1fr;font-size:13px}
  .news-list a{flex-direction:column}
  .news-list img{width:100%;height:auto}
  .form-grid{grid-template-columns:1fr}
  .single_pro .sp_left_product{flex:0 0 100%;max-width:100%}
  .contact-layout{flex-direction:column}
}

/* ===== font fallback overrides: source site references fonts it never ships.
   Re-map to system fonts via local() so no 404 requests fire. ===== */
@font-face{font-family:"sourcehansans";src:local("Microsoft YaHei");font-display:swap}
@font-face{font-family:cosc;src:local("Microsoft YaHei");font-display:swap}
@font-face{font-family:Dandelion;src:local("Arial");font-display:swap}
@font-face{font-family:Barlow-Regular;src:local("Arial");font-display:swap}
@font-face{font-family:BEBAS;src:local("Arial");font-display:swap}
@font-face{font-family:'impact';src:local("Arial");font-display:swap}
@font-face{font-family:'GOTHIC';src:local("Arial");font-display:swap}
@font-face{font-family:'CENTURYGOTHIC';src:local("Arial");font-display:swap}
@font-face{font-family:'Gasalt-Regular';src:local("Arial");font-display:swap}
@font-face{font-family:JosefinSans-Regular-7;src:local("Arial");font-display:swap}
@font-face{font-family:JosefinSans-SemiBold-8;src:local("Arial");font-display:swap}
@font-face{font-family:DIN-Bold;src:local("Arial");font-display:swap}
@font-face{font-family:DINCond-MediumExpert;src:local("Arial");font-display:swap}
@font-face{font-family:Platinus-Script-Pro-Bold-2;src:local("Arial");font-display:swap}
@font-face{font-family:Ind736It;src:local("Arial");font-display:swap}
@font-face{font-family:'en';src:local("Arial");font-display:swap}
@font-face{font-family:'en-b';src:local("Arial");font-display:swap}
@font-face{font-family:'en-l';src:local("Arial");font-display:swap}
@font-face{font-family:"Playfair Display";src:local("Georgia");font-display:swap}
@font-face{font-family:"Proxima Nova";src:local("Arial");font-display:swap}

/* contact page: source CSS decorates #ny_lx_ly h3 with a missing bg image */
#ny_lx_ly h3{background-image:none!important}
