@charset "utf-8";
/* ============================================================================
 * 店铺街列表页皮肤（store_street.dwt / library/store_shop_list.lbi 专用）
 * Store street (shop directory) page skin
 * 深圳市爱租网络有限公司2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * ============================================================================
 * 说明：
 *   1. 全部选择器限定在 .street-page 作用域内，仅由 store_street.dwt 引入，
 *      不影响店铺搜索结果页（search_store_shop_list.lbi）与其它列表页；
 *   2. 颜色一律引用主题变量并保留兜底值：var(--color-primary,#232f3e)、
 *      var(--color-promo,#febd69)、var(--color-price,#2f2f34)，多站点换色无需改代码；
 *   3. 版式：原实现为 masonry 绝对定位 + .street-list 固定 1213px，窄屏必然横向溢出、
 *      卡片高度参差；改为 CSS Grid 自适应网格（4/3/2/1 列），卡片等高、封面统一
 *      16:10 裁切，彻底移除 masonry 依赖；
 *   4. 功能钩子零改动：ectype='seller_sort' 排序、ectype='street_area' 级联筛选、
 *      ectype='collect_store' 关注、ectype='store_shop_list' / 'pages_ajax' 异步容器；
 *   5. 已兼容 RTL（阿拉伯语）：尺寸/间距使用逻辑属性，箭头类图标自动镜像。
 * ==========================================================================*/

/* ---------- 页面骨架 ---------- */
.street-page{ padding:24px 0 48px; }
.street-page .street-hero{ margin-bottom:20px; }
.street-page .street-hero-inner{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:30px 34px;
    border-radius:16px;
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 62%,#3d5169 100%);
    box-shadow:0 10px 26px rgba(35,47,62,.18);
    overflow:hidden;
}
/* 装饰光斑：纯 CSS 渐变，不引入图片资源 */
.street-page .street-hero-inner::after{
    content:"";
    position:absolute;
    inset-inline-end:-80px;
    inset-block-start:-120px;
    width:320px;
    height:320px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(254,189,105,.28) 0%,rgba(254,189,105,0) 68%);
    pointer-events:none;
}
.street-page .street-hero-txt{ position:relative; z-index:1; min-width:0; }
.street-page .street-hero-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 8px;
    padding:0;
    font-size:30px;
    font-weight:700;
    line-height:1.25;
    color:#fff;
}
.street-page .street-hero-title::before{
    content:"\e612";
    flex:0 0 auto;
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:linear-gradient(135deg,var(--color-promo,#febd69) 0%,#ff9f2e 100%);
    box-shadow:0 6px 14px rgba(0,0,0,.18);
    font-family:"iconfont" !important;
    font-style:normal;
    font-size:19px;
    line-height:1;
    color:#232f3e;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
.street-page .street-hero-sub{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:rgba(255,255,255,.74);
}
.street-page .street-hero-sub b{
    margin:0 2px;
    font-weight:700;
    color:var(--color-promo,#febd69);
    font-variant-numeric:tabular-nums;
}
/* 店铺搜索：深色底上的白色胶囊输入框 */
.street-page .street-search{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    flex:0 1 420px;
    min-width:260px;
    height:46px;
    padding:0 4px 0 18px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}
.street-page .street-search input[name="keywords"]{
    flex:1 1 auto;
    min-width:0;
    height:100%;
    padding:0 12px 0 0;
    border:0;
    background:transparent;
    font-size:14px;
    color:#333;
    outline:none;
}
.street-page .street-search input[name="keywords"]::placeholder{ color:#a5adba; }
.street-page .street-search button{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:6px;
    height:38px;
    padding:0 20px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
    color:#fff;
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    transition:background .25s, box-shadow .25s;
}
.street-page .street-search button:hover{ background:#1b2531; box-shadow:0 6px 14px rgba(35,47,62,.3); }
.street-page .street-search button .iconfont{ font-size:15px; }

/* ---------- 页头小广告位（后台未投放时容器为空，自动收起） ---------- */
.street-page .street-adv{ margin-bottom:16px; }
.street-page .street-adv:empty{ display:none; }
.street-page .street-adv a{ display:block; }
.street-page .street-adv img{
    display:block;
    width:100%;
    height:auto;
    border-radius:14px;
}

/* ---------- 筛选区（复用 .selector/.s-line/.s-l-wrap 既有 DOM 钩子） ---------- */
.street-page .street-filter{
    margin-bottom:0;
    padding:6px 22px;
    border:1px solid #eef0f3;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 10px rgba(35,47,62,.05);
}
.street-page .street-filter .s-line{
    margin:0;
    padding:14px 0;
    border:0;
    border-top:1px solid #f1f3f6;
}
.street-page .street-filter .s-line:first-child{ border-top:0; }
.street-page .street-filter .s-l-wrap{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
}
.street-page .street-filter .s-l-tit{
    float:none;
    flex:0 0 auto;
    width:auto;
    padding:0;
    font-size:13px;
    line-height:30px;
    color:#8c8c8c;
    white-space:nowrap;
}
.street-page .street-filter .s-l-value{
    float:none;
    flex:1 1 auto;
    min-width:0;
    margin:0;
    padding:0;
    overflow:visible;
}
.street-page .street-filter .s-l-v-list ul{
    display:flex;
    flex-wrap:wrap;
    gap:8px 10px;
    margin:0;
    padding:0;
}
.street-page .street-filter .s-l-v-list li{
    float:none;
    width:auto;
    margin:0;
    padding:0;
    overflow:visible;
    list-style:none;
}
.street-page .street-filter .s-l-v-list li a{
    display:inline-block;
    box-sizing:border-box;
    max-width:220px;
    height:30px;
    padding:0 14px;
    overflow:hidden;
    border:1px solid #e4e7ed;
    border-radius:999px;
    background:#fff;
    color:#555;
    font-size:13px;
    line-height:28px;
    text-overflow:ellipsis;
    white-space:nowrap;
    transition:border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.street-page .street-filter .s-l-v-list li a:hover{
    border-color:var(--color-primary,#232f3e);
    color:var(--color-primary,#232f3e);
}
.street-page .street-filter .s-l-v-list li.curr a{
    border-color:transparent;
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
    color:#fff;
    font-weight:500;
    box-shadow:0 4px 10px rgba(35,47,62,.2);
}
/* 级联容器（AJAX 写入 .s-line）留出与其它行一致的视觉节奏 */
.street-page .street-filter #store_city,
.street-page .street-filter #store_district{ display:block; }

/* ---------- 工具条：排序 + 结果统计 ---------- */
.street-page .street-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px 20px;
    margin:18px 0 16px;
}
.street-page .street-sort{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}
.street-page .street-sort-label{
    margin-inline-end:4px;
    font-size:13px;
    color:#8c8c8c;
}
.street-page .street-sort .sort-item{
    display:inline-flex;
    align-items:center;
    gap:4px;
    box-sizing:border-box;
    height:32px;
    padding:0 14px;
    border:1px solid #e4e7ed;
    border-radius:999px;
    background:#fff;
    color:#555;
    font-size:13px;
    transition:all .2s;
}
.street-page .street-sort .sort-item .iconfont{
    font-size:12px;
    line-height:1;
    opacity:.7;
}
.street-page .street-sort .sort-item:hover{
    border-color:var(--color-primary,#232f3e);
    color:var(--color-primary,#232f3e);
}
.street-page .street-sort .sort-item.curr{
    border-color:transparent;
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
    color:#fff;
    font-weight:500;
    box-shadow:0 4px 10px rgba(35,47,62,.2);
}
.street-page .street-sort .sort-item.curr .iconfont{ opacity:1; }
.street-page .street-result{
    font-size:13px;
    color:#8c8c8c;
    font-variant-numeric:tabular-nums;
}
.street-page .street-result b{
    margin:0 3px;
    font-weight:700;
    color:var(--color-primary,#232f3e);
}
.street-page .street-result .street-clear{
    margin-inline-start:10px;
    color:var(--color-primary,#232f3e);
    text-decoration:underline;
    text-underline-offset:3px;
}
.street-page .street-result .street-clear:hover{ color:#1b2531; }

/* ---------- 店铺网格 ---------- */
.street-page .street-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    width:auto !important;
    margin:0;
    position:static;
    transition:opacity .2s;
}
.street-page .street-list.is-loading{ opacity:.5; pointer-events:none; }
/* 旧 masonry 占位元素已从模板移除，这里兜底隐藏，避免残留空白 */
.street-page .street-list .grid-sizer,
.street-page .street-list .gutter-sizer{ display:none !important; width:0 !important; }

.street-page .street-list-item{
    position:relative;
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
    width:auto !important;
    height:100%;
    margin:0;
    background:#fff;
    border:1px solid #eef0f3;
    border-radius:14px;
    box-shadow:0 2px 8px rgba(35,47,62,.05);
    overflow:hidden;
    transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.street-page .street-list-item:hover{
    border-color:#e3e7ee;
    box-shadow:0 12px 28px rgba(35,47,62,.13);
    transform:translate3d(0,-3px,0);
}

/* 封面：统一 16:10 裁切，原图高度参差不再影响排版 */
.street-page .street-cover{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:16/10;
    overflow:hidden;
    background:linear-gradient(135deg,#eef1f5 0%,#f7f8fa 100%);
}
.street-page .street-cover img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}
.street-page .street-cover-link{
    display:block;
    width:100%;
    height:100%;
}
/* 无封面图时的占位（店铺未上传店招） */
.street-page .street-cover-ph{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    color:#c2c6cd;
    font-size:40px;
}
.street-page .street-list-item:hover .street-cover img{ transform:scale(1.04); }
/* 封面图加载失败：store_street.js 会给容器加 is-broken 并隐藏破图，这里输出店铺图标占位 */
.street-page .street-cover.is-broken::before{
    content:"\e63c";
    position:absolute;
    inset-block-start:50%;
    inset-inline-start:50%;
    z-index:1;
    transform:translate(-50%,-50%);
    font-family:"iconfont" !important;
    font-style:normal;
    font-size:40px;
    line-height:1;
    color:#c2c6cd;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
/* 封面底部渐隐，保证叠加的店招信息可读 */
.street-page .street-cover::after{
    content:"";
    position:absolute;
    inset-inline:0;
    inset-block-end:0;
    height:52px;
    background:linear-gradient(180deg,rgba(35,47,62,0) 0%,rgba(35,47,62,.28) 100%);
    pointer-events:none;
}
/* 自营 / 平台自营角标 */
.street-page .street-badge{
    position:absolute;
    inset-block-start:12px;
    inset-inline-start:12px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    height:24px;
    padding:0 10px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--color-promo,#febd69) 0%,#ff9f2e 100%);
    color:#232f3e;
    font-size:12px;
    font-weight:600;
    line-height:1;
    box-shadow:0 4px 10px rgba(0,0,0,.16);
}
/* 店铺 Logo：浮出封面下沿（相对卡片信息区定位，避开封面的 overflow 裁切） */
.street-page .street-logo{
    position:absolute;
    inset-block-start:-28px;
    inset-inline-start:18px;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:56px;
    height:56px;
    padding:3px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 16px rgba(35,47,62,.16);
    overflow:hidden;
}
.street-page .street-logo .iconfont{ font-size:24px; line-height:1; color:#c2c6cd; }
.street-page .street-logo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:11px;
}

/* 卡片信息区 */
.street-page .street-card-body{
    position:relative;
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    padding:34px 18px 18px;
}
.street-page .street-name{
    display:block;
    margin:0 0 8px;
    overflow:hidden;
    font-size:16px;
    font-weight:600;
    line-height:1.4;
    color:var(--color-primary,#232f3e);
    text-overflow:ellipsis;
    white-space:nowrap;
    transition:color .2s;
}
.street-page .street-name:hover{ color:#1b2531; text-decoration:underline; text-underline-offset:3px; }

/* 评分 / 销量 / 等级 元信息行 */
.street-page .street-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 12px;
    margin:0 0 10px;
    font-size:12px;
    line-height:1.6;
    color:#8c8c8c;
}
.street-page .street-score{
    display:inline-flex;
    align-items:center;
    gap:4px;
    height:22px;
    padding:0 8px;
    border-radius:6px;
    background:#fff7e8;
    color:#b26a00;
    font-weight:600;
    font-variant-numeric:tabular-nums;
}
.street-page .street-score::before{
    content:"\2605";
    font-size:12px;
    line-height:1;
    color:var(--color-promo,#febd69);
}
.street-page .street-meta-item{
    display:inline-flex;
    align-items:center;
    gap:4px;
    min-width:0;
    max-width:100%;
}
.street-page .street-meta-item .iconfont{ font-size:13px; color:#a5adba; }
.street-page .street-meta-item em{
    overflow:hidden;
    font-style:normal;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.street-page .street-meta-num{
    font-weight:600;
    color:var(--color-price,#2f2f34);
    font-variant-numeric:tabular-nums;
}
/* 商家等级图标（后台“商家等级”上传的小图，高度固定避免撑开行高） */
.street-page .street-grade{
    width:auto;
    height:16px;
    vertical-align:middle;
}

/* 品牌 / 所在地 */
.street-page .street-desc{
    min-height:22px;
    margin:0 0 16px;
    font-size:12px;
    line-height:1.8;
    color:#8c8c8c;
}
.street-page .street-desc p{
    display:flex;
    gap:6px;
    margin:0;
    padding:0;
    overflow:hidden;
    text-align:start;
}
.street-page .street-desc span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.street-page .street-desc .street-desc-key{ flex:0 0 auto; color:#a5adba; }

/* 操作按钮：等宽并排，始终贴卡片底部（等高对齐） */
.street-page .street-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-block-start:auto;
}
.street-page .street-actions .street-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex:1 1 0;
    box-sizing:border-box;
    min-width:0;
    height:36px;
    padding:0 10px;
    border:1px solid transparent;
    border-radius:999px;
    font-size:13px;
    font-weight:500;
    line-height:1;
    text-align:center;
    white-space:nowrap;
    transition:all .22s;
}
.street-page .street-actions .street-btn > span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.street-page .street-actions .street-btn-primary{
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
    color:#fff;
    box-shadow:0 4px 10px rgba(35,47,62,.18);
}
.street-page .street-actions .street-btn-primary:hover{ background:#1b2531; box-shadow:0 6px 14px rgba(35,47,62,.28); }
.street-page .street-actions .street-follow{
    border-color:#e4e7ed;
    background:#fff;
    color:var(--color-primary,#232f3e);
}
.street-page .street-actions .street-follow:hover{
    border-color:var(--color-primary,#232f3e);
    background:var(--color-primary-light,#f0f4f8);
}
.street-page .street-actions .street-follow.selected{
    border-color:transparent;
    background:var(--color-primary-light,#f0f4f8);
    color:var(--color-primary,#232f3e);
}
.street-page .street-actions .street-btn .iconfont{ font-size:14px; line-height:1; }

/* ---------- 空状态 ---------- */
.street-page .street-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    grid-column:1 / -1;
    padding:72px 20px;
    border:1px solid #eef0f3;
    border-radius:14px;
    background:#fff;
    text-align:center;
}
.street-page .street-empty .iconfont{ font-size:44px; line-height:1; color:#d6dbe3; }
.street-page .street-empty h3{
    margin:0;
    font-size:16px;
    font-weight:600;
    color:var(--color-primary,#232f3e);
}
.street-page .street-empty p{
    margin:0;
    font-size:13px;
    color:#8c8c8c;
}
.street-page .street-empty .street-btn{
    margin-block-start:8px;
    display:inline-flex;
    align-items:center;
    height:36px;
    padding:0 22px;
    border:1px solid #e4e7ed;
    border-radius:999px;
    background:#fff;
    color:var(--color-primary,#232f3e);
    font-size:13px;
    transition:all .22s;
}
.street-page .street-empty .street-btn:hover{
    border-color:var(--color-primary,#232f3e);
    background:var(--color-primary-light,#f0f4f8);
}

/* ---------- 分页 ---------- */
.street-page .street-pager{ margin-top:26px; }
.street-page .street-pager .pages{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    height:auto;
    margin:0;
    padding:0;
}
.street-page .street-pager .pages .item{
    float:none;
    margin:0;
}
.street-page .street-pager .pages .item a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    min-width:36px;
    height:36px;
    padding:0 12px;
    border:1px solid #e4e7ed;
    border-radius:999px;
    background:#fff;
    color:#555;
    font-size:13px;
    font-variant-numeric:tabular-nums;
    transition:all .2s;
}
.street-page .street-pager .pages .item a:hover{
    border-color:var(--color-primary,#232f3e);
    color:var(--color-primary,#232f3e);
}
.street-page .street-pager .pages .item.cur a,
.street-page .street-pager .pages .item.current a{
    border-color:transparent;
    background:linear-gradient(135deg,var(--color-primary,#232f3e) 0%,#33445c 100%);
    color:#fff;
    font-weight:600;
    box-shadow:0 4px 10px rgba(35,47,62,.2);
}
.street-page .street-pager .pages .item.prev a,
.street-page .street-pager .pages .item.next a{ padding:0; }
.street-page .street-pager .pages .item a .iconfont{ font-size:12px; }

/* ---------- 响应式降级 ---------- */
@media screen and (max-width:1260px){
    .street-page .street-list{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
    .street-page .street-hero-inner{ padding:26px 26px; }
    .street-page .street-hero-title{ font-size:26px; }
    .street-page .street-search{ flex-basis:340px; }
}
@media screen and (max-width:1024px){
    .street-page{ padding:18px 0 36px; }
    .street-page .street-list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .street-page .street-hero-inner{
        flex-direction:column;
        align-items:stretch;
        gap:18px;
        padding:24px 22px;
    }
    .street-page .street-search{ flex:0 1 auto; width:100%; min-width:0; }
    .street-page .street-filter{ padding:4px 16px; }
    .street-page .street-filter .s-l-wrap{ flex-direction:column; gap:8px; }
    .street-page .street-filter .s-l-tit{ line-height:1.5; }
    .street-page .street-toolbar{ margin:16px 0 14px; }
}
@media screen and (max-width:640px){
    .street-page .street-list{ grid-template-columns:minmax(0,1fr); gap:14px; }
    .street-page .street-hero-title{ font-size:22px; }
    .street-page .street-hero-title::before{ width:32px; height:32px; font-size:16px; }
    .street-page .street-hero-sub{ font-size:13px; }
    .street-page .street-cover{ aspect-ratio:16/9; }
    .street-page .street-sort .sort-item{ height:30px; padding:0 12px; font-size:12px; }
    .street-page .street-actions .street-btn{ height:38px; }
}

/* ---------- RTL（阿拉伯语 / 希伯来语）方向修正 ---------- */
[dir="rtl"] .street-page .street-logo{ inset-inline-start:auto; inset-inline-end:18px; }
[dir="rtl"] .street-page .street-badge{ inset-inline-start:auto; inset-inline-end:12px; }
[dir="rtl"] .street-page .street-sort .sort-item .iconfont,
[dir="rtl"] .street-page .street-pager .pages .item a .iconfont{ transform:scaleX(-1); }
[dir="rtl"] .street-page .street-result .street-clear{ margin-inline-start:10px; margin-inline-end:0; }

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce){
    .street-page .street-list-item,
    .street-page .street-cover img,
    .street-page .street-actions .street-btn{ transition:none; }
    .street-page .street-list-item:hover{ transform:none; }
    .street-page .street-list-item:hover .street-cover img{ transform:none; }
}
