@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --zyh-ink: #07110f;
  --zyh-ink-raised: #0d1a17;
  --zyh-paper: #f1eee5;
  --zyh-bone: #f5f2ea;
  --zyh-muted: #8b9791;
  --zyh-muted-dark: #66716c;
  --zyh-orange: #ff5a2a;
  --zyh-orange-soft: #ffb08f;
  --zyh-mint: #9fc6b8;
  --zyh-line: rgba(245, 242, 234, 0.18);
  --zyh-font-display: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --zyh-font-mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Code", monospace;
}

body.zyh-store {
  --wp--preset--color--base: #07110f;
  --wp--preset--color--contrast: #f5f2ea;
  --wp--preset--color--accent-1: #ff5a2a;
  --wp--preset--color--accent-2: #9fc6b8;
  --wp--preset--color--accent-3: #0d1a17;
  --wp--preset--color--accent-4: #8b9791;
  --wp--preset--color--accent-5: #0d1a17;
  --wp--preset--color--accent-6: rgba(245, 242, 234, 0.2);
  --wp--preset--font-family--manrope: var(--zyh-font-display);
  --wp--preset--font-family--fira-code: var(--zyh-font-mono);
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 0%, rgba(20, 49, 44, 0.55) 0%, transparent 42%),
    var(--zyh-ink) !important;
  color: var(--zyh-bone) !important;
  font-family: var(--zyh-font-display) !important;
  -webkit-font-smoothing: antialiased;
}

body.zyh-store .wp-site-blocks {
  background: transparent !important;
}

body.zyh-store header.wp-block-template-part,
body.zyh-store footer.wp-block-template-part {
  display: none !important;
}

body.zyh-store main {
  max-width: 1320px;
  margin-inline: auto;
  padding: 54px 5vw 80px !important;
}

body.zyh-store h1,
body.zyh-store h2,
body.zyh-store h3,
body.zyh-store h4,
body.zyh-store h5,
body.zyh-store h6 {
  color: var(--zyh-bone) !important;
  font-family: var(--zyh-font-display) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
}

body.zyh-store h1 {
  font-size: clamp(38px, 5.5vw, 72px) !important;
  line-height: 1.02 !important;
}

body.zyh-store h2 {
  font-size: clamp(28px, 3.5vw, 44px) !important;
  line-height: 1.12 !important;
}

body.zyh-store h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

body.zyh-store p,
body.zyh-store li,
body.zyh-store .wp-block-post-excerpt__excerpt {
  color: #a5b3ac;
}

body.zyh-store a {
  color: var(--zyh-orange-soft);
}

/* Global header */
.zyh-global-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid var(--zyh-line);
  background: rgba(7, 17, 15, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.admin-bar .zyh-global-header {
  top: 32px;
}

.zyh-global-inner {
  display: flex;
  max-width: 1400px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  padding: 18px 5vw;
}

.zyh-global-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--zyh-bone) !important;
  text-decoration: none !important;
}

.zyh-global-brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(245, 242, 234, 0.62);
}

.zyh-global-brand-mark::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 6px;
  height: 6px;
  background: var(--zyh-orange);
  content: "";
}

.zyh-global-brand-mark svg {
  width: 23px;
  height: 23px;
}

.zyh-global-brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2.4;
}

.zyh-global-brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.zyh-global-brand-type strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.zyh-global-brand-type small {
  margin-top: 6px;
  color: var(--zyh-mint);
  font: 8px var(--zyh-font-mono);
  letter-spacing: 0.26em;
}

.zyh-global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}

.zyh-global-nav a {
  color: #c6cec7 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.zyh-global-nav a:hover {
  color: var(--zyh-orange-soft) !important;
}

.zyh-global-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 15px;
  border: 1px solid var(--zyh-line);
  color: var(--zyh-bone) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.zyh-global-cta span {
  color: var(--zyh-orange);
  font-size: 15px;
}

.zyh-cart-count {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  margin-left: 5px;
  background: var(--zyh-orange);
  color: #fff !important;
  font: 9px var(--zyh-font-mono);
  vertical-align: 1px;
}

/* Global footer */
.zyh-global-footer {
  border-top: 1px solid var(--zyh-line);
  background: var(--zyh-ink);
}

.zyh-global-footer-inner {
  display: flex;
  max-width: 1320px;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-inline: auto;
  padding: 32px 5vw;
}

.zyh-global-footer-inner p {
  flex: 1;
  margin: 0;
  color: var(--zyh-muted) !important;
  font-size: 12px;
}

.zyh-global-footer-nav {
  display: flex;
  gap: 20px;
  font: 10px var(--zyh-font-mono);
}

.zyh-global-footer-nav a {
  color: #a5b3ac !important;
  text-decoration: none !important;
}

.zyh-global-footer-nav a:hover {
  color: var(--zyh-orange-soft) !important;
}

.zyh-global-footer-inner > span {
  color: var(--zyh-muted);
  font: 9px var(--zyh-font-mono);
  letter-spacing: 1px;
}

.zyh-global-footer-legal {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--zyh-line);
  font: 10px var(--zyh-font-mono);
}

.zyh-global-footer-legal a {
  color: #829089 !important;
  text-decoration: none !important;
}

.zyh-global-footer-legal a:hover,
.zyh-global-footer-legal a[aria-current="page"] {
  color: var(--zyh-orange-soft) !important;
}

.zhiyuanhui-icp {
  padding: 0 5vw 24px !important;
  background: var(--zyh-ink) !important;
  color: var(--zyh-muted) !important;
  font: 9px/1.6 var(--zyh-font-mono) !important;
  letter-spacing: 1px;
  text-align: center !important;
}

.zhiyuanhui-icp a {
  color: inherit;
}

/* Breadcrumbs and page headings */
body.zyh-store .woocommerce-breadcrumb {
  margin-bottom: 22px !important;
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono) !important;
  letter-spacing: 1px;
}

body.zyh-store .woocommerce-breadcrumb a {
  color: #a5b3ac !important;
  text-decoration: none !important;
}

body.zyh-store .wp-block-query-title {
  margin: 20px 0 26px !important;
  font-size: clamp(46px, 6.5vw, 88px) !important;
  letter-spacing: -0.06em !important;
  line-height: 0.96 !important;
}

body.zyh-store .woocommerce-result-count {
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono) !important;
  letter-spacing: 0.06em;
}

body.zyh-store .woocommerce-ordering select,
body.zyh-store select {
  border: 1px solid var(--zyh-line) !important;
  border-radius: 0 !important;
  background: var(--zyh-ink-raised) !important;
  color: var(--zyh-bone) !important;
  font: 10px var(--zyh-font-mono) !important;
}

/* Product collection */
body.zyh-store ul.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  margin-top: 30px !important;
  padding: 0 !important;
  border-top: 1px solid var(--zyh-line);
  list-style: none !important;
}

body.zyh-store li.wc-block-product {
  display: flex !important;
  flex-direction: column;
  padding: 22px !important;
  border-bottom: 1px solid var(--zyh-line);
  border-left: 1px solid var(--zyh-line);
  background: transparent !important;
}

body.zyh-store li.wc-block-product:nth-child(3n + 1) {
  border-left: 0;
}

body.zyh-store .wc-block-components-product-image {
  margin-bottom: 18px !important;
}

body.zyh-store .wc-block-components-product-image a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 75% 30%, rgba(159, 198, 184, 0.22), transparent 35%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store .wc-block-components-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

body.zyh-store .wc-block-components-product-image img.woocommerce-placeholder {
  opacity: 0;
}

body.zyh-store .wc-block-components-product-image:has(img.woocommerce-placeholder) a::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.42);
  content: "ZYH / SYSTEM";
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.22em;
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(245, 242, 234, 0.06) 1px, transparent 1px) 0 0 / 48px 48px;
}

body.zyh-store .wc-block-product .wp-block-post-title {
  margin: 0 0 10px !important;
  text-align: left !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
}

body.zyh-store .wc-block-product .wp-block-post-title a {
  color: var(--zyh-bone) !important;
  text-decoration: none !important;
}

body.zyh-store .wc-block-product .wp-block-post-title a:hover {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store .wc-block-product .wc-block-components-product-price {
  margin-bottom: 18px !important;
  color: var(--zyh-orange-soft) !important;
  text-align: left !important;
  font: 500 14px var(--zyh-font-mono) !important;
}

body.zyh-store .wc-block-components-product-button {
  margin-top: auto !important;
  text-align: left !important;
}

body.zyh-store .wc-block-components-product-button .wp-block-button__link {
  width: 100%;
  padding: 10px 14px !important;
  border: 1px solid var(--zyh-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--zyh-bone) !important;
  font: 10px var(--zyh-font-mono) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.zyh-store .wc-block-components-product-button .wp-block-button__link:hover {
  border-color: var(--zyh-orange) !important;
  background: var(--zyh-orange) !important;
  color: #fff !important;
}

/* Single product */
body.zyh-store.single-product main {
  padding-top: 42px !important;
}

body.zyh-store.single-product .wp-block-columns {
  gap: 60px;
  align-items: start;
}

body.zyh-store.single-product .wp-block-post-title {
  margin: 0 0 18px !important;
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

body.zyh-store.single-product .wp-block-woocommerce-product-price .woocommerce-Price-amount {
  color: var(--zyh-orange-soft);
  font: 500 clamp(32px, 4vw, 52px) var(--zyh-font-display);
  letter-spacing: -0.04em;
}

body.zyh-store.single-product .wp-block-post-excerpt__excerpt {
  max-width: 560px;
  margin: 20px 0 0;
  color: #a5b3ac !important;
  font-size: 15px;
  line-height: 1.9;
}

body.zyh-store.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 !important;
}

body.zyh-store.single-product .single_add_to_cart_button {
  padding: 14px 28px !important;
  border: 1px solid var(--zyh-orange) !important;
  border-radius: 0 !important;
  background: var(--zyh-orange) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
}

body.zyh-store.single-product .single_add_to_cart_button:hover {
  background: #e64b20 !important;
}

body.zyh-store .woocommerce-product-gallery {
  opacity: 1 !important;
}

body.zyh-store .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 198, 184, 0.22), transparent 35%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder img {
  opacity: 0;
}

body.zyh-store .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.42);
  content: "ZYH / DIGITAL SERVICE";
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.22em;
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(245, 242, 234, 0.06) 1px, transparent 1px) 0 0 / 48px 48px;
}

body.zyh-store .wp-block-woocommerce-product-meta,
body.zyh-store .taxonomy-product_cat {
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono);
}

body.zyh-store .wp-block-woocommerce-product-meta a {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store .woocommerce-tabs {
  margin-top: 44px;
  border-top: 1px solid var(--zyh-line);
}

body.zyh-store .wc-tabs {
  display: flex;
  gap: 26px;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--zyh-line);
  list-style: none;
}

body.zyh-store .wc-tabs a {
  display: block;
  padding: 14px 0;
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono) !important;
  letter-spacing: 0.08em;
  text-decoration: none !important;
}

body.zyh-store .wc-tabs .active a {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store .woocommerce-Tabs-panel {
  color: #a5b3ac;
  font-size: 14px;
  line-height: 1.9;
}

/* Cart and checkout */
body.zyh-store .wp-block-woocommerce-cart,
body.zyh-store .wp-block-woocommerce-checkout,
body.zyh-store .wc-block-cart,
body.zyh-store .wc-block-checkout {
  color: var(--zyh-bone) !important;
}

body.zyh-store .wc-block-components-sidebar-layout {
  gap: 24px !important;
}

body.zyh-store .wc-block-components-main,
body.zyh-store .wc-block-components-sidebar {
  padding: 24px !important;
  border: 1px solid var(--zyh-line);
  background: rgba(13, 26, 23, 0.7) !important;
}

body.zyh-store .wc-block-cart-item,
body.zyh-store .wc-block-components-order-summary-item {
  border-bottom: 1px solid var(--zyh-line) !important;
}

body.zyh-store .wc-block-components-product-name,
body.zyh-store .wc-block-components-order-summary-item__description,
body.zyh-store .wc-block-components-totals-item,
body.zyh-store .wc-block-components-totals-item__label,
body.zyh-store .wc-block-components-totals-item__value {
  color: var(--zyh-bone) !important;
}

body.zyh-store .wc-block-components-totals-item__value {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store .wc-block-components-button,
body.zyh-store button.button,
body.zyh-store input.button,
body.zyh-store .wp-element-button {
  border: 1px solid var(--zyh-orange) !important;
  border-radius: 0 !important;
  background: var(--zyh-orange) !important;
  color: #fff !important;
  font-family: var(--zyh-font-display) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

body.zyh-store .wc-block-components-button:hover,
body.zyh-store button.button:hover,
body.zyh-store input.button:hover,
body.zyh-store .wp-element-button:hover {
  background: #e64b20 !important;
}

body.zyh-store input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.zyh-store textarea,
body.zyh-store select {
  padding: 11px 12px !important;
  border: 1px solid rgba(245, 242, 234, 0.25) !important;
  border-radius: 0 !important;
  background: var(--zyh-ink-raised) !important;
  color: var(--zyh-bone) !important;
}

body.zyh-store input::placeholder,
body.zyh-store textarea::placeholder {
  color: #71827a !important;
}

body.zyh-store .woocommerce-message,
body.zyh-store .woocommerce-info,
body.zyh-store .woocommerce-error,
body.zyh-store .wc-block-components-notice-banner {
  border: 1px solid var(--zyh-line) !important;
  background: var(--zyh-ink-raised) !important;
  color: var(--zyh-bone) !important;
}

body.zyh-store .wc-block-components-notice-banner > svg {
  fill: var(--zyh-orange) !important;
}

/* Account */
body.zyh-store.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--zyh-line);
  list-style: none;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--zyh-line);
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 13px 0;
  color: #a5b3ac !important;
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.06em;
  text-decoration: none !important;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-content {
  color: #a5b3ac;
}

body.zyh-store.woocommerce-account .woocommerce-form-login,
body.zyh-store.woocommerce-account .woocommerce-form-register {
  padding: 28px;
  border: 1px solid var(--zyh-line);
  background: rgba(13, 26, 23, 0.7);
}

body.zyh-store.woocommerce-account label {
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono);
}

/* Responsive */
@media (max-width: 900px) {
  body.zyh-store ul.wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.zyh-store li.wc-block-product:nth-child(3n + 1) {
    border-left: 1px solid var(--zyh-line);
  }

  body.zyh-store li.wc-block-product:nth-child(2n + 1) {
    border-left: 0;
  }

  body.zyh-store.single-product .wp-block-columns {
    gap: 34px;
  }

  body.zyh-store.woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  body.admin-bar .zyh-global-header {
    top: 46px;
  }

  .zyh-global-inner {
    gap: 14px;
    padding: 14px 6vw;
  }

  .zyh-global-brand-mark {
    width: 32px;
    height: 32px;
  }

  .zyh-global-brand-mark svg {
    width: 19px;
    height: 19px;
  }

  .zyh-global-brand-type strong {
    font-size: 18px;
  }

  .zyh-global-brand-type small {
    font-size: 7px;
  }

  .zyh-global-nav {
    gap: 14px;
    font-size: 11px;
  }

  .zyh-nav-home,
  .zyh-nav-account {
    display: none;
  }

  .zyh-global-cta {
    padding: 9px 10px;
    font-size: 10px;
  }

  .zyh-global-cta span {
    display: none;
  }

  body.zyh-store main {
    padding: 36px 6vw 56px !important;
  }

  body.zyh-store .wp-block-query-title {
    font-size: clamp(42px, 12vw, 64px) !important;
  }

  body.zyh-store ul.wc-block-product-template {
    grid-template-columns: 1fr;
  }

  body.zyh-store li.wc-block-product,
  body.zyh-store li.wc-block-product:nth-child(3n + 1),
  body.zyh-store li.wc-block-product:nth-child(2n + 1) {
    border-left: 0;
  }

  body.zyh-store.single-product .wp-block-columns {
    display: block;
  }

  body.zyh-store.single-product .wp-block-column {
    margin-bottom: 28px;
  }

  body.zyh-store.single-product .wp-block-post-title {
    font-size: clamp(36px, 10vw, 54px) !important;
  }

  .zyh-global-footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    padding: 28px 6vw;
  }

  .zyh-global-footer-inner p {
    flex: none;
  }
}

/* --------------------------------------------------------------------------
   Storefront v2 — page shell, page headings and checkout masthead
   -------------------------------------------------------------------------- */

body.zyh-store,
body.zyh-store *,
body.zyh-store *::before,
body.zyh-store *::after {
  box-sizing: border-box;
}

body.zyh-store {
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(rgba(245, 242, 234, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(ellipse at 82% 0%, rgba(20, 49, 44, 0.58) 0%, transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(12, 32, 27, 0.5) 0%, transparent 45%),
    var(--zyh-ink) !important;
  background-attachment: fixed, fixed, scroll, scroll, scroll !important;
}

.zyh-skip {
  position: absolute;
  z-index: 120;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  background: var(--zyh-bone);
  color: var(--zyh-ink) !important;
  font-size: 12px;
}

.zyh-skip:focus {
  top: 12px;
}

.zyh-global-inner {
  padding: 24px 5vw;
}

.zyh-global-nav a {
  position: relative;
  white-space: nowrap;
}

.zyh-global-brand-type strong,
.zyh-global-brand-type small {
  white-space: nowrap;
}

.zyh-global-nav a.is-current {
  color: var(--zyh-bone) !important;
}

.zyh-global-nav a.is-current::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--zyh-orange);
  content: "";
}

body.zyh-store main {
  position: relative;
}

body.zyh-store main > h1,
body.zyh-store main > .wp-block-group > h1,
body.zyh-store main > .wp-block-group > .wp-block-group > h1,
body.zyh-store main h1.wp-block-query-title,
body.zyh-store main h1.wp-block-post-title {
  margin: 8px 0 34px !important;
  font-size: clamp(46px, 6.4vw, 86px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
}

body.zyh-store main > h1::before,
body.zyh-store main > .wp-block-group > h1::before,
body.zyh-store main > .wp-block-group > .wp-block-group > h1::before,
body.zyh-store main h1.wp-block-query-title::before,
body.zyh-store main h1.wp-block-post-title::before {
  display: block;
  margin-bottom: 16px;
  color: var(--zyh-mint);
  font: 10px/1.4 var(--zyh-font-mono);
  letter-spacing: 0.18em;
  content: "ZHIYUANHUI / STORE";
}

body.zyh-store-shop main h1::before {
  content: "ZHIYUANHUI / SOFTWARE STORE";
}

body.zyh-store-cart main h1::before {
  content: "ZHIYUANHUI / CART";
}

body.zyh-store-checkout main h1::before {
  content: "ZHIYUANHUI / CHECKOUT";
}

body.zyh-store-account main h1::before {
  content: "ZHIYUANHUI / ACCOUNT";
}

body.zyh-store-product main h1::before {
  content: "ZHIYUANHUI / PRODUCT";
}

body.zyh-store-search main h1::before {
  content: "ZHIYUANHUI / SEARCH";
}

body.zyh-store-search main h1.wp-block-query-title::after {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  color: #a5b3ac;
  font: 14px/1.8 var(--zyh-font-display);
  letter-spacing: 0;
  content: "在智元汇站点内查找产品与说明。";
}

/* Policy and support pages */
.zyh-policy {
  max-width: 960px;
  margin-inline: auto;
}

.zyh-policy-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: -18px 0 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--zyh-line);
  color: var(--zyh-mint);
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zyh-policy-lead {
  max-width: 820px;
  margin: 0 0 36px;
  color: #c9d1cc !important;
  font-size: 17px;
  line-height: 1.9;
}

.zyh-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 52px;
}

.zyh-policy-nav a {
  padding: 9px 13px;
  border: 1px solid var(--zyh-line);
  color: #98a59f !important;
  font: 10px var(--zyh-font-mono);
  text-decoration: none !important;
}

.zyh-policy-nav a:hover,
.zyh-policy-nav a[aria-current="page"] {
  border-color: var(--zyh-orange);
  color: var(--zyh-bone) !important;
}

.zyh-policy h2 {
  margin: 52px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--zyh-line);
  font-size: clamp(24px, 3vw, 32px) !important;
}

.zyh-policy h2:first-of-type {
  margin-top: 0;
}

.zyh-policy p,
.zyh-policy li {
  color: #aebbb4 !important;
  font-size: 15px;
  line-height: 1.95;
}

.zyh-policy ul {
  margin: 14px 0 22px;
  padding-left: 1.25em;
}

.zyh-policy li + li {
  margin-top: 8px;
}

.zyh-policy strong {
  color: var(--zyh-bone);
  font-weight: 500;
}

.zyh-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 56px;
  background: var(--zyh-line);
}

.zyh-contact-grid section {
  min-height: 230px;
  padding: 26px;
  background: var(--zyh-ink);
}

.zyh-contact-kicker {
  color: var(--zyh-mint);
  font: 9px var(--zyh-font-mono);
  letter-spacing: 0.13em;
}

.zyh-contact-grid h2 {
  margin: 38px 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 22px !important;
}

.zyh-contact-grid p {
  margin: 0;
  font-size: 13px;
}

.zyh-support-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 54px;
  padding: 46px;
  border: 1px solid var(--zyh-line);
  background: rgba(13, 26, 23, 0.66);
}

.zyh-support-heading > span {
  color: var(--zyh-mint);
  font: 9px var(--zyh-font-mono);
  letter-spacing: 0.13em;
}

.zyh-support-heading h2 {
  margin: 16px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 34px !important;
}

.zyh-support-heading p {
  font-size: 13px;
}

.zyh-support-form {
  display: grid;
  gap: 20px;
}

.zyh-support-form label {
  display: grid;
  gap: 9px;
  color: #9eaaa4;
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.04em;
}

.zyh-support-form .zyh-label-text {
  color: #9eaaa4;
}

.zyh-support-form .zyh-label-text em {
  color: var(--zyh-orange-soft);
  font-style: normal;
}

.zyh-support-form input,
.zyh-support-form select,
.zyh-support-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 242, 234, 0.24);
  border-radius: 0;
  background: rgba(7, 17, 15, 0.82);
  color: var(--zyh-bone);
  font: 14px/1.7 var(--zyh-font-display);
  outline: none;
}

.zyh-support-form input,
.zyh-support-form select {
  min-height: 48px;
  padding: 11px 13px;
}

.zyh-support-form textarea {
  min-height: 170px;
  padding: 13px;
  resize: vertical;
}

.zyh-support-form input:focus,
.zyh-support-form select:focus,
.zyh-support-form textarea:focus {
  border-color: var(--zyh-orange);
}

.zyh-support-form select option {
  background: var(--zyh-ink);
  color: var(--zyh-bone);
}

.zyh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.zyh-consent {
  grid-template-columns: 18px 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-family: var(--zyh-font-display) !important;
  font-size: 12px !important;
  line-height: 1.7;
  letter-spacing: 0 !important;
}

.zyh-consent input {
  width: 16px;
  min-height: 16px;
  margin: 3px 0 0;
  accent-color: var(--zyh-orange);
}

.zyh-support-submit {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 0;
  background: var(--zyh-orange);
  color: #fff;
  cursor: pointer;
  font: 13px var(--zyh-font-display);
}

.zyh-support-submit:hover {
  background: #ff7047;
}

.zyh-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.zyh-form-message {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--zyh-line);
  font-size: 13px;
  line-height: 1.7;
}

.zyh-form-message.is-success {
  border-color: rgba(159, 198, 184, 0.6);
  background: rgba(24, 58, 48, 0.45);
}

.zyh-form-message.is-error {
  border-color: rgba(255, 90, 42, 0.7);
  background: rgba(82, 28, 13, 0.32);
}

body.zyh-store-search .wp-block-post-title {
  margin-bottom: 12px !important;
  font-size: clamp(28px, 3vw, 40px) !important;
}

body.zyh-store-search .wp-block-post-title a {
  color: var(--zyh-bone) !important;
  text-decoration: none !important;
}

body.zyh-store-search .wp-block-post-title a:hover {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store-search .wp-block-post-excerpt__excerpt {
  max-width: 720px;
  color: #a5b3ac !important;
}

body.zyh-store-shop main h1.wp-block-query-title::after {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  color: #a5b3ac;
  font: 14px/1.8 var(--zyh-font-display);
  letter-spacing: 0;
  content: "为门店与日常经营，提供更清楚的一件工具。";
}

body.zyh-store-cart main h1.wp-block-post-title::after {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  color: #a5b3ac;
  font: 14px/1.8 var(--zyh-font-display);
  letter-spacing: 0;
  content: "确认已选项目，下一步再决定。";
}

body.zyh-store-account:not(.logged-in) main h1.wp-block-post-title::after {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  color: #a5b3ac;
  font: 14px/1.8 var(--zyh-font-display);
  letter-spacing: 0;
  content: "登录后查看订单、订阅与服务状态。";
}

.zyh-page-masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--zyh-line);
  background:
    radial-gradient(ellipse at 78% 30%, rgba(24, 59, 52, 0.42), transparent 48%),
    rgba(7, 17, 15, 0.45);
}

.zyh-page-masthead::before {
  position: absolute;
  top: 0;
  right: 7vw;
  width: min(38vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(159, 198, 184, 0.18);
  border-radius: 50%;
  content: "";
  transform: translateY(-48%);
}

.zyh-page-masthead-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(1320px, 100%);
  margin-inline: auto;
  padding: 58px 5vw 46px;
}

.zyh-page-masthead-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--zyh-mint);
  font: 10px var(--zyh-font-mono);
  letter-spacing: 0.18em;
}

.zyh-page-masthead-label span {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--zyh-orange);
}

.zyh-page-masthead-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
}

.zyh-page-masthead h1 {
  margin: 0 !important;
  color: var(--zyh-bone);
  font-size: clamp(52px, 6.8vw, 92px) !important;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.zyh-page-masthead-copy > p {
  max-width: 360px;
  margin: 0 0 8px;
  color: #a5b3ac;
  font-size: 14px;
  line-height: 1.8;
}

body.zyh-store-checkout main {
  padding-top: 28px !important;
}

body.zyh-store-checkout .wc-block-components-sidebar-layout {
  max-width: 1320px;
}

body.zyh-store-checkout .wc-block-components-checkout-step__title {
  margin-bottom: 20px !important;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  line-height: 1.15 !important;
}

body.zyh-store-checkout .wc-block-components-text-input label,
body.zyh-store-checkout .wc-block-components-select label {
  color: var(--zyh-muted) !important;
  font: 10px var(--zyh-font-mono) !important;
  letter-spacing: 0.06em;
}

body.zyh-store-checkout .wc-block-components-text-input input,
body.zyh-store-checkout .wc-block-components-select select {
  min-height: 48px;
}

body.zyh-store-checkout .wc-block-components-checkout-place-order-button {
  min-height: 54px;
}

body.zyh-store-checkout .wc-blocks-components-select__container select {
  height: 56px !important;
  padding: 20px 36px 8px 12px !important;
  font: 13px var(--zyh-font-display) !important;
}

body.zyh-store-checkout .wc-blocks-components-select__label {
  font: 9px var(--zyh-font-mono) !important;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Shop — single-product feature card
   -------------------------------------------------------------------------- */

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) {
  max-width: 1040px;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 0;
  align-items: stretch;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child {
  display: flex !important;
  flex-direction: column;
  padding: 26px;
  border-left: 0;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-image {
  margin-bottom: 22px !important;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-image a {
  aspect-ratio: 16 / 10;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wp-block-post-title {
  margin-bottom: 14px !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.2 !important;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-price {
  margin-bottom: 22px !important;
  font-size: 18px !important;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-button {
  width: 100%;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-button .wp-block-button__link {
  width: 100%;
  padding: 13px 16px !important;
  border-color: var(--zyh-orange) !important;
  background: var(--zyh-orange) !important;
  color: #fff !important;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-button .wp-block-button__link:hover {
  border-color: #e64b20 !important;
  background: #e64b20 !important;
}

body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child)::after {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-bottom: 1px solid var(--zyh-line);
  border-left: 1px solid var(--zyh-line);
  background:
    linear-gradient(180deg, rgba(13, 26, 23, 0.18), rgba(13, 26, 23, 0.74)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(245, 242, 234, 0.035) 48px),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(245, 242, 234, 0.035) 48px);
  color: #a5b3ac;
  white-space: pre-line;
  content: "01 / DIGITAL SERVICE\A\A 门店日常运维\A 服务开通与咨询\A\A ZYH / SYSTEM";
  font: 11px/1.9 var(--zyh-font-mono);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Cart — empty state and item thumbnails
   -------------------------------------------------------------------------- */

body.zyh-store-cart .wp-block-woocommerce-cart {
  width: 100%;
  max-width: 1120px !important;
  margin-inline: auto;
}

body.zyh-store-cart .entry-content.alignwide,
body.zyh-store-checkout .entry-content.alignwide {
  width: 100%;
  max-width: 1120px !important;
  margin-inline: auto;
}

body.zyh-store-cart .wc-block-cart__totals-title {
  display: block !important;
  margin-bottom: 18px !important;
  font-size: clamp(26px, 3vw, 36px) !important;
}

body.zyh-store-cart .wc-block-components-sidebar-layout,
body.zyh-store-checkout .wc-block-components-sidebar-layout {
  display: grid !important;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px !important;
  align-items: start;
}

@media (min-width: 761px) {
  body.zyh-store-cart .wc-block-cart__totals-title {
    display: block !important;
  }

  body.zyh-store-cart .wc-block-cart-items__header {
    display: table-row !important;
  }
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block {
  position: relative;
  max-width: 820px;
  margin: 28px auto 72px;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 64px);
  border: 1px solid var(--zyh-line);
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(245, 242, 234, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    rgba(13, 26, 23, 0.72);
  text-align: center;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block::before {
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--zyh-mint);
  content: "00 / CART EMPTY";
  font: 9px var(--zyh-font-mono);
  letter-spacing: 0.18em;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block::after {
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(159, 198, 184, 0.16);
  border-radius: 50%;
  content: "";
}

body.zyh-store-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--zyh-bone) !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

body.zyh-store-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 26px;
  border: 1px solid var(--zyh-line);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffb08f' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M7 9h5l4 24h22l4-16H13'/%3E%3Ccircle cx='20' cy='40' r='2'/%3E%3Ccircle cx='36' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E") center / 38px 38px no-repeat,
    radial-gradient(circle at 70% 25%, rgba(159, 198, 184, 0.22), transparent 55%),
    rgba(7, 17, 15, 0.72);
  -webkit-mask-image: none !important;
  mask-image: none !important;
  content: "";
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wp-block-paragraph {
  margin: 0 !important;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wp-block-paragraph a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 22px;
  border: 1px solid var(--zyh-orange);
  background: var(--zyh-orange);
  color: #fff !important;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wp-block-paragraph a:hover {
  border-color: #e64b20;
  background: #e64b20;
}

body.zyh-store-cart .wc-block-cart-item__image {
  position: relative;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 198, 184, 0.2), transparent 42%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store-cart .wc-block-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.zyh-store-cart .wc-block-cart-item__image:has(img[src*="woocommerce-placeholder"]) img {
  opacity: 0;
}

body.zyh-store-cart .wc-block-cart-item__image:has(img[src*="woocommerce-placeholder"])::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.55);
  content: "ZYH / SYSTEM";
  font: 8px var(--zyh-font-mono);
  letter-spacing: 0.12em;
}

body.zyh-store-cart .wp-block-woocommerce-product-collection {
  margin-top: 48px;
}

body.zyh-store-cart .wp-block-woocommerce-product-collection > h2 {
  margin-bottom: 24px !important;
  font-size: clamp(28px, 3vw, 38px) !important;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 198, 184, 0.2), transparent 42%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image:has(img[src*="woocommerce-placeholder"]) img {
  opacity: 0;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image:has(img[src*="woocommerce-placeholder"]) a::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.55);
  content: "ZYH / SYSTEM";
  font: 8px var(--zyh-font-mono);
  letter-spacing: 0.12em;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title {
  margin-top: 16px !important;
  text-align: left !important;
  font-size: 18px !important;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-price {
  text-align: left !important;
}

body.zyh-store-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button .wp-block-button__link {
  width: 100%;
}

body.zyh-store-cart .wc-block-grid__product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 198, 184, 0.2), transparent 42%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store-cart .wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.zyh-store-cart .wc-block-grid__product-image img.woocommerce-placeholder {
  opacity: 0;
}

body.zyh-store-cart .wc-block-grid__product-image:has(img.woocommerce-placeholder)::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.55);
  content: "ZYH / SYSTEM";
  font: 8px var(--zyh-font-mono);
  letter-spacing: 0.12em;
}

body.zyh-store-cart .wc-block-grid__product-title {
  margin-top: 14px !important;
  text-align: left !important;
  font-size: 16px !important;
}

body.zyh-store-cart .wc-block-grid__product-price {
  text-align: left !important;
}

body.zyh-store-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Checkout — order summary thumbnails
   -------------------------------------------------------------------------- */

body.zyh-store-checkout .wc-block-components-order-summary-item__image {
  position: relative;
  width: 72px;
  height: 72px;
  min-width: 72px;
  flex: 0 0 72px;
  overflow: hidden;
  border: 1px solid var(--zyh-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(159, 198, 184, 0.2), transparent 42%),
    linear-gradient(135deg, #0d1a17, #030908);
}

body.zyh-store-checkout .wc-block-components-order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.zyh-store-checkout .wc-block-components-order-summary-item__image:has(img[src*="woocommerce-placeholder"]) img {
  opacity: 0;
}

body.zyh-store-checkout .wc-block-components-order-summary-item__image:has(img[src*="woocommerce-placeholder"])::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.55);
  content: "ZYH";
  font: 8px var(--zyh-font-mono);
  letter-spacing: 0.1em;
}

body.zyh-store-checkout .wc-block-components-product-metadata {
  display: none !important;
}

body.zyh-store-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body.zyh-store.single-product .wp-block-post-title {
  font-size: clamp(36px, 4.2vw, 58px) !important;
  line-height: 1.04 !important;
  word-break: keep-all;
}

body.zyh-store.single-product .woocommerce-product-gallery {
  position: relative;
}

body.zyh-store.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
}

body.zyh-store.single-product .woocommerce-product-gallery::before {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 18px;
  color: rgba(245, 242, 234, 0.5);
  content: "SYSTEM / 001";
  font: 9px var(--zyh-font-mono);
  letter-spacing: 0.16em;
  pointer-events: none;
}

body.zyh-store.single-product .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder::before {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(159, 198, 184, 0.16);
  border-radius: 50%;
  content: "";
}

/* --------------------------------------------------------------------------
   Account — logged-out access panel
   -------------------------------------------------------------------------- */

body.zyh-store.woocommerce-account:not(.logged-in) main {
  max-width: 1180px;
}

body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 480px);
  grid-template-rows: auto auto;
  column-gap: clamp(36px, 8vw, 110px);
  row-gap: 18px;
  align-items: start;
}

body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  grid-row: 1;
}

body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce > h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 8px 0 0 !important;
  font-size: clamp(52px, 7vw, 92px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.06em !important;
}

body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce > h2::before {
  display: block;
  margin-bottom: 18px;
  color: var(--zyh-mint);
  font: 10px/1.4 var(--zyh-font-mono);
  letter-spacing: 0.18em;
  content: "ACCOUNT / ACCESS";
}

body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce-form-login {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: 32px !important;
}

body.zyh-store.woocommerce-account .woocommerce-form-login .form-row {
  margin-bottom: 18px;
}

body.zyh-store.woocommerce-account .woocommerce-form-login .form-row:last-child {
  margin-bottom: 0;
}

body.zyh-store.woocommerce-account .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
}

body.zyh-store.woocommerce-account .woocommerce-form__input-checkbox {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--zyh-orange);
}

body.zyh-store.woocommerce-account .woocommerce-LostPassword {
  margin: 22px 0 0;
}

body.zyh-store.woocommerce-account .woocommerce-LostPassword a {
  color: var(--zyh-orange-soft) !important;
  font: 11px var(--zyh-font-mono);
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: var(--zyh-orange-soft) !important;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-content h2,
body.zyh-store.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin-top: 0;
}

body.zyh-store.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
body.zyh-store.woocommerce-account .woocommerce-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

/* --------------------------------------------------------------------------
   Generic editorial content
   -------------------------------------------------------------------------- */

body.zyh-store:not(.woocommerce-account) .entry-content {
  max-width: 820px;
}

body.zyh-store:not(.woocommerce-account) .entry-content h2 {
  margin-top: 48px;
  font-size: clamp(28px, 3vw, 40px) !important;
}

body.zyh-store:not(.woocommerce-account) .entry-content h3 {
  margin-top: 34px;
  font-size: 22px !important;
}

body.zyh-store:not(.woocommerce-account) .entry-content p,
body.zyh-store:not(.woocommerce-account) .entry-content li {
  color: #a5b3ac;
  font-size: 15px;
  line-height: 1.9;
}

body.zyh-store:not(.woocommerce-account) .entry-content a {
  color: var(--zyh-orange-soft);
}

body.zyh-store:not(.woocommerce-account) .entry-content blockquote {
  margin: 32px 0;
  padding: 18px 0 18px 24px;
  border-left: 1px solid var(--zyh-orange);
  color: var(--zyh-bone);
}

body.zyh-store:not(.woocommerce-account) .entry-content hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--zyh-line);
}

/* --------------------------------------------------------------------------
   Storefront v2 responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .zyh-page-masthead-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .zyh-page-masthead-copy > p {
    max-width: 520px;
    margin-bottom: 0;
  }

  body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 34px;
  }

  body.zyh-store-cart .wc-block-components-sidebar-layout,
  body.zyh-store-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.zyh-store-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
    display: none !important;
  }

  .zyh-contact-grid {
    grid-template-columns: 1fr;
  }

  .zyh-contact-grid section {
    min-height: 0;
  }

  .zyh-support-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
}

@media (max-width: 760px) {
  .zyh-global-inner {
    padding: 14px 6vw;
  }

  body.zyh-store main > h1,
  body.zyh-store main > .wp-block-group > h1,
  body.zyh-store main > .wp-block-group > .wp-block-group > h1,
  body.zyh-store main h1.wp-block-query-title,
  body.zyh-store main h1.wp-block-post-title {
    margin-bottom: 26px !important;
    font-size: clamp(42px, 12vw, 64px) !important;
  }

  .zyh-page-masthead-inner {
    padding: 38px 6vw 34px;
  }

  .zyh-page-masthead h1 {
    font-size: clamp(46px, 13vw, 64px) !important;
  }

  .zyh-page-masthead::before {
    right: -20vw;
    width: 80vw;
  }

  body.zyh-store-checkout main {
    padding-top: 20px !important;
  }

  body.zyh-store-cart .wc-block-cart__totals-title {
    display: none !important;
  }

  body.zyh-store-cart .wc-block-cart__sidebar::before {
    display: block;
    margin-bottom: 18px;
    color: var(--zyh-bone);
    content: "购物车总计";
    font: 500 26px/1.2 var(--zyh-font-display);
    letter-spacing: -0.03em;
  }

  body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child)::after {
    display: none;
  }

  body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
    border-right: 0;
  }

  body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-image {
    margin-bottom: 18px !important;
  }

  body.zyh-store-shop ul.wc-block-product-template:has(> li:only-child) > li:only-child .wc-block-components-product-image a {
    aspect-ratio: 1 / 1;
  }

  body.zyh-store-cart .wp-block-woocommerce-empty-cart-block {
    margin-bottom: 48px;
    padding: 52px 22px;
  }

  body.zyh-store-cart .wc-block-cart-item__image {
    width: 72px;
    height: 72px;
  }

  body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
  }

  body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
    grid-column: 1;
    grid-row: 1;
  }

  body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce > h2 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(44px, 12vw, 64px) !important;
  }

  body.zyh-store.woocommerce-account:not(.logged-in) .woocommerce-form-login {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    justify-self: stretch;
    padding: 24px !important;
  }

  .zyh-policy-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .zyh-policy-lead {
    font-size: 15px;
  }

  .zyh-policy-nav {
    margin-bottom: 36px;
  }

  .zyh-policy h2 {
    margin-top: 40px;
    padding-top: 22px;
  }

  .zyh-policy p,
  .zyh-policy li {
    font-size: 14px;
    line-height: 1.85;
  }

  .zyh-contact-grid {
    margin-bottom: 36px;
  }

  .zyh-contact-grid section {
    padding: 22px;
  }

  .zyh-support-panel {
    gap: 26px;
    padding: 22px;
  }

  .zyh-form-row {
    grid-template-columns: 1fr;
  }

  .zyh-global-footer-legal {
    gap: 9px 16px;
  }
}

@media (max-width: 360px) {
  .zyh-global-inner {
    gap: 10px;
    padding: 12px 5vw;
  }

  .zyh-global-brand-type small {
    display: none;
  }

  .zyh-global-brand-type strong {
    font-size: 16px;
  }

  .zyh-global-nav {
    gap: 10px;
    font-size: 10px;
  }

  .zyh-global-cta {
    display: none;
  }

  .zyh-cart-count {
    min-width: 15px;
    height: 15px;
    margin-left: 3px;
    font-size: 8px;
  }
}

@media (max-width: 500px) {
  body.zyh-store {
    --wp--style--root--padding-left: 6vw;
    --wp--style--root--padding-right: 6vw;
  }
}

@media (max-width: 480px) {
  body.zyh-store .wc-block-components-main {
    padding: 16px !important;
  }

  body.zyh-store-cart .wc-block-cart-items {
    width: 100% !important;
  }

  body.zyh-store-cart .wc-block-cart-items__row {
    grid-template-columns: 56px minmax(0, 1fr) auto !important;
    column-gap: 10px !important;
  }

  body.zyh-store-cart .wc-block-cart-item__image {
    width: 56px;
    height: 56px;
    padding-right: 0 !important;
  }

  body.zyh-store-cart .wc-block-cart-item__product {
    grid-column: 2 !important;
    min-width: 0;
  }

  body.zyh-store-cart .wc-block-cart-item__total {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body.zyh-store-cart .wc-block-cart-item__product .wc-block-components-product-name {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}
