
    body.single-product{
        background:#f7f7f7 !important;
    }

    body.single-product div.product{
        max-width:1180px;
        margin:40px auto;
        background:#fff;
        padding:36px;
        border-radius:24px;
        box-shadow:0 8px 30px rgba(0,0,0,0.06);
    }

    body.single-product .woocommerce-product-gallery{
        width:52% !important;
        position:relative !important;
        top:auto !important;
        align-self:flex-start !important;
    }

    body.single-product .summary{
        width:44% !important;
    }

    body.single-product .product_title{
        font-size:34px !important;
        line-height:1.28 !important;
        font-weight:800 !important;
        margin-bottom:14px !important;
    }

    body.single-product .price{
        font-size:40px !important;
        font-weight:800 !important;
        color:#111 !important;
        margin-bottom:18px !important;
    }

    body.single-product .woocommerce-product-details__short-description{
        color:#444;
        line-height:1.8;
        margin-bottom:20px;
    }

    body.single-product .quantity input{
        height:54px;
        border-radius:12px;
        border:1px solid #ddd;
    }

    body.single-product button.single_add_to_cart_button{
        width:100%;
        height:56px;
        border-radius:14px !important;
        background:#d90429 !important;
        color:#fff !important;
        font-size:16px !important;
        font-weight:800 !important;
        transition:all 0.25s ease;
    }

    body.single-product button.single_add_to_cart_button:hover{
        transform:scale(1.01);
        box-shadow:0 10px 24px rgba(217,4,41,0.25);
    }

    .jp-condition-badge{
        display:inline-flex;
        align-items:center;
        gap:6px;
        background:#fff7e6;
        color:#b76e00;
        border:1px solid #ffd591;
        padding:8px 14px;
        border-radius:999px;
        font-size:14px;
        font-weight:700;
        margin-bottom:16px;
    }

    .jp-condition-badge.jp-out-stock{
        background:#f5f5f5;
        color:#777;
        border-color:#ddd;
    }

    .jp-info-box{
        margin-top:22px !important;
        background:#faf7f5 !important;
        border:1px solid #ece5df !important;
        border-radius:16px !important;
        padding:18px 20px !important;
        display:grid !important;
        gap:14px !important;
        box-shadow:none !important;
    }

    .jp-info-box div{
        display:flex !important;
        align-items:center !important;
        gap:10px !important;
        padding-bottom:12px !important;
        border-bottom:1px solid #eee2da !important;
        font-size:15px !important;
        font-weight:600 !important;
        color:#3d3d3d !important;
        line-height:1.5 !important;
    }

    .jp-info-box div:last-child{
        border-bottom:none !important;
        padding-bottom:0 !important;
    }

    .jp-product-details-box{
        margin:18px 0 22px !important;
        background:#fff !important;
        border:1px solid #eee !important;
        border-radius:18px !important;
        padding:20px !important;
        box-shadow:0 4px 14px rgba(0,0,0,0.06) !important;
    }

    .jp-product-details-box h3{
        font-size:22px !important;
        margin:0 0 14px !important;
        padding-bottom:12px !important;
        border-bottom:1px solid #eee !important;
    }

    .jp-consolidation-box{
        margin-top:20px;
        background:#f6fff7;
        border:1px solid #b7eb8f;
        color:#237804;
        padding:16px 18px;
        border-radius:16px;
        font-weight:600;
        line-height:1.6;
    }

    .single-product .ast-single-product-payments,
    .single-product .payment-icons,
    .single-product .ast-payment-icons,
    body.single-product .ast-shipping-text{
        display:none !important;
    }

    body.single-product .product_meta{
        margin-top:18px;
        color:#777;
        font-size:14px;
    }

    body.single-product .product_meta a{
        color:#d90429;
        text-decoration:none;
        font-weight:600;
    }

    body.single-product .woocommerce-tabs{
        max-width:1180px;
        margin:30px auto 60px;
        background:#fff;
        border-radius:24px;
        padding:30px 36px;
        box-shadow:0 8px 30px rgba(0,0,0,0.06);
    }

    body.single-product .woocommerce-tabs ul.tabs{
        padding-left:0 !important;
        border-bottom:1px solid #eee;
    }

    body.single-product .woocommerce-tabs ul.tabs li{
        border:none !important;
        background:#f5f5f5 !important;
        border-radius:12px 12px 0 0 !important;
        padding:8px 18px !important;
    }

    body.single-product .woocommerce-tabs ul.tabs li.active{
        background:#111 !important;
    }

    body.single-product .woocommerce-tabs ul.tabs li.active a{
        color:#fff !important;
    }

    body.single-product .woocommerce-product-gallery img{
        transition:transform 0.3s ease;
        border-radius:18px;
    }

    body.single-product .woocommerce-product-gallery img:hover{
        transform:scale(1.02);
    }

    @media(max-width:768px){
        body.single-product div.product{
            margin:20px 14px;
            padding:20px;
        }

        body.single-product .woocommerce-product-gallery,
        body.single-product .summary{
            width:100% !important;
            float:none !important;
            position:relative !important;
            top:auto !important;
        }

        body.single-product .product_title{
            font-size:26px !important;
        }

        body.single-product .price{
            font-size:32px !important;
        }

        body.single-product .woocommerce-tabs{
            margin:20px 14px 40px;
            padding:22px;
        }
    }
            

/* Former wp_head overrides retain their position in the cascade. */

        .single-product .ast-single-product-payments,
        .single-product .payment-icons,
        .single-product .ast-payment-icons {
            display:none !important;
        }

        .jp-info-box{
            margin-top:22px !important;
            background:#fff !important;
            border:1px solid #eee !important;
            border-radius:18px !important;
            padding:18px !important;
            box-shadow:0 4px 14px rgba(0,0,0,0.06) !important;
        }

        .single-product .single_add_to_cart_button{
            border-radius:12px !important;
            background:#d90429 !important;
        }

        .single-product .product_title{
            font-size:34px !important;
            line-height:1.25 !important;
        }

/* Keep the mobile title size after the former head overrides. */
@media(max-width:768px) { body.single-product .product_title { font-size:26px !important; } }
@media(prefers-reduced-motion:reduce) {
    body.single-product .woocommerce-product-gallery img { transition:none; transform:none !important; }
}

/* Keep the gallery in normal flow. Its old sticky parent included tabs and related items. */
body.single-product div.product > .woocommerce-product-gallery { position:relative !important; top:auto !important; }
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related.products { clear:both; position:relative; }
body.single-product div.product > .woocommerce-tabs { margin:32px 0; padding:26px 0; border-top:1px solid #e8e1ed; border-radius:0; box-shadow:none; }
body.single-product div.product > .related.products { padding-top:28px; border-top:1px solid #e8e1ed; }
body.single-product .product_title { font-family:inherit; letter-spacing:-.025em; }
body.single-product .summary .price { font-size:34px !important; color:#463251 !important; }
body.single-product .summary .single_add_to_cart_button { background:#744693 !important; }
body.single-product .summary .single_add_to_cart_button:hover { transform:none; background:#58336f !important; box-shadow:0 6px 18px #74469325; }
body.single-product .woocommerce-product-gallery img:hover { transform:none; }
body.single-product .related.products > h2 { font-family:inherit; font-size:26px; margin-bottom:25px; }
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title { font-family:inherit; font-size:15px !important; line-height:1.5; text-align:left; }
body.single-product .related.products ul.products li.product .price { font-size:20px !important; text-align:left; margin:8px 0 0 !important; }
body.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap img { aspect-ratio:1; width:100%; height:auto; object-fit:contain; background:#faf8fc; border-radius:12px; }
body.single-product .jptc-help-bubble { display:none !important; }
@media(max-width:768px) {
 body.single-product div.product { box-sizing:border-box; width:auto; margin:24px 12px; padding:20px; }
 body.single-product div.product > .woocommerce-tabs { margin:26px 0; padding:22px 0; }
 body.single-product .summary .price { font-size:29px !important; }
}
