/*
Theme Name:   Vaporhaus
Theme URI:    https://example.com/
Description:  Blocksy 子主题。面向欧洲 TPD 合规电子烟独立站的深色设计系统，内含 18+ 年龄门禁、尼古丁警告、信任模块、首页与商品页模板。
Author:       Vaporhaus
Template:     blocksy
Version:      2.0.0
Text Domain:  vaporhaus
Tags:         e-commerce, dark, woocommerce
*/

/* ============================================================
   1. 设计令牌
   ============================================================ */
:root{
  --vh-bg:#08080a;
  --vh-surface:#101013;
  --vh-surface-2:#17171b;
  --vh-surface-3:#1e1e23;
  --vh-line:#242429;
  --vh-line-2:#33333b;
  --vh-text:#f4f4f5;
  --vh-muted:#9a9aa3;
  --vh-muted-2:#6e6e78;
  --vh-accent:#ff5c35;
  --vh-ok:#4ade80;
  --vh-radius:14px;
  --vh-radius-sm:9px;
  --vh-wrap:1240px;
}

/* ============================================================
   2. 基础层
   ============================================================ */
body,
.page-wrapper,
.content-area,
.shop-container{
  background:var(--vh-bg);
  color:var(--vh-text);
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body.vh-locked{overflow:hidden}
.page-wrapper a{color:inherit}
.vh-wrap{max-width:var(--vh-wrap);margin:0 auto;padding:0 28px}
.vh-eyebrow{
  font-size:11px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--vh-muted-2);font-weight:600;
}
.vh-eyebrow.is-accent{color:var(--vh-accent)}

/* ============================================================
   3. 按钮（含 WooCommerce 通用类）
   ============================================================ */
.vh-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:50px;padding:0 22px;border-radius:10px;border:0;
  font-size:14.5px;font-weight:600;letter-spacing:.01em;line-height:1;
  background:var(--vh-surface-3);color:var(--vh-text);
  transition:transform .18s ease,background .18s ease,color .18s ease;
  text-transform:none;
}
.vh-btn.is-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single_add_to_cart_button{
  background:var(--vh-accent);color:#180a05;
}
.vh-btn.is-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover{
  background:#ff7350;color:#180a05;transform:translateY(-1px);
}
.vh-btn.is-ghost{
  background:transparent;border:1px solid var(--vh-line-2);color:var(--vh-muted);
}
.vh-btn.is-ghost:hover{border-color:#4a4a55;color:var(--vh-text)}

/* ============================================================
   4. 18+ 年龄门禁
   ============================================================ */
.vh-gate{
  position:fixed;inset:0;z-index:99999;
  background:#050506;display:grid;place-items:center;padding:24px;
  transition:opacity .45s ease,visibility .45s;
}
.vh-gate.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.vh-gate__card{
  max-width:440px;width:100%;text-align:center;
  border:1px solid var(--vh-line);border-radius:20px;
  padding:44px 36px 36px;
  background:radial-gradient(120% 100% at 50% 0%,#16161b 0%,#0a0a0d 70%);
}
.vh-gate__logo{font-size:20px;font-weight:800;letter-spacing:-.02em;margin-bottom:26px;color:#fff}
.vh-gate__logo span{color:var(--vh-accent)}
.vh-gate__card h2{font-size:22px;font-weight:700;color:#fff;margin:0 0 10px;line-height:1.3}
.vh-gate__card p{font-size:13.5px;color:var(--vh-muted);margin:0 0 26px}
.vh-gate__btns{display:grid;gap:10px}
.vh-gate__btns .vh-btn{width:100%}
.vh-gate__card small{display:block;margin-top:20px;font-size:11.5px;color:var(--vh-muted-2);line-height:1.7}

/* ============================================================
   5. 顶部公告 / 尼古丁警告
   ============================================================ */
.vh-notice{
  display:flex;align-items:center;gap:8px;
  font-size:11.5px;color:var(--vh-muted-2);
  padding:8px 0;
}
.vh-notice svg{flex:none}
.vh-notice b{color:#d8d8dd;font-weight:600}
.vh-notice--bar{
  background:#000;border-bottom:1px solid var(--vh-line);
  justify-content:center;text-align:center;
}
.vh-notice--inline{
  border:1px solid var(--vh-line);border-radius:8px;
  padding:12px 14px;background:var(--vh-surface);
}

/* ============================================================
   6. 信任模块
   ============================================================ */
.vh-trust{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--vh-line);border-bottom:1px solid var(--vh-line);
  background:var(--vh-surface);
}
.vh-trust__item{padding:30px 24px;border-right:1px solid var(--vh-line)}
.vh-trust__item:last-child{border-right:0}
.vh-trust__item svg{width:24px;height:24px;margin-bottom:12px;color:var(--vh-accent)}
.vh-trust__item h4{font-size:13.5px;font-weight:600;margin:0 0 5px;color:var(--vh-text)}
.vh-trust__item p{font-size:12px;color:var(--vh-muted-2);margin:0;line-height:1.6}

.vh-perks{display:grid;gap:9px;margin:20px 0;padding:18px 0;border-top:1px solid var(--vh-line);border-bottom:1px solid var(--vh-line)}
.vh-perk{display:flex;gap:11px;font-size:12.5px;color:var(--vh-muted);align-items:flex-start}
.vh-perk svg{width:15px;height:15px;flex:none;color:var(--vh-accent);margin-top:2px}
.vh-perk b{color:#e2e2e6;font-weight:600}

/* ============================================================
   7. TPD 合规标识
   ============================================================ */
.vh-tpd{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;
  color:#bfe9d2;background:rgba(74,222,128,.1);
  border:1px solid rgba(74,222,128,.28);
  padding:5px 10px;border-radius:5px;margin-bottom:14px;
}
.vh-tpd svg{width:12px;height:12px;color:var(--vh-ok)}

/* ============================================================
   8. 首页区块
   ============================================================ */
.vh-sec{padding:80px 0}
.vh-sec__head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:24px;margin-bottom:32px;
}
.vh-sec__head h2{
  font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.035em;
  line-height:1.1;margin:0;color:var(--vh-text);
}
.vh-sec__head p{font-size:13.5px;color:var(--vh-muted-2);margin:8px 0 0}
.vh-sec__link{
  font-size:13px;color:var(--vh-muted);white-space:nowrap;
  border-bottom:1px solid var(--vh-line-2);padding-bottom:3px;
}
.vh-sec__link:hover{color:var(--vh-accent);border-color:var(--vh-accent)}

/* Hero */
.vh-hero{
  position:relative;overflow:hidden;border-bottom:1px solid var(--vh-line);
  background:
    radial-gradient(70% 90% at 78% 30%, rgba(255,92,53,.14) 0%, transparent 58%),
    #08080a;
}
.vh-hero .vh-wrap{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;
  align-items:center;min-height:580px;padding-top:56px;padding-bottom:52px;
}
.vh-hero h1{
  font-size:clamp(42px,5.2vw,72px);line-height:.98;letter-spacing:-.045em;
  font-weight:800;margin:0 0 22px;color:var(--vh-text);
}
.vh-hero h1 em{font-style:normal;color:var(--vh-accent)}
.vh-hero__lead{font-size:16px;color:var(--vh-muted);max-width:430px;margin:0 0 30px;line-height:1.7}
.vh-hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:42px}
.vh-hero__stats{display:flex;gap:36px;flex-wrap:wrap;border-top:1px solid var(--vh-line);padding-top:22px}
.vh-hero__stats span{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--vh-muted-2);margin-bottom:3px}
.vh-hero__stats b{font-size:15px;font-weight:600;color:var(--vh-text)}

.vh-hero__visual{position:relative;height:500px;display:grid;place-items:center}
.vh-hero__visual .ring{position:absolute;width:360px;height:360px;border-radius:50%;border:1px solid rgba(255,255,255,.07)}
.vh-hero__visual .ring:nth-of-type(2){width:450px;height:450px;border-color:rgba(255,255,255,.045)}
.vh-hero__visual .halo{
  position:absolute;width:290px;height:290px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,92,53,.42),transparent 66%);filter:blur(18px);
}
.vh-device{
  position:relative;z-index:2;width:92px;height:318px;border-radius:21px;
  background:linear-gradient(168deg,#4a4a54,#14141a 58%);
  box-shadow:inset 1.5px 0 0 rgba(255,255,255,.22),0 50px 80px -24px rgba(0,0,0,.95);
}
.vh-device::before{
  content:"";position:absolute;top:-42px;left:16px;width:60px;height:46px;
  border-radius:13px 13px 4px 4px;background:#20202a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.vh-device::after{
  content:"";position:absolute;left:13px;right:13px;top:106px;height:100px;
  border-radius:9px;background:#04040a;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09),0 0 26px rgba(255,92,53,.3);
}
.vh-tag{
  position:absolute;z-index:3;background:rgba(20,20,24,.82);
  border:1px solid var(--vh-line-2);border-radius:10px;padding:9px 14px;
  font-size:11.5px;color:var(--vh-muted);backdrop-filter:blur(10px);
}
.vh-tag b{display:block;color:#fff;font-size:12.5px;font-weight:600}
.vh-tag.t1{top:70px;left:0}
.vh-tag.t2{bottom:90px;right:0}

/* 品牌条 */
.vh-brands{border-bottom:1px solid var(--vh-line);background:var(--vh-surface)}
.vh-brands .vh-wrap{display:flex;align-items:center;gap:32px;min-height:72px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.vh-brands__label{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--vh-muted-2)}
.vh-brands__marks{display:flex;gap:32px;flex-wrap:wrap;align-items:center}
.vh-brands__marks span{font-size:14px;font-weight:700;letter-spacing:.04em;color:#5d5d68}

/* 分类 */
.vh-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.vh-cat{
  position:relative;display:block;border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:26px 20px 22px;
  transition:border-color .22s,transform .22s,background .22s;
}
.vh-cat:hover{border-color:var(--vh-line-2);background:var(--vh-surface-2);transform:translateY(-3px)}
.vh-cat__glyph{height:60px;display:flex;align-items:flex-end;margin-bottom:16px}
.vh-cat__glyph i{display:block;width:16px;height:50px;border-radius:5px;
  background:linear-gradient(170deg,#4a4a54,#15151a);box-shadow:inset 1px 0 0 rgba(255,255,255,.2)}
.vh-cat h3{font-size:14.5px;font-weight:600;margin:0 0 4px;color:var(--vh-text)}
.vh-cat p{font-size:12px;color:var(--vh-muted-2);margin:0}
.vh-cat__arrow{position:absolute;top:22px;right:20px;color:var(--vh-muted-2);transition:.22s}
.vh-cat:hover .vh-cat__arrow{color:var(--vh-accent);transform:translateX(3px)}

/* 商品卡 */
.vh-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.vh-card{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);overflow:hidden;
  transition:border-color .22s,transform .22s;
}
.vh-card:hover{border-color:var(--vh-line-2);transform:translateY(-4px)}
.vh-card__media{
  position:relative;aspect-ratio:1/1.12;display:grid;place-items:center;
  background:radial-gradient(100% 80% at 50% 15%,#1b1b21 0%,#0b0b0e 62%);
  overflow:hidden;
}
.vh-card__media img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}
.vh-card__media .vh-glow{
  position:absolute;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,92,53,.28),transparent 68%);filter:blur(14px);
}
.vh-card__flag{
  position:absolute;top:12px;left:12px;z-index:2;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 8px;border-radius:4px;background:var(--vh-accent);color:#180a05;
}
.vh-card__body{padding:16px}
.vh-card__brand{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--vh-muted-2);margin-bottom:6px}
.vh-card h3{font-size:14.5px;font-weight:600;margin:0 0 4px;line-height:1.35}
.vh-card h3 a{color:var(--vh-text)}
.vh-card h3 a:hover{color:var(--vh-accent)}
.vh-card__meta{font-size:11.5px;color:var(--vh-muted-2);margin-bottom:10px}
.vh-card .price{font-size:15.5px;font-weight:700;color:var(--vh-text);margin:0 0 12px;display:block}
.vh-card .price del{font-size:12px;color:var(--vh-muted-2);font-weight:400;margin-right:6px}
.vh-card .price ins{text-decoration:none;background:none;color:var(--vh-text)}
.vh-card .button{
  height:34px;padding:0 14px;font-size:12px;border-radius:8px;
  background:var(--vh-surface-3);border:1px solid var(--vh-line-2);color:#e6e6ea;
}
.vh-card .button:hover{background:var(--vh-accent);border-color:var(--vh-accent);color:#180a05}

/* 技术带 */
.vh-band{background:#000;border-top:1px solid var(--vh-line);border-bottom:1px solid var(--vh-line);padding:92px 0}
.vh-band .vh-wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.vh-band h2{font-size:clamp(28px,3.4vw,42px);font-weight:800;letter-spacing:-.04em;line-height:1.06;margin:0 0 18px;color:var(--vh-text)}
.vh-band p{color:var(--vh-muted);font-size:14.5px;max-width:430px;margin:0 0 28px}
.vh-feat{display:flex;gap:16px;padding:18px 0;border-top:1px solid var(--vh-line)}
.vh-feat__n{font-size:11px;font-weight:700;color:var(--vh-accent);letter-spacing:.1em;padding-top:3px;min-width:22px}
.vh-feat h4{font-size:14px;font-weight:600;margin:0 0 4px;color:var(--vh-text)}
.vh-feat p{font-size:12.5px;color:var(--vh-muted-2);margin:0;max-width:none}

/* 评价 & 指南 */
.vh-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.vh-rev{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  padding:26px 24px;background:var(--vh-surface);
  display:flex;flex-direction:column;justify-content:space-between;
}
.vh-rev q{font-size:14.5px;line-height:1.65;color:#e2e2e6;display:block;margin:0 0 22px;quotes:none}
.vh-rev__who{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--vh-muted-2)}
.vh-rev__av{width:30px;height:30px;border-radius:50%;background:var(--vh-surface-3);
  border:1px solid var(--vh-line-2);display:grid;place-items:center;font-size:11px;font-weight:700;color:var(--vh-muted)}
.vh-stars{display:flex;gap:4px;margin-bottom:14px}
.vh-stars i{width:11px;height:11px;background:var(--vh-accent);display:block;
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}

.vh-guide{border:1px solid var(--vh-line);border-radius:var(--vh-radius);overflow:hidden;
  background:var(--vh-surface);display:block;transition:border-color .2s,transform .2s}
.vh-guide:hover{border-color:var(--vh-line-2);transform:translateY(-3px)}
.vh-guide__thumb{height:140px;background:radial-gradient(90% 90% at 30% 20%,#202028,#0c0c10);
  position:relative;overflow:hidden}
.vh-guide__thumb .num{position:absolute;right:16px;bottom:8px;font-size:42px;font-weight:800;
  color:rgba(255,255,255,.05);letter-spacing:-.05em}
.vh-guide__body{padding:20px}
.vh-guide__kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--vh-accent);margin-bottom:8px;font-weight:600}
.vh-guide h3{font-size:15px;font-weight:600;line-height:1.4;margin:0 0 8px;color:var(--vh-text)}
.vh-guide p{font-size:12.5px;color:var(--vh-muted-2);margin:0}

/* 订阅 */
.vh-news{border-top:1px solid var(--vh-line);background:var(--vh-surface);padding:60px 0}
.vh-news .vh-wrap{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.vh-news h2{font-size:26px;font-weight:800;letter-spacing:-.03em;margin:0 0 8px;color:var(--vh-text)}
.vh-news p{font-size:13.5px;color:var(--vh-muted-2);margin:0}

/* ============================================================
   9. WooCommerce 适配
   ============================================================ */
.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--vh-text);font-weight:700}
.woocommerce div.product .product_title{color:var(--vh-text)}
.woocommerce .star-rating span:before,
.woocommerce .star-rating:before{color:var(--vh-accent)}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  background:var(--vh-surface);border-top-color:var(--vh-accent);color:var(--vh-text);
  border-radius:8px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--vh-muted)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--vh-text)}
.woocommerce table.shop_attributes td,
.woocommerce table.shop_attributes th{border-color:var(--vh-line);color:var(--vh-text)}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  background:#0b0b0e;border:1px solid var(--vh-line-2);color:var(--vh-text);
  border-radius:8px;height:46px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{border-color:var(--vh-accent);outline:none}
.woocommerce .quantity input.qty{
  background:#0b0b0e;border:1px solid var(--vh-line-2);color:var(--vh-text);border-radius:8px;height:46px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{background:transparent}

/* ============================================================
   10. 响应式
   ============================================================ */
@media (max-width:1080px){
  .vh-grid-4,.vh-cats,.vh-grid-3{grid-template-columns:repeat(2,1fr)}
  .vh-trust{grid-template-columns:repeat(2,1fr)}
  .vh-trust__item:nth-child(2n){border-right:0}
  .vh-hero .vh-wrap,.vh-band .vh-wrap,.vh-news .vh-wrap{grid-template-columns:1fr}
  .vh-hero__visual{height:400px}
}
@media (max-width:680px){
  .vh-wrap{padding:0 18px}
  .vh-grid-4,.vh-cats,.vh-grid-3{grid-template-columns:1fr}
  .vh-trust{grid-template-columns:1fr}
  .vh-trust__item{border-right:0;border-bottom:1px solid var(--vh-line)}
  .vh-sec{padding:56px 0}
  .vh-hero__visual{height:360px}
  .vh-device{width:74px;height:262px}
  .vh-hero__visual .ring{width:280px;height:280px}
  .vh-hero__visual .ring:nth-of-type(2){width:350px;height:350px}
  .vh-sec__head{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   11. 商品详情页（woocommerce/content-single-product.php）
   ============================================================ */
.vh-pdp{padding:0}

.vh-pdp__grid{
  max-width:var(--vh-wrap);margin:0 auto;padding:20px 28px 64px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:start;
}
.vh-pdp__info{
  position:sticky;top:90px;
}

/* 画廊 */
.vh-pdp .woocommerce-product-gallery{
  width:100% !important;float:none !important;margin:0 !important;position:relative;
}
.vh-pdp .woocommerce-product-gallery__wrapper{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:radial-gradient(100% 80% at 50% 12%,#1d1d24 0%,#0a0a0d 62%);
  overflow:hidden;
}
.vh-pdp .woocommerce-product-gallery__image img{border-radius:0}
.vh-pdp .flex-control-thumbs{
  display:flex !important;gap:10px;margin-top:12px !important;padding:0;
}
.vh-pdp .flex-control-thumbs li{
  width:78px !important;float:none !important;margin:0 !important;
}
.vh-pdp .flex-control-thumbs img{
  border:1px solid var(--vh-line);border-radius:9px;opacity:.55;transition:opacity .2s,border-color .2s;
}
.vh-pdp .flex-control-thumbs img:hover,
.vh-pdp .flex-control-thumbs img.flex-active{
  opacity:1;border-color:var(--vh-accent);
}
.vh-pdp .onsale{
  background:var(--vh-accent);color:#180a05;border-radius:5px;
  font-size:11px;font-weight:700;letter-spacing:.06em;min-height:0;min-width:0;
  line-height:1;padding:7px 10px;top:14px;left:14px;
}

/* 标题与价格 */
.vh-pdp .product_title{
  font-size:clamp(28px,3.2vw,40px);font-weight:800;letter-spacing:-.04em;
  line-height:1.08;margin:0 0 12px;color:var(--vh-text);
}
.vh-pdp .woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin:0 0 20px}
.vh-pdp .woocommerce-review-link{font-size:12px;color:var(--vh-muted-2);border-bottom:1px solid var(--vh-line-2)}
.vh-pdp .woocommerce-review-link:hover{color:var(--vh-text)}
.vh-pdp .summary .price{
  display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  font-size:30px;font-weight:800;letter-spacing:-.03em;color:var(--vh-text);
  margin:0 0 6px;
}
.vh-pdp .summary .price del{font-size:15px;color:var(--vh-muted-2);font-weight:400;opacity:1}
.vh-pdp .summary .price ins{text-decoration:none;background:none}
.vh-pdp .woocommerce-product-details__short-description{
  font-size:14px;color:var(--vh-muted);margin:14px 0 18px;
}
.vh-pdp .woocommerce-product-details__short-description p{margin-bottom:8px}

/* 加购表单 */
.vh-pdp form.cart{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
  margin:20px 0 0;padding:0;
}
.vh-pdp .quantity{
  display:flex;align-items:center;border:1px solid var(--vh-line-2);
  border-radius:10px;height:54px;overflow:hidden;background:#0b0b0e;
}
.vh-pdp .quantity .qty{
  width:56px;text-align:center;border:0 !important;background:transparent !important;
  color:var(--vh-text);height:52px;font-size:14px;font-weight:600;
}
.vh-pdp form.cart .single_add_to_cart_button{
  flex:1;min-width:200px;height:54px;font-size:15px;
}
.vh-pdp .stock.in-stock{color:var(--vh-ok);font-size:12.5px;margin-bottom:10px}
.vh-pdp .stock.out-of-stock{color:var(--vh-accent);font-size:12.5px;margin-bottom:10px}

/* 变体选择器（配合 Variation Swatches 插件） */
.vh-pdp .variations{width:100%;border:0;margin:0 0 16px}
.vh-pdp .variations th,
.vh-pdp .variations td{
  border:0;padding:0 0 14px;text-align:left;background:transparent;
}
.vh-pdp .variations .label label{
  font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--vh-muted-2);font-weight:600;
}
.vh-pdp .variable-items-wrapper{display:flex;gap:9px;flex-wrap:wrap}
.vh-pdp .variable-item{
  width:34px;height:34px;border-radius:50%;
  border:2px solid transparent;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
  transition:transform .18s,border-color .18s;
}
.vh-pdp .variable-item:hover{transform:scale(1.06)}
.vh-pdp .variable-item.selected{border-color:var(--vh-accent);box-shadow:none}
.vh-pdp .variable-item.button-variable-item{
  width:auto;height:auto;border-radius:8px;padding:9px 15px;
  background:var(--vh-surface-3);color:var(--vh-text);
  font-size:12.5px;box-shadow:none;border:1px solid var(--vh-line-2);
}
.vh-pdp .variable-item.button-variable-item.selected{
  border-color:var(--vh-accent);color:var(--vh-accent);
}

/* 商品元信息 */
.vh-pdp .product_meta{
  font-size:12px;color:var(--vh-muted-2);
  border-top:1px solid var(--vh-line);padding-top:16px;margin-top:22px;
  display:flex;flex-direction:column;gap:5px;
}
.vh-pdp .product_meta a{color:var(--vh-muted)}
.vh-pdp .product_meta a:hover{color:var(--vh-accent)}

/* 技术叙事区（读商品长描述） */
.vh-pdp__story{
  background:#000;border-top:1px solid var(--vh-line);border-bottom:1px solid var(--vh-line);
  padding:76px 0;
}
.vh-pdp__story .vh-wrap{max-width:820px}
.vh-pdp__story h2{
  font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.035em;
  line-height:1.15;margin:0 0 14px;color:var(--vh-text);
}
.vh-pdp__story h2:not(:first-child){margin-top:52px}
.vh-pdp__story h3{
  font-size:20px;font-weight:700;letter-spacing:-.02em;
  margin:36px 0 10px;color:var(--vh-text);
}
.vh-pdp__story p{font-size:15px;line-height:1.8;color:var(--vh-muted);margin-bottom:14px}
.vh-pdp__story ul,
.vh-pdp__story ol{margin:0 0 16px 22px;color:var(--vh-muted);font-size:15px}
.vh-pdp__story li{margin-bottom:7px}
.vh-pdp__story img{border-radius:var(--vh-radius);margin:24px 0;width:100%}
.vh-pdp__story strong{color:var(--vh-text);font-weight:600}
.vh-pdp__story .wp-block-columns{gap:24px;margin:28px 0}
.vh-pdp__story .eyebrow,
.vh-pdp__story .vh-eyebrow{
  font-size:11px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--vh-accent);font-weight:600;margin-bottom:10px;
}

/* 规格表 */
.vh-specs-sec{max-width:var(--vh-wrap);margin:0 auto;padding:72px 28px 0}
.vh-specs-sec h2{
  font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.035em;
  margin:0 0 22px;color:var(--vh-text);
}
.vh-specs{width:100%;border-collapse:collapse}
.vh-specs th,
.vh-specs td{
  padding:14px 0;border-bottom:1px solid var(--vh-line);
  font-size:14px;vertical-align:top;background:transparent;
}
.vh-specs th{
  text-align:left;font-weight:400;color:var(--vh-muted-2);width:40%;
}
.vh-specs td{color:var(--vh-text)}
.vh-specs tr:last-child th,
.vh-specs tr:last-child td{border-bottom:0}

/* 评价 */
.vh-pdp__reviews{max-width:var(--vh-wrap);margin:0 auto;padding:72px 28px 0}
.vh-pdp__reviews #reviews h2,
.vh-pdp__reviews .woocommerce-Reviews-title{
  font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.035em;
  margin:0 0 24px;color:var(--vh-text);
}
.vh-pdp__reviews ol.commentlist{padding:0;margin:0;list-style:none}
.vh-pdp__reviews ol.commentlist li{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:22px;margin-bottom:14px;
}
.vh-pdp__reviews ol.commentlist li img.avatar{
  border-radius:50%;width:36px;position:static;float:left;margin-right:12px;
}
.vh-pdp__reviews .comment-text{margin:0 !important;border:0 !important;padding:0 !important}
.vh-pdp__reviews .comment-text p{color:var(--vh-muted);font-size:13.5px}
.vh-pdp__reviews .star-rating{float:none}
.vh-pdp__reviews #review_form_wrapper{margin-top:32px}
.vh-pdp__reviews .comment-form label{font-size:12px;color:var(--vh-muted-2)}

/* 关联商品 */
.vh-pdp .related.products,
.vh-pdp .upsells.products{
  max-width:var(--vh-wrap);margin:0 auto;padding:72px 28px 0;
}
.vh-pdp .related.products > h2,
.vh-pdp .upsells.products > h2{
  font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.035em;
  margin:0 0 24px;color:var(--vh-text);
}
.vh-pdp .related ul.products,
.vh-pdp .upsells ul.products{
  display:grid !important;grid-template-columns:repeat(4,1fr);
  gap:16px;margin:0 !important;
}
.vh-pdp .related ul.products li.product,
.vh-pdp .upsells ul.products li.product{
  width:100% !important;float:none !important;margin:0 !important;
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:0 0 16px;overflow:hidden;
  transition:border-color .2s,transform .2s;
}
.vh-pdp .related ul.products li.product:hover,
.vh-pdp .upsells ul.products li.product:hover{
  border-color:var(--vh-line-2);transform:translateY(-4px);
}
.vh-pdp .related li.product img,
.vh-pdp .upsells li.product img{border-radius:0;margin:0 0 12px}
.vh-pdp .related li.product .woocommerce-loop-product__title,
.vh-pdp .upsells li.product .woocommerce-loop-product__title{
  font-size:14px;font-weight:600;color:var(--vh-text);padding:0 16px;
}
.vh-pdp .related li.product .price,
.vh-pdp .upsells li.product .price{
  font-size:14px;color:var(--vh-text);padding:0 16px;display:block;margin:6px 0 10px;
}
.vh-pdp .related li.product .button,
.vh-pdp .upsells li.product .button{margin:0 16px;height:34px;font-size:12px}

@media (max-width:1080px){
  .vh-pdp__grid{grid-template-columns:1fr;gap:34px;padding-bottom:48px}
  .vh-pdp__info{position:static}
  .vh-pdp .related ul.products,
  .vh-pdp .upsells ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .vh-pdp__grid,.vh-specs-sec,.vh-pdp__reviews,.vh-pdp .related.products{padding-left:18px;padding-right:18px}
  .vh-pdp form.cart .single_add_to_cart_button{min-width:100%}
  .vh-pdp .related ul.products,
  .vh-pdp .upsells ul.products{grid-template-columns:1fr}
  .vh-pdp__story{padding:52px 0}
}

/* ============================================================
   12. 店铺页（分类 / 搜索 / 标签）
       作用域限定在 body 类上，避免影响商品页里的关联商品
   ============================================================ */
body.archive ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.search-results ul.products,
body.post-type-archive-product ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:0 0 8px !important;
}
body.archive ul.products li.vh-loop-item,
body.tax-product_cat ul.products li.vh-loop-item,
body.tax-product_tag ul.products li.vh-loop-item,
body.search-results ul.products li.vh-loop-item,
body.post-type-archive-product ul.products li.vh-loop-item{
  width:100% !important;float:none !important;margin:0 !important;
  padding:0 !important;border:0 !important;background:transparent !important;
  list-style:none;
}
body.archive ul.products li.vh-loop-item .vh-card,
body.tax-product_cat ul.products li.vh-loop-item .vh-card,
body.post-type-archive-product ul.products li.vh-loop-item .vh-card{height:100%}

/* 分类页标题 */
.woocommerce-products-header{padding:12px 0 4px}
.woocommerce-products-header__title.page-title{
  font-size:clamp(30px,4vw,46px);font-weight:800;letter-spacing:-.04em;
  line-height:1.05;margin:0;color:var(--vh-text);
}
.term-description{font-size:14px;color:var(--vh-muted);max-width:680px;margin-top:12px}

/* 工具条 */
.woocommerce-result-count{font-size:12.5px;color:var(--vh-muted-2)}
.woocommerce-ordering{position:relative}
.woocommerce-ordering select{
  background:#0b0b0e;border:1px solid var(--vh-line-2);color:var(--vh-text);
  border-radius:8px;height:42px;padding:0 34px 0 12px;font-size:13px;
  appearance:none;-webkit-appearance:none;
}
.woocommerce-ordering select:focus{border-color:var(--vh-accent);outline:none}

/* 分页 */
.woocommerce nav.woocommerce-pagination{margin:44px 0 0}
.woocommerce-pagination ul.page-numbers{
  display:flex;gap:8px;justify-content:center;border:0;margin:0;padding:0;
}
.woocommerce-pagination ul.page-numbers li{border:0;margin:0}
.woocommerce-pagination .page-numbers{
  display:grid;place-items:center;min-width:40px;height:40px;
  border-radius:9px;border:1px solid var(--vh-line);background:var(--vh-surface);
  color:var(--vh-muted);font-size:13px;transition:.18s;
}
.woocommerce-pagination .page-numbers:hover{border-color:var(--vh-line-2);color:var(--vh-text)}
.woocommerce-pagination .page-numbers.current{
  background:var(--vh-accent);border-color:var(--vh-accent);color:#180a05;font-weight:700;
}

/* ============================================================
   13. 购物车
   ============================================================ */
.woocommerce-cart .woocommerce{
  max-width:var(--vh-wrap);margin:0 auto;padding:0 28px 80px;
}
.woocommerce table.shop_table{
  border:1px solid var(--vh-line) !important;border-radius:var(--vh-radius);
  border-collapse:separate;border-spacing:0;overflow:hidden;background:var(--vh-surface);
}
.woocommerce table.shop_table th{
  background:#0c0c0f;color:var(--vh-muted-2);
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
  padding:14px 16px;border-bottom:1px solid var(--vh-line);
}
.woocommerce table.shop_table td{
  padding:16px;border-top:1px solid var(--vh-line);color:var(--vh-text);
}
.woocommerce table.shop_table td.product-name a{color:var(--vh-text);font-weight:600}
.woocommerce table.shop_table td.product-name a:hover{color:var(--vh-accent)}
.woocommerce table.shop_table td.product-thumbnail img{
  border-radius:8px;width:64px;border:1px solid var(--vh-line);
}
.woocommerce a.remove{
  color:var(--vh-muted) !important;background:var(--vh-surface-3) !important;
  border-radius:50%;width:24px;height:24px;line-height:22px;
}
.woocommerce a.remove:hover{background:var(--vh-accent) !important;color:#180a05 !important}

.woocommerce .coupon{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
  border:1px dashed var(--vh-line-2);border-radius:var(--vh-radius);
  padding:16px;background:var(--vh-surface);
}
.woocommerce .coupon .input-text{
  background:#0b0b0e;border:1px solid var(--vh-line-2);color:var(--vh-text);
  border-radius:8px;height:44px;padding:0 14px;min-width:190px;
}
.woocommerce .coupon .button{height:44px}

.woocommerce .cart_totals{
  border:1px solid var(--vh-line) !important;border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:22px !important;
}
.woocommerce .cart_totals h2{
  font-size:16px;font-weight:700;color:var(--vh-text);
  margin:0 0 14px;letter-spacing:-.01em;
}
.woocommerce .cart_totals table.shop_table{border:0 !important;border-radius:0;background:transparent}
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td{
  background:transparent;border-top:1px solid var(--vh-line);
  border-bottom:0;padding:12px 0;font-size:13.5px;
}
.woocommerce .cart_totals table.shop_table th{
  text-transform:none;letter-spacing:0;font-size:13.5px;color:var(--vh-muted-2);
}
.woocommerce .cart_totals .order-total td,
.woocommerce .cart_totals .order-total th{font-size:17px;font-weight:700;color:var(--vh-text)}
.woocommerce .wc-proceed-to-checkout a.checkout-button{
  height:54px;font-size:15px;border-radius:10px;
}

/* 空购物车 */
.woocommerce-cart .cart-empty{
  font-size:16px;color:var(--vh-muted);text-align:center;
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:52px 24px;margin-bottom:18px;
}
.woocommerce-cart .return-to-shop{text-align:center}

/* ============================================================
   14. 结账
   ============================================================ */
.woocommerce-checkout .woocommerce{
  max-width:var(--vh-wrap);margin:0 auto;padding:0 28px 80px;
}
.woocommerce-checkout h3{
  font-size:16px;font-weight:700;letter-spacing:-.01em;
  color:var(--vh-text);margin:0 0 16px;
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:22px;
}
.woocommerce-checkout #order_review{
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);padding:22px;
}
.woocommerce-checkout #order_review table.shop_table{border:0 !important;border-radius:0}
.woocommerce-checkout #order_review table.shop_table th{
  background:transparent;padding:10px 0;border-bottom:1px solid var(--vh-line);
}
.woocommerce-checkout #order_review table.shop_table td{padding:10px 0;border-top:0}
.woocommerce-checkout #order_review table.shop_table tfoot td,
.woocommerce-checkout #order_review table.shop_table tfoot th{
  border-top:1px solid var(--vh-line);
}
.woocommerce-checkout #payment{
  background:#0c0c0f !important;border:1px solid var(--vh-line) !important;
  border-radius:var(--vh-radius) !important;
}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--vh-line)}
.woocommerce-checkout #payment div.payment_box{
  background:var(--vh-surface-2) !important;color:var(--vh-muted);font-size:13px;
}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment #place_order{
  height:54px;font-size:15px;border-radius:10px;width:100%;margin-top:12px;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{
  font-size:12px;color:var(--vh-muted-2);margin-bottom:14px;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a{color:var(--vh-muted);text-decoration:underline}

/* 表单字段统一 */
.woocommerce form .form-row label{font-size:12.5px;color:var(--vh-muted-2)}
.woocommerce form .form-row .required{color:var(--vh-accent)}
.woocommerce form .form-row select{
  height:46px;background:#0b0b0e;border:1px solid var(--vh-line-2);
  color:var(--vh-text);border-radius:8px;padding:0 12px;
}

@media (max-width:1080px){
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.search-results ul.products,
  body.post-type-archive-product ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce{padding-left:18px;padding-right:18px}
  body.archive ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products,
  body.search-results ul.products,
  body.post-type-archive-product ul.products{grid-template-columns:1fr}
  .woocommerce table.shop_table td{padding:12px 10px}
}

/* ============================================================
   15. 多语言切换器 + 首次访问语言提示
   ============================================================ */
.vh-lang{position:relative;display:inline-flex;align-items:center}
.vh-lang__btn{
  display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 8px;
  border-radius:6px;color:var(--vh-muted);font-size:11.5px;font-weight:600;
  letter-spacing:.04em;line-height:1;background:none;border:0;cursor:pointer;
  transition:background .18s,color .18s;
}
.vh-lang__btn:hover{background:rgba(255,255,255,.07);color:var(--vh-text)}
.vh-lang__chev{transition:transform .18s}
.vh-lang.is-open .vh-lang__chev{transform:rotate(180deg)}
.vh-lang__menu{
  position:absolute;top:calc(100% + 10px);right:0;min-width:158px;
  background:var(--vh-surface);border:1px solid var(--vh-line);
  border-radius:10px;padding:6px;margin:0;display:none;z-index:99;
  box-shadow:0 24px 48px -14px rgba(0,0,0,.85);list-style:none;
}
.vh-lang.is-open .vh-lang__menu{display:block}
.vh-lang__menu li{margin:0;list-style:none}
.vh-lang__menu a{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:8px 10px;border-radius:6px;font-size:12.5px;
  color:var(--vh-muted);text-decoration:none;transition:background .15s,color .15s;
}
.vh-lang__menu a:hover{background:var(--vh-surface-2);color:var(--vh-text)}
.vh-lang__menu a.is-current{color:var(--vh-accent)}
.vh-lang__menu a span{font-size:9.5px;letter-spacing:.12em;opacity:.55}

.vh-lang-hint{
  position:fixed;left:50%;bottom:24px;transform:translateX(-50%);
  z-index:120;display:flex;align-items:center;gap:14px;
  padding:12px 14px 12px 18px;
  background:var(--vh-surface);border:1px solid var(--vh-line-2);
  border-radius:12px;box-shadow:0 24px 60px -18px rgba(0,0,0,.9);
  font-size:12.5px;color:var(--vh-muted);
  max-width:calc(100vw - 32px);
}
.vh-lang-hint[hidden]{display:none}
.vh-lang-hint__go{
  display:inline-flex;align-items:center;height:32px;padding:0 14px;
  border-radius:7px;background:var(--vh-accent);color:#180a05;
  font-size:12px;font-weight:700;letter-spacing:.04em;text-decoration:none;
  white-space:nowrap;
}
.vh-lang-hint__go:hover{background:#ff7350;color:#180a05}
.vh-lang-hint__close{
  display:grid;place-items:center;width:26px;height:26px;border-radius:6px;
  color:var(--vh-muted-2);font-size:17px;line-height:1;
}
.vh-lang-hint__close:hover{background:var(--vh-surface-2);color:var(--vh-text)}

@media (max-width:680px){
  .vh-lang-hint{
    left:16px;right:16px;bottom:16px;transform:none;
    flex-wrap:wrap;justify-content:space-between;
  }
  .vh-lang-hint__text{flex:1 1 100%;margin-bottom:8px}
}

/* ============================================================
   16. 博客列表 / 文章页 / 404
   ============================================================ */
.vh-blog{padding:52px 0 90px}
.vh-blog__head{max-width:720px;margin-bottom:42px}
.vh-blog__head h1{
  font-size:clamp(34px,4.6vw,54px);font-weight:800;letter-spacing:-.045em;
  line-height:1.02;margin:0 0 14px;color:var(--vh-text);
}
.vh-blog__head p{font-size:15px;color:var(--vh-muted);max-width:560px;margin:0}

.vh-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

.vh-pcard{
  display:flex;flex-direction:column;
  border:1px solid var(--vh-line);border-radius:var(--vh-radius);
  background:var(--vh-surface);overflow:hidden;
  transition:border-color .2s,transform .2s;
}
.vh-pcard:hover{border-color:var(--vh-line-2);transform:translateY(-4px)}
.vh-pcard__thumb{
  position:relative;aspect-ratio:16/10;overflow:hidden;
  background:radial-gradient(90% 90% at 30% 20%,#202028,#0c0c10);
}
.vh-pcard__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vh-pcard__cat{
  position:absolute;left:12px;top:12px;z-index:2;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 8px;border-radius:4px;
  background:rgba(8,8,10,.72);color:var(--vh-accent);
  backdrop-filter:blur(6px);
}
.vh-pcard__body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.vh-pcard h3{font-size:15.5px;font-weight:600;line-height:1.4;margin:0;color:var(--vh-text)}
.vh-pcard p{font-size:13px;color:var(--vh-muted-2);margin:0;line-height:1.6}
.vh-pcard__meta{
  margin-top:auto;padding-top:12px;
  font-size:11px;color:var(--vh-muted-2);letter-spacing:.02em;
}

.vh-pagination{margin-top:46px}
.vh-pagination .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.vh-pagination .page-numbers{
  display:grid;place-items:center;min-width:40px;height:40px;
  border-radius:9px;border:1px solid var(--vh-line);background:var(--vh-surface);
  color:var(--vh-muted);font-size:13px;text-decoration:none;
  transition:border-color .18s,color .18s;
}
.vh-pagination .page-numbers:hover{border-color:var(--vh-line-2);color:var(--vh-text)}
.vh-pagination .page-numbers.current{
  background:var(--vh-accent);border-color:var(--vh-accent);color:#180a05;font-weight:700;
}
.vh-pagination .page-numbers.dots{border:0;background:none}

/* 文章页 */
.vh-post{padding:40px 0 80px}
.vh-post__head{max-width:760px;margin:0 auto 32px;text-align:center}
.vh-post__cat{
  display:inline-block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--vh-accent);font-weight:700;margin-bottom:14px;text-decoration:none;
}
.vh-post__head h1{
  font-size:clamp(30px,4vw,46px);font-weight:800;letter-spacing:-.04em;
  line-height:1.12;margin:0 0 18px;color:var(--vh-text);
}
.vh-post__meta{
  display:flex;gap:10px;justify-content:center;flex-wrap:wrap;
  font-size:12.5px;color:var(--vh-muted-2);
}
.vh-post__thumb{max-width:960px;margin:0 auto 44px;padding:0 28px}
.vh-post__thumb img{
  width:100%;border-radius:var(--vh-radius);border:1px solid var(--vh-line);display:block;
}
.vh-post__body{max-width:720px;margin:0 auto;padding:0 28px}
.vh-post__body p{font-size:16px;line-height:1.85;color:#d6d6dc;margin-bottom:20px}
.vh-post__body h2{
  font-size:clamp(22px,2.4vw,28px);font-weight:800;letter-spacing:-.03em;
  line-height:1.2;margin:46px 0 14px;color:var(--vh-text);
}
.vh-post__body h3{font-size:19px;font-weight:700;margin:34px 0 10px;color:var(--vh-text)}
.vh-post__body h4{font-size:16px;font-weight:600;margin:26px 0 8px;color:var(--vh-text)}
.vh-post__body ul,
.vh-post__body ol{margin:0 0 20px 22px;color:#d6d6dc;font-size:16px}
.vh-post__body li{margin-bottom:8px;line-height:1.7}
.vh-post__body img{border-radius:12px;margin:24px 0;height:auto}
.vh-post__body a{color:var(--vh-accent);border-bottom:1px solid rgba(255,92,53,.35);text-decoration:none}
.vh-post__body a:hover{border-bottom-color:var(--vh-accent)}
.vh-post__body blockquote{
  border-left:3px solid var(--vh-accent);margin:28px 0;padding:4px 0 4px 20px;
  color:var(--vh-muted);font-size:16px;
}
.vh-post__body code{background:var(--vh-surface-3);padding:2px 6px;border-radius:4px;font-size:14px}
.vh-post__body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
.vh-post__body th,
.vh-post__body td{border-bottom:1px solid var(--vh-line);padding:11px 0;text-align:left;color:#d6d6dc}
.vh-post__body th{
  font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--vh-muted-2);font-weight:600;
}
.vh-post__body hr{border:0;border-top:1px solid var(--vh-line);margin:34px 0}

.vh-post__cta{max-width:720px;margin:52px auto 0;padding:0 28px}
.vh-post__cta-inner{
  border:1px solid var(--vh-line);background:var(--vh-surface);
  border-radius:var(--vh-radius);padding:26px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
}
.vh-post__cta h3{font-size:17px;font-weight:700;margin:0;color:var(--vh-text)}
.vh-post__cta p{font-size:13px;color:var(--vh-muted-2);margin:5px 0 0}

.vh-post__related{max-width:var(--vh-wrap);margin:72px auto 0;padding:0 28px}
.vh-post__related h2{
  font-size:17px;font-weight:700;margin:0 0 20px;color:var(--vh-text);
  letter-spacing:-.01em;
}

/* 404 */
.vh-404{min-height:58vh;display:grid;place-items:center;padding:70px 28px;text-align:center}
.vh-404__code{
  font-size:clamp(72px,14vw,140px);font-weight:800;letter-spacing:-.06em;
  line-height:1;margin-bottom:6px;
  color:transparent;-webkit-text-stroke:1px var(--vh-line-2);
}
.vh-404 h1{
  font-size:clamp(24px,3vw,34px);font-weight:800;letter-spacing:-.03em;
  margin:0 0 12px;color:var(--vh-text);
}
.vh-404 p{color:var(--vh-muted);font-size:14px;max-width:430px;margin:0 auto 28px;line-height:1.7}
.vh-404__form{display:flex;gap:10px;max-width:420px;margin:0 auto 26px}
.vh-404__form input{
  flex:1;height:48px;border-radius:9px;border:1px solid var(--vh-line-2);
  background:#0b0b0e;color:var(--vh-text);padding:0 14px;font-size:14px;outline:none;
}
.vh-404__form input:focus{border-color:var(--vh-accent)}
.vh-404__form .vh-btn{height:48px}
.vh-404__links{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;font-size:13px}
.vh-404__links a{
  color:var(--vh-muted);border-bottom:1px solid var(--vh-line-2);
  padding-bottom:2px;text-decoration:none;
}
.vh-404__links a:hover{color:var(--vh-accent);border-color:var(--vh-accent)}

@media (max-width:1080px){
  .vh-post-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .vh-blog{padding:36px 0 64px}
  .vh-post-grid{grid-template-columns:1fr}
  .vh-post__head{text-align:left}
  .vh-post__meta{justify-content:flex-start}
  .vh-post__body p,
  .vh-post__body ul,
  .vh-post__body ol{font-size:15.5px}
  .vh-404__form{flex-direction:column}
  .vh-404__form .vh-btn{width:100%}
}


/* ============================================================
   99. 已登录用户解除门禁滚动锁
   未通过 18+ 门禁时 body 会带 .vh-locked 锁定滚动。
   管理员/编辑不显示遮罩，所以必须同步解除锁定，
   否则会出现“锁死但找不到解锁入口”的页面。
   ============================================================ */
body.logged-in.vh-locked{overflow:auto}

/* ============================================================
   100. Blocksy 页头深色化
   Blocksy 页头由它自己的变量控制，子主题不会自动接管，
   所以用 ID 选择器 + !important 强制覆盖。
   ============================================================ */
#header.ct-header{background:#08080a!important;border-bottom:1px solid rgba(255,255,255,.07);box-shadow:none}
#header.ct-header .site-title a,
#header.ct-header .ct-menu-link,
#header.ct-header [data-id=search] a,
#header.ct-header [data-id=cart] a,
#header.ct-header .ct-header-trigger{color:#f4f4f5!important}
#header.ct-header .ct-menu-link:hover,
#header.ct-header .current-menu-item>.ct-menu-link{color:#ff5c35!important}
#header.ct-header svg{fill:currentColor}
[data-sticky] #header.ct-header{background:#08080a!important}

/* Blocksy 的白底实际在 row 容器上，不在 header 本身 */
#header.ct-header [data-row],
#header.ct-header [data-device],
#header.ct-header .ct-container{background-color:#08080a!important;background-image:none!important}
#header.ct-header [data-row]{border-bottom:1px solid rgba(255,255,255,.07)}