/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* How It Works & Shipping Section */
.hiw-shipping-section {
    background-color: #ffffff;
    padding: 40px 20px;
    margin-top: 40px;
}

/* Spacer when HIW section is hidden */
.hiw-spacer {
    margin-top: 60px;
}

.hiw-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hiw-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hiw-step {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hiw-step-number {
    width: 36px;
    height: 36px;
    background: #2c3e50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin: 0 auto 12px;
}

.hiw-step h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.hiw-step p {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.hiw-right h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.hiw-shipping {
    margin-bottom: 30px;
}

.hiw-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hiw-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.hiw-badge .hiw-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.hiw-badge i {
    font-size: 14px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 991px) {
    .hiw-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hiw-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hiw-shipping-section {
        padding: 40px 15px;
    }
}

/* Custom Footer Styles */
.custom-footer {
    background-color: #111827 !important;
    color: #ffffff !important;
    padding: 50px 20px !important;
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.custom-footer * {
    box-sizing: border-box !important;
    background: #111827 !important;
    border: none !important;
    text-align: left !important;
    color: #ffffff !important;
}

.custom-footer h3,
.custom-footer h4,
.custom-footer p,
.custom-footer li,
.custom-footer a,
.custom-footer span {
    background: #111827 !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    padding: 0 !important;
}

.footer-brand {
    grid-column: span 1;
}

.footer-brand .footer-logo {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: #fff !important;
    padding: 0 !important;
}

.footer-brand p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #a0a0a0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links,
.footer-service,
.footer-contact {
    grid-column: span 1;
}

.footer-links h4,
.footer-service h4,
.footer-contact h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    padding: 0 !important;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 12px !important;
    padding: 0 !important;
}

.footer-links li a {
    color: #a0a0a0 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.footer-links li a:hover {
    color: #fff !important;
}

.footer-service p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #a0a0a0 !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.download-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #f5a623 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.3s !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.download-link:hover {
    color: #ffb600 !important;
}

.link-icon {
    font-size: 16px !important;
}

.footer-contact .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    color: #a0a0a0 !important;
    padding: 0 !important;
}

.contact-icon {
    font-size: 16px !important;
}

.qr-codes {
    display: flex !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding: 0 !important;
}

.qr-code {
    width: 100px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #333 !important;
    border-radius: 8px !important;
}

.qr-1 {
    background-color: #e0e0e0 !important;
}

.qr-2 {
    background-color: #f5a623 !important;
    color: #fff !important;
}

.footer-bottom {
    max-width: 1200px !important;
    margin: 30px auto 0 !important;
    padding-top: 30px !important;
    border-top: 1px solid #333 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.footer-bottom p {
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-legal {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 0 !important;
}

.footer-legal a {
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.footer-legal a:hover {
    color: #fff !important;
}

.footer-legal span {
    color: #666 !important;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    .custom-footer {
        padding: 40px 15px !important;
    }
}

/* Category Page Content Section */
.category-content-section {
    /*margin-top: 128px;*/
    background-color: #ffffff;
    padding: 60px 40px;
    text-align: center;
}

.category-content-container {
    max-width: 1200px;
    margin: 0 auto;
    /*margin-top: 80px;*/
}

.category-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.category-divider {
    width: 60px;
    height: 4px;
    background-color: #d4a017;
    margin: 0 auto 40px;
}

.category-content {
    font-size: 16px;
    line-height: 2;
    color: #4a4a4a;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 400;
}

.category-content:last-child {
    margin-bottom: 0;
}

.category-content a {
    color: #d4a017;
    text-decoration: none;
    font-weight: 500;
}

.category-content a:hover {
    text-decoration: underline;
}

/* Category Responsive */
@media (max-width: 768px) {
    .category-content-section {
        padding: 40px 20px;
    }
    
    .category-title {
        font-size: 30px;
    }
    
    .category-content {
        font-size: 15px;
        text-align: center;
    }
}

/* Country Flags Section */
.category-country-section {
    background: #ffffff !important;
    padding: 10px 20px 28px !important;
    margin: -18px auto 0 !important;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    clear: both;
    text-align: center;
}

.category-country-list {
    max-width: 1240px;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 28px;
    direction: ltr !important;
}

.category-country-card {
    width: 112px !important;
    flex: 0 0 112px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    color: #222222 !important;
    line-height: 1.3 !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    transform: none !important;
}

.category-country-card:hover {
    color: #d4a017 !important;
}

.category-country-card img {
    display: block !important;
    width: 112px !important;
    height: 65px !important;
    max-width: 112px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 0 14px 0 !important;
    box-shadow: none !important;
    background-color: #f5f5f5 !important;
    transform: none !important;
}

.category-country-card span {
    display: block !important;
    width: 112px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    color: #222222 !important;
    white-space: nowrap !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .category-country-section {
        overflow-x: visible;
    }

    .category-country-list {
        flex-wrap: wrap;
        justify-content: center;
        min-width: auto;
        gap: 12px;
    }

    .category-country-card {
        width: calc(33.33% - 12px) !important;
        flex: 0 0 calc(33.33% - 12px) !important;
    }

    .category-country-card img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 112/65;
    }

    .category-country-card span {
        width: 100% !important;
        font-size: 12px !important;
    }
}

/* Posts Grid Layout */
.posts-grid {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.post-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.post-image {
    width: 100%;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.03);
}

.post-title {
    font-size: 14px;
    font-weight: 500;
    padding: 16px 16px 8px;
    margin: 0;
    line-height: 1.5;
    min-height: 42px;
}

.post-title a {
    color: #333333;
    text-decoration: none;
}

.post-title a:hover {
    color: #d4a017;
}

.read-more-link {
    display: block;
    padding: 8px 16px 16px;
    color: #d4a017;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #b8860b;
    text-decoration: underline;
}

/* Posts Grid Responsive */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 30px auto;
    }
    
    .post-image img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .post-image img {
        height: 120px;
    }
}

/* Single Post Styles */
.single .page-header {
    text-align: center;
}

.single .entry-title {
    text-align: center;
}

.single .page-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
}

.post-featured-image {
    margin-bottom: 30px;
    border: 1px solid #eeeeee;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Pagination Styles */
.pagination {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d4a017;
    background: #ffffff;
    color: #d4a017;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pagination-item:hover {
    background: #d4a017;
    color: #ffffff;
}

.pagination-item.pagination-current {
    background: #d4a017;
    color: #ffffff;
    border-color: #d4a017;
}

.pagination-item.pagination-dots {
    border: none;
    background: transparent;
    color: #999999;
    cursor: default;
}

.pagination-item.pagination-dots:hover {
    background: transparent;
    color: #999999;
}

.pagination-item.pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Previous/Next buttons are wider */
.pagination .nav-previous,
.pagination .nav-next {
    display: inline-flex;
}

.pagination a.pagination-item:first-child,
.pagination a.pagination-item:last-child {
    min-width: 100px;
    padding: 0 16px;
}

/* Pagination Responsive */
@media (max-width: 768px) {
    .pagination-item {
        min-width: 60px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pagination-item {
        min-width: 50px;
        height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }
}

/* Single Post Page Styles */
html body.single .site-main,
body.single .site-main {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.single .site-main .page-header,
html body.single .site-main .product-page-header,
body.single .page-header,
body.single .product-page-header {
    text-align: left !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 100px;
}

html body.single .site-main .entry-title,
body.single .entry-title {
    text-align: left !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    display: block !important;
    width: 100% !important;
}

html body.single .site-main .entry-subtitle,
body.single .entry-subtitle {
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    display: block !important;
    width: 100% !important;
}

body.single .page-content {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
}

body.single .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
}

body.single .post-thumbnail,
body.single .featured-image,
body.single header.entry-header img,
body.single article > img:first-child,
body.single .wp-post-image {
    display: none !important;
}

body.single .post-tags,
body.single .comments-area,
body.single #comments {
    display: none !important;
}

/* Product Detail Layout */
html body.single .site-main .product-detail-wrapper,
body.single .site-main .product-detail-wrapper {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: block !important;
}

html body.single .site-main .product-detail-grid,
body.single .site-main .product-detail-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.single .site-main .product-image-col,
body.single .site-main .product-image-col {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

html body.single .site-main .product-image-main,
body.single .site-main .product-image-main {
    width: 100% !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    min-height: 350px !important;
}

html body.single .site-main .product-image-main img,
body.single .site-main .product-image-main img {
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    display: block !important;
    border-radius: 8px !important;
    margin: 0 !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

html body.single .site-main .product-features-col,
body.single .site-main .product-features-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;

}

html body.single .site-main .product-badge,
body.single .site-main .product-badge {
    display: inline-block !important;
    background: #1a3a8a !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    width: fit-content !important;
}

html body.single .site-main .product-features-title,
body.single .site-main .product-features-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    display: none !important;  /* Hidden on desktop, shown on mobile */
}

html body.single .site-main .product-feature-item,
body.single .site-main .product-feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: #f7f9fc !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    border-left: 3px solid #3b82f6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.single .site-main .product-feature-icon,
body.single .site-main .product-feature-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
}

html body.single .site-main .product-feature-icon-blue,
body.single .site-main .product-feature-icon-blue {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}
html body.single .site-main .product-feature-icon-green,
body.single .site-main .product-feature-icon-green {
    background: #dcfce7 !important;
    color: #15803d !important;
}
html body.single .site-main .product-feature-icon-yellow,
body.single .site-main .product-feature-icon-yellow {
    background: #fef9c3 !important;
    color: #a16207 !important;
}
html body.single .site-main .product-feature-icon-red,
body.single .site-main .product-feature-icon-red {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
html body.single .site-main .product-feature-icon-purple,
body.single .site-main .product-feature-icon-purple {
    background: #f3e8ff !important;
    color: #7e22ce !important;
}

html body.single .site-main .product-feature-content,
body.single .site-main .product-feature-content {
    flex: 1 !important;
    width: 100% !important;
}

html body.single .site-main .product-feature-label,
body.single .site-main .product-feature-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

html body.single .site-main .product-feature-value,
body.single .site-main .product-feature-value {
    font-size: 14px !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
}

html body.single .site-main .product-feature-list,
body.single .site-main .product-feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body.single .site-main .product-feature-list li,
body.single .site-main .product-feature-list li {
    font-size: 14px !important;
    color: #15803d !important;
    line-height: 1.7 !important;
    padding: 0 !important;
}

/* Product Description Section */
html body.single .site-main .product-description-section,
body.single .site-main .product-description-section {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

html body.single .site-main .product-description-title,
body.single .site-main .product-description-title {
    background: #1a2530 !important;
    color: #ffffff !important;
    padding: 16px 24px !important;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border-radius: 8px 8px 0 0 !important;
}

html body.single .site-main .product-description-content,
body.single .site-main .product-description-content {
    background: #ffffff !important;
    padding: 30px 24px !important;
    border: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #374151 !important;
    margin-bottom: -60px;
}

html body.single .site-main .product-description-content img,
body.single .site-main .product-description-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
}

@media (max-width: 768px) {
    /* ===== 容器（html前缀匹配桌面端特异性+覆盖父主题max-width） ===== */
    html body.single .site-main,
    html body:not([class*=elementor-page-]) .site-main {
        padding: 0 !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    html body.single .site-main .page-content,
    html body.single .page-content {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* ===== 隐藏桌面标题 ===== */
    html body.single .page-header,
    html body.single .product-page-header {
        display: none !important;
    }
    
    /* ===== 外层包裹 ===== */
    html body.single .site-main .product-detail-wrapper {
        margin: 0 auto !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* ===== 单列布局 ===== */
    html body.single .site-main .product-detail-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    /* ===== 图片列 ===== */
    html body.single .site-main .product-image-col {
        padding: 0 12px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #f5f5f5 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ===== 主图 ===== */
    html body.single .site-main .product-image-main {
        min-height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        cursor: default !important;
        flex: none !important;
    }
    
    html body.single .site-main .product-image-main img {
        width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
        border-radius: 0 !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        cursor: default !important;
        max-width: 100% !important;
        transition: none !important;
    }
    
    /* ===== 缩略图横向滑动 ===== */
    html body.single .product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #f5f5f5 !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }
    
    html body.single .product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item {
        flex-shrink: 0 !important;
        width: 64px !important;
        height: 48px !important;
        cursor: pointer !important;
        overflow: hidden !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 6px !important;
        transition: border-color 0.2s ease !important;
        background: #ffffff !important;
    }
    
    html body.single .product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item:active {
        border-color: #d4a017 !important;
    }
    
    html body.single .product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 4px !important;
    }
    
    html body.single .product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item:first-child {
        border-color: #d4a017 !important;
    }
    
    /* ===== 隐藏放大预览 ===== */
    .product-zoom-preview {
        display: none !important;
    }
    
    /* ===== 信息列 ===== */
    html body.single .site-main .product-features-col {
        gap: 12px !important;
        padding: 20px 16px 24px !important;
        background: #ffffff !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ===== 标签 ===== */
    html body.single .site-main .product-badge {
        font-size: 11px !important;
        padding: 5px 12px !important;
        margin-bottom: 4px !important;
        letter-spacing: 1.5px !important;
    }
    
    /* ===== 产品标题 ===== */
    html body.single .site-main .product-features-title {
        display: block !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        color: #111111 !important;
        margin: 4px 0 16px 0 !important;
        line-height: 1.3 !important;
        padding: 0 !important;
    }
    
    /* ===== 信息卡片 ===== */
    html body.single .site-main .product-feature-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        background: #f8f9fb !important;
        border-radius: 10px !important;
        border-left: 3px solid #3b82f6 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    html body.single .site-main .product-feature-label {
        font-size: 11px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        color: #8b919a !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }
    
    html body.single .site-main .product-feature-value,
    html body.single .site-main .product-feature-list li {
        font-size: 14px !important;
        color: #1a1a1a !important;
        line-height: 1.5 !important;
    }
    
    html body.single .site-main .product-feature-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* ===== 详细描述 ===== */
    html body.single .site-main .product-description-section {
        margin: 12px auto !important;
        padding: 0 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    html body.single .site-main .product-description-title {
        font-size: 17px !important;
        padding: 12px 16px !important;
        border-radius: 10px 10px 0 0 !important;
    }
    
    html body.single .site-main .product-description-content {
        padding: 20px 16px !important;
        border-radius: 0 0 10px 10px !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    /* ===== 手机端放大镜适配 ===== */
    html body.single .site-main .product-image-main {
        cursor: default !important;
    }
    html body.single .site-main .product-image-main img {
        cursor: default !important;
    }
}

/* Hide images in Detailed Description section */
html body.single .site-main .product-description-content img,
body.single .site-main .product-description-content img,
.single-post .product-description-content img {
    display: none !important;
}

/* Magnifying glass effect */
.product-image-main {
    position: relative !important;
    cursor: none !important;
    min-height: 300px !important;
    overflow: hidden !important;
}

/* Custom cursor dot (follows real cursor) */
.product-image-main::after {
    content: '' !important;
    position: fixed !important;
    width: 8px !important;
    height: 8px !important;
    background: #d4a017 !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 10000 !important;
    display: none !important;
    transform: translate(-50%, -50%) !important;
}

.magnifying-glass {
    position: absolute !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    border: 4px solid #ffffff !important;
    box-shadow: 
        0 0 0 3px #d4a017,
        0 0 0 6px rgba(212, 160, 23, 0.3),
        0 8px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.15) !important;
    pointer-events: none !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background-repeat: no-repeat !important;
    background-size: auto;
    z-index: 9999 !important;
    transition: opacity 0.15s ease !important;
}

.magnifying-glass.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Glass reflection / glare effect */
.magnifying-glass.is-visible::after {
    content: '' !important;
    position: absolute !important;
    top: 10% !important;
    left: 18% !important;
    width: 30% !important;
    height: 25% !important;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 10001 !important;
}
.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs {
    display: flex !important;
    gap: 8px !important;
    padding-top: 12px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
}

.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-zoom-preview {
    display: none !important;
}

.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item {
    width: 80px !important;
    height: 60px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    transition: border-color 0.3s ease !important;
    position: relative !important;
}

.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item:hover {
    border-color: #d4a017 !important;
}

.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item:first-child {
    border-color: #d4a017 !important;
}

.product-detail-wrapper .product-detail-grid .product-image-col .product-image-thumbs .product-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ============================================= */
/*  Free Template Generator Page Styles          */
/* ============================================= */

/* ----- Banner ----- */
.ftg-banner {
    background: #ffffff;
    padding: 80px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}
.ftg-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,193,7,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.ftg-banner-inner {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.ftg-banner-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.ftg-banner-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.ftg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    line-height: 1.2;
}
.ftg-btn-premium {
    background: linear-gradient(135deg, #f5a623, #f7c144);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.ftg-btn-premium:hover {
    background: linear-gradient(135deg, #e89612, #f5a623);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245,166,35,0.45);
    color: #ffffff;
}
.ftg-btn-icon {
    font-size: 18px;
}

/* ----- Main Container ----- */
.ftg-main-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.ftg-main-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: start;
}

/* ----- Section Header ----- */
.ftg-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.ftg-section-bar {
    width: 5px;
    height: 32px;
    background: linear-gradient(180deg, #f5a623, #f7c144);
    border-radius: 3px;
    flex-shrink: 0;
}
.ftg-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* ----- Form Column ----- */
.ftg-col-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef0f4;
}
.ftg-form-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ftg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ftg-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    letter-spacing: 0.3px;
}
.ftg-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #e2e6ef;
    border-radius: 8px;
    color: #1a1a1a;
    background: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}
.ftg-input:focus {
    border-color: #f5a623;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
.ftg-input::placeholder {
    color: #b0b8c4;
}

/* ----- Download Button ----- */
.ftg-btn-download {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #f5a623, #f7c144);
    color: #ffffff;
    font-size: 17px;
    padding: 16px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}
.ftg-btn-download:hover {
    background: linear-gradient(135deg, #e89612, #f5a623);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245,166,35,0.4);
    color: #ffffff;
}
.ftg-download-badge {
    font-size: 12px;
    background: rgba(255,255,255,0.25);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 4px;
    font-weight: 500;
}

/* ----- Preview Column ----- */
.ftg-col-preview {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef0f4;
    position: sticky;
    top: 20px;
}
.ftg-preview-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ftg-preview-wrapper {
    background: #faf8f0;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    line-height: 0;
    border: 1px solid #e8e3d0;
}
.ftg-preview-wrapper canvas {
    width: 100%;
    height: auto;
    display: block;
}
.ftg-preview-tip {
    font-size: 14px;
    color: #8b919a;
    text-align: center;
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .ftg-banner {
        padding: 50px 20px 44px;
    }
    .ftg-banner-title {
        font-size: 28px;
    }
    .ftg-banner-subtitle {
        font-size: 15px;
    }
    .ftg-main-container {
        padding: 24px 12px 40px;
    }
    .ftg-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ftg-col-form,
    .ftg-col-preview {
        padding: 20px 16px;
    }
    .ftg-col-preview {
        position: static;
    }
    .ftg-section-title {
        font-size: 20px;
    }
    .ftg-preview-wrapper {
        overflow: hidden;
    }
    .ftg-preview-wrapper canvas {
        width: 100% !important;
        height: auto !important;
    }
    .ftg-input {
        font-size: 16px;
        padding: 12px 14px;
    }
    .ftg-btn {
        font-size: 15px;
        padding: 12px 24px;
    }
    .ftg-btn-download {
        font-size: 16px;
        padding: 14px 20px;
    }
}
