/**
 * Casa Luxe final single-product controls.
 * Loaded after Commerce Studio and WooCommerce plugin styles.
 */
body.single-product .clx-single-actions {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}

body.single-product .clx-single-actions > .clx-quote-action {
	flex: 0 1 var(--clx-single-quote-width, 320px) !important;
	width: var(--clx-single-quote-width, 320px) !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.single-product .clx-single-actions > .clx-quote-action .add-request-quote-button,
body.single-product .clx-single-actions > .clx-quote-action .button {
	width: 100% !important;
	max-width: 100% !important;
}

body.single-product .clx-single-actions > .clx-wishlist-action {
	position: static !important;
	display: block !important;
	flex: 0 0 var(--clx-single-wishlist-width, 86px) !important;
	width: var(--clx-single-wishlist-width, 86px) !important;
	min-width: var(--clx-single-wishlist-width, 86px) !important;
	max-width: var(--clx-single-wishlist-width, 86px) !important;
	height: var(--clx-single-wishlist-height, 40px) !important;
	min-height: var(--clx-single-wishlist-height, 40px) !important;
	max-height: var(--clx-single-wishlist-height, 40px) !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-add-to-wishlist,
body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-add-button,
body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-wishlistaddedbrowse,
body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-wishlistexistsbrowse {
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .clx-single-actions .clx-wishlist-action .clx-qdl-wishlist,
body.single-product .clx-single-actions .clx-wishlist-action a,
body.single-product .clx-single-actions .clx-wishlist-action button {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: 100% !important;
	padding: 3px 4px !important;
	gap: 1px !important;
	border: 1px solid rgba(29, 28, 25, .18) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #1d1c19 !important;
	box-shadow: none !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	overflow: hidden !important;
}

body.single-product .clx-single-actions .clx-wishlist-action .clx-qdl-wishlist__icon,
body.single-product .clx-single-actions .clx-wishlist-action a::before,
body.single-product .clx-single-actions .clx-wishlist-action i {
	flex: 0 0 auto !important;
	font-size: var(--clx-single-wishlist-icon, 14px) !important;
	line-height: 1 !important;
	margin: 0 !important;
}

body.single-product .clx-single-actions .clx-wishlist-action .clx-qdl-wishlist__label,
body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-icon + span,
body.single-product .clx-single-actions .clx-wishlist-action a > span:last-child {
	display: block !important;
	position: static !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: nowrap !important;
	border: 0 !important;
	font-size: var(--clx-single-wishlist-text, 7px) !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

body.single-product .clx-single-actions > .clx-qdl-compare,
body.single-product .clx-single-actions > .compare,
body.single-product .clx-single-actions > button[class*="compare"],
body.single-product .clx-single-actions > a[class*="compare"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	flex: 0 0 var(--clx-single-wishlist-width, 86px) !important;
	width: var(--clx-single-wishlist-width, 86px) !important;
	min-width: var(--clx-single-wishlist-width, 86px) !important;
	max-width: var(--clx-single-wishlist-width, 86px) !important;
	height: var(--clx-single-wishlist-height, 40px) !important;
	min-height: var(--clx-single-wishlist-height, 40px) !important;
	max-height: var(--clx-single-wishlist-height, 40px) !important;
	padding: 4px 6px !important;
	border: 1px solid rgba(29, 28, 25, .18) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #1d1c19 !important;
	box-shadow: none !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
}

body.single-product .clx-single-actions .clx-wishlist-action a:hover,
body.single-product .clx-single-actions .clx-wishlist-action button:hover,
body.single-product .clx-single-actions > .clx-qdl-compare:hover,
body.single-product .clx-single-actions > .compare:hover {
	border-color: var(--clx-gold, #b48a4a) !important;
	color: var(--clx-gold-dark, #8f6b37) !important;
}

/* Custom gallery zoom. The image remains clipped inside its original frame. */
body.single-product .clx-single-gallery .woocommerce-product-gallery,
body.single-product .clx-single-gallery .flex-viewport,
body.single-product .clx-single-gallery .woocommerce-product-gallery__wrapper,
body.single-product .clx-single-gallery .woocommerce-product-gallery__image,
body.single-product .clx-single-gallery .woocommerce-product-gallery__image > a {
	overflow: hidden !important;
}

body.single-product .clx-single-gallery .woocommerce-product-gallery__image {
	cursor: zoom-in;
}

body.single-product .clx-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
	display: block !important;
	width: 100% !important;
	transition: transform .22s ease-out !important;
	transform: scale(1) !important;
	transform-origin: 50% 50% !important;
	will-change: transform;
}

body.single-product .clx-single-gallery .woocommerce-product-gallery__image.clx-cursor-zoom-active img:not(.zoomImg) {
	transition-duration: .06s !important;
	transform: scale(var(--clx-single-image-zoom, 1.35)) !important;
	transform-origin: var(--clx-zoom-x, 50%) var(--clx-zoom-y, 50%) !important;
}

body.single-product .clx-single-gallery img.zoomImg {
	display: none !important;
}

@media (hover: none), (pointer: coarse), (max-width: 767px) {
	body.single-product .clx-single-gallery .woocommerce-product-gallery__image {
		cursor: default;
	}
	body.single-product .clx-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
		transform: none !important;
	}
}

@media (max-width: 680px) {
	body.single-product .clx-single-actions {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: var(--clx-single-mobile-action-gap, 6px) !important;
		width: 100% !important;
	}

	body.single-product .clx-single-actions > .clx-quote-action {
		flex: 0 0 var(--clx-single-mobile-quote-percent, 50%) !important;
		width: var(--clx-single-mobile-quote-percent, 50%) !important;
		max-width: var(--clx-single-mobile-quote-percent, 50%) !important;
		min-width: 0 !important;
		height: var(--clx-single-mobile-action-height, 40px) !important;
	}

	body.single-product .clx-single-actions > .clx-quote-action .add-request-quote-button,
	body.single-product .clx-single-actions > .clx-quote-action .button {
		height: var(--clx-single-mobile-action-height, 40px) !important;
		min-height: var(--clx-single-mobile-action-height, 40px) !important;
		max-height: var(--clx-single-mobile-action-height, 40px) !important;
		padding-left: 6px !important;
		padding-right: 6px !important;
		white-space: nowrap !important;
	}

	body.single-product .clx-single-actions > .clx-wishlist-action,
	body.single-product .clx-single-actions > .clx-qdl-compare,
	body.single-product .clx-single-actions > .compare,
	body.single-product .clx-single-actions > button[class*="compare"],
	body.single-product .clx-single-actions > a[class*="compare"] {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		height: var(--clx-single-mobile-action-height, 40px) !important;
		min-height: var(--clx-single-mobile-action-height, 40px) !important;
		max-height: var(--clx-single-mobile-action-height, 40px) !important;
	}

	body.single-product .clx-single-actions .clx-wishlist-action .clx-qdl-wishlist__label,
	body.single-product .clx-single-actions .clx-wishlist-action .yith-wcwl-icon + span,
	body.single-product .clx-single-actions .clx-wishlist-action a > span:last-child {
		font-size: var(--clx-single-mobile-wishlist-text, 7px) !important;
	}

	body.single-product .clx-single-actions .clx-wishlist-action .clx-qdl-wishlist__icon,
	body.single-product .clx-single-actions .clx-wishlist-action a::before,
	body.single-product .clx-single-actions .clx-wishlist-action i {
		font-size: var(--clx-single-mobile-wishlist-icon, 12px) !important;
	}

	body.single-product .clx-single-actions > .clx-qdl-compare,
	body.single-product .clx-single-actions > .compare,
	body.single-product .clx-single-actions > button[class*="compare"],
	body.single-product .clx-single-actions > a[class*="compare"] {
		padding-left: 3px !important;
		padding-right: 3px !important;
		font-size: 9px !important;
	}

	/* Mobile single-product typography and vertical spacing. */
	body.single-product .clx-single-summary > .clx-mobile-before-price,
	body.single-product .clx-single-summary > .woocommerce-product-rating {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	/* Use an explicit two-row layout: price + delivery on row 1, stock on row 2. */
	body.single-product .clx-single-price {
		display: grid !important;
		grid-template-columns: max-content max-content !important;
		justify-content: start !important;
		align-items: center !important;
		column-gap: 12px !important;
		row-gap: var(--clx-single-mobile-stock-top-gap, 2px) !important;
		margin-top: var(--clx-single-mobile-rating-price-gap, 4px) !important;
		margin-bottom: var(--clx-single-mobile-stock-bottom-gap, 4px) !important;
		padding: 0 !important;
	}

	body.single-product .clx-single-price .clx-single-price__woocommerce,
	body.single-product .clx-single-price .clx-single-delivery-badge {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.single-product .clx-single-price .clx-single-stock {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 1px !important;
	}

	body.single-product .clx-single-stock p {
		margin: 0 !important;
		padding: 0 !important;
		line-height: var(--clx-single-mobile-stock-line, 1.05) !important;
	}

	body.single-product .clx-single-stock__status {
		font-size: var(--clx-single-mobile-stock-font, 13px) !important;
		line-height: var(--clx-single-mobile-stock-line, 1.05) !important;
	}

	body.single-product .clx-single-stock__count {
		font-size: var(--clx-single-mobile-stock-count-font, 11.5px) !important;
		line-height: var(--clx-single-mobile-stock-line, 1.05) !important;
	}

	body.single-product .clx-single-intro {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.single-product .clx-single-intro,
	body.single-product .clx-single-intro p,
	body.single-product .clx-single-intro .woocommerce-product-details__short-description {
		line-height: var(--clx-single-mobile-intro-line, 1.35) !important;
	}

	body.single-product .clx-single-intro p:first-child,
	body.single-product .clx-single-intro .woocommerce-product-details__short-description > p:first-child {
		margin-top: 0 !important;
	}
}


/* v1.4.8.1 compact single-product rhythm and mobile/tablet image/swatch usability */
body.single-product .clx-single-summary{padding-top:10px!important}
body.single-product .clx-single-summary>.clx-eyebrow{margin-bottom:9px!important}
body.single-product .clx-single-summary h1{margin-bottom:8px!important}
body.single-product .clx-single-summary>.clwr-single-rating-link,
body.single-product .clx-single-summary>.woocommerce-product-rating{margin-top:3px!important;margin-bottom:5px!important}
body.single-product .clx-single-price{margin-top:8px!important;margin-bottom:9px!important}
body.single-product .clx-single-intro{margin:0 0 3px!important;padding:0!important;line-height:1.48!important}
body.single-product .clx-single-intro p,
body.single-product .clx-single-intro .woocommerce-product-details__short-description,
body.single-product .clx-single-intro .woocommerce-product-details__short-description p{margin-top:0!important;margin-bottom:0!important}
body.single-product .clx-product-colours{margin-top:10px!important;margin-bottom:12px!important;padding-top:10px!important;padding-bottom:11px!important}

@media(max-width:782px){
  body.single-product .clx-product-breadcrumb{padding-top:9px!important;padding-bottom:9px!important}
  body.single-product .clx-single-grid{gap:11px!important;padding-bottom:36px!important}
  body.single-product .clx-single-summary{padding-top:0!important}
  body.single-product .clx-single-summary>.clx-eyebrow{margin-bottom:5px!important;font-size:9px!important;letter-spacing:.11em!important;line-height:1.25!important}
  body.single-product .clx-single-summary h1{margin-bottom:6px!important;font-size:clamp(30px,8.6vw,37px)!important;line-height:1.02!important}
  body.single-product .clx-single-summary>.clwr-single-rating-link,
  body.single-product .clx-single-summary>.woocommerce-product-rating{margin-top:0!important;margin-bottom:4px!important;font-size:13px!important}
  body.single-product .clx-single-price{column-gap:8px!important;row-gap:2px!important;margin-top:4px!important;margin-bottom:5px!important}
  body.single-product .clx-single-price .price{font-size:22px!important;line-height:1.05!important}
  body.single-product .clx-single-price del{font-size:13px!important}
  body.single-product .clx-single-delivery-badge{padding:4px 8px!important;font-size:9px!important}
  body.single-product .clx-single-delivery-badge__copy small{font-size:8px!important}
  body.single-product .clx-single-stock__status{font-size:13px!important}
  body.single-product .clx-single-stock__count{font-size:10px!important}
  body.single-product .clx-single-intro,
  body.single-product .clx-single-intro p,
  body.single-product .clx-single-intro .woocommerce-product-details__short-description{font-size:13px!important;line-height:1.35!important}
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img,
  body.single-product div.product .woocommerce-product-gallery__image img,
  body.single-product div.product div.images img{width:auto!important;max-width:100%!important;height:auto!important;max-height:var(--clx-mobile-product-image-height,280px)!important;object-fit:contain!important;margin-left:auto!important;margin-right:auto!important}
  body.single-product .clx-single-gallery .flex-control-thumbs{display:flex!important;grid-template-columns:none!important;gap:6px!important;margin-top:6px!important;padding-bottom:2px!important;overflow-x:auto!important;scrollbar-width:thin}
  body.single-product .clx-single-gallery .flex-control-thumbs li{flex:0 0 52px!important;width:52px!important;height:52px!important}
  body.single-product .clx-single-gallery .flex-control-thumbs li img{width:52px!important;height:52px!important;max-height:52px!important;object-fit:cover!important}
  body.single-product .clx-product-colours{margin-top:7px!important;margin-bottom:9px!important;padding-top:8px!important;padding-bottom:9px!important}
}

/* v1.4.8.1 tablet portrait refinement: single-column product pages should not use an oversized gallery. */
@media (max-width:1099px) and (min-width:783px){
  body.single-product .clx-single-grid{gap:18px!important;padding-bottom:48px!important}
  body.single-product .clx-single-summary{padding-top:2px!important}
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img,
  body.single-product div.product .woocommerce-product-gallery__image img,
  body.single-product div.product div.images img{width:auto!important;max-width:100%!important;height:auto!important;max-height:420px!important;object-fit:contain!important;margin-left:auto!important;margin-right:auto!important}
  body.single-product .clx-single-gallery .flex-control-thumbs{display:flex!important;grid-template-columns:none!important;gap:7px!important;margin-top:7px!important;overflow-x:auto!important;scrollbar-width:thin}
  body.single-product .clx-single-gallery .flex-control-thumbs li{flex:0 0 58px!important;width:58px!important;height:58px!important}
  body.single-product .clx-single-gallery .flex-control-thumbs li img{width:58px!important;height:58px!important;max-height:58px!important;object-fit:cover!important}
}


/* v1.4.8.2 mobile density pass: smaller type, gallery, thumbnails and secondary actions. */
@media(max-width:782px){
  body.single-product .clx-product-breadcrumb{padding-top:6px!important;padding-bottom:6px!important;font-size:9px!important}
  body.single-product .clx-single-grid{gap:7px!important;padding-bottom:26px!important}
  body.single-product .clx-single-summary>.clx-eyebrow{margin-bottom:3px!important;font-size:8px!important;letter-spacing:.08em!important;line-height:1.15!important}
  body.single-product .clx-single-summary h1{margin-bottom:4px!important;font-size:clamp(24px,6.8vw,30px)!important;line-height:1.02!important}
  body.single-product .clx-single-summary>.clwr-single-rating-link,
  body.single-product .clx-single-summary>.woocommerce-product-rating{margin-bottom:2px!important;font-size:11.5px!important;line-height:1.15!important}
  body.single-product .clx-single-price{column-gap:6px!important;row-gap:1px!important;margin-top:2px!important;margin-bottom:3px!important}
  body.single-product .clx-single-price .price{font-size:20px!important;line-height:1.02!important}
  body.single-product .clx-single-price del{font-size:11px!important}
  body.single-product .clx-single-delivery-badge{gap:4px!important;padding:3px 6px!important;font-size:8px!important}
  body.single-product .clx-single-delivery-badge svg{width:13px!important;height:13px!important}
  body.single-product .clx-single-delivery-badge__copy small{font-size:7px!important}
  body.single-product .clx-single-stock{margin:3px 0 4px!important;gap:1px!important}
  body.single-product .clx-single-stock__status{font-size:12px!important;line-height:1.1!important}
  body.single-product .clx-single-stock__count{font-size:9px!important;line-height:1.1!important}
  body.single-product .clx-single-intro,
  body.single-product .clx-single-intro p,
  body.single-product .clx-single-intro .woocommerce-product-details__short-description{font-size:11.5px!important;line-height:1.28!important}
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .clx-single-gallery .woocommerce-product-gallery__image img,
  body.single-product div.product .woocommerce-product-gallery__image img,
  body.single-product div.product div.images img{max-height:var(--clx-mobile-product-image-height,220px)!important}
  body.single-product .clx-single-gallery .flex-control-thumbs{gap:4px!important;margin-top:4px!important}
  body.single-product .clx-single-gallery .flex-control-thumbs li{flex-basis:42px!important;width:42px!important;height:42px!important}
  body.single-product .clx-single-gallery .flex-control-thumbs li img{width:42px!important;height:42px!important;max-height:42px!important}
  body.single-product .clx-product-colours{margin-top:5px!important;margin-bottom:7px!important;padding-top:6px!important;padding-bottom:7px!important}
}
@media(max-width:782px){
  body.single-product .clx-single-actions{gap:5px!important;margin-top:7px!important;margin-bottom:7px!important}
  body.single-product .clx-single-actions>.clx-quote-action,
  body.single-product .clx-single-actions>.clx-quote-action .add-request-quote-button,
  body.single-product .clx-single-actions>.clx-quote-action .button,
  body.single-product .clx-single-actions>.clx-wishlist-action,
  body.single-product .clx-single-actions>.clx-qdl-compare,
  body.single-product .clx-single-actions>.compare,
  body.single-product .clx-single-actions>button[class*="compare"],
  body.single-product .clx-single-actions>a[class*="compare"]{height:36px!important;min-height:36px!important;max-height:36px!important}
  body.single-product .clx-single-actions>.clx-quote-action .add-request-quote-button,
  body.single-product .clx-single-actions>.clx-quote-action .button{font-size:10px!important;padding-left:5px!important;padding-right:5px!important}
  body.single-product .clx-single-actions>.clx-qdl-compare,
  body.single-product .clx-single-actions>.compare,
  body.single-product .clx-single-actions>button[class*="compare"],
  body.single-product .clx-single-actions>a[class*="compare"]{font-size:8px!important}
}
