/* Scope store branding without changing page widths, form fields or artwork tools. */
body.pcp-store-brand{--pcp-store-purple:#7450e8;--pcp-store-hover:#5830bc;--pcp-store-ink:#222126;--pcp-store-lime:#dbf578}
body.pcp-store-brand :is(.woocommerce a.button:not(.wc-forward),.woocommerce button.button,.woocommerce input.button,.woocommerce .single_add_to_cart_button,.woocommerce .comment-form input[type=submit],.wc-block-grid__product-add-to-cart a,.wc-block-components-button:not(.is-link):not(.wc-block-components-checkout-place-order-button),.wp-block-woocommerce-product-button a){background:var(--pcp-store-purple)!important;color:#fff!important;border:2px solid var(--pcp-store-ink)!important;border-radius:10px!important;padding:12px 20px!important;min-height:46px;font-size:14px!important;font-weight:800!important;line-height:1.4!important;text-decoration:none!important;box-shadow:none!important;text-transform:none;transition:background-color .15s ease}
body.pcp-store-brand :is(.woocommerce a.button:not(.wc-forward),.woocommerce button.button,.woocommerce input.button,.woocommerce .single_add_to_cart_button,.woocommerce .comment-form input[type=submit],.wc-block-grid__product-add-to-cart a,.wc-block-components-button:not(.is-link):not(.wc-block-components-checkout-place-order-button),.wp-block-woocommerce-product-button a):hover{background:var(--pcp-store-hover)!important;color:#fff!important}
body.pcp-store-brand :is(.woocommerce a.checkout-button,.woocommerce a.wc-forward,.woocommerce #payment #place_order,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button){background:var(--pcp-store-lime)!important;color:var(--pcp-store-ink)!important;border:2px solid var(--pcp-store-ink)!important;border-radius:10px!important;padding:14px 22px!important;min-height:48px;font-size:15px!important;font-weight:800!important;line-height:1.4!important;text-decoration:none!important;box-shadow:none!important}
body.pcp-store-brand :is(.woocommerce a.checkout-button,.woocommerce a.wc-forward,.woocommerce #payment #place_order,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button):hover{background:#e7ffa6!important;color:var(--pcp-store-ink)!important}
body.pcp-store-brand :is(.woocommerce button[name=apply_coupon],.wc-block-components-totals-coupon__button){background:var(--pcp-store-ink)!important;color:#fff!important}
body.pcp-store-brand :is(.woocommerce button[name=apply_coupon],.wc-block-components-totals-coupon__button):hover{background:#403b49!important}
body.pcp-store-brand :is(.woocommerce .woocommerce-info a:not(.button),.woocommerce .product_meta a,.woocommerce .woocommerce-breadcrumb a,.woocommerce .woocommerce-tabs a:not(.button),.woocommerce-cart .product-name a,.woocommerce-checkout .product-name a,.woocommerce .showcoupon,.woocommerce .showlogin,.woocommerce .woocommerce-privacy-policy-link,.woocommerce .woocommerce-terms-and-conditions-link,.wc-block-components-product-name,.wc-block-components-totals-coupon-link,.wc-block-components-checkout-return-to-cart-button,.wc-block-components-button.is-link){color:var(--pcp-store-hover)!important;text-underline-offset:3px}
body.pcp-store-brand :is(.woocommerce input[type=checkbox],.woocommerce input[type=radio],.wc-block-components-checkbox__input,.wc-block-components-radio-control__input){accent-color:var(--pcp-store-purple)}
body.pcp-store-brand .woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center}
body.pcp-store-brand .woocommerce nav.woocommerce-pagination ul li{border:0}
body.pcp-store-brand .woocommerce nav.woocommerce-pagination ul li :is(a,span){border:1px solid #d5c8fa;border-radius:8px;min-width:40px;padding:12px;background:#f1ecfc;color:var(--pcp-store-hover)}
body.pcp-store-brand .woocommerce nav.woocommerce-pagination ul li :is(.current,a:hover){background:var(--pcp-store-purple);color:#fff}
/* Submit buttons only: keep the form plugin's fields and layout intact. */
body.pcp-store-brand :is(.forminator-button-submit,.wpforms-submit,.ff-btn-submit,.wpcf7-submit,.elementor-form button[type=submit],.gform_wrapper .gform_button,.jet-form-builder__submit){background:var(--pcp-store-purple)!important;color:#fff!important;border:2px solid var(--pcp-store-ink)!important;border-radius:10px!important;padding:13px 22px!important;min-height:46px;font-size:15px!important;font-weight:800!important;line-height:1.4!important;box-shadow:none!important;text-transform:none}
body.pcp-store-brand :is(.forminator-button-submit,.wpforms-submit,.ff-btn-submit,.wpcf7-submit,.elementor-form button[type=submit],.gform_wrapper .gform_button,.jet-form-builder__submit):hover{background:var(--pcp-store-hover)!important;color:#fff!important}
body.pcp-store-brand :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .single_add_to_cart_button,.wc-block-components-button,.wc-block-grid__product-add-to-cart a,.wp-block-woocommerce-product-button a,.forminator-button-submit,.wpforms-submit,.ff-btn-submit,.wpcf7-submit,.elementor-form button[type=submit],.gform_wrapper .gform_button,.jet-form-builder__submit):focus-visible{outline:3px solid var(--pcp-store-hover)!important;outline-offset:4px!important}
body.pcp-store-brand :is(.woocommerce button.button,.woocommerce input.button,.woocommerce .single_add_to_cart_button,.wc-block-components-button,.forminator-button-submit,.wpforms-submit,.ff-btn-submit,.wpcf7-submit,.elementor-form button[type=submit]):is(:disabled,.disabled,[aria-disabled=true]){opacity:.5!important;cursor:not-allowed!important;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){body.pcp-store-brand :is(.woocommerce a.button,.woocommerce button.button,.wc-block-components-button){transition:none!important}}

/* Keep stock status below the image instead of across the artwork. */
body.pcp-store-brand .woocommerce ul.products li.product .ast-shop-product-out-of-stock {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    display: block !important;
    width: fit-content !important;
    max-width: calc(100% - 16px);
    margin: 8px auto 10px !important;
    padding: 6px 9px !important;
    background: var(--pcp-store-purple) !important;
    color: #fff !important;
    border: 1px solid var(--pcp-store-ink);
    border-radius: 7px;
    box-sizing: border-box;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 800;
    text-align: center;
    white-space: normal;
}

/* Astra's mobile order summary: allow item details to flow vertically.
   A flex row squeezes the title, quantity, paired preview and metadata together. */
@media (max-width: 921px) {
    body.pcp-store-brand.woocommerce-checkout .woocommerce :is(#ast-order-review-content, #order_review) .woocommerce-checkout-review-order-table {
        width: 100% !important;
        table-layout: fixed;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce :is(#ast-order-review-content, #order_review) .woocommerce-checkout-review-order-table :is(th, td).product-name {
        display: table-cell !important;
        width: 72% !important;
        vertical-align: top;
        padding: 16px 12px !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
        line-height: 1.5 !important;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce :is(#ast-order-review-content, #order_review) .woocommerce-checkout-review-order-table :is(th, td).product-total {
        width: 28% !important;
        vertical-align: top;
        padding: 16px 12px 16px 4px !important;
        white-space: nowrap;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name :is(.ast-product-image, .ast-product-name) {
        display: block !important;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .product-quantity {
        display: inline-block !important;
        width: auto !important;
        margin-top: 4px;
        white-space: nowrap;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .pcp-checkout-preview {
        display: block !important;
        width: 100%;
        margin: 12px 0 !important;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .pcp-cart-preview {
        width: 180px !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .variation {
        display: block !important;
        width: 100% !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        font-size: 13px;
        line-height: 1.5;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .variation :is(dt, dd) {
        float: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name .variation dd p {
        margin: 0 0 6px !important;
    }
    body.pcp-store-brand.woocommerce-checkout .woocommerce #ast-order-review-toggle .ahfb-svg-iconset {
        fill: var(--pcp-store-purple) !important;
    }
}
/* Reduce repeated text on phone-sized catalog and related-product cards. */
@media (max-width: 640px) {
    body.pcp-store-brand .woocommerce ul.products li.product .ast-woo-product-category {
        display: none !important;
    }
}
