/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Product 96289: hide the variable price range before a variation is selected.
   WooCommerce's exact selected-variation price remains visible. */
body.postid-96289 .wd-single-price {
	display: none !important;
}

/* Product 96289: display WooCommerce variation choices as clear buttons. */
body.postid-96289 .pazaruvka-variation-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.postid-96289 .pazaruvka-variation-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 12px;
}

body.postid-96289 .pazaruvka-variation-button {
	min-width: 92px;
	padding: 11px 16px;
	border: 2px solid #d7dde5;
	border-radius: 8px;
	background: #fff;
	color: #202733;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

body.postid-96289 .pazaruvka-variation-button:hover {
	border-color: #1677ff;
	box-shadow: 0 3px 10px rgba(22, 119, 255, .15);
}

body.postid-96289 .pazaruvka-variation-button.is-selected {
	border-color: #1677ff;
	background: #1677ff;
	color: #fff;
	box-shadow: 0 4px 12px rgba(22, 119, 255, .24);
}

body.postid-96289 .pazaruvka-variation-button:disabled {
	opacity: .38;
	cursor: not-allowed;
	box-shadow: none;
}

/* Mobile header: stable icons, balanced spacing and clear tap targets. */
@media (max-width: 1024px) {
	.whb-general-header .whb-general-header-inner {
		min-height: 68px !important;
		padding-inline: 12px !important;
	}

	.whb-general-header .whb-mobile-left,
	.whb-general-header .whb-mobile-right {
		flex: 0 0 54px !important;
	}

	.whb-general-header .whb-mobile-center {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		justify-content: center !important;
	}

	.whb-general-header .whb-mobile-center .site-logo img {
		display: block !important;
		width: 150px !important;
		max-width: 100% !important;
		height: auto !important;
	}

	.whb-general-header .wd-header-mobile-nav .wd-tools-icon,
	.whb-general-header .whb-mobile-right .wd-header-cart .wd-tools-icon {
		position: relative !important;
		display: flex !important;
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 12px !important;
		background: #087af4 !important;
		box-shadow: 0 6px 16px rgba(8, 122, 244, .24) !important;
	}

	.whb-general-header .wd-header-mobile-nav .wd-tools-icon::before {
		content: "" !important;
		display: block !important;
		width: 22px !important;
		height: 16px !important;
		background:
			linear-gradient(#fff 0 0) top / 100% 2px no-repeat,
			linear-gradient(#fff 0 0) center / 100% 2px no-repeat,
			linear-gradient(#fff 0 0) bottom / 100% 2px no-repeat !important;
	}

	.whb-general-header .whb-mobile-right .wd-header-cart .wd-tools-icon::before {
		content: "" !important;
		display: block !important;
		width: 18px !important;
		height: 18px !important;
		margin-top: 4px !important;
		border: 2px solid #fff !important;
		border-radius: 3px !important;
		box-sizing: border-box !important;
	}

	.whb-general-header .whb-mobile-right .wd-header-cart .wd-tools-icon::after {
		content: "" !important;
		position: absolute !important;
		top: 9px !important;
		left: 50% !important;
		width: 8px !important;
		height: 6px !important;
		border: 2px solid #fff !important;
		border-bottom: 0 !important;
		border-radius: 6px 6px 0 0 !important;
		transform: translateX(-50%) !important;
		box-sizing: border-box !important;
	}

	.whb-general-header .wd-header-mobile-nav .wd-tools-text,
	.whb-general-header .whb-mobile-right .wd-header-cart .wd-tools-text {
		display: none !important;
	}

	.whb-general-header .whb-mobile-right .wd-tools-count {
		top: -5px !important;
		right: -5px !important;
		min-width: 19px !important;
		height: 19px !important;
		line-height: 19px !important;
		font-size: 11px !important;
		background: #fff !important;
		color: #087af4 !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .18) !important;
	}

	.mobile-nav.wd-side-hidden-nav {
		width: min(86vw, 340px) !important;
		max-width: 340px !important;
	}
}

/* Package products: .pz-current-price is the single authoritative price.
   Applied automatically only after the reusable package UI initializes. */
body.pz-package-pricing-active .wd-single-price,
body.pz-package-pricing-active .single_variation_wrap .woocommerce-variation-price {
	display: none !important;
}
