.fas {
  font-family: "iconfont" !important;
  font-size: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* 分页样式 - 完全重做 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination li {
    margin: 0 0.25rem;
    list-style: none;
}

.pagination li a, 
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination li a {
    background-color: #f8fafc;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.pagination li a:hover {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination li.active span {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination li.disabled span {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

        
/* 悬浮工具栏样式 */
.toolbar-btn {
    width:48px;height:48px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 8px rgba(0,0,0,0.12);
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    color:#666;
    cursor:pointer;
    transition:background 0.2s;
    margin-bottom:8px;
}
.toolbar-btn:hover {background:#f44336;color:#fff;}


        
        .nav-link {
            position: relative;
            overflow: hidden;            
            /* 原Tailwind类转换 */
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 0.5rem 0.75rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }
        
        /* 下划线动画效果 */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #3b82f6;
            transition: all 0.4s ease;
            transform: translateX(-50%);
        }
        
        .nav-link:hover::after {
            width: 80%;
        }
        
        /* 悬停时的文字颜色变化 */
        .nav-link:hover {
            color: #3b82f6;
        }

        
        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .shine-effect {
            position: relative;
            overflow: hidden;
        }

        .shine-effect::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0.3) 50%,
                    rgba(255, 255, 255, 0) 100%);
            transform: skewX(-25deg);
            transition: all 0.75s;
        }

        .shine-effect:hover::before {
            left: 200%;
            transition: 0.75s;
        }
        
        .artisan-badge {
            background: linear-gradient(135deg, #03293e 0%, #1a2a36 100%);
            color: #d4af37;
            font-size: 0.7rem;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-weight: 600;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }
        
 
        .workshop-badge {
            background: linear-gradient(135deg, #03293e 0%, #1a2a36 100%);
            color: #d4af37;
            font-size: 0.7rem;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-weight: 600;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }


        .section-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
            margin: 3rem 0;
        }
        
        .textured-bg {
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 55%),
                radial-gradient(circle at 75% 75%, rgba(3, 41, 62, 0.05) 0%, transparent 55%);
        }
        
        
        .elegant-border {
            border: 1px solid rgba(212, 175, 55, 0.2);
        }
        
        .subtle-glow {
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
        }
        
        .gold-gradient-text {
            background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .dark-overlay {
            background: linear-gradient(135deg, rgba(3, 41, 62, 0.9) 0%, rgba(2, 29, 44, 0.9) 100%);
        }


       /* Custom styles for luxury appearance */
        .input-focus:focus {
            box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); /* 模拟金色聚焦环 */
        }
        .luxury-shadow-gold {
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
        }
        /* 确保原始 JS 依赖的 class 存在，例如 spinner 动画 */
        .spinner {
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid #fff;
            border-radius: 50%;
            width: 1.5rem;
            height: 1.5rem;
            animation: spin 1s linear infinite;
        }

       /* Google 登录区域美化 */
        .google-login-wrapper {
            background: linear-gradient(to right, #1a1a1a, #2d2d2d);
            border: 1px solid rgba(255, 215, 0, 0.2);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
        }
        
        .google-login-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.4), transparent);
        }
        
        .google-login-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        
        .google-icon {
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4285F4;
            font-weight: bold;
            font-size: 14px;
        }
        
        .google-title {
            color: #fff;
            font-size: 16px;
            font-weight: 500;
        }
        
        /* 自定义 Google 按钮容器 */
        .google-btn-container {
            display: flex;
            justify-content: center;
            padding: 0;
            background: transparent !important;
        }
        
        /* 确保 Google 按钮与主题协调 */
        .g_id_signin > div {
            background: white !important;
            border-radius: 10px !important;
            border: none !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
            transition: all 0.3s ease !important;
        }
        
        .g_id_signin > div:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
        }
        
        /* 分隔线美化 */
        .divider {
            display: flex;
            align-items: center;
            margin: 28px 0;
        }
        
        .divider-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
        }
        
        .divider-text {
            padding: 0 20px;
            color: #a0a0a0;
            font-size: 13px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        /* Custom styles for luxury appearance, consistent with login page */
        .input-focus:focus {
            box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); /* 模拟金色聚焦环 */
        }
        .luxury-shadow-gold {
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
        }
        /* 确保原始 JS 依赖的 class 存在，例如 spinner 动画 */
        .spinner {
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid #fff;
            border-radius: 50%;
            width: 1.5rem;
            height: 1.5rem;
            animation: spin 1s linear infinite;
        }
.fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0; /* Start invisible */
}

.product-card {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    /* 悬停时增强金色阴影和轻微抬升效果 */
    box-shadow: 0 10px 15px -3px rgba(255, 215, 0, 0.3), 0 4px 6px -4px rgba(255, 215, 0, 0.2);
    transform: translateY(-4px) scale(1.01);
    border-color: #ffc72c !important; /* Gold border hover effect */
}

.blog-list-item {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}
.blog-list-item:hover {
    background-color: #f9fafb;
    transform: translateX(4px);
}
.blog-date {
    color: #6b7280;
    font-size: 0.875rem;
}
.blog-category {
    background: linear-gradient(135deg, #d4af37 0%, #fbbf24 50%, #f59e0b 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}