/* ===== LampMai 全站公共样式 ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#f5f6fa;color:#2f3542;line-height:1.6}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ===== 椤堕儴淇℃伅鏉?===== */
.top-bar{background:#2f3542;padding:6px 0;font-size:12px;color:rgba(255,255,255,.85)}
.top-bar-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* ===== 涓诲ご閮?===== */
.header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}
.header-main{padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.logo{font-size:26px;font-weight:700;color:#fff;display:flex;align-items:center;gap:8px;white-space:nowrap}
.logo-icon{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:20px}
.search-box{flex:1;max-width:560px;min-width:200px;position:relative}
.search-box input{width:100%;padding:11px 46px 11px 18px;border:none;border-radius:24px;font-size:14px;outline:none}
.search-box button{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:#4361ee;border:none;color:#fff;width:38px;height:38px;border-radius:50%;cursor:pointer;font-size:15px}
.header-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.header-action{color:#fff;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;position:relative}
.header-action i{font-size:20px;font-style:normal;display:flex;align-items:center;justify-content:center}
.hdr-ic{width:20px;height:20px;display:block}
.cart-badge{position:absolute;top:-8px;right:-10px;background:#ff4757;color:#fff;font-size:10px;font-weight:600;padding:1px 6px;border-radius:10px;min-width:16px;text-align:center;display:none}
.lang-switch{color:#fff;font-size:13px;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);padding:6px 12px;border-radius:18px}
.lang-switch a{color:rgba(255,255,255,.75);font-weight:500}
.lang-switch a:hover{color:#fff}
.lang-switch a.active{color:#fff;font-weight:700}
.lang-divider{color:rgba(255,255,255,.4)}

/* ===== 瀵艰埅 ===== */
.nav{background:#fff;padding:4px 0;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.nav-inner{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}
.nav-item{padding:10px 22px;color:#747d8c;font-size:15px;font-weight:500;border-radius:10px;margin:4px 2px;transition:all .25s}
.nav-item:hover{color:#4361ee;background:#eef0ff}
.nav-item.active{color:#4361ee;background:linear-gradient(135deg,#eef0ff,#dce3ff)}

/* ===== 閫氱敤鍗＄墖 ===== */
.card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 10px rgba(0,0,0,.05);margin-bottom:16px}
.card-title{font-size:17px;font-weight:700;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #f1f2f6}

/* ===== 閫氱敤鎸夐挳 ===== */
.btn{display:inline-block;padding:11px 26px;border:none;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .25s;text-align:center}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(102,126,234,.4)}
.btn-block{display:block;width:100%}
.btn-primary{background:linear-gradient(135deg,#4361ee,#3a56d4)}
.btn-ghost{background:#fff;color:#4361ee;border:1px solid #4361ee}
.btn-ghost:hover{background:#eef0ff}
.btn-danger{background:linear-gradient(135deg,#ff6b6b,#ee5a24)}
.btn-sm{padding:7px 16px;font-size:13px;border-radius:8px}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}

/* ===== 鐘舵€佹爣绛?===== */
.tag{display:inline-block;font-size:12px;padding:3px 12px;border-radius:12px}
.tag-green{background:#e8f8f5;color:#27ae60}
.tag-blue{background:#eef0ff;color:#4361ee}
.tag-orange{background:#fff7e6;color:#e67e22}
.tag-red{background:#fdecea;color:#e74c3c}
.tag-gray{background:#f1f2f6;color:#57606f}

/* ===== Toast ===== */
.toast{position:fixed;top:20px;right:20px;padding:13px 20px;border-radius:10px;color:#fff;font-size:14px;z-index:9999;display:none;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.toast.success{background:linear-gradient(135deg,#10b981,#059669)}
.toast.error{background:linear-gradient(135deg,#ef4444,#dc2626)}

/* ===== 绌虹姸鎬?===== */
.empty{text-align:center;padding:50px 0;color:#a4b0be;font-size:13px}
.empty-icon{font-size:50px;margin-bottom:12px}

/* ===== 椤佃剼 v2锛氬搧鐗屽尯 + 鍏虫敞鎴戜滑鍦嗗舰鍥炬爣 + 閾炬帴鍒?+ 鐗堟潈鏉?===== */
.footer{background:linear-gradient(180deg,#30363f 0%,#232830 100%);color:#a4b0be;padding:32px 0 14px;margin-top:28px}
/* 椤堕儴锛氬搧鐗?slogan 鍖?+ 鍏虫敞鎴戜滑锛堝苟鎺掞紝鎵嬫満绔笂涓嬫帓锛?*/
.footer-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:18px}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand .fb-logo{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#4361ee,#7c5cff);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 4px 14px rgba(67,97,238,.4)}
.footer-brand .fb-name{font-size:17px;font-weight:800;color:#fff;letter-spacing:.5px;line-height:1.2}
.footer-brand .fb-name small{display:block;font-size:11px;color:#8a93a6;font-weight:400;margin-top:2px}
/* 鍏虫敞鎴戜滑锛氬渾褰㈠搧鐗岃壊鍥炬爣缃戞牸锛堟闈?12 鍒?x 2 琛?/ 鎵嬫満 6 鍒?x 4 琛岋紝绱у噾涓嶅崰楂橈級 */
.footer-social h4{color:#fff;font-size:13px;margin-bottom:9px;font-weight:700}
.footer-social h4 .f-soc-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7c5cff;margin-right:6px;vertical-align:middle}
.footer .social-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:7px;justify-items:center}
.footer .soc-item{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;cursor:pointer;transition:transform .18s,box-shadow .18s;position:relative;text-decoration:none}
.footer .soc-ic{width:36px;height:36px;flex-shrink:0;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.footer .soc-ic svg{width:74%;height:74%;display:block}
.footer .soc-item:hover{transform:translateY(-4px) scale(1.12)}
.footer .soc-item:hover .soc-ic{box-shadow:0 6px 18px rgba(0,0,0,.35)}
.footer .soc-item::after{content:attr(title);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%) scale(.9);background:#14181f;color:#fff;font-size:10px;padding:3px 8px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:30;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.footer .soc-item:hover::after{opacity:1;transform:translateX(-50%) scale(1)}
/* 椤佃剼 v3 缃戞牸锛氬叧娉ㄦ垜浠?1/3 + 瀹㈡埛鏈嶅姟/鑱旂郴鏂瑰紡 2/3 */
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:18px}
.footer-grid-v2{grid-template-columns:3fr 2fr 2fr}
.footer-grid-v2 .footer-col-soc{display:flex;flex-direction:column;gap:8px}
.footer h4{color:#fff;font-size:13px;margin-bottom:9px;font-weight:700}
.footer a{display:block;color:#a4b0be;font-size:12px;margin-bottom:6px;transition:color .15s,padding-left .15s}
.footer a:hover{color:#fff;padding-left:3px}
.footer-line{font-size:12px;margin-bottom:5px;color:#a4b0be}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:12px;text-align:center;font-size:11px;color:#7d8798}
.footer-bottom b{color:#9aa4b4}

/* ===== 鍝嶅簲寮?===== */
@media(max-width:768px){
/* 澶撮儴锛氬崟琛岀揣鍑戯紙logo + 鎼滅储 + 璐墿杞?璇█/鑿滃崟锛夛紝涓嶆崲琛屽爢鍙?*/
.header-main{flex-wrap:nowrap;gap:10px;padding:10px 0}
.logo{font-size:17px;gap:6px}
.logo-icon{width:30px;height:30px;font-size:15px}
.search-box{flex:1;min-width:0;max-width:none}
.search-box input{padding:9px 42px 9px 14px;font-size:13px}
.search-box button{width:32px;height:32px;font-size:13px}
.header-actions{gap:10px;flex-wrap:nowrap}
.header-action{font-size:11px}
.header-action i{font-size:18px}
.hdr-ic{width:18px;height:18px}
.lang-switch{padding:4px 9px;font-size:12px;gap:4px}
.hide-sm{display:none}
/* 瀵艰埅锛氫竴琛屽潎鍒嗙揣鍑戯紝涓嶅嚭鐜版í鍚戞粦鏉?*/
.nav{overflow-x:hidden;padding:2px 0}
.nav-inner{justify-content:center;flex-wrap:nowrap;overflow-x:hidden;gap:0}
.nav-item{flex:1 1 0;text-align:center;padding:6px 2px;font-size:12.5px;white-space:nowrap;margin:3px 0;min-width:0}
.footer-grid{grid-template-columns:1fr 1fr}
.footer-grid-v2 .footer-col-soc{grid-column:1/-1}
.footer .social-grid{grid-template-columns:repeat(12,1fr);gap:4px}
.footer .soc-item{width:24px;height:24px}
.footer .soc-ic{width:24px;height:24px;font-size:10px}
.footer .soc-ic svg{width:74%;height:74%}
/* 鎵嬫満绔棤 hover锛氶殣钘忕ぞ浜ゅ浘鏍囨皵娉℃彁绀猴紙閬垮厤缁濆瀹氫綅浼厓绱犳拺鍑烘í鍚戞粴鍔ㄦ潯锛?*/
.footer .soc-item::after{display:none}
}

/* ===== DIY 椤典笓灞烇細澶撮儴鍘嬬缉锛堜粎 diy-body 鐢熸晥锛屽叾浠栭〉闈笉鍙楀奖鍝嶏級 ===== */
.diy-body .header-main{padding:6px 0;gap:10px}
.diy-body .logo{font-size:18px;gap:5px}
.diy-body .search-box input{padding:7px 42px 7px 12px;font-size:12.5px}
.diy-body .search-box button{width:28px;height:28px}
.diy-body .header-action{gap:2px;font-size:11px}
.diy-body .header-action .hdr-ic{width:16px;height:16px}

/* ===== 鍟嗗搧椤碉細鍒楄〃鍐呮悳绱㈡锛堜粎鍟嗗搧椤电Щ鍔ㄧ锛氶殣钘忓ご閮ㄦ悳绱㈡锛屽垪琛ㄤ笂鏂瑰氨鍦版悳绱㈠晢鍝侊級 ===== */
.list-search{display:block;max-width:none}
@media(max-width:992px){
.prod-page .search-box:not(.list-search){display:none}
}

/* ===== DIY 椤碉細閮ㄤ欢鎼滅储妗嗭紙澶嶇敤 search-box 瑙嗚锛?===== */

