/* Sticky Kosárba sáv a termékoldal alján. A gomb a bolt zöld gombjának stílusa. */
.festede-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
	transform: translateY(100%);
	transition: transform .25s ease;
}

.festede-sticky.is-shown {
	transform: translateY(0);
}

.festede-sticky__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
}

.festede-sticky__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.festede-sticky__title {
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.festede-sticky__price {
	font-size: 14px;
}

.festede-sticky__price del {
	color: #999;
	margin-right: 6px;
}

/* A .festede-sticky előtag azért kell, mert a WoodMart :is(.btn, button, ...) szabálya
   azonos specificitással, később töltve felülírná a zöldet. */
.festede-sticky .festede-sticky__btn {
	flex: 0 0 auto;
	min-width: 260px;
	height: 50px;
	padding: 0 28px;
	border: 0;
	border-radius: 50px;
	background: #61ce70;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .2s ease;
}

.festede-sticky .festede-sticky__btn:hover {
	background: #6cbc58;
	color: #fff;
}

.festede-sticky .festede-sticky__btn:focus-visible {
	outline: 3px solid #2f6f4e;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.festede-sticky__info {
		display: none;
	}

	.festede-sticky .festede-sticky__btn {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
	}
}

/* Amíg a sáv látszik, a lebegő gombok (vissza a tetejére, hűségprogram) fölé csúsznak. */
body.festede-sticky-shown .scrollToTop,
body.festede-sticky-shown .glass-fab {
	bottom: 84px !important;
	transition: bottom .25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.festede-sticky,
	.festede-sticky__btn {
		transition: none;
	}
}
