/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
.product-attribute-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.product-attribute-dropdown .attribute-button {
    background-color: #fff;
    color: #3c3c3b;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 13px 20px;
    text-transform: UPPERCASE;
    width: 100%;
}

.product-attribute-dropdown .attribute-button h5 {
    font-size: 20px;
    line-height: 35px !important;
	width: min-content;
}

.product-attribute-dropdown .attribute-button h5::after {
    font-family: fontawesome;
    content: "\f107";
    padding-left: 10px;
    color: #0066cc;
    font-size: 1.3em;
    position: absolute;
    font-weight: normal !important;
}

.product-attribute-dropdown .attribute-values {
    position: absolute;
	padding-bottom: 10px;
    /*background-color: #dddddd;*/
    color: #3c3c3b;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    display: none;
}

.product-attribute-dropdown .attribute-value {
    padding: 3px 25px;
    cursor: default;
}

.product-article-and-attribute {
    /*background-color: #dddddd;
    color: #3c3c3b;
    padding: 13px;*/
}

.product-article-and-attribute .content {
    display: flex;
    justify-content: left;
}

.product-article-and-attribute .article-number {
    /*margin: 0 12px 0 6px;*/
	width: 100%;
	font-size: 14px;
    line-height: 35px;
}
.product-article-and-attribute .attribute-value {
    /*margin: 0 6px 0 12px;*/
}

/* The product card or image wrapper must be the positioning anchor. */
.woocommerce ul.products li.product,
.product-grid-item,
.product-card {
	position: relative;
}

.product-video-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;

	display: inline-flex;
	align-items: baseline;
	gap: 10px;

	padding: 5px 9px;
	border-radius: 3px;
	border: 2px solid;

	background: #fff;
	color: #0066cc;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;

	pointer-events: none;
}

.product-video-badge__icon {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid #0066cc;
}


/* Smooth scrolling to the video section */
html {
	scroll-behavior: smooth;
}

/*
 * Product image container
 * Keep this selector if you are using the standard WooCommerce gallery.
 * If your page builder uses a custom wrapper, add its class here as well.
 */
.single-product .woocommerce-product-gallery,
.single-product .product-image-wrapper,
.single-product .product-gallery {
	position: relative;
}

/* Video button placed over the product image */
.single-product .product-video-anchor-button {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 999;

	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: center;
	gap: 9px;

	width: auto;
	max-width: none;
	min-width: 0;

	padding: 10px 16px;
	border: 3px solid;
	border-radius: 3px;

	background: #fff;
	color: #0066cc;
	text-decoration: none;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;

	white-space: nowrap;
	cursor: pointer;
	pointer-events: auto;

	transition: opacity 0.2s ease;
}

/* Keep the link white on hover and focus */
.single-product .product-video-anchor-button:hover,
.single-product .product-video-anchor-button:focus,
.single-product .product-video-anchor-button:active {
	text-decoration: none;
	background-color: #0066cc;
	color: #ffffff;
}

.single-product .product-video-anchor-button:hover .product-video-anchor-button__icon{
	border-left: 9px solid #ffffff;
}

/* Play icon */
.single-product .product-video-anchor-button__icon {
	display: block;
	flex: 0 0 auto;

	width: 0;
	height: 0;

	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid #0066cc;
}

/* Prevent the text from wrapping below the icon on iPhone */
.single-product .product-video-anchor-button__text {
	display: block;
	flex: 0 0 auto;

	white-space: nowrap;
}

/* Ensure gallery images stay behind the button */
.single-product .woocommerce-product-gallery img {
	position: relative;
	z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
	.single-product .product-video-anchor-button {
		top: 10px;
		left: 10px;

		gap: 7px;
		padding: 9px 13px;
	}

	.single-product .product-video-anchor-button__icon {
		border-top-width: 5px;
		border-bottom-width: 5px;
		border-left-width: 8px;
	}
	
	.product-video-badge__icon{
		border-top-width: 5px;
		border-bottom-width: 5px;
		border-left-width: 8px;
	}
}