/**
 * RiPro-V2 子主题自定义样式 - 白色背景现代化UI设计
 * 参考图片优化设计
 * 
 * @package RiPro-V2-Child
 * @since 1.0.0
 */

/* ==========================================================================
   hero-shop 下载页面 - 白色背景现代化UI优化
   ========================================================================== */

/* 整体容器 - 白色背景 */
.hero-shop-modern {
    padding: 20px 0;
    background: #ffffff;
    color: #333333;
}

/* 左侧图片区域 */
.hero-shop-modern .product-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    background: #f8f9fa;
}

.hero-shop-modern .product-image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* 元信息盒子 */
.hero-shop-modern .meta-info-box {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-shop-modern .meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.hero-shop-modern .meta-item i {
    margin-right: 6px;
    color: #007bff;
}

/* 价格显示区域 - 大字突出 */
.hero-shop-modern .price-display-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.hero-shop-modern .price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.hero-shop-modern .price-number {
    font-size: 48px;
    font-weight: 700;
    color: #ff4757;
    line-height: 1;
}

.hero-shop-modern .price-unit {
    font-size: 18px;
    color: #666666;
    font-weight: 500;
}

/* VIP折扣徽章 */
.hero-shop-modern .vip-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #d35400;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 社交动作按钮（点赞/收藏）*/
.hero-shop-modern .social-actions {
    display: flex;
    gap: 10px;
}

.hero-shop-modern .action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #333333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-shop-modern .action-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-shop-modern .action-btn i {
    font-size: 16px;
    color: #6c757d;
}

.hero-shop-modern .action-btn .count {
    color: #999999;
}

/* 彩色按钮组 */
.hero-shop-modern .action-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.hero-shop-modern .btn-action {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px !important;
    border-radius: 3px !important;
    font-size: 15px;
    font-weight: 600;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hero-shop-modern .btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 立即购买 - 红色 */
.hero-shop-modern .btn-purchase {
    background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
    color: #fff;
}

.hero-shop-modern .btn-purchase:hover {
    background: linear-gradient(135deg, #ff3838 0%, #ff5539 100%);
}

/* 立即下载 - 绿色 */
.hero-shop-modern .btn-download {
    background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
    color: #fff;
}

/* 自营资源 - 紫色 */
.hero-shop-modern .btn-selfres {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: #fff !important;
}

.hero-shop-modern .btn-selfres span,
.hero-shop-modern .btn-selfres i {
    color: #fff !important;
    display: inline !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 升级会员 - 蓝色 */
.hero-shop-modern .btn-upgrade {
    background: linear-gradient(135deg, #5f27cd 0%, #341f97 100%);
    color: #fff;
}

.hero-shop-modern .btn-upgrade:hover {
    color: #fff;
}

/* 在线演示 - 黑色 */
.hero-shop-modern .btn-demo {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
}

.hero-shop-modern .btn-demo:hover {
    color: #fff;
}

/* 自定义按钮 - 黑色 */
.hero-shop-modern .btn-custom {
    background: #2c3e50 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
}

.hero-shop-modern .btn-custom:hover {
    color: #ffffff !important;
    background: #1a252f !important;
}

/* 蓝色提示框 - 背景图片版本 */
.hero-shop-modern .notice-box-blue {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px;
    padding: 0 30px !important;
    height: 57px !important;
    min-height: 57px !important;
    max-height: 57px !important;
    background-image: linear-gradient(135deg, rgba(52, 152, 219, 0.7) 0%, rgba(41, 128, 185, 0.7) 100%), 
                      url('../img/ceo-back.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
    margin-bottom: 20px;
    color: #fff !important;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    overflow: hidden;
}

.hero-shop-modern .notice-box-blue .notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.hero-shop-modern .notice-box-blue .notice-content i {
    font-size: 20px;
    flex-shrink: 0;
}

.hero-shop-modern .notice-box-blue .notice-content span {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

/* 白色镂空升级会员按钮 */
.hero-shop-modern .notice-vip-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 18px !important;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    border-radius: 3px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 35px;
}

.hero-shop-modern .notice-vip-btn:hover {
    background: #ffffff !important;
    color: #3498db !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero-shop-modern .notice-vip-btn i {
    font-size: 14px;
}

/* 商品标签信息 */
.hero-shop-modern .product-tags-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-shop-modern .info-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-shop-modern .info-tag i {
    font-size: 14px;
}

/* 各种标签颜色 */
.hero-shop-modern .tag-compat {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #2980b9;
}

.hero-shop-modern .tag-hot {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #d35400;
}

.hero-shop-modern .tag-build {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: #fff;
}

.hero-shop-modern .tag-custom {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #8e44ad;
}

.hero-shop-modern .tag-native {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #c0392b;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .hero-shop-modern .price-display-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .hero-shop-modern .action-buttons-group {
        flex-direction: column;
    }
    
    .hero-shop-modern .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .hero-shop-modern .notice-box-blue {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .hero-shop-modern .notice-vip-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-shop-modern .price-number {
        font-size: 36px;
    }
    
    .hero-shop-modern .meta-info-box {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-shop-modern .social-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-shop-modern {
    animation: fadeInUp 0.6s ease;
}

/* 标题样式调整 */
.hero-shop-modern .entry-header {
    margin-bottom: 15px;
}

.hero-shop-modern .entry-header h1 {
    color: #333333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: none !important;
}

/* 元信息样式 */
.hero-shop-modern .entry-meta {
    color: #999999 !important;
    font-size: 14px;
    text-shadow: none !important;
}

.hero-shop-modern .entry-meta a {
    color: #999999 !important;
    text-decoration: none;
    text-shadow: none !important;
}

.hero-shop-modern .entry-meta a:hover {
    text-decoration: underline;
}

.hero-shop-modern .entry-meta span,
.hero-shop-modern .entry-meta i {
    color: #999999 !important;
    text-shadow: none !important;
}


/* ==========================================================================
   覆盖父主题暗色背景 - 改为白色
   ========================================================================== */

/* 移除父主题的暗色背景和模糊效果 */
.hero-shop .hero {
    background: #ffffff !important;
}

.hero-shop .hero:before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    background-image: none !important;
}

/* 覆盖父主题wrapper样式 */
.hero-shop-warp {
    background: transparent !important;
    color: #333333 !important;
}

.hero-shop-warp .info-box {
    color: #333333 !important;
}

.hero-shop-warp .entry-header,
.hero-shop-warp .entry-header h1,
.hero-shop-warp .entry-meta {
    color: #333333 !important;
    text-shadow: none !important;
}

.hero-shop-warp .entry-header h1,
.hero-shop-warp .entry-meta,
.hero-shop-warp .entry-meta a,
.hero-shop-warp .entry-meta span,
.hero-shop-warp .entry-meta i {
    text-shadow: none !important;
}


/* ==========================================================================
   增值服务区域 - 单行显示
   ========================================================================== */

.hero-shop-modern .value-added-services {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 3px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-shop-modern .services-label {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-shop-modern .services-label i {
    color: #3498db;
    font-size: 16px;
}

.hero-shop-modern .services-list-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-shop-modern .service-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666666;
    white-space: nowrap;
}

.hero-shop-modern .service-item i {
    font-size: 6px;
    color: #3498db;
    flex-shrink: 0;
}

/* 响应式 - 增值服务 */
@media (max-width: 768px) {
    .hero-shop-modern .value-added-services {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-shop-modern .services-list-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
