@charset "utf-8";
/* ============================================================================
 * 优惠活动列表页皮肤（activity.dwt 专用）
 * Promotion activity list page skin
 * 深圳市爱租网络有限公司2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * ============================================================================
 * 说明：
 *   1. 全部选择器限定在 .activity-list-page 作用域内，仅由 activity.dwt 引入，
 *      不影响活动专场页（activity_view.dwt）与其它促销列表页；
 *   2. 颜色一律引用主题变量并保留兜底值：var(--color-primary,#232f3e)、
 *      var(--color-promo,#febd69)、var(--color-price,#2f2f34)，
 *      跟随后台主题配色联动，多站点无需改代码；
 *   3. 原筛选交互（ectype=actFilter/actList）与空态显隐逻辑保持不变，仅换肤；
 *   4. 已兼容 RTL（阿拉伯语）书写方向与窄屏降级，并对多语言长译文做防溢出处理
 *      （标签省略号、文字自动换行、按钮不定宽）；
 *   5. 2026-11-03 列表由固定双列改为流式网格：常规屏 3 列，内容区放宽到
 *      1524px 时 4 列，≤1160px 降 2 列，≤900px 单列；卡片变窄后内边距与
 *      按钮尺寸由容器查询按卡片自身宽度收窄，不依赖视口断点；
 *      筛选仍由 man-common.js 直接 show/hide，隐藏项不占位，无需改脚本。
 * ==========================================================================*/

/* ---------- hero 横幅：多语言文字标题栏 ---------- */
.activity-list-page .activity-hero{ position:relative; overflow:hidden; background:linear-gradient(120deg,#1a2530 0%,var(--color-primary,#232f3e) 55%,#33445c 100%); }
.activity-list-page .activity-hero::before{ content:""; position:absolute; left:-120px; top:-140px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(254,189,105,.28),rgba(254,189,105,0) 68%); }
.activity-list-page .activity-hero::after{ content:""; position:absolute; right:-90px; bottom:-170px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(254,189,105,.16),rgba(254,189,105,0) 70%); }
.activity-list-page .activity-hero .w1200{ position:relative; z-index:1; padding:36px 0 40px; }
.activity-list-page .activity-hero-tit{ font-size:30px; line-height:1.25; font-weight:700; color:#fff; overflow-wrap:anywhere; }
.activity-list-page .activity-hero-tit::before{ content:""; display:inline-block; width:6px; height:28px; border-radius:4px; background:linear-gradient(180deg,var(--color-promo,#febd69),#ff9f2e); margin-inline-end:14px; vertical-align:-4px; }

/* ---------- 主体：浅灰底 + 独立筛选卡 ----------
   2026-10-15 调整：取消原「筛选卡上提 34px 叠入 hero」的悬浮设计（会被误认为
   “导航盖住了上面活动栏”），改为与横幅干净分离；hero 底部留白同步由 72px
   收窄为 40px，保持整体紧凑。
   深圳市爱租网络有限公司 2016-2026 / Shenzhen iZucn Network Co.,Ltd. 2016-2026 */
.activity-list-page .activity-index-main{ background:#f5f6f8; display:flow-root; padding:0 0 56px; }
.activity-list-page .activity-index-filter{ position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:10px; overflow:visible; margin:24px 0 0; padding:12px; box-sizing:border-box; background:#fff; border:1px solid #eef0f3; border-radius:16px; box-shadow:0 10px 26px rgba(35,47,62,.1); }
.activity-list-page .activity-index-filter a{ float:none; display:block; width:auto; min-width:0; height:38px; line-height:36px; padding:0 20px; box-sizing:border-box; border:1px solid #e4e7ed; border-radius:999px; background:#f7f8fa; color:#666; font-size:14px; text-align:center; white-space:nowrap; transition:all .25s; }
.activity-list-page .activity-index-filter a:hover{ border-color:var(--color-primary,#232f3e); color:var(--color-primary,#232f3e); background:#fff; }
.activity-list-page .activity-index-filter a.curr{ background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%); color:#fff; border-color:transparent; font-weight:700; box-shadow:0 4px 10px rgba(35,47,62,.22); }
.activity-list-page .activity-index-filter a.curr:hover{ color:#fff; }

/* ---------- 活动卡片网格 ---------- */
.activity-list-page .activity-index-list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0 0; font-size:14px; }
/* 宽屏（内容区放宽到 1524px）再放一列，卡片宽度与 3 列时基本持平 */
@media screen and (min-width:1660px){
.activity-list-page .activity-index-list{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.activity-list-page .activity-index-list::before,
.activity-list-page .activity-index-list::after{ content:none; }
.activity-list-page .activity-index-list > li{ float:none; width:auto; margin:0; padding:0; box-sizing:border-box; display:flex; flex-direction:column; position:relative; text-align:start; background:#fff; border:1px solid #eef0f3; border-radius:16px; overflow:hidden; box-shadow:0 2px 8px rgba(35,47,62,.05); transition:all .3s; container-type:inline-size; }
.activity-list-page .activity-index-list > li:hover{ border-color:#e8eaee; box-shadow:0 12px 28px rgba(35,47,62,.13); transform:translate3d(0,-4px,0); }

/* 活动类型徽标（替换原 ●●● 三角尖角样式，圆角药丸 + 三色分级） */
.activity-list-page .activity-index-list > li .tag{ position:absolute; z-index:2; inset-inline-start:16px; top:16px; width:auto; max-width:60%; height:auto; line-height:1; padding:7px 14px; box-sizing:border-box; border-radius:999px; font-size:12px; font-weight:700; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:rgba(255,255,255,.94); color:var(--color-primary,#232f3e); box-shadow:0 4px 12px rgba(35,47,62,.18); }
.activity-list-page .activity-index-list > li .tag:after{ content:none; }
.activity-list-page .activity-index-list > li .tag-zp{ background:linear-gradient(135deg,var(--color-promo,#febd69),#ff9f2e); color:var(--color-primary,#232f3e); }
.activity-list-page .activity-index-list > li .tag-jm{ background:linear-gradient(135deg,var(--color-primary,#232f3e),#33445c); color:#fff; }
.activity-list-page .activity-index-list > li .tag-zk{ background:rgba(255,255,255,.94); color:var(--color-primary,#232f3e); }

/* 活动主图：定比容器 + 悬浮放大 */
.activity-list-page .activity-index-list > li .img{ width:auto; height:0; padding-bottom:56%; position:relative; overflow:hidden; background:#f7f8fa; }
.activity-list-page .activity-index-list > li .img a{ position:absolute; left:0; top:0; display:block; width:100%; height:100%; }
.activity-list-page .activity-index-list > li .img img{ width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; display:block; transition:transform .4s ease; }
.activity-list-page .activity-index-list > li:hover .img img{ transform:scale(1.04); }

/* 活动信息 */
.activity-list-page .activity-index-list > li .title{ margin:18px 24px 8px; font-size:19px; font-weight:700; line-height:1.4; color:#2f2f34; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.activity-list-page .activity-index-list > li .time{ margin:0 24px 14px; font-size:12px; line-height:1.6; color:#8c8c8c; overflow-wrap:anywhere; }
.activity-list-page .activity-index-list > li .discount{ margin:0 24px 18px; padding:12px 16px; box-sizing:border-box; background:#f7f8fa; border:1px solid #eef0f3; border-radius:12px; font-size:13px; line-height:1.7; color:#555; overflow-wrap:anywhere; }
.activity-list-page .activity-index-list > li .discount .red{ margin:0 3px; font-size:15px; font-weight:700; color:var(--color-price,#2f2f34); }

/* 进入专场按钮：主题渐变药丸，箭头悬浮右移 */
.activity-list-page .activity-index-list > li .acti-btn{ display:flex; align-items:center; justify-content:center; gap:6px; width:auto; height:46px; line-height:1; margin:auto 24px 24px; padding:0 24px; box-sizing:border-box; border-radius:999px; overflow:visible; text-align:center; font-size:15px; font-weight:700; color:#fff; background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%); box-shadow:0 4px 10px rgba(35,47,62,.22); transition:all .25s; }
.activity-list-page .activity-index-list > li .acti-btn:hover{ color:#fff; background:#1b2531; box-shadow:0 8px 18px rgba(35,47,62,.3); }
.activity-list-page .activity-index-list > li .acti-btn i{ margin:0; vertical-align:middle; -webkit-transform:none; transform:none; transition:-webkit-transform .25s; transition:transform .25s; }
.activity-list-page .activity-index-list > li .acti-btn:hover i{ -webkit-transform:translate3d(3px,0,0); transform:translate3d(3px,0,0); }

/* 窄卡片（3 列 384px / 4 列 363px）内部收紧：左右内边距由 24px 收到 18px，
   按钮字号降到 14px，给多语种长文案（俄文/德文等）留出余量；
   阈值 480px 以下生效，2 列 540px 以上的宽卡片保持原来的宽松版式 */
@container (max-width:480px){
.activity-list-page .activity-index-list > li .title{ margin:16px 18px 8px; font-size:17px; }
.activity-list-page .activity-index-list > li .time{ margin:0 18px 12px; }
.activity-list-page .activity-index-list > li .discount{ margin:0 18px 14px; padding:10px 14px; }
.activity-list-page .activity-index-list > li .acti-btn{ height:44px; margin:auto 18px 20px; padding:0 18px; font-size:14px; }
}

/* ---------- 空状态（筛选无结果时由 JS 显示） ---------- */
.activity-list-page .no_records{ padding:80px 0; }
.activity-list-page .no_records .no_icon_two{ float:none; margin:0 auto 12px; }
.activity-list-page .no_records .no_info{ float:none; margin:0; max-width:none; text-align:center; line-height:normal; }
.activity-list-page .no_records .no_info h3{ font-weight:400; }

/* ---------- RTL（阿拉伯语）方向适配 ---------- */
[dir="rtl"] .activity-list-page .activity-index-list > li .acti-btn:hover i{ -webkit-transform:translate3d(-3px,0,0); transform:translate3d(-3px,0,0); }

/* ---------- 窄屏降级 ---------- */
/* 内容区回落 1200px 后 3 列会偏挤，降到 2 列；手机端单列 */
@media screen and (max-width:1160px){
.activity-list-page .activity-index-list{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
}
@media screen and (max-width:900px){
.activity-list-page .activity-index-list{ grid-template-columns:minmax(0,1fr); gap:18px; }
}
@media screen and (max-width:1024px){
.activity-list-page .activity-hero-tit{ font-size:24px; }
}
