/* ===== Cashback product detail page ===== */
.cashback-product-page {
	background: #f5f6f8;
	min-height: 60vh;
	padding-bottom: 0;
}

.cashback-guest-hint {
	margin: 0 0 0.75rem;
	padding: 12px 14px;
	border-radius: 12px;
	background: #eef6ff;
	border: 1px solid #bfdbfe;
	font-size: 13px;
	color: #1e3a5f;
	line-height: 1.45;
}

.cashback-guest-hint a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.cashback-guest-hint a:hover {
	text-decoration: underline;
}

.cashback-product-card__cashback--guest .cashback-product-card__commission {
	color: #6c757d;
	font-weight: 500;
	font-size: 13px;
}

.cashback-product-page__tabs {
	padding-top: 0;
}

.cashback-product-page__body {
	padding-top: 1rem;
	max-width: 480px;
}

.cashback-product-page__platforms {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.cashback-product-page__platform {
	flex: 1;
	border: 2px solid #eee;
	border-radius: 12px;
	background: #fff;
	padding: 0.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cashback-product-page__platform.active {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 1px var(--color-primary);
}

.cashback-product-page__platform img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.cashback-product-page__link-input {
	margin-bottom: 0.75rem;
}

.cashback-product-page__error {
	background: #fdecea;
	color: #c62828;
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
	font-size: 0.875rem;
	margin-bottom: 0.75rem;
}

.cashback-product-page__loading {
	margin-bottom: 1rem;
}

.cashback-product-card--loading {
	pointer-events: none;
}

.cashback-product-card__thumb--loading {
	position: relative;
	overflow: hidden;
}

.cashback-product-card__shimmer {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #eceff1 0%, #fafafa 50%, #eceff1 100%);
	background-size: 200% 100%;
	animation: cashback-skeleton-shimmer 1.2s ease-in-out infinite;
}

.cashback-product-card__info--skeleton {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding-top: 0.15rem;
}

.cashback-skeleton-line {
	border-radius: 6px;
	background: linear-gradient(90deg, #f0f2f5 0%, #ffffff 50%, #f0f2f5 100%);
	background-size: 200% 100%;
	animation: cashback-skeleton-shimmer 1.2s ease-in-out infinite;
}

.cashback-skeleton-line--title {
	height: 14px;
}

.cashback-skeleton-line--short {
	width: 72%;
}

.cashback-skeleton-line--meta {
	height: 12px;
	width: 55%;
}

.cashback-skeleton-line--cashback {
	height: 18px;
	width: 80%;
	border-radius: 999px;
}

.cashback-product-loading__status {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.5rem 0.15rem;
	text-align: center;
}

.cashback-product-loading__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.cashback-product-loading__dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-primary);
	animation: cashback-loading-bounce 1.4s ease-in-out infinite both;
}

.cashback-product-loading__dots span:nth-child(1) {
	animation-delay: -0.32s;
}

.cashback-product-loading__dots span:nth-child(2) {
	animation-delay: -0.16s;
}

.cashback-product-loading__text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	color: #495057;
}

@keyframes cashback-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

@keyframes cashback-loading-bounce {
	0%, 80%, 100% {
		transform: scale(0.55);
		opacity: 0.45;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

.cashback-product-card {
	display: flex;
	gap: 0.85rem;
	background: #fff;
	border-radius: 16px;
	padding: 0.85rem;
	margin-bottom: 1rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cashback-product-card__thumb {
	width: 88px;
	height: 88px;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #f0f0f0;
}

.cashback-product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cashback-product-card__name {
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
	line-height: 1.35;
}

.cashback-product-card__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
}

.cashback-product-card__price {
	color: #d32f2f;
	font-weight: 700;
	font-size: 1rem;
}

.cashback-product-card__sold {
	font-size: 0.75rem;
	color: #888;
}

.cashback-product-card__likes {
	font-size: 0.75rem;
	color: #888;
	margin-top: 0.15rem;
}

.cashback-product-card__cashback {
	margin-top: 0.5rem;
	font-size: 0.8rem;
}

.cashback-product-card__cashback-label {
	color: #666;
	margin-right: 0.25rem;
}

.cashback-product-card__percent {
	color: #2e7d32;
	font-weight: 700;
	margin-right: 0.35rem;
}

.cashback-product-card__commission {
	color: #f57c00;
	font-weight: 700;
}

.cashback-product-page__actions {
	margin-bottom: 1rem;
}

.cashback-product-page__tracking-link {
	display: block;
	word-break: break-all;
	color: #1565c0;
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
	text-decoration: underline;
}

.cashback-product-page__action-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}

.cashback-product-page__btn {
	border-radius: 999px;
	padding: 0.75rem 1rem;
	font-weight: 600;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	cursor: pointer;
	border: none;
}

.cashback-product-page__btn--outline {
	background: #fff;
	border: 2px solid #d32f2f;
	color: #d32f2f;
}

.cashback-product-page__btn--primary {
	background: #d32f2f;
	color: #fff;
}

.cashback-product-page__guide {
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.cashback-product-page__guide-title {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 0.65rem;
}

.cashback-guide-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.cashback-guide-steps__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	line-height: 1.45;
}

.cashback-guide-steps__num {
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	margin-top: 0.1rem;
}

.cashback-guide-steps__text {
	flex: 1;
	min-width: 0;
	color: #444;
}

.cashback-guide-steps__text strong {
	color: #d32f2f;
	font-weight: 600;
}

.cashback-product-page__notes {
	background: #fff9e6;
	border: 1px solid #fbc02d;
	border-radius: 16px;
	padding: 0.85rem 1rem;
}

.cashback-product-page__notes-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.cashback-product-page__notes-title {
	font-weight: 700;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.cashback-product-page__notes-title i {
	color: #f9a825;
}

.cashback-product-page__notes-toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.cashback-product-page__notes-switch {
	display: inline-block;
	width: 44px;
	height: 24px;
	background: #ffcdd2;
	border-radius: 999px;
	position: relative;
	cursor: pointer;
}

.cashback-product-page__notes-toggle input:checked + .cashback-product-page__notes-switch {
	background: #ef5350;
}

.cashback-product-page__notes-switch::after {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	background: #fff;
	border-radius: 50%;
	top: 3px;
	left: 3px;
	transition: transform 0.2s;
}

.cashback-product-page__notes-toggle input:checked + .cashback-product-page__notes-switch::after {
	transform: translateX(20px);
}

.cashback-product-page__notes-list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #444;
}

.cashback-product-page__notes-list li::marker {
	color: #fbc02d;
}

.points-page__earn-cta {
	text-align: center;
	margin-top: 1.25rem;
	padding: 1rem;
	background: #fff;
	border-radius: 14px;
}

.points-page__earn-cta p {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.85rem;
}

.points-page__earn-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--color-primary);
	color: #fff;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

