/*
Theme Name:   GM Packaging Theme
Theme URI:    
Description:  A Neve child theme 
Author:       Ziegler Mitchell and Associates
Author URI:   https://www.ziegler.ca
Template:     neve
Version:      1.0.0
Text Domain:  nevechild
*/

.sp-product-image .img-wrap,
.single-product div.product[data-prod="prod"] {
	position: relative;
}

.gmp-made-in-canada {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: calc(100% - 12px);
	padding: 3px 5px;
	border-radius: 3px;
	background: #ff0000;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	pointer-events: none;
}

.gmp-made-in-canada::before {
	content: "";
	flex: 0 0 11px;
	height: 11px;
	background: url("../../uploads/maple-leaf.svg") center / contain no-repeat;
}

.gmp-made-in-canada--detail {
	display: none;
	top: 12px;
	left: 22px;
	max-width: calc(100% - 34px);
	padding: 5px 8px;
	font-size: 11px;
}

.gmp-made-in-canada--detail::before {
	flex-basis: 12px;
	height: 12px;
}

.woocommerce-product-gallery > .gmp-made-in-canada--detail,
.images.nickx_product_images_with_video > .gmp-made-in-canada--detail {
	display: inline-flex;
}
