/* =========================================================
   ASCENDSPHERE STRATEGIES
   CLEAN MASTER ADDITIONAL CSS
   ========================================================= */


/* =========================================================
   PRODUCT DETAILS ACCORDION
   ========================================================= */

/* Keep Product Details accordion panels open */
.wp-block-accordion-panel,
.wp-block-accordion-panel[hidden] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Hide accordion plus/minus icons */
.wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* Make headings behave like regular section headings */
.wp-block-accordion-heading__toggle {
    pointer-events: none !important;
    cursor: default !important;
}


/* =========================================================
   WOOCOMMERCE VARIATION PRICES
   ========================================================= */

/* Make sure variation containers remain visible */
.single_variation_wrap,
.single_variation,
.woocommerce-variation,
.woocommerce-variation-price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Make selected variation prices visible */
.single_variation .woocommerce-variation-price,
.single_variation .price,
.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount,
.woocommerce-variation-price .amount,
.woocommerce-variation-price bdi {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style selected variation price */
.woocommerce-variation-price {
    margin: 15px 0 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
}


/* =========================================================
   PRODUCT #890 - UNLOCKED PHOTO ORDERS
   ALLOW ALL PRICES FOR TESTING
   ========================================================= */

/*
   IMPORTANT:
   We are temporarily allowing ALL WooCommerce prices
   to display on Product #890.

   Do NOT hide the top price yet.
*/

body.postid-890 .summary .price,
body.postid-890 .wp-block-woocommerce-product-price,
body.postid-890 .woocommerce-variation-price,
body.postid-890 .woocommerce-variation-price .price,
body.postid-890 .woocommerce-variation-price .woocommerce-Price-amount,
body.postid-890 .woocommerce-variation-price .amount,
body.postid-890 .woocommerce-variation-price bdi {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   PRODUCT #890 - PRODUCT INPUT FIELD TOTALS
   ========================================================= */

/* Keep Product / Options / Grand Total area visible */
body.postid-890 .wapf-product-totals,
body.postid-890 .wapf-product-total,
body.postid-890 .wapf-options-total,
body.postid-890 .wapf-grand-total {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   PRODUCT #890 - PAYPAL / VENMO
   ========================================================= */

/*
   Hide PayPal/Venmo express buttons on the product page only.
   This does NOT remove those payment methods from checkout.
*/

body.postid-890 .ppcp-messages,
body.postid-890 .ppc-button-wrapper,
body.postid-890 .ppcp-button-container,
body.postid-890 .paypal-buttons,
body.postid-890 [id*="ppc-button"],
body.postid-890 [id*="paypal-button"],
body.postid-890 [class*="paypal-button"],
body.postid-890 [class*="venmo"] {
    display: none !important;
}


/* =========================================================
   CATALOG / SHOP CLEANUP
   ========================================================= */

/* Remove empty catalog price elements */
.catalog-price-clean .wc-block-components-product-price__value:empty,
.catalog-price-clean .wc-block-components-product-price__regular:empty,
.catalog-price-clean .wc-block-components-product-price__sale:empty {
    display: none !important;
}

/* Hide Affirm promotional message on shop/category cards only */
body.tax-product_cat p.affirm-as-low-as,
body.post-type-archive-product p.affirm-as-low-as,
body.woocommerce-shop p.affirm-as-low-as {
    display: none !important;
}


/* =========================================================
   SHOP PAGE SPACING
   ========================================================= */

.woocommerce-shop main .wp-block-group,
.post-type-archive-product main .wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.woocommerce-shop main h1,
.post-type-archive-product main h1 {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.woocommerce-shop .wp-block-woocommerce-product-collection,
.post-type-archive-product .wp-block-woocommerce-product-collection {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   CART / CHECKOUT DETAILS
   ========================================================= */

.wc-block-components-product-details {
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eeeeee;
}

/* Individual product details */
.wc-block-components-product-details li {
    display: grid !important;
    grid-template-columns: 48% 52% !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eeeeee;
    line-height: 1.4 !important;
}

/* Labels */
.wc-block-components-product-details__name {
    font-weight: 600 !important;
    color: #333333 !important;
    margin: 0 !important;
}

/* Customer selections */
.wc-block-components-product-details__value {
    font-weight: 400 !important;
    color: #333333 !important;
    margin: 0 !important;
}

/* Remove separator slashes */
.wc-block-components-product-details span[aria-hidden="true"] {
    display: none !important;
}

.wc-block-components-product-details li > span:only-child {
    display: none !important;
}

/* Order summary */
.wc-block-components-order-summary-item__description {
    line-height: 1.4 !important;
}


/* =========================================================
   MOBILE CART / CHECKOUT
   ========================================================= */

@media (max-width: 600px) {

    .wc-block-components-product-details li {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }

}

/* =========================================================
   UNLOCKED PHOTO ORDER PRICE BOX
   ========================================================= */

body.postid-890 #unlocked-photo-price-box {
    margin: 18px 0 20px 0 !important;
    padding: 16px 20px !important;
    background: #faf7fc !important;
    border-left: 5px solid #4B0082 !important;
    max-width: 500px !important;
}

body.postid-890 .unlocked-unit-price {
    font-size: 18px !important;
    margin-bottom: 7px !important;
}

body.postid-890 .unlocked-order-total {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #4B0082 !important;
}

body.postid-890 #unlocked-unit-price {
    font-weight: 700 !important;
}

body.postid-890 #unlocked-order-total {
    font-size: 26px !important;
}

/* Founder's Collection only — limit image display size */
body.single-product.postid-1796 .wp-block-woocommerce-product-image-gallery,
body.single-product.postid-1796 .woocommerce-product-gallery,
body.single-product.postid-1796 .wc-block-product-gallery {
  max-width: 360px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-product.postid-1796 .wp-block-woocommerce-product-image-gallery img,
body.single-product.postid-1796 .woocommerce-product-gallery img,
body.single-product.postid-1796 .wc-block-product-gallery img {
  max-width: 100% !important;
  height: auto !important;
}
/* Executive Advisory Session - Product 487 */
body.single-product.postid-487 .woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}
/* Executive Advisory Session — Product 487 */

/* Keep the image gallery within its column */
body.single-product.postid-487
.woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Remove cropping from gallery containers */
body.single-product.postid-487
.woocommerce-product-gallery__wrapper,
body.single-product.postid-487
.woocommerce-product-gallery__image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Show the entire graphic */
body.single-product.postid-487
.woocommerce-product-gallery img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
}