﻿/* ================================================
   紫来集运 PC端 - 首页样式
   ================================================ */

/* ---- Hero Banner ---- */
.hero-banner {
  position: relative;
  height: 500px;
  margin-top: 72px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: #F0F2F5;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 8, 40, 0.65) 0%,
    rgba(15, 8, 40, 0.30) 38%,
    rgba(15, 8, 40, 0.06) 60%,
    transparent 100%
  );
}

/* 第一张 banner 背景较浅，蒙板要更轻 */
/* 第一张 banner 蒙板调浅，让背景更清晰 */
.hero-slide:first-child .hero-slide-overlay {
  background: linear-gradient(
    to right,
    rgba(15, 8, 40, 0.58) 0%,
    rgba(40, 20, 100, 0.35) 45%,
    rgba(100, 50, 200, 0.12) 100%
  );
}

/* 第一张 banner 背景图右移 */
.hero-slide:first-child .hero-slide-bg {
  transform: translate(-50%, -50%);
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: calc((100vw - 1200px) / 2 + 24px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  max-width: 540px;
  width: auto;
  min-height: auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* 第一张 banner 去掉毛玻璃卡片 */
.hero-slide:first-child .hero-slide-content {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 540px;
  width: auto;
  min-height: auto;
  color: #1a1a2e;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gradient-p);
  color: #fff;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(123, 63, 242, 0.40);
}

.hero-slide-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  letter-spacing: -0.5px;
}

/* 第一张 banner 文字改为白色（与 banner3 一致） */
.hero-slide:first-child .hero-slide-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-slide-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  font-weight: 400;
}

.hero-slide:first-child .hero-slide-desc {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.hero-slide-btns {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.hero-slide-btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-btn-primary {
  background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.hero-slide-btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.6);
}

.hero-slide-btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

.hero-slide-btn-outline {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(6px);
}

.hero-slide-btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}

.hero-slide-btn-outline:active {
  transform: translateY(-1px) scale(1.02);
}

/* 第一张 banner 按钮改为白色描边风格 */
.hero-slide:first-child .hero-slide-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-slide:first-child .hero-slide-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

/* 第一张 banner 标签改为白紫风格 */
.hero-slide:first-child .hero-slide-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 2px 14px rgba(123, 63, 242, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Banner 指示器 */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.30);
  cursor: pointer;
  transition: all 0.3s;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.60);
}

.hero-indicator.active {
  width: 36px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* ---- 三步转运 ---- */
.steps-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);
}

.steps-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.steps-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text1);
  margin-bottom: 12px;
}

.steps-title i {
  color: var(--p);
  margin-right: 12px;
}

.steps-subtitle {
  font-size: 1rem;
  color: var(--text2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--r-xl);
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-card:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(123,63,242,0.15);
}

.step-card:hover .step-title {
  color: var(--p);
}

/* 步骤内操作入口 */
.step-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: var(--p-lighter);
  color: var(--p);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s;
}
.step-card:hover .step-action {
  opacity: 1;
  transform: translateY(0);
}
.step-card:hover .step-action:hover i {
  transform: translateX(4px);
}

/* 流程底部CTA */
.steps-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

.steps-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-p);
  color: white;
  border-radius: 40px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(123,63,242,0.35);
  transition: all 0.25s;
}
.steps-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(123,63,242,0.45), 0 0 8px rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #6D28D9, #9333EA);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.steps-cta-btn .steps-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 0.8rem;
  transition: background 0.2s, transform 0.2s;
}
.steps-cta-btn:hover .steps-cta-arrow {
  background: rgba(255,255,255,0.3);
  transform: translateX(4px);
}

.steps-cta-hint {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text3);
}
.steps-cta-hint a {
  color: var(--p);
  text-decoration: none;
  font-weight: 600;
}
.steps-cta-hint a:hover {
  text-decoration: underline;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: var(--gradient-p);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(123, 63, 242, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text1);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--p);
  opacity: 0.5;
}

/* ---- 核心优势 ---- */
.advantages-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.advantage-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.advantage-icon.purple { background: var(--p-lighter); color: var(--p); }
.advantage-icon.green { background: var(--ok-bg); color: var(--ok); }
.advantage-icon.orange { background: var(--warn-bg); color: var(--warn); }
.advantage-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.advantage-icon.pink { background: rgba(236, 72, 153, 0.1); color: #EC4899; }

.advantage-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text1);
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.8125rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ---- 公告 ---- */
.notice-section {
  padding: var(--space-lg) 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 100%);
}

.notice-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--p-lighter);
  border-bottom: 1px solid var(--p-border);
}

.notice-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--p);
}

.notice-more {
  font-size: 0.875rem;
  color: var(--p);
  display: flex;
  align-items: center;
  gap: 4px;
}

.notice-list {
  padding: var(--space-sm) var(--space-md);
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--p-border);
  cursor: pointer;
  transition: background 0.2s;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: var(--p-lighter);
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.notice-dot {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--p);
  border-radius: 50%;
  flex-shrink: 0;
}

.notice-date {
  font-size: 0.8125rem;
  color: var(--text3);
  flex-shrink: 0;
  width: 90px;
}

.notice-text {
  font-size: 0.9375rem;
  color: var(--text1);
  flex: 1;
}

.notice-item:hover .notice-text {
  color: var(--p);
}

/* ---- 合作商城 ---- */
.partners-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);

}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-sm);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  background: var(--bg);
  border-radius: var(--r-md);
  transition: all 0.3s;
  cursor: pointer;
}

.partner-card:hover {
  background: var(--p-lighter);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.partner-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.partner-logo.rakuten { background: linear-gradient(135deg, #BF0000, #E60000); color: white; }
.partner-logo.amazon { background: linear-gradient(135deg, #232F3E, #37475A); color: #FF9900; }
.partner-logo.yahoo { background: linear-gradient(135deg, #6001D2, #7B2DFF); color: white; }
.partner-logo.mercari { background: linear-gradient(135deg, #FF5D5D, #FF8585); color: white; }
.partner-logo.zozo { background: linear-gradient(135deg, #000000, #333333); color: white; }
.partner-logo.uniqlo { background: linear-gradient(135deg, #DC143C, #FF4444); color: white; }
.partner-logo.apple { background: linear-gradient(135deg, #555555, #888888); color: white; }
.partner-logo.sony { background: linear-gradient(135deg, #000000, #222222); color: white; }
.partner-logo.nintendo { background: linear-gradient(135deg, #E60012, #FF3333); color: white; }
.partner-logo.muji { background: linear-gradient(135deg, #C41230, #E8354D); color: white; }
.partner-logo.books { background: linear-gradient(135deg, #0066CC, #3388DD); color: white; }
.partner-logo.camera { background: linear-gradient(135deg, #FFCC00, #FFDD44); color: #333; }
.partner-logo.default { background: var(--p-lighter); color: var(--p); }

.partner-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text1);
  text-align: center;
}

.partner-sub {
  font-size: 0.6875rem;
  color: var(--text3);
}

/* ---- 代购商城 · 热门商品 ---- */
.hot-products-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);
}

.hot-products-desc {
  text-align: center;
  color: var(--text2);
  font-size: 0.9375rem;
  margin-top: 8px;
  margin-bottom: var(--space-lg);
}

.hot-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.hot-product-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.hot-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hot-product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.hot-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.hot-product-card:hover .hot-product-img img {
  transform: scale(1.05);
}

.hot-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #FF4757, #FF6B81);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
}

.hot-product-badge.hot {
  background: linear-gradient(135deg, #FF8C00, #FFA940);
}

.hot-product-source {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.75rem;
  border-radius: 20px;
}

.hot-product-body {
  padding: 16px;
}

.hot-product-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--p);
  margin-bottom: 4px;
}

.hot-product-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.hot-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.hot-product-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FF4757;
}

.hot-product-old {
  font-size: 0.8125rem;
  color: var(--text3);
  text-decoration: line-through;
}

.hot-product-actions {
  display: flex;
  gap: 8px;
}

.hot-product-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all 0.2s;
  text-decoration: none;
}

.hot-product-btn-primary {
  background: var(--gradient-p);
  color: white;
}

.hot-product-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(123, 63, 242, 0.4);
}

.hot-product-btn-outline {
  background: var(--bg);
  color: var(--text2);
  border: 1px solid var(--border);
}

.hot-product-btn-outline:hover {
  border-color: var(--p);
  color: var(--p);
}

/* ---- AI智能代购 ---- */
.tools-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);
      /* background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%); */
}

.ai-shopping-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.ai-shopping-main {
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ai-shopping-intro {
  font-size: 0.9375rem;
  color: var(--text2);
  margin-bottom: var(--space-md);
}

.ai-input-row {
  display: flex;
  gap: 12px;
}

.ai-url-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text1);
  transition: border-color 0.2s;
  background: var(--bg-white);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.ai-url-input:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.12), inset 0 1px 3px rgba(0,0,0,0.06);
}

.ai-url-input::placeholder {
  color: var(--text3);
  opacity: 1;
}

.ai-parse-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-p);
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.ai-parse-btn:hover {
  box-shadow: 0 4px 16px rgba(123, 63, 242, 0.45);
  transform: translateY(-1px);
}

/* 按钮状态 */
.ai-parse-btn:disabled,
.ai-parse-btn.loading {
  cursor: not-allowed;
  opacity: 0.85;
}

.ai-parse-btn.success {
  background: #10B981 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.ai-parse-btn.error {
  background: #EF4444 !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.ai-parse-btn.loading i {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-input-hint {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text3);
}

/* 平台标签 */
.ai-platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.ai-platform-label {
  font-size: 0.8125rem;
  color: var(--text3);
  font-weight: 600;
}

.ai-platform-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text2);
  transition: all 0.2s;
}

.ai-platform-tag:hover {
  border-color: var(--p-light);
  color: var(--p);
}

/* 步骤指引 */
.ai-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
  padding: 16px 20px;
  background: var(--bg-white);
  border-radius: var(--r-md); 
}

.ai-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-p);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-step-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text1);
}

.ai-step-arrow {
  color: var(--p-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* AI 解析结果 */
.ai-result {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--p-light);
}

.ai-result-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-result-img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--bg-white);
}

.ai-result-detail {
  flex: 1;
  min-width: 0;
}

.ai-result-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--p);
  margin-bottom: 2px;
}

.ai-result-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-result-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: #FF4757;
  margin-top: 4px;
}

.ai-result-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ai-result-status {
  font-size: 0.8125rem;
  color: #10B981;
  font-weight: 600;
}

.ai-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--gradient-p);
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-add-btn:hover {
  box-shadow: 0 4px 12px rgba(123, 63, 242, 0.4);
}

/* AI 侧栏提示 */
.ai-shopping-tips {
  padding: var(--space-lg);
  background: var(--p-lighter);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
}

.ai-shopping-tips h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text1);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-shopping-tips ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.ai-shopping-tips li {
  font-size: 0.8125rem;
  color: var(--text2);
  line-height: 1.8;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.ai-shopping-tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p);
}

.ai-tips-more {
  font-size: 0.8125rem;
  color: var(--p);
  text-decoration: none;
  font-weight: 600;
}

.ai-tips-more:hover {
  text-decoration: underline;
}

/* ---- 运费及关税计算器 ---- */
.calculator-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);
  /* background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 100%); */
}

.calculator-wrapper {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.calculator-form {
  flex: 1;
  min-width: 0;
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.calc-field {
  margin-bottom: var(--space-md);
}

.calc-field-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.calc-field-row .calc-field {
  flex: 1;
  margin-bottom: 0;
}

.calc-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: 8px;
}

.calc-label span {
  font-weight: 400;
  color: var(--p);
  margin-left: 6px;
}

/* 线路单选 */
.calc-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  background: var(--bg);
}

.calc-radio:hover {
  border-color: var(--p-light);
}

.calc-radio input[type="radio"] {
  accent-color: var(--p);
}

.calc-radio input[type="radio"]:checked + span {
  color: var(--p);
  font-weight: 700;
}

.calc-radio small {
  font-size: 0.75rem;
  color: var(--text3);
  margin-left: 4px;
}

/* 下拉/滑块/金额 */
.calc-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text1);
  background: var(--bg-white);
  cursor: pointer;
  appearance: auto;
}

.calc-select:focus {
  outline: none;
  border-color: var(--p);
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #E8E8F0;
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-p);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(123, 63, 242, 0.4);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-p);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(123, 63, 242, 0.4);
  cursor: pointer;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 4px;
}

.calc-amount-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  
  border-radius: var(--r-md);
  background: var(--bg-white);
}

.calc-amount-prefix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text1);
}

.calc-amount-input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text1);
  background: var(--bg-white);
  padding: 14px 18px;
  min-width: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.2s;
}

.calc-amount-input:focus {
  border-color: var(--p);
  outline: none;
  box-shadow: 0 0 0 3px rgba(123,63,242,0.15);
}

.calc-amount-hint {
  font-size: 0.8125rem;
  color: var(--text3);
  white-space: nowrap;
}

.calc-btn {
  width: 100%;
  padding: 16px;
  margin-top: var(--space-md);
  background: var(--gradient-p);
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-btn:hover {
  box-shadow: 0 4px 16px rgba(123, 63, 242, 0.45);
  transform: translateY(-1px);
}

/* 计算结果 */
.calculator-result {
  width: 340px;
  flex-shrink: 0;
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.calc-result-empty {
  text-align: center;
  padding: var(--space-xl) 0;
  color: var(--text3);
  font-size: 0.9375rem;
}

.calc-result-empty i {
  display: block;
  margin-bottom: 12px;
}

.calc-result-filled {
  display: none;
}

.calc-result-filled.show {
  display: block;
}

.calc-result-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text1);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9375rem;
}

.calc-result-row .label {
  color: var(--text2);
}

.calc-result-row .value {
  font-weight: 700;
  color: var(--text1);
}

.calc-result-row.total {
  border-top: 2px solid var(--p-light);
  margin-top: 8px;
  padding-top: 14px;
}

.calc-result-row.total .value {
  font-size: 1.5rem;
  color: var(--p);
}

.calc-result-note {
  margin-top: var(--space-md);
  padding: 12px;
  background: var(--p-lighter);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  color: var(--text2);
  line-height: 1.5;
}

/* ---- 用户评价 ---- */
.reviews-section {
  padding: var(--space-2xl) 0;
}

.reviews-card {
  background: var(--gradient-p-hero);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  color: var(--text-white);
}

.reviews-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.reviews-title {
  font-size: 1.5rem;
  color:#fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.reviews-subtitle {
  font-size: 0.9375rem;
  opacity: 0.9;
}

.reviews-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.review-item {
  text-align: center;
  padding: var(--space-md);
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
  color: #FFD700;
  font-size: 1.25rem;
}

.review-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.review-author {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* ---- 热门购物网站 ---- */
.hot-sites-section {
  padding: var(--space-lg) 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}

.hot-sites-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-md);
}

.hot-site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: var(--space-md) var(--space-sm);
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: all 0.25s;
  text-decoration: none;
}

.hot-site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hot-site-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F7F7FA;
}

.hot-site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hot-site-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text1);
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .hero-banner {
    height: 400px;
  }
  
  .hero-slide-title {
    font-size: 2.25rem;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hot-sites-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 360px;
  }
  
  .hero-slide-title {
    font-size: 1.75rem;
  }
  
  .hero-slide-desc {
    font-size: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: var(--space-sm) 0;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hot-sites-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ====== 关税试算区域 ====== */
.tax-calc-home .calc-field .required {
  color: var(--danger);
  margin-left: 2px;
}

/* 数量控制 */
.calc-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--p-border);
  border-radius: var(--r-sm);
  background: var(--bg-white);
  color: var(--p);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calc-qty-btn:hover {
  background: var(--p);
  color: #fff;
}

.calc-qty-input {
  width: 60px;
  height: 42px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.2s;
  /* 去掉number输入框默认箭头 */
  -moz-appearance: textfield;
}
.calc-qty-input::-webkit-outer-spin-button,
.calc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-qty-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(123,63,242,0.15);
}

/* ====== 关税试算结果卡片 ====== */
.tax-home-result {
  background: var(--bg-white);
  border: 1px solid var(--p-border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.tax-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--p-lighter);
}

.tax-result-header i {
  color: var(--p);
}

.tax-result-main {
  text-align: center;
  padding: 16px 0;
}

.tax-result-label {
  font-size: 0.8125rem;
  color: var(--text3);
  margin-bottom: 4px;
}

.tax-result-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--p);
  line-height: 1.2;
}

.tax-result-rate {
  font-size: 0.8125rem;
  color: var(--text3);
  margin-top: 4px;
}

.tax-result-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin: 16px 0;
}

.tax-result-status .status-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tax-result-status strong {
  font-size: 0.9375rem;
  font-weight: 700;
}

.tax-result-status span {
  font-size: 0.75rem;
  color: var(--text3);
}

.tax-result-info {
  background: var(--bg-gray);
  border-radius: var(--r-md);
  padding: 12px;
  margin-bottom: 12px;
}

.tax-result-info .info-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  padding: 4px 0;
}

.tax-result-info .info-label {
  color: var(--text3);
}

.tax-result-info .info-value {
  font-weight: 600;
  color: var(--text1);
}

.tax-result-note {
  font-size: 0.75rem;
  color: var(--text3);
  text-align: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.tax-result-note i {
  margin-right: 4px;
}

/* ===== 登录/注册弹窗 ===== */









