/* ============ Typageant 首页精致化样式（全局，经 trust-strip 加载） ============ */
/* 色板：水洗石板 × 亚麻金
   底色 #F2F1ED · 墨 #23272B · 灰 #75797E · 线 #DAD7CF · 石板青 #3E5355 · 亚麻金 #A98E4E */

/* ---------- 全页正文字体：Karla 替换 Poppins/Jost ---------- */
body {
  font-family: 'Karla', 'Noto Sans SC', -apple-system, 'Segoe UI', sans-serif !important;
}

/* ---------- Hero：Marcellus 标题 + 大写字距眉题 + 描边按钮 ---------- */
#shopline-section-template--index__slideshow .block-heading {
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.015em !important;
}

#shopline-section-template--index__slideshow .block-text {
  font-family: 'Karla', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  opacity: 0.94 !important;
}

#shopline-section-template--index__slideshow .button--secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  color: #fff !important;
  font-family: 'Karla', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}

/* ---------- 品类区 ---------- */
#shopline-section-template--index__shop-by-category {
  background: #F2F1ED !important;
}

#shopline-section-template--index__shop-by-category .block-heading {
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-size: clamp(18px, 1.6vw, 22px) !important;
  color: #23272B !important;
}

.block-collection-card__title {
  font-family: 'Karla', 'Noto Sans SC', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.block-collection-card {
  transition: opacity 0.25s ease;
}

.block-collection-card:hover {
  opacity: 0.86;
}

/* ---------- 两个商品区：单行 + 缝线标题 + 卡片精修 ---------- */
#shopline-section-template--index__featured-collection,
#shopline-section-template--index__linen-matching-sets {
  background: #F2F1ED !important;
}

/* 签名元素「布边缝线」：两侧发丝线 + 标题下 28px 亚麻金短线 */
#shopline-section-template--index__featured-collection .block-heading,
#shopline-section-template--index__linen-matching-sets .block-heading {
  display: flex !important;
  align-items: center;
  gap: 26px !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto 46px !important;
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(19px, 1.8vw, 24px) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #23272B !important;
  padding-bottom: 18px !important;
  background: linear-gradient(#A98E4E, #A98E4E) center bottom / 28px 1.5px no-repeat !important;
}

#shopline-section-template--index__featured-collection .block-heading::before,
#shopline-section-template--index__featured-collection .block-heading::after,
#shopline-section-template--index__linen-matching-sets .block-heading::before,
#shopline-section-template--index__linen-matching-sets .block-heading::after {
  content: '';
  flex: 1 1 auto;
  border-top: 1px solid #DAD7CF;
}

/* 商品卡：无底色无圆角无阴影，图片容器亚麻灰底 */
#shopline-section-template--index__featured-collection .block-product-card,
#shopline-section-template--index__linen-matching-sets .block-product-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#shopline-section-template--index__featured-collection .block-product-image__layer-image-wrapper,
#shopline-section-template--index__linen-matching-sets .block-product-image__layer-image-wrapper {
  background: #E9E7E1 !important;
  border-radius: 2px !important;
  overflow: hidden !important;
}

#shopline-section-template--index__featured-collection .block-product-image__image,
#shopline-section-template--index__linen-matching-sets .block-product-image__image {
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

#shopline-section-template--index__featured-collection .block-product-card:hover .block-product-image__image,
#shopline-section-template--index__linen-matching-sets .block-product-card:hover .block-product-image__image {
  transform: scale(1.045);
}

/* 商品名 / 价格：Karla，克制的字号 */
#shopline-section-template--index__featured-collection .block-product-title,
#shopline-section-template--index__linen-matching-sets .block-product-title {
  font-family: 'Karla', 'Noto Sans SC', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: #23272B !important;
  line-height: 1.45 !important;
}

#shopline-section-template--index__featured-collection .block-product-title:hover,
#shopline-section-template--index__linen-matching-sets .block-product-title:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-color: #A98E4E !important;
}

#shopline-section-template--index__featured-collection .block-product-price,
#shopline-section-template--index__linen-matching-sets .block-product-price {
  font-family: 'Karla', 'Noto Sans SC', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  color: #75797E !important;
  font-variant-numeric: tabular-nums;
}

/* View all：安静的右对齐文字链接 */
#shopline-section-template--index__featured-collection .featured-collection__view-more,
#shopline-section-template--index__linen-matching-sets .featured-collection__view-more {
  justify-content: flex-end !important;
  text-align: right;
}

#shopline-section-template--index__featured-collection .featured-collection__view-more,
#shopline-section-template--index__linen-matching-sets .featured-collection__view-more,
#shopline-section-template--index__featured-collection .color-board__more a,
#shopline-section-template--index__featured-collection .color-board__more button,
#shopline-section-template--index__linen-matching-sets .color-board__more a,
#shopline-section-template--index__linen-matching-sets .color-board__more button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: 'Karla', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #3E5355 !important;
  padding: 6px 2px !important;
  border-bottom: 1px solid #3E5355 !important;
  border-radius: 0 !important;
}

/* Tab：Karla 大写微标签（只作用于 tab 标签本身，别碰商品列表） */
#shopline-section-template--index__featured-collection .featured-collection__tabs-list,
#shopline-section-template--index__linen-matching-sets .featured-collection__tabs-list {
  gap: 0 26px !important;
}

#shopline-section-template--index__featured-collection .featured-collection__tab,
#shopline-section-template--index__linen-matching-sets .featured-collection__tab {
  font-family: 'Karla', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

/* ---------- 图文区（Why shop with us）标题 ---------- */
#shopline-section-template--index__1777287171123d36e334 h1,
#shopline-section-template--index__1777287171123d36e334 h2 {
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
}

/* ---------- 订阅区 ---------- */
#shopline-section-template--index__sign-up-and-save .block-heading {
  font-family: 'Marcellus', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
}

#shopline-section-template--index__sign-up-and-save .button {
  background: #3E5355 !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Karla', sans-serif !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

/* ---------- 信任条本体 ---------- */
.typageant-trust-strip {
  background: #F2F1ED;
  border-top: 1px solid #DAD7CF;
  border-bottom: 1px solid #DAD7CF;
}

.typageant-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 40px;
  box-sizing: border-box;
}

.typageant-trust-strip__item {
  min-width: 0;
  padding: 6px 24px;
  text-align: center;
  border-left: 1px solid #DAD7CF;
}

.typageant-trust-strip__item:first-child {
  border-left: 0;
}

.typageant-trust-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  margin: 0 0 10px;
  color: #3E5355;
  opacity: 0.9;
}

.typageant-trust-strip__icon svg {
  width: 21px;
  height: 21px;
}

.typageant-trust-strip__item h3 {
  margin: 0 0 5px;
  font-family: 'Karla', 'Noto Sans SC', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #23272B;
  overflow-wrap: normal;
  word-break: normal;
}

.typageant-trust-strip__item p {
  max-width: 240px;
  margin: 0 auto;
  font-family: 'Karla', 'Noto Sans SC', sans-serif;
  font-size: 12.5px;
  line-height: 1.45;
  color: #75797E;
}

@media (max-width: 959px) {
  .typageant-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
    padding: 24px 16px;
  }

  .typageant-trust-strip__item {
    padding: 0 14px;
    border-left: 0;
  }

  .typageant-trust-strip__item:nth-child(even) {
    border-left: 1px solid #DAD7CF;
  }

  .typageant-trust-strip__icon {
    height: 22px;
    margin-bottom: 8px;
  }

  .typageant-trust-strip__icon svg {
    width: 19px;
    height: 19px;
  }

  .typageant-trust-strip__item h3 {
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .typageant-trust-strip__item p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .block-product-image__image {
    transition: none !important;
  }

  .block-collection-card {
    transition: none;
  }
}

/* ---------- Hero 按钮：去掉主题自带的胶囊描边（画在 ::after 上），只保留上面的直角细边框 ---------- */
#shopline-section-template--index__slideshow .button--secondary::after,
#shopline-section-template--index__slideshow .button--secondary:hover::after,
#shopline-section-template--index__slideshow .button--secondary:focus::after,
#shopline-section-template--index__slideshow .button--secondary:focus-visible::after {
  box-shadow: none !important;
  border-radius: 2px !important;
  background: transparent !important;
}

/* ---------- 类目切换标签隐藏后，原来标签行占的 40px 空隙收掉 ---------- */
#shopline-section-template--index__featured-collection .featured-collection__tabs-header,
#shopline-section-template--index__linen-matching-sets .featured-collection__tabs-header {
  margin-block-end: 0 !important;
}