/* Hits — feed estilo Reels (somente mobile) */
html, body.hits-body {
	margin: 0;
	padding: 0;
	background: #000;
	color: #fff;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	height: 100%;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
}

.hits-desktop {
	display: none;
}

.hits-app {
	position: fixed;
	inset: 0;
	background: #000;
	z-index: 1;
}

.hits-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
	background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 100%);
	pointer-events: none;
}
.hits-top > * {
	pointer-events: auto;
}
.hits-top-back {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	backdrop-filter: blur(6px);
}
.hits-top-title {
	flex: 1;
	min-width: 0;
	line-height: 1.15;
}
.hits-top-title strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
}
.hits-top-title small {
	display: block;
	font-size: 11px;
	opacity: .75;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hits-top-wishlist {
	position: relative;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	backdrop-filter: blur(6px);
	font-size: 16px;
}
.hits-top-wishlist.has-items,
.hits-top-wishlist:hover {
	color: #ff2d55;
}
.hits-top-sound {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
	font-size: 15px;
	padding: 0;
	cursor: pointer;
}
.hits-top-sound.is-muted {
	opacity: .85;
}
.hits-top-wishlist-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ff2d55;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px rgba(0,0,0,.35);
}
.hits-top-count {
	font-size: 12px;
	font-weight: 700;
	background: rgba(0,0,0,.35);
	border-radius: 999px;
	padding: 6px 10px;
	backdrop-filter: blur(6px);
}

.hits-feed {
	height: 100%;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
}
.hits-feed::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.hits-slide {
	position: relative;
	height: 100%;
	min-height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	overflow: hidden;
	background: #0a0a0a;
}

/* Fundo desfocado (tela toda) */
.hits-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	background: #000;
}
.hits-bg-photo {
	position: absolute;
	inset: -32px;
	width: calc(100% + 64px);
	height: calc(100% + 64px);
	object-fit: cover;
	object-position: center top;
	filter: blur(32px) saturate(1.1) brightness(.55);
	transform: scale(1.12);
	opacity: 0;
	transition: opacity .35s ease;
}
.hits-bg-photo.is-ready {
	opacity: 1;
}

/* Foto principal em tela cheia — some suavemente no fim (sem corte seco) */
.hits-media {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	background: transparent;
	-webkit-mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 42%,
		rgba(0,0,0,.97) 50%,
		rgba(0,0,0,.88) 58%,
		rgba(0,0,0,.72) 66%,
		rgba(0,0,0,.52) 74%,
		rgba(0,0,0,.3) 82%,
		rgba(0,0,0,.12) 90%,
		transparent 100%
	);
	mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 42%,
		rgba(0,0,0,.97) 50%,
		rgba(0,0,0,.88) 58%,
		rgba(0,0,0,.72) 66%,
		rgba(0,0,0,.52) 74%,
		rgba(0,0,0,.3) 82%,
		rgba(0,0,0,.12) 90%,
		transparent 100%
	);
}
.hits-photo-skel {
	position: absolute;
	inset: 0;
	background: #1a1a1a;
}
.hits-photo-skel.is-gone {
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}
.hits-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0;
	transition: opacity .28s ease;
}
.hits-photo.is-ready {
	opacity: 1;
}
.hits-media-fade {
	display: none;
}

/* Ações laterais (curtir / compartilhar) */
.hits-side {
	position: absolute;
	right: 12px;
	bottom: 38%;
	z-index: 8;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	pointer-events: none;
}
.hits-like,
.hits-share {
	pointer-events: auto;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-size: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0,0,0,.28);
	transition: transform .15s ease, background .15s ease, color .15s ease;
}
.hits-share {
	font-size: 20px;
}
.hits-like i,
.hits-share i,
.hits-share-icon {
	pointer-events: none;
}
.hits-share-icon {
	display: block;
	width: 24px;
	height: 24px;
}
.hits-like:active,
.hits-share:active {
	transform: scale(.92);
}
.hits-like.is-active {
	color: #ff2d55;
	background: rgba(255,255,255,.16);
}
.hits-like.is-pop,
.hits-share.is-pop {
	animation: hits-like-pop .32s ease;
}
@keyframes hits-like-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.28); }
	100% { transform: scale(1); }
}

.hits-share-toast {
	position: fixed;
	left: 50%;
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%) scale(.96);
	z-index: 40;
	padding: 12px 18px;
	border-radius: 999px;
	background: rgba(20,20,20,.92);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.hits-share-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* Panel: preto suave por cima da foto, fundindo sem aresta */
.hits-panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 38%;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px 16px calc(14px + env(safe-area-inset-bottom));
	background: linear-gradient(
		180deg,
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,.06) 12%,
		rgba(0,0,0,.14) 24%,
		rgba(0,0,0,.26) 36%,
		rgba(0,0,0,.42) 48%,
		rgba(0,0,0,.58) 60%,
		rgba(0,0,0,.74) 72%,
		rgba(0,0,0,.88) 84%,
		rgba(0,0,0,.96) 93%,
		#000 100%
	);
	pointer-events: none;
}
.hits-panel::before {
	display: none;
}
.hits-sheet {
	position: relative;
	z-index: 1;
	pointer-events: auto;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hits-loja {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-decoration: none !important;
	color: #fff !important;
	margin-top: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
}
.hits-loja-logo {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 12px;
	object-fit: cover;
	background: #fff;
	border: 0;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.hits-loja-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 0;
}
.hits-loja-meta strong {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hits-loja-meta small {
	font-size: 11px;
	opacity: .65;
}
.hits-loja-go {
	width: 28px;
	height: 28px;
	margin-top: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	opacity: .85;
}

.hits-produto {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.hits-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.hits-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 4px 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
}
.hits-badge.is-off {
	background: rgba(229,57,53,.92);
	backdrop-filter: none;
}
.hits-badge.is-promo {
	background: rgba(250,84,28,.9);
	backdrop-filter: none;
}
.hits-badge.is-pay {
	background: rgba(22,119,255,.9);
	backdrop-filter: none;
}
.hits-nome {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
	text-shadow: 0 2px 12px rgba(0,0,0,.35);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hits-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.hits-meta li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,.9);
	background: rgba(0,0,0,.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 999px;
	padding: 5px 9px;
}
.hits-meta li i {
	font-size: 10px;
	color: var(--hits-accent, #ff6a00);
}

.hits-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
	padding: 0;
	border-top: none;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
}
.hits-preco {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.hits-preco-antigo {
	font-size: 12px;
	opacity: .55;
	text-decoration: line-through;
}
.hits-preco strong {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}
.hits-preco strong small {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: .55;
	margin-bottom: 1px;
}

.hits-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--hits-accent, #ff6a00);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	padding: 13px 16px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

.hits-hint {
	position: absolute;
	left: 50%;
	top: 38%;
	transform: translateX(-50%);
	z-index: 15;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #fff;
	pointer-events: none;
	transition: opacity .35s ease;
	animation: hits-bounce 1.4s ease-in-out infinite;
}
.hits-hint span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.hits-hint small {
	font-size: 12px;
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.hits-hint.is-hidden {
	opacity: 0;
}
@keyframes hits-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, -8px); }
}

.hits-empty {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px;
	text-align: center;
}
.hits-empty i {
	font-size: 42px;
	opacity: .7;
	margin-bottom: 6px;
}
.hits-empty strong {
	font-size: 18px;
}
.hits-empty span {
	font-size: 14px;
	opacity: .7;
	margin-bottom: 10px;
}
.hits-empty a {
	color: #fff;
	font-weight: 700;
}

/* Desktop / tablet */
@media screen and (min-width: 768px) {
	.hits-app {
		display: none !important;
	}
	.hits-desktop {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		padding: 24px;
		background: #f7f7f7;
		color: #222;
	}
	.hits-desktop-card {
		width: 100%;
		max-width: 420px;
		background: #fff;
		border-radius: 20px;
		padding: 28px 24px;
		text-align: center;
		box-shadow: 0 10px 28px rgba(0,0,0,.08);
	}
	.hits-desktop-icon {
		width: 64px;
		height: 64px;
		margin: 0 auto 12px;
		border-radius: 18px;
		background: #111;
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 26px;
	}
	.hits-desktop-card h1 {
		margin: 0 0 8px;
		font-size: 24px;
	}
	.hits-desktop-card p {
		margin: 0 0 18px;
		color: #666;
		font-size: 14px;
		line-height: 1.45;
	}
	.hits-desktop-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: #222;
		color: #fff !important;
		text-decoration: none !important;
		border-radius: 999px;
		padding: 12px 18px;
		font-weight: 700;
		font-size: 14px;
	}
}
