/*
Theme Name: 九州云联shop
Author: 北京九州云联
Description: 九州云联shop 产品展示型 WordPress 主题：原生文章发布产品与新闻/技术文档、原生分类目录做三级栏目并区分产品/文章栏目，品牌色导航、全幅版式、可自定义图片比例、不显示价格，内置站点设置、广告位与 SEO 面板。
Version: 2.9.6
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ekit-shop
*/

/* ==========================================================================
   1. 基础变量与重置
   ========================================================================== */
:root {
	--ekit-brand: #0a5cff;
	--ekit-brand-2: #00c8ff;
	--ekit-brand-soft: rgba(10, 92, 255, .10);
	--ekit-brand-line: rgba(10, 92, 255, .22);
	--ekit-btn-ink: #fff;
	--ekit-ink: #202124;
	--ekit-ink-2: #474d56;
	--ekit-ink-3: #6b737d;
	--ekit-line: #e6eaf0;
	--ekit-bg: #ffffff;
	--ekit-tint: #f4f7ff;
	--ekit-head-bg: #fff;
	--ekit-head-ink: #12161d;
	--ekit-head-line: #e6eaf0;
	--ekit-radius: 14px;
	--ekit-max: 1320px;
	--ekit-pad: max(16px, calc((100% - var(--ekit-max)) / 2));
	--ekit-shadow: 0 18px 40px -24px rgba(16, 24, 40, .28);
	--ekit-img-ratio: 600 / 384;
}

* { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scrollbar-gutter: stable;
}

body {
	overflow-x: hidden;
	margin: 0;
	background: var(--ekit-bg);
	color: var(--ekit-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ekit-ink); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
body.no-scroll { overflow: hidden; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn--brand {
	background: var(--ekit-brand);
	color: var(--ekit-btn-ink);
	box-shadow: 0 12px 26px -14px var(--ekit-brand);
}
.btn--brand:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px var(--ekit-brand); }
.btn--ghost {
	background: #fff;
	border-color: var(--ekit-line);
	color: var(--ekit-ink);
}
.btn--ghost:hover { border-color: var(--ekit-brand); color: var(--ekit-brand); }
.btn__ico { flex: none; width: 19px; height: 19px; }
.product__cta .btn {
	height: 54px;
	padding: 0 32px;
	gap: 10px;
	font-size: 16.5px;
	font-weight: 700;
}
.product__cta .btn--ghost .btn__ico { width: 18px; height: 18px; color: var(--ekit-brand); transition: transform .2s ease; }
.product__cta .btn--ghost:hover .btn__ico { transform: translateX(3px); }

/* ==========================================================================
   2. 顶部页头（白色：Logo + 搜索）＋ 品牌色导航
   ========================================================================== */
.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	color: var(--ekit-ink);
	border-bottom: 1px solid var(--ekit-line);
	box-shadow: 0 10px 26px -26px rgba(16, 24, 40, .45);
}

.head-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 80px;
	padding: 0 var(--ekit-pad);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ekit-ink); }
.brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--ekit-tint);
	border: 1px solid var(--ekit-brand-line);
	color: var(--ekit-brand);
	font-size: 17px;
	font-weight: 700;
}
.brand__logo { display: block; width: auto; height: auto; max-height: 66px; max-width: 340px; object-fit: contain; }
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ekit-ink); }

.head-search {
	display: flex;
	align-items: center;
	flex: 1;
	max-width: 520px;
	height: 48px;
	margin-left: auto;
	padding: 0 7px 0 20px;
	border: 1px solid var(--ekit-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ekit-ink);
}
.head-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 15.5px;
	color: var(--ekit-ink);
}
.head-search button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--ekit-brand);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
}

.head-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	height: 48px;
	padding: 0 24px;
	border: 1px solid var(--ekit-brand-line);
	border-radius: 999px;
	color: var(--ekit-brand);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}
.head-phone__ico { flex: none; width: 19px; height: 19px; }
.head-phone:hover { background: var(--ekit-brand); border-color: var(--ekit-brand); color: #fff; }

.menu-btn {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ekit-line);
	border-radius: 12px;
	background: #fff;
	color: var(--ekit-ink);
	font-size: 20px;
	cursor: pointer;
}

/* 导航横条：品牌色底 + 白字，与页头分开 */
.head-cats { background: var(--ekit-head-bg); border-top: 0; }
.head-cats__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 46px;
	padding: 0 var(--ekit-pad);
}
.head-cats__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	height: 46px;
	padding-right: 15px;
	margin-right: 4px;
	border-right: 1px solid rgba(255, 255, 255, .28);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}

.mega-nav { display: flex; align-items: stretch; flex-wrap: wrap; justify-content: space-between; gap: 2px; flex: 1; }

.head-cats__home {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 42px;
	padding: 0 15px;
	border-radius: 10px;
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: color .18s ease, background .18s ease;
}
.head-cats__home:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.mega-item { position: relative; }
.mega-item__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 15px;
	border-radius: 10px;
	color: #fff;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: color .18s ease, background .18s ease;
}
.mega-item__link i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .72); transform: translateY(1px); }
.mega-item__link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.mega-item__link:hover i { color: #fff; }

.mega {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	width: 320px;
	max-height: min(68vh, 560px);
	overflow-y: auto;
	overflow-x: hidden;
	padding: 10px;
	border: 1px solid var(--ekit-line);
	border-top: 2px solid var(--ekit-brand);
	border-radius: 0 0 14px 14px;
	background: #fff;
	color: var(--ekit-ink);
	box-shadow: 0 28px 56px -28px rgba(16, 24, 40, .42);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-item.is-active .mega-item__link { background: rgba(255, 255, 255, .2); color: #fff; }
.mega-item.is-active .mega-item__link i { color: #fff; }

.mega__list { margin: 0; padding: 0; list-style: none; }
.mega__row { position: relative; border-radius: 8px; }
.mega__row-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--ekit-ink);
}
.mega__row-link span { color: var(--ekit-ink-3); font-size: 12px; }
.mega__row:hover .mega__row-link,
.mega__row:focus-within .mega__row-link { background: var(--ekit-tint); color: var(--ekit-brand); }
.mega__row.has-sub .mega__row-link::after { content: "▾"; color: var(--ekit-ink-3); font-size: 12px; }

/* 三级栏目在同一个面板内就地展开，不再弹出第二个浮层 */
.mega__sub {
	position: static;
	display: none;
	min-width: 0;
	margin: 2px 0 8px 14px;
	padding: 2px 0 2px 12px;
	border: 0;
	border-left: 2px solid var(--ekit-brand-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}
.mega__row.has-sub:hover .mega__sub,
.mega__row.has-sub:focus-within .mega__sub { display: block; }
.mega__sub a { display: block; padding: 6px 10px; border-radius: 6px; font-size: 13px; color: var(--ekit-ink-2); }
.mega__sub a:hover { background: var(--ekit-tint); color: var(--ekit-brand); }

.mega__all {
	display: block;
	margin-top: 6px;
	padding: 10px 12px;
	border-top: 1px solid var(--ekit-line);
	color: var(--ekit-brand);
	font-size: 13.5px;
	font-weight: 600;
}
.mega__all:hover { background: var(--ekit-brand-soft); border-radius: 8px; }

/* 公告 */
.announce {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px var(--ekit-pad);
	background: var(--ekit-tint);
	border-bottom: 1px solid var(--ekit-line);
	color: var(--ekit-ink-2);
	font-size: 13.5px;
}
.announce__tag {
	flex: none;
	padding: 2px 9px;
	border-radius: 6px;
	background: var(--ekit-brand);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}
.announce__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce__text a { color: var(--ekit-ink-2); }
.announce__text a:hover { color: var(--ekit-brand); }

/* 手机抽屉 */
.drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	width: min(380px, 86vw);
	height: 100%;
	background: #fff;
	box-shadow: -20px 0 60px -30px rgba(16, 24, 40, .5);
	transform: translateX(102%);
	transition: transform .3s ease;
}
.drawer.is-open { transform: none; }
.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ekit-line);
}
.drawer__brand { font-size: 17px; font-weight: 700; }
.drawer__close {
	width: 36px;
	height: 36px;
	border: 1px solid var(--ekit-line);
	border-radius: 50%;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
}
.drawer__body { flex: 1; overflow: auto; padding: 18px 20px 40px; }
.drawer__search form { display: flex; gap: 8px; margin-bottom: 18px; }
.drawer__search input {
	flex: 1;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--ekit-line);
	border-radius: 10px;
	font-size: 14px;
}
.mask {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(10, 14, 20, .45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s;
}
.mask.is-open { opacity: 1; visibility: visible; }

.acc { border-top: 1px solid var(--ekit-line); }
.acc__item { border-bottom: 1px solid var(--ekit-line); }
.acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	border: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.acc__head span { color: var(--ekit-ink-3); font-size: 12px; transition: transform .2s ease; }
.acc__item.is-open .acc__head span { transform: rotate(180deg); }
.acc__panel { display: none; padding: 0 0 10px 12px; }
.acc__item.is-open .acc__panel { display: block; }
.acc__panel a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ekit-ink-2); font-size: 14px; }
.acc__panel a:hover { background: var(--ekit-tint); color: var(--ekit-brand); }
.acc__sub { margin-left: 10px; padding-left: 10px; border-left: 2px solid var(--ekit-line); }
.acc__sub a { font-size: 13.5px; color: var(--ekit-ink-3); }

/* ==========================================================================
   3. 首页幻灯片
   ========================================================================== */
.hero-wrap { width: 100%; }
.hero { position: relative; height: auto; overflow: hidden; background: var(--ekit-tint); }
.hero__slide {
	position: relative;
	display: none;
	overflow: hidden;
	aspect-ratio: 16 / 5;
	background: var(--ekit-tint);
}
.hero__slide.is-active { display: block; }
.hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hero--fallback { min-height: clamp(380px, 46vw, 620px); }
.hero__inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 var(--ekit-pad);
}
.hero__text { max-width: min(780px, 56vw); }
.hero__kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ekit-brand-soft);
	color: var(--ekit-brand);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
}
.hero__title { font-size: clamp(26px, 3vw, 44px); line-height: 1.26; letter-spacing: -.01em; }
.hero__sub { margin: 16px 0 26px; max-width: 46ch; color: var(--ekit-ink-2); font-size: clamp(14px, 1.1vw, 17px); }
.hero__dots { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.hero__dot {
	width: 26px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(18, 22, 29, .2);
	cursor: pointer;
	transition: background .2s ease, width .2s ease;
}
.hero__dot.is-active { width: 40px; background: var(--ekit-brand); }
.hero__arrow {
	position: absolute;
	right: 22px;
	bottom: 22px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 1px solid var(--ekit-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	color: var(--ekit-ink);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.hero__arrow--prev { right: 74px; }
.hero__arrow:hover { border-color: var(--ekit-brand); color: var(--ekit-brand); }

/* 广告位：统一高度（约为原图比例的一半），标题保持一行 */
.ad-band { padding: clamp(12px, 1.6vw, 20px) var(--ekit-pad); }
.ad-band__link {
	position: relative;
	display: block;
	height: clamp(140px, 14vw, 210px);
	overflow: hidden;
	border-radius: var(--ekit-radius);
}
.ad-band__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ad-band__text {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: min(760px, 72%);
	max-width: calc(100% - 32px);
	padding: clamp(16px, 2.6vw, 38px);
	color: #fff;
	transform: translateY(-50%);
	pointer-events: none;
}
.ad-band__text::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(5, 12, 24, .62) 0%, rgba(5, 12, 24, .28) 55%, rgba(5, 12, 24, 0) 100%);
}
.ad-band__bar { width: 44px; height: 3px; background: currentColor; opacity: .9; }
.ad-band__title {
	margin: 0;
	color: inherit;
	font-size: clamp(19px, 2.1vw, 30px);
	line-height: 1.2;
	letter-spacing: -.01em;
	white-space: nowrap;
}
.ad-band__sub {
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	color: inherit;
	font-size: clamp(12px, 1vw, 15px);
	line-height: 1.5;
	white-space: nowrap;
	text-overflow: ellipsis;
	opacity: .92;
}
.ad-band--ink-dark .ad-band__text { color: #101720; }
.ad-band--ink-dark .ad-band__text::before { background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 100%); }
.ad-band--full { padding: 0; }
.ad-band--full .ad-band__link {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	border-radius: 0;
}
.ad-band--full .ad-band__text { padding-left: max(16px, calc((100vw - var(--ekit-max)) / 2)); }

/* ==========================================================================
   4. 产品卡片与栏目区块
   ========================================================================== */
.page { width: 100%; }
.page__inner { padding: clamp(20px, 3vw, 40px) var(--ekit-pad) clamp(30px, 4vw, 60px); }

.cat-sec { padding: clamp(16px, 1.6vw, 22px) var(--ekit-pad); }
.sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}
.sec-head__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sec-head__thumb {
	flex: none;
	width: 88px;
	height: auto;
	aspect-ratio: var(--ekit-img-ratio);
	border: 1px solid var(--ekit-line);
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
	filter: brightness(1.06);
}
.sec-head h2 { font-size: clamp(20px, 2vw, 26px); }
.sec-head__desc { margin: 4px 0 0; color: var(--ekit-ink-3); font-size: 13px; }
.sec-head__child { font-size: .68em; font-weight: 500; color: var(--ekit-ink-3); }
.sec-head__more { flex: none; color: var(--ekit-ink-2); font-size: 13.5px; }
.sec-head__more:hover { color: var(--ekit-brand); }

.grid { display: grid; gap: clamp(14px, 1.2vw, 20px); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.p-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.p-card:hover { transform: translateY(-3px); border-color: var(--ekit-brand-line); box-shadow: var(--ekit-shadow); }

.p-card__media {
	position: relative;
	display: block;
	aspect-ratio: var(--ekit-img-ratio);
	overflow: hidden;
	background: #fff;
}
.p-card--product .p-card__media {
	background: radial-gradient(92% 92% at 50% 42%, #ffffff 0%, #f1f6fd 58%, #e2ebf8 100%);
}
.p-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(1.02) saturate(1.02);
	transition: transform .35s ease;
}
.p-card--product .p-card__media img { mix-blend-mode: multiply; }
.p-card:hover .p-card__media img { transform: scale(1.03); }
.p-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .04);
}
.p-card__ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--ekit-ink-3);
	font-size: 12px;
	letter-spacing: .1em;
	background: linear-gradient(140deg, #fff 0%, var(--ekit-tint) 100%);
}

.p-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.p-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.p-card__title a:hover { color: var(--ekit-brand); }
.p-card__desc { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ekit-ink-2); font-size: 13.5px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.p-card__more { margin-top: auto; color: var(--ekit-brand); font-size: 13px; font-weight: 600; }

/* 文章卡片（新闻 / 技术文档） */
.a-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.a-card:hover { transform: translateY(-3px); border-color: var(--ekit-brand-line); box-shadow: var(--ekit-shadow); }
.a-card__media {
	position: relative;
	display: block;
	aspect-ratio: var(--ekit-img-ratio);
	overflow: hidden;
	background: linear-gradient(140deg, #fff 0%, var(--ekit-tint) 100%);
}
.a-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .35s ease;
}
.a-card:hover .a-card__media img { transform: scale(1.03); }
.a-card__ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--ekit-ink-3);
	font-size: 12px;
	letter-spacing: .12em;
}
.a-card__body { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px 18px; }
.a-card__meta { display: flex; align-items: center; gap: 10px; color: var(--ekit-ink-3); font-size: 12.5px; }
.a-card__tag {
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--ekit-brand-soft);
	color: var(--ekit-brand);
	font-weight: 600;
}
.a-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.a-card__title a:hover { color: var(--ekit-brand); }
.a-card__desc {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--ekit-ink-2);
	font-size: 13.5px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.a-card__more { margin-top: auto; color: var(--ekit-brand); font-size: 13px; font-weight: 600; }

/* 全部产品入口 */
.all-products {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: clamp(10px, 1.4vw, 16px) var(--ekit-pad) clamp(14px, 1.8vw, 24px);
	padding: clamp(18px, 2.4vw, 30px);
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: linear-gradient(120deg, var(--ekit-tint) 0%, #fff 70%);
}
.all-products h2 { font-size: clamp(18px, 1.8vw, 22px); }
.all-products p { margin: 6px 0 0; color: var(--ekit-ink-2); font-size: 13.5px; }

/* ==========================================================================
   5. 栏目页 / 列表页
   ========================================================================== */
.crumbs {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: clamp(14px, 1.8vw, 22px) var(--ekit-pad) 12px;
	margin-bottom: 18px;
	color: var(--ekit-ink-3);
	font-size: 14px;
}
.crumbs::after {
	content: "";
	position: absolute;
	left: var(--ekit-pad);
	right: var(--ekit-pad);
	bottom: 0;
	height: 1px;
	background: #dde2e8;
}
.crumbs a:hover { color: var(--ekit-brand); }
.crumbs span { color: var(--ekit-ink-3); }
.crumbs .crumbs__current {
	flex: 0 1 auto;
	max-width: 60%;
	overflow: hidden;
	color: var(--ekit-ink-2);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cat-head {
	margin: 0 0 clamp(18px, 2.4vw, 28px);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ekit-line);
}
.cat-head h1 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.cat-head__meta { margin: 8px 0 0; color: var(--ekit-ink-3); font-size: 13px; }
.cat-head__desc { margin: 8px 0 0; max-width: 90ch; color: var(--ekit-ink-2); font-size: 14.5px; }

.search-groups { display: grid; gap: clamp(26px, 3vw, 40px); }
.search-group__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 14px;
	padding-left: 10px;
	border-left: 3px solid var(--ekit-brand);
}
.search-group__head h2 { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3; }
.search-group__head span {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--ekit-tint);
	color: var(--ekit-ink-3);
	font-size: 12.5px;
	line-height: 1.6;
}

.cat-hero {
	padding: clamp(22px, 2.6vw, 36px);
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: linear-gradient(120deg, var(--ekit-tint) 0%, #fff 65%);
}
.cat-hero--split { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 56px); }
.cat-hero__text { max-width: 60ch; }
.cat-hero__text h1 { font-size: clamp(24px, 2.6vw, 36px); }
.cat-hero__text p { margin: 10px 0 0; color: var(--ekit-ink-2); font-size: 14.5px; }
.cat-hero__count {
	display: inline-block;
	margin-top: 14px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ekit-brand-soft);
	color: var(--ekit-brand);
	font-size: 12.5px;
	font-weight: 600;
}
.cat-hero__media {
	flex: none;
	width: min(320px, 34%);
	aspect-ratio: var(--ekit-img-ratio);
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: 12px;
	background: #fff;
}
.cat-hero__media img {
	width: 100%;
	height: 100%;
	padding: 10px;
	object-fit: contain;
	filter: brightness(1.07) saturate(1.02);
}

.cat-tax {
	display: block;
	margin: 4px 0 clamp(22px, 2.6vw, 32px);
	padding: 18px 20px;
	border: 1px solid var(--ekit-line);
	border-radius: 10px;
	background: #fff;
}
.cat-tax__row {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	align-items: start;
	gap: 10px 18px;
}
.cat-tax__row + .cat-tax__row {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--ekit-line);
}
.cat-tax__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	color: var(--ekit-ink);
	font-size: 15.5px;
	font-weight: 600;
	white-space: nowrap;
}
.cat-tax__icon { flex: none; color: var(--ekit-brand); }
.cat-tax__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px 16px;
}

/* 产品类别 / 产品系列：标题单独占一行，栏目另起一行，每行平铺 4 列。 */
.cat-tax__row--cats,
.cat-tax__row--series {
	display: block;
}
.cat-tax__row--cats .cat-tax__label,
.cat-tax__row--series .cat-tax__label {
	min-height: 28px;
	margin-bottom: 2px;
}
.cat-tax__row--cats .cat-tax__links,
.cat-tax__row--series .cat-tax__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 10px;
	overflow: visible;
}
.cat-tax__row--cats .cat-tax__item,
.cat-tax__row--series .cat-tax__item {
	min-height: 34px;
	padding: 0 8px;
	font-size: 15.5px;
	line-height: 1.05;
	white-space: normal;
	overflow-wrap: anywhere;
}
.cat-tax__row--series .cat-tax__item {
	font-size: 14.5px;
	line-height: 1.08;
}

/* 文章类别最多展示 4 行，其余纵向滚动 */
.cat-tax__row:not(.cat-tax__row--series):not(.cat-tax__row--cats) .cat-tax__links {
	position: relative;
	max-height: 234px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: #c9ced6 #f3f4f6;
}
.cat-tax__row:not(.cat-tax__row--series):not(.cat-tax__row--cats) .cat-tax__links::-webkit-scrollbar { width: 8px; }
.cat-tax__row:not(.cat-tax__row--series):not(.cat-tax__row--cats) .cat-tax__links::-webkit-scrollbar-track { background: #f3f4f6; border-radius: 8px; }
.cat-tax__row:not(.cat-tax__row--series):not(.cat-tax__row--cats) .cat-tax__links::-webkit-scrollbar-thumb { background: #c9ced6; border-radius: 8px; }
.cat-tax__item {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid transparent;
	border-radius: 12px;
	color: var(--ekit-ink);
	font-size: 14.5px;
	line-height: 1.35;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cat-tax__item:hover { color: var(--ekit-brand); }
.cat-tax__item.is-current {
	border-color: var(--ekit-brand);
	color: var(--ekit-brand);
	background: #fff;
	font-weight: 600;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip-row--sub { margin-top: -4px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--ekit-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ekit-ink-2);
	font-size: 13.5px;
}
.chip:hover { border-color: var(--ekit-brand-line); color: var(--ekit-brand); }
.chip.is-active, .chip.is-current { border-color: var(--ekit-brand); background: var(--ekit-brand); color: #fff; }
.chip span, .chip em {
	font-style: normal;
	color: var(--ekit-ink-3);
	font-size: 12px;
}
.chip.is-active span, .chip.is-current span, .chip.is-active em, .chip.is-current em { color: rgba(255, 255, 255, .82); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 6px; }
.pager a, .pager span {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--ekit-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ekit-ink-2);
	font-size: 13.5px;
}
.pager a:hover { border-color: var(--ekit-brand-line); color: var(--ekit-brand); }
.pager .is-current { border-color: var(--ekit-brand); background: var(--ekit-brand); color: #fff; }

.empty { padding: 60px 0; text-align: center; }
.empty h2 { font-size: 20px; }
.empty p { margin-top: 8px; color: var(--ekit-ink-2); }
.empty a { color: var(--ekit-brand); }

/* ==========================================================================
   6. 产品详情
   ========================================================================== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 30px); align-items: start; }

.gal__main {
	position: relative;
	aspect-ratio: var(--ekit-img-ratio);
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: radial-gradient(92% 92% at 50% 42%, #ffffff 0%, #f1f6fd 58%, #e2ebf8 100%);
}
.gal__main img {
	width: 100%;
	height: 100%;
	padding: clamp(10px, 1.2vw, 18px);
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: brightness(1.07) saturate(1.02);
	cursor: zoom-in;
}
.gal__thumbs { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.gal__strip {
	display: flex;
	flex: 1 1 auto;
	gap: 10px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 1px;
}
.gal__strip::-webkit-scrollbar { display: none; }
.gal__thumb {
	flex: 0 0 calc((100% - 42px) / 5);
	min-width: 0;
	aspect-ratio: var(--ekit-img-ratio);
	padding: 4px;
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	scroll-snap-align: start;
}
.gal__nav {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--ekit-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ekit-ink-2);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 5px rgba(16, 24, 40, .09);
	transition: color .15s, border-color .15s, opacity .15s;
}
.gal__nav:hover { color: var(--ekit-brand); border-color: var(--ekit-brand); }
.gal__nav[disabled] { opacity: .32; cursor: default; border-color: var(--ekit-line); color: var(--ekit-ink-2); box-shadow: none; }
.gal__nav[hidden] { display: none; }
.gal__thumbs.gal--few .gal__thumb { flex: 1 1 0; max-width: 240px; }
.gal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gal__thumb.is-active { border-color: var(--ekit-brand); box-shadow: 0 0 0 2px var(--ekit-brand-soft); }

.product__info {
	padding: clamp(18px, 2.4vw, 32px);
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: #fff;
}
.product__title { font-size: 21px; line-height: 1.4; }
.product__intro { margin-top: 14px; max-width: 62ch; color: var(--ekit-ink-2); font-size: 15px; line-height: 1.8; }
.product__intro p { margin: 0 0 10px; }
.product__intro > * + * { margin-top: 12px; }
.product + .entry { margin-top: clamp(20px, 2.8vw, 32px); }
.product__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.product__points {
	margin: 24px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--ekit-line);
	list-style: none;
	display: grid;
	gap: 10px;
	color: var(--ekit-ink-2);
	font-size: 13.5px;
	line-height: 1.6;
}
.product__points li { display: flex; gap: 9px; }
.product__points li::before {
	content: "✓";
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--ekit-brand-soft);
	box-shadow: inset 0 0 0 1px var(--ekit-brand-line);
	color: var(--ekit-brand);
	font-size: 10px;
	font-weight: 700;
}

.related { margin-top: clamp(34px, 4vw, 60px); }
.related h2 { margin-bottom: 18px; font-size: clamp(18px, 1.8vw, 22px); }

/* ==========================================================================
   7. 通用页面 / 文章内容
   ========================================================================== */
.entry {
	width: 100%;
	padding: clamp(20px, 3vw, 38px);
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: #fff;
}
.entry__head { margin-bottom: 22px; }
.entry__head h1 { font-size: clamp(24px, 2.6vw, 34px); }
.entry__body { width: 100%; max-width: none; color: var(--ekit-ink-2); font-size: 15px; line-height: 1.9; }
.entry__body p { margin: 0 0 1em; }
.entry__body h2 { margin: 26px 0 12px; font-size: 21px; color: var(--ekit-ink); }
.entry__body h3 { margin: 20px 0 10px; font-size: 18px; color: var(--ekit-ink); }
.entry__body ul, .entry__body ol { padding-left: 1.4em; margin: 0 0 1em; }
.entry__body li { margin-bottom: 6px; }
.entry__body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry__body th, .entry__body td { padding: 10px 12px; border: 1px solid var(--ekit-line); text-align: left; }
.entry__body th { background: var(--ekit-tint); color: var(--ekit-ink); font-weight: 600; }
.entry__body .ekit-spec-note { margin-top: 8px; color: var(--ekit-ink-3); font-size: 13px; }
.entry__body h3 + table { margin-top: 4px; }

/* 文章详情（新闻 / 技术文档） */
.post {
	padding: clamp(20px, 3vw, 44px);
	border: 1px solid var(--ekit-line);
	border-radius: var(--ekit-radius);
	background: #fff;
}
.post__head { max-width: none; }
.post__tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	margin-bottom: 14px;
	border-radius: 6px;
	background: var(--ekit-brand-soft);
	color: var(--ekit-brand);
	font-size: 12.5px;
	font-weight: 600;
}
.post__title { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.32; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: var(--ekit-ink-3); font-size: 13px; }
.post__cover {
	max-width: 780px;
	margin: clamp(20px, 3vw, 32px) auto;
	overflow: hidden;
	border: 1px solid var(--ekit-line);
	border-radius: 12px;
	background: #fff;
	aspect-ratio: var(--ekit-img-ratio);
}
.post__cover img { width: 100%; height: 100%; object-fit: contain; }
.post__body { max-width: none; margin-top: clamp(18px, 2.6vw, 28px); color: var(--ekit-ink-2); font-size: 15.5px; line-height: 1.9; }
.post__body p { margin: 0 0 1em; }
.post__body h2 { margin: 28px 0 12px; font-size: 21px; color: var(--ekit-ink); }
.post__body h3 { margin: 22px 0 10px; font-size: 18px; color: var(--ekit-ink); }
.post__body ul, .post__body ol { padding-left: 1.4em; margin: 0 0 1em; }
.post__body li { margin-bottom: 6px; }
.post__body img { border-radius: 10px; margin: 8px 0; }
.post__body a { color: var(--ekit-brand); }
.post__body blockquote {
	margin: 18px 0;
	padding: 12px 16px;
	border-left: 3px solid var(--ekit-brand);
	border-radius: 0 8px 8px 0;
	background: var(--ekit-tint);
	color: var(--ekit-ink-2);
}

/* ==========================================================================
   8. 页脚
   ========================================================================== */
.site-foot {
	margin-top: clamp(10px, 1.4vw, 18px);
	padding: clamp(24px, 2.6vw, 36px) var(--ekit-pad) 18px;
	background: #fff;
	color: var(--ekit-ink);
	border-top: 1px solid var(--ekit-line);
}
.site-foot__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: clamp(20px, 3vw, 48px);
}
.foot-brand__name { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.foot-brand__desc { margin: 14px 0 0; max-width: 40ch; color: var(--ekit-ink-3); font-size: 13.5px; }
.foot-col h3 { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.foot-col a, .foot-col p { display: block; margin: 0 0 8px; color: var(--ekit-ink-3); font-size: 13.5px; }
.foot-col a:hover { color: var(--ekit-brand); }
.site-foot__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: clamp(18px, 2.2vw, 28px);
	padding-top: 16px;
	border-top: 1px solid var(--ekit-line);
	color: var(--ekit-ink-3);
	font-size: 12.5px;
}
.site-foot__code {
	margin-top: 12px;
	line-height: 1.7;
}
.site-foot__code > * { max-width: 100%; }

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--ekit-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ekit-ink-2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 4vw;
	background: rgba(8, 12, 18, .86);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; background: #fff; }
.lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

/* 2.6 可读性：按参考站 16px / 深灰正文微调，避免小字发灰 */
.mega-item__link { font-size: 15px; }
.mega__row-link { font-size: 14.5px; }
.mega__sub a { font-size: 14px; }
.p-card__title { font-size: 16.5px; }
.p-card__desc, .p-card__more { font-size: 14.5px; }
.a-card__title { font-size: 17.5px; }
.a-card__desc { font-size: 14.5px; }
.a-card__meta { font-size: 13.5px; }
.cat-head__meta { font-size: 14px; }
.cat-head__desc { font-size: 15px; }
.sec-head__desc { font-size: 14px; }
.sec-head__more { font-size: 14.5px; }
.product__intro { font-size: 16px; }
.product__points { font-size: 14.5px; }
.entry__body { font-size: 16px; }
.entry__body table { font-size: 15px; }
.foot-brand__desc { font-size: 14.5px; }
.foot-col a, .foot-col p { font-size: 14.5px; }
.site-foot__bottom { font-size: 13.5px; }

/* ==========================================================================
   9. 响应式
   ========================================================================== */
@media (max-width: 1180px) {
	.grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-foot__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.head-cats__inner { flex-wrap: wrap; min-height: 46px; }
	.head-cats__home { height: 42px; padding: 0 12px; font-size: 14px; }
	.mega-nav {
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		overflow: visible;
	}
	.mega-item__link { height: 42px; padding: 0 9px; font-size: 14px; }
}

@media (max-width: 1080px) {
	.head-inner { gap: 14px; }
	.hero__text { max-width: 60vw; }
	.product { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cat-hero__media { width: 30%; }
}

@media (max-width: 900px) {
	.head-inner { height: 72px; }
	.brand__logo { max-height: 52px; max-width: 260px; }
	.head-cats__home { height: 40px; padding: 0 10px; font-size: 13.5px; }
	.mega-item__link { height: 40px; padding: 0 7px; font-size: 13.5px; }
	.head-cats__inner { padding: 4px var(--ekit-pad); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero--fallback { min-height: clamp(300px, 52vw, 420px); }
	.hero__text { max-width: 74vw; }
	.hero__dots { left: var(--ekit-pad); transform: none; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.sec-head__desc { display: none; }
	.site-foot__inner { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.all-products { flex-direction: column; align-items: flex-start; }
	.cat-hero--split { flex-direction: column; align-items: flex-start; }
	.cat-hero__media { width: 100%; max-width: 320px; }
	.related .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-tax { padding: 16px; }
	.cat-tax__row { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 14px; }
	.cat-tax__links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; }
}

@media (max-width: 760px) {
	.head-search { display: none; }
	.menu-btn { display: block; }
	.head-cats { display: none; }
	.head-cats__inner { min-height: 0; }
}

@media (max-width: 600px) {
	:root { --ekit-pad: 16px; }
	body { font-size: 15.5px; }
	.head-inner { height: 60px; }
	.brand__logo { max-height: 40px; max-width: 200px; }
	.brand__mark { width: 28px; height: 28px; font-size: 14px; }
	.brand__name { font-size: 16px; }
	.head-phone { display: none; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.p-card__body { padding: 10px 12px 12px; }
	.p-card__title { font-size: 14.5px; }
	.p-card__desc { display: none; }
	.p-card__media img { padding: 0; }
	.hero--fallback { min-height: clamp(320px, 74vw, 430px); }
	.hero__inner { display: flex; padding: 0 var(--ekit-pad); }
	.hero__text { max-width: 100%; }
	.hero__title { font-size: 23.5px; line-height: 1.32; }
	.hero__sub { font-size: 13.5px; }
	.hero__arrow { display: none; }
	.ad-band { padding: 14px 0; }
	.ad-band__text { width: 88%; padding: 16px; }
	.ad-band__title { font-size: 18px; }
	.page__inner { padding: 20px var(--ekit-pad) 32px; }
	.cat-hero { padding: 18px; }
	.cat-hero__media { width: 100%; }
	.chip-row { margin: 16px 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.chip-row::-webkit-scrollbar { display: none; }
	.cat-tax { padding: 14px; }
	.cat-tax__row { grid-template-columns: 1fr; gap: 4px; }
	.cat-tax__label { min-height: 32px; }
	.cat-tax__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
	.cat-tax__row--cats .cat-tax__links,
	.cat-tax__row--series .cat-tax__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
	.cat-tax__row:not(.cat-tax__row--series):not(.cat-tax__row--cats) .cat-tax__links { max-height: 214px; }
	.cat-tax__item { min-height: 36px; padding: 5px 10px; font-size: 14px; }
	.gal__thumb { flex-basis: calc((100% - 32px) / 4); }
	.gal__nav { width: 26px; height: 26px; font-size: 13px; }
	.product__cta { flex-direction: column; }
	.product__cta .btn { width: 100%; flex: none; justify-content: center; white-space: nowrap; }
	.entry__body { font-size: 15.5px; }
	.site-foot__inner { grid-template-columns: 1fr; gap: 18px; }
	.foot-col:nth-child(3), .foot-col:nth-child(4) { display: none; }
	.to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
	.p-card__title { font-size: 14px; }
	.hero__title { font-size: 21px; }
}
