

/* ======================================================================================================================================================
# Modal links
====================================================================================================================================================== */


	#top .product .summary {
		
		.modal-links {
			display: flex; margin: 0 0 1rem 0; padding: 0.575rem; gap: 1rem; border-top: solid 1px #f1f1f1;
			a {font-size: 12px; color: #1c8278;}
			a:hover {color: #1a1a1a;}
		}
		
	}
		

	body.question-cart form.cart {
		
		.quantity, button, .wmc-currency-wrapper {display: none;}

		
	}

	#top .modal-link-popup-container {
		
		position: relative; margin: 0 auto; padding: min(3.5vw, 1.5rem); width: 90%; max-width: 600px; background: #fff; border-radius: 6px;
		
		button.mfp-close {top: calc( -1 * min(3.5vw, 1.5rem) - 12px ); right: calc( -1 * min(3.5vw, 1.5rem) - 12px ); color: #fff;}
		h4 {margin-bottom: 1rem;}
		ul {margin: 0.575rem 0;}
		ul li {padding: 5px 0;}
		
		/* Przewijana treść modala */
		.modal-link-content {
			max-height: min(600px, 65vh); overflow-y: auto; padding-right: 12px; overscroll-behavior: contain;
		}
		
		/* Scrollbar - Chrome / Edge / Safari */
		.modal-link-content::-webkit-scrollbar {width: 4px;}
		.modal-link-content:hover::-webkit-scrollbar {width: 8px;}
		.modal-link-content::-webkit-scrollbar-track {background: #f1f1f1; border-radius: 8px;}
		.modal-link-content::-webkit-scrollbar-thumb {background: #c2c2c2; border-radius: 8px;}
		.modal-link-content::-webkit-scrollbar-thumb:hover {background: #a0a0a0;}
		
	}
	
	/* Scrollbar - Firefox (nie wspiera zmiany szerokości na hover) */
	@supports not selector(::-webkit-scrollbar) {
		#top .modal-link-popup-container .modal-link-content {
			scrollbar-width: thin; scrollbar-color: #c2c2c2 #f1f1f1;
		}
	}