/* ============================================================
   Vape Supply — home.css  (design v5: black / gold / off-white)
   Mobile-first. No frameworks, no webfonts, square corners.
   ============================================================ */

:root {
  --c-bg-dark:    #0A0A0A;
  --c-bg-darker:  #050505;
  --c-bg-light:   #F7F5F2;
  --c-gold:       #B8935A;
  --c-gold-soft:  #FDFCF9;
  --c-white:      #FFFFFF;
  --c-grey:       #A0A0A0;
  --c-red:        #C0392B;
  --c-line-dark:  rgba(255, 255, 255, 0.10);
  --c-line-light: #E5E2DC;
  --font-serif:   "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-sans:    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container:    1280px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg-dark);
  color: var(--c-white);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.u-vh {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--sp-8); }
.section--light { background: var(--c-bg-light); color: var(--c-bg-dark); }
.section--dark  { background: var(--c-bg-dark); color: var(--c-white); }

.section__head {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.section__title {
  font-family: var(--font-serif);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.section__title--gold { color: var(--c-gold); text-align: center; }
.section__title--gold + .category__chips { margin-top: var(--sp-6); }
.section__link {
  color: var(--c-gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.section__title--gold { width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  background: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold {
  background: var(--c-gold);
  color: var(--c-bg-dark);
  border-color: var(--c-gold);
}
.btn--gold:hover { background: #C9A469; border-color: #C9A469; }
.btn--outline-gold {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn--outline-gold:hover { background: var(--c-gold); color: var(--c-bg-dark); }
.btn--black {
  background: var(--c-bg-dark);
  color: var(--c-white);
  border-color: var(--c-bg-dark);
}
.btn--black:hover { background: #222; }
.btn--sm { padding: 10px 18px; font-size: 11px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- badges ---------- */
.badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  border-radius: 0;
}
.badge--new   { background: var(--c-white); color: var(--c-bg-dark); border: 1px solid var(--c-bg-dark); }
.badge--hot   { background: var(--c-red); color: var(--c-white); }
.badge--sale  { background: var(--c-gold); color: var(--c-bg-dark); }
.badge--discount { background: var(--c-gold-soft); color: var(--c-gold); border: 1px solid var(--c-gold); }

/* ============================================================
   0. Age gate
   ============================================================ */
.agegate {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  padding: var(--sp-4);
}
.agegate[hidden] { display: none; }
.agegate__card {
  background: var(--c-bg-dark);
  border: 1px solid var(--c-gold);
  max-width: 400px; width: 100%;
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
}
.agegate__eyebrow {
  color: var(--c-gold);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  margin-bottom: var(--sp-3);
}
.agegate__title {
  font-family: var(--font-serif);
  font-size: 26px; text-transform: none;
  letter-spacing: 0.02em; margin-bottom: var(--sp-3);
}
.agegate__text { color: var(--c-grey); font-size: 14px; margin-bottom: var(--sp-5); }
.agegate__actions { display: grid; gap: var(--sp-3); }

/* ============================================================
   1. Announcement bar
   ============================================================ */
.announce { background: var(--c-gold); }
.announce__text {
  color: var(--c-bg-dark);
  text-align: center;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  padding: var(--sp-3) var(--sp-4);
}

/* ============================================================
   2. Nav
   ============================================================ */
.nav {
  background: var(--c-bg-dark);
  border-bottom: 1px solid var(--c-line-dark);
  position: sticky; top: 0; z-index: 100;
}
.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__burger {
  display: inline-flex; flex-direction: column;
  gap: 5px; padding: var(--sp-2);
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--c-white);
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-white);
}
.nav__links { display: none; }
.nav__icons { display: flex; gap: var(--sp-4); }
.nav__icon { color: var(--c-white); display: inline-flex; padding: var(--sp-2); }

/* Mobile drawer (:target) */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--c-bg-dark);
  padding: var(--sp-5) var(--sp-4);
  visibility: hidden; opacity: 0;
  transition: opacity .2s;
}
.drawer:target { visibility: visible; opacity: 1; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--c-line-dark);
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-4);
}
.drawer__title {
  font-family: var(--font-serif);
  letter-spacing: 0.2em; font-size: 16px;
}
.drawer__close { color: var(--c-gold); font-size: 20px; padding: var(--sp-2); }
.drawer__links { display: grid; gap: var(--sp-4); }
.drawer__links a {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 14px; color: var(--c-white);
  border-bottom: 1px solid var(--c-line-dark);
  padding-bottom: var(--sp-3);
}

/* ============================================================
   3. Hero
   ============================================================ */
.hero {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/wp-content/uploads/2026/09/36217-13-1536x1536.png") center / cover no-repeat,
    #1a1a1a;
  text-align: center;
}
.hero__inner { padding-block: var(--sp-8); }
.hero__eyebrow {
  color: var(--c-gold);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  margin-bottom: var(--sp-4);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 38px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}
.hero__sub { color: var(--c-grey); margin-bottom: var(--sp-6); font-size: 15px; }

/* ============================================================
   4. Value bar
   ============================================================ */
.valuebar {
  background: var(--c-bg-dark);
  border-top: 1px solid var(--c-line-dark);
  border-bottom: 1px solid var(--c-line-dark);
}
.valuebar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.valuebar__item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-2);
  color: var(--c-white);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  justify-content: center;
}
.valuebar__ico { width: 22px; height: 22px; color: var(--c-gold); flex: none; }

/* ============================================================
   5+7. Product rows / product card
   ============================================================ */
.product-row {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-5);
}
.product-row--3 { grid-template-columns: 1fr; }
.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  padding: var(--sp-3);
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.product-card__media {
  position: relative;
  display: block;
  background: var(--c-bg-light);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__brand {
  display: flex; justify-content: space-between;
  margin-top: var(--sp-3);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-grey);
}
.product-card__stars { color: var(--c-gold); }
.product-card__title {
  font-family: var(--font-serif);
  font-size: 18px; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--sp-1);
}
.product-card__sub { font-size: 12px; color: var(--c-grey); }
.product-card__price { margin-block: var(--sp-3); display: flex; gap: var(--sp-2); align-items: baseline; }
.product-card__meta { align-items: center; color: var(--c-grey); display: flex; font-size: 11px; gap: var(--sp-3); margin-top: calc(var(--sp-3) * -1); text-transform: uppercase; letter-spacing: .08em; }
.product-card__stock { align-items: center; display: inline-flex; gap: 5px; font-weight: 700; }
.product-card__stock::before { background: currentColor; border-radius: 50%; content: ''; height: 6px; width: 6px; }
.product-card__stock--in { color: #356c51; }
.product-card__stock--out { color: #a34b37; }
.price { font-weight: 700; font-size: 18px; color: var(--c-gold); }
.price--old { color: var(--c-grey); font-size: 13px; }
.product-card__actions {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
}
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-line-light);
}
.qty button {
  width: 30px; height: 32px;
  background: none; border: none;
  font-size: 15px; cursor: pointer; color: var(--c-bg-dark);
}
.qty span { min-width: 24px; text-align: center; font-size: 13px; }

/* ============================================================
   6. Category chips
   ============================================================ */
.category__chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-6);
  justify-content: center;
}
.chip {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  transition: background-color .2s, color .2s;
}
.chip:hover { background: var(--c-gold); color: var(--c-bg-dark); }

/* ============================================================
   8. Reviews
   ============================================================ */
.reviews__grid { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.reviews__card {
  border: 1px solid var(--c-line-dark);
  padding: var(--sp-5);
}
.reviews__stars { color: var(--c-gold); letter-spacing: 4px; margin-bottom: var(--sp-3); }
.reviews__card blockquote { font-size: 15px; color: #DDD; }
.reviews__card figcaption {
  margin-top: var(--sp-3);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--c-grey);
}

/* ============================================================
   9. Subscribe bar
   ============================================================ */
.subscribe {
  background: var(--c-bg-dark);
  border-top: 1px solid var(--c-line-dark);
  border-bottom: 1px solid var(--c-line-dark);
}
.subscribe__inner {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding-block: var(--sp-6);
  text-align: center;
}
.subscribe__text { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
.subscribe__form {
  display: flex; width: 100%; max-width: 480px; margin-inline: auto;
}
.subscribe__form input {
  flex: 1; min-width: 0;
  border: 1px solid var(--c-line-dark);
  border-right: none;
  background: #141414; color: var(--c-white);
  padding: 12px 16px;
  font-size: 13px;
}
.subscribe__form input::placeholder { color: var(--c-grey); }

/* ============================================================
   10. Big CTA
   ============================================================ */
.bigcta {
  background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url("/wp-content/uploads/2026/09/36217-13-1536x1536.png") center / cover no-repeat,
    #1a1a1a;
  text-align: center;
}
.bigcta__inner { padding-block: var(--sp-8); }
.bigcta__title {
  font-family: var(--font-serif);
  font-size: 40px; letter-spacing: 0.08em;
  color: var(--c-gold); text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.bigcta__sub { color: var(--c-grey); margin-bottom: var(--sp-6); }

/* ============================================================
   11. FAQ
   ============================================================ */
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  border-bottom: none;
}
.faq__item:last-child { border-bottom: 1px solid var(--c-line-light); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 18px; color: var(--c-gold); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 var(--sp-5) var(--sp-4); font-size: 14px; color: #555; }

/* ============================================================
   12. Why us
   ============================================================ */
.whyus__grid { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.whyus__item {
  border: 1px solid var(--c-line-dark);
  padding: var(--sp-5);
}
.whyus__num {
  font-family: var(--font-serif);
  font-size: 30px; color: var(--c-gold);
  display: block; margin-bottom: var(--sp-3);
}
.whyus__item h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.whyus__item p { font-size: 13px; color: var(--c-grey); }

/* ============================================================
   13. Footer
   ============================================================ */
.footer {
  background: var(--c-bg-darker);
  border-top: 1px solid var(--c-gold);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer__grid { display: grid; gap: var(--sp-6); }
.footer__logo {
  font-family: var(--font-serif);
  font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase;
}
.footer__about { color: var(--c-grey); font-size: 13px; margin-top: var(--sp-2); max-width: 300px; }
.footer__col { display: grid; gap: var(--sp-2); align-content: start; }
.footer__col h4 {
  font-size: 11px; color: var(--c-gold);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: var(--sp-2);
}
.footer__col a { font-size: 13px; color: var(--c-grey); }
.footer__col a:hover { color: var(--c-white); }
.footer__bottom {
  display: flex; flex-direction: column; gap: var(--sp-2);
  border-top: 1px solid var(--c-line-dark);
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  color: var(--c-grey); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer__pay span {
  border: 1px solid var(--c-gold); color: var(--c-gold);
  padding: 1px 6px; margin-right: var(--sp-2);
}

/* ============================================================
   14. Mobile bottom bar
   ============================================================ */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex;
  background: var(--c-bg-dark);
  border-top: 1px solid var(--c-line-dark);
}
.bottombar__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--sp-2) 0 calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
  color: var(--c-grey);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
}
.bottombar__item svg { width: 20px; height: 20px; }
.bottombar__item--active { color: var(--c-gold); }

/* footer not hidden behind bottom bar on mobile */
.footer { padding-bottom: 90px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 768px) {
  .valuebar__grid { grid-template-columns: repeat(4, 1fr); }
  .product-row--3 { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .whyus__grid { grid-template-columns: repeat(4, 1fr); }
  .subscribe__inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .subscribe__form { margin-inline: 0; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .bottombar { display: none; }
  .footer { padding-bottom: var(--sp-5); }
  .section__title { font-size: 32px; }
  .hero__title { font-size: 52px; }
  .faq__item summary { padding: var(--sp-5); }
  .faq__item p { padding: 0 var(--sp-5) var(--sp-5); }
}

@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .nav__inner { height: 72px; }
  .nav__logo { font-size: 24px; }
  .nav__links { display: flex; gap: var(--sp-6); }
  .nav__link {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--c-grey);
    padding: var(--sp-2) 0;
  }
  .nav__link:hover { color: var(--c-white); }
  .hero__inner { padding-block: 120px; }
  .hero__title { font-size: 60px; }
  .bigcta__title { font-size: 56px; }
  .product-row--2 { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: var(--sp-5); }
}

/* ============================================================
   WP-specific additions（template-home-v4.php 专用）
   ============================================================ */

/* twentytwentyfive 是块主题：get_header()/get_footer() 会输出主题自带
   header/footer 与全宽包装。本模板自带完整页头页脚，隐藏主题的部分。 */
body .wp-site-blocks > header,
body .wp-site-blocks > footer.wp-block-template-part,
footer.wp-block-template-part:has(> .wp-block-navigation),
header.wp-block-template-part {
  display: none !important;
}
/* 块主题包装容器去除多余 padding，交回 .container 控制 */
.wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}
main.vso-home {
  display: block;
  background: var(--c-bg-dark);
}

/* wp_nav_menu(items_wrap=%3$s) 输出的是裸 <a>，没有 .nav__link class，
   这里按结构选择器补齐同样式；drawer 同理。 */
.nav__links a:not(.btn) {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-grey);
  padding: var(--sp-2) 0;
}
.nav__links a:not(.btn):hover { color: var(--c-white); }
.drawer__links a { display: block; }

/* 需求片段里按钮类名是 .btn--primary-gold —— 与 .btn--gold 等价 */
.btn--primary-gold {
  background: var(--c-gold);
  color: var(--c-bg-dark);
  border: 1px solid var(--c-gold);
  border-radius: 0;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-block;
}
.btn--primary-gold:hover { background: #C9A469; }

/* 动态分类 chip 内可能带缩略图 */
.chip { display: inline-flex; align-items: center; gap: var(--sp-2); }
.chip img { width: 22px; height: 22px; object-fit: cover; display: inline-block; }

/* WooCommerce 价格 HTML（del/ins）对齐卡片价格样式 */
.product-card__price del { color: var(--c-grey); font-size: 13px; margin-right: var(--sp-2); }
.product-card__price ins { text-decoration: none; font-weight: 700; font-size: 18px; color: var(--c-gold); }
.product-card__price .woocommerce-Price-currencySymbol { font-size: 0.8em; }

/* 占位卡（无产品数据降级）：整体降不透明度提示未导入 */
.product-card--placeholder { opacity: 0.7; }

/* ============================================================
   v4.1 交互增强（quickcat / hero--giant / shopfab / sticky-cart）
   全部为追加，不改上面任何既有规则。
   ============================================================ */

/* ---------- 1. 横滑商品区（仅 ≤767px；桌面保持网格） ---------- */
@media (max-width: 767px) {
  .product-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--sp-4);
    width: 100%;
    /* 关键：paint+layout 隔离，卡片的宽内容绝不外溢到文档级，
       否则部分手机内核（微信 XWeb/X5）会撑大布局视口导致可向右拖出黑边 */
    contain: layout paint;
    /* 左右渐变提示可滑 */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    scrollbar-width: none;
  }
  .product-row::-webkit-scrollbar { display: none; }
  .product-row > .product-card {
    flex: 0 0 70vw;
    max-width: 70vw;
    scroll-snap-align: start;
  }
}

/* ---------- 2. 超大 hero（hero--giant） ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero--giant { min-height: 70vh; }
  .hero--giant .hero__inner {
    min-height: 70vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
  }
}
@media (min-width: 1024px) {
  .hero--giant { min-height: min(80vh, 900px); }
  .hero--giant .hero__inner {
    min-height: min(80vh, 900px);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
  }
  .hero--giant .hero__title { font-size: 64px; }
  .hero--giant .hero__sub { font-size: 17px; max-width: 560px; }
  .hero--giant .btn--gold { padding: 18px 44px; font-size: 13px; }
}

/* ---------- 3a. 购物车角标（导航 + 底栏共用） ---------- */
.sticky-cart__badge {
  position: absolute; top: -4px; right: -8px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  background: var(--c-red);
  color: #fff;
  border-radius: 999px; /* 角标例外：圆形可读性优先 */
  font-size: 10px; font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.sticky-cart__badge[data-count="0"] { display: none; }
.nav__cart { position: relative; }

/* ---------- 3b. 底栏中间金色 SHOP 大按钮（shopfab） ---------- */
.bottombar { align-items: flex-end; }
.bottombar__item { flex: 1; }
.shopfab {
  flex: 1.2;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 2px;
  padding: var(--sp-2) 0 calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
  margin: 0 var(--sp-2);
  background: var(--c-gold);
  color: var(--c-bg-dark);
  font-weight: 700;
  border-radius: 12px 12px 0 0;
}
.shopfab__icon { font-size: 20px; line-height: 1; }
.shopfab__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.shopfab .sticky-cart__badge { top: 2px; right: 14px; }

/* ---------- 4. 分类快跳 sticky 条（quickcat，仅移动端） ---------- */
.quickcat {
  position: sticky; top: 0; z-index: 95;
  background: var(--c-bg-dark);
  border-bottom: 1px solid var(--c-line-dark);
  display: none;
}
.quickcat__track {
  display: flex; gap: var(--sp-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-3) var(--sp-4);
  scrollbar-width: none;
  max-width: var(--container);
  margin-inline: auto;
}
.quickcat__track::-webkit-scrollbar { display: none; }
.quickcat__chip {
  flex: none;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--c-grey);
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.quickcat__chip:hover { color: var(--c-white); }
.quickcat__chip--active,
.quickcat__chip.is-active {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}
@media (max-width: 767px) {
  .quickcat { display: block; }
}

/* ---------- 锚点跳转不被 sticky nav 遮挡 ---------- */
#new-arrivals, #on-sale, #shop-by-category, #reviews, #why-us {
  scroll-margin-top: 96px;
}
@media (min-width: 1024px) {
  #new-arrivals, #on-sale, #shop-by-category, #reviews, #why-us {
    scroll-margin-top: 72px;
  }
}

/* 平滑滚动（渐进增强，Safari 老版自动忽略） */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 修复：scroll-snap 容器在真机上把布局视口撑宽（右侧大片留白 + 可横向拖动） ----------
   横滑交互全部发生在 .product-row 自身的 overflow 容器内，文档级横向滚动毫无意义，直接锁死。 */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
/* 双保险：模板主容器也裁掉一切横向溢出（clip 不产生滚动容器，比 hidden 更干净） */
main.vso-home,
footer.footer,
header.site-head {
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip; /* 支持 clip 的新内核用 clip（不产生滚动容器） */
}

/* ---------- AJAX 加购反馈 ---------- */
.vso-add.is-busy { opacity: .6; pointer-events: none; }
.vso-add.is-added { background: var(--c-gold) !important; border-color: var(--c-gold) !important; color: var(--c-bg-dark) !important; }
@keyframes vsoBadgePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.sticky-cart__badge.vso-pulse { animation: vsoBadgePulse .5s ease; display: inline-block; }

/* ---------- 12b. Shopping Guides ---------- */
.guides__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.guides__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  transition: border-color .15s ease;
}
.guides__card:hover { border-color: var(--c-gold); }
.guides__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.guides__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-bg-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guides__excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: #55524D;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guides__more {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: 12px;
  color: var(--c-grey);
}
.guides__card:hover .guides__more { color: var(--c-gold); }
@media (min-width: 768px) {
  .guides__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}

/* v4.8 restraint pass: retain the existing palette, reduce the theatrical type. */
.nav__logo,
.section__title,
.hero__title,
.bigcta__title,
.guides__title,
.footer__logo,
.agegate__title,
.drawer__title {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  text-transform: none;
}
.nav__logo { font-size: 19px; font-weight: 700; }
.nav__logo-oz,
.footer__logo-oz { color: var(--c-gold); font-size: .82em; letter-spacing: .04em; }
.hero__eyebrow { letter-spacing: .09em; }
.hero__title { font-weight: 700; line-height: 1.08; }
.section__title { font-weight: 700; }
.bigcta__title { font-size: 36px; }
.product-card__title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.guides__card { padding: var(--sp-4); }
.guides__title { font-size: 17px; line-height: 1.35; }
.footer__logo { font-size: 18px; }

/* v5.1 friendly type: a familiar reading face with a compact retail display
   face. It removes the previous generic “component UI” feel without changing
   spacing, colour, or the home-page structure. */
.nav__logo,
.footer__logo,
.hero__title,
.section__title,
.bigcta__title,
.guides__title,
.whyus__item h3,
.drawer__title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

/* ============================================================
   v6.0 editorial product hero
   A product-led composition inspired by contemporary retail hierarchy, not
   by another shop's imagery or layout. Product imagery comes from this site's
   WooCommerce catalogue, so seasonal catalogue changes remain on-brand.
   ============================================================ */
.hero--products {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(110deg, rgba(5,5,5,.98) 0%, rgba(10,10,10,.94) 50%, rgba(5,5,5,.79) 100%),
    url("/wp-content/uploads/2026/09/36217-13-1536x1536.png") center / cover no-repeat,
    var(--c-bg-darker);
  text-align: left;
}
.hero--products::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(184,147,90,.14) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(184,147,90,.08) 1px, transparent 1px) 0 0 / 100% 25%;
  mask-image: linear-gradient(to right, #000, transparent 85%);
}
.hero--products .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--sp-6);
  min-height: 0;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero--products .hero__content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}
.hero--products .hero__title {
  max-width: 570px;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -.045em;
}
.hero--products .hero__sub { max-width: 470px; }
.hero--products .hero__art {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  height: 265px;
  margin-inline: auto;
}
.hero__halo {
  position: absolute;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  right: 4%;
  top: 4%;
  border: 1px solid rgba(184,147,90,.54);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(184,147,90,.06), 0 0 100px rgba(184,147,90,.20);
}
.hero__product {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  padding: 10px;
  background: linear-gradient(145deg, #fbfaf8, #dcd8d1);
  border: 1px solid rgba(184,147,90,.82);
  box-shadow: 0 20px 48px rgba(0,0,0,.38);
}
.hero__product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero__product--1 {
  z-index: 3;
  width: 49%;
  height: 97%;
  left: 25%;
  top: 0;
  transform: rotate(-4deg);
}
.hero__product--2 {
  z-index: 2;
  width: 40%;
  height: 76%;
  left: 0;
  top: 16%;
  opacity: .96;
  transform: rotate(-13deg);
}
.hero__product--3 {
  z-index: 1;
  width: 40%;
  height: 73%;
  right: 0;
  top: 12%;
  opacity: .94;
  transform: rotate(12deg);
}
@media (min-width: 768px) {
  .hero--products .hero__inner { grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); }
  .hero--products .hero__art { height: 390px; margin-right: 0; }
}
@media (min-width: 1024px) {
  .hero--products { min-height: min(76vh, 820px); }
  .hero--products .hero__inner { min-height: min(76vh, 820px); padding-block: 72px; }
  .hero--products .hero__art { width: min(100%, 620px); height: 470px; }
}
@media (max-width: 420px) {
  .hero--products .hero__art { height: 210px; }
  .hero--products .hero__actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__product--1 { animation: vso-hero-float 7s ease-in-out infinite; }
  .hero__product--2 { animation: vso-hero-float 8s ease-in-out 1s infinite; }
  .hero__product--3 { animation: vso-hero-float 9s ease-in-out .6s infinite; }
}
@keyframes vso-hero-float {
  50% { margin-top: -8px; }
}

/* A compact route into the ranges customers browse most. */
.popular-ranges {
  padding-block: clamp(42px, 6vw, 76px);
  background: #11100f;
  border-bottom: 1px solid var(--c-line-dark);
}
.popular-ranges__head { align-items: end; margin-bottom: var(--sp-5); }
.popular-ranges__eyebrow {
  margin-bottom: 4px;
  color: var(--c-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.popular-ranges__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line-dark);
}
.popular-ranges__item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  min-height: 72px;
  border-bottom: 1px solid var(--c-line-dark);
  color: var(--c-white);
  transition: color .18s ease, background-color .18s ease, padding .18s ease;
}
.popular-ranges__item > span {
  color: var(--c-gold);
  font-size: 12px;
  font-weight: 700;
}
.popular-ranges__item strong { font-size: 15px; font-weight: 680; }
.popular-ranges__item i {
  color: var(--c-grey);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.popular-ranges__item:hover {
  padding-inline: var(--sp-3);
  background: rgba(184,147,90,.1);
  color: var(--c-gold);
}
@media (min-width: 768px) {
  .popular-ranges__grid { grid-template-columns: repeat(5, 1fr); }
  .popular-ranges__item {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    min-height: 145px;
    padding: var(--sp-4);
    border-right: 1px solid var(--c-line-dark);
  }
  .popular-ranges__item:last-child { border-right: 0; }
  .popular-ranges__item i { margin-top: auto; }
  .popular-ranges__item:hover { padding-inline: var(--sp-5); }
}
@media (min-width: 1100px) {
  .product-row--2 { grid-template-columns: repeat(4, 1fr); }
}
.nav__logo,
.footer__logo { font-size: 22px; line-height: 1; }
.section__title { font-size: 30px; font-weight: 600; }
.guides__title { font-size: 20px; font-weight: 600; line-height: 1.15; }
.whyus__item h3 { font-size: 19px; font-weight: 600; }

/* v5.2 wordmark and guide index cue. A simple oval mark gives the text logo
   a recognisable silhouette without introducing a new image asset. */
.nav__logo,
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav__logo-word,
.footer__logo-word { white-space: nowrap; }
.nav__logo-oz,
.footer__logo-oz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 21px;
  padding: 0 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.footer__logo-oz { min-width: 24px; height: 19px; font-size: 9px; }
.brand-mark--vso { width: 30px; height: 30px; object-fit: contain; flex: none; }
.nav__logo .brand-mark--vso { width: 34px; height: 34px; }
.guides__all { flex: none; }

/* v5.0 home type cleanup: plain-language labels, compact tracking and a
   simple editorial rhythm. This deliberately keeps the existing colours. */
.nav__links a:not(.btn),
.nav__link,
.drawer__nav a,
.section__link,
.btn,
.quickcat__chip,
.bottombar__item,
.shopfab__label,
.footer__bottom,
.announce__text {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: 0.01em;
}
.nav__links a:not(.btn),
.nav__link {
  font-size: 13px;
  font-weight: 600;
}
.announce__text { font-size: 12px; font-weight: 600; }
.section__link { font-size: 13px; font-weight: 600; }
.btn { letter-spacing: 0.015em; font-weight: 650; }
.guides__kicker,
.guides__more {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: 0.01em;
}
.guides__kicker { font-size: 12px; font-weight: 600; }
.guides__more { font-size: 13px; font-weight: 600; }
.guides__card { gap: 12px; }
.guides__title { font-weight: 720; letter-spacing: -0.02em; }
.whyus__num {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.whyus__item h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
}
.whyus__item p { font-size: 14px; line-height: 1.65; }
.footer__col h4,
.footer__bottom { text-transform: none; letter-spacing: 0.01em; }

/* The dedicated guides page uses the same quiet type system as the articles. */
body.page .vso-guides-index {
  max-width: none;
  margin-top: 0 !important;
  background: #f7f5f2;
}
body.page .vso-guides-index .wp-block-post-title {
  max-width: 850px;
  margin: 0 auto 1rem;
  font-family: var(--vso-editorial-font);
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  font-weight: 760;
  letter-spacing: -0.047em;
  line-height: 1.06;
  text-transform: none;
}
body.page .vso-guides-index > .wp-block-group > .wp-block-post-content {
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--vso-editorial-font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--vso-editorial-muted);
}
body.page .vso-guides-index .wp-block-post-template {
  max-width: 1120px;
  margin: 0 auto;
}
body.page .vso-guides-index .vso-guide-card {
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--vso-editorial-rule);
  background: #fffdfa;
}
body.page .vso-guides-index .vso-guide-card .wp-block-post-date {
  margin-bottom: 0.65rem;
  font-family: var(--vso-editorial-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vso-editorial-muted);
}
body.page .vso-guides-index .vso-guide-card .wp-block-post-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 730;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
body.page .vso-guides-index .vso-guide-card .wp-block-post-title a { color: #292721; }
body.page .vso-guides-index .vso-guide-card .wp-block-post-excerpt {
  margin: 0;
  font-family: var(--vso-editorial-font);
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--vso-editorial-muted);
}
body.page .vso-guides-index .vso-guide-card .wp-block-read-more {
  margin-top: 1.2rem;
  font-family: var(--vso-editorial-font);
  font-size: 0.9rem;
  font-weight: 700;
  color: #654718;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
