.snippet-product-card-second {
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(104, 150, 170, 0.15);
    margin: 45px 15px 20px;
    width: 242px;
    overflow: hidden;
    position: relative;
}

/* Quick Add (加购) */
.snippet-product-card-second_qa-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: var(--aspect-ratio, 1);
    pointer-events: none;
    z-index: 12;
}

.snippet-product-card-second_qa-layer .pcs-quick-add-modal {
    position: static;
}

.snippet-product-card-second .pcs-quick-add {
    position: absolute;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
    opacity: .7;
}

.snippet-product-card-second .pcs-quick-add::-webkit-details-marker {
    display: none;
}

.snippet-product-card-second .pcs-quick-add:hover {
    transform: scale(1.08);
}

.snippet-product-card-second .pcs-quick-add svg {
    width: 18px;
    height: 18px;
    color: #29252c;
}

.snippet-product-card-second .pcs-quick-add.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.snippet-product-card-second .pcs-quick-add .icon-loading {
    display: none;
}

.snippet-product-card-second .pcs-quick-add.loading {
    pointer-events: none;
}

.snippet-product-card-second .pcs-quick-add.loading .icon-quick-add {
    display: none;
}

.snippet-product-card-second .pcs-quick-add.loading .icon-loading {
    display: block;
}

.snippet-product-card-second .pcs-quick-add--top-left {
    top: 10px;
    left: 10px;
}

.snippet-product-card-second .pcs-quick-add--top-right {
    top: 10px;
    right: 10px;
}

.snippet-product-card-second .pcs-quick-add--bottom-left {
    bottom: 10px;
    left: 10px;
}

.snippet-product-card-second .pcs-quick-add--bottom-right {
    bottom: 10px;
    right: 10px;
}

/* 顶部标记卡片 hover 时会显示 28px 标题条并把图片下移，浮层同步下移以严格贴合图片 */
.snippet-product-card-second.top-mark-text:hover .snippet-product-card-second_qa-layer {
    top: 28px;
}

.snippet-product-card-second_a-link {
    margin: 0;
    padding: 0;
}

.snippet-product-card-second component-rate {
    transform: scale(0.9);
    transform-origin: left center;
}

.snippet-product-card-second_title {
    display: none;
    align-items: center;
    justify-content: center;
    height: 28px;
    background-color: #F0FBFF;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    color: #000000;
}

.snippet-product-card-second.top-mark-text:hover {
    margin-top: 30px;
}

.snippet-product-card-second.top-mark-text:hover .snippet-product-card-second_title {
    display: flex;
}

.snippet-product-card-second_image-wrapper {
    width: 242px;
    position: relative;
}

.snippet-product-card-second_left-ident {
    position: absolute;
    z-index: 11;
    width: 56px;
    height: 56px;
    left: 8px;
    top: 8px;
    border-radius: 50%;
    overflow: hidden;
}

.snippet-product-card-second_left-ident img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.snippet-product-card-second_right-ident {
    position: absolute;
    z-index: 11;
    min-width: 85px;
    padding: 0 8px;
    height: 24px;
    right: 14px;
    top: 8px;
    background-color: #F6E19C;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    color: #000000;
}

.snippet-product-card-second_image {
    width: 100%;
    /*height: 100%;*/
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--aspect-ratio, 1);
    font-size: 0;
}

.snippet-product-card-second_image img {
    /*position: absolute;*/
    /*z-index: 9;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snippet-product-card-second_image svg {
    background-color: rgb(var(--color-image-background));
}

.snippet-product-card-second_image-default {
    width: 100%;
    height: 100%;
    background-color: #efefef;
}

.snippet-product-card-second_product-name {
    margin-top: 11px;
    padding: 0 14px;
    /* color: #4A497E; */
    width: 100%;
    height: 40px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    word-break: break-word;
}

.snippet-product-card-second_price-wrapper {
    margin: 5px 0 0 14px;
    display: flex;
    align-items: center;
}

.snippet-product-card-second_left-price {
    /* color: #4A497E; */
}

.snippet-product-card-second_right-price {
    margin-left: 5px;
    color: #000000;
    opacity: 0.45;
    text-decoration: line-through;
}

.snippet-product-card-second_mark-component {
    margin: 4px 0 0 14px;
}

.snippet-product-card-second_super-tree {
    margin: 10px 0 0 14px;
    border-radius: 4px;
    background-color: #F5DF9A;
    height: 28px;
    min-width: 119px;
    width: fit-content;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.snippet-product-card-second_super-tree_icon {
    display: flex;
    margin-right: 6px;
}

.snippet-product-card-second_super-tree_icon img {
    width: 18px;
    height: 12px;
    object-fit: cover;
}

.snippet-product-card-second_super-tree_icon-default {
    width: 18px;
    height: 12px;
    background-color: #ddd;
}

.snippet-product-card-second_super-tree_text {
    color: #000000;
    opacity: 0.85;
}

.snippet-product-card-second_button-component {
    padding: 18px 14px;
}

.snippet-product-card-second_button-component .btn {
    cursor: pointer;
    /* border-radius: 12px; */
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snippet-product-card-second_button-component .btn.btn-primary {
    border: 1px solid rgb(var(--color-button-background));
    background: rgb(var(--color-button-background));
    color: #FFFFFF;
    opacity: 0.92;
}

/* .snippet-product-card-second_button-component .btn.btn-outline-primary {
  color: rgb(var(--color-button-background));
  border: 1px solid rgb(var(--color-button-background));
  background: none;
} */

.snippet-product-card-second_button-component .btn:hover,
.snippet-product-card-second_button-component .btn:focus {
    color: #FFFFFF;
    border: 1px solid rgb(var(--color-button-background));
    background: rgb(var(--color-button-background));
    opacity: 1;
    transition: all var(--duration-default) ease;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .snippet-product-card-second {
        width: 100%;
        margin: 0;
        border-radius: 4px;
        box-shadow: 0px 0px 5.5px 0px rgba(0, 0, 0, 0.08);
    }

    /* 调整图片容器 */
    .snippet-product-card-second_image-wrapper {
        width: 100%;
        height: auto;
        /*aspect-ratio: 1;*/
    }

    .snippet-product-card-second_image {
        position: relative;
        width: 100%;
        /*height: 100%;*/
    }

    .snippet-product-card-second_image img {
        /*position: absolute;*/
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 调整左侧标识 */
    .snippet-product-card-second_left-ident {
        width: 40px;
        height: 40px;
        left: 6px;
        top: 6px;

        svg,
        img {
            width: 100%;
            height: 100%;
        }
    }

    /* 调整右侧标签 */
    .snippet-product-card-second_right-ident {
        width: auto;
        min-width: 60px;
        height: 20px;
        right: 6px;
        top: 6px;
        font-size: 10px;
        line-height: 12px;
        padding: 0 8px;
    }

    /* 调整商品名称 */
    .snippet-product-card-second_product-name {
        margin-top: 8px;
        padding: 0 8px;
        font-size: 14px;
        line-height: 18px;
        height: auto;
        min-height: 0;
    }

    /* 调整价格区域 */
    .snippet-product-card-second_price-wrapper {
        margin: 8px 0 0 0;
        padding: 0 8px;
    }

    .snippet-product-card-second component-rate {
        margin-top: 8px;
        padding: 0 8px;
    }

    /* 调整评分组件 */
    .snippet-product-card-second_mark-component {
        margin: 4px 0 0 0;
        transform: scale(0.8);
    }

    /* 调整底部标签 */
    .snippet-product-card-second_super-tree {
        margin: 8px 8px 0;
        height: 24px;
        width: fit-content;
        min-width: 100px;
        padding: 0 8px;
    }

    .snippet-product-card-second_super-tree_icon {
        width: 16px;
        height: 10px;
    }

    .snippet-product-card-second_super-tree_text {
        margin-left: 4px;
    }

    /* 调整按钮区域 */
    .snippet-product-card-second_button-component {
        padding: 8px 0 12px;
        margin: 8px;
    }

    .snippet-product-card-second_button-component .btn {
        height: 40px;
        /* border-radius: 8px; */
    }

    /* 悬停效果调整 */
    .snippet-product-card-second.top-mark-text:hover {
        margin-top: 0;
    }

    .snippet-product-card-second.top-mark-text:hover .snippet-product-card-second_qa-layer {
        top: 24px;
    }

    .snippet-product-card-second_title {
        height: 24px;
        font-size: 10px;
        line-height: 12px;
    }
        .snippet-product-card-second .pcs-quick-add {
           
            width: 32px;
            height: 32px;
           
        }
                .snippet-product-card-second .pcs-quick-add--bottom-right {
                    bottom: 8px;
                    right: 8px;
                }
}