.glide__bullet--active {
    border: 1px solid #298567;
}
.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 响应式调整 */
@media (max-width: 1024px) {
    .zoom-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-left: 0 !important;
        margin-top: 1rem !important;
        width: 100% !important;
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .grid.grid-cols-1.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .aspect-square {
        aspect-ratio: 4/3;
    }
}

/* 数量选择器样式 */
.quantity-minus,
.quantity-plus {
    user-select: none;
}

.quantity-minus:active,
.quantity-plus:active {
    transform: scale(0.95);
}

/* 通知样式 */
.notification {
    z-index: 9999;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 加载动画 */
.loading {
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    from { transform: scale(1.1); }
    to { transform: scale(0.9); }
}

/* 自定义滚动条 */
.overflow-x-auto::-webkit-scrollbar {
    height: 6px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-specs > div {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  padding: 1.5rem 1.8rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-specs > div:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.product-specs .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a5d78;
  margin-bottom: 1rem;
  border-left: 4px solid #4ca9c8;
  padding-left: 0.6rem;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.product-specs th,
.product-specs td {
  padding: 0.6rem 0.2rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid #e5e7eb;
}

.product-specs th {
  font-weight: 600;
  color: #333;
  width: 40%;
}

.product-specs td {
  color: #555;
}

/* 分隔线 */
.product-specs tr + tr th,
.product-specs tr + tr td {
  border-top: 1px solid #eee;
}

/* 响应式优化 */
@media (max-width: 640px) {
  .product-specs {
    grid-template-columns: 1fr;
  }
  .product-specs > div {
    padding: 1.2rem;
  }
  .product-specs th {
    width: 35%;
  }
}
