﻿/* ================================================================
   基诺山雨林徒步 - 商城页面样式
   专业分类筛选系统 + 精美产品卡片
   ================================================================ */

/* CSS变量定义 */
:root {
  --color-primary: #2d5a27;
  --color-primary-light: #4a8c42;
  --color-primary-dark: #1a3d15;
}

/* ========================================
   1. 页面头部横幅
======================================== */
.shop-hero {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%),
    url('https://images.unsplash.com/photo-1501854140801-50d01698950b?w=1920&h=600&fit=crop') center/cover no-repeat;
  transition: background-image 0.5s ease;
}

.shop-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(45, 90, 39, 0.7) 0%, 
    rgba(76, 132, 68, 0.6) 50%,
    rgba(34, 75, 28, 0.7) 100%);
}

.shop-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(139, 195, 74, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(76, 175, 80, 0.15) 0%, transparent 50%);
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.shop-hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.shop-hero-title i {
  font-size: 1.8rem;
  opacity: 0.9;
}

.shop-hero-subtitle {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.shop-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* ========================================
   2. 专业分类筛选区 - 左侧布局
======================================== */
.shop-filter-pro {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-right: 1px solid #e5e7eb;
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.03);
}

.filter-pro-container {
  padding: 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0;
}

/* 一级分类Tab - 纵向排列 */
.filter-category-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.category-tab i {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  color: #2d5a2d;
  transition: color 0.25s ease;
}

.category-tab:hover {
  border-color: #2d5a2d;
  background: rgba(45, 90, 39, 0.04);
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(45, 90, 39, 0.12);
}

.category-tab.active {
  background: linear-gradient(135deg, #2d5a2d 0%, #1d4720 100%);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.25);
}

.category-tab.active i {
  color: white !important;
}

.category-tab.active span {
  color: white !important;
}

/* 分类内容区 */
.filter-category-content {
  display: none;
  flex: 1;
}

.filter-category-content.active {
  display: block;
}

.filter-pro-section {
  margin-bottom: 12px;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.filter-pro-section:last-of-type {
  border-bottom: none;
}

.filter-pro-section.group-section {
  background: linear-gradient(135deg, #f8faf8 0%, #f0f7f0 100%);
  border-radius: 10px;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid rgba(45, 90, 39, 0.08);
}

.filter-pro-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-pro-header i {
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* 筛选按钮 - 纵向排列 */
.filter-pro-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-pro-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.filter-pro-btn:hover {
  border-color: #2d5a2d;
  color: #2d5a2d;
  background: rgba(45, 90, 39, 0.03);
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.1);
}

.filter-pro-btn.active {
  background: linear-gradient(135deg, #2d5a2d 0%, #1d4720 100%);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(45, 90, 39, 0.3);
  transform: translateX(3px);
}

.filter-pro-btn.active .btn-icon,
.filter-pro-btn.active .btn-text {
  color: white !important;
}

.filter-pro-btn .btn-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.filter-pro-btn .btn-text {
  flex: 1;
  font-weight: 500;
}

.filter-pro-btn .btn-tag {
  padding: 2px 6px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 金牌路线标签 */
.filter-pro-btn .btn-tag.gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  color: #92400e;
}

.filter-pro-btn .btn-tag.gold::before {
  content: '🏅 ';
}

.filter-pro-btn .btn-tag.hot {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.filter-pro-btn.active .btn-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-pro-btn.active .btn-tag.hot {
  background: rgba(255, 255, 255, 0.95);
  color: #dc2626;
}

/* 团型分类内联 */
.filter-pro-options.inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-pro-options.inline .filter-pro-btn {
  padding: 12px 14px;
}

/* 排序区 */
.filter-pro-footer {
  padding: 20px 0 0;
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  background: transparent;
  margin-left: 0;
  margin-right: 0;
}

.filter-result-count {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.filter-result-count span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

.filter-sort {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sort-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.sort-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 0.88rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.sort-select:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.1);
}

.sort-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* ========================================
   3. 已选筛选条件
======================================== */
.selected-filters {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.selected-filters-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-label {
  font-size: 0.9rem;
  color: #6b7280;
  white-space: nowrap;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(45, 90, 39, 0.08);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.selected-tag i {
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.selected-tag i:hover {
  opacity: 1;
}

.clear-all-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.clear-all-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ========================================
   4. 主内容区
======================================== */
.shop-main {
  background: #f5f5f5;
  min-height: 60vh;
}

.shop-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

/* 产品内容区 */
.shop-content {
  flex: 1;
  padding: 20px;
  min-width: 0;
}

/* 产品列表头部 */
.shop-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.shop-list-count {
  font-size: 0.9rem;
  color: #6b7280;
}

.shop-list-count span {
  color: var(--color-primary);
  font-weight: 600;
}

.shop-list-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-list-sort label {
  font-size: 0.85rem;
  color: #6b7280;
}

.shop-list-sort select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-size: 0.85rem;
  cursor: pointer;
}

/* 响应式布局 */


/* ========================================
   5. 产品网格
======================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ========================================
   6. 产品卡片
======================================== */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 产品图片 */
.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.product-badge {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  color: white;
}

.product-badge.hot {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

.product-badge.new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-badge.recommend {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.product-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f59e0b;
  backdrop-filter: blur(4px);
}

.product-rating i {
  font-size: 0.75rem;
}

.product-route-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
}

.route-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.route-label {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}

/* 产品内容 */
.product-content {
  padding: 20px;
}

.product-group-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(45, 90, 39, 0.08);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.product-group-type i {
  font-size: 0.75rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.product-tag {
  padding: 4px 10px;
  background: linear-gradient(135deg, #f8faf8 0%, #f0f4f0 100%);
  border: 1px solid rgba(45, 90, 39, 0.1);
  border-radius: 6px;
  font-size: 0.78rem;
  color: #4b5563;
  white-space: nowrap;
}

/* 产品底部 */
.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px dashed #e5e7eb;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-label {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-unit {
  font-size: 0.8rem;
  color: #9ca3af;
}

.price-original {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-sales {
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-sales i {
  font-size: 0.75rem;
}

/* ========================================
   7. 无结果提示
======================================== */
.no-results {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 10px;
}

.no-results p {
  font-size: 0.95rem;
  color: #6b7280;
}

.no-results a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   8. 侧边栏
======================================== */
.shop-sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-title i {
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* 热销排行 */
.hot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hot-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.hot-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
  flex-shrink: 0;
}

.hot-rank.top-1 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.hot-rank.top-2 {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  color: white;
}

.hot-rank.top-3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
}

.hot-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.hot-info {
  flex: 1;
  min-width: 0;
}

.hot-name {
  display: block;
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-name:hover {
  color: var(--color-primary);
}

.hot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hot-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.hot-sales {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* 选品助手 */
.helper-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(45, 90, 39, 0.15);
}

.helper-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.helper-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.helper-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(45, 90, 39, 0.15);
}

.helper-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 1.2rem;
}

.helper-info {
  flex: 1;
}

.helper-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}

.helper-desc {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}

/* 客服卡片 */
.service-card {
  text-align: center;
}

.service-qrcode {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

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

.service-tip {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.service-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.service-phone:hover {
  background: #1d4720;
  transform: translateY(-2px);
}

/* ========================================
   9. 响应式设计
======================================== */


/* ========================================
   10. 团建定制表单
======================================== */

/* 表单入场动画 */
.team-customize-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(45, 90, 39, 0.08);
  border: 1px solid rgba(45, 90, 39, 0.06);
  animation: formSlideIn 0.5s ease-out;
}

@keyframes formSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.customize-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px dashed #e5e7eb;
  position: relative;
}

.customize-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #4a8a4a 100%);
  border-radius: 2px;
}

.customize-header h2 {
  font-size: 1.75rem;
  color: #1f2937;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.customize-header h2 i {
  font-size: 1.5rem;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(45, 90, 39, 0.05) 100%);
  padding: 12px;
  border-radius: 12px;
}

.customize-header p {
  font-size: 1rem;
  color: #6b7280;
}

/* 表单分区 */
.form-section {
  margin-bottom: 32px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.form-section-title i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.form-section-title .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}

.customize-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.form-group label .required {
  color: #ef4444;
  font-size: 0.8rem;
}

.form-group label i {
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* 输入框样式 */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #374151;
  transition: all 0.25s ease;
  background: #fafbfc;
  position: relative;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #d1d5db;
  background: white;
}

/* 输入框焦点状态 */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1), 0 2px 8px rgba(45, 90, 39, 0.05);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .input-icon {
  color: var(--color-primary);
}

/* 输入框动画下划线效果 */
.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.form-group:focus-within::after {
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* 人数选择特殊样式 */
.people-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafbfc;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.25s ease;
}

.people-counter:hover {
  border-color: #d1d5db;
}

.people-counter:focus-within {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

.people-counter input {
  flex: 1;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px;
}

.people-counter input:focus {
  outline: none;
  box-shadow: none;
}

.people-counter .counter-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.people-counter .counter-btn:hover {
  background: #1d4720;
  transform: scale(1.05);
}

/* 线路偏好多选框 */
.route-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.route-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fafbfc;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.route-checkbox:hover {
  border-color: var(--color-primary);
  background: rgba(45, 90, 39, 0.03);
}

.route-checkbox input {
  display: none;
}

.route-checkbox .checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.route-checkbox input:checked + .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.route-checkbox input:checked + .checkmark i {
  color: white;
  font-size: 0.75rem;
}

.route-checkbox .route-info {
  flex: 1;
}

.route-checkbox .route-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 2px;
}

.route-checkbox .route-desc {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* 表单操作区 */
.form-actions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed #e5e7eb;
  text-align: center;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4720 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 90, 39, 0.4);
}

.submit-btn:hover::before {
  left: 100%;
}

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

.submit-btn i {
  font-size: 1.2rem;
}

/* 按钮loading状态 */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-btn.loading i {
  animation: spin 1s linear infinite;
}

/* spin 已移至 main.css */

.form-tip {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-tip i {
  color: var(--color-primary);
}

/* 联系方式区域 */
.customize-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid #f0f0f0;
}

.customize-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #f8faf8 0%, #f0f4f0 100%);
  border-radius: 16px;
  border: 1px solid rgba(45, 90, 39, 0.08);
  transition: all 0.3s ease;
}

.customize-contact .contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45, 90, 39, 0.1);
  border-color: rgba(45, 90, 39, 0.15);
}

.customize-contact .contact-item i {
  font-size: 1.6rem;
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(45, 90, 39, 0.08);
}

.customize-contact .contact-item .contact-text {
  flex: 1;
}

.customize-contact .contact-item .label {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 4px;
}

.customize-contact .contact-item span:last-child,
.customize-contact .contact-item a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
}

.customize-contact .contact-item a:hover {
  color: var(--color-primary);
}

/* 快捷咨询卡片 */
.quick-consult {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.quick-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-consult-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.03);
}

.quick-consult-btn i {
  font-size: 1.1rem;
}

/* 团建定制表单响应式 */



  }
  
  .customize-header h2 {
    font-size: 1.3rem;
  }
}



/* ========================================
   10. 动画效果
======================================== */
/* fadeInUp 已移至 main.css */

.product-card {
  animation: fadeInUp 0.5s ease forwards;
}

.shop-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.shop-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.shop-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.shop-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.shop-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.shop-grid .product-card:nth-child(6) { animation-delay: 0.3s; }

/* 保留旧样式兼容性 */
.shop-banner {
  display: none;
}

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

/* ===== 商城页兼容性优化 ===== */

/* 1. 超大屏幕优化 */
@media (min-width: 1600px) {
  .shop-container {
    max-width: 1440px;
  }

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

/* 2. 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .filter-btn,
  .sort-btn,
  .product-card-btn {
    min-height: 48px;
  }

  .filter-item,
  .sort-item {
    padding: 12px 16px;
  }
}

/* 3. 横屏平板优化 */


/* 4. 输入框兼容性 */
.team-customize-form input,
.team-customize-form textarea,
.team-customize-form select {
  font-size: 16px;
  -webkit-appearance: none;
}

/* 5. 动画性能优化 */
.product-card,
.filter-btn {
  will-change: transform;
  backface-visibility: hidden;
}

/* 6. 高对比度模式 */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid var(--text);
  }

  .filter-btn.active {
    border: 2px solid var(--primary);
  }
}

/* 7. 减少动画 */
@media (prefers-reduced-motion: reduce) {
  .product-card {
    animation: none !important;
  }
}
