/* Faranetwork Features v2 — extra components */
.fnf-hp { position: absolute !important; left: -9999px; height: 0; opacity: 0; }
.fnf-alert { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.fnf-alert--ok { background: #dcfce7; color: #166534; }
.fnf-alert--err { background: #fee2e2; color: #991b1b; }

/* Free shipping bar */
.fnf-freeship { background: var(--fnf-bg); border: 1px solid var(--fnf-border); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.fnf-freeship__msg { font-weight: 700; margin-bottom: 8px; }
.fnf-freeship__bar { height: 8px; background: var(--fnf-bg2); border-radius: 999px; overflow: hidden; }
.fnf-freeship__bar i { display: block; height: 100%; background: linear-gradient(90deg, #38bdf8, #0284c7); border-radius: 999px; transition: width .5s; }

/* Product page bits */
.fnf-lowstock { color: #b45309; background: #fef3c7; border-radius: 10px; padding: 6px 12px; display: inline-block; font-weight: 700; }
.fnf-countdown { background: #fee2e2; color: #991b1b; border-radius: 12px; padding: 8px 14px; margin: 8px 0; display: inline-block; font-weight: 700; }
.fnf-countdown b { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: embed; }
.fnf-cutoff { color: #0369a1; background: var(--fnf-bg); border-radius: 10px; padding: 6px 12px; display: inline-block; }
.fnf-brand a { font-weight: 700; }
.fnf-share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; }
.fnf-share a, .fnf-share button { border: 1px solid var(--fnf-border); background: #fff; border-radius: 999px; padding: 3px 14px; cursor: pointer; color: inherit; font: inherit; }
.fnf-share a:hover, .fnf-share button:hover { background: var(--fnf-bg2); }
.fnf-trust { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.fnf-trust li { display: flex; align-items: center; gap: 10px; background: var(--fnf-bg); border-radius: 12px; padding: 8px 12px; }
.fnf-trust i { font-style: normal; font-size: 1.2rem; }
.fnf-new { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 5; background: #22c55e; color: #fff; border-radius: 999px; padding: 1px 12px; font-size: .75rem; font-weight: 700; }
.fnf-new--inline { position: static; display: inline-block; margin-bottom: 6px; }
.fnf-wa-btn { display: inline-flex; margin-top: 10px; gap: 6px; background: #22c55e; color: #fff !important; border-radius: 999px; padding: 8px 20px; font-weight: 700; }
.fnf-quote, .fnf-notify { background: #fff; border: 1px solid var(--fnf-border); border-radius: 16px; padding: 16px; margin: 14px 0; }
.fnf-quote-price { color: var(--fnf-dark); font-weight: 800; }
.fnf-specs { width: 100%; border-collapse: collapse; }
.fnf-specs th, .fnf-specs td { border: 1px solid var(--fnf-border); padding: 8px 12px; text-align: right; }
.fnf-specs th { background: var(--fnf-bg); width: 32%; font-weight: 600; }
.fnf-specs__group th { background: var(--fnf-bg2); color: var(--fnf-dark); width: auto; }
.fnf-recent { clear: both; margin-top: 30px; }
.fnf-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.fnf-brands a { border: 1px solid var(--fnf-border); background: #fff; border-radius: 999px; padding: 6px 18px; font-weight: 700; }

/* Reviews */
.fnf-proscons { margin-top: 8px; font-size: .92rem; }
.fnf-proscons ul { margin: 4px 0 0; padding-inline-start: 18px; }
.fnf-pros b { color: #166534; } .fnf-cons b { color: #991b1b; }
.fnf-vote button { border: 1px solid var(--fnf-border); background: #fff; border-radius: 999px; padding: 2px 14px; cursor: pointer; font: inherit; margin-top: 8px; }
.fnf-vote button:disabled { opacity: .6; cursor: default; }

/* Loyalty, gateway, OTP */
.fnf-points { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fefce8; border: 1px solid #fde68a; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.fnf-points-balance { background: #fefce8; border-radius: 12px; padding: 10px 14px; }
.fnf-cardbox { background: var(--fnf-bg); border: 1px dashed var(--fnf-primary); border-radius: 16px; padding: 16px; margin: 16px 0; }
.fnf-otp { max-width: 380px; margin: auto; background: #fff; border: 1px solid var(--fnf-border); border-radius: 20px; padding: 24px; box-shadow: 0 8px 30px rgba(14, 165, 233, .12); }
.fnf-otp__step { display: grid; gap: 10px; }
.fnf-otp__msg { min-height: 1.6em; margin: 8px 0 0; color: var(--fnf-dark); }

/* Sticky ATC */
.fnf-sticky { position: fixed; inset: auto 0 0 0; z-index: 998; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--fnf-border); box-shadow: 0 -6px 24px rgba(14, 165, 233, .15); }
.fnf-sticky[hidden] { display: none; }
.fnf-sticky__in { max-width: 1200px; margin: auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.fnf-sticky__name { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fnf-sticky__price { color: var(--fnf-dark); font-weight: 800; }

/* Announcement bar */
.fnf-announce { background: linear-gradient(90deg, #0284c7, #38bdf8); color: #fff; text-align: center; padding: 8px 40px; position: relative; font-weight: 600; }
.fnf-announce[hidden] { display: none; }
.fnf-announce a { color: #fff; text-decoration: underline; }
.fnf-announce button { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }

/* Mobile bottom nav */
.fnf-mnav { display: none; }
@media (max-width: 768px) {
	.fnf-mnav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset: auto 0 0 0; z-index: 997; background: #fff; border-top: 1px solid var(--fnf-border); box-shadow: 0 -4px 20px rgba(14, 165, 233, .12); padding-bottom: env(safe-area-inset-bottom); }
	.fnf-mnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: .75rem; color: #334155; position: relative; }
	.fnf-mnav i { font-style: normal; font-size: 1.25rem; }
	.fnf-mnav-count { position: absolute; top: 2px; inset-inline-start: 50%; margin-inline-start: 6px; background: var(--fnf-primary); color: #fff; border-radius: 999px; min-width: 18px; text-align: center; font-size: .65rem; padding: 0 4px; }
	body { padding-bottom: 64px; }
	.fnf-sticky { bottom: 58px; }
	.fnf-sticky__name { display: none; }
}
