.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;
}

/* 产品属性表格样式 */
.prose table {
    margin: 0;
}

.prose table td {
    border: 1px solid #e5e7eb;
}

/* 评价表单样式 */
#review-form {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 相关产品悬停效果 */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\\:bg-opacity-20 {
    background-opacity: 0.2;
}

.group:hover .group-hover\\:opacity-100 {
    opacity: 1;
}

/* 加载动画 */
.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;
}