/* ==========================================================================
   Vialy 商城模板 —— 浅色玻璃质感（桌面 + 手机同一套）
   参考：白底导航 / 浅灰页面 / 胶囊分类 / 单列商品行卡片
   ========================================================================== */

:root {
    --vy-bg: #f8f8f8;
    --vy-card: rgba(255, 255, 255, .8);
    --vy-card-soft: rgba(255, 255, 255, .7);
    --vy-card-line: rgba(255, 255, 255, .9);
    --vy-ink: #1a1a2e;
    --vy-text: #616161;
    --vy-ink-2: #4b5563;
    --vy-ink-3: #98a2b3;
    --vy-primary: #667eea;
    --vy-primary-2: #5568d3;
    --vy-price: #dc3545;
    --vy-shadow: 0 4px 12px rgba(0, 0, 0, .05), inset 0 1px 0 #fff;
    --vy-shadow-lg: 0 4px 16px rgba(0, 0, 0, .06);
    --vy-radius: 14px;

    /* 补齐框架 index.css 依赖的玻璃/黑白变量，避免组件取不到值而失去底色边框 */
    --md-primary: #667eea;
    --md-primary-rgb: 102, 126, 234;
    --md-on-primary: #ffffff;
    --uc-ink: #1a1a2e;
    --uc-ink-med: #616161;
    --uc-ink-dis: #8b909e;
    --uc-focus: #667eea;
    --uc-focus-rgb: 102, 126, 234;
    --uc-field-bg: rgba(255, 255, 255, .86);
    --glass-bg: rgba(255, 255, 255, .70);
    --glass-bg-strong: rgba(255, 255, 255, .86);
    --glass-bg-soft: rgba(255, 255, 255, .80);
    --glass-border: rgba(255, 255, 255, .95);
    --glass-border-soft: rgba(255, 255, 255, .90);
    --glass-hi: inset 0 1px 0 #fff;
    --glass-shadow: 0 4px 16px rgba(31, 45, 70, .07);
    --glass-shadow-lg: 0 12px 30px rgba(31, 45, 70, .12);
    --glass-radius: 14px;
    --glass-radius-sm: 10px;
}

html, body {
    background: var(--vy-bg);
}

body.vy-body {
    margin: 0;
    padding: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--vy-text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.vy-wrap {
    width: 100%;
    max-width: 790px;
    margin: 0 auto;
    padding: 0 14px;
    box-sizing: border-box;
}

/* 与参考站一致的容器宽度分段（bootstrap container 口径） */
@media (min-width: 576px) {
    .vy-wrap {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .vy-wrap {
        max-width: 720px;
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    .vy-wrap {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .vy-wrap {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    .vy-wrap {
        max-width: 1320px;
    }
}

/* 首页两列骨架：左主区 + 右公告栏 */
.vy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

@media (min-width: 992px) {
    .vy-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

/* 手机端：网站公告提到最前（LOGO 下面、分类胶囊上方）；桌面仍是右侧栏 */
@media (max-width: 991px) {
    .vy-layout {
        padding-top: 12px;
        gap: 12px;
    }

    .vy-layout__side {
        order: -1;
    }

    /* 卡片自带的 18px 下外边距在手机上会和网格间距叠加，统一交给 gap，四处间距都是 12px */
    .vy-layout__side .vy-panel,
    .vy-layout__main .vy-panel,
    .vy-layout__main .vy-tabs {
        margin-bottom: 0;
    }
}

/* ---------------- 顶部导航 ---------------- */
.vy-top {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}

.vy-top__inner {
    display: flex;
    align-items: center;
    height: 60px;
}

.vy-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
}

.vy-brand__logo {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: cover;
    flex: none;
}

.vy-brand__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--vy-ink);
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vy-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.vy-nav a {
    display: inline-flex;
    align-items: center;
    height: 60px;
    padding: 0 14px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color .16s;
}

.vy-nav a:hover,
.vy-nav a.is-on {
    color: var(--vy-primary-2);
}

/* 右上角圆形会员入口（对齐参考站的头像按钮） */
.vy-nav .vy-avatar {
    width: 34px;
    height: 34px;
    margin-left: 6px;
    padding: 0;
    border-radius: 50%;
    background: #f4f5f8;
    border: 1px solid #ebeef3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .16s, border-color .16s;
}

.vy-nav .vy-avatar:hover {
    background: #eceefb;
    border-color: rgba(102, 126, 234, .45);
}

.vy-nav .vy-avatar svg {
    width: 18px;
    height: 18px;
    stroke: var(--vy-ink-2);
    stroke-width: 1.7;
    fill: none;
}

.vy-nav .vy-avatar:hover svg {
    stroke: var(--vy-primary);
}

.vy-menu-btn {
    display: none;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--vy-ink-2);
    cursor: pointer;
    border-radius: 8px;
}

.vy-menu-ico {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
}

.vy-nav--mobile {
    display: none;
}

/* ---------------- 主体 ---------------- */
.vy-main {
    padding-top: 14px;
    padding-bottom: 24px;
    min-height: calc(100vh - 60px - 61px);
    box-sizing: border-box;
}

.vy-layout .vy-notice__text {
    padding: 4px 2px 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #00a1fe;
}

.vy-notice__empty {
    color: var(--vy-ink-3);
    font-weight: 400;
    font-size: 13px;
}

/* 公告 */
.vy-notice {
    margin: 16px 0 12px;
    padding: 13px 20px;
    background: var(--vy-card-soft);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 12px;
    box-shadow: var(--vy-shadow-lg);
    text-align: center;
}

.vy-notice__text {
    font-size: 13.5px;
    font-weight: 600;
    color: #0088e0;
    line-height: 1.7;
    word-break: break-word;
}

.vy-notice__text img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 分类胶囊 */
.vy-tabs {
    margin: 0 0 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .6);
    border-radius: var(--vy-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vy-tabs::-webkit-scrollbar {
    display: none;
}

.vy-tabs .chip-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vy-tabs .chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--vy-shadow);
    font-size: 14px;
    font-weight: 600;
    color: var(--vy-ink-2);
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}

.vy-tabs .chip:hover {
    transform: translateY(-1px);
    color: var(--vy-primary-2);
}

.vy-tabs .chip.is-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, .95) 0%, rgba(85, 104, 211, .95) 100%);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    box-shadow: 0 6px 18px rgba(102, 126, 234, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.vy-tabs .chip.is-primary:hover {
    color: #fff;
}

.vy-tabs .chip.is-disabled {
    opacity: .45;
}

.vy-tabs .chip .chip-icon {
    display: none;
}

/* 面板 */
.vy-panel {
    margin: 0 0 18px;
    background: var(--vy-card-soft);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 3px;
    box-shadow: var(--vy-shadow-lg);
    overflow: hidden;
}

.vy-panel__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .055);
}

.vy-panel__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--vy-primary);
    flex: none;
}

.vy-panel__ico svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vy-panel__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--vy-ink);
    line-height: 1.4;
}

.vy-panel__body {
    padding: 10px 15px 12px;
}

/* ---------------- 商品行卡片 ---------------- */
/* 参考站首页是两列网格（宽屏），窄屏单列 */
.item-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0;
}

@media (min-width: 992px) {
    .item-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.item-list > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.item-list .item-message {
    padding: 18px 4px;
    color: var(--vy-ink-3);
    font-size: 14px;
}

.item-card-cell {
    display: block;
    text-decoration: none;
    color: inherit;
}

.acg-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    height: auto;
    margin: 0;
    padding: 16px;
    text-align: left;
    background: var(--vy-card);
    border: 1px solid var(--vy-card-line);
    border-radius: 12px;
    box-shadow: var(--vy-shadow);
    overflow: hidden;
    transition: transform .16s, box-shadow .16s, border-color .16s;
}

.acg-card:hover {
    transform: translateY(-1px);
    border-color: rgba(102, 126, 234, .35);
    box-shadow: 0 8px 20px rgba(102, 126, 234, .12), inset 0 1px 0 #fff;
}

.acg-thumb {
    width: 75px;
    height: 75px;
    aspect-ratio: auto;
    flex: 0 0 75px;
    border-radius: 8px;
    background-color: #f2f4f7;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.acg-card > .acg-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 0 96px 0 0;
}

.goods-title {
    order: 1;
    flex: 0 0 100%;
    display: block;
    -webkit-line-clamp: unset;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--vy-ink);
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tags {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.stat-bottom {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin: 0 0 0 4px;
    font-size: 11px;
}


.stat-bottom span {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.4;
    font-weight: 500;
    border: 1px solid;
}

.stat-bottom span:first-child {
    background: #fde8e8;
    color: #c62828;
    border-color: #ed3c2b;
}

.stat-bottom span:last-child {
    background: #fff3e0;
    color: #e65100;
    border-color: #e08d09;
}

.stat-row {
    order: 4;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
}

.price {
    display: inline-flex;
    align-items: baseline;
    color: var(--vy-price);
    font-weight: 700;
    font-size: 19px;
    line-height: 1;
    white-space: nowrap;
}

.price .unit {
    font-size: 14px;
    font-weight: 700;
    margin-right: 3px;
}

/* 徽章 / 标签 */
.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid transparent;
}

.badge-soft-success {
    background: #e6f7ed;
    color: #1c8b3c;
    border-color: #18bc9c;
}

.badge-soft-danger {
    background: #fde8e8;
    color: #c62828;
    border-color: #ed3c2b;
}

.badge-soft-warning {
    background: #fff3e0;
    color: #e65100;
    border-color: #e08d09;
}

.badge-soft-primary {
    background: #eef0fd;
    color: #4b58c4;
    border-color: #7f8ff0;
}

.badge-soft-info {
    background: #eef2f7;
    color: #475467;
    border-color: #cfd8e3;
}

.acg-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    background: #eef0fd;
    color: #4b58c4;
    border: 1px solid #7f8ff0;
}

.acg-tag--green {
    background: #e6f7ed;
    color: #1c8b3c;
    border-color: #18bc9c;
}

.acg-tag--red {
    background: #fde8e8;
    color: #c62828;
    border-color: #ed3c2b;
}

.acg-tag--orange {
    background: #fff3e0;
    color: #e65100;
    border-color: #e08d09;
}

/* 售罄 */
.acg-card.soldout {
    opacity: .82;
}

.soldout-ribbon {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #98a2b3;
    font-size: 11px;
}

/* ---------------- 商品详情 ---------------- */
.vy-back {
    margin: 14px 0 10px;
}

.vy-back a {
    color: var(--vy-ink-3);
    font-size: 13px;
    text-decoration: none;
}

.vy-back a:hover {
    color: var(--vy-primary-2);
}

.vy-item__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--vy-ink);
    line-height: 1.45;
}

.vy-tagrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.vy-cover {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    overflow: hidden;
}

.vy-item-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .vy-item-grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 22px;
        align-items: start;
    }

    .vy-item-grid__media {
        position: sticky;
        top: 76px;
    }

    .vy-item-grid__media .vy-cover {
        min-height: 280px;
    }
}

@media (min-width: 1200px) {
    .vy-item-grid {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 28px;
    }

    .vy-item-grid__media .vy-cover {
        min-height: 340px;
    }
}

.vy-cover .item-cover {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #fff;
}

.vy-price {
    margin: 0 0 14px;
}

.vy-price .price {
    font-size: 26px;
}

.vy-price .price .unit {
    font-size: 16px;
}

.vy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--vy-primary) 0%, var(--vy-primary-2) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(102, 126, 234, .3);
}

.vy-btn:hover {
    opacity: .94;
}

.vy-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vy-ink-2);
}

.vy-form .form-control {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    background: #fcfcfd;
    font-size: 13.5px;
    color: var(--vy-ink);
    box-shadow: none;
}

.vy-form .form-control:focus {
    border-color: var(--vy-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .14);
    background: #fff;
}

.sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    background: #fff;
    color: var(--vy-ink-2);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: .16s;
}

.sku:hover {
    border-color: #c7cff2;
}

.sku.is-primary {
    border-color: var(--vy-primary);
    background: #eef0fd;
    color: #4b58c4;
}

.badge-money {
    font-size: 12px;
    color: var(--vy-price);
}

.vy-qty {
    display: flex;
    align-items: center;
    width: 160px;
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    overflow: hidden;
    background: #fcfcfd;
}

.vy-qty button {
    width: 40px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--vy-ink-2);
    font-size: 16px;
    cursor: pointer;
}

.vy-qty .form-control {
    border: 0;
    border-left: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
    border-radius: 0;
    height: 38px;
    background: transparent;
    box-shadow: none;
}

.vy-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vy-captcha .form-control {
    flex: 1;
}

.vy-captcha .captcha-img {
    width: 120px;
    height: 40px;
    border-radius: 9px;
    border: 1px solid #e4e7ec;
    object-fit: cover;
    cursor: pointer;
    flex: none;
}

.optional-card {
    height: 40px;
    padding: 0 14px;
    border: 1px dashed #cfd8e3;
    border-radius: 9px;
    background: #fcfcfd;
    color: var(--vy-ink-2);
    font-size: 13px;
    cursor: pointer;
}

/* 支付方式列表 */
.cash-pay .pay-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.cash-pay .pay-list .pay {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31, 45, 70, .05);
    color: var(--vy-ink);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .16s, box-shadow .16s, transform .16s;
}

.cash-pay .pay-list .pay img {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 7px;
    object-fit: cover;
}

.cash-pay .pay-list .pay span {
    color: inherit;
}

.cash-pay .pay-list .pay:hover {
    border-color: rgba(102, 126, 234, .5);
    box-shadow: 0 6px 18px rgba(102, 126, 234, .18);
    transform: translateY(-1px);
}

.cash-pay .pay-list .pay.selected {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, .95), rgba(85, 104, 211, .95));
    border-color: rgba(255, 255, 255, .6);
    box-shadow: 0 6px 18px rgba(102, 126, 234, .35);
    color: #fff;
}

.cash-pay .pay-list .pay-channel {
    grid-column: 1 / -1;
    order: 9;
    flex-wrap: wrap;
    row-gap: 8px;
}

.cash-pay .pay-list .pay-channel-select {
    padding: 5px 8px;
    border: 1px solid rgba(102, 126, 234, .35) !important;
    border-radius: 8px;
    background: #fff;
    color: var(--vy-ink);
    font-size: 12.5px;
}

.cash-pay .pay-list .pay-channel .shared-button,
.cash-pay .pay-list .pay-channel .btn {
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
}

/* ---------------- 运单查询 ---------------- */
.vy-qline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vy-qline .form-control {
    flex: 1;
    height: 42px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    padding: 0 14px;
    box-shadow: none;
}

.vy-qline .form-control:focus {
    border-color: var(--vy-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .14);
}

.vy-empty {
    padding: 44px 16px;
    text-align: center;
}

.vy-empty svg {
    width: 46px;
    height: 46px;
    stroke: #cbd5e1;
    stroke-width: 1.6;
    fill: none;
    margin: 0 auto 12px;
    display: block;
}

.vy-empty h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--vy-ink-2);
}

.vy-empty p {
    margin: 0;
    font-size: 13px;
    color: var(--vy-ink-3);
}

.vy-detail {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--vy-text);
    word-break: break-word;
}

.vy-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ---------------- 底部 ---------------- */
.vy-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 13px;
    color: #8f959e;
}

.vy-footer__inner {
    padding: 20px 15px;
    line-height: 1.7;
}

.vy-footer__icp {
    display: block;
    margin-bottom: 2px;
    font-size: 12.5px;
}

.vy-footer a {
    color: #8f959e;
    text-decoration: none;
}

/* ---------------- 手机端 ---------------- */
@media (max-width: 767.98px) {
    .vy-wrap {
        padding: 0 10px;
    }

    .vy-top__inner {
        height: 54px;
    }

    .vy-brand__logo {
        width: 24px;
        height: 24px;
    }

    .vy-brand__name {
        font-size: 16px;
    }

    .vy-nav {
        display: none;
    }

    .vy-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .vy-nav--mobile {
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid #f2f3f5;
        padding: 4px 0 10px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    }

    .vy-nav--mobile.is-open {
        display: flex;
    }

    .vy-nav--mobile a {
        padding: 11px 16px;
        font-size: 14px;
        color: var(--vy-ink-2);
        text-decoration: none;
        border-bottom: 1px solid #f7f8fa;
    }

    .vy-nav--mobile a:last-child {
        border-bottom: 0;
    }

    .vy-notice {
        margin: 10px 0 10px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .vy-notice__text {
        font-size: 12.5px;
    }

    .vy-tabs {
        padding: 8px 10px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .vy-tabs .chip-list {
        gap: 6px;
    }

    .vy-tabs .chip {
        padding: 8px 15px;
        font-size: 13px;
        border-radius: 9px;
    }

    .vy-panel {
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .vy-panel__head {
        padding: 12px 14px;
    }

    .vy-panel__title {
        font-size: 15px;
    }

    .vy-panel__body {
        padding: 6px 10px 10px;
    }

    .acg-card {
        gap: 12px;
        padding: 12px;
        margin: 6px 0;
    }

    .acg-thumb {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

    .acg-card > .acg-body {
        padding: 0 74px 0 0;
    }

    .goods-title {
        font-size: 14.5px;
        margin-bottom: 6px;
    }

    .price {
        font-size: 17px;
    }

    .price .unit {
        font-size: 13px;
    }

    .badge-soft,
    .stat-bottom span,
    .acg-tag {
        font-size: 10.5px;
        padding: 1px 7px;
    }

    .vy-item__title {
        font-size: 17px;
    }

    .vy-cover .item-cover {
        max-height: 300px;
    }

    .vy-price .price {
        font-size: 22px;
    }

    .vy-qline {
        flex-wrap: nowrap;
    }

    .vy-qline .vy-btn {
        flex: none;
        padding: 0 16px;
    }

    .vy-empty {
        padding: 36px 12px;
    }
}

/* ==========================================================================
   兜底修正：框架 _user.css 里的表单控件规则优先级更高，
   若不在这里强制接管，输入框会变成「白底白边」而看不出输入框
   ========================================================================== */
html[data-theme] .vy-form .form-control,
html[data-theme] .vy-form .form-select,
html[data-theme] .vy-captcha .form-control,
html[data-theme] .vy-captcha .form-control:focus {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e4e7ec !important;
    border-radius: 9px !important;
    background-color: #fcfcfd !important;
    color: var(--vy-ink) !important;
    font-size: 13.5px;
    box-shadow: none !important;
}

html[data-theme] .vy-qty .form-control,
html[data-theme] .vy-qty .form-control:focus {
    border: 0 !important;
    border-left: 1px solid #eef0f3 !important;
    border-right: 1px solid #eef0f3 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

html[data-theme] .vy-form textarea.form-control {
    height: auto;
    min-height: 76px;
    padding: 10px 12px;
}

html[data-theme] .vy-captcha .form-control:focus {
    border-color: var(--vy-primary) !important;
    background-color: #fff !important;
}

/* 空分类时脚本注入的提示行（内联 style 优先级高，这里强制接管） */
.item-list > div:not(.item-card-cell) {
    margin: 0 !important;
    padding: 34px 0 !important;
    text-align: center;
    color: var(--vy-ink-3) !important;
    font-size: 13.5px !important;
    line-height: 1.6;
}


/* ============================================================
   商品页（v7）：面包屑 + 左主列（商品卡/描述）+ 右购买栏
   对齐参考站：价格、立即购买、销售信息、客服提示
   ============================================================ */

.vy-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .035);
    font-size: 13px;
    color: #6b7280;
}

.vy-crumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4b5563;
    text-decoration: none;
}

.vy-crumb a:hover {
    color: #5568d3;
}

.vy-crumb em {
    font-style: normal;
    color: #c3c9d4;
}

.vy-crumb__cur {
    color: #1a1a2e;
    font-weight: 600;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vy-item-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vy-item-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 992px) {
    .vy-item-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        grid-template-areas: "card side" "desc side";
        column-gap: 18px;
        row-gap: 16px;
        align-items: start;
    }

    .vy-item-card {
        grid-area: card;
    }

    .vy-item-side {
        grid-area: side;
        position: sticky;
        top: 76px;
    }

    .vy-item-desc {
        grid-area: desc;
    }
}

/* 右侧购买卡 */
.vy-buy__price {
    margin: 0 0 12px;
}

.vy-buy__price .price {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #dc3545;
}

.vy-buy__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-radius: 8px;
    background: #2b6cf6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(43, 108, 246, .26);
    transition: filter .15s, transform .15s;
}

.vy-buy__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.vy-buy__btn svg {
    width: 19px;
    height: 19px;
    stroke: #fff;
    stroke-width: 1.9;
    fill: none;
}

.vy-buy__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eef1f5;
    font-size: 13px;
}

.vy-buy__info > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vy-buy__ico {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex: none;
}

.vy-buy__info dt {
    min-width: 58px;
    color: #8f98a8;
    font-weight: 400;
}

.vy-buy__info dd {
    margin: 0;
    color: #1f2733;
    font-weight: 600;
    min-width: 0;
}

.vy-buy__help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff8e6;
    border: 1px solid #f6e3b8;
    color: #8a6a1f;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
}

.vy-buy__help em {
    font-style: normal;
}

.vy-buy__help:hover {
    background: #fff4d6;
    color: #7a5c15;
}

@media (max-width: 991.98px) {
    .vy-buy .vy-panel__body {
        padding: 16px 16px 18px;
    }

    .vy-buy__price .price {
        font-size: 26px;
    }
}

/* v7 响应式：<1200 单列（价格与立即购买在商品卡内），>=1200 出现右侧购买栏 */
.vy-buy-inline {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
}

.vy-item-side {
    display: none;
}

@media (max-width: 1199.98px) {
    .vy-item-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vy-item-grid__media {
        position: static;
    }

    .vy-item-grid__media .vy-cover {
        max-width: 260px;
        min-height: 0;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .vy-buy-inline {
        display: none;
    }

    .vy-item-side {
        display: flex;
    }
}
/* v7.1：卡内价格块（标签下方、数量上方）与「起拍」提示 */
.vy-buy-inline--price {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #eef1f5;
}

.vy-buy-inline--btn {
    margin-top: 16px;
    padding-top: 0;
    border-top: 0;
}

.vy-minimum {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin-left: 2px;
    border-radius: 999px;
    background: #fff4e6;
    color: #b07b2c;
    font-size: 12px;
    white-space: nowrap;
}
/* v7.2：商品图不做 sticky（参考站为普通流） */
.vy-item-grid__media {
    position: static;
}

/* 查询结果里的卡密 + 「复制卡密」按钮 */
.card-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.card-line .card-display {
    flex: 1 1 auto;
    min-width: 0;
}

.vy-card-copy {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4a56c8;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.vy-card-copy:active {
    background: #dfe5ff;
}

@media (max-width: 991px) {
    /* 手机上按钮占整行，手指好点 */
    .vy-card-copy {
        width: 100%;
        padding: 10px 14px;
    }
}