/* Universal Shop - Base Styles */
:root {
  --primary: #2563eb;
  --dark: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--dark);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Header & Footer */
#site-header {
  border-bottom: 1px solid #eef2f7;
  background: #fff;
}

.navbar-brand img {
  transition: opacity 0.2s ease;
}

.navbar-brand:hover img {
  opacity: 0.8;
}
#site-footer {
  border-top: 1px solid #eef2f7;
  background: #fff;
  padding: 2rem 0;
}
.navbar-brand strong { color: var(--primary); }
.nav-link.active { color: var(--primary) !important; font-weight: 600; }

/* Hero */
.gradient-hero {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
}
.text-light-hero { color: #eef2ff; }

/* Hero Section 背景样式 */
.hero-section {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  line-height: 1.6;
}

.hero-section .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero 移动端优化 */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-section .btn-outline-light {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Hero图片轮播样式 */
#heroImageCarousel {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

#heroImageCarousel .carousel-control-prev,
#heroImageCarousel .carousel-control-next {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#heroImageCarousel .carousel-item {
  padding: 0;
  transition: transform 0.6s ease-in-out;
}

#heroImageCarousel .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0.75rem;
}

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

#heroImageCarousel .carousel-indicators {
  bottom: 1rem;
}

#heroImageCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

#heroImageCarousel .carousel-indicators button.active {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.2);
}

#heroImageCarousel .carousel-control-prev,
#heroImageCarousel .carousel-control-next {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.9;
}

#heroImageCarousel .carousel-control-prev {
  left: 0.5rem;
}

#heroImageCarousel .carousel-control-next {
  right: 0.5rem;
}

#heroImageCarousel .carousel-control-prev:hover,
#heroImageCarousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

#heroImageCarousel .carousel-control-prev-icon,
#heroImageCarousel .carousel-control-next-icon {
  width: 1.2rem;
  height: 1.2rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
/* USP 样式优化 */
.usp {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  padding: 2rem 1rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.usp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.usp .col-4 {
  position: relative;
  padding: 1rem 0.5rem;
}

.usp .col-4:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.usp .col-4 > div:first-child {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.usp .col-4:hover > div:first-child {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.usp small {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.usp .col-4:hover small {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero图片轮播移动端优化 */
@media (max-width: 768px) {
  #heroImageCarousel .carousel-item img {
    height: 300px;
  }
  
  #heroImageCarousel .carousel-control-prev,
  #heroImageCarousel .carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    opacity: 0.95;
  }
  
  #heroImageCarousel .carousel-control-prev {
    left: 0.25rem;
  }
  
  #heroImageCarousel .carousel-control-next {
    right: 0.25rem;
  }
  
  #heroImageCarousel .carousel-indicators {
    bottom: 0.5rem;
  }
  
  #heroImageCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 0.15rem;
  }
}

/* USP 移动端优化 */
@media (max-width: 768px) {
  .usp {
    padding: 1.5rem 0.75rem;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
  }
  
  .usp .col-4 {
    padding: 0.75rem 0.25rem;
  }
  
  .usp .col-4 > div:first-child {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .usp small {
    font-size: 0.8rem;
    margin-top: 0.375rem;
  }
  
  .usp .col-4:not(:last-child)::after {
    height: 50%;
  }
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}
.category-card {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid #eef2f7;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(2,6,23,.08); }
.category-card img { width: 100%;  object-fit: cover; }
.category-card .label { position: absolute; bottom: .5rem; left: .5rem; background: rgba(15,23,42,.7); color: #fff; padding: .25rem .5rem; border-radius: .25rem; font-size: .9rem; }

/* Filters */
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-pills::-webkit-scrollbar { display: none; }

/* Footer 样式 */
footer {
  background: #ffffff;
  color: #374151;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-title {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 1px;
}

.footer-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-word;
}

.contact-icon {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-block;
  font-weight: 500;
}

.footer-links a:hover {
  color: #3b82f6;
  transform: translateX(0.25rem);
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.copyright {
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 移除社交媒体相关样式 */

/* Footer 移动端优化 */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem;
    margin-top: 2rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-contact {
    align-items: center;
  }
  
  .contact-item {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    word-break: break-word;
    line-height: 1.4;
    padding: 0.25rem 0;
  }
  
  .contact-item span {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .footer-contact {
    margin-bottom: 1.5rem;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .copyright {
    text-align: center;
    margin-bottom: 1rem;
  }
}

/* Newsletter */
.newsletter { background: #fff; border: 1px solid #eef2f7; border-radius: .75rem; padding: 1rem; }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Product Grid */

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobile: two per row */
  gap: 0.625rem;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
  }
}
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.product-card {
  border: 1px solid #eef2f7;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #dbeafe;
}
.product-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card .content {
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 120px;
}

/* 价格和按钮行布局 */
.price-row {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 0.5rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-row {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #eef2f7;
}

.btn-group {
  position: relative;
  z-index: 10;
}

/* 商品卡片按钮组样式 - 桌面端 */
.product-action-buttons {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.product-wishlist-btn {
  width: 40px;
  min-width: 40px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.product-wishlist-btn:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  transform: scale(1.05);
}

.product-add-cart-btn {
  flex: 1;
  min-width: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.product-add-cart-btn .btn-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.product-add-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

/* 价格区域布局优化 */
.product-card .content > div:last-child {
  margin-top: inherit;
  
  padding-top: 0.25rem;
}

/* 价格显示优化 */
.price-container .current-price,
.price-container .original-price,
.price {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 确保价格行高度一致 */
.price-row:has(.price-container),
.price-row:has(.price) {
  display: flex;
  align-items: center;
}

/* 长价格处理 */
.price-container .current-price.long-price,
.price-container .original-price.long-price {
  font-size: 0.85rem;
}

.price-container .current-price.very-long-price,
.price-container .original-price.very-long-price {
  font-size: 0.8rem;
}
.product-title {
  font-size: 0.9rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  font-weight: 600;
  color: var(--dark);
  min-height: 2.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.price-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  min-height: 2.5rem;
}

.current-price {
  color: #dc2626;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}

.original-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  opacity: 0.8;
}

/* Badges */
.badge-category {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.badge-flag { 
  position: absolute; 
  top: .75rem; 
  right: .75rem; 
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.badge-new { 
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}
.badge-trending { 
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.badge-discount { 
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Utilities */
.text-muted-sm { 
  color: var(--muted); 
  font-size: 0.8rem; 
}
.cursor-pointer { cursor: pointer; }

/* PC端商品卡片额外优化 */
@media (min-width: 768px) {
  .product-card {
    border-width: 1px;
  }
  
  .product-card .content {
    padding: 0.75rem 0.75rem 1rem;
    gap: 0.5rem;
  }
  
  .product-title {
    font-size: 0.9rem;
  }
  
  .current-price {
    font-size: 1rem;
    line-height: 1;
  }
  
  .original-price {
    font-size: 0.8rem;
    line-height: 1;
  }
  
  .price-container {
    gap: 0.875rem;
    min-height: 2.8rem;
  }
  
  .price {
    min-height: 2.8rem;
  }
  
  .price-row {
    min-height: 4rem;
  }
  
  .price-row {
    margin-bottom: 0.875rem;
    padding: 0.625rem 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .btn-row {
    padding-top: 0.625rem;
  }
  
  .product-title {
    font-size: 0.95rem;
    margin-bottom: 0;
    min-height: 0;
  }
  
  .current-price {
    font-size: 1.1rem;
  }
  
  .original-price {
    font-size: 0.85rem;
  }
  
  .badge-category, .badge-flag, .badge-new, .badge-trending, .badge-discount {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Quick view content */
.quick-images img {
  height: 280px;
  object-fit: cover;
}

/* Forms */
.form-required::after {
  content: '*';
  color: #ef4444;
  margin-left: .25rem;
}

/* Cart table */
.cart-thumb {
  width: 64px; height: 64px; object-fit: cover; border-radius: .25rem;
}

/* 购物车和心愿单商品信息样式 */
.cart-product-info {
  display: inline-block;
  vertical-align: top;
}

.cart-product-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cart-product-title:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Mobile responsive cart */
@media (max-width: 768px) {
  .cart-table-desktop {
    display: none;
  }
  
  .cart-mobile {
    display: block;
  }
  
  .cart-item-mobile {
    border: 1px solid #eef2f7;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
  }
  
  .cart-item-mobile .product-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .cart-item-mobile .product-details {
    flex: 1;
  }
  
  .cart-item-mobile .product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .cart-item-mobile .product-price {
    color: var(--primary);
    font-weight: 600;
  }
  
  .cart-item-mobile .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .cart-item-mobile .quantity-input {
    width: 60px;
    text-align: center;
  }
  
  .cart-item-mobile .actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .cart-item-mobile .btn {
    flex: 1;
  }
  
  /* 移动端导航栏优化 */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .navbar .btn-sm img {
    width: 14px !important;
    height: 14px !important;
  }
}

.cart-table-desktop {
  display: block;
}

.cart-mobile {
  display: none;
}

/* Wishlist */
.wishlist-empty, .cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

/* 移动端空状态优化 */
@media (max-width: 768px) {
  .wishlist-empty, .cart-empty {
    padding: 2rem 1rem;
  }
  
  .wishlist-empty h2, .cart-empty h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .wishlist-empty p, .cart-empty p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .wishlist-empty .btn, .cart-empty .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
  }
}

/* 商品详情页面样式优化 */
.product-detail-container {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

/* 商品轮播图样式 */
#productCarousel {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#productCarousel .carousel-item {
  padding: 0;
}

#productCarousel .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.75rem;
}

#productCarousel .carousel-indicators {
  bottom: 1rem;
}

#productCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

#productCarousel .carousel-indicators button.active {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.2);
}

#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

#productCarousel .carousel-control-prev {
  left: 1rem;
}

#productCarousel .carousel-control-next {
  right: 1rem;
}

#productCarousel .carousel-control-prev:hover,
#productCarousel .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* 商品轮播图移动端优化 */
@media (max-width: 768px) {
  #productCarousel {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  #productCarousel .carousel-item {
    padding: 0;
  }
  
  #productCarousel .carousel-item img {
    height: 300px;
    border-radius: 0.5rem;
  }
  
  #productCarousel .carousel-control-prev,
  #productCarousel .carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  #productCarousel .carousel-control-prev {
    left: 0.5rem;
  }
  
  #productCarousel .carousel-control-next {
    right: 0.5rem;
  }
  
  #productCarousel .carousel-indicators {
    bottom: 1rem;
  }
  
  #productCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 0.15rem;
  }
}

/* 面包屑导航样式 */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--primary);
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--dark);
}

.breadcrumb-item.active {
  color: var(--muted);
}

/* 商品图片区域 */
.product-images-container {
  position: relative;
}

.main-image-container {
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  overflow: hidden;
  background: #f8fafc;
  padding: 1rem;
}

.product-main-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.product-main-image:hover {
  transform: scale(1.02);
}

.product-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thumbnail-item {
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
  padding: 0.25rem;
}

.thumbnail-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.thumbnail-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* 商品信息区域 */
.product-info-container {
  padding: 1rem 0;
}

.product-header {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 1.5rem;
}



.product-category .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

/* 价格区域样式 */
.product-price-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #eef2f7;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.original-price {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1;
}

.discount-badge {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* 商品描述 */
.product-description {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
}

.description-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
}

/* 商品属性选择 */
.product-attributes .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.product-attributes .form-select {
  border: 2px solid #eef2f7;
  border-radius: 0.75rem;
  padding: 0.625rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.product-attributes .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* 数量选择样式 */
.quantity-section .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid #eef2f7;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: white;
}

.quantity-input {
  width: 70px;
  text-align: center;
  border: 2px solid #eef2f7;
  border-radius: 0.75rem;
  padding: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.quantity-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* 操作按钮样式 */
.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.add-to-cart-btn, .wishlist-btn {
  flex: 1;
  min-width: 180px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: none;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.wishlist-btn {
  border: 2px solid #eef2f7;
  color: var(--dark);
  background: white;
}

.wishlist-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* 商品特性 */
.product-features {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #eef2f7;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 0.95rem;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 20px;
}

/* 移动端响应式优化 */
@media (max-width: 768px) {
  .product-detail-container {
    margin: 0 -1rem;
    border-radius: 0;
    padding: 0;
  }
  
  .product-detail-container .row {
    margin: 0;
  }
  
  .product-detail-container .col-12 {
    padding: 0 1rem;
  }
  
  .product-detail-container .col-12:first-child {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f7;
  }
  
  .product-detail-container .col-12:last-child {
    padding-top: 1rem;
  }
  
  /* 移动端图片容器优化 */
  .product-images-container {
    text-align: center;
  }
  
  /* 移动端信息容器优化 */
  .product-info-container {
    padding: 0;
  }
  
  .product-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .current-price {
    font-size: 1.6rem;
  }
  
  .original-price {
    font-size: 1rem;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .add-to-cart-btn, .wishlist-btn {
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
  }
  
  .thumbnail-item {
    width: 50px;
    height: 50px;
  }
  
  .product-thumbnails {
    gap: 0.5rem;
    justify-content: center;
  }
  
  .product-main-image {
    height: 250px;
  }
  
  .main-image-container {
    padding: 0.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .product-price-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .price-container {
   
    gap: 0.5rem;
  }
  
  .product-description {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .description-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .quantity-controls {
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
  }
  
  .quantity-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  
  .quantity-input {
    width: 80px;
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .product-features {
    padding: 1rem;
    margin-top: 1.5rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
  }
  
  .breadcrumb {
    font-size: 0.85rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 0.5rem;
  }
  
  .product-header {
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .product-category .badge {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .product-attributes .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .product-attributes .form-select {
    padding: 0.75rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
  }
  
  .quantity-section .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  /* 移动端触摸优化 */
  .add-to-cart-btn, .wishlist-btn {
    min-height: 48px;
    touch-action: manipulation;
  }
  
  .quantity-btn {
    touch-action: manipulation;
  }
  
  .product-attributes .form-select {
    touch-action: manipulation;
    min-height: 48px;
  }
  
  .quantity-input {
    touch-action: manipulation;
    min-height: 48px;
  }
  
  /* 移动端间距优化 */
  .product-detail-container .row.g-5 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }
  
  /* 移动端图片悬停效果禁用 */
  .product-main-image:hover {
    transform: none;
  }
  
  .thumbnail-item:hover {
    transform: none;
  }
}

/* 快速查看弹窗样式优化 */
.quick-view-container {
  padding: 0;
}

.quick-view-images {
  position: relative;
}

.quick-view-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.quick-view-main-image:hover {
  transform: scale(1.02);
}

.quick-view-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qv-thumbnail-item {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
  padding: 0.25rem;
}

.qv-thumbnail-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.qv-thumbnail-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.qv-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.quick-view-info {
  padding: 0;
}

.qv-product-header {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 1rem;
}

.qv-product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.qv-product-category .badge {
  font-size: 0.8rem;
  padding: 0.375rem 0.75rem;
  border-radius: 1.5rem;
}

.qv-price-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #eef2f7;
}

.qv-price-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qv-current-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.qv-original-price {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1;
}

.qv-discount-badge {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 1.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.qv-description {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 3px solid var(--primary);
}

.qv-description-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark);
  margin: 0;
}

.qv-attributes .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.qv-attributes .form-select {
  border: 2px solid #eef2f7;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.qv-attributes .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.qv-quantity-section .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.qv-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 180px;
}

.qv-quantity-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid #eef2f7;
  transition: all 0.2s ease;
}

.qv-quantity-btn:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: white;
}

.qv-quantity-input {
  width: 70px;
  text-align: center;
  border: 2px solid #eef2f7;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.qv-quantity-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.qv-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qv-add-btn, .qv-wish-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.qv-add-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.qv-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.qv-wish-btn {
  border: 2px solid #eef2f7;
  color: var(--dark);
  background: white;
}

.qv-wish-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.qv-details-btn {
  width: 100%;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.qv-details-btn:hover {
  background: #f8fafc;
  color: var(--dark);
}

/* Loading 动画样式 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 0;
}

.loading-text {
  margin-top: 1rem;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 页面内容淡入动画 */
.page-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.page-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* 快速查看弹窗移动端优化 */
@media (max-width: 768px) {
  .quick-view-main-image {
    height: 250px;
  }
  
  .qv-thumbnail-item {
    width: 50px;
    height: 50px;
  }
  
  .qv-product-title {
    font-size: 1.3rem;
  }
  
  .qv-current-price {
    font-size: 1.5rem;
  }
  
  .qv-original-price {
    font-size: 1rem;
  }
  
  .qv-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .qv-add-btn, .qv-wish-btn {
    min-width: auto;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .qv-quantity-controls {
    max-width: 100%;
    justify-content: center;
  }
  
  .qv-quantity-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .qv-quantity-input {
    width: 60px;
    padding: 0.375rem;
    font-size: 0.9rem;
  }
}

/* 商品卡片移动端适配 */
@media (max-width: 768px) {
  .product-card {
    border-radius: 0.375rem;
  }
  
  .product-card .content {
    padding: 0.5rem 0.5rem 0.75rem;
    gap: 0.375rem;
  }
  
  .product-title {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  
  .current-price {
    font-size: 0.9rem;
    line-height: 1;
  }
  
  .original-price {
    font-size: 0.75rem;
    line-height: 1;
  }
  
  .price-container {
    min-height: 2.2rem;
    gap: 0.5rem;
  }
  
  .price {
    min-height: 2.2rem;
  }
  
  .price-row {
    min-height: 3rem;
  }
  
  .price-row {
    margin-bottom: 0.5rem;
    padding: 0.375rem 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .btn-row {
    padding-top: 0.375rem;
  }
  
  .product-title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    min-height: 2rem;
  }
  
  .current-price {
    font-size: 0.9rem;
  }
  
  .original-price {
    font-size: 0.75rem;
  }
  
  .badge-category, .badge-flag {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  .badge-discount {
    font-size: 0.7rem;
  }
  
  .product-card img {
  }
  
  /* 移动端按钮组优化 */
  .product-action-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .product-wishlist-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    transition: all 0.2s ease;
  }

  .product-wishlist-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: scale(1.05);
  }

  .product-add-cart-btn {
    flex: 1;
    min-width: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
  }

  .product-add-cart-btn .btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .product-add-cart-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  }

  /* 超长文本处理 */
  @media (max-width: 480px) {
    .product-add-cart-btn {
      font-size: 0.75rem;
      padding: 0.375rem 0.5rem;
    }
    
    .product-add-cart-btn .btn-text {
      font-size: 0.6875rem;
    }
  }
  
  /* 移动端商品网格间距优化 */
  .product-grid {
    gap: 0.5rem;
  }
  
  .product-grid .col-12 {
    padding: 0 0.25rem;
  }
  
  /* 移动端商品卡片悬停效果禁用 */
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Mobile responsive wishlist and cart */
@media (max-width: 768px) {
  /* Wishlist 移动端表格优化 */
  .wishlist-content .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .wishlist-content .table {
    min-width: 500px;
    font-size: 0.9rem;
  }
  
  .wishlist-content .table th {
    white-space: nowrap;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .wishlist-content .table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
  }
  
  .wishlist-content .cart-thumb {
    width: 50px;
    height: 50px;
    border-radius: 0.25rem;
  }
  
  .wishlist-content .btn-group {
    display: flex;
    gap: 0.5rem;
  }
  
  .wishlist-content .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .wishlist-content .btn-sm img {
    width: 14px !important;
    height: 14px !important;
  }
  
  /* Cart 移动端表格优化 */
  .cart-content .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .cart-content .table {
    min-width: 600px;
    font-size: 0.9rem;
  }
  
  .cart-content .table th {
    white-space: nowrap;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .cart-content .table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
  }
  
  .cart-content .cart-thumb {
    width: 50px;
    height: 50px;
    border-radius: 0.25rem;
  }
  
  .cart-content .cart-qty {
    width: 60px;
    text-align: center;
    padding: 0.25rem;
    font-size: 0.85rem;
  }
  
  .cart-content .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
  
  /* 购物车总计移动端优化 */
  .cart-content .d-flex.justify-content-end {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #eef2f7;
  }
  
  .cart-content .fw-bold {
    font-size: 1.1rem;
    color: var(--dark);
  }
  
  /* 结账部分移动端优化 */
  .checkout-section .row {
    margin: 0;
  }
  
  .checkout-section .col-12 {
    padding: 0;
  }
  
  .checkout-section .h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .checkout-section .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .checkout-section .form-control {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid #eef2f7;
  }
  
  .checkout-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
  }
  
  .checkout-section .btn {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    font-size: 1rem;
  }
}

/* 客户评论样式 */
.customer-reviews {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f7;
}

/* PC端评论样式（左侧显示） */
.customer-reviews.d-lg-block {
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.reviews-grid-pc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card-pc {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.review-card-pc:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #dbeafe;
}

.review-header-pc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.reviewer-info-pc {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar-pc {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-details-pc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.reviewer-name-pc {
  font-weight: 600;
  color: #111827;
  font-size: 0.9rem;
}

.review-rating-pc {
  display: flex;
  gap: 0.1rem;
}

.review-rating-pc .star {
  color: #d1d5db;
  font-size: 0.8rem;
}

.review-rating-pc .star.filled {
  color: #fbbf24;
}

.review-badge-pc {
  background: #dc2626;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.review-content-pc {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.review-date-pc {
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: right;
}

.review-card-pc:nth-child(2) .reviewer-avatar-pc {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #eef2f7;
}

.reviews-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.reviews-count {
  background: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #dbeafe;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-card:nth-child(2) .reviewer-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.reviewer-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}

.review-rating {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: #d1d5db;
  font-size: 1rem;
}

.star.filled {
  color: #fbbf24;
}

.review-badge {
  background: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.review-content {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review-date {
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
}

/* 评论移动端优化 */
@media (max-width: 768px) {
  .customer-reviews {
    width: 95%;
    padding: 1rem;
    margin-top: 2rem;
  margin: 0 auto 0;
    border-radius: 0.5rem;
  }
  
  .reviews-header {
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .reviews-title {
    font-size: 1.25rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    overflow: hidden;
  }
  
  .review-card {
    padding: 1rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .review-header {
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .reviewer-info {
    width: 100%;
  }
  
  .reviewer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .review-content {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .review-date {
    font-size: 0.8rem;
    text-align: left;
    margin-top: 0.5rem;
  }
}

/* 心愿单页面按钮悬停效果 */
.wishlist-action-btn {
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.wishlist-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wishlist-action-btn.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.wishlist-action-btn.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

/* 分页样式 */
.pagination .page-link {
  color: #495057;
  border-color: #dee2e6;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

/* 心愿单商品属性标签样式 */
.wishlist-attribute-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  color: #495057;
  margin-right: 6px;
  margin-bottom: 4px;
  display: inline-block;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wishlist-attribute-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.wishlist-attribute-badge i {
  font-size: 9px;
  opacity: 0.8;
}



