/* ============================================
   WooCommerce Product Page — Premium Two-Column
   Xiaomo EV — Dark luxury, orange accent
   ============================================ */

/* ── Base ── */
 !important;
}

/* ── Hide all default WooCommerce artifacts ── */
.woocommerce-product-gallery,
.woocommerce-breadcrumb,
.single-product-category, .sku_wrapper, .posted_in,
.single_add_to_cart_button, .quantity, .cart,
.woocommerce-tabs, .related.products, .upsells,
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.product_meta,
.single-product .summary .price:not(.pdp-price .price),
.single-product .summary .product_title:not(.pdp-title) {
    display: none !important;
}

/* ── Full-width layout (override grid) ── */
.single-product div.product {
    display: block !important;
}

.summary.entry-summary {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

/* ============================================
   PDP Container
   ============================================ */
.pdp-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TOP: Two-Column Layout
   ============================================ */
.pdp-top {
    padding: 48px 0 0;
    background: #f2f3f5;
}

.pdp-top .pdp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* ── LEFT: Gallery ── */
.pdp-gallery {
    position: sticky;
    top: 24px;
}

.pdp-gallery-main {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.04);
}


.pdp-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.pdp-gallery-slide.active {
    display: flex;
}

.pdp-gallery-slide img {
    max-width: 92%;
    max-height: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 48px rgba(0,0,0,0.4));
    transition: opacity 0.35s ease;
}

/* ── Thumbnails ── */
.pdp-gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.06);
    background: #FFFFFF;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-thumb:hover {
    border-color: rgba(46,125,50,0.4);
}

.pdp-thumb.active {
    border-color: #2E7D32;
    box-shadow: 0 0 20px rgba(46,125,50,0.15);
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── RIGHT: Info Panel ── */
.pdp-info {
    padding: 12px 0 0;
}

.pdp-title {
    color: #1A1A2E;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.pdp-tagline {
    color: #555;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 20px;
    letter-spacing: 0.2px;
}

.pdp-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(46,125,50,0.3), transparent);
    margin: 0 0 24px;
}

.pdp-price {
    margin-bottom: 28px;
}

.pdp-price .price {
    color: #1A1A2E !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.pdp-price .price .woocommerce-Price-amount {
    color: #1A1A2E !important;
}

.pdp-price .price .woocommerce-Price-currencySymbol {
    font-size: 20px;
    vertical-align: top;
    margin-right: 2px;
}

/* ── Product Intro Text ── */
.pdp-intro {
    margin-bottom: 24px;
}

.pdp-intro p {
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px;
}

.pdp-intro p:last-child {
    margin-bottom: 0;
}

/* ── Specs Highlight Row ── */
.pdp-specs-highlight {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hl-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 13px;
    color: #444444;
    font-weight: 400;
}

.hl-icon {
    font-size: 14px;
    line-height: 1;
}

/* ── WeChat Button ── */
.pdp-wechat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2E7D32;
    color: #ffffff;
    padding: 15px 48px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}

.pdp-wechat-btn:hover {
    background: #245F29;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(46,125,50,0.25);
    color: #ffffff;
}

/* ── Trust Badges ── */

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 13px;
}

.trust-item svg {
    flex-shrink: 0;
}

/* ── QR Code Area ── */

.pdp-qr-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: block;
}

.pdp-qr-label {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* ============================================
   FULL-WIDTH HORIZONTAL POSTERS
   ============================================ */
.pdp-poster-section {
    padding: 0;
    background: #e2e3e7;
}

.pdp-poster-item {
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
}

.pdp-poster-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ============================================
   SHOP ARCHIVE (keep existing)
   ============================================ */
.post-type-archive-product .site-content { background: #e2e3e7; }
.woocommerce-products-header__title {
    color: #1A1A2E;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 40px;
    letter-spacing: -0.3px;
}
ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
ul.products li.product {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s;
}
ul.products li.product:hover { transform: translateY(-4px); }
ul.products li.product a img {
    aspect-ratio: 1/1;
    object-fit: cover;
}
ul.products li.product .woocommerce-loop-product__title {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 16px 16px 4px;
}
ul.products li.product .price {
    color: #666;
    font-size: 13px;
    text-align: center;
    padding: 0 16px 16px;
}
ul.products li.product .button,
.woocommerce-result-count { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
    .pdp-top .pdp-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pdp-gallery {
        position: static;
    }

    .pdp-gallery-main {
        aspect-ratio: 1 / 1;
        max-height: 70vw;
    }

    .pdp-title {
        font-size: 26px;
    }

    .pdp-specs-highlight {
        gap: 6px;
    }

    .pdp-wechat-btn {
        width: 100%;
        justify-content: center;
    }

}


/* ── PDP 简约定版 2026-08-03 (ponytail) ── */
.pdp-gallery-slide { display: none; position: relative; z-index: 1; }
.pdp-gallery-slide.active { display: block; }
.pdp-gallery-slide img {
    width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: cover; filter: none; display: block;
}
.pdp-tagline, .pdp-intro, .pdp-specs-highlight { display: none; }
.pdp-specs { width: 100%; border-collapse: collapse; margin: 0 0 32px; }
.pdp-specs tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.pdp-specs tr:last-child { border-bottom: none; }
.pdp-specs td { padding: 13px 0; font-size: 14px; line-height: 1.5; vertical-align: top; }
.pdp-specs .spec-k { color: #666666; width: 44%; padding-right: 16px; }
.pdp-specs .spec-v { color: #1A1A2E; font-weight: 400; }


/* ── PDP 精简 v3 2026-08-03: 删勾选+红框, 规格表面板化 ── */
.woocommerce-product-details__short-description { display: none; }
.pdp-specs { width: 100%; border-collapse: collapse; margin: 0 0 32px; }
.pdp-specs tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
.pdp-specs tr:last-child { border-bottom: none; }
.pdp-specs td { padding: 13px 16px; font-size: 14px; line-height: 1.5; vertical-align: top; }
.pdp-specs .spec-k { width: 44%; color: #9aa0a6; background: rgba(255,255,255,0.02); font-weight: 500; }
.pdp-specs .spec-v { color: #1A1A2E; }


/* ── PDP v4 2026-08-03: 删二维码, 图片完整contain+白底 ── */
.pdp-gallery-main { background: #fff; }
.pdp-gallery-slide img {
    width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    object-fit: contain; filter: none; display: block; background: #fff;
}

/* PDP detail full page image */
/* PDP detail full page image — in a bordered frame, aligned with content */
.pdp-detail-full{
    width:100%; max-width:1120px; margin:0 auto 48px; box-sizing:border-box;
    background:#fff; border:1px solid rgba(255,255,255,0.08);
    border-radius:16px; padding:0; overflow:hidden;
}
.pdp-detail-full img{ width:100%; height:auto; display:block; }

.pdp-specs { background:#ffffff !important; }

/* PDP WeChat QR modal */
.pdp-qr-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:99999}
.pdp-qr-modal-box{background:#fff;border-radius:16px;padding:28px;text-align:center;max-width:340px;width:90%}
.pdp-qr-modal-box img{width:220px;height:220px;aspect-ratio:1/1;object-fit:contain;display:block;margin:0 auto 14px;border-radius:8px}
.pdp-qr-modal-box p{color:#333;margin:0 0 18px;font-size:15px}
.pdp-qr-close{background:#2E7D32;color:#fff;border:none;padding:10px 28px;border-radius:100px;cursor:pointer;font-size:14px}
