body,
html {
    overflow-x: hidden
}

/* Fix: Prevent community section images from overlapping category links */
.index-section:first-of-type {
    position: relative;
    z-index: 100 !important;
}

.index-section:first-of-type .page-width {
    position: relative;
    z-index: 100 !important;
}

.index-section:first-of-type .grid-overflow-wrapper {
    position: relative;
    z-index: 100 !important;
}

.index-section:first-of-type .grid {
    position: relative;
    z-index: 100 !important;
}

.index-section:first-of-type .collection-item {
    position: relative !important;
    z-index: 101 !important;
    pointer-events: auto !important;
}

.index-section:first-of-type .collection-item a {
    position: relative;
    z-index: 102 !important;
    display: block;
}

/* Ensure community section stays below categories */
.index-section + .index-section {
    position: relative;
    z-index: 1 !important;
    margin-top: 60px !important;
}

/* Our Growing Community - Removed old global rules, now handled by media queries below */

.index-section + .index-section .image-wrap {
    width: 190px !important; /* Fixed width - Official winkflo.com style (190px, not 170px) */
    max-width: 190px !important; /* Backup max-width */
    margin: 0 auto 10px auto !important; /* Center the image with bottom margin */
    pointer-events: auto;
    z-index: 1;
    position: relative !important; /* CRITICAL: For padding-bottom aspect ratio trick */
    height: 0 !important; /* Required for padding-bottom trick */
    padding-bottom: 250px !important; /* Fixed height based on average aspect ratio (~131% of 190px) */
}

.index-section + .index-section .image-wrap img {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Maintain aspect ratio while filling container */
}

/* Community Section - Only override what's needed, theme.css handles the rest */

/* Username (h3) - Match Official Winkflo Style */
.index-section + .index-section .grid__item h3 {
    font-weight: 400 !important; /* Official: Normal weight, NOT bold */
    font-size: 31.2px !important; /* Official: 31.2px */
    line-height: 31.2px !important; /* Official: 31.2px */
    min-height: auto !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 15px !important; /* Official winkflo spacing */
    margin-top: 0px !important; /* Official winkflo spacing */
}

/* Description text below username - show it */
.index-section + .index-section .grid__item .rte-setting.text-spacing {
    display: block !important;
    font-size: 16px !important; /* Official: 16px */
    line-height: 1.5 !important; /* Better readability */
    margin-bottom: 15px !important; /* Official winkflo spacing */
    margin-top: 0px !important; /* Official winkflo spacing */
    color: #333 !important;
    min-height: 70px !important; /* Fixed height to align buttons */
}

/* Button styles - match official winkflo.com exactly */
.index-section + .index-section .grid__item .btn.btn--secondary.btn--small {
    border: 1px solid #e8e8e1 !important; /* Official border */
    border-radius: 30px !important; /* Official 30px, not 50px */
    padding: 8px 14px !important; /* Official padding */
    font-size: 12px !important; /* Official font size */
    font-weight: 400 !important;
    background-color: transparent !important;
    color: #121212 !important;
    display: inline-block !important;
    transition: border 0.3s ease !important;
}

/* Button hover - match official winkflo.com */
.index-section + .index-section .grid__item .btn.btn--secondary.btn--small:hover {
    border-color: #121212 !important;
}

.index-section + .index-section a {
    z-index: 1;
}

/* Announcement Bar - Match Official Winkflo Green Style */
.announcement-bar {
    background-color: #489c00 !important; /* Official green */
    color: #ffffff !important;
    padding: 10px 0 !important;
    border-bottom: none !important;
}

.announcement-text,
.announcement-link {
    color: #ffffff !important;
    font-weight: 400 !important;
}

/* Mobile specific fixes - Horizontal Scrolling */
@media only screen and (max-width: 768px) {
    /* Ensure proper spacing between sections */
    .index-section:first-of-type {
        margin-bottom: 40px !important;
    }
    
    /* Product Categories - Horizontal Scroll (Override defaults) */
    .index-section:first-of-type .grid-overflow-wrapper {
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 100 !important;
        padding-bottom: 15px !important;
        margin: 0 -15px !important; /* Full width scrolling */
    }
    
    .index-section:first-of-type .grid-overflow-wrapper .grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
    }
    
    .index-section:first-of-type .grid__item {
        flex: 0 0 39vw !important;
        min-width: 39vw !important;
        display: inline-block !important;
        float: none !important;
        white-space: normal !important;
        margin-right: 0 !important;
    }
    
    .index-section:first-of-type .grid__item:first-child {
        margin-left: 17px !important;
    }
    
    .index-section:first-of-type .collection-item {
        margin-bottom: 0 !important;
    }
    
/* Community Section - Horizontal Scroll - Match Official Winkflo */
.index-section + .index-section {
    padding-top: 50px !important; /* Desktop needs more spacing */
    padding-bottom: 50px !important; /* Desktop needs more spacing */
}

/* Mobile override for tighter spacing */
@media (max-width: 768px) {
    .index-section + .index-section {
        padding-top: 10px !important;
        padding-bottom: 20px !important;
    }
}
    
    /* Text overlay on community images - match official winkflo.com */
    .community-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px 8px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%) !important;
        z-index: 2 !important;
    }
    
    .community-text {
        color: #ffffff !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
        text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
        font-weight: 500 !important;
    }
    
    .index-section + .index-section .grid-overflow-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 15px !important;
        margin: 0 !important;
        padding-left: 20px !important; /* Add left padding to show first item */
        padding-right: 20px !important; /* Add right padding for balance */
    }
    
/* Mobile: Horizontal scroll grid */
@media (max-width: 768px) {
    .index-section + .index-section .grid-overflow-wrapper .grid {
        display: flex !important;
        flex-wrap: nowrap !important; /* Mobile needs nowrap for horizontal scroll */
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        gap: 0px !important;
        justify-content: flex-start !important;
    }
}

/* Desktop: Normal grid layout (let theme.css handle it) */
@media (min-width: 769px) {
    .index-section + .index-section .grid-overflow-wrapper .grid {
        /* Keep default theme.css flex layout */
        gap: 0px !important; /* Official winkflo.com has no gap */
        flex-wrap: wrap !important; /* Allow wrapping on desktop */
    }
}
    
/* Desktop (non-mobile): Wider spacing for better visual separation */
.index-section + .index-section .grid__item {
    padding-left: 40px !important; /* Wider than default 22px */
    padding-right: 40px !important; /* Add right padding for balance */
}

/* Mobile only: Remove padding and set fixed width for horizontal scroll */
@media (max-width: 768px) {
    .index-section + .index-section .grid__item {
        flex: 0 0 auto !important;
        min-width: 220px !important; /* Fixed width for each item */
        max-width: 220px !important;
        display: inline-block !important;
        float: none !important;
        white-space: normal !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Desktop only: Ensure items take 1/3 width naturally */
@media (min-width: 769px) {
    .index-section + .index-section .grid__item {
        /* Let theme.css handle the width naturally (33.33%) */
        /* Only ensure we don't have mobile overrides */
        min-width: auto !important;
        max-width: none !important;
    }
}
    
/* Let images use their natural aspect ratio (padding-bottom trick) */
.index-section + .index-section .image-wrap {
    /* Don't set a fixed height - let padding-bottom from inline style define the height */
    margin-bottom: 15px !important; /* Official winkflo spacing */
}
    
/* Hide scrollbar but keep functionality */
.grid-overflow-wrapper::-webkit-scrollbar {
    display: none !important;
}

/* ========================================
   Let customers speak for us - Testimonials Section
   ======================================== */

/* Section Title - Match Official Winkflo Style */
.testimonials-section .section-title {
    font-size: 28px !important; /* Official: 28px */
    font-weight: 400 !important; /* Official: Normal weight, NOT bold */
    text-align: center !important;
    color: #121212 !important; /* Official: #121212 */
    margin-bottom: 15px !important; /* Official: 15px */
    line-height: 1.2 !important;
    user-select: none !important; /* 不可选中 */
}

/* Star Rating and Reviews - Match Official Winkflo Style */
.testimonials-section .section-rating {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
}

/* Star Display - 5 yellow stars */
.testimonials-section .star-rating-display {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.testimonials-section .star-rating-display .star {
    font-size: 20px !important;
    color: #f4c430 !important; /* Golden yellow color */
    line-height: 1 !important;
}

.testimonials-section .section-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: #666 !important;
}

.testimonials-section .section-meta svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* ========================================
   Testimonial Cards - Match Official Winkflo Style
   ======================================== */

/* Testimonial Card Layout - Everything Centered (五星+评论+昵称+图片都居中) - 超强优先级 */
.testimonials-section .swiper-slide .testimonial-card,
.testimonials-slider .swiper-slide .testimonial-card,
.testimonials-slider .testimonial-card,
.swiper-slide .testimonial-card,
div.testimonial-card,
.testimonial-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 20px 10px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* 所有子元素水平居中 */
    justify-content: center !important;
    text-align: center !important;
    gap: 0 !important;
}

/* Star Rating - Centered (五星居中) - 超强优先级 */
.testimonials-section .swiper-slide .testimonial-card .star-rating,
.testimonials-section .testimonial-card > .star-rating,
.testimonials-section .testimonial-card .star-rating,
.testimonial-card > .star-rating,
.testimonial-card .star-rating,
div.star-rating {
    display: flex !important;
    justify-content: center !important; /* 五星水平居中 */
    align-items: center !important;
    gap: 4px !important;
    margin: 0 auto 15px auto !important; /* 使用auto居中 */
    width: 100% !important;
}

.testimonial-card > .star-rating .star,
.testimonial-card .star-rating .star {
    font-size: 16px !important;
    color: #f4c430 !important;
    line-height: 1 !important;
}

/* Hide default Swiper navigation buttons (官网样式:不要两边的圆形按钮) */
.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
    display: none !important;
}

/* Custom Navigation Arrows - Official Winkflo Style (简洁的 < > 箭头) - 最高优先级 */
.testimonials-section .custom-navigation,
div.custom-navigation,
.custom-navigation {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 20px auto 0 auto !important;
    width: 100% !important;
    text-align: center !important;
}

.testimonials-section .custom-nav-prev,
.testimonials-section .custom-nav-next,
button.custom-nav-prev,
button.custom-nav-next,
.custom-nav-prev,
.custom-nav-next {
    background: transparent !important;
    border: none !important;
    font-size: 36px !important;
    color: #999 !important;
    cursor: pointer !important;
    padding: 0 10px !important;
    transition: color 0.3s ease !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
}

.testimonials-section .custom-nav-prev:hover,
.testimonials-section .custom-nav-next:hover,
button.custom-nav-prev:hover,
button.custom-nav-next:hover,
.custom-nav-prev:hover,
.custom-nav-next:hover {
    color: #121212 !important;
}

.testimonials-section .custom-nav-prev:disabled,
.testimonials-section .custom-nav-next:disabled,
button.custom-nav-prev:disabled,
button.custom-nav-next:disabled,
.custom-nav-prev:disabled,
.custom-nav-next:disabled {
    color: #ddd !important;
    cursor: not-allowed !important;
}

/* Testimonial Content - Centered (评论内容居中) - 超强优先级 */
.testimonials-section .swiper-slide .testimonial-card .testimonial-content,
.testimonials-section .testimonial-card .testimonial-content,
.testimonial-card .testimonial-content,
div.testimonial-content,
.testimonial-content {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    text-align: center !important; /* 文字居中 */
    margin: 0 auto 15px auto !important; /* 使用auto居中 */
    padding: 0 10px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.testimonial-card .testimonial-content p,
.testimonial-content p {
    margin: 0 auto !important; /* 段落居中 */
    text-align: center !important;
    width: 100% !important;
}

/* Testimonial Author - Centered, Below Content */
/* Author Section - Centered, Normal Weight (昵称居中) */
.testimonials-section .testimonial-card .testimonial-author,
.testimonials-slider .testimonial-author,
.testimonial-card .testimonial-author,
.testimonial-author {
    display: block !important;
    text-align: center !important; /* 文字居中 */
    margin: 0 auto 15px auto !important; /* 居中margin */
    width: 100% !important;
}

.testimonials-section .testimonial-card .author-name,
.testimonial-author .author-name,
span.author-name {
    font-size: 14px !important;
    font-weight: 400 !important; /* 普通字重,不加粗 */
    color: #121212 !important;
    text-align: center !important; /* 文字居中 */
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important; /* 居中 */
}

/* Product Thumbnail - Centered (产品图片居中,70x70px) - 超强优先级 */
.testimonials-section .swiper-slide .testimonial-card .testimonial-product,
.testimonials-section .testimonial-card .testimonial-product,
.testimonial-card .testimonial-product,
div.testimonial-product,
.testimonial-product {
    display: flex !important;
    justify-content: center !important; /* 图片水平居中 */
    align-items: center !important;
    margin: 0 auto !important; /* 使用auto居中 */
    width: 100% !important;
}

.testimonial-card .testimonial-product-link,
a.testimonial-product-link {
    display: block !important;
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    border: none !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    transition: opacity 0.3s ease !important;
}

.testimonial-card .testimonial-product-link:hover,
a.testimonial-product-link:hover {
    opacity: 0.8 !important;
}

/* Ultra-specific selector to override all other styles */
.testimonials-section .testimonials-slider .swiper-slide .testimonial-card .testimonial-product .testimonial-product-link img.product-thumbnail,
.testimonials-section .testimonial-card .product-thumbnail,
.testimonial-product-link img,
.testimonial-product img,
img.product-thumbnail {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    object-fit: contain !important;
    display: block !important;
    border: none !important;
    border-radius: 0px !important;
}

/* Section Meta (Review count) - Match Official Winkflo Style */
.testimonials-section .section-meta {
    font-size: 16px !important;
    font-weight: 400 !important;
    text-align: center !important;
    color: #666 !important;
    margin-bottom: 30px !important;
}

/* OLD TESTIMONIAL STYLES - REMOVED (Duplicate rules that were overriding the correct styles above) */
    
    .grid-overflow-wrapper {
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }
}

.product-app-style #appstle_subscription_widget0 {
    max-width: 100% !important
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_wrapper {
    display: flex !important;
    position: relative !important;
    height: 23rem !important;
    justify-content: space-between
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_wrapper.one-time {
    height: 15rem
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_wrapper_option.appstle_include_dropdown,
.product-app-style #appstle_subscription_widget0 .appstle_subscription_wrapper_option {
    position: unset !important;
    justify-content: unset !important;
    width: 100%;
    padding: 0 !important
}

.product-app-style .appstle_subscription_radio_wrapper,
.product-app-style .appstle_subscription_wrapper_option.appstle_include_dropdown.appstle_selected_background .appstle_subscription_radio_wrapper {
    background-color: #f9f9f9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid #f9f9f9;
    padding: 12px 10px;
    position: unset
}

.product-app-style .appstle_one_time_details_wrapper,
.product-app-style .appstle_subscription_wrapper_option.appstle_selected_background .appstle_one_time_details_wrapper {
    display: unset !important;
    flex-grow: unset !important;
    background-color: #f9f9f9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid #f9f9f9;
    padding: 12px 10px
}

.product-app-style .appstle_subscription_wrapper_option .appstle_one_time_details_wrapper,
.product-app-style .appstle_subscription_wrapper_option .appstle_subscription_radio_wrapper {
    background-color: #ccd2e3a1
}

.product-app-style #appstle_subscription_widget0 .appstle_subscribe_option {
    margin: 0 16px !important;
    position: absolute !important;
    width: 100%;
    max-width: 95%;
    left: 0;
    top: 7.9rem
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_amount_wrapper {
    margin-left: auto;
    text-align: left !important;
    position: absolute;
    width: 100%;
    left: 0;
    top: 5rem;
    padding: 0 16px;
    max-width: 95%
}

.product-app-style .ship_txt_append {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    max-width: 100%;
    padding: 0 16px;
    justify-content: space-between;
    z-index: 9
}

.product-app-style .appstle_one_time_price_wrapper {
    position: absolute;
    width: 100%;
    max-width: 95%;
    left: 0;
    top: 5rem;
    text-align: left !important;
    padding: 0 16px
}

.product-app-style .appstle_one_time_description_text {
    margin: 0 16px !important;
    position: absolute;
    top: 7.9rem;
    left: 0
}

.product-app-style .SS_plan.first,
.product-app-style .SS_plan.second {
    font-size: 12px;
    margin-top: 14px;
    margin-bottom: 5px;
    font-weight: 400;
    padding-left: 25px;
    position: relative
}

.product-app-style .SS_plan.first:before {
    content: "";
    position: absolute;
    background-image: url(https://cdn.shopify.com/s/files/1/0741/6892/6486/files/fa-pencil.svg?v=1682488317);
    height: 17px;
    width: 17px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 8px;
    background-color: #121212;
    border-radius: 100%;
    padding: 3px 4px;
    left: 0;
    top: 0
}

.product-app-style .SS_plan.second:before {
    content: "";
    position: absolute;
    background-image: url(https://cdn.shopify.com/s/files/1/0741/6892/6486/files/fa-close.svg?v=1682488317);
    width: 17px;
    height: 17px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 8px;
    background-color: #121212;
    border-radius: 100%;
    padding: 3px 4px;
    left: 0;
    top: 0
}

.product-app-style span.appstle_one_time_text,
.product-app-style span.appstle_subscribe_save_text {
    margin: 0 7px 0 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: normal;
    white-space: nowrap;
    color: #121212;
    display: flex;
    grid-gap: 10px;
    align-items: center;
    text-transform: initial;
    white-space: normal
}

.product-app-style .appstle_subscription_compare_amount {
    text-decoration: line-through;
    color: #121212;
    font-size: 14px;
    margin-right: 4px
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_amount {
    color: #121212;
    font-size: 20px
}

.product-app-style .appstle_one_time_details_wrapper #appstle_subscription_widget0 .appstle_subscription_amount {
    position: relative;
    width: 100%
}

.product-app-style label.appstle_select_label {
    font-size: 18px !important;
    margin-bottom: 11px !important;
    letter-spacing: normal !important;
    color: #121212
}

.product-app-style .dropdown {
    padding: 10px
}

.product-app-style .appstleRadioSellingPlanWrapper.active {
    width: 100%;
    background-color: #fff;
    z-index: 1;
    border: 1px solid;
    padding: 10px
}

.product-app-style .appstleRadioSellingPlanWrapper.active label {
    text-transform: capitalize;
    letter-spacing: normal;
    font-size: 16px
}

.product-app-style .appstle_one_time_details_wrapper span.appstle_subscription_amount.transcy-money:before {
    content: "";
    position: absolute;
    background-image: url(https://cdn.shopify.com/s/files/1/0741/6892/6486/files/right-arrow.png?v=1684483230);
    width: 84px;
    height: 59px;
    left: 39%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    transform: rotate(29deg);
    top: -24px
}

.product-app-style #appstle_subscription_widget0 .appstle_subscription_wrapper_option input[type=radio]:checked+label .appstle_circle .appstle_dot {
    background-color: red !important;
    border-radius: 50%
}

.product-app-style #appstle_subscription_widget0 .appstle_circle {
    background-color: #fff !important
}

.product-app-style #appstle_subscription_widget0 .appstle_circle {
    border: .1px solid #ccd2e3 !important
}

.product-app-style .appstle_subscription_wrapper_option input[type=radio]:focus+label .appstle_circle:before {
    border: 0px !important
}

.product-app-style a.SS_btn_popup.Click-here {
    text-decoration: underline;
    cursor: pointer
}

.product-app-style span.SS_sub_text {
    line-height: 100%;
    background-color: #518926;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 5px;
    border-radius: calc(1em + 3px);
    white-space: pre
}

.product-template-default .appstleRadioSellingPlanWrapper {
    display: block
}

.product-template-default .dropdown {
    display: none
}

.product-template-default .product-single__meta .rte.wink-desc span,
.product-template-default .product-single__meta .rte.wink-desc p {
    font-size: 15px
}

.product-template-default .product-single__meta .rte.wink-desc p,
.product-template-default .product-single__meta .rte.wink-desc h3 {
    margin-block-start: 1em;
    margin-block-end: 1em
}

.product-template-default .product-single__meta .rte.wink-desc h4 strong {
    font-family: Poppins, sans-serif;
    text-transform: capitalize;
    letter-spacing: normal;
    font-size: 15px
}

.product-template-default .product-single__meta .rte.wink-desc h4 {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    letter-spacing: normal;
    text-transform: capitalize;
    font-weight: 500
}

.product-template-default .rte.wink-desc h1 span strong {
    margin-block-start: 1em;
    margin-block-end: 1em;
    font-family: Poppins, sans-serif;
    font-size: 30px
}

.custom_footer_section .inline-list.toolbar__social {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important; /* 移除图标之间的间距 */
}

.custom_footer_section .mobile-nav__social-item {
    border: 0;
    width: auto !important; /* 让图标自动调整宽度 */
    flex: 0 0 auto !important; /* 不拉伸 */
}

.custom_footer_section .toolbar__social a {
    display: block;
    padding: 8px !important; /* 减小间距,让图标更紧凑 */
}

.footer_bootm_content .right .footer__small-text {
    text-align: right;
    padding-right: 10px
}

.footer_bootm_content {
    display: flex;
    justify-content: space-between;
    margin-top: 30px
}

.border_top {
    border-top: solid 1px #ffffff45
}

.btn-wrap_mobile {
    display: none
}

.grid-product__content .jdgm-widget.jdgm-widget {
    display: block !important
}

.jdgm-preview-badge .jdgm-star.jdgm-star,
.jdgm-star {
    color: #fcd53f !important;
    font-size: 13px
}

.announcement-text {
    font-family: Poppins, sans-serif;
    letter-spacing: 1px
}

.btn-wrap_mobile svg {
    height: .4rem
}

.btn-wrap_mobile span.pagingInfo {
    font-size: 9px
}

.input-group-field {
    border-radius: 16px;
    border-color: #1212128c
}

.input-group-btn {
    height: 100%
}

.site-footer__linklist a {
    font-size: 14px;
    opacity: .8
}

.custom_responsive .slick-slide {
    margin-left: 15px
}

.slideshow-wrapper .hero-natural--template--19493106712882__slideshow a.btn.btn--inverse {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    padding: 0 2rem;
    cursor: pointer;
    border: 2px solid #fff;
    line-height: 18px;
    min-height: 49px
}

.slideshow-wrapper .hero-natural--template--19493106712882__slideshow a.btn.btn--inverse:hover {
    border: 4px solid #fff
}

.slideshow-wrapper .hero-natural--template--19493106712882__slideshow .hero__text-wrap {
    z-index: 9
}

.jdgm-carousel-title {
    margin-bottom: 15px !important
}

.note--success {
    color: #56ad6a;
    background-color: #ecfef0;
    border-color: #56ad6a;
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 0 auto
}

.custom_button .btn--secondary:hover {
    border-color: transparent
}

.custom_button a.btn.btn--secondary {
    padding: 12px 35px !important
}

.grid-product__meta .grid-product__title {
    font-family: Poppins;
    font-size: 13px !important;
    letter-spacing: 1px !important
}

.grid-product__meta .jdgm-widget {
    margin: 10px 0
}

.grid-product__meta .jdgm-prev-badge__text {
    font-size: 13px;
    margin-left: 6px
}

.jdgm-rev-widg__header h2.jdgm-rev-widg__title {
    font-family: Poppins !important
}

.jdgm-sort-dropdown-wrapper select.jdgm-sort-dropdown {
    font-family: Arial !important
}

button.btn.add-to-cart span {
    font-family: Assistant !important
}

.variant-input-wrap label {
    border-radius: 50px !important
}

.wink-desc h2 {
    font-size: 24px !important;
    font-weight: 400 !important;
    font-family: Poppins, sans-serif
}

.wink-desc h2 span {
    font-size: 24px !important
}

.wink-short-heading strong span {
    font-size: 22px !important
}

.appstle_subscription_wrapper_option input[type=radio]:focus+label .appstle_circle:before {
    border: none !important
}

#appstle-subscription-widget-placeholder {
    margin-top: 2rem
}

.appstle_sub_widget+#appstle-subscription-widget-placeholder {
    margin-top: 0 !important
}

.appstle_sub_widget {
    margin-top: 2rem !important
}

.rte a:not(.btn):not(.spr-summary-actions-newreview):after {
    display: none
}

.appstle_subscribe_option_grid .dropdown:before {
    display: none
}

.appstleRadioSellingPlanWrapper .appstle-radio-wrapper {
    margin: 0 !important
}

.appstle_subscribe_option_grid .appstleRadioSellingPlanWrapper {
    display: block !important;
    padding: 10px;
    border: 1px solid #cccccc;
    margin: 10px 0
}

.appstle-radio-wrapper .appstle-radio-input-wrapper span {
    text-transform: capitalize;
    letter-spacing: normal;
    font-size: 16px
}

.product-app-style .dropdown {
    padding: 0 !important;
    background: none !important
}

.dropdown {
    all: unset !important;
    background: unset !important
}

.product-app-style .appstleRadioSellingPlanWrapper.active {
    border: none !important
}

.appstle_subscription_wrapper_option .appstle_one_time_details_wrapper {
    padding: 9px 10px
}

.drawer__footer [name=checkout] {
    background: #12d74d;
    color: #fff;
    font-weight: 400
}

.drawer__footer [name=checkout]:hover {
    border: none
}

.fsb_wrap {
    display: none !important
}

@media only screen and (min-width: 750px) {
    .product__description h2 {
        font-size: 24px !important;
        line-height: 1.2 !important
    }

    .product__description h1,
    .product__description h1 * {
        font-size: 40px !important
    }

    .product__description a {
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
        text-decoration: underline !important;
        border: none !important
    }

    .product-single__meta {
        padding-left: 45px;
        max-width: 645px;
        margin-left: auto
    }
}

@media only screen and (min-width: 769px) {

    .h2,
    h2 {
        font-size: 28px
    }

    .colllection_page .grid__item--sidebar {
        width: 100%;
        max-height: unset !important;
        position: unset !important;
        overflow: visible
    }

    .colllection_page .grid__item--content {
        width: 100%
    }

    .colllection_page .filter-form {
        display: flex;
        align-items: center
    }

    .colllection_page .collection-sidebar__group {
        border: none;
        overflow: visible
    }

    .colllection_page .collection-sidebar__group:first-child {
        padding: 0;
        margin: 0
    }

    .collection-sidebar__group {
        position: relative
    }

    .colllection_page .collapsible-content {
        position: absolute;
        top: 100%;
        min-width: 300px;
        z-index: 9999;
        padding: 10px;
        border: 1px solid #e7e7e7;
        background: #fff;
        height: auto !important
    }

    .colllection_page .collapsible-trigger-btn {
        min-width: 133px
    }

    .colllection_page .filter-form div:first-of-type .collection-sidebar__group {
        margin-right: 1rem
    }

    .colllection_page #CollectionSidebar-1-filter-availability {
        min-width: 140px;
        height: 45px !important
    }

    .colllection_page .collection-filter__item--count {
        position: absolute;
        margin-bottom: 103px
    }
}

@media only screen and (min-width: 1440px) {

    .h2,
    h2 {
        font-size: 32px;
        line-height: 120%
    }
}

@media only screen and (min-width: 2000px) {

    .h2,
    h2 {
        font-size: 36px
    }
}

@media only screen and (max-width: 768px) {

    .h2,
    h2 {
        font-size: 24px
    }

    .colllection_page .collection-filter .btn {
        color: #000
    }

    .colllection_page .collection-sidebar__group button {
        position: relative
    }

    .custom_responsive button {
        display: none !important
    }

    .announcement-text {
        display: block;
        letter-spacing: unset;
        font-size: 12px;
        padding: 10px 0
    }

    .announcement-bar {
        padding: 0
    }

    .btn-wrap_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 40px 0;
        grid-gap: 23px
    }

    .btn-wrap_mobile button.next-btn svg {
        transform: rotate(-90deg)
    }

    .btn-wrap_mobile button.prev-btn svg {
        transform: rotate(90deg)
    }

    .btn-wrap_mobile button.slick-disabled {
        opacity: .6
    }

    .footer_bootm_content {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        flex-direction: column;
        align-items: center
    }

    .footer_bootm_content .right .footer__small-text {
        text-align: center;
        padding-right: 10px
    }

    .slider__counter {
        position: absolute;
        top: 0;
        left: 50%;
        right: 0;
        bottom: -16%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        width: fit-content
    }

    .index-section {
        margin: 0
    }

    .section-header h2.section-header__title {
        font-size: 30px;
        padding-top: 20px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        font-weight: 600;
        cursor: default;
        pointer-events: none;
    }

    .drawer__footer [name=checkout] {
        margin-bottom: 12px
    }
}

/* Section Header Styles (Desktop & Mobile) */
.section-header h2.section-header__title {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

@media only screen and (max-width: 768px) {
    .header-layout {
        position: relative
    }

    button.site-nav__link.site-nav__link--icon.js-drawer-open-nav.medium-up--hide {
        position: absolute;
        left: 2px
    }

    .header-item.header-item--logo {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        right: 0;
        top: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100% !important
    }
}

.cart-link__bubble--visible {
    top: 20px !important;
    width: 22px !important;
    right: -5px !important;
    height: 22px !important;
    color: #fff !important;
    display: grid !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 2px !important
}

.wink-tick a {
    color: #ee424a
}

.rte.wink-desc h3 {
    font-family: Poppins
}

.jdgm-prev-badge {
    margin-bottom: 16px !important
}

.SS_popup.show-popup {
    opacity: 1 !important;
    visibility: visible;
    z-index: 40 !important
}

.SS_popup.show-popup .bg-overlay {
    background: #00000080 !important
}

.SS_popup.show-popup .custom-model-inner {
    z-index: 1;
    position: relative
}

/*# sourceMappingURL=/cdn/shop/t/30/assets/custom.css.map?v=30032927802995616181707393027 */

/* ===== Save Pets from Chemicals Section - Official Custom Content Layout ===== */

/* 标题样式 - 使用主题默认 h2 + 禁止选中和换行 */
.custom__item-inner--liquid .rte h2 {
    white-space: nowrap !important; /* 一行显示 */
    user-select: none !important; /* 不可选中 */
    margin-bottom: 20px !important;
}

/* 图片显示修复 - 移除默认透明度 */
.custom__item-inner--image img {
    opacity: 1 !important; /* 显示图片 */
}

/* ===== Sign Up and Save! Newsletter Section - 官方样式 ===== */

/* Newsletter区域 - 已从footer中移出,成为独立区域 */
.newsletter-section {
    background-color: #f2f2f2 !important;
    padding: 60px 20px !important;
    text-align: center !important;
    border: none !important;
    margin: 0 !important;
}

/* 标题 - 使用<p>标签,不可选中、不换行 */
.newsletter-title {
    font-size: 32px !important;
    font-weight: 400 !important;
    margin: 0 0 15px 0 !important;
    user-select: none !important;
    white-space: nowrap !important;
    color: #000 !important;
}

/* 描述文字 */
.newsletter-description {
    font-size: 16px !important;
    margin: 0 0 30px 0 !important;
    color: #333 !important;
}

/* 表单 */
.newsletter-form {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.newsletter-form .form-group {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

/* 输入框 */
.newsletter-email {
    width: 100% !important;
    padding: 12px 50px 12px 15px !important;
    border: 1px solid #d2d2d2 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: #fff !important;
    outline: none !important;
}

.newsletter-email:focus {
    border-color: #999 !important;
}

/* 提交按钮 - 箭头图标 */
.newsletter-submit {
    position: absolute !important;
    right: 10px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
    transition: opacity 0.3s ease !important;
}

.newsletter-submit:hover {
    opacity: 0.7 !important;
}

.newsletter-submit svg {
    width: 20px !important;
    height: 20px !important;
}

/* Footer区域保持绿色背景 */
.site-footer {
    background-color: #489c00 !important; /* 官方的绿色 */
}

/* ===== WooCommerce Sale Badge 优化 (官方样式 - Save XX%) ===== */
.onsale,
.woocommerce span.onsale,
span.onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    z-index: 10 !important;
    line-height: 1.3 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 6px rgba(255,0,0,0.3) !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* 单个产品页面的 SALE 标签 - 隐藏图片上的,改为显示在价格后 */
.single-product .product-images .onsale,
.single-product .woocommerce-product-gallery .onsale,
.single-product .images .onsale {
    display: none !important;
}

/* 产品列表中的 SALE 标签 */
.products .product .onsale,
.woocommerce ul.products li.product .onsale {
    top: 10px !important;
    right: 10px !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
}

/* 确保 SALE 标签在图片容器内 */
.product-image {
    position: relative !important;
}

.product-image .onsale {
    position: absolute !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .onsale,
    .woocommerce span.onsale,
    span.onsale {
        top: 8px !important;
        right: 8px !important;
        font-size: 10px !important;
        padding: 3px 7px !important;
    }
}

/* ===== 产品图片库优化 (参考官方样式) ===== */

/* 产品图片缩略图列表 */
.woocommerce-product-gallery__thumbnails,
.flex-control-thumbs,
ol.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 单个缩略图 */
.woocommerce-product-gallery__thumbnails li,
.flex-control-thumbs li {
    flex: 0 0 auto !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* 缩略图图片 */
.woocommerce-product-gallery__thumbnails img,
.flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* 当前选中的缩略图 */
.woocommerce-product-gallery__thumbnails li.flex-active-slide,
.flex-control-thumbs li.flex-active {
    border-color: #000 !important;
}

/* 缩略图悬停效果 */
.woocommerce-product-gallery__thumbnails li:hover,
.flex-control-thumbs li:hover {
    border-color: #666 !important;
    opacity: 0.8 !important;
}

/* 主图容器 */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper {
    margin-bottom: 0 !important;
    position: relative !important;
}

/* 外层图片库容器 - 确保按钮定位在这个固定容器内 */
.woocommerce-product-gallery {
    position: relative !important;
    overflow: hidden !important;
}

/* 图片切换箭头按钮 - 通过 JavaScript 添加 */
.gallery-nav-prev,
.gallery-nav-next {
    position: absolute !important;
    top: calc(50% - 40px) !important; /* 调整位置,避开缩略图区域 */
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 999 !important; /* 增加层级,确保在最上层 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    padding: 0 !important;
    font-family: Arial, sans-serif !important;
}

.gallery-nav-prev {
    left: 15px !important;
}

.gallery-nav-next {
    right: 15px !important;
}

.gallery-nav-prev:hover,
.gallery-nav-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.gallery-nav-prev:active,
.gallery-nav-next:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* 全屏查看按钮 */
.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 10 !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(255,255,255,1) !important;
    transform: scale(1.1) !important;
}

/* ===== 隐藏 WooCommerce 产品描述标签页内的重复标题 ===== */
.woocommerce-Tabs-panel--description > h2:first-child,
.woocommerce-tabs #tab-description > h2:first-child,
#tab-description > h2:first-child,
.woocommerce-product-details__short-description h2:first-child {
    display: none !important;
}

/* ===== WooCommerce 产品页面整体页边距优化 ===== */

/* 去掉产品页面的外边框 */
.single-product div.product,
.single-product .product-container,
.single-product .product-main {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 产品信息区域(标题、价格、数量、购买按钮) */
.single-product .product-main,
.single-product .summary.entry-summary,
.single-product div.product .summary,
.product-info,
.product-form__info-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ===== 产品标题优化 (参考官方样式) ===== */

/* 产品标题 */
.single-product .product_title,
.single-product h1.product_title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* 价格区域优化 */
.single-product .price,
.single-product p.price {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

/* 价格后的 SALE 标签 */
.single-product .price::after {
    content: attr(data-sale-badge) !important;
}

.single-product .summary .price .onsale,
.single-product .summary span.onsale {
    position: static !important;
    display: inline-block !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(255,0,0,0.3) !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
    letter-spacing: 0.3px !important;
}

/* 原价(删除线) */
.single-product .price del,
.single-product .price del .amount {
    font-size: 24px !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 10px !important;
}

/* 现价 */
.single-product .price ins,
.single-product .price ins .amount {
    font-size: 32px !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* SKU 和分类信息 */
.single-product .product_meta {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e5e5e5 !important;
}

.single-product .product_meta > span {
    display: block !important;
    margin-bottom: 8px !important;
}

.single-product .product_meta a {
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.single-product .product_meta a:hover {
    color: #00c853 !important;
}

/* 描述标签页内容容器 */
.woocommerce-Tabs-panel--description,
.woocommerce-tabs #tab-description,
#tab-description,
.woocommerce-product-details__short-description {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* 描述内容内边距 */
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description p,
#tab-description h2,
#tab-description h3,
#tab-description p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 1.6 !important;
}

/* 标题上下间距 */
.woocommerce-Tabs-panel--description h2,
#tab-description h2 {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #333 !important;
}

/* 第一个标题顶部间距为0 */
.woocommerce-Tabs-panel--description h2:first-of-type,
#tab-description h2:first-of-type {
    margin-top: 0 !important;
}

/* 段落间距 */
.woocommerce-Tabs-panel--description p,
#tab-description p {
    margin-bottom: 15px !important;
    font-size: 15px !important;
    color: #555 !important;
}

/* 响应式优化 - 移动端 */
@media (max-width: 768px) {
    /* 产品信息区域 */
    .single-product .product-main,
    .single-product .summary.entry-summary,
    .single-product div.product .summary,
    .product-info {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* 描述区域 */
    .woocommerce-Tabs-panel--description,
    .woocommerce-tabs #tab-description,
    #tab-description {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .woocommerce-Tabs-panel--description h2,
    #tab-description h2 {
        font-size: 20px !important;
        margin-top: 20px !important;
    }
    
    .woocommerce-Tabs-panel--description p,
    #tab-description p {
        font-size: 14px !important;
    }
}

/* ===== WooCommerce Add to Cart Button 优化 (官方样式 - 绿色大按钮) ===== */

/* 单品页面 - Add to Cart 按钮 */
.single-product button.single_add_to_cart_button,
.single-product .cart button[type="submit"],
button.btn.add-to-cart,
.product-form button[type="submit"],
button.single_add_to_cart_button {
    width: 100% !important;
    padding: 16px 24px !important;
    background-color: #00c853 !important;
    background: linear-gradient(180deg, #00c853 0%, #00a845 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0,200,83,0.3) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    line-height: 1.2 !important;
    margin-top: 20px !important;
}

.single-product button.single_add_to_cart_button:hover,
.single-product .cart button[type="submit"]:hover,
button.btn.add-to-cart:hover,
button.single_add_to_cart_button:hover {
    background-color: #00a845 !important;
    background: linear-gradient(180deg, #00a845 0%, #008837 100%) !important;
    box-shadow: 0 6px 16px rgba(0,200,83,0.4) !important;
    transform: translateY(-1px) !important;
}

.single-product button.single_add_to_cart_button:active,
button.btn.add-to-cart:active,
button.single_add_to_cart_button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0,200,83,0.3) !important;
}

/* 产品列表页 - Add to Cart 按钮 */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.product-button .button,
.product-button a.button {
    width: 100% !important;
    display: block !important;
    padding: 12px 20px !important;
    background-color: #00c853 !important;
    background: linear-gradient(180deg, #00c853 0%, #00a845 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(0,200,83,0.3) !important;
    text-decoration: none !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    line-height: 1.2 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.product-button .button:hover,
.product-button a.button:hover {
    background-color: #00a845 !important;
    background: linear-gradient(180deg, #00a845 0%, #008837 100%) !important;
    box-shadow: 0 4px 14px rgba(0,200,83,0.4) !important;
    transform: translateY(-1px) !important;
    opacity: 1 !important;
}

.woocommerce ul.products li.product .button:active,
.product-button .button:active {
    transform: translateY(0) !important;
}

/* Select Options 按钮 (用于可变产品) */
.woocommerce ul.products li.product a.button.product_type_variable {
    background-color: #489c00 !important;
    background: linear-gradient(180deg, #489c00 0%, #3d8500 100%) !important;
}

.woocommerce ul.products li.product a.button.product_type_variable:hover {
    background-color: #3d8500 !important;
    background: linear-gradient(180deg, #3d8500 0%, #326d00 100%) !important;
}

/* 已添加到购物车状态 */
.woocommerce ul.products li.product .added_to_cart,
a.added_to_cart {
    display: inline-block !important;
    margin-top: 10px !important;
    padding: 8px 16px !important;
    background-color: #f0f0f0 !important;
    color: #333 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product .added_to_cart:hover,
a.added_to_cart:hover {
    background-color: #e0e0e0 !important;
}

/* Loading 状态 */
.woocommerce ul.products li.product .button.loading,
button.single_add_to_cart_button.loading {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.woocommerce ul.products li.product .button.loading::after,
button.single_add_to_cart_button.loading::after {
    content: "..." !important;
    animation: dots 1.5s steps(4, end) infinite !important;
}

@keyframes dots {
    0%, 20% { content: "" !important; }
    40% { content: "." !important; }
    60% { content: ".." !important; }
    80%, 100% { content: "..." !important; }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .single-product button.single_add_to_cart_button,
    button.btn.add-to-cart,
    button.single_add_to_cart_button {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    
    .woocommerce ul.products li.product .button,
    .product-button .button {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

/* ===== WooCommerce Quantity Selector 优化 (官方样式) ===== */

/* 数量选择器容器 */
.js-qty__wrapper,
.quantity,
.woocommerce .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background-color: #fff !important;
    max-width: 120px !important;
    min-width: 100px !important;
    height: 40px !important;
    position: relative !important;
    margin: 10px 0 !important;
}

/* 数量输入框 */
.js-qty__num,
.quantity input.qty,
input[type="number"].qty,
.woocommerce .quantity input.qty {
    width: 100% !important;
    height: 38px !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    background: transparent !important;
    padding: 0 35px !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* 隐藏数字输入框的上下箭头 */
.js-qty__num::-webkit-inner-spin-button,
.js-qty__num::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button,
input[type="number"].qty::-webkit-inner-spin-button,
input[type="number"].qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* 减号按钮 */
.js-qty__adjust--minus,
.quantity .minus,
button.minus,
.woocommerce .quantity .minus {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 35px !important;
    height: 100% !important;
    background-color: transparent !important;
    border: none !important;
    border-right: 1px solid #e0e0e0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #666 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

/* 加号按钮 */
.js-qty__adjust--plus,
.quantity .plus,
button.plus,
.woocommerce .quantity .plus {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 35px !important;
    height: 100% !important;
    background-color: transparent !important;
    border: none !important;
    border-left: 1px solid #e0e0e0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #666 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

/* 悬停效果 */
.js-qty__adjust--minus:hover,
.quantity .minus:hover,
button.minus:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
}

.js-qty__adjust--plus:hover,
.quantity .plus:hover,
button.plus:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
}

/* 激活/点击效果 */
.js-qty__adjust--minus:active,
.quantity .minus:active,
button.minus:active {
    background-color: #e8e8e8 !important;
}

.js-qty__adjust--plus:active,
.quantity .plus:active,
button.plus:active {
    background-color: #e8e8e8 !important;
}

/* 按钮图标 - 使用伪元素显示 +/- */
.js-qty__adjust--minus::before,
.quantity .minus::before,
button.minus::before {
    content: "−" !important;
    display: block !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

.js-qty__adjust--plus::before,
.quantity .plus::before,
button.plus::before {
    content: "+" !important;
    display: block !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

/* QUANTITY 标签样式 */
label[for*="quantity"],
.quantity-label,
.product-quantity-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* 单品页面的数量选择器 */
.single-product .quantity,
.single-product .js-qty__wrapper {
    max-width: 140px !important;
    height: 45px !important;
}

.single-product .quantity input.qty,
.single-product .js-qty__num {
    height: 43px !important;
    font-size: 15px !important;
    padding: 0 40px !important;
}

.single-product .quantity .minus,
.single-product .quantity .plus,
.single-product .js-qty__adjust {
    width: 40px !important;
}

/* 禁用状态 */
.js-qty__wrapper.is-loading,
.quantity.is-loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* 购物车页面的数量选择器 */
.woocommerce-cart .quantity,
.woocommerce-cart .js-qty__wrapper {
    margin: 0 !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .js-qty__wrapper,
    .quantity,
    .woocommerce .quantity {
        max-width: 110px !important;
        min-width: 90px !important;
        height: 38px !important;
    }
    
    .js-qty__num,
    .quantity input.qty {
        height: 36px !important;
        font-size: 13px !important;
        padding: 0 32px !important;
    }
    
    .js-qty__adjust--minus,
    .js-qty__adjust--plus,
    .quantity .minus,
    .quantity .plus {
        width: 32px !important;
    }
    
    .single-product .quantity,
    .single-product .js-qty__wrapper {
        max-width: 120px !important;
        height: 40px !important;
    }
}

/* ===== Language/Currency Switcher - Fixed Bottom Left (官方样式) ===== */

/* 主容器 - 固定在左下角 */
.language-currency-switcher {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 9999 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* 切换按钮 */
.switcher-button {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.switcher-button:hover {
    background: #f9f9f9 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.switcher-text {
    font-weight: 600 !important;
    color: #000 !important;
}

.switcher-icon {
    transition: transform 0.2s ease !important;
}

.switcher-button:hover .switcher-icon {
    transform: translateY(2px) !important;
}

/* 下拉菜单 */
.switcher-dropdown {
    position: absolute !important;
    bottom: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 280px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.2s ease !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.switcher-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 下拉菜单滚动条 */
.switcher-dropdown::-webkit-scrollbar {
    width: 6px !important;
}

.switcher-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

.switcher-dropdown::-webkit-scrollbar-thumb {
    background: #ccc !important;
    border-radius: 4px !important;
}

.switcher-dropdown::-webkit-scrollbar-thumb:hover {
    background: #999 !important;
}

/* 区域标题 */
.switcher-section {
    padding: 12px 0 !important;
}

.switcher-title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}

/* 选项按钮 */
.switcher-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 10px 16px !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    font-family: inherit !important;
}

.switcher-option:hover {
    background: #f5f5f5 !important;
}

.switcher-option.active {
    background: #e8f5e9 !important;
}

.option-code {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000 !important;
    min-width: 40px !important;
}

.option-label {
    font-size: 13px !important;
    color: #666 !important;
    flex: 1 !important;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .language-currency-switcher {
        bottom: 15px !important;
        left: 15px !important;
    }
    
    .switcher-button {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    .switcher-dropdown {
        min-width: 240px !important;
        max-height: 300px !important;
    }
}