@media print {
	
	body #quick_links, #info_tooltip_block, #tuotebox #size_sheet_preview {
		display: none;	
	}
	
	body {
		div:has(#CookiebotWidget), > iframe {
			display: none;	
		}
	}
	
	body .wrapper {	
		
		*:not(
			#wrapper2,
			#sisaltoalue,
			#tuotebox,
			#tuotebox :is(#tuotebox_inner, #vasen, #oikea, #kuva_alue, #tuotetiedot, #tuotetiedot > div, .print_border),
			#tuotebox_inner :has(ul.splide__list .splide__slide.is-active.is-visible),
			ul.splide__list.paakuvat_gallery,
			ul.splide__list.paakuvat_gallery:has(li.is-active.is-visible) .splide__slide,
			li.splide__slide.is-active.is-visible :is(a, img),
			#size_sheet_preview.visible, #size_sheet_preview.visible :is(#size_sheet_preview_inner, img),
			[id*=print_], [id*=print_] *
		),
		#kuva_alue:has(#size_sheet_preview.visible) #splide01 {
			display: none;
		}
		#kuva_alue:not(:has(#size_sheet_preview.visible)) #splide01 li.is-active.is-visible {
			display: block;
			opacity: 1 !important;
			z-index: 999;
		}
		
		#tuotebox #size_sheet_preview.visible {
			position: static;
			border: 0;
			display: block !important;
	        width: 100%;
	        height: auto;
	        padding: 10px;
	        box-sizing: border-box;
		}
	
		ul.splide__list .splide__slide.is-active.is-visible {
			padding-bottom: 32px;	
			margin-bottom: 32px;
		}
		#tuotebox #vasen #kuva_alue {
			
			margin-bottom: 32px;
			
			&, & img {
				max-height: 30vh;
			}
		}
		
		div#print_product_name {
			
			display: block;
			width: 100%;
			
			a {
				
				font-family: 'Prata';
				font-weight: 400;
				line-height: 25px;
				display: block;
				color: #055854;
				font-size: 13px;
				margin-bottom: 16px;
				text-decoration: underline;
			}
		}
		
		#tuotebox {
			display: block;
			width: 95%;
			margin: 0 auto;
		}
		
		div.print_border:before {
			display: block;
			content: '';
			background: #BBCBCB;
			height: 1px;
			width: 100%;
			display: block;
		}
		
		#print_product_info {
			
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 38px;
			margin-bottom: 11px;
			padding-bottom: 11px;
			
			div.product_description p {
				margin-bottom: 4px;
				
				&:has(strong) {
					margin-bottom: 0;
				}
			}
			
			p, li, ul {
				font-family: "Work Sans";
				font-size: 9px;
				color: #333;
				
				&:is(ul) {
					margin-left: 1.2em;	
				}
				
				&:is(li) {
					list-style-type: disc;
				}
				
				&.product_description_label {
					font-size: 11px;
					font-family: 'Prata', serif;
					margin-bottom: 2px;
				}
				&.product_options_label {
					font-weight: 600;
					line-height: 14px;
					margin-bottom: 2px;
					
					&:has(span) {
						font-weight: normal;
					}
					& > span {
						font-weight: 600;
					}
				}
			}
			
			p:is(#selected_options, #selected_properties) {
				
				margin-top: 0;
				
				span.small {
					color: #617E7E;
					font-size: 7px;
					font-style: normal;
					font-weight: 400;
					line-height: 11px;
				}
				
				ul {
					
					margin-left: 1.2em;
					
					li {
						list-style-type: disc;
					}
				}
			}
			
			div.product_description {
				
				.brand_logo {
					margin-top: 16px;
					
					div {
						display: grid;	
						grid-template-columns: 12px 1fr;
						align-items: center;
						gap: 8px;
						
						svg {
							width: 12px;
							height: 12px;
						}
						
						p {
							color: #055854;
							margin: 0;
							font-size: 8px;
							font-family: "Work Sans";
						}
					}
					img {
						max-width: 60%;
						max-height: 50px;
						margin-bottom: 8px;
					}
					
				}
			}
			
			.product_options_details {
				display: flex;
				width: 100%;
				padding: 16px;
				flex-direction: column;
				align-items: flex-start;
				gap: 8px;
				
				border-radius: 2px;
				background: rgba(242, 246, 242, 0.76);
				color: #333;
				
				span.price_style, span.price_style span {
					font-family: "Work Sans";
					font-weight: 600;
					font-size: 9px;
					font-style: normal;
					
					&.print_offer_price {
						color: #A0001F;
					}
				}
				
				p:not(.product_options_label) {
					margin-bottom: 8px;	
				}
				
				p span:is(.product_details_subtitle, .product_id) {
					font-family: "Work Sans";
					font-weight: 400;
				}
				
				p span.product_details_subtitle {
					font-size: 9px;	
					
				}
				p span.product_id {
					font-size: 7px;
				}
				
			}
			
			
		}
			
		#print_product_footer {
			
			position: relative;
			height: 40px;
			
			div.logo {
				width: 100%;
				height: 48px;
				padding-top: 24px;
				display: flex;
				justify-content: center;
				align-items: center;
				
				svg#logo-print-footer {
					width: 134px;
					height: auto;
				}
			}
			div.url {
				position: absolute;
				top: 12px;
				right: calc(-24px);
				width: 48px;
				
				img.qr_code {
					height: 48px;
					width: 48px;
				}
			}
			
		}
	}
}
