/* ============================================================================
 * QP 商城主题 v2 —— 「圆润 · 少版块 · 卡片化」
 * ----------------------------------------------------------------------------
 * 设计参照：用户提供的家政类移动端首页（2026-11-16）
 *   · 大圆角卡片（16–24px）、胶囊按钮（999px）、圆形图标入口
 *   · 图片主导商品卡：图在上、标题、价格、右下角绿色胶囊
 *   · 版块克制：一屏只讲一件事，不做密集信息堆叠
 *
 * 与旧版 fp.css 的关系：完全独立，不复用任何 fp-* 类名。
 * 只覆盖 --m-primary 系列变量让内页配色向新版靠拢。
 * 本文件必须在 header.html 中最后引入。
 * 前缀：qp-
 * ========================================================================== */

/* ---------------------------------------------------------------- 1. 令牌 */
:root {
    /* 主色：清爽环保绿 */
    --qp-green: #12A05E;
    --qp-green-d: #0B8650;
    --qp-green-dd: #076B3F;
    --qp-green-soft: #E9F7F0;
    --qp-green-tint: #F2FAF6;

    /* 价格与促销 */
    --qp-red: #FF5A1F;
    --qp-orange: #FF8A2B;
    --qp-orange-soft: #FFF2E6;

    /* 文字 */
    --qp-ink: #17211C;
    --qp-ink2: #5E6D66;
    --qp-ink3: #9BA8A1;

    /* 面与线 */
    --qp-bg: #F4F8F5;
    --qp-card: #FFFFFF;
    --qp-line: #EDF2EF;

    /* 圆角 */
    --qp-r-sm: 12px;
    --qp-r: 18px;
    --qp-r-lg: 24px;
    --qp-r-xl: 32px;
    --qp-pill: 999px;

    /* 阴影 */
    --qp-sh: 0 2px 12px rgba(16, 72, 48, .05);
    --qp-sh-md: 0 8px 28px rgba(16, 72, 48, .09);
    --qp-sh-lg: 0 16px 44px rgba(16, 72, 48, .13);

    /* 尺寸 */
    --qp-wrap: 1400px;
    --qp-gap: 20px;

    --qp-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --qp-num: "DIN Alternate", "DINPro", "Helvetica Neue", Arial, sans-serif;

    /* 内页配色同步 */
    --m-primary: #12A05E;
    --m-primary-dark: #0B8650;
    --m-primary-soft: #E9F7F0;
    --m-grad: linear-gradient(90deg, #0B8650 0%, #12A05E 100%);
}

/* ---------------------------------------------------------------- 2. 基础 */
body.m-body.qp-body {
    background: var(--qp-bg);
    color: var(--qp-ink);
    font-family: var(--qp-sans);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.qp-wrap {
    max-width: var(--qp-wrap);
    margin: 0 auto;
    padding: 0 32px;
}

.qp-wrap a {
    color: inherit;
    text-decoration: none;
}

.qp-wrap img {
    display: block;
    max-width: 100%;
}

/* ------------------------------------------------------------ 3. 顶部提示 */
.qp-top {
    background: var(--qp-green-soft);
    color: var(--qp-green-dd);
    font-size: 12px;
}

.qp-top-in {
    display: flex;
    align-items: center;
    height: 34px;
    gap: 12px;
}

.qp-top-l {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 500;
}

.qp-top-c {
    flex: 1;
    text-align: center;
    color: #4E7A66;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.qp-top-c span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qp-top-c i {
    font-size: 11px;
    opacity: .8;
}

.qp-top-r {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #4E7A66;
}

.qp-top-r a {
    color: var(--qp-green-dd);
}

.qp-top-r a:hover {
    color: var(--qp-green);
    text-decoration: underline;
}

.qp-top-sep {
    color: #B9D3C6;
}

/* ---------------------------------------------------------------- 4. 头部 */
.qp-hd {
    background: #fff;
    padding: 20px 0 16px;
}

.qp-hd-in {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.qp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    text-decoration: none;
}

.qp-logo-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: linear-gradient(140deg, #12A05E, #0B8650);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(18, 160, 94, .28);
    overflow: hidden;
}

.qp-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qp-logo-tx strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--qp-ink);
    letter-spacing: .5px;
    line-height: 1.2;
}

.qp-logo-tx em {
    display: block;
    font-style: normal;
    font-size: 10px;
    letter-spacing: .22em;
    color: var(--qp-ink3);
    text-transform: uppercase;
    margin-top: 2px;
}

/* 搜索胶囊 */
.qp-srch {
    flex: 1;
    max-width: 680px;
    margin: 0 auto;
}

.qp-srch-box {
    display: flex;
    align-items: center;
    height: 50px;
    border-radius: var(--qp-pill);
    background: var(--qp-bg);
    border: 1.5px solid transparent;
    padding: 0 6px 0 20px;
    transition: border-color .18s, background .18s;
}

.qp-srch-box:focus-within {
    background: #fff;
    border-color: var(--qp-green);
    box-shadow: 0 0 0 4px rgba(18, 160, 94, .1);
}

.qp-srch-box > i {
    font-size: 15px;
    color: var(--qp-ink3);
    margin-right: 10px;
}

.qp-srch-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    color: var(--qp-ink);
    font-family: var(--qp-sans);
}

.qp-srch-box input::placeholder {
    color: var(--qp-ink3);
}

.qp-srch-btn {
    height: 38px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--qp-pill);
    background: var(--qp-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--qp-sans);
    transition: background .15s;
}

.qp-srch-btn:hover {
    background: var(--qp-green-d);
}

.qp-srch-hot {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-left: 20px;
    font-size: 12px;
    color: var(--qp-ink3);
    white-space: nowrap;
    overflow: hidden;
}

.qp-srch-hot a {
    color: var(--qp-ink2);
}

.qp-srch-hot a:hover {
    color: var(--qp-green);
}

/* 右侧动作 */
.qp-hd-r {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.qp-icon-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--qp-pill);
    background: var(--qp-bg);
    color: var(--qp-ink2) !important;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.qp-icon-btn:hover {
    background: var(--qp-green-soft);
    color: var(--qp-green-d) !important;
}

.qp-icon-btn i {
    font-size: 15px;
}

.qp-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--qp-pill);
    background: var(--qp-green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(18, 160, 94, .24);
    transition: background .15s, transform .15s;
}

.qp-cart:hover {
    background: var(--qp-green-d);
    transform: translateY(-1px);
}

.qp-cart em.gwcshu {
    font-style: normal;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    border-radius: var(--qp-pill);
    background: #fff;
    color: var(--qp-green-d);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* ---------------------------------------------------------------- 5. 导航 */
.qp-nav {
    background: #fff;
    padding-bottom: 14px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 4px 16px rgba(16, 72, 48, .04);
}

.qp-nav-in {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.qp-nav-in::-webkit-scrollbar {
    display: none;
}

.qp-nav-in > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 20px;
    border-radius: var(--qp-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--qp-ink2) !important;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.qp-nav-in > a:hover {
    background: var(--qp-bg);
    color: var(--qp-ink) !important;
}

.qp-nav-in > a.qp-on {
    background: var(--qp-green);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(18, 160, 94, .24);
}

.qp-nav-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--qp-ink3) !important;
    padding-left: 12px;
    white-space: nowrap;
}

.qp-nav-more:hover {
    color: var(--qp-green) !important;
}

/* ------------------------------------------------------------ 6. 首屏大卡 */
.qp-hero {
    margin-top: 8px;
}

.qp-hero-card {
    position: relative;
    border-radius: var(--qp-r-lg);
    background:
        radial-gradient(120% 100% at 88% 8%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(116deg, #D6F0E0 0%, #B7E7CD 46%, #97DCBB 100%);
    padding: 56px 64px;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 装饰圆，柔化画面 */
.qp-hero-card::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -120px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .34);
}

.qp-hero-card::after {
    content: "";
    position: absolute;
    right: 150px;
    bottom: -170px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(11, 134, 80, .07);
}

.qp-hero-tx {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.qp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 16px;
    border-radius: var(--qp-pill);
    background: rgba(255, 255, 255, .82);
    color: var(--qp-green-d);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

.qp-hero-badge i {
    font-size: 11px;
}

.qp-hero-tx h1 {
    margin: 22px 0 14px;
    font-size: 46px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0D3B29;
}

.qp-hero-tx h1 em {
    font-style: normal;
    color: var(--qp-green);
}

.qp-hero-tx p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4A6E5E;
    max-width: 520px;
}

.qp-hero-btns {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.qp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 34px;
    border-radius: var(--qp-pill);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: var(--qp-green);
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(18, 160, 94, .3);
    transition: transform .16s, box-shadow .16s, background .16s;
}

.qp-btn:hover {
    background: var(--qp-green-d);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(18, 160, 94, .36);
}

.qp-btn-line {
    background: #fff;
    color: var(--qp-green-d) !important;
    box-shadow: 0 6px 18px rgba(16, 72, 48, .08);
}

.qp-btn-line:hover {
    background: #fff;
    color: var(--qp-green) !important;
}

/* 首屏右侧信息卡（叠放，圆润） */
/* 首屏右侧图片卡：参照图里「图片主导」的处理，用商品实拍撑住画面 */
.qp-hero-photo {
    position: relative;
    z-index: 2;
    margin-left: auto;
    align-self: center;
    width: 360px;
    height: 300px;
    flex: 0 0 360px;
    border-radius: var(--qp-r-lg);
    background: #fff;
    padding: 14px;
    box-shadow: 0 20px 48px rgba(9, 92, 56, .16);
    transform: rotate(-2deg);
}

.qp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    background: #F7FAF8;
}

.qp-hero-photo-tag {
    position: absolute;
    left: -26px;
    bottom: 34px;
    background: var(--qp-green);
    color: #fff;
    border-radius: var(--qp-pill);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(18, 160, 94, .34);
    white-space: nowrap;
}

.qp-hero-photo-tag b {
    font-family: var(--qp-num);
    font-size: 17px;
    margin-right: 3px;
}

/* ---------------------------------------------------- 7. 圆形图标入口 */
.qp-entries {
    margin-top: var(--qp-gap);
    background: #fff;
    border-radius: var(--qp-r-lg);
    padding: 28px 24px 22px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    box-shadow: var(--qp-sh);
}

.qp-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    text-decoration: none;
    transition: transform .16s;
}

.qp-entry:hover {
    transform: translateY(-4px);
}

.qp-entry-ico {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 72, 48, .12);
    overflow: hidden;
}

.qp-entry-ico img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 六种柔和色 */
.qp-entry:nth-child(1) .qp-entry-ico {
    background: linear-gradient(140deg, #34C27E, #0B8650);
}

.qp-entry:nth-child(2) .qp-entry-ico {
    background: linear-gradient(140deg, #5AC8FA, #2E86DE);
}

.qp-entry:nth-child(3) .qp-entry-ico {
    background: linear-gradient(140deg, #FFB65C, #FF8A2B);
}

.qp-entry:nth-child(4) .qp-entry-ico {
    background: linear-gradient(140deg, #A78BFA, #7C5CE6);
}

.qp-entry:nth-child(5) .qp-entry-ico {
    background: linear-gradient(140deg, #FF9BA8, #F0616F);
}

.qp-entry:nth-child(6) .qp-entry-ico {
    background: linear-gradient(140deg, #7ED3B2, #38A88A);
}

/* 第7、8个入口（养发疗养专项 / 全部商品）——补齐背景色，避免白底白图标空圈 */
.qp-entry:nth-child(7) .qp-entry-ico {
    background: linear-gradient(140deg, #F6A5C0, #D64E86);
}

.qp-entry:nth-child(8) .qp-entry-ico {
    background: linear-gradient(140deg, #8FA8C8, #5B729A);
}

.qp-entry-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--qp-ink);
    text-align: center;
}

.qp-entry-desc {
    font-size: 11px;
    color: var(--qp-ink3);
    margin-top: -2px;
    text-align: center;
}

/* ------------------------------------------------------------ 8. 区块头 */
.qp-sec {
    margin-top: 44px;
}

.qp-sec-hd {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.qp-sec-no {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--qp-green-soft);
    color: var(--qp-green-d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--qp-num);
    flex: 0 0 34px;
}

.qp-sec-ttl {
    font-size: 26px;
    font-weight: 800;
    color: var(--qp-ink);
    margin: 0;
    letter-spacing: .5px;
    line-height: 1.2;
}

.qp-sec-sub {
    font-size: 13px;
    color: var(--qp-ink3);
    margin-top: 2px;
}

.qp-sec-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 18px;
    border-radius: var(--qp-pill);
    background: var(--qp-bg);
    color: var(--qp-ink2) !important;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.qp-sec-link:hover {
    background: var(--qp-green-soft);
    color: var(--qp-green-d) !important;
}

/* 子栏目胶囊条 */
.qp-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.qp-chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    border-radius: var(--qp-pill);
    background: #fff;
    color: var(--qp-ink2) !important;
    font-size: 13px;
    box-shadow: var(--qp-sh);
    transition: background .15s, color .15s, transform .15s;
}

.qp-chip:hover {
    background: var(--qp-green);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ------------------------------------------------------------ 9. 商品卡 */
.qp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--qp-gap);
}

.qp-card {
    display: flex;
    flex-direction: column;
    background: var(--qp-card);
    border-radius: var(--qp-r);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--qp-sh);
    transition: transform .2s ease, box-shadow .2s ease;
}

.qp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--qp-sh-lg);
}

.qp-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F7FAF8;
    overflow: hidden;
}

.qp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.qp-card:hover .qp-card-img img {
    transform: scale(1.05);
}

/* 老浏览器兜底：不支持 aspect-ratio 的内核（Chrome < 88 / Safari < 15 / 老安卓 WebView）
   会让 .qp-card-img 塌成 0 高（现在只是靠商品图恰好是方的才没露馅）。
   用 padding-bottom:100% 的经典写法撑出 1:1，图片改成绝对定位铺满。
   注：.qp-hero-photo 有自己的 width/height（含 ≤1440 断点），不靠 aspect-ratio，无需兜底。 */
@supports not (aspect-ratio: 1 / 1) {
    .qp-card-img {
        height: 0;
        padding-bottom: 100%;
    }

    .qp-card-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.qp-card-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    border-radius: var(--qp-pill);
    background: rgba(255, 255, 255, .92);
    color: var(--qp-green-d);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.qp-card-badge.hot {
    background: var(--qp-red);
    color: #fff;
}

.qp-card-bd {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.qp-card-ttl {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--qp-ink);
    height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}

.qp-card:hover .qp-card-ttl {
    color: var(--qp-green-d);
}

.qp-card-price {
    display: flex;
    align-items: baseline;
    gap: 1px;
    margin-top: 12px;
}

.qp-card-price .qp-yen {
    font-size: 14px;
    font-weight: 700;
    color: var(--qp-red);
    line-height: 1;
}

.qp-card-price .qp-num {
    font-size: 27px;
    font-weight: 800;
    color: var(--qp-red);
    line-height: 1;
    font-family: var(--qp-num);
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}

.qp-card-price .qp-per {
    font-size: 12px;
    color: var(--qp-ink3);
    margin-left: 3px;
}

.qp-card-price .qp-from {
    font-size: 11px;
    color: var(--qp-ink3);
    margin-left: 4px;
}

.qp-card-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.qp-pill-soft {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 12px;
    border-radius: var(--qp-pill);
    background: var(--qp-green-soft);
    color: var(--qp-green-d);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.qp-card-go {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    border-radius: var(--qp-pill);
    background: var(--qp-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s;
}

.qp-card:hover .qp-card-go {
    background: var(--qp-green-d);
}

/* --------------------------------------------------------- 10. 信任区块 */
.qp-trust {
    margin-top: 44px;
    background: #fff;
    border-radius: var(--qp-r-lg);
    padding: 40px 44px;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: var(--qp-sh);
}

.qp-trust-l {
    flex: 1;
    min-width: 0;
}

.qp-trust-l h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: var(--qp-ink);
    letter-spacing: .5px;
}

.qp-trust-l p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--qp-ink2);
    max-width: 560px;
}

.qp-trust-list {
    display: flex;
    gap: 26px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.qp-trust-li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--qp-ink2);
}

.qp-trust-li i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--qp-green-soft);
    color: var(--qp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex: 0 0 26px;
}

.qp-trust-stats {
    display: flex;
    gap: 40px;
    flex: 0 0 auto;
}

.qp-trust-stat {
    text-align: center;
}

.qp-trust-stat b {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--qp-green);
    line-height: 1;
    font-family: var(--qp-num);
    font-variant-numeric: tabular-nums;
}

.qp-trust-stat span {
    display: block;
    font-size: 12px;
    color: var(--qp-ink3);
    margin-top: 8px;
}

/* --------------------------------------------------------- 11. 环保细带 */
.qp-eco {
    margin-top: 20px;
    border-radius: var(--qp-r-lg);
    background: linear-gradient(100deg, #0B8650 0%, #12A05E 62%, #3ABF7F 100%);
    color: #fff;
    padding: 26px 44px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    position: relative;
}

.qp-eco::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -70px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.qp-eco i.qp-eco-ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 46px;
}

.qp-eco-tx {
    position: relative;
    z-index: 2;
}

.qp-eco-tx strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
}

.qp-eco-tx span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    margin-top: 3px;
}

.qp-eco-tags {
    margin-left: auto;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.qp-eco-tag {
    height: 30px;
    padding: 0 16px;
    border-radius: var(--qp-pill);
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .26);
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
}

/* ------------------------------------------------------------ 12. 页脚 */
.qp-ft {
    margin-top: 56px;
    background: #fff;
    border-top: 1px solid var(--qp-line);
    padding: 48px 0 0;
}

.qp-ft-main {
    display: flex;
    gap: 64px;
    padding-bottom: 40px;
}

.qp-ft-brand {
    flex: 0 0 330px;
}

.qp-ft-brand .qp-logo {
    margin-bottom: 16px;
}

.qp-ft-brand p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--qp-ink2);
}

.qp-ft-tel {
    margin-top: 18px;
    font-size: 12px;
    color: var(--qp-ink3);
}

.qp-ft-tel b {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--qp-green-d);
    font-family: var(--qp-num);
    margin-top: 2px;
    letter-spacing: .5px;
}

.qp-ft-cols {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.qp-ft-col h4 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--qp-ink);
}

.qp-ft-col a {
    display: block;
    font-size: 13px;
    line-height: 2.2;
    color: var(--qp-ink2) !important;
}

.qp-ft-col a:hover {
    color: var(--qp-green) !important;
}

.qp-ft-bar {
    border-top: 1px solid var(--qp-line);
    padding: 20px 0 28px;
    font-size: 12px;
    color: var(--qp-ink3);
    display: flex;
    gap: 16px;
    align-items: center;
}

.qp-ft-bar span {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

/* ------------------------------------------------------- 13. 响应式兜底 */
@media screen and (max-width: 1440px) {
    :root {
        --qp-wrap: 1280px;
    }

    .qp-hero-card {
        padding: 44px 48px;
        min-height: 310px;
    }

    .qp-hero-tx h1 {
        font-size: 40px;
    }

    .qp-hero-photo {
        width: 300px;
        height: 250px;
        flex: 0 0 300px;
    }
}

@media screen and (max-width: 1280px) {
    :root {
        --qp-wrap: 1160px;
        --qp-gap: 16px;
    }

    .qp-hero-tx h1 {
        font-size: 34px;
    }

    .qp-hero-photo {
        display: none;
    }

    .qp-sec-ttl {
        font-size: 22px;
    }

    .qp-trust {
        gap: 28px;
        padding: 30px 28px;
    }

    .qp-trust-stats {
        gap: 24px;
    }

    .qp-entry-ico {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }
}

/* --------------------------------------------------- 16. 悬浮客服 / 回顶 */
.qp-help {
    position: fixed;
    right: 28px;
    bottom: 96px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: var(--qp-pill);
    background: #fff;
    color: var(--qp-green-d);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 72, 48, .16);
    cursor: pointer;
    transition: transform .16s, box-shadow .16s;
}

.qp-help:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(16, 72, 48, .22);
}

.qp-help i {
    color: var(--qp-green);
    font-size: 16px;
}

.qp-help-panel {
    position: fixed;
    right: 28px;
    bottom: 152px;
    z-index: 200;
    width: 246px;
    background: #fff;
    border-radius: var(--qp-r);
    padding: 20px 22px;
    box-shadow: 0 18px 48px rgba(16, 72, 48, .2);
    display: none;
}

.qp-help-panel.qp-open {
    display: block;
}

.qp-help-panel h5 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--qp-ink);
}

.qp-help-panel p {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--qp-ink2);
    line-height: 1.6;
}

.qp-help-panel a {
    color: var(--qp-green-d);
}

.qp-help-panel a:hover {
    color: var(--qp-green);
}

/* --------------------------------------------------- 17. 首页轮播（后台 banner typeid=3） */
.qp-banner {
    position: relative;
    border-radius: var(--qp-r-lg);
    overflow: hidden;
    background: var(--qp-green-soft);
    box-shadow: var(--qp-sh);
}

.qp-banner-slide {
    display: block;
    width: 100%;
    line-height: 0;
}

.qp-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--qp-r-lg);
}

.qp-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--qp-green-d);
    font-size: 24px;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(16, 72, 48, .14);
    transition: background .16s, color .16s;
}

.qp-banner-arrow:hover {
    background: var(--qp-green);
    color: #fff;
}

.qp-banner-arrow.qp-prev { left: 20px; }
.qp-banner-arrow.qp-next { right: 20px; }

.qp-banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.qp-banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: width .18s, background .18s;
}

.qp-banner-dot.qp-on {
    width: 24px;
    border-radius: var(--qp-pill);
    background: var(--qp-green);
}

/* --------------------------------------------------- 18. 返回顶部（首页，滚动后出现） */
.qp-backtop {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 190;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--qp-green);
    color: #fff;
    font-size: 22px;
    line-height: 46px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(18, 160, 94, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s, transform .22s, visibility .22s, background .16s;
}

.qp-backtop.qp-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qp-backtop:hover {
    background: var(--qp-green-d);
    color: #fff;
}

/* --------------------------------------------------- 19. LOGO 图片（后台 site_logo） */
.qp-logo-img {
    display: block;
    max-width: 220px;
    height: 48px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}
@media (max-width: 1200px) {
    .qp-logo-img { max-width: 180px; height: 42px; }
}
/* 有 LOGO 图时：去掉图标的绿底方块与文字，让图片干净显示 */
.qp-logo.qp-logo-hasimg {
    background: none;
    border-radius: 0;
    box-shadow: none;
}

/* --------------------------------------------------- 20. 空商品楼层占位（无商品栏目也展示入口） */
.qp-floor-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 120px;
    padding: 24px;
    border: 1px dashed var(--qp-line, #dce8df);
    border-radius: 14px;
    background: var(--qp-green-tint, #f2faf6);
    color: var(--qp-ink3, #8a9a90);
    font-size: 14px;
}
.qp-floor-empty i.fa-inbox {
    font-size: 26px;
    color: var(--qp-green, #17a15c);
    opacity: .7;
}
.qp-floor-empty a {
    color: var(--qp-green, #17a15c);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.qp-floor-empty a:hover { text-decoration: underline; }
