/*
=========================================================
AQUALINKED BOOKSTORE + BMVP
MOBILE JUSTIFIED TEXT FOR CUSTOMER-FACING PROSE
Version: 2026-07-12-all-prose

Applies only on phones and small tablets.
Desktop layout and alignment remain unchanged.
=========================================================
*/

@media (max-width: 760px) {
    /*
       Main descriptive text:
       home introductions, category introductions,
       book and product summaries, technical descriptions,
       training-support descriptions, legal copy,
       document introductions, checkout explanations,
       and customer-facing information cards.
    */
    main p,
    article p,
    .aq-wrap > p,
    .aq-wrap section > p,
    .aq-hero p,
    .aq-card .aq-summary,
    .aq-summary,
    .bmvp-shell > p,
    .bmvp-top p,
    .bmvp-card p,
    .bmwt-shell > p,
    .bmwt-hero p,
    .bmwt-summary,
    .store-container > p,
    .store-container section > p,
    .page-subtitle,
    .product-summary,
    .product-description,
    .product-summary-box p,
    .product-description-box p,
    .product-info-card p,
    .product-details p,
    .product-detail-card p,
    .technical-details p,
    .training-description,
    .service-description,
    .document-intro p,
    .document-description,
    .legal-content p,
    .policy-content p,
    .terms-content p,
    .content-area p,
    .page-content p,
    .customer-content p,
    .checkout-copy p,
    .receipt-copy p,
    .notice-copy p {
        text-align: justify !important;
        text-align-last: left !important;
        text-justify: inter-word !important;
        -webkit-hyphens: auto !important;
        hyphens: auto !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        line-height: 1.68 !important;
    }

    /*
       Justify long descriptive list items, but do not affect
       menus, filters, cart controls or compact metadata.
    */
    .product-description li,
    .product-summary li,
    .technical-details li,
    .training-description li,
    .legal-content li,
    .policy-content li,
    .terms-content li,
    .document-description li,
    .content-area article li {
        text-align: justify !important;
        text-align-last: left !important;
        text-justify: inter-word !important;
        -webkit-hyphens: auto !important;
        hyphens: auto !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        line-height: 1.65 !important;
    }

    /*
       Keep interface text natural. These elements should not
       be stretched like reading paragraphs.
    */
    nav p,
    header p,
    footer p,
    .aq-nav p,
    .bmwt-nav p,
    .btn p,
    .button p,
    button p,
    .badge p,
    .tag p,
    .aq-meta,
    .bmwt-meta,
    .product-price,
    .price,
    .stock,
    .availability,
    .counter,
    .bmvp-counter p,
    .bmvp-count-box p,
    .bmvp-install-help,
    .bmvp-reset-help,
    .pagination,
    .page-info,
    .filter-status,
    .form-help,
    .help-text,
    .alert,
    .notice,
    .status-message {
        text-align: left !important;
        text-align-last: auto !important;
        -webkit-hyphens: none !important;
        hyphens: none !important;
    }
}

/* Very narrow phones need slightly more line spacing. */
@media (max-width: 420px) {
    main p,
    article p,
    .aq-hero p,
    .aq-summary,
    .bmvp-top p,
    .bmvp-card p,
    .bmwt-hero p,
    .bmwt-summary,
    .page-subtitle,
    .product-summary,
    .product-description,
    .product-summary-box p,
    .product-description-box p,
    .product-info-card p,
    .product-details p,
    .technical-details p,
    .training-description,
    .service-description,
    .document-intro p,
    .document-description,
    .legal-content p,
    .policy-content p,
    .terms-content p,
    .content-area p,
    .page-content p {
        line-height: 1.72 !important;
    }
}
/* /AQUALINKED BOOKSTORE + BMVP MOBILE JUSTIFIED TEXT */
