/* ratchetstrapsmanufacturer.com 子主题样式。对照效果图 design/canvas/project/*.dc.html。 */

/* ---------- 色板和字体 ---------- */
:root {
	--rsm-navy: #0B2545;
	--rsm-navy-2: #07192F;
	--rsm-accent: #C2410C;
	--rsm-accent-dark: #9A3412;
	--rsm-yellow: #F5B700;
	--rsm-ink: #14202B;
	--rsm-text: #3E4C59;
	--rsm-muted: #52606D;
	--rsm-bg: #F4F6F8;
	--rsm-bg-2: #EEF2F6;
	--rsm-line: #DDE3E9;
	--rsm-peach: #FFF1E8;
	--rsm-head: 'Barlow', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
	--theme-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--theme-button-font-family: 'Inter', system-ui, sans-serif;
	--theme-form-font-family: 'Inter', system-ui, sans-serif;
	color: var(--rsm-ink);
}

h1, h2, h3, h4, h5, h6, .rsm-h {
	font-family: var(--rsm-head);
	color: var(--rsm-navy);
}

.rsm-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ---------- 页头:顶栏 ---------- */
.ct-header [data-row*="top"] {
	background-color: var(--rsm-navy);
	font-size: 14px;
}

.ct-header [data-row*="top"] .ct-header-text {
	width: 100%;
	color: #D7E0EA;
}

.rsm-topbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.rsm-topbar-left {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
}

.rsm-topbar a,
.rsm-topbar span {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: #D7E0EA;
	text-decoration: none;
}

.rsm-topbar a:hover {
	color: #ffffff;
}

.rsm-topbar .rsm-topbar-right {
	color: var(--rsm-yellow);
	font-weight: 600;
}

/* ---------- 页头:主行 ---------- */
.ct-header [data-row*="middle"] {
	border-bottom: 1px solid var(--rsm-line);
}

.ct-header .ct-header-cta .ct-button {
	border-radius: 6px;
	font-weight: 600;
}

.ct-header [data-id="menu"] > ul > li > a {
	font-weight: 600;
}

/* 手机页头三格:左汉堡 30%、中 logo 50%、右按钮 20%(心法 H-066) */
@media (max-width: 999.98px) {
	.ct-header [data-device="mobile"] [data-row*="middle"] .ct-container {
		display: grid;
		grid-template-columns: 30% 50% 20%;
		align-items: center;
	}

	.ct-header [data-device="mobile"] .ct-header-cta .ct-button {
		padding-inline: 10px;
		font-size: 13px;
		white-space: nowrap;
	}
}

/* ---------- 页脚 ---------- */
.rsm-footer {
	background: var(--rsm-navy-2);
	color: #C9D4DF;
	font-size: 15px;
	line-height: 1.6;
}

.rsm-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 36px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 28px;
}

.rsm-footer-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rsm-footer p {
	margin: 0;
}

.rsm-footer-title {
	color: #ffffff;
	font-weight: 700;
}

.rsm-footer a {
	color: #C9D4DF;
	text-decoration: none;
}

.rsm-footer a:hover {
	color: #ffffff;
}

.rsm-footer ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rsm-footer-logo {
	align-self: flex-start;
	padding: 8px 12px;
	line-height: 0;
	background: #ffffff;
	border-radius: 8px;
}

.rsm-footer-logo img {
	width: auto;
	height: 40px;
}

.rsm-footer-socials {
	display: flex;
	gap: 10px;
}

.rsm-footer-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #ffffff;
	border: 1px solid #2B4566;
	border-radius: 999px;
}

.rsm-footer-contact span,
.rsm-footer-contact a {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.rsm-footer-contact .rsm-icon {
	margin-top: 3px;
	color: var(--rsm-yellow);
}

.rsm-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px 32px;
	font-size: 14px;
	border-top: 1px solid #1F3A5C;
}

/* ======================================================================
 * 首页(对照 design/canvas/project/Main.dc.html)
 * ==================================================================== */

/* 通用:整宽色带,内容限 1200 */
.rsm-band {
	padding-inline: 24px;
	margin-block: 0 !important;
}

.rsm-band > *,
.rsm-band > .wp-block-columns {
	max-width: 1200px;
	margin-inline: auto;
}

.rsm-section {
	padding-block: 72px;
}

.rsm-bg {
	background: var(--rsm-bg);
}

.rsm-eyebrow {
	margin: 0 auto 8px;
	color: var(--rsm-accent);
	font-family: var(--rsm-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rsm-section-title {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: clamp(30px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.1;
}

.rsm-section-lead {
	margin-top: 0;
	color: var(--rsm-muted);
}

.rsm-more {
	margin-top: 24px;
}

.rsm-more a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-weight: 600;
	text-decoration: none;
}

.rsm-card {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rsm-card:hover {
	box-shadow: 0 10px 28px rgba(11, 37, 69, 0.14);
	transform: translateY(-3px);
}

.rsm-btn {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 13px 24px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 6px;
}

.rsm-btn-primary {
	color: #ffffff;
	background: var(--rsm-accent);
}

.rsm-btn-primary:hover {
	color: #ffffff;
	background: var(--rsm-accent-dark);
}

.rsm-btn-ghost-light {
	color: #ffffff;
	border-color: #ffffff;
}

.rsm-btn-ghost-light:hover {
	color: var(--rsm-navy);
	background: #ffffff;
}

.rsm-btn-navy {
	color: #ffffff;
	background: var(--rsm-navy);
}

.rsm-btn-navy:hover {
	color: #ffffff;
	background: #12355f;
}

.rsm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 6px;
}

.rsm-icon-tile {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--rsm-accent);
	background: var(--rsm-peach);
	border-radius: 12px;
}

.rsm-icon-tile-navy {
	width: 44px;
	height: 44px;
	color: var(--rsm-yellow);
	background: var(--rsm-navy);
	border-radius: 10px;
}

/* 轮播 */
.rsm-slider {
	position: relative;
	padding: 0 !important;
	margin-block: 0 !important;
	overflow: hidden;
}

.rsm-slider > .rsm-slide {
	display: none;
	max-width: none;
	margin: 0;
	padding: 64px 24px 112px;
}

.rsm-slider > .rsm-slide.is-active,
.rsm-slider:not(.is-ready) > .rsm-slide:first-child {
	display: block;
}

.rsm-slide .rsm-slide-cols {
	max-width: 1200px;
	margin: 0 auto;
	gap: 48px;
	align-items: center;
}

.rsm-slide-dark {
	position: relative;
	color: #ffffff;
	background: var(--rsm-navy);
}

.rsm-slide-dark::after {
	position: absolute;
	top: -160px;
	right: -120px;
	width: 560px;
	height: 560px;
	content: '';
	border: 70px solid rgba(245, 183, 0, 0.1);
	border-radius: 999px;
	pointer-events: none;
}

.rsm-slide-light {
	background: var(--rsm-bg-2);
}

.rsm-slide .rsm-eyebrow {
	margin: 0 0 12px;
	font-size: 15px;
	letter-spacing: 0.08em;
}

.rsm-slide-dark .rsm-eyebrow {
	color: var(--rsm-yellow);
}

.rsm-hero-title {
	margin: 0 0 16px;
	font-size: clamp(34px, 4.2vw, 58px);
	font-weight: 800;
	line-height: 1.05;
}

.rsm-slide-dark .rsm-hero-title {
	color: #ffffff;
}

.rsm-hero-lead {
	max-width: 560px;
	margin: 0 0 16px;
	color: #C9D4DF;
	font-size: 18px;
}

.rsm-badge {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
	padding: 6px 14px;
	color: var(--rsm-yellow);
	font-size: 14px;
	font-weight: 600;
	border: 1px solid rgba(245, 183, 0, 0.6);
	border-radius: 999px;
}

.rsm-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
}

.rsm-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	color: var(--rsm-navy);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	background: #ffffff;
	border-radius: 12px;
}

.rsm-tile img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.rsm-tile-low {
	transform: translateY(24px);
}

.rsm-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px 24px;
	margin: 8px 0 20px;
	padding: 0;
	list-style: none;
}

.rsm-checklist li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--rsm-ink);
	font-size: 17px;
	font-weight: 600;
}

.rsm-checklist .rsm-icon {
	color: var(--rsm-accent);
}

.rsm-slide-photo {
	display: block;
	width: 100%;
	max-width: 460px;
	height: auto;
	margin: 0 auto;
	mix-blend-mode: multiply;
}

.rsm-slider-controls .rsm-slider-prev,
.rsm-slider-controls .rsm-slider-next {
	position: absolute;
	top: 44%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--rsm-navy);
	background: rgba(255, 255, 255, 0.9);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.rsm-slider-prev {
	left: 16px;
}

.rsm-slider-next {
	right: 16px;
}

.rsm-slider-dots {
	position: absolute;
	right: 0;
	bottom: 72px;
	left: 0;
	display: flex;
	gap: 10px;
	justify-content: center;
}

.rsm-slider-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(11, 37, 69, 0.25);
	border-radius: 999px;
	cursor: pointer;
	transition: width 0.2s ease;
}

.rsm-slider-dot.is-active {
	width: 32px;
	background: var(--rsm-yellow);
}

/* 轮播下面的信任条(心法 H-065:每一项都在老站原文里找得到) */
.rsm-trust-band {
	position: relative;
	z-index: 1;
	margin-top: -48px !important;
}

.rsm-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
	padding: 28px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(11, 37, 69, 0.12);
}

.rsm-trust-item,
.rsm-feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.rsm-trust-item strong,
.rsm-feature strong {
	display: block;
	color: var(--rsm-navy);
}

.rsm-trust-item span:not(.rsm-icon-tile),
.rsm-feature span:not(.rsm-icon-tile) {
	display: block;
	color: var(--rsm-muted);
	font-size: 14px;
}

/* 分类网格(9 个大类:电脑 3 列、平板 2 列、手机 1 列)和热卖(4 件) */
.rsm-cat-grid,
.rsm-hot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.rsm-cat-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 999.98px) {
	.rsm-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599.98px) {
	.rsm-cat-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.rsm-cat-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--rsm-ink);
	text-decoration: none;
	background: #ffffff;
	border: 1px solid var(--rsm-line);
	border-radius: 12px;
}

.rsm-cat-img {
	display: block;
	padding: 16px;
	background: #F6F8FA;
}

.rsm-cat-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.rsm-cat-meta {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
}

.rsm-cat-name {
	display: block;
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 20px;
	font-weight: 700;
}

.rsm-cat-count {
	display: block;
	color: var(--rsm-muted);
	font-size: 14px;
}

.rsm-cat-go {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	background: var(--rsm-navy);
	border-radius: 999px;
}

/* 热卖 */
.rsm-hot-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #ffffff;
	border-radius: 12px;
}

.rsm-hot-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 4px 10px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	background: var(--rsm-accent);
	border-radius: 999px;
}

.rsm-hot-img {
	display: block;
	padding: 16px;
	line-height: 0;
}

.rsm-hot-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.rsm-hot-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 4px 20px 20px;
}

.rsm-hot-name {
	color: var(--rsm-ink);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.rsm-hot-price {
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 21px;
	font-weight: 700;
}

.rsm-hot-inquire {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 10px 16px;
	color: var(--rsm-accent);
	font-weight: 600;
	text-decoration: none;
	border: 2px solid var(--rsm-accent);
	border-radius: 6px;
}

.rsm-hot-inquire:hover {
	color: #ffffff;
	background: var(--rsm-accent);
}

/* About + 数字 */
.rsm-about-cols {
	gap: 56px;
	align-items: center;
}

.rsm-about-photo {
	position: relative;
	padding: 40px;
	background: var(--rsm-bg);
	border-radius: 16px;
}

.rsm-about-photo img {
	display: block;
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

.rsm-stats {
	position: absolute;
	right: -12px;
	bottom: -24px;
	display: flex;
	gap: 24px;
	padding: 18px 22px;
	color: #ffffff;
	background: var(--rsm-navy);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(11, 37, 69, 0.25);
}

.rsm-stats strong {
	display: block;
	font-family: var(--rsm-head);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
}

.rsm-stats span {
	color: #C9D4DF;
	font-size: 13px;
}

.rsm-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 16px;
}

.rsm-feature span:not(.rsm-icon-tile) {
	color: var(--rsm-text);
	font-size: 15px;
}

/* 执行标准 */
.rsm-standards {
	padding-block: 48px;
	color: #ffffff;
	background: var(--rsm-navy);
}

.rsm-standards-cols {
	gap: 24px 40px;
	align-items: center;
}

.rsm-standards-title {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 28px;
	font-weight: 800;
}

.rsm-standards p {
	margin: 0;
	color: #C9D4DF;
}

.rsm-standard-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rsm-standard-badges li {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 10px 14px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 8px;
}

.rsm-standard-badges li::before {
	width: 18px;
	height: 18px;
	content: '';
	background: var(--rsm-yellow);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 下单五步 */
.rsm-steps-band .rsm-eyebrow,
.rsm-steps-band .rsm-section-title {
	text-align: center;
}

.rsm-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	margin: 32px auto 0;
	padding: 0;
	list-style: none;
}

.rsm-steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-align: center;
}

.rsm-steps strong {
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 20px;
}

.rsm-steps li > span:last-child {
	max-width: 220px;
	color: var(--rsm-muted);
	font-size: 15px;
}

.rsm-step-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	color: var(--rsm-accent);
	background: var(--rsm-peach);
	border-radius: 999px;
}

.rsm-step-n {
	position: absolute;
	top: -4px;
	right: -4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	background: var(--rsm-navy);
	border-radius: 999px;
}

/* 最新文章 */
.rsm-news.wp-block-latest-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	margin: 24px auto 0;
	padding: 0;
}

.rsm-news.wp-block-latest-posts li {
	margin: 0;
	padding: 24px 24px 24px 84px;
	position: relative;
	background: #ffffff;
	border-radius: 12px;
}

.rsm-news.wp-block-latest-posts li::before {
	position: absolute;
	top: 24px;
	left: 24px;
	width: 44px;
	height: 44px;
	content: '';
	background: var(--rsm-bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h5'/%3E%3C/svg%3E") center / 22px no-repeat;
	border-radius: 10px;
}

.rsm-news.wp-block-latest-posts a {
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

/* 询价区 */
.rsm-quote-cols {
	gap: 48px;
}

.rsm-contacts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.rsm-contacts li {
	display: flex;
	gap: 14px;
	align-items: center;
}

.rsm-contacts small {
	display: block;
	color: var(--rsm-muted);
	font-size: 13px;
}

.rsm-contacts strong,
.rsm-contacts a {
	color: var(--rsm-navy);
	font-weight: 600;
}

.rsm-icon-round {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--rsm-accent);
	background: var(--rsm-peach);
	border-radius: 999px;
}

.rsm-quote-form .wpcf7 {
	padding: 32px;
	background: var(--rsm-bg);
	border-radius: 16px;
}

/* 询价表单(三张通用) */
.rsm-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 4px 16px;
}

.rsm-form p {
	margin: 0 0 12px;
}

.rsm-form label {
	color: var(--rsm-navy);
	font-size: 14px;
	font-weight: 600;
}

.rsm-form p:has(textarea),
.rsm-form p:has(.wpcf7-submit),
.rsm-form p:has([name="quantity"]) {
	grid-column: 1 / -1;
}

.rsm-form input:not([type="submit"]),
.rsm-form select,
.rsm-form textarea {
	width: 100%;
	margin-top: 6px;
	background: #ffffff;
	border-color: #9AA5B1;
	border-radius: 6px;
}

.rsm-form .wpcf7-submit {
	padding: 14px 30px;
	font-weight: 700;
	border-radius: 6px;
}

@media (max-width: 599.98px) {
	.rsm-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		padding: 18px;
	}

	.rsm-trust-item {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 781px) {
	.rsm-slider > .rsm-slide {
		padding: 40px 20px 96px;
	}

	.rsm-tile-low {
		transform: none;
	}

	.rsm-stats {
		right: 8px;
	}

	.rsm-slider-controls .rsm-slider-prev,
	.rsm-slider-controls .rsm-slider-next {
		display: none;
	}
}

/* ======================================================================
 * 商品页(对照 design/canvas/project/Product.dc.html)
 * ==================================================================== */
.single-product .product_title {
	margin-bottom: 4px;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
}

.rsm-model {
	margin: 0 0 16px;
	color: var(--rsm-muted);
	font-size: 15px;
}

.rsm-price-box {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 24px;
	padding: 20px 24px;
	background: var(--rsm-bg);
	border-radius: 8px;
}

.rsm-price-box .rsm-price {
	margin: 0;
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 30px;
	font-weight: 700;
}

.rsm-price-box .rsm-inquire.button {
	padding: 14px 30px;
	font-size: 17px;
	font-weight: 600;
	border-radius: 6px;
}

.rsm-specs {
	width: 100%;
	margin: 0 0 20px;
	font-size: 15px;
	border-collapse: collapse;
}

.rsm-specs th,
.rsm-specs td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--rsm-line);
}

.rsm-specs th {
	width: 42%;
	color: var(--rsm-muted);
	font-weight: 500;
}

.rsm-specs tr:nth-child(odd) {
	background: #FAFBFC;
}

.rsm-options {
	display: grid;
	gap: 6px;
	margin: 0 0 8px;
}

.rsm-options dt {
	margin-top: 8px;
	color: var(--rsm-navy);
	font-weight: 600;
}

.rsm-options dd {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	color: var(--rsm-text);
}

.rsm-chip {
	padding: 4px 12px;
	font-size: 14px;
	border: 1px solid var(--rsm-line);
	border-radius: 999px;
}

.single-product .woocommerce-product-gallery {
	padding: 16px;
	border: 1px solid var(--rsm-line);
	border-radius: 8px;
}

.single-product .woocommerce-tabs {
	margin-top: 48px;
}

.single-product .up-sells > h2 {
	font-size: 30px;
	font-weight: 800;
}

/* 商品页底部询价区 */
.rsm-inquiry {
	margin: 56px 0 0;
	padding: 40px;
	background: #FFF4EC;
	border-radius: 12px;
}

.rsm-inquiry > h2 {
	margin-top: 0;
	font-size: 30px;
	font-weight: 800;
}

.rsm-inquiry .wpcf7 {
	padding: 28px;
	background: #ffffff;
	border-radius: 8px;
}

/* 列表卡片:区间价 + Inquire */
.rsm-loop-price {
	display: block;
	margin: 6px 0;
	color: var(--rsm-navy);
	font-family: var(--rsm-head);
	font-size: 19px;
	font-weight: 700;
}

.rsm-inquire-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	color: var(--rsm-accent);
	font-weight: 600;
	text-decoration: none;
	border: 2px solid var(--rsm-accent);
	border-radius: 6px;
}

.rsm-inquire-link:hover {
	color: #ffffff;
	background: var(--rsm-accent);
}

/* 分类页:说明里的横幅图 */
.tax-product_cat .page-description img {
	max-width: 100%;
	height: auto;
	margin-top: 12px;
	border-radius: 8px;
}

/* 文章正文宽 760 */
.single-post .entry-content {
	max-width: 760px;
	margin-inline: auto;
}

@media (max-width: 599.98px) {
	.rsm-inquiry {
		padding: 20px;
	}

	.rsm-inquiry .wpcf7 {
		padding: 16px;
	}
}
