.footer-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  white-space: nowrap;
  font-size: 9px;
  padding: 5px 0;
  letter-spacing: .02em
}

.footer-top .brand-logo {
  width: 110px
}

.footer-email .email-text {
  font-size: 12px;
  margin-top: 7px
}

.care-videos {
  margin-top: 18px;
  padding: 15px 14px;
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 4px
}

.care-videos h3 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 13px
}

.care-video-groups {
  display: grid;
  gap: 13px
}

.care-video-group h4 {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 7px
}

.care-video-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px
}

.care-video-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 6px;
  background: var(--paper);
  border: 1px solid #d9c4b4;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
  text-align: center
}

.care-video-button:hover {
  background: var(--soft)
}

@media(min-width:700px) {
.footer-links {
    justify-content: flex-start;
    gap: 30px
  }
.footer-links a {
    font-size: 11px
  }
.footer-top .brand-logo {
    width: 130px
  }
.care-video-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
  }
}

/* Equal-width cards stretch to the same row height, with aligned buying actions. */
[data-page="product"] .product-grid {
  align-items: stretch
}

[data-page="product"] .product-card {
  width: 100%;
  height: 100%;
  align-self: stretch
}

[data-page="product"] .product-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1
}

[data-page="product"] .product-bottom {
  margin-top: auto
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0
}

[data-page="help"] .support-layout {
  padding-top: 12px
}

/* Desktop-only balance; retain the compact phone presentation. */
@media(min-width:850px) {
.story-materials {
    grid-template-rows: auto auto
  }
.story-materials .material-row,
  .story-materials .material-row:nth-child(2) {
    grid-row: span 2;
    grid-template-rows: subgrid;
    align-content: start;
    row-gap: 16px
  }
.story-materials .material-row>img,
  .story-materials .material-row:nth-child(2)>img {
    width: 100%;
    height: auto;
    max-height: none;
    align-self: start;
    object-fit: contain;
    object-position: center top
  }
}

@media(min-width:1024px) {
.home-compact {
    max-width: 1540px;
    width: calc(100% - 96px);
    padding: 36px 0 30px;
    column-gap: 40px
  }
.home-intro {
    padding: 12px 0 16px
  }
.home-intro h1 {
    font-size: clamp(46px, 3.7vw, 62px);
    margin-bottom: 18px
  }
.home-intro p {
    font-size: 15px;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 18px
  }
.home-actions {
    gap: 16px;
    max-width: none
  }
.support-action {
    min-height: 110px;
    padding: 20px 18px
  }
.support-action strong {
    font-size: 18px
  }
.support-action>span:last-child {
    font-size: 12px;
    max-width: 190px
  }
.home-features {
    gap: 28px;
    padding-top: 36px
  }
.home-feature-card>div {
    padding: 25px 26px
  }
.home-feature-card h2 {
    font-size: 32px
  }
.home-feature-card p {
    font-size: 14px;
    line-height: 1.8
  }
.home-story-note {
    padding-top: 18px
  }
}

/* Matching desktop image frames keep the two material cards balanced. */
@media(min-width:850px) {
.story-materials .material-row>img,
  .story-materials .material-row:nth-child(2)>img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center
  }
.story-materials .material-row:nth-child(2)>img {
    object-position: center bottom
  }
}

.field-error {
  font-size: 11px;
  line-height: 1.5;
  color: #9d3429
}

.field [aria-invalid=true] {
  border-color: #a64e3e
}

form[aria-busy=true] button[type=submit] {
  opacity: .6;
  cursor: wait
}

.button {
  background: var(--accent, #e7bda6);
  color: #fffdf9;
  border-color: var(--accent, #e7bda6);
}

.button:hover {
  background: var(--ink, #e7bda6);
  border-color: var(--ink, #e7bda6);
}

.faq-section .faq-item {
  border-top: 1px solid #d5c1b0 !important;
}

.faq-section .faq-item:last-of-type {
  border-bottom: 1px solid #d5c1b0 !important;
}

/* 视频教学卡片：加深燕麦底色与边框 */
.care-videos {
  background: #e1d8ce !important;
  border: 1px solid #d6c3af !important;
}

.care-video-button {
  background: #fffdf9 !important;
  border-color: #cbb59f !important;
}

/* 底部联系卡片：加深暖杏底色并补齐边框 */
.help-link-card {
  background: #f2dfd0 !important;
  border: 1px solid #dec3ae !important;
  color: var(--ink, #493a34) !important;
}

/* 侧边引导卡片：加深暖燕麦底色与边框 */
.contact-aside {
  background: #ebe0d3 !important;
  border: 1px solid #d6c3af !important;
}

.contact-aside .text-link {
  border-bottom-color: var(--accent, #95634c) !important;
  font-weight: 600 !important;
}

/* Help & care 卡片：暖杏底色 */
.home-actions .support-action {
  background: #f2dfd0 !important;
  border: 1px solid #dec3ae !important;
  color: var(--ink, #493a34) !important;
}

/* Contact us 卡片：暖燕麦底色，与左侧形成轻微区分 */
.home-actions .support-action:nth-child(2) {
  background: #ebe0d3 !important;
  border-color: #d6c3af !important;
}

.home-actions .support-action > span:last-child {
  color: #5c4b43 !important;
}

/* 1. 第一张卡片（Cotton rope）：加深暖燕麦底色 */
.story-materials .material-row:nth-child(1) {
  background: #ebe0d3 !important;
  border: 1px solid #d6c3af !important;
}

/* 2. 第二张卡片（Paper rope）：加深柔桃杏底色 */
.story-materials .material-row:nth-child(2) {
  background: #f2dfd0 !important;
  border: 1px solid #dec3ae !important;
}

/* 3. 确保卡片内 COTTON ROPE / PAPER ROPE 小标题保持玫瑰粉色 */
.story-materials .material-row .eyebrow {
  color: #c86472 !important;
}

/* 筛选标签栏：默认白色椭圆胶囊，选中态为 #e7bda6 */
.catalog-toolbar .filter {
  background: #ffffff !important;
  border: 1px solid #d6c3af !important;
  border-radius: 999px !important;
  color: var(--ink, #493a34) !important;
  font-weight: 500 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.catalog-toolbar .filter:hover {
  background: #fcf6f0 !important;
  border-color: #e7bda6 !important;
}

/* 选中状态 */
.catalog-toolbar .filter.active,
.catalog-toolbar .filter[aria-pressed="true"] {
  background: #e7bda6 !important;
  border-color: #e7bda6 !important;
  color: #493a34 !important;
  font-weight: 600 !important;
}
