.s360-favorites-main {
	min-height: 62vh;
	padding: 34px 0 58px;
	background:
		radial-gradient(circle at 88% 4%, rgba(31, 150, 230, .12), transparent 32%),
		linear-gradient(180deg, #f7fbff 0, #fff 340px);
}

.s360-favorites-shell {
	max-width: 1120px;
}

.s360-favorites-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 27px 30px;
	border: 1px solid #d7e6f2;
	border-radius: 20px;
	background: linear-gradient(135deg, #fff 55%, #edf7ff);
	box-shadow: 0 14px 38px rgba(14, 74, 128, .08);
}

.s360-favorites-eyebrow {
	margin: 0 0 5px;
	color: #0878d1;
	font-size: max(var(--s360-readable-floor, 14px), .7rem);
	font-weight: 900;
	letter-spacing: .16em;
}

.s360-favorites-hero h1 {
	margin: 0;
	color: #172033;
	font-size: clamp(1.7rem, 4vw, 2.45rem);
	line-height: 1.25;
}

.s360-favorites-lead {
	margin: 9px 0 0;
	color: #52677b;
	font-size: max(var(--s360-readable-floor, 14px), .95rem);
}

.s360-favorites-summary {
	display: grid;
	grid-template-columns: auto auto;
	align-items: end;
	min-width: 132px;
	padding: 14px 21px;
	border: 1px solid #c7dff1;
	border-radius: 16px;
	background: rgba(255, 255, 255, .86);
	color: #557086;
	text-align: center;
}

.s360-favorites-summary span {
	grid-column: 1 / -1;
	font-size: max(var(--s360-readable-floor, 14px), .68rem);
	font-weight: 800;
}

.s360-favorites-summary strong {
	color: #0878d1;
	font-size: 2rem;
	line-height: 1.15;
}

.s360-favorites-summary small {
	padding: 0 0 4px 3px;
	font-weight: 800;
}

.s360-favorites-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 20px 0 16px;
	padding: 13px 16px;
	border: 1px solid #e0e9f1;
	border-radius: 12px;
	background: #fff;
}

.s360-favorites-toolbar p {
	margin: 0;
	color: #64748b;
	font-size: max(var(--s360-readable-floor, 14px), .76rem);
	line-height: 1.55;
}

.s360-favorites-clear,
.s360-favorite-remove {
	border: 1px solid #d7e1e9;
	border-radius: 8px;
	background: #fff;
	color: #5f7183;
	font: inherit;
	font-size: max(var(--s360-readable-floor, 14px), .7rem);
	font-weight: 800;
	cursor: pointer;
}

.s360-favorites-clear {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 7px 12px;
}

.s360-favorites-clear:hover,
.s360-favorite-remove:hover {
	border-color: #d16b6b;
	color: #b42323;
}

.s360-favorites-clear:disabled {
	opacity: .45;
	cursor: default;
}

.s360-favorites-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.s360-favorite-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 13px;
	border: 1px solid #dce7f0;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 7px 22px rgba(21, 72, 119, .055);
}

.s360-favorite-card-link {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	color: inherit !important;
	text-decoration: none !important;
}

.s360-favorite-card-image {
	display: grid;
	height: 205px;
	place-items: center;
	margin-bottom: 11px;
	padding: 8px;
	border-radius: 11px;
	background: #f4f8fb;
}

.s360-favorite-card-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.s360-favorite-card-image span {
	color: #8aa0b4;
	font-size: max(var(--s360-readable-floor, 14px), .72rem);
	font-weight: 800;
}

.s360-favorite-game {
	color: #0878d1;
	font-size: max(var(--s360-readable-floor, 14px), .62rem);
	font-weight: 900;
}

.s360-favorite-card h2 {
	margin: 4px 0 3px;
	color: #172033;
	font-size: max(var(--s360-readable-floor, 14px), .88rem);
	line-height: 1.45;
}

.s360-favorite-meta {
	color: #718096;
	font-size: max(var(--s360-readable-floor, 14px), .65rem);
	line-height: 1.45;
}

.s360-favorite-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	color: #718096;
	font-size: max(var(--s360-readable-floor, 14px), .61rem);
}

.s360-favorite-price strong {
	color: #0870c5;
	font-size: 1rem;
}

.s360-favorite-remove {
	width: 100%;
	min-height: 34px;
	margin-top: 10px;
	padding: 6px 9px;
}

.s360-favorites-empty {
	padding: 54px 22px;
	border: 1px dashed #c9d9e6;
	border-radius: 16px;
	background: #fff;
	text-align: center;
}

.s360-favorites-empty-icon {
	display: block;
	margin-bottom: 10px;
	color: #79a9ce;
	font-size: 2.35rem;
	line-height: 1;
}

.s360-favorites-empty h2 {
	margin: 0;
	font-size: 1.2rem;
}

.s360-favorites-empty p,
.s360-favorites-noscript {
	margin: 8px 0 0;
	color: #64748b;
	font-size: max(var(--s360-readable-floor, 14px), .82rem);
}

.s360-favorites-empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	margin-top: 18px;
}

.s360-favorite-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 11px;
	padding: 7px 12px;
	border: 1px solid #b9d7ee;
	border-radius: 9px;
	background: #fff;
	color: #0870c5;
	font: inherit;
	font-size: max(var(--s360-readable-floor, 14px), .72rem);
	font-weight: 900;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.s360-favorite-toggle:hover {
	border-color: #0878d1;
	background: #edf7ff;
}

.s360-favorite-toggle[aria-pressed="true"] {
	border-color: #f2b04f;
	background: #fff8e8;
	color: #a85c00;
}

.s360-favorite-feedback {
	display: block;
	min-height: 1.4em;
	margin-top: 4px;
	color: #64748b;
	font-size: max(var(--s360-readable-floor, 14px), .62rem);
}

.s360-favorite-header-count {
	display: inline-flex;
	min-width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	margin-left: 5px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e8f4fd;
	color: #0870c5;
	font-size: max(var(--s360-readable-floor, 14px), .62rem);
	font-weight: 900;
}

@media (max-width: 900px) {
	.s360-favorites-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.s360-favorites-main {
		padding: 20px 0 42px;
	}

	.s360-favorites-hero {
		align-items: stretch;
		padding: 20px;
	}

	.s360-favorites-summary {
		min-width: 98px;
		padding: 11px 14px;
	}

	.s360-favorites-toolbar {
		align-items: flex-start;
	}

	.s360-favorites-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.s360-favorite-card {
		padding: 9px;
	}

	.s360-favorite-card-image {
		height: 168px;
	}
}

@media (max-width: 420px) {
	.s360-favorites-hero {
		gap: 13px;
	}

	.s360-favorites-lead {
		font-size: max(var(--s360-readable-floor, 14px), .78rem);
	}

	.s360-favorites-toolbar {
		flex-direction: column;
	}

	.s360-favorites-clear {
		width: 100%;
	}

	.s360-favorite-card-image {
		height: 145px;
	}
}
