/* ============================================================
   Fussa Kigio — 站点优化样式
   ============================================================ */

/* --- 全站背景纹理 --- */
body {
    background-color: #f5f5f0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.015) 2px,
            rgba(0, 0, 0, 0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.01) 2px,
            rgba(0, 0, 0, 0.01) 4px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(200, 0, 0, 0.02) 20px,
            rgba(200, 0, 0, 0.02) 22px
        ),
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 50%
        );
    background-attachment: fixed;
}

/* 内容区域半透明白底 */
.site-content,
.ast-container,
.content-area {
    background-color: rgba(255, 255, 255, 0.92);
}

/* 封面区域保持不透明 */
.wp-block-cover,
.wp-block-group.has-background {
    background-color: inherit !important;
}

/* --- 全局排版优化 --- */
.entry-content h2,
.entry-content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.entry-content p {
    line-height: 1.75;
    color: #334155;
}

/* --- Header 间距补偿（Logo固定定位会覆盖顶部区域） --- */
.ast-primary-header-bar {
    padding-top: 8px;
}

/* --- 按钮全局优化 --- */
.wp-block-button__link {
    border-radius: 6px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: transform 0.15s, box-shadow 0.15s !important;
}
.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* --- WooCommerce 产品卡片 --- */
.woocommerce ul.products li.product,
.wc-block-grid__product {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a2e;
}

.woocommerce ul.products li.product .price {
    color: #cc0000 !important;
    font-weight: 700;
    font-size: 16px;
}

/* --- 产品详情页 --- */
.single-product .product_title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
}

.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid #cc0000;
}

/* --- 页脚法律链接 --- */
.fk-footer-legal {
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: #666;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.fk-footer-legal a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.fk-footer-legal a:hover {
    color: #cc0000;
    text-decoration: underline;
}
.fk-footer-sep {
    color: #ccc;
    margin: 0 8px;
}

/* --- 页脚版权 --- */
.fk-footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 4px 0 12px;
}

/* --- 页脚语言切换器 --- */
.fk-lang-switcher {
    text-align: center;
    padding: 6px 0 16px;
    font-size: 13px;
}
.fk-lang-item {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 4px;
    border-radius: 3px;
    color: #888;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.fk-lang-item:hover {
    border-color: #ccc;
    color: #333;
}
.fk-lang-active {
    background: #cc0000;
    color: #fff !important;
    border-color: #cc0000;
    font-weight: 600;
}

/* --- 首页模块 --- */
.fk-hero .wp-block-search__input {
    border-radius: 6px;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
}

.fk-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.fk-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #cc0000;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* About Us 表格样式 */
.fk-about-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.fk-about-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}
.fk-about-table td:first-child {
    font-weight: 600;
    color: #475569;
    width: 160px;
}
.fk-about-table td:last-child {
    color: #1e293b;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .fk-footer-legal {
        font-size: 12px;
        line-height: 2;
    }
    .fk-footer-sep {
        margin: 0 4px;
    }
    .fk-lang-switcher {
        font-size: 12px;
    }
    .fk-section-title {
        font-size: 22px;
    }
    .single-product .product_title {
        font-size: 22px;
    }
    .fk-about-table td:first-child {
        width: 100px;
    }
}
