/* 默认显示（PC 上可见） */
.pc-visible {
    display: block;
}
/* PC 设备隐藏 */
.sp-visible {
    display: none;
}
/* 屏幕宽度小于 768px */
@media (max-width: 768px) {
    /* 手机设备隐藏 */
    .pc-visible {
        display: none;
    }
    /* 手机设备可见 */
    .sp-visible {
        display: block;
    }
    .single-slider-sp{
        background-position: right center;
    }
    .ser-f-icon::before{
        font-size: 35px !important;
    }
    .sp-px-0{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .sp-wb{
        background-color: rgba(255, 255, 255, 0.6);
        padding: 20px;
        border-radius: 6px;
    }
}
.center-all-about{
    display: flex;
    display: -webkit-flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}
.center-all{
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}
.center-all-up-down{
    display: flex;
    display: -webkit-flex;
    align-items: center;
}

.text-outline {
    text-shadow:
            -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px  1px 0 #fff,
            1px  1px 0 #fff; /* 白色描边 */
}
.ellipsis-title {
    display: block;
    white-space: nowrap;        /* 不换行 */
    overflow: hidden;           /* 超出部分隐藏 */
    text-overflow: ellipsis;    /* 超出部分用...表示 */
    width: 100%;                /* 或设定具体宽度 */
}
.line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 字体粗细示例 */
.thin-text       { font-weight: 100; }
.light-text      { font-weight: 300; }
.normal-text     { font-weight: 400; }
.medium-text     { font-weight: 500; }
.semi-bold-text  { font-weight: 600; }
.bold-text       { font-weight: 700; }
.extra-bold-text { font-weight: 800; }
.black-text      { font-weight: 900; }

.fs13{
    font-size: 13px !important;
}

.c-fff{
    color: white !important;
}

.bg-cover-center {
    background-position: center center; /* 居中对齐 */
    background-repeat: no-repeat;       /* 不重复 */
    background-size: cover;             /* 铺满容器 */
}

.tag-label {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    font-size: 12px;
    padding: 2px 8px 1px;
    border-radius: 3px;
    border: 1px solid #ccc;
    line-height: 1.6;
}

.only-prev-next {
    display: flex;
    justify-content: center;
    gap: 79px;
    font-size: 16px;
}
.only-prev-next .page-prev,
.only-prev-next .page-next {
    color: #333;
    text-decoration: none;
}
.only-prev-next .page-prev:hover,
.only-prev-next .page-next:hover {
    text-decoration: underline;
}

.page-about td{
    padding: 13px 11px;
    text-align: left;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-all;
    line-height: 1.46;
    letter-spacing: .07em;
}
.page-about th{
    width: 17%;
    font-weight: 700;
    padding: 13px 11px 13px 0;
    text-align: left;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-all;
    line-height: 1.46;
    letter-spacing: .07em;
}

.row-info {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    margin: 3px 0;
}
.row-info-c {
    display: flex;
    align-items: center;
    margin: 3px 0;
}
.background-f {
    background: #ffffff;
}
.c-hr{
    margin: 3px 0;
    border: 0;
    border-top: 1px solid rgb(121 121 121 / 15%)
}
.c-hr-2{
    margin: 3px 0;
    border: 0;
    border-top: 2px solid rgb(0 0 0 / 50%)
}
.pt-product{
    width: 42px !important;
}

.product-thumbnail {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    max-width: 100px;
    display: block !important;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .product-thumbnail {
        max-width: 80px;
    }
}

/* WooCommerce产品描述 */
.quantity-selector {
    position: relative;
    width: 120px;
    font-family: sans-serif;
}
.quantity-display {
    padding: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quantity-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 160px;
    border: 1px solid #ccc;
    background-color: #fff;
    overflow-y: auto;
    display: none;
    z-index: 999;
}
.quantity-options div {
    padding: 8px;
    cursor: pointer;
}
.quantity-options div:hover {
    background-color: #f2f2f2;
}
.variation-option {
    cursor: pointer;
    user-select: none;
    padding: 3px;
    /*border: 1px solid #ccc;*/
}
.variation-option.active {
    background-color: #333 !important;
    color: #fff;
    border-color: #333 !important;
    padding: 3px;
}
.variation-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.product-short-description img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}
.variation-option {
    min-width: 39px;
    display: inline-block;
    text-align: center;
}
.fa-price{font-size:1.5em}
.cursor-pointer {
    cursor: pointer;
}
a.wc-block-components-product-name {
    color: #666666;
    text-decoration: none !important;
    outline: none !important;
    transition: color 0.3s;
}

a.wc-block-components-product-name:hover {
    color: #df0e0e; !important;
    text-decoration: none !important;
    outline: none !important;
}

div.wc-block-grid__product-title {
    color: #666666;
    text-decoration: none !important;
    outline: none !important;
    transition: color 0.3s;
}

div.wc-block-grid__product-title:hover {
    color: #df0e0e; !important;
    text-decoration: none !important;
    outline: none !important;
}

/* WooCommerce产品描述-end */

.thumb-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-wrapper .img-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.width-auto{
    width: auto;
}
