/* ============================================================
   Snugweave Softliving — main.css (part 1 of 2)
   Tokens, reset, typography, header, generic components,
   archive head, notes, page shell, 404, footer.
   Part 2 (home / product cards / single product) is appended later.
   NEW-CLASSES: sw-h3, sw-lede, sw-pager, sw-notice, sw-pagi
   ============================================================ */

/* ---------- 1. design tokens ---------- */
:root {
	--sw-cream: #F7F1E8;
	--sw-paper: #FFFCF7;
	--sw-caramel: #8A5A3B;
	--sw-caramel-deep: #6F462C;
	--sw-eucalypt: #7E9C86;
	--sw-ink: #2E2620;
	--sw-muted: #6E6157;
	--sw-line: #E4D9C9;
	--sw-line-soft: #EFE7DA;

	--sw-font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sw-font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

	--sw-radius: 22px;
	--sw-radius-arch: 120px 120px 22px 22px;
	--sw-radius-pill: 999px;

	--sw-shadow: 0 18px 40px -28px rgba(74, 56, 40, 0.35);
	--sw-shadow-soft: 0 10px 26px -22px rgba(74, 56, 40, 0.4);

	/* 模块间距只用这一个变量：桌面 22px（规范 20–24px），窄屏 18px（规范 16–20px） */
	--sw-gap: 22px;
	--sw-pad: 40px;
	--sw-max: 1200px;
	--sw-line-h: 1.65;
}

/* ---------- 2. reset + typographic base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sw-cream);
	color: var(--sw-ink);
	font-family: var(--sw-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: var(--sw-line-h);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--sw-font-display);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--sw-ink);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--sw-caramel);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--sw-caramel-deep);
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

button {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

::selection {
	background: rgba(138, 90, 59, 0.18);
	color: var(--sw-ink);
}

:focus-visible {
	outline: 2px solid var(--sw-caramel);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------- 3. layout shell ---------- */
.sw-wrap {
	width: 100%;
	max-width: var(--sw-max);
	margin: 0 auto;
	padding: 0 var(--sw-pad);
}

.sw-main {
	display: block;
	padding: 56px 0 96px;
}

.sw-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sw-skip {
	position: fixed;
	top: 12px;
	left: 50%;
	transform: translate(-50%, -180%);
	z-index: 999;
	padding: 12px 26px;
	background: var(--sw-caramel);
	color: var(--sw-paper);
	border-radius: var(--sw-radius-pill);
	font-weight: 700;
	box-shadow: var(--sw-shadow);
	transition: transform 0.22s ease;
}

.sw-skip:focus {
	transform: translate(-50%, 0);
	color: var(--sw-paper);
}

/* ---------- 4. header ---------- */
.sw-head {
	background: var(--sw-cream);
	border-bottom: 1px solid var(--sw-line);
}

.sw-head-strip {
	border-bottom: 1px solid var(--sw-line);
	font-size: 13px;
	color: var(--sw-muted);
}

.sw-head-strip-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.sw-strip-line {
	margin: 0;
	letter-spacing: 0.01em;
}

.sw-strip-line a {
	color: var(--sw-muted);
}

.sw-strip-line a:hover {
	color: var(--sw-caramel);
}

.sw-strip-right {
	text-align: right;
}

.sw-head-main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	padding-top: 26px;
	padding-bottom: 22px;
}

.sw-logo-wrap {
	grid-column: 2;
	justify-self: center;
	text-align: center;
}

.sw-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--sw-ink);
}

.sw-logo:hover {
	color: var(--sw-ink);
}

.sw-logo-rule {
	display: block;
	width: 64px;
	height: 1px;
	background: var(--sw-line);
}

.sw-logo-word {
	font-family: var(--sw-font-display);
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.sw-logo-sub {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sw-muted);
}

.sw-logo-wrap img {
	max-height: 56px;
	width: auto;
}

/* burger — hidden on desktop */
.sw-burger {
	grid-column: 1;
	justify-self: start;
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background: transparent;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: var(--sw-ink);
}

.sw-burger-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--sw-caramel);
	border-radius: 2px;
	position: relative;
}

.sw-burger-bar::before,
.sw-burger-bar::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--sw-caramel);
	border-radius: 2px;
}

.sw-burger-bar::before {
	top: -6px;
}

.sw-burger-bar::after {
	top: 6px;
}

.sw-burger-label {
	line-height: 1;
}

/* basket pill */
.sw-cart {
	grid-column: 3;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	color: var(--sw-ink);
	font-size: 14px;
	font-weight: 500;
	box-shadow: var(--sw-shadow-soft);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.sw-cart:hover {
	color: var(--sw-ink);
	border-color: var(--sw-caramel);
	transform: translateY(-1px);
}

.sw-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	background: var(--sw-caramel);
	color: var(--sw-paper);
	border-radius: var(--sw-radius-pill);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.sw-cart-num {
	line-height: 1;
}

/* underline nav */
.sw-nav {
	border-top: 1px solid var(--sw-line);
}

.sw-nav .sw-wrap {
	display: flex;
	justify-content: center;
}

.sw-nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-nav-list li {
	margin: 0;
	padding: 0;
}

.sw-nav-list a {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 16px 2px;
	font-size: 15px;
	font-weight: 500;
	color: var(--sw-ink);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.sw-nav-list a em {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: var(--sw-muted);
	letter-spacing: 0.02em;
}

.sw-nav-list a:hover,
.sw-nav-list .current-menu-item > a,
.sw-nav-list .current-menu-ancestor > a,
.sw-nav-list .current_page_item > a {
	color: var(--sw-caramel);
	border-bottom-color: var(--sw-caramel);
}

.sw-nav-list a:hover em,
.sw-nav-list .current-menu-item > a em {
	color: var(--sw-caramel);
}

.sw-nav-list .sub-menu {
	display: none;
}

/* search row */
.sw-head-search {
	border-top: 1px solid var(--sw-line);
	padding: 16px 0 20px;
}

.sw-search {
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 560px;
	margin: 0 auto;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	padding: 4px 4px 4px 22px;
	box-shadow: var(--sw-shadow-soft);
	transition: border-color 0.2s ease;
}

.sw-search:focus-within {
	border-color: var(--sw-caramel);
}

.sw-search-in {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	background: transparent;
	border: 0;
	outline: none;
	font-size: 15px;
	color: var(--sw-ink);
}

.sw-search-in::placeholder {
	color: var(--sw-muted);
	opacity: 0.8;
}

.sw-search-go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--sw-caramel);
	border: 0;
	border-radius: var(--sw-radius-pill);
	cursor: pointer;
	transition: background 0.2s ease;
}

.sw-search-go:hover {
	background: var(--sw-caramel-deep);
}

.sw-search-ico {
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid var(--sw-paper);
	border-radius: 50%;
	position: relative;
}

.sw-search-ico::after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: -4px;
	width: 6px;
	height: 2px;
	background: var(--sw-paper);
	border-radius: 2px;
	transform: rotate(45deg);
}

/* ---------- 5. generic components ---------- */
.sw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	border-radius: var(--sw-radius-pill);
	border: 1px solid var(--sw-line);
	background: var(--sw-paper);
	color: var(--sw-ink);
	font-family: var(--sw-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sw-btn:hover {
	color: var(--sw-ink);
	border-color: var(--sw-caramel);
	transform: translateY(-1px);
}

.sw-btn-solid {
	background: var(--sw-caramel);
	border-color: var(--sw-caramel);
	color: var(--sw-paper);
}

.sw-btn-solid:hover {
	background: var(--sw-caramel-deep);
	border-color: var(--sw-caramel-deep);
	color: var(--sw-paper);
}

.sw-btn-quiet {
	background: transparent;
	border-color: var(--sw-line);
	color: var(--sw-ink);
}

.sw-btn-quiet:hover {
	background: var(--sw-paper);
	border-color: var(--sw-caramel);
	color: var(--sw-caramel);
}

.sw-btn-cloth {
	background: var(--sw-eucalypt);
	border-color: var(--sw-eucalypt);
	color: var(--sw-paper);
}

.sw-btn-cloth:hover {
	background: #6B8974;
	border-color: #6B8974;
	color: var(--sw-paper);
}

.sw-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.sw-eyebrow {
	margin: 0 0 12px;
	font-family: var(--sw-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sw-eucalypt);
}

.sw-h1 {
	margin: 0 0 18px;
	font-family: var(--sw-font-display);
	font-size: clamp(32px, 4.6vw, 54px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--sw-ink);
}

.sw-h2 {
	margin: 0 0 16px;
	font-family: var(--sw-font-display);
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 500;
	line-height: 1.16;
	color: var(--sw-ink);
}

.sw-h3 {
	margin: 0 0 12px;
	font-family: var(--sw-font-display);
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 1.24;
	color: var(--sw-ink);
}

.sw-lede {
	max-width: 62ch;
	margin: 0 0 20px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--sw-muted);
}

.sw-sec {
	padding: 56px 0;
}

/* 模块之间的竖向节奏只用一个变量：--sw-gap（桌面 22px / 窄屏 18px） */
.sw-main > .sw-sec + .sw-sec,
.sw-main > .sw-wrap + .sw-sec {
	margin-top: var(--sw-gap);
}

.sw-sec-head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}

.sw-sec-head-split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
	text-align: left;
}

.sw-sec-note {
	max-width: 64ch;
	margin: 0 auto;
	font-size: 16px;
	line-height: var(--sw-line-h);
	color: var(--sw-muted);
}

.sw-sec-head-split .sw-sec-note {
	margin: 0;
}

.sw-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sw-gap);
}

.sw-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sw-gap);
}

.sw-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	font-size: 13px;
	color: var(--sw-muted);
}

.sw-crumb a {
	color: var(--sw-muted);
}

.sw-crumb a:hover {
	color: var(--sw-caramel);
}

.sw-crumb-sep {
	color: var(--sw-line);
}

.sw-crumb-now {
	color: var(--sw-ink);
}

/* pagination (WP + Woo) */
.sw-pager,
.sw-pagi .nav-links,
.woocommerce-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-pagi {
	margin-top: 48px;
}

.sw-pager .page-numbers,
.sw-pagi .page-numbers,
.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	color: var(--sw-ink);
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.sw-pager .page-numbers:hover,
.sw-pagi .page-numbers:hover,
.woocommerce-pagination .page-numbers:hover {
	border-color: var(--sw-caramel);
	color: var(--sw-caramel);
}

.sw-pager .page-numbers.current,
.sw-pagi .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
	background: var(--sw-caramel);
	border-color: var(--sw-caramel);
	color: var(--sw-paper);
}

/* Woo notices */
.sw-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative;
	margin: 0 0 28px;
	padding: 18px 24px 18px 52px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	color: var(--sw-ink);
	font-size: 15px;
	line-height: 1.55;
	list-style: none;
	box-shadow: var(--sw-shadow-soft);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: absolute;
	left: 22px;
	top: 18px;
	color: var(--sw-eucalypt);
	font-weight: 700;
}

.woocommerce-error {
	border-color: #D9B9A6;
}

.woocommerce-error::before {
	color: var(--sw-caramel);
}

.woocommerce-message .button,
.woocommerce-info .button {
	float: right;
	margin-left: 16px;
}

/* ---------- 6. prose (policy pages) ---------- */
.sw-prose {
	max-width: 68ch;
	font-size: 17px;
	line-height: var(--sw-line-h);
	color: var(--sw-ink);
}

.sw-prose > *:first-child {
	margin-top: 0;
}

.sw-prose h2 {
	margin: 2em 0 0.6em;
	font-family: var(--sw-font-display);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 500;
	line-height: 1.24;
}

.sw-prose h3 {
	margin: 1.6em 0 0.5em;
	font-family: var(--sw-font-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

.sw-prose p {
	margin: 0 0 1.15em;
}

.sw-prose ul,
.sw-prose ol {
	margin: 0 0 1.3em;
	padding-left: 1.4em;
}

.sw-prose li {
	margin: 0 0 0.5em;
}

.sw-prose a {
	color: var(--sw-caramel);
	text-decoration: underline;
	text-decoration-color: var(--sw-line);
	text-underline-offset: 3px;
}

.sw-prose a:hover {
	text-decoration-color: var(--sw-caramel);
}

.sw-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--sw-eucalypt);
	font-family: var(--sw-font-display);
	font-size: 20px;
	font-style: normal;
	line-height: 1.5;
	color: var(--sw-muted);
}

.sw-prose blockquote p:last-child {
	margin-bottom: 0;
}

.sw-prose table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	font-size: 15px;
	background: var(--sw-paper);
	border-radius: var(--sw-radius);
	overflow: hidden;
}

.sw-prose table th,
.sw-prose table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--sw-line-soft);
}

.sw-prose table th {
	font-family: var(--sw-font-body);
	font-weight: 700;
	color: var(--sw-ink);
	background: var(--sw-cream);
}

.sw-prose table tbody tr:nth-child(even) {
	background: rgba(247, 241, 232, 0.5);
}

.sw-prose table tbody tr:last-child td {
	border-bottom: 0;
}

.sw-prose figure {
	margin: 1.8em 0;
}

.sw-prose img {
	border-radius: var(--sw-radius);
}

.sw-prose hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--sw-line);
}

/* horizontal scroll wrapper for wide tables */
.sw-prose .sw-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.6em 0;
}

.sw-prose .sw-table-scroll table {
	margin: 0;
	min-width: 520px;
}

/* ---------- 7. archive head ---------- */
.sw-loophead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 44px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--sw-line);
}

.sw-loophead-top {
	max-width: 720px;
}

.sw-loophead-count {
	margin: 0;
	font-size: 15px;
	color: var(--sw-muted);
}

.sw-loophead-order {
	flex: 0 0 auto;
}

.sw-loophead-order .woocommerce-ordering {
	margin: 0;
}

.sw-loophead-order select {
	appearance: none;
	-webkit-appearance: none;
	padding: 11px 44px 11px 20px;
	background-color: var(--sw-paper);
	background-image: linear-gradient(45deg, transparent 50%, var(--sw-caramel) 50%),
		linear-gradient(135deg, var(--sw-caramel) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	font-size: 14px;
	font-weight: 500;
	color: var(--sw-ink);
	cursor: pointer;
}

.sw-loophead-order select:focus-visible {
	outline: 2px solid var(--sw-caramel);
	outline-offset: 3px;
}

/* ---------- 8. notes (journal cards) ---------- */
.sw-note-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sw-gap);
}

.sw-note {
	display: flex;
	flex-direction: column;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	overflow: hidden;
	box-shadow: var(--sw-shadow-soft);
}

.sw-note-shot {
	display: block;
	overflow: hidden;
	border-radius: var(--sw-radius-arch);
	background: var(--sw-cream);
}

.sw-note-shot img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sw-note:hover .sw-note-shot img {
	transform: scale(1.03);
}

.sw-note-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px 28px;
}

.sw-note-meta {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sw-muted);
}

.sw-note-title {
	margin: 0;
	font-family: var(--sw-font-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.24;
}

.sw-note-title a {
	color: var(--sw-ink);
}

.sw-note-title a:hover {
	color: var(--sw-caramel);
}

.sw-note-snip {
	margin: 0;
	font-size: 15px;
	line-height: var(--sw-line-h);
	color: var(--sw-muted);
}

.sw-note-more {
	margin: 6px 0 0;
}

.sw-note-more .sw-btn {
	padding: 10px 22px;
	font-size: 14px;
}

/* ---------- 9. page head + two-column page shell ---------- */
.sw-pagehead {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.sw-page-shell {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.sw-page-side {
	position: sticky;
	top: 32px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.sw-page-nav .sw-eyebrow {
	margin-bottom: 14px;
}

.sw-page-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--sw-line);
}

.sw-page-list li {
	margin: 0;
	border-bottom: 1px solid var(--sw-line);
}

.sw-page-list a {
	display: block;
	padding: 12px 0;
	font-size: 15px;
	color: var(--sw-muted);
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.sw-page-list a:hover {
	color: var(--sw-caramel);
	padding-left: 4px;
}

.sw-page-list a.is-now {
	color: var(--sw-caramel);
	font-weight: 700;
}

.sw-page-help {
	padding: 24px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	box-shadow: var(--sw-shadow-soft);
}

.sw-page-help .sw-eyebrow {
	margin-bottom: 12px;
}

.sw-page-help-line {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--sw-muted);
}

.sw-page-help-line:last-child {
	margin-bottom: 0;
}

.sw-page-help-line a {
	color: var(--sw-ink);
}

.sw-page-help-line a:hover {
	color: var(--sw-caramel);
}

.sw-pagebody {
	min-width: 0;
}

.sw-page-foot-note {
	margin: 40px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--sw-line);
	font-size: 14px;
	color: var(--sw-muted);
}

.sw-page-missing {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

/* ---------- 10. empty state ---------- */
.sw-empty {
	padding: 48px 0;
	text-align: center;
}

.sw-empty .sw-note {
	display: block;
	max-width: 560px;
	margin: 0 auto 36px;
	padding: 24px 28px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	font-size: 16px;
	color: var(--sw-muted);
	box-shadow: var(--sw-shadow-soft);
}

/* ---------- 11. 404 ---------- */
.sw-404 {
	padding: 72px 0 96px;
}

.sw-404-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
	gap: 64px;
	align-items: start;
}

.sw-404-left .sw-h1 {
	margin-bottom: 22px;
}

.sw-404-left .sw-sec-note {
	margin: 0 0 28px;
}

.sw-404-search {
	max-width: 460px;
	margin: 32px 0 0;
}

.sw-404-side {
	padding: 28px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	box-shadow: var(--sw-shadow-soft);
}

.sw-doc-side-key {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sw-eucalypt);
}

.sw-doc-side-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--sw-muted);
}

/* ---------- 12. footer ---------- */
.sw-foot {
	margin-top: 80px;
	background: var(--sw-cream);
	border-top: 1px solid var(--sw-line);
	color: var(--sw-ink);
}

.sw-foot-words {
	padding: 48px 0 40px;
	border-bottom: 1px solid var(--sw-line);
}

.sw-foot-words-key {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sw-eucalypt);
	text-align: center;
}

.sw-wordlist {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-wordlist li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 18px;
	background: var(--sw-paper);
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius-pill);
	font-size: 14px;
	color: var(--sw-ink);
}

.sw-wordlist li span {
	line-height: 1.2;
}

.sw-wordlist li em {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: var(--sw-muted);
}

.sw-foot-words-note {
	max-width: 62ch;
	margin: 22px auto 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--sw-muted);
	text-align: center;
}

.sw-foot-fold {
	height: 1px;
	background: var(--sw-line);
}

.sw-foot-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.sw-foot-col {
	min-width: 0;
}

.sw-foot-logo {
	margin: 0 0 14px;
	font-family: var(--sw-font-display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--sw-ink);
}

.sw-foot-note {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--sw-muted);
}

.sw-foot-loc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--sw-muted);
}

.sw-foot-key {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sw-eucalypt);
}

.sw-foot-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-foot-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sw-line-soft);
	font-size: 14px;
}

.sw-foot-list li:last-child {
	border-bottom: 0;
}

.sw-foot-list a {
	color: var(--sw-ink);
}

.sw-foot-list a:hover {
	color: var(--sw-caramel);
}

.sw-foot-list span {
	font-size: 12px;
	font-weight: 700;
	color: var(--sw-muted);
}

.sw-foot-aux {
	margin-top: 16px;
}

.sw-foot-hold {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sw-muted);
}

.sw-foot-facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-foot-facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sw-line-soft);
	font-size: 14px;
	line-height: 1.5;
}

.sw-foot-facts li:last-child {
	border-bottom: 0;
}

.sw-foot-facts span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sw-muted);
}

.sw-foot-facts a {
	color: var(--sw-ink);
}

.sw-foot-facts a:hover {
	color: var(--sw-caramel);
}

.sw-foot-base {
	border-top: 1px solid var(--sw-line);
}

.sw-foot-base-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding-top: 22px;
	padding-bottom: 22px;
	font-size: 13px;
	color: var(--sw-muted);
}

.sw-foot-base-inner p {
	margin: 0;
}

.sw-foot-tally {
	text-align: right;
}

/* ---------- 13. responsive ---------- */
@media (max-width: 1024px) {
	.sw-foot-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.sw-page-shell {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 44px;
	}
}

@media (max-width: 900px) {
	:root {
		--sw-pad: 24px;
		--sw-gap: 18px;
	}

	.sw-main {
		padding: 40px 0 72px;
	}

	.sw-head-main {
		grid-template-columns: auto 1fr auto;
		padding-top: 18px;
		padding-bottom: 16px;
	}

	.sw-burger {
		display: inline-flex;
	}

	.sw-logo-wrap {
		grid-column: 2;
	}

	.sw-cart {
		grid-column: 3;
	}

	.sw-nav {
		border-top: 1px solid var(--sw-line);
	}

	.sw-nav .sw-wrap {
		display: block;
		padding: 0;
	}

	.sw-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.32s ease;
	}

	.sw-nav.is-open .sw-nav-list {
		max-height: 640px;
	}

	.sw-nav-list li {
		border-bottom: 1px solid var(--sw-line-soft);
	}

	.sw-nav-list a {
		display: flex;
		justify-content: space-between;
		padding: 15px var(--sw-pad);
		border-bottom: 0;
	}

	.sw-nav-list a:hover,
	.sw-nav-list .current-menu-item > a {
		border-bottom-color: transparent;
		background: var(--sw-paper);
	}

	.sw-grid,
	.sw-grid-3,
	.sw-note-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sw-page-shell {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sw-page-side {
		position: static;
	}

	.sw-404-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sw-loophead {
		align-items: flex-start;
	}
}

@media (max-width: 620px) {
	.sw-grid,
	.sw-grid-3,
	.sw-note-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sw-foot-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.sw-foot-base-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.sw-foot-tally {
		text-align: left;
	}

	.sw-head-strip-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.sw-strip-right {
		text-align: left;
	}

	.sw-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sw-actions .sw-btn {
		width: 100%;
	}

	.sw-loophead-order {
		width: 100%;
	}

	.sw-loophead-order select {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
	}
}


/* ============================================================
   Snugweave Softliving — main.css, part 2 (append)
   首页首屏 / 货架砖 / 商品卡 / 三毯并排 / 触感条 / 详情骨架
   数据形状：模板只输出记录里已有的字段，样式不假设任何数字。
   NEW-CLASSES: sw-hero-facts, sw-hero-shelf, sw-shelf-grid, sw-shelf-tile, sw-shelf-name, sw-shelf-count, sw-shelf-quote, sw-card-cta, sw-trio-tab, sw-trio-choices, sw-touch-col, sw-touch-word, sw-touch-swatchtag, sw-record-body, sw-record-facts, sw-record-buy, sw-figure-frame, sw-thumbs-list
   ============================================================ */

/* ------------------------------------------------------------
   1. 首屏：全出血 + 拱形遮罩 + 压字
   ------------------------------------------------------------ */

.sw-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 78vh;
	padding: 0;
	margin: 0 0 clamp(48px, 7vw, 96px);
	overflow: hidden;
	isolation: isolate;
	background: var(--sw-cream, #F7F1E8);
	border-radius: 0 0 22px 22px;
}

.sw-hero-bleed {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: 0 0 22px 22px;
}

.sw-hero-bleed::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(46, 38, 32, 0.10) 0%, rgba(46, 38, 32, 0.00) 26%),
		linear-gradient(0deg, rgba(46, 38, 32, 0.72) 0%, rgba(46, 38, 32, 0.42) 34%, rgba(46, 38, 32, 0.06) 68%, rgba(46, 38, 32, 0.00) 100%);
}

.sw-hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	transform: scale(1.02);
}

.sw-hero-plain {
	background:
		radial-gradient(120% 90% at 50% 0%, #EFE3D2 0%, #E4D6C2 46%, #D9C8B1 100%);
}

.sw-hero-veil {
	position: absolute;
	inset: auto 0 0 0;
	height: 46%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(46, 38, 32, 0.34) 0%, rgba(46, 38, 32, 0.00) 100%);
}

.sw-hero-copy {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-top: clamp(96px, 16vh, 200px);
	padding-bottom: clamp(36px, 5vw, 64px);
	color: #FFFCF7;
	text-align: center;
}

.sw-hero-copy .sw-eyebrow {
	color: rgba(255, 252, 247, 0.82);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.72rem;
	margin: 0 0 18px;
}

.sw-hero-title {
	margin: 0 auto 18px;
	max-width: 18ch;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(2.4rem, 6.4vw, 4.6rem);
	line-height: 1.06;
	letter-spacing: -0.012em;
	color: #FFFCF7;
	text-wrap: balance;
	text-shadow: 0 1px 24px rgba(46, 38, 32, 0.28);
}

.sw-hero-lede {
	margin: 0 auto 26px;
	max-width: 58ch;
	font-size: clamp(0.98rem, 1.5vw, 1.12rem);
	line-height: 1.65;
	color: rgba(255, 252, 247, 0.92);
	text-shadow: 0 1px 18px rgba(46, 38, 32, 0.30);
}

.sw-hero-copy .sw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 0 0 22px;
}

.sw-hero-credit {
	margin: 0 auto;
	max-width: 62ch;
	font-size: 0.82rem;
	line-height: 1.6;
	color: rgba(255, 252, 247, 0.78);
}

.sw-hero-credit a {
	color: #FFFCF7;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* 首屏四格数据条：半透明纸面 */
.sw-hero-facts,
.sw-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0 auto 26px;
	max-width: 760px;
	padding: 0;
	list-style: none;
	background: rgba(228, 217, 201, 0.42);
	border: 1px solid rgba(255, 252, 247, 0.28);
	border-radius: 22px;
	overflow: hidden;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.sw-hero-facts > *,
.sw-hero-stats > * {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 10px;
	background: rgba(255, 252, 247, 0.16);
	text-align: center;
}

.sw-hero-facts dt,
.sw-hero-stats dt {
	font-size: 0.68rem;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: rgba(255, 252, 247, 0.80);
}

.sw-hero-facts dd,
.sw-hero-stats dd {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	color: #FFFCF7;
}

/* 首屏类目竖排链接 */
.sw-hero-shelf {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 auto;
	max-width: 320px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.sw-hero-shelf a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 252, 247, 0.34);
	background: rgba(255, 252, 247, 0.12);
	color: #FFFCF7;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.sw-hero-shelf a:hover,
.sw-hero-shelf a:focus-visible {
	background: rgba(255, 252, 247, 0.24);
	border-color: rgba(255, 252, 247, 0.56);
}

.sw-hero-shelf em {
	font-style: normal;
	font-size: 0.78rem;
	color: rgba(255, 252, 247, 0.74);
}

/* ------------------------------------------------------------
   2. 货架砖：拱形图 + 类目名 + 件数角标 + 引文
   ------------------------------------------------------------ */

.sw-shelf-grid,
.sw-rail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-shelf-tile,
.sw-rail-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 18px 22px;
	background: #FFFCF7;
	border: 1px solid #E4D9C9;
	border-radius: 22px;
	box-shadow: 0 10px 28px -22px rgba(110, 97, 87, 0.55);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.sw-shelf-tile:hover,
.sw-shelf-tile:focus-within,
.sw-rail-card:hover,
.sw-rail-card:focus-within {
	transform: translateY(-4px);
	border-color: #D9C9B4;
	box-shadow: 0 18px 36px -24px rgba(110, 97, 87, 0.60);
}

.sw-shelf-tile > a,
.sw-rail-figure {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 120px 120px 22px 22px;
	background: #F1E7DA;
	aspect-ratio: 3 / 4;
}

.sw-shelf-tile > a img,
.sw-rail-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.sw-shelf-tile:hover > a img,
.sw-rail-card:hover .sw-rail-figure img {
	transform: scale(1.03);
}

.sw-shelf-count,
.sw-rail-no {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(255, 252, 247, 0.92);
	color: #8A5A3B;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.sw-shelf-name,
.sw-rail-name {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(1.12rem, 1.8vw, 1.34rem);
	line-height: 1.3;
	color: #2E2620;
}

.sw-shelf-name a,
.sw-rail-name a {
	color: inherit;
	text-decoration: none;
}

.sw-shelf-name a:hover,
.sw-rail-name a:hover {
	color: #8A5A3B;
}

.sw-rail-count {
	margin: 0;
	font-size: 0.82rem;
	color: #6E6157;
}

.sw-shelf-quote,
.sw-rail-snip {
	margin: 0;
	padding-left: 14px;
	border-left: 2px solid #8A5A3B;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-style: italic;
	font-weight: 400;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #6E6157;
}

.sw-rail-meter {
	display: block;
	height: 4px;
	border-radius: 999px;
	background: #EFE5D8;
	overflow: hidden;
}

.sw-rail-meter i {
	display: block;
	height: 100%;
	width: var(--sw-w, 0%);
	border-radius: 999px;
	background: #7E9C86;
}

/* ------------------------------------------------------------
   3. 商品卡：拱形口袋 + 挂牌 + 原句引用
   ------------------------------------------------------------ */

.sw-grid,
.sw-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 14px 14px 18px;
	background: #FFFCF7;
	border: 1px solid #E4D9C9;
	border-radius: 22px;
	box-shadow: 0 10px 26px -22px rgba(110, 97, 87, 0.50);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.sw-card:hover,
.sw-card:focus-within {
	transform: translateY(-4px);
	border-color: #D9C9B4;
	box-shadow: 0 18px 34px -24px rgba(110, 97, 87, 0.58);
}

.sw-card-pocket {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 110px 110px 18px 18px;
	background: #F1E7DA;
	aspect-ratio: 4 / 5;
}

.sw-card-pocket img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.sw-card:hover .sw-card-pocket img {
	transform: scale(1.03);
}

.sw-card-fold,
.sw-card-sale {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.sw-card-fold {
	right: 10px;
	bottom: 10px;
	background: rgba(255, 252, 247, 0.92);
	color: #6E6157;
}

.sw-card-sale {
	left: 10px;
	top: 10px;
	background: #8A5A3B;
	color: #FFFCF7;
}

.sw-card-tag {
	align-self: flex-start;
	margin: 12px 0 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: #F1E7DA;
	color: #8A5A3B;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sw-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 10px;
}

.sw-card-title {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: 1.04rem;
	line-height: 1.34;
	color: #2E2620;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sw-card-title a {
	color: inherit;
	text-decoration: none;
}

.sw-card-title a:hover {
	color: #8A5A3B;
}

.sw-card-price {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: 1.02rem;
	color: #8A5A3B;
}

.sw-card-price del {
	color: #6E6157;
	font-weight: 400;
	font-size: 0.86rem;
	margin-right: 6px;
}

.sw-card-price ins {
	text-decoration: none;
}

.sw-card-snip {
	margin: 2px 0 0;
	padding-left: 12px;
	border-left: 2px solid #8A5A3B;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-style: italic;
	font-size: 0.86rem;
	line-height: 1.6;
	color: #6E6157;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sw-card-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 0;
}

.sw-card-facts span {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FBF6EE;
	color: #6E6157;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sw-card-facts .is-in {
	border-color: #C9D8CD;
	background: #F0F5F1;
	color: #4F6B57;
}

.sw-card-facts .is-out {
	border-color: #E4D9C9;
	background: #F4EDE3;
	color: #8A5A3B;
}

.sw-card-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin-top: 6px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid #8A5A3B;
	background: #8A5A3B;
	color: #FFFCF7;
	font-family: var(--sw-font-body, "Karla", system-ui, sans-serif);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sw-card-cta:hover,
.sw-card-cta:focus-visible {
	background: #7A4E32;
	border-color: #7A4E32;
	color: #FFFCF7;
}

.sw-card-cta.ajax_add_to_cart.loading {
	opacity: 0.72;
}

.sw-card-cta.added::after {
	content: " ✓";
}

/* ------------------------------------------------------------
   4. 三毯并排：tabs + 面板 + 挂牌式三列
   ------------------------------------------------------------ */

.sw-trio {
	display: block;
}

.sw-trio-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 0 clamp(22px, 3vw, 34px);
	padding: 0;
}

.sw-trio-tab {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FFFCF7;
	color: #6E6157;
	font-family: var(--sw-font-body, "Karla", system-ui, sans-serif);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sw-trio-tab em {
	font-style: normal;
	font-size: 0.74rem;
	font-weight: 500;
	color: #8A5A3B;
}

.sw-trio-tab:hover,
.sw-trio-tab:focus-visible {
	border-color: #C9B49C;
	color: #2E2620;
}

.sw-trio-tab.is-on {
	background: #8A5A3B;
	border-color: #8A5A3B;
	color: #FFFCF7;
}

.sw-trio-tab.is-on em {
	color: rgba(255, 252, 247, 0.82);
}

.sw-trio-panel {
	display: none;
}

.sw-trio-panel.is-on {
	display: block;
}

.sw-trio-panel[hidden] {
	display: none;
}

/* 无 JS 兜底：body 没有 .sw-js 时三组全部展开 */
body:not(.sw-js) .sw-trio-panel,
.sw-js-off .sw-trio-panel {
	display: block;
}

body:not(.sw-js) .sw-trio-tabs {
	display: none;
}

.sw-trio-shelfname {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 18px;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(1.16rem, 2vw, 1.42rem);
	color: #2E2620;
}

.sw-trio-shelfname span {
	font-family: var(--sw-font-body, "Karla", system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 500;
	color: #6E6157;
}

.sw-trio-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.6vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-trio-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 20px;
	background: #FFFCF7;
	border: 1px solid #E4D9C9;
	border-radius: 22px;
	box-shadow: 0 10px 26px -22px rgba(110, 97, 87, 0.50);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.sw-trio-cell:hover,
.sw-trio-cell:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px -24px rgba(110, 97, 87, 0.58);
}

.sw-trio-shot {
	display: block;
	overflow: hidden;
	border-radius: 100px 100px 18px 18px;
	background: #F1E7DA;
	aspect-ratio: 3 / 4;
}

.sw-trio-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.sw-trio-cell:hover .sw-trio-shot img {
	transform: scale(1.03);
}

.sw-trio-rank {
	position: absolute;
	top: 26px;
	left: 26px;
	z-index: 2;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(255, 252, 247, 0.92);
	color: #8A5A3B;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.sw-trio-name {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: 1.02rem;
	line-height: 1.34;
	color: #2E2620;
}

.sw-trio-name a {
	color: inherit;
	text-decoration: none;
}

.sw-trio-name a:hover {
	color: #8A5A3B;
}

.sw-trio-price {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: 1rem;
	color: #8A5A3B;
}

.sw-trio-price del {
	color: #6E6157;
	font-weight: 400;
	font-size: 0.84rem;
	margin-right: 6px;
}

.sw-trio-price ins {
	text-decoration: none;
}

.sw-trio-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin: 0;
}

.sw-trio-dots span {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #C9B49C;
}

.sw-trio-dots em {
	margin-left: 4px;
	font-style: normal;
	font-size: 0.72rem;
	color: #6E6157;
}

.sw-trio-snip {
	margin: 0;
	padding-left: 12px;
	border-left: 2px solid #8A5A3B;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-style: italic;
	font-size: 0.86rem;
	line-height: 1.6;
	color: #6E6157;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sw-trio-facts {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px solid #E4D9C9;
}

.sw-trio-facts > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.sw-trio-facts dt {
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-trio-facts dd {
	margin: 0;
	font-size: 0.82rem;
	color: #2E2620;
	text-align: right;
}

.sw-trio-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-trio-choices li {
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FBF6EE;
	font-size: 0.72rem;
	color: #6E6157;
}

.sw-trio-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: auto;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid #8A5A3B;
	background: transparent;
	color: #8A5A3B;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.sw-trio-cta:hover,
.sw-trio-cta:focus-visible {
	background: #8A5A3B;
	color: #FFFCF7;
}

.sw-trio-foot {
	margin: 22px 0 0;
	text-align: center;
}

.sw-trio-foot a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FFFCF7;
	color: #8A5A3B;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
}

.sw-trio-foot a:hover {
	border-color: #C9B49C;
}

/* ------------------------------------------------------------
   5. 触感条：色卡 / 词频 / 洗涤原句 / 覆盖率
   ------------------------------------------------------------ */

.sw-touch {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-touch-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 20px 24px;
	background: #FFFCF7;
	border: 1px solid #E4D9C9;
	border-radius: 22px;
	box-shadow: 0 10px 26px -22px rgba(110, 97, 87, 0.48);
}

.sw-touch-col.is-lead {
	border-color: #D9C9B4;
}

.sw-touch-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 10px;
}

.sw-touch-no {
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-size: 0.82rem;
	font-weight: 500;
	color: #8A5A3B;
	letter-spacing: 0.06em;
}

.sw-touch-name {
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: 1.14rem;
	line-height: 1.3;
	color: #2E2620;
}

.sw-touch-name a {
	color: inherit;
	text-decoration: none;
}

.sw-touch-name a:hover {
	color: #8A5A3B;
}

.sw-touch-size {
	flex: 1 0 100%;
	margin: 0;
	font-size: 0.8rem;
	color: #6E6157;
}

.sw-touch-swatch {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 90px 90px 18px 18px;
	background: #F1E7DA;
	aspect-ratio: 1 / 1;
}

.sw-touch-swatch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sw-touch-swatchtag {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	background: rgba(255, 252, 247, 0.92);
	color: #6E6157;
	font-size: 0.68rem;
	font-weight: 700;
}

.sw-touch-key {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-chips li {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FBF6EE;
}

.sw-chips li span,
.sw-touch-word {
	font-size: 0.82rem;
	font-weight: 700;
	color: #2E2620;
}

.sw-chips li em {
	font-style: normal;
	font-size: 0.7rem;
	color: #6E6157;
}

.sw-touch-quote,
.sw-care-quote {
	margin: 0;
	padding: 12px 0 0 14px;
	border-left: 2px solid #8A5A3B;
}

.sw-touch-quote p,
.sw-care-quote p {
	margin: 0 0 6px;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-style: italic;
	font-size: 0.9rem;
	line-height: 1.62;
	color: #6E6157;
}

.sw-touch-quote cite,
.sw-care-quote cite {
	font-style: normal;
	font-size: 0.76rem;
	color: #8A5A3B;
}

.sw-touch-quote cite a,
.sw-care-quote cite a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sw-touch-wash {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #E4D9C9;
}

.sw-touch-ratio {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #2E2620;
}

.sw-washlist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-washlist li {
	padding: 10px 12px;
	border-radius: 14px;
	background: #FBF6EE;
	border: 1px solid #EFE5D8;
}

.sw-washlist li p {
	margin: 0 0 4px;
	font-size: 0.84rem;
	line-height: 1.6;
	color: #2E2620;
}

.sw-washlist li a {
	font-size: 0.76rem;
	color: #8A5A3B;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sw-touch-none,
.sw-touch-empty {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px dashed #D9C9B4;
	background: #FBF6EE;
	font-size: 0.84rem;
	line-height: 1.62;
	color: #6E6157;
}

.sw-touch-empty a {
	color: #8A5A3B;
}

.sw-touch-note {
	margin: 26px 0 0;
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid #E4D9C9;
	background: #FFFCF7;
}

.sw-touch-note summary {
	cursor: pointer;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-size: 0.98rem;
	font-weight: 500;
	color: #2E2620;
}

.sw-touch-note-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 12px;
}

.sw-touch-note-body p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.65;
	color: #6E6157;
}

/* ------------------------------------------------------------
   6. 商品详情共用骨架（parts 与 shop.css 都会用）
   ------------------------------------------------------------ */

.sw-record {
	display: block;
	padding: clamp(20px, 3vw, 34px) 0;
}

.sw-record-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.sw-record-media {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: sticky;
	top: 24px;
}

.sw-figure {
	margin: 0;
	overflow: hidden;
	border-radius: 140px 140px 22px 22px;
	background: #F1E7DA;
	aspect-ratio: 4 / 5;
}

.sw-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sw-figure-note {
	margin: 0;
	font-size: 0.78rem;
	color: #6E6157;
	text-align: center;
}

.sw-thumbs {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}

.sw-thumbs-list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-thumbs li,
.sw-thumbs-list li {
	flex: 0 0 auto;
}

.sw-thumbs img,
.sw-thumbs-list img {
	display: block;
	width: 68px;
	height: 68px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid #E4D9C9;
	background: #FBF6EE;
}

.sw-record-body,
.sw-record-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sw-record-title {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.2;
	color: #2E2620;
}

.sw-record-lede {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #6E6157;
}

.sw-record-price {
	margin: 0;
	font-family: var(--sw-font-display, "Fraunces", Georgia, serif);
	font-weight: 500;
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	color: #8A5A3B;
}

.sw-record-price del {
	color: #6E6157;
	font-weight: 400;
	font-size: 0.9rem;
	margin-right: 8px;
}

.sw-record-price ins {
	text-decoration: none;
}

.sw-record-facts {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid #E4D9C9;
}

.sw-record-facts > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.sw-record-facts dt {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-record-facts dd {
	margin: 0;
	font-size: 0.88rem;
	color: #2E2620;
	text-align: right;
}

.sw-choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.sw-choices-cap {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-choices-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FFFCF7;
	color: #2E2620;
	font-size: 0.84rem;
}

.sw-chip.is-now,
.sw-chip[aria-pressed="true"] {
	border-color: #8A5A3B;
	background: #8A5A3B;
	color: #FFFCF7;
}

.sw-detail {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 18px;
	border-top: 1px solid #E4D9C9;
}

.sw-detail-inner,
.sw-detail-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sw-facts {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid #E4D9C9;
}

.sw-facts > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.sw-facts dt {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-facts dd {
	margin: 0;
	font-size: 0.88rem;
	color: #2E2620;
	text-align: right;
}

.sw-facts-cap {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #6E6157;
}

.sw-facts-src {
	margin: 0;
	font-size: 0.76rem;
	color: #6E6157;
}

.sw-buy,
.sw-record-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.sw-buy .single_add_to_cart_button,
.sw-record-buy .single_add_to_cart_button,
.sw-buy button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid #8A5A3B;
	background: #8A5A3B;
	color: #FFFCF7;
	font-family: var(--sw-font-body, "Karla", system-ui, sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.sw-buy .single_add_to_cart_button:hover,
.sw-record-buy .single_add_to_cart_button:hover,
.sw-buy button[type="submit"]:hover {
	background: #7A4E32;
	border-color: #7A4E32;
}

.sw-buy .quantity input,
.sw-record-buy .quantity input {
	width: 72px;
	min-height: 46px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid #E4D9C9;
	background: #FFFCF7;
	color: #2E2620;
	text-align: center;
}

/* ------------------------------------------------------------
   7. 断点：1080 / 900 / 640 / 430
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
	.sw-shelf-grid,
	.sw-rail-grid,
	.sw-grid,
	.sw-grid-3,
	.sw-trio-grid,
	.sw-touch {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sw-record-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sw-record-media {
		position: static;
	}

	.sw-hero-title {
		font-size: clamp(2.2rem, 6vw, 3.6rem);
	}
}

@media (max-width: 900px) {
	.sw-hero {
		min-height: 62vh;
		border-radius: 0 0 18px 18px;
	}

	.sw-hero-bleed,
	.sw-hero-bleed::before {
		border-radius: 0 0 18px 18px;
	}

	.sw-hero-copy {
		padding-top: clamp(72px, 12vh, 140px);
		padding-bottom: clamp(28px, 4vw, 44px);
	}

	.sw-hero-title {
		font-size: clamp(2rem, 7.4vw, 3rem);
		max-width: 20ch;
	}

	.sw-hero-lede {
		font-size: 0.96rem;
	}

	.sw-hero-facts,
	.sw-hero-stats {
		display: flex;
		gap: 8px;
		max-width: 100%;
		padding: 8px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		border-radius: 18px;
	}

	.sw-hero-facts > *,
	.sw-hero-stats > * {
		flex: 0 0 auto;
		min-width: 132px;
		border-radius: 14px;
		scroll-snap-align: start;
	}

	.sw-hero-shelf {
		max-width: 100%;
	}

	.sw-trio-tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.sw-trio-tab {
		flex: 0 0 auto;
	}

	.sw-touch-col {
		padding: 16px 16px 20px;
	}
}

@media (max-width: 640px) {
	.sw-shelf-grid,
	.sw-rail-grid,
	.sw-grid,
	.sw-grid-3,
	.sw-trio-grid,
	.sw-touch {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.sw-hero {
		min-height: 58vh;
		margin-bottom: 40px;
	}

	.sw-hero-copy .sw-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sw-hero-copy .sw-actions .sw-btn {
		width: 100%;
		justify-content: center;
	}

	.sw-hero-title {
		font-size: clamp(1.8rem, 9vw, 2.5rem);
	}

	.sw-hero-credit {
		font-size: 0.76rem;
	}

	.sw-card,
	.sw-trio-cell,
	.sw-touch-col,
	.sw-shelf-tile,
	.sw-rail-card {
		border-radius: 18px;
	}

	.sw-card-pocket,
	.sw-trio-shot {
		border-radius: 90px 90px 16px 16px;
	}

	.sw-figure {
		border-radius: 100px 100px 18px 18px;
	}

	.sw-record-title {
		font-size: 1.4rem;
	}

	.sw-buy,
	.sw-record-buy {
		flex-direction: column;
		align-items: stretch;
	}

	.sw-buy .single_add_to_cart_button,
	.sw-record-buy .single_add_to_cart_button,
	.sw-buy button[type="submit"] {
		width: 100%;
	}
}

@media (max-width: 430px) {
	.sw-hero {
		min-height: 54vh;
	}

	.sw-hero-copy {
		padding-top: 64px;
	}

	.sw-hero-title {
		font-size: 1.72rem;
		line-height: 1.12;
	}

	.sw-hero-lede {
		font-size: 0.9rem;
	}

	.sw-hero-facts > *,
	.sw-hero-stats > * {
		min-width: 116px;
		padding: 10px 8px;
	}

	.sw-hero-facts dt,
	.sw-hero-stats dt {
		font-size: 0.62rem;
	}

	.sw-card-title,
	.sw-trio-name {
		font-size: 0.98rem;
	}

	.sw-card-snip,
	.sw-trio-snip,
	.sw-shelf-quote,
	.sw-rail-snip {
		font-size: 0.82rem;
	}

	.sw-thumbs img,
	.sw-thumbs-list img {
		width: 56px;
		height: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sw-card,
	.sw-trio-cell,
	.sw-shelf-tile,
	.sw-rail-card,
	.sw-card-pocket img,
	.sw-trio-shot img,
	.sw-shelf-tile > a img,
	.sw-rail-figure img {
		transition: none;
	}

	.sw-card:hover,
	.sw-trio-cell:hover,
	.sw-shelf-tile:hover,
	.sw-rail-card:hover {
		transform: none;
	}
}

/* ------------------------------------------------------------
   9. 记录页补充钩子（缩略图按钮 / 芯片链接 / dd 内注源）
   这些元素只出现在 parts/product-record.php 与 search.php 里，
   沿用同一套奶油纸面 + 22px 圆角，不引入新颜色。
   ------------------------------------------------------------ */

.sw-thumbs button {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 14px;
	cursor: pointer;
	line-height: 0;
}

.sw-thumbs button img {
	opacity: 0.72;
	transition: opacity 200ms ease, outline-color 200ms ease;
}

.sw-thumbs button:hover img,
.sw-thumbs button.is-on img {
	opacity: 1;
	outline: 2px solid #8A5A3B;
	outline-offset: 2px;
}

.sw-facts dd .sw-facts-src,
.sw-record-facts dd .sw-facts-src,
.sw-facts dd a + .sw-facts-src {
	display: block;
	margin-top: 2px;
	text-align: right;
}

.sw-facts dd a,
.sw-record-facts dd a {
	color: #8A5A3B;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sw-chips li a {
	display: inline-flex;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

.sw-chips li a:hover {
	border-color: #8A5A3B;
}

.sw-touch-col .sw-chips {
	margin-top: 2px;
}

.sw-care-quote {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.sw-thumbs button img {
		transition: none;
	}
}


/* ============================================================
   Snugweave Softliving — main.css (append)
   Missing families: sw-cart-word, sw-foot-brand, sw-sec-related, sw-thumb
   ============================================================ */

:root {
	--sw-eucalyptus: #7E9C86;
}

/* ---------- header: cart word ---------- */
.sw-cart-word {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 0;
	font-family: var(--sw-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sw-muted);
	white-space: nowrap;
}

.sw-cart:hover .sw-cart-word,
.sw-cart:focus-visible .sw-cart-word {
	color: var(--sw-caramel-deep);
}

/* ---------- footer: brand block ---------- */
.sw-foot-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 0 0 var(--sw-gap);
	max-width: 34ch;
	color: var(--sw-muted);
	font-family: var(--sw-font-body);
	font-size: 15px;
	line-height: var(--sw-line-h);
}

.sw-foot-brand a {
	color: var(--sw-caramel);
	text-decoration: none;
}

.sw-foot-brand a:hover {
	color: var(--sw-caramel-deep);
}

.sw-foot-brand img,
.sw-foot-brand svg {
	display: block;
	max-width: 180px;
	height: auto;
}

.sw-foot-brand p {
	margin: 0;
	font-size: 15px;
	line-height: var(--sw-line-h);
	color: var(--sw-muted);
}

/* ---------- product record: related section ---------- */
.sw-sec-related {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sw-gap);
	padding: var(--sw-pad) 0;
	margin: 0;
	border-top: 1px solid var(--sw-line-soft);
	background: var(--sw-cream);
	color: var(--sw-ink);
	font-family: var(--sw-font-body);
	font-size: 16px;
	line-height: var(--sw-line-h);
}

.sw-sec-related > h2,
.sw-sec-related > h3 {
	margin: 0;
	font-family: var(--sw-font-display);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--sw-ink);
}

.sw-sec-related ul,
.sw-sec-related ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sw-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-sec-related li {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.sw-sec-related a {
	display: block;
	color: var(--sw-caramel);
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
}

.sw-sec-related a:hover {
	color: var(--sw-caramel-deep);
}

/* ---------- product record: thumb ---------- */
.sw-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sw-line);
	border-radius: var(--sw-radius);
	background: var(--sw-paper);
	box-shadow: var(--sw-shadow-soft);
	line-height: 0;
}

.sw-thumb img,
.sw-thumb svg,
.sw-thumb video {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: inherit;
	transition: transform 0.35s ease;
}

.sw-thumb:hover img,
.sw-thumb:focus-visible img {
	transform: scale(1.03);
}

.sw-thumb a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sw-thumb figcaption {
	display: block;
	padding: 10px 14px;
	font-family: var(--sw-font-body);
	font-size: 13px;
	line-height: 1.45;
	color: var(--sw-muted);
	background: var(--sw-paper);
}

/* ---------- narrow screens: collapse to one column ---------- */
@media (max-width: 720px) {
	.sw-foot-brand {
		max-width: none;
		padding-bottom: 18px;
		font-size: 14px;
	}

	.sw-sec-related {
		padding: 28px 0;
		gap: 18px;
	}

	.sw-sec-related > h2,
	.sw-sec-related > h3 {
		font-size: 22px;
	}

	.sw-sec-related ul,
	.sw-sec-related ol {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.sw-thumb {
		border-radius: 18px;
	}
}
