/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Out-of-stock badge on single product gallery (matches Uncode shop-card badge). */
.woocommerce-product-gallery__image-first { position: relative; }
.gilea-soldout-badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 5;
	padding: 4px 8px;
	background: #f73b3b;
	color: #fff;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: .05em;
	text-transform: uppercase;
	pointer-events: none;
}

/* Sold-out product: calm, clearly unavailable add-to-cart button. */
.gilea-sold-out .single_add_to_cart_button,
.gilea-sold-out .single_add_to_cart_button:hover,
.gilea-sold-out .single_add_to_cart_button:focus {
	background: transparent !important;
	color: #8a8a8a !important;
	border: 1px solid #cfcfcf !important;
	box-shadow: none !important;
	cursor: not-allowed;
	pointer-events: none;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: 1;
}
.gilea-sold-out .single_add_to_cart_button i,
.gilea-sold-out .single_add_to_cart_button .fa { display: none; }
.gilea-sold-out .variations_form .variations { opacity: .45; pointer-events: none; }

/* Subtle outline for the desktop Shop dropdown. */
@media (min-width: 960px) {
	.menu-smart .menu-item-172281 > .drop-menu {
		border: 1px solid #e5e5e5;
	}
}
