/* ===== 退货政策全局样式 ===== */
.return-policy-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #f9fbfd;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 92, 169, 0.12);
  font-family: 'Inter', 'PingFang SC', sans-serif;
  border: 1px solid #e3edf7;
}

/* 标题样式 */
.policy-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.policy-header h1 {
  font-size: 2.8rem;
  color: #0a2540;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}
.policy-header:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4a90e2, #5bc0de);
  margin: 20px auto;
  border-radius: 2px;
}

/* 政策卡片组 */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* 单个政策卡片 */
.policy-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(10, 37, 64, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #4a90e2;
  position: relative;
  overflow: hidden;
}
.policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(74, 144, 226, 0.15);
}
.policy-card.non-returnable {
  border-top-color: #ff6b6b;
}
.policy-card.international {
  border-top-color: #20c997;
}

/* 卡片图标 */
.card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.15;
  font-size: 3.5rem;
  z-index: 0;
}
.policy-card.returnable .card-icon { color: #4a90e2; }
.policy-card.non-returnable .card-icon { color: #ff6b6b; }
.policy-card.international .card-icon { color: #20c997; }

/* 卡片内容 */
.card-content {
  position: relative;
  z-index: 1;
}
.card-content h3 {
  font-size: 1.4rem;
  color: #0a2540;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.card-content h3:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 12px;
  background: #4a90e2;
}
.non-returnable h3:before { background: #ff6b6b; }
.international h3:before { background: #20c997; }

.card-content p {
  color: #4e657b;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* 标签样式 */
.policy-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 10px;
}
.tag-returnable {
  background: rgba(74, 144, 226, 0.12);
  color: #4a90e2;
}
.tag-nonreturn {
  background: rgba(255, 107, 107, 0.12);
  color: #ff6b6b;
}
.tag-international {
  background: rgba(32, 201, 151, 0.12);
  color: #20c997;
}

/* 流程时间线 */
.process-timeline {
  position: relative;
  padding: 40px 0;
}
.timeline-title {
  text-align: center;
  font-size: 1.8rem;
  color: #0a2540;
  margin-bottom: 50px;
  font-weight: 600;
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.timeline-steps:before {
  content: "";
  position: absolute;
  top: 30px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #4a90e2, #5bc0de);
}
.step-item {
  text-align: center;
  width: 20%;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 3px solid #4a90e2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
  color: #4a90e2;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}
.step-title {
  font-weight: 600;
  color: #0a2540;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.step-desc {
  color: #6a7c94;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .timeline-steps {
    flex-direction: column;
  }
  .timeline-steps:before {
    display: none;
  }
  .step-item {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    text-align: left;
    align-items: flex-start;
  }
  .step-number {
    margin: 0 20px 0 0;
    flex-shrink: 0;
  }
  .step-content {
    text-align: left;
    padding-right: 15px;
  }
}

/* 悬停动画 */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.policy-card:hover .card-icon {
  animation: pulse 1.5s infinite;
}