/* ==========================================================================
   弋谦珩日用 · 家居日用自营商城  前台样式
   设计语言：浅蓝白底 + 藏青蓝主色 + 暖橙点缀 + 方形圆角分类图标（与兄弟站模板区分）
   前缀 jy-*；同时兼容框架原有类名，保证购物车/结算/后台页面正常显示
   ========================================================================== */
:root {
    --jy-brand: #22406B;
    --jy-brand-d: #1A3355;
    --jy-accent: #E8873B;
    --jy-ink: #1B2330;
    --jy-sub: #5E6B7A;
    --jy-line: #DEE5EE;
    --jy-bg: #F4F7FB;
    --jy-white: #fff;
    --jy-ok: #2F6E5A;
    --jy-wrap: 1180px;
    --jy-r: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--jy-bg); color: var(--jy-ink);
    font: 14px/1.6 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
.jy-wrap { width: 100%; max-width: var(--jy-wrap); margin: 0 auto; padding: 0 18px; }

/* ---------------- 顶部信息条 ---------------- */
.jy-strip { background: var(--jy-ink); color: #C3CDDA; font-size: 12px; }
.jy-strip .jy-wrap { height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jy-strip em { font-style: normal; color: #DEE6F1; }
.jy-strip a { color: #C3CDDA; }
.jy-strip a:hover { color: #fff; }

/* ---------------- 站头 ---------------- */
.jy-header { background: var(--jy-white); border-bottom: 1px solid var(--jy-line); }
.jy-header .jy-wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.jy-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.jy-logo b { display: block; font-size: 19px; letter-spacing: .5px; }
.jy-logo span { display: block; font-size: 11px; color: var(--jy-sub); letter-spacing: 1px; }
.jy-logo i {
    width: 38px; height: 38px; border-radius: var(--jy-r); background: var(--jy-brand);
    color: #fff; font-style: normal; font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.jy-search { flex: 1; max-width: 460px; display: flex; border: 1px solid var(--jy-line); border-radius: var(--jy-r); overflow: hidden; }
.jy-search input { flex: 1; border: 0; outline: 0; padding: 0 12px; height: 38px; background: #F7F9FC; }
.jy-search button {
    border: 0; padding: 0 20px; background: var(--jy-brand); color: #fff; cursor: pointer; letter-spacing: 2px;
}
.jy-search button:hover { background: var(--jy-brand-d); }
.jy-hlinks { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--jy-sub); flex: none; }
.jy-hlinks a:hover { color: var(--jy-brand); }
.jy-hlinks .jy-cart { display: inline-flex; align-items: center; gap: 6px; color: var(--jy-ink); }
.jy-hlinks .jy-cart b { color: var(--jy-brand); }

/* ---------------- 分类导航 ---------------- */
.jy-nav { background: var(--jy-white); border-bottom: 1px solid var(--jy-line); }
.jy-nav .jy-wrap { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; }
.jy-nav a {
    flex: none; padding: 0 14px; line-height: 44px; font-size: 14px; color: #2A3B54;
    border-bottom: 2px solid transparent;
}
.jy-nav a:hover { color: var(--jy-brand); }
.jy-nav a.on { color: var(--jy-brand); border-bottom-color: var(--jy-brand); font-weight: 600; }

/* ---------------- 主体布局 ---------------- */
.jy-layout { display: grid; grid-template-columns: 208px 1fr; gap: 26px; padding: 22px 0 40px; align-items: start; }
.jy-aside { background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); overflow: hidden; }
.jy-aside h4 { padding: 13px 16px; font-size: 14px; border-bottom: 1px solid var(--jy-line); background: #F7F9FC; }
.jy-catlist { padding: 6px 0; }
.jy-catlist a { display: flex; justify-content: space-between; padding: 9px 16px; font-size: 13px; color: #2A3B54; }
.jy-catlist a:hover, .jy-catlist a.on { background: #EEF3FA; color: var(--jy-brand); }
.jy-catlist a span { color: #A9B4C2; font-size: 12px; }
.jy-serv { margin-top: 16px; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 16px; font-size: 13px; }
.jy-serv h4 { font-size: 14px; margin-bottom: 8px; }
.jy-serv p { margin: 4px 0; color: var(--jy-sub); }
.jy-serv b { color: var(--jy-brand); font-size: 15px; }

/* ---------------- 主视觉 ---------------- */
.jy-hero { position: relative; border: 1px solid var(--jy-line); border-radius: var(--jy-r); overflow: hidden; background: #1B2330; }
.jy-hero img { width: 100%; height: 300px; object-fit: cover; opacity: .72; }
.jy-hero .txt {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px;
    background: linear-gradient(transparent, rgba(16,22,32,.86)); color: #fff;
}
.jy-hero .txt b { display: block; font-size: 23px; letter-spacing: .5px; }
.jy-hero .txt p { margin: 6px 0 0; font-size: 13px; color: #DCE6F5; }

/* ---------------- 区块标题 ---------------- */
.jy-sec { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 14px; }
.jy-sec h3 { font-size: 17px; }
.jy-sec h3::after { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--jy-brand); margin-left: 8px; vertical-align: 5px; }
.jy-sec span, .jy-sec a.more { font-size: 12px; color: var(--jy-sub); margin-left: auto; }
.jy-sec a.more:hover { color: var(--jy-brand); }

/* ---------------- 商品网格 ---------------- */
.jy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 16px; }
.jy-card { display: block; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.jy-card:hover { border-color: var(--jy-brand); box-shadow: 0 6px 18px rgba(34,64,107,.10); }
.jy-pic { position: relative; aspect-ratio: 1/1; background: #E9EFF6; overflow: hidden; }
.jy-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.jy-card:hover .jy-pic img { transform: scale(1.04); }
.jy-pic i {
    position: absolute; left: 0; top: 10px; font-style: normal; font-size: 11px; color: #fff;
    background: rgba(34,64,107,.9); padding: 2px 7px; border-radius: 0 2px 2px 0;
}
.jy-info { padding: 11px 12px 13px; }
.jy-tt { font-size: 13px; line-height: 1.5; height: 39px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jy-sub { margin-top: 5px; font-size: 11px; color: #93A0AF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jy-pr { margin-top: 8px; display: flex; align-items: baseline; gap: 7px; }
.jy-pr b { color: var(--jy-brand); font-size: 17px; }
.jy-pr b i { font-style: normal; font-size: 12px; margin-right: 1px; }
.jy-pr del { color: #A5B0BE; font-size: 12px; }
.jy-pr em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--jy-ok); }

/* ---------------- 面包屑 / 详情 ---------------- */
.jy-bread { font-size: 12px; color: var(--jy-sub); padding: 16px 0 4px; }
.jy-bread a:hover { color: var(--jy-brand); }
.jy-detail { display: grid; grid-template-columns: 1.02fr .98fr; gap: 30px; padding: 14px 0 34px; align-items: start; }
.jy-gallery { background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 14px; }
.jy-main-pic { aspect-ratio: 1/1; background: #E9EFF6; overflow: hidden; border-radius: 2px; }
.jy-main-pic img { width: 100%; height: 100%; object-fit: cover; }
.jy-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.jy-thumbs span { width: 68px; height: 68px; border: 1px solid var(--jy-line); border-radius: 2px; overflow: hidden; cursor: pointer; }
.jy-thumbs span.on { border-color: var(--jy-brand); }
.jy-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.jy-pbox { background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 20px; }
.jy-pbox h1 { font-size: 19px; line-height: 1.5; }
.jy-pline { margin: 14px 0 4px; padding: 14px 16px; background: #EEF3FA; border-radius: var(--jy-r); }
.jy-pline b { color: var(--jy-brand); font-size: 27px; }
.jy-pline b i { font-style: normal; font-size: 15px; }
.jy-pline del { color: #A5B0BE; font-size: 13px; margin-left: 10px; }
.jy-pline p { margin: 4px 0 0; font-size: 12px; color: var(--jy-sub); }
.jy-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; font-size: 12px; color: #4A5768; }
.jy-promise div { background: #F7F9FC; border: 1px dashed var(--jy-line); border-radius: var(--jy-r); padding: 8px 6px; text-align: center; }
.jy-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.jy-row > label { flex: none; width: 46px; font-size: 13px; color: var(--jy-sub); }
.jy-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.jy-specs span { padding: 7px 14px; border: 1px solid var(--jy-line); border-radius: 2px; font-size: 13px; cursor: pointer; background: var(--jy-white); }
.jy-specs span.on { border-color: var(--jy-brand); color: var(--jy-brand); background: #EEF3FA; }
.jy-num { display: inline-flex; align-items: center; border: 1px solid var(--jy-line); border-radius: 2px; overflow: hidden; }
.jy-num button { width: 34px; height: 34px; border: 0; background: #F7F9FC; cursor: pointer; font-size: 16px; }
.jy-num b { width: 48px; text-align: center; }
.jy-buy { display: flex; gap: 12px; margin-top: 20px; }
.jy-btn { flex: 1; height: 46px; border: 1px solid var(--jy-brand); background: var(--jy-brand); color: #fff; border-radius: var(--jy-r); cursor: pointer; font-size: 15px; letter-spacing: 1px; }
.jy-btn:hover { background: var(--jy-brand-d); }
.jy-btn.ghost { background: #EEF3FA; color: var(--jy-brand); }
.jy-btn.ghost:hover { background: #E3EBF5; }
.jy-panel { background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 22px 24px; margin-bottom: 16px; }
.jy-panel h3 { font-size: 15px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--jy-line); }
.jy-panel p { margin: 9px 0; color: #33425A; }
table.pd-params { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
table.pd-params td { border: 1px solid var(--jy-line); padding: 9px 12px; }
table.pd-params td:first-child { width: 110px; background: #F7F9FC; color: var(--jy-sub); }

/* ---------------- 页脚 ---------------- */
.jy-foot { background: var(--jy-white); border-top: 3px solid var(--jy-brand); margin-top: 30px; }
.jy-foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 30px 0 24px; font-size: 13px; }
.jy-foot-grid h4 { font-size: 14px; margin-bottom: 12px; }
.jy-foot-grid a { display: block; color: var(--jy-sub); padding: 3px 0; }
.jy-foot-grid a:hover { color: var(--jy-brand); }
.jy-foot-grid div.info { color: var(--jy-sub); padding: 3px 0; }
.jy-foot-bar { border-top: 1px solid var(--jy-line); padding: 14px 0 22px; font-size: 12px; color: var(--jy-sub); line-height: 1.9; }
.jy-foot-bar a { color: var(--jy-sub); }
.jy-foot-bar b { color: #2A3B54; font-weight: 600; }

/* ---------------- 兼容框架原有类名（购物车/结算/会员/订单等） ---------------- */
.search-bar { padding: 12px 16px; background: var(--jy-white); }
.search-bar input { width: 100%; height: 38px; border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 0 12px; background: #F7F9FC; }
.nav-tabs { display: flex; gap: 4px; overflow-x: auto; background: var(--jy-white); border-bottom: 1px solid var(--jy-line); padding: 0 8px; }
.nav-tabs a { flex: none; padding: 0 12px; line-height: 42px; font-size: 13px; border-bottom: 2px solid transparent; color: #2A3B54; }
.nav-tabs a.active { color: var(--jy-brand); border-bottom-color: var(--jy-brand); font-weight: 600; }
.banner { display: block; margin: 14px 16px; border-radius: var(--jy-r); overflow: hidden; }
.banner img { width: 100%; max-height: 240px; object-fit: cover; }
.card { background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 16px; margin: 12px; }
.sec-head { display: flex; align-items: baseline; gap: 10px; padding: 16px 12px 8px; }
.sec-head h3, .sec-head h4 { font-size: 16px; }
.sec-head a, .sec-head span { margin-left: auto; font-size: 12px; color: var(--jy-sub); }
.cell { display: flex; align-items: center; background: var(--jy-white); border-bottom: 1px solid var(--jy-line); padding: 14px 16px; }
.cell:first-child { border-top: 1px solid var(--jy-line); }
.arrow { color: #B7C1CE; margin-left: 8px; }
.badge { display: inline-block; min-width: 16px; height: 16px; line-height: 16px; text-align: center; background: var(--jy-brand); color: #fff; font-size: 10px; border-radius: 8px; padding: 0 4px; margin-left: 4px; }
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 16px; padding: 12px; }
.goods-card { display: block; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); overflow: hidden; }
.goods-card .thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.goods-card .info { padding: 10px 12px 14px; }
.goods-card .name { font-size: 13px; line-height: 1.5; height: 39px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.goods-card .price { color: var(--jy-brand); font-weight: 600; font-size: 16px; margin-top: 8px; }
.btn-buy { border: 1px solid var(--jy-brand); background: var(--jy-brand); color: #fff; height: 34px; padding: 0 16px; border-radius: var(--jy-r); cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.btn-buy:hover { background: var(--jy-brand-d); }
.btn-cart, .btn-buy2 { border: 0; border-radius: var(--jy-r); height: 44px; padding: 0 22px; cursor: pointer; font-size: 15px; color: #fff; background: var(--jy-brand); }
.btn-cart { background: #2F5E8A; }
.btn-sm { display: inline-block; padding: 5px 11px; font-size: 12px; border: 1px solid var(--jy-line); border-radius: 2px; background: #F7F9FC; }
.btn-del { color: #A32B22; }
.btn-primary { width: 100%; height: 46px; border: 0; border-radius: var(--jy-r); background: var(--jy-brand); color: #fff; font-size: 15px; cursor: pointer; letter-spacing: 2px; }
.btn-primary:hover { background: var(--jy-brand-d); }
.form-item { display: flex; align-items: center; gap: 8px; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); margin: 10px 16px; padding: 0 12px; height: 46px; }
.form-item input { flex: 1; border: 0; outline: 0; height: 100%; background: transparent; }
.bottom-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--jy-white); border-top: 1px solid var(--jy-line); }
.bottom-bar .op { text-align: center; font-size: 11px; color: var(--jy-sub); }
.bottom-bar .op .ico { display: block; font-size: 17px; }
.me-head { background: linear-gradient(135deg, #22406B, #1A3355); color: #fff; padding: 20px 18px 0; }
.me-head .me-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-top: 16px; padding-bottom: 14px; }
.me-head .me-stats b { display: block; font-size: 17px; }
.me-head .me-stats span { font-size: 11px; opacity: .8; }
.order-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); margin: 0 12px; padding: 14px 0; font-size: 12px; }
.order-grid a { display: block; color: #2A3B54; }
.order-grid .ico { display: block; font-size: 19px; margin-bottom: 4px; }
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { display: inline-block; padding: 4px 10px; margin-right: 6px; font-size: 12px; background: #EEF3FA; color: var(--jy-brand); border: 1px solid #D9E3F0; border-radius: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table td, .table th { border-bottom: 1px solid var(--jy-line); padding: 9px 8px; text-align: left; }
.alert { padding: 10px 14px; border-radius: var(--jy-r); margin: 12px 16px; font-size: 13px; }
.alert-err { background: #FCEFED; color: #A32B22; border: 1px solid #F3D6D1; }
.page-title, body > h3 { padding: 18px 16px 6px; font-size: 17px; }

/* ---------------- 内容页 / 登录注册 ---------------- */
.jy-doc { display: grid; grid-template-columns: 208px 1fr; gap: 26px; padding: 22px 0 40px; align-items: start; }
.jy-doc-main h3 { font-size: 18px; margin-bottom: 6px; }
.jy-doc-main h4 { font-size: 15px; margin: 20px 0 8px; }
.jy-doc-main p { margin: 9px 0; color: #33425A; }
.jy-doc-main ul { margin: 8px 0 8px 20px; padding: 0; color: #33425A; }
.jy-doc-main li { margin: 5px 0; }
.jy-auth { max-width: 420px; margin: 60px auto 80px; background: var(--jy-white); border: 1px solid var(--jy-line); border-radius: var(--jy-r); padding: 34px 26px 26px; }
.jy-auth h2 { text-align: center; font-size: 20px; }
.jy-auth .sub { text-align: center; font-size: 12px; color: var(--jy-sub); margin: 6px 0 22px; }
.jy-auth .form-item { margin: 10px 0; }
.jy-auth .btn-primary { margin-top: 12px; }
.jy-auth .foot { text-align: center; font-size: 13px; color: var(--jy-sub); margin-top: 16px; }
.jy-auth .foot a { color: var(--jy-brand); }
.jy-auth .agree { text-align: center; font-size: 12px; color: #93A0AF; margin-top: 14px; line-height: 1.6; }
.jy-auth .agree a { color: var(--jy-brand); }
.jy-crumb-link { font-size: 12px; color: var(--jy-sub); padding: 18px 0 0; }
.jy-crumb-link a:hover { color: var(--jy-brand); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
    .jy-layout, .jy-doc { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; }
    .jy-detail { grid-template-columns: 1fr; gap: 16px; }
    .jy-foot-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .jy-hero img { height: 210px; }
    .jy-hero .txt { padding: 16px 18px; }
    .jy-hero .txt b { font-size: 18px; }
}
@media (max-width: 640px) {
    .jy-strip { display: none; }
    .jy-header .jy-wrap { height: auto; flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
    .jy-header .jy-search { flex: 1 1 100%; max-width: none; order: 3; }
    .jy-hlinks { font-size: 12px; gap: 12px; }
    .jy-wrap { padding: 0 12px; }
    .jy-grid, .goods-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
    .jy-grid { padding: 0; }
    .jy-info { padding: 9px 9px 11px; }
    .jy-tt { font-size: 12px; height: 36px; }
    .jy-pr b { font-size: 15px; }
    .jy-pr del { display: none; }
    .jy-sub { display: none; }
    .jy-pbox { padding: 14px; }
    .jy-pbox h1 { font-size: 16px; }
    .jy-pline b { font-size: 23px; }
    .jy-panel { padding: 16px 14px; margin-bottom: 12px; }
    .jy-promise { font-size: 11px; }
    .jy-btn { height: 42px; font-size: 14px; }
    .card { margin: 10px; padding: 13px; }
    .jy-foot-grid { grid-template-columns: 1fr; gap: 14px; padding: 20px 0 16px; }
    .jy-buy { position: sticky; bottom: 0; background: var(--jy-bg); padding: 10px 0; }
}

/* ===== yiqian 差异化布局：顶部方形圆角分类图标 + 三色渐变横幅 + 三列卡片（第三套风格） ===== */
.jy-layout { display: block; padding: 20px 0 36px; }
.jy-aside { margin-bottom: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.jy-aside h4 { display: none; }
.jy-catlist { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; padding: 0 0 16px; }
.jy-catlist a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    min-height: 74px; padding: 10px 6px; border: 0; border-radius: 16px; background: var(--jy-white);
    font-size: 13px; color: var(--jy-ink); box-shadow: 0 3px 12px rgba(34,64,107,.07); transition: transform .15s; }
.jy-catlist a:hover { transform: translateY(-2px); }
.jy-catlist a span { color: var(--jy-sub); font-size: 11px; }
.jy-catlist a.on { background: linear-gradient(160deg, #22406B, #2F5E8A); color: #fff; box-shadow: 0 6px 18px rgba(34,64,107,.22); }
.jy-catlist a.on span { color: #C3CDDA; }
.jy-serv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; padding: 14px 16px;
    background: linear-gradient(90deg, #EEF3FA, #F7F9FC); border: 0; border-radius: 14px; }
.jy-serv h4 { grid-column: 1 / -1; margin: 0 0 2px; font-size: 13px; color: var(--jy-sub); }
.jy-serv p { margin: 0; text-align: center; color: var(--jy-sub); }
.jy-serv b { color: var(--jy-brand); }
.jy-hero { border: 0; border-radius: 20px; background: linear-gradient(115deg, #22406B 0%, #2F5E8A 58%, #E8873B 135%); min-height: 168px; }
.jy-hero img { display: none; }
.jy-hero .txt { position: static; background: none; padding: 34px 30px 30px; }
.jy-hero .txt b { font-size: 23px; color: #fff; }
.jy-hero .txt p { color: #D9E3F0; margin-top: 9px; font-size: 13px; }
.jy-sec h3::after { background: var(--jy-accent); }
.jy-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jy-card { border: 0; border-radius: 18px; box-shadow: 0 4px 16px rgba(34,64,107,.07); }
.jy-card:hover { box-shadow: 0 12px 28px rgba(34,64,107,.15); }
.jy-card .jy-pic i { background: var(--jy-accent); border-radius: 999px; }
.jy-buybtn { display: inline-block; margin-top: 7px; padding: 3px 12px; border: 1px solid var(--jy-accent);
    color: var(--jy-accent); border-radius: 999px; font-size: 12px; line-height: 18px; }
.jy-card:hover .jy-buybtn { background: var(--jy-accent); color: #fff; }
.jy-btn { border-radius: 999px; }
.jy-btn.ghost { background: #EEF3FA; }
.jy-foot { border-top: 3px solid var(--jy-brand); }
@media (max-width: 1000px) { .jy-grid { grid-template-columns: repeat(2, 1fr); } .jy-catlist { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .jy-serv { grid-template-columns: repeat(2, 1fr); } }
