.promotion {
    height: 39px;
    border-radius: 4px;
    background: rgba(252, 240, 240, 1);
    display: flex;
    padding: 6px 8px 6px 8px;
    margin: 10px 0px;
}

.promotion .promotion-title {
    border-radius: 4px;
    background: rgba(232, 109, 109, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px 4px 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
}

.promotion .promotion-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(219, 70, 70, 1);
    margin: 0px 0px 0px 10px;
    display: flex;
    align-items: center;
}

.entry-title {
    font-size: 28px;
}
/* Swiper 按钮样式 */
.swiper-button-next, .swiper-button-prev {
    background-color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

/* Swiper 容器样式 */
.swiper-container {
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: calc(100% / 5 - 10px); /* 每个缩略图的宽度 */
    margin-right: 10px; /* 缩略图之间的间距 */
}
/* 整页容器 */
.page-contact-merchant {
    padding: 20px 0px 0px 0px;
}

/* 表格容器 */
.product-spec-wrapper {
    overflow-x: auto;
}

/* 表格基础 */
.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 0;
}

/* 表头行 */
.product-spec-row--head {
    border-bottom: 1px solid rgba(156, 160, 166, 1);
}

/* 表头单元格 */
.product-spec-cell--head {
    padding: 12px;
    border: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: rgba(73, 74, 77, 1);
}

/* 表体行 */
.product-spec-cell--body {
    padding: 12px;
    border: 0;
    text-align: left;
    border-bottom: 1px solid rgba(156, 160, 166, 1);
}

/* 价格列右对齐 */
.product-spec-cell--price {
    text-align: right;
}

/* 三列等宽 */
.product-spec-cell--sku,
.product-spec-cell--spec,
.product-spec-cell--price {
    width: 33.3%;
}

/* 表体文字 */
.product-spec-cell {
    font-size: 20px;
    font-weight: 500;
    color: rgba(41, 46, 51, 1);
}

/* 联系按钮 */
.product-contact-link {
    display: inline-block;
    border-radius: 8px;
    background: rgba(53, 115, 216, 1);
    padding: 8px 12px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
}

.product-contact-link:hover {
    background: rgba(13, 106, 255, 1);
    color: #fff;
}

/* 联系方式列表 */
.menu-top {
    opacity: 0;
    position: absolute;
    right: 9999rem;
    transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
    transform: translateY(0.6rem);

    padding: 20px;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 15px 30px rgba(2, 3, 3, 0.08);
    backdrop-filter: blur(5px);
    z-index: 99;
}

.product-spec-cell--price:hover .menu-top {
    opacity: 1;
    right: 0rem;
}

.menu-top__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    text-decoration-line: underline;
    color: rgba(41, 46, 51, 1);
}

.menu-top__item_company {
    font-size: 18px;
    font-weight: 500;
    color: rgba(2, 11, 20, 1);
    text-decoration-line: none;
}

.menu-top__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.menu-top__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-top__link {
    color: rgba(41, 46, 51, 1);
}

.menu-top__link_phone:hover {
    color: rgba(53, 115, 216, 1);
    text-decoration: underline rgba(53, 115, 216, 1);
}

.menu-top__link_email:hover {
    color: rgba(239, 60, 115, 1);
    text-decoration: underline rgba(239, 60, 115, 1);
}

.merchant-text-prompt p {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    color: rgba(73, 74, 77, 1);
}

/* 限制产品详情页缩略图只显示一排 5 张 */
.woocommerce-js div.product div.images .flex-control-thumbs {
    display: flex;
    overflow-x: auto; /* 允许水平滚动 */
    scroll-behavior: smooth; /* 平滑滚动效果 */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 调整每个缩略图的宽度和间距 */
.woocommerce-js div.product div.images .flex-control-thumbs li {
    width: calc(100% / 6 - 10px);
    margin: 5px;
    flex-shrink: 0; /* 防止 li 缩放 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 隐藏多余的缩略图 */
.woocommerce-js div.product div.images .flex-control-thumbs li:nth-child(n+7) {
    display: none;
}


@media (max-width:911px) {
    .entry-title {
        font-size: 22px;
    }

    /* 联系按钮 */
    .product-contact-link {
        font-size: 18px;
        font-weight: 400;
    }

    .product-spec-cell {
        font-size: 18px;
        font-weight: 400;
    }
}