/* Sticky panel only for mobile (up to 767px) */
@media (max-width: 767px) {
	/* Hide the original add to cart button */
	.single-product form.cart .single_add_to_cart_button {
		display: none !important;
	}
	
	/* Sticky panel */
	.mobile-sticky-cart {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #fff;
		padding: 12px 15px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		z-index: 9999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 15px;
	}
	.mini_cart_wrap_active .mobile-sticky-cart {
		z-index: 0
	}
	.woo_product_content .configure-product {
		display: none!important
	}
	/* Price block */
	.mobile-sticky-cart__price {
		display: flex;
		flex-direction: column;
		line-height: 1.3;
		font-size: 1.125rem;
		font-weight: 600;
		color: var(--dark-text);
		white-space: nowrap;
        flex-shrink: 0;
	}
	
	.mobile-sticky-cart__price del {
		color: var(--grey);
		font-size: .75rem;
		font-weight:400;
		text-decoration: line-through;
	}
	
	.mobile-sticky-cart__price ins {
		text-decoration: none;
		color: var(--dark-text);
	}
	
	.mobile-sticky-cart__price .current-price {
		font-size: 1.125rem;
		font-weight: 600;
		color: var(--dark-text);
	}
	
	/* Add to cart button */
	.mobile-sticky-cart__button {
		flex-basis: 100%;
	}
	
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) .mobile-sticky-cart__button button.button {
		border-radius: 0.625rem!important;
		background: var(--accent-blue)!important;
		color: #fff;
		border: none;
		font-size: 1rem!important;
		font-weight: 600;
		cursor: pointer;
		text-transform: none;
		white-space: nowrap;
		transition: background 0.3s;
	}
	
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) .mobile-sticky-cart__button button.button:hover {
		background: var(--dark-text);
	}
	.mobile-sticky-cart__button button.button:before {
		content: '';
		display: block;
		width: 1.25rem;
		height: 1.25rem;
		background: url('../../../../inc/assets/images/shoping_bag2.svg') no-repeat center;
		background-size: contain;
		margin-right:.5rem
	} 
	/* Bottom padding for page content */
	body.single-product {
		padding-bottom: 70px;
	}
}

/* Hide the panel on desktop */
@media (min-width: 768px) {
	.mobile-sticky-cart {
		display: none !important;
	}
}
