/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.34
 Text Domain:  woodmart
*/


.wd-header-cart .wd-tools-text {
    display: none !important;
}

.wd-header-cart .wd-cart-number {
    display: none !important;
}


.product-tabs-inner>div:not(:last-child) {
    margin-bottom: 0px !important;
}

.product-tabs-wrapper {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.wd-content-layout {
    padding-top: 40px;
    padding-bottom: 0px !important;
}


.footer-container .container.main-footer {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}



.wd-footer.footer-container {
    /* margin-top: 80px; */
    padding: 0;
}

.waves-animated-1 {
    margin-top: -80px;
}

footer {
    /* padding: 0 !important; */
}

.footer-bottom {
    opacity: 1 !important;
}

:root {
    --type-heading-font-size: 30px;
}

.sg-hero-right {
    font-family: inherit;
}

.sg-hero-title {
    /* font-size: 24px; */
    font-size: calc(var(--type-heading-font-size) * .9);
    font-weight: 900;
    color: #111;
    line-height: 1.3;
    margin: 0 0 12px;
}

@media (min-width: 960px) {
    .product-info-title {
        font-size: calc(var(--type-heading-font-size) * 1.2);
    }
}


/* 评分 */

.tp-tight-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    padding: 10px 15px;

    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 16px;

    font-family: 'Inter', Helvetica, Arial, sans-serif;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    min-height: 60px;
    transition: all 0.3s ease;
    gap: 10px;
}

.tp-tight-capsule:hover {
    border-color: #7a8f45;
    box-shadow: 0 6px 16px rgba(0, 182, 122, 0.2);
    transform: translateY(-1px);
}


.tp-tight-stars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
}

.tp-tight-star-box {
    width: 26px;
    height: 26px;
    background-color: #7a8f45;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.tp-tight-star-svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.tp-tight-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex: 1;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 0 8px;
}

.tp-tight-score {
    font-size: 14px;
    font-weight: 900;
    color: #1b1b21;
    line-height: 1.1;
}

.tp-tight-count {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    margin-top: 2px;
}

.tp-tight-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.tp-tight-logo-star {
    width: 26px;
    height: 26px;
    fill: #7a8f45;
}

.tp-tight-brand {
    font-weight: 900;
    font-size: 16px;
    color: #1b1b21;
    letter-spacing: -0.5px;
}

@media (max-width: 480px) {
    .tp-tight-capsule {
        padding: 8px 10px;
        gap: 5px;
        min-height: 50px;
    }

    .tp-tight-star-box {
        width: 20px;
        height: 20px;
    }

    .tp-tight-star-svg {
        width: 11px;
        height: 11px;
    }

    .tp-tight-score {
        font-size: 12px;
    }

    .tp-tight-count {
        font-size: 10px;
    }

    .tp-tight-text {
        border-width: 1px;
        padding: 0 5px;
    }

    .tp-tight-logo-star {
        width: 20px;
        height: 20px;
    }

    .tp-tight-brand {
        font-size: 13px;
    }
}


.sg-hero-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-breaks__title {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    column-gap: 10px;
}

.quantity-breaks__title span:nth-of-type(1),
.quantity-breaks__title span:nth-of-type(3) {
    display: block;
    height: 2px;
    flex-grow: 1;
    background: #7a8f45;
}

/* 价格 */
.sg-hero-price {
    /* margin-bottom: 16px; */
    display: flex;
    align-items: center;
    gap: 12px;
}

.sg-price-old {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
}

.sg-price-current {
    font-size: 28px;
    font-weight: 900;
    color: #111;
}

/* 套餐选项标题 */
.sg8-pkg-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

/* 下单按钮 */
.sg-hero-btn {
    width: 100% !important;
    padding: 16px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    margin: 16px 0 12px !important;
    letter-spacing: .4px !important;
    transition: background .25s !important;
    border-radius: 25px !important;
    box-shadow: 0 0 0 5.3px #7a8f45, 0 0 0 10.3px #ffffff !important;
    margin-top: 30px !important;
    font-size: 1.2rem !important;
    background: #7a8f45 !important;
}

.sg-hero-btn:hover {
    background: #219150;
}


.card {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 24px color-mix(in srgb, #7a8f45, transparent 60%);
    padding: 1.5rem 1.8rem;
    max-width: 560px;
    width: 100%;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid #eef0f3;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.5s ease forwards;
}

.policy-item:last-child {
    border-bottom: none;
}

.policy-item:nth-child(1) {
    animation-delay: 0.1s;
}

.policy-item:nth-child(2) {
    animation-delay: 0.25s;
}

.policy-item:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.icon-wrap svg {
    width: 100%;
    height: 100%;
}

.text-wrap h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.text-wrap p {
    font-size: 0.88rem;
    color: #5a6a7e;
    line-height: 1.65;
    margin-bottom: 0px;
}

.quantity-breaks__title {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    column-gap: 10px;
}

.quantity-breaks__title span:nth-of-type(1),
.quantity-breaks__title span:nth-of-type(3) {
    display: block;
    height: 2px;
    flex-grow: 1;
    background: #7a8f45;
}

.pricing-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 2px solid color-mix(in srgb, #7a8f45, transparent 60%);
    border-radius: 16px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 1px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pricing-card:hover {
    border-color: color-mix(in srgb, #7a8f45, transparent 80%);
    box-shadow: 0 4px 18px rgba(120, 80, 200, 0.1);
}

.pricing-card.selected {
    background: color-mix(in srgb, #7a8f45, transparent 80%);
    border-color: #7a8f45;
    box-shadow: 0 6px 24px rgba(120, 80, 200, 0.15);
}

.best-value-badge {
    position: absolute;
    top: -8px;
    right: -5px;
    background: #7a8f45;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 0 14px 0 14px;
    transform: rotate(3deg);
}

.radio-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c4b5f5;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.pricing-card.selected .radio-btn {
    border-color: #7a8f45;
}

.radio-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #7a8f45;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s, transform 0.2s;
}

.pricing-card.selected .radio-dot {
    opacity: 1;
    transform: scale(1);
}

.product-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(100, 60, 180, 0.18));
}

.product-placeholder {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bottle-count {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: #1e1333;
}

.product-placeholder img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tag {
    background: color-mix(in srgb, #7a8f45, transparent 60%);
    color: #7a8f45;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 12px;
    border: 1.5px solid color-mix(in srgb, #7a8f45, transparent 60%);
    border-radius: 20px;
    padding: 2px 11px;
    white-space: nowrap;
}

.product-title-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
}

.bottle-count {
    flex: 1 !important;
    margin-right: 10px;
}

.tag {
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .tag {
        font-size: 9px;
    }

    .product-placeholder {
        width: 55px;
        height: 55px;
    }

    .product-placeholder img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }
}

.price-per {
    font-size: 13px;
    color: #121212e6;
    font-weight: 400;
}

.price-block {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.price-current {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #7a8f45;
    line-height: 1;
}

.pricing-card:not(.selected) .price-current {
    color: #3d2b6b;
}

.price-original {
    font-size: 14px;
    color: #a89dbf;
    text-decoration: line-through;
    /* font-weight: 600; */
    text-align: right;
}

.price-current.incomplete {
    color: #b45309;
}

/* 商品描述 */
.sg-hero-desc {
    font-size: 14px;
    color: #000000;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

/* ===== 隐藏顶部默认 WooCommerce 变体/加购区 ===== */
.woocommerce-variation-add-to-cart,
.single_add_to_cart_button,
table.variations,
.woocommerce-variation,
.cart,
.woocommerce-tabs,
.woocommerce-notices-wrapper,
.woocommerce-info,
#review_form_wrapper,
.woocommerce-verification-required,
.quantity,
#order_review_heading,
#ship-to-different-address,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.product_meta {
    display: none !important;
}

/* table.shop_table.woocommerce-checkout-review-order-table {
    display: none !important;
} */

/* ══════════ 图二：顶部产品介绍（.summary 区域）══════════ */
.container.product-tabs-inner {
    max-width: 100% !important;
    padding-inline: 0px !important;
}

.product-tabs-wrapper {
    padding-top: 0px;
}

.productHero__bottomLine {
    width: 100%;
    background-color: #fafafa;
    height: 16px;
    /* border-top: 1px solid #e0e0e0; */
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0px !important;
}

.main_leftSide {
    height: 100%;
    width: 100%;
    background-color: #fff;
}

.main_rightSide {
    height: 100%;
    width: 100%;
    background-color: #f5f5f5;
}

.sg8-hero {
    font-family: inherit;
}

.sg8-country-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sg8-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.sg8-stars-wrap .sg8-star {
    font-size: 20px;
}

.sg8-stars-wrap .sg8-star.full {
    color: #f1c40f;
}

.sg8-stars-wrap .sg8-star.half {
    color: #f1c40f;
    opacity: .7;
}

.sg8-stars-wrap .sg8-star.empty {
    color: #ddd;
}

.sg8-rating-num {
    font-size: 15px;
    font-weight: 800;
    color: #333;
}

.sg8-rating-sep {
    color: #ccc;
}

.sg8-review-count {
    font-size: 14px;
    color: #666;
}

.sg8-title {
    font-size: 24px;
    font-weight: 900;
    color: #111;
    line-height: 32px;
    margin: 0 0 12px;
    padding: 0;
}

.sg8-subtitle {
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    font-size: 18px;
    color: #666666;
    margin-bottom: 16px;
}

.sg8-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.sg8-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #666;
}

.sg8-features li svg {
    /* margin-right: 12px; */
    position: relative;
    top: 2px;
    align-self: flex-start;
    flex-shrink: 0;
}

/* 社会证明条 */
.sg8-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    max-width: 498px;
    width: fit-content;
}

.sg8-avatars {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 16px;
}

.sg8-avatars img {
    height: auto;
    width: 96px;
}

.sg8-check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    margin-left: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sg8-social-text {
    font-size: 12px;
    color: #4f4f4f;
    margin-left: 10px;
}

.sg8-social-text strong {
    color: #111;
}

/* 四信任图标 */
.sg8-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sg8-trust-item {
    text-align: center;
}

.sg8-trust-icon-img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

.sg8-trust-item p {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
}

/* ══════════ 底部两栏容器 ══════════ */
.sg8-container {
    background-color: #f5f5f5;
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
}

@media screen and (max-width: 767px) {
    .sg8-container {
        display: initial;
        padding: 16px 0 16px;
        background-color: #fff;
    }
}

@media screen and (min-width: 768px) and (max-width: 1071px) {
    .sg8-container {
        display: initial;
        width: 100%;
    }
}

.sg8-container .contentContainer {
    max-width: 1072px;
    margin: 0 auto;
    display: flex;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .sg8-container .contentContainer {
        flex-direction: column;
        padding: 0;
    }
}


.sg8-left {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 598px;
    padding: 24px 38px 24px 0;
    border-right: 1px solid #e0e0e0;
}

@media screen and (max-width: 767px) {
    .sg8-left {
        padding: 24px 16px 0;
        margin-bottom: 0;
        width: 100%;
        border-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .sg8-left {
        padding: 0 16px 0 !important;
        border-top: 1px solid #e0e0e0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1071px) {
    .sg8-left {
        width: 52%;
        padding: 24px 24px 16px 16px;
    }
}

.sg8-right {
    width: 443px;
    background-color: #f5f5f5;
    padding: 40px 0 40px 38px;
}

@media screen and (max-width: 767px) {
    .sg8-right {
        width: 100%;
        padding: 16px 16px 24px 16px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1071px) {
    .sg8-right {
        width: 48%;
        padding: 24px 0 24px 24px;
    }
}

/* ══════════ 紧迫感区块 ══════════ */
.sg8-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 6px;
}

.sg8-stock-bar {
    width: 100%;
    height: 9px;
    background: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 12px;
    overflow: hidden;
}

.sg8-stock-bar-inner {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 5px;
}

.sg8-badge-green {
    background: #27ae60;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sg8-badge-timer {
    background: #fff8e1;
    border: 1px solid #f39c12;
    color: #e67e22;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

/* ══════════ 套餐卡片（四列网格）══════════ */
.sg8-pkg-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 14px;
}

.sg8-radios {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.sg8-radio-item {
    position: relative;
    display: grid;
    grid-template-columns: 26px 66px 1fr 80px 130px;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, background .2s;
    display: grid;
    grid-template-columns: auto auto auto auto minmax(114px, auto);
    align-items: center;
    padding: 16px;
}

@media only screen and (max-width: 1071px) {
    .sg8-radio-item {
        grid-template-columns: minmax(100px, auto) 1px minmax(110px, 30%);
        padding: 12px;
    }
}

.sg8-radio-item:hover {
    border-color: #bbb;
}

.sg8-radio-item.active-radio {
    background-color: #f7fdff;
    border-radius: 4px;
    outline: 1px solid #3362AB;
    transition: background-color 300ms ease-in-out;
}

.sg8-radio-item.sg8-best {
    border-color: #1b5fca;
    background: #f0f5ff;
}

.sg8-best-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1b5fca;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.sg8-radio-item input[type="radio"] {
    accent-color: #1b5fca;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 12px;
}

.sg8-var-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 6px;
}

.sg8-var-name {
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 40px;
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
    margin: 0 auto;
}

.sg8-var-name strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #111;
    line-height: 1.1;
}

.sg8-var-name span {
    font-size: 14px;
    color: #555;
}

.productPacItem__discount__box {
    width: 12px;
    height: 12px;
}

@media only screen and (max-width: 1071px) {
    .productPacItem__discount__box {
        width: 10px;
        height: 10px;
    }
}


.sg8-savings-badge {
    display: flex;
    padding: 4px 8px;
    gap: 4px;
    /* width: 86px; */
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin: 0px 16px;
    white-space: nowrap;
}

.productPacItem__firstBlock {
    display: flex;
    align-items: center;
}

.productPacItem__divider {
    height: 100%;
    width: 1px;
    background-color: #e0e0e0;
}

.sg8-price-col {
    /* text-align: right; */
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 8px; */
    padding-left: 16px;
}

@media only screen and (max-width: 1071px) {
    .sg8-price-col {
        margin: 0 auto;
    }
}

.sg8-price-col del {
    display: block;
    color: #808080;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-decoration: line-through;
}

.sg8-sale-price {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    display: block;
}

.sg8-sale-price small {
    font-size: 12px;
    font-weight: 400;
    color: #000000;
}

.sg8-bestseller-tag {
    display: inline-block;
    margin-top: 5px;
    background: #6c3ecf;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ══════════ Express Checkout & PayPal ══════════ */
.sg8-express-label {
    text-align: center;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sg8-paypal-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #ffc439;
    border: none;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    box-sizing: border-box;
}

.sg8-paypal-btn .pp-pay {
    font-size: 22px;
    font-style: italic;
    font-weight: 900;
    color: #003087;
}

.sg8-paypal-btn .pp-pal {
    font-size: 22px;
    font-style: italic;
    font-weight: 900;
    color: #009cde;
}

.sg8-or-divider {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    margin: 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg8-or-divider::before,
.sg8-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

/* ══════════ 支付 tab ══════════ */
.sg8-pay-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.sg8-pay-tab {
    flex: 1;
    padding: 11px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: border-color .2s;
}

.sg8-pay-tab.active {
    border-color: #27ae60;
    color: #27ae60;
    background: #f0fdf4;
}

/* ══════════ 结账区块 ══════════ */
.sg8-box {
    background: #fff;
    /* border: 1px solid #e4e4e4; */
    border-radius: 12px;
    /* padding: 24px; */
    margin-bottom: 16px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, .04); */
}

.sg8-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.sg8-box .woocommerce-input-wrapper,
.sg8-box input.input-text,
.sg8-box select {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sg8-box input.input-text,
.sg8-box select {
    border: 1.5px solid #ddd !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    background: #fafafa !important;
    outline: none !important;
    transition: border-color .2s !important;
}

.sg8-box input.input-text:focus,
.sg8-box select:focus {
    border-color: #1b5fca !important;
    background: #fff !important;
}

.sg8-box .form-row {
    margin-bottom: 12px !important;
    padding: 0 !important;
}

.sg8-box label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin-bottom: 4px !important;
    /* display: flex !important; */
}

.sg8-box .col2-set {
    display: flex;
    gap: 12px;
}

.sg8-box .col2-set .col-1,
.sg8-box .col2-set .col-2 {
    flex: 1;
    min-width: 0;
}

#place_order {
    width: 100% !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    background: #27ae60 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background .25s !important;
    margin-top: 10px !important;
}

#place_order:hover {
    background: #219150 !important;
}

.sg8-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 14px;
    /* border-top: 1px solid #f0f0f0; */
    margin-top: 14px;
}

.sg8-security img {
    height: 26px;
    opacity: .7;
    filter: grayscale(20%);
}

/* ══════════ 右栏（V6 原样）══════════ */
.sg8-right-box-money {
    display: flex;
    padding: 16px;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid rgb(224, 224, 224);
    background: rgb(245, 245, 245);
    margin-bottom: 24px;
}

.sg8-right-box {
    /* background: #fff; */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .03);
}

.sg8-guarantee {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sg8-guarantee-icon {
    font-size: 42px;
    line-height: 1;
    flex-shrink: 0;
}

.sg8-guarantee-text h4 {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    margin: 0 0 6px;
}

.sg8-guarantee-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.sg8-order-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    /* padding: 12px 0; */
    /* border-bottom: 1px solid #f0f0f0; */
    user-select: none;
}

.sg8-order-toggle .arrow {
    font-size: 12px;
    transition: transform .3s;
}

.sg8-order-body {
    padding-top: 10px;
    display: none;
}

.sg8-order-body.open {
    display: block;
}

.sg8-why-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.sg8-why-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sg8-why-text h5 {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 0 0 3px;
}

.sg8-why-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.sg8-reviews-title {
    font-size: 16px;
    font-weight: 800;
    color: #333;
    margin-bottom: 14px;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 8px;
}

.sg8-reviews-list {
    max-height: 780px;
    overflow-y: auto;
    padding-right: 4px;
}

.sg8-review-card {
    background: #fdfdfd;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.sg8-review-verified {
    color: #27ae60;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.sg8-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sg8-review-author {
    font-weight: 700;
    font-size: 13px;
    color: #2c3e50;
}

.sg8-review-stars {
    color: #f1c40f;
    font-size: 14px;
    letter-spacing: 2px;
}

.sg8-review-headline {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.sg8-review-body {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

.separator {
    display: flex;
    align-items: center;
    color: #333;
    margin: 16px 0;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.separator__text {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding: 0 16px;
}

.separator__benefits {
    margin-top: 24px;
}

.benefitsV2__item {
    display: flex;
    margin-bottom: 16px;
}

.benefitsV2__item img {
    align-self: flex-start;
    margin-right: 16px;
}

.benefitsV2__item__title {
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 8px;
}

.benefitsV2__item__text {
    color: #5c5c5c;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.testimonials__container {
    display: flex;
    flex-direction: column;
}

.testimonials__box {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    background: #fff;
    margin-bottom: 12px;
}

.testimonials__upperRow {
    display: flex;
    justify-content: space-between;
}

.testimonials__upperRow__inside {
    display: flex;
    align-items: center;
}

.testimonials__stars {
    display: flex;
    margin-right: 8px;
    max-height: 16px;
}

.testimonials__name {
    color: #5c5c5c;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.testimonials__buyerLabel {
    color: #00b890;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin-left: 8px;
}

.testimonials__title {
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin: 8px 0;
}

.testimonials__text {
    color: #5c5c5c;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 8px 0;
}

.orderTotals__container {
    margin: 16px 0px;
}

.orderTotals {
    display: flex;
    flex-direction: column;
}

.orderTotals__item {
    display: flex;
    justify-content: space-between;
    color: #333;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.orderTotals__item p {
    margin-bottom: 0px;
}

.orderTotals__item:first-child {
    margin-bottom: 8px;
}

.orderOverviewDrawerV3__savingsLabel__cont__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
}

.orderOverviewDrawerV3__savingsLabel {
    color: #00b834;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.total {
    display: flex;
    justify-content: space-between;
}

.total div {
    color: #333;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.bars {
    border: 1px solid var(--cc-shopify-border-dividers, #e0e0e0);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.bars__container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 32px;
}

.bars__bar_1 {
    background: #fff5f3;
    justify-content: space-between;
    padding: 12px 16px;
    white-space: nowrap;
}

.bars__bar_1_leftText {
    color: #333;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    margin-right: 16px;
    font-weight: 700;
    line-height: 20px;
}

.bars__bar_1_leftText_red {
    color: #ff2d2b;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.bars__bar_1__colorBar {
    border-radius: 100px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    width: 100%;
    height: 12px;
}

.bars__bar_1__colorBar_colored {
    transition: all 2s ease-in-out;
    background: linear-gradient(90deg, #cbfe00 0%, #fee500 48.44%, #ff2b2b 100%);
    border-radius: 100px 0 0 100px;
}

.bars__bar_1_rightText {
    color: #333;
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin-left: 24px;
}

.bars__bar_2 {
    background: #f0f5ff;
    align-self: stretch;
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.simpleFooter {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.simpleFooter_links {
    display: flex;
    flex-wrap: wrap;
}

.simpleFooter_links a {
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
}

.simpleFooter_links>a:not(:last-child) {
    margin-right: 16px;
}

.simpleFooter_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.simpleFooter_links li {
    margin: 0 15px;
}

/* ══════════ 响应式 ══════════ */
@media (max-width: 900px) {
    .sg8-container {
        flex-direction: column;
    }


    .sg8-radio-item {
        grid-template-columns: 26px 56px 1fr 70px 110px;
        gap: 10px;
        display: flex !important;
    }

    .sg8-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sg8-radio-item {
        grid-template-columns: 26px 48px 1fr;
        grid-template-rows: auto auto;
        display: flex !important;
    }

    .sg8-savings-badge {
        grid-column: 2/4;
        justify-self: start;
    }

    .sg8-price-col {
        grid-column: 1/4;
        text-align: left;
    }
}

.sg-hero-desc h1,
.sg-hero-desc h2,
.sg-hero-desc h3,
.sg-hero-desc h4,
.sg-hero-desc h5,
.sg-hero-desc h1 span,
.sg-hero-desc h2 span,
.sg-hero-desc h3 span,
.sg-hero-desc h4 span,
.sg-hero-desc h5 span {
    line-height: 1.3 !important;
}

.sg-hero-desc :is(h1, h2, h3, h4, h5):first-child,
.sg-hero-desc :is(h1, h2, h3, h4, h5):first-of-type span {
    line-height: 1.3 !important;
    font-size: 32px !important;
}

.sg-hero-desc strong {
    line-height: 1.3 !important;
}

.sg-hero-desc p {
    line-height: 1.6 !important;
    margin-top: 1.2rem !important;
    margin-bottom: 1.2rem !important;
    font-size: 18px;
}
.single-product-page .product-tabs-wrapper{
   padding-top:0px
}
.single-product .whb-column .wd-header-cart {
    display: none !important;
}
.single-product-page .product-images.wd-grid-col{
        position: sticky;
}
@media (min-width: 768px) {
    .single-product-page .product-images.wd-grid-col {
            position: sticky !important;
            top: 120px !important;
            align-self: flex-start !important;
        }
}

/* 外层容器 */

.custom-express-checkout-container {
    position: relative !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 4px !important;
    padding: 30px 20px 25px 20px !important;
    margin: 30px 0 20px 0 !important;
    text-align: center !important;
}


.express-checkout-label {
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    text-transform: none !important;
}


.express-checkout-label::before {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background-color: #e4e4e4 !important;
    margin-right: 15px !important;
}


.express-checkout-label::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background-color: #e4e4e4 !important;
    margin-left: 15px !important;
}


.custom-checkout-separator {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 35px 0 !important;
    text-align: center !important;
}


.custom-checkout-separator span {
    font-size: 14px !important;
    color: #888888 !important;
    font-weight: 500 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
}


.custom-checkout-separator::before {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background-color: #e4e4e4 !important;
    margin-right: 15px !important;
}


.custom-checkout-separator::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background-color: #e4e4e4 !important;
    margin-left: 15px !important;
}


.express-checkout-buttons-area p,
.wc-stripe-banner-separator {
    display: none !important;
}
#wc-square-digital-wallet{
  padding-top:0px !important;
}


.woocommerce-checkout .wd-page-title-bg img {
    display: none !important;
}


.woocommerce-checkout .page-title .entry-title,
.woocommerce-checkout .page-title .breadcrumbs,
.woocommerce-checkout .page-title .wd-checkout-steps,
.woocommerce-checkout .page-title .container {
    display: none !important;
}


.woocommerce-checkout .page-title {
    min-height: 180px !important;
    height: 180px !important;
    padding: 0 !important;
    display: none !important;

}



 @media (max-width: 768px) {
        .woocommerce-checkout-review-order-table,
        .woocommerce-checkout-review-order-table + * /* 可能的包裹层 */ {
            display: none !important;
        }
        .custom-summary--mobile  { display: block; }
        .custom-summary--desktop { display: none !important; }
    }

    /* 桌面端：隐藏折叠摘要 */
    @media (min-width: 769px) {
        .custom-summary--mobile  { display: none !important; }
        .custom-summary--desktop { display: none !important; } /* 已不再使用 */
    }

    @media (min-width: 769px) {
        /* 商品名称列变成 flex 布局 */
        .woocommerce-checkout-review-order-table .csm-table-name-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* 缩略图 */
        .woocommerce-checkout-review-order-table .csm-table-thumb {
            width: 56px;
            height: 56px;
            object-fit: cover;
            border-radius: 6px;
            border: 1px solid #e5e9f2;
            flex-shrink: 0;
        }

        /* 商品名称文字 */
        .woocommerce-checkout-review-order-table .csm-table-name-text {
            font-size: 13px;
            line-height: 1.5;
            color: #333;
        }

        /* 让商品列宽度足够 */
        .woocommerce-checkout-review-order-table td.product-name {
            vertical-align: middle;
        }
    }


    .custom-summary { font-size: 14px; color: #333; }

    .csm-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: #f0f4ff;
        border-bottom: 1px solid #dce3f0;
        cursor: pointer;
        user-select: none;
    }
    .csm-toggle__label {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #4a6cf7;
        font-weight: 600;
        font-size: 13px;
    }
    .csm-toggle__arrow { transition: transform 0.3s ease; }
    .csm-toggle[aria-expanded="true"] .csm-toggle__arrow { transform: rotate(180deg); }
    .csm-toggle__price { font-weight: 700; font-size: 15px; color: #111; }

    .csm-body {
        background: #fff;
        border: 1px solid #e5e9f2;
        border-top: none;
        padding: 16px;
        border-radius: 0 0 8px 8px;
    }
    .csm-body--collapsed { display: none; }

    .csm-items { display: flex; flex-direction: column; gap: 12px; }
    .csm-item  { display: flex; align-items: center; gap: 12px; }
    .csm-item__img { position: relative; flex-shrink: 0; width: 52px; height: 52px; }
    .csm-item__img img {
        width: 52px; height: 52px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #eee;
    }
    .csm-item__qty {
        position: absolute; top: -6px; right: -6px;
        background: #555; color: #fff;
        border-radius: 50%;
        width: 18px; height: 18px;
        font-size: 11px; font-weight: 700;
        display: flex; align-items: center; justify-content: center;
    }
    .csm-item__name { flex: 1; font-size: 13px; line-height: 1.4; color: #333; }
    .csm-item__price { font-weight: 600; white-space: nowrap; color: #111; }

    .csm-divider { border: none; border-top: 1px solid #eee; margin: 14px 0; }

    .csm-rows { display: flex; flex-direction: column; gap: 8px; }
    .csm-row  { display: flex; justify-content: space-between; font-size: 13px; color: #555; }

    .csm-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 15px; }
    .csm-total__price { font-size: 20px; color: #111; }
    .csm-total__price small { font-size: 12px; color: #777; margin-right: 2px; font-weight: 400; }

    .single-product-page .product-tabs-wrapper{
        border-top: 0px !important;
        border-bottom: 0px !important;
    }
    .wd-page-content.main-page-wrapper{
            margin-bottom: 80px !important;
            background-color: rgb(249 249 249 / 0%)  !important;
    }


.checkout-banner {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    margin-top: 12px;
}

/* PC端：只显示PC图 */
@media (min-width: 769px) {
    .checkout-banner--pc     { display: block; }
    .checkout-banner--mobile { display: none;  }
}

/* 手机端：只显示手机图 */
@media (max-width: 768px) {
    .checkout-banner--pc     { display: none;  }
    .checkout-banner--mobile { display: block; }
}

