/* Sort out menu colours */

.wp-classic-menu-block > .menu li a:where(:not(.wp-element-button)){
    color: white !important;
}

.wp-classic-menu-block > .menu li a:where(:not(.wp-element-button)):hover{
    color: #e9e9e9 !important;
}

.wp-classic-menu-block > .menu ul {
    background-color: var(--wp--preset--color--foreground);
    padding:4px !important;
}


/* Remove shop sorting options */

body.woocommerce form.woocommerce-ordering {
    display:none !important;
}

body.woocommerce p.woocommerce-result-count {
    display:none !important;
}

/* Hide product image */
body.woocommerce .wc-block-grid__product-image {
    display:none !important;
}

/* Set button style */
/*
.wp-element-button, .wp-block-button__link, .btn-primary, .single_add_to_cart_button {
    background-color: var(--wp--preset--color--background) !important;
    border: 2px solid var(--wp--preset--color--foreground) !important;
    color: var(--wp--preset--color--foreground) !important;
    padding: .667em 1.333em;
}

.wp-element-button:hover, .wp-block-button__link:hover, .btn-primary:hover, .single_add_to_cart_button:hover {
    background-color: var(--wp--preset--color--outline) !important;
}

.btn-secondary {
    background-color: var(--wp--preset--color--background) !important;
    border: 2px solid var(--wp--preset--color--outline) !important;
    color: var(--wp--preset--color--foreground) !important;
}

.btn-secondary:hover {
    background-color: var(--wp--preset--color--outline) !important;
}*/

/* Set border on product tile */
body.woocommerce .products-block-post-template .product {
    border-radius: 0.375em;
    border: 2px solid var(--wp--preset--color--outline) !important;
    padding-top: var(--wp--preset--spacing--small);
    padding-right: var(--wp--preset--spacing--small);
    padding-bottom: var(--wp--preset--spacing--small);
    padding-left: var(--wp--preset--spacing--small);
}

/* Set price font and size for product tile */
body.woocommerce .products-block-post-template .product .woocommerce-Price-amount {
    color: var(--wp--preset--color--heading);
    font-size: var(--wp--preset--font-size--xxx-large);
    font-weight: var(--wp--custom--font-weight--medium);
    letter-spacing: -1px;
    line-height: var(--wp--custom--line-height--xx-small);
}

/* Product name styling */
body.woocommerce .products-block-post-template .product .wp-block-post-title {
    color: var(--wp--preset--color--heading);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    line-height: var(--wp--custom--line-height--medium);
    margin-top: var(--wp--preset--spacing--x-small);
    margin-bottom: var(--wp--preset--spacing--xx-small);
    text-align:left;
}

/* Full width button for product tiles */
body.woocommerce .products-block-post-template .product .wp-block-button__link {
    width:100%;
}

.ct-product-min-height {
    min-height:55px;
}

/** Hide woocommerce "Additional Information" **/
.woocommerce-additional-fields {
    display:none;
}

.product-name .wcs-switch-link {
    margin-left:10px !important;
    padding-bottom:1px !important;
    padding-top:1px !important;
}

/** Fix odd styling loss for the T&C's checkbox **/
.woocommerce-terms-and-conditions-wrapper label input[type="checkbox"]:before {
    border-color: #333333 !important;
    background-color: white;
    border-radius: 2px;
}

.woocommerce-terms-and-conditions-wrapper label input[type="checkbox"]:checked:before {
    color: white;
    background-color: #0d6efd;
}

/** Put the spinner in the middle of the visible part of the page **/
.woocommerce .blockUI.blockOverlay:before {
    position:fixed!important
}

.woocommerce-product-gallery__image {
    background-color:#3850a4;
}
