/* Desktop keeps the original information expanded and in its original position. */
body.nexart-product-active .nx-pdp-purchase-details {
    border: 0; margin: 0; padding: 0; min-width: 0;
}
body.nexart-product-active .nx-pdp-purchase-details > summary { display: none; }

@media (max-width: 1024px) {
    /* Product, price and native buying controls first; supplemental copy stays accessible. */
    body.nexart-product-active .nx-pdp-hero { padding: 18px 0 30px; }
    body.nexart-product-active .nx-pdp-hero-inner { gap: 20px; }
    body.nexart-product-active .nx-pdp-container { padding-left: 20px; padding-right: 20px; }
    body.nexart-product-active .nx-pdp-gallery { gap: 10px; }
    body.nexart-product-active .nx-pdp-gallery-main {
        aspect-ratio: auto; height: min(40svh, 360px); min-height: 260px;
        padding: 18px 28px;
    }
    body.nexart-product-active .nx-pdp-gallery-main img {
        object-fit: contain !important; max-height: 100%; max-width: 100%;
    }
    body.nexart-product-active .nx-pdp-gallery-main .nx-pdp-mount-badge { font-size: 11px; }
    body.nexart-product-active .nx-pdp-title { font-size: clamp(26px, 4vw, 32px); line-height: 1.15; margin: 4px 0 12px; }
    body.nexart-product-active .nx-pdp-eyebrow { margin-bottom: 2px; font-size: 11px; }
    body.nexart-product-active .nx-pdp-rating-row.has-no-reviews { display: none; }
    body.nexart-product-active .nx-pdp-price-block { margin: 0 0 12px; padding: 12px 14px; }
    body.nexart-product-active .nx-pdp-klarna { padding: 7px 9px; margin-top: 7px; }
    body.nexart-product-active .nx-pdp-form-wrap { margin: 0 0 10px; padding: 12px 14px; }
    body.nexart-product-active .nx-pdp-form-wrap form.cart:not(.variations_form),
    body.nexart-product-active .nx-pdp-form-wrap .woocommerce-variation-add-to-cart {
        display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px;
    }
    body.nexart-product-active .nx-pdp-form-wrap .quantity { width: 108px; flex: 0 0 108px; margin: 0 !important; }
    body.nexart-product-active .nx-pdp-form-wrap .quantity .qty { width: 44px !important; min-width: 0; }
    body.nexart-product-active .nx-pdp-form-wrap .quantity button { width: 32px; padding: 0; }
    body.nexart-product-active .nx-pdp-form-wrap .single_add_to_cart_button { flex: 1 1 145px; min-width: 0; width: auto !important; font-size: 12px; padding-left: 10px; padding-right: 10px; }
    body.nexart-product-active .nx-pdp-form-wrap table.variations,
    body.nexart-product-active .nx-pdp-form-wrap .woocommerce-variation { width: 100%; }
    body.nexart-product-active .nx-pdp-cta-reassurance { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 0 0 12px; }
    body.nexart-product-active .nx-pdp-cta-reassurance span { flex: 0 1 auto; border: 0 !important; background: none !important; gap: 5px; padding: 0; font-size: 11px; }
    body.nexart-product-active .nx-pdp-cta-reassurance span::before { position: static; width: 5px; height: 5px; flex: 0 0 5px; box-shadow: none; }
    body.nexart-product-active .nx-pdp-delivery-estimate,
    body.nexart-product-active .nx-pdp-ship-estimate { padding: 10px 12px; font-size: 12px; margin-bottom: 8px; }
    body.nexart-product-active .nx-pdp-delivery-cutoff { display: none; }
    body.nexart-product-active .nx-pdp-magnetic-box { padding: 10px 12px; margin: 0 0 10px; gap: 10px; }
    body.nexart-product-active .nx-pdp-magnetic-box p { font-size: 12px; line-height: 1.45; margin: 3px 0 0; }
    body.nexart-product-active #nx-btn-buy-now { margin: 0 0 12px; min-height: 42px; font-size: 12px; box-shadow: none; }
    body.nexart-product-active .nx-pdp-trust-row { display: none; }
    body.nexart-product-active .nx-pdp-purchase-details {
        border-top: 1px solid var(--nx-border-md); border-bottom: 1px solid var(--nx-border-md);
        margin: 0 0 12px;
    }
    body.nexart-product-active .nx-pdp-purchase-details > summary {
        display: list-item; cursor: pointer; padding: 13px 0; font-size: 14px;
        font-weight: 600; color: var(--nx-text); list-style-position: inside;
    }
    body.nexart-product-active .nx-pdp-purchase-details > .nx-pdp-purchase-details-body { padding: 0 0 12px; }
    body.nexart-product-active .nx-pdp-purchase-details .nx-pdp-usps { margin-bottom: 0; }
    body.nexart-product-active .nx-pdp-purchase-details .nx-pdp-usp span { overflow-wrap: anywhere; }

    /* Header basket remains available; these overlays distracted from native purchase forms. */
    body.nexart-product-active .owp-floating-bar,
    body:is(.nexart-product-active,.nexart-cart-active,.nexart-checkout-active) .moderncart-floating-cart-button,
    body:is(.nexart-product-active,.nexart-cart-active,.nexart-checkout-active) .nx-email-bar { display: none !important; }
    body:is(.nexart-product-active,.nexart-cart-active,.nexart-checkout-active).nx-email-bar-open { padding-bottom: 0 !important; }
    body.nexart-cart-active .nx-cart-trust,
    body.nexart-checkout-active .nexart-checkout-trust-block,
    body.nexart-checkout-active .nexart-checkout-guarantee-note { display: none; }
    body.nexart-checkout-active .nexart-checkout-header { margin-bottom: 18px; }
    body.nexart-checkout-active .nexart-checkout-subtitle { font-size: 13px; }
    body.nexart-checkout-active .nexart-checkout-trust-row { gap: 8px; padding: 10px; }
}

@media (max-width: 360px) {
    body.nexart-product-active .nx-pdp-container { padding-left: 14px; padding-right: 14px; }
    body.nexart-product-active .nx-pdp-title { font-size: 25px; }
}

