/* FlesherNET Software: listing, product page and download buttons. Uses the FlesherNET theme colours. */
.fn-software-page { --fn-sw-red: var(--main-accent, #8d0000); --fn-sw-ink: #2b2a2a; --fn-sw-muted: #656464; --fn-sw-line: var(--fn-line, #e4e0dc); }

/* Download button */
.fn-sw-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 9px; background: var(--main-accent, #8d0000); color: #fff !important; text-decoration: none !important; font-weight: 700; line-height: 1.2; box-shadow: 0 6px 18px rgba(141, 0, 0, .28); transition: background .2s, transform .2s, box-shadow .2s; }
.fn-sw-btn:hover { background: #a50d0d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(141, 0, 0, .35); }
.fn-sw-btn i { font-size: 1.15em; }
.fn-sw-btn span { display: flex; flex-direction: column; align-items: flex-start; }
.fn-sw-btn small { font-size: 11.5px; font-weight: 600; opacity: .8; margin-top: 2px; }
.fn-sw-btn-lg { padding: 15px 28px; font-size: 17px; }
.fn-sw-btn-sm { padding: 9px 16px; font-size: 13px; box-shadow: none; }
.fn-sw-btn-sm small { display: none; }
.fn-sw-btn-off, .fn-sw-btn-off:hover { background: #e9e5e3; color: #656464 !important; box-shadow: none; transform: none; cursor: default; }
.fn-sw-inline-download { margin: 1.4em 0; }

/* Status chips */
.fn-sw-status { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #f3efed; color: #656464; }
.fn-sw-status-available { background: #e6f4ea; color: #1e6b34; }
.fn-sw-status-beta { background: #fff3d6; color: #8a5a00; }
.fn-sw-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fn-sw-chips li { margin: 0; padding: 5px 11px; border-radius: 999px; background: #f6f3f1; border: 1px solid var(--fn-sw-line); font-size: 12px; font-weight: 600; color: var(--fn-sw-ink); }
.fn-sw-chips li span { color: var(--fn-sw-muted); font-weight: 500; }

/* Icons */
.fn-sw-icon { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22%; }
.fn-sw-icon-blank { display: grid; place-items: center; background: linear-gradient(#a81111, #7a0000); color: #fff; font-size: 40px; }

/* Listing */
.fn-sw-archive { padding-top: 32px; padding-bottom: 60px; }
.fn-sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 22px; }
.fn-sw-card { display: flex; gap: 22px; padding: 24px; background: #fff; border: 1px solid var(--fn-sw-line); border-top: 4px solid var(--main-accent, #8d0000); border-radius: var(--fn-radius, 10px); box-shadow: var(--fn-shadow, 0 1px 3px rgba(0,0,0,.06)); transition: box-shadow .2s, transform .2s; }
.fn-sw-card:hover { box-shadow: 0 12px 30px rgba(30, 20, 20, .12); transform: translateY(-2px); }
.fn-sw-card-icon { flex: 0 0 104px; align-self: flex-start; filter: drop-shadow(0 6px 12px rgba(122, 0, 0, .25)); }
.fn-sw-card-body { min-width: 0; flex: 1; }
.fn-sw-card h2 { margin: 8px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.fn-sw-card h2 a { color: var(--fn-sw-ink); text-decoration: none; }
.fn-sw-card h2 a:hover { color: var(--main-accent, #8d0000); }
.fn-sw-tagline { margin: 0 0 8px; font-weight: 600; color: var(--main-accent, #8d0000); font-size: 14px; }
.fn-sw-excerpt { color: var(--fn-sw-muted); font-size: 14px; line-height: 1.65; }
.fn-sw-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.fn-sw-more { font-weight: 700; font-size: 13.5px; color: var(--fn-sw-ink) !important; text-decoration: none !important; }
.fn-sw-more i { color: var(--main-accent, #8d0000); margin-left: 4px; transition: transform .2s; }
.fn-sw-more:hover i { transform: translateX(3px); }
.fn-sw-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed #d8cfcb; border-radius: 10px; color: var(--fn-sw-muted); }
.fn-sw-empty i { font-size: 46px; color: var(--main-accent, #8d0000); opacity: .7; }
.fn-sw-empty h2 { color: var(--fn-sw-ink); margin: 14px 0 6px; }

/* Product page hero */
.fn-sw-hero { position: relative; overflow: hidden; color: #fff; padding: 54px 0;
	background:
		radial-gradient(90% 140% at 100% 0%, rgba(141, 0, 0, .8) 0%, transparent 60%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
		linear-gradient(120deg, #1a1919, #2f2a2a 60%, #3d2020); }
.fn-sw-hero-inner { display: flex; align-items: center; gap: 40px; }
.fn-sw-hero-icon { flex: 0 0 176px; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .45)); }
.fn-sw-hero-text { min-width: 0; }
.fn-sw-kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #f0a9a9 !important; text-decoration: none !important; }
.fn-sw-hero h1 { color: #fff; font-size: 42px; line-height: 1.1; margin: 8px 0 8px; letter-spacing: -.02em; }
.fn-sw-hero-tagline { color: #e2d6d4; font-size: 18px; margin: 0; max-width: 640px; }
.fn-sw-chips-dark li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.fn-sw-chips-dark .fn-sw-status-available { background: rgba(70, 180, 100, .2); border-color: rgba(120, 220, 150, .35); }
.fn-sw-chips-dark .fn-sw-status-beta { background: rgba(255, 190, 60, .18); border-color: rgba(255, 200, 90, .35); }
.fn-sw-hero-actions { margin-top: 24px; }
.fn-sw-hero .fn-sw-btn-off { background: rgba(255, 255, 255, .1); color: #e2d6d4 !important; }

/* Product page body */
.fn-sw-layout { padding-top: 36px; }
.fn-sw-content { background: #fff; border: 1px solid var(--fn-sw-line); border-radius: var(--fn-radius, 10px); padding: 32px 36px; box-shadow: var(--fn-shadow, 0 1px 3px rgba(0,0,0,.06)); }
.fn-sw-content > p:first-child { font-size: 17px; line-height: 1.7; }
.fn-sw-content h2 { margin-top: 1.8em; padding-bottom: 8px; border-bottom: 2px solid #f0ecea; }
.fn-sw-content h2:first-child { margin-top: 0; }
.fn-sw-content h3 { margin: 1.3em 0 .35em; font-size: 17px; color: var(--main-accent, #8d0000); }
.fn-sw-content figure.wp-block-image { margin: 1.6em 0; }
.fn-sw-content figure.wp-block-image img { border-radius: 10px; border: 1px solid var(--fn-sw-line); box-shadow: 0 10px 30px rgba(30, 20, 20, .14); }
.fn-sw-content figure.wp-block-image figcaption { text-align: center; color: var(--fn-sw-muted); font-size: 13px; margin-top: 10px; }
.fn-sw-side .fn-sw-side-download { margin-top: 14px; }
.fn-sw-side .fn-sw-btn { width: 100%; justify-content: center; box-sizing: border-box; }
.fn-sw-others { list-style: none; margin: 0; padding: 0; }
.fn-sw-others li { margin: 0 0 8px; }
.fn-sw-others a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fn-sw-ink); font-weight: 600; }
.fn-sw-others a:hover { color: var(--main-accent, #8d0000); }
.fn-sw-mini { width: 34px; height: 34px; border-radius: 22%; object-fit: cover; flex: none; }
.fn-sw-others .fn-sw-icon-blank { width: 34px; height: 34px; font-size: 15px; border-radius: 22%; }

@media (max-width: 760px) {
	.fn-sw-grid { grid-template-columns: 1fr; }
	.fn-sw-card { flex-direction: column; gap: 14px; padding: 20px; }
	.fn-sw-card-icon { flex: none; width: 84px; }
	.fn-sw-hero { padding: 34px 0; }
	.fn-sw-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.fn-sw-hero-icon { flex: none; width: 110px; }
	.fn-sw-hero h1 { font-size: 32px; }
	.fn-sw-hero-tagline { font-size: 16px; }
	.fn-sw-content { padding: 22px 18px; }
}
