/* Fixes layered on top of build/main.min.css (no webpack on server).
   When the SCSS is rebuilt, move these into the matching .scss files and drop this file. */

/* Promo slider: dots were the same red as the red banner (blocks/_slider.scss).
   Slides have red, light and photo backgrounds, so: white dots with a dark outline drawn
   inside the dot (the 10px button has overflow:hidden, anything outside gets cut off square);
   the active one solid white with a thicker outline. Shape/size stay as in the theme. */
.block-slider.slider-promo .slider-holder .slick-dots li button:before {
	background-color: rgba(255, 255, 255, .55);
	border: 1px solid rgba(0, 0, 0, .3);
	box-sizing: border-box;
}
.block-slider.slider-promo .slider-holder .slick-dots li.slick-active button:before {
	background-color: #fff;
	border: 2px solid rgba(0, 0, 0, .55);
}

/* Required-field asterisks were hidden on checkout/register/account forms (woocommerce.scss) */
.woocommerce form .form-row .required {
	visibility: visible;
}

/* Product page: quantity selector was hidden (woocommerce.scss form.cart div.quantity) */
.woocommerce div.product form.cart div.quantity,
.woocommerce ul.products li.product .loop-quantity .quantity {
	display: flex;
	align-items: center;
	float: none;
	margin: 0;
}
.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce ul.products li.product .loop-quantity input.qty {
	background-color: transparent;
	border: 0;
	font-size: 18px;
	margin: 0 8px !important;
	padding: 0;
	text-align: center;
	width: 32px !important;
	-moz-appearance: textfield;
}
.woocommerce div.product form.cart div.quantity input.qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart div.quantity input.qty::-webkit-outer-spin-button,
.woocommerce ul.products li.product .loop-quantity input.qty::-webkit-inner-spin-button,
.woocommerce ul.products li.product .loop-quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.woocommerce div.product form.cart div.quantity button,
.woocommerce ul.products li.product .loop-quantity button {
	align-items: center;
	background-color: transparent;
	border: 0;
	border-radius: 24px;
	cursor: pointer;
	display: flex;
	height: 24px;
	justify-content: center;
	padding: 0;
	width: 24px;
}
.woocommerce div.product form.cart div.quantity button svg,
.woocommerce ul.products li.product .loop-quantity button svg {
	fill: #000;
}
.woocommerce div.product form.cart div.quantity button:hover,
.woocommerce ul.products li.product .loop-quantity button:hover {
	background-color: #96001e;
}
.woocommerce div.product form.cart div.quantity button:hover svg,
.woocommerce ul.products li.product .loop-quantity button:hover svg {
	fill: #fff;
}

/* Product page: space between the quantity and the price */
.woocommerce div.product form.cart div.quantity {
	margin-right: 40px;
}

/* Shop list: price on its own row, quantity + "add to cart" on the row below it.
   Cards are 40px taller to make room (product sliders keep their layout, see below). */
.woocommerce ul.products li.product {
	height: 455px;
}
.woocommerce ul.products li.product:has(.loop-add-to-cart) .price {
	bottom: 65px;
}
.woocommerce ul.products li.product .loop-add-to-cart {
	align-items: center;
	bottom: 25px;
	display: flex;
	justify-content: space-between;
	left: 15px;
	position: absolute;
	right: 15px;
}
.woocommerce ul.products li.product .loop-add-to-cart .button {
	bottom: auto;
	position: static;
	right: auto;
}
.woocommerce ul.products li.product .loop-quantity input.qty {
	font-size: 16px;
	margin: 0 2px !important;
	width: 26px !important;
}
.woocommerce ul.products li.product .loop-quantity button {
	height: 22px;
	width: 22px;
}
.block-slider ul.products li.product .loop-quantity {
	display: none;
}
/* sliders: no quantity, card, price and button stay where the theme puts them */
.woocommerce .block-slider ul.products li.product {
	height: 415px;
}
.woocommerce .block-slider ul.products li.product:has(.loop-add-to-cart) .price {
	bottom: 25px;
}
.woocommerce .block-slider ul.products li.product .loop-add-to-cart {
	display: contents;
}
.woocommerce .block-slider ul.products li.product .loop-add-to-cart .button {
	bottom: 25px;
	position: absolute;
	right: 15px;
}

/* Product page wishlist button: YITH icon colour is transparent in settings, use the theme heart */
.woocommerce div.product .yith-wcwl-add-to-wishlist--single svg.yith-wcwl-icon-svg {
	display: none;
}
.woocommerce div.product .yith-wcwl-add-to-wishlist--single a {
	align-items: center;
	color: #000;
	display: inline-flex;
	gap: 8px;
	text-decoration: none;
}
.woocommerce div.product .yith-wcwl-add-to-wishlist--single a:hover {
	color: #96001e;
}
.woocommerce div.product .yith-wcwl-add-to-wishlist--single a:before {
	background: url(../images/ic_wishlist_product.svg) no-repeat center / 28px 24px;
	content: "";
	flex: 0 0 28px;
	height: 24px;
	width: 28px;
}
.woocommerce div.product .yith-wcwl-add-to-wishlist--single .yith-wcwl-wishlistaddedbrowse a:before,
.woocommerce div.product .yith-wcwl-add-to-wishlist--single .yith-wcwl-wishlistexistsbrowse a:before,
.woocommerce div.product .yith-wcwl-add-to-wishlist--single a.delete_item:before {
	background-image: url(../images/ic_wishlist_product_active.svg);
}

/* Header mini cart: opened by fixes.js after adding to cart (normally hover only) */
.layout-header .header-basket.is-open .header-basket-mini-cart {
	display: block;
	opacity: 1;
	visibility: visible;
}

@media (max-width: 991.98px) {
	/* Mobile side menu was a fixed 360px and ran off narrow screens (blocks/_main_menu.scss) */
	.block-main-menu .block-main-menu-inner {
		width: 100%;
		max-width: 360px;
	}
}

@media (max-width: 767.98px) {
	/* My account "no orders" notice: floated button pushed the text around */
	.woocommerce-MyAccount-content .woocommerce-info {
		display: flex;
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 12px;
	}
	.woocommerce-MyAccount-content .woocommerce-info .button {
		float: none;
	}
}

/* Cart: gap between the line total and the struck-through price */
.woocommerce table.shop_table td.product-subtotal del {
	margin-left: 10px;
}

/* Registration/checkout privacy text: the privacy policy link looked like plain text */
.woocommerce-privacy-policy-text a,
.woocommerce-privacy-policy-text a.woocommerce-privacy-policy-link,
.block-input-type-checkbox-subscribe label a,
#account_privacy_policy_field label a {
	color: #96001e;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.woocommerce-privacy-policy-text a:hover,
.block-input-type-checkbox-subscribe label a:hover,
#account_privacy_policy_field label a:hover {
	text-decoration: none;
}
