/* 1.2.17: restore the native Woodmart column layout. Never set display,
   grid tracks, widths or flex bases on the theme's layout containers. */
@media (min-width: 1025px) {
  body.gfip-unified-product.single-product .woocommerce-product-gallery {
    position: sticky;
    top: calc(var(--wd-header-sticky-h, 100px) + 16px);
    align-self: start;
  }
  body.gfip-unified-product.single-product.admin-bar .woocommerce-product-gallery {
    top: calc(var(--wd-header-sticky-h, 100px) + 48px);
  }
}
/* 1.2.18: gallery is desktop-only; use the same breakpoint as the desktop sticky rule. */
@media (max-width: 1024px) {
  body.gfip-unified-product.single-product :is(.woocommerce-product-gallery,.product-images,.product-gallery,.wd-product-images,.wd-single-gallery,.wp-block-woocommerce-product-image-gallery,.wp-block-woocommerce-product-gallery,.elementor-widget-woocommerce-product-images,.elementor-widget-wd_single_product_images) {display:none!important}
  body.gfip-unified-product.single-product .product-image-summary > :has(.woocommerce-product-gallery,.product-images,.product-gallery,.wd-product-images,.wd-single-gallery):not(:has(form.cart,.summary,.entry-summary,.product-summary,#gfip-network-shortcuts,.gfip-catalog-primary)) {display:none!important}
}

body.gfip-unified-product .gfip-catalog-primary .gfip-catalog-heading{box-sizing:border-box;display:flex!important;align-items:center;gap:6px;width:100%;max-width:100%;min-height:41px;padding:7px 10px!important;margin:0 0 8px!important;background:#f3effa!important;border:1px solid #e1d6f0!important;border-radius:10px!important;color:#29203d!important;line-height:1.25;font-size:16px!important;font-weight:700!important;text-align:left!important}
.gfip-catalog-heading .gfip-catalog-heading-text{display:inline-flex;align-items:center;gap:8px;min-width:0}
.gfip-catalog-heading .gfip-catalog-heading-icon{width:24px;height:24px;flex:none;object-fit:contain;margin:0;padding:0;box-shadow:none}
.gfip-catalog-heading .tm-epo-required{display:none!important}
body.gfip-unified-product .gfip-catalog-primary{width:100%;max-width:100%;min-width:0}
body.gfip-unified-product .gfip-catalog-primary .gfip-radio-cards{margin-bottom:12px}
body.gfip-unified-product #gfip-network-shortcuts{margin:0 0 10px;padding:0;align-self:stretch}
body.gfip-unified-product .woocommerce-info{padding:10px 12px;font-size:13px;line-height:1.4;min-height:0}

/* Keep only the compact heading below the network shortcuts. */
body.gfip-unified-product.single-product :is(.gfsc-instagram-heading,.product_title,.elementor-widget-woocommerce-product-title,.elementor-widget-wd_single_product_title,.wp-block-woocommerce-product-title,.wd-single-product-title):not(:has(.gfip-catalog-heading,#gfip-network-shortcuts,form.cart)){display:none!important;margin:0!important;padding:0!important;min-height:0!important}
