/* LibFriend Deals – frontend styles */
.lfd-deal-box {
	--lfd-navy: #151d52;
	--lfd-gold: #c20059;
	box-sizing: border-box;
	margin: 14px 0 20px;
	padding: 14px 16px;
	background: #f7f8fc;
	border: 1px solid #e4e7f2;
	border-left: 4px solid var(--lfd-gold);
	border-radius: 8px;
}

.lfd-deal-box *,
.lfd-deal-box *::before,
.lfd-deal-box *::after {
	box-sizing: border-box;
}

.lfd-deal-box__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.lfd-deal-badge {
	display: inline-block;
	padding: 4px 9px;
	background: var(--lfd-gold);
	color: #ffffff;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.lfd-deal-save {
	display: inline-block;
	padding: 4px 9px;
	background: #fff;
	color: var(--lfd-navy);
	border: 1px solid #dfe3f0;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.lfd-deal-box__timer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.lfd-deal-box__label {
	color: #5c6278;
	font-size: 15px;
	font-weight: 600;
}

.lfd-deal-box__note {
	margin: 10px 0 0;
	color: #5c6278;
	font-size: 12.5px;
	line-height: 1.5;
}

/* Timer (shared) */
.lfd-timer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.lfd-timer__unit {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.lfd-timer__value {
	font-weight: 700;
}

.lfd-timer__label {
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lfd-timer__unit.lfd-unit--hide {
	display: none;
}

.lfd-timer--box {
	gap: 10px;
}

.lfd-timer--box .lfd-timer__unit {
	min-width: 76px;
	min-height: 76px;
	padding: 10px 12px 9px;
	background: #fff;
	border: 1px solid #e1e5f1;
	border-radius: 8px;
}

.lfd-timer--box .lfd-timer__value {
	color: var(--lfd-navy);
	font-size: 28px;
	line-height: 1.15;
}

.lfd-timer--box .lfd-timer__label {
	margin-top: 4px;
	color: #7b8194;
	font-size: 10.5px;
}

/* Compact timer used on product cards */
.lfd-timer--compact {
	gap: 0;
	color: var(--lfd-navy);
	font-size: 12px;
	font-weight: 600;
}

.lfd-timer--compact .lfd-timer__unit {
	flex-direction: row;
	align-items: baseline;
}

.lfd-timer--compact .lfd-timer__label {
	display: none;
}

.lfd-timer--compact .lfd-timer__unit + .lfd-timer__unit::before {
	content: none;
}

.lfd-timer--compact .lfd-timer__sep {
	margin: 0 1px;
	color: #9aa0b4;
	font-weight: 500;
}

.lfd-timer--compact .lfd-timer__unit:last-child .lfd-timer__sep {
	display: none;
}

.lfd-timer.lfd-expired .lfd-timer__value,
.lfd-timer.lfd-expired .lfd-timer__unit::before {
	color: #a7abba;
}

.lfd-loop-deal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 6px;
	color: #6b7183;
	font-size: 11.5px;
	line-height: 1.4;
}

.lfd-loop-deal__label {
	font-weight: 500;
}

.lfd-loop-deal--variation {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.lfd-variation-label {
	color: #7b8194;
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lfd-variation-select {
	box-sizing: border-box;
	width: 100%;
	max-width: 230px;
	margin: 1px 0;
	padding: 4px 6px;
	background: #fff;
	border: 1px solid #dfe3f0;
	border-radius: 4px;
	color: #151d52;
	font-size: 11.5px;
	line-height: 1.4;
}

.lfd-loop-deal--variation .lfd-timer {
	margin-top: 1px;
}

/* Deals page */
.lfd-deals {
	--lfd-navy: #151d52;
	--lfd-gold: #c20059;
	margin: 0 0 30px;
}

.lfd-deals__intro {
	margin-bottom: 18px;
}

.lfd-deals__title {
	margin: 0 0 6px;
	color: #151d52;
	font-size: 26px;
	line-height: 1.25;
}

.lfd-deals__subtitle {
	margin: 0;
	color: #6b7183;
	font-size: 14px;
}

.lfd-deals__bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e8eaf2;
}

.lfd-deals__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #151d52;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lfd-deals__dot {
	width: 8px;
	height: 8px;
	background: #2e9e5b;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(46, 158, 91, 0.15);
	animation: lfd-pulse 1.8s ease-in-out infinite;
}

@keyframes lfd-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(46, 158, 91, 0.15); }
	50% { box-shadow: 0 0 0 6px rgba(46, 158, 91, 0.06); }
}

.lfd-deals__count {
	padding: 3px 9px;
	background: #151d52;
	color: #fff;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
}

.lfd-deals__sort {
	margin-left: auto;
	color: #8a90a3;
	font-size: 12px;
}

.lfd-deals .wd-products {
	margin-bottom: 0;
}

.lfd-deals .wd-product .price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	line-height: 1.45;
}

.lfd-deals .wd-product .price del {
	color: #8f95a8;
	font-size: 11.5px;
	font-weight: 400;
	text-decoration: line-through;
}

.lfd-deals .wd-product .price ins {
	font-weight: 700;
	text-decoration: none;
}

.lfd-deals .lfd-loop-deal {
	justify-content: center;
	margin: 7px 0 2px;
	padding: 3px 7px;
	background: #f6f7fb;
	border-radius: 4px;
}

.lfd-deals .lfd-loop-deal__label {
	color: #7b8194;
	font-size: 10.5px;
}

.lfd-deals__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 54px 24px;
	background: #fafbff;
	border: 1px dashed #d9dded;
	border-radius: 10px;
	text-align: center;
}

.lfd-deals__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 4px;
	background: #fff;
	color: #c20059;
	border: 1px solid #eceff8;
	border-radius: 50%;
}

.lfd-deals__empty p {
	max-width: 480px;
	margin: 0;
	color: #5c6278;
	font-size: 14px;
	line-height: 1.6;
}

.lfd-deals__empty-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	background: #151d52;
	color: #fff !important;
	border-radius: 0;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.lfd-deals__empty-btn:hover {
	background: #232f74;
}

.lfd-card-expired {
	opacity: 0.4;
}

/* Sale label */
.onsale.lfd-onsale {
	background: #c20059;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.03em;
}

@media (max-width: 767px) {
	.lfd-deal-box {
		padding: 12px 13px;
	}

	.lfd-deal-box__label {
		width: 100%;
	}

	.lfd-timer--box {
		gap: 7px;
	}

	.lfd-timer--box .lfd-timer__unit {
		min-width: 60px;
		min-height: 60px;
		padding: 8px 8px 7px;
	}

	.lfd-timer--box .lfd-timer__value {
		font-size: 23px;
	}

	.lfd-deals__sort {
		width: 100%;
		margin-left: 0;
	}
}

/* Product page price block � deal-only elements.
   The base layout (price, M.R.P., tax) is kept by the persistent layout snippet. */
.lfd-price-block__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 7px 14px;
	background: #c20059;
	color: #ffffff;
	border-radius: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
}

.lfd-price-block__timer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	margin-top: 16px;
	padding: 14px 16px 16px;
	background: #f7f8fc;
	border: 1px solid #e4e7f2;
	border-left: 4px solid #c20059;
	border-radius: 8px;
}

.lfd-price-block__timer-label {
	color: #c20059;
	font-size: 14px;
	font-weight: 600;
}

.lfd-price-block__note {
	margin: 10px 0 0;
	color: #5c6278;
	font-size: 12.5px;
	line-height: 1.5;
}

.lfd-price-block__regular {
	margin-top: 6px;
	color: #5c6278;
	font-size: 13.5px;
	line-height: 1.4;
}
.lfd-price-block__mrp-value {
	color: #8b90a3;
	text-decoration: line-through;
	font-weight: 400;
}
.lfd-price-block__extra {
	color: #c20059;
	font-weight: 600;
}

@media (max-width: 767px) {
	.lfd-price-block__timer {
		padding: 12px 12px 14px;
	}
}
.lfd-price-block__timer .lfd-timer {
	width: 100%;
	justify-content: flex-start;
}

/* Product page: deal available in other variations. */
.lfd-deal-available {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 18px;
	color: #c20059;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

.lfd-deal-available__dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c20059;
}

.lfd-deal-available__text strong {
	color: #c20059;
	font-weight: 600;
}
