/* ==========================================
   浙江大市场 - 快捷通路页面样式 (quicklinks.css)
   产品索引 / 黄页索引 / 联系我们 / 手机版 共用
   依赖 common.css
   ========================================== */

.ql-page {
    min-width: 0;
    background: #f5f6f8;
    color: #222;
}

.ql-page .container {
    width: min(1400px, calc(100% - 48px));
}

/* ========== 通用 Hero ========== */
.ql-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 58px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 24%, rgba(255, 255, 255, .14) 0 3px, transparent 4px),
        radial-gradient(circle at 92% 68%, rgba(255, 255, 255, .1) 0 5px, transparent 6px),
        linear-gradient(116deg, #ff7a1a 0%, #ff5000 56%, #ed3e00 100%);
}

.ql-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -130px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.ql-hero_inner {
    position: relative;
    z-index: 1;
}

.ql-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 18px;
}

.ql-breadcrumb a {
    color: rgba(255, 255, 255, .85);
    transition: color .2s;
}

.ql-breadcrumb a:hover {
    color: #fff;
}

.ql-breadcrumb span {
    color: rgba(255, 255, 255, .55);
}

.ql-hero h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ql-hero_desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
    max-width: 640px;
    line-height: 1.7;
}

/* ========== Hero 顶部页签（关于我们 / 联系我们 等） ========== */
.ql-hero_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.ql-hero_main {
    min-width: 0;
}

.ql-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 2px;
}

.ql-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .2s, color .2s, transform .2s;
}

.ql-tabs a:hover {
    background: rgba(255, 255, 255, .26);
    color: #fff;
    transform: translateY(-2px);
}

.ql-tabs a.is-active {
    background: #fff;
    color: var(--orange-deep);
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

/* ========== 索引页（产品/黄页）公共 ========== */
.ql-index {
    padding: 32px 0 64px;
}

.ql-index_layout {
    display: grid;
    grid-template-columns: 188px 1fr;
    gap: 24px;
    align-items: start;
}

/* 左侧锚点导航 */
.ql-anchor {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.ql-anchor a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #555;
    transition: all .18s;
}

.ql-anchor a :is(svg, img) {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #b0b4ba;
    transition: color .18s;
}

.ql-anchor a:hover {
    background: #f7f8fa;
    color: #222;
}

.ql-anchor a.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    box-shadow: 0 6px 16px rgba(255, 80, 0, .22);
}

.ql-anchor a.is-active :is(svg, img) {
    color: #fff;
}

/* 右侧内容 */
.ql-index_main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 右侧内容 - 双列变体（产品索引用） */
.ql-index_main--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.ql-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 8px 30px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.ql-card_head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 2px 16px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 18px;
}

.ql-card_head-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    color: var(--orange-deep);
    background: var(--orange-soft);
}

.ql-card_head-icon :is(svg, img) {
    width: 22px;
    height: 22px;
}

.ql-card_head .tit {
    font-size: 19px;
    font-weight: 700;
    color: #222;
}

.ql-card_head p {
    font-size: 13px;
    color: #9a9fa6;
    margin-top: 2px;
}

/* 类目链接网格 */
.ql-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* 产品索引：二级分类 3 列 */
.ql-index_main--2col .ql-links {
    grid-template-columns: repeat(3, 1fr);
}

.ql-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 9px;
    background: #fafbfc;
    border: 1px solid #f0f1f3;
    font-size: 14px;
    color: #555;
    transition: all .18s;
}

.ql-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-line);
    flex-shrink: 0;
    transition: background .18s, transform .18s;
}

.ql-links a:hover {
    border-color: var(--orange-line);
    background: var(--orange-soft);
    color: var(--orange-deep);
}

.ql-links a:hover::before {
    background: var(--orange-deep);
    transform: scale(1.3);
}

.ql-links a .ql-count {
    margin-left: auto;
    font-size: 12px;
    color: #b0b4ba;
}

/* 黄页：地区/字母网格变体 */
.ql-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ql-tags a {
    padding: 8px 18px;
    border-radius: 20px;
    background: #fafbfc;
    border: 1px solid #f0f1f3;
    font-size: 14px;
    color: #555;
    transition: all .18s;
}

.ql-tags a:hover {
    border-color: var(--orange-line);
    background: var(--orange-soft);
    color: var(--orange-deep);
    transform: translateY(-2px);
}

/* ========== 联系我们页 ========== */
.cu-body {
    padding: 0 0 64px;
}

.cu-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.cu-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(20, 24, 32, .08);
    border: 1px solid #f0f1f3;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.cu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(255, 80, 0, .12);
    border-color: var(--orange-line);
}

.cu-card_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    box-shadow: 0 8px 20px rgba(255, 80, 0, .25);
}

.cu-card_icon :is(svg, img) {
    width: 26px;
    height: 26px;
}

.cu-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cu-card_value {
    font-size: 16px;
    font-weight: 700;
    color: var(--orange-deep);
    margin-bottom: 4px;
    word-break: break-all;
}

.cu-card_hint {
    font-size: 12px;
    color: #999;
}

.cu-main {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
}

.cu-panel {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.cu-panel_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.cu-panel_title .ql-bar {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(var(--orange), var(--orange-deep));
}

.cu-panel_title h2 {
    font-size: 20px;
    font-weight: 700;
}

/* 部门列表 */
.cu-depts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cu-dept {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fafbfc;
    border: 1px solid #f0f1f3;
    transition: all .2s;
}

.cu-dept:hover {
    border-color: var(--orange-line);
    background: var(--orange-soft);
}

.cu-dept_icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-deep);
    background: #fff;
    border: 1px solid var(--orange-line);
}

.cu-dept_icon :is(svg, img) {
    width: 22px;
    height: 22px;
}

.cu-dept_info {
    flex: 1;
    min-width: 0;
}

.cu-dept_info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.cu-dept_info p {
    font-size: 13px;
    color: #888;
}

.cu-dept_contact {
    text-align: right;
    flex-shrink: 0;
}

.cu-dept_contact strong {
    display: block;
    font-size: 15px;
    color: var(--orange-deep);
    font-weight: 800;
}

.cu-dept_contact span {
    font-size: 12px;
    color: #aaa;
}

/* 地址 + 地图 */
.cu-address {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.cu-address :is(svg, img) {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--orange-deep);
}

.cu-map {
    height: 220px;
    margin-top: 18px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, #e8edf2, #f3f5f8);
    border: 1px solid #eef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(180, 190, 205, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 190, 205, .35) 1px, transparent 1px);
    background-size: 32px 32px;
}

.cu-map_pin {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--orange-deep);
}

.cu-map_pin :is(svg, img) {
    width: 40px;
    height: 40px;
    margin: 0 auto 6px;
    filter: drop-shadow(0 6px 10px rgba(255, 80, 0, .25));
}

.cu-map_pin span {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

/* ========== 手机版页 ========== */
.mb-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    color: #fff;
    background: linear-gradient(150deg, #1a1f2e 0%, #252d3f 45%, #1e2d3d 100%);
}

.mb-hero::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -100px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, .2) 0%, transparent 70%);
}

.mb-hero_inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 64px;
}

.mb-hero_text {
    flex: 1;
}

.mb-hero_text .ql-breadcrumb {
    margin-bottom: 22px;
}

.mb-hero_text h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.mb-hero_text h1 span {
    background: linear-gradient(90deg, #ff8a3d, #ff5000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-hero_text p {
    font-size: 16px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 32px;
}

.mb-downloads {
    display: flex;
    gap: 28px;
}

.mb-qr {
    text-align: center;
}

.mb-qr_img {
    width: 132px;
    height: 132px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    display: block;
}

.mb-qr span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

.mb-qr span :is(svg, img) {
    width: 16px;
    height: 16px;
}

/* 手机外形 */
.mb-phone {
    flex-shrink: 0;
    width: 268px;
    height: 540px;
    border-radius: 38px;
    background: linear-gradient(160deg, #2c3340, #1c222d);
    padding: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .06);
    position: relative;
}

.mb-phone::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    border-radius: 12px;
    background: #1c222d;
    z-index: 2;
}

.mb-phone_screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(170deg, #ff7a1a, #ff5000 60%, #ed3e00);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 22px 0;
    color: #fff;
}

.mb-phone_logo {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.mb-phone_title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.mb-phone_sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 26px;
}

.mb-phone_cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mb-phone_card {
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.mb-phone_card i {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .25);
    flex-shrink: 0;
}

/* 功能特性 */
.mb-features {
    padding: 64px 0;
    background: #fff;
}

.mb-section_head {
    text-align: center;
    margin-bottom: 44px;
}

.mb-section_head h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mb-section_head p {
    color: #8a8f97;
    font-size: 16px;
}

.mb-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mb-feature {
    text-align: center;
    padding: 32px 22px;
    border-radius: 14px;
    border: 1px solid #eef0f3;
    transition: transform .25s, box-shadow .25s;
}

.mb-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.mb-feature_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    margin-bottom: 18px;
    color: var(--orange-deep);
    background: linear-gradient(135deg, #fff3eb, #ffe8d6);
}

.mb-feature_icon :is(svg, img) {
    width: 28px;
    height: 28px;
}

.mb-feature h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mb-feature p {
    font-size: 13px;
    color: #8a8f97;
    line-height: 1.7;
}

/* ========== 响应式 ========== */
@media (max-width: 1000px) {
    .ql-page .container {
        width: calc(100% - 32px);
    }

    .ql-index_layout {
        grid-template-columns: 1fr;
    }

    .ql-index_main--2col {
        grid-template-columns: 1fr;
    }

    .ql-anchor {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .ql-anchor a {
        flex: 1 1 auto;
        justify-content: center;
    }

    .ql-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .cu-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cu-main {
        grid-template-columns: 1fr;
    }

    .ql-hero_row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .ql-tabs {
        order: -1;
    }

    .mb-hero_inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .mb-hero_text p {
        margin-left: auto;
        margin-right: auto;
    }

    .mb-downloads {
        justify-content: center;
    }

    .mb-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .ql-hero h1,
    .mb-hero_text h1 {
        font-size: 26px;
    }

    .ql-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .cu-cards {
        grid-template-columns: 1fr;
    }

    .cu-panel {
        padding: 24px 20px;
    }

    .cu-dept {
        flex-wrap: wrap;
    }

    .mb-downloads {
        flex-direction: column;
        align-items: center;
    }

    .mb-feature-grid {
        grid-template-columns: 1fr;
    }
}