:root {
  --ink: #2b2521;
  --ink-2: #5a524b;
  --ink-3: #8b8179;
  --line: #efe6dc;
  --paper: #fffaf4;
  --card: #ffffff;
  --accent: #e0603a;
  --accent-dark: #c04c29;
  --accent-soft: #fdeee6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 2px 4px rgba(124, 78, 48, 0.05), 0 22px 48px -28px rgba(124, 78, 48, 0.3);
  --max: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Nunito", "Quicksand", "Avenir Next", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

.muted {
  color: var(--ink-3);
  font-size: 0.9375rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- 顶部导航 */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* ---------------------------------------------------------------- 首屏 */

.hero {
  position: relative;
  padding: clamp(72px, 12vw, 132px) 0;
  background:
    radial-gradient(120% 90% at 12% 10%, #f4e7df 0%, transparent 55%),
    radial-gradient(100% 80% at 88% 0%, #e9eee7 0%, transparent 50%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero.has-image {
  background-size: cover;
  background-position: center;
  color: #fff;
  border-bottom: none;
}

.hero-inner {
  max-width: 780px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero.has-image .hero-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 18ch;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink-2);
  max-width: 46ch;
}

.hero.has-image .hero-sub {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(168, 68, 42, 0.9);
}

.btn-solid:hover {
  background: var(--accent-dark);
}

.btn-line {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink-3);
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
  opacity: 0.85;
}

.hero.has-image .btn-ghost {
  color: #fff;
}

.btn-ghost:hover {
  opacity: 1;
}

.btn-wide {
  width: 100%;
}

/* ---------------------------------------------------------------- 区块 */

.section {
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: #f6f4ef;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 6px;
}

.group-title {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: var(--font-sans);
  margin: 44px 0 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-2);
  background: var(--card);
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--ink-3);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.search {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search input {
  min-width: 220px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--ink-3);
}

.search .btn {
  min-height: 44px;
  padding: 0 20px;
}

/* ---------------------------------------------------------------- 商品卡片 */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #dcd5cc;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0ece6;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card:hover .card-img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 24, 28, 0.82);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-cat {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-body h3 {
  font-size: 1.0625rem;
}

.card-summary {
  font-size: 0.875rem;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ink);
}

.card-more {
  font-size: 0.8125rem;
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.card:hover .card-more {
  opacity: 1;
  transform: translateX(0);
}

/* 无图占位 */
.ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #efe7dd 0%, #e4e9e2 100%);
}

.ph span {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(23, 24, 28, 0.28);
  user-select: none;
}

.ph-large span {
  font-size: 5rem;
}

.empty {
  padding: 64px 0;
  text-align: center;
  color: var(--ink-3);
  display: grid;
  gap: 16px;
  justify-items: center;
}

/* ---------------------------------------------------------------- 提示条 */

.banner {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-bottom: 1px solid #ecd9d0;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.9375rem;
}

.banner-error {
  background: #fbeaea;
  color: #8f2323;
  border-bottom-color: #f0d2d2;
}

/* ---------------------------------------------------------------- 关于 */

.prose {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-top: 20px;
}

/* ---------------------------------------------------------------- 联系区 */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 14px;
}

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.875rem;
}

.contact-body {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.contact-body small {
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}

.contact-body a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 20px;
}

/* ---------------------------------------------------------------- 表单 */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field > span {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 68, 42, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.875rem;
  color: var(--accent-dark);
}

.form-hint {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- 商品详情 */

.product-page {
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-bottom: 32px;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs .current {
  color: var(--ink-2);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.gallery {
  position: sticky;
  top: 92px;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0ece6;
  aspect-ratio: 4 / 3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.thumb {
  width: 76px;
  height: 60px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover,
.thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.product-info h1 {
  margin: 10px 0 14px;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--accent-dark);
}

.product-summary {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.spec-row dt {
  color: var(--ink-3);
}

.spec-row dd {
  margin: 0;
  color: var(--ink);
}

.product-info .btn-wide {
  margin-top: 30px;
}

.ask {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.ask h2 {
  margin-bottom: 24px;
}

/* ---------------------------------------------------------------- 404 */

.empty-page {
  padding: clamp(80px, 14vw, 160px) 0;
  text-align: center;
}

.empty-code {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.35;
}

.empty-page h1 {
  margin: 8px 0 12px;
}

.empty-page .btn {
  margin-top: 28px;
}

/* ---------------------------------------------------------------- 页脚 */

.site-foot {
  background: #121316;
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-brand strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
}

.foot-brand p {
  margin-top: 8px;
  font-size: 0.875rem;
}

.foot-links .contact-list {
  margin: 0;
}

.foot-links .contact-icon {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.foot-links .contact-body small {
  color: rgba(255, 255, 255, 0.45);
}

.foot-links a:hover {
  color: #fff;
}

.copyright {
  padding-top: 22px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 900px) {
  .contact-wrap,
  .product-layout,
  .foot-inner {
    grid-template-columns: 1fr;
  }

  .gallery {
    position: static;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .search input {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .head-inner {
    min-height: 60px;
  }

  .nav {
    gap: 18px;
    font-size: 0.875rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .card-body {
    padding: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }
}

/* 无图商品详情页：让占位图保持 4:3，而不是塌成一条 */
.gallery > .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

/* 锚点跳转时避开吸顶导航 */
section[id] {
  scroll-margin-top: 84px;
}

/* ================================================================
   宠物用品主题：奶油底 + 珊瑚橙 + 大圆角，爪印做点缀
   ================================================================ */

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.site-head {
  background: rgba(255, 250, 244, 0.9);
  border-bottom-color: #f2e9df;
}

.brand {
  font-size: 1.1875rem;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* 首屏：奶油暖光 + 爪印，像午后阳光照进屋里 */
.hero {
  overflow: hidden;
  background:
    radial-gradient(58% 78% at 86% 4%, #ffe3c8 0%, rgba(255, 227, 200, 0) 62%),
    radial-gradient(50% 60% at 6% 94%, #dff0e7 0%, rgba(223, 240, 231, 0) 60%),
    radial-gradient(85% 70% at 40% 0%, #fff4e3 0%, rgba(255, 244, 227, 0) 70%),
    linear-gradient(180deg, #fff8ee 0%, #fffaf4 100%);
}

/* 右下角一只大爪印，若隐若现 */
.hero::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: min(44vw, 380px);
  height: min(44vw, 380px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cg fill='%23c04c29'%3E%3Cellipse cx='95' cy='118' rx='26' ry='21'/%3E%3Cellipse cx='60' cy='84' rx='12' ry='15'/%3E%3Cellipse cx='88' cy='70' rx='12' ry='15'/%3E%3Cellipse cx='116' cy='70' rx='12' ry='15'/%3E%3Cellipse cx='144' cy='84' rx='12' ry='15'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-14deg);
  opacity: 0.07;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cg fill='%23e0603a' fill-opacity='0.45'%3E%3Cellipse cx='95' cy='118' rx='26' ry='21'/%3E%3Cellipse cx='60' cy='84' rx='12' ry='15'/%3E%3Cellipse cx='88' cy='70' rx='12' ry='15'/%3E%3Cellipse cx='116' cy='70' rx='12' ry='15'/%3E%3Cellipse cx='144' cy='84' rx='12' ry='15'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 210px 210px;
  pointer-events: none;
  opacity: 0.42;
}

.hero.has-image::before,
.hero.has-image::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
}

.hero-sub {
  color: var(--ink-2);
}

/* 区块标题下的一条短色块 */
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
}

/* 卡片 */
.card {
  border-color: #f1e8de;
}

.card:hover {
  box-shadow: var(--shadow);
}

.badge {
  background: var(--accent);
}

.card-cat {
  letter-spacing: 0.12em;
}

/* 分类与搜索 */
.chip {
  border-color: #f0e6da;
  background: #fffdfa;
}

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.search input {
  border-color: #f0e6da;
  border-radius: 999px;
}

/* 分区底色 */
.section-alt {
  background: linear-gradient(180deg, #fbf2e4 0%, #fdf9f1 100%);
}

/* 按钮 */
.btn-solid {
  box-shadow: 0 14px 28px -16px rgba(224, 96, 58, 0.95);
}

/* 联系方式 */
.contact-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* 页脚：深松绿，比纯黑柔和 */
.site-foot {
  background: #1d3a33;
}

/* 详情页 */
.product-price {
  color: var(--accent-dark);
}

.thumb.is-active,
.thumb:hover {
  border-color: var(--accent);
}

/* 无图占位 */
.ph {
  background: linear-gradient(135deg, #f7ece1 0%, #e9f2ee 100%);
}

.ph span {
  color: rgba(43, 37, 33, 0.22);
}

/* ================================================================
   跨境电商：公告条 / 语言切换 / 信任条 / 配送说明
   ================================================================ */

.announce {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  padding: 9px 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.lang-switch a {
  padding: 2px 4px;
  transition: color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.is-active {
  color: var(--ink);
}

.lang-switch a.is-active {
  font-weight: 600;
}

.lang-switch .sep {
  opacity: 0.35;
}

/* 四个信任点 */
.trust {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.trust-copy strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-copy span {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 配送与退换 */
.ship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.ship-card {
  background: var(--card);
  border: 1px solid #f1e8de;
  border-radius: var(--radius);
  padding: 24px;
}

.ship-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.ship-card p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* 商品页两行卖点 */
.product-notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.product-notes li {
  position: relative;
  padding-left: 18px;
}

.product-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* 页脚底栏 */
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
}

.foot-nav {
  display: flex;
  gap: 20px;
  font-size: 0.8125rem;
}

.foot-nav a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 0;
  }

  .ship-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .head-inner {
    gap: 12px;
  }

  .nav {
    gap: 14px;
    font-size: 0.8125rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}




/* ================================================================
   货币切换 / 尺寸对照表
   ================================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.currency select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238b8179' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border-radius: 999px;
  padding: 6px 28px 6px 12px;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink-2);
  cursor: pointer;
}

.currency select:hover {
  border-color: var(--ink-3);
}

/* 尺寸对照表 */
.size-guide {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf9;
}

.size-guide summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
}

.size-guide summary::-webkit-details-marker {
  display: none;
}

.size-guide summary::after {
  content: "+";
  float: right;
  color: var(--ink-3);
  font-weight: 400;
}

.size-guide[open] summary::after {
  content: "−";
}

.size-scroll {
  overflow-x: auto;
  padding: 0 16px 16px;
}

.size-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.size-scroll th,
.size-scroll td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.size-scroll th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.size-scroll tr:last-child td {
  border-bottom: none;
}

.foot-note {
  padding-top: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 600px) {
  .head-tools {
    gap: 10px;
  }

  .currency select {
    padding: 5px 24px 5px 10px;
    font-size: 0.75rem;
  }
}


/* ================================================================
   细节优化：内容区图标缩小、手机端头部两行布局
   ================================================================ */

/* 信任条图标：24 → 20 */
.trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.trust-icon svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.trust-item {
  gap: 8px;
}

.trust-grid {
  gap: 16px;
  padding: 18px 0;
}

/* 联系方式图标：24 → 20 */
.contact-icon {
  width: 20px;
  height: 20px;
  font-size: 0.625rem;
}

.contact-list li {
  gap: 8px;
}

.contact-list {
  gap: 11px;
  margin-top: 22px;
}

/* 品牌圆点：11 → 9 */
.brand-mark {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 手机端头部：品牌 + 货币/语言一行，导航另起一行，避免挤成一条 */
@media (max-width: 640px) {
  .head-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    min-height: auto;
    padding: 10px 0;
  }

  .brand {
    order: 1;
  }

  .head-tools {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    padding-bottom: 2px;
  }

  .lang-switch {
    font-size: 0.75rem;
  }

  .currency select {
    padding: 5px 22px 5px 9px;
  }

  section[id] {
    scroll-margin-top: 112px;
  }
}


/* 触屏设备没有 hover，"查看详情" 一直显示 */
@media (hover: none) {
  .card-more {
    opacity: 1;
    transform: none;
  }
}

/* 尊重系统的「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* 联系方式改用线条图标（与信任条同一套） */
.contact-icon svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}


/* ================================================================
   店铺化改版：分类卡、折扣价、三栏页脚
   ================================================================ */

.section-tight {
  padding: 44px 0;
}

/* 分类卡 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-media {
  display: block;
  aspect-ratio: 3 / 2;
  background: #f2ece4;
  overflow: hidden;
}

.cat-media img,
.cat-media .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
}

.cat-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.cat-text span {
  font-size: 0.75rem;
  color: var(--ink-3);
  white-space: nowrap;
}

/* 折扣 */
.badge-sale {
  background: #c2321f;
}

.price-block {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.price-was {
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-decoration: line-through;
}

.product-price .price-was {
  margin-left: 10px;
  font-size: 1rem;
}

.save-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fbe9e5;
  color: #b3261e;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  vertical-align: middle;
}

/* 三栏页脚 */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.foot-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.foot-col a:hover {
  color: #fff;
}

.foot-col-contact .contact-list {
  margin: 0;
  gap: 10px;
}

.foot-col-contact .contact-body {
  font-size: 0.875rem;
}

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

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}


/* 社交平台图标 */
.social {
  margin-top: 22px;
}

.social-title {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.social-link {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.social-link svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

/* 页脚里的社交图标：深色底 */
.foot-col .social {
  margin-top: 16px;
}

.foot-col .social-title {
  color: rgba(255, 255, 255, 0.45);
}

.foot-col .social-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
}

.foot-col .social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

