/* ============================================================
   商城前台样式
   移动优先，PC 端逐级展开
   变量集中在 :root，后台换肤只需改这里
   ============================================================ */

:root {
    --shop-bg: #f1f2f6;
    --shop-card: #ffffff;
    --shop-text: #1b2130;
    --shop-text-sub: #8b93a7;
    --shop-line: #e8ebf2;
    --shop-gold: #c9a45a;
    --shop-gold-light: #e8c66d;
    --shop-radius: 20px;
    --shop-gap: 12px;
    --shop-shadow: 0 2px 14px rgba(24, 32, 54, 0.06);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body.shop-body {
    margin: 0;
    /* 移动端防横向滚动：任何子元素溢出都会把 body 撑宽，
       连带 fixed 的底部 tabbar 一起被推走（表现为 tab 图标错位/被挤出屏幕）。
       overflow-x 必须是 hidden 才能真正裁掉（clip 不会产生滚动容器）。 */
    overflow-x: hidden;
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- 容器 ---------- */
.shop-wrap {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 var(--shop-gap) 88px;
    background: var(--shop-bg);
}

/* ---------- 顶部品牌条 ---------- */
/* 移动端不显示：原站首屏是「直接进 Hero 轮播」，没有品牌条。
   ≥900px 的桌面布局会把它打开。 */
.shop-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4px 10px;
}

.shop-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.shop-brand__logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #1b2130, #38425c);
}

.shop-brand__name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-brand__sub {
    font-size: 12px;
    color: var(--shop-text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-topbar__cta {
    flex: 0 0 auto;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Hero 轮播 ---------- */
/* 原站首屏卡片左右留白比下面商品卡更大，这里额外内缩 12px */
.shop-hero {
    position: relative;
    /* 留白与下方 .shop-section / .shop-goods 保持一致（都贴合 .shop-wrap 的 padding）。
       这里原来额外内缩 12px，导致轮播比「指南/商品卡」左边多出一条缝。 */
    margin: 0;
    max-width: 100%;
    border-radius: 22px;
    overflow: hidden;
    /* 轮播轨道的参照容器：slide 用 100cqw 锚定宽度，
       父级宽度未定时也不会退回图片固有 750px 把页面顶宽。 */
    container-type: inline-size;
    background: #05070d;
    box-shadow: var(--shop-shadow);
}

/* 订单查询入口：移动端顶部品牌条隐藏后，入口浮在 Hero 右上角 */
.shop-hero__order {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(10, 14, 26, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.shop-hero__track {
    display: flex;
    /* 兜底宽度：即使样式表尚未到达，轨道也不能被图片固有宽度撑走。
       min-width:0 防止 flex 子项的 min-content 反过来把父级顶宽。 */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.shop-hero__slide {
    flex: 0 0 100%;
    /* 宽度锚定到容器(100cqw)：flex-basis 在父级宽度未定时会退回内容固有宽度，
       导致第 2/3 张图按 750px 实体像素把 body 顶宽 —— 就是「先撑满整屏再缩回」。 */
    width: 100cqw;
    min-width: 0;
    max-width: 100%;
    position: relative;
    aspect-ratio: 750 / 400;
}

.shop-hero__slide img {
    width: 100%;
    height: 100%;
    /* 图片固有比例兜底（HTML width/height 之外的第二道保险） */
    max-width: 100%;
    object-fit: cover;
}

/* 首屏品牌文字区：文字来自后台配置，图片不烧字 */
.shop-hero__brand {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.shop-hero__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: radial-gradient(circle at 32% 28%, #ffffff, #dfe5f2 60%, #b9c2d8);
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.32);
}

.shop-hero__brand strong {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 8px;
    text-indent: 8px;
    background: linear-gradient(180deg, #fdf0c4, #e8c66d 55%, #c39a3c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 22px rgba(232, 198, 109, 0.28);
}

.shop-hero__brand em {
    font-style: normal;
    font-size: 13px;
    letter-spacing: 6px;
    text-indent: 6px;
    color: rgba(214, 221, 236, 0.86);
}

.shop-hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.shop-hero__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s, background 0.25s;
}

.shop-hero__dot.is-active {
    width: 18px;
    background: var(--shop-gold-light);
}

/* ---------- 指南区 ---------- */
.shop-guide-title {
    margin: 22px 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--shop-text);
}

/* 移动端：横向可滑动的纯文字药丸（原站形态，无图标、无副标题） */
.shop-guide {
    display: flex;
    gap: 10px;
    margin: 12px 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.shop-guide::-webkit-scrollbar {
    display: none;
}

.shop-guide__pill {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
    transition: transform 0.18s ease;
}

.shop-guide__pill:active {
    transform: scale(0.96);
}

.shop-guide__pill img {
    display: none;
    width: 30px;
    height: 30px;
}

.shop-guide__pill b {
    font-size: 14px;
    font-weight: 500;
}

.shop-guide__pill i {
    display: none;
    font-style: normal;
    font-size: 11px;
    color: var(--shop-text-sub);
}

/* ---------- 区块 ---------- */
.shop-section {
    margin-top: 22px;
}

.shop-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 0 2px 10px;
}

.shop-section__title {
    position: relative;
    margin: 0;
    /* 原站分类标题是纯左对齐粗体文字，没有竖线色块装饰 */
    padding-left: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.shop-section__title::before {
    display: none;
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    margin-top: -8px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--shop-gold-light), var(--shop-gold));
}

.shop-section__more {
    font-size: 12px;
    color: var(--shop-text-sub);
    white-space: nowrap;
}

/* ---------- 商品网格 ---------- */
/* 移动端单列大卡：原站就是竖排大卡（标题压在图上、底部价格+下单按钮条），
   不是双列小卡。≥560px 起才分列。 */
.shop-goods {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--shop-gap);
}

.shop-good {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--shop-card);
    border-radius: var(--shop-radius);
    overflow: hidden;
    box-shadow: var(--shop-shadow);
    transition: transform 0.18s ease;
}

.shop-good:active {
    transform: scale(0.985);
}

/* ---------- 整卡可点：铺满卡片的隐形链接 ----------
   首页卡片里嵌着「立即下单」<a>，HTML 不允许 <a> 套 <a>
   （解析器会在内层 <a> 处提前闭合外层），所以 .shop-good 保持 <article>，
   用这一层 absolute 覆盖来承担「进详情」的跳转。
   .shop-good 本身已是 position:relative，包含块正好是整张卡。
   z-index 只给覆盖层 1，内部的「立即下单」在 .shop-good__btn 里提到 2，
   于是「点按钮走下单页、点卡片其余位置进详情」互不打架。 */
.shop-good__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
}

.shop-good__pic {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #eef1f7;
}

.shop-good__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-good__tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
}

.shop-good__tag--off {
    background: #9aa2b4;
}

.shop-good__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 0;
    flex: 1 1 auto;
}

.shop-good__title {
    /* 移动端：标题压在商品图上（原站形态）。
       title 在 HTML 里已移入 .shop-good__pic 内部，所以这里用绝对定位；
       ≥900px 桌面端会改回 static，落回图片下方的正文流。
       原站标题是深色粗体直接压图、底下没有色块，所以这里不用渐变遮罩，
       改用文字光晕兜底——万一站方换成深色商品图也还读得清。 */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 14px 12px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #1c2233;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 10px rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-good__meta {
    font-size: 11px;
    color: var(--shop-text-sub);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.shop-good__meta span {
    padding: 1px 6px;
    border-radius: 6px;
    background: #f1f3f9;
}

.shop-good__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    /* 原站商品卡底部是独立的浅灰条：左边价格、右边「立即下单」黑色按钮。
       父级 .shop-good__body 有 14px 左右内边距，这里用等量负外边距把灰条
       拉通到卡片左右边缘；价格与按钮仍靠自身的 14px padding 对齐，不会顶到边上。
       底部两个圆角由 .shop-good 的 overflow:hidden + border-radius 裁出。 */
    margin: 12px -14px 0;
    padding: 12px 14px;
    background: #f6f7fa;
}

.shop-good__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #e2483c;
    font-weight: 700;
}

.shop-good__price i {
    font-style: normal;
    font-size: 12px;
}

.shop-good__price b {
    font-size: 19px;
    line-height: 1;
}

.shop-good__price s {
    margin-left: 4px;
    font-size: 11px;
    color: var(--shop-text-sub);
    font-weight: 400;
}

.shop-good__btn {
    flex: 0 0 auto;
    /* 盖过 .shop-good__link 覆盖层，否则「立即下单」会被详情跳转抢走，
       点哪儿都只进详情页。z-index 要生效必须自己也是定位元素。 */
    position: relative;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #39415a, #1d2333);
}

.shop-good__btn--off {
    background: #c9cfdc;
}

/* ---------- 图文说明块 ---------- */
.shop-note {
    padding: 16px;
    border-radius: var(--shop-radius);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
}

.shop-note + .shop-note {
    margin-top: var(--shop-gap);
}

.shop-note__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.shop-note__slogan {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--shop-gold);
    letter-spacing: 3px;
}

.shop-note__text {
    margin: 0;
    font-size: 13px;
    color: var(--shop-text-sub);
}

/* 激活流程三步 */
.shop-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.shop-step {
    padding: 14px 8px;
    border-radius: 14px;
    text-align: center;
    background: #f7f9fc;
}

.shop-step b {
    display: block;
    font-size: 18px;
    color: var(--shop-gold);
    line-height: 1.2;
}

.shop-step span {
    font-size: 12px;
    color: var(--shop-text-sub);
}

/* ---------- 页脚 ---------- */
.shop-footer {
    margin-top: 24px;
    padding: 18px 12px 8px;
    text-align: center;
    font-size: 12px;
    color: var(--shop-text-sub);
}

.shop-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin-bottom: 8px;
}

.shop-footer__icp {
    line-height: 1.8;
}

/* ---------- 底部 tab 栏（移动端） ---------- */
.shop-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--shop-line);
    padding-bottom: env(safe-area-inset-bottom);
}

.shop-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 0 7px;
    font-size: 11px;
    color: var(--shop-text-sub);
}

.shop-tab__icon {
    width: 22px;
    height: 22px;
    display: block;
}

.shop-tab.is-active {
    color: var(--shop-gold);
    font-weight: 600;
}

/* ============================================================
   第二轮：详情页 / 下单表单 / 订单卡片 / 客服 / 发现
   ============================================================ */

/* 页面底部留白：有底部操作条的页面用 --flush 取消 */
.shop-wrap--flush {
    padding-bottom: 24px;
}

/* ---------- 返回条 ---------- */
.shop-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 2px 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(241, 242, 246, 0.94);
    backdrop-filter: blur(8px);
}

.shop-bar__back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--shop-card);
    color: var(--shop-text);
    box-shadow: var(--shop-shadow);
}

.shop-bar__title {
    font-size: 16px;
    font-weight: 600;
}

.shop-bar__spacer {
    width: 32px;
}

/* ---------- 商品详情 ---------- */
.shop-detail__pic {
    position: relative;
    border-radius: var(--shop-radius);
    overflow: hidden;
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
    aspect-ratio: 1 / 1;
}

.shop-detail__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-detail__head {
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--shop-radius);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
}

.shop-detail__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-detail__origin {
    font-size: 12px;
    color: var(--shop-text-sub);
}

.shop-detail__sales {
    margin-left: auto;
    font-size: 12px;
    color: var(--shop-text-sub);
}

.shop-detail__title {
    margin: 10px 0 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
}

.shop-detail__sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--shop-text-sub);
}

.shop-detail__content {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #3d4557;
    word-break: break-word;
}

.shop-detail__content img {
    max-width: 100%;
    height: auto;
}

/* ---------- 规格表 ---------- */
.shop-spec {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0;
    margin: 12px 0 0;
    font-size: 13px;
}

.shop-spec dt,
.shop-spec dd {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-spec dt {
    color: var(--shop-text-sub);
}

.shop-spec dd {
    color: var(--shop-text);
    word-break: break-all;
}

.shop-spec--tight {
    font-size: 12.5px;
}

.shop-spec--tight dt,
.shop-spec--tight dd {
    padding: 6px 0;
}

/* ---------- 底部操作条 ---------- */
.shop-actionbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 560px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--shop-line);
}

.shop-actionbar__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #e2483c;
    font-weight: 700;
}

.shop-actionbar__price i {
    font-style: normal;
    font-size: 13px;
}

.shop-actionbar__price b {
    font-size: 22px;
    line-height: 1;
}

.shop-actionbar__btn {
    margin-left: auto;
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.shop-actionbar__btn--off {
    background: #c9cfdc;
}

/* ---------- 表单 ---------- */
.shop-form {
    margin-top: 14px;
}

.shop-field {
    margin-bottom: 14px;
}

.shop-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3d4557;
}

.shop-field input,
.shop-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    background: #f7f9fc;
    font-size: 14px;
    color: var(--shop-text);
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.18s, background 0.18s;
}

.shop-field input:focus,
.shop-field textarea:focus {
    outline: none;
    border-color: var(--shop-gold);
    background: #fff;
}

.shop-field textarea {
    resize: vertical;
    min-height: 62px;
}

.shop-field small {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    color: var(--shop-text-sub);
}

.shop-field.is-error input,
.shop-field.is-error textarea {
    border-color: #e2483c;
    background: #fff6f5;
}

.shop-field__msg {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    color: #e2483c;
}

.shop-form__error {
    margin: 0 0 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff1f0;
    border: 1px solid #ffd4d0;
    color: #c8352a;
    font-size: 13px;
}

.shop-form__submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.shop-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- 下单页商品摘要 ---------- */
.shop-order__goods {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: var(--shop-radius);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
}

.shop-order__goods img {
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: cover;
    background: #eef1f7;
}

.shop-order__goods-info {
    min-width: 0;
}

.shop-order__goods-info h1 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.shop-order__goods-price {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #e2483c;
}

.shop-tips {
    margin-top: 14px;
    padding: 0 4px;
    font-size: 12px;
    color: var(--shop-text-sub);
}

.shop-tips p {
    margin: 3px 0;
}

/* ---------- 订单卡片 ---------- */
.shop-ordercard {
    border-radius: var(--shop-radius);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
}

.shop-ordercard__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--shop-line);
    font-size: 13px;
}

.shop-ordercard__sn {
    color: var(--shop-text-sub);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    word-break: break-all;
}

.shop-ordercard__status {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--shop-gold);
}

.shop-ordercard__status--2 {
    color: #9aa2b4;
}

.shop-ordercard__status--3 {
    color: #2f9e5f;
}

.shop-ordercard__body {
    display: flex;
    gap: 12px;
    padding: 14px;
}

.shop-ordercard__body img {
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: cover;
    background: #eef1f7;
}

.shop-ordercard__info h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.shop-ordercard__info p {
    margin: 2px 0;
    font-size: 13px;
    color: #e2483c;
    font-weight: 600;
}

.shop-ordercard__info .shop-ordercard__sub {
    font-size: 12px;
    color: var(--shop-text-sub);
    font-weight: 400;
}

.shop-ordercard .shop-spec {
    margin: 0;
    padding: 0 14px 12px;
    grid-template-columns: 76px 1fr;
}

.shop-masked {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.5px;
    color: var(--shop-text-sub);
}

/* ---------- 发现页福利入口 ---------- */
.shop-welfare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 4px;
}

.shop-welfare__item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 10px;
    border-radius: 16px;
    background: linear-gradient(140deg, #2a3149, #1a1f30);
    color: #fff;
}

.shop-welfare__item b {
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-gold-light);
}

.shop-welfare__item span {
    font-size: 11.5px;
    opacity: 0.75;
}

/* ---------- 客服页 ---------- */
.shop-service__hero {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-radius: var(--shop-radius);
    background: linear-gradient(140deg, #2a3149, #1a1f30);
    color: #fff;
}

.shop-service__avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.shop-service__hero h1 {
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 700;
}

.shop-service__hero p {
    margin: 0;
    font-size: 12.5px;
    opacity: 0.75;
}

.shop-service__call {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--shop-gold);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.shop-faq {
    border-radius: var(--shop-radius);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
}

.shop-faq__item {
    border-bottom: 1px solid var(--shop-line);
}

.shop-faq__item:last-child {
    border-bottom: 0;
}

.shop-faq__item summary {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 34px;
}

.shop-faq__item summary::-webkit-details-marker {
    display: none;
}

.shop-faq__item summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1.5px solid #aab2c4;
    border-bottom: 1.5px solid #aab2c4;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.shop-faq__item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.shop-faq__item p {
    margin: 0;
    padding: 0 16px 14px;
    font-size: 13px;
    color: var(--shop-text-sub);
}

.shop-note__link {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #f1f3f9;
    color: var(--shop-text);
    font-size: 12.5px;
    font-weight: 600;
}

.shop-empty {
    grid-column: 1 / -1;
    padding: 28px 0;
    text-align: center;
    color: var(--shop-text-sub);
    font-size: 13px;
}

/* 说明块里的按钮：复用 .shop-note__link 的胶囊外观，去掉浏览器默认边框 */
.shop-note__link--btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}

/* ---------- 底部弹出图解（激活流程） ---------- */
/* 层级必须高于 tabbar（z-index:20），否则弹窗会被底部导航压住。 */
.shop-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
}

.shop-sheet[hidden] {
    display: none;
}

.shop-sheet__mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(16, 20, 32, 0.52);
    opacity: 0;
    transition: opacity 0.28s ease;
}

/* 遮罩和面板都直接相对视口定位（fixed），
   不放在 .shop-sheet 里做 absolute —— 中间多一层包含块时，
   bottom:0 会贴着那一层而不是视口底边，弹窗会整块掉出屏幕。 */
.shop-sheet__panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-width: 560px;
    /* 内容比视口高时面板整体可纵向滚动，图区不会被压扁 */
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    background: var(--shop-card);
    box-shadow: 0 -8px 30px rgba(16, 22, 40, 0.18);
    /* 从底部升起：初态整体下移一屏，.is-open 归零。
       这里刻意不加 will-change —— fixed 定位 + will-change:transform 会把面板
       提升成独立合成层，截屏/低端机上容易出现层错位（面板停在半路、遮罩不显示）。 */
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shop-sheet.is-open .shop-sheet__mask {
    opacity: 1;
}

.shop-sheet.is-open .shop-sheet__panel {
    transform: translateY(0);
}

.shop-sheet__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 16px 44px 12px;
}

.shop-sheet__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-text);
}

.shop-sheet__close {
    position: absolute;
    top: 10px;
    right: 6px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4a5164;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-sheet__close svg {
    width: 22px;
    height: 22px;
}

.shop-sheet__close:active {
    background: #f1f3f9;
}

/* 视口只负责裁剪；轨道位移交给 JS，才能实现拖动跟手 + 松手吸附。
   touch-action: pan-y —— 纵向滚动仍归浏览器（面板本身可滚），
   横向手势完全交给 JS。不设它的话，横向拖动会先被浏览器判成滚动，
   手势在移动端会「拖不动」。 */
.shop-sheet__viewport {
    flex: 0 0 auto;
    overflow: hidden;
    touch-action: pan-y;
}

.shop-sheet__track {
    display: flex;
    width: 100%;
    will-change: transform;
}

.shop-sheet__slide {
    /* flex-basis 用百分比 + min-width:0，防止图片固有宽度把轨道撑开 */
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    padding: 0 2px;
}

/* 有图和无图保持同一高度，传图后版面不跳动 */
.shop-sheet__img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border-radius: 16px;
    background: #f7f8fb;
    /* 拖动时浏览器会触发原生图片拖拽，手感会变成"拖图"而不是"翻页" */
    -webkit-user-drag: none;
    user-select: none;
}

.shop-sheet__img--ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed var(--shop-line);
    color: #b7bcc9;
    font-size: 12.5px;
}

.shop-sheet__img--ph svg {
    width: 44px;
    height: 44px;
}

.shop-sheet__step {
    margin: 16px 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-text);
}

.shop-sheet__desc {
    margin: 0 0 4px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--shop-text-sub);
    /* 说明长短不一，统一预留两行高度，翻页时下方 dots 不上下跳 */
    min-height: 2.6em;
}

.shop-sheet__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    flex: 0 0 auto;
    padding: 14px 0 4px;
}

.shop-sheet__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d7dbe6;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-sheet__dot.is-active {
    background: var(--shop-gold);
    transform: scale(1.25);
}

/* 弹窗打开时锁住背景滚动：body 已有 overflow-x:hidden，
   这里改成 hidden 才能真正禁掉纵向滚动（clip 不产生滚动容器） */
body.is-sheet-open {
    overflow: hidden;
}

/* ---------- 富文本弹窗（公司介绍 / 服务说明） ---------- */
/* 与图解弹窗的差别只在「谁滚动」：
   图解弹窗内容高度固定（图片定高），由面板自身兜底滚动；
   富文本长度不可控，若继续沿用面板的 overflow-y:auto，
   正文一长标题栏会被一起滚走、关闭按钮就找不到了。
   所以这里把面板钉成固定高度并关掉自身滚动，改由 .shop-sheet__body 单独滚。
   修饰类按「内容形态」命名而不是按具体弹窗 —— 以后再加富文本弹窗直接复用。 */
.shop-sheet__panel--richtext {
    height: 80vh;
    max-height: 80vh;
    overflow: hidden;
}

/* min-height:0 是关键：flex 子项默认 min-height:auto，
   内容多高就撑多高，overflow 永远轮不到触发，面板反而被顶出视口。 */
.shop-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 6px;
}

/* 富文本排版：后台编辑器产出的结构很杂（内联 width、带空 style 的 <p>），
   这里只做「不溢出 + 节奏统一」，不去覆盖运营设的字号 / 颜色 / 对齐。 */
.shop-richtext {
    font-size: 14px;
    line-height: 1.85;
    color: var(--shop-text-sub);
    /* 长 URL / 连续英文不换行会把面板撑出横向滚动条 */
    word-break: break-word;
    overflow-wrap: anywhere;
}

.shop-richtext p {
    margin: 0 0 12px;
}

.shop-richtext h1,
.shop-richtext h2,
.shop-richtext h3,
.shop-richtext h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--shop-text);
}

.shop-richtext h1 { font-size: 19px; }
.shop-richtext h2 { font-size: 17px; }
.shop-richtext h3 { font-size: 15.5px; }
.shop-richtext h4 { font-size: 14.5px; }

/* 正文第一段的标题不吃上方间距，否则面板顶部会空一截 */
.shop-richtext > *:first-child {
    margin-top: 0;
}

.shop-richtext ul,
.shop-richtext ol {
    margin: 0 0 12px;
    padding-left: 1.35em;
}

.shop-richtext li {
    margin: 0 0 6px;
}

.shop-richtext a {
    color: var(--shop-gold);
    text-decoration: underline;
}

/* 图片上的 width/height 是编辑器写死的内联样式，
   max-width 管得住宽，height 必须 !important 才能压掉内联的固定高，
   否则超宽图会被拉变形。 */
.shop-richtext img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto 12px;
    border-radius: 10px;
}

.shop-richtext table {
    width: 100%;
    margin: 0 0 12px;
    border-collapse: collapse;
    font-size: 13px;
}

.shop-richtext th,
.shop-richtext td {
    padding: 8px 10px;
    border: 1px solid var(--shop-line);
    text-align: left;
}

.shop-richtext th {
    background: #f7f8fb;
    color: var(--shop-text);
    font-weight: 700;
}

.shop-richtext blockquote {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f8fb;
}

.shop-richtext hr {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid var(--shop-line);
}

/* 末段不留白底，免得正文滚到底时下方多出一截空隙 */
.shop-richtext > *:last-child {
    margin-bottom: 0;
}

/* ============================================================
   平板 ≥560px
   ============================================================ */
@media (min-width: 560px) {
    .shop-wrap {
        max-width: 720px;
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .shop-hero__slide {
        aspect-ratio: 750 / 340;
    }
}

/* ============================================================
   PC ≥900px：展开成桌面布局，隐藏底部 tab 改用顶部导航
   ============================================================ */
@media (min-width: 900px) {
    body.shop-body {
        background: #eceef4;
    }

    .shop-wrap {
        max-width: 1140px;
        padding-bottom: 40px;
    }

    /* 顶部出现横向导航 */
    .shop-tabbar {
        position: sticky;
        top: 0;
        bottom: auto;
        display: flex;
        justify-content: center;
        gap: 40px;
        padding: 0 24px;
        background: rgba(255, 255, 255, 0.96);
    }

    .shop-tab {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 7px;
        padding: 14px 0;
        font-size: 14px;
    }

    .shop-tab__icon {
        width: 18px;
        height: 18px;
    }

    .shop-topbar {
        display: flex;
        padding: 22px 4px 14px;
    }

    .shop-brand__logo {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .shop-brand__name {
        font-size: 22px;
    }

    .shop-hero__slide {
        aspect-ratio: 750 / 330;
    }

    .shop-hero__brand {
        gap: 14px;
    }

    .shop-hero__mark {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .shop-hero__brand strong {
        font-size: 44px;
        letter-spacing: 12px;
        text-indent: 12px;
    }

    .shop-hero__brand em {
        font-size: 16px;
        letter-spacing: 9px;
        text-indent: 9px;
    }

    .shop-guide {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin: 20px 0 4px;
    }

    .shop-guide__pill {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 20px;
        border-radius: var(--shop-radius);
    }

    .shop-guide__pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(24, 32, 54, 0.1);
    }

    .shop-guide__pill img {
        width: 34px;
        height: 34px;
    }

    .shop-guide__pill b {
        font-size: 15px;
    }

    .shop-goods {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .shop-good:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 26px rgba(24, 32, 54, 0.12);
    }

    .shop-good__title {
        /* 桌面端把标题放回图片下方的正文流（不再是压在图上） */
        position: static;
        padding: 0;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0;
        color: inherit;
        background: none;
        -webkit-line-clamp: 2;
        min-height: 42px;
    }

    .shop-section__title {
        font-size: 21px;
    }

    .shop-note {
        padding: 24px;
    }

    .shop-footer {
        padding-top: 28px;
    }

    /* 底部操作条在 PC 上跟随内容容器宽度 */
    .shop-actionbar {
        max-width: 1140px;
        padding: 14px 24px;
    }

    .shop-actionbar__btn {
        padding: 12px 40px;
        font-size: 15px;
    }

    /* 详情页在宽屏改为左右分栏，图片与信息不再上下堆叠 */
    .shop-detail__layout {
        display: grid;
        grid-template-columns: 420px 1fr;
        gap: 24px;
        align-items: start;
    }

    .shop-spec {
        grid-template-columns: 96px 1fr;
        font-size: 13.5px;
    }

    .shop-field input,
    .shop-field textarea {
        padding: 13px 14px;
    }

    .shop-order__goods img,
    .shop-ordercard__body img {
        width: 92px;
        height: 92px;
    }
}

/* 超宽屏 */
@media (min-width: 1280px) {
    .shop-goods {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================================
   商品详情页 —— 「长图 + 底部固定胶囊条」版式
   仿参考页结构：右上关闭 / 顶部轮播 / 价格头 / 整宽长图集 / 磨砂胶囊操作条
   与 .shop-detail__* 老样式并存，老类不删（首页/发现页仍在用）
   ============================================================ */

/* ---------- 底色：极浅蓝白渐变，四周带一点冷调 ---------- */
body.shop-body--poster {
    background:
        radial-gradient(120% 60% at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #eaf1fb 0%, #f6f8fc 30%, #eef3fa 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* 长图页不要左右留白，卡通满宽 */
.shop-wrap--poster {
    max-width: 560px;
    padding-bottom: 104px;
}

/* ---------- 右上关闭按钮 ---------- */
.shop-pclose {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top));
    right: 14px;
    z-index: 40;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(27, 33, 48, 0.42);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease;
}

.shop-pclose:active {
    background: rgba(27, 33, 48, 0.7);
}

/* ---------- 顶部轮播 ---------- */
.shop-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #eef1f7;
    /* pan-y = 纵向滚动仍交给浏览器原生处理，横向手势留给轮播。
       不写这一行的话，移动端一上手势浏览器就判定为滚动并直接
       派发 pointercancel，横向滑动永远收不到 pointermove。 */
    touch-action: pan-y;
}

.shop-carousel__track {
    display: flex;
    /* 不写 width，交给 transform 控制位移；
       track 用 flex 时各 slide 必须 flex:0 0 100% 才能并排而不是被压缩 */
    transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.35, 1);
    will-change: transform;
}

.shop-carousel.is-dragging .shop-carousel__track {
    transition: none;
}

.shop-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
}

.shop-carousel__slide img {
    display: block;
    width: 100%;
    height: auto;
    /* 选中长按不弹系统菜单，滑动轮播才顺手 */
    -webkit-user-drag: none;
    user-select: none;
}

.shop-carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

.shop-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.18);
    transition: width 0.25s ease, background 0.25s ease;
}

.shop-carousel__dot.is-on {
    width: 16px;
    border-radius: 3px;
    background: #fff;
}

/* ---------- 价格头 ---------- */
.shop-wrap--poster .shop-detail__head {
    background: transparent;
    padding: 16px var(--shop-gap) 6px;
}

/* ---------- 详情长图集：整宽、无间隙、逐张堆叠 ---------- */
.shop-plongimg {
    margin-top: 4px;
    background: #fff;
}

.shop-plongimg__item {
    display: block;
    width: 100%;
    height: auto;
    /* 长图之间不能有行高空隙，否则会出现一条条白线 */
    margin: 0;
    border: 0;
}

/* ---------- 底部固定条：磨砂 + 悬浮胶囊 ---------- */
.shop-actionbar--poster {
    /* 覆盖 .shop-actionbar 原本的贴底通栏：改成左右缩进、上下留白的悬浮条 */
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-width: 536px;
    /* left/transform 继承自 .shop-actionbar，这里用 inset 把它推回正中 */
    left: 16px;
    right: 16px;
    transform: none;
    margin: 0 auto;
    padding: 10px 12px;
    gap: 12px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 6px 24px rgba(24, 32, 54, 0.12);
}

.shop-actionbar--poster .shop-pill {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: #1b2130;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.12s ease;
}

.shop-actionbar--poster .shop-pill:active {
    transform: scale(0.97);
}

.shop-actionbar--poster .shop-pill--primary {
    background: #1b2130;
}

.shop-actionbar--poster .shop-pill--off {
    background: #c9cfdc;
    color: #fff;
}

/* 「立即下单」现在是 <button> 而不是 <a>：
   .shop-pill 的外观原本靠 <a> 的默认样式兜住，换成 button 后浏览器
   会给上灰色底 + 边框 + 默认字体，必须显式抹掉，否则胶囊里多一圈描边。 */
.shop-actionbar--poster button.shop-pill {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* ---------- 下单弹窗（详情页内，取代独立下单页） ---------- */
.shop-sheet__panel--form {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* hidden 要显式写死：面板是 flex 容器，部分 UA 的 [hidden]{display:none}
   会被同优先级的 display:flex 盖掉，隐藏的子视图就还占着位置。 */
.shop-oform[hidden],
.shop-region[hidden] {
    display: none;
}

.shop-oform {
    margin-top: 0;
}

/* 昵称 + 手机号并排，和参考稿一致 */
.shop-oform__row {
    display: flex;
    gap: 12px;
}

.shop-oform__row .shop-field {
    flex: 1 1 0;
    min-width: 0;
}

.shop-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3d4557;
}

/* 「收货地区」做成下拉行的样子，但用 button 承载，点击展开三列选择器 */
.shop-oform__region {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    background: #f7f9fc;
    color: var(--shop-text);
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.18s, background 0.18s;
}

.shop-oform__region:active {
    background: #eef1f8;
}

.shop-oform__region-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-oform__region-text.is-empty {
    color: #a8afc0;
}

.shop-oform__chev {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #8b93a7;
}

/* 红色描边要和 .shop-field.is-error 的输入框对齐，
   所以地区行也要在同一个状态类下变红 */
.shop-field--region.is-error .shop-oform__region {
    border-color: #e2483c;
    background: #fff6f5;
}

.shop-oform__tip {
    color: #e0662a;
}

.shop-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-stepper button {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
    background: #fff;
    color: var(--shop-text);
    font-size: 18px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.shop-stepper button:active {
    background: #eef1f8;
}

.shop-stepper input {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    -moz-appearance: textfield;
}

.shop-stepper input::-webkit-outer-spin-button,
.shop-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-oform__submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 999px;
    background: #1b2130;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.shop-oform__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-oform__note {
    margin: 10px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    text-align: center;
    color: var(--shop-text-sub);
}

/* ---------- 省 / 市 / 区 三列选择器 ---------- */
.shop-region {
    display: flex;
    flex-direction: column;
}

.shop-region__cols {
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 240px;
}

.shop-region__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.shop-region__cap {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--shop-text-sub);
    text-align: center;
}

.shop-region__list {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    /* 三列各自滚动：省有 34 条，区可能上百条，不给固定高度会把弹窗撑爆 */
    max-height: 248px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    background: #f7f9fc;
}

.shop-region__item {
    padding: 9px 6px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    color: var(--shop-text);
    cursor: pointer;
}

.shop-region__item + .shop-region__item {
    border-top: 1px solid var(--shop-line);
}

.shop-region__item.is-on {
    background: #1b2130;
    color: #fff;
}

.shop-region .shop-oform__submit {
    margin-top: 14px;
}
