/*
 Theme Name: Twenty Twenty-Four Child
 Theme URI: https://example.com/
 Description: 子主题，用于自定义 acegear.shop。
 Author: mo
 Author URI: https://example.com/
 Template: twentytwentyfour
 Version: 1.0.0
 Text Domain: twentytwentyfour-child
*/

/* 这里写你自己的覆盖样式 */

body {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #666;
    overflow-x: hidden;
}

H1,
H2,
H3,
H4 {
    margin-top: 10px !important;
}


.fa::before {
    /* 兼容 FontAwesome 使用 ::before 的情况 */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    /* 避免额外行高干扰 */
    margin: 0;
    display: inline-block;
    /* 保证能被 transform 正确处理 */
}

input[type=number] {
    height: 36px;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    text-align: center;
    line-height: 1;
    font-size: 12px;
    padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 设置 label 文本为黑色 */
table.variations th.label label {
    color: #000;
    /* 黑色 */
    display: block;
    /* 让 label 成为块级元素，可以撑满宽度 */
    width: 100%;
    /* 撑满父容器 th */
    box-sizing: border-box;
    /* 避免 padding/margin 影响宽度 */
    line-height: 1.5;
    text-align: center;
}

table.variations th.label {
    display: flex;
    padding: 20px !important;
    text-transform: uppercase;
}

.woocommerce table.variations tr td select {
    font-size: 14px !important;
}

.reset_variations {
    margin-left: 10px !important;
}

#rating {
    margin-left: 15px;
    height: 40px;
    font-size: 12px;
    margin-bottom: 13px;
}

.blog-img-setting {
    text-align: center;
    height: 300px;
    overflow: hidden;
}

.blog-img-setting img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持比例并裁剪溢出部分 */
    object-position: center;
    /* 从图片中间开始显示 */
    display: block;
}

.fafix {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;

}

.fixhomebanner {
    margin-top: 30px;
}

@media (min-width: 1367px) {
    .dungar-blog-wraap.default {
        padding-top: 0px !important;
        padding-bottom: 75px;
    }
}

.dungar-blog-wraap.default {
    padding-top: 10px !important;
    padding-bottom: 75px;
}

#footer {
    display: none;
}