/* ========================================
   JDL Overseas 高级图标系统
   Premium Icon System
   ======================================== */

/* ========== 图标容器基础样式 ========== */
.premium-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    flex-shrink: 0;
}

.premium-icon svg {
    width: 48px;
    height: 48px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== 产品分类图标 - SVG Line Icons ========== */

/* 维生素系列 - 胶囊图标 */
.icon-vitamins {
    width: 80px;
    height: 80px;
}

/* 矿物质系列 - 能量图标 */
.icon-minerals {
    width: 80px;
    height: 80px;
}

/* Omega & 油类 - 水滴图标 */
.icon-omega {
    width: 80px;
    height: 80px;
}

/* 胶原蛋白 - 星形分子图标 */
.icon-collagen {
    width: 80px;
    height: 80px;
}

/* 抗氧化剂 - 盾牌图标 */
.icon-antioxidants {
    width: 80px;
    height: 80px;
}

/* 益生菌 - 细菌图标 */
.icon-probiotics {
    width: 80px;
    height: 80px;
}

/* 草本植物 - 叶子图标 */
.icon-botanicals {
    width: 80px;
    height: 80px;
}

/* 特殊配方 - 六边形图标 */
.icon-specialty {
    width: 80px;
    height: 80px;
}

/* ========== 图标悬停动画 ========== */
.category-card:hover .premium-icon svg {
    transform: translate(-50%, -50%) scale(1.08);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* ========== 图标背景圆形装饰 ========== */
.premium-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    z-index: -1;
}

.category-card:hover .premium-icon::before {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

/* ========== 认证图标样式 ========== */
.cert-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    display: block;
}

/* ========== 特性图标样式 ========== */
.feature-icon-premium {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    margin: 0 auto 20px;
    flex-shrink: 0;
    position: relative;
}

.feature-icon-premium svg {
    width: 36px;
    height: 36px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .premium-icon {
        width: 60px;
        height: 60px;
    }
    
    .premium-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .premium-icon::before {
        width: 80px;
        height: 80px;
    }
}

