/* ==========================================================================
   wtheme — site design system (replaces the purchased Hok template).
   Fonts: Plus Jakarta Sans (headings/UI) + Inter (text). Brand: royal blue on white/soft grey, navy bands.
   Section spacing is one fixed value (72/56/44). The header scrolls with the page (never fixed).
   ========================================================================== */
:root {
	--ink: #0b1222; --text: #3a4255; --muted: #6b7385; --line: #e5e8f0; --soft: #f5f7fb; --soft-2: #eef2fa; --white: #fff;
	--brand: #3d5afe; --brand-dark: #2741e6; --brand-soft: #edf0ff; --brand-ring: rgba(61, 90, 254, .22);
	--amber: #ffb020; --green: #12b76a; --green-soft: #e8f8f0; --rose: #f04438;
	--night: #0b1020; --night-2: #141b33; --night-line: #232c4a; --night-text: #aab3cf;
	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 12px; --radius-lg: 18px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow: 0 12px 32px -14px rgba(16, 24, 40, .22);
	--shadow-lg: 0 30px 60px -24px rgba(16, 24, 40, .32);
	--gap: 72px;
	/* Legacy names still used by older views */
	--title-font: var(--font-head); --body-font: var(--font-body); --theme-color: var(--brand); --title-color: var(--ink);
}
@media (max-width: 991px) { :root { --gap: 56px; } }
@media (max-width: 575px) { :root { --gap: 44px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5em; }
a { color: inherit; text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Buttons (th-btn kept as the class name used across views) ---------- */
.th-btn, .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
	font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.2; border: 1px solid transparent; cursor: pointer;
	background: var(--brand); color: #fff; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.th-btn:hover, .btn:hover { background: var(--brand-dark); color: #fff; }
.th-btn.btn-gradient, .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(61, 90, 254, .7); }
.th-btn.btn-gradient:hover, .btn-primary:hover { background: var(--brand-dark); color: #fff; }
.th-btn.style-border2, .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.th-btn.style-border2:hover, .btn-outline:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.w-100 { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #5b74ff 0%, #3d5afe 45%, #2236c9 100%); color: #fff; font: 800 15px/1 var(--font-head); letter-spacing: -.04em; box-shadow: 0 6px 14px -6px rgba(61, 90, 254, .8); }
.logo-text { font: 800 19px/1 var(--font-head); letter-spacing: -.03em; }
.logo-text b { color: var(--brand); font-weight: 800; }
.logo--light, .logo--light:hover { color: #fff; }

/* ---------- Top bar + header (static, scrolls away) ---------- */
.topbar { background: var(--night); color: var(--night-text); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: #c9d2ff; }
.topbar-note { display: flex; align-items: center; gap: 8px; }
.topbar-links { display: flex; gap: 18px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .nav-drop > button { font: 600 14px/1 var(--font-head); color: var(--ink); padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.is-current { color: var(--brand); background: var(--brand-soft); }
.nav-drop { position: relative; }
.nav-drop > button i { font-size: 11px; transition: transform .15s; }
.nav-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover > button i, .nav-drop.is-open > button i { transform: rotate(180deg); }
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav-menu a:hover { background: var(--soft); color: var(--ink); }
.nav-menu img { width: 44px; height: 34px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.nav-menu strong { display: block; font: 600 14px/1.3 var(--font-head); }
.nav-menu small { display: block; color: var(--muted); font-size: 12px; }
.nav-menu .nav-menu-all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font: 600 13px/1 var(--font-head); color: var(--brand); padding: 12px; }

.header-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.header-search input { width: 100%; height: 42px; border: 1px solid var(--line); background: var(--soft); border-radius: 10px; padding: 0 14px 0 40px; font-size: 14px; color: var(--ink); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.header-search input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.header-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { font: 600 14px/1 var(--font-head); color: var(--ink); padding: 10px 6px; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; font: 600 14px/1 var(--font-head); color: var(--ink); }
.acct-chip:hover { border-color: var(--brand); color: var(--ink); }
.acct-chip .acct-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 17px; cursor: pointer; }

.catbar { border-top: 1px solid var(--line); }
.catbar .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catbar .container::-webkit-scrollbar { display: none; }
.catbar a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 12px; font: 500 13px/1 var(--font-head); color: var(--text); white-space: nowrap; border-bottom: 2px solid transparent; }
.catbar a i { color: var(--muted); font-size: 13px; }
.catbar a:hover, .catbar a.is-current { color: var(--brand); border-bottom-color: var(--brand); }
.catbar a:hover i, .catbar a.is-current i { color: var(--brand); }

/* Mobile drawer */
.drawer { display: none; }
@media (max-width: 1080px) {
	.main-nav, .header-search, .header-actions .header-link, .header-actions .btn-join { display: none; }
	.nav-toggle { display: grid; place-items: center; margin-left: auto; }
	.header-main { gap: 12px; }
	.header-actions { margin-left: 0; }
	.drawer { display: block; position: fixed; inset: 0; z-index: 200; visibility: hidden; }
	.drawer-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 34, .45); opacity: 0; transition: opacity .2s; }
	.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 18px 18px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
	.nav-open .drawer { visibility: visible; }
	.nav-open .drawer-backdrop { opacity: 1; }
	.nav-open .drawer-panel { transform: none; }
	.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
	.drawer-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 18px; cursor: pointer; }
	.drawer form { position: relative; margin-bottom: 16px; }
	.drawer form input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px 0 40px; background: var(--soft); }
	.drawer form i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
	.drawer nav a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 10px; font: 600 15px/1.2 var(--font-head); color: var(--ink); }
	.drawer nav a:hover { background: var(--soft); }
	.drawer nav a i { width: 18px; color: var(--brand); }
	.drawer-label { display: block; font: 700 11px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 10px 6px; }
	.drawer-actions { display: grid; gap: 10px; margin-top: 20px; }
}
@media (max-width: 575px) {
	.topbar-links { display: none; }
	.logo-text { font-size: 17px; }
	.header-actions .acct-chip span:not(.acct-avatar) { display: none; }
	.header-actions .acct-chip { padding: 4px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: var(--gap) 0; }
.section + .section { padding-top: 0; }
.section--soft { background: var(--soft); }
.section--soft + .section, .section + .section--soft, .section--soft + .section--soft { padding-top: var(--gap); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--muted); max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.link-arrow { font: 600 14px/1 var(--font-head); color: var(--brand); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow:hover { color: var(--brand-dark); gap: 9px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
	radial-gradient(700px 380px at 85% 10%, rgba(61, 90, 254, .14), transparent 70%),
	radial-gradient(520px 320px at 10% 100%, rgba(255, 176, 32, .12), transparent 70%), var(--soft);
	padding: 64px 0 var(--gap); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 13px/1 var(--font-head); color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.hero-pill span { background: var(--brand); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
.hero-pill:hover { color: var(--brand); }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #3d5afe, #7b5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 17px; color: var(--text); max-width: 540px; margin-bottom: 26px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px; box-shadow: var(--shadow); max-width: 560px; }
.hero-search i { color: var(--muted); margin-left: 10px; }
.hero-search input { flex: 1; min-width: 0; border: 0; height: 44px; font-size: 15px; color: var(--ink); background: transparent; }
.hero-search input:focus { outline: none; }
.hero-search select { border: 0; border-left: 1px solid var(--line); height: 34px; padding: 0 10px; font: 600 13px var(--font-head); color: var(--ink); background: transparent; cursor: pointer; }
.hero-search select:focus { outline: none; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-tags a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.hero-tags a:hover { border-color: var(--brand); color: var(--brand); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font: 600 13px/1.3 var(--font-head); color: var(--ink); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--green); }

.hero-visual { position: relative; min-height: 440px; }
.shot { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(16, 24, 40, .08); }
.shot::before { content: ""; display: block; height: 22px; background: #f2f4f8 radial-gradient(circle at 12px 11px, #ff5f57 3.5px, transparent 4px) no-repeat, #f2f4f8; border-bottom: 1px solid var(--line); }
.shot::after { content: ""; position: absolute; top: 7px; left: 22px; width: 8px; height: 8px; border-radius: 50%; background: #febc2e; box-shadow: 12px 0 0 #28c840; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-1 { width: 74%; height: 330px; top: 0; right: 0; }
.shot-2 { width: 58%; height: 250px; left: 0; bottom: 10px; z-index: 2; }
.shot-3 { width: 22%; height: 300px; right: 6%; bottom: -20px; z-index: 3; border-radius: 20px; border: 6px solid #0b1222; }
.shot-3::before, .shot-3::after { display: none; }
.float-card { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font: 600 13px/1.3 var(--font-head); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-colors { left: 4%; top: 36px; }
.float-editions { left: 36%; bottom: -16px; }
.float-editions .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 16px; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.tile-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; flex: none; }
.tile strong { display: block; font: 700 15px/1.3 var(--font-head); color: var(--ink); }
.tile small { color: var(--muted); font-size: 13px; }
.tile .fa-arrow-right { margin-left: auto; color: var(--muted); font-size: 13px; }
.tile:hover .fa-arrow-right { color: var(--brand); }
.ico-blue { background: var(--brand-soft); color: var(--brand); }
.ico-orange { background: #fff4e5; color: #e07b00; }
.ico-green { background: var(--green-soft); color: var(--green); }
.ico-violet { background: #f3edff; color: #7b5cff; }
.ico-rose { background: #ffeceb; color: var(--rose); }
.ico-teal { background: #e6f7f8; color: #0e9aa7; }

/* ---------- Featured showcase ---------- */
.featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.featured-stage { display: block; border-radius: 14px; overflow: hidden; background: var(--soft-2); border: 1px solid var(--line); aspect-ratio: 16 / 11; }
.featured-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.design-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.design-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 600 12px/1 var(--font-head); color: var(--text); cursor: pointer; }
.design-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.design-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.featured-body { padding: 10px 14px 10px 0; }
.featured-body h3 { font-size: 28px; margin-bottom: 6px; }
.byline { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.byline a { color: var(--brand); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font: 600 12px/1 var(--font-head); color: var(--ink); }
.chip i { color: var(--brand); }
.chip--green { background: var(--green-soft); border-color: #c5ecd9; color: #067a46; }
.chip--green i { color: inherit; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks i { color: var(--green); font-size: 13px; }
.featured-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-tag { font: 800 26px/1 var(--font-head); color: var(--ink); margin-right: 8px; }
.price-tag small { display: block; font: 500 12px/1.4 var(--font-body); color: var(--muted); }

/* ---------- Item cards (ThemeForest-like) ---------- */
.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.items--3 { grid-template-columns: repeat(3, 1fr); }
.item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d5dbea; }
.item-thumb { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--soft-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s; }
.item:hover .item-thumb img { transform: scale(1.04); }
.item-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 6px; background: var(--ink); color: #fff; font: 700 11px/1 var(--font-head); letter-spacing: .04em; }
.item-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(11, 18, 34, .55); opacity: 0; transition: opacity .2s; z-index: 1; }
.item:hover .item-hover, .item:focus-within .item-hover { opacity: 1; }
.item-hover .th-btn { padding: 9px 14px; font-size: 13px; }
.item-body { padding: 14px 16px 6px; flex: 1; }
.item-title { font-size: 16px; margin: 0 0 4px; }
.item-title a:hover { color: var(--brand); }
.item-meta { font-size: 13px; color: var(--muted); margin: 0; }
.item-meta a { color: var(--brand); font-weight: 500; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); margin-top: 10px; }
.item-price { font: 800 17px/1 var(--font-head); color: var(--ink); }
.item-price.is-free { color: var(--green); }
.item-stats { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.item-stats i { margin-right: 3px; }
.ed-icons { display: inline-flex; gap: 4px; }
.ed-icons span { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--soft); color: var(--ink); font-size: 12px; }
.item--soon { border-style: dashed; background: var(--soft); align-items: center; justify-content: center; text-align: center; padding: 28px 20px; }
.item--soon:hover { transform: none; box-shadow: none; }
.item--soon .tile-ico { margin: 0 auto 12px; }
.item--soon h3 { font-size: 16px; margin-bottom: 6px; }
.item--soon p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.feature .tile-ico { margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font: 800 15px/1 var(--font-head); margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative; font: 600 15px/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 22px; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text); margin: 0 0 16px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 22px; padding: 44px; background: radial-gradient(600px 300px at 90% 0%, rgba(91, 116, 255, .45), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255, 176, 32, .18), transparent 70%), var(--night); color: var(--night-text); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 6px; }
.cta p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Catalogue page ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.page-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 6px; }
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 32px 0 var(--gap); }
.filters { display: grid; gap: 20px; align-content: start; }
.filter-group h3 { font: 700 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.filter-group a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--text); }
.filter-group a:hover { background: var(--soft); color: var(--ink); }
.filter-group a.is-on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.filter-group a span { font-size: 12px; color: var(--muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar form { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.toolbar input[type="search"] { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 14px; }
.toolbar input[type="search"]:focus, .toolbar select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.toolbar select { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 600 13px var(--font-head); color: var(--ink); background: #fff; }
.result-count { font-size: 14px; color: var(--muted); }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--soft); }
.empty h2 { font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); margin-top: 0; font-size: 14px; }

.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 0 40px; }
.footer-brand p { margin: 16px 0 18px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--night-2); border: 1px solid var(--night-line); color: #dfe4f5; font: 600 12px/1 var(--font-head); }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--night-text); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--night-line); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(8, 12, 24, .92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 1100px; width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.lb figcaption { color: #dfe4f5; margin-top: 12px; font-size: 14px; text-align: center; }
.lb button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hero-grid, .featured, .faq-grid { grid-template-columns: 1fr; }
	.hero-visual { min-height: 380px; max-width: 640px; }
	.items, .tiles { grid-template-columns: repeat(2, 1fr); }
	.features { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.catalog { grid-template-columns: 1fr; }
	.filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.hero { padding-top: 40px; }
	.hero-visual { min-height: 300px; }
	.shot-1 { height: 230px; }
	.shot-2 { height: 180px; }
	.shot-3 { height: 210px; }
	.float-editions { display: none; }
	.hero-search select { display: none; }
	.items--3, .steps, .features { grid-template-columns: 1fr; }
	.filters { grid-template-columns: 1fr 1fr; }
	.cta { padding: 30px 22px; }
	.featured { padding: 14px; }
	.featured-body { padding: 4px; }
}
@media (max-width: 575px) {
	.items, .tiles, .filters { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.filter-group a .fl { font-size: 14px; color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.filter-group a .fl i { width: 16px; color: var(--muted); }
.filter-group a.is-on .fl i { color: var(--brand); }
@media (max-width: 575px) {
	.topbar { font-size: 12px; }
	.topbar .container { justify-content: center; text-align: center; }
	.float-card { display: none; }
	.hero-visual { min-height: 270px; }
}
@media (max-width: 767px) {
	.toolbar form { flex-basis: 100%; max-width: none; }
	.toolbar > div { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   ThemeForest-structure home + cards (v2)
   ========================================================================== */
.tf-h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 24px; max-width: 760px; }
.tf-center { text-align: center; margin: 28px 0 0; }
.tf-h2.tf-center { margin-left: auto; margin-right: auto; margin-top: 0; }
.tf-intro { color: var(--muted); margin: -14px 0 18px; max-width: 680px; }

/* Hero: dark band over a moving wall of real theme screenshots */
.tf-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 84px 0 76px; isolation: isolate; }
.tf-hero-bg { position: absolute; inset: -40px -10%; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; transform: rotate(-8deg); opacity: .85; }
.tf-hero-bg img { width: 100%; height: 300px; object-fit: cover; object-position: top; border-radius: 12px; }
.tf-hero-bg img:nth-child(even) { margin-top: 80px; }
.tf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(760px 380px at 50% 45%, rgba(11, 16, 32, .9), rgba(11, 16, 32, .55) 80%), linear-gradient(180deg, rgba(11, 16, 32, .35), rgba(11, 16, 32, .8)); }
.tf-hero-inner { text-align: center; max-width: 860px; }
.tf-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.tf-hero-inner > p { color: #c9d1ea; font-size: 17px; max-width: 640px; margin: 0 auto 26px; }
.tf-hero-search { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; padding: 7px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.tf-hero-search input { flex: 1; min-width: 0; border: 0; height: 46px; padding: 0 14px; font-size: 16px; color: var(--ink); background: transparent; }
.tf-hero-search input:focus { outline: none; }
.tf-hero-search .th-btn { padding: 0 22px; }
.tf-hero-promo { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 26px auto 0 !important; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font: 600 13px/1.4 var(--font-head); color: #e3e8fb !important; }
.tf-hero-promo .th-btn { padding: 8px 16px; border-radius: 999px; }

/* Category tiles: image + icon + description + Newest / Bestsellers */
.tf-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tf-tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.tf-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tf-tile-img { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--soft-2); }
.tf-tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.tf-tile:hover .tf-tile-img img { transform: scale(1.05); }
.tf-tile-ico { position: absolute; left: 16px; bottom: -20px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 20px; box-shadow: var(--shadow); }
.tf-tile-body { padding: 30px 18px 18px; }
.tf-tile-body h2 { font-size: 17px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.tf-tile-body h2 small { font: 600 11px/1 var(--font-head); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; color: var(--muted); }
.tf-tile-body p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.tf-tile-links { display: flex; gap: 16px; }
.tf-tile-links a { font: 600 13px/1 var(--font-head); color: var(--brand); }

/* Item cards (ThemeForest layout) */
.item-thumb { aspect-ratio: 590 / 300; }
.item-eds { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; gap: 6px; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12px; box-shadow: var(--shadow-sm); }
.item-body { padding: 14px 16px 0; }
.item-meta a { color: var(--brand); }
.item-foot { align-items: flex-end; border-top: 0; margin-top: 0; padding: 12px 16px 16px; }
.item-price-wrap { display: flex; flex-direction: column; gap: 4px; }
.item-price { font-size: 20px; }
.item-sales { font-size: 12px; color: var(--muted); }
.item-actions { display: flex; align-items: center; gap: 6px; }
.item-actions form { margin: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; font-size: 14px; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn.is-on { color: var(--rose); border-color: #ffd2cf; background: #fff6f5; }
.item-preview { padding: 9px 12px; font-size: 13px; }

/* Featured themes: large cards with a design slideshow */
.tf-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tf-featured .tf-fcard:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.tf-fcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tf-slides { position: relative; aspect-ratio: 16 / 10; background: var(--soft-2); overflow: hidden; }
.tf-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.tf-slide.is-on { opacity: 1; z-index: 1; }
.tf-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tf-slide span { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(11, 18, 34, .82); color: #fff; font: 600 12px/1 var(--font-head); }
.tf-slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transition: opacity .2s; }
.tf-slides:hover .tf-slide-btn, .tf-slide-btn:focus-visible { opacity: 1; }
.tf-slide-btn.prev { left: 12px; }
.tf-slide-btn.next { right: 12px; }
.tf-fbody { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tf-fbody h3 { font-size: 22px; margin-bottom: 4px; }
.tf-fdesc { font-size: 14px; margin: 10px 0 0; }
.tf-fside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tf-fside .item-price { font-size: 26px; }
.tf-fside .item-sales { flex: 1; }

/* Value bullets */
.tf-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.tf-values .tile-ico { margin: 0 auto 14px; width: 56px; height: 56px; font-size: 22px; }
.tf-values h3 { font-size: 17px; margin-bottom: 6px; }
.tf-values p { color: var(--muted); font-size: 14px; margin: 0; }

/* Newest — filter pills */
.tf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tf-pills button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 13px/1 var(--font-head); color: var(--text); cursor: pointer; }
.tf-pills button:hover { border-color: var(--brand); color: var(--brand); }
.tf-pills button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.items .item[hidden] { display: none; }
.tf-empty { text-align: center; color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: 14px; background: #fff; }

/* Featured creator */
.tf-creator { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 36px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.tf-creator-id { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.tf-creator-mark { width: 60px; height: 60px; border-radius: 16px; font-size: 20px; }
.tf-creator-id h2 { font-size: 22px; margin: 0; }
.tf-creator-id p { margin: 0; color: var(--muted); font-size: 13px; }
.tf-creator-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tf-creator-item { display: block; }
.tf-creator-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.tf-creator-item:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.tf-creator-item span { display: block; margin-top: 8px; font: 600 13px/1.3 var(--font-head); color: var(--ink); }

/* Footer stats + legal line */
.footer-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; }
.footer-stats strong { display: block; color: #fff; font: 800 22px/1.1 var(--font-head); }
.footer-stats span { font-size: 12px; }

@media (max-width: 1080px) {
	.tf-tiles { grid-template-columns: repeat(2, 1fr); }
	.tf-featured, .tf-featured .tf-fcard:only-child, .tf-creator { grid-template-columns: 1fr; }
	.tf-hero-bg { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
	.tf-hero { padding: 56px 0 52px; }
	.tf-values { grid-template-columns: 1fr; }
	.tf-creator-items { grid-template-columns: repeat(2, 1fr); }
	.tf-creator-items a:nth-child(3) { display: none; }
	.tf-hero-bg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
	.tf-tiles { grid-template-columns: 1fr; }
	.tf-hero-search .th-btn { padding: 0 14px; }
	.tf-hero-search .th-btn i + * { display: none; }
	.tf-creator { padding: 18px; }
}

/* Category landing (/category/…) */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-chips a, .cat-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 13px/1 var(--font-head); color: var(--ink); cursor: pointer; }
.cat-chips a:hover, .cat-more:hover { border-color: var(--brand); color: var(--brand); }
.cat-chips a span { font-size: 11px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 6px; }
.cat-chips:not(.is-open) .is-extra { display: none; }
.cat-chips.is-open .cat-more { display: none; }
.cat-sort { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cat-promo { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 26px; border-radius: 16px; background: linear-gradient(90deg, #2236c9, #3d5afe 55%, #7b5cff); color: #e3e8ff; }
.cat-promo strong { display: block; color: #fff; font: 700 18px/1.3 var(--font-head); }
.cat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cat-pair-card { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.cat-pair-card:hover { border-color: var(--brand); color: inherit; }
.cat-pair-card > span:nth-child(2) { flex: 1; }
.cat-pair-card strong { display: block; font: 700 16px/1.3 var(--font-head); color: var(--ink); }
.cat-pair-card small { color: var(--muted); font-size: 13px; }
.cat-article { max-width: 820px; padding-top: 28px; border-top: 1px solid var(--line); }
.cat-article h2 { font-size: 24px; }
.cat-article h3 { font-size: 18px; margin-top: 22px; }
.cat-article p { color: var(--text); }
@media (max-width: 767px) { .cat-pair { grid-template-columns: 1fr; } .cat-pair-card { flex-wrap: wrap; } }
.foot-note { color: var(--night-text); opacity: .8; }

.item-foot { flex-wrap: wrap; row-gap: 12px; align-items: center; }
.item-price-wrap { flex-direction: row; align-items: baseline; gap: 8px; }
.item-sales { white-space: nowrap; }
.item-actions { margin-left: auto; }
.footer-stats { gap: 22px; }
.footer-stats strong { font-size: 20px; }

/* ==========================================================================
   v3 — ThemeForest look in the brand colour (coral #FB5C3A from assets/img/icon.png)
   Charcoal header with white nav, white category bar, flat buttons with small corners,
   thin grey borders, light-grey bands, dark footer. Written for this site (no third-party code).
   ========================================================================== */
:root {
	--ink: #191919; --text: #454545; --muted: #737373; --line: #e6e6e6; --soft: #f7f7f7; --soft-2: #f1f1f1;
	--brand: #fb5c3a; --brand-btn: #e0482a; --brand-dark: #c63a1d; --brand-text: #c93d1c; --brand-soft: #fff1ed; --brand-ring: rgba(251, 92, 58, .25);
	--night: #1d1d1d; --night-2: #262626; --night-line: #333333; --night-text: #b3b3b3;
	--radius: 6px; --radius-lg: 8px;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
	--shadow: 0 8px 24px -10px rgba(0, 0, 0, .18);
	--shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, .3);
}
a:hover { color: var(--brand-text); }

/* Logo: brand mark + lowercase wordmark ("wp" in coral) */
.logo { gap: 9px; }
img.logo-mark { width: auto; height: 26px; background: none; box-shadow: none; border-radius: 0; display: block; }
.logo-text { font: 800 21px/1 var(--font-head); letter-spacing: -.04em; color: var(--brand); }
.logo-text span { color: var(--logo-ink, var(--ink)); }
.site-header .logo, .logo--light, .site-footer .logo { --logo-ink: #fff; }

/* Buttons: flat, small corners */
.th-btn, .btn { border-radius: var(--radius); font-weight: 700; }
.th-btn.btn-gradient, .btn-primary, .th-btn:not(.style-border2):not(.btn-light):not(.btn-ghost-light) { background: var(--brand-btn); box-shadow: none; }
.th-btn.btn-gradient:hover, .btn-primary:hover, .th-btn:not(.style-border2):not(.btn-light):not(.btn-ghost-light):hover { background: var(--brand-dark); }
.th-btn.style-border2, .btn-outline { border-color: #d4d4d4; box-shadow: none; }
.th-btn.style-border2:hover, .btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light:hover { background: #f1f1f1; color: var(--ink); }

/* Top bar + charcoal header */
.topbar { background: #0f0f0f; color: #a3a3a3; }
.topbar a:hover { color: var(--brand); }
.site-header { background: var(--night); border-bottom: 0; }
.main-nav > a, .nav-drop > button { color: #fff; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-menu { border-radius: var(--radius-lg); }
.header-search input { background: #2b2b2b; border-color: #3a3a3a; color: #fff; border-radius: var(--radius); }
.header-search input::placeholder { color: #9a9a9a; }
.header-search input:focus { background: #fff; color: var(--ink); border-color: var(--brand); }
.header-search i { color: #9a9a9a; }
.header-link { color: #fff; }
.header-link:hover { color: var(--brand); }
.acct-chip { border-color: #3a3a3a; color: #fff; }
.acct-chip:hover { border-color: var(--brand); color: #fff; }
.acct-chip .acct-avatar { background: var(--brand-btn); }
.nav-toggle { background: #2b2b2b; border-color: #3a3a3a; color: #fff; border-radius: var(--radius); }
.catbar { background: #fff; border-top: 0; border-bottom: 1px solid var(--line); }
.catbar a { color: var(--ink); font-weight: 600; }
.catbar a:hover, .catbar a.is-current { color: var(--brand-text); border-bottom-color: var(--brand); }
.catbar a:hover i, .catbar a.is-current i { color: var(--brand); }
.drawer .logo { --logo-ink: var(--ink); }
.drawer nav a i { color: var(--brand); }

/* Accents */
.eyebrow, .link-arrow, .item-meta a, .tf-tile-links a, .tf-designs-all, .nav-menu .nav-menu-all { color: var(--brand-text); }
.link-arrow:hover { color: var(--brand-dark); }
.ico-blue { background: var(--brand-soft); color: var(--brand-btn); }
.tf-tile-ico { color: var(--brand-btn); border-radius: var(--radius-lg); }
.chip i { color: var(--brand); }

/* Hero (charcoal over the screenshot wall) */
.tf-hero { background: #141414; }
.tf-hero::after { background: radial-gradient(760px 380px at 50% 45%, rgba(20, 20, 20, .9), rgba(20, 20, 20, .55) 80%), linear-gradient(180deg, rgba(20, 20, 20, .35), rgba(20, 20, 20, .85)); }
.tf-hero-search { border-radius: var(--radius-lg); }
.tf-hero-search .th-btn { border-radius: var(--radius); }
.tf-hero-promo .th-btn { border-radius: 999px; }

/* Cards, tiles, panels: thin borders, small corners */
.item, .tile, .tf-tile, .tf-fcard, .feature, .step, .tf-creator, .featured, .empty, .cat-pair-card, .tf-empty { border-radius: var(--radius-lg); }
.item:hover { border-color: #d4d4d4; }
.item-thumb, .tf-tile-img { border-radius: 0; }
.item-price, .item-price.is-free { color: var(--ink); }
.icon-btn { border-radius: var(--radius); border-color: #d4d4d4; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.tf-pills button, .design-tabs button, .cat-chips a, .cat-more, .hero-tags a { border-radius: var(--radius); }
.tf-pills button.is-on, .design-tabs button.is-on { background: var(--ink); border-color: var(--ink); }
.filter-group a.is-on { background: var(--brand-soft); color: var(--brand-dark); }
.cat-promo { border-radius: var(--radius-lg); background: linear-gradient(90deg, #c63a1d, #fb5c3a 60%, #ff8a5c); color: #fff3ef; }
.section--soft { background: var(--soft); }

/* Banner + footer */
.cta { border-radius: var(--radius-lg); background: radial-gradient(600px 300px at 90% 0%, rgba(251, 92, 58, .45), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(251, 92, 58, .15), transparent 70%), #1d1d1d; color: #c7c7c7; }
.site-footer { background: #1d1d1d; color: #a3a3a3; }
.site-footer a { color: #b8b8b8; }
.site-footer a:hover { color: var(--brand); }
.footer-badges span { background: #262626; border-color: #333; }

/* Account / auth bits that used the old gradient */
.account-avatar { background: linear-gradient(135deg, #ff8a6e, #e0482a); border-radius: var(--radius-lg); }
.big-404 { background: linear-gradient(90deg, #e0482a, #ff8a5c); -webkit-background-clip: text; background-clip: text; }
.auth-card { border-radius: var(--radius-lg); }
.auth-logo { --logo-ink: var(--ink); }
.tf-creator-mark { width: 60px; height: 60px; border-radius: var(--radius-lg); display: grid; place-items: center; background: #1d1d1d; }
.tf-creator-mark img { width: 36px; height: auto; }
.footer-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
@media (max-width: 575px) { .tf-hero-promo { font-size: 12px; padding: 8px 14px; border-radius: 12px; } .tf-hero-promo span { display: block; } }
