/* Hide the in-stock availability line while keeping the quantity selector. */
body.single-product .stock.in-stock {
	display: none !important;
}

/* Give each UiCore cart item a full row for its name and quantity control. */
.uicore-asside-cart ul.woocommerce-mini-cart li.mini_cart_item {
	display: block !important;
	position: relative;
	padding: 16px 0 !important;
}

.uicore-asside-cart ul.woocommerce-mini-cart li.mini_cart_item > a:not(.remove) {
	display: flex !important;
	align-items: flex-start;
	gap: 14px;
	width: calc(100% - 22px) !important;
	min-height: 60px;
}

.uicore-asside-cart ul.woocommerce-mini-cart li.mini_cart_item > a:not(.remove) img {
	flex: none;
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.uicore-asside-cart ul.woocommerce-mini-cart li.mini_cart_item > a.remove {
	top: 15px;
	right: 0;
}

.uicore-asside-cart .wolver-cart-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: auto;
	margin: 10px 0 0 74px !important;
}

.uicore-asside-cart .wolver-cart-qty__stepper,
.wolver-checkout-editor__stepper {
	display: grid;
	grid-template-columns: 34px 34px 34px;
	width: max-content;
	height: 36px;
	border: 1px solid currentColor;
	border-radius: 3px;
	overflow: hidden;
}

.uicore-asside-cart .wolver-cart-qty__stepper {
	color: #fff;
	border-color: #777;
}

.uicore-asside-cart .wolver-cart-qty__stepper .wolver-cart-qty__button,
.wolver-checkout-editor__stepper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.uicore-asside-cart .wolver-cart-qty__stepper .wolver-cart-qty__button:hover:not(:disabled) {
	background: #303030;
	color: #fff;
}

.uicore-asside-cart .wolver-cart-qty__value,
.wolver-checkout-editor__stepper > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #777;
	border-right: 1px solid #777;
	font-size: 13px;
	line-height: 1;
}

.uicore-asside-cart .wolver-cart-qty__price {
	margin-left: auto;
	color: #fff;
	white-space: nowrap;
}

.uicore-asside-cart .wolver-cart-qty.is-updating {
	opacity: .55;
}

.uicore-asside-cart .wolver-cart-qty__button:disabled,
.wolver-checkout-editor__stepper button:disabled,
.wolver-checkout-editor__remove:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.uicore-asside-cart .wolver-cart-qty__button:focus-visible,
.wolver-checkout-editor__actions button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.wolver-checkout-editor {
	box-sizing: border-box;
	width: 100%;
	padding: 14px 16px 16px;
	border-top: 1px solid #ddd;
}

.wolver-checkout-editor h3 {
	margin: 0 0 12px;
	font-size: 16px;
}

.wolver-checkout-editor__item {
	display: block;
	margin: 0 0 16px;
}

.wolver-checkout-editor__name {
	display: block;
	font-size: 13px;
	line-height: 1.4;
}

.wolver-checkout-editor__name small {
	display: block;
	color: #555;
}

.wolver-checkout-editor__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.wolver-checkout-editor__stepper {
	color: #111;
	border-color: #bbb;
}

.wolver-checkout-editor__stepper > span {
	border-color: #ddd;
}

.wolver-checkout-editor__stepper button:hover:not(:disabled) {
	background: #eee;
}

.wolver-checkout-editor__actions .wolver-checkout-editor__remove {
	padding: 4px 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.wolver-cart-qty-error {
	margin: 6px 0;
	color: #a00;
	font-size: 12px;
}
