/* QWeb Promotions: side cart box, add-to-cart pop-up, product page line. Matica palette. */

/* Shared: pill, progress bar */
.qweb-promo-pill {
	display: inline-block; flex: none;
	padding: 2px 8px; border-radius: 999px;
	background: #953132; color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
}
.is-done .qweb-promo-pill { background: #1a7f37; }
.qweb-promo-progress { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; }
.qweb-promo-bar { display: flex; flex: 1; gap: 4px; }
.qweb-promo-bar i { flex: 1; height: 6px; border-radius: 3px; background: #ebe4e4; }
.qweb-promo-bar i.is-on { background: #953132; }
.is-done .qweb-promo-bar i.is-on { background: #1a7f37; }
.qweb-promo-count { flex: none; font-size: 12px; font-weight: 600; color: #6b7a84; white-space: nowrap; }

/* Side cart box: same side spacing as the book rows below it */
.qweb-promo-box {
	margin: 16px 20px 4px;
	padding: 14px 16px;
	border: 1px solid #eadada; border-radius: 12px;
	background: #fcf8f8; color: #133447;
	font-size: 13.5px; line-height: 1.5;
}
.qweb-promo-box.is-done { background: #f4f9f5; border-color: #d3e6d8; }
.qweb-promo-box__head { display: flex; align-items: flex-start; gap: 8px; }
.qweb-promo-box__head .qweb-promo-pill { margin-top: 1px; }
.qweb-promo-box__title { font-weight: 700; color: #133447; }
.qweb-promo-box__text { margin: 0; }
.qweb-promo-box__link {
	display: inline-block; margin-top: 8px;
	color: #953132 !important; font-weight: 600; font-size: 13px; text-decoration: none !important;
}
.qweb-promo-box__link:hover { text-decoration: underline !important; }

/* Add-to-cart pop-up */
.qweb-promo-toast {
	position: fixed; left: 24px; bottom: 24px; z-index: 100000;
	width: 340px; max-width: calc(100vw - 32px); box-sizing: border-box;
	padding: 16px 18px;
	background: #fff; color: #133447;
	border: 1px solid #eadada; border-radius: 12px;
	box-shadow: 0 14px 34px rgba(19, 52, 71, .16), 0 2px 6px rgba(19, 52, 71, .06);
	font-size: 14px; line-height: 1.5;
	opacity: 0; transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
.qweb-promo-toast.is-visible { opacity: 1; transform: none; }
.qweb-promo-toast__close {
	position: absolute; top: 8px; right: 10px;
	width: 28px; height: 28px; padding: 0;
	border: 0; background: none; cursor: pointer;
	color: #8a98a1; font-size: 22px; line-height: 28px;
}
.qweb-promo-toast__close:hover { color: #133447; }
.qweb-promo-toast__head { display: flex; align-items: center; gap: 8px; margin-right: 28px; }
.qweb-promo-toast__title { font-weight: 700; font-size: 15px; }
.qweb-promo-toast__text { margin: 0 0 12px; }
.qweb-promo-toast__cta {
	display: inline-block; padding: 8px 14px; border-radius: 8px;
	background: #953132; color: #fff !important; text-decoration: none !important;
	font-weight: 600; font-size: 13px;
}
.qweb-promo-toast__cta:hover { background: #7c2829; }
.qweb-promo-toast.is-done .qweb-promo-toast__cta { background: #1a7f37; }
@media (max-width: 767px) { .qweb-promo-toast { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .qweb-promo-toast { transition: none; } }

/* Product page line */
.qweb-promo-line {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin: 0 0 18px; padding: 10px 14px;
	border: 1px solid #eadada; border-radius: 10px; background: #fcf8f8;
	color: #133447; font-size: 14px; line-height: 1.45;
}
.qweb-promo-line__tag { padding: 2px 8px; border-radius: 999px; background: #953132; color: #fff; font-weight: 700; font-size: 12px; }
.qweb-promo-line__link { color: #953132; font-weight: 600; text-decoration: underline; }
