/* YOP site pages (home / shop / blog / article / pages) — 依赖 style.css 里的变量与页头页脚。类名：yp-* 共用，yps-* 页面专用 */

/* ---------- 通用组件 ---------- */
.yp-cta{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 24px;border-radius:999px;background:var(--tf);color:var(--ink)!important;font-weight:800;font-size:14.5px;transition:.15s;white-space:nowrap}
.yp-cta svg{width:18px;height:18px}
.yp-cta:hover{background:var(--tf-600);color:#fff!important}
.yp-cta.ghost{background:#fff;border:1.5px solid var(--ink);color:var(--ink)!important}
.yp-cta.ghost:hover{background:var(--ink);color:#fff!important}
.yp-chip{display:inline-block;font-size:12px;font-weight:700;color:var(--tf-700);background:var(--tf-50);border:1px solid var(--tf-100);border-radius:999px;padding:2px 10px;line-height:1.6}
body.yp a.yp-chip:hover{background:var(--tf-100)}

.yp-pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.yp-pgrid.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.yp-pcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;transition:.15s;min-width:0}
.yp-pcard:hover{border-color:var(--tf);box-shadow:0 10px 26px rgba(10,186,181,.14);transform:translateY(-2px)}
.yp-pcard-img{position:relative;display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--bg);margin-bottom:10px}
.yp-pcard-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.yp-pcard-img .yp-pc-ph{margin:0;height:100%;border-radius:0}
.yp-pcard-tag{position:absolute;left:8px;top:8px;font-style:normal;font-size:11px;font-weight:700;background:var(--coral);color:#fff;padding:2px 8px;border-radius:999px}
.yp-pcard h3{font-size:13.5px;line-height:1.45;font-weight:700;margin:0 0 6px;min-height:39px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yp-pcard-r{display:flex;align-items:center;gap:6px;margin-bottom:4px}
.yp-pcard-r small{color:var(--ink-3);font-size:12px}
.yp-pcard-p{color:var(--tf-700);font-weight:800;font-size:15px;margin-top:auto;padding-top:4px}
.yp-pcard-p del{color:var(--ink-3);font-weight:400;font-size:12px;margin-right:4px}
.yp-pcard-p ins{text-decoration:none}
.yp-pcard-b{display:block;margin-top:10px;text-align:center;height:38px;line-height:38px;border-radius:8px;background:var(--tf-50);color:var(--tf-700);font-weight:700;font-size:13px;border:1px solid var(--tf-100);transition:.15s}
.yp-pcard:hover .yp-pcard-b{background:var(--tf);color:var(--ink);border-color:var(--tf)}

.yp-agrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.yp-agrid.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.yp-acard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.15s;min-width:0}
.yp-acard:hover{border-color:var(--tf);box-shadow:0 10px 26px rgba(10,186,181,.14);transform:translateY(-2px)}
.yp-acard-img{display:block;aspect-ratio:16/10;background:var(--bg);overflow:hidden}
.yp-acard-img img{width:100%;height:100%;object-fit:cover}
.yp-acard-img .yp-pc-ph{margin:0;height:100%;border-radius:0}
.yp-acard-b{display:flex;flex-direction:column;gap:8px;padding:16px;flex:1}
.yp-acard-m{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--ink-3)}
.yp-acard h3{font-size:16px;line-height:1.4;font-weight:800;margin:0}
.yp-acard h3 a:hover{color:var(--tf-700)}
.yp-acard p{color:var(--ink-2);font-size:13.5px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yp-acard .yp-more{margin-top:auto}
.yp-agrid.feat>.yp-acard:first-child{grid-column:span 2;flex-direction:row}
.yp-agrid.feat>.yp-acard:first-child .yp-acard-img{flex:0 0 50%;aspect-ratio:auto}
.yp-agrid.feat>.yp-acard:first-child h3{font-size:21px}
.yp-agrid.feat>.yp-acard:first-child .yp-acard-b{justify-content:center;padding:24px}

.yp-pager{margin:34px 0 8px}
.yp-pager ul{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.yp-pager a,.yp-pager span{display:grid;place-items:center;min-width:40px;height:40px;padding:0 12px;border:1.5px solid var(--line);border-radius:10px;font-weight:700;color:var(--ink-2);background:#fff}
.yp-pager a:hover{border-color:var(--tf);color:var(--tf-700)}
.yp-pager .current{background:var(--tf);border-color:var(--tf);color:var(--ink)}
.yp-pager .dots{border:0;background:none}

/* 正文排版（文章 / 静态页） */
.yp-prose{color:var(--ink-2);font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.yp-prose>*:first-child{margin-top:0}
.yp-prose p{margin:0 0 1.1em}
.yp-prose strong{color:var(--ink)}
.yp-prose h2{font-size:24px;line-height:1.3;color:var(--ink);margin:1.9em 0 .7em;padding-left:14px;border-left:5px solid var(--tf);scroll-margin-top:100px}
.yp-prose h3{font-size:19px;line-height:1.35;color:var(--ink);margin:1.6em 0 .55em;scroll-margin-top:100px}
.yp-prose h4{font-size:16px;color:var(--ink);margin:1.3em 0 .4em}
.yp-prose ul,.yp-prose ol{margin:0 0 1.1em;padding-left:1.4em}
.yp-prose ul{list-style:none;padding-left:0}
.yp-prose ul li{position:relative;padding-left:20px;margin-bottom:.45em}
.yp-prose ul li::before{content:"";position:absolute;left:3px;top:.8em;width:7px;height:7px;border-radius:50%;background:var(--tf)}
.yp-prose ol li{margin-bottom:.45em;padding-left:4px}
.yp-prose ol li::marker{color:var(--tf-700);font-weight:800}
.yp-prose a{color:var(--tf-700);text-decoration:underline;text-underline-offset:3px}
.yp-prose a:hover{color:var(--ink)}
.yp-prose img{border-radius:12px;margin:0 auto}
.yp-prose figure{margin:1.6em 0}
.yp-prose figcaption{text-align:center;font-size:13px;color:var(--ink-3);margin-top:8px}
.yp-prose blockquote{margin:1.4em 0;padding:14px 18px;border-left:4px solid var(--tf);background:var(--tf-50);border-radius:0 10px 10px 0;color:var(--ink)}
.yp-prose blockquote p:last-child{margin:0}
.yp-prose table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:1.4em 0;font-size:14.5px;display:block;overflow-x:auto}
.yp-prose table tbody,.yp-prose table thead{display:table;width:100%}
.yp-prose th,.yp-prose td{padding:11px 16px;text-align:left;border:0;border-bottom:1px solid var(--line);vertical-align:top}
.yp-prose th{background:var(--tf-50);color:var(--tf-700);font-weight:700;white-space:nowrap}
.yp-prose tr:last-child td{border-bottom:0}
.yp-prose hr{border:0;border-top:1px dashed var(--line);margin:2em 0}
.yp-prose code{background:var(--bg);padding:1px 6px;border-radius:5px;font-size:.9em}
.yp-prose .yop-spec,.yp-prose [class*="spec-box"]{margin:1.2em 0}

/* ---------- 页面骨架 ---------- */
.yps-main{padding-bottom:56px}
.yps-ph{padding:6px 0 22px}
.yps-ph h1{font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.6px;text-wrap:balance}
.yps-ph-d{margin-top:10px;max-width:760px;color:var(--ink-2);font-size:15px;line-height:1.75}
.yps-ph-d p{margin:0}
.yps-empty{padding:48px 0;text-align:center;color:var(--ink-2)}
.yps-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px 40px;max-width:860px}
.yps-box.wide{max-width:none;padding:28px}
.yps-wide .yps-ph{max-width:none}

/* ---------- 首页 ---------- */
.yps-hero{background:linear-gradient(135deg,var(--tf-50) 0%,#fff 55%,var(--tf-100) 100%);border-bottom:1px solid var(--tf-100);overflow:hidden}
.yps-hero-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:center;padding-top:56px;padding-bottom:56px}
.yps-hero-t h1{font-size:40px;line-height:1.18;font-weight:800;letter-spacing:-1px;text-wrap:balance}
:lang(ja) .yps-hero-t h1{word-break:auto-phrase;line-height:1.3;font-size:34px}
.yps-hero-t p{margin:16px 0 26px;font-size:16px;color:var(--ink-2);line-height:1.75;max-width:560px}
.yps-hero-b{display:flex;gap:12px;flex-wrap:wrap}
.yps-hero-pts{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px}
.yps-hero-pts li{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13.5px}
.yps-hero-pts svg{width:30px;height:30px;padding:6px;border-radius:50%;background:var(--tf);color:var(--ink)}
.yps-hero-v{position:relative;aspect-ratio:1/.95}
.yps-hero-v img{width:100%;height:100%;object-fit:contain}
.yps-hv-main{position:absolute;inset:0 14% 10% 0;display:block;background:#fff;border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:0 20px 50px rgba(10,186,181,.16)}
.yps-hv-s{position:absolute;display:block;width:34%;aspect-ratio:1;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:0 14px 30px rgba(14,42,42,.12)}
.yps-hv-s.a{right:0;top:6%}
.yps-hv-s.b{right:6%;bottom:0}

.yps-sec{padding:52px 0}
.yps-sec.alt{background:var(--bg)}
.yps-sec-h{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.yps-sec-h h2{font-size:28px;font-weight:800;letter-spacing:-.5px;display:flex;align-items:center;gap:12px}
.yps-sec-h h2::before{content:"";width:6px;height:26px;border-radius:3px;background:var(--tf)}
.yps-sec-h p{margin-top:6px;color:var(--ink-2)}
.yps-sec-l{color:var(--tf-700);font-weight:700;white-space:nowrap}
.yps-sec-l:hover{color:var(--ink)}

.yps-brands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.yps-brand{position:relative;display:flex;flex-direction:column;gap:2px;padding:20px 22px;background:#fff;border:1.5px solid var(--line);border-radius:14px;transition:.15s;overflow:hidden}
.yps-brand b{font-size:20px;font-weight:800;letter-spacing:.5px}
.yps-brand span{font-size:12.5px;color:var(--ink-3)}
.yps-brand i{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:var(--tf-50);color:var(--tf-700);display:grid;place-items:center;transition:.15s}
.yps-brand i svg{width:16px;height:16px}
.yps-brand:hover{border-color:var(--tf);box-shadow:0 10px 26px rgba(10,186,181,.14)}
.yps-brand:hover i{background:var(--tf);color:var(--ink)}

.yps-why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.yps-why-i{padding:26px;border:1px solid var(--tf-100);background:var(--tf-50);border-radius:16px}
.yps-why-i i{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--tf);color:var(--ink);margin-bottom:14px}
.yps-why-i i svg{width:24px;height:24px}
.yps-why-i h3{font-size:18px;font-weight:800;margin-bottom:6px}
.yps-why-i p{color:var(--ink-2);line-height:1.7;font-size:14px}

.yps-models{display:flex;flex-wrap:wrap;gap:10px}
.yps-models a{display:inline-flex;align-items:baseline;gap:8px;padding:10px 18px;background:#fff;border:1.5px solid var(--line);border-radius:999px;font-weight:700;transition:.15s}
.yps-models a small{font-weight:500;color:var(--ink-3);font-size:12px}
.yps-models a:hover{border-color:var(--tf);color:var(--tf-700);background:var(--tf-50)}

.yps-band{background:var(--ink);color:#fff;margin-top:8px}
.yps-band-in{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:42px;padding-bottom:42px}
.yps-band h2{font-size:26px;font-weight:800;margin-bottom:6px}
.yps-band p{color:#B8CACA;max-width:620px;line-height:1.7}

/* ---------- 商品列表 ---------- */
.yps-shop{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.yps-filter{position:sticky;top:88px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.yps-filter h2{font-size:14px;font-weight:800;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.yps-filter li a{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-radius:8px;font-weight:600;color:var(--ink-2)}
.yps-filter li a small{color:var(--ink-3);font-weight:500}
.yps-filter li a:hover{background:var(--tf-50);color:var(--tf-700)}
.yps-filter li.on a{background:var(--tf);color:var(--ink)}
.yps-filter li.on a small{color:var(--ink)}
.yps-sort{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;color:var(--ink-2);font-size:13.5px}
.yps-sort form{display:flex;align-items:center;gap:10px}
.yps-sort select{height:38px;border:1.5px solid var(--line);border-radius:8px;padding:0 10px;font:inherit;background:#fff;color:var(--ink);outline:0}
.yps-sort select:focus{border-color:var(--tf);box-shadow:0 0 0 3px var(--tf-100)}

/* ---------- 文章列表：内容中心插件输出（规格表 / 适配机型 / 子分类 / FAQ）换肤 ---------- */
.yps-hubslot{margin-bottom:26px}
.yps-hubslot:empty{display:none}
.yps-hubslot .yop-hub,.yps-hubslot .yop-cam-hub{max-width:none;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 28px;margin:0 0 20px}
.yps-hubslot .yop-hub-h2,.yps-hubslot .yop-cam-h{font-size:18px;font-weight:800;margin:1.4em 0 .7em;padding:0 0 0 12px;border:0;border-left:5px solid var(--tf);line-height:1.3}
.yps-hubslot .yop-hub>*:first-child,.yps-hubslot .yop-hub-h2:first-child{margin-top:0}
.yps-hubslot table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:14px}
.yps-hubslot th,.yps-hubslot td{padding:10px 16px;border:0;border-bottom:1px solid var(--line);text-align:left}
.yps-hubslot th{width:36%;background:var(--tf-50);color:var(--ink-2);font-weight:600}
.yps-hubslot tr:last-child th,.yps-hubslot tr:last-child td{border-bottom:0}
.yps-hubslot .yop-hub-bodies{display:flex;flex-wrap:wrap;gap:6px}
.yps-hubslot .yop-hub-bodies li{border:1px solid var(--line);border-radius:999px;padding:3px 12px;font-size:12.5px;color:var(--ink-2);background:#fff}
.yps-hubslot .yop-hub-intro,.yps-hubslot .yop-hub-a{color:var(--ink-2);line-height:1.8}
.yps-hubslot .yop-hub-q{font-weight:800;margin:1.2em 0 .3em;color:var(--ink)}
.yps-hubslot .yop-hub-cta .button,.yps-hubslot .yop-cam-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:8px;background:var(--tf);color:var(--ink)!important;font-weight:800;text-decoration:none}
.yps-hubslot .yop-hub-cta .button:hover,.yps-hubslot .yop-cam-btn:hover{background:var(--tf-600);color:#fff!important}
.yps-hubslot .yop-hub-small,.yps-hubslot .yop-hub-note{color:var(--ink-3);font-size:12.5px}
.yps-hubslot .yop-cam-buy{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:center;margin-bottom:6px}
.yps-hubslot .yop-cam-img img{width:120px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff}
.yps-hubslot .yop-cam-kicker{font-size:12px;font-weight:700;color:var(--tf-700);letter-spacing:.04em;text-transform:uppercase}
.yps-hubslot .yop-cam-name{font-size:22px;font-weight:800;margin:2px 0}
.yps-hubslot .yop-cam-facts{color:var(--ink-2);margin:0 0 6px}
.yps-hubslot .yop-cam-price{font-weight:800;color:var(--tf-700);margin-bottom:10px}
.yps-hubslot .yop-cam-entry{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:var(--tf-50);border:1px solid var(--tf-100);border-radius:14px;padding:16px 20px;margin:0 0 20px}
.yps-hubslot .yop-cam-entry-t strong{display:block;font-size:15px}
.yps-hubslot .yop-cam-entry-t span{font-size:12.5px;color:var(--ink-2)}
.yps-hubslot .yop-cam-entry-b{display:flex;flex-wrap:wrap;gap:8px}
.yps-hubslot .yop-cam-entry-b a{display:inline-block;font-size:12.5px;padding:5px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:600;color:var(--ink-2)}
.yps-hubslot .yop-cam-entry-b a:hover{border-color:var(--tf);color:var(--tf-700)}
.yps-hubslot .yop-cam-entry-b a.all{background:var(--tf);border-color:var(--tf);color:var(--ink);font-weight:800}
.yps-hubslot .yp-subcats,.yps-hubslot .yop-subcats{margin:0 0 20px}
.yps-hubslot .yp-subcats__title{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);margin:0 0 10px}
.yps-hubslot .yp-subcats__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.yps-hubslot .yp-subcats__grid li a{display:flex;flex-direction:column;gap:4px;height:100%;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;transition:.15s}
.yps-hubslot .yp-subcats__grid li a:hover{border-color:var(--tf);box-shadow:0 8px 20px rgba(10,186,181,.12)}

/* ---------- 文章详情 ---------- */
.yps-art{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:start}
.yps-art-main{min-width:0;max-width:780px}
.yps-art-h{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.yps-art-h h1{font-size:36px;line-height:1.22;font-weight:800;letter-spacing:-.7px;margin:12px 0 14px;text-wrap:balance}
:lang(ja) .yps-art-h h1{word-break:auto-phrase;font-size:32px}
.yps-art-m{display:flex;flex-wrap:wrap;gap:6px 18px;color:var(--ink-3);font-size:13px}
.yps-art-side{position:sticky;top:88px;display:grid;gap:18px;min-width:0}
.yps-toc,.yps-match{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.yps-toc h2,.yps-match h2{font-size:14px;font-weight:800;margin-bottom:10px}
.yps-toc ol{counter-reset:t}
.yps-toc li{counter-increment:t;padding:7px 0 7px 26px;position:relative;font-size:13.5px;line-height:1.45;border-top:1px solid var(--bg)}
.yps-toc li:first-child{border-top:0}
.yps-toc li::before{content:counter(t);position:absolute;left:0;top:7px;width:18px;height:18px;border-radius:50%;background:var(--tf-100);color:var(--tf-700);font-size:11px;font-weight:800;display:grid;place-items:center}
.yps-toc a{color:var(--ink-2)}
.yps-toc a:hover{color:var(--tf-700)}
.yps-match{background:var(--tf-50);border-color:var(--tf-100)}
.yps-cm{margin-top:40px}
.yps-rel{margin-top:44px;padding-top:8px}
.yps-rel .yp-rel{font-size:24px;font-weight:800;margin-bottom:18px;display:flex;align-items:center;gap:10px}
.yps-rel .yp-rel::before{content:"";width:6px;height:24px;border-radius:3px;background:var(--tf)}

/* ---------- 404 ---------- */
.yps-404{text-align:center;padding:56px 0 30px}
.yps-404 b{display:block;font-size:110px;line-height:1;font-weight:800;color:var(--tf);letter-spacing:-4px}
.yps-404 h1{font-size:30px;margin:10px 0}
.yps-404 p{color:var(--ink-2);max-width:480px;margin:0 auto 24px}

/* ---------- 购物车 / 结算 / 账户 / 运费计算器：容器内的基础皮肤，功能不动 ---------- */
.yps-page .wc-block-components-button:not(.is-link),.yps-page .wp-element-button,.yps-page button.button,.yps-page .woocommerce a.button,.yps-page input[type=submit]{background:var(--tf)!important;color:var(--ink)!important;border:0!important;border-radius:8px!important;font-weight:800!important}
.yps-page .wc-block-components-button:not(.is-link):hover,.yps-page button.button:hover,.yps-page .woocommerce a.button:hover{background:var(--tf-600)!important;color:#fff!important}
.yps-page .wc-block-components-checkbox__input:checked,.yps-page input[type=checkbox]:checked,.yps-page input[type=radio]:checked{accent-color:var(--tf)}
.yps-page input[type=text],.yps-page input[type=email],.yps-page input[type=tel],.yps-page input[type=password],.yps-page input[type=number],.yps-page select,.yps-page textarea{border-radius:8px}
.yps-page .yop-rc{max-width:none}
.yps-page .woocommerce-MyAccount-navigation ul{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.yps-page .woocommerce-MyAccount-navigation a{display:block;padding:8px 16px;border:1.5px solid var(--line);border-radius:999px;font-weight:700;color:var(--ink-2)}
.yps-page .woocommerce-MyAccount-navigation .is-active a,.yps-page .woocommerce-MyAccount-navigation a:hover{background:var(--tf);border-color:var(--tf);color:var(--ink)}


/* ---------- 购物车/账户补充皮肤 ---------- */
.yps-page .woocommerce form .form-row{margin:0 0 16px}
.yps-page .woocommerce form .form-row label{display:block;font-weight:700;font-size:14px;margin-bottom:6px;color:var(--ink)}
.yps-page .woocommerce input.input-text,.yps-page .woocommerce input[type=text],.yps-page .woocommerce input[type=email],.yps-page .woocommerce input[type=password],.yps-page .woocommerce input[type=tel]{width:100%;max-width:440px;height:44px;padding:0 14px;border:1.5px solid var(--line);border-radius:10px;background:#fff;font:inherit;color:var(--ink);outline:0;transition:.15s}
.yps-page .woocommerce input.input-text:focus{border-color:var(--tf);box-shadow:0 0 0 4px var(--tf-100)}
.yps-page .woocommerce button.button,.yps-page .woocommerce a.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;font-size:15px;cursor:pointer}
.yps-page .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:8px;font-weight:600!important}
.yps-page .woocommerce-form-login .woocommerce-button{margin-top:6px}
.yps-page .lost_password a{color:var(--tf-700);font-weight:600}
.yps-page .woocommerce-message,.yps-page .woocommerce-info,.yps-page .woocommerce-error{list-style:none;margin:0 0 20px;padding:14px 18px;border-radius:10px;background:var(--tf-50);border:1px solid var(--tf-100);color:var(--ink)}
.yps-page .woocommerce-error{background:#fff4f1;border-color:#ffd5cb}
.yps-page .wp-block-woocommerce-empty-cart-block h2{border-left:0;padding-left:0;text-align:center}
.yps-page .wp-block-woocommerce-empty-cart-block h2::before{display:none}
.yps-page .wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon{margin-top:10px}
.yps-page .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font-size:26px}
.yps-page .wc-block-grid__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.yps-page .wc-block-grid__product{margin:0!important;padding:0!important;width:auto!important;max-width:none!important;text-align:left;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.yps-page .wc-block-grid__product::before{display:none!important}
.yps-page .wc-block-grid__product-link{display:block;color:inherit}
.yps-page .wc-block-grid__product-image{margin:0;background:var(--bg)}
.yps-page .wc-block-grid__product-image img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.yps-page .wc-block-grid__product-title{font-size:14px;font-weight:700;line-height:1.4;padding:12px 14px 0;color:var(--ink)}
.yps-page .wc-block-grid__product-price{padding:6px 14px;font-weight:800;color:var(--tf-700);font-size:14px}
.yps-page .wc-block-grid__product-rating{display:none}
.yps-page .wc-block-grid__product-add-to-cart{padding:0 14px 14px;margin-top:auto}
.yps-page .wc-block-grid__product-add-to-cart .wp-block-button__link{display:block;width:100%;text-align:center;padding:10px;font-size:13px}
@media (max-width:1100px){.yps-page .wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}}

.yps-page .wc-block-grid__product-add-to-cart .wp-block-button__link,.yps-page .wc-block-grid__product-add-to-cart a{background:var(--tf)!important;color:var(--ink)!important;border:0!important;border-radius:8px!important;font-weight:800!important;opacity:1!important}
.yps-page .wc-block-grid__product-add-to-cart a:hover{background:var(--tf-600)!important;color:#fff!important}
.yps-page .wp-block-woocommerce-empty-cart-block .wp-block-separator{border:0;height:0;margin:10px 0}
.yps-page .wp-block-woocommerce-empty-cart-block>p a,.yps-page .wp-block-woocommerce-empty-cart-block .wp-block-button__link{display:inline-flex}
.yps-page .wp-block-woocommerce-empty-cart-block h2.wp-block-heading{border:0;padding:0}


/* ---------- 运费计算器插件换肤 ---------- */
.yps-page .yop-rc__btn{background:var(--tf)!important;color:var(--ink)!important;border-radius:10px;padding:0 28px;height:44px;font-weight:800;display:inline-flex;align-items:center}
.yps-page .yop-rc__btn:hover{background:var(--tf-600)!important;color:#fff!important}
.yps-page .yop-rc__tab{display:inline-flex;align-items:center;height:36px;padding:0 18px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:13px;color:var(--ink-2)}
.yps-page .yop-rc__tab.on{background:var(--tf);border-color:var(--tf);color:var(--ink)}
.yps-page .yop-rc select,.yps-page .yop-rc input{height:44px;border:1.5px solid var(--line);border-radius:10px}
.yps-page .yop-rc table{display:table!important;table-layout:fixed;width:100%!important;min-width:100%}
.yps-page .yop-rc thead,.yps-page .yop-rc tbody{display:table-row-group}
.yps-page .yop-rc tr{display:table-row}
.yps-page .yop-rc th,.yps-page .yop-rc td{display:table-cell;text-align:left}
.yps-page .yop-rc th:nth-child(1){width:12%}.yps-page .yop-rc th:nth-child(2){width:36%}.yps-page .yop-rc th:nth-child(3){width:20%}.yps-page .yop-rc th:nth-child(4){width:16%}.yps-page .yop-rc th:nth-child(5){width:16%}
.yps-page .yop-rc th{background:var(--tf-50);color:var(--tf-700)}
.yps-page .yop-rc tr.best td{background:var(--tf-50)}
.yps-page .yop-rc .tag{background:var(--tf-700)}
.yps-page .yop-rc__more{border-radius:10px;border:1.5px solid var(--line);font-weight:700}
.yps-page .yop-rc__more:hover{border-color:var(--tf);color:var(--tf-700);background:var(--tf-50)}

/* ---------- 响应式 ---------- */
@media (max-width:1100px){
  .yp-pgrid,.yp-agrid.c4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .yp-pgrid.c3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yp-agrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yp-agrid.feat>.yp-acard:first-child{grid-column:1/-1}
  .yps-hero-in{grid-template-columns:1fr;padding-top:40px;padding-bottom:40px}
  .yps-hero-v{max-width:460px}
  .yps-brands{grid-template-columns:repeat(3,minmax(0,1fr))}
  .yps-shop{grid-template-columns:minmax(0,1fr)}
  .yps-shop>*{min-width:0}
  .yps-filter ul{max-width:100%}
  .yps-filter li a{white-space:nowrap;gap:8px}
  .yps-filter{position:static;padding:12px 14px}
  .yps-filter h2{display:none}
  .yps-filter ul{display:flex;gap:8px;overflow-x:auto}
  .yps-filter li a{white-space:nowrap;gap:8px;border:1.5px solid var(--line);border-radius:999px;padding:7px 14px}
  .yps-art{grid-template-columns:1fr}
  .yps-art-side{position:static;order:-1}
  .yps-toc{display:none}
}
@media (max-width:720px){
  .yp-pgrid,.yp-pgrid.c3,.yp-agrid,.yp-agrid.c4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .yp-agrid,.yp-agrid.c4{grid-template-columns:1fr}
  .yp-agrid.feat>.yp-acard:first-child{flex-direction:column}
  .yp-agrid.feat>.yp-acard:first-child .yp-acard-img{flex:none;aspect-ratio:16/10}
  .yp-agrid.feat>.yp-acard:first-child h3{font-size:18px}
  .yp-agrid.feat>.yp-acard:first-child .yp-acard-b{padding:16px}
  .yp-pcard{padding:8px}
  .yp-pcard h3{font-size:12.5px;min-height:36px}
  .yps-ph h1{font-size:26px}
  .yps-hero-t h1{font-size:28px}
  :lang(ja) .yps-hero-t h1{font-size:25px}
  .yps-hero-t p{font-size:14.5px}
  .yps-sec{padding:34px 0}
  .yps-sec-h h2{font-size:22px}
  .yps-brands{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yps-brand{padding:14px 16px}
  .yps-brand b{font-size:17px}
  .yps-brand i{display:none}
  .yps-why{grid-template-columns:1fr}
  .yps-band-in{flex-direction:column;align-items:flex-start}
  .yps-box{padding:20px 18px}
  .yps-box.wide{padding:14px}
  .yps-art-h h1{font-size:26px}
  :lang(ja) .yps-art-h h1{font-size:24px}
  .yp-prose{font-size:15.5px}
  .yp-prose h2{font-size:21px}
  .yps-hubslot .yop-hub,.yps-hubslot .yop-cam-hub{padding:16px}
  .yps-hubslot .yop-cam-buy{grid-template-columns:84px minmax(0,1fr)}
  .yps-hubslot .yop-cam-img img{width:84px;height:84px}
  .yps-hubslot .yp-subcats__grid{grid-template-columns:1fr}
  .yps-sort{flex-direction:column;align-items:flex-start}
  body.yps{padding-bottom:0}
}

.yps-hubslot .yp-subcats__name{display:block;font-size:15px;font-weight:700;color:var(--ink)}
.yps-hubslot .yp-subcats__desc{display:block;font-size:13px;color:var(--ink-2);line-height:1.5}
.yps-hubslot .yp-subcats__meta{display:block;margin-top:auto;padding-top:4px;font-size:12px;color:var(--tf-700);font-weight:600}
