/*
Theme Name: Chuhaiyi Premium
Theme URI: https://chuhaiyi.utop123.com/
Description: Premium child theme for Chuhaiyi, built on Twenty Twenty-Four.
Author: Beijing Wutuobang Technology
Template: twentytwentyfour
Version: 1.1.6
Text Domain: chuhaiyi-premium
*/

:root {
  --chy-ink: #071421;
  --chy-navy: #0d2638;
  --chy-navy-2: #12364a;
  --chy-gold: #c9a86a;
  --chy-gold-soft: #e8d3aa;
  --chy-paper: #f5f2ec;
  --chy-white: #fffdf9;
  --chy-slate: #5f6f79;
  --chy-line: rgba(7, 20, 33, 0.12);
  --chy-radius: 22px;
  --chy-shadow: 0 22px 60px rgba(7, 20, 33, 0.12);
  --chy-wrap: min(1180px, calc(100vw - 48px));
}

html { scroll-behavior: smooth; }
body {
  background: var(--chy-paper);
  color: var(--chy-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body :where(.wp-site-blocks) { padding: 0; }
a { text-underline-offset: 4px; }
.wp-site-blocks > * { margin-block-start: 0; }

/* Header */
.chy-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(7,20,33,.94);
  box-shadow: 0 10px 36px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
}
.admin-bar .chy-header { top: 32px; }
.chy-header__inner {
  width: var(--chy-wrap);
  min-height: 78px;
  margin: 0 auto;
  gap: 28px;
}
.chy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--chy-white);
  text-decoration: none;
  white-space: nowrap;
}
.chy-brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(232,211,170,.55);
  border-radius: 12px;
  color: var(--chy-gold-soft);
  font: 700 18px/1 Georgia, serif;
  background: linear-gradient(145deg, rgba(201,168,106,.2), rgba(255,255,255,.04));
}
.chy-brand__name { font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.chy-brand__en { display: block; margin-top: 2px; color: rgba(255,255,255,.48); font-size: 9px; font-weight: 500; letter-spacing: .22em; }
.chy-header .wp-block-navigation { margin-left: auto; }
.chy-header .wp-block-navigation-item__content { color: rgba(255,255,255,.76) !important; font-size: 14px; text-decoration: none; }
.chy-header .wp-block-navigation-item__content:hover { color: var(--chy-gold-soft) !important; }
.chy-header .wp-block-navigation__responsive-container-open,
.chy-header .wp-block-navigation__responsive-container-close { color: #fff; }
.chy-header .wc-block-mini-cart__button { color: #fff; }
.chy-header .wc-block-mini-cart__badge { background: var(--chy-gold); color: var(--chy-ink); }
.chy-header__cta .wp-block-button__link { padding: 11px 18px; border-radius: 999px; background: var(--chy-gold); color: var(--chy-ink); font-size: 13px; font-weight: 700; }

/* Shared */
.chy-section { padding: 108px 0; }
.chy-section--light { background: var(--chy-white); }
.chy-section--ink { background: var(--chy-ink); color: var(--chy-white); }
.chy-container { width: var(--chy-wrap); margin: 0 auto; }
.chy-eyebrow { margin: 0 0 18px; color: var(--chy-gold); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.chy-section-title { max-width: 760px; margin: 0; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.chy-section-intro { max-width: 650px; margin: 22px 0 0; color: var(--chy-slate); font-size: 17px; line-height: 1.9; }
.chy-section--ink .chy-section-intro { color: rgba(255,255,255,.64); }
.chy-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.chy-btn:hover { transform: translateY(-2px); }
.chy-btn--gold { background: var(--chy-gold); color: var(--chy-ink); box-shadow: 0 12px 28px rgba(201,168,106,.2); }
.chy-btn--ghost { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.05); }
.chy-btn--navy { background: var(--chy-ink); color: #fff; }

/* Hero */
.chy-hero {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100vh - 78px));
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--chy-ink) url("assets/images/chuhaiyi-hero.webp") center/cover no-repeat;
}
.chy-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,13,22,.96) 0%, rgba(5,17,28,.86) 36%, rgba(4,14,23,.23) 76%, rgba(4,13,22,.32) 100%); }
.chy-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(7,20,33,.72)); }
.chy-hero__inner { position: relative; z-index: 2; width: var(--chy-wrap); padding: 116px 0 106px; }
.chy-hero__copy { max-width: 690px; }
.chy-hero h1 { max-width: 660px; margin: 0; color: #fff; font-size: clamp(50px, 6.5vw, 88px); line-height: 1.02; letter-spacing: -.055em; }
.chy-hero h1 em { color: var(--chy-gold-soft); font-family: Georgia, "Songti SC", serif; font-style: normal; font-weight: 500; }
.chy-hero__lead { max-width: 610px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.9; }
.chy-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 40px; }
.chy-hero__trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 66px; color: rgba(255,255,255,.52); font-size: 12px; letter-spacing: .08em; }
.chy-hero__trust span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--chy-gold); box-shadow: 0 0 0 5px rgba(201,168,106,.1); }

/* Stats */
.chy-stats { position: relative; z-index: 4; width: var(--chy-wrap); margin: -52px auto 0; }
.chy-stats__grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--chy-radius); background: rgba(13,38,56,.97); box-shadow: var(--chy-shadow); }
.chy-stat { padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.1); }
.chy-stat:last-child { border-right: 0; }
.chy-stat strong { display: block; color: var(--chy-gold-soft); font: 600 clamp(28px,3vw,42px)/1 Georgia, serif; }
.chy-stat span { display: block; margin-top: 9px; color: rgba(255,255,255,.58); font-size: 13px; }

/* Services */
.chy-services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.chy-services__head .chy-section-intro { margin-bottom: 4px; }
.chy-card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 58px; }
.chy-service-card { position: relative; min-height: 300px; padding: 38px; overflow: hidden; border: 1px solid var(--chy-line); border-radius: var(--chy-radius); background: linear-gradient(145deg,#fff,#f4f0e8); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.chy-service-card:hover { transform: translateY(-6px); border-color: rgba(201,168,106,.6); box-shadow: var(--chy-shadow); }
.chy-service-card::after { content: attr(data-index); position: absolute; right: 26px; bottom: 12px; color: rgba(7,20,33,.045); font: 700 96px/1 Georgia, serif; }
.chy-service-card__icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; color: var(--chy-gold-soft); background: var(--chy-ink); font-size: 20px; }
.chy-service-card h3 { margin: 31px 0 14px; font-size: 26px; letter-spacing: -.02em; }
.chy-service-card p { max-width: 470px; margin: 0; color: var(--chy-slate); line-height: 1.85; }
.chy-service-card a { position: relative; z-index: 2; display: inline-block; margin-top: 27px; color: var(--chy-ink); font-size: 13px; font-weight: 800; text-decoration: none; }

/* Product */
.chy-product { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: var(--chy-navy); box-shadow: 0 34px 90px rgba(0,0,0,.24); }
.chy-product__visual { position: relative; min-height: 540px; overflow: hidden; background: #dfe4e5; }
.chy-product__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.chy-product:hover .chy-product__visual img { transform: scale(1.03); }
.chy-product__badge { position: absolute; top: 24px; left: 24px; padding: 9px 14px; border-radius: 999px; background: rgba(7,20,33,.88); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.chy-product__body { display: flex; flex-direction: column; justify-content: center; padding: 56px; }
.chy-product__body h2 { margin: 0; color: #fff; font-size: clamp(34px,4vw,52px); line-height: 1.15; letter-spacing: -.04em; }
.chy-product__body > p { margin: 22px 0 0; color: rgba(255,255,255,.64); line-height: 1.9; }
.chy-product__features { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: 14px; }
.chy-product__features li::before { content: "✓"; margin-right: 10px; color: var(--chy-gold); font-weight: 800; }
.chy-product__price { margin: 34px 0 23px; color: var(--chy-gold-soft); font: 600 35px/1 Georgia, serif; }
.chy-product__price del { margin-left: 10px; color: rgba(255,255,255,.28); font: 400 15px/1 sans-serif; }

/* Process */
.chy-process { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.chy-process__list { display: grid; gap: 0; }
.chy-step { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 0 0 34px; border-bottom: 1px solid var(--chy-line); margin-bottom: 34px; }
.chy-step:last-child { margin-bottom: 0; }
.chy-step__num { color: var(--chy-gold); font: 600 26px/1 Georgia,serif; }
.chy-step h3 { margin: 0 0 8px; font-size: 22px; }
.chy-step p { margin: 0; color: var(--chy-slate); line-height: 1.8; }

/* Testimonial and insights */
.chy-quote { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.chy-quote::before { content: "“"; display: block; height: 70px; color: rgba(201,168,106,.42); font: 120px/1 Georgia,serif; }
.chy-quote blockquote { margin: 12px 0 28px; color: #fff; font: 500 clamp(28px,4.3vw,52px)/1.45 Georgia,"Songti SC",serif; letter-spacing: -.025em; }
.chy-quote cite { color: var(--chy-gold-soft); font-style: normal; }
.chy-quote small { display: block; margin-top: 6px; color: rgba(255,255,255,.44); }
.chy-insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.chy-insights .wp-block-post-template { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.chy-insights .wp-block-post { overflow: hidden; border: 1px solid var(--chy-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(7,20,33,.05); }
.chy-insights .wp-block-post-featured-image { margin: 0; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,var(--chy-navy),#326174); }
.chy-insights .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.chy-insights .wp-block-post:hover img { transform: scale(1.04); }
.chy-insights .wp-block-post-date { padding: 25px 26px 0; color: var(--chy-gold); font-size: 12px; }
.chy-insights .wp-block-post-title { padding: 0 26px; margin: 12px 0; font-size: 21px; line-height: 1.45; }
.chy-insights .wp-block-post-title a { color: var(--chy-ink); text-decoration: none; }
.chy-insights .wp-block-post-excerpt { padding: 0 26px 24px; color: var(--chy-slate); font-size: 14px; line-height: 1.7; }
.chy-insights .wp-block-post-excerpt__more-link { color: var(--chy-ink); font-weight: 800; }

/* CTA and footer */
.chy-final-cta { position: relative; overflow: hidden; padding: 90px 0; color: #fff; background: linear-gradient(130deg,var(--chy-navy),#16465d); }
.chy-final-cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -190px; border: 1px solid rgba(201,168,106,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(201,168,106,.05),0 0 0 140px rgba(201,168,106,.025); }
.chy-final-cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.chy-final-cta h2 { max-width: 730px; margin: 0; color: #fff; font-size: clamp(34px,4.4vw,58px); line-height: 1.18; letter-spacing: -.04em; }
.chy-footer { padding: 72px 0 30px !important; color: rgba(255,255,255,.62); background: #05101a; }
.chy-footer__grid { width: var(--chy-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 70px; }
.chy-footer h3 { margin: 0 0 18px; color: #fff; font-size: 14px; letter-spacing: .1em; }
.chy-footer p { margin: 20px 0 0; max-width: 430px; font-size: 14px; line-height: 1.8; }
.chy-footer a { display: block; margin: 0 0 11px; color: rgba(255,255,255,.58); font-size: 13px; text-decoration: none; }
.chy-footer a:hover { color: var(--chy-gold-soft); }
.chy-footer__bottom { width: var(--chy-wrap); margin: 54px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.34); font-size: 12px; }

/* WooCommerce */
body.woocommerce:not(.woocommerce-shop) main,
body.woocommerce-page:not(.woocommerce-shop) main { width: var(--chy-wrap); margin-inline: auto; padding-block: 70px 100px; }
.woocommerce .woocommerce-breadcrumb { color: var(--chy-slate); font-size: 12px; }
.woocommerce div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: 100%; float: none; }
.woocommerce div.product div.images img { border-radius: var(--chy-radius); }
.woocommerce div.product div.summary { align-self: center; padding: 44px; border: 1px solid var(--chy-line); border-radius: var(--chy-radius); background: var(--chy-white); box-shadow: var(--chy-shadow); }
.woocommerce div.product .product_title { font-size: clamp(32px,4vw,52px); line-height: 1.18; letter-spacing: -.04em; }
.woocommerce div.product p.price { color: var(--chy-gold); font-size: 30px; }
.woocommerce span.onsale { min-width: auto; min-height: auto; padding: 8px 13px; border-radius: 999px; line-height: 1; background: var(--chy-gold); color: var(--chy-ink); }
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .button,
.wc-block-components-button { min-height: 48px; border-radius: 999px !important; background: var(--chy-ink) !important; color: #fff !important; font-weight: 700 !important; }
.woocommerce .quantity .qty,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input { border: 1px solid var(--chy-line) !important; border-radius: 12px !important; background: #fff !important; }
.woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; }
.single-product main > .wp-block-columns {
  gap: 28px;
  align-items: stretch !important;
}
.single-product main > .wp-block-columns > .wp-block-column:first-child {
  align-self: stretch;
}
.single-product main > .wp-block-columns > .wp-block-column:last-child {
  align-self: stretch;
  padding: 36px;
  border: 1px solid var(--chy-line);
  border-radius: var(--chy-radius);
  background: var(--chy-white);
  box-shadow: var(--chy-shadow);
  box-sizing: border-box;
}
.single-product .wp-block-woocommerce-product-image-gallery,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image img {
  height: 100%;
  min-height: 360px;
  border-radius: var(--chy-radius);
}
.single-product .woocommerce-product-gallery__image img { object-fit: cover; }
.single-product .wp-block-post-title {
  margin-top: 0;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.2;
  letter-spacing: -.04em;
}
.single-product .wp-block-woocommerce-product-price {
  margin: 22px 0;
  color: var(--chy-gold);
  font-size: 30px !important;
}
.single-product .wp-block-post-excerpt__excerpt { color: var(--chy-slate); line-height: 1.8; }
.single-product .wp-block-add-to-cart-form { margin-top: 28px; }
.single-product .wp-block-woocommerce-product-details {
  margin-top: 58px;
  padding: 36px;
  border: 1px solid var(--chy-line);
  border-radius: var(--chy-radius);
  background: var(--chy-white);
}
.wc-block-checkout { gap: 32px; }
.wc-block-checkout__main,
.wc-block-checkout__sidebar { padding: 28px !important; border: 1px solid var(--chy-line); border-radius: var(--chy-radius); background: var(--chy-white); box-sizing: border-box; }
.wc-block-components-radio-control-accordion-option { border-radius: 14px; }
.wc-block-components-order-summary { border-radius: 14px; }
.wc-block-cart-items { border-radius: 18px; overflow: hidden; background: #fff; }

/* Default content */
body:not(.home) .wp-site-blocks > main { min-height: 55vh; }
.wp-block-post-title { letter-spacing: -.035em; }

/* Facebook live plan */
.chy-plan { margin: 0 !important; }
.chy-plan-hero { position: relative; overflow: hidden; min-height: 690px; display: grid; align-items: center; color: #fff; background: radial-gradient(circle at 83% 34%,rgba(57,123,145,.34),transparent 25%),linear-gradient(125deg,#04111c 0%,#0a2638 64%,#123e50 100%); }
.chy-plan-hero::before { content: ""; position: absolute; width: 580px; height: 580px; right: -110px; top: 70px; border: 1px solid rgba(201,168,106,.2); border-radius: 50%; box-shadow: 0 0 0 90px rgba(201,168,106,.04),0 0 0 180px rgba(201,168,106,.02); }
.chy-plan-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .72fr; gap: 90px; align-items: center; padding-block: 110px 120px; }
.chy-plan-hero__copy h1 { max-width: 760px; margin: 0; font-size: clamp(52px,6vw,82px); line-height: 1.08; letter-spacing: -.055em; }
.chy-plan-hero__copy h1 em { color: var(--chy-gold-soft); font: italic 500 .88em/1.2 Georgia,"Songti SC",serif; }
.chy-plan-hero__lead { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.9; }
.chy-plan-hero__meta { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 46px; color: rgba(255,255,255,.56); font-size: 12px; }
.chy-plan-hero__meta span::before { content: "◆"; margin-right: 9px; color: var(--chy-gold); font-size: 8px; }
.chy-plan-hero__panel { position: relative; padding: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.075); backdrop-filter: blur(16px); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.chy-plan-hero__panel > p { margin: 0 0 35px; color: var(--chy-gold-soft); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.chy-plan-hero__panel > strong { display: block; margin: 26px 0 38px; font: 500 29px/1.48 Georgia,"Songti SC",serif; }
.chy-plan-signal { height: 92px; display: flex; align-items: flex-end; gap: 8px; }
.chy-plan-signal i { width: 12px; border-radius: 10px; background: linear-gradient(var(--chy-gold-soft),var(--chy-gold)); animation: chy-signal 1.5s ease-in-out infinite alternate; }
.chy-plan-signal i:nth-child(1) { height: 36%; }.chy-plan-signal i:nth-child(2) { height: 75%; animation-delay: -.6s; }.chy-plan-signal i:nth-child(3) { height: 52%; animation-delay: -.3s; }
.chy-plan-signal b { align-self: center; margin-left: 8px; padding: 7px 11px; border-radius: 999px; color: #fff; background: #df5149; font-size: 10px; letter-spacing: .15em; }
@keyframes chy-signal { to { height: 90%; } }
.chy-plan-hero__panel dl { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); }
.chy-plan-hero__panel dl div { padding-right: 12px; }
.chy-plan-hero__panel dt { color: var(--chy-gold-soft); font: 600 21px/1.2 Georgia,serif; }
.chy-plan-hero__panel dd { margin: 7px 0 0; color: rgba(255,255,255,.45); font-size: 10px; }
.chy-plan-nav { position: sticky; top: 72px; z-index: 20; border-bottom: 1px solid var(--chy-line); background: rgba(255,253,249,.94); backdrop-filter: blur(14px); }
.admin-bar .chy-plan-nav { top: 104px; }
.chy-plan-nav .chy-container { display: flex; justify-content: center; gap: 42px; overflow-x: auto; }
.chy-plan-nav a { flex: 0 0 auto; padding: 18px 0 16px; color: var(--chy-slate); border-bottom: 2px solid transparent; font-size: 13px; text-decoration: none; }
.chy-plan-nav a:hover { color: var(--chy-ink); border-color: var(--chy-gold); }
.chy-plan-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 56px; }
.chy-plan-heading .chy-section-intro { margin: 0; }
.chy-section--ink .chy-plan-heading .chy-section-title { color: #fff; }
.chy-section--ink .chy-plan-heading .chy-section-intro { color: rgba(255,255,255,.58); }
.chy-market-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.chy-market-grid article { min-height: 245px; padding: 34px; border: 1px solid var(--chy-line); border-radius: 20px; background: #fff; transition: .3s ease; }
.chy-market-grid article:hover { transform: translateY(-6px); box-shadow: var(--chy-shadow); }
.chy-market-grid span { color: var(--chy-gold); font: 600 18px/1 Georgia,serif; }
.chy-market-grid h3 { margin: 58px 0 12px; font-size: 23px; }
.chy-market-grid p { margin: 0; color: var(--chy-slate); line-height: 1.8; }
.chy-plan-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.1); }
.chy-plan-capabilities article { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 46px; background: #091a27; }
.chy-plan-capabilities b { color: var(--chy-gold); font: 600 25px/1 Georgia,serif; }
.chy-plan-capabilities h3 { margin: 0 0 12px; color: #fff; font-size: 23px; }
.chy-plan-capabilities p { margin: 0; color: rgba(255,255,255,.55); line-height: 1.85; }
.chy-plan-flow { display: grid; grid-template-columns: .83fr 1.17fr; gap: 90px; }
.chy-plan-flow__intro { position: sticky; top: 155px; align-self: start; }
.chy-plan-flow__intro > p:last-child { color: var(--chy-slate); line-height: 1.9; }
.chy-plan-flow__steps { margin: 0; padding: 0; list-style: none; }
.chy-plan-flow__steps li { display: grid; grid-template-columns: 75px 1fr; gap: 28px; padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--chy-line); }
.chy-plan-flow__steps li:last-child { margin: 0; }
.chy-plan-flow__steps span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(201,168,106,.5); border-radius: 50%; color: var(--chy-gold); font: 600 16px/1 Georgia,serif; }
.chy-plan-flow__steps h3 { margin: 0 0 9px; font-size: 24px; }
.chy-plan-flow__steps p { margin: 0; color: var(--chy-slate); line-height: 1.8; }
.chy-plan-budget { padding: 90px 0; color: #fff; background: linear-gradient(115deg,#12394d,#081a28); }
.chy-plan-budget__grid { display: grid; grid-template-columns: 1fr .95fr; gap: 70px; align-items: center; }
.chy-plan-budget h2 { margin: 0; color: #fff; font-size: clamp(34px,4vw,54px); line-height: 1.15; letter-spacing: -.04em; }
.chy-plan-budget p { max-width: 650px; color: rgba(255,255,255,.66); line-height: 1.9; }
.chy-plan-budget small { display: block; color: rgba(255,255,255,.36); font-size: 11px; line-height: 1.7; }
.chy-plan-budget__cards { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.06); }
.chy-plan-budget__cards article { padding: 36px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.chy-plan-budget__cards article:last-child { border: 0; }
.chy-plan-budget__cards strong { display: block; color: var(--chy-gold-soft); font: 600 25px/1 Georgia,serif; white-space: nowrap; }
.chy-plan-budget__cards span { display: block; margin-top: 12px; color: rgba(255,255,255,.48); font-size: 11px; }
.chy-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.chy-pricing-grid article { position: relative; padding: 34px; border: 1px solid var(--chy-line); border-radius: 22px; background: #fff; }
.chy-pricing-grid article.is-featured { border-color: var(--chy-gold); box-shadow: 0 20px 50px rgba(201,168,106,.18); }
.chy-pricing-grid article > span { color: var(--chy-gold); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.chy-pricing-grid h3 { margin: 14px 0 26px; font-size: 23px; }
.chy-price { display: flex; align-items: baseline; gap: 7px; }
.chy-price strong { font: 600 31px/1 Georgia,"Songti SC",serif; }
.chy-price small { color: var(--chy-slate); }
.chy-pricing-grid p { min-height: 24px; margin: 20px 0 16px; color: var(--chy-slate); }
.chy-pricing-grid ul { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--chy-line); list-style: none; color: var(--chy-slate); font-size: 13px; line-height: 2; }
.chy-pricing-grid li::before { content: "✓"; margin-right: 9px; color: var(--chy-gold); font-weight: 800; }
.chy-pricing-note { margin: 24px 0 0; color: var(--chy-slate); font-size: 12px; text-align: center; }
.chy-site-value { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.chy-site-value .chy-section-title { color: #fff; }
.chy-site-value > div:first-child > p:not(.chy-eyebrow) { margin: 24px 0 32px; color: rgba(255,255,255,.58); line-height: 1.9; }
.chy-site-value__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chy-site-value__list article { min-height: 150px; padding: 27px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.chy-site-value__list b { color: var(--chy-gold); font: 600 15px/1 Georgia,serif; }
.chy-site-value__list h3 { margin: 26px 0 8px; color: #fff; font-size: 18px; }
.chy-site-value__list p { margin: 0; color: rgba(255,255,255,.46); font-size: 13px; line-height: 1.7; }
.chy-plan-final-actions { display: flex; flex: 0 0 auto; gap: 12px; }

@media (max-width: 960px) {
  :root { --chy-wrap: min(100% - 32px, 760px); }
  .chy-header__inner { min-height: 68px; gap: 14px; }
  .chy-header__cta { display: none; }
  .chy-header .wp-block-navigation { order: 4; margin-left: 4px; }
  .chy-header .wp-block-navigation__responsive-container.is-menu-open { padding: 32px; background: var(--chy-ink); }
  .chy-hero { min-height: 720px; background-position: 64% center; }
  .chy-hero::before { background: linear-gradient(90deg,rgba(4,13,22,.95),rgba(4,13,22,.72)); }
  .chy-stats__grid { grid-template-columns: repeat(2,1fr); }
  .chy-stat:nth-child(2) { border-right: 0; }
  .chy-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .chy-services__head,.chy-insights-head,.chy-final-cta__inner { align-items: flex-start; flex-direction: column; }
  .chy-product { grid-template-columns: 1fr; }
  .chy-product__visual { min-height: 430px; }
  .chy-process { grid-template-columns: 1fr; gap: 52px; }
  .chy-insights .wp-block-post-template { grid-template-columns: 1fr 1fr; }
  .chy-footer__grid { grid-template-columns: 1fr 1fr; }
  .chy-footer__about { grid-column: 1 / -1; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce div.product div.summary { padding: 30px; }
  .single-product main > .wp-block-columns { flex-direction: column; }
  .single-product main > .wp-block-columns > .wp-block-column:last-child { padding: 30px; }
  .chy-plan-hero__grid,.chy-plan-flow,.chy-plan-budget__grid,.chy-site-value { grid-template-columns: 1fr; }
  .chy-plan-hero__grid { gap: 48px; }
  .chy-plan-hero__panel { max-width: 620px; }
  .chy-plan-heading { align-items: flex-start; flex-direction: column; }
  .chy-market-grid,.chy-pricing-grid { grid-template-columns: 1fr 1fr; }
  .chy-plan-flow__intro { position: static; }
  .chy-plan-nav { top: 68px; }
}

@media (max-width: 620px) {
  :root { --chy-wrap: calc(100% - 28px); }
  .admin-bar .chy-header { top: 0; }
  .chy-brand__en { display: none; }
  .chy-section { padding: 76px 0; }
  .chy-hero { min-height: 690px; background-position: 69% center; }
  .chy-hero__inner { padding: 82px 0 95px; }
  .chy-hero h1 { font-size: clamp(44px,14vw,66px); }
  .chy-hero__lead { font-size: 16px; }
  .chy-hero__actions { display: grid; }
  .chy-btn { width: 100%; box-sizing: border-box; }
  .chy-hero__trust { gap: 14px; margin-top: 42px; }
  .chy-stats { margin-top: -38px; }
  .chy-stats__grid { grid-template-columns: 1fr 1fr; }
  .chy-stat { padding: 24px 20px; }
  .chy-card-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .chy-service-card { min-height: 0; padding: 28px; }
  .chy-product__visual { min-height: 300px; }
  .chy-product__body { padding: 32px 26px; }
  .chy-insights .wp-block-post-template { grid-template-columns: 1fr; }
.chy-footer__grid { grid-template-columns: 1fr; gap: 38px; }
.chy-footer__about { grid-column: auto; }
.chy-footer__bottom a { display: inline; margin: 0; color: rgba(255,255,255,.55); font-size: 12px; text-decoration: none; }
.chy-footer__bottom a:hover { color: var(--chy-gold-soft); }
  body.woocommerce:not(.woocommerce-shop) main,
  body.woocommerce-page:not(.woocommerce-shop) main { padding-block: 40px 72px; }
  .woocommerce div.product div.summary { padding: 24px; }
  .single-product main > .wp-block-columns > .wp-block-column:last-child { padding: 24px; }
  .single-product .wp-block-woocommerce-product-details { padding: 24px; }
  .wc-block-checkout__main,.wc-block-checkout__sidebar { padding: 18px !important; }
  .chy-plan-hero { min-height: auto; }
  .chy-plan-hero__grid { padding-block: 82px; }
  .chy-plan-hero__copy h1 { font-size: clamp(43px,13vw,62px); }
  .chy-plan-hero__lead { font-size: 16px; }
  .chy-plan-hero__panel { padding: 28px; }
  .chy-plan-hero__panel > strong { font-size: 24px; }
  .chy-plan-nav .chy-container { justify-content: flex-start; gap: 28px; }
  .chy-plan-heading { gap: 22px; margin-bottom: 38px; }
  .chy-market-grid,.chy-plan-capabilities,.chy-pricing-grid,.chy-site-value__list { grid-template-columns: 1fr; }
  .chy-market-grid article { min-height: 0; }
  .chy-market-grid h3 { margin-top: 34px; }
  .chy-plan-capabilities article { padding: 30px 24px; }
  .chy-plan-flow { gap: 48px; }
  .chy-plan-flow__steps li { grid-template-columns: 58px 1fr; gap: 16px; }
  .chy-plan-budget__grid { gap: 40px; }
  .chy-plan-budget__cards { grid-template-columns: 1fr; }
  .chy-plan-budget__cards article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .chy-plan-final-actions { width: 100%; flex-direction: column; }
}
/* ===== Customer Case · 客户案例页 (added 2026-10-15) ===== */
.chy-case-stats { margin: -52px auto 0; }
.chy-case-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; margin-top: 18px; }
.chy-case-story__text p { margin: 0 0 22px; color: var(--chy-slate); font-size: 17px; line-height: 1.95; }
.chy-case-story__text p:last-child { margin-bottom: 0; }
.chy-case-shot { margin: 0; border: 1px solid var(--chy-line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--chy-shadow); }
.chy-case-shot img { display: block; width: 100%; height: auto; }
.chy-case-shot figcaption { padding: 16px 20px; color: var(--chy-slate); font-size: 13px; border-top: 1px solid var(--chy-line); }
.chy-case-shot--brand { max-width: 460px; }
.chy-case-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.chy-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.chy-quote blockquote { margin: 0; color: var(--chy-ink); font: 500 clamp(22px,2.6vw,32px)/1.6 Georgia,"Songti SC",serif; letter-spacing: -.01em; }
.chy-quote__by { margin: 28px 0 0; color: var(--chy-gold); font-size: 14px; font-weight: 700; letter-spacing: .04em; }

@media (max-width: 960px) {
  .chy-case-story__grid { grid-template-columns: 1fr; gap: 40px; }
  .chy-case-shot--brand { max-width: 100%; }
  .chy-case-shots { grid-template-columns: 1fr; }
}


/* ===== Case page mobile responsiveness fix (2026-10-15) ===== */
.chy-case img { max-width: 100%; height: auto; }
.chy-case-shot { min-width: 0; }
.chy-case-shot img { width: 100%; max-width: 100%; height: auto; }
.chy-case-shots { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.chy-case-story__grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
@media (max-width: 960px) {
  .chy-case-shots { grid-template-columns: minmax(0,1fr); }
  .chy-case-story__grid { grid-template-columns: minmax(0,1fr); }
}


/* ===== Restored missing blocks (auth / home products / single article) 2026-10-15 ===== */
/* --- 官方授权模块 --- */
.chy-auth {
  padding: 76px 0;
  background: linear-gradient(135deg, #071421 0%, #12364a 100%);
  color: var(--chy-white);
}
.chy-auth__inner {
  display: grid;
  width: var(--chy-wrap);
  margin: 0 auto;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.chy-auth h2 {
  margin: 0 0 18px;
  color: var(--chy-white);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.chy-auth p { margin: 0 0 16px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.9; }
.chy-auth__facts {
  display: grid;
  margin: 26px 0 30px;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
}
.chy-auth__facts li {
  padding: 15px 18px;
  border: 1px solid rgba(232, 211, 170, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
}
.chy-auth__facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--chy-gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.chy-auth__facts span { font-size: 15px; color: var(--chy-white); }
.chy-auth__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chy-auth__figure {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(232, 211, 170, .3);
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
}
.chy-auth__figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.chy-auth__figure figcaption { margin-top: 12px; text-align: center; color: rgba(255, 255, 255, .6); font-size: 13px; }

/* --- 首页产品列表 --- */
.chy-products-section { padding-bottom: 92px; }
.chy-grid-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.chy-home .woocommerce { width: var(--chy-wrap); margin: 0 auto; }
.chy-home .woocommerce ul.products {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.chy-home .woocommerce ul.products::before,
.chy-home .woocommerce ul.products::after { content: none; display: none; }
.chy-home .woocommerce ul.products li.product {
  display: flex;
  width: auto;
  margin: 0;
  float: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--chy-line);
  border-radius: var(--chy-radius);
  background: var(--chy-white);
  box-shadow: 0 10px 30px rgba(7, 20, 33, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.chy-home .woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--chy-shadow); }
.chy-home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.chy-home .woocommerce ul.products li.product a img {
  margin: 0;
  width: 100%;
  border-radius: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.chy-home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 18px 20px 6px;
  color: var(--chy-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}
.chy-home .woocommerce ul.products li.product .price {
  margin: 0 0 14px;
  padding: 0 20px;
  color: var(--chy-gold);
  font-size: 20px;
  font-weight: 800;
}
.chy-home .woocommerce ul.products li.product .price del { color: var(--chy-slate); font-size: 14px; font-weight: 500; opacity: 1; }
.chy-home .woocommerce ul.products li.product .price ins { text-decoration: none; }
.chy-home .woocommerce ul.products li.product .button {
  margin: auto 20px 20px;
  padding: 0 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--chy-navy);
  color: var(--chy-white);
  font-size: 14px;
  font-weight: 700;
}
.chy-home .woocommerce ul.products li.product .button:hover { background: var(--chy-gold); color: var(--chy-ink); }
.chy-home .woocommerce ul.products li.product .onsale {
  top: 12px;
  right: 12px;
  left: auto;
  min-width: 0;
  min-height: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chy-gold);
  color: var(--chy-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.chy-home .woocommerce ul.products li.product .star-rating { margin: 0 20px 12px; }

@media (max-width: 1100px) {
  .chy-home .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .chy-auth__inner { grid-template-columns: 1fr; gap: 34px; }
  .chy-grid-head { flex-direction: column; align-items: flex-start; }
  .chy-home .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .chy-auth { padding: 56px 0; }
  .chy-auth__facts { grid-template-columns: 1fr; }
  .chy-home .woocommerce ul.products { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.1.1 · 文章（single）版式
   ============================================================ */

.chy-article-main { padding: 64px 0 92px; background: var(--chy-paper); }
.chy-article-wrap { width: min(860px, calc(100vw - 48px)); margin: 0 auto; }
.chy-article-wrap .chy-eyebrow { margin-bottom: 10px; }
.chy-article-title {
  margin: 0 0 18px;
  color: var(--chy-ink);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.chy-article-meta {
  margin-bottom: 34px;
  gap: 10px 22px;
  color: var(--chy-slate);
  font-size: 14px;
}
.chy-article-meta a { color: var(--chy-slate); text-decoration: none; }
.chy-article-meta > * + *::before { content: "·"; margin-right: 18px; color: var(--chy-gold); }
.chy-article-thumb { margin: 0 0 38px; }
.chy-article-thumb img { width: 100%; height: auto; border-radius: var(--chy-radius); }

.chy-article-content { color: #20303c; font-size: 17px; line-height: 1.95; }
.chy-article-content > *:first-child { margin-top: 0; }
.chy-article-content h2 {
  margin: 48px 0 18px;
  color: var(--chy-ink);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.32;
  letter-spacing: -.02em;
}
.chy-article-content h3 { margin: 34px 0 14px; color: var(--chy-ink); font-size: 20px; }
.chy-article-content p { margin: 0 0 20px; }
.chy-article-content ul,
.chy-article-content ol { margin: 0 0 22px; padding-left: 22px; }
.chy-article-content li { margin-bottom: 10px; }
.chy-article-content li::marker { color: var(--chy-gold); }
.chy-article-content img { max-width: 100%; height: auto; border-radius: 16px; }
.chy-article-content figure { margin: 32px 0; }
.chy-article-content a { color: #8a6c2f; text-decoration: underline; text-underline-offset: 3px; }
.chy-article-content strong { color: var(--chy-ink); }
.chy-article-content blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--chy-gold);
  border-radius: 12px;
  background: var(--chy-white);
  color: #33434f;
}
.chy-article-content table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.chy-article-content th,
.chy-article-content td {
  padding: 12px 14px;
  border: 1px solid var(--chy-line);
  text-align: left;
  vertical-align: top;
}
.chy-article-content th { width: 150px; background: rgba(7, 20, 33, .04); color: var(--chy-ink); font-weight: 800; }

.chy-article-cta {
  margin: 38px 0;
  padding: 26px 28px;
  border: 1px solid var(--chy-line);
  border-left: 4px solid var(--chy-gold);
  border-radius: 16px;
  background: var(--chy-white);
  box-shadow: 0 10px 30px rgba(7, 20, 33, .05);
}
.chy-article-cta p:first-child { margin-top: 0; }
.chy-article-cta p:last-child { margin-bottom: 0; }
.chy-article-source {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--chy-line);
  color: var(--chy-slate);
  font-size: 14px;
  line-height: 1.9;
}
.chy-article-tags { margin-top: 36px; color: var(--chy-slate); font-size: 14px; }
.chy-article-tags a { color: var(--chy-slate); text-decoration: none; }
.chy-article-tags a:hover { color: var(--chy-gold); }
.chy-article-back { margin-top: 42px; }
.chy-article-back .wp-block-button__link {
  border-radius: 999px;
  background: var(--chy-navy);
  color: var(--chy-white);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .chy-article-main { padding: 40px 0 64px; }
  .chy-article-meta > * + *::before { display: none; }
  .chy-article-content { font-size: 16px; line-height: 1.9; }
}

/* ===== Mobile nav overlay fix (2026-10-15) ===== */
/* backdrop-filter on .chy-header creates a containing block that traps the
   fixed fullscreen nav overlay inside the 68px header bar; remove it. */
.chy-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
.chy-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--chy-ink) !important;
  color: #fff;
  padding: 72px 32px 48px;
  overflow: auto;
  z-index: 100000;
}
.chy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: rgba(255,255,255,.92) !important;
  font-size: 17px;
  padding: 12px 0;
}
.chy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  color: #fff;
  top: 24px; right: 24px;
}

/* case flip variant (v1.1.5) */
.chy-product--flip .chy-product__visual { order: 2; }
/* hero h1 explicit white (v1.1.6) - global heading color overrides inherited #fff */
.chy-plan-hero__copy h1 { color: #fff; }
.chy-plan-hero__copy h1 em { color: var(--chy-gold-soft); }
