@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    .backdrop-blur {
        backdrop-filter: blur(8px);
    }
    .transition-navbar {
        transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    }
    .product-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .product-card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    }
    /* 新增：初始隐藏状态（透明+下移） */
    .fade-element {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    /* 新增：显示状态（不透明+复位） */
    .fade-element.visible {
        opacity: 1;
        transform: translateY(0);
    }
}