/*
Theme Name: Ryte
Theme URI: https://example.com/ryte
Author: Ryte
Author URI: https://example.com
Description: 匹克球运动鞋品牌 Ryte 的子主题（基于 Twenty Twenty-Five）。浅灰蓝底 + 品牌蓝，首页为全宽 80svh 轮播 + 主推产品卡结构，全部区块可在站点编辑器中编辑；品牌蓝约 20%，按钮默认浅色、hover 主题色。
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.6.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ryte
Template: twentytwentyfive
Tags: block-patterns, block-styles, editor-style, full-site-editing, one-column, custom-colors, translation-ready, wide-blocks, accessibility-ready
*/


/* ============================================================
   Ryte 前台样式
   ============================================================ */

/* ============================================================
   RYTE — 子主题样式（V3 重构）
   · 首页 Hero：横向满铺轮播，高度 80svh，文案移到下一 block
   · 配色：品牌蓝为主（约 20%），搭配同色系柔和浅色；按钮默认浅色、hover 主题色
   ============================================================ */

:root {
	--ryte-bg: #F3F7F9;
	--ryte-surface: #FFFFFF;
	--ryte-ink: #0B2530;
	--ryte-muted: #5A7480;
	--ryte-line: #D9E6EB;
	--ryte-brand: #0085AE;
	--ryte-brand-600: #006E90;
	--ryte-brand-50: #EAF6FA;
	--ryte-brand-300: #6FC4DA;
	--ryte-brand-200: #A6DCEA;
	--ryte-brand-100: #D3EDF4;
	--ryte-gray: #EDF3F5;
	--ryte-dark: #07222C;
	--ryte-radius: 8px;
	--ryte-display: 'Space Grotesk', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ryte-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body:has(.ryte-page) { background: var(--ryte-bg); }

/* ---------- 基础 ---------- */
.ryte-page {
	background: var(--ryte-bg);
	color: var(--ryte-ink);
	font-family: var(--ryte-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow: clip;
}

.ryte-page *,
.ryte-page *::before,
.ryte-page *::after { box-sizing: border-box; }

.ryte-page :where(h1, h2, h3, h4) {
	font-family: var(--ryte-display);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
}

.ryte-page :where(p) { margin: 0; }
.ryte-page :where(a) { text-decoration: none; }
.ryte-page :where(figure) { margin: 0; }
.ryte-page img { max-width: 100%; height: auto; }

.ryte-page :where(.wp-block-group) > * + * { margin-block-start: 0; }

.ryte-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
}

.ryte-section { padding-block: clamp(64px, 8vw, 100px); }
.ryte-page [id] { scroll-margin-top: 96px; }

/* 兼容父主题其它模板 */
.wp-site-blocks > .wp-block-group.is-layout-constrained,
.wp-site-blocks > .wp-block-post-content.is-layout-constrained,
.wp-site-blocks > main.is-layout-constrained {
	padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- 通用：eyebrow / chip / 按钮 ---------- */
.ryte-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ryte-muted);
}

.ryte-chip,
.ryte-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	border-radius: 2px;
	background: var(--ryte-brand);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.ryte-tag { align-self: flex-start; }

.ryte-btn--volt .wp-block-button__link,
.ryte-btn--ghost .wp-block-button__link,
.ryte-btn--brand .wp-block-button__link,
.ryte-btn--outline .wp-block-button__link,
.ryte-btn--light .wp-block-button__link,
.ryte-btn--ghost-light .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 26px;
	border-radius: 4px;
	font-family: var(--ryte-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ryte-btn--volt .wp-block-button__link {
	background: var(--ryte-brand-100);
	color: var(--ryte-brand-600);
	border: 1px solid var(--ryte-brand-100);
}
.ryte-btn--volt .wp-block-button__link:hover { background: var(--ryte-brand); color: #fff; border-color: var(--ryte-brand); transform: translateY(-1px); }

.ryte-btn--ghost .wp-block-button__link {
	background: rgba(211, 237, 244, 0.18);
	color: #fff;
	border: 1px solid var(--ryte-brand-200);
}
.ryte-btn--ghost .wp-block-button__link:hover { background: var(--ryte-brand); color: #fff; border-color: var(--ryte-brand); }

.ryte-btn--brand .wp-block-button__link {
	background: var(--ryte-brand);
	color: #fff;
	border: 1px solid var(--ryte-brand);
}
.ryte-btn--brand .wp-block-button__link:hover { background: var(--ryte-brand-600); border-color: var(--ryte-brand-600); }

.ryte-btn--outline .wp-block-button__link {
	background: transparent;
	color: var(--ryte-ink);
	border: 1px solid rgba(14, 30, 36, 0.28);
}
.ryte-btn--outline .wp-block-button__link:hover { background: var(--ryte-brand); color: #fff; border-color: var(--ryte-brand); }

/* ---------- 页头 ---------- */
.ryte-site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(243, 247, 249, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--ryte-line);
	color: var(--ryte-ink);
	font-family: var(--ryte-body);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* 首页：透明叠在 Hero 上 */
body:has(.ryte-page) .ryte-site-header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background: rgba(228, 234, 237, 0.30);
	border-bottom-color: rgba(255, 255, 255, 0.14);
	color: #fff;
}

body:has(.ryte-page) .ryte-site-header.is-scrolled {
	background: rgba(243, 247, 249, 0.92);
	border-bottom-color: var(--ryte-line);
	color: var(--ryte-ink);
}

body.admin-bar:has(.ryte-page) .ryte-site-header { top: 32px; }

@media (max-width: 782px) {
	body.admin-bar:has(.ryte-page) .ryte-site-header { top: 46px; }
}

.ryte-site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-block: 16px;
}

.ryte-site-header .ryte-site-header__logo {
	font-family: var(--ryte-display);
	font-size: 28px;
	justify-self: start;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	margin: 0;
}

.ryte-site-header__logo a { color: inherit; font: inherit; text-decoration: none; }
.ryte-site-header__logo a::after { content: "."; color: var(--ryte-brand); }

body:has(.ryte-page) .ryte-site-header.is-scrolled .ryte-site-header__logo a::after { color: var(--ryte-brand); }

.ryte-site-nav { display: flex; align-items: center; justify-self: center; gap: 32px; }
.ryte-nav-item { margin: 0; line-height: 1; }

.ryte-nav-item a {
	font-size: 15px;
	font-weight: 500;
	color: inherit;
	opacity: 0.78;
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.ryte-nav-item a:hover { opacity: 1; color: var(--ryte-brand-300); }
body:has(.ryte-page) .ryte-site-header.is-scrolled .ryte-nav-item a:hover { color: var(--ryte-brand); }

.ryte-site-header__actions { margin: 0; justify-self: end; }

.ryte-site-header__actions .wp-block-button { display: inline-flex; }

.ryte-site-header__actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 4px;
	background: var(--ryte-brand-100);
	color: var(--ryte-brand-600);
	border: 1px solid var(--ryte-brand-100);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ryte-site-header__actions .wp-block-button__link:hover {
	background: var(--ryte-brand);
	color: #fff;
	border-color: var(--ryte-brand);
	transform: translateY(-1px);
}

/* ---------- Hero：横向满铺轮播 ---------- */
.ryte-hero {
	position: relative;
	width: 100%;
	height: 80svh;
	min-height: 620px;
	overflow: visible;
	background: var(--ryte-dark);
}

.ryte-hero .ryte-carousel {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	margin: 0;
	border-radius: 0;
}

.ryte-hero .ryte-carousel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(4, 14, 18, 0.62) 0%, rgba(4, 14, 18, 0.04) 34%, rgba(4, 14, 18, 0.06) 58%, rgba(4, 14, 18, 0.82) 100%),
		linear-gradient(90deg, rgba(4, 14, 18, 0.55) 0%, rgba(4, 14, 18, 0.08) 52%, rgba(4, 14, 18, 0) 100%);
}

.ryte-hero .ryte-carousel__frame,
.ryte-hero .ryte-carousel__track { height: 100%; }

.ryte-hero .ryte-carousel__track { border-radius: 0; background: #000; }

.ryte-hero .ryte-slide { height: 100%; aspect-ratio: auto; }

.ryte-hero .ryte-slide img,
.ryte-hero .ryte-slide video { width: 100%; height: 100%; object-fit: cover; }

/* 每张幻灯片左下角的标题 / 说明 / 按钮叠层 */
.ryte-hero .ryte-slide__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}

.ryte-hero .ryte-slide__media img,
.ryte-hero .ryte-slide__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ryte-hero .ryte-slide__content {
	position: absolute;
	left: clamp(20px, 4vw, 56px);
	bottom: clamp(20px, 4vw, 56px);
	z-index: 4;
	width: min(660px, calc(100% - 40px));
	max-width: calc(100% - 40px);
	color: #fff;
}

.ryte-hero .ryte-slide__title {
	max-width: 720px;
	margin: 0 0 12px;
	font-family: var(--ryte-display);
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 700;
	line-height: 0.96;
	letter-spacing: -0.045em;
	color: #fff;
	text-wrap: balance;
}

.ryte-hero .ryte-slide__desc {
	max-width: 520px;
	margin: 0 0 20px;
	font-size: clamp(14px, 1.1vw, 16px);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.80);
}

.ryte-hero .ryte-slide__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.ryte-hero .ryte-slide__tag {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-family: var(--ryte-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ryte-hero .ryte-slide__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.ryte-hero .ryte-slide__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 4px;
	border: 1px solid var(--ryte-brand-100);
	background: var(--ryte-brand-100);
	color: var(--ryte-brand-600);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ryte-hero .ryte-slide__cta .wp-block-button__link:hover {
	background: var(--ryte-brand);
	border-color: var(--ryte-brand);
	color: #fff;
	transform: translateY(-1px);
}

.ryte-hero .ryte-carousel:not(.is-ready) > * { height: 100%; }
.ryte-hero .ryte-carousel:not(.is-ready) > * img,
.ryte-hero .ryte-carousel:not(.is-ready) > * video { width: 100%; height: 100%; object-fit: cover; }

.ryte-hero .ryte-carousel__arrow {
	z-index: 4;
	width: 48px;
	height: 48px;
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(8, 22, 28, 0.26);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ryte-hero .ryte-carousel__arrow:hover { background: var(--ryte-brand); border-color: var(--ryte-brand); color: #fff; }

.ryte-hero .ryte-carousel__arrow--prev { left: clamp(16px, 2.4vw, 32px); }
.ryte-hero .ryte-carousel__arrow--next { right: clamp(16px, 2.4vw, 32px); }

.ryte-hero .ryte-carousel__dots {
	left: auto;
	right: clamp(20px, 4vw, 56px);
	bottom: clamp(20px, 4vw, 56px);
	transform: none;
	z-index: 4;
}

.ryte-hero .ryte-carousel__dot { background: rgba(255, 255, 255, 0.55); }
.ryte-hero .ryte-carousel__dot.is-active { background: var(--ryte-brand-300); }

.ryte-hero__actions {
	position: absolute;
	left: clamp(20px, 4vw, 56px);
	bottom: clamp(20px, 4vw, 56px);
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	max-width: calc(100% - clamp(40px, 8vw, 112px));
}

.ryte-hero__badge {
	position: absolute;
	right: clamp(20px, 4vw, 56px);
	top: clamp(96px, 14vh, 136px);
	z-index: 5;
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.ryte-hero__badge b { color: var(--ryte-brand-300); font-weight: 600; }

/* ---------- 下一 block：产品卡 + 文案 ---------- */
.ryte-feature {
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--ryte-bg);
}

.ryte-feature__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.ryte-feature__grid > .wp-block-column { min-width: 0; }

.ryte-product {
	background: var(--ryte-surface);
	border: 1px solid var(--ryte-line);
	border-radius: var(--ryte-radius);
	overflow: hidden;
}

.ryte-product__media {
	position: relative;
	aspect-ratio: 4 / 3.2;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	background: linear-gradient(135deg, #0B2530 0%, #006E90 100%);
}

.ryte-product__media::before {
	content: "01";
	position: absolute;
	right: 16px;
	bottom: 4px;
	font-family: var(--ryte-display);
	font-size: clamp(110px, 12vw, 160px);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.14);
	pointer-events: none;
}

.ryte-product__media::after {
	content: "";
	position: absolute;
	left: 24px;
	bottom: 0;
	z-index: 2;
	width: 64px;
	height: 3px;
	background: var(--ryte-brand);
}

.ryte-product__mark {
	position: relative;
	z-index: 1;
	font-family: var(--ryte-display);
	font-size: clamp(40px, 4.2vw, 64px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: #fff;
}

.ryte-product__media .ryte-tag { position: relative; z-index: 2; }

.ryte-product__image,
.ryte-card__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.ryte-product__image img,
.ryte-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ryte-product__image::after,
.ryte-card__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 14, 18, 0) 32%, rgba(4, 14, 18, 0.65) 100%);
	pointer-events: none;
}

.ryte-product__body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ryte-product__body h4 { font-size: 22px; letter-spacing: -0.01em; }
.ryte-product__body p { font-size: 13px; line-height: 1.6; color: var(--ryte-muted); }

.ryte-product__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ryte-product__price {
	font-family: var(--ryte-display);
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}

.ryte-product__price i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ryte-muted); }

.ryte-product__link { margin: 0; font-size: 12px; font-weight: 700; }
.ryte-product__link a { color: var(--ryte-brand-600); }
.ryte-product__link a:hover { color: var(--ryte-brand); }

.ryte-copy { max-width: 680px; }

.ryte-copy__title {
	margin-top: 18px;
	font-size: clamp(46px, 6vw, 92px);
	line-height: 0.92;
	letter-spacing: -0.04em;
	color: var(--ryte-ink);
}

.ryte-copy__title span { color: var(--ryte-brand); box-shadow: inset 0 -0.12em 0 0 var(--ryte-brand-100); }

.ryte-copy__sub {
	margin-top: 22px;
	max-width: 520px;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.75;
	color: var(--ryte-muted);
}

.ryte-copy__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 26px;
	margin-top: 30px;
}

.ryte-link { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.ryte-link a {
	color: var(--ryte-brand);
	border-bottom: 2px solid var(--ryte-brand-100);
	padding-bottom: 4px;
}

.ryte-link a:hover { color: var(--ryte-ink); }

.ryte-link--muted a {
	color: var(--ryte-muted);
	border-bottom-color: var(--ryte-line);
}

/* ---------- Ticker ---------- */
.ryte-ticker {
	background: var(--ryte-brand);
	color: #fff;
	height: 46px;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding-left: 24px;
}

.ryte-ticker__track {
	display: flex;
	align-items: center;
	gap: 24px;
	width: max-content !important;
	white-space: nowrap;
	animation: ryte-marquee 30s linear infinite;
}

.ryte-ticker__item,
.ryte-ticker__dot {
	flex: 0 0 auto;
	white-space: nowrap;
}

.ryte-ticker__track p { margin: 0; }

.ryte-ticker__item {
	font-family: var(--ryte-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
}

.ryte-ticker__dot { color: var(--ryte-brand-200); font-size: 10px; line-height: 1; }

@keyframes ryte-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.ryte-ticker__track { animation: none; }
}

/* ---------- 数据条 ---------- */
.ryte-stats {
	background: var(--ryte-surface);
	border-bottom: 1px solid var(--ryte-line);
	padding-block: 36px;
}

.ryte-stats__grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	counter-reset: ryte-stat;
}

.ryte-stats__grid > .wp-block-column {
	counter-increment: ryte-stat;
	padding-left: 24px;
	border-left: 1px solid var(--ryte-line);
}

.ryte-stats__grid > .wp-block-column:first-child { border-left: 0; padding-left: 0; }

.ryte-stats__grid > .wp-block-column::before {
	content: "0" counter(ryte-stat);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 2px;
	background: var(--ryte-brand);
	color: #fff;
	font-family: var(--ryte-display);
	font-size: 10px;
	font-weight: 700;
}

.ryte-stat__num {
	margin-top: 14px;
	font-family: var(--ryte-display);
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ryte-brand);
}

.ryte-stat__label {
	margin-top: 8px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--ryte-muted);
}

/* ---------- 系列产品 ---------- */
.ryte-collection { background: var(--ryte-bg); }

.ryte-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.ryte-section-head__title { margin: 0; }

.ryte-title {
	margin-top: 14px;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.04;
}

.ryte-lede { max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--ryte-muted); }

.ryte-cards {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: ryte-card;
}

.ryte-cards > .wp-block-column { min-width: 0; }

.ryte-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ryte-surface);
	border: 1px solid var(--ryte-line);
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	counter-increment: ryte-card;
}

.ryte-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(14, 30, 36, 0.09); }

.ryte-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px;
	overflow: hidden;
}

.ryte-card__media::before {
	content: "0" counter(ryte-card);
	position: absolute;
	right: 14px;
	bottom: 4px;
	font-family: var(--ryte-display);
	font-size: clamp(90px, 10vw, 130px);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.14);
	pointer-events: none;
}

.ryte-media-c .ryte-card__media::before,
.ryte-card__media.ryte-media-c::before { color: rgba(255, 255, 255, 0.16); }

.ryte-card__media::after {
	content: "";
	position: absolute;
	left: 20px;
	bottom: 0;
	z-index: 2;
	width: 56px;
	height: 3px;
	background: var(--ryte-brand);
}

.ryte-media-a { background: linear-gradient(135deg, #0B2530, #006E90); color: #fff; }
.ryte-media-b { background: linear-gradient(135deg, #0B2530, #5A7480); color: #fff; }
.ryte-media-c { background: linear-gradient(135deg, var(--ryte-brand), var(--ryte-brand-600)); color: #fff; }

.ryte-card__index {
	margin: 0;
	padding: 3px 7px;
	align-self: flex-start;
	border-radius: 2px;
	background: var(--ryte-brand);
	color: #fff;
	font-family: var(--ryte-display);
	font-size: 11px;
	font-weight: 700;
	position: relative;
	z-index: 1;
}

.ryte-card__name {
	position: relative;
	z-index: 1;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0;
}

.ryte-card__name { color: #fff; }

.ryte-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ryte-card__title { font-size: 19px; letter-spacing: -0.01em; margin: 0; }
.ryte-card__desc { font-size: 13px; line-height: 1.6; color: var(--ryte-muted); margin: 0; }

.ryte-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	gap: 12px;
}

.ryte-card__price { margin: 0; font-family: var(--ryte-display); font-size: 16px; font-weight: 600; }
.ryte-card__price-cny { font-size: 11px; font-weight: 400; color: var(--ryte-muted); }

.ryte-card__link { margin: 0; font-size: 12px; font-weight: 700; }
.ryte-card__link a { color: var(--ryte-brand-600); }
.ryte-card__link a:hover { color: var(--ryte-brand); }

/* ---------- 科技 ---------- */
.ryte-tech { background: var(--ryte-brand-50); }

.ryte-tech__panel { background: transparent; color: var(--ryte-ink); padding: 0; border-radius: 0; }

.ryte-tech__panel .ryte-eyebrow { color: var(--ryte-muted); }
.ryte-tech__panel .ryte-title { color: var(--ryte-ink); }

.ryte-tech__grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 36px);
	margin-top: clamp(28px, 3vw, 40px);
}

.ryte-tech__grid > .wp-block-column { min-width: 0; }

.ryte-tech-item { padding-top: 20px; border-top: 2px solid var(--ryte-brand-600); display: flex; flex-direction: column; }

.ryte-tech-item__num {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--ryte-muted);
}

.ryte-tech-item h3 { margin: 14px 0 10px; font-size: clamp(19px, 1.9vw, 23px); color: var(--ryte-ink); }
.ryte-tech-item p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ryte-muted); max-width: 320px; }

/* ---------- 宣言 ---------- */
.ryte-quote-section { background: var(--ryte-surface); padding-block: clamp(80px, 11vw, 140px); }

.ryte-quote__text {
	margin: 0 auto;
	max-width: 920px;
	font-family: var(--ryte-display);
	font-size: clamp(28px, 4.6vw, 60px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-align: center;
}

.ryte-quote__text .ryte-accent { color: var(--ryte-brand); box-shadow: inset 0 -0.16em 0 0 var(--ryte-brand-100); }
.ryte-quote__cite { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ryte-muted); }

/* ---------- 评价 ---------- */
.ryte-testimonials { background: var(--ryte-gray); padding-block: clamp(64px, 8vw, 96px); }

.ryte-quotes {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: clamp(28px, 4vw, 40px);
}

.ryte-quotes > .wp-block-column { min-width: 0; }

.ryte-quote-card { height: 100%; background: var(--ryte-surface); border: 1px solid var(--ryte-line); border-radius: 6px; padding: 28px; }
.ryte-quote-card__stars { margin: 0 0 16px; font-size: 14px; letter-spacing: 3px; color: var(--ryte-brand); }
.ryte-quote-card__text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ryte-ink); }
.ryte-quote-card__author { margin-top: 18px; font-size: 12px; color: var(--ryte-muted); }

/* ---------- CTA ---------- */
.ryte-cta { background: var(--ryte-bg); }

.ryte-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	padding: clamp(32px, 5vw, 52px);
	background: var(--ryte-brand-50);
	border: 1px solid var(--ryte-line);
	border-radius: var(--ryte-radius);
}

.ryte-cta__copy { max-width: 640px; }

.ryte-inner h2 { margin-top: 14px; font-size: clamp(26px, 3.4vw, 40px); color: var(--ryte-ink); }
.ryte-inner p { margin-top: 10px; max-width: 460px; font-size: 14px; line-height: 1.7; color: var(--ryte-muted); }
.ryte-inner .ryte-eyebrow { color: var(--ryte-muted); }

.ryte-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

.ryte-btn--light .wp-block-button__link { background: var(--ryte-brand-100); color: var(--ryte-brand-600); border: 1px solid var(--ryte-brand-100); }
.ryte-btn--light .wp-block-button__link:hover { background: var(--ryte-brand); color: #fff; border-color: var(--ryte-brand); }

.ryte-btn--ghost-light .wp-block-button__link { background: var(--ryte-surface); color: var(--ryte-brand-600); border: 1px solid var(--ryte-brand-100); }
.ryte-btn--ghost-light .wp-block-button__link:hover { background: var(--ryte-brand); color: #fff; border-color: var(--ryte-brand); }

/* ---------- 页脚 ---------- */
.ryte-footer {
	background: var(--ryte-dark);
	color: #fff;
	border-top: 2px solid var(--ryte-brand);
	padding-top: clamp(44px, 5vw, 64px);
	font-family: var(--ryte-body);
}

.ryte-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: clamp(32px, 4vw, 44px);
}

.ryte-footer .ryte-footer__logo { font-family: var(--ryte-display); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; margin: 0; }
.ryte-footer__logo a { color: #fff; font: inherit; text-decoration: none; }
.ryte-footer__logo a::after { content: "."; color: var(--ryte-brand-300); }

.ryte-footer__tag { margin-top: 12px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }

.ryte-footer__col-title { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ryte-brand-300); }
.ryte-footer__col p { margin: 0 0 9px; }
.ryte-footer__col p:last-child { margin-bottom: 0; }
.ryte-footer__col a { font-size: 13px; color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s ease; }
.ryte-footer__col a:hover { color: #fff; }

.ryte-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 20px;
}

.ryte-footer__copy { margin: 0; justify-self: start; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.ryte-footer__icp {
	margin: 0;
	justify-self: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}

.ryte-footer__icp a { color: inherit; text-decoration: none; }
.ryte-footer__icp a:hover { color: #fff; }

.ryte-footer__legal { display: flex; justify-self: end; gap: 18px; }
.ryte-footer__legal p { margin: 0; }
.ryte-footer__legal a { font-size: 12px; color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.ryte-footer__legal a:hover { color: #fff; }

/* ---------- 轮播基础 ---------- */
.ryte-carousel { position: relative; width: 100%; margin: 0; }
.ryte-carousel figure { margin: 0; }

.ryte-carousel:not(.is-ready) {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ryte-carousel:not(.is-ready) > * { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }

.ryte-carousel__frame { position: relative; }

.ryte-carousel__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ryte-carousel__track::-webkit-scrollbar { display: none; }

.ryte-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	position: relative;
	margin: 0;
	overflow: hidden;
}

.ryte-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(8, 22, 28, 0.32);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.ryte-carousel__arrow:hover { background: var(--ryte-brand); border-color: var(--ryte-brand); }
.ryte-carousel__arrow svg { width: 18px; height: 18px; }
.ryte-carousel__arrow--prev { left: 18px; }
.ryte-carousel__arrow--next { right: 18px; }

.ryte-carousel__dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ryte-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.ryte-carousel__dot.is-active { width: 22px; border-radius: 4px; background: var(--ryte-brand); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
	.ryte-site-nav { display: none; }

	.ryte-feature__grid { grid-template-columns: 1fr; gap: 32px; }
	.ryte-copy { max-width: none; }

	.ryte-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.ryte-stats__grid > .wp-block-column:nth-child(3) { border-left: 0; padding-left: 0; }

	.ryte-cards { grid-template-columns: 1fr; }
	.ryte-tech__grid { grid-template-columns: 1fr; gap: 28px; }
	.ryte-quotes { grid-template-columns: 1fr; }

	.ryte-footer__grid { grid-template-columns: 1fr 1fr; }
	.ryte-footer__brand { grid-column: 1 / -1; }

	.ryte-inner { align-items: flex-start; }
}

@media (max-width: 560px) {
	.ryte-site-header__inner { grid-template-columns: 1fr auto; padding-block: 14px; }
	.ryte-site-header .ryte-site-header__logo { font-size: 24px; }
	.ryte-site-header__actions { grid-column: 2; }

	.ryte-hero { min-height: 620px; }

	.ryte-hero__actions {
		left: 20px;
		bottom: 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		max-width: calc(100% - 40px);
	}
	.ryte-hero .ryte-slide__content {
		left: 20px;
		bottom: 20px;
		width: calc(100% - 40px);
		max-width: calc(100% - 40px);
	}

	.ryte-hero .ryte-slide__title {
		margin-bottom: 10px;
		font-size: clamp(30px, 8vw, 40px);
		line-height: 1.0;
	}

	.ryte-hero .ryte-slide__desc {
		margin-bottom: 14px;
		font-size: 13px;
		line-height: 1.55;
	}

	.ryte-hero .ryte-slide__meta { gap: 10px; }

	.ryte-hero .ryte-slide__tag {
		padding: 8px 11px;
		font-size: 9.5px;
	}

	.ryte-hero .ryte-slide__cta .wp-block-button__link {
		padding: 12px 18px;
		font-size: 11px;
	}

	.ryte-hero__badge { display: none; }
	.ryte-hero .ryte-carousel__dots { display: none; }
	.ryte-hero .ryte-carousel__arrow { width: 40px; height: 40px; }
	.ryte-hero .ryte-carousel__arrow--prev { left: 10px; }
	.ryte-hero .ryte-carousel__arrow--next { right: 10px; }

	.ryte-stats__grid { grid-template-columns: 1fr 1fr; }
	.ryte-stats__grid > .wp-block-column { padding-left: 16px; }
	.ryte-stat__num { font-size: 28px; }

	.ryte-cards { grid-template-columns: 1fr; }
	.ryte-title { font-size: clamp(28px, 8vw, 40px); }

	.ryte-copy__title { font-size: clamp(42px, 11vw, 56px); }
	.ryte-product__media { aspect-ratio: 4 / 3; }

	.ryte-quote__text { font-size: 26px; }

	.ryte-cta__actions { width: 100%; flex-direction: column; }
	.ryte-cta__actions .wp-block-button,
	.ryte-cta__actions .wp-block-button__link { width: 100%; }

	.ryte-footer__grid { grid-template-columns: 1fr; }
	.ryte-footer__bottom {
		grid-template-columns: 1fr;
		align-items: flex-start;
		gap: 8px;
	}

	.ryte-footer__copy,
	.ryte-footer__icp,
	.ryte-footer__legal { justify-self: start; }
}
