img {
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
}

.wc-pao-addon-image-swatch img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
    object-fit: cover !important;
}
/* WooCommerce Cart - Proceed to Checkout button */
.wc-block-cart__submit-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 6px !important;
    padding: 14px 24px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}
/* “Select options” button under New in Store */
.wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .wp-block-button__link {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

.wc-block-components-product-button__button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background-color: #f2f2f2 !important;
    color: #000000 !important;
}

/* make the large product images on the left slightly smaller */
.single-product .woocommerce-product-gallery__image img {
	max-height: 650px !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	object-fit: contain !important;
}

/* Center products on the Shop page */
.woocommerce-shop ul.products {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 30px !important;
}

.woocommerce-shop ul.products li.product {
	float: none !important;
	margin: 0 !important;
	text-align: center !important;
}

/* Shop page background color */
body.woocommerce-shop,
body.woocommerce-shop .site-main {
	background-color: #dcdcdc !important;
}

/* Turn off the moving zoom image on product pages */
.single-product .woocommerce-product-gallery .zoomImg {
    display: none !important;
}

.single-product .woocommerce-product-gallery__image {
    cursor: default !important;
}

/* Background image for Shop page only */
body.post-type-archive-product {
    background-image: url("https://whitebutterflyjournals.com/wp-content/uploads/2026/08/Shop-Background-2.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Center the Shop page title */
body.post-type-archive-product .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header__title {
    text-align: center;
}

/* Hide the site name in the upper-left on the Shop page */
body.post-type-archive-product .site-title {
    display: none;
}

/* Hide results count and sorting menu on Shop page */
body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering {
    display: none;
}

/* Position and pad the Shop content box */
body.post-type-archive-product main.site-main {
    width: calc(100% - 80px);
    max-width: 600px;
    margin: 50px auto 80px;
    padding: 40px;
    box-sizing: border-box;
	border: 2px solid black;

}
 
/* White product buttons on Shop page */
body.post-type-archive-product ul.products li.product .button {
    background-color: white;
    color: black;
    border: 1px solid black;
}

/* Border around product images on Shop page */
body.post-type-archive-product ul.products li.product img {
	border: 1px solid black;
		box-sizing: border-box
}

/* Product titles on the Shop page */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
	color: navyblue;
	font-weight: 700;
	font-size 18px;
}

/* Remove magnifying-glass icon from product images */
.single-product .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* Keep cart totals fully visible on phones */
@media only screen and (max-width: 767px) {

    .woocommerce-cart .cart-collaterals,
    .woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart .cart_totals table {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Fix WooCommerce Cart Block on iPhone */
@media only screen and (max-width: 767px) {

    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-components-sidebar,
    .wc-block-components-totals-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .wc-block-cart__sidebar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .wc-block-components-totals-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Fix cart totals being cut off on phones */
@media only screen and (max-width: 767px) {

    .wc-block-cart__totals-title,
    .wc-block-components-totals-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-totals-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .wc-block-components-totals-item__label {
        position: static !important;
        margin: 0 !important;
        transform: none !important;
        text-align: left !important;
    }


    .wc-block-components-totals-item__value {
        position: static !important;
        margin-left: auto !important;
        text-align: right !important;
    }

    .wc-block-cart__submit-container {
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Hide Additional Information and Reviews */
.woocommerce div.product .woocommerce-tabs {
	display: none; !important;
}

/* Make the large journal picture follow the cover choices */
@media (min-width: 769px) {
    .single-product div.product {
        display: flow-root !important;
        overflow: visible !important;
    }

    .single-product .woocommerce-product-gallery {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 110px !important;
        align-self: flex-start !important;
        height: fit-content !important;
    }

    .single-product .site-main,
    .single-product .content-area,
    .single-product .site-content {
        overflow: visible !important;
    }
}

/* Cart product description and product details */
.wc-block-cart-items__row .wc-block-components-product-metadata,
.wc-block-cart-items__row .wc-block-components-product-metadata *,
.woocommerce-cart-form .variation,
.woocommerce-cart-form .variation * {
    color: #000000 !important;
}

/* Cart totals: labels, prices and amounts */
.wc-block-cart .wc-block-components-totals-item,
.wc-block-cart .wc-block-components-totals-item *,
.wc-block-cart .wc-block-components-formatted-money-amount,
.cart_totals,
.cart_totals * {
    color: #000000 !important;
}