/* ============================================
   Helpers — scroll-to-top, FAQ, list-check,
   confirm, notifications, fly-to-cart, admin bar
   ============================================ */

#compare-notification {
	display: none;
}

/* List Check - Start */
.list-check {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.list-check-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.list-check-item img {
	position: relative;
	top: 5px;
	min-width: 18px;
	width: 18px;
	height: 18px;
	object-fit: contain;
}
/* List Check - End */

/* Scroll to Top - Start */
#scrollToTopBtn {
	display: none;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	/* Найвища зі стопки внизу: стає над липучкою покупки й над банером cookie */
	bottom: calc(64px + var(--bottom-bar) + var(--bottom-notice));
	right: 64px;
	z-index: 999;
	cursor: pointer;
	height: 60px;
	width: 60px;
	padding: 0px;
	border-radius: var(--radius-max);
	background-color: var(--primary);
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease;
}
#scrollToTopBtn svg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	transition: all 0.3s ease;
}
#scrollToTopBtn svg path {
	stroke: var(--primary-match);
}
#scrollToTopBtn.active {
	opacity: 1;
	pointer-events: all;
}
#scrollToTopBtn:hover {
	background-color: var(--accent);
}
#scrollToTopBtn:hover svg path {
	stroke: var(--accent-match);
}
@media (max-width: 1279px) {
	#scrollToTopBtn {
		width: 56px;
		height: 56px;
		right: 20px;
		bottom: calc(15px + var(--bottom-bar) + var(--bottom-notice));
	}
}
/* Scroll to Top - End */

/* FAQ - Start */
section.faq {
	padding-top: 50px;
	padding-bottom: 100px;
}
section.faq .h2 {
	margin-bottom: 20px;
}
.faq-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 7px 7px 7px 15px;
	background: var(--light-gray);
	border-radius: var(--radius-small);
}
.faq-question span {
	font-weight: 600;
	margin-top: 2px;
	border-radius: var(--radius-small);
}
.faq-question i {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 34px;
	height: 34px;
	background: var(--primary);
	border-radius: var(--radius-small);
}
.faq-question i img {
	width: 14px;
	height: 14px;
	object-fit: contain;
	filter: var(--primary-filter-match);
	transform: rotate(90deg);
	transition: all 0.5s ease;
}
.faq-question.active i img {
	transform: rotate(270deg);
}
.faq-answer {
	display: none;
	padding: 7px 7px 7px 15px;
	margin-top: 10px;
}
.answer-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* FAQ - End */

/* Product Fly to Cart - Start */
.cart-bounce {
	animation: cartBounce 0.3s ease-in-out;
}
@keyframes cartBounce {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}
.flying-product {
	pointer-events: none;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Product Fly to Cart - End */

/* Site Confirm - Start */
.site-confirm-overlay {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.site-confirm-overlay.show {
	opacity: 1;
}
.site-confirm {
	background: var(--white);
	border-radius: var(--radius-mid);
	padding: 24px;
	max-width: 400px;
	width: calc(100% - 40px);
	transform: scale(0.9);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-confirm-overlay.show .site-confirm {
	transform: scale(1);
}
.site-confirm__message {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: center;
}
.site-confirm__buttons {
	display: flex;
	gap: 12px;
}
.site-confirm__buttons .btn {
	flex: 1;
}
/* Site Confirm - End */

/* Site Notifications - Start */
.site-notification {
	position: fixed;
	z-index: 99999;
	left: 50%;
	padding: 14px 24px;
	background: var(--black);
	color: var(--white);
	border-radius: var(--radius-mid);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	font-size: 14px;
	line-height: 1.4;
	opacity: 0;
	transform: translateX(-50%) translateY(20px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	max-width: calc(100vw - 40px);
}
.site-notification.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}
.site-notification.position-bottom {
	bottom: 30px;
}
.site-notification.position-top {
	top: 30px;
	transform: translateX(-50%) translateY(-20px);
}
.site-notification.position-top.show {
	transform: translateX(-50%) translateY(0);
}
.site-notification.success { background: var(--status-success); }
.site-notification.error { background: var(--status-danger); }
.site-notification.warning { background: var(--status-warning); }
.site-notification.info { background: var(--status-info); }
@media (max-width: 768px) {
	.site-notification {
		left: 20px;
		right: 20px;
		width: auto;
		max-width: none;
		transform: translateY(20px);
		text-align: center;
	}
	.site-notification.show {
		transform: translateY(0);
	}
	.site-notification.position-bottom {
		bottom: 20px;
	}
	.site-notification.position-top {
		top: 20px;
		transform: translateY(-20px);
	}
	.site-notification.position-top.show {
		transform: translateY(0);
	}
}
/* Site Notifications - End */

/* Other - Start */
.site-url:first-letter {
	text-transform: capitalize;
}
.woocommerce-notices-wrapper {
	display: none;
}
/* Other - End */

