/* 多语言、商店相关样式 */

/* 语言切换（页头搜索框左边） */
.lang-sw { position: relative; height: 60px; margin-right: 6px; }
.lang-sw .lang-cur { display: block; height: 60px; line-height: 60px; padding: 0 12px; font: bold 14px/60px Arial, sans-serif; color: #000; }
.lang-sw .lang-cur i { display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: #000; border-bottom: 0; vertical-align: middle; }
.lang-sw ul { display: none; position: absolute; top: 60px; right: 0; min-width: 130px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15); text-align: left; z-index: 20; }
.lang-sw:hover ul, .lang-sw.open ul { display: block; }
.lang-sw li a { display: block; padding: 0 16px; line-height: 38px; font: 14px/38px Arial, sans-serif; color: #222; white-space: nowrap; }
.lang-sw li a:hover { background: #ffb90b; color: #fff; }
.lang-sw li a.on { font-weight: bold; color: #0c4ca3; }

/* SHOP 下拉：店铺名可能较长 */
.nav li.nav-shop #pull { width: auto; min-width: 130px; }
.nav li.nav-shop #pull li a { white-space: nowrap; padding: 0 16px; text-align: left; }
.nav li.nav-shop #pull li a small { color: #666; font-size: 12px; }

/* 手机菜单里的语言切换 */
#mobile-menu li.m-lang a { display: inline-block; margin-right: 14px; }
#mobile-menu li.m-lang a.on { font-weight: bold; }

/* 商店页 */
.shop-page { padding: 100px 0 60px; background: #f5f5f5; min-height: 420px; }
.shop-page h1 { text-align: center; font: bold 34px Arial, sans-serif; color: #222; margin: 0 0 10px; text-transform: uppercase; }
.shop-page .shop-sub { text-align: center; color: #666; font-size: 15px; margin: 0 0 36px; }
.shop-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.shop-card { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 240px; min-height: 160px; padding: 24px 16px;
  background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); text-align: center; color: #222; transition: transform .15s, box-shadow .15s; box-sizing: border-box; }
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.shop-card img { max-width: 160px; max-height: 60px; margin-bottom: 14px; }
.shop-card .name { font: bold 17px Arial, sans-serif; }
.shop-card .region { color: #888; font-size: 13px; margin-top: 4px; }
.shop-card .go { margin-top: 14px; display: inline-block; background: #ffb90b; color: #000; font-weight: bold; font-size: 13px; padding: 6px 16px; border-radius: 16px; }
.shop-empty { text-align: center; color: #888; }

@media screen and (max-width: 1050px) {
  .lang-sw { margin-right: 0; }
  .shop-page { padding-top: 80px; }
  .shop-card { width: 44%; min-height: 140px; }
}

/* 俄语、西语文字较长：页脚栏目标题允许换行（英文版保持原样） */
html:not([lang="en"]) #bottom .b2 .t a { height: auto; min-height: 28px; font-size: 20px; line-height: 1.25; }
/* Telegram 按钮：译文较长时允许换行，不超出页脚栏宽 */
html:not([lang="en"]) #bottom .tg-btn { white-space: normal; max-width: 100%; box-sizing: border-box; line-height: 1.3; }

/* 新闻中心：公司新闻 / 行业新闻 标签 */
.news-tabs{display:flex;gap:0;border-bottom:2px solid #ffb90b;margin:0 0 10px}
.news-tabs a{display:inline-block;padding:10px 26px;font-size:16px;color:#333;background:#f2f2f2;margin-right:4px;text-transform:uppercase}
.news-tabs a.on,.news-tabs a:hover{background:#ffb90b;color:#fff}
.industry-news .ind-note{color:#888;font-size:13px;margin:12px 0 0}
#news_list.industry-news dl dd{display:flex;gap:24px;align-items:flex-start}
.industry-news .ind-date{flex:0 0 78px;text-align:center;background:#f6f6f6;color:#999;padding:10px 0;font-size:13px}
.industry-news .ind-date span{display:block;font-size:30px;line-height:36px;color:#ffb90b;font-weight:bold}
#news_list.industry-news dl dd .info{flex:1;min-width:0}
#news_list.industry-news dl dd .info .t a{font-size:20px;line-height:28px}
#news_list.industry-news dl dd .info .p{height:auto;max-height:none;padding:0;margin:8px 0 6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media (max-width:640px){#news_list.industry-news dl dd .info .p{-webkit-line-clamp:4;font-size:14px;line-height:23px}}
.industry-news .ind-src{font-size:13px;color:#999}
.industry-news .ind-src a{color:#dea209}
@media (max-width:640px){
  .news-tabs a{padding:8px 14px;font-size:14px}
  #news_list.industry-news dl dd{gap:12px}
  .industry-news .ind-date{flex-basis:56px;font-size:11px}
  .industry-news .ind-date span{font-size:22px;line-height:28px}
  #news_list.industry-news dl dd .info .t a{font-size:16px;line-height:22px}
}
