/* ==========================================================================
   VITAFIT — Conversion Boosters
   1) Shirit transporti falas  2) Frequently Bought Together
   4) Social proof popup       5) Sticky mobile add-to-cart
   6) Free gift note
   ========================================================================== */

:root {
	--vf-accent: #e63f01;      /* portokalli i Vitafit */
	--vf-success: #1a9d5c;     /* jeshile per sukses */
	--vf-border: #e2e2e0;
	--vf-text: #111;
	--vf-muted: #6b6b6b;
	--vf-radius: 8px;
}

/* ==========================================================================
   HERO CTA për homepage  [vitafit_hero]
   ========================================================================== */
.vf-hero {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 64px 48px;
	margin: 0 0 24px;
	color: #fff;
	min-height: 420px;
	display: flex;
	align-items: center;
	background:
		radial-gradient(circle at 12% 18%, rgba(230, 63, 1, 0.30), transparent 45%),
		radial-gradient(circle at 90% 90%, rgba(230, 63, 1, 0.18), transparent 45%),
		linear-gradient(135deg, #111 0%, #1b1b1b 55%, #2a1206 100%);
}

/* Video background — VETEM ne mobile (<=768px). Desktop mbet gradient. */
.vf-hero--has-video {
	/* desktop: i njejti gradient si hero pa video */
	background:
		radial-gradient(circle at 12% 18%, rgba(230, 63, 1, 0.30), transparent 45%),
		radial-gradient(circle at 90% 90%, rgba(230, 63, 1, 0.18), transparent 45%),
		linear-gradient(135deg, #111 0%, #1b1b1b 55%, #2a1206 100%);
}
.vf-hero__media {
	display: none; /* fshehur ne desktop */
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.vf-hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}
.vf-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 12% 18%, rgba(230, 63, 1, 0.28), transparent 45%),
		radial-gradient(circle at 90% 90%, rgba(230, 63, 1, 0.16), transparent 45%),
		linear-gradient(135deg, rgba(8, 8, 8, 0.88) 0%, rgba(18, 18, 18, 0.82) 50%, rgba(42, 18, 6, 0.86) 100%);
	pointer-events: none;
}

.vf-hero__glow {
	position: absolute;
	top: -120px; right: -80px;
	width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(230, 63, 1, 0.35), transparent 70%);
	filter: blur(30px);
	pointer-events: none;
	z-index: 0;
}
.vf-hero__inner { position: relative; z-index: 2; max-width: 720px; width: 100%; }
.vf-hero__eyebrow {
	display: inline-block;
	background: rgba(230, 63, 1, 0.16);
	color: #ff8a4d;
	border: 1px solid rgba(230, 63, 1, 0.45);
	padding: 7px 15px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 20px;
}
.vf-hero__title {
	font-size: 54px;
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: #fff;
}
.vf-hero__title span {
	background: linear-gradient(90deg, #ff8a4d, var(--vf-accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.vf-hero__subtitle {
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.74);
	margin: 0 0 28px;
}
.vf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.vf-hero__btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 32px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.vf-hero__btn--primary {
	background: var(--vf-accent);
	color: #fff;
	box-shadow: 0 10px 26px rgba(230, 63, 1, 0.4);
}
.vf-hero__btn--primary:hover { transform: translateY(-2px); color: #fff; opacity: .95; }
.vf-hero__btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.28);
}
.vf-hero__btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.vf-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	list-style: none;
	margin: 0; padding: 0;
}
.vf-hero__trust li {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	gap: 7px;
}
.vf-hero__trust li span {
	color: var(--vf-success);
	font-weight: 900;
}

/* ---------- Bestsellers rail ---------- */
.vf-bestsellers { margin: 0 0 8px; }
.vf-bestsellers__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 18px;
}
.vf-bestsellers__head h2 {
	font-size: 26px;
	font-weight: 900;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0;
	color: var(--vf-text);
}
.vf-bestsellers__all {
	font-size: 14px;
	font-weight: 700;
	color: var(--vf-accent);
	text-decoration: none;
	white-space: nowrap;
}
.vf-bestsellers__all:hover { text-decoration: underline; color: var(--vf-accent); }
.vf-bestsellers__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}
.vf-bs-card {
	border: 1px solid var(--vf-border);
	border-radius: 12px;
	background: #fff;
	padding: 12px;
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.vf-bs-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
	border-color: var(--vf-accent);
}
.vf-bs-card__img {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f6f6f5;
	margin-bottom: 10px;
}
.vf-bs-card__img img { width: 100%; height: 100%; object-fit: cover; }
.vf-bs-card__body { display: flex; flex-direction: column; flex: 1; }
.vf-bs-card__name {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--vf-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
	min-height: 34px;
}
.vf-bs-card__name:hover { color: var(--vf-accent); }
.vf-bs-card__price { font-size: 15px; font-weight: 800; color: var(--vf-text); margin-bottom: 10px; }
.vf-bs-card__price del { color: var(--vf-muted); font-weight: 500; font-size: 13px; margin-right: 5px; }
.vf-bs-card__price ins { text-decoration: none; color: var(--vf-accent); }
.vf-bs-card__btn { margin-top: auto; }
.vf-bs-card__btn .button {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--vf-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}
.vf-bs-card__btn .button:hover { opacity: .9; color: #fff; }
.vf-bs-card__btn .added_to_cart {
	display: block;
	text-align: center;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--vf-accent);
	text-decoration: none;
}

/* ---------- Responsive hero + bestsellers ---------- */
@media (max-width: 1024px) {
	.vf-bestsellers__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.vf-hero { padding: 44px 24px; border-radius: 14px; min-height: 380px; }
	.vf-hero__title { font-size: 34px; }
	.vf-hero__subtitle { font-size: 15px; }
	/* butonat njeri poshte tjetrit, gjeresi e plote — pa thyerje teksti */
	.vf-hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
	.vf-hero__btn { width: 100%; }

	/* video vetem ne mobile */
	.vf-hero--has-video { background: #111; }
	.vf-hero__media { display: block; }
}
@media (max-width: 560px) {
	.vf-bestsellers__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.vf-hero { min-height: 340px; }
	.vf-hero__title { font-size: 28px; }
	.vf-bestsellers__head h2 { font-size: 20px; }
}

/* Nese perdoruesi preferon me pak levizje, fshi video dhe mbaj gradient */
@media (prefers-reduced-motion: reduce) {
	.vf-hero__video { display: none; }
	.vf-hero--has-video {
		background:
			radial-gradient(circle at 12% 18%, rgba(230, 63, 1, 0.30), transparent 45%),
			radial-gradient(circle at 90% 90%, rgba(230, 63, 1, 0.18), transparent 45%),
			linear-gradient(135deg, #111 0%, #1b1b1b 55%, #2a1206 100%);
	}
}

/* ---------- 2) Frequently Bought Together ---------- */
.vf-fbt {
	border: 1px solid var(--vf-border);
	border-radius: var(--vf-radius);
	padding: 20px;
	margin: 32px 0;
}
.vf-fbt__title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 16px;
}
.vf-fbt__items {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 16px;
}
.vf-fbt__item {
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--vf-border);
	border-radius: var(--vf-radius);
	padding: 10px 12px;
	background: #fff;
	flex: 1 1 220px;
	cursor: pointer;
}
.vf-fbt__item.is-current { background: #faf7f5; }
.vf-fbt__item img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.vf-fbt__cb { width: 18px; height: 18px; accent-color: var(--vf-accent); flex-shrink: 0; }
.vf-fbt__name { font-size: 13px; font-weight: 700; line-height: 1.25; }
.vf-fbt__price { font-size: 13px; color: var(--vf-muted); }
.vf-fbt__footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vf-fbt__total { font-size: 16px; font-weight: 800; }
.vf-fbt__total span { color: var(--vf-accent); }
.vf-fbt__btn {
	background: var(--vf-accent);
	color: #fff; border: none;
	border-radius: var(--vf-radius);
	padding: 12px 22px;
	font-size: 14px; font-weight: 800;
	cursor: pointer;
	transition: opacity .15s ease;
}
.vf-fbt__btn:hover { opacity: .9; }
.vf-fbt__btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 4) Social proof popup ---------- */
.vf-social {
	position: fixed;
	left: 20px; bottom: 20px;
	z-index: 9998;
	max-width: 320px;
	background: #fff;
	border: 1px solid var(--vf-border);
	border-radius: var(--vf-radius);
	box-shadow: 0 8px 30px rgba(0,0,0,.15);
	padding: 12px 14px 12px 12px;
	display: flex; gap: 12px; align-items: center;
	transform: translateY(140%);
	opacity: 0;
	transition: transform .45s ease, opacity .45s ease;
}
.vf-social.is-visible { transform: translateY(0); opacity: 1; }
.vf-social img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #f0f0f0; }
.vf-social__body { font-size: 13px; line-height: 1.35; min-width: 0; }
.vf-social__name { font-weight: 700; color: var(--vf-text); }
.vf-social__meta { color: var(--vf-muted); font-size: 12px; }
.vf-social__close {
	position: absolute; top: 6px; right: 8px;
	border: none; background: none; cursor: pointer;
	font-size: 15px; color: var(--vf-muted); line-height: 1;
}
@media (max-width: 600px) {
	.vf-social { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- 5) Sticky mobile add-to-cart ---------- */
.vf-sticky-atc {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9997;
	background: #fff;
	border-top: 1px solid var(--vf-border);
	box-shadow: 0 -4px 20px rgba(0,0,0,.08);
	padding: 10px 14px;
	display: none;
	align-items: center;
	gap: 12px;
	transform: translateY(100%);
	transition: transform .3s ease;
}
.vf-sticky-atc.is-visible { transform: translateY(0); }
.vf-sticky-atc img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.vf-sticky-atc__info { flex: 1; min-width: 0; }
.vf-sticky-atc__name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-sticky-atc__price { font-size: 13px; font-weight: 800; color: var(--vf-accent); }
.vf-sticky-atc__btn {
	background: var(--vf-accent);
	color: #fff; border: none;
	border-radius: var(--vf-radius);
	padding: 12px 20px;
	font-size: 14px; font-weight: 800;
	cursor: pointer; white-space: nowrap;
}
@media (max-width: 768px) {
	.vf-sticky-atc { display: flex; }
	body.vf-has-sticky-atc { padding-bottom: 70px; }
}

/* ---------- 6) Free gift note (ne shporte) ---------- */
.vf-gift-badge {
	display: inline-block;
	background: var(--vf-success);
	color: #fff;
	font-size: 11px; font-weight: 800;
	padding: 2px 8px; border-radius: 999px;
	margin-left: 6px;
}
