/* ==========================================================================
   Shop Child · 首页模块（短代码见 inc/shortcodes.php，内容见 design/home.php）
   ========================================================================== */

.nr-wide-page article > .entry-content { --theme-content-spacing: 0; max-width: none; margin: 0; }
:where(.nr-wide-page article > .entry-content) > * { max-width: none; margin-block: 0; }
.nr-wide-page article > .entry-content > .alignfull { margin-inline: 0; width: 100%; }

.nr-section {
	max-width: var(--theme-normal-container-max-width, 1320px);
	margin: 0 auto !important;
	padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 40px) 0;
}

/* 区块标题 */
.nr-section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.nr-section-head.is-center { text-align: center; }
.nr-section-head.is-center .nr-section-text { margin-inline: auto; }
.nr-section-head.is-split {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	column-gap: 24px;
}
.nr-section-head.is-split .nr-eyebrow, .nr-section-head.is-split .nr-section-title { grid-column: 1; }
.nr-section-head.is-split .nr-link-arrow { grid-column: 2; grid-row: 1 / span 2; }
.nr-section-title {
	--theme-font-size: clamp(36px, 4vw, 58px);
	--theme-line-height: 1.05;
	margin: 0;
}
.nr-section-title em, .nr-hero-title em, .nr-split-title em { font-style: italic; color: var(--nr-gold-dark); }
.nr-section-text { max-width: 520px; margin: 16px 0 0; color: var(--nr-muted); }
.nr-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--nr-ink);
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--nr-ink);
	transition: color .3s var(--nr-ease), border-color .3s var(--nr-ease), gap .3s var(--nr-ease);
}
.nr-link-arrow::after { content: "→"; font-size: 14px; letter-spacing: 0; }
.nr-link-arrow:hover { color: var(--nr-gold-dark); border-color: var(--nr-gold-dark); gap: 18px; }

.nr-img-empty { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--nr-ivory-deep), var(--nr-blush)); }

/* ---- 1. 主 Banner ---- */
.nr-hero {
	position: relative;
	display: grid;
	min-height: min(88vh, 860px);
	overflow: hidden;
	background: var(--nr-ink);
	color: var(--nr-white);
}
.nr-hero-media, .nr-hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nr-hero-media img { animation: nr-kenburns 14s var(--nr-ease) both; }
@keyframes nr-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.nr-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 20, 20, .72) 0%, rgba(20, 20, 20, .38) 45%, rgba(20, 20, 20, .05) 80%),
		linear-gradient(0deg, rgba(20, 20, 20, .45) 0%, rgba(20, 20, 20, 0) 50%);
}
.nr-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	width: 100%;
	max-width: var(--theme-normal-container-max-width, 1320px);
	margin: 0 auto;
	padding: clamp(40px, 7vw, 96px) clamp(20px, 4vw, 40px);
}
.nr-hero-copy { max-width: 620px; text-shadow: 0 2px 24px rgba(20, 20, 20, .35); }
.nr-hero .nr-eyebrow { color: var(--nr-gold); }
.nr-hero-title {
	--theme-font-size: clamp(52px, 7.2vw, 108px);
	--theme-line-height: .95;
	margin: 0 0 22px;
	color: var(--nr-white) !important;
	font-weight: 500;
	letter-spacing: -.005em;
}
.nr-hero .nr-hero-title em { color: var(--nr-blush); }
.nr-hero-text { max-width: 440px; margin: 0 0 34px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .88); }

/* ---- 2. 走马灯 ---- */
.nr-marquee {
	overflow: hidden;
	padding: 18px 0;
	background: var(--nr-ivory-deep);
	border-bottom: 1px solid var(--nr-line);
}
.nr-marquee-track { display: flex; width: max-content; animation: nr-marquee 42s linear infinite; }
.nr-marquee:hover .nr-marquee-track { animation-play-state: paused; }
.nr-marquee-group { display: flex; align-items: center; flex: none; }
.nr-marquee span {
	padding: 0 28px;
	font-family: var(--nr-serif);
	font-size: 22px;
	font-style: italic;
	color: var(--nr-ink);
	white-space: nowrap;
}
.nr-marquee i { font-style: normal; font-size: 10px; color: var(--nr-gold); }
@keyframes nr-marquee { to { transform: translateX(-50%); } }

/* ---- 3. 按形状选购 ---- */
.nr-shapes-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
}
.nr-shape-card { display: block; text-decoration: none; color: var(--nr-ink); }
.nr-shape-media {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--nr-ivory-deep);
}
.nr-shape-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--nr-ease); }
.nr-shape-card:hover .nr-shape-media img { transform: scale(1.05); }
.nr-shape-name {
	display: block;
	font-family: var(--nr-serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.1;
}
.nr-shape-count { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--nr-muted); }
@media (max-width: 899px) {
	.nr-shapes-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 42%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 12px;
	}
	.nr-shape-card { scroll-snap-align: start; }
}

/* ---- 4. 精选：左大图 + 右 2×2 商品 ---- */
.nr-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.nr-feature-media { position: sticky; top: 170px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nr-ivory-deep); }
.nr-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.nr-feature-body .woocommerce { margin: 0; }
.nr-feature-body [data-products] { --grid-columns-gap: 24px; }
@media (max-width: 999px) {
	.nr-feature { grid-template-columns: 1fr; }
	.nr-feature-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
}

/* ---- 5. 品牌故事：图文分栏 ---- */
.nr-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: clamp(72px, 9vw, 128px) !important;
	background: var(--nr-white);
}
.nr-split.is-reverse .nr-split-media { order: 2; }
.nr-split-media { min-height: 560px; overflow: hidden; }
.nr-split-media img { width: 100%; height: 100%; object-fit: cover; }
.nr-split-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(48px, 7vw, 120px);
}
.nr-split-title { --theme-font-size: clamp(44px, 5vw, 76px); --theme-line-height: 1; margin: 0 0 26px; }
.nr-split-body p { max-width: 460px; margin: 0 0 36px; font-size: 17px; line-height: 1.85; }
@media (max-width: 899px) {
	.nr-split { grid-template-columns: 1fr; }
	.nr-split.is-reverse .nr-split-media { order: 0; }
	.nr-split-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---- 6. 新品：横向滑动 ---- */
.nr-rail-track { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--nr-ink) var(--nr-line); padding-bottom: 18px; }
.nr-rail-track .woocommerce { margin: 0; }
.nr-rail-track [data-products] {
	display: grid !important;
	grid-auto-flow: column;
	grid-template-columns: none !important;
	grid-auto-columns: calc((100% - 3 * 24px) / 4);
	gap: 24px !important;
	scroll-snap-type: x mandatory;
}
.nr-rail-track [data-products] > li { scroll-snap-align: start; }
@media (max-width: 999px) { .nr-rail-track [data-products] { grid-auto-columns: 40%; } }
@media (max-width: 599px) { .nr-rail-track [data-products] { grid-auto-columns: 68%; } }

/* ---- 7. Lookbook：拼贴 ---- */
.nr-lookbook-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: clamp(12px, 1.6vw, 24px);
	height: min(84vh, 820px);
}
.nr-look { position: relative; display: block; overflow: hidden; background: var(--nr-ivory-deep); }
.nr-look-1 { grid-row: 1 / span 2; }
.nr-look-4 { grid-column: 2 / span 2; }
.nr-look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--nr-ease); }
.nr-look:hover img { transform: scale(1.05); }
.nr-look::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 20, .45), rgba(20, 20, 20, 0) 45%); }
.nr-look-caption {
	position: absolute;
	left: 24px;
	bottom: 20px;
	z-index: 1;
	font-family: var(--nr-serif);
	font-size: clamp(22px, 2vw, 30px);
	font-style: italic;
	color: var(--nr-white);
}
@media (max-width: 799px) {
	.nr-lookbook-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
	.nr-look { aspect-ratio: 3 / 4; }
	.nr-look-1, .nr-look-4 { grid-row: auto; grid-column: auto; }
}

/* ---- 8. 顾客评价 ---- */
.nr-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}
.nr-review-card { margin: 0; background: var(--nr-white); display: flex; flex-direction: column; }
.nr-review-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.nr-review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--nr-ease); }
.nr-review-card:hover .nr-review-photo img { transform: scale(1.04); }
.nr-review-card figcaption { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.nr-stars { color: var(--nr-gold); letter-spacing: .2em; font-size: 12px; }
.nr-review-title {
	margin: 14px 0 0;
	font-family: var(--nr-serif);
	font-size: 22px;
	font-style: italic;
	line-height: 1.25;
	color: var(--nr-ink);
}
.nr-review-card blockquote {
	flex: 1;
	margin: 10px 0 22px;
	padding: 0;
	border: 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--nr-text);
}
.nr-review-card cite { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--nr-muted); }
.nr-review-card cite a { color: var(--nr-ink); text-decoration: none; border-bottom: 1px solid var(--nr-gold); }
@media (max-width: 999px) { .nr-reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
	.nr-reviews-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; }
	.nr-review-card { scroll-snap-align: start; }
}

/* ---- 9. 服务保障 ---- */
.nr-usp {
	margin-top: clamp(72px, 9vw, 128px) !important;
	border-top: 1px solid var(--nr-line);
	background: var(--nr-ivory);
}
.nr-usp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: var(--theme-normal-container-max-width, 1320px);
	margin: 0 auto;
	padding: 56px clamp(20px, 4vw, 40px);
}
.nr-usp-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0 20px;
	text-align: center;
	border-left: 1px solid var(--nr-line);
}
.nr-usp-item:first-child { border-left: 0; }
.nr-usp-item svg { color: var(--nr-gold-dark); margin-bottom: 8px; }
.nr-usp-item strong { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--nr-ink); }
.nr-usp-item span { font-size: 14px; color: var(--nr-muted); }
@media (max-width: 799px) {
	.nr-usp-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
	.nr-usp-item:nth-child(3) { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.nr-marquee-track { animation: none; }
	.nr-hero-media img { animation: none; }
}

/* ==========================================================================
   独立评论页 /reviews/（短代码 nr_reviews_page）
   ========================================================================== */
.nr-rv { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 128px); }
.nr-rv-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.nr-rv-heading { --theme-font-size: clamp(44px, 5.4vw, 76px); --theme-line-height: 1; margin: 0 0 28px; }
.nr-rv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nr-rv-score strong { font-family: var(--nr-serif); font-size: 64px; font-weight: 500; line-height: .9; color: var(--nr-ink); }
.nr-rv-score .nr-stars { font-size: 15px; }
.nr-rv-score > span:last-child { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--nr-muted); }
.nr-rv-note { margin: 18px auto 0; font-size: 14px; color: var(--nr-muted); }
.nr-rv-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.nr-rv-filter button {
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--nr-line);
	background: var(--nr-white);
	color: var(--nr-text);
	font-family: var(--nr-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color .3s var(--nr-ease), background-color .3s var(--nr-ease), color .3s var(--nr-ease);
}
.nr-rv-filter button:hover { border-color: var(--nr-ink); color: var(--nr-ink); }
.nr-rv-filter button.is-active { background: var(--nr-ink); border-color: var(--nr-ink); color: var(--nr-white); }

/* 瀑布流 */
.nr-rv-grid { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.nr-rv-grid[data-filter="photo"] .nr-rv-card[data-has-photo="0"],
.nr-rv-grid[data-filter="text"] .nr-rv-card[data-has-photo="1"] { display: none; }
.nr-rv-card {
	break-inside: avoid;
	margin: 0 0 clamp(16px, 2vw, 28px);
	background: var(--nr-white);
}
.nr-rv-photos { display: grid; gap: 2px; }
.nr-rv-photos.is-2 { grid-template-columns: 1fr 1fr; }
.nr-rv-photos.is-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.nr-rv-photos.is-3 a:first-child { grid-row: 1 / span 2; }
.nr-rv-photos a { display: block; overflow: hidden; }
.nr-rv-photos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 1s var(--nr-ease); }
.nr-rv-photos.is-1 img { aspect-ratio: 4 / 4.4; }
.nr-rv-photos.is-3 a:not(:first-child) img { aspect-ratio: auto; }
.nr-rv-photos a:hover img { transform: scale(1.04); }
.nr-rv-body { padding: 24px 26px 26px; }
.nr-rv-body .nr-stars { font-size: 12px; }
.nr-rv-title {
	--theme-font-size: 23px;
	--theme-line-height: 1.25;
	margin: 10px 0 0;
	font-style: italic;
}
.nr-rv-text { margin: 10px 0 18px; font-size: 14.5px; line-height: 1.75; color: var(--nr-text); }
.nr-rv-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 18px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nr-muted);
}
.nr-rv-meta strong { color: var(--nr-ink); font-weight: 500; }
.nr-rv-verified { color: var(--nr-gold-dark); }
.nr-rv-verified::before { content: "✓ "; }
.nr-rv-meta time { margin-left: auto; letter-spacing: .08em; }
.nr-rv-product {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--nr-line);
	text-decoration: none;
	color: var(--nr-ink);
}
.nr-rv-product img { width: 48px; height: 48px; object-fit: cover; flex: none; }
.nr-rv-product > span { display: flex; flex-direction: column; min-width: 0; }
.nr-rv-product em { font-family: var(--nr-serif); font-size: 18px; font-style: normal; line-height: 1.2; }
.nr-rv-product small { font-size: 12px; letter-spacing: .08em; color: var(--nr-muted); }
.nr-rv-product small del { color: var(--nr-muted); }
.nr-rv-product:hover em { color: var(--nr-gold-dark); }
