/* === WooCommerce Style Overrides === */
/* Prevent WC defaults from breaking JCTY theme layout */

/* Reset WC grid defaults */
.woocommerce ul.products,
.woocommerce-page ul.products{
    display:contents;
    margin:0;padding:0;
    list-style:none
}
.woocommerce ul.products li.product{
    float:none;width:auto;margin:0;padding:0;clear:none
}

/* Hide WC defaults we replaced with custom UI */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{display:none}

/* Reset WC product image containers */
.woocommerce div.product div.images,
.woocommerce #content div.product div.images{
    float:none;width:auto;margin:0
}
.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary{
    float:none;width:auto;margin:0
}

/* Reset WC tabs (we have our own) */
.woocommerce div.product .woocommerce-tabs{display:none}

/* Reset WC related products (we have our own) */
.woocommerce .related.products{display:none}

/* Reset WC price display wrapping */
.woocommerce div.product p.price,
.woocommerce div.product span.price{
    font-size:inherit;color:inherit;font-weight:inherit
}

/* Hide WC notices bar when empty */
.woocommerce-notices-wrapper:empty{display:none}

/* Remove WC default button styles on archive */
.woocommerce ul.products li.product .button{display:none}

/* Reset WC star rating (we have custom) */
.woocommerce .star-rating{display:none}

/* Override WC breadcrumb (we have custom) */
.woocommerce .woocommerce-breadcrumb{display:none}

/* Ensure our product-card images are styled properly */
.woocommerce ul.products li.product a img{
    margin:0;padding:0;box-shadow:none;border:none
}

/* Reset WC pagination (we have custom) */
.woocommerce nav.woocommerce-pagination{display:none}

/* Hide WC default product gallery (we have custom) */
.woocommerce div.product .woocommerce-product-gallery{display:none}

/* Hide default add-to-cart form (we use inquiry model) */
.woocommerce div.product form.cart{display:none}

/* Hide default meta on single */
.woocommerce div.product .product_meta{display:none}

/* Ensure custom layout isn't broken by WC .woocommerce wrapper */
.woocommerce .site-main{width:100%}
.woocommerce-page .site-main{width:100%}
