@font-face {font-family: Roboto;        src: url('../fonts/Roboto-Regular.woff') format('woff');font-display: swap;}
@font-face {font-family: Roboto-Regular;src: url('../fonts/Roboto-Regular.woff') format('woff');font-display: swap;}
@font-face {font-family: Roboto-Bold;   src: url('../fonts/Roboto-Regular.woff') format('woff');font-display: swap;}
@font-face {font-family: Roboto-Medium; src: url('../fonts/Roboto-Medium.woff')  format('woff');font-display: swap;}

.blog-content-block {
  margin: 2em 0;
}

.alert-box {
  display: flex;
  padding: 20px 24px;
  border-radius: 12px;
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.alert-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.alert-box--warning {
  background: linear-gradient(135deg, #fff9f0 0%, #ffe8cc 100%);
  border-left: 4px solid #ff9f43;
}

.alert-box--info {
  background: linear-gradient(135deg, #f0f8ff 0%, #d4e9ff 100%);
  border-left: 4px solid #70a1ff;
}

.alert-box--success {
  background: linear-gradient(135deg, #f0fff4 0%, #d4f4dd 100%);
  border-left: 4px solid #7bed9f;
}

.alert-box--tip {
  background: linear-gradient(135deg, #fef5ff 0%, #f3e5f5 100%);
  border-left: 4px solid #c792ea;
}

.alert-box__icon {
  font-size: 24px;
  margin-right: 16px;
  flex-shrink: 0;
}

.alert-box__content {
  flex: 1;
}

.alert-box__title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #2d3436;
  letter-spacing: 0.3px;
}

.alert-box__text {
  margin: 0;
  line-height: 1.8;
  color: #636e72;
  font-size: 15px;
}

/* 优缺点对比样式 - 优雅卡片设计 */

.pros-cons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 2.5em 0;
}

.pros-cons-box {
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pros-cons-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.pros-cons-box--pros {
  background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
  border: 2px solid #a8e6a3;
}

.pros-cons-box--cons {
  background: linear-gradient(135deg, #fff8f8 0%, #ffe5e5 100%);
  border: 2px solid #ffb3b3;
}

.pros-cons-box h4 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pros-cons-box--pros h4 {
  color: #2d6a4f;
}

.pros-cons-box--cons h4 {
  color: #c1121f;
}

.pros-cons-box ul {
  margin: 0;
  padding-left: 24px;
  list-style: none;
}

.pros-cons-box--pros ul li::before {
  content: "✓";
  color: #40916c;
  font-weight: bold;
  font-size: 18px;
  margin-right: 12px;
  margin-left: -24px;
  float: left;
}

.pros-cons-box--cons ul li::before {
  content: "✗";
  color: #e63946;
  font-weight: bold;
  font-size: 18px;
  margin-right: 12px;
  margin-left: -24px;
  float: left;
}

.pros-cons-box li {
  margin: 12px 0;
  line-height: 1.8;
  color: #2d3436;
  font-size: 15px;
}

/* CTA 横幅样式 - 品牌橙金色渐变 */

.cta-banner {
  background: #fb9f18;
  color: #fff;
  padding: 48px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 3em 0;
  box-shadow: 0 8px 24px rgba(250, 159, 23, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-banner h3 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  margin: 0 0 28px 0;
  font-size: 17px;
  opacity: 0.95;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-banner .cta-button {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #FA9F17;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: #fffbf5;
}

/* 高亮框样式 - 柔和优雅 */

.highlight-box {
  padding: 20px 24px;
  border-radius: 12px;
  margin: 2em 0;
  border-left: 5px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  line-height: 1.8;
}

.highlight-box--yellow {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fbbf24;
  color: #78350f;
}

.highlight-box--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #3b82f6;
  color: #1e3a8a;
}

.highlight-box--green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #10b981;
  color: #064e3b;
}

.highlight-box--red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #ef4444;
  color: #7f1d1d;
}

/* 引用框样式 - 品牌橙金色 */

.quote-box {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-left: 5px solid #FA9F17;
  padding: 32px;
  border-radius: 16px;
  margin: 2.5em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: rgba(250, 159, 23, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-box blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 19px;
  font-style: italic;
  color: #374151;
  line-height: 1.8;
  font-family: Georgia, serif;
  position: relative;
  z-index: 1;
}

.quote-box cite {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  color: #6b7280;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.quote-box cite::before {
  content: '— ';
  color: #FA9F17;
}

/* 分割线样式 */

.divider {
  margin: 2em 0;
  border: none;
  height: 1px;
}

.divider--solid {
  border-top: 1px solid #e5e7eb;
}

.divider--dashed {
  border-top: 1px dashed #e5e7eb;
}

.divider--dotted {
  border-top: 1px dotted #e5e7eb;
}

/* FAQ样式 */

.faq-item {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  margin: 1em 0;
}

.faq-item h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.faq-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

/* CTA按钮样式 (普通链接按钮) */

.cta-button-wrapper {
  text-align: center;
  margin: 2em 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.cta-button--primary {
  background: #3b82f6;
  color: #fff;
}

.cta-button--success {
  background: #10b981;
  color: #fff;
}

.cta-button--warning {
  background: #f59e0b;
  color: #fff;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* 图片画廊样式 */

.image-gallery {
  display: grid;
  gap: 16px;
  margin: 1.5em 0;
}

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

.image-gallery--3 {
  grid-template-columns: repeat(3, 1fr);
}

.image-gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 视频嵌入样式 */

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5em 0;
  border-radius: 8px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* 对比表格样式 */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th {
  background: #f3f4f6;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
}

.comparison-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* 间距样式 */

.spacer {
  display: block;
}

/* ==========================================================================
   商品版块样式 - 时尚快时尚电商风格
   ========================================================================== */

.product-block {
  margin: 2.5em 0;
}

/* 商品卡片 - 简约方正风格 */
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  font-family: Roboto-Regular,Roboto,sans-serif;
}

/* 图片区域 */
.product-card__image {
  width: 100%;
  aspect-ratio: 3/4; /* 默认3:4竖向长图，适合3列/4列/移动端 */
  overflow: hidden;
  background: #f9f9f9;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

/* 内容区域 */
.product-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 标题 */
.product-card__title {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: Roboto-Regular,Roboto,sans-serif;
}

.product-card__title:hover {
  color: #ff9f00;
}

/* 描述 */
.product-card__desc {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: Roboto-Regular,Roboto,sans-serif;
}

/* 底部区域：PC端一行显示 */
.product-card__footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: row; /* PC端横向排列 */
  align-items: center; /* 垂直居中 */
  justify-content: space-between; /* 两端对齐 */
  gap: 12px;
}

/* 价格 */
.product-card__price {
  font-size: 18px;
  color: #000000;
  letter-spacing: -0.3px;
  line-height: 1;
  font-weight: 500;
  font-family: Roboto-Medium, Roboto;
  flex-shrink: 0; /* 防止价格被压缩 */
}

/* 按钮 - PC端自适应宽度 */
.product-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto; /* PC端宽度自适应内容 */
  padding: 8px 20px; /* 增加左右填充 */
  background-color: #ff9f00;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: none;
  font-family: Roboto-Medium, Roboto;
}

/* 商品内联样式 */
.product-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.product-inline:hover {
  border-color: #ff9f00;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-inline__image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f9f9f9;
}

.product-inline__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-inline__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.product-inline__title:hover {
  color: #ff9f00;
}

.product-inline__price {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

/* 单独的大按钮样式 */
.product-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: #ff9f00;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 700;
  text-transform: uppercase;
}

.product-button:hover {
  background: #e68a00;
  transform: translateY(-2px);
}

.product-button__price {
  background: rgba(0,0,0,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* 商品网格布局 */

.product-grid {
  display: grid;
  gap: 20px;
  margin: 2.5em 0;
  width: 100%;
}

/* 基础网格：自适应 */
.product-grid:not([class*="--"]) {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* 2列布局 - PC端特殊优化 */
.product-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

/* 关键修改：PC端2列布局下，强制图片为横向比例（3:2），防止图片过高 */
.product-grid--2col .product-card__image {
  aspect-ratio: 3/2; /* 改为横向风景比例，高度会减小 */
}

/* 3列布局 */
.product-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* 4列布局 */
.product-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* 自适应列 */
.product-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* 横向滚动 */
.product-grid--scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #ff9f00 #f5f5f5;
}

.product-grid--scroll .product-card {
  min-width: 200px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* 列表视图 */
.product-grid--list {
  grid-template-columns: 1fr;
}
.product-grid--list .product-card {
  flex-direction: row;
}
.product-grid--list .product-card__image {
  width: 180px;
  aspect-ratio: auto;
  height: auto;
}
.product-grid--list .product-card__content {
  justify-content: center;
}
.product-grid--list .product-card__footer {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}
.product-grid--list .product-card__button {
  width: auto;
  padding: 10px 24px;
}

/* 目录样式 */

.table-of-contents {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #FA9F17;
  border-radius: 12px;
  padding: 24px;
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toc-container {
  max-width: 100%;
}

.toc-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: #2d3436;
  letter-spacing: 0.3px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin: 8px 0;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  color: #495057;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.toc-link:hover {
  background: rgba(250, 159, 23, 0.1);
  color: #FA9F17;
  transform: translateX(4px);
}

.toc-bullet {
  color: #FA9F17;
  font-weight: bold;
  font-size: 16px;
}

.toc-text {
  flex: 1;
  line-height: 1.6;
}

.preview-content {
  scroll-behavior: smooth;
}


/* ========== Mobile Responsive Styles ========== */
@media (max-width: 768px) {
  /* 优缺点对比 */
  .pros-cons-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* CTA横幅 */
  .cta-banner {
    padding: 24px 16px;
  }

  .cta-banner h3 {
    font-size: 18px;
  }

  /* 移动端商品卡片通用调整 */
  .product-card {
    border-radius: 6px;
  }
  
  .product-card__content {
    padding: 12px;
  }

  .product-card__title {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .product-card__desc {
    display: none; /* 移动端通常隐藏描述以节省空间 */
  }

  /* 移动端：底部恢复垂直堆叠 */
  .product-card__footer {
    padding-top: 8px;
    gap: 8px;
    flex-direction: column; /* 移动端上下排列 */
    align-items: flex-start; /* 左对齐 */
  }

  .product-card__price {
    font-size: 16px;
  }

  /* 移动端：按钮宽度100% */
  .product-card__button {
    padding: 8px 0;
    font-size: 12px;
    border-radius: 10px;
    width: 100%; /* 填满宽度 */
  }

  /* 2列布局 - 移动端优化 */
  .product-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* 移动端2列布局：恢复竖向长图比例 (3:4)，因为手机卡片比较窄，竖图更好看 */
  .product-grid--2col .product-card__image {
    aspect-ratio: 3/4; 
  }

  /* 列表布局 - 移动端 */
  .product-grid--list {
    gap: 16px;
  }
  .product-grid--list .product-card__image {
    width: 120px;
    height: 120px;
  }
  .product-grid--list .product-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid--list .product-card__button {
    width: 100%;
  }

  /* 其他内容块的移动端调整 */
  .alert-box {
    padding: 12px 16px;
  }

  .quote-box {
    padding: 20px 16px;
  }
}

/* ========== Vue Preview Mobile Styles ========== */
/* Ensure the preview matches the mobile styles above */

.preview-mobile .product-card {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.preview-mobile .product-card__image {
  /* 保持比例 */
}

.preview-mobile .product-card__content {
  padding: 10px;
}

.preview-mobile .product-card__title {
  font-size: 13px;
  line-height: 1.3;
}

/* Preview模式下的移动端样式覆盖 */
.preview-mobile .product-card__footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.preview-mobile .product-card__price {
  font-size: 16px;
  color: #000;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: initial;
}

.preview-mobile .product-card__button {
  width: 100%;
  padding: 8px 0;
  background-color: #ff9f00;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: none;
}

.preview-mobile .product-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Preview模式移动端2列图也要恢复3:4 */
.preview-mobile .product-grid--2col .product-card__image {
  aspect-ratio: 3/4;
}