/* ============================================
   籽木文化传媒 - 全站样式表
   ============================================ */

/* ---- 基础重置 ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #f8f8f8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c8323c;
}

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

ul {
  list-style: none;
}

/* ---- 通用容器 ---- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content {
  background: #fff;
  border-radius: 12px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* ---- 按钮 ---- */
.btn {
  display: inline-block;
  background: #c8323c;
  color: #fff;
  padding: 12px 36px;
  border-radius: 6px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: #a82830;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 50, 60, 0.3);
}

.btn-outline {
  background: transparent;
  color: #c8323c;
  border: 2px solid #c8323c;
}

.btn-outline:hover {
  background: #c8323c;
  color: #fff;
}

.small-btn {
  background: #c8323c;
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
}

.small-btn:hover {
  background: #a82830;
  color: #fff;
}

.full-width {
  width: 100%;
  margin-top: 20px;
  background: #c8323c;
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.full-width:hover {
  background: #a82830;
}

.full-width:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ---- Header / 导航 ---- */
.header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #c8323c;
  letter-spacing: 1px;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header nav a {
  font-size: 15px;
  color: #555;
  position: relative;
  padding: 4px 0;
}

.header nav a.active {
  color: #c8323c;
  font-weight: 600;
}

.header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c8323c;
  border-radius: 1px;
}

.btn-order {
  background: #c8323c;
  color: #fff !important;
  padding: 6px 18px !important;
  border-radius: 20px;
  font-size: 14px;
}

.btn-order:hover {
  background: #a82830;
}

.btn-order.active {
  background: #a82830;
}

.btn-order.active::after {
  display: none;
}

/* ---- Banner ---- */
.banner {
  position: relative;
  background: linear-gradient(135deg, #c8323c 0%, #8b1e26 100%);
  background-image: url('../images/banner-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

/* 暗色遮罩层，确保文字可读 */
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.banner .btn {
  background: #fff;
  color: #c8323c;
  font-weight: 600;
}

.banner .btn:hover {
  background: #f5f5f5;
  color: #a82830;
}

.page-banner {
  position: relative;
  background: linear-gradient(135deg, #c8323c 0%, #8b1e26 100%);
  background-image: url('../images/banner-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 50px 20px 80px;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.page-banner h1,
.page-banner p {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 15px;
  opacity: 0.85;
}

/* ---- 首页：公司简介 ---- */
.intro h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.intro p {
  font-size: 15px;
  color: #555;
  margin-bottom: 14px;
  text-align: justify;
}

.intro p strong {
  color: #333;
}

/* ---- 首页：核心优势 ---- */
.advantages {
  background: #fff;
}

.advantages h2 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: #222;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.adv-item {
  padding: 28px 24px;
  background: #faf8f8;
  border-radius: 10px;
  border: 1px solid #f0e8e8;
  transition: all 0.3s;
}

.adv-item:hover {
  border-color: #c8323c;
  box-shadow: 0 4px 16px rgba(200, 50, 60, 0.08);
}

.adv-icon {
  font-size: 28px;
  font-weight: 800;
  color: #c8323c;
  opacity: 0.5;
  margin-bottom: 12px;
}

.adv-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #333;
}

.adv-item p {
  font-size: 14px;
  color: #777;
}

/* ---- 首页：服务概览 ---- */
.service-preview h2 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: #222;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.preview-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: all 0.3s;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.preview-card:hover {
  border-color: #c8323c;
  box-shadow: 0 4px 16px rgba(200, 50, 60, 0.1);
  transform: translateY(-2px);
}

.preview-card h3 {
  font-size: 17px;
  color: #333;
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.price-tag {
  display: inline-block;
  background: #fde8ea;
  color: #c8323c;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 14px;
  border-radius: 4px;
}

/* ---- 服务页 ---- */
.service-item {
  padding: 28px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.service-img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.service-body {
  flex: 1;
  min-width: 0;
}

.service-item:last-child {
  border-bottom: none;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.service-header h2 {
  font-size: 20px;
  color: #222;
}

.service-header .price {
  font-size: 20px;
  font-weight: 700;
  color: #c8323c;
}

.service-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 14px;
}

.service-features {
  margin-bottom: 8px;
}

.service-features li {
  padding: 4px 0 4px 24px;
  position: relative;
  font-size: 14px;
  color: #555;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #c8323c;
  font-weight: 700;
}

/* ---- 案例页 ---- */
.case-item {
  padding: 28px 0;
  border-bottom: 1px solid #f0f0f0;
}

.case-item:last-of-type {
  border-bottom: none;
}

.case-tag {
  display: inline-block;
  background: #fde8ea;
  color: #c8323c;
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.case-item h2 {
  font-size: 19px;
  color: #222;
  margin-bottom: 8px;
}

.case-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.case-item p {
  font-size: 15px;
  color: #666;
  margin-bottom: 14px;
}

.case-result {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.case-result span {
  background: #f5f5f5;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  color: #c8323c;
  font-weight: 600;
}

.case-cta {
  text-align: center;
  padding: 36px 0 8px;
  border-top: 1px solid #f0f0f0;
  margin-top: 20px;
}

.case-cta p {
  font-size: 15px;
  color: #888;
  margin-bottom: 20px;
}

.case-cta .btn {
  margin: 0 8px;
}

/* ---- 联系页 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-card {
  padding: 24px;
  background: #faf8f8;
  border: 1px solid #f0e8e8;
  border-radius: 10px;
  text-align: center;
}

.contact-card h3 {
  font-size: 16px;
  color: #c8323c;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.text-link {
  color: #c8323c;
  font-weight: 600;
}

.contact-section {
  margin-bottom: 36px;
}

.contact-section h2 {
  font-size: 20px;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e8e8;
}

.contact-section p {
  font-size: 15px;
  color: #666;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  line-height: 36px;
  margin: 0 auto 10px;
  background: #c8323c;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}

.step h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: #888;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 12px 16px;
  border: 1px solid #eee;
  font-size: 14px;
}

.info-table td:first-child {
  background: #faf8f8;
  color: #888;
  width: 120px;
  white-space: nowrap;
}

.info-table td:last-child {
  color: #555;
}

/* ---- 下单页 ---- */
.order-form {
  max-width: 520px;
  margin: 0 auto;
}

.selected-service {
  background: #fde8ea;
  padding: 14px 16px;
  margin-bottom: 24px;
  border-left: 4px solid #c8323c;
  border-radius: 4px;
  font-size: 15px;
  color: #c8323c;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 600;
}

.required {
  color: #c8323c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8323c;
  box-shadow: 0 0 0 3px rgba(200, 50, 60, 0.08);
}

.form-group textarea {
  resize: vertical;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  font-size: 14px;
  color: #666;
}

.agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #c8323c;
}

.agreement label {
  line-height: 1.6;
}

.agreement a {
  color: #c8323c;
  text-decoration: underline;
}

.note {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
  padding-bottom: 10px;
}

/* ---- 法律文档页 ---- */
.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: 26px;
  color: #222;
  text-align: center;
  margin-bottom: 8px;
}

.update-date {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 28px;
}

.legal-content h3 {
  font-size: 17px;
  color: #333;
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  text-align: justify;
}

.legal-content strong {
  color: #333;
}

/* ---- Footer ---- */
.footer {
  background: #2a2a2a;
  color: #aaa;
  text-align: center;
  padding: 32px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer p {
  font-size: 13px;
  margin-bottom: 6px;
}

.footer a {
  color: #888;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #ccc;
}

/* ---- 汉堡菜单按钮（桌面端隐藏） ---- */
.menu-toggle {
  display: none;
}

/* ============================================
   面包屑导航
   ============================================ */
.breadcrumb {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 13px;
  color: #999;
}
.breadcrumb a {
  color: #666;
}
.breadcrumb a:hover {
  color: #c8323c;
}
.breadcrumb span {
  color: #333;
}

/* ============================================
   商品详情页
   ============================================ */

/* 商品主区 */
.product-hero {
  max-width: 960px;
  margin: 0 auto 0;
  display: flex;
  gap: 40px;
  padding: 20px 20px 40px;
  align-items: flex-start;
}

.product-gallery {
  flex: 0 0 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}
.product-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.product-summary {
  flex: 1;
  min-width: 0;
}

.product-summary h1 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-price-box {
  background: linear-gradient(135deg, #fff5f5 0%, #fde8ea 100%);
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.product-price-box .current-price {
  font-size: 32px;
  font-weight: 800;
  color: #c8323c;
  line-height: 1;
}
.product-price-box .current-price small {
  font-size: 16px;
  font-weight: 400;
}
.product-price-box .price-note {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.product-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}
.product-meta .meta-item .meta-label {
  color: #999;
}
.product-meta .meta-item .meta-value {
  color: #333;
  font-weight: 500;
}

.product-brief {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-actions {
  display: flex;
  gap: 14px;
}
.btn-buy {
  flex: 1;
  background: #c8323c;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-buy:hover {
  background: #a82830;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,50,60,0.3);
}
.btn-contact {
  flex: 0 0 auto;
  background: #fff;
  color: #c8323c;
  border: 2px solid #c8323c;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-contact:hover {
  background: #fde8ea;
  color: #a82830;
}

/* 详情区域容器 */
.product-detail-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Tab导航 */
.prod-tab-nav {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 28px;
  position: sticky;
  top: 60px;
  background: #f8f8f8;
  z-index: 10;
  padding-top: 4px;
}
.prod-tab-nav button {
  background: none;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  transition: color 0.2s;
}
.prod-tab-nav button:hover {
  color: #c8323c;
}
.prod-tab-nav button.active {
  color: #c8323c;
  font-weight: 600;
}
.prod-tab-nav button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #c8323c;
  border-radius: 1.5px;
}

/* 规格参数表 */
.prod-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.prod-specs td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.prod-specs td:first-child {
  color: #999;
  width: 140px;
  background: #fafafa;
  font-weight: 500;
}
.prod-specs td:last-child {
  color: #333;
}

/* 服务详情内容 */
.prod-detail-content h3 {
  font-size: 18px;
  color: #222;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 3px solid #c8323c;
}
.prod-detail-content h3:first-child {
  margin-top: 0;
}
.prod-detail-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 14px;
}
.prod-detail-content ul {
  margin-bottom: 20px;
}
.prod-detail-content ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: #555;
}
.prod-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8323c;
}
.prod-highlight {
  background: #faf8f8;
  border: 1px solid #f0e8e8;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 16px 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.prod-highlight .hl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}
.prod-highlight .hl-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c8323c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* 服务流程 */
.prod-process {
  display: flex;
  gap: 0;
  margin: 24px 0 32px;
  position: relative;
}
.prod-process::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #f0e8e8;
  z-index: 0;
}
.prod-process .proc-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.prod-process .proc-num {
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto 12px;
  background: #fff;
  border: 2px solid #c8323c;
  color: #c8323c;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
}
.prod-process .proc-step:first-child .proc-num {
  background: #c8323c;
  color: #fff;
}
.prod-process .proc-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.prod-process .proc-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* FAQ */
.prod-faq-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 0;
}
.prod-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-weight: 500;
}
.prod-faq-q .faq-icon {
  font-size: 20px;
  color: #ccc;
  transition: transform 0.3s;
}
.prod-faq-q.open .faq-icon {
  transform: rotate(45deg);
  color: #c8323c;
}
.prod-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.prod-faq-a-inner {
  padding: 0 0 16px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.prod-faq-item.open .prod-faq-a {
  max-height: 200px;
}

/* 底部固定栏 */
.prod-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
}
.prod-bottom-bar .bar-price {
  font-size: 24px;
  font-weight: 800;
  color: #c8323c;
}
.prod-bottom-bar .bar-price small {
  font-size: 13px;
  font-weight: 400;
  color: #999;
}
.prod-bottom-bar .btn {
  padding: 12px 36px;
  font-size: 16px;
  border-radius: 24px;
}
.prod-page-spacer {
  height: 90px;
}

/* ============================================
   电商结算页
   ============================================ */

/* 步骤指示器 */
.order-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 32px 20px 28px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.order-steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(50% - 100px);
  right: calc(50% - 100px);
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
.order-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 140px;
}
.order-step .step-dot {
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  margin: 0 auto 10px;
  font-size: 14px;
  font-weight: 700;
  background: #e0e0e0;
  color: #999;
  transition: all 0.3s;
}
.order-step.active .step-dot {
  background: #c8323c;
  color: #fff;
}
.order-step.done .step-dot {
  background: #c8323c;
  color: #fff;
}
.order-step .step-label {
  font-size: 13px;
  color: #999;
  transition: color 0.3s;
}
.order-step.active .step-label {
  color: #c8323c;
  font-weight: 600;
}
.order-step.done .step-label {
  color: #333;
}

/* 订单商品卡片 */
.order-product-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #faf8f8;
  border: 1px solid #f0e8e8;
  border-radius: 10px;
  margin-bottom: 20px;
}
.order-product-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.order-product-card .opc-info {
  flex: 1;
  min-width: 0;
}
.order-product-card .opc-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.order-product-card .opc-price {
  font-size: 18px;
  font-weight: 800;
  color: #c8323c;
}

/* 数量选择器 */
.quantity-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.quantity-picker button {
  width: 36px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.quantity-picker button:hover {
  background: #e8e8e8;
}
.quantity-picker button:disabled {
  color: #ccc;
  cursor: not-allowed;
}
.quantity-picker input {
  width: 48px;
  height: 32px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 15px;
  font-family: inherit;
}
.quantity-picker input:focus {
  outline: none;
}

/* 价格明细 */
.price-breakdown {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.price-breakdown .pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #666;
}
.price-breakdown .pb-divider {
  border-top: 1px dashed #e8e8e8;
  margin: 10px 0;
}
.price-breakdown .pb-total {
  font-size: 18px;
  font-weight: 700;
  color: #c8323c;
}

/* 结算页布局 */
.checkout-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.checkout-main {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.checkout-sidebar {
  position: sticky;
  top: 80px;
}
.checkout-sidebar-inner {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.checkout-sidebar h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

/* ---- 响应式：平板及手机 ---- */
@media (max-width: 768px) {
  /* 汉堡按钮显示 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 导航改为下拉菜单 */
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .header nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease;
  }

  .header nav.open {
    max-height: 420px;
  }

  .header nav a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
    min-height: 48px;
    line-height: 20px;
  }

  .header nav a.active::after {
    display: none;
  }

  .header nav a.btn-order {
    margin: 10px 20px;
    display: block;
    width: calc(100% - 40px);
    text-align: center;
  }

  /* Banner */
  .banner {
    padding: 50px 16px;
  }

  .banner h1 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .banner p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .page-banner {
    padding: 32px 16px 50px;
  }

  .page-banner h1 {
    font-size: 20px;
  }

  .page-banner p {
    font-size: 13px;
  }

  /* 容器间距 */
  .container {
    padding: 20px 14px;
  }

  .page-content {
    margin-top: -25px;
    padding: 20px 14px;
    border-radius: 8px;
  }

  /* 标题字号 */
  .intro h2,
  .advantages h2,
  .service-preview h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .intro p,
  .service-desc {
    font-size: 14px;
  }

  /* 网格单列 */
  .adv-grid,
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .adv-item {
    padding: 18px 16px;
  }

  .adv-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .adv-item h3 {
    font-size: 16px;
  }

  .adv-item p {
    font-size: 13px;
  }

  .preview-card {
    padding: 18px 16px;
  }

  .preview-card h3 {
    font-size: 16px;
  }

  /* 服务页 */
  .service-item {
    padding: 20px 0;
    flex-direction: column;
    gap: 14px;
  }

  .service-img {
    width: 100%;
    height: 180px;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .service-header h2 {
    font-size: 18px;
  }

  .service-header .price {
    font-size: 18px;
  }

  .service-features li {
    font-size: 13px;
  }

  .small-btn {
    padding: 10px 24px;
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 案例页 */
  .case-item {
    padding: 20px 0;
  }

  .case-item h2 {
    font-size: 17px;
  }

  .case-item p {
    font-size: 14px;
  }

  .case-meta {
    font-size: 12px;
  }

  .case-result {
    flex-direction: column;
    gap: 8px;
  }

  .case-result span {
    font-size: 13px;
    text-align: center;
  }

  .case-cta .btn {
    display: block;
    margin: 8px auto;
    width: 100%;
    max-width: 280px;
  }

  /* 联系页 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card {
    padding: 18px 16px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* 信息表格 */
  .info-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .info-table td:first-child {
    width: 80px;
  }

  /* 下单页 */
  .order-form {
    max-width: 100%;
  }

  .full-width {
    padding: 16px;
    font-size: 17px;
    min-height: 52px;
  }

  /* 法律文档 */
  .legal-content h1 {
    font-size: 22px;
  }

  .legal-content h3 {
    font-size: 16px;
  }

  .legal-content p {
    font-size: 14px;
  }

  /* Footer + 安全区域 */
  .footer {
    padding: 24px 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .footer p {
    font-size: 12px;
  }

  /* 商品详情移动端 */
  .product-hero {
    flex-direction: column;
    gap: 20px;
    padding: 0 16px 24px;
  }
  .product-gallery {
    flex: 0 0 auto;
    border-radius: 0;
    margin: 0 -16px;
  }
  .product-gallery img {
    height: 240px;
  }
  .product-summary h1 {
    font-size: 21px;
  }
  .product-price-box .current-price {
    font-size: 26px;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-detail-section {
    padding: 0 14px 30px;
  }
  .prod-tab-nav {
    top: 56px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prod-tab-nav button {
    padding: 12px 18px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .prod-specs td:first-child {
    width: 100px;
  }
  .prod-process {
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
    border-left: 2px solid #f0e8e8;
  }
  .prod-process::before {
    display: none;
  }
  .prod-process .proc-step {
    text-align: left;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .prod-process .proc-num {
    margin: 0;
    flex-shrink: 0;
  }
  .prod-process .proc-step-inner {
    flex: 1;
  }
  .prod-highlight {
    flex-direction: column;
    gap: 12px;
  }

  /* 结算页移动端 */
  .order-steps {
    padding: 20px 10px 24px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    padding: 0 14px 24px;
    gap: 16px;
  }
  .checkout-main {
    padding: 18px 14px;
    border-radius: 8px;
  }
  .checkout-sidebar {
    position: static;
  }
  .checkout-sidebar-inner {
    padding: 18px 14px;
  }
  .order-product-card img {
    width: 64px;
    height: 48px;
  }
}

/* ---- 响应式：小屏手机 ---- */
@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .banner h1 {
    font-size: 21px;
  }

  .banner p {
    font-size: 13px;
  }

  .intro h2,
  .advantages h2,
  .service-preview h2 {
    font-size: 18px;
  }

  .legal-content h1 {
    font-size: 20px;
  }

  .price-tag {
    font-size: 14px;
  }

  .product-summary h1 {
    font-size: 19px;
  }
  .product-price-box .current-price {
    font-size: 22px;
  }
}

/* ---- 响应式：超小屏（iPhone SE / 折叠屏外屏） ---- */
@media (max-width: 375px) {
  .banner {
    padding: 36px 12px;
  }

  .banner h1 {
    font-size: 19px;
  }

  .container {
    padding: 16px 10px;
  }

  .page-content {
    padding: 16px 10px;
  }

  .logo {
    font-size: 18px;
  }

  .header nav a {
    font-size: 15px;
  }

  .product-gallery img {
    height: 200px;
  }
  .prod-tab-nav button {
    padding: 10px 14px;
    font-size: 13px;
  }
  .order-step .step-label {
    font-size: 11px;
  }
}
