/* 底部组件皮肤样式（前台 + 设计器画布共用；随主题资源引入）
 * 深圳市爱租网络有限公司2016-2026 / Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * 来源：base.css「footer 最新改版」段等价搬迁，选择器保持 .footer-new 系列不变——
 *   新底部容器同时携带 iz-foot 与 footer-new 两个 class，老页脚 page_footer.lbi 同样命中无碍。
 * 加载：前台 js_languages_new.lbi（base.css 之后）+ 画布 visualhome.php（$izf_skins_css）；
 *   base.css 同段同步更新（与本文一致），确保仅引 base.css 的页面（用户中心等）呈现相同效果。
 * 样式卡（2026-09-30）：行文字基准色 + 继承化改造——行级 color 内联可整体换肤（浅色/黑金/蓝调/纯白/红底预设），
 *   基准值与原显式色视觉等价（零默认回归）；分隔线/间隔点改半透明色以适配深浅两种行底。
 * 视觉焕新（2026-10-13b）：服务/联系图标由精灵图改为内联 SVG（金色线性风 + 半透明圆托，多语言自适应、
 *   不依赖位图）；服务行与帮助区改 flex 弹性布局（长文本语言自动收缩不溢出）；帮助标题金色竖条、
 *   链接 hover 金色；二维码白卡圆角化、卡下文字由模板输出站点动态店铺名（$_CFG shop_name，多站点各自显示）。
 * 2026-10-13c 调整：①版权行底色并入整体深蓝灰（#131921→var(--color-primary,#232f3e)，纳入焕新不脱节）；②移除联系电话样式；
 *   ③二维码位改为邮箱订阅区（金色竖条标题 + 深底输入框 + 金色按钮，复用系统现成订阅后端）。
 *   .f-icon 精灵图与 .qr-code 定义保留（设计器画布/历史编译页仍可能引用）；RTL（阿拉伯语站）镜像适配已内置。 */

/* ===== 容器与三行骨架 ===== */
.footer-new{ background-color:var(--color-primary,#232f3e); margin-top:80px; overflow:hidden;}
.home_visual_body .footer-new,.topic_visual_body .footer-new,.store_visual_body .footer-new,.bonusBody .footer-new{ margin:0;}

.footer-new-con{ background-color:var(--color-primary,#232f3e);}
/* 版权行底色并入整体（2026-10-13c）：原 #131921 与新底部脱节，统一 var(--color-primary,#232f3e)，层次由内容分隔线体现 */
.footer-new-bot{ background-color:var(--color-primary,#232f3e);}
/* 行文字基准色（默认等价原内层显式色；预设改色时由行级内联 color 覆盖继承基准，浅色底可读） */
.footer-new-con{ color:#fff;}
.footer-new-bot{ color:#9aa5b1;}

/* 旧精灵图定义保留：设计器画布/历史编译页仍可能引用（新页脚已改用内联 SVG，不再依赖） */
.f-icon{ background:url(../images/footer_new_icon.png) no-repeat; display:inline-block;}
.f-icon-qi{ background-position:0 0;}
.f-icon-zheng{ background-position:-34px 0;}
.f-icon-hao{ background-position:-68px 0;}
.f-icon-shan{ background-position:-102px 0;}
.f-icon-quan{ background-position:-136px 0;}
.f-icon-tel{ background-position:-3px -103px;}
.f-icon-kefu{ background-position:-3px -138px;}

/* ===== 服务保障行（footTop）：金色 SVG 图标 + flex 弹性排布 ===== */
.footer-new-top{ padding:24px 0; color:#e7e9ec; border-bottom:1px solid rgba(255,255,255,.08);}
.footer-new-top .w1200{ display:flex; align-items:center; justify-content:space-between;}
/* 幽灵伪元素中和（2026-10-15）：.w1200 带 w 类，base.css `.w:before/:after{content:"."}`
   的 clearfix 伪元素在 flex 行内成为匿名 flex 项（各约 3px 宽），space-between 下
   从两端挤占子项间隙；本行已是 flex 排布，clearfix 无意义，停用安全。
   深圳市爱租网络有限公司2016-2026 / Shenzhen iZucn Network Co.,Ltd. 2016-2026 */
.footer-new-top .w1200::before,
.footer-new-top .w1200::after{ content:none !important; display:none !important;}

/* 图标圆托：半透明底 + 金色线性 SVG（stroke 独立着色，不依赖位图与语言） */
.footer-new-top .srv-ico{ display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.06); transition:background-color .25s ease;}
.footer-new-top .srv-ico svg{ display:block; width:20px; height:20px; fill:none; stroke:var(--color-promo,#febd69); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}
.footer-new-top .srv-ico-sm{ width:30px; height:30px;}
.footer-new-top .srv-ico-sm svg{ width:16px; height:16px;}

.footer-new-top .service-list{ display:flex; align-items:center; flex:1 1 auto; min-width:0;}
.service-list .service-item{ display:flex; align-items:center; flex:1 1 0; min-width:0; margin-right:26px;}
.service-list .service-item:last-child{ margin-right:0;}
.service-list .service-item:hover .srv-ico{ background:rgba(254,189,105,.18);}
.service-list .service-item .srv-txt{ margin-left:10px; font-size:15px; color:inherit; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.footer-new-top .contact{ display:flex; align-items:center; flex:0 0 auto;}
.contact .contact-item{ display:flex; align-items:center; margin-left:26px;}
.contact .contact-item .srv-txt{ margin-left:8px; font-size:15px; font-weight:600; color:inherit; white-space:nowrap;}
.contact .btn-ctn{ display:flex; align-items:center; color:inherit; text-decoration:none;}
.contact .btn-ctn:hover .srv-ico{ background:rgba(254,189,105,.22);}
.contact .btn-ctn:hover .srv-txt{ color:var(--color-promo,#febd69);}

/* ===== 帮助中心行（footMain）：flex 均分 + 金色标题竖条 ===== */
.footer-new-con .fnc-warp{ display:flex; align-items:flex-start; padding:30px 0; width:100%; max-width:1524px; margin:0 auto; border-bottom:1px solid rgba(255,255,255,.08); box-sizing:border-box;}
.footer-new-con .help-list{ display:flex; flex:1 1 auto; min-width:0;}
.footer-new-con .help-list .help-item{ flex:1 1 0; min-width:0; padding-right:24px;}
.footer-new-con .help-list .help-item h3{ position:relative; padding-left:11px; margin-bottom:16px; font-size:15px; font-weight:600; line-height:1.4; color:#fff;
  /* 多语种下 “Shipping and Payment”/“Service Guarantee” 会折成两行，
   * 而短标题只占一行，列内列表的起始线就跟不齐（实测 564 vs 587）。
   * 用 min-height 锁定两行高度，超长标题仍可自然撑开 */
  min-height:2.8em;}
.footer-new-con .help-list .help-item h3::before{ content:''; position:absolute; left:0; top:4px; width:3px; height:14px; border-radius:2px; background:var(--color-promo,#febd69);}
.footer-new-con .help-list .help-item li{ line-height:28px; overflow:visible; text-overflow:clip; white-space:normal;}
/* 多语种页脚：英文/俄文等长栏目在 152px 列宽下会被省略号截成
 * “Payment Methods Expl…” / “Product Quality Guar…”，这里改为允许折行，
 * 行高保持 28px 的节奏；若以后需要恢复单行截断，改回 nowrap + ellipsis 即可 */
.footer-new-con .help-list .help-item li a{ display:block; font-size:13px; color:inherit; opacity:.72; transition:color .2s ease, opacity .2s ease;}
.footer-new-con .help-list .help-item li a:hover{ color:var(--color-promo,#febd69); opacity:1;}

/* 二维码白卡（2026-10-13c 起系统页脚不再输出，定义保留：设计器画布/历史编译页仍可能引用） */
.footer-new-con .qr-code{ display:flex; flex:0 0 auto; margin-left:40px;}
.footer-new-con .qr-code .qr-item{ box-sizing:border-box; width:110px; padding:3px; background-color:#fff; border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,.18);}
.footer-new-con .qr-code .qr-item .code_img,.footer-new-con .qr-code .qr-item .code_img img{ width:104px; height:104px; display:block;}
.footer-new-con .qr-code .qr-item .code_txt{ width:104px; height:22px; line-height:22px; margin-top:2px; background-color:#121212; border-radius:3px; text-align:center; color:#fff; font-size:12px; padding:0 4px; box-sizing:border-box; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.footer-new-con .qr-code .qr-item-first{ margin-right:38px;}

/* ===== 邮箱订阅区（2026-10-13c 替换二维码位）：金色竖条标题 + 深底输入框 + 金色按钮，风格与帮助区一致 ===== */
.footer-new-con .sub-box{ flex:0 0 auto; width:320px; margin-left:40px;}
.footer-new-con .sub-box h3{ position:relative; padding-left:11px; margin-bottom:14px; font-size:15px; font-weight:600; line-height:1.4; color:#fff;}
.footer-new-con .sub-box h3::before{ content:''; position:absolute; left:0; top:50%; margin-top:-7px; width:3px; height:14px; border-radius:2px; background:var(--color-promo,#febd69);}
.footer-new-con .sub-form{ display:flex; align-items:center;}
.footer-new-con .sub-form input{ flex:1 1 auto; min-width:0; height:36px; line-height:36px; padding:0 12px; border:1px solid rgba(255,255,255,.22); border-right:0; border-radius:4px 0 0 4px; background:rgba(255,255,255,.06); color:#fff; font-size:13px; outline:0; box-sizing:border-box; transition:border-color .2s ease, background-color .2s ease;}
.footer-new-con .sub-form input::-webkit-input-placeholder{ color:rgba(255,255,255,.45);}
.footer-new-con .sub-form input::placeholder{ color:rgba(255,255,255,.45);}
.footer-new-con .sub-form input:focus{ border-color:var(--color-promo,#febd69); background:rgba(255,255,255,.1);}
.footer-new-con .sub-form .sub-btn{ flex:0 0 auto; display:inline-block; height:36px; line-height:36px; padding:0 14px; border-radius:0 4px 4px 0; background:var(--color-promo,#febd69); color:#131921; font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; transition:background-color .2s ease;}
.footer-new-con .sub-form .sub-btn:hover{ background:var(--color-promo-dark,#f3ac4e); color:#131921;}
/* 订阅说明（首页订阅栏文案迁入）：弱于标题一级，深底上保持可读 */
.footer-new-con .sub-box .sub-tip{ margin:-6px 0 12px; font-size:12px; line-height:1.5; color:rgba(255,255,255,.55);}

/* ===== 版权信息行（footBottom） ===== */
.footer-new-bot{ overflow:hidden; padding:30px 0 20px;}
.footer-new-bot p{ text-align:center; color:inherit; opacity:.6;}
.footer-new-bot .copyright_links{ margin-bottom:10px;}
.footer-new-bot .copyright_links a{ color:inherit; display:inline-block; transition:color .2s ease;}
.footer-new-bot .copyright_links a:hover{ color:var(--color-promo,#febd69);}
.footer-new-bot .copyright_links .spacer{ overflow:hidden; margin:0 17px; width:1px; height:11px; background-color:currentColor; opacity:.35; display:inline-block;}

.footer-new-bot .copyright_auth{ overflow:hidden; padding-top:15px;}
.footer-new-bot .copyright_auth a img{ max-height:48px;}

/* ===== RTL 适配（阿拉伯语站等，html[dir="rtl"]） ===== */
html[dir="rtl"] .footer-new-top .service-item{ margin-right:0; margin-left:26px;}
html[dir="rtl"] .footer-new-top .service-item .srv-txt{ margin-left:0; margin-right:10px;}
html[dir="rtl"] .footer-new-top .contact .contact-item{ margin-left:0; margin-right:26px;}
html[dir="rtl"] .footer-new-top .contact .contact-item .srv-txt{ margin-left:0; margin-right:8px;}
html[dir="rtl"] .footer-new-con .help-list .help-item{ padding-right:0; padding-left:24px;}
html[dir="rtl"] .footer-new-con .help-list .help-item h3{ padding-left:0; padding-right:11px;}
html[dir="rtl"] .footer-new-con .help-list .help-item h3::before{ left:auto; right:0;}
html[dir="rtl"] .footer-new-con .qr-code{ margin-left:0; margin-right:40px;}
html[dir="rtl"] .footer-new-con .qr-code .qr-item-first{ margin-right:0; margin-left:38px;}
html[dir="rtl"] .footer-new-con .sub-box{ margin-left:0; margin-right:40px;}
html[dir="rtl"] .footer-new-con .sub-box h3{ padding-left:0; padding-right:11px;}
html[dir="rtl"] .footer-new-con .sub-box h3::before{ left:auto; right:0;}
html[dir="rtl"] .footer-new-con .sub-form input{ border-right:1px solid rgba(255,255,255,.22); border-left:0; border-radius:0 4px 4px 0;}
html[dir="rtl"] .footer-new-con .sub-form .sub-btn{ border-radius:4px 0 0 4px;}

/* ===== 设计器新增：自定义文本块（8 组件之一，无现成样式；颜色由渲染器 scoped style 注入） ===== */
.iz-foot .iz-f-text{ text-align:center; color:#4c4c4c; font-size:14px; line-height:28px; padding:6px 0;}

/* ===== 中屏降级：窗口 <1660px 时底部回落 1200 原版版式（值均为升级前原值） ===== */
@media screen and (max-width:1659px) {
	.footer-new-con .fnc-warp{ width:1200px;}
}

/* ===== 小屏响应式（2026-10-15）：平板 / 小窗口电脑页脚适配 =====
 * 背景：fnc-warp 在 1659 段后固定 1200px，视口 <1217px 时同样横向溢出；本段随容器流式化。
 *   （商品页 goods_new.css 后置的 padding:32px !important 仍生效，页脚与主体保持对齐）
 * 档 1（<1220px）：fnc-warp 流式（左右 16px 安全边距）；订阅区收窄至 240px。
 * 档 2（<1024px）：服务保障行允许换行（5 项图标+文字挤不下时 contact 掉行）。
 * 档 3（<768px）：帮助列两行三列排布，订阅区占满整行。
 * 深圳市爱租网络有限公司2016-2026 / Shenzhen iZucn Network Co.,Ltd. 2016-2026 */

/* --- 档 1：<1220px（平板横屏 / 小窗电脑） --- */
@media screen and (max-width:1220px) {
	.footer-new-con .fnc-warp { width: auto; max-width: 1200px; padding: 30px 16px; }
	.footer-new-con .sub-box { width: 240px; margin-left: 24px; }
}

/* --- 档 2：<1024px（平板竖屏前段 / 小窗） --- */
@media screen and (max-width:1024px) {
	.footer-new-top .w1200 { flex-wrap: wrap; row-gap: 12px; }
}

/* --- 档 3：<768px（平板竖屏小尺寸） ---
 * 修正（2026-10-15 实测）：sub-box 若保持横排（flex 行）且 width:100%，100% 会作为 flex 基准宽
 * 抢占整行，把同行的 help-list 挤为 0 宽（帮助区消失）。改为 fnc-warp 上下排布（column）：
 * 帮助区占满整行、内部三列两行；订阅区换行到下方、限宽 420px。 */
@media screen and (max-width:768px) {
	.footer-new-con .fnc-warp { flex-direction: column; }
	.footer-new-con .help-list { width: 100%; flex-wrap: wrap; }
	.footer-new-con .help-list .help-item { flex: 1 1 33.33%; padding-bottom: 16px; }
	.footer-new-con .sub-box { width: 100%; max-width: 420px; margin: 16px 0 0; }
	/* RTL 站覆盖（顶部 RTL 段 .sub-box 的 margin-right:40px 权重更高，需同权重后声明归零） */
	html[dir] .footer-new-con .sub-box { margin: 16px 0 0; }
}
