/**
 * WO CPRI Site Essentials — WooCommerce book/product presentation
 * Version 0.2.1
 *
 * The selectors are intentionally stronger than v0.2.0 because the active CPRI
 * theme/tab stack applies product typography later in the cascade.
 */

body.single-product div.product .summary .woocommerce-product-details__short-description,
body.single-product div.product .summary [class*="short-description"] {
    max-width: 820px !important;
    margin: 22px 0 24px !important;
    font-size: 18px !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
}

body.single-product div.product .summary .woocommerce-product-details__short-description p,
body.single-product div.product .summary [class*="short-description"] p {
    margin: 0 0 14px !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.single-product div.product .summary form.cart,
body.single-product div.product .summary .variations_form {
    margin-top: 20px !important;
}

body.single-product #tab-description,
body.single-product .woocommerce-Tabs-panel--description,
body.single-product .wc-tab#tab-description,
body.single-product [role="tabpanel"]#tab-description {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-product #tab-description > h2:first-child,
body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
    margin: 0 0 24px !important;
    font-size: 34px !important;
    line-height: 1.16 !important;
    font-weight: 600 !important;
}

body.single-product #tab-description > p:first-of-type,
body.single-product .woocommerce-Tabs-panel--description > p:first-of-type {
    max-width: 980px !important;
    margin: 0 0 24px !important;
    font-size: 23px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}

body.single-product #tab-description p,
body.single-product #tab-description li,
body.single-product .woocommerce-Tabs-panel--description p,
body.single-product .woocommerce-Tabs-panel--description li {
    font-size: 18px !important;
    line-height: 1.68 !important;
}

body.single-product #tab-description p,
body.single-product .woocommerce-Tabs-panel--description p {
    max-width: 1040px !important;
    margin: 0 0 22px !important;
}

body.single-product #tab-description h3,
body.single-product .woocommerce-Tabs-panel--description h3 {
    max-width: 1040px !important;
    margin: 34px 0 14px !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body.single-product #tab-description ul,
body.single-product #tab-description ol,
body.single-product .woocommerce-Tabs-panel--description ul,
body.single-product .woocommerce-Tabs-panel--description ol {
    max-width: 1000px !important;
    margin: 10px 0 26px 22px !important;
    padding-left: 22px !important;
}

body.single-product #tab-description li,
body.single-product .woocommerce-Tabs-panel--description li {
    margin-bottom: 8px !important;
}

@media (max-width: 782px) {
    body.single-product div.product .summary .woocommerce-product-details__short-description,
    body.single-product div.product .summary [class*="short-description"] {
        max-width: none !important;
        margin: 18px 0 20px !important;
        font-size: 16px !important;
        line-height: 1.58 !important;
    }

    body.single-product #tab-description,
    body.single-product .woocommerce-Tabs-panel--description,
    body.single-product .wc-tab#tab-description,
    body.single-product [role="tabpanel"]#tab-description {
        max-width: none !important;
    }

    body.single-product #tab-description > h2:first-child,
    body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
        font-size: 28px !important;
    }

    body.single-product #tab-description > p:first-of-type,
    body.single-product .woocommerce-Tabs-panel--description > p:first-of-type {
        font-size: 19px !important;
    }

    body.single-product #tab-description p,
    body.single-product #tab-description li,
    body.single-product .woocommerce-Tabs-panel--description p,
    body.single-product .woocommerce-Tabs-panel--description li {
        font-size: 16px !important;
        line-height: 1.62 !important;
    }
}
