/* WooCommerce
--------------------------------------------- */
/**
 * Product image flipper
 */
.pif-has-gallery {
	position: relative;
}

.pif-has-gallery .onsale {
	z-index: 999999;
}

.pif-has-gallery .wp-post-image {
	opacity: 1;
}

.pif-has-gallery .wp-post-image--secondary {
	position: absolute;
	top: 0; left: 0;
	opacity: 0;
}

/* backward compatibility - .woocommerce-LoopProduct-link will probably be removed in future releases */
ul.products li.pif-has-gallery a.woocommerce-LoopProduct-link [class*="wp-post-image"] {
	-webkit-transition: opacity .5s ease;
	-o-transition: opacity .5s ease;
	transition: opacity .5s ease;
}

ul.products li.pif-has-gallery a.woocommerce-LoopProduct-link:hover .wp-post-image {
	opacity: 0;
}

ul.products li.pif-has-gallery a.woocommerce-LoopProduct-link:hover .wp-post-image--secondary {
	opacity: 1;
}

ul.products li.pif-has-gallery a.woocommerce-loop-product__link [class*="wp-post-image"] {
	-webkit-transition: opacity .5s ease;
	-o-transition: opacity .5s ease;
	transition: opacity .5s ease;
}

ul.products li.pif-has-gallery a.woocommerce-loop-product__link:hover .wp-post-image {
	opacity: 0;
}

ul.products li.pif-has-gallery a.woocommerce-loop-product__link:hover .wp-post-image--secondary {
	opacity: 1;
} 


/* Buttons */
.woocommerce .button {
	background:#74243c !important;
	border-radius:0 !important;
	color:#fff !important;
	font-weight:400 !important;
	text-transform:uppercase;
}


/* Catalogue */
.woocommerce ul.products li.product .button {
    display:none;
}

.woocommerce ul.products li.product a img {
    margin:0;
	margin-bottom:0.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    font-size:0.85rem;
}

.home .woocommerce ul.products li.product, 
.home .woocommerce-page ul.products li.product {
	margin-bottom:0 !important;
}

	@media (max-width: 769px) {
		.home .woocommerce ul.products li.product:nth-child(3), 
		.home .woocommerce ul.products li.product:nth-child(4), 
		.home .woocommerce-page ul.products li.product:nth-child(3),
		.home .woocommerce-page ul.products li.product:nth-child(4) {
			margin-top:2rem !important;
		}
	}

.woocommerce span.onsale {
    background-color: #74243c;
}

/* Single Product */
	@media (min-width: 1200px) {
		.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
			margin-left:3%;
			margin-right:3%;
			width: 42%;
		}
	}

	@media (min-width: 576px) and (max-width: 768px) {
		.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
			margin-left:auto;
			margin-right:auto;
			max-width:500px;
		}
	}

.woocommerce div.product .product_title {
	font-size: calc(1.275rem + .3vw) !important;
	margin-bottom:1.2rem;	
}

.woocommerce .price {
    color:#222 !important;
	font-size:1.1rem !important;
	font-weight:700;
}

.woocommerce div.qty {
    float:left;
    margin-right:10px;
}

.woocommerce div.product form.cart .variations select {
	padding:0.3rem;
}

.woocommerce div.product form.cart .button {
	clear:both !important;
	font-size:0.9rem !important;
	font-weight:400 !important;
	margin-top:1rem !important;
	padding:0.8rem 1rem !important;
	width:100%;
}

.single-product-tabs .nav-pills .nav-link.active, 
.single-product-tabs .nav-pills .show >.nav-link {
	border-bottom:1px solid #1e1e1e;
}

/* remove clear for every 4th image */
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: none;
}
 
/* add clear for every 6th image (change for yourself) */
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(8n+1) {
	clear: left;
}
 
/* Resize image, for default is 25%, for 5 is 20%, for 6 is 16.666%, etc. */
.woocommerce div.product div.images .flex-control-thumbs li {
	width: 16.666%;
	width:12.5%;
}

/* Wishlist */
.yith-wcwl-add-to-wishlist {
    margin-top:0;
}

.yith-wcwl-add-button a.add_to_wishlist {
	background:#fff;
	border:1px solid #1e1e1e;
	color:#1e1e1e;
	font-size:0.6875rem !important;
	font-weight:400;
	display:inline-block;
	margin:0 !important;
	padding:0.375rem 0.75rem !important;	
	text-decoration:none;
	text-transform:uppercase !important;
}

.yith-wcwl-add-button a.add_to_wishlist:hover {
	background:#1e1e1e;
	color:#fff;
}

.product_meta {
	font-size:0.6875rem;
}

.product_meta a {
	color:#1e1e1e;
	text-decoration:underline;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color:#74243c;
}

.woocommerce .related.products {
	margin-top:3rem;
}

.woocommerce .related.products h2 {
	font-size: 1.25rem !important;
	margin-bottom:1.5rem !important;
}

.woocommerce .related.products .products h2,
.woocommerce .recently-viewed .products h2 {
    font-size:0.85rem !important;
	margin-bottom:1rem !important;
	padding:0.5rem 0 0 0 !important;
}

.woocommerce .related.products .products .button,
.woocommerce .recently-viewed .products .button,
.woocommerce .related.products .products .yith-wcwl-add-button,
.woocommerce .recently-viewed .products .yith-wcwl-add-button {
	display:none !important;
}

.woocommerce ul.products li.product .price {
    font-size:0.85rem !important;
	margin:0 !important;
}

.woocommerce div.product p.stock {
	display:none !important;
}

.woocommerce-tabs .additional_information_tab {
	visibility:hidden !important;
}

.woocommerce-Tabs-panel--additional_information {
	display:none !important;
}


/* Cart + Checkout */
.woocommerce .cart .button, .woocommerce .cart input.button {
	font-size:0.8rem !important;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
	font-size:0.85rem !important;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
    padding:0.12rem 0.5rem;
}

	@media (min-width: 768px) {
		#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
			width:180px;
		}
	}

.cart_totals h2 {
	font-size:1.2rem;
}

.add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    font-size: 1rem;
}

.checkout_coupon.woocommerce-form-coupon .button {
    font-size: 1rem;
}

.woocommerce-billing-fields h3 {
	font-size:1.1rem;
}

.woocommerce-checkout-payment .button.alt {
	background-color:#74243c !important;
	color:#fff;
	font-size:0.875rem !important;
	font-weight:400;
	clear:both;
	display:block;
    float:none;
	margin-top:1rem;
	padding-top:1rem !important;
	padding-bottom:1rem !important;
	text-transform:uppercase;
	width:100%;	
}

.woocommerce-checkout-payment .button.alt:hover  {
	background:#1e1e1e !important;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    padding:1rem 1.5rem;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    padding:0.5rem;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background:#f5f5f7;
    border-radius:5px;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color:#f0f0f3;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #f0f0f3;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

.woocommerce-additional-fields h3 {
	margin-top:2rem;
}

#order_review_heading {
	font-size:1.1rem;
	margin-bottom:2rem;
}

#ship-to-different-address {
	font-size:1.1rem;
	margin-top:2rem;
}

/* hide image and link on PayPal standard */
#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img,
#add_payment_method #payment .payment_method_paypal .about_paypal, .woocommerce-cart #payment .payment_method_paypal .about_paypal, .woocommerce-checkout #payment .payment_method_paypal .about_paypal {
	display:none;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
	font-size:1rem !important;
}

/* new checkout */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background:#74243c !important;
	border:none;
	color:#fff !important;
    font-size:0.9rem !important;
	text-transform:uppercase !important;
}

.wc-block-components-title.wc-block-components-title {
	font-size:1rem !important;
}

.wc-block-components-checkout-step__description {
	display:block !important;
	margin-bottom:0.5rem !important;
}

/* Popup cart 
.woocommerce ul.cart_list li, 
.woocommerce ul.product_list_widget li {
	font-size:0.9rem !important;
}

.woocommerce ul.cart_list li a, .woocommerce ul.product_list_widget li a {
	font-size:0.9rem !important;
    font-weight: 500;
}

.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
    width:50px !important
}

.woocommerce .widget_shopping_cart .total, .woocommerce.widget_shopping_cart .total {
    border-top: 3px double #eee;
	font-size:0.9rem !important;
    padding:10px 0 !important;
}

.woocommerce .widget_shopping_cart .buttons a, .woocommerce.widget_shopping_cart .buttons a {
	font-size:0.8rem !important;
}

.woocommerce-mini-cart__buttons.buttons {
	margin-bottom:0 !important;
}
*/

/* Mini cart */
.widget_shopping_cart_content ul.woocommerce-mini-cart {
	border-bottom: 1px solid #eee !important;
	margin-bottom:1rem;
	padding:0 !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li {
	border-top: 1px solid #eee !important;
	display: flex !important;
	font-size: 0.9rem !important;    
	gap: 0.75rem !important;
	padding: 0.75rem 0 !important;
}

.home .widget_shopping_cart_content ul.woocommerce-mini-cart li {
	padding: 0.75rem 0.5rem !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart img {
    width: 50px !important;
    height: auto !important;
    flex-shrink: 0 !important;
	margin-right:1rem;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart .mini-cart-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart .mini-cart-info a {
    color: #1e1e1e !important;
    font-weight: 500 !important;
    text-decoration: none;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart .mini-cart-info a:hover {
    color: #1e1e1e;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart .mini-cart-info .quantity {
    margin-top: 0.25rem !important;
    font-size: 0.85rem !important;
    color: #666 !important;
}

.widget_shopping_cart_content a.remove,
.widget_shopping_cart_content a.remove:hover {
	background:#fff;
	color:#1e1e1e !important;
	font-size:0.9rem !important;
	font-weight:400 !important;
	height:0.9rem;
	width:auto;
	top:0:
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button {
	background:#555 !important;
	color:#fff;
	padding: 0.8rem 1rem !important;
	display: inline-block;
	font-size: 0.813rem !important;
	line-height:1;
    margin-top: 0.8rem !important;
    text-align: center;	
	text-transform:uppercase;
    width: 100%;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout {
	background:#74243c !important;
	color:#fff;
}


/**
 * Alerts
 */
.wc-block-components-notice-banner__content {
	background:#faebf0;
	margin-bottom:1.5rem;
	padding:1rem 1rem 1.8rem 1rem !important;
}

.woocommerce-notices-wrapper svg {
	display:none;
}

.woocommerce-notices-wrapper .button.wc-forward {
	background:#74243c;
	color:#fff;
	float:right;
	font-weight:400;
}
 
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border:none;
	background-color:#faebf0;
	color:#1e1e1e;
	margin:0 0 2em;
	padding:1em 2em 1em;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    display:none !important;
}

.woocommerce-message .button.wc-forward,
.woocommerce-message .woocommerce-Button.button {
	background:#74243c;
	border:none;
	color:#fff;
	font-size:0.813rem;
	text-transform:uppercase;
}

.woocommerce-message .button.wc-forward:hover,
.woocommerce-message .woocommerce-Button.button:hover {
	background:#1e1e1e;
	border:none;
	color:#fff;
}

/* Messages *
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    background-color: #eee;
    color: #515151;
    border-top-color: #74243c;
}

.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, .woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button {
	font-size:0.8rem;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    color: #74243c;
}

/**
 * Wishlist Page
 */
.woocommerce-wishlist .entry-header h1 {
	margin-bottom:0 !important;
}
 
.wishlist-title-container .wishlist-title h2 {
	display:none;
}

.wishlist_table tr td, .wishlist_table tr th.product-checkbox, .wishlist_table tr th.wishlist-delete {
    text-align:left;
}

.wishlist_table {
	border-top:none !important;
}

table.wishlist_table {
    font-size:100%;
}

.btn.button.show-title-form,
.hidden-title-form {
	display:none;
}


/**
 * Pagination
 */
.woocommerce nav.woocommerce-pagination ul {
    border: 1px solid #ccc;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background:#eee;
    color: #1e1e1e;
}