/* Stop "Wish List" from showing twice at top of Whishlist page */
.woocommerce .wishlist-title {
    display: none !important;
}


/* Add border to product containers */
.product-small.box {
    border: 1px solid #333333 !important;
    border-radius: 5px;
    padding: 2px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    overflow: hidden; /* This clips anything that spills outside the border radius */
}


/* Adjust spacing between products in product categories */
.archive .products.row {
	    border: 0px solid #ddd !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.archive .products .col {
    padding-left: 2px !important;
    padding-right: 2px !important;
	    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-bottom: 0px !important; 
}
.archive .product-small.box {
    padding: 3px !important;
}


/* Hide Radio-control Shipping Button on the Cart Page */
.page-id-10 .wc-block-components-shipping-rates-control {
    display: none !important;
}


/* Make checkout page 2 equal columns on desktop screens */
.page-id-11 .wc-block-checkout__main {
    flex: 1 !important;
	/* Narrower */
    max-width: 45% !important;
}
.page-id-11 .wc-block-checkout__sidebar {
    flex: 1 !important; /* Wider */
    max-width: 55% !important;
}
/* Make the above checkout responsive on mobile screens */
@media (max-width: 768px) {
  .page-id-11 .wc-block-checkout__container {
    flex-direction: column !important;
  }
  .page-id-11 .wc-block-checkout__main,
  .page-id-11 .wc-block-checkout__sidebar {
    max-width: 100% !important;
  }
}


/* Hide "Add Note" to Order on Checkout Page */
.page-id-11 .wc-block-components-checkbox {
    display: none !important;
}


/* Hide word "Shipping" below "delivery on Checkout page*/
.page-id-11 .wc-block-components-totals-shipping__via {
    display: none !important;
}


/* Hide word "Shipping" below "delivery on Cart page*/
.page-id-10 .wc-block-components-totals-shipping__via {
    display: none !important;
}

/* Hide bottom Add to Wishlist button in product loop */
.tinv-wishlist.tinvwl-after-add-to-cart {
    display: none !important;
}


/* HOME PAGE Center product images with auto width */
.ux-products .box-image,
.product-small .box-image {
    display: flex;
    align-items: center;     /* vertical centering */
    justify-content: center; /* horizontal centering */
}

.ux-products .box-image img,
.product-small .box-image img {
    height: 380px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


/* CATEGORY + SHOP product image wrappers */
.ux-products .box-image,
.product-small .box-image {
    display: flex;
    align-items: flex-start;  /* align to top */
    justify-content: center;  /* center horizontally */
    height: 280px;            /* match image height */
    overflow: hidden;
}

/* Product images */
.ux-products .box-image img,
.product-small .box-image img {
    height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}