/* KAIYUE Catalog —— 复刻 localhost:3100 的视觉规格 */

html {
    background: #f4f5f7;
}

.ky-body {
    margin: 0;
    background: #f4f5f7;
    color: #1d2129;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.5;
}

.ky,
.ky * {
    box-sizing: border-box;
}

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

.ky h1,
.ky p {
    margin: 0;
}

/* ---------------- 页头 ---------------- */
.ky-head {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #ebedf0;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ky-head-in {
    display: flex;
    height: 64px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
}

.ky-logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.ky-logo-badge {
    display: flex;
    height: 36px;
    width: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #1d2129;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.ky-logo-txt {
    display: none;
    line-height: 1.25;
}

.ky-logo-name {
    display: block;
    color: #1d2129;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}

.ky-logo-tag {
    display: block;
    color: #86909c;
    font-size: 10px;
}

.ky-search {
    display: flex;
    height: 36px;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dfe2e6;
    border-radius: 3px;
    background: #f4f5f7;
    margin: 0;
}

.ky-search:focus-within {
    border-color: #2f6ae0;
}

.ky-search input[type="search"] {
    height: 100%;
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    padding: 0 12px;
    color: #1d2129;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ky-search input[type="search"]::placeholder {
    color: #86909c;
}

.ky-search button {
    height: 100%;
    flex: 0 0 auto;
    border: 0;
    background: #1d2129;
    padding: 0 12px;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background-color .15s;
}

.ky-search button:hover {
    background: #4e5969;
}

.ky-nav {
    display: none;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.ky-nav a {
    color: #4e5969;
    text-decoration: none;
}

.ky-nav a:hover,
.ky-nav a.on {
    color: #1d2129;
}

.ky-lang {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    border: 1px solid #dfe2e6;
    border-radius: 3px;
    background: #fff;
    padding: 2px;
}

.ky-lang a {
    border-radius: 2px;
    padding: 4px 8px;
    color: #4e5969;
    font-size: 11px;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.ky-lang a.on {
    background: #1d2129;
    color: #fff;
}

.ky-lang a:not(.on):hover {
    background: #f4f5f7;
}

@media (min-width: 640px) {
    .ky-head-in {
        gap: 20px;
        padding: 0 24px;
    }

    .ky-logo-txt {
        display: block;
    }

    .ky-search button {
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    .ky-nav {
        display: flex;
    }
}

/* ---------------- 分类条 ---------------- */
/* 原站的白底与下边框只出现在 1320 容器内，容器外透出页面底色 */
.ky-cats {
    background: transparent;
}

.ky-cats-in {
    display: flex;
    height: 46px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    border-bottom: 1px solid #ebedf0;
    background: #fff;
    padding: 0 12px;
    scrollbar-width: none;
}

.ky-cats-in::-webkit-scrollbar {
    display: none;
}

.ky-cats-label {
    flex: 0 0 auto;
    color: #86909c;
    font-size: 12px;
}

.ky-cat {
    display: flex;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #4e5969;
    font-size: 14px;
    text-decoration: none;
}

.ky-cat:hover {
    color: #1d2129;
}

.ky-cat.on {
    border-bottom-color: #e5342a;
    color: #e5342a;
    font-weight: 500;
}

@media (min-width: 640px) {
    .ky-cats-in {
        padding: 0 24px;
    }
}

/* 有品牌条时，分类条的下边框淡化，避免两条实线叠在一起 */
.ky-cats-in.ky-cats-has-b {
    border-bottom-color: #f2f3f5;
}

/* ---------------- 品牌筛选条 ---------------- */
.ky-brands-in {
    display: flex;
    height: 44px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid #ebedf0;
    background: #fff;
    padding: 0 12px;
    scrollbar-width: none;
}

.ky-brands-in::-webkit-scrollbar {
    display: none;
}

.ky-brands-label {
    flex: 0 0 auto;
    margin-right: 4px;
    color: #86909c;
    font-size: 12px;
}

.ky-brand {
    display: inline-flex;
    height: 26px;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid #ebedf0;
    border-radius: 3px;
    background: #fff;
    padding: 0 10px;
    color: #4e5969;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, color .15s, background .15s;
}

.ky-brand:hover {
    border-color: #c9cdd4;
    color: #1d2129;
}

.ky-brand.on {
    border-color: #e5342a;
    background: #fdf1f0;
    color: #e5342a;
    font-weight: 500;
}

/* 本分类没有该品牌的商品：保留品牌、置灰不可点，让品牌阵容看起来是完整的一套 */
.ky-brand.off {
    border-color: #f2f3f5;
    background: #fafbfc;
    color: #c9cdd4;
    cursor: not-allowed;
}

.ky-brand.off:hover {
    border-color: #f2f3f5;
    color: #c9cdd4;
}

@media (min-width: 640px) {
    .ky-brands-in {
        padding: 0 24px;
    }
}

/* ---------------- 标题行 ---------------- */
.ky-hd {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 12px 4px;
}

.ky-hd h1 {
    color: #1d2129;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.ky-hd span {
    color: #86909c;
    font-size: 12px;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .ky-hd {
        padding: 24px 24px 4px;
    }
}

/* ---------------- 商品网格 ---------------- */
.ky-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 12px 8px;
}

.ky-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 3px;
    background: #fff;
    transition: box-shadow .2s;
}

.ky-card:hover {
    box-shadow: 0 6px 20px rgba(29, 33, 41, .13);
}

.ky-card-img {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eeece8;
}

.ky-card-img img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.ky-card:hover .ky-card-img img {
    transform: scale(1.03);
}

.ky-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 2px;
    background: #e5342a;
    padding: 4px 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.ky-card-body {
    padding: 12px;
}

.ky-card-brand {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: #86909c;
    font-size: 11px;
    letter-spacing: .02em;
    line-height: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ky-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 40px;
    color: #1d2129;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    transition: color .15s;
}

.ky-card-title:hover {
    color: #e5342a;
}

@media (min-width: 640px) {
    .ky-grid {
        gap: 16px;
        padding: 12px 24px 8px;
    }
}

@media (min-width: 768px) {
    .ky-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ky-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------------- 空状态 ---------------- */
.ky-empty {
    max-width: 1320px;
    margin: 40px auto;
    border: 1px solid #ebedf0;
    border-radius: 3px;
    background: #fff;
    padding: 64px 24px;
    text-align: center;
}

.ky-empty p {
    color: #1d2129;
    font-size: 15px;
}

.ky-empty p + p {
    margin-top: 8px;
    color: #86909c;
    font-size: 13px;
}

.ky-empty a {
    display: inline-block;
    margin-top: 20px;
    border-radius: 3px;
    background: #1d2129;
    padding: 8px 16px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.ky-empty a:hover {
    background: #4e5969;
}

/* ---------------- 分页 ---------------- */
.ky-pager {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 12px;
}

.ky-pager a,
.ky-pager b {
    display: inline-flex;
    height: 32px;
    min-width: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe2e6;
    border-radius: 3px;
    background: #fff;
    padding: 0 8px;
    color: #4e5969;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

.ky-pager b {
    border-color: #e5342a;
    background: #e5342a;
    color: #fff;
}

.ky-pager a:hover {
    border-color: #1d2129;
}

.ky-pager .off {
    opacity: .4;
    pointer-events: none;
}

/* ---------------- 单页正文 ---------------- */
.ky-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 12px;
}

.ky-page-title {
    margin: 0 0 16px;
    color: #1d2129;
    font-size: 22px;
    font-weight: 500;
}

.ky-page-body {
    max-width: 760px;
    color: #4e5969;
    font-size: 14px;
    line-height: 26px;
}

.ky-page-body p {
    margin: 0 0 12px;
}

/* 「联系我们」页面：联系方式由后台设置动态输出，和页脚同源 */
.ky-page-contact {
    color: #4e5969;
    font-size: 14px;
    line-height: 28px;
}

.ky-page-contact p {
    margin: 0 0 4px;
}

.ky-page-contact a {
    color: #1d2129;
    text-decoration: none;
}

.ky-page-contact a:hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .ky-page {
        padding: 40px 24px;
    }
}

/* 登录状态的后台工具条会占位，页头跟着下移 */
.admin-bar .ky-head {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .ky-head {
        top: 46px;
    }
}

/* ---------------- 页脚 ---------------- */
.ky-foot {
    margin-top: 64px;
    border-top: 1px solid #ebedf0;
    background: #fff;
}

.ky-foot-in {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 12px;
}

.ky-foot-line {
    max-width: 672px;
    color: #4e5969;
    font-size: 13px;
    line-height: 24px;
}

/* 页脚两栏：品牌说明 + 联系我们（后台填了内容才出现） */
.ky-foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: start;
}

.ky-foot-brand {
    margin: 0 0 8px;
    color: #1d2129;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: .02em;
}

.ky-foot-contact {
    min-width: 220px;
}

.ky-foot-contact h3 {
    margin: 0 0 10px;
    color: #1d2129;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

.ky-foot-contact p {
    margin: 0;
    color: #86909c;
    font-size: 13px;
    line-height: 28px;
}

.ky-foot-contact a {
    color: #86909c;
    text-decoration: none;
}

.ky-foot-contact a:hover {
    color: #1d2129;
}

@media (max-width: 782px) {
    .ky-foot-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ky-foot-contact {
        min-width: 0;
    }
}

.ky-foot-bar {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #ebedf0;
    padding-top: 20px;
    color: #86909c;
    font-size: 12px;
}

.ky-foot-bar div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ky-foot-bar a {
    color: #86909c;
    text-decoration: none;
}

.ky-foot-bar a:hover {
    color: #1d2129;
}

@media (min-width: 640px) {
    .ky-foot-in {
        padding: 36px 24px;
    }
}

/* ---------------- 商品详情 ---------------- */
.ky-pd {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 12px 16px;
}

.ky-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: #86909c;
    font-size: 12px;
}

.ky-crumb a {
    color: #86909c;
    text-decoration: none;
}

.ky-crumb a:hover {
    color: #1d2129;
}

.ky-crumb .cur {
    max-width: 240px;
    overflow: hidden;
    color: #4e5969;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ky-pd-grid {
    display: grid;
    gap: 32px;
    /* minmax(0,1fr)：不允许轨道被内容（缩略图条等）的固有宽度撑开 */
    grid-template-columns: minmax(0, 1fr);
}

.ky-gal-main {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 3px;
    background: #eeece8;
}

.ky-gal-main img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* 多图相册缩略图：图库里有图时才出现 */
.ky-gal-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.ky-gal-thumbs::-webkit-scrollbar { display: none; }

.ky-gal-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid #ebedf0;
    border-radius: 3px;
    background: #eeece8;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s;
}

.ky-gal-thumb.on { border-color: #e5342a; }
.ky-gal-thumb:hover { border-color: #c9cdd4; }
.ky-gal-thumb.on:hover { border-color: #e5342a; }

.ky-gal-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ky-pd-sku {
    color: #86909c;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ky-pd-info h1 {
    margin: 4px 0 0;
    color: #1d2129;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
}

.ky-pd-sub {
    margin: 12px 0 0;
    color: #4e5969;
    font-size: 13px;
    line-height: 24px;
}

.ky-quick {
    margin: 24px 0 0;
    border-top: 1px solid #ebedf0;
    border-bottom: 1px solid #ebedf0;
}

.ky-quick-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 16px;
    padding: 10px 0;
    font-size: 13px;
}

.ky-quick-row + .ky-quick-row {
    border-top: 1px solid #ebedf0;
}

.ky-quick-row dt {
    color: #86909c;
}

.ky-quick-row dd {
    margin: 0;
    color: #4e5969;
    line-height: 24px;
}

/* 分栏 */
.ky-tabs {
    margin-top: 48px;
}

.ky-tablist {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #ebedf0;
}

.ky-tab {
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    padding: 0 0 10px;
    color: #86909c;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.ky-tab:hover {
    color: #4e5969;
}

.ky-tab.on {
    border-bottom-color: #e5342a;
    color: #1d2129;
    font-weight: 500;
}

.ky-tabpanel {
    padding-top: 24px;
}

.ky-tabpanel p {
    max-width: 768px;
    color: #4e5969;
    font-size: 13px;
    line-height: 28px;
}

.ky-spec {
    width: 100%;
    max-width: 768px;
    border-collapse: collapse;
    font-size: 13px;
}

.ky-spec tr {
    border-bottom: 1px solid #ebedf0;
}

.ky-spec th {
    width: 132px;
    padding: 10px 16px 10px 0;
    color: #86909c;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
}

.ky-spec td {
    padding: 10px 0;
    color: #4e5969;
}

/* 右侧栏：询价要点下方的规格参数 */
.ky-pd-sechead {
    margin: 22px 0 0;
    color: #1d2129;
    font-size: 14px;
    font-weight: 500;
}

.ky-quick-specs {
    margin-top: 12px;
    border-bottom: 1px solid #ebedf0;
}

/* 产品说明（原 tab 区简化为单节） */
.ky-desc {
    margin-top: 48px;
}

.ky-desc h2 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebedf0;
    color: #1d2129;
    font-size: 14px;
    font-weight: 500;
}

.ky-desc p {
    max-width: 768px;
    margin: 24px 0 0;
    color: #4e5969;
    font-size: 13px;
    line-height: 28px;
}

/* 相关商品 */
.ky-related {
    margin-top: 56px;
}

.ky-related h2 {
    margin: 0;
    border-bottom: 1px solid #ebedf0;
    padding-bottom: 12px;
    color: #1d2129;
    font-size: 15px;
    font-weight: 500;
}

.ky-grid-tight {
    margin-top: 16px;
    padding: 0;
}

@media (min-width: 640px) {
    .ky-pd {
        padding: 20px 24px 16px;
    }

    .ky-pd-info h1 {
        font-size: 26px;
    }
}

@media (min-width: 1024px) {
    .ky-pd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------------- 图片放大查看（lightbox） ---------------- */
.ky-gal-main {
    position: relative;
    cursor: zoom-in;
}

.ky-gal-main:focus-visible,
.ky-gal-main:focus {
    outline: 2px solid #e5342a;
    outline-offset: 2px;
}

.ky-gal-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px 4px 7px;
    border-radius: 999px;
    background: rgba(20, 22, 26, .58);
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .02em;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.ky-gal-zoom svg {
    display: block;
    width: 12px;
    height: 12px;
}

html.ky-lb-lock,
html.ky-lb-lock body {
    overflow: hidden;
}

.ky-lb {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    background: #0b0c10;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: contain;
}

.ky-lb.on {
    display: flex;
}

.ky-lb-stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

/* 原图较大（约 1MB），加载时给个转圈，避免一片黑 */
.ky-lb-stage.loading::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255, 255, 255, .22);
    border-top-color: rgba(255, 255, 255, .9);
    border-radius: 50%;
    animation: ky-lb-spin .8s linear infinite;
}

@keyframes ky-lb-spin {
    to { transform: rotate(360deg); }
}

.ky-lb-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .18s ease-out;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    background: #16171b;
}

.ky-lb-btn {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 999px;
    font-family: inherit;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background .15s;
}

.ky-lb-btn:hover {
    background: rgba(255, 255, 255, .22);
}

.ky-lb-btn[hidden] {
    display: none;
}

.ky-lb-x {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 1;
}

.ky-lb-prev,
.ky-lb-next {
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding-bottom: 4px;
    font-size: 26px;
    line-height: 1;
}

.ky-lb-prev { left: 14px; }
.ky-lb-next { right: 14px; }

.ky-lb-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 16px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    text-align: center;
    pointer-events: none;
}

.ky-lb-idx {
    letter-spacing: .08em;
}

.ky-lb-tip {
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}

@media (max-width: 720px) {
    .ky-lb-x {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    /* 手机上靠滑动切换，箭头会挡图 */
    .ky-lb-prev,
    .ky-lb-next {
        display: none;
    }

    .ky-lb-tip {
        font-size: 10px;
        color: rgba(255, 255, 255, .42);
    }
}

/* 价格不透明：三颗星表示价位，不写具体数字 */
.ky-price-stars {
    color: #1d2129;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-right: 2px;
}

.ky-price-note {
    margin-left: 6px;
    color: #4e5969;
    font-size: 13px;
}

/* 产品说明 1:1 还原编辑器内容（含图片） */
.ky-desc-rich { margin-top: 4px; }
.ky-desc-rich img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: 6px; }
.ky-desc-rich h1, .ky-desc-rich h2, .ky-desc-rich h3, .ky-desc-rich h4 { margin: 14px 0 6px; font-size: 16px; color: #1d2129; }
.ky-desc-rich p { margin: 8px 0; line-height: 1.8; }

/* ---------------- 首页轮播 ---------------- */
/* 与分类条/商品区同宽（1320 容器），两侧透出页面底色，不像通栏那样贴边 */
.ky-hero {
    position: relative;
    overflow: hidden;
    background: #f7f5f2;
    max-width: 1320px;
    margin: 0 auto;
}

.ky-hero-track {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
    touch-action: pan-y;
}

.ky-hero-track:active {
    cursor: grabbing;
}

.ky-hero-track img {
    flex: 0 0 100%;
    width: 100%;
    height: clamp(220px, 30vw, 430px);
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* 左右箭头：半透明圆钮，悬停加深 */
.ky-hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: #1d2129;
    font-size: 26px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.25s;
}

.ky-hero:hover .ky-hero-btn,
.ky-hero-btn:focus-visible {
    opacity: 1;
}

.ky-hero-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.ky-hero-prev { left: 14px; }
.ky-hero-next { right: 14px; }

/* 圆点指示器 */
.ky-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ky-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.ky-hero-dot.on {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 720px) {
    .ky-hero-track img {
        height: clamp(180px, 42vw, 260px);
    }
    .ky-hero-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
        line-height: 30px;
        opacity: 1;
    }
}
