.ir-mobile-saved-pill,
.ir-saved-backdrop,
.ir-saved-sheet {
	display: none;
}

/* Header saved button (desktop + compact mobile) */
.nav-save-heart {
	font-size: 0.94rem;
	color: var(--red, #e8231a);
	line-height: 1;
}

.nav-save-text {
	line-height: 1;
}

.nav-save-count {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(232, 35, 26, 0.1);
	color: var(--red, #e8231a);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.66rem;
	font-weight: 900;
	line-height: 1;
}

.nav-saved.has-saved {
	border-color: rgba(232, 35, 26, 0.35) !important;
	color: var(--red, #e8231a) !important;
	background: rgba(232, 35, 26, 0.045) !important;
}

/* Desktop saved modal (bike-single V22) */
.saved-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 17, 17, 0.58);
	backdrop-filter: blur(6px);
	z-index: 1300;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s;
}

.saved-overlay.open {
	opacity: 1;
	pointer-events: all;
}

.saved-modal {
	width: 100%;
	max-width: 460px;
	max-height: 84vh;
	background: #fff;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
	box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
}

.saved-head {
	background: #111;
	color: #fff;
	padding: 17px 18px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.saved-head strong {
	font-family: var(--fd, 'Bebas Neue', sans-serif);
	font-size: 1.45rem;
	letter-spacing: 0.05em;
	line-height: 1;
}

.saved-head span {
	display: block;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.48);
	margin-top: 3px;
}

.saved-close-btn,
.saved-head .saved-close-btn {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s ease, transform 0.15s ease;
}

.saved-close-btn:hover,
.saved-head .saved-close-btn:hover {
	background: rgba(255, 255, 255, 0.26);
}

.ir-saved-head .saved-close-btn {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ece7e0;
	color: #333;
	font-size: 1.35rem;
	line-height: 1;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.ir-saved-head .saved-close-btn:hover {
	background: #e2dbd2;
}

.saved-body {
	padding: 14px 16px;
	overflow: auto;
	display: grid;
	gap: 9px;
}

.saved-empty {
	border: 1.5px dashed var(--border, #e2e0dc);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
	color: var(--ink3, #9a9690);
	font-size: 0.84rem;
}

.saved-bike-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1.5px solid var(--border, #e2e0dc);
	border-radius: 14px;
	padding: 12px;
	background: var(--bg, #f8f7f5);
}

.saved-bike-row > div:first-child {
	flex: 1;
	min-width: 0;
}

.saved-bike-row-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.saved-bike-remove {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--border, #e2e0dc);
	color: var(--red, #e8231a);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex-shrink: 0;
}

.saved-bike-remove:hover {
	background: rgba(232, 35, 26, 0.06);
	border-color: rgba(232, 35, 26, 0.35);
}

.saved-bike-row strong {
	display: block;
	font-size: 0.86rem;
	line-height: 1.2;
	color: var(--ink, #111);
}

.saved-bike-row span {
	display: block;
	font-size: 0.72rem;
	color: var(--ink2, #5a5652);
	margin-top: 3px;
}

.saved-bike-row em {
	display: block;
	font-style: normal;
	font-family: var(--fd, 'Bebas Neue', sans-serif);
	font-size: 1rem;
	color: var(--red, #e8231a);
	letter-spacing: 0.04em;
	margin-top: 4px;
}

.saved-bike-row a {
	flex: 0 0 auto;
	background: #fff;
	border: none;
	border-radius: 999px;
	padding: 8px 11px;
	font-size: 0.74rem;
	font-weight: 850;
	color: #111;
	text-decoration: none;
}

.saved-bike-row-actions a {
	flex: 0 0 auto;
}

.saved-foot {
	padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
	border-top: 1.5px solid var(--border, #e2e0dc);
	display: grid;
	gap: 8px;
}

.saved-send {
	background: #25d366;
	color: #fff;
	border: 0;
	border-radius: 12px;
	padding: 13px;
	font-size: 0.9rem;
	font-weight: 900;
	cursor: pointer;
}

.saved-clear {
	background: #fff;
	color: var(--ink3, #9a9690);
	border: 1.5px solid var(--border, #e2e0dc);
	border-radius: 12px;
	padding: 11px;
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
}

@media (min-width: 640px) {
	.saved-overlay {
		align-items: center;
	}

	.saved-modal {
		border-radius: 20px;
	}
}

@media (max-width: 900px) {
	.ir-site-header .nav-r > .btn-red {
		display: none !important;
	}

	.ir-site-header .nav-r .nav-saved {
		display: flex !important;
		width: 36px;
		height: 36px;
		padding: 0 !important;
		align-items: center;
		justify-content: center;
		border-radius: 50% !important;
		gap: 0 !important;
	}

	.ir-site-header .nav-r .nav-save-text {
		display: none;
	}

	.ir-site-header .nav-r .nav-save-heart {
		font-size: 1.05rem;
	}

	.ir-site-header .nav-r .nav-save-count {
		position: absolute;
		transform: translate(12px, -12px);
		min-width: 16px;
		height: 16px;
		font-size: 0.58rem;
		background: var(--red, #e8231a);
		color: #fff;
	}

	.ir-site-header .nav-r {
		position: relative;
	}
}


@media (max-width: 760px) {
	.ir-mobile-saved-pill {
		position: fixed;
		right: 12px;
		bottom: 78px;
		z-index: 959;
		display: none;
		align-items: center;
		gap: 6px;
		min-height: 38px;
		padding: 7px 11px;
		border: 1px solid rgba(232, 35, 26, 0.22);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		color: #111;
		font-family: var(--ff, 'Outfit', sans-serif);
		font-weight: 900;
		cursor: pointer;
	}

	.ir-mobile-saved-pill.show {
		display: flex !important;
	}

	.ir-mobile-saved-pill span {
		width: 22px;
		height: 22px;
		border-radius: 50%;
		display: grid;
		place-items: center;
		background: rgba(232, 35, 26, 0.1);
		color: #e8231a;
		font-size: 0.86rem;
		line-height: 1;
	}

	.ir-mobile-saved-pill b {
		font-size: 0.88rem;
		color: #e8231a;
		line-height: 1;
	}

	.ir-mobile-saved-pill em {
		font-style: normal;
		font-size: 0.68rem;
		color: #5a5652;
		line-height: 1;
		text-transform: uppercase;
		letter-spacing: 0.04em;
	}

	.ir-saved-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1000;
		background: rgba(0, 0, 0, 0.42);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.22s;
		display: block !important;
	}

	.ir-saved-backdrop.open {
		opacity: 1;
		pointer-events: auto;
	}

	.ir-saved-sheet {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 76px;
		z-index: 1001;
		display: block !important;
		max-height: 70vh;
		overflow: auto;
		background: #fff;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 24px;
		box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
		padding: 10px 14px 14px;
		transform: translateY(28px) scale(0.98);
		opacity: 0;
		pointer-events: none;
		transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.ir-saved-sheet.open {
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}

	.ir-saved-handle {
		width: 42px;
		height: 4px;
		border-radius: 999px;
		background: #ddd7cf;
		margin: 2px auto 12px;
	}

	.ir-saved-head {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 12px;
	}

	.ir-saved-head b {
		display: block;
		font-family: var(--fd, 'Bebas Neue', sans-serif);
		font-size: 1.65rem;
		letter-spacing: 0.04em;
		line-height: 1;
		color: #111;
	}

	.ir-saved-head span {
		display: block;
		font-size: 0.76rem;
		color: #7b746c;
		line-height: 1.35;
		margin-top: 3px;
	}

	.ir-saved-head button,
	.ir-saved-head .saved-close-btn {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: #ece7e0;
		color: #333;
		font-size: 1.35rem;
		line-height: 1;
		border: 0;
	}

	.ir-saved-list {
		display: grid;
		gap: 8px;
	}

	.ir-saved-card {
		display: grid;
		grid-template-columns: 46px minmax(0, 1fr) auto auto;
		gap: 8px 10px;
		align-items: center;
		padding: 9px;
		border: 1px solid #ece7e0;
		border-radius: 14px;
		background: #f8f7f5;
	}

	.ir-saved-card > div:nth-child(2) {
		min-width: 0;
	}

	.ir-saved-thumb {
		width: 46px;
		height: 46px;
		border-radius: 12px;
		background: #fff;
		display: grid;
		place-items: center;
		font-size: 1.25rem;
		border: 1px solid #ece7e0;
	}

	.ir-saved-name {
		font-size: 0.84rem;
		font-weight: 900;
		line-height: 1.15;
		color: #111;
		margin-bottom: 3px;
	}

	.ir-saved-meta {
		font-size: 0.68rem;
		font-weight: 750;
		color: #777069;
		line-height: 1.15;
	}

	.ir-saved-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 58px;
		padding: 7px 12px;
		border-radius: 999px;
		background: #fff;
		border: none;
		color: #111;
		font-size: 0.72rem;
		font-weight: 900;
		text-decoration: none;
		white-space: nowrap;
	}

	.ir-saved-remove {
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: #fff;
		border: 1px solid #e6e0d8;
		color: #e8231a;
		font-size: 1rem;
		line-height: 1;
		flex: 0 0 28px;
	}

	.ir-saved-empty {
		padding: 18px;
		border: 1px dashed #dcd5cc;
		border-radius: 14px;
		background: #faf8f4;
		text-align: center;
		color: #7b746c;
		font-size: 0.84rem;
		font-weight: 700;
	}

	.ir-saved-actions {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px;
		margin-top: 11px;
	}

	.ir-saved-wa {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		border-radius: 14px;
		background: #25d366;
		color: #fff;
		text-decoration: none;
		font-size: 0.84rem;
		font-weight: 950;
	}

	.ir-saved-clear {
		min-height: 44px;
		padding: 0 14px;
		border-radius: 14px;
		background: #111;
		color: #fff;
		font-size: 0.8rem;
		font-weight: 900;
	}

	body.ir-filter-sheet-open .ir-mobile-saved-pill,
	body.ir-sheet-lock .mob-bottom-nav {
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

@media (max-width: 390px) {
	.ir-mobile-saved-pill {
		right: 8px;
		bottom: 74px;
		min-height: 36px;
		padding: 7px 10px;
	}

	.ir-saved-sheet {
		left: 8px;
		right: 8px;
		bottom: 72px;
		border-radius: 22px;
	}
}

@media (min-width: 761px) {
	.ir-mobile-saved-pill,
	.ir-saved-backdrop,
	.ir-saved-sheet {
		display: none !important;
	}
}
