/* =====================================================================
   KingSoo Product Detail Page Template — product.css
   ---------------------------------------------------------------------
   结构:
   01. 页面骨架与统一间距
   02. 面包屑导航
   03. 顶部模块: 产品轮播 + 标题/参数表/按钮
   04. 详情 Tabs (#febd03 / #224033)
   05. 相关产品
   06. 询价弹窗 + 图片灯箱
   07. 模块 01-06 原样式整合
   08. 链接颜色防覆盖 (Elementor 优先级保护)
   09. 轻量动效 + 无障碍 (reduced-motion)

   注意: 本文件不声明 font-family, 全部继承主题字体。
   ===================================================================== */

/* =====================================================================
   01. 页面骨架与统一间距
   ===================================================================== */

.ks-pdp {
  --ks-green: #103f31;
  --ks-lime: #a8c91d;
  --ks-text: #53615c;
  --ks-line: #dfe7e3;
  --ks-surface: #f5f7f1;
  --ks-tab-active: #febd03;   /* Tab 激活背景 */
  --ks-tab-idle: #224033;     /* Tab 未激活背景 */
  --ks-pdp-bottom: clamp(48px, 6vw, 80px);  /* 底部预留空间 (页脚表单上移后), 需要更多改这一个值即可 */
  width: 100%;
  margin: 0;
  margin-bottom: var(--ks-pdp-bottom);  /* 页脚表单上移后预留底部空间 */
  padding: 0;
}

.ks-pdp *,
.ks-pdp *::before,
.ks-pdp *::after {
  box-sizing: border-box;
}

.ks-pdp__wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 40px);
}

/* 模块纵向节奏: 全端统一间距 (位于 Customized 面板内) */
.ks-pdp__modules {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
  margin-top: clamp(48px, 6vw, 72px);
}

.ks-pdp__module {
  min-width: 0;
}

/* 各模块 inner 统一吃到页面左右留白 */
.ks-pdp__module > .ks-product-design__inner,
.ks-pdp__module > .ks-materials__inner,
.ks-pdp__module > .ks-components__inner,
.ks-pdp__module > .ks-brand-pack__inner,
.ks-pdp__module > .ks-custom-process__inner,
.ks-pdp__module > .ks-custom-process,
.ks-pdp__module > .ks-product-idea {
  min-width: 0;
}


/* =====================================================================
   02. 面包屑导航
   ===================================================================== */

.ks-breadcrumb {
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 22px) 0 clamp(18px, 2.5vw, 28px);
}

.ks-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--ks-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.ks-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #b7c4bd;
  font-weight: 400;
}

.ks-breadcrumb a {
  color: var(--ks-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ks-breadcrumb a:hover {
  color: var(--ks-green);
  text-decoration: underline;
  text-decoration-color: var(--ks-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.ks-breadcrumb [aria-current="page"] {
  color: var(--ks-green);
  font-weight: 700;
}


/* =====================================================================
   03. 顶部模块: 轮播 + 标题/参数/按钮
   ===================================================================== */

.ks-top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  width: 100%;
}

/* ---------- 3.1 轮播 ---------- */

.ks-gallery {
  min-width: 0;
}

.ks-gallery__stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ks-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, var(--ks-surface) 78%);
}

.ks-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(16px, 2.5vw, 30px);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.ks-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ks-gallery__image.is-switching {
  opacity: 0;
  transform: scale(0.985);
}

/* 放大提示 */
.ks-gallery__hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(16, 63, 49, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.ks-gallery__stage:hover .ks-gallery__hint,
.ks-gallery__main:focus-visible ~ .ks-gallery__hint {
  opacity: 1;
  transform: none;
}

.ks-gallery__hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--ks-lime);
}

/* 计数器 */
.ks-gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 63, 49, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* 左右箭头 */
.ks-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--ks-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ks-green);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 63, 49, 0.12);
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ks-gallery__nav:hover {
  background: var(--ks-green);
  color: #ffffff;
}

.ks-gallery__nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.ks-gallery__nav--prev { left: 14px; }
.ks-gallery__nav--next { right: 14px; }

.ks-gallery__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.ks-gallery__nav--next:hover { transform: translateY(-50%) translateX(2px); }

/* 缩略图: 位于主图下方 */
.ks-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ks-gallery__thumb {
  flex: 0 0 auto;
  width: clamp(64px, 7vw, 84px);
  height: clamp(64px, 7vw, 84px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ks-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.ks-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: var(--ks-lime);
}

.ks-gallery__thumb.is-active {
  border-color: var(--ks-green);
  box-shadow: 0 6px 16px rgba(16, 63, 49, 0.14);
}

/* ---------- 3.2 右侧摘要 ---------- */

.ks-summary {
  min-width: 0;
}

/* 类目 Badge */
.ks-summary__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ks-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ks-summary__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ks-lime);
}

.ks-summary__badge:hover {
  background: #0a2f24;
  transform: translateY(-1px);
}

/* H1 标题 */
.ks-summary__title {
  margin: 0 0 14px;
  color: var(--ks-green);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* 一句话描述 */
.ks-summary__description {
  max-width: 60ch;
  margin: 0 0 26px;
  color: var(--ks-text);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
}

/* ---------- 3.3 参数表 (一排两列: 左标题 + 右描述) ---------- */
/* ACF Repeater 对应: 一行 = 标题(左) + 描述(右) */

.ks-specs {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background: var(--ks-line);   /* 行分隔线由背景透出, 不串行 */
}

.ks-specs__row {
  display: grid;
  grid-template-columns: minmax(110px, 0.85fr) minmax(0, 2fr);
  gap: 14px 18px;
  align-items: baseline;
  min-width: 0;
  padding: 14px 20px;
  background: #ffffff;
}

.ks-specs__row:nth-child(even) {
  background: #fbfcfa;
}

.ks-specs__label {
  color: #7d8b84;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.ks-specs__value {
  color: var(--ks-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* ---------- 3.4 操作按钮 ---------- */

.ks-summary__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ks-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

/* 询价 (弹窗) — 采用 Tab 激活色形成呼应 */
.ks-btn--quote {
  background: var(--ks-tab-active);
  border-color: var(--ks-tab-active);
  color: var(--ks-tab-idle);
}

.ks-btn--quote:hover {
  background: #f2b102;
  border-color: #f2b102;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(254, 189, 3, 0.4);
}

/* 联系我们 */
.ks-btn--contact {
  background: transparent;
  border-color: var(--ks-green);
  color: var(--ks-green);
}

.ks-btn--contact:hover {
  background: var(--ks-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 63, 49, 0.22);
}


/* =====================================================================
   04. 详情 Tabs
   ===================================================================== */

.ks-tabs {
  margin-top: clamp(56px, 7vw, 96px);
}

.ks-tabs__bar {
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--ks-tab-idle);
  border-radius: 16px 16px 0 0;
}

.ks-tabs__bar::-webkit-scrollbar {
  display: none;
}

.ks-tabs__tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 14px 30px;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.ks-tabs__tab:hover {
  color: var(--ks-tab-active);
}

.ks-tabs__tab.is-active {
  background: var(--ks-tab-active);
  color: var(--ks-tab-idle);
  font-weight: 800;
}

.ks-tabs__panel {
  display: none;
  padding: clamp(26px, 4vw, 56px);
  border: 1px solid var(--ks-line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
}

.ks-tabs__panel.is-active {
  display: block;
  animation: ks-tab-fade 0.35s ease both;
}

/* Customized 面板: 承载 01-06 模块, 无边框透明, 模块按自身版式排布 */
.ks-tabs__panel--flush {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* 面板内容为整页模块, 切换时不做位移动画, 避免页面跳动 */
.ks-tabs__panel--flush.is-active {
  animation: none;
}

@keyframes ks-tab-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Product Description 占位说明 (后期为 product_content 输出) */
.ks-tabs__placeholder {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: clamp(30px, 5vw, 64px) 20px;
  border: 2px dashed #cfdcd4;
  border-radius: 14px;
  background: #fafbf8;
  text-align: center;
}

.ks-tabs__placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef4ec;
  color: var(--ks-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ks-tabs__placeholder p {
  max-width: 52ch;
  margin: 0;
  color: var(--ks-text);
  font-size: 15px;
  line-height: 1.7;
}


/* =====================================================================
   05. 相关产品 (悬停强化) — Tabs 之后独立区块
   ===================================================================== */

.ks-related {
  margin-top: clamp(56px, 7vw, 96px);
}

.ks-related__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
}

.ks-related__title {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ks-green);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ks-related__heading-line {
  flex: 1 1 auto;
  min-width: 30px;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(90deg, var(--ks-line), rgba(223, 231, 227, 0));
}

/* 轮播箭头 (标题行右侧, 超过一屏时 JS 显示) */
.ks-related__nav {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  margin-left: 16px;
}

.ks-related__nav[hidden] {
  display: none;
}

.ks-related__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ks-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ks-green);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 63, 49, 0.10);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.ks-related__nav-btn:hover:not(:disabled) {
  background: var(--ks-green);
  color: #ffffff;
  transform: translateY(-2px);
}

.ks-related__nav-btn:focus-visible {
  outline: 3px solid #1b87d6;
  outline-offset: 2px;
}

.ks-related__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ks-related__nav-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

/* 横向滚动轨道: 一屏 4 卡, 放不下自动变轮播 (scroll-snap 原生滑动) */
.ks-related__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;           /* Firefox 隐藏滚动条 */
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;           /* 给卡片悬停上浮留出空间 */
}

.ks-related__track::-webkit-scrollbar {
  display: none;                   /* Chrome/Safari 隐藏滚动条 */
}

.ks-related.is-carousel .ks-related__track {
  cursor: grab;
}

.ks-related__track.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;          /* 拖拽时暂时解除吸附, 松手再对齐 */
}

.ks-related-card {
  flex: 0 0 calc((100% - 66px) / 4);   /* 一屏 4 卡: 3 个间隙 × 22px */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(16, 63, 49, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ks-related-card:hover,
.ks-related-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(168, 201, 29, 0.8);
  box-shadow: 0 16px 36px rgba(16, 63, 49, 0.13);
}

.ks-related-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2ee;
}

.ks-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ks-related-card:hover .ks-related-card__media img,
.ks-related-card:focus-visible .ks-related-card__media img {
  transform: scale(1.05);
}

.ks-related-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 63, 49, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ks-related-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 15px 16px;
}

.ks-related-card__title {
  min-width: 0;
  color: var(--ks-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.ks-related-card__arrow {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff6d4;
  color: #739900;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ks-related-card__arrow svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.ks-related-card:hover .ks-related-card__arrow,
.ks-related-card:focus-visible .ks-related-card__arrow {
  background: var(--ks-tab-active);
  color: var(--ks-tab-idle);
  transform: translateX(4px);
}


/* =====================================================================
   06. 询价弹窗 + 图片灯箱
   ===================================================================== */

/* ---------- 弹窗 ---------- */

.ks-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ks-modal[hidden] {
  display: none;
}

.ks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 22, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ks-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(4, 30, 22, 0.3);
  animation: ks-modal-in 0.28s ease both;
}

@keyframes ks-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.ks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ks-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ks-green);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ks-modal__close:hover {
  background: var(--ks-green);
  color: #ffffff;
}

.ks-modal__close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.ks-modal__title {
  margin: 0 0 8px;
  color: var(--ks-green);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ks-modal__sub {
  margin: 0 0 22px;
  color: var(--ks-text);
  font-size: 15px;
  line-height: 1.65;
}

/* 表单占位: 后期通过 ACF 设置 Elementor Form Template / WPForms */
.ks-modal__form-slot {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: clamp(26px, 4vw, 44px) 20px;
  border: 2px dashed #cfdcd4;
  border-radius: 14px;
  background: #fafbf8;
  text-align: center;
}

.ks-modal__form-slot-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fdf6d8;
  color: var(--ks-tab-idle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ks-modal__form-slot p {
  max-width: 46ch;
  margin: 0;
  color: var(--ks-text);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 灯箱 ---------- */

.ks-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 26, 20, 0.93);
  animation: ks-lb-in 0.25s ease both;
}

.ks-lightbox[hidden] {
  display: none;
}

@keyframes ks-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ks-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.ks-lightbox__image {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
}

.ks-lightbox__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ks-lightbox__btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ks-lightbox__btn:hover {
  background: rgba(254, 189, 3, 0.92);
  color: var(--ks-tab-idle);
}

.ks-lightbox__btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.ks-lightbox__close {
  top: clamp(14px, 3vw, 30px);
  right: clamp(14px, 3vw, 30px);
}

.ks-lightbox__prev {
  left: clamp(10px, 2.5vw, 30px);
  top: 50%;
  transform: translateY(-50%);
}

.ks-lightbox__next {
  right: clamp(10px, 2.5vw, 30px);
  top: 50%;
  transform: translateY(-50%);
}

.ks-lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.ks-lightbox__next:hover { transform: translateY(-50%) translateX(2px); }


/* =====================================================================
   07. 模块 01-06 原样式整合 (与源文件一致, 未改动)
   ===================================================================== */

/* ---------------------------------------------------------------
   模块 01 · Product Design
   --------------------------------------------------------------- */

.ks-product-design {
  --ks-green: #103f31;
  --ks-lime: #a8c91d;
  --ks-text: #53615c;
  --ks-line: #dfe7e3;
  --ks-surface: #f5f7f1;

  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ks-green);
  background: transparent;
}

.ks-product-design,
.ks-product-design * {
  box-sizing: border-box;
}

.ks-product-design__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.ks-product-design__heading {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin: 0 0 25px;
  padding: 0;
}

.ks-product-design__number {
  flex: 0 0 auto;
  color: var(--ks-lime);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ks-product-design__title {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ks-green);
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ks-product-design__heading-line {
  flex: 1 1 auto;
  min-width: 30px;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(
    90deg,
    var(--ks-line),
    rgba(223, 231, 227, 0)
  );
}

.ks-product-design__intro {
  max-width: 900px;
  margin: 0 0 38px;
  color: var(--ks-text);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

.ks-product-design__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ks-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(13, 62, 46, 0.08);
}

.ks-product-design__media {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(22px, 3vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 45%,
      #ffffff 0%,
      var(--ks-surface) 75%
    );
}

.ks-product-design__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transition: transform 0.4s ease;
}

.ks-product-design__row:hover .ks-product-design__image {
  transform: scale(1.02);
}

.ks-product-design__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(44px, 6vw, 88px);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(168, 201, 29, 0.09),
      transparent 45%
    ),
    #ffffff;
}

.ks-product-design__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ks-lime);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ks-product-design__eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: currentColor;
}

.ks-product-design__content-title {
  max-width: 600px;
  margin: 0 0 18px;
  color: var(--ks-green);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.ks-product-design__description {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--ks-text);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

.ks-product-design__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 600px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-product-design__list li {
  position: relative;
  min-width: 0;
  padding-left: 23px;
  color: var(--ks-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.ks-product-design__list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ks-lime);
  box-shadow: 0 0 0 4px rgba(168, 201, 29, 0.12);
}

@media (max-width: 1024px) {
  .ks-product-design,
  .ks-product-design__inner {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .ks-product-design__row {
    min-height: 450px;
  }

  .ks-product-design__media {
    min-height: 450px;
    padding: 28px;
  }

  .ks-product-design__content {
    padding: 48px 40px;
  }

  .ks-product-design__content-title {
    font-size: 42px;
  }

  .ks-product-design__description {
    font-size: 16px;
  }

  .ks-product-design__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .ks-product-design,
  .ks-product-design__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .ks-product-design__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
  }

  .ks-product-design__number {
    font-size: 38px;
    line-height: 1;
  }

  .ks-product-design__title {
    min-width: 0;
    padding-top: 2px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    word-break: normal;
  }

  .ks-product-design__heading-line {
    display: none;
  }

  .ks-product-design__intro {
    margin-bottom: 27px;
    font-size: 15px;
    line-height: 1.65;
  }

  .ks-product-design__row {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    border-radius: 18px;
  }

  .ks-product-design__media {
    order: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 22px;
  }

  .ks-product-design__content {
    order: 2;
    width: 100%;
    padding: 34px 25px 39px;
  }

  .ks-product-design__image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }

  .ks-product-design__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .ks-product-design__content-title {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .ks-product-design__description {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.65;
  }

  .ks-product-design__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ks-product-design__list li {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .ks-product-design__number {
    font-size: 34px;
  }

  .ks-product-design__title {
    padding-top: 1px;
    font-size: 21px;
    line-height: 1.1;
  }

  .ks-product-design__media {
    padding: 18px;
  }

  .ks-product-design__content {
    padding: 30px 21px 34px;
  }

  .ks-product-design__content-title {
    font-size: 31px;
  }
}

/* ---------------------------------------------------------------
   模块 02 · Materials
   --------------------------------------------------------------- */

.ks-materials,
.ks-materials * {
  box-sizing: border-box;
}

.ks-materials {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #103f31;
}

.ks-materials__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.ks-materials__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
}

.ks-materials__number {
  flex: 0 0 auto;
  color: #a8c91d;
  font-size: clamp(44px, 4.3vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ks-materials__title {
  flex: 0 0 auto;
  margin: 0;
  color: #103f31;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ks-materials__heading-line {
  flex: 1 1 auto;
  min-width: 40px;
  height: 1px;
  background: #dfe7e3;
}

.ks-materials__intro {
  position: relative;
  overflow: hidden;
  margin: 0 0 22px;
  padding: 24px 28px;
  border: 1px solid #e1e8e4;
  border-radius: 18px;
  background: #f5f7f1;
}

.ks-materials__intro::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(168, 201, 29, 0.08);
  pointer-events: none;
}

.ks-materials__intro p {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0;
  color: #53615c;
  font-size: 18px;
  line-height: 1.7;
}

.ks-materials__intro a {
  color: #739900;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.ks-materials__intro a:hover {
  color: #103f31;
}

.ks-materials__categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ks-materials__categories li {
  display: flex;
  align-items: center;
  min-height: 66px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #dfe7e3;
  border-radius: 14px;
  background: #fff;
  color: #103f31;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  cursor: default;
}

.ks-materials__categories li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: #a8c91d;
}

.ks-materials__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ks-material-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfe7e3;
  border-radius: 16px;
  background: #fff;
  color: #103f31 !important;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(16, 63, 49, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ks-material-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 201, 29, 0.75);
  box-shadow: 0 14px 32px rgba(16, 63, 49, 0.12);
}

.ks-material-card__media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2ee;
}

.ks-material-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ks-material-card:hover .ks-material-card__media img {
  transform: scale(1.035);
}

.ks-material-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 15px 16px;
}

.ks-material-card__title {
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

.ks-material-card__arrow {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff6d4;
  color: #739900;
  font-size: 18px;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ks-material-card:hover .ks-material-card__arrow {
  background: #a8c91d;
  color: #103f31;
}

@media (max-width: 1200px) {
  .ks-materials__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ks-materials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ks-materials__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    margin-bottom: 20px;
  }

  .ks-materials__number {
    font-size: 38px;
  }

  .ks-materials__title {
    min-width: 0;
    padding-top: 2px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.08;
  }

  .ks-materials__heading-line {
    display: none;
  }

  .ks-materials__intro {
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 14px;
  }

  .ks-materials__intro p {
    font-size: 16px;
    line-height: 1.65;
  }

  .ks-materials__categories {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .ks-materials__categories li {
    min-height: 54px;
    padding: 13px 16px;
    font-size: 16px;
  }

  .ks-materials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ks-material-card {
    border-radius: 13px;
  }

  .ks-material-card__media {
    aspect-ratio: 1 / 1;
  }

  .ks-material-card__body {
    align-items: flex-start;
    min-height: 68px;
    padding: 12px;
  }

  .ks-material-card__title {
    font-size: 14px;
  }

  .ks-material-card__arrow {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .ks-materials__grid {
    grid-template-columns: 1fr;
  }

  .ks-material-card__media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------------------------------------------------------------
   模块 03 · Colors & Components
   --------------------------------------------------------------- */

.ks-components {
  --ks-green: #103f31;
  --ks-lime: #a8c91d;
  --ks-text: #53615c;
  --ks-line: #dfe7e3;
  --ks-surface: #f5f7f1;

  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ks-green);
  background: transparent;
}

.ks-components,
.ks-components * {
  box-sizing: border-box;
}

.ks-components__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.ks-components__heading {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin: 0 0 42px;
  padding: 0;
}

.ks-components__number {
  flex: 0 0 auto;
  color: var(--ks-lime);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ks-components__title {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ks-green);
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ks-components__heading-line {
  flex: 1 1 auto;
  min-width: 30px;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(
    90deg,
    var(--ks-line),
    rgba(223, 231, 227, 0)
  );
}

.ks-components__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ks-components__card {
  display: flex;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--ks-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(13, 62, 46, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ks-components__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(13, 62, 46, 0.13);
}

.ks-components__media {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--ks-line);
  background: var(--ks-surface);
}

.ks-components__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transition: transform 0.4s ease;
}

.ks-components__card:hover .ks-components__image {
  transform: scale(1.02);
}

.ks-components__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 30px 30px 34px;
}

.ks-components__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--ks-lime);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ks-components__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.ks-components__card-title {
  margin: 0 0 18px;
  color: var(--ks-green);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ks-components__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-components__list li {
  position: relative;
  padding-left: 22px;
  color: var(--ks-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.ks-components__list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ks-lime);
  box-shadow: 0 0 0 4px rgba(168, 201, 29, 0.12);
}

@media (max-width: 1024px) {
  .ks-components,
  .ks-components__inner {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .ks-components__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-components__media {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .ks-components__content {
    padding: 27px 25px 31px;
  }

  .ks-components__card-title {
    font-size: 29px;
  }
}

@media (max-width: 767px) {
  .ks-components,
  .ks-components__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .ks-components__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
  }

  .ks-components__number {
    font-size: 38px;
    line-height: 1;
  }

  .ks-components__title {
    min-width: 0;
    padding-top: 2px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ks-components__heading-line {
    display: none;
  }

  .ks-components__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ks-components__card {
    width: 100%;
    height: auto;
    border-radius: 18px;
  }

  .ks-components__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .ks-components__image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .ks-components__content {
    padding: 27px 23px 31px;
  }

  .ks-components__eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .ks-components__card-title {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .ks-components__list {
    gap: 11px;
  }

  .ks-components__list li {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .ks-components__number {
    font-size: 34px;
  }

  .ks-components__title {
    padding-top: 1px;
    font-size: 21px;
    line-height: 1.1;
  }

  .ks-components__content {
    padding: 25px 20px 29px;
  }

  .ks-components__card-title {
    font-size: 28px;
  }
}

/* ---------------------------------------------------------------
   模块 04 · Branding & Packaging
   --------------------------------------------------------------- */

.ks-brand-pack {
  --ks-green: #103f31;
  --ks-green-dark: #092f25;
  --ks-lime: #a8c91d;
  --ks-text: #53615c;
  --ks-line: #dfe7e3;
  --ks-surface: #f5f7f1;

  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ks-green);
  background: transparent;
}

.ks-brand-pack,
.ks-brand-pack * {
  box-sizing: border-box;
}

.ks-brand-pack__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.ks-brand-pack__heading {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin: 0 0 42px;
  padding: 0;
}

.ks-brand-pack__number {
  flex: 0 0 auto;
  color: var(--ks-lime);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ks-brand-pack__title {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ks-green);
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ks-brand-pack__heading-line {
  flex: 1 1 auto;
  min-width: 30px;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(
    90deg,
    var(--ks-line),
    rgba(223, 231, 227, 0)
  );
}

.ks-brand-pack__rows {
  display: grid;
  width: 100%;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.ks-brand-pack__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  min-height: 490px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ks-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(13, 62, 46, 0.08);
}

.ks-brand-pack__media {
  position: relative;
  min-width: 0;
  min-height: 490px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--ks-surface);
}

.ks-brand-pack__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 490px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.ks-brand-pack__row:hover .ks-brand-pack__image {
  transform: scale(1.025);
}

.ks-brand-pack__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(44px, 6vw, 88px);
  background: #ffffff;
}

.ks-brand-pack__row--packaging .ks-brand-pack__content {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(168, 201, 29, 0.09),
      transparent 45%
    ),
    var(--ks-surface);
}

.ks-brand-pack__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ks-lime);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ks-brand-pack__eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: currentColor;
}

.ks-brand-pack__card-title {
  margin: 0 0 18px;
  color: var(--ks-green);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.ks-brand-pack__description {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--ks-text);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

.ks-brand-pack__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 22px;
  max-width: 600px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-brand-pack__list li {
  position: relative;
  min-width: 0;
  padding-left: 23px;
  color: var(--ks-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ks-brand-pack__list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ks-lime);
  box-shadow: 0 0 0 4px rgba(168, 201, 29, 0.12);
}

@media (max-width: 1024px) {
  .ks-brand-pack,
  .ks-brand-pack__inner {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .ks-brand-pack__row {
    min-height: 430px;
  }

  .ks-brand-pack__media,
  .ks-brand-pack__image {
    min-height: 430px;
  }

  .ks-brand-pack__content {
    padding: 48px 40px;
  }

  .ks-brand-pack__card-title {
    font-size: 42px;
  }

  .ks-brand-pack__description {
    font-size: 16px;
  }

  .ks-brand-pack__list {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .ks-brand-pack__list li {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .ks-brand-pack,
  .ks-brand-pack__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .ks-brand-pack__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
  }

  .ks-brand-pack__number {
    font-size: 38px;
    line-height: 1;
  }

  .ks-brand-pack__title {
    min-width: 0;
    padding-top: 2px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ks-brand-pack__heading-line {
    display: none;
  }

  .ks-brand-pack__rows {
    width: 100%;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .ks-brand-pack__row {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 18px;
  }

  .ks-brand-pack__media {
    order: 1;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
  }

  .ks-brand-pack__content {
    order: 2;
    width: 100%;
    padding: 34px 25px 39px;
  }

  .ks-brand-pack__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    object-fit: cover;
  }

  .ks-brand-pack__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .ks-brand-pack__card-title {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .ks-brand-pack__description {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.65;
  }

  .ks-brand-pack__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ks-brand-pack__list li {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .ks-brand-pack__number {
    font-size: 34px;
  }

  .ks-brand-pack__title {
    padding-top: 1px;
    font-size: 21px;
    line-height: 1.1;
  }

  .ks-brand-pack__content {
    padding: 30px 21px 34px;
  }

  .ks-brand-pack__card-title {
    font-size: 31px;
  }
}

/* ---------------------------------------------------------------
   模块 05 · How Customization Works
   --------------------------------------------------------------- */

.ks-custom-process {
  --ks-process-green: #123f32;
  --ks-process-lime: #a4c62b;
  --ks-process-text: #4f5c57;
  --ks-process-bg: #f4f7ed;

  width: 100%;
  padding: 55px 30px 48px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.95),
      rgba(244, 247, 237, 0.86) 58%,
      rgba(239, 243, 230, 0.95) 100%
    );
}

.ks-custom-process__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.ks-custom-process__title {
  margin: 0 0 34px;
  color: var(--ks-process-green);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  text-transform: uppercase;
}

.ks-custom-process__steps {
  display: grid;
  grid-template-columns:
    minmax(150px, 1fr)
    minmax(60px, 0.55fr)
    minmax(150px, 1fr)
    minmax(60px, 0.55fr)
    minmax(150px, 1fr)
    minmax(60px, 0.55fr)
    minmax(150px, 1fr)
    minmax(60px, 0.55fr)
    minmax(150px, 1fr);
  align-items: start;
  width: 100%;
}

.ks-custom-process__step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.ks-custom-process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 19px;
  border: 1px solid rgba(18, 63, 50, 0.06);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 25px rgba(18, 63, 50, 0.06);
}

.ks-custom-process__icon svg {
  width: 55px;
  height: 55px;
  fill: none;
  stroke: var(--ks-process-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ks-custom-process__heading {
  margin: 0 0 10px;
  color: var(--ks-process-green);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.ks-custom-process__number {
  margin-right: 7px;
  color: var(--ks-process-green);
}

.ks-custom-process__description {
  max-width: 220px;
  margin: 0 auto;
  color: var(--ks-process-text);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

.ks-custom-process__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-top: 47px;
}

.ks-custom-process__arrow-line {
  position: relative;
  width: calc(100% - 22px);
  height: 2px;
  border-top: 2px dashed rgba(18, 63, 50, 0.52);
}

.ks-custom-process__arrow-line::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--ks-process-green);
  border-right: 2px solid var(--ks-process-green);
  transform: rotate(45deg);
}

@media (max-width: 1100px) {
  .ks-custom-process {
    padding: 48px 22px 42px;
  }

  .ks-custom-process__steps {
    grid-template-columns:
      minmax(125px, 1fr)
      minmax(35px, 0.35fr)
      minmax(125px, 1fr)
      minmax(35px, 0.35fr)
      minmax(125px, 1fr)
      minmax(35px, 0.35fr)
      minmax(125px, 1fr)
      minmax(35px, 0.35fr)
      minmax(125px, 1fr);
  }

  .ks-custom-process__icon {
    width: 88px;
    height: 88px;
  }

  .ks-custom-process__icon svg {
    width: 46px;
    height: 46px;
  }

  .ks-custom-process__arrow {
    padding-top: 40px;
  }

  .ks-custom-process__description {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .ks-custom-process {
    padding: 42px 20px 38px;
    border-radius: 16px;
  }

  .ks-custom-process__title {
    margin-bottom: 34px;
    font-size: 27px;
  }

  .ks-custom-process__steps {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .ks-custom-process__step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    width: 100%;
    text-align: left;
  }

  .ks-custom-process__icon {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .ks-custom-process__icon svg {
    width: 39px;
    height: 39px;
  }

  .ks-custom-process__content {
    min-width: 0;
  }

  .ks-custom-process__heading {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .ks-custom-process__description {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .ks-custom-process__arrow {
    position: relative;
    display: block;
    width: 72px;
    height: 48px;
    padding: 0;
  }

  .ks-custom-process__arrow-line {
    position: absolute;
    top: 6px;
    left: 35px;
    width: 2px;
    height: 34px;
    border-top: 0;
    border-left: 2px dashed rgba(18, 63, 50, 0.46);
  }

  .ks-custom-process__arrow-line::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: -5px;
    transform: rotate(135deg);
  }
}

@media (max-width: 380px) {
  .ks-custom-process {
    padding-inline: 16px;
  }

  .ks-custom-process__step {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
  }

  .ks-custom-process__icon {
    width: 64px;
    height: 64px;
  }

  .ks-custom-process__icon svg {
    width: 34px;
    height: 34px;
  }

  .ks-custom-process__arrow {
    width: 64px;
    height: 42px;
  }

  .ks-custom-process__arrow-line {
    left: 31px;
    height: 29px;
  }

  .ks-custom-process__heading {
    font-size: 17px;
  }

  .ks-custom-process__description {
    font-size: 14px;
  }
}

/* ---------------------------------------------------------------
   模块 06 · Have a Product Idea? (CTA)
   --------------------------------------------------------------- */

.ks-product-idea {
  --ks-idea-green: #063e2d;
  --ks-idea-green-dark: #023224;
  --ks-idea-lime: #c3e936;
  --ks-idea-lime-hover: #d2f34f;

  width: min(calc(100% - 0px), 1400px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--ks-idea-green);
  box-shadow: 0 22px 55px rgba(3, 49, 35, 0.14);
}

.ks-product-idea__inner {
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  min-height: 470px;
}

.ks-product-idea__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.ks-product-idea__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 49, 35, 0) 72%,
      rgba(3, 49, 35, 0.12) 100%
    );
  pointer-events: none;
}

.ks-product-idea__image {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center center;
}

.ks-product-idea__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(48px, 5vw, 82px);
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(23, 94, 70, 0.45),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      var(--ks-idea-green) 0%,
      var(--ks-idea-green-dark) 100%
    );
}

.ks-product-idea__content::after {
  content: "";
  position: absolute;
  top: 17%;
  right: 0;
  width: 3px;
  height: 66%;
  border-radius: 4px 0 0 4px;
  background: var(--ks-idea-lime);
}

.ks-product-idea__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: var(--ks-idea-lime);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ks-product-idea__eyebrow::before {
  content: "";
  display: block;
  width: 27px;
  height: 2px;
  background: currentColor;
}

.ks-product-idea__title {
  max-width: 650px;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.ks-product-idea__description {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 400;
  line-height: 1.55;
}

.ks-product-idea__button {
  display: inline-flex;
  width: fit-content;
  min-width: 300px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 30px;
  border: 2px solid var(--ks-idea-lime);
  border-radius: 7px;
  color: var(--ks-idea-green-dark);
  background: var(--ks-idea-lime);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.ks-product-idea__button:hover {
  color: var(--ks-idea-green-dark);
  background: var(--ks-idea-lime-hover);
  border-color: var(--ks-idea-lime-hover);
  transform: translateY(-3px);
}

.ks-product-idea__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.ks-product-idea__arrow {
  position: relative;
  display: block;
  width: 28px;
  height: 14px;
  transition: transform 0.2s ease;
}

.ks-product-idea__arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 27px;
  height: 2px;
  background: currentColor;
}

.ks-product-idea__arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.ks-product-idea__button:hover .ks-product-idea__arrow {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .ks-product-idea {
    width: min(calc(100% - 20px), 1400px);
  }

  .ks-product-idea__inner {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    min-height: 430px;
  }

  .ks-product-idea__image {
    min-height: 430px;
  }

  .ks-product-idea__content {
    padding: 50px 40px;
  }

  .ks-product-idea__title {
    font-size: 44px;
  }

  .ks-product-idea__description {
    font-size: 18px;
  }

  .ks-product-idea__button {
    min-width: 270px;
  }
}

@media (max-width: 767px) {
  .ks-product-idea {
    width: calc(100% - 36px);
    border-radius: 17px;
  }

  .ks-product-idea__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ks-product-idea__media {
    aspect-ratio: 4 / 3;
  }

  .ks-product-idea__media::after {
    background:
      linear-gradient(
        180deg,
        rgba(3, 49, 35, 0) 75%,
        rgba(3, 49, 35, 0.18) 100%
      );
  }

  .ks-product-idea__image {
    height: 100%;
    min-height: 0;
    object-position: center center;
  }

  .ks-product-idea__content {
    padding: 40px 24px 42px;
  }

  .ks-product-idea__content::after {
    top: 0;
    right: 24px;
    left: 24px;
    width: auto;
    height: 3px;
    border-radius: 0 0 4px 4px;
  }

  .ks-product-idea__eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .ks-product-idea__title {
    margin-bottom: 18px;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.05;
  }

  .ks-product-idea__description {
    margin-bottom: 27px;
    font-size: 17px;
    line-height: 1.5;
  }

  .ks-product-idea__button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 20px;
    gap: 14px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .ks-product-idea {
    width: calc(100% - 28px);
  }

  .ks-product-idea__content {
    padding: 35px 20px 37px;
  }

  .ks-product-idea__title {
    font-size: 34px;
  }

  .ks-product-idea__description {
    font-size: 16px;
  }

  .ks-product-idea__button {
    font-size: 14px;
  }
}


/* =====================================================================
   08. 链接/按钮颜色防覆盖
   ---------------------------------------------------------------------
   Elementor 全局样式 (如 .elementor a / kit 默认色) 优先级较高,
   历史上多次覆盖本页链接颜色。以下规则统一加 !important 锁定。
   ===================================================================== */

/* 面包屑 */
.ks-pdp .ks-breadcrumb a { color: #53615c !important; }
.ks-pdp .ks-breadcrumb a:hover { color: #103f31 !important; }

/* 顶部摘要 */
.ks-pdp a.ks-summary__badge {
  background: #103f31 !important;
  color: #ffffff !important;
}
.ks-pdp a.ks-summary__badge:hover {
  background: #0a2f24 !important;
}

/* 参数表无链接, 保持纯文本 */

/* 按钮 */
.ks-pdp .ks-btn--quote,
.ks-pdp .ks-btn--quote:hover {
  color: #224033 !important;
}
.ks-pdp .ks-btn--quote { background: #febd03 !important; border-color: #febd03 !important; }
.ks-pdp .ks-btn--quote:hover { background: #f2b102 !important; border-color: #f2b102 !important; }

.ks-pdp .ks-btn--contact { background: transparent !important; border-color: #103f31 !important; color: #103f31 !important; }
.ks-pdp .ks-btn--contact:hover { background: #103f31 !important; color: #ffffff !important; }

/* Tabs */
.ks-pdp .ks-tabs__tab {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.ks-pdp .ks-tabs__tab:hover { color: #febd03 !important; }
.ks-pdp .ks-tabs__tab.is-active {
  background: #febd03 !important;
  color: #224033 !important;
}

/* 材料模块 */
.ks-pdp .ks-materials__intro a { color: #739900 !important; }
.ks-pdp .ks-materials__intro a:hover { color: #103f31 !important; }
.ks-pdp a.ks-material-card { color: #103f31 !important; }

/* CTA 按钮 */
.ks-pdp .ks-product-idea__button {
  background: #c3e936 !important;
  color: #023224 !important;
  border-color: #c3e936 !important;
}
.ks-pdp .ks-product-idea__button:hover {
  background: #d2f34f !important;
  border-color: #d2f34f !important;
  color: #023224 !important;
}

/* 相关产品 */
.ks-pdp a.ks-related-card { color: #103f31 !important; }

/* 文本链接兜底 (Elementor 常把正文链接改成主题默认蓝/粉) */
.ks-pdp .ks-tabs__panel a:not([class]) {
  color: #739900 !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ks-pdp .ks-tabs__panel a:not([class]):hover {
  color: #103f31 !important;
}

/* 全局下划线细节 */
.ks-pdp a {
  text-underline-offset: 3px;
}


/* =====================================================================
   09. 轻量动效 (JS 控制 .ks-reveal 进入视口) + 无障碍
   ===================================================================== */

.ks-reveal {
  opacity: 1;
  transform: none;
}

.js-ks .ks-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.js-ks .ks-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 卡片网格轻量错峰 (最多 3 档, 避免拖慢首屏) */
.js-ks .ks-reveal-stagger > *:nth-child(2) { transition-delay: 0.07s; }
.js-ks .ks-reveal-stagger > *:nth-child(3) { transition-delay: 0.14s; }
.js-ks .ks-reveal-stagger > *:nth-child(4) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  .js-ks .ks-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ks-tabs__panel.is-active,
  .ks-modal__dialog,
  .ks-lightbox {
    animation: none;
  }

  .ks-gallery__image,
  .ks-gallery__hint,
  .ks-gallery__nav,
  .ks-gallery__thumb,
  .ks-related-card,
  .ks-related-card__media img,
  .ks-related-card__arrow,
  .ks-material-card,
  .ks-material-card__media img,
  .ks-btn,
  .ks-product-idea__button,
  .ks-product-idea__arrow {
    transition: none;
  }

  .ks-gallery__hint { opacity: 1; transform: none; }
}


/* =====================================================================
   响应式 — 新增组件
   ===================================================================== */

@media (max-width: 1100px) {
  /* 轮播一屏 3 卡 (2 个间隙 × 22px) */
  .ks-related-card {
    flex-basis: calc((100% - 44px) / 3);
  }
}

@media (max-width: 1024px) {
  .ks-gallery__nav { display: none; }
}

@media (max-width: 900px) {
  .ks-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  /* 轮播一屏 2 卡 */
  .ks-related-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 767px) {
  .ks-summary__actions {
    grid-template-columns: 1fr;
  }

  .ks-tabs__tab {
    flex: 1 1 50%;
    padding: 13px 16px;
    font-size: 13px;
  }

  .ks-gallery__stage { border-radius: 16px; }
}

@media (max-width: 540px) {
  /* 手机一屏 1 卡, 滑动查看 */
  .ks-related-card {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .ks-specs__row {
    grid-template-columns: 1fr;
    gap: 3px 0;
    padding: 12px 16px;
  }
}


/* =====================================================================
   10. Compact Product Detail Layout — 2026-09-04
   目标: 保留原有内容 + 两个 Tab, 只缩小图片/间距/字号, 增加左侧类目+CTA
   ===================================================================== */

.ks-pdp {
  --ks-sidebar-width: 280px;
}

.ks-pdp__wrap {
  max-width: 1500px;
  padding-inline: clamp(14px, 2vw, 30px);
}

.ks-pdp-layout {
  display: grid;
  grid-template-columns: var(--ks-sidebar-width) minmax(0, 1fr);
  gap: clamp(22px, 2.6vw, 38px);
  align-items: start;
}

.ks-pdp-main {
  min-width: 0;
}

.ks-pdp-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.ks-side-card {
  border: 1px solid rgba(16, 63, 49, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 63, 49, 0.06);
  overflow: hidden;
}

.ks-side-card--categories {
  padding: 22px;
}

.ks-side-card__title {
  margin: 0 0 16px;
  color: var(--ks-green);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.ks-side-cats {
  display: grid;
  gap: 8px;
}

.ks-side-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 13px;
  background: #f5f7f1;
  color: #224033;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: 0.22s ease;
}

.ks-side-cats a:hover,
.ks-side-cats a.is-active {
  background: var(--ks-green);
  color: #ffffff;
}

.ks-side-cats em {
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ks-lime);
}

.ks-side-card--cta {
  padding: 24px 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 201, 29, 0.22), transparent 40%),
    linear-gradient(135deg, #103f31, #224033);
  color: rgba(255, 255, 255, 0.82);
}

.ks-side-card__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ks-lime);
  color: #224033;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ks-side-card--cta .ks-side-card__title {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 22px;
}

.ks-side-card--cta p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
}

.ks-side-card__button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--ks-lime);
  color: #224033;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

/* 顶部: 整体缩小, 不删除任何信息 */
.ks-top {
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.ks-gallery {
  max-width: 430px;
  width: 100%;
}

.ks-gallery__main {
  padding: clamp(14px, 1.8vw, 24px);
}

.ks-gallery__stage {
  border-radius: 18px;
}

.ks-gallery__nav {
  width: 38px;
  height: 38px;
}

.ks-gallery__thumbs {
  gap: 10px;
  margin-top: 12px;
}

.ks-gallery__thumb {
  width: 62px;
  height: 62px;
  border-radius: 12px;
}

.ks-summary {
  padding-top: 4px;
}

.ks-summary__badge {
  margin-bottom: 14px;
  padding: 7px 14px;
  font-size: 12px;
}

.ks-summary__title {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.08;
}

.ks-summary__description {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.65;
}

.ks-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.ks-specs__row {
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 14px;
}

.ks-specs__label {
  margin-bottom: 4px;
  font-size: 11px;
}

.ks-specs__value {
  font-size: 14px;
  line-height: 1.35;
}

.ks-summary__actions {
  margin-top: 22px;
  gap: 12px;
}

.ks-btn {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 999px;
  font-size: 13px;
}

/* Tabs 更紧凑，两个 Tab 全保留 */
.ks-tabs {
  margin-top: clamp(34px, 4vw, 50px);
}

.ks-tabs__bar {
  padding: 6px;
  border-radius: 16px;
}

.ks-tabs__tab {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
}

.ks-tabs__panel:not(.ks-tabs__panel--flush) {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 20px;
}

.ks-pdp__modules {
  gap: 34px;
  margin-top: 34px;
}

.ks-pdp__module {
  padding: 0;
}

/* 统一缩小所有 Customized 模块的标题/间距 */
.ks-product-design__heading,
.ks-materials__heading,
.ks-components__heading,
.ks-brand-pack__heading {
  margin-bottom: 18px;
}

.ks-product-design__number,
.ks-materials__number,
.ks-components__number,
.ks-brand-pack__number,
.ks-custom-process__number {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

.ks-product-design__title,
.ks-materials__title,
.ks-components__title,
.ks-brand-pack__title,
.ks-custom-process__title,
.ks-product-idea__title,
.ks-related__title {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.18;
}

.ks-product-design__intro,
.ks-materials__intro p {
  max-width: 960px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.65;
}

/* 01 Product Design: 保留 section, 但图片和文字一行更紧凑 */
.ks-product-design__row {
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border-radius: 22px;
  align-items: center;
}

.ks-product-design__image {
  max-height: 260px;
  object-fit: contain;
}

.ks-product-design__content-title {
  margin-bottom: 10px;
  font-size: 24px;
}

.ks-product-design__description {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.ks-product-design__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ks-product-design__list li {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

/* 02 Materials: 能横排就横排，保留全部10个材料 */
.ks-materials__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ks-materials__categories li {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.ks-materials__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ks-material-card {
  border-radius: 16px;
}

.ks-material-card__media {
  aspect-ratio: 1.25 / 1;
}

.ks-material-card__media img {
  transform: scale(0.9);
}

.ks-material-card__body {
  min-height: 50px;
  padding: 11px 13px;
}

.ks-material-card__title {
  font-size: 13px;
  line-height: 1.25;
}

.ks-material-card__arrow {
  width: 26px;
  height: 26px;
}

/* 03 Components: 三个模块一行展示 */
.ks-components__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ks-components__card {
  border-radius: 20px;
}

.ks-components__media {
  aspect-ratio: 1.38 / 1;
}

.ks-components__content {
  padding: 18px;
}

.ks-components__card-title {
  margin-bottom: 10px;
  font-size: 21px;
}

.ks-components__list {
  gap: 7px;
}

.ks-components__list li {
  font-size: 13px;
  line-height: 1.35;
}

/* 04 Branding & Packaging: 两个完整模块横排展示，不删除任何列表 */
.ks-brand-pack__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ks-brand-pack__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
  align-items: center;
}

.ks-brand-pack__row--packaging .ks-brand-pack__content {
  order: 2;
}

.ks-brand-pack__row--packaging .ks-brand-pack__media {
  order: 1;
}

.ks-brand-pack__image {
  max-height: 250px;
  object-fit: contain;
}

.ks-brand-pack__card-title {
  margin-bottom: 8px;
  font-size: 22px;
}

.ks-brand-pack__description {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.ks-brand-pack__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.ks-brand-pack__list li {
  font-size: 13px;
  line-height: 1.35;
}

/* 05 Process: 五步尽量一行 */
.ks-custom-process__inner {
  padding: 28px;
  border-radius: 24px;
}

.ks-custom-process__title {
  margin-bottom: 24px;
  text-align: left;
}

.ks-custom-process__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ks-custom-process__arrow {
  display: none;
}

.ks-custom-process__step {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid rgba(16, 63, 49, 0.10);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
}

.ks-custom-process__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.ks-custom-process__heading {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.25;
}

.ks-custom-process__number {
  display: inline-flex;
  width: auto;
  height: auto;
  margin-right: 6px;
  padding: 0;
  background: transparent;
  color: var(--ks-lime);
  font-size: 12px;
}

.ks-custom-process__description {
  font-size: 13px;
  line-height: 1.45;
}

/* 06 CTA: 保留完整，缩小图片 */
.ks-product-idea__inner {
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  border-radius: 24px;
}

.ks-product-idea__image {
  max-height: 250px;
  object-fit: cover;
  border-radius: 18px;
}

.ks-product-idea__description {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
}

.ks-product-idea__button {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 13px;
}

/* Product Description Tab: 保留为 post content 动态区域 */
.ks-tabs__placeholder {
  padding: 24px;
  border-radius: 18px;
}

/* Related Products 也稍微收紧 */
.ks-related {
  margin-top: 44px;
}

.ks-related__heading {
  margin-bottom: 18px;
}

.ks-related-card {
  min-width: 235px;
  border-radius: 18px;
}

.ks-related-card__media {
  aspect-ratio: 1.12 / 1;
}

.ks-related-card__body {
  min-height: 58px;
  padding: 12px 14px;
}

.ks-related-card__title {
  font-size: 14px;
}

@media (max-width: 1280px) {
  .ks-pdp-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .ks-top {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  }

  .ks-gallery {
    max-width: 380px;
  }

  .ks-materials__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ks-brand-pack__rows,
  .ks-brand-pack__row {
    grid-template-columns: 1fr;
  }

  .ks-brand-pack__row--packaging .ks-brand-pack__content,
  .ks-brand-pack__row--packaging .ks-brand-pack__media {
    order: initial;
  }

  .ks-brand-pack__image {
    max-height: 220px;
  }
}

@media (max-width: 1024px) {
  .ks-pdp-layout {
    grid-template-columns: 1fr;
  }

  .ks-pdp-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .ks-top {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }

  .ks-gallery {
    max-width: none;
  }

  .ks-summary__title {
    font-size: 36px;
  }

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

  .ks-custom-process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ks-pdp__wrap {
    padding-inline: 16px;
  }

  .ks-pdp-sidebar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ks-side-card--categories,
  .ks-side-card--cta {
    padding: 18px;
  }

  .ks-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ks-gallery {
    max-width: 100%;
  }

  .ks-gallery__thumb {
    width: 56px;
    height: 56px;
  }

  .ks-summary__title {
    font-size: 32px;
  }

  .ks-specs {
    grid-template-columns: 1fr;
  }

  .ks-summary__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ks-tabs__bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ks-tabs__tab {
    padding: 0 10px;
    font-size: 13px;
  }

  .ks-pdp__modules {
    gap: 28px;
    margin-top: 28px;
  }

  .ks-product-design__row,
  .ks-product-idea__inner {
    grid-template-columns: 1fr;
  }

  .ks-product-design__list,
  .ks-brand-pack__list {
    grid-template-columns: 1fr 1fr;
  }

  .ks-materials__grid,
  .ks-components__grid,
  .ks-custom-process__steps {
    grid-template-columns: 1fr 1fr;
  }

  .ks-product-design__image,
  .ks-brand-pack__image,
  .ks-product-idea__image {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .ks-materials__grid,
  .ks-components__grid,
  .ks-custom-process__steps,
  .ks-product-design__list,
  .ks-brand-pack__list {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   [合并层 1/2] 2026-09-04 Fix: compact product detail layout
   (specs 2列紧凑表 / design 留白收紧 / brand-pack 图上文下双卡 / 移动端侧边栏下移)
   ===================================================================== */

/* ===============================================================
   2026-09-04 Fix: compact product detail layout
   - specs: strict 2 columns, each item label left / value right
   - product design: reduce blank area
   - branding & packaging: 2 cards, image top + text below
   - mobile: sidebar moves below main product content
   =============================================================== */

/* Top parameter table: 2 columns on desktop, label left + value right */
.ks-specs{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
  margin:0 0 24px !important;
}
.ks-specs__row{
  display:grid !important;
  grid-template-columns:minmax(120px,.85fr) minmax(0,1.45fr) !important;
  align-items:center !important;
  gap:14px !important;
  min-height:58px !important;
  padding:12px 18px !important;
  border:1px solid rgba(16,63,49,.10) !important;
  border-radius:16px !important;
  background:#fff !important;
}
.ks-specs__label{
  margin:0 !important;
  color:#7d8b84 !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  line-height:1.35 !important;
}
.ks-specs__value{
  margin:0 !important;
  color:#103f31 !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

/* Product Design: keep original content, but remove the empty-looking vertical space */
.ks-product-design__intro{
  margin-bottom:18px !important;
}
.ks-product-design__row{
  grid-template-columns:minmax(220px,330px) minmax(0,1fr) !important;
  min-height:0 !important;
  padding:18px !important;
  gap:22px !important;
  align-items:stretch !important;
}
.ks-product-design__media{
  min-height:0 !important;
  height:auto !important;
  padding:18px !important;
  border-radius:18px !important;
}
.ks-product-design__image{
  height:auto !important;
  max-height:220px !important;
}
.ks-product-design__content{
  justify-content:center !important;
  padding:22px 24px !important;
  border-radius:18px !important;
}
.ks-product-design__content-title{
  margin-bottom:10px !important;
  font-size:24px !important;
  line-height:1.22 !important;
}
.ks-product-design__description{
  margin-bottom:14px !important;
  font-size:15px !important;
  line-height:1.6 !important;
}
.ks-product-design__list{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:9px !important;
}
.ks-product-design__list li{
  min-height:42px !important;
  padding:10px 12px !important;
  font-size:13px !important;
  line-height:1.3 !important;
}

/* Branding & Packaging: two cards in one row; each card = image top + text below */
.ks-brand-pack__rows{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
}
.ks-brand-pack__row,
.ks-brand-pack__row--labels,
.ks-brand-pack__row--packaging{
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  padding:0 !important;
  gap:0 !important;
  overflow:hidden !important;
  border-radius:22px !important;
  background:#fff !important;
}
.ks-brand-pack__row--packaging .ks-brand-pack__content,
.ks-brand-pack__row--packaging .ks-brand-pack__media{
  order:initial !important;
}
.ks-brand-pack__media{
  order:1 !important;
  width:100% !important;
  min-height:0 !important;
  height:220px !important;
  padding:18px !important;
  background:#f5f7f1 !important;
}
.ks-brand-pack__image{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
}
.ks-brand-pack__content{
  order:2 !important;
  width:100% !important;
  min-height:0 !important;
  justify-content:flex-start !important;
  padding:22px 24px 26px !important;
  background:#fff !important;
}
.ks-brand-pack__row--packaging .ks-brand-pack__content{
  background:#fff !important;
}
.ks-brand-pack__eyebrow{
  margin-bottom:10px !important;
  font-size:11px !important;
}
.ks-brand-pack__card-title{
  margin-bottom:10px !important;
  font-size:24px !important;
  line-height:1.18 !important;
}
.ks-brand-pack__description{
  max-width:100% !important;
  margin-bottom:14px !important;
  font-size:14px !important;
  line-height:1.55 !important;
}
.ks-brand-pack__list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:9px 14px !important;
  max-width:100% !important;
}
.ks-brand-pack__list li{
  padding-left:20px !important;
  font-size:13px !important;
  line-height:1.35 !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

/* How Customization Works: keep centered as requested */
.ks-custom-process__title{
  text-align:center !important;
}
.ks-custom-process__steps{
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

@media (max-width:1280px){
  .ks-brand-pack__rows{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .ks-brand-pack__media{
    height:190px !important;
  }
  .ks-brand-pack__content{
    padding:20px !important;
  }
}

@media (max-width:1024px){
  .ks-specs{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .ks-specs__row{
    grid-template-columns:1fr !important;
    gap:4px !important;
  }
  .ks-product-design__row{
    grid-template-columns:minmax(220px,300px) minmax(0,1fr) !important;
  }
  .ks-product-design__list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:767px){
  .ks-pdp-layout{
    display:flex !important;
    flex-direction:column !important;
  }
  .ks-pdp-main{
    order:1 !important;
    width:100% !important;
  }
  .ks-pdp-sidebar{
    order:2 !important;
    width:100% !important;
  }
  .ks-specs{
    grid-template-columns:1fr !important;
  }
  .ks-specs__row{
    grid-template-columns:minmax(105px,.85fr) minmax(0,1.45fr) !important;
    gap:10px !important;
    padding:12px 14px !important;
  }
  .ks-specs__value{
    font-size:14px !important;
  }
  .ks-product-design__row{
    grid-template-columns:1fr !important;
    padding:14px !important;
  }
  .ks-product-design__media{
    padding:14px !important;
  }
  .ks-product-design__image{
    max-height:190px !important;
  }
  .ks-product-design__content{
    padding:18px !important;
  }
  .ks-brand-pack__rows{
    grid-template-columns:1fr !important;
  }
  .ks-brand-pack__media{
    height:180px !important;
    padding:14px !important;
  }
  .ks-brand-pack__content{
    padding:18px !important;
  }
  .ks-brand-pack__list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:480px){
  .ks-specs__row{
    grid-template-columns:1fr !important;
  }
  .ks-brand-pack__list,
  .ks-product-design__list{
    grid-template-columns:1fr !important;
  }
}

/* =====================================================================
   [合并层 2/2] FINAL FIX 2026-09-04: compact spec table, top-image brand
   cards, centered customization steps
   ===================================================================== */

/* 1) Product parameter table: true 2-column table = label left + value right */
.ks-specs{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
  width:100% !important;
  margin:0 0 24px !important;
  border:1px solid rgba(16,63,49,.14) !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#ffffff !important;
}
.ks-specs__row{
  display:grid !important;
  grid-template-columns:210px minmax(0,1fr) !important;
  gap:0 !important;
  align-items:stretch !important;
  min-height:56px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  border-bottom:1px solid rgba(16,63,49,.10) !important;
  background:#ffffff !important;
}
.ks-specs__row:last-child{
  border-bottom:0 !important;
}
.ks-specs__row:nth-child(even){
  background:#ffffff !important;
}
.ks-specs__label{
  display:flex !important;
  align-items:center !important;
  margin:0 !important;
  padding:14px 20px !important;
  background:#F4F8EF !important;
  color:#7d8b84 !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  line-height:1.35 !important;
  border-right:1px solid rgba(16,63,49,.08) !important;
}
.ks-specs__value{
  display:flex !important;
  align-items:center !important;
  margin:0 !important;
  padding:14px 22px !important;
  color:#103f31 !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.42 !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

/* 2) Branding & Packaging: keep 2 cards per row; each card = image top + text below */
.ks-brand-pack__rows{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:28px !important;
  align-items:stretch !important;
}
.ks-brand-pack__row,
.ks-brand-pack__row--labels,
.ks-brand-pack__row--packaging{
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  padding:0 !important;
  gap:0 !important;
  overflow:hidden !important;
  border-radius:26px !important;
  background:#ffffff !important;
  border:1px solid rgba(36,72,60,.12) !important;
  box-shadow:0 18px 45px rgba(36,72,60,.06) !important;
}
.ks-brand-pack__media,
.ks-brand-pack__row--packaging .ks-brand-pack__media{
  order:1 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:16/9 !important;
  padding:0 !important;
  margin:0 !important;
  display:block !important;
  background-color:#F4F8EF !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  border-bottom:1px solid rgba(36,72,60,.08) !important;
}
.ks-brand-pack__image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
}
.ks-brand-pack__content,
.ks-brand-pack__row--packaging .ks-brand-pack__content{
  order:2 !important;
  width:100% !important;
  min-height:0 !important;
  padding:28px 32px 32px !important;
  background:#ffffff !important;
  justify-content:flex-start !important;
}
.ks-brand-pack__eyebrow{
  margin:0 0 12px !important;
  font-size:12px !important;
  line-height:1 !important;
}
.ks-brand-pack__card-title{
  margin:0 0 12px !important;
  color:#103f31 !important;
  font-size:28px !important;
  line-height:1.18 !important;
  font-weight:900 !important;
}
.ks-brand-pack__description{
  max-width:none !important;
  margin:0 0 20px !important;
  color:#53645D !important;
  font-size:15px !important;
  line-height:1.65 !important;
}
.ks-brand-pack__list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px 28px !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
.ks-brand-pack__list li{
  padding-left:24px !important;
  color:#103f31 !important;
  font-size:15px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  white-space:normal !important;
}

/* 3) How Customization Works: center icon, small title and description */
.ks-custom-process__title{
  text-align:center !important;
}
.ks-custom-process__steps{
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  align-items:stretch !important;
}
.ks-custom-process__step{
  text-align:center !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.ks-custom-process__content{
  width:100% !important;
  text-align:center !important;
}
.ks-custom-process__heading{
  text-align:center !important;
  justify-content:center !important;
}
.ks-custom-process__description{
  max-width:18ch !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

@media (max-width:1024px){
  .ks-specs__row{
    grid-template-columns:170px minmax(0,1fr) !important;
  }
  .ks-brand-pack__rows{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:22px !important;
  }
  .ks-brand-pack__content{
    padding:24px !important;
  }
  .ks-brand-pack__list{
    gap:10px 18px !important;
  }
}

@media (max-width:767px){
  .ks-specs__row{
    grid-template-columns:130px minmax(0,1fr) !important;
    min-height:54px !important;
  }
  .ks-specs__label{
    padding:12px 14px !important;
    font-size:11px !important;
  }
  .ks-specs__value{
    padding:12px 15px !important;
    font-size:14px !important;
  }
  .ks-brand-pack__rows{
    grid-template-columns:1fr !important;
  }
  .ks-brand-pack__content{
    padding:22px 20px 26px !important;
  }
  .ks-brand-pack__card-title{
    font-size:24px !important;
  }
  .ks-brand-pack__list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px 14px !important;
  }
  .ks-brand-pack__list li{
    font-size:14px !important;
  }
}

@media (max-width:480px){
  .ks-specs__row{
    grid-template-columns:1fr !important;
  }
  .ks-specs__label{
    border-right:0 !important;
    border-bottom:1px solid rgba(16,63,49,.08) !important;
  }
  .ks-brand-pack__list{
    grid-template-columns:1fr !important;
  }
}
