/* TechSecure 官网样式 - 专业工业风格 */
:root {
  /* 工业蓝色主题 */
  --primary-color: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #3385D6;
  --secondary-color: #FF6600;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: #E0E0E0;
  --bg-gray: #F5F5F5;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
  scroll-behavior: smooth;
}

/* 动态加载动画 */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scale-in 0.3s ease-out;
}

/* 文本省略 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body {
  min-height: 1024px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #FFFFFF;
  color: var(--text-primary);
  line-height: 1.6;
}

.font-logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

/* 导航栏样式 */
nav {
  background-color: #ffffff !important;
}

nav a {
  color: #333333 !important;
}

nav .font-logo {
  color: var(--primary-color) !important;
}

.hero-bg {
  background: 
    linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%),
    url('https://ai-public.mastergo.com/ai/img_res/397c4163337d680b54a2828219e3827c.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.product-img {
  height: 200px;
  object-fit: cover;
}

.case-img {
  height: 250px;
  object-fit: cover;
}

.contact-form input, .contact-form textarea {
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #1E40AF;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  transition: all 0.2s ease;
  padding: 8px 16px;
  color: #333333 !important;
  font-weight: 500;
  font-size: 15px;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 80%;
}

.stat-card {
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

/* 响应式导航菜单 */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
  
  .desktop-menu {
    display: none;
  }
}

/* 页面加载动画 */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

/* 滚动指示器 */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  z-index: 1000;
  transition: width 0.2s ease;
}

/* 玻璃态效果 */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.gradient-btn {
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  border: none;
}

.gradient-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* 脉冲动画 */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.6);
  }
}

/* 浮动动画 */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* 打字机效果 */
.typewriter {
  border-right: 2px solid #F59E0B;
  animation: typing 3s steps(40, end), blink 0.8s infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  0%, 50% { border-color: #F59E0B; }
  51%, 100% { border-color: transparent; }
}

/* 增强的动画效果 */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate-in {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-100px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* 动画类 */
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.6s ease-out forwards;
}

.animate-rotate-in {
  animation: rotate-in 0.7s ease-out forwards;
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounce-in 1s ease-out forwards;
}

/* 高级悬停效果 */
.hover-lift-heavy {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift-heavy:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

/* 发光边框效果 */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  padding: 2px;
  background: linear-gradient(45deg, #3B82F6, #8B5CF6, #F59E0B, #10B981);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::before {
  opacity: 1;
}

/* 闪烁效果 */
.shimmer-effect {
  background: linear-gradient(90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.2) 20%, 
    rgba(255,255,255,0.5) 60%, 
    rgba(255,255,255,0)
  );
  background-size: 1000px 100%;
  animation: shimmer 3s infinite linear;
}

/* 渐变文字动画 */
.gradient-text-animated {
  background: linear-gradient(-45deg, #3B82F6, #8B5CF6, #F59E0B, #10B981);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

/* 粒子背景 */
.particles-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particles-bg::before,
.particles-bg::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: float 8s infinite linear;
}

.particles-bg::before {
  top: 20%;
  left: 20%;
  animation-delay: -2s;
}

.particles-bg::after {
  top: 60%;
  right: 20%;
  animation-delay: -4s;
}

/* 二级菜单样式 */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  margin-top: 8px;
  border: 1px solid #E5E7EB;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #F3F4F6;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #F3F4F6;
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdown-menu i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.nav-link {
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-link i.dropdown-icon {
  margin-left: 6px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i.dropdown-icon {
  transform: rotate(180deg);
}

/* 移动端下拉菜单 */
.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 8px;
}

.mobile-dropdown.active {
  max-height: 500px;
}

.mobile-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #d1d5db;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.mobile-dropdown a:hover {
  background: rgba(30, 64, 175, 0.3);
  border-left-color: #3B82F6;
  padding-left: 24px;
}

.mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-item i.dropdown-icon {
  transition: transform 0.3s ease;
}

.mobile-nav-item.active i.dropdown-icon {
  transform: rotate(180deg);
}

/* 后台管理页面样式覆盖 */
.admin-nav {
  background-color: #1f2937 !important;
}

.admin-nav * {
  color: #ffffff !important;
}

.admin-nav .font-logo {
  color: #60a5fa !important;
}

.admin-nav button {
  color: #ffffff !important;
}

/* 产品图片展示样式 */
.product-image-gallery {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.main-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image-container:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.main-image {
  width: 100%;
  height: 420px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.02) contrast(1.05);
}

.main-image:hover {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.08);
}

.image-counter {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-image-container:hover .image-zoom-hint {
  opacity: 1;
  transform: translateY(-2px);
}

.thumbnail-container {
  position: relative;
  margin-top: 20px;
}

.thumbnail-wrapper {
  overflow: hidden;
  margin: 0 45px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.thumbnail-list {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  justify-content: center;
}

.thumbnail {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
  position: relative;
  overflow: hidden;
}

.thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumbnail:hover::before {
  opacity: 1;
}

.thumbnail:hover {
  border-color: var(--primary-light);
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.12) translateY(-6px);
  box-shadow: 
    0 12px 25px rgba(0, 102, 204, 0.4),
    0 0 0 2px rgba(0, 102, 204, 0.2);
}

.thumbnail.active::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.5);
}

.thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(229, 231, 235, 0.8);
  color: var(--primary-color);
  font-size: 16px;
}

.thumbnail-nav:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 
    0 8px 25px rgba(0, 102, 204, 0.4),
    0 4px 12px rgba(0, 102, 204, 0.3);
}

.thumbnail-nav.prev {
  left: -5px;
}

.thumbnail-nav.next {
  right: -5px;
}

/* 美化图片预览模态框样式 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(20px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(20px);
  }
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 24px;
  font-weight: bold;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-nav:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 
    0 12px 35px rgba(0, 102, 204, 0.5),
    0 6px 18px rgba(0, 102, 204, 0.4);
}

.modal-nav.prev {
  left: 30px;
}

.modal-nav.next {
  right: 30px;
}

.modal-thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  overflow-x: auto;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.modal-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-thumbnail:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.modal-thumbnail.active {
  opacity: 1;
  border-color: white;
  transform: scale(1.15);
  box-shadow: 
    0 8px 25px rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .product-image-gallery {
    padding: 16px;
    border-radius: 12px;
  }
  
  .main-image {
    height: 320px;
  }
  
  .thumbnail {
    width: 70px;
    height: 70px;
  }
  
  .thumbnail-wrapper {
    margin: 0 35px;
    padding: 8px;
  }
  
  .thumbnail-nav {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .thumbnail-nav.prev {
    left: -2px;
  }
  
  .thumbnail-nav.next {
    right: -2px;
  }
  
  .modal-nav {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .modal-nav.prev {
    left: 15px;
  }
  
  .modal-nav.next {
    right: 15px;
  }
  
  .modal-thumbnail {
    width: 55px;
    height: 55px;
  }
  
  .modal-thumbnails {
    padding: 12px;
    gap: 8px;
  }
}

/* 美化滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(243, 244, 246, 0.8);
  border-radius: 10px;
  margin: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  background-clip: content-box;
}

/* 模态框内容区域滚动条 */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 2px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  border: 1px solid transparent;
  background-clip: content-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
  background-clip: content-box;
}

/* 产品详情模态框滚动条 */
.product-detail-modal::-webkit-scrollbar {
  width: 8px;
}

.product-detail-modal::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.8);
  border-radius: 10px;
  margin: 4px;
}

.product-detail-modal::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.product-detail-modal::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  background-clip: content-box;
}