/* Cookie bar, ad label and the commission note on product pages */

.pt-cookie-bar {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 720px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid #DDDDE4;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 24, 74, 0.16);
	color: #00184A;
	font-size: 14px;
	line-height: 1.5;
}

.pt-cookie-bar[hidden] {
	display: none;
}

.pt-cookie-bar p {
	flex: 1;
	margin: 0;
	font-size: 14px;
}

.pt-cookie-bar a {
	color: #00449F;
	font-size: 14px;
	text-decoration: underline;
}

.pt-cookie-actions {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
}

.pt-cookie-actions button {
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid #00449F;
	border-radius: 12px;
	background: #F1F3FA;
	color: #00449F;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.pt-cookie-actions button:hover {
	background: #00449F;
	color: #fff;
}

.pt-ad-label {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 20;
	padding: 2px 8px;
	border-radius: 8px;
	background: rgba(0, 8, 57, 0.7);
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	pointer-events: none;
}

.pt-affiliate-note {
	margin-bottom: 12px;
	color: #737B88;
	font-size: 13px;
}

@media (max-width: 640px) {
	.pt-cookie-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.pt-cookie-actions button {
		flex: 1;
	}
}
